├── .csscomb.json ├── .gitignore ├── .htmllintrc ├── .jshintrc ├── .npmignore ├── .pullapprove.yml ├── .sass-lint.yml ├── .travis.yml ├── LICENSE ├── README.md ├── Third Party Notices.txt ├── backup.html ├── bower.json ├── ghdocs ├── BUILDING.md ├── BUNDLING.md ├── COMPONENTSLIST.md ├── CONTRIBUTING.md ├── PACKAGES.md ├── RESOURCES.md ├── ROADMAP.md ├── component_images │ ├── Breadcrumb-default.png │ ├── Button-compound.png │ ├── Button-default.png │ ├── Button-hero.png │ ├── Button-primary.png │ ├── Callout-action.png │ ├── Callout-close.png │ ├── Callout-default.png │ ├── Callout-oobe.png │ ├── Callout-peek.png │ ├── CheckBox-default.png │ ├── ChoiceFieldGroup-default.png │ ├── CommandBar-default.png │ ├── CommandBar-dropdowns.png │ ├── CommandBar-navbar.png │ ├── CommandButton-action.png │ ├── CommandButton-default.png │ ├── CommandButton-disabled.png │ ├── CommandButton-dropdown.png │ ├── CommandButton-inline.png │ ├── CommandButton-nolabel.png │ ├── CommandButton-nolabelsplit.png │ ├── CommandButton-pivot.png │ ├── CommandButton-split.png │ ├── CommandButton-textonly.png │ ├── ContextualMenu-default.png │ ├── ContextualMenu-dividers.png │ ├── ContextualMenu-multiselect.png │ ├── ContextualMenu-submenu.png │ ├── DatePicker-default.png │ ├── Dialog-blocking.png │ ├── Dialog-close.png │ ├── Dialog-default.png │ ├── Dialog-largeheader.png │ ├── Dialog-multiline.png │ ├── Dropdown-default.png │ ├── Dropdown-disabled.png │ ├── FacePile-default.png │ ├── Label-default.png │ ├── Label-disabled.png │ ├── Label-required.png │ ├── Link-default.png │ ├── List-default.png │ ├── ListItem-default.png │ ├── ListItem-document.png │ ├── ListItem-image.png │ ├── MessageBanner-default.png │ ├── MessageBar-blocked.png │ ├── MessageBar-default.png │ ├── MessageBar-error.png │ ├── MessageBar-severewarning.png │ ├── MessageBar-success.png │ ├── MessageBar-warning.png │ ├── OrgChart-default.png │ ├── Overlay-dark.png │ ├── Overlay-default.png │ ├── Panel.png │ ├── PeoplePicker-compact.png │ ├── PeoplePicker-default.png │ ├── PeoplePicker-facepile.png │ ├── Persona-circle.png │ ├── Persona-facepile.png │ ├── Persona-initials.png │ ├── Persona-presence.png │ ├── Persona-token.png │ ├── PersonaCard-default.png │ ├── Pivot-default.png │ ├── Pivot-large.png │ ├── Pivot-largetabs.png │ ├── Pivot-tabs.png │ ├── ProgressIndicator-default.png │ ├── SearchBox-collapsed.png │ ├── SearchBox-commandbar.png │ ├── SearchBox-default.png │ ├── Spinner-default.png │ ├── Spinner-defaultwithlabel.png │ ├── Spinner-large.png │ ├── Spinner-largewithlabel.png │ ├── Table-default.png │ ├── Table-fixed.png │ ├── Table-selectable.png │ ├── TextField-default.png │ ├── TextField-disabled.png │ ├── TextField-multiline.png │ ├── TextField-placeholdertext.png │ ├── TextField-underlined.png │ ├── Toggle-default.png │ ├── Toggle-disabled.png │ └── Toggle-left.png └── components │ ├── Breadcrumb.md │ ├── Button.md │ ├── Callout.md │ ├── CheckBox.md │ ├── ChoiceFieldGroup.md │ ├── CommandBar.md │ ├── CommandButton.md │ ├── ContextualMenu.md │ ├── DatePicker.md │ ├── Dialog.md │ ├── Dropdown.md │ ├── FacePile.md │ ├── Label.md │ ├── Link.md │ ├── List.md │ ├── ListItem.md │ ├── MessageBanner.md │ ├── MessageBar.md │ ├── OrgChart.md │ ├── Overlay.md │ ├── Panel.md │ ├── PeoplePicker.md │ ├── Persona.md │ ├── PersonaCard.md │ ├── Pivot.md │ ├── ProgressIndicator.md │ ├── SearchBox.md │ ├── Spinner.md │ ├── Table.md │ ├── TextField.md │ └── Toggle.md ├── gulp ├── BuildMessages.js ├── Bundling.js ├── ComponentJS.js ├── ConfigureEnvironment.js ├── Documentation.js ├── FabricComponents.js ├── Linting.js ├── SamplesBuild.js ├── Server.js └── modules │ ├── Banners.js │ ├── BuildConfig.js │ ├── ComponentHelper.js │ ├── Config.js │ ├── ConsoleHelper.js │ ├── ErrorHandling.js │ ├── Plugins.js │ ├── Server.js │ ├── Utilities.js │ └── renderPartial.js ├── gulpfile.js ├── lib ├── PickaDate.js ├── jquery.js └── scrollTo.js ├── package.json ├── src ├── components │ ├── Breadcrumb │ │ ├── Breadcrumb.hbs │ │ ├── Breadcrumb.json │ │ ├── Breadcrumb.scss │ │ └── Breadcrumb.ts │ ├── Button │ │ ├── Button.hbs │ │ ├── Button.json │ │ ├── Button.scss │ │ ├── Button.ts │ │ └── IButton.ts │ ├── Callout │ │ ├── Callout.hbs │ │ ├── Callout.json │ │ ├── Callout.scss │ │ └── Callout.ts │ ├── CheckBox │ │ ├── CheckBox.hbs │ │ ├── CheckBox.json │ │ ├── CheckBox.scss │ │ └── CheckBox.ts │ ├── ChoiceFieldGroup │ │ ├── ChoiceFieldGroup.hbs │ │ ├── ChoiceFieldGroup.json │ │ ├── ChoiceFieldGroup.scss │ │ └── ChoiceFieldGroup.ts │ ├── CommandBar │ │ ├── CommandBar.hbs │ │ ├── CommandBar.json │ │ ├── CommandBar.scss │ │ └── CommandBar.ts │ ├── CommandButton │ │ ├── CommandButton.hbs │ │ ├── CommandButton.json │ │ ├── CommandButton.scss │ │ └── CommandButton.ts │ ├── ContextualHost │ │ ├── ContextualHost.hbs │ │ ├── ContextualHost.json │ │ ├── ContextualHost.scss │ │ └── ContextualHost.ts │ ├── ContextualMenu │ │ ├── ContextualMenu.hbs │ │ ├── ContextualMenu.json │ │ ├── ContextualMenu.scss │ │ ├── ContextualMenu.ts │ │ └── IContextualMenu.ts │ ├── DatePicker │ │ ├── DatePicker.hbs │ │ ├── DatePicker.json │ │ ├── DatePicker.scss │ │ └── Jquery.DatePicker.ts │ ├── DetailsList │ │ ├── DetailsList.hbs │ │ ├── DetailsList.json │ │ ├── DetailsList.scss │ │ └── jquery.DetailsList.js │ ├── Dialog │ │ ├── Dialog.hbs │ │ ├── Dialog.json │ │ ├── Dialog.scss │ │ └── Dialog.ts │ ├── DialogHost │ │ ├── DialogHost.hbs │ │ ├── DialogHost.json │ │ ├── DialogHost.scss │ │ └── DialogHost.ts │ ├── Dropdown │ │ ├── Dropdown.hbs │ │ ├── Dropdown.json │ │ ├── Dropdown.scss │ │ └── Dropdown.ts │ ├── FacePile │ │ ├── FacePile.hbs │ │ ├── FacePile.json │ │ ├── FacePile.scss │ │ └── FacePile.ts │ ├── Label │ │ ├── Label.hbs │ │ ├── Label.json │ │ └── Label.scss │ ├── Link │ │ ├── Link.hbs │ │ ├── Link.json │ │ └── Link.scss │ ├── List │ │ ├── List.hbs │ │ ├── List.json │ │ ├── List.scss │ │ └── List.ts │ ├── ListItem │ │ ├── ListItem.hbs │ │ ├── ListItem.json │ │ ├── ListItem.scss │ │ └── ListItem.ts │ ├── MessageBanner │ │ ├── MessageBanner.hbs │ │ ├── MessageBanner.json │ │ ├── MessageBanner.scss │ │ └── MessageBanner.ts │ ├── MessageBar │ │ ├── MessageBar.hbs │ │ ├── MessageBar.json │ │ └── MessageBar.scss │ ├── OrgChart │ │ ├── OrgChart.hbs │ │ ├── OrgChart.json │ │ └── OrgChart.scss │ ├── Overlay │ │ ├── Overlay.hbs │ │ ├── Overlay.json │ │ ├── Overlay.scss │ │ └── Overlay.ts │ ├── Panel │ │ ├── Panel.hbs │ │ ├── Panel.json │ │ ├── Panel.scss │ │ └── Panel.ts │ ├── PanelHost │ │ ├── PanelHost.hbs │ │ ├── PanelHost.json │ │ ├── PanelHost.scss │ │ └── PanelHost.ts │ ├── PeoplePicker │ │ ├── PeoplePicker.hbs │ │ ├── PeoplePicker.json │ │ ├── PeoplePicker.scss │ │ └── PeoplePicker.ts │ ├── Persona │ │ ├── Persona.hbs │ │ ├── Persona.json │ │ ├── Persona.scss │ │ └── Persona.ts │ ├── PersonaCard │ │ ├── PersonaCard.hbs │ │ ├── PersonaCard.json │ │ ├── PersonaCard.scss │ │ └── PersonaCard.ts │ ├── Pivot │ │ ├── Pivot.hbs │ │ ├── Pivot.json │ │ ├── Pivot.scss │ │ └── Pivot.ts │ ├── ProgressIndicator │ │ ├── ProgressIndicator.hbs │ │ ├── ProgressIndicator.json │ │ ├── ProgressIndicator.scss │ │ └── ProgressIndicator.ts │ ├── RadioButton │ │ ├── RadioButton.hbs │ │ ├── RadioButton.json │ │ ├── RadioButton.scss │ │ └── RadioButton.ts │ ├── SearchBox │ │ ├── SearchBox.hbs │ │ ├── SearchBox.json │ │ ├── SearchBox.scss │ │ └── SearchBox.ts │ ├── Spinner │ │ ├── Spinner.hbs │ │ ├── Spinner.json │ │ ├── Spinner.scss │ │ └── Spinner.ts │ ├── Table │ │ ├── Table.hbs │ │ ├── Table.json │ │ ├── Table.scss │ │ └── Table.ts │ ├── TextField │ │ ├── TextField.hbs │ │ ├── TextField.json │ │ ├── TextField.scss │ │ └── TextField.ts │ └── Toggle │ │ ├── Toggle.hbs │ │ ├── Toggle.json │ │ ├── Toggle.scss │ │ └── Toggle.ts ├── documentation │ ├── images │ │ ├── favicon.ico │ │ ├── home-background.svg │ │ ├── logo-js-white.svg │ │ ├── logo-microsoft.png │ │ └── logo-office-dev.svg │ ├── pages │ │ ├── Components │ │ │ ├── Breadcrumb │ │ │ │ ├── Breadcrumb.js │ │ │ │ └── examples │ │ │ │ │ ├── BreadcrumbExample.hbs │ │ │ │ │ ├── BreadcrumbExampleJS.hbs │ │ │ │ │ └── BreadcrumbExampleModel.js │ │ │ ├── Button │ │ │ │ ├── Button.js │ │ │ │ └── examples │ │ │ │ │ ├── ButtonExample.hbs │ │ │ │ │ ├── ButtonExampleCompoundModel.js │ │ │ │ │ ├── ButtonExampleHeroModel.js │ │ │ │ │ ├── ButtonExampleJS.hbs │ │ │ │ │ ├── ButtonExampleModel.js │ │ │ │ │ ├── ButtonExamplePrimaryModel.js │ │ │ │ │ └── ButtonExampleSmallButtonModel.js │ │ │ ├── Callout │ │ │ │ ├── Callout.js │ │ │ │ └── examples │ │ │ │ │ ├── CalloutExample.hbs │ │ │ │ │ ├── CalloutExampleActionModel.js │ │ │ │ │ ├── CalloutExampleCloseModel.js │ │ │ │ │ ├── CalloutExampleJS.hbs │ │ │ │ │ ├── CalloutExampleModel.js │ │ │ │ │ ├── CalloutExampleOOBEModel.js │ │ │ │ │ └── CalloutExamplePeekModel.js │ │ │ ├── CheckBox │ │ │ │ ├── CheckBox.js │ │ │ │ └── examples │ │ │ │ │ ├── CheckBoxBasicModel.js │ │ │ │ │ ├── CheckBoxDisabledModel.js │ │ │ │ │ ├── CheckBoxElem.hbs │ │ │ │ │ ├── CheckBoxJS.hbs │ │ │ │ │ ├── CheckBoxModels.js │ │ │ │ │ └── CheckBoxSelectedModel.js │ │ │ ├── ChoiceFieldGroup │ │ │ │ ├── ChoiceFieldGroup.js │ │ │ │ └── examples │ │ │ │ │ ├── ChoiceFieldGroupElem.hbs │ │ │ │ │ ├── ChoiceFieldGroupJS.hbs │ │ │ │ │ └── ChoiceFieldGroupModel.js │ │ │ ├── CommandBar │ │ │ │ ├── CommandBar.js │ │ │ │ └── examples │ │ │ │ │ ├── CommandBarDropdownExampleModel.js │ │ │ │ │ ├── CommandBarExample.hbs │ │ │ │ │ ├── CommandBarExampleJS.hbs │ │ │ │ │ ├── CommandBarExampleModel.js │ │ │ │ │ ├── CommandBarExampleNavBar.hbs │ │ │ │ │ └── CommandBarNavbarExampleModel.js │ │ │ ├── CommandButton │ │ │ │ ├── CommandButton.js │ │ │ │ └── examples │ │ │ │ │ ├── CommandButtonActionExampleModel.js │ │ │ │ │ ├── CommandButtonDisabledExampleModel.js │ │ │ │ │ ├── CommandButtonDropdownExampleModel.js │ │ │ │ │ ├── CommandButtonExample.hbs │ │ │ │ │ ├── CommandButtonExampleJS.hbs │ │ │ │ │ ├── CommandButtonExampleModel.js │ │ │ │ │ ├── CommandButtonInlineExampleModel.js │ │ │ │ │ ├── CommandButtonNoLabelExampleModel.js │ │ │ │ │ ├── CommandButtonNoLabelSplitExampleModel.js │ │ │ │ │ ├── CommandButtonPivotExampleModel.js │ │ │ │ │ ├── CommandButtonSplitExampleModel.js │ │ │ │ │ └── CommandButtonTextOnlyExampleModel.js │ │ │ ├── ComponentPageTmpl.hbs │ │ │ ├── ContextualMenu │ │ │ │ ├── ContextualMenu.js │ │ │ │ └── examples │ │ │ │ │ ├── ContextualMenuDividersExampleModel.js │ │ │ │ │ ├── ContextualMenuExample.hbs │ │ │ │ │ ├── ContextualMenuExampleJS.hbs │ │ │ │ │ ├── ContextualMenuExampleModel.js │ │ │ │ │ ├── ContextualMenuMultiselectExampleModel.js │ │ │ │ │ └── ContextualMenuSubmenuExampleModel.js │ │ │ ├── DatePicker │ │ │ │ ├── DatePicker.js │ │ │ │ └── examples │ │ │ │ │ ├── DatePickerExample.hbs │ │ │ │ │ └── DatePickerExampleJS.hbs │ │ │ ├── Dialog │ │ │ │ ├── Dialog.js │ │ │ │ └── examples │ │ │ │ │ ├── DialogBlockingExample.hbs │ │ │ │ │ ├── DialogBlockingExampleJS.hbs │ │ │ │ │ ├── DialogBlockingExampleModel.js │ │ │ │ │ ├── DialogCloseExample.hbs │ │ │ │ │ ├── DialogCloseExampleJS.hbs │ │ │ │ │ ├── DialogCloseExampleModel.js │ │ │ │ │ ├── DialogDefaultExample.hbs │ │ │ │ │ ├── DialogDocAllElementsJS.hbs │ │ │ │ │ ├── DialogExampleDefaultJS.hbs │ │ │ │ │ ├── DialogExampleModel.js │ │ │ │ │ ├── DialogLgHeaderExample.hbs │ │ │ │ │ ├── DialogLgHeaderExampleJS.hbs │ │ │ │ │ ├── DialogLgHeaderExampleModel.js │ │ │ │ │ ├── DialogMultilineExample.hbs │ │ │ │ │ ├── DialogMultilineExampleJS.hbs │ │ │ │ │ └── DialogMultilineExampleModel.js │ │ │ ├── Dropdown │ │ │ │ ├── Dropdown.js │ │ │ │ └── examples │ │ │ │ │ ├── DropdownDisabledExampleModel.js │ │ │ │ │ ├── DropdownExample.hbs │ │ │ │ │ ├── DropdownExampleJS.hbs │ │ │ │ │ └── DropdownExampleModel.js │ │ │ ├── FacePile │ │ │ │ ├── FacePile.js │ │ │ │ └── examples │ │ │ │ │ ├── FacePileElem.hbs │ │ │ │ │ ├── FacePileJS.hbs │ │ │ │ │ └── FacePileModels.js │ │ │ ├── Label │ │ │ │ ├── Label.js │ │ │ │ └── examples │ │ │ │ │ ├── LabelExample.hbs │ │ │ │ │ ├── LabelExampleDisabled.hbs │ │ │ │ │ ├── LabelExampleDisabledModel.js │ │ │ │ │ ├── LabelExampleModel.js │ │ │ │ │ ├── LabelExampleRequired.hbs │ │ │ │ │ └── LabelExampleRequiredModel.js │ │ │ ├── Link │ │ │ │ ├── Link.js │ │ │ │ └── examples │ │ │ │ │ ├── LinkExample.hbs │ │ │ │ │ └── LinkModels.js │ │ │ ├── List │ │ │ │ ├── List.js │ │ │ │ └── examples │ │ │ │ │ ├── ListElem.hbs │ │ │ │ │ ├── ListJS.hbs │ │ │ │ │ └── ListModels.js │ │ │ ├── ListItem │ │ │ │ ├── ListItem.js │ │ │ │ └── examples │ │ │ │ │ ├── ListItemDefaultExampleModel.js │ │ │ │ │ ├── ListItemDocumentExampleModel.js │ │ │ │ │ ├── ListItemElem.hbs │ │ │ │ │ ├── ListItemImageExampleModel.js │ │ │ │ │ ├── ListItemJS.hbs │ │ │ │ │ ├── ListItemSelectableExampleModel.js │ │ │ │ │ ├── ListItemSelectedExampleModel.js │ │ │ │ │ ├── ListItemUnreadExampleModel.js │ │ │ │ │ └── ListItemUnseenExampleModel.js │ │ │ ├── MessageBanner │ │ │ │ ├── MessageBanner.js │ │ │ │ └── examples │ │ │ │ │ ├── MessageBannerExampleElem.hbs │ │ │ │ │ ├── MessageBannerExampleJS.hbs │ │ │ │ │ └── MessageBannerExampleModel.js │ │ │ ├── MessageBar │ │ │ │ ├── MessageBar.js │ │ │ │ └── examples │ │ │ │ │ ├── MessageBarBlockedModel.js │ │ │ │ │ ├── MessageBarDefaultModel.js │ │ │ │ │ ├── MessageBarErrorModel.js │ │ │ │ │ ├── MessageBarExample.hbs │ │ │ │ │ ├── MessageBarSevereWarningModel.js │ │ │ │ │ ├── MessageBarSuccessModel.js │ │ │ │ │ └── MessageBarWarningModel.js │ │ │ ├── OrgChart │ │ │ │ ├── OrgChart.js │ │ │ │ └── examples │ │ │ │ │ ├── OrgChartElem.hbs │ │ │ │ │ └── OrgChartExampleModel.js │ │ │ ├── Overlay │ │ │ │ ├── Overlay.js │ │ │ │ └── examples │ │ │ │ │ ├── OverlayDarkExample.hbs │ │ │ │ │ ├── OverlayDarkExampleModel.js │ │ │ │ │ ├── OverlayDefaultExampleModel.js │ │ │ │ │ ├── OverlayExample.hbs │ │ │ │ │ └── OverlayExampleJS.hbs │ │ │ ├── Panel │ │ │ │ ├── Panel.js │ │ │ │ └── examples │ │ │ │ │ ├── PanelDefaultExampleModel.js │ │ │ │ │ ├── PanelDocExampleJS.hbs │ │ │ │ │ ├── PanelExample.hbs │ │ │ │ │ ├── PanelExampleProps.js │ │ │ │ │ ├── PanelExtraExtraLargeExampleModel.js │ │ │ │ │ ├── PanelExtraLargeExampleModel.js │ │ │ │ │ ├── PanelLargeExampleModel.js │ │ │ │ │ ├── PanelLargeFixedExampleModel.js │ │ │ │ │ ├── PanelLeftExampleModel.js │ │ │ │ │ └── PanelMediumExampleModel.js │ │ │ ├── PeoplePicker │ │ │ │ ├── PeoplePicker.Searching.png │ │ │ │ ├── PeoplePicker.js │ │ │ │ └── examples │ │ │ │ │ ├── PeoplePickerCompactExampleModel.js │ │ │ │ │ ├── PeoplePickerExample.hbs │ │ │ │ │ ├── PeoplePickerExampleJS.hbs │ │ │ │ │ ├── PeoplePickerExampleModel.js │ │ │ │ │ ├── PeoplePickerFacePileExampleModel.js │ │ │ │ │ └── PeoplePickerMembersExampleModel.js │ │ │ ├── Persona │ │ │ │ ├── Persona.js │ │ │ │ └── examples │ │ │ │ │ ├── PersonaDefaultExampleModel.js │ │ │ │ │ ├── PersonaExample.hbs │ │ │ │ │ ├── PersonaExampleJS.hbs │ │ │ │ │ ├── PersonaExtraLargeExampleModel.js │ │ │ │ │ ├── PersonaExtraSmallExampleModel.js │ │ │ │ │ ├── PersonaFacePileExampleModel.js │ │ │ │ │ ├── PersonaInitialsExampleModel.js │ │ │ │ │ ├── PersonaLargeExampleModel.js │ │ │ │ │ ├── PersonaPresenceAvailableExampleModel.js │ │ │ │ │ ├── PersonaPresenceAwayExampleModel.js │ │ │ │ │ ├── PersonaPresenceBlockedExampleModel.js │ │ │ │ │ ├── PersonaPresenceBusyExampleModel.js │ │ │ │ │ ├── PersonaPresenceDNDExampleModel.js │ │ │ │ │ ├── PersonaPresenceOfflineExampleModel.js │ │ │ │ │ ├── PersonaSmallExampleModel.js │ │ │ │ │ ├── PersonaTinyExampleModel.js │ │ │ │ │ └── PersonaTokenExampleModel.js │ │ │ ├── PersonaCard │ │ │ │ ├── PersonaCard.js │ │ │ │ └── examples │ │ │ │ │ ├── PersonaCardExample.hbs │ │ │ │ │ ├── PersonaCardExampleJS.hbs │ │ │ │ │ └── PersonaCardExampleModel.js │ │ │ ├── Pivot │ │ │ │ ├── Pivot.js │ │ │ │ └── examples │ │ │ │ │ ├── PivotDefaultExampleModel.js │ │ │ │ │ ├── PivotExample.hbs │ │ │ │ │ ├── PivotExampleJS.hbs │ │ │ │ │ ├── PivotLargeExampleModel.js │ │ │ │ │ ├── PivotLargeTabsExampleModel.js │ │ │ │ │ └── PivotTabsExampleModel.js │ │ │ ├── ProgressIndicator │ │ │ │ ├── ProgressIndicator.js │ │ │ │ └── examples │ │ │ │ │ ├── ProgressIndicatorExample.hbs │ │ │ │ │ ├── ProgressIndicatorExampleJS.hbs │ │ │ │ │ └── ProgressIndicatorExampleModel.js │ │ │ ├── SearchBox │ │ │ │ ├── SearchBox.js │ │ │ │ └── examples │ │ │ │ │ ├── SearchBoxCollapsedExampleModel.js │ │ │ │ │ ├── SearchBoxCommandbarExampleModel.js │ │ │ │ │ ├── SearchBoxExample.hbs │ │ │ │ │ ├── SearchBoxExampleJS.hbs │ │ │ │ │ └── SearchBoxExampleModel.js │ │ │ ├── Spinner │ │ │ │ ├── Spinner.js │ │ │ │ └── examples │ │ │ │ │ ├── SpinnerExample.hbs │ │ │ │ │ ├── SpinnerExampleJS.hbs │ │ │ │ │ ├── SpinnerExampleModel.js │ │ │ │ │ ├── SpinnerLargeExampleModel.js │ │ │ │ │ ├── SpinnerLargeWithLabelExampleModel.js │ │ │ │ │ └── SpinnerWithLabelExampleModel.js │ │ │ ├── Table │ │ │ │ ├── Table.js │ │ │ │ └── examples │ │ │ │ │ ├── TableExample.hbs │ │ │ │ │ ├── TableExampleJS.hbs │ │ │ │ │ ├── TableExampleModel.js │ │ │ │ │ ├── TableFixedExampleModel.js │ │ │ │ │ └── TableSelectableExampleModel.js │ │ │ ├── TextField │ │ │ │ ├── TextField.js │ │ │ │ └── examples │ │ │ │ │ ├── TextFieldDisabledExampleModel.js │ │ │ │ │ ├── TextFieldExample.hbs │ │ │ │ │ ├── TextFieldExampleJS.hbs │ │ │ │ │ ├── TextFieldExampleModel.js │ │ │ │ │ ├── TextFieldMultilineExampleModel.js │ │ │ │ │ ├── TextFieldPlaceholderExampleModel.js │ │ │ │ │ └── TextFieldUnderlinedExampleModel.js │ │ │ └── Toggle │ │ │ │ ├── Toggle.js │ │ │ │ └── examples │ │ │ │ ├── ToggleBasicModel.js │ │ │ │ ├── ToggleDisabledModel.js │ │ │ │ ├── ToggleElem.hbs │ │ │ │ ├── ToggleJS.hbs │ │ │ │ └── ToggleTextLeftModel.js │ │ ├── GetStarted │ │ │ └── GetStarted.hbs │ │ └── HomePage │ │ │ └── HomePage.hbs │ ├── sass │ │ ├── AppContainer.scss │ │ ├── CodeBlock.scss │ │ ├── ComponentPage.scss │ │ ├── ExampleCard.scss │ │ ├── Footer.scss │ │ ├── GetStarted.scss │ │ ├── HLJS.scss │ │ ├── Header.scss │ │ ├── HomePage.scss │ │ ├── ODNavigation.scss │ │ ├── ODNavigationLink.scss │ │ ├── ODSearchbox.scss │ │ ├── PageHeader.scss │ │ ├── SideBar.scss │ │ ├── style.scss │ │ └── styles │ │ │ ├── _mixins.scss │ │ │ ├── _reset.css │ │ │ ├── _typography.scss │ │ │ └── _variables.scss │ └── templates │ │ ├── bundle-template.scss │ │ ├── codeBlock.hbs │ │ ├── component-manifest-template.scss │ │ └── samples-index.hbs ├── samples │ ├── Form │ │ ├── index.html │ │ └── sass │ │ │ └── Form.scss │ ├── Languages │ │ └── index.html │ └── VideoPortal │ │ ├── channel.html │ │ ├── channels.html │ │ ├── index.html │ │ ├── player.html │ │ └── sass │ │ ├── Base.scss │ │ ├── ChannelPage.scss │ │ ├── ChannelsPage.scss │ │ ├── HomePage.scss │ │ ├── NavBar.scss │ │ ├── PlayerPage.scss │ │ ├── SpotLight.scss │ │ ├── Utilities.scss │ │ ├── VideoListItem.scss │ │ └── VideoPortal.scss ├── sass │ └── Fabric.Components.scss └── utilities │ ├── Animate.ts │ ├── Ease.ts │ ├── Polyfills.ts │ └── ResponsiveVariables.js ├── tslint.json └── typings ├── jquery.d.ts ├── node └── node.d.ts └── pickadate.d.ts /.csscomb.json: -------------------------------------------------------------------------------- 1 | { 2 | "remove-empty-rulesets": true, 3 | "always-semicolon": true, 4 | "color-case": "lower", 5 | "block-indent": " ", 6 | "color-shorthand": false, 7 | "element-case": "lower", 8 | "eof-newline": true, 9 | "leading-zero": true, 10 | "quotes": "single", 11 | "space-before-colon": "", 12 | "space-after-colon": " ", 13 | "space-before-combinator": " ", 14 | "space-after-combinator": " ", 15 | "space-between-declarations": "\n", 16 | "space-before-opening-brace": " ", 17 | "space-after-opening-brace": "\n", 18 | "space-after-selector-delimiter": "\n", 19 | "space-before-selector-delimiter": "", 20 | "space-before-closing-brace": "\n", 21 | "strip-spaces": true, 22 | "tab-size": true, 23 | "unitless-zero": false, 24 | "vendor-prefix-align": true 25 | } 26 | 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ========================= 2 | # Project Files 3 | # ========================= 4 | 5 | # Dependencies 6 | bower_components 7 | node_modules 8 | npm-debug.log 9 | 10 | # Fabric files 11 | *.sublime-workspace 12 | docs.css 13 | dist 14 | 15 | # Docs files 16 | docs/app 17 | docs/app-min 18 | docs/temp 19 | docs/components/js/jquery.all-components.min.js 20 | docs/components/js/fabric.components-picker.min.js 21 | 22 | # Auto Generated Files 23 | docs/data 24 | docs/app/data 25 | 26 | # ========================= 27 | # Operating System Files 28 | # ========================= 29 | 30 | # OSX 31 | # ========================= 32 | 33 | .DS_Store 34 | .AppleDouble 35 | .LSOverride 36 | 37 | # Icon must ends with two \r. 38 | Icon 39 | 40 | # Files that might appear on external disk 41 | .Spotlight-V100 42 | .Trashes 43 | 44 | 45 | # Windows 46 | # ========================= 47 | 48 | # Windows image file caches 49 | Thumbs.db 50 | ehthumbs.db 51 | 52 | # Windows Installer files 53 | *.cab 54 | *.msi 55 | *.msm 56 | *.msp 57 | .vscode/ 58 | -------------------------------------------------------------------------------- /.htmllintrc: -------------------------------------------------------------------------------- 1 | { 2 | "doctype-first": "none", 3 | "line-end-style": "none", 4 | "spec-char-escape": true, 5 | "id-no-dup": true, 6 | "class-style": "none", 7 | "attr-name-style": "none" 8 | } -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "boss": true, 4 | "jquery": true, 5 | "eqeqeq": true, 6 | "strict": false, 7 | "newcap": false, 8 | "undef": true, 9 | "unused": true, 10 | "browser": true 11 | } -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | bower_components 4 | *.sublime* 5 | typings 6 | ghdocs 7 | server 8 | gulp 9 | 10 | .travis.yml 11 | .sass-lint.yml 12 | .htmllintrc 13 | .jshintrc 14 | .csscomb.json -------------------------------------------------------------------------------- /.pullapprove.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | groups: 3 | code-review: 4 | approve_by_comment: 5 | approve_regex: ^Approved 6 | enabled: true 7 | reject_regex: ^Rejected 8 | required: 1 9 | reset_on_push: 10 | enabled: false 11 | users: 12 | - atneik 13 | - battletoilet 14 | - dzearing 15 | - Jahnp 16 | - micahgodbolt 17 | - mikewheaton 18 | - philworthington 19 | - wdo3650 20 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4.1" 4 | notifications: 5 | email: false 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Office UI Fabric 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | 15 | Note: Usage of the fonts referenced on Office UI Fabric files is subject to the terms listed at http://aka.ms/fabric-font-license 16 | -------------------------------------------------------------------------------- /backup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/backup.html -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "office-ui-fabric-js", 3 | "author": "Office UI Fabric Team", 4 | "version": "1.4.0", 5 | "description": "The JavaScript front-end framework for building experiences for Office 365.", 6 | "license": "MIT", 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/OfficeDev/Office-UI-Fabric-JS" 10 | }, 11 | "main": "dist/css/fabric.components.css", 12 | "private": false, 13 | "ignore": [ 14 | "node_modules", 15 | "bower_components", 16 | "*.sublime*", 17 | "typings", 18 | "ghdocs", 19 | "server", 20 | "gulp", 21 | ".travis.yml", 22 | ".sass-lint.yml", 23 | ".pullapprove.yml", 24 | ".htmllintrc", 25 | ".jshintrc", 26 | ".csscomb.json" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /ghdocs/PACKAGES.md: -------------------------------------------------------------------------------- 1 | # Package managers 2 | 3 | Fabric JS is also available from a variety of package managers, including [Bower](https://bower.io/), [npm](https://www.npmjs.com/), and the [NuGet Package Manager](https://www.nuget.org/). You can quickly add Fabric JS as a package and stay up to date with the latest version. 4 | 5 | For information on accessing the previous versions of Fabric that included the components via package managers, check out the [2.6.1 get started docs](https://github.com/OfficeDev/office-ui-fabric-core/blob/master/ghdocs/261GETSTARTED.md). 6 | 7 | ### Install with Bower 8 | To install Fabric using Bower, run the following command: 9 | ``` 10 | $ bower install office-ui-fabric-js 11 | ``` 12 | 13 | ### Install with NPM 14 | To install [Fabric Core's NPM package](https://www.npmjs.com/package/office-ui-fabric-js), run the following command: 15 | ``` 16 | $ npm install office-ui-fabric-js 17 | ``` 18 | 19 | ### Install with NuGet Package Manager 20 | To install [Fabric Core's NuGet package](https://www.nuget.org/packages/OfficeUIFabricJS/), run the following command in the [package manager console](http://docs.nuget.org/consume/package-manager-console): 21 | ``` 22 | PM> Install-Package OfficeUIFabricJS 23 | ``` 24 | -------------------------------------------------------------------------------- /ghdocs/RESOURCES.md: -------------------------------------------------------------------------------- 1 | # Resources 2 | 3 | ## Samples using Fabric 4 | 5 | [Office 365 API - Groups Explorer](https://github.com/OfficeDev/PnP/tree/master/Samples/MicrosoftGraph.Office365.GroupsExplorer) 6 | -------------------------------------------------------------------------------- /ghdocs/ROADMAP.md: -------------------------------------------------------------------------------- 1 | # Fabric Roadmap 2 | 3 | Our roadmap used to be contained in a single markdown file, but has since been transferred to a nifty Trello board where you can view requests, add comments, or even vote so we know what folks need. 4 | 5 | To view the Trello board (that includes old requests that used to be in this file) please see the [Office UI Fabric JS Requests board](https://trello.com/b/wq7oIK87/office-ui-fabric-js-requests). If you'd like to make a new request, please file an issue in [the Fabric JS's issue tracker](https://github.com/OfficeDev/office-ui-fabric-js/issues) so we can add it to the Trello board. 6 | -------------------------------------------------------------------------------- /ghdocs/component_images/Breadcrumb-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Breadcrumb-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Button-compound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Button-compound.png -------------------------------------------------------------------------------- /ghdocs/component_images/Button-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Button-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Button-hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Button-hero.png -------------------------------------------------------------------------------- /ghdocs/component_images/Button-primary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Button-primary.png -------------------------------------------------------------------------------- /ghdocs/component_images/Callout-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Callout-action.png -------------------------------------------------------------------------------- /ghdocs/component_images/Callout-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Callout-close.png -------------------------------------------------------------------------------- /ghdocs/component_images/Callout-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Callout-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Callout-oobe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Callout-oobe.png -------------------------------------------------------------------------------- /ghdocs/component_images/Callout-peek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Callout-peek.png -------------------------------------------------------------------------------- /ghdocs/component_images/CheckBox-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CheckBox-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/ChoiceFieldGroup-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ChoiceFieldGroup-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandBar-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandBar-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandBar-dropdowns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandBar-dropdowns.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandBar-navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandBar-navbar.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-action.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-disabled.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-dropdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-dropdown.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-inline.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-nolabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-nolabel.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-nolabelsplit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-nolabelsplit.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-pivot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-pivot.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-split.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-split.png -------------------------------------------------------------------------------- /ghdocs/component_images/CommandButton-textonly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/CommandButton-textonly.png -------------------------------------------------------------------------------- /ghdocs/component_images/ContextualMenu-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ContextualMenu-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/ContextualMenu-dividers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ContextualMenu-dividers.png -------------------------------------------------------------------------------- /ghdocs/component_images/ContextualMenu-multiselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ContextualMenu-multiselect.png -------------------------------------------------------------------------------- /ghdocs/component_images/ContextualMenu-submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ContextualMenu-submenu.png -------------------------------------------------------------------------------- /ghdocs/component_images/DatePicker-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/DatePicker-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dialog-blocking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dialog-blocking.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dialog-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dialog-close.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dialog-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dialog-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dialog-largeheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dialog-largeheader.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dialog-multiline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dialog-multiline.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dropdown-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dropdown-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Dropdown-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Dropdown-disabled.png -------------------------------------------------------------------------------- /ghdocs/component_images/FacePile-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/FacePile-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Label-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Label-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Label-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Label-disabled.png -------------------------------------------------------------------------------- /ghdocs/component_images/Label-required.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Label-required.png -------------------------------------------------------------------------------- /ghdocs/component_images/Link-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Link-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/List-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/List-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/ListItem-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ListItem-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/ListItem-document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ListItem-document.png -------------------------------------------------------------------------------- /ghdocs/component_images/ListItem-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ListItem-image.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBanner-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBanner-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-blocked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-blocked.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-error.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-severewarning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-severewarning.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-success.png -------------------------------------------------------------------------------- /ghdocs/component_images/MessageBar-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/MessageBar-warning.png -------------------------------------------------------------------------------- /ghdocs/component_images/OrgChart-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/OrgChart-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Overlay-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Overlay-dark.png -------------------------------------------------------------------------------- /ghdocs/component_images/Overlay-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Overlay-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Panel.png -------------------------------------------------------------------------------- /ghdocs/component_images/PeoplePicker-compact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/PeoplePicker-compact.png -------------------------------------------------------------------------------- /ghdocs/component_images/PeoplePicker-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/PeoplePicker-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/PeoplePicker-facepile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/PeoplePicker-facepile.png -------------------------------------------------------------------------------- /ghdocs/component_images/Persona-circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Persona-circle.png -------------------------------------------------------------------------------- /ghdocs/component_images/Persona-facepile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Persona-facepile.png -------------------------------------------------------------------------------- /ghdocs/component_images/Persona-initials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Persona-initials.png -------------------------------------------------------------------------------- /ghdocs/component_images/Persona-presence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Persona-presence.png -------------------------------------------------------------------------------- /ghdocs/component_images/Persona-token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Persona-token.png -------------------------------------------------------------------------------- /ghdocs/component_images/PersonaCard-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/PersonaCard-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Pivot-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Pivot-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Pivot-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Pivot-large.png -------------------------------------------------------------------------------- /ghdocs/component_images/Pivot-largetabs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Pivot-largetabs.png -------------------------------------------------------------------------------- /ghdocs/component_images/Pivot-tabs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Pivot-tabs.png -------------------------------------------------------------------------------- /ghdocs/component_images/ProgressIndicator-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/ProgressIndicator-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/SearchBox-collapsed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/SearchBox-collapsed.png -------------------------------------------------------------------------------- /ghdocs/component_images/SearchBox-commandbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/SearchBox-commandbar.png -------------------------------------------------------------------------------- /ghdocs/component_images/SearchBox-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/SearchBox-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Spinner-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Spinner-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Spinner-defaultwithlabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Spinner-defaultwithlabel.png -------------------------------------------------------------------------------- /ghdocs/component_images/Spinner-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Spinner-large.png -------------------------------------------------------------------------------- /ghdocs/component_images/Spinner-largewithlabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Spinner-largewithlabel.png -------------------------------------------------------------------------------- /ghdocs/component_images/Table-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Table-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Table-fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Table-fixed.png -------------------------------------------------------------------------------- /ghdocs/component_images/Table-selectable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Table-selectable.png -------------------------------------------------------------------------------- /ghdocs/component_images/TextField-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/TextField-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/TextField-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/TextField-disabled.png -------------------------------------------------------------------------------- /ghdocs/component_images/TextField-multiline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/TextField-multiline.png -------------------------------------------------------------------------------- /ghdocs/component_images/TextField-placeholdertext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/TextField-placeholdertext.png -------------------------------------------------------------------------------- /ghdocs/component_images/TextField-underlined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/TextField-underlined.png -------------------------------------------------------------------------------- /ghdocs/component_images/Toggle-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Toggle-default.png -------------------------------------------------------------------------------- /ghdocs/component_images/Toggle-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Toggle-disabled.png -------------------------------------------------------------------------------- /ghdocs/component_images/Toggle-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/office-ui-fabric-js/b0fc9e164a3d31c2170f9ba7880da88a7a053006/ghdocs/component_images/Toggle-left.png -------------------------------------------------------------------------------- /ghdocs/components/Link.md: -------------------------------------------------------------------------------- 1 | # Link 2 | Used to create a hyperlink to another location. 3 | 4 | ## Variants 5 | 6 | ### Default 7 | 8 | 9 |  10 | 11 | 12 | ## States 13 | This component has only the default state. 14 | 15 | ## Using this component 16 | 1. Confirm that you have references to Fabric's CSS on your page: 17 | 18 | ``` 19 |
20 | 21 | 22 | 23 | ``` 24 | 25 | 2. Copy the HTML from one of the samples above into your page. For example: 26 | 27 | ``` 28 |{{{props.title}}}
10 |{{props.subText}}
14 |{{props.subText}}
13 | {{/if}} 14 | {{#if props.components}} 15 | {{#each props.components}} 16 | {{renderPartial component props}} 17 | {{/each}} 18 | {{/if}} 19 |{{props.headerText}}
8 |9 | {{/if}} 10 | {{#each props.headers}} 11 | | {{value}} | 12 | {{/each}} 13 |
---|---|
20 | {{/if}} 21 | {{#each columns}} 22 | | {{value}} | 23 | {{/each}} 24 |
Used to indicate a single choice from multiple options.
", 4 | availableReact: true, 5 | reactComponent: 'ChoiceGroup', 6 | variants: [ 7 | { 8 | name: "Default ChoiceFieldGroup", 9 | templateFile: "ChoiceFieldGroupElem", 10 | model: "ChoiceFieldGroupModel" 11 | } 12 | ], 13 | methods: [ 14 | { 15 | name: "removeListeners()", 16 | parameters: [ 17 | ], 18 | description: "Remove all event listeners from component" 19 | } 20 | ], 21 | jsFile: "ChoiceFieldGroupJS" 22 | } 23 | 24 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ChoiceFieldGroup/examples/ChoiceFieldGroupElem.hbs: -------------------------------------------------------------------------------- 1 | {{> ChoiceFieldGroup props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/ChoiceFieldGroup/examples/ChoiceFieldGroupJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/ChoiceFieldGroup/examples/ChoiceFieldGroupModel.js: -------------------------------------------------------------------------------- 1 | var ChoiceFieldGroupModel = { 2 | "title": "Unselected", 3 | "required": true, 4 | "id": "choicefieldgroup", 5 | "groupType": "radiogroup", 6 | "fields": [ 7 | { 8 | "component": "RadioButton", 9 | "props": { 10 | "label": "Option 1", 11 | "modifier": "", 12 | "name": "choicefieldgroup", 13 | "id": "option1", 14 | "checked": false, 15 | "disabled": false, 16 | "type": "radio" 17 | } 18 | }, 19 | { 20 | "component": "RadioButton", 21 | "props": { 22 | "label": "Option 2", 23 | "modifier": "", 24 | "name": "choicefieldgroup", 25 | "id": "option2", 26 | "checked": false, 27 | "disabled": false, 28 | "type": "radio" 29 | } 30 | }, 31 | { 32 | "component": "RadioButton", 33 | "props": { 34 | "label": "Option 3", 35 | "modifier": "", 36 | "name": "choicefieldgroup", 37 | "id": "option3", 38 | "checked": false, 39 | "disabled": true, 40 | "type": "radio" 41 | } 42 | }, 43 | { 44 | "component": "RadioButton", 45 | "props": { 46 | "label": "Option 4", 47 | "modifier": "", 48 | "name": "choicefieldgroup", 49 | "id": "option4", 50 | "checked": false, 51 | "disabled": false, 52 | "type": "radio" 53 | } 54 | } 55 | ] 56 | } 57 | 58 | module.exports = ChoiceFieldGroupModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandBar/examples/CommandBarExample.hbs: -------------------------------------------------------------------------------- 1 | {{> CommandBar props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandBar/examples/CommandBarExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandBar/examples/CommandBarExampleNavBar.hbs: -------------------------------------------------------------------------------- 1 | {{> CommandBar props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonActionExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "icon": "CircleRing", 3 | "modifier": "actionButton", 4 | "tag": "button", 5 | "iconColor": "themePrimary" 6 | } 7 | 8 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonDisabledExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "Command", 3 | "icon": "CircleRing", 4 | "tag": "button", 5 | "iconColor": "themePrimary", 6 | "disabled": true 7 | } 8 | 9 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonDropdownExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "New", 3 | "icon": "CircleRing", 4 | "tag": "button", 5 | "dropdownIcon": "ChevronDown", 6 | "iconColor": "themePrimary", 7 | "dropdown": { 8 | "component": "ContextualMenu", 9 | "props": { 10 | "state": "is-opened", 11 | "modifier": "hasIcons", 12 | "items": [ 13 | { 14 | "title": "Folder", 15 | "state": "", 16 | "icon": "Folder" 17 | }, 18 | { 19 | "modifier": "divider", 20 | "title": "" 21 | }, 22 | { 23 | "title": "Plain Text Document", 24 | "icon": "Document" 25 | }, 26 | { 27 | "title": "Smile", 28 | "icon": "Emoji2" 29 | }, 30 | { 31 | "title": "Globe", 32 | "state": "", 33 | "icon": "Globe" 34 | }, 35 | { 36 | "title": "Money", 37 | "icon": "Money" 38 | } 39 | ] 40 | } 41 | } 42 | } 43 | 44 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonExample.hbs: -------------------------------------------------------------------------------- 1 | {{> CommandButton props=props }} -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "Command", 3 | "icon": "CircleRing", 4 | "tag": "button", 5 | "iconColor": "themePrimary" 6 | } 7 | 8 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonInlineExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "Command", 3 | "icon": "CircleRing", 4 | "tag": "button", 5 | "modifier": "inline", 6 | "iconColor": "green" 7 | } 8 | 9 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonNoLabelExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "icon": "CircleRing", 3 | "modifier": "noLabel", 4 | "tag": "button", 5 | "iconColor": "themePrimary" 6 | } 7 | 8 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonNoLabelSplitExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "icon": "CircleRing", 3 | "modifier": "noLabel", 4 | "tag": "button", 5 | "splitIcon": "ChevronDown", 6 | "iconColor": "themePrimary", 7 | "dropdown": { 8 | "component": "ContextualMenu", 9 | "props": { 10 | "state": "", 11 | "items": [ 12 | { 13 | "title": "Reply", 14 | "state": "" 15 | }, 16 | { 17 | "title": "Reply all", 18 | "state": "" 19 | }, 20 | { 21 | "title": "Forward", 22 | "state": "is-selected" 23 | }, 24 | { 25 | "title": "Flag", 26 | "state": "" 27 | }, 28 | { 29 | "title": "Delete", 30 | "state": "is-disabled" 31 | } 32 | ] 33 | } 34 | } 35 | } 36 | 37 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonPivotExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "New", 3 | "icon": "CircleRing", 4 | "tag": "button", 5 | "dropdownIcon": "ChevronDown", 6 | "iconColor": "themePrimary", 7 | "state": "is-active", 8 | "modifier": "pivot" 9 | } 10 | 11 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonSplitExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "label": "Reply", 3 | "icon": "CircleRing", 4 | "splitIcon": "ChevronDown", 5 | "iconColor": "themePrimary", 6 | "tag": "button", 7 | "dropdown": { 8 | "component": "ContextualMenu", 9 | "props": { 10 | "state": "is-opened", 11 | "items": [ 12 | { 13 | "title": "Reply", 14 | "state": "" 15 | }, 16 | { 17 | "title": "Reply all", 18 | "state": "" 19 | }, 20 | { 21 | "title": "Forward", 22 | "state": "is-selected" 23 | }, 24 | { 25 | "title": "Flag", 26 | "state": "" 27 | }, 28 | { 29 | "title": "Delete", 30 | "state": "is-disabled" 31 | } 32 | ] 33 | } 34 | } 35 | } 36 | 37 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/CommandButton/examples/CommandButtonTextOnlyExampleModel.js: -------------------------------------------------------------------------------- 1 | var CommandButtonExampleModel = { 2 | "modifier": "TextOnly", 3 | "label": "Command", 4 | "tag": "button" 5 | } 6 | 7 | module.exports = CommandButtonExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ContextualMenu/examples/ContextualMenuExample.hbs: -------------------------------------------------------------------------------- 1 |The DatePicker component enables a user to pick a date value.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default DatePicker", 8 | templateFile: "DatePickerExample", 9 | model: null 10 | } 11 | ], 12 | methods: [ 13 | { 14 | name: "picker.set('select', dateArr);", 15 | parameters: [ 16 | { 17 | name: "dateArr", 18 | type: "{Array} The new date in [YEAR, MONTH, DATE] format", 19 | } 20 | ], 21 | description: "Selects a new date in the component. Must be used on component's picker property (DatePicker.picker)." 22 | }, 23 | { 24 | name: "picker.set('highlight', dateArr);", 25 | parameters: [ 26 | { 27 | name: "dateArr", 28 | type: "{Array} The new date in [YEAR, MONTH, DATE] format", 29 | } 30 | ], 31 | description: "Highlights a new date in the component. Must be used on component's picker property (DatePicker.picker)." 32 | } 33 | ], 34 | jsFile: "DatePickerExampleJS", 35 | isDatePicker: true 36 | } 37 | 38 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/DatePicker/examples/DatePickerExample.hbs: -------------------------------------------------------------------------------- 1 | {{> DatePicker}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/DatePicker/examples/DatePickerExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Dialog/examples/DialogBlockingExample.hbs: -------------------------------------------------------------------------------- 1 |A Dropdown is a list in which the selected item is always visible, and the others are visible on demand by clicking a drop-down button. They are used to simplify the design and make a choice within the UI. When closed, only the selected item is visible. When users click the drop-down button, all the options become visible. To change the value, users open the list and click another value or use the arrow keys (up and down) to select a new value.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default Dropdown", 8 | templateFile: "DropdownExample", 9 | model: "DropdownExampleModel" 10 | }, 11 | { 12 | name: "Disabled Dropdown", 13 | templateFile: "DropdownExample", 14 | model: "DropdownDisabledExampleModel" 15 | } 16 | ], 17 | states: [ 18 | { 19 | name: ".is-disabled", 20 | applied: ".ms-Dropdown", 21 | result: "Disables the dropdown." 22 | } 23 | ], 24 | jsFile: "DropdownExampleJS" 25 | } 26 | 27 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Dropdown/examples/DropdownDisabledExampleModel.js: -------------------------------------------------------------------------------- 1 | var DropdownDisabledExampleModel = { 2 | "label": "Dropdown label", 3 | "state": "is-disabled", 4 | "items": [ 5 | { 6 | "name": "Choose a sound…" 7 | }, 8 | { 9 | "name": "Dog barking" 10 | }, 11 | { 12 | "name": "Wind blowing" 13 | }, 14 | { 15 | "name": "Duck quacking" 16 | }, 17 | { 18 | "name": "Cow mooing" 19 | } 20 | ] 21 | } 22 | 23 | module.exports = DropdownDisabledExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Dropdown/examples/DropdownExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Dropdown props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Dropdown/examples/DropdownExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Dropdown/examples/DropdownExampleModel.js: -------------------------------------------------------------------------------- 1 | var DropdownExampleModel = { 2 | "label": "Dropdown label", 3 | "items": [ 4 | { 5 | "name": "Choose a sound…" 6 | }, 7 | { 8 | "name": "Dog barking" 9 | }, 10 | { 11 | "name": "Wind blowing" 12 | }, 13 | { 14 | "name": "Duck quacking" 15 | }, 16 | { 17 | "name": "Cow mooing" 18 | } 19 | ] 20 | } 21 | 22 | module.exports = DropdownExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/FacePile/FacePile.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "FacePile", 3 | overview: `The Facepile shows a list of faces or initials in a horizontal lockup. Each circle represents a person. Many times this component is used when sharing who has access to a specific view or file or when assigning a user to a task within a workflow.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default FacePile", 8 | templateFile: "FacePileElem", 9 | model: "FacePileModels" 10 | } 11 | ], 12 | states: [ 13 | { 14 | name: ".is-active", 15 | applied: ".ms-PersonaCard", 16 | result: "Makes the PersonaCard for a person visible." 17 | }, 18 | { 19 | name: ".is-active", 20 | applied: ".ms-FacePile-itemBtn--overflow", 21 | result: "Makes the overflow item for additional people visible." 22 | } 23 | ], 24 | jsFile: "FacePileJS" 25 | } 26 | 27 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/FacePile/examples/FacePileElem.hbs: -------------------------------------------------------------------------------- 1 | {{> FacePile props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/FacePile/examples/FacePileJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Label/Label.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "Label", 3 | overview: "Labels give a name or title to a component or group of components. Labels should be in close proximity to the component or group they are paired with. Some components, such as TextField, Dropdown, or Toggle, already have Labels incorporated, but other components may optionally add a Label if it helps inform the user of the component’s purpose.
", 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default Label", 8 | templateFile: "LabelExample", 9 | model: "LabelExampleModel" 10 | }, 11 | { 12 | name: "Disabled Label", 13 | templateFile: "LabelExample", 14 | model: "LabelExampleDisabledModel" 15 | }, 16 | { 17 | name: "Required Label", 18 | templateFile: "LabelExample", 19 | model: "LabelExampleRequiredModel" 20 | } 21 | ], 22 | states: [ 23 | { 24 | name: ".is-required", 25 | applied: ".ms-Label", 26 | result: "Marks the form element as required." 27 | }, 28 | { 29 | name: ".is-disabled", 30 | applied: ".ms-Label", 31 | result: "Marks the form element as disabled." 32 | } 33 | ] 34 | } 35 | 36 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Label/examples/LabelExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Label props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Label/examples/LabelExampleDisabled.hbs: -------------------------------------------------------------------------------- 1 |With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.
4 |A Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.
`, 5 | availableReact: true, 6 | variants: [ 7 | { 8 | name: "Default Link", 9 | templateFile: "LinkExample", 10 | model: "LinkModels" 11 | } 12 | ] 13 | } 14 | 15 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Link/examples/LinkExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Link props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Link/examples/LinkModels.js: -------------------------------------------------------------------------------- 1 | var LinkModels = { 2 | "label": "Example Link", 3 | "href": "#", 4 | "title": "More info about Example Link", 5 | "tabIndex": "" 6 | } 7 | 8 | module.exports = LinkModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/List/List.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "List", 3 | overview: `Presents a number of related items, either as a vertical list or in a grid.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default List", 8 | templateFile: "ListElem", 9 | model: "ListModels" 10 | } 11 | ], 12 | jsFile: "ListJS" 13 | } 14 | 15 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/List/examples/ListElem.hbs: -------------------------------------------------------------------------------- 1 | {{> List props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/List/examples/ListJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/ListItem.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "ListItem", 3 | overview: "Suitable for presenting a summary of an item with associated actions. Most often used within a List component. It was designed to represent an email message on desktop computers and is not currently touch friendly.
", 4 | variants: [ 5 | { 6 | name: "Default List", 7 | templateFile: "ListItemElem", 8 | model: "ListItemDefaultExampleModel" 9 | }, 10 | { 11 | name: "Image ListItem", 12 | templateFile: "ListItemElem", 13 | model: "ListItemImageExampleModel" 14 | }, 15 | { 16 | name: "Document ListItem", 17 | templateFile: "ListItemElem", 18 | model: "ListItemDocumentExampleModel" 19 | }, 20 | { 21 | name: "Selectable ListItem", 22 | templateFile: "ListItemElem", 23 | model: "ListItemSelectableExampleModel" 24 | }, 25 | { 26 | name: "Selected ListItem", 27 | templateFile: "ListItemElem", 28 | model: "ListItemSelectedExampleModel" 29 | }, 30 | { 31 | name: "Unseen ListItem", 32 | templateFile: "ListItemElem", 33 | model: "ListItemUnseenExampleModel" 34 | }, 35 | { 36 | name: "Unread ListItem", 37 | templateFile: "ListItemElem", 38 | model: "ListItemUnreadExampleModel" 39 | } 40 | ], 41 | jsFile: "ListItemJS" 42 | } 43 | 44 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemDefaultExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "actions": [{}] 7 | } 8 | 9 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemDocumentExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "metaText": "2:42p", 5 | "modifier": "document", 6 | "listIcon": "ppt", 7 | "actions": [{}] 8 | } 9 | 10 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemElem.hbs: -------------------------------------------------------------------------------- 1 | {{> ListItem props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemImageExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "image": true, 7 | "modifier": "image", 8 | "actions": [{}] 9 | } 10 | 11 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemSelectableExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "state": "is-selectable", 7 | "actions": [{}] 8 | } 9 | 10 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemSelectedExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "state": "is-selected is-selectable", 7 | "actions": [{}] 8 | } 9 | 10 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemUnreadExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "state": "is-unread is-selectable", 7 | "actions": [{}] 8 | } 9 | 10 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/ListItem/examples/ListItemUnseenExampleModel.js: -------------------------------------------------------------------------------- 1 | var ListItemModels = { 2 | "primaryText": "Alton Lafferty", 3 | "secondaryText": "Meeting notes", 4 | "tertiaryText": "Today we discussed the importance of a, b, and c in regards to d.", 5 | "metaText": "2:42p", 6 | "state": "is-unseen is-selectable", 7 | "actions": [{}] 8 | } 9 | 10 | module.exports = ListItemModels; -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBanner/MessageBanner.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "MessageBanner", 3 | overview: "Presents a message to the user, with an optional call to action. The message is typically an error, update, or alert.
", 4 | variants: [ 5 | { 6 | name: "Default MessageBanner", 7 | templateFile: "MessageBannerExampleElem", 8 | model: "MessageBannerExampleModel" 9 | } 10 | ], 11 | methods: [ 12 | { 13 | name: "init()", 14 | parameters: [], 15 | description: "Initializes component" 16 | }, 17 | { 18 | name: "show()", 19 | parameters: [], 20 | description: "Shows MessageBanner if hidden" 21 | }, 22 | { 23 | name: "showBanner()", 24 | parameters: [], 25 | description: "Shows MessageBanner if hidden, (deprecated) now use show()" 26 | } 27 | ], 28 | jsFile: "MessageBannerExampleJS" 29 | } 30 | 31 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBanner/examples/MessageBannerExampleElem.hbs: -------------------------------------------------------------------------------- 1 | {{> MessageBanner props=props }} -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBanner/examples/MessageBannerExampleJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBanner/examples/MessageBannerExampleModel.js: -------------------------------------------------------------------------------- 1 | var MessageBannerExampleModel = { 2 | "message": "You have reached your total storage on OneDrive. Please upgrade your storage plan if you need more storage.", 3 | "button": { 4 | "name": "Button", 5 | "props": { 6 | "label": "Get More Storage", 7 | "modifier": "primary", 8 | "tag": "button" 9 | } 10 | } 11 | } 12 | 13 | module.exports = MessageBannerExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/MessageBar.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "MessageBar", 3 | overview: "A MessageBar is an area at the top of a primary view that displays relevant status information. You can use a MessageBar to tell the user about a situation that does not require their immediate attention and therefore does not need to block other activities.
", 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default MessageBar", 8 | templateFile: "MessageBarExample", 9 | model: "MessageBarDefaultModel" 10 | }, 11 | { 12 | name: "Success MessageBar", 13 | templateFile: "MessageBarExample", 14 | model: "MessageBarSuccessModel" 15 | }, 16 | { 17 | name: "Error MessageBar", 18 | templateFile: "MessageBarExample", 19 | model: "MessageBarErrorModel" 20 | }, 21 | { 22 | name: "Blocked MessageBar", 23 | templateFile: "MessageBarExample", 24 | model: "MessageBarBlockedModel" 25 | }, 26 | { 27 | name: "Warning MessageBar", 28 | templateFile: "MessageBarExample", 29 | model: "MessageBarWarningModel" 30 | }, 31 | { 32 | name: "Severe Warning MessageBar", 33 | templateFile: "MessageBarExample", 34 | model: "MessageBarSevereWarningModel" 35 | } 36 | ] 37 | } 38 | 39 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarBlockedModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "modifier": "ms-MessageBar--blocked", 3 | "iconModifiers": "ms-Icon--Blocked" 4 | } 5 | 6 | module.exports = MessageBarExampleProps; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarDefaultModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "iconModifiers": "ms-Icon--Info" 3 | } 4 | 5 | module.exports = MessageBarExampleProps; 6 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarErrorModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "modifier": "ms-MessageBar--error", 3 | "iconModifiers": "ms-Icon--ErrorBadge" 4 | } 5 | 6 | module.exports = MessageBarExampleProps; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarExample.hbs: -------------------------------------------------------------------------------- 1 | {{> MessageBar props=props }} -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarSevereWarningModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "modifier": "ms-MessageBar--severeWarning", 3 | "iconModifiers": "ms-Icon--Warning" 4 | } 5 | 6 | module.exports = MessageBarExampleProps; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarSuccessModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "modifier": "ms-MessageBar--success", 3 | "iconModifiers": "ms-Icon--Completed" 4 | } 5 | 6 | module.exports = MessageBarExampleProps; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/MessageBar/examples/MessageBarWarningModel.js: -------------------------------------------------------------------------------- 1 | var MessageBarExampleProps = { 2 | "modifier": "ms-MessageBar--warning", 3 | "iconModifiers": "ms-Icon--Info" 4 | } 5 | 6 | module.exports = MessageBarExampleProps; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/OrgChart/OrgChart.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "OrgChart", 3 | overview: "Displays multiple Persona components in groups with headers in order to show the hierarchy of an organization or team.
", 4 | variants: [ 5 | { 6 | name: "Default OrgChart", 7 | templateFile: "OrgChartElem", 8 | model: "OrgChartExampleModel" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/OrgChart/examples/OrgChartElem.hbs: -------------------------------------------------------------------------------- 1 | {{> OrgChart props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Overlay/Overlay.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "Overlay", 3 | overview: "Overlays are used to render a semi-transparent layer on top of existing UI. Overlays help focus the user on the content that sits above the added layer and are often used to help designate a modal or blocking experience. Overlays can be seen used in conjunction with Panels and Dialogs.
", 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default Overlay", 8 | templateFile: "OverlayExample", 9 | model: "OverlayDefaultExampleModel" 10 | }, 11 | { 12 | name: "Dark Overlay", 13 | templateFile: "OverlayExample", 14 | model: "OverlayDarkExampleModel" 15 | } 16 | ], 17 | methods: [ 18 | { 19 | name: "remove()", 20 | parameters: [], 21 | description: "Removes the component from page" 22 | }, 23 | { 24 | name: "show()", 25 | parameters: [], 26 | description: "Shows the component" 27 | }, 28 | { 29 | name: "hide()", 30 | parameters: [], 31 | description: "Hides the component" 32 | } 33 | ], 34 | jsFile: "OverlayExampleJS" 35 | } 36 | 37 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Overlay/examples/OverlayDarkExample.hbs: -------------------------------------------------------------------------------- 1 |A form input that allows for the choice of one or more people.
", 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default PeoplePicker", 8 | templateFile: "PeoplePickerExample", 9 | model: "PeoplePickerExampleModel" 10 | }, 11 | { 12 | name: "Compact PeoplePicker", 13 | templateFile: "PeoplePickerExample", 14 | model: "PeoplePickerCompactExampleModel" 15 | }, 16 | { 17 | name: "FacePile PeoplePicker", 18 | templateFile: "PeoplePickerExample", 19 | model: "PeoplePickerFacePileExampleModel" 20 | } 21 | ], 22 | jsFile: "PeoplePickerExampleJS" 23 | } 24 | 25 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/PeoplePicker/examples/PeoplePickerExample.hbs: -------------------------------------------------------------------------------- 1 | {{> PeoplePicker props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/PeoplePicker/examples/PeoplePickerExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/PeoplePicker/examples/PeoplePickerMembersExampleModel.js: -------------------------------------------------------------------------------- 1 | var PeoplePickerMembersExampleModel = { 2 | "modifiers": [ 3 | { 4 | "name": "membersList" 5 | } 6 | ], 7 | "textFieldProps": { 8 | "textfield": true, 9 | "modifier": "textFieldUnderlined", 10 | "placeholder": "Select or enter an option" 11 | }, 12 | "groups": [ 13 | { 14 | "title": "Contacts", 15 | "personas": [ 16 | { 17 | "component": "Persona", 18 | "props": { 19 | "initials": "RM", 20 | "initialsColor": "blue", 21 | "primaryText": "Russel Miller", 22 | "secondaryText": "Sales", 23 | "modifiers": [ 24 | { 25 | "name": "xs" 26 | } 27 | ] 28 | }, 29 | "state": "is-selected" 30 | }, 31 | { 32 | "component": "Persona", 33 | "props": { 34 | "initials": "DF", 35 | "initialsColor": "purple", 36 | "primaryText": "Douglas Fielder", 37 | "secondaryText": "Public Relations", 38 | "modifiers": [ 39 | { 40 | "name": "xs" 41 | } 42 | ] 43 | } 44 | } 45 | ] 46 | } 47 | ], 48 | "searchMoreText": "Search my groups" 49 | } 50 | 51 | module.exports = PeoplePickerMembersExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaDefaultExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "icon": "SkypeCheck" 6 | } 7 | 8 | module.exports = PersonaExampleProps; 9 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Persona props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaExtraLargeExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "tertiaryText": "In a meeting", 6 | "optionalText": "Available at 4:00pm", 7 | "icon": "SkypeCheck", 8 | "modifiers": [ 9 | { 10 | "name": "xl" 11 | } 12 | ] 13 | } 14 | 15 | module.exports = PersonaExampleProps; 16 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaExtraSmallExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "icon": "SkypeCheck", 5 | "modifiers": [ 6 | { 7 | "name": "xs" 8 | } 9 | ] 10 | } 11 | 12 | module.exports = PersonaExampleProps; 13 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaInitialsExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "initials": "AL", 3 | "initialsColor": "blue", 4 | "primaryText": "Alton Lafferty", 5 | "icon": "SkypeCheck" 6 | } 7 | 8 | module.exports = PersonaExampleProps; 9 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaLargeExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "tertiaryText": "In a meeting", 6 | "icon": "SkypeCheck", 7 | "modifiers": [ 8 | { 9 | "name": "lg" 10 | } 11 | ] 12 | } 13 | 14 | module.exports = PersonaExampleProps; 15 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceAvailableExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "icon": "SkypeCheck", 6 | "modifiers": [ 7 | { 8 | "name": "available" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = PersonaExampleProps; 14 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceAwayExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "icon": "SkypeClock", 6 | "modifiers": [ 7 | { 8 | "name": "away" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = PersonaExampleProps; 14 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceBlockedExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "modifiers": [ 6 | { 7 | "name": "blocked" 8 | } 9 | ] 10 | } 11 | 12 | module.exports = PersonaExampleProps; 13 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceBusyExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "modifiers": [ 6 | { 7 | "name": "busy" 8 | } 9 | ] 10 | } 11 | 12 | module.exports = PersonaExampleProps; 13 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceDNDExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "icon": "SkypeMinus", 6 | "modifiers": [ 7 | { 8 | "name": "dnd" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = PersonaExampleProps; 14 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaPresenceOfflineExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "modifiers": [ 6 | { 7 | "name": "offline" 8 | } 9 | ] 10 | } 11 | 12 | module.exports = PersonaExampleProps; 13 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaSmallExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Alton Lafferty", 4 | "secondaryText": "Accountant", 5 | "icon": "SkypeCheck", 6 | "modifiers": [ 7 | { 8 | "name": "sm" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = PersonaExampleProps; 14 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaTinyExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "primaryText": "Alton Lafferty", 3 | "icon": "SkypeCheck", 4 | "modifiers": [ 5 | { 6 | "name": "tiny" 7 | } 8 | ] 9 | } 10 | 11 | module.exports = PersonaExampleProps; 12 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Persona/examples/PersonaTokenExampleModel.js: -------------------------------------------------------------------------------- 1 | var PersonaExampleProps = { 2 | "image": "https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/images/persona.person.png", 3 | "primaryText": "Gerrad Matteu", 4 | "actionIcon": "x", 5 | "icon": "SkypeCheck", 6 | "modifiers": [ 7 | { 8 | "name": "token" 9 | } 10 | ] 11 | } 12 | 13 | module.exports = PersonaExampleProps; 14 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/PersonaCard/PersonaCard.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "PersonaCard", 3 | overview: "The visualization of details of an individual including Skype contact details, email, location information, and location within the hierarchy of an organization. Within Office 365, PersonaCards often appear when a user hovers, taps, or clicks on a Persona.
", 4 | variants: [ 5 | { 6 | name: "Default PersonaCard", 7 | templateFile: "PersonaCardExample", 8 | model: "PersonaCardExampleModel" 9 | } 10 | ], 11 | jsFile: "PersonaCardExampleJS" 12 | } 13 | 14 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/PersonaCard/examples/PersonaCardExample.hbs: -------------------------------------------------------------------------------- 1 | {{> PersonaCard props=props }} -------------------------------------------------------------------------------- /src/documentation/pages/Components/PersonaCard/examples/PersonaCardExampleJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotDefaultExampleModel.js: -------------------------------------------------------------------------------- 1 | var PivotExampleProps = { 2 | "links": [ 3 | { 4 | "text": "My files", 5 | "state": "is-selected", 6 | "name": "files", 7 | "content": "This is the my files tab." 8 | }, 9 | { 10 | "text": "Recent", 11 | "name": "recent", 12 | "content": "This is the recent tab." 13 | }, 14 | { 15 | "text": "Shared with me", 16 | "name": "shared", 17 | "content": "This is the shared with me tab." 18 | } 19 | ], 20 | "hasEllipsis": true 21 | } 22 | 23 | module.exports = PivotExampleProps; 24 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Pivot props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotLargeExampleModel.js: -------------------------------------------------------------------------------- 1 | var PivotExampleProps = { 2 | "modifiers": [ 3 | { 4 | "name": "large" 5 | } 6 | ], 7 | "links": [ 8 | { 9 | "text": "My files", 10 | "state": "is-selected", 11 | "name": "files", 12 | "content": "This is the my files tab." 13 | }, 14 | { 15 | "text": "Recent", 16 | "name": "recent", 17 | "content": "This is the recent tab." 18 | }, 19 | { 20 | "text": "Shared with me", 21 | "name": "shared", 22 | "content": "This is the shared with me tab." 23 | } 24 | ], 25 | "hasEllipsis": true 26 | } 27 | 28 | module.exports = PivotExampleProps; 29 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotLargeTabsExampleModel.js: -------------------------------------------------------------------------------- 1 | var PivotExampleProps = { 2 | "modifiers": [ 3 | { 4 | "name": "large" 5 | }, 6 | { 7 | "name": "tabs" 8 | } 9 | ], 10 | "links": [ 11 | { 12 | "text": "My files", 13 | "state": "is-selected", 14 | "name": "files", 15 | "content": "This is the my files tab." 16 | }, 17 | { 18 | "text": "Recent", 19 | "name": "recent", 20 | "content": "This is the recent tab." 21 | }, 22 | { 23 | "text": "Shared with me", 24 | "name": "shared", 25 | "content": "This is the shared with me tab." 26 | } 27 | ], 28 | "hasEllipsis": true 29 | } 30 | 31 | module.exports = PivotExampleProps; 32 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Pivot/examples/PivotTabsExampleModel.js: -------------------------------------------------------------------------------- 1 | var PivotExampleProps = { 2 | "modifiers": [ 3 | { 4 | "name": "tabs" 5 | } 6 | ], 7 | "links": [ 8 | { 9 | "text": "My files", 10 | "state": "is-selected", 11 | "name": "files", 12 | "content": "This is the my files tab." 13 | }, 14 | { 15 | "text": "Recent", 16 | "name": "recent", 17 | "content": "This is the recent tab." 18 | }, 19 | { 20 | "text": "Shared with me", 21 | "name": "shared", 22 | "content": "This is the shared with me tab." 23 | } 24 | ], 25 | "hasEllipsis": true 26 | } 27 | 28 | module.exports = PivotExampleProps; 29 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/ProgressIndicator/examples/ProgressIndicatorExample.hbs: -------------------------------------------------------------------------------- 1 | {{> ProgressIndicator props=props }} -------------------------------------------------------------------------------- /src/documentation/pages/Components/ProgressIndicator/examples/ProgressIndicatorExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/ProgressIndicator/examples/ProgressIndicatorExampleModel.js: -------------------------------------------------------------------------------- 1 | var ProgressIndicatorExampleModel = { 2 | "title": "Example.jpg", 3 | "description": "My Progress Description" 4 | } 5 | 6 | module.exports = ProgressIndicatorExampleModel; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/SearchBox/examples/SearchBoxCollapsedExampleModel.js: -------------------------------------------------------------------------------- 1 | var SearchBoxExampleProps = { 2 | "label": "Search", 3 | "defaultValue": "", 4 | "icon": "Search", 5 | "modifier": "commandBar", 6 | "state": "is-collapsed", 7 | "clearButton": { 8 | "component": "CommandButton", 9 | "props": { 10 | "icon": "Clear", 11 | "modifier": "noLabel", 12 | "tag": "button", 13 | "customClasses": "ms-SearchBox-clear" 14 | } 15 | }, 16 | "filterButton": { 17 | "component": "CommandButton", 18 | "props": { 19 | "icon": "Filter", 20 | "modifier": "noLabel", 21 | "tag": "button", 22 | "customClasses": "ms-SearchBox-filter" 23 | } 24 | }, 25 | "exitButton": { 26 | "component": "CommandButton", 27 | "props": { 28 | "icon": "ChromeBack", 29 | "modifier": "noLabel", 30 | "tag": "button", 31 | "customClasses": "ms-SearchBox-exit" 32 | } 33 | } 34 | } 35 | 36 | module.exports = SearchBoxExampleProps; 37 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/SearchBox/examples/SearchBoxCommandbarExampleModel.js: -------------------------------------------------------------------------------- 1 | var SearchBoxExampleProps = { 2 | "label": "Search", 3 | "defaultValue": "", 4 | "icon": "Search", 5 | "modifier": "commandBar", 6 | "clearButton": { 7 | "component": "CommandButton", 8 | "props": { 9 | "icon": "Clear", 10 | "modifier": "noLabel", 11 | "tag": "button", 12 | "customClasses": "ms-SearchBox-clear" 13 | } 14 | }, 15 | "filterButton": { 16 | "component": "CommandButton", 17 | "props": { 18 | "icon": "Filter", 19 | "modifier": "noLabel", 20 | "tag": "button", 21 | "customClasses": "ms-SearchBox-filter" 22 | } 23 | }, 24 | "exitButton": { 25 | "component": "CommandButton", 26 | "props": { 27 | "icon": "ChromeBack", 28 | "modifier": "noLabel", 29 | "tag": "button", 30 | "customClasses": "ms-SearchBox-exit" 31 | } 32 | } 33 | } 34 | 35 | module.exports = SearchBoxExampleProps; 36 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/SearchBox/examples/SearchBoxExample.hbs: -------------------------------------------------------------------------------- 1 | {{> SearchBox props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/SearchBox/examples/SearchBoxExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/SearchBox/examples/SearchBoxExampleModel.js: -------------------------------------------------------------------------------- 1 | var SearchBoxExampleProps = { 2 | "label": "Search", 3 | "defaultValue": "", 4 | "icon": "Search", 5 | "clearButton": { 6 | "component": "CommandButton", 7 | "props": { 8 | "icon": "Clear", 9 | "modifier": "noLabel", 10 | "tag": "button", 11 | "customClasses": "ms-SearchBox-clear" 12 | } 13 | } 14 | } 15 | 16 | module.exports = SearchBoxExampleProps; 17 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Spinner props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerExampleJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerExampleModel.js: -------------------------------------------------------------------------------- 1 | var SpinnerExampleModel = { 2 | } 3 | 4 | module.exports = SpinnerExampleModel; 5 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerLargeExampleModel.js: -------------------------------------------------------------------------------- 1 | var SpinnerLargeExampleModel = { 2 | modifier: "large" 3 | } 4 | 5 | module.exports = SpinnerLargeExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerLargeWithLabelExampleModel.js: -------------------------------------------------------------------------------- 1 | var SpinnerLargeWithLabelExampleModel = { 2 | label: "Loading...", 3 | modifier: "large" 4 | } 5 | 6 | module.exports = SpinnerLargeWithLabelExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Spinner/examples/SpinnerWithLabelExampleModel.js: -------------------------------------------------------------------------------- 1 | var SpinnerWithLabelExampleModel = { 2 | label: "Loading..." 3 | } 4 | 5 | module.exports = SpinnerWithLabelExampleModel; 6 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Table/Table.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "Table", 3 | overview: "Presents tabular data with multiple rows and columns. The table's width is flexible, but it does not have any advanced responsive behaviors.
", 4 | variants: [ 5 | { 6 | name: "Default Table", 7 | templateFile: "TableExample", 8 | model: "TableExampleModel" 9 | }, 10 | { 11 | name: "Fixed Table", 12 | templateFile: "TableExample", 13 | model: "TableFixedExampleModel" 14 | }, 15 | { 16 | name: "Selectable Table", 17 | templateFile: "TableExample", 18 | model: "TableSelectableExampleModel" 19 | } 20 | ], 21 | jsFile: "TableExampleJS" 22 | } 23 | 24 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Table/examples/TableExample.hbs: -------------------------------------------------------------------------------- 1 | {{> Table props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Table/examples/TableExampleJS.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/TextField.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "TextField", 3 | overview: `The TextField component enables a user to type text into an app. It's typically used to capture a single line of text, but can be configured to capture multiple lines of text. The text displays on the screen in a simple, uniform format.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default TextField", 8 | templateFile: "TextFieldExample", 9 | model: "TextFieldExampleModel" 10 | }, 11 | { 12 | name: "Multiline TextField", 13 | templateFile: "TextFieldExample", 14 | model: "TextFieldMultilineExampleModel" 15 | }, 16 | { 17 | name: "Placeholder TextField", 18 | templateFile: "TextFieldExample", 19 | model: "TextFieldPlaceholderExampleModel" 20 | }, 21 | { 22 | name: "Underlined TextField", 23 | templateFile: "TextFieldExample", 24 | model: "TextFieldUnderlinedExampleModel" 25 | }, 26 | { 27 | name: "Disabled TextField", 28 | templateFile: "TextFieldExample", 29 | model: "TextFieldDisabledExampleModel" 30 | } 31 | ], 32 | states: [ 33 | { 34 | name: ".is-disabled", 35 | applied: ".ms-TextField", 36 | result: "Disables user input on TextField" 37 | } 38 | ], 39 | jsFile: "TextFieldExampleJS" 40 | } 41 | 42 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldDisabledExampleModel.js: -------------------------------------------------------------------------------- 1 | var TextFieldDisabledExampleModel = { 2 | "label": "Name", 3 | "textfield": true, 4 | "disabled": true 5 | } 6 | 7 | module.exports = TextFieldDisabledExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldExample.hbs: -------------------------------------------------------------------------------- 1 | {{> TextField props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldExampleJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldExampleModel.js: -------------------------------------------------------------------------------- 1 | var TextFieldExampleModel = { 2 | "label": "Name", 3 | "textfield": true 4 | } 5 | 6 | module.exports = TextFieldExampleModel; 7 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldMultilineExampleModel.js: -------------------------------------------------------------------------------- 1 | var TextFieldMultilineExampleModel = { 2 | "modifier": "multiline", 3 | "label": "Name", 4 | "multiline": true 5 | } 6 | 7 | module.exports = TextFieldMultilineExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldPlaceholderExampleModel.js: -------------------------------------------------------------------------------- 1 | var TextFieldPlaceholderExampleModel = { 2 | "label": "Given name", 3 | "textfield": true, 4 | "modifier": "placeholder" 5 | } 6 | 7 | module.exports = TextFieldPlaceholderExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/TextField/examples/TextFieldUnderlinedExampleModel.js: -------------------------------------------------------------------------------- 1 | var TextFieldUnderlinedExampleModel = { 2 | "label": "Name", 3 | "textfield": true, 4 | "modifier": "underlined" 5 | } 6 | 7 | module.exports = TextFieldUnderlinedExampleModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/Toggle.js: -------------------------------------------------------------------------------- 1 | var data = { 2 | componentName: "Toggle", 3 | overview: `Toggles represent a physical switch that allows users to turn things on or off. Use Toggles to present users with two mutually exclusive options (like on/off), where choosing an option results in an immediate action. Use a Toggle for binary operations that take effect right after the user flips the Toggle. For example, use a Toggle to turn services or hardware components on or off. In other words, if a physical switch would work for the action, a Toggle is probably the best control to use.
`, 4 | availableReact: true, 5 | variants: [ 6 | { 7 | name: "Default Toggle", 8 | templateFile: "ToggleElem", 9 | model: "ToggleBasicModel" 10 | }, 11 | { 12 | name: "Disabled Toggle", 13 | templateFile: "ToggleElem", 14 | model: "ToggleDisabledModel" 15 | }, 16 | { 17 | name: "Text Left Toggle", 18 | templateFile: "ToggleElem", 19 | model: "ToggleTextLeftModel" 20 | } 21 | ], 22 | jsFile: "ToggleJS" 23 | } 24 | 25 | module.exports = data; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/examples/ToggleBasicModel.js: -------------------------------------------------------------------------------- 1 | var ToggleModelBasic = { 2 | "description": "Let apps use my location", 3 | "onText": "On", 4 | "offText": "Off", 5 | "demoID": "demo-toggle-3" 6 | } 7 | 8 | module.exports = ToggleModelBasic; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/examples/ToggleDisabledModel.js: -------------------------------------------------------------------------------- 1 | var ToggleDisabledModel = { 2 | "description": "Let apps use my location", 3 | "onText": "On", 4 | "offText": "Off", 5 | "demoID": "demo-toggle-2", 6 | "disabled": true 7 | } 8 | 9 | module.exports = ToggleDisabledModel; -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/examples/ToggleElem.hbs: -------------------------------------------------------------------------------- 1 | {{> Toggle props=props}} -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/examples/ToggleJS.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/documentation/pages/Components/Toggle/examples/ToggleTextLeftModel.js: -------------------------------------------------------------------------------- 1 | var ToggleTextLeftModel = { 2 | "modifier": "textLeft", 3 | "description": "Let apps use my location", 4 | "onText": "On", 5 | "offText": "Off", 6 | "demoID": "demo-toggle-1" 7 | } 8 | 9 | module.exports = ToggleTextLeftModel; -------------------------------------------------------------------------------- /src/documentation/pages/HomePage/HomePage.hbs: -------------------------------------------------------------------------------- 1 |Fabric JS provides you with simple components that don't require a framework. It's open source, easy to extend, and ready for you to add what makes your project unique.
12 |Fabric JS works great with Add-ins and is the recommended front-end toolkit for making your next Office Add-in.
13 | See components 14 |
4 | {{{outputCode code language}}}
5 |
6 |