@fluentui/web-components 3.0.0-alpha.3 → 3.0.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +254 -2
- package/README.md +4 -0
- package/dist/dts/accordion/accordion.d.ts +7 -0
- package/dist/dts/accordion/accordion.definition.d.ts +11 -0
- package/dist/dts/accordion/accordion.styles.d.ts +1 -0
- package/dist/dts/accordion/accordion.template.d.ts +3 -0
- package/dist/dts/accordion/define.d.ts +1 -0
- package/dist/dts/accordion/index.d.ts +4 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +33 -0
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +11 -0
- package/dist/dts/accordion-item/accordion-item.options.d.ts +27 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts +1 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts +7 -0
- package/dist/dts/accordion-item/define.d.ts +1 -0
- package/dist/dts/accordion-item/index.d.ts +5 -0
- package/dist/dts/anchor-button/anchor-button.d.ts +64 -0
- package/dist/dts/anchor-button/anchor-button.definition.d.ts +10 -0
- package/dist/dts/anchor-button/anchor-button.options.d.ts +47 -0
- package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
- package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -0
- package/dist/dts/anchor-button/define.d.ts +1 -0
- package/dist/dts/anchor-button/index.d.ts +4 -0
- package/dist/dts/avatar/avatar.d.ts +97 -0
- package/dist/dts/avatar/avatar.definition.d.ts +9 -0
- package/dist/dts/avatar/avatar.options.d.ts +142 -0
- package/dist/dts/avatar/avatar.styles.d.ts +4 -0
- package/dist/dts/avatar/avatar.template.d.ts +8 -0
- package/dist/dts/avatar/define.d.ts +1 -0
- package/dist/dts/avatar/index.d.ts +5 -0
- package/dist/dts/badge/badge.d.ts +3 -3
- package/dist/dts/badge/badge.options.d.ts +2 -1
- package/dist/dts/button/button.d.ts +55 -0
- package/dist/dts/button/button.definition.d.ts +10 -0
- package/dist/dts/button/button.options.d.ts +47 -0
- package/dist/dts/button/button.styles.d.ts +1 -0
- package/dist/dts/button/button.template.d.ts +7 -0
- package/dist/dts/button/define.d.ts +1 -0
- package/dist/dts/button/index.d.ts +5 -0
- package/dist/dts/checkbox/checkbox.d.ts +35 -0
- package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
- package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
- package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
- package/dist/dts/checkbox/checkbox.template.d.ts +7 -0
- package/dist/dts/checkbox/define.d.ts +1 -0
- package/dist/dts/checkbox/index.d.ts +5 -0
- package/dist/dts/compound-button/compound-button.d.ts +7 -0
- package/dist/dts/compound-button/compound-button.definition.d.ts +10 -0
- package/dist/dts/compound-button/compound-button.options.d.ts +51 -0
- package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
- package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
- package/dist/dts/compound-button/define.d.ts +1 -0
- package/dist/dts/compound-button/index.d.ts +5 -0
- package/dist/dts/counter-badge/counter-badge.d.ts +5 -5
- package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
- package/dist/dts/divider/define.d.ts +1 -0
- package/dist/dts/divider/divider.d.ts +31 -0
- package/dist/dts/divider/divider.definition.d.ts +9 -0
- package/dist/dts/divider/divider.options.d.ts +41 -0
- package/dist/dts/divider/divider.styles.d.ts +4 -0
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -0
- package/dist/dts/helpers.tests.d.ts +8 -0
- package/dist/dts/image/define.d.ts +1 -0
- package/dist/dts/image/image.d.ts +48 -0
- package/dist/dts/image/image.definition.d.ts +9 -0
- package/dist/dts/image/image.options.d.ts +27 -0
- package/dist/dts/image/image.styles.d.ts +5 -0
- package/dist/dts/image/image.template.d.ts +7 -0
- package/dist/dts/image/index.d.ts +5 -0
- package/dist/dts/index.d.ts +23 -0
- package/dist/dts/label/define.d.ts +1 -0
- package/dist/dts/label/index.d.ts +4 -0
- package/dist/dts/label/label.d.ts +42 -0
- package/dist/dts/label/label.definition.d.ts +10 -0
- package/dist/dts/label/label.options.d.ts +26 -0
- package/dist/dts/label/label.styles.d.ts +4 -0
- package/dist/dts/label/label.template.d.ts +8 -0
- package/dist/dts/menu-button/define.d.ts +1 -0
- package/dist/dts/menu-button/index.d.ts +5 -0
- package/dist/dts/menu-button/menu-button.d.ts +7 -0
- package/dist/dts/menu-button/menu-button.definition.d.ts +10 -0
- package/dist/dts/menu-button/menu-button.options.d.ts +47 -0
- package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
- package/dist/dts/menu-item/define.d.ts +1 -0
- package/dist/dts/menu-item/index.d.ts +4 -0
- package/dist/dts/menu-item/menu-item.d.ts +9 -0
- package/dist/dts/menu-item/menu-item.definition.d.ts +11 -0
- package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
- package/dist/dts/menu-item/menu-item.template.d.ts +3 -0
- package/dist/dts/menu-list/define.d.ts +1 -0
- package/dist/dts/menu-list/index.d.ts +4 -0
- package/dist/dts/menu-list/menu-list.d.ts +9 -0
- package/dist/dts/menu-list/menu-list.definition.d.ts +11 -0
- package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
- package/dist/dts/menu-list/menu-list.template.d.ts +3 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +3 -3
- package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -1
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
- package/dist/dts/radio/define.d.ts +1 -0
- package/dist/dts/radio/index.d.ts +4 -0
- package/dist/dts/radio/radio.d.ts +7 -0
- package/dist/dts/radio/radio.definition.d.ts +10 -0
- package/dist/dts/radio/radio.styles.d.ts +4 -0
- package/dist/dts/radio/radio.template.d.ts +3 -0
- package/dist/dts/radio-group/define.d.ts +1 -0
- package/dist/dts/radio-group/index.d.ts +5 -0
- package/dist/dts/radio-group/radio-group.d.ts +15 -0
- package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
- package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
- package/dist/dts/radio-group/radio-group.template.d.ts +3 -0
- package/dist/dts/slider/define.d.ts +1 -0
- package/dist/dts/slider/index.d.ts +5 -0
- package/dist/dts/slider/slider.d.ts +24 -0
- package/dist/dts/slider/slider.definition.d.ts +10 -0
- package/dist/dts/slider/slider.options.d.ts +15 -0
- package/dist/dts/slider/slider.styles.d.ts +4 -0
- package/dist/dts/slider/slider.template.d.ts +3 -0
- package/dist/dts/spinner/spinner.d.ts +3 -3
- package/dist/dts/spinner/spinner.options.d.ts +1 -1
- package/dist/dts/switch/define.d.ts +1 -0
- package/dist/dts/switch/index.d.ts +5 -0
- package/dist/dts/switch/switch.d.ts +13 -0
- package/dist/dts/switch/switch.definition.d.ts +9 -0
- package/dist/dts/switch/switch.options.d.ts +15 -0
- package/dist/dts/switch/switch.styles.d.ts +1 -0
- package/dist/dts/switch/switch.template.d.ts +3 -0
- package/dist/dts/tab/define.d.ts +1 -0
- package/dist/dts/tab/index.d.ts +4 -0
- package/dist/dts/tab/tab.d.ts +8 -0
- package/dist/dts/tab/tab.definition.d.ts +2 -0
- package/dist/dts/tab/tab.styles.d.ts +1 -0
- package/dist/dts/tab/tab.template.d.ts +4 -0
- package/dist/dts/tab-panel/define.d.ts +1 -0
- package/dist/dts/tab-panel/index.d.ts +4 -0
- package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
- package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
- package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
- package/dist/dts/tab-panel/tab-panel.template.d.ts +1 -0
- package/dist/dts/tabs/define.d.ts +1 -0
- package/dist/dts/tabs/index.d.ts +5 -0
- package/dist/dts/tabs/tabs.d.ts +88 -0
- package/dist/dts/tabs/tabs.definition.d.ts +2 -0
- package/dist/dts/tabs/tabs.options.d.ts +14 -0
- package/dist/dts/tabs/tabs.styles.d.ts +1 -0
- package/dist/dts/tabs/tabs.template.d.ts +1 -0
- package/dist/dts/text/text.d.ts +4 -4
- package/dist/dts/text/text.options.d.ts +1 -1
- package/dist/dts/text-input/define.d.ts +1 -0
- package/dist/dts/text-input/index.d.ts +6 -0
- package/dist/dts/text-input/text-input.d.ts +26 -0
- package/dist/dts/text-input/text-input.definition.d.ts +10 -0
- package/dist/dts/text-input/text-input.options.d.ts +30 -0
- package/dist/dts/text-input/text-input.styles.d.ts +4 -0
- package/dist/dts/text-input/text-input.template.d.ts +6 -0
- package/dist/dts/theme/design-tokens.d.ts +384 -379
- package/dist/dts/theme/index.d.ts +1 -1
- package/dist/dts/theme/set-theme.d.ts +2 -0
- package/dist/dts/toggle-button/define.d.ts +1 -0
- package/dist/dts/toggle-button/index.d.ts +5 -0
- package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
- package/dist/dts/toggle-button/toggle-button.definition.d.ts +10 -0
- package/dist/dts/toggle-button/toggle-button.options.d.ts +47 -0
- package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
- package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
- package/dist/dts/utils/apply-mixins.d.ts +11 -0
- package/dist/dts/utils/get-initials.d.ts +18 -0
- package/dist/esm/accordion/accordion.definition.js +19 -0
- package/dist/esm/accordion/accordion.definition.js.map +1 -0
- package/dist/esm/accordion/accordion.js +8 -0
- package/dist/esm/accordion/accordion.js.map +1 -0
- package/dist/esm/accordion/accordion.styles.js +12 -0
- package/dist/esm/accordion/accordion.styles.js.map +1 -0
- package/dist/esm/accordion/accordion.template.js +3 -0
- package/dist/esm/accordion/accordion.template.js.map +1 -0
- package/dist/esm/accordion/define.js +4 -0
- package/dist/esm/accordion/define.js.map +1 -0
- package/dist/esm/accordion/index.js +5 -0
- package/dist/esm/accordion/index.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.js +19 -0
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +34 -0
- package/dist/esm/accordion-item/accordion-item.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.options.js +17 -0
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +198 -0
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.template.js +37 -0
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -0
- package/dist/esm/accordion-item/define.js +4 -0
- package/dist/esm/accordion-item/define.js.map +1 -0
- package/dist/esm/accordion-item/index.js +6 -0
- package/dist/esm/accordion-item/index.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.definition.js +21 -0
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.js +93 -0
- package/dist/esm/anchor-button/anchor-button.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.options.js +17 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.template.js +7 -0
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
- package/dist/esm/anchor-button/define.js +4 -0
- package/dist/esm/anchor-button/define.js.map +1 -0
- package/dist/esm/anchor-button/index.js +5 -0
- package/dist/esm/anchor-button/index.js.map +1 -0
- package/dist/esm/avatar/avatar.definition.js +17 -0
- package/dist/esm/avatar/avatar.definition.js.map +1 -0
- package/dist/esm/avatar/avatar.js +92 -0
- package/dist/esm/avatar/avatar.js.map +1 -0
- package/dist/esm/avatar/avatar.options.js +87 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.js +477 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -0
- package/dist/esm/avatar/avatar.template.js +28 -0
- package/dist/esm/avatar/avatar.template.js.map +1 -0
- package/dist/esm/avatar/define.js +4 -0
- package/dist/esm/avatar/define.js.map +1 -0
- package/dist/esm/avatar/index.js +6 -0
- package/dist/esm/avatar/index.js.map +1 -0
- package/dist/esm/badge/badge.definition.js +1 -0
- package/dist/esm/badge/badge.definition.js.map +1 -0
- package/dist/esm/badge/badge.js +4 -1
- package/dist/esm/badge/badge.js.map +1 -0
- package/dist/esm/badge/badge.options.js +1 -0
- package/dist/esm/badge/badge.options.js.map +1 -0
- package/dist/esm/badge/badge.styles.js +1 -0
- package/dist/esm/badge/badge.styles.js.map +1 -0
- package/dist/esm/badge/badge.template.js +3 -1
- package/dist/esm/badge/badge.template.js.map +1 -0
- package/dist/esm/badge/define.js +1 -0
- package/dist/esm/badge/define.js.map +1 -0
- package/dist/esm/badge/index.js +1 -0
- package/dist/esm/badge/index.js.map +1 -0
- package/dist/esm/button/button.definition.js +21 -0
- package/dist/esm/button/button.definition.js.map +1 -0
- package/dist/esm/button/button.js +72 -0
- package/dist/esm/button/button.js.map +1 -0
- package/dist/esm/button/button.options.js +30 -0
- package/dist/esm/button/button.options.js.map +1 -0
- package/dist/esm/button/button.styles.js +260 -0
- package/dist/esm/button/button.styles.js.map +1 -0
- package/dist/esm/button/button.template.js +7 -0
- package/dist/esm/button/button.template.js.map +1 -0
- package/dist/esm/button/define.js +4 -0
- package/dist/esm/button/define.js.map +1 -0
- package/dist/esm/button/index.js +6 -0
- package/dist/esm/button/index.js.map +1 -0
- package/dist/esm/checkbox/checkbox.definition.js +17 -0
- package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
- package/dist/esm/checkbox/checkbox.js +24 -0
- package/dist/esm/checkbox/checkbox.js.map +1 -0
- package/dist/esm/checkbox/checkbox.options.js +25 -0
- package/dist/esm/checkbox/checkbox.options.js.map +1 -0
- package/dist/esm/checkbox/checkbox.styles.js +164 -0
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
- package/dist/esm/checkbox/checkbox.template.js +27 -0
- package/dist/esm/checkbox/checkbox.template.js.map +1 -0
- package/dist/esm/checkbox/define.js +4 -0
- package/dist/esm/checkbox/define.js.map +1 -0
- package/dist/esm/checkbox/index.js +6 -0
- package/dist/esm/checkbox/index.js.map +1 -0
- package/dist/esm/compound-button/compound-button.definition.js +21 -0
- package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
- package/dist/esm/compound-button/compound-button.js +8 -0
- package/dist/esm/compound-button/compound-button.js.map +1 -0
- package/dist/esm/compound-button/compound-button.options.js +17 -0
- package/dist/esm/compound-button/compound-button.options.js.map +1 -0
- package/dist/esm/compound-button/compound-button.styles.js +105 -0
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
- package/dist/esm/compound-button/compound-button.template.js +60 -0
- package/dist/esm/compound-button/compound-button.template.js.map +1 -0
- package/dist/esm/compound-button/define.js +4 -0
- package/dist/esm/compound-button/define.js.map +1 -0
- package/dist/esm/compound-button/index.js +6 -0
- package/dist/esm/compound-button/index.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.js +4 -1
- package/dist/esm/counter-badge/counter-badge.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
- package/dist/esm/counter-badge/define.js +1 -0
- package/dist/esm/counter-badge/define.js.map +1 -0
- package/dist/esm/counter-badge/index.js +1 -0
- package/dist/esm/counter-badge/index.js.map +1 -0
- package/dist/esm/divider/define.js +4 -0
- package/dist/esm/divider/define.js.map +1 -0
- package/dist/esm/divider/divider.definition.js +17 -0
- package/dist/esm/divider/divider.definition.js.map +1 -0
- package/dist/esm/divider/divider.js +21 -0
- package/dist/esm/divider/divider.js.map +1 -0
- package/dist/esm/divider/divider.options.js +31 -0
- package/dist/esm/divider/divider.options.js.map +1 -0
- package/dist/esm/divider/divider.styles.js +127 -0
- package/dist/esm/divider/divider.styles.js.map +1 -0
- package/dist/esm/divider/divider.template.js +7 -0
- package/dist/esm/divider/divider.template.js.map +1 -0
- package/dist/esm/divider/index.js +6 -0
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/fluent-design-system.js +1 -0
- package/dist/esm/fluent-design-system.js.map +1 -0
- package/dist/esm/helpers.tests.js +29 -0
- package/dist/esm/helpers.tests.js.map +1 -0
- package/dist/esm/image/define.js +4 -0
- package/dist/esm/image/define.js.map +1 -0
- package/dist/esm/image/image.definition.js +17 -0
- package/dist/esm/image/image.definition.js.map +1 -0
- package/dist/esm/image/image.js +24 -0
- package/dist/esm/image/image.js.map +1 -0
- package/dist/esm/image/image.options.js +21 -0
- package/dist/esm/image/image.options.js.map +1 -0
- package/dist/esm/image/image.styles.js +59 -0
- package/dist/esm/image/image.styles.js.map +1 -0
- package/dist/esm/image/image.template.js +7 -0
- package/dist/esm/image/image.template.js.map +1 -0
- package/dist/esm/image/index.js +6 -0
- package/dist/esm/image/index.js.map +1 -0
- package/dist/esm/index-rollup.js +1 -0
- package/dist/esm/index-rollup.js.map +1 -0
- package/dist/esm/index.js +24 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/label/define.js +4 -0
- package/dist/esm/label/define.js.map +1 -0
- package/dist/esm/label/index.js +5 -0
- package/dist/esm/label/index.js.map +1 -0
- package/dist/esm/label/label.definition.js +18 -0
- package/dist/esm/label/label.definition.js.map +1 -0
- package/dist/esm/label/label.js +40 -0
- package/dist/esm/label/label.js.map +1 -0
- package/dist/esm/label/label.options.js +16 -0
- package/dist/esm/label/label.options.js.map +1 -0
- package/dist/esm/label/label.styles.js +38 -0
- package/dist/esm/label/label.styles.js.map +1 -0
- package/dist/esm/label/label.template.js +13 -0
- package/dist/esm/label/label.template.js.map +1 -0
- package/dist/esm/menu-button/define.js +4 -0
- package/dist/esm/menu-button/define.js.map +1 -0
- package/dist/esm/menu-button/index.js +6 -0
- package/dist/esm/menu-button/index.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.js +21 -0
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
- package/dist/esm/menu-button/menu-button.js +8 -0
- package/dist/esm/menu-button/menu-button.js.map +1 -0
- package/dist/esm/menu-button/menu-button.options.js +17 -0
- package/dist/esm/menu-button/menu-button.options.js.map +1 -0
- package/dist/esm/menu-button/menu-button.template.js +10 -0
- package/dist/esm/menu-button/menu-button.template.js.map +1 -0
- package/dist/esm/menu-item/define.js +4 -0
- package/dist/esm/menu-item/define.js.map +1 -0
- package/dist/esm/menu-item/index.js +5 -0
- package/dist/esm/menu-item/index.js.map +1 -0
- package/dist/esm/menu-item/menu-item.definition.js +19 -0
- package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
- package/dist/esm/menu-item/menu-item.js +9 -0
- package/dist/esm/menu-item/menu-item.js.map +1 -0
- package/dist/esm/menu-item/menu-item.styles.js +183 -0
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
- package/dist/esm/menu-item/menu-item.template.js +10 -0
- package/dist/esm/menu-item/menu-item.template.js.map +1 -0
- package/dist/esm/menu-list/define.js +4 -0
- package/dist/esm/menu-list/define.js.map +1 -0
- package/dist/esm/menu-list/index.js +5 -0
- package/dist/esm/menu-list/index.js.map +1 -0
- package/dist/esm/menu-list/menu-list.definition.js +19 -0
- package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
- package/dist/esm/menu-list/menu-list.js +36 -0
- package/dist/esm/menu-list/menu-list.js.map +1 -0
- package/dist/esm/menu-list/menu-list.styles.js +24 -0
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
- package/dist/esm/menu-list/menu-list.template.js +3 -0
- package/dist/esm/menu-list/menu-list.template.js.map +1 -0
- package/dist/esm/progress-bar/define.js +1 -0
- package/dist/esm/progress-bar/define.js.map +1 -0
- package/dist/esm/progress-bar/index.js +1 -0
- package/dist/esm/progress-bar/index.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +18 -2
- package/dist/esm/progress-bar/progress-bar.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +21 -3
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js +2 -1
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
- package/dist/esm/radio/define.js +4 -0
- package/dist/esm/radio/define.js.map +1 -0
- package/dist/esm/radio/index.js +5 -0
- package/dist/esm/radio/index.js.map +1 -0
- package/dist/esm/radio/radio.definition.js +18 -0
- package/dist/esm/radio/radio.definition.js.map +1 -0
- package/dist/esm/radio/radio.js +8 -0
- package/dist/esm/radio/radio.js.map +1 -0
- package/dist/esm/radio/radio.styles.js +118 -0
- package/dist/esm/radio/radio.styles.js.map +1 -0
- package/dist/esm/radio/radio.template.js +6 -0
- package/dist/esm/radio/radio.template.js.map +1 -0
- package/dist/esm/radio-group/define.js +4 -0
- package/dist/esm/radio-group/define.js.map +1 -0
- package/dist/esm/radio-group/index.js +6 -0
- package/dist/esm/radio-group/index.js.map +1 -0
- package/dist/esm/radio-group/radio-group.definition.js +18 -0
- package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
- package/dist/esm/radio-group/radio-group.js +24 -0
- package/dist/esm/radio-group/radio-group.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.js +52 -0
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
- package/dist/esm/radio-group/radio-group.template.js +3 -0
- package/dist/esm/radio-group/radio-group.template.js.map +1 -0
- package/dist/esm/slider/define.js +4 -0
- package/dist/esm/slider/define.js.map +1 -0
- package/dist/esm/slider/index.js +6 -0
- package/dist/esm/slider/index.js.map +1 -0
- package/dist/esm/slider/slider.definition.js +18 -0
- package/dist/esm/slider/slider.definition.js.map +1 -0
- package/dist/esm/slider/slider.js +64 -0
- package/dist/esm/slider/slider.js.map +1 -0
- package/dist/esm/slider/slider.options.js +10 -0
- package/dist/esm/slider/slider.options.js.map +1 -0
- package/dist/esm/slider/slider.styles.js +203 -0
- package/dist/esm/slider/slider.styles.js.map +1 -0
- package/dist/esm/slider/slider.template.js +5 -0
- package/dist/esm/slider/slider.template.js.map +1 -0
- package/dist/esm/spinner/define.js +1 -0
- package/dist/esm/spinner/define.js.map +1 -0
- package/dist/esm/spinner/index.js +1 -0
- package/dist/esm/spinner/index.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +1 -0
- package/dist/esm/spinner/spinner.definition.js.map +1 -0
- package/dist/esm/spinner/spinner.js +8 -2
- package/dist/esm/spinner/spinner.js.map +1 -0
- package/dist/esm/spinner/spinner.options.js +1 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.js +3 -1
- package/dist/esm/spinner/spinner.styles.js.map +1 -0
- package/dist/esm/spinner/spinner.template.js +2 -1
- package/dist/esm/spinner/spinner.template.js.map +1 -0
- package/dist/esm/styles/index.js +1 -0
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/partials/badge.partials.js +6 -4
- package/dist/esm/styles/partials/badge.partials.js.map +1 -0
- package/dist/esm/styles/partials/index.js +1 -0
- package/dist/esm/styles/partials/index.js.map +1 -0
- package/dist/esm/switch/define.js +4 -0
- package/dist/esm/switch/define.js.map +1 -0
- package/dist/esm/switch/index.js +6 -0
- package/dist/esm/switch/index.js.map +1 -0
- package/dist/esm/switch/switch.definition.js +17 -0
- package/dist/esm/switch/switch.definition.js.map +1 -0
- package/dist/esm/switch/switch.js +14 -0
- package/dist/esm/switch/switch.js.map +1 -0
- package/dist/esm/switch/switch.options.js +10 -0
- package/dist/esm/switch/switch.options.js.map +1 -0
- package/dist/esm/switch/switch.styles.js +141 -0
- package/dist/esm/switch/switch.styles.js.map +1 -0
- package/dist/esm/switch/switch.template.js +5 -0
- package/dist/esm/switch/switch.template.js.map +1 -0
- package/dist/esm/tab/define.js +4 -0
- package/dist/esm/tab/define.js.map +1 -0
- package/dist/esm/tab/index.js +5 -0
- package/dist/esm/tab/index.js.map +1 -0
- package/dist/esm/tab/tab.definition.js +10 -0
- package/dist/esm/tab/tab.definition.js.map +1 -0
- package/dist/esm/tab/tab.js +20 -0
- package/dist/esm/tab/tab.js.map +1 -0
- package/dist/esm/tab/tab.styles.js +98 -0
- package/dist/esm/tab/tab.styles.js.map +1 -0
- package/dist/esm/tab/tab.template.js +13 -0
- package/dist/esm/tab/tab.template.js.map +1 -0
- package/dist/esm/tab-panel/define.js +4 -0
- package/dist/esm/tab-panel/define.js.map +1 -0
- package/dist/esm/tab-panel/index.js +5 -0
- package/dist/esm/tab-panel/index.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
- package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.js +4 -0
- package/dist/esm/tab-panel/tab-panel.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.template.js +3 -0
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
- package/dist/esm/tabs/define.js +4 -0
- package/dist/esm/tabs/define.js.map +1 -0
- package/dist/esm/tabs/index.js +6 -0
- package/dist/esm/tabs/index.js.map +1 -0
- package/dist/esm/tabs/tabs.definition.js +10 -0
- package/dist/esm/tabs/tabs.definition.js.map +1 -0
- package/dist/esm/tabs/tabs.js +158 -0
- package/dist/esm/tabs/tabs.js.map +1 -0
- package/dist/esm/tabs/tabs.options.js +12 -0
- package/dist/esm/tabs/tabs.options.js.map +1 -0
- package/dist/esm/tabs/tabs.styles.js +230 -0
- package/dist/esm/tabs/tabs.styles.js.map +1 -0
- package/dist/esm/tabs/tabs.template.js +3 -0
- package/dist/esm/tabs/tabs.template.js.map +1 -0
- package/dist/esm/text/define.js +1 -0
- package/dist/esm/text/define.js.map +1 -0
- package/dist/esm/text/index.js +1 -0
- package/dist/esm/text/index.js.map +1 -0
- package/dist/esm/text/text.definition.js +1 -0
- package/dist/esm/text/text.definition.js.map +1 -0
- package/dist/esm/text/text.js +1 -0
- package/dist/esm/text/text.js.map +1 -0
- package/dist/esm/text/text.options.js +1 -0
- package/dist/esm/text/text.options.js.map +1 -0
- package/dist/esm/text/text.styles.js +9 -2
- package/dist/esm/text/text.styles.js.map +1 -0
- package/dist/esm/text/text.template.js +1 -0
- package/dist/esm/text/text.template.js.map +1 -0
- package/dist/esm/text-input/define.js +4 -0
- package/dist/esm/text-input/define.js.map +1 -0
- package/dist/esm/text-input/index.js +7 -0
- package/dist/esm/text-input/index.js.map +1 -0
- package/dist/esm/text-input/text-input.definition.js +18 -0
- package/dist/esm/text-input/text-input.definition.js.map +1 -0
- package/dist/esm/text-input/text-input.js +16 -0
- package/dist/esm/text-input/text-input.js.map +1 -0
- package/dist/esm/text-input/text-input.options.js +20 -0
- package/dist/esm/text-input/text-input.options.js.map +1 -0
- package/dist/esm/text-input/text-input.styles.js +200 -0
- package/dist/esm/text-input/text-input.styles.js.map +1 -0
- package/dist/esm/text-input/text-input.template.js +6 -0
- package/dist/esm/text-input/text-input.template.js.map +1 -0
- package/dist/esm/theme/design-tokens.js +7 -1
- package/dist/esm/theme/design-tokens.js.map +1 -0
- package/dist/esm/theme/index.js +2 -1
- package/dist/esm/theme/index.js.map +1 -0
- package/dist/esm/theme/set-theme.js +6 -0
- package/dist/esm/theme/set-theme.js.map +1 -0
- package/dist/esm/toggle-button/define.js +4 -0
- package/dist/esm/toggle-button/define.js.map +1 -0
- package/dist/esm/toggle-button/index.js +6 -0
- package/dist/esm/toggle-button/index.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.definition.js +21 -0
- package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.js +102 -0
- package/dist/esm/toggle-button/toggle-button.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.options.js +17 -0
- package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.styles.js +94 -0
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.template.js +7 -0
- package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
- package/dist/esm/utils/apply-mixins.js +26 -0
- package/dist/esm/utils/apply-mixins.js.map +1 -0
- package/dist/esm/utils/get-initials.js +83 -0
- package/dist/esm/utils/get-initials.js.map +1 -0
- package/dist/fluent-web-components.api.json +10752 -6661
- package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +1 -0
- package/dist/storybook/108.b31ec3a1.iframe.bundle.js +1 -0
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js +2 -0
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/storybook/401.7edec720.iframe.bundle.js +2 -0
- package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +12 -0
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +2 -0
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +12 -0
- package/dist/storybook/491.77b24750.iframe.bundle.js +1 -0
- package/dist/storybook/709.22096ad4.iframe.bundle.js +2 -0
- package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
- package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
- package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
- package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js +2 -0
- package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js.LICENSE.txt +94 -0
- package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
- package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
- package/dist/storybook/885.6558041f.iframe.bundle.js +462 -0
- package/dist/storybook/885.6558041f.iframe.bundle.js.LICENSE.txt +46 -0
- package/dist/storybook/885.6558041f.iframe.bundle.js.map +1 -0
- package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +1 -0
- package/dist/storybook/954.630c5748.iframe.bundle.js +1 -0
- package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +1 -0
- package/dist/storybook/iframe.html +364 -0
- package/dist/storybook/index.html +165 -0
- package/dist/storybook/main.18c2c615e57574af12cd.manager.bundle.js +1 -0
- package/dist/storybook/main.ff3dba0d.iframe.bundle.js +1 -0
- package/dist/storybook/project.json +1 -0
- package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +1 -0
- package/dist/storybook/runtime~main.8db883e762072830487f.manager.bundle.js +1 -0
- package/dist/storybook/shell.css +83 -0
- package/{public → dist/storybook}/theme-switch.ts +1 -1
- package/dist/web-components.d.ts +2113 -387
- package/dist/web-components.js +7430 -1667
- package/dist/web-components.min.js +191 -116
- package/docs/api-report.md +929 -24
- package/package.json +136 -53
- package/playwright.config.ts +25 -0
- package/.eslintrc.json +0 -62
- package/CHANGELOG.json +0 -2787
- package/build/clean.cjs +0 -29
- package/build/transform-fragments.js +0 -29
- package/dist/dts/badge/badge.stories.d.ts +0 -12
- package/dist/dts/counter-badge/counter-badge.stories.d.ts +0 -14
- package/dist/dts/progress-bar/progress-bar.stories.d.ts +0 -9
- package/dist/dts/spinner/spinner.stories.d.ts +0 -8
- package/dist/dts/text/text.stories.d.ts +0 -8
- package/dist/dts/theme/theme.stories.d.ts +0 -5
- package/dist/esm/badge/badge.stories.js +0 -108
- package/dist/esm/counter-badge/counter-badge.stories.js +0 -102
- package/dist/esm/progress-bar/progress-bar.stories.js +0 -60
- package/dist/esm/spinner/spinner.stories.js +0 -45
- package/dist/esm/text/text.stories.js +0 -111
- package/dist/esm/theme/theme.stories.js +0 -21
- package/dist/tsdoc-metadata.json +0 -11
- package/rollup.config.js +0 -58
- package/storybook-typings.d.ts +0 -4
- /package/{public → dist/storybook}/SegoeUI-VF.ttf +0 -0
- /package/{public → dist/storybook}/favicon.ico +0 -0
- /package/{public → dist/storybook}/favicon.png +0 -0
package/dist/web-components.d.ts
CHANGED
|
@@ -1,187 +1,924 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnchorOptions as AnchorButtonOptions } from '@microsoft/fast-foundation/anchor.js';
|
|
2
|
+
import type { ButtonOptions } from '@microsoft/fast-foundation/button.js';
|
|
3
|
+
import { CSSDesignToken } from '@microsoft/fast-foundation/design-token.js';
|
|
4
|
+
import { DividerOrientation } from '@microsoft/fast-foundation/divider.js';
|
|
5
|
+
import { DividerRole } from '@microsoft/fast-foundation/divider.js';
|
|
2
6
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
3
7
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
8
|
+
import { FASTAccordion } from '@microsoft/fast-foundation/accordion.js';
|
|
9
|
+
import { FASTAccordionItem } from '@microsoft/fast-foundation/accordion-item.js';
|
|
10
|
+
import { FASTAnchor } from '@microsoft/fast-foundation/anchor.js';
|
|
11
|
+
import { FASTButton } from '@microsoft/fast-foundation/button.js';
|
|
12
|
+
import { FASTCheckbox } from '@microsoft/fast-foundation/checkbox.js';
|
|
13
|
+
import { FASTDivider } from '@microsoft/fast-foundation/divider.js';
|
|
4
14
|
import { FASTElement } from '@microsoft/fast-element';
|
|
5
15
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
16
|
+
import { FASTMenu } from '@microsoft/fast-foundation/menu.js';
|
|
17
|
+
import { FASTMenuItem } from '@microsoft/fast-foundation/menu-item.js';
|
|
18
|
+
import { FASTProgress } from '@microsoft/fast-foundation/progress.js';
|
|
19
|
+
import { FASTProgressRing } from '@microsoft/fast-foundation/progress-ring.js';
|
|
20
|
+
import { FASTRadio } from '@microsoft/fast-foundation/radio.js';
|
|
21
|
+
import { FASTRadioGroup } from '@microsoft/fast-foundation/radio-group.js';
|
|
22
|
+
import { FASTSlider } from '@microsoft/fast-foundation/slider.js';
|
|
23
|
+
import { FASTSwitch } from '@microsoft/fast-foundation/switch.js';
|
|
24
|
+
import { FASTTab } from '@microsoft/fast-foundation/tab.js';
|
|
25
|
+
import { FASTTabPanel } from '@microsoft/fast-foundation/tab-panel.js';
|
|
26
|
+
import { FASTTabs } from '@microsoft/fast-foundation/tabs.js';
|
|
27
|
+
import { FASTTextField } from '@microsoft/fast-foundation/text-field.js';
|
|
28
|
+
import { MenuItemRole } from '@microsoft/fast-foundation/menu-item.js';
|
|
29
|
+
import { RadioGroupOrientation } from '@microsoft/fast-foundation/radio-group.js';
|
|
30
|
+
import { SliderOrientation } from '@microsoft/fast-foundation/slider.js';
|
|
31
|
+
import { StartEnd } from '@microsoft/fast-foundation/patterns.js';
|
|
32
|
+
import { StartEndOptions } from '@microsoft/fast-foundation/patterns.js';
|
|
33
|
+
import type { StaticallyComposableHTML } from '@microsoft/fast-foundation/utilities.js';
|
|
34
|
+
import { TabsOrientation } from '@microsoft/fast-foundation/tabs.js';
|
|
35
|
+
import { TextFieldType as TextInputType } from '@microsoft/fast-foundation/text-field.js';
|
|
11
36
|
import type { Theme } from '@fluentui/tokens';
|
|
12
|
-
import { ValuesOf } from '@microsoft/fast-foundation';
|
|
37
|
+
import type { ValuesOf } from '@microsoft/fast-foundation/utilities.js';
|
|
13
38
|
|
|
14
39
|
/**
|
|
15
|
-
* The base class used for constructing a fluent-
|
|
40
|
+
* The base class used for constructing a fluent-accordion custom element
|
|
16
41
|
* @public
|
|
17
42
|
*/
|
|
18
|
-
export declare class
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
43
|
+
export declare class Accordion extends FASTAccordion {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion },
|
|
48
|
+
* {@link @microsoft/fast-foundation#accordionTemplate}
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
* @remarks
|
|
53
|
+
* HTML Element: \<fluent-accordion\>
|
|
54
|
+
*/
|
|
55
|
+
export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
export declare class AccordionItem extends FASTAccordionItem {
|
|
27
61
|
/**
|
|
28
|
-
*
|
|
62
|
+
* Defines accordion header font size.
|
|
29
63
|
*
|
|
30
64
|
* @public
|
|
65
|
+
* @default 'medium'
|
|
31
66
|
* @remarks
|
|
32
|
-
* HTML Attribute:
|
|
67
|
+
* HTML Attribute: size
|
|
33
68
|
*/
|
|
34
|
-
|
|
69
|
+
size?: AccordionItemSize;
|
|
35
70
|
/**
|
|
36
|
-
*
|
|
71
|
+
* Sets the width of the focus state.
|
|
37
72
|
*
|
|
38
73
|
* @public
|
|
39
74
|
* @remarks
|
|
40
|
-
* HTML Attribute:
|
|
75
|
+
* HTML Attribute: block
|
|
41
76
|
*/
|
|
42
|
-
|
|
77
|
+
block: boolean;
|
|
43
78
|
/**
|
|
44
|
-
*
|
|
79
|
+
* Sets expand and collapsed icon position.
|
|
45
80
|
*
|
|
46
81
|
* @public
|
|
82
|
+
* @default 'start'
|
|
47
83
|
* @remarks
|
|
48
|
-
* HTML Attribute:
|
|
84
|
+
* HTML Attribute: expandIconPosition
|
|
49
85
|
*/
|
|
50
|
-
|
|
86
|
+
expandIconPosition?: AccordionItemExpandIconPosition;
|
|
51
87
|
}
|
|
52
88
|
|
|
53
89
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
90
|
+
* The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem },
|
|
91
|
+
* {@link @microsoft/fast-foundation#accordionItemTemplate}
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
* @remarks
|
|
96
|
+
* HTML Element: \<fluent-accordion-item\>
|
|
58
97
|
*/
|
|
59
|
-
export declare
|
|
60
|
-
}
|
|
98
|
+
export declare const accordionItemDefinition: FASTElementDefinition<typeof AccordionItem>;
|
|
61
99
|
|
|
62
100
|
/**
|
|
63
|
-
*
|
|
101
|
+
* An Accordion Item expand/collapse icon can appear at the start or end of the accordion
|
|
102
|
+
*/
|
|
103
|
+
export declare const AccordionItemExpandIconPosition: {
|
|
104
|
+
readonly start: "start";
|
|
105
|
+
readonly end: "end";
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Applies expand/collapse icon position
|
|
64
110
|
* @public
|
|
65
111
|
*/
|
|
66
|
-
export declare
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
112
|
+
export declare type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* An Accordion Item header font size can be small, medium, large, and extra-large
|
|
116
|
+
*/
|
|
117
|
+
export declare const AccordionItemSize: {
|
|
118
|
+
readonly small: "small";
|
|
119
|
+
readonly medium: "medium";
|
|
120
|
+
readonly large: "large";
|
|
121
|
+
readonly extraLarge: "extra-large";
|
|
71
122
|
};
|
|
72
123
|
|
|
73
124
|
/**
|
|
74
|
-
*
|
|
125
|
+
* Applies font size to accordion header
|
|
75
126
|
* @public
|
|
76
127
|
*/
|
|
77
|
-
export declare type
|
|
128
|
+
export declare type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
129
|
+
|
|
130
|
+
export declare const accordionItemStyles: ElementStyles;
|
|
78
131
|
|
|
79
132
|
/**
|
|
80
|
-
*
|
|
133
|
+
* The template for the fluent-accordion component.
|
|
81
134
|
* @public
|
|
82
135
|
*/
|
|
83
|
-
export declare const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
136
|
+
export declare const accordionItemTemplate: ElementViewTemplate<AccordionItem>;
|
|
137
|
+
|
|
138
|
+
export declare const accordionStyles: ElementStyles;
|
|
139
|
+
|
|
140
|
+
export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The base class used for constructing a fluent-anchor-button custom element
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class AnchorButton extends FASTAnchor {
|
|
147
|
+
/**
|
|
148
|
+
* The appearance the anchor button should have.
|
|
149
|
+
*
|
|
150
|
+
* @public
|
|
151
|
+
* @remarks
|
|
152
|
+
* HTML Attribute: appearance
|
|
153
|
+
*/
|
|
154
|
+
appearance?: AnchorButtonAppearance | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The shape the anchor button should have.
|
|
157
|
+
*
|
|
158
|
+
* @public
|
|
159
|
+
* @remarks
|
|
160
|
+
* HTML Attribute: shape
|
|
161
|
+
*/
|
|
162
|
+
shape?: AnchorButtonShape | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* The size the anchor button should have.
|
|
165
|
+
*
|
|
166
|
+
* @public
|
|
167
|
+
* @remarks
|
|
168
|
+
* HTML Attribute: size
|
|
169
|
+
*/
|
|
170
|
+
size?: AnchorButtonSize;
|
|
171
|
+
/**
|
|
172
|
+
* The anchor button has an icon only, no text content
|
|
173
|
+
*
|
|
174
|
+
* @public
|
|
175
|
+
* @remarks
|
|
176
|
+
* HTML Attribute: icon-only
|
|
177
|
+
*/
|
|
178
|
+
iconOnly: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* The anchor button is disabled
|
|
181
|
+
*
|
|
182
|
+
* @public
|
|
183
|
+
* @remarks
|
|
184
|
+
* HTML Attribute: disabled-focusable
|
|
185
|
+
*/
|
|
186
|
+
disabled?: boolean;
|
|
187
|
+
protected disabledChanged(prev: boolean, next: boolean): void;
|
|
188
|
+
/**
|
|
189
|
+
* The anchor button is disabled but focusable
|
|
190
|
+
*
|
|
191
|
+
* @public
|
|
192
|
+
* @remarks
|
|
193
|
+
* HTML Attribute: disabled-focusable
|
|
194
|
+
*/
|
|
195
|
+
disabledFocusable?: boolean;
|
|
196
|
+
protected disabledFocusableChanged(prev: boolean, next: boolean): void;
|
|
197
|
+
/**
|
|
198
|
+
* Prevents disabledFocusable click events
|
|
199
|
+
*/
|
|
200
|
+
private handleDisabledFocusableClick;
|
|
201
|
+
connectedCallback(): void;
|
|
202
|
+
disconnectedCallback(): void;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Anchor Button Appearance constants
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export declare const AnchorButtonAppearance: {
|
|
210
|
+
readonly primary: "primary";
|
|
211
|
+
readonly outline: "outline";
|
|
89
212
|
readonly subtle: "subtle";
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
213
|
+
readonly secondary: "secondary";
|
|
214
|
+
readonly transparent: "transparent";
|
|
92
215
|
};
|
|
93
216
|
|
|
94
217
|
/**
|
|
95
|
-
*
|
|
218
|
+
* An Anchor Button can be secondary, primary, outline, subtle, transparent
|
|
96
219
|
* @public
|
|
97
220
|
*/
|
|
98
|
-
export declare type
|
|
221
|
+
export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
|
|
99
222
|
|
|
100
223
|
/**
|
|
101
|
-
* The Fluent
|
|
102
|
-
* {@link @microsoft/fast-foundation#
|
|
103
|
-
*
|
|
224
|
+
* The Fluent Anchor Button Element. Implements {@link @microsoft/fast-foundation#Anchor },
|
|
225
|
+
* {@link @microsoft/fast-foundation#anchorTemplate}
|
|
104
226
|
*
|
|
105
227
|
* @public
|
|
106
228
|
* @remarks
|
|
107
|
-
* HTML Element: \<fluent-
|
|
229
|
+
* HTML Element: \<fluent-anchor-button\>
|
|
108
230
|
*/
|
|
109
|
-
export declare const
|
|
231
|
+
export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
|
|
110
232
|
|
|
111
|
-
|
|
112
|
-
* @internal - marking as internal update when Badge PR for start/end is in
|
|
113
|
-
*/
|
|
114
|
-
export declare type BadgeOptions = StartEndOptions<Badge> & {
|
|
115
|
-
defaultContent?: StaticallyComposableHTML;
|
|
116
|
-
};
|
|
233
|
+
export { AnchorButtonOptions }
|
|
117
234
|
|
|
118
235
|
/**
|
|
119
|
-
*
|
|
236
|
+
* An Anchor Button can be square, circular or rounded.
|
|
120
237
|
* @public
|
|
121
238
|
*/
|
|
122
|
-
export declare const
|
|
239
|
+
export declare const AnchorButtonShape: {
|
|
123
240
|
readonly circular: "circular";
|
|
124
241
|
readonly rounded: "rounded";
|
|
125
242
|
readonly square: "square";
|
|
126
243
|
};
|
|
127
244
|
|
|
128
245
|
/**
|
|
129
|
-
*
|
|
246
|
+
* An Anchor Button can be square, circular or rounded
|
|
130
247
|
* @public
|
|
131
248
|
*/
|
|
132
|
-
export declare type
|
|
249
|
+
export declare type AnchorButtonShape = ValuesOf<typeof AnchorButtonShape>;
|
|
133
250
|
|
|
134
251
|
/**
|
|
135
|
-
*
|
|
252
|
+
* An Anchor Button can be a size of small, medium or large.
|
|
136
253
|
* @public
|
|
137
254
|
*/
|
|
138
|
-
export declare const
|
|
139
|
-
readonly tiny: "tiny";
|
|
140
|
-
readonly extraSmall: "extra-small";
|
|
255
|
+
export declare const AnchorButtonSize: {
|
|
141
256
|
readonly small: "small";
|
|
142
257
|
readonly medium: "medium";
|
|
143
258
|
readonly large: "large";
|
|
144
|
-
readonly extraLarge: "extra-large";
|
|
145
259
|
};
|
|
146
260
|
|
|
147
261
|
/**
|
|
148
|
-
*
|
|
262
|
+
* An Anchor Button can be on of several preset sizes.
|
|
149
263
|
* @public
|
|
150
264
|
*/
|
|
151
|
-
export declare type
|
|
265
|
+
export declare type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
|
|
152
266
|
|
|
153
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* The template for the Button component.
|
|
154
269
|
* @public
|
|
155
270
|
*/
|
|
156
|
-
export declare const
|
|
157
|
-
|
|
158
|
-
export declare const BadgeTemplate: ElementViewTemplate<Badge>;
|
|
159
|
-
|
|
160
|
-
export declare const borderRadiusCircular: CSSDesignToken<string>;
|
|
271
|
+
export declare const AnchorButtonTemplate: ElementViewTemplate<AnchorButton>;
|
|
161
272
|
|
|
162
|
-
|
|
273
|
+
/**
|
|
274
|
+
* The base class used for constructing a fluent-avatar custom element
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export declare class Avatar extends FASTElement {
|
|
278
|
+
/**
|
|
279
|
+
* The name of the person or entity represented by this Avatar. This should always be provided if it is available.
|
|
280
|
+
*
|
|
281
|
+
* @public
|
|
282
|
+
* @remarks
|
|
283
|
+
* HTML Attribute: name
|
|
284
|
+
*/
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Provide custom initials rather than one generated via the name
|
|
288
|
+
*
|
|
289
|
+
* @public
|
|
290
|
+
* @remarks
|
|
291
|
+
* HTML Attribute: name
|
|
292
|
+
*/
|
|
293
|
+
initials?: string | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* Size of the avatar in pixels.
|
|
296
|
+
*
|
|
297
|
+
* Size is restricted to a limited set of supported values recommended for most uses (see `AvatarSizeValue`) and
|
|
298
|
+
* based on design guidelines for the Avatar control.
|
|
299
|
+
*
|
|
300
|
+
* If a non-supported size is neeeded, set `size` to the next-smaller supported size, and set `width` and `height`
|
|
301
|
+
* to override the rendered size.
|
|
302
|
+
*
|
|
303
|
+
* @public
|
|
304
|
+
* @remarks
|
|
305
|
+
* HTML Attribute: size
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
308
|
+
size?: AvatarSize | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* The avatar can have a circular or square shape.
|
|
311
|
+
*
|
|
312
|
+
* @public
|
|
313
|
+
* @remarks
|
|
314
|
+
* HTML Attribute: shape
|
|
315
|
+
*/
|
|
316
|
+
shape?: AvatarShape | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* Optional activity indicator
|
|
319
|
+
* * active: the avatar will be decorated according to activeAppearance
|
|
320
|
+
* * inactive: the avatar will be reduced in size and partially transparent
|
|
321
|
+
* * undefined: normal display
|
|
322
|
+
*
|
|
323
|
+
* @public
|
|
324
|
+
* @remarks
|
|
325
|
+
* HTML Attribute: active
|
|
326
|
+
*/
|
|
327
|
+
active?: AvatarActive | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* The appearance when `active="active"`
|
|
330
|
+
*
|
|
331
|
+
* @public
|
|
332
|
+
* @remarks
|
|
333
|
+
* HTML Attribute: appearance
|
|
334
|
+
*/
|
|
335
|
+
appearance?: AvatarAppearance | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* The color when displaying either an icon or initials.
|
|
338
|
+
* * neutral (default): gray
|
|
339
|
+
* * brand: color from the brand palette
|
|
340
|
+
* * colorful: picks a color from a set of pre-defined colors, based on a hash of the name (or colorId if provided)
|
|
341
|
+
* * [AvatarNamedColor]: a specific color from the theme
|
|
342
|
+
*
|
|
343
|
+
* @public
|
|
344
|
+
* @remarks
|
|
345
|
+
* HTML Attribute: color
|
|
346
|
+
*/
|
|
347
|
+
color?: AvatarColor;
|
|
348
|
+
/**
|
|
349
|
+
* Specify a string to be used instead of the name, to determine which color to use when color="colorful".
|
|
350
|
+
* Use this when a name is not available, but there is another unique identifier that can be used instead.
|
|
351
|
+
*/
|
|
352
|
+
colorId?: AvatarNamedColor | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* Sets the data-color attribute used for the visual presentation
|
|
355
|
+
* @internal
|
|
356
|
+
*/
|
|
357
|
+
generateColor(): AvatarColor | void;
|
|
358
|
+
/**
|
|
359
|
+
* Generates and sets the initials for the template
|
|
360
|
+
* @internal
|
|
361
|
+
*/
|
|
362
|
+
generateInitials(): string | void;
|
|
363
|
+
/**
|
|
364
|
+
* An array of the available Avatar named colors
|
|
365
|
+
*/
|
|
366
|
+
static colors: ("anchor" | "dark-red" | "cranberry" | "red" | "pumpkin" | "peach" | "marigold" | "gold" | "brass" | "brown" | "forest" | "seafoam" | "dark-green" | "light-teal" | "teal" | "steel" | "blue" | "royal-blue" | "cornflower" | "navy" | "lavender" | "purple" | "grape" | "lilac" | "pink" | "magenta" | "plum" | "beige" | "mink" | "platinum")[];
|
|
367
|
+
}
|
|
163
368
|
|
|
164
|
-
|
|
369
|
+
/**
|
|
370
|
+
* The Avatar "active" state
|
|
371
|
+
*/
|
|
372
|
+
export declare const AvatarActive: {
|
|
373
|
+
readonly active: "active";
|
|
374
|
+
readonly inactive: "inactive";
|
|
375
|
+
};
|
|
165
376
|
|
|
166
|
-
|
|
377
|
+
/**
|
|
378
|
+
* The types of Avatar active state
|
|
379
|
+
*/
|
|
380
|
+
export declare type AvatarActive = ValuesOf<typeof AvatarActive>;
|
|
167
381
|
|
|
168
|
-
|
|
382
|
+
/**
|
|
383
|
+
* The Avatar Appearance when "active"
|
|
384
|
+
*/
|
|
385
|
+
export declare const AvatarAppearance: {
|
|
386
|
+
readonly ring: "ring";
|
|
387
|
+
readonly shadow: "shadow";
|
|
388
|
+
readonly ringShadow: "ring-shadow";
|
|
389
|
+
};
|
|
169
390
|
|
|
170
|
-
|
|
391
|
+
/**
|
|
392
|
+
* The appearance when "active"
|
|
393
|
+
*/
|
|
394
|
+
export declare type AvatarAppearance = ValuesOf<typeof AvatarAppearance>;
|
|
171
395
|
|
|
172
|
-
|
|
396
|
+
/**
|
|
397
|
+
* Supported Avatar colors
|
|
398
|
+
*/
|
|
399
|
+
export declare const AvatarColor: {
|
|
400
|
+
readonly darkRed: "dark-red";
|
|
401
|
+
readonly cranberry: "cranberry";
|
|
402
|
+
readonly red: "red";
|
|
403
|
+
readonly pumpkin: "pumpkin";
|
|
404
|
+
readonly peach: "peach";
|
|
405
|
+
readonly marigold: "marigold";
|
|
406
|
+
readonly gold: "gold";
|
|
407
|
+
readonly brass: "brass";
|
|
408
|
+
readonly brown: "brown";
|
|
409
|
+
readonly forest: "forest";
|
|
410
|
+
readonly seafoam: "seafoam";
|
|
411
|
+
readonly darkGreen: "dark-green";
|
|
412
|
+
readonly lightTeal: "light-teal";
|
|
413
|
+
readonly teal: "teal";
|
|
414
|
+
readonly steel: "steel";
|
|
415
|
+
readonly blue: "blue";
|
|
416
|
+
readonly royalBlue: "royal-blue";
|
|
417
|
+
readonly cornflower: "cornflower";
|
|
418
|
+
readonly navy: "navy";
|
|
419
|
+
readonly lavender: "lavender";
|
|
420
|
+
readonly purple: "purple";
|
|
421
|
+
readonly grape: "grape";
|
|
422
|
+
readonly lilac: "lilac";
|
|
423
|
+
readonly pink: "pink";
|
|
424
|
+
readonly magenta: "magenta";
|
|
425
|
+
readonly plum: "plum";
|
|
426
|
+
readonly beige: "beige";
|
|
427
|
+
readonly mink: "mink";
|
|
428
|
+
readonly platinum: "platinum";
|
|
429
|
+
readonly anchor: "anchor";
|
|
430
|
+
readonly neutral: "neutral";
|
|
431
|
+
readonly brand: "brand";
|
|
432
|
+
readonly colorful: "colorful";
|
|
433
|
+
};
|
|
173
434
|
|
|
174
|
-
|
|
435
|
+
/**
|
|
436
|
+
* The Avatar Color
|
|
437
|
+
*/
|
|
438
|
+
export declare type AvatarColor = ValuesOf<typeof AvatarColor>;
|
|
175
439
|
|
|
176
|
-
|
|
440
|
+
/**
|
|
441
|
+
* The Fluent Avatar Element.
|
|
442
|
+
*
|
|
443
|
+
* @public
|
|
444
|
+
* @remarks
|
|
445
|
+
* HTML Element: \<fluent-badge\>
|
|
446
|
+
*/
|
|
447
|
+
export declare const AvatarDefinition: FASTElementDefinition<typeof Avatar>;
|
|
177
448
|
|
|
178
|
-
|
|
449
|
+
/**
|
|
450
|
+
* A specific named color for the Avatar
|
|
451
|
+
*/
|
|
452
|
+
export declare const AvatarNamedColor: {
|
|
453
|
+
readonly darkRed: "dark-red";
|
|
454
|
+
readonly cranberry: "cranberry";
|
|
455
|
+
readonly red: "red";
|
|
456
|
+
readonly pumpkin: "pumpkin";
|
|
457
|
+
readonly peach: "peach";
|
|
458
|
+
readonly marigold: "marigold";
|
|
459
|
+
readonly gold: "gold";
|
|
460
|
+
readonly brass: "brass";
|
|
461
|
+
readonly brown: "brown";
|
|
462
|
+
readonly forest: "forest";
|
|
463
|
+
readonly seafoam: "seafoam";
|
|
464
|
+
readonly darkGreen: "dark-green";
|
|
465
|
+
readonly lightTeal: "light-teal";
|
|
466
|
+
readonly teal: "teal";
|
|
467
|
+
readonly steel: "steel";
|
|
468
|
+
readonly blue: "blue";
|
|
469
|
+
readonly royalBlue: "royal-blue";
|
|
470
|
+
readonly cornflower: "cornflower";
|
|
471
|
+
readonly navy: "navy";
|
|
472
|
+
readonly lavender: "lavender";
|
|
473
|
+
readonly purple: "purple";
|
|
474
|
+
readonly grape: "grape";
|
|
475
|
+
readonly lilac: "lilac";
|
|
476
|
+
readonly pink: "pink";
|
|
477
|
+
readonly magenta: "magenta";
|
|
478
|
+
readonly plum: "plum";
|
|
479
|
+
readonly beige: "beige";
|
|
480
|
+
readonly mink: "mink";
|
|
481
|
+
readonly platinum: "platinum";
|
|
482
|
+
readonly anchor: "anchor";
|
|
483
|
+
};
|
|
179
484
|
|
|
180
|
-
|
|
485
|
+
/**
|
|
486
|
+
* An avatar can be one of named colors
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
export declare type AvatarNamedColor = ValuesOf<typeof AvatarNamedColor>;
|
|
181
490
|
|
|
182
|
-
|
|
491
|
+
/**
|
|
492
|
+
* The Avatar Shape
|
|
493
|
+
*/
|
|
494
|
+
export declare const AvatarShape: {
|
|
495
|
+
readonly circular: "circular";
|
|
496
|
+
readonly square: "square";
|
|
497
|
+
};
|
|
183
498
|
|
|
184
|
-
|
|
499
|
+
/**
|
|
500
|
+
* The types of Avatar Shape
|
|
501
|
+
*/
|
|
502
|
+
export declare type AvatarShape = ValuesOf<typeof AvatarShape>;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The Avatar Sizes
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
export declare const AvatarSize: {
|
|
509
|
+
readonly _16: 16;
|
|
510
|
+
readonly _20: 20;
|
|
511
|
+
readonly _24: 24;
|
|
512
|
+
readonly _28: 28;
|
|
513
|
+
readonly _32: 32;
|
|
514
|
+
readonly _36: 36;
|
|
515
|
+
readonly _40: 40;
|
|
516
|
+
readonly _48: 48;
|
|
517
|
+
readonly _56: 56;
|
|
518
|
+
readonly _64: 64;
|
|
519
|
+
readonly _72: 72;
|
|
520
|
+
readonly _96: 96;
|
|
521
|
+
readonly _120: 120;
|
|
522
|
+
readonly _128: 128;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* A Avatar can be on of several preset sizes.
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export declare type AvatarSize = ValuesOf<typeof AvatarSize>;
|
|
530
|
+
|
|
531
|
+
/** Avatar styles
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
export declare const AvatarStyles: ElementStyles;
|
|
535
|
+
|
|
536
|
+
export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* The base class used for constructing a fluent-badge custom element
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
export declare class Badge extends FASTElement {
|
|
543
|
+
/**
|
|
544
|
+
* The appearance the badge should have.
|
|
545
|
+
*
|
|
546
|
+
* @public
|
|
547
|
+
* @remarks
|
|
548
|
+
* HTML Attribute: appearance
|
|
549
|
+
*/
|
|
550
|
+
appearance: BadgeAppearance;
|
|
551
|
+
/**
|
|
552
|
+
* The color the badge should have.
|
|
553
|
+
*
|
|
554
|
+
* @public
|
|
555
|
+
* @remarks
|
|
556
|
+
* HTML Attribute: color
|
|
557
|
+
*/
|
|
558
|
+
color: BadgeColor;
|
|
559
|
+
/**
|
|
560
|
+
* The shape the badge should have.
|
|
561
|
+
*
|
|
562
|
+
* @public
|
|
563
|
+
* @remarks
|
|
564
|
+
* HTML Attribute: shape
|
|
565
|
+
*/
|
|
566
|
+
shape?: BadgeShape;
|
|
567
|
+
/**
|
|
568
|
+
* The size the badge should have.
|
|
569
|
+
*
|
|
570
|
+
* @public
|
|
571
|
+
* @remarks
|
|
572
|
+
* HTML Attribute: size
|
|
573
|
+
*/
|
|
574
|
+
size?: BadgeSize;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Mark internal because exporting class and interface of the same name
|
|
579
|
+
* confuses API extractor.
|
|
580
|
+
* TODO: Below will be unnecessary when Badge class gets updated
|
|
581
|
+
* @internal
|
|
582
|
+
*/
|
|
583
|
+
export declare interface Badge extends StartEnd {
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* BadgeAppearance constants
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export declare const BadgeAppearance: {
|
|
591
|
+
readonly filled: "filled";
|
|
592
|
+
readonly ghost: "ghost";
|
|
593
|
+
readonly outline: "outline";
|
|
594
|
+
readonly tint: "tint";
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* A Badge can be filled, outline, ghost, inverted
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export declare type BadgeAppearance = ValuesOf<typeof BadgeAppearance>;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* BadgeColor constants
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export declare const BadgeColor: {
|
|
608
|
+
readonly brand: "brand";
|
|
609
|
+
readonly danger: "danger";
|
|
610
|
+
readonly important: "important";
|
|
611
|
+
readonly informative: "informative";
|
|
612
|
+
readonly severe: "severe";
|
|
613
|
+
readonly subtle: "subtle";
|
|
614
|
+
readonly success: "success";
|
|
615
|
+
readonly warning: "warning";
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* A Badge can be one of preset colors
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* The Fluent Badge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
626
|
+
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
627
|
+
*
|
|
628
|
+
*
|
|
629
|
+
* @public
|
|
630
|
+
* @remarks
|
|
631
|
+
* HTML Element: \<fluent-badge\>
|
|
632
|
+
*/
|
|
633
|
+
export declare const BadgeDefinition: FASTElementDefinition<typeof Badge>;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @internal - marking as internal update when Badge PR for start/end is in
|
|
637
|
+
*/
|
|
638
|
+
export declare type BadgeOptions = StartEndOptions<Badge> & {
|
|
639
|
+
defaultContent?: StaticallyComposableHTML;
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* A Badge can be square, circular or rounded.
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export declare const BadgeShape: {
|
|
647
|
+
readonly circular: "circular";
|
|
648
|
+
readonly rounded: "rounded";
|
|
649
|
+
readonly square: "square";
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* A Badge can be one of preset colors
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
export declare type BadgeShape = ValuesOf<typeof BadgeShape>;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* A Badge can be square, circular or rounded.
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
export declare const BadgeSize: {
|
|
663
|
+
readonly tiny: "tiny";
|
|
664
|
+
readonly extraSmall: "extra-small";
|
|
665
|
+
readonly small: "small";
|
|
666
|
+
readonly medium: "medium";
|
|
667
|
+
readonly large: "large";
|
|
668
|
+
readonly extraLarge: "extra-large";
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* A Badge can be on of several preset sizes.
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
675
|
+
export declare type BadgeSize = ValuesOf<typeof BadgeSize>;
|
|
676
|
+
|
|
677
|
+
/** Badge styles
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
export declare const BadgeStyles: ElementStyles;
|
|
681
|
+
|
|
682
|
+
export declare const BadgeTemplate: ElementViewTemplate<Badge>;
|
|
683
|
+
|
|
684
|
+
export declare const borderRadiusCircular: CSSDesignToken<string>;
|
|
685
|
+
|
|
686
|
+
export declare const borderRadiusLarge: CSSDesignToken<string>;
|
|
687
|
+
|
|
688
|
+
export declare const borderRadiusMedium: CSSDesignToken<string>;
|
|
689
|
+
|
|
690
|
+
export declare const borderRadiusNone: CSSDesignToken<string>;
|
|
691
|
+
|
|
692
|
+
export declare const borderRadiusSmall: CSSDesignToken<string>;
|
|
693
|
+
|
|
694
|
+
export declare const borderRadiusXLarge: CSSDesignToken<string>;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* The base class used for constructing a fluent-button custom element
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
export declare class Button extends FASTButton {
|
|
701
|
+
/**
|
|
702
|
+
* The appearance the button should have.
|
|
703
|
+
*
|
|
704
|
+
* @public
|
|
705
|
+
* @remarks
|
|
706
|
+
* HTML Attribute: appearance
|
|
707
|
+
*/
|
|
708
|
+
appearance?: ButtonAppearance | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* The shape the button should have.
|
|
711
|
+
*
|
|
712
|
+
* @public
|
|
713
|
+
* @remarks
|
|
714
|
+
* HTML Attribute: shape
|
|
715
|
+
*/
|
|
716
|
+
shape?: ButtonShape | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* The size the button should have.
|
|
719
|
+
*
|
|
720
|
+
* @public
|
|
721
|
+
* @remarks
|
|
722
|
+
* HTML Attribute: size
|
|
723
|
+
*/
|
|
724
|
+
size?: ButtonSize;
|
|
725
|
+
/**
|
|
726
|
+
* The button has an icon only, no text content
|
|
727
|
+
*
|
|
728
|
+
* @public
|
|
729
|
+
* @remarks
|
|
730
|
+
* HTML Attribute: icon-only
|
|
731
|
+
*/
|
|
732
|
+
iconOnly: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* The button is disabled but focusable
|
|
735
|
+
*
|
|
736
|
+
* @public
|
|
737
|
+
* @remarks
|
|
738
|
+
* HTML Attribute: disabled-focusable
|
|
739
|
+
*/
|
|
740
|
+
disabledFocusable?: boolean;
|
|
741
|
+
protected disabledFocusableChanged(prev: boolean, next: boolean): void;
|
|
742
|
+
/**
|
|
743
|
+
* Prevents disabledFocusable click events
|
|
744
|
+
*/
|
|
745
|
+
private handleDisabledFocusableClick;
|
|
746
|
+
connectedCallback(): void;
|
|
747
|
+
disconnectedCallback(): void;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* ButtonAppearance constants
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export declare const ButtonAppearance: {
|
|
755
|
+
readonly primary: "primary";
|
|
756
|
+
readonly outline: "outline";
|
|
757
|
+
readonly subtle: "subtle";
|
|
758
|
+
readonly secondary: "secondary";
|
|
759
|
+
readonly transparent: "transparent";
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* A Button can be secondary, primary, outline, subtle, transparent
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
770
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
771
|
+
*
|
|
772
|
+
* @public
|
|
773
|
+
* @remarks
|
|
774
|
+
* HTML Element: \<fluent-button\>
|
|
775
|
+
*/
|
|
776
|
+
export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
|
|
777
|
+
|
|
778
|
+
export { ButtonOptions }
|
|
779
|
+
export { ButtonOptions as CompoundButtonOptions }
|
|
780
|
+
export { ButtonOptions as MenuButtonOptions }
|
|
781
|
+
export { ButtonOptions as ToggleButtonOptions }
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* A Button can be square, circular or rounded.
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
export declare const ButtonShape: {
|
|
788
|
+
readonly circular: "circular";
|
|
789
|
+
readonly rounded: "rounded";
|
|
790
|
+
readonly square: "square";
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* A Button can be square, circular or rounded
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
export declare type ButtonShape = ValuesOf<typeof ButtonShape>;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* A Button can be a size of small, medium or large.
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
export declare const ButtonSize: {
|
|
804
|
+
readonly small: "small";
|
|
805
|
+
readonly medium: "medium";
|
|
806
|
+
readonly large: "large";
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* A Button can be on of several preset sizes.
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The template for the Button component.
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
export declare const ButtonTemplate: ElementViewTemplate<Button>;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* The base class used for constucting a fluent checkbox custom element
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
825
|
+
export declare class Checkbox extends FASTCheckbox {
|
|
826
|
+
/**
|
|
827
|
+
* Sets shape of the checkbox.
|
|
828
|
+
*
|
|
829
|
+
* @public
|
|
830
|
+
* @default 'square'
|
|
831
|
+
* @remarks
|
|
832
|
+
* HTML Attribute: shape
|
|
833
|
+
*/
|
|
834
|
+
shape?: CheckboxShape;
|
|
835
|
+
/**
|
|
836
|
+
* Sets size of the checkbox.
|
|
837
|
+
*
|
|
838
|
+
* @public
|
|
839
|
+
* @default 'medium'
|
|
840
|
+
* @remarks
|
|
841
|
+
* HTML Attribute: size
|
|
842
|
+
*/
|
|
843
|
+
size?: CheckboxSize;
|
|
844
|
+
/**
|
|
845
|
+
* Sets position of the label relative to the input
|
|
846
|
+
*
|
|
847
|
+
* @public
|
|
848
|
+
* @default 'after'
|
|
849
|
+
* @remarks
|
|
850
|
+
* HTML Attribute: label-position
|
|
851
|
+
*/
|
|
852
|
+
labelPosition?: CheckboxLabelPosition;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* The Fluent Checkbox Element
|
|
857
|
+
*
|
|
858
|
+
* @public
|
|
859
|
+
* @remarks
|
|
860
|
+
* HTML Element: \<fluent-checkbox\>
|
|
861
|
+
*/
|
|
862
|
+
export declare const CheckboxDefinition: FASTElementDefinition<typeof Checkbox>;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Checkbox label position
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
export declare const CheckboxLabelPosition: {
|
|
869
|
+
readonly before: "before";
|
|
870
|
+
readonly after: "after";
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
export declare type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Checkbox shape
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
export declare const CheckboxShape: {
|
|
880
|
+
readonly circular: "circular";
|
|
881
|
+
readonly square: "square";
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
export declare type CheckboxShape = ValuesOf<typeof CheckboxShape>;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Checkbox size
|
|
888
|
+
* @public
|
|
889
|
+
*/
|
|
890
|
+
export declare const CheckboxSize: {
|
|
891
|
+
readonly medium: "medium";
|
|
892
|
+
readonly large: "large";
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
export declare type CheckboxSize = ValuesOf<typeof CheckboxSize>;
|
|
896
|
+
|
|
897
|
+
/** Checkbox styles
|
|
898
|
+
*
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export declare const CheckboxStyles: ElementStyles;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Template for the Checkbox component
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
export declare const CheckboxTemplate: ElementViewTemplate<Checkbox>;
|
|
908
|
+
|
|
909
|
+
export declare const colorBackgroundOverlay: CSSDesignToken<string>;
|
|
910
|
+
|
|
911
|
+
export declare const colorBrandBackground: CSSDesignToken<string>;
|
|
912
|
+
|
|
913
|
+
export declare const colorBrandBackground2: CSSDesignToken<string>;
|
|
914
|
+
|
|
915
|
+
export declare const colorBrandBackgroundHover: CSSDesignToken<string>;
|
|
916
|
+
|
|
917
|
+
export declare const colorBrandBackgroundInverted: CSSDesignToken<string>;
|
|
918
|
+
|
|
919
|
+
export declare const colorBrandBackgroundInvertedHover: CSSDesignToken<string>;
|
|
920
|
+
|
|
921
|
+
export declare const colorBrandBackgroundInvertedPressed: CSSDesignToken<string>;
|
|
185
922
|
|
|
186
923
|
export declare const colorBrandBackgroundInvertedSelected: CSSDesignToken<string>;
|
|
187
924
|
|
|
@@ -381,8 +1118,12 @@ export declare const colorNeutralShadowKeyLighter: CSSDesignToken<string>;
|
|
|
381
1118
|
|
|
382
1119
|
export declare const colorNeutralStencil1: CSSDesignToken<string>;
|
|
383
1120
|
|
|
1121
|
+
export declare const colorNeutralStencil1Alpha: CSSDesignToken<string>;
|
|
1122
|
+
|
|
384
1123
|
export declare const colorNeutralStencil2: CSSDesignToken<string>;
|
|
385
1124
|
|
|
1125
|
+
export declare const colorNeutralStencil2Alpha: CSSDesignToken<string>;
|
|
1126
|
+
|
|
386
1127
|
export declare const colorNeutralStroke1: CSSDesignToken<string>;
|
|
387
1128
|
|
|
388
1129
|
export declare const colorNeutralStroke1Hover: CSSDesignToken<string>;
|
|
@@ -519,518 +1260,1011 @@ export declare const colorPaletteGoldBorderActive: CSSDesignToken<string>;
|
|
|
519
1260
|
|
|
520
1261
|
export declare const colorPaletteGoldForeground2: CSSDesignToken<string>;
|
|
521
1262
|
|
|
522
|
-
export declare const colorPaletteGrapeBackground2: CSSDesignToken<string>;
|
|
1263
|
+
export declare const colorPaletteGrapeBackground2: CSSDesignToken<string>;
|
|
1264
|
+
|
|
1265
|
+
export declare const colorPaletteGrapeBorderActive: CSSDesignToken<string>;
|
|
1266
|
+
|
|
1267
|
+
export declare const colorPaletteGrapeForeground2: CSSDesignToken<string>;
|
|
1268
|
+
|
|
1269
|
+
export declare const colorPaletteGreenBackground1: CSSDesignToken<string>;
|
|
1270
|
+
|
|
1271
|
+
export declare const colorPaletteGreenBackground2: CSSDesignToken<string>;
|
|
1272
|
+
|
|
1273
|
+
export declare const colorPaletteGreenBackground3: CSSDesignToken<string>;
|
|
1274
|
+
|
|
1275
|
+
export declare const colorPaletteGreenBorder1: CSSDesignToken<string>;
|
|
1276
|
+
|
|
1277
|
+
export declare const colorPaletteGreenBorder2: CSSDesignToken<string>;
|
|
1278
|
+
|
|
1279
|
+
export declare const colorPaletteGreenBorderActive: CSSDesignToken<string>;
|
|
1280
|
+
|
|
1281
|
+
export declare const colorPaletteGreenForeground1: CSSDesignToken<string>;
|
|
1282
|
+
|
|
1283
|
+
export declare const colorPaletteGreenForeground2: CSSDesignToken<string>;
|
|
1284
|
+
|
|
1285
|
+
export declare const colorPaletteGreenForeground3: CSSDesignToken<string>;
|
|
1286
|
+
|
|
1287
|
+
export declare const colorPaletteGreenForegroundInverted: CSSDesignToken<string>;
|
|
1288
|
+
|
|
1289
|
+
export declare const colorPaletteLavenderBackground2: CSSDesignToken<string>;
|
|
1290
|
+
|
|
1291
|
+
export declare const colorPaletteLavenderBorderActive: CSSDesignToken<string>;
|
|
1292
|
+
|
|
1293
|
+
export declare const colorPaletteLavenderForeground2: CSSDesignToken<string>;
|
|
1294
|
+
|
|
1295
|
+
export declare const colorPaletteLightGreenBackground1: CSSDesignToken<string>;
|
|
1296
|
+
|
|
1297
|
+
export declare const colorPaletteLightGreenBackground2: CSSDesignToken<string>;
|
|
1298
|
+
|
|
1299
|
+
export declare const colorPaletteLightGreenBackground3: CSSDesignToken<string>;
|
|
1300
|
+
|
|
1301
|
+
export declare const colorPaletteLightGreenBorder1: CSSDesignToken<string>;
|
|
1302
|
+
|
|
1303
|
+
export declare const colorPaletteLightGreenBorder2: CSSDesignToken<string>;
|
|
1304
|
+
|
|
1305
|
+
export declare const colorPaletteLightGreenBorderActive: CSSDesignToken<string>;
|
|
1306
|
+
|
|
1307
|
+
export declare const colorPaletteLightGreenForeground1: CSSDesignToken<string>;
|
|
1308
|
+
|
|
1309
|
+
export declare const colorPaletteLightGreenForeground2: CSSDesignToken<string>;
|
|
1310
|
+
|
|
1311
|
+
export declare const colorPaletteLightGreenForeground3: CSSDesignToken<string>;
|
|
1312
|
+
|
|
1313
|
+
export declare const colorPaletteLightTealBackground2: CSSDesignToken<string>;
|
|
1314
|
+
|
|
1315
|
+
export declare const colorPaletteLightTealBorderActive: CSSDesignToken<string>;
|
|
1316
|
+
|
|
1317
|
+
export declare const colorPaletteLightTealForeground2: CSSDesignToken<string>;
|
|
1318
|
+
|
|
1319
|
+
export declare const colorPaletteLilacBackground2: CSSDesignToken<string>;
|
|
1320
|
+
|
|
1321
|
+
export declare const colorPaletteLilacBorderActive: CSSDesignToken<string>;
|
|
1322
|
+
|
|
1323
|
+
export declare const colorPaletteLilacForeground2: CSSDesignToken<string>;
|
|
1324
|
+
|
|
1325
|
+
export declare const colorPaletteMagentaBackground2: CSSDesignToken<string>;
|
|
1326
|
+
|
|
1327
|
+
export declare const colorPaletteMagentaBorderActive: CSSDesignToken<string>;
|
|
1328
|
+
|
|
1329
|
+
export declare const colorPaletteMagentaForeground2: CSSDesignToken<string>;
|
|
1330
|
+
|
|
1331
|
+
export declare const colorPaletteMarigoldBackground1: CSSDesignToken<string>;
|
|
1332
|
+
|
|
1333
|
+
export declare const colorPaletteMarigoldBackground2: CSSDesignToken<string>;
|
|
1334
|
+
|
|
1335
|
+
export declare const colorPaletteMarigoldBackground3: CSSDesignToken<string>;
|
|
1336
|
+
|
|
1337
|
+
export declare const colorPaletteMarigoldBorder1: CSSDesignToken<string>;
|
|
1338
|
+
|
|
1339
|
+
export declare const colorPaletteMarigoldBorder2: CSSDesignToken<string>;
|
|
1340
|
+
|
|
1341
|
+
export declare const colorPaletteMarigoldBorderActive: CSSDesignToken<string>;
|
|
1342
|
+
|
|
1343
|
+
export declare const colorPaletteMarigoldForeground1: CSSDesignToken<string>;
|
|
1344
|
+
|
|
1345
|
+
export declare const colorPaletteMarigoldForeground2: CSSDesignToken<string>;
|
|
1346
|
+
|
|
1347
|
+
export declare const colorPaletteMarigoldForeground3: CSSDesignToken<string>;
|
|
1348
|
+
|
|
1349
|
+
export declare const colorPaletteMinkBackground2: CSSDesignToken<string>;
|
|
1350
|
+
|
|
1351
|
+
export declare const colorPaletteMinkBorderActive: CSSDesignToken<string>;
|
|
1352
|
+
|
|
1353
|
+
export declare const colorPaletteMinkForeground2: CSSDesignToken<string>;
|
|
1354
|
+
|
|
1355
|
+
export declare const colorPaletteNavyBackground2: CSSDesignToken<string>;
|
|
1356
|
+
|
|
1357
|
+
export declare const colorPaletteNavyBorderActive: CSSDesignToken<string>;
|
|
1358
|
+
|
|
1359
|
+
export declare const colorPaletteNavyForeground2: CSSDesignToken<string>;
|
|
1360
|
+
|
|
1361
|
+
export declare const colorPalettePeachBackground2: CSSDesignToken<string>;
|
|
1362
|
+
|
|
1363
|
+
export declare const colorPalettePeachBorderActive: CSSDesignToken<string>;
|
|
1364
|
+
|
|
1365
|
+
export declare const colorPalettePeachForeground2: CSSDesignToken<string>;
|
|
1366
|
+
|
|
1367
|
+
export declare const colorPalettePinkBackground2: CSSDesignToken<string>;
|
|
1368
|
+
|
|
1369
|
+
export declare const colorPalettePinkBorderActive: CSSDesignToken<string>;
|
|
1370
|
+
|
|
1371
|
+
export declare const colorPalettePinkForeground2: CSSDesignToken<string>;
|
|
1372
|
+
|
|
1373
|
+
export declare const colorPalettePlatinumBackground2: CSSDesignToken<string>;
|
|
1374
|
+
|
|
1375
|
+
export declare const colorPalettePlatinumBorderActive: CSSDesignToken<string>;
|
|
1376
|
+
|
|
1377
|
+
export declare const colorPalettePlatinumForeground2: CSSDesignToken<string>;
|
|
1378
|
+
|
|
1379
|
+
export declare const colorPalettePlumBackground2: CSSDesignToken<string>;
|
|
1380
|
+
|
|
1381
|
+
export declare const colorPalettePlumBorderActive: CSSDesignToken<string>;
|
|
1382
|
+
|
|
1383
|
+
export declare const colorPalettePlumForeground2: CSSDesignToken<string>;
|
|
1384
|
+
|
|
1385
|
+
export declare const colorPalettePumpkinBackground2: CSSDesignToken<string>;
|
|
1386
|
+
|
|
1387
|
+
export declare const colorPalettePumpkinBorderActive: CSSDesignToken<string>;
|
|
1388
|
+
|
|
1389
|
+
export declare const colorPalettePumpkinForeground2: CSSDesignToken<string>;
|
|
1390
|
+
|
|
1391
|
+
export declare const colorPalettePurpleBackground2: CSSDesignToken<string>;
|
|
1392
|
+
|
|
1393
|
+
export declare const colorPalettePurpleBorderActive: CSSDesignToken<string>;
|
|
1394
|
+
|
|
1395
|
+
export declare const colorPalettePurpleForeground2: CSSDesignToken<string>;
|
|
1396
|
+
|
|
1397
|
+
export declare const colorPaletteRedBackground1: CSSDesignToken<string>;
|
|
1398
|
+
|
|
1399
|
+
export declare const colorPaletteRedBackground2: CSSDesignToken<string>;
|
|
1400
|
+
|
|
1401
|
+
export declare const colorPaletteRedBackground3: CSSDesignToken<string>;
|
|
1402
|
+
|
|
1403
|
+
export declare const colorPaletteRedBorder1: CSSDesignToken<string>;
|
|
1404
|
+
|
|
1405
|
+
export declare const colorPaletteRedBorder2: CSSDesignToken<string>;
|
|
523
1406
|
|
|
524
|
-
export declare const
|
|
1407
|
+
export declare const colorPaletteRedBorderActive: CSSDesignToken<string>;
|
|
525
1408
|
|
|
526
|
-
export declare const
|
|
1409
|
+
export declare const colorPaletteRedForeground1: CSSDesignToken<string>;
|
|
527
1410
|
|
|
528
|
-
export declare const
|
|
1411
|
+
export declare const colorPaletteRedForeground2: CSSDesignToken<string>;
|
|
529
1412
|
|
|
530
|
-
export declare const
|
|
1413
|
+
export declare const colorPaletteRedForeground3: CSSDesignToken<string>;
|
|
531
1414
|
|
|
532
|
-
export declare const
|
|
1415
|
+
export declare const colorPaletteRedForegroundInverted: CSSDesignToken<string>;
|
|
533
1416
|
|
|
534
|
-
export declare const
|
|
1417
|
+
export declare const colorPaletteRoyalBlueBackground2: CSSDesignToken<string>;
|
|
535
1418
|
|
|
536
|
-
export declare const
|
|
1419
|
+
export declare const colorPaletteRoyalBlueBorderActive: CSSDesignToken<string>;
|
|
537
1420
|
|
|
538
|
-
export declare const
|
|
1421
|
+
export declare const colorPaletteRoyalBlueForeground2: CSSDesignToken<string>;
|
|
539
1422
|
|
|
540
|
-
export declare const
|
|
1423
|
+
export declare const colorPaletteSeafoamBackground2: CSSDesignToken<string>;
|
|
541
1424
|
|
|
542
|
-
export declare const
|
|
1425
|
+
export declare const colorPaletteSeafoamBorderActive: CSSDesignToken<string>;
|
|
543
1426
|
|
|
544
|
-
export declare const
|
|
1427
|
+
export declare const colorPaletteSeafoamForeground2: CSSDesignToken<string>;
|
|
545
1428
|
|
|
546
|
-
export declare const
|
|
1429
|
+
export declare const colorPaletteSteelBackground2: CSSDesignToken<string>;
|
|
547
1430
|
|
|
548
|
-
export declare const
|
|
1431
|
+
export declare const colorPaletteSteelBorderActive: CSSDesignToken<string>;
|
|
549
1432
|
|
|
550
|
-
export declare const
|
|
1433
|
+
export declare const colorPaletteSteelForeground2: CSSDesignToken<string>;
|
|
551
1434
|
|
|
552
|
-
export declare const
|
|
1435
|
+
export declare const colorPaletteTealBackground2: CSSDesignToken<string>;
|
|
553
1436
|
|
|
554
|
-
export declare const
|
|
1437
|
+
export declare const colorPaletteTealBorderActive: CSSDesignToken<string>;
|
|
555
1438
|
|
|
556
|
-
export declare const
|
|
1439
|
+
export declare const colorPaletteTealForeground2: CSSDesignToken<string>;
|
|
557
1440
|
|
|
558
|
-
export declare const
|
|
1441
|
+
export declare const colorPaletteYellowBackground1: CSSDesignToken<string>;
|
|
559
1442
|
|
|
560
|
-
export declare const
|
|
1443
|
+
export declare const colorPaletteYellowBackground2: CSSDesignToken<string>;
|
|
561
1444
|
|
|
562
|
-
export declare const
|
|
1445
|
+
export declare const colorPaletteYellowBackground3: CSSDesignToken<string>;
|
|
563
1446
|
|
|
564
|
-
export declare const
|
|
1447
|
+
export declare const colorPaletteYellowBorder1: CSSDesignToken<string>;
|
|
565
1448
|
|
|
566
|
-
export declare const
|
|
1449
|
+
export declare const colorPaletteYellowBorder2: CSSDesignToken<string>;
|
|
567
1450
|
|
|
568
|
-
export declare const
|
|
1451
|
+
export declare const colorPaletteYellowBorderActive: CSSDesignToken<string>;
|
|
569
1452
|
|
|
570
|
-
export declare const
|
|
1453
|
+
export declare const colorPaletteYellowForeground1: CSSDesignToken<string>;
|
|
571
1454
|
|
|
572
|
-
export declare const
|
|
1455
|
+
export declare const colorPaletteYellowForeground2: CSSDesignToken<string>;
|
|
573
1456
|
|
|
574
|
-
export declare const
|
|
1457
|
+
export declare const colorPaletteYellowForeground3: CSSDesignToken<string>;
|
|
575
1458
|
|
|
576
|
-
export declare const
|
|
1459
|
+
export declare const colorPaletteYellowForegroundInverted: CSSDesignToken<string>;
|
|
577
1460
|
|
|
578
|
-
export declare const
|
|
1461
|
+
export declare const colorScrollbarOverlay: CSSDesignToken<string>;
|
|
579
1462
|
|
|
580
|
-
export declare const
|
|
1463
|
+
export declare const colorStrokeFocus1: CSSDesignToken<string>;
|
|
581
1464
|
|
|
582
|
-
export declare const
|
|
1465
|
+
export declare const colorStrokeFocus2: CSSDesignToken<string>;
|
|
583
1466
|
|
|
584
|
-
export declare const
|
|
1467
|
+
export declare const colorSubtleBackground: CSSDesignToken<string>;
|
|
585
1468
|
|
|
586
|
-
export declare const
|
|
1469
|
+
export declare const colorSubtleBackgroundHover: CSSDesignToken<string>;
|
|
587
1470
|
|
|
588
|
-
export declare const
|
|
1471
|
+
export declare const colorSubtleBackgroundInverted: CSSDesignToken<string>;
|
|
589
1472
|
|
|
590
|
-
export declare const
|
|
1473
|
+
export declare const colorSubtleBackgroundInvertedHover: CSSDesignToken<string>;
|
|
591
1474
|
|
|
592
|
-
export declare const
|
|
1475
|
+
export declare const colorSubtleBackgroundInvertedPressed: CSSDesignToken<string>;
|
|
593
1476
|
|
|
594
|
-
export declare const
|
|
1477
|
+
export declare const colorSubtleBackgroundInvertedSelected: CSSDesignToken<string>;
|
|
595
1478
|
|
|
596
|
-
export declare const
|
|
1479
|
+
export declare const colorSubtleBackgroundLightAlphaHover: CSSDesignToken<string>;
|
|
597
1480
|
|
|
598
|
-
export declare const
|
|
1481
|
+
export declare const colorSubtleBackgroundLightAlphaPressed: CSSDesignToken<string>;
|
|
599
1482
|
|
|
600
|
-
export declare const
|
|
1483
|
+
export declare const colorSubtleBackgroundLightAlphaSelected: CSSDesignToken<string>;
|
|
601
1484
|
|
|
602
|
-
export declare const
|
|
1485
|
+
export declare const colorSubtleBackgroundPressed: CSSDesignToken<string>;
|
|
603
1486
|
|
|
604
|
-
export declare const
|
|
1487
|
+
export declare const colorSubtleBackgroundSelected: CSSDesignToken<string>;
|
|
605
1488
|
|
|
606
|
-
export declare const
|
|
1489
|
+
export declare const colorTransparentBackground: CSSDesignToken<string>;
|
|
607
1490
|
|
|
608
|
-
export declare const
|
|
1491
|
+
export declare const colorTransparentBackgroundHover: CSSDesignToken<string>;
|
|
609
1492
|
|
|
610
|
-
export declare const
|
|
1493
|
+
export declare const colorTransparentBackgroundPressed: CSSDesignToken<string>;
|
|
611
1494
|
|
|
612
|
-
export declare const
|
|
1495
|
+
export declare const colorTransparentBackgroundSelected: CSSDesignToken<string>;
|
|
613
1496
|
|
|
614
|
-
export declare const
|
|
1497
|
+
export declare const colorTransparentStroke: CSSDesignToken<string>;
|
|
615
1498
|
|
|
616
|
-
export declare const
|
|
1499
|
+
export declare const colorTransparentStrokeDisabled: CSSDesignToken<string>;
|
|
617
1500
|
|
|
618
|
-
export declare const
|
|
1501
|
+
export declare const colorTransparentStrokeInteractive: CSSDesignToken<string>;
|
|
619
1502
|
|
|
620
|
-
|
|
1503
|
+
/**
|
|
1504
|
+
* The base class used for constructing a fluent-compound-button custom element
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
export declare class CompoundButton extends Button {
|
|
1508
|
+
}
|
|
621
1509
|
|
|
622
|
-
|
|
1510
|
+
/**
|
|
1511
|
+
* Compound Button Appearance constants
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1514
|
+
export declare const CompoundButtonAppearance: {
|
|
1515
|
+
readonly primary: "primary";
|
|
1516
|
+
readonly outline: "outline";
|
|
1517
|
+
readonly subtle: "subtle";
|
|
1518
|
+
readonly secondary: "secondary";
|
|
1519
|
+
readonly transparent: "transparent";
|
|
1520
|
+
};
|
|
623
1521
|
|
|
624
|
-
|
|
1522
|
+
/**
|
|
1523
|
+
* A Compound Button can be secondary, primary, outline, subtle, transparent
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
625
1527
|
|
|
626
|
-
|
|
1528
|
+
/**
|
|
1529
|
+
* The Fluent Compound Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
1530
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
1531
|
+
*
|
|
1532
|
+
* @public
|
|
1533
|
+
* @remarks
|
|
1534
|
+
* HTML Element: \<fluent-comopund-button\>
|
|
1535
|
+
*/
|
|
1536
|
+
export declare const CompoundButtonDefinition: FASTElementDefinition<typeof CompoundButton>;
|
|
627
1537
|
|
|
628
|
-
|
|
1538
|
+
/**
|
|
1539
|
+
* A Compound Button can be square, circular or rounded.
|
|
1540
|
+
* @public
|
|
1541
|
+
*/
|
|
1542
|
+
export declare const CompoundButtonShape: {
|
|
1543
|
+
readonly circular: "circular";
|
|
1544
|
+
readonly rounded: "rounded";
|
|
1545
|
+
readonly square: "square";
|
|
1546
|
+
};
|
|
629
1547
|
|
|
630
|
-
|
|
1548
|
+
/**
|
|
1549
|
+
* A Compound Button can be square, circular or rounded
|
|
1550
|
+
* @public
|
|
1551
|
+
*/
|
|
1552
|
+
export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
|
|
631
1553
|
|
|
632
|
-
|
|
1554
|
+
/**
|
|
1555
|
+
* A Compound Button can be a size of small, medium or large.
|
|
1556
|
+
* @public
|
|
1557
|
+
*/
|
|
1558
|
+
export declare const CompoundButtonSize: {
|
|
1559
|
+
readonly small: "small";
|
|
1560
|
+
/**
|
|
1561
|
+
* A Compound Button can be on of several preset sizes.
|
|
1562
|
+
* @public
|
|
1563
|
+
*/
|
|
1564
|
+
readonly medium: "medium";
|
|
1565
|
+
readonly large: "large";
|
|
1566
|
+
};
|
|
633
1567
|
|
|
634
|
-
|
|
1568
|
+
/**
|
|
1569
|
+
* A Compound Button can be on of several preset sizes.
|
|
1570
|
+
* @public
|
|
1571
|
+
*/
|
|
1572
|
+
export declare type CompoundButtonSize = ValuesOf<typeof CompoundButtonSize>;
|
|
635
1573
|
|
|
636
|
-
export declare const
|
|
1574
|
+
export declare const CompoundButtonStyles: ElementStyles;
|
|
637
1575
|
|
|
638
|
-
|
|
1576
|
+
/**
|
|
1577
|
+
* The template for the Button component.
|
|
1578
|
+
* @public
|
|
1579
|
+
*/
|
|
1580
|
+
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
639
1581
|
|
|
640
|
-
|
|
1582
|
+
/**
|
|
1583
|
+
* The base class used for constructing a fluent-badge custom element
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
export declare class CounterBadge extends FASTElement {
|
|
1587
|
+
/**
|
|
1588
|
+
* The appearance the badge should have.
|
|
1589
|
+
*
|
|
1590
|
+
* @public
|
|
1591
|
+
* @remarks
|
|
1592
|
+
* HTML Attribute: appearance
|
|
1593
|
+
*/
|
|
1594
|
+
appearance?: CounterBadgeAppearance;
|
|
1595
|
+
/**
|
|
1596
|
+
* The color the badge should have.
|
|
1597
|
+
*
|
|
1598
|
+
* @public
|
|
1599
|
+
* @remarks
|
|
1600
|
+
* HTML Attribute: color
|
|
1601
|
+
*/
|
|
1602
|
+
color?: CounterBadgeColor;
|
|
1603
|
+
/**
|
|
1604
|
+
* The shape the badge should have.
|
|
1605
|
+
*
|
|
1606
|
+
* @public
|
|
1607
|
+
* @remarks
|
|
1608
|
+
* HTML Attribute: shape
|
|
1609
|
+
*/
|
|
1610
|
+
shape?: CounterBadgeShape;
|
|
1611
|
+
/**
|
|
1612
|
+
* The size the badge should have.
|
|
1613
|
+
*
|
|
1614
|
+
* @public
|
|
1615
|
+
* @remarks
|
|
1616
|
+
* HTML Attribute: size
|
|
1617
|
+
*/
|
|
1618
|
+
size?: CounterBadgeSize;
|
|
1619
|
+
/**
|
|
1620
|
+
* The count the badge should have.
|
|
1621
|
+
*
|
|
1622
|
+
* @public
|
|
1623
|
+
* @remarks
|
|
1624
|
+
* HTML Attribute: count
|
|
1625
|
+
*/
|
|
1626
|
+
count: number;
|
|
1627
|
+
protected countChanged(): void;
|
|
1628
|
+
/**
|
|
1629
|
+
* Max number to be displayed
|
|
1630
|
+
*
|
|
1631
|
+
* @public
|
|
1632
|
+
* @remarks
|
|
1633
|
+
* HTML Attribute: overflow-count
|
|
1634
|
+
*/
|
|
1635
|
+
overflowCount: number;
|
|
1636
|
+
protected overflowCountChanged(): void;
|
|
1637
|
+
/**
|
|
1638
|
+
* If the badge should be shown when count is 0
|
|
1639
|
+
*
|
|
1640
|
+
* @public
|
|
1641
|
+
* @remarks
|
|
1642
|
+
* HTML Attribute: show-zero
|
|
1643
|
+
*/
|
|
1644
|
+
showZero: boolean;
|
|
1645
|
+
/**
|
|
1646
|
+
* If a dot should be displayed without the count
|
|
1647
|
+
*
|
|
1648
|
+
* @public
|
|
1649
|
+
* @remarks
|
|
1650
|
+
* HTML Attribute: dot
|
|
1651
|
+
*/
|
|
1652
|
+
dot: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* @internal
|
|
1655
|
+
* Function to set the count
|
|
1656
|
+
* This is the default slotted content for the counter badge
|
|
1657
|
+
* If children are slotted, that will override the value returned
|
|
1658
|
+
*/
|
|
1659
|
+
setCount(): string | void;
|
|
1660
|
+
}
|
|
641
1661
|
|
|
642
|
-
|
|
1662
|
+
/**
|
|
1663
|
+
* Mark internal because exporting class and interface of the same name
|
|
1664
|
+
* confuses API extractor.
|
|
1665
|
+
* TODO: Below will be unnecessary when Badge class gets updated
|
|
1666
|
+
* @internal
|
|
1667
|
+
*/
|
|
1668
|
+
export declare interface CounterBadge extends StartEnd {
|
|
1669
|
+
}
|
|
643
1670
|
|
|
644
|
-
|
|
1671
|
+
/**
|
|
1672
|
+
* CounterBadgeAppearance constants
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export declare const CounterBadgeAppearance: {
|
|
1676
|
+
readonly filled: "filled";
|
|
1677
|
+
readonly ghost: "ghost";
|
|
1678
|
+
};
|
|
645
1679
|
|
|
646
|
-
|
|
1680
|
+
/**
|
|
1681
|
+
* A CounterBadge can have an appearance of filled or ghost
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
647
1685
|
|
|
648
|
-
|
|
1686
|
+
/**
|
|
1687
|
+
* CounterBadgeColor constants
|
|
1688
|
+
* @public
|
|
1689
|
+
*/
|
|
1690
|
+
export declare const CounterBadgeColor: {
|
|
1691
|
+
readonly brand: "brand";
|
|
1692
|
+
readonly danger: "danger";
|
|
1693
|
+
readonly important: "important";
|
|
1694
|
+
readonly informative: "informative";
|
|
1695
|
+
readonly severe: "severe";
|
|
1696
|
+
readonly subtle: "subtle";
|
|
1697
|
+
readonly success: "success";
|
|
1698
|
+
readonly warning: "warning";
|
|
1699
|
+
};
|
|
649
1700
|
|
|
650
|
-
|
|
1701
|
+
/**
|
|
1702
|
+
* A CounterBadge can be one of preset colors
|
|
1703
|
+
* @public
|
|
1704
|
+
*/
|
|
1705
|
+
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
651
1706
|
|
|
652
|
-
|
|
1707
|
+
/**
|
|
1708
|
+
* The Fluent CounterBadge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
1709
|
+
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
1710
|
+
*
|
|
1711
|
+
*
|
|
1712
|
+
* @public
|
|
1713
|
+
* @remarks
|
|
1714
|
+
* HTML Element: \<fluent-counter-badge\>
|
|
1715
|
+
*/
|
|
1716
|
+
export declare const CounterBadgeDefinition: FASTElementDefinition<typeof CounterBadge>;
|
|
653
1717
|
|
|
654
|
-
|
|
1718
|
+
/**
|
|
1719
|
+
* CounterBadge options
|
|
1720
|
+
* @public
|
|
1721
|
+
*/
|
|
1722
|
+
export declare type CounterBadgeOptions = BadgeOptions;
|
|
655
1723
|
|
|
656
|
-
|
|
1724
|
+
/**
|
|
1725
|
+
* A CounterBadge shape can be circular or rounded.
|
|
1726
|
+
* @public
|
|
1727
|
+
*/
|
|
1728
|
+
export declare const CounterBadgeShape: {
|
|
1729
|
+
readonly circular: "circular";
|
|
1730
|
+
readonly rounded: "rounded";
|
|
1731
|
+
};
|
|
657
1732
|
|
|
658
|
-
|
|
1733
|
+
/**
|
|
1734
|
+
* A CounterBadge can be one of preset colors
|
|
1735
|
+
* @public
|
|
1736
|
+
*/
|
|
1737
|
+
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
659
1738
|
|
|
660
|
-
|
|
1739
|
+
/**
|
|
1740
|
+
* A CounterBadge can be square, circular or rounded.
|
|
1741
|
+
* @public
|
|
1742
|
+
*/
|
|
1743
|
+
export declare const CounterBadgeSize: {
|
|
1744
|
+
readonly tiny: "tiny";
|
|
1745
|
+
readonly extraSmall: "extra-small";
|
|
1746
|
+
readonly small: "small";
|
|
1747
|
+
readonly medium: "medium";
|
|
1748
|
+
readonly large: "large";
|
|
1749
|
+
readonly extraLarge: "extra-large";
|
|
1750
|
+
};
|
|
661
1751
|
|
|
662
|
-
|
|
1752
|
+
/**
|
|
1753
|
+
* A CounterBadge can be on of several preset sizes.
|
|
1754
|
+
* @public
|
|
1755
|
+
*/
|
|
1756
|
+
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
663
1757
|
|
|
664
|
-
|
|
1758
|
+
/** Badge styles
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
1761
|
+
export declare const CounterBadgeStyles: ElementStyles;
|
|
665
1762
|
|
|
666
|
-
|
|
1763
|
+
/**
|
|
1764
|
+
* The template for the Counter Badge component.
|
|
1765
|
+
* @public
|
|
1766
|
+
*/
|
|
1767
|
+
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
667
1768
|
|
|
668
|
-
export declare const
|
|
1769
|
+
export declare const curveAccelerateMax: CSSDesignToken<string>;
|
|
669
1770
|
|
|
670
|
-
export declare const
|
|
1771
|
+
export declare const curveAccelerateMid: CSSDesignToken<string>;
|
|
671
1772
|
|
|
672
|
-
export declare const
|
|
1773
|
+
export declare const curveAccelerateMin: CSSDesignToken<string>;
|
|
673
1774
|
|
|
674
|
-
export declare const
|
|
1775
|
+
export declare const curveDecelerateMax: CSSDesignToken<string>;
|
|
675
1776
|
|
|
676
|
-
export declare const
|
|
1777
|
+
export declare const curveDecelerateMid: CSSDesignToken<string>;
|
|
677
1778
|
|
|
678
|
-
export declare const
|
|
1779
|
+
export declare const curveDecelerateMin: CSSDesignToken<string>;
|
|
679
1780
|
|
|
680
|
-
export declare const
|
|
1781
|
+
export declare const curveEasyEase: CSSDesignToken<string>;
|
|
681
1782
|
|
|
682
|
-
export declare const
|
|
1783
|
+
export declare const curveEasyEaseMax: CSSDesignToken<string>;
|
|
683
1784
|
|
|
684
|
-
export declare const
|
|
1785
|
+
export declare const curveLinear: CSSDesignToken<string>;
|
|
685
1786
|
|
|
686
|
-
|
|
1787
|
+
/**
|
|
1788
|
+
* @class Divider component
|
|
1789
|
+
*
|
|
1790
|
+
* @remarks
|
|
1791
|
+
* This class extends the FASTDivider. A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
|
|
1792
|
+
*/
|
|
1793
|
+
export declare class Divider extends FASTDivider {
|
|
1794
|
+
/**
|
|
1795
|
+
* @property alignContent
|
|
1796
|
+
* @default center
|
|
1797
|
+
* @remarks
|
|
1798
|
+
* Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
|
|
1799
|
+
*/
|
|
1800
|
+
alignContent?: DividerAlignContent;
|
|
1801
|
+
/**
|
|
1802
|
+
* @property appearance
|
|
1803
|
+
* @default default
|
|
1804
|
+
* @remarks
|
|
1805
|
+
* A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
1806
|
+
*/
|
|
1807
|
+
appearance?: DividerAppearance;
|
|
1808
|
+
/**
|
|
1809
|
+
* @property inset
|
|
1810
|
+
* @default false
|
|
1811
|
+
* @remarks
|
|
1812
|
+
* Adds padding to the beginning and end of the divider.
|
|
1813
|
+
*/
|
|
1814
|
+
inset?: boolean;
|
|
1815
|
+
}
|
|
687
1816
|
|
|
688
|
-
|
|
1817
|
+
/**
|
|
1818
|
+
* Align content within divider
|
|
1819
|
+
* @public
|
|
1820
|
+
*/
|
|
1821
|
+
export declare const DividerAlignContent: {
|
|
1822
|
+
readonly center: "center";
|
|
1823
|
+
readonly start: "start";
|
|
1824
|
+
readonly end: "end";
|
|
1825
|
+
};
|
|
689
1826
|
|
|
690
|
-
|
|
1827
|
+
/**
|
|
1828
|
+
* The types for DividerAlignContent
|
|
1829
|
+
* @public
|
|
1830
|
+
*/
|
|
1831
|
+
export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
|
|
691
1832
|
|
|
692
|
-
|
|
1833
|
+
/**
|
|
1834
|
+
* DividerAppearance - divider color defined by a design token alias.
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
export declare const DividerAppearance: {
|
|
1838
|
+
readonly strong: "strong";
|
|
1839
|
+
readonly brand: "brand";
|
|
1840
|
+
readonly subtle: "subtle";
|
|
1841
|
+
readonly default: "default";
|
|
1842
|
+
};
|
|
693
1843
|
|
|
694
|
-
|
|
1844
|
+
/**
|
|
1845
|
+
* The types for Appearance
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
695
1849
|
|
|
696
|
-
|
|
1850
|
+
/**
|
|
1851
|
+
* The Fluent Divider Element
|
|
1852
|
+
*
|
|
1853
|
+
* @public
|
|
1854
|
+
* @remarks
|
|
1855
|
+
* HTML Element: \<fluent-divider\>
|
|
1856
|
+
*/
|
|
1857
|
+
export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
|
|
697
1858
|
|
|
698
|
-
export
|
|
1859
|
+
export { DividerOrientation }
|
|
699
1860
|
|
|
700
|
-
export
|
|
1861
|
+
export { DividerRole }
|
|
701
1862
|
|
|
702
|
-
|
|
1863
|
+
/** Divider styles
|
|
1864
|
+
* @public
|
|
1865
|
+
*/
|
|
1866
|
+
export declare const DividerStyles: ElementStyles;
|
|
703
1867
|
|
|
704
|
-
|
|
1868
|
+
/**
|
|
1869
|
+
* Template for the Divider component
|
|
1870
|
+
* @public
|
|
1871
|
+
*/
|
|
1872
|
+
export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
705
1873
|
|
|
706
|
-
export declare const
|
|
1874
|
+
export declare const durationFast: CSSDesignToken<string>;
|
|
707
1875
|
|
|
708
|
-
export declare const
|
|
1876
|
+
export declare const durationFaster: CSSDesignToken<string>;
|
|
709
1877
|
|
|
710
|
-
export declare const
|
|
1878
|
+
export declare const durationNormal: CSSDesignToken<string>;
|
|
711
1879
|
|
|
712
|
-
export declare const
|
|
1880
|
+
export declare const durationSlow: CSSDesignToken<string>;
|
|
713
1881
|
|
|
714
|
-
export declare const
|
|
1882
|
+
export declare const durationSlower: CSSDesignToken<string>;
|
|
715
1883
|
|
|
716
|
-
export declare const
|
|
1884
|
+
export declare const durationUltraFast: CSSDesignToken<string>;
|
|
717
1885
|
|
|
718
|
-
export declare const
|
|
1886
|
+
export declare const durationUltraSlow: CSSDesignToken<string>;
|
|
719
1887
|
|
|
720
|
-
export declare const
|
|
1888
|
+
export declare const FluentDesignSystem: Readonly<{
|
|
1889
|
+
prefix: "fluent";
|
|
1890
|
+
shadowRootMode: "open";
|
|
1891
|
+
registry: CustomElementRegistry;
|
|
1892
|
+
}>;
|
|
721
1893
|
|
|
722
|
-
export declare const
|
|
1894
|
+
export declare const fontFamilyBase: CSSDesignToken<string>;
|
|
723
1895
|
|
|
724
|
-
export declare const
|
|
1896
|
+
export declare const fontFamilyMonospace: CSSDesignToken<string>;
|
|
725
1897
|
|
|
726
|
-
export declare const
|
|
1898
|
+
export declare const fontFamilyNumeric: CSSDesignToken<string>;
|
|
727
1899
|
|
|
728
|
-
export declare const
|
|
1900
|
+
export declare const fontSizeBase100: CSSDesignToken<string>;
|
|
729
1901
|
|
|
730
|
-
export declare const
|
|
1902
|
+
export declare const fontSizeBase200: CSSDesignToken<string>;
|
|
731
1903
|
|
|
732
|
-
export declare const
|
|
1904
|
+
export declare const fontSizeBase300: CSSDesignToken<string>;
|
|
733
1905
|
|
|
734
|
-
export declare const
|
|
1906
|
+
export declare const fontSizeBase400: CSSDesignToken<string>;
|
|
735
1907
|
|
|
736
|
-
export declare const
|
|
1908
|
+
export declare const fontSizeBase500: CSSDesignToken<string>;
|
|
737
1909
|
|
|
738
|
-
export declare const
|
|
1910
|
+
export declare const fontSizeBase600: CSSDesignToken<string>;
|
|
739
1911
|
|
|
740
|
-
export declare const
|
|
1912
|
+
export declare const fontSizeHero1000: CSSDesignToken<string>;
|
|
741
1913
|
|
|
742
|
-
export declare const
|
|
1914
|
+
export declare const fontSizeHero700: CSSDesignToken<string>;
|
|
743
1915
|
|
|
744
|
-
export declare const
|
|
1916
|
+
export declare const fontSizeHero800: CSSDesignToken<string>;
|
|
745
1917
|
|
|
746
|
-
export declare const
|
|
1918
|
+
export declare const fontSizeHero900: CSSDesignToken<string>;
|
|
747
1919
|
|
|
748
|
-
export declare const
|
|
1920
|
+
export declare const fontWeightBold: CSSDesignToken<string>;
|
|
749
1921
|
|
|
750
|
-
export declare const
|
|
1922
|
+
export declare const fontWeightMedium: CSSDesignToken<string>;
|
|
751
1923
|
|
|
752
|
-
export declare const
|
|
1924
|
+
export declare const fontWeightRegular: CSSDesignToken<string>;
|
|
753
1925
|
|
|
754
|
-
export declare const
|
|
1926
|
+
export declare const fontWeightSemibold: CSSDesignToken<string>;
|
|
755
1927
|
|
|
756
1928
|
/**
|
|
757
|
-
* The base class used for
|
|
1929
|
+
* The base class used for constucting a fluent image custom element
|
|
758
1930
|
* @public
|
|
759
1931
|
*/
|
|
760
|
-
|
|
1932
|
+
declare class Image_2 extends FASTElement {
|
|
761
1933
|
/**
|
|
762
|
-
*
|
|
1934
|
+
* Image layout
|
|
763
1935
|
*
|
|
764
1936
|
* @public
|
|
765
1937
|
* @remarks
|
|
766
|
-
* HTML
|
|
1938
|
+
* HTML attribute: block.
|
|
767
1939
|
*/
|
|
768
|
-
|
|
1940
|
+
block?: boolean;
|
|
769
1941
|
/**
|
|
770
|
-
*
|
|
1942
|
+
* Image border
|
|
771
1943
|
*
|
|
772
1944
|
* @public
|
|
773
1945
|
* @remarks
|
|
774
|
-
* HTML
|
|
1946
|
+
* HTML attribute: border.
|
|
775
1947
|
*/
|
|
776
|
-
|
|
1948
|
+
bordered?: boolean;
|
|
777
1949
|
/**
|
|
778
|
-
*
|
|
1950
|
+
* Image shadow
|
|
779
1951
|
*
|
|
780
1952
|
* @public
|
|
781
1953
|
* @remarks
|
|
782
|
-
* HTML
|
|
1954
|
+
* HTML attribute: shadow.
|
|
783
1955
|
*/
|
|
784
|
-
|
|
1956
|
+
shadow?: boolean;
|
|
785
1957
|
/**
|
|
786
|
-
*
|
|
1958
|
+
* Image fit
|
|
787
1959
|
*
|
|
788
1960
|
* @public
|
|
789
1961
|
* @remarks
|
|
790
|
-
* HTML
|
|
1962
|
+
* HTML attribute: fit.
|
|
791
1963
|
*/
|
|
792
|
-
|
|
1964
|
+
fit?: ImageFit;
|
|
793
1965
|
/**
|
|
794
|
-
*
|
|
1966
|
+
* Image shape
|
|
795
1967
|
*
|
|
796
1968
|
* @public
|
|
797
1969
|
* @remarks
|
|
798
|
-
* HTML
|
|
1970
|
+
* HTML attribute: shape.
|
|
799
1971
|
*/
|
|
800
|
-
|
|
801
|
-
|
|
1972
|
+
shape?: ImageShape;
|
|
1973
|
+
}
|
|
1974
|
+
export { Image_2 as Image }
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* The Fluent Image Element
|
|
1978
|
+
*
|
|
1979
|
+
* @public
|
|
1980
|
+
* @remarks
|
|
1981
|
+
* HTML Element: \<fluent-image\>
|
|
1982
|
+
*/
|
|
1983
|
+
export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Image fit
|
|
1987
|
+
* @public
|
|
1988
|
+
*/
|
|
1989
|
+
export declare const ImageFit: {
|
|
1990
|
+
readonly none: "none";
|
|
1991
|
+
readonly center: "center";
|
|
1992
|
+
readonly contain: "contain";
|
|
1993
|
+
readonly cover: "cover";
|
|
1994
|
+
readonly default: "default";
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Types for image fit
|
|
1999
|
+
* @public
|
|
2000
|
+
*/
|
|
2001
|
+
export declare type ImageFit = ValuesOf<typeof ImageFit>;
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Image shape
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
export declare const ImageShape: {
|
|
2008
|
+
readonly circular: "circular";
|
|
2009
|
+
readonly rounded: "rounded";
|
|
2010
|
+
readonly square: "square";
|
|
2011
|
+
};
|
|
2012
|
+
|
|
2013
|
+
export declare type ImageShape = ValuesOf<typeof ImageShape>;
|
|
2014
|
+
|
|
2015
|
+
/** Image styles
|
|
2016
|
+
*
|
|
2017
|
+
* @public
|
|
2018
|
+
*/
|
|
2019
|
+
export declare const ImageStyles: ElementStyles;
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* Template for the Image component
|
|
2023
|
+
* @public
|
|
2024
|
+
*/
|
|
2025
|
+
export declare const ImageTemplate: ElementViewTemplate<Image_2>;
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* The base class used for constructing a fluent-label custom element
|
|
2029
|
+
* @public
|
|
2030
|
+
*/
|
|
2031
|
+
export declare class Label extends FASTElement {
|
|
802
2032
|
/**
|
|
803
|
-
*
|
|
2033
|
+
* Specifies font size of a label
|
|
804
2034
|
*
|
|
805
2035
|
* @public
|
|
2036
|
+
* @default 'medium'
|
|
806
2037
|
* @remarks
|
|
807
|
-
* HTML Attribute:
|
|
2038
|
+
* HTML Attribute: size
|
|
808
2039
|
*/
|
|
809
|
-
|
|
810
|
-
protected overflowCountChanged(): void;
|
|
2040
|
+
size?: LabelSize;
|
|
811
2041
|
/**
|
|
812
|
-
*
|
|
2042
|
+
* Specifies font weight of a label
|
|
813
2043
|
*
|
|
814
2044
|
* @public
|
|
2045
|
+
* @default 'regular'
|
|
815
2046
|
* @remarks
|
|
816
|
-
* HTML Attribute:
|
|
2047
|
+
* HTML Attribute: weight
|
|
817
2048
|
*/
|
|
818
|
-
|
|
2049
|
+
weight?: LabelWeight;
|
|
819
2050
|
/**
|
|
820
|
-
*
|
|
2051
|
+
* Specifies styles for label when associated input is disabled
|
|
821
2052
|
*
|
|
822
2053
|
* @public
|
|
823
2054
|
* @remarks
|
|
824
|
-
* HTML Attribute:
|
|
2055
|
+
* HTML Attribute: disabled
|
|
825
2056
|
*/
|
|
826
|
-
|
|
2057
|
+
disabled: boolean;
|
|
827
2058
|
/**
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
*
|
|
2059
|
+
* Specifies styles for label when associated input is a required field
|
|
2060
|
+
*
|
|
2061
|
+
* @public
|
|
2062
|
+
* @remarks
|
|
2063
|
+
* HTML Attribute: required
|
|
832
2064
|
*/
|
|
833
|
-
|
|
2065
|
+
required: boolean;
|
|
834
2066
|
}
|
|
835
2067
|
|
|
836
2068
|
/**
|
|
837
|
-
*
|
|
838
|
-
*
|
|
839
|
-
*
|
|
840
|
-
* @
|
|
2069
|
+
* The Fluent Label Element.
|
|
2070
|
+
*
|
|
2071
|
+
*
|
|
2072
|
+
* @public
|
|
2073
|
+
* @remarks
|
|
2074
|
+
* HTML Element: \<fluent-label\>
|
|
841
2075
|
*/
|
|
842
|
-
export declare
|
|
843
|
-
}
|
|
2076
|
+
export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
|
|
844
2077
|
|
|
845
2078
|
/**
|
|
846
|
-
*
|
|
2079
|
+
* A Labels font size can be small, medium, or large
|
|
2080
|
+
*/
|
|
2081
|
+
declare const LabelSize: {
|
|
2082
|
+
readonly small: "small";
|
|
2083
|
+
readonly medium: "medium";
|
|
2084
|
+
readonly large: "large";
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Applies font size to label
|
|
847
2089
|
* @public
|
|
848
2090
|
*/
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
2091
|
+
declare type LabelSize = ValuesOf<typeof LabelSize>;
|
|
2092
|
+
|
|
2093
|
+
/** Label styles
|
|
2094
|
+
* @public
|
|
2095
|
+
*/
|
|
2096
|
+
export declare const LabelStyles: ElementStyles;
|
|
2097
|
+
|
|
2098
|
+
export declare const LabelTemplate: ElementViewTemplate<Label>;
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* A label can have a font weight of regular or strong
|
|
2102
|
+
*/
|
|
2103
|
+
declare const LabelWeight: {
|
|
2104
|
+
readonly regular: "regular";
|
|
2105
|
+
readonly semibold: "semibold";
|
|
852
2106
|
};
|
|
853
2107
|
|
|
854
2108
|
/**
|
|
855
|
-
*
|
|
2109
|
+
* Applies font weight to label
|
|
856
2110
|
* @public
|
|
857
2111
|
*/
|
|
858
|
-
|
|
2112
|
+
declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
2113
|
+
|
|
2114
|
+
export declare const lineHeightBase100: CSSDesignToken<string>;
|
|
2115
|
+
|
|
2116
|
+
export declare const lineHeightBase200: CSSDesignToken<string>;
|
|
2117
|
+
|
|
2118
|
+
export declare const lineHeightBase300: CSSDesignToken<string>;
|
|
2119
|
+
|
|
2120
|
+
export declare const lineHeightBase400: CSSDesignToken<string>;
|
|
2121
|
+
|
|
2122
|
+
export declare const lineHeightBase500: CSSDesignToken<string>;
|
|
2123
|
+
|
|
2124
|
+
export declare const lineHeightBase600: CSSDesignToken<string>;
|
|
2125
|
+
|
|
2126
|
+
export declare const lineHeightHero1000: CSSDesignToken<string>;
|
|
2127
|
+
|
|
2128
|
+
export declare const lineHeightHero700: CSSDesignToken<string>;
|
|
2129
|
+
|
|
2130
|
+
export declare const lineHeightHero800: CSSDesignToken<string>;
|
|
2131
|
+
|
|
2132
|
+
export declare const lineHeightHero900: CSSDesignToken<string>;
|
|
859
2133
|
|
|
860
2134
|
/**
|
|
861
|
-
*
|
|
2135
|
+
* The base class used for constructing a fluent-menu-button custom element
|
|
862
2136
|
* @public
|
|
863
2137
|
*/
|
|
864
|
-
export declare
|
|
865
|
-
|
|
866
|
-
readonly danger: "danger";
|
|
867
|
-
readonly important: "important";
|
|
868
|
-
readonly informative: "informative";
|
|
869
|
-
readonly severe: "severe";
|
|
870
|
-
readonly subtle: "subtle";
|
|
871
|
-
readonly success: "success";
|
|
872
|
-
readonly warning: "warning";
|
|
873
|
-
};
|
|
2138
|
+
export declare class MenuButton extends Button {
|
|
2139
|
+
}
|
|
874
2140
|
|
|
875
2141
|
/**
|
|
876
|
-
*
|
|
2142
|
+
* Menu Button Appearance constants
|
|
877
2143
|
* @public
|
|
878
2144
|
*/
|
|
879
|
-
export declare
|
|
2145
|
+
export declare const MenuButtonAppearance: {
|
|
2146
|
+
readonly primary: "primary";
|
|
2147
|
+
readonly outline: "outline";
|
|
2148
|
+
readonly subtle: "subtle";
|
|
2149
|
+
readonly secondary: "secondary";
|
|
2150
|
+
readonly transparent: "transparent";
|
|
2151
|
+
};
|
|
880
2152
|
|
|
881
2153
|
/**
|
|
882
|
-
*
|
|
883
|
-
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
884
|
-
*
|
|
885
|
-
*
|
|
2154
|
+
* A Menu Button can be secondary, primary, outline, subtle, transparent
|
|
886
2155
|
* @public
|
|
887
|
-
* @remarks
|
|
888
|
-
* HTML Element: \<fluent-counter-badge\>
|
|
889
2156
|
*/
|
|
890
|
-
export declare
|
|
2157
|
+
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
891
2158
|
|
|
892
2159
|
/**
|
|
893
|
-
*
|
|
2160
|
+
* The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
2161
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
2162
|
+
*
|
|
894
2163
|
* @public
|
|
2164
|
+
* @remarks
|
|
2165
|
+
* HTML Element: \<fluent-button\>
|
|
895
2166
|
*/
|
|
896
|
-
export declare
|
|
2167
|
+
export declare const MenuButtonDefinition: FASTElementDefinition<typeof MenuButton>;
|
|
897
2168
|
|
|
898
2169
|
/**
|
|
899
|
-
* A
|
|
2170
|
+
* A Menu Button can be square, circular or rounded.
|
|
900
2171
|
* @public
|
|
901
2172
|
*/
|
|
902
|
-
export declare const
|
|
2173
|
+
export declare const MenuButtonShape: {
|
|
903
2174
|
readonly circular: "circular";
|
|
904
2175
|
readonly rounded: "rounded";
|
|
2176
|
+
readonly square: "square";
|
|
905
2177
|
};
|
|
906
2178
|
|
|
907
2179
|
/**
|
|
908
|
-
* A
|
|
2180
|
+
* A Menu Button can be square, circular or rounded
|
|
909
2181
|
* @public
|
|
910
2182
|
*/
|
|
911
|
-
export declare type
|
|
2183
|
+
export declare type MenuButtonShape = ValuesOf<typeof MenuButtonShape>;
|
|
912
2184
|
|
|
913
2185
|
/**
|
|
914
|
-
* A
|
|
2186
|
+
* A Menu Button can be a size of small, medium or large.
|
|
915
2187
|
* @public
|
|
916
2188
|
*/
|
|
917
|
-
export declare const
|
|
918
|
-
readonly tiny: "tiny";
|
|
919
|
-
readonly extraSmall: "extra-small";
|
|
2189
|
+
export declare const MenuButtonSize: {
|
|
920
2190
|
readonly small: "small";
|
|
921
2191
|
readonly medium: "medium";
|
|
922
2192
|
readonly large: "large";
|
|
923
|
-
readonly extraLarge: "extra-large";
|
|
924
2193
|
};
|
|
925
2194
|
|
|
926
2195
|
/**
|
|
927
|
-
* A
|
|
2196
|
+
* A Menu Button can be on of several preset sizes.
|
|
928
2197
|
* @public
|
|
929
2198
|
*/
|
|
930
|
-
export declare type
|
|
2199
|
+
export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
931
2200
|
|
|
932
|
-
/**
|
|
2201
|
+
/**
|
|
2202
|
+
* The template for the Button component.
|
|
933
2203
|
* @public
|
|
934
2204
|
*/
|
|
935
|
-
export declare const
|
|
2205
|
+
export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
936
2206
|
|
|
937
2207
|
/**
|
|
938
|
-
* The
|
|
2208
|
+
* The base class used for constructing a fluent-menu-item custom element
|
|
939
2209
|
* @public
|
|
940
2210
|
*/
|
|
941
|
-
export declare
|
|
942
|
-
|
|
943
|
-
export declare const curveAccelerateMax: CSSDesignToken<string>;
|
|
944
|
-
|
|
945
|
-
export declare const curveAccelerateMid: CSSDesignToken<string>;
|
|
946
|
-
|
|
947
|
-
export declare const curveAccelerateMin: CSSDesignToken<string>;
|
|
948
|
-
|
|
949
|
-
export declare const curveDecelerateMax: CSSDesignToken<string>;
|
|
950
|
-
|
|
951
|
-
export declare const curveDecelerateMid: CSSDesignToken<string>;
|
|
952
|
-
|
|
953
|
-
export declare const curveDecelerateMin: CSSDesignToken<string>;
|
|
954
|
-
|
|
955
|
-
export declare const curveEasyEase: CSSDesignToken<string>;
|
|
956
|
-
|
|
957
|
-
export declare const curveEasyEaseMax: CSSDesignToken<string>;
|
|
958
|
-
|
|
959
|
-
export declare const curveLinear: CSSDesignToken<string>;
|
|
960
|
-
|
|
961
|
-
export declare const durationFast: CSSDesignToken<string>;
|
|
962
|
-
|
|
963
|
-
export declare const durationFaster: CSSDesignToken<string>;
|
|
964
|
-
|
|
965
|
-
export declare const durationNormal: CSSDesignToken<string>;
|
|
966
|
-
|
|
967
|
-
export declare const durationSlow: CSSDesignToken<string>;
|
|
968
|
-
|
|
969
|
-
export declare const durationSlower: CSSDesignToken<string>;
|
|
970
|
-
|
|
971
|
-
export declare const durationUltraFast: CSSDesignToken<string>;
|
|
972
|
-
|
|
973
|
-
export declare const durationUltraSlow: CSSDesignToken<string>;
|
|
974
|
-
|
|
975
|
-
export declare const fontFamilyBase: CSSDesignToken<string>;
|
|
976
|
-
|
|
977
|
-
export declare const fontFamilyMonospace: CSSDesignToken<string>;
|
|
978
|
-
|
|
979
|
-
export declare const fontFamilyNumeric: CSSDesignToken<string>;
|
|
980
|
-
|
|
981
|
-
export declare const fontSizeBase100: CSSDesignToken<string>;
|
|
982
|
-
|
|
983
|
-
export declare const fontSizeBase200: CSSDesignToken<string>;
|
|
984
|
-
|
|
985
|
-
export declare const fontSizeBase300: CSSDesignToken<string>;
|
|
986
|
-
|
|
987
|
-
export declare const fontSizeBase400: CSSDesignToken<string>;
|
|
988
|
-
|
|
989
|
-
export declare const fontSizeBase500: CSSDesignToken<string>;
|
|
990
|
-
|
|
991
|
-
export declare const fontSizeBase600: CSSDesignToken<string>;
|
|
992
|
-
|
|
993
|
-
export declare const fontSizeHero1000: CSSDesignToken<string>;
|
|
994
|
-
|
|
995
|
-
export declare const fontSizeHero700: CSSDesignToken<string>;
|
|
996
|
-
|
|
997
|
-
export declare const fontSizeHero800: CSSDesignToken<string>;
|
|
998
|
-
|
|
999
|
-
export declare const fontSizeHero900: CSSDesignToken<string>;
|
|
1000
|
-
|
|
1001
|
-
export declare const fontWeightBold: CSSDesignToken<string>;
|
|
1002
|
-
|
|
1003
|
-
export declare const fontWeightMedium: CSSDesignToken<string>;
|
|
1004
|
-
|
|
1005
|
-
export declare const fontWeightRegular: CSSDesignToken<string>;
|
|
1006
|
-
|
|
1007
|
-
export declare const fontWeightSemibold: CSSDesignToken<string>;
|
|
1008
|
-
|
|
1009
|
-
export declare const lineHeightBase100: CSSDesignToken<string>;
|
|
2211
|
+
export declare class MenuItem extends FASTMenuItem {
|
|
2212
|
+
}
|
|
1010
2213
|
|
|
1011
|
-
export declare
|
|
2214
|
+
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
1012
2215
|
|
|
1013
|
-
|
|
2216
|
+
/**
|
|
2217
|
+
* The Fluent Menu Item Element. Implements {@link @microsoft/fast-foundation#MenuItem },
|
|
2218
|
+
* {@link @microsoft/fast-foundation#menuItemTemplate}
|
|
2219
|
+
*
|
|
2220
|
+
*
|
|
2221
|
+
* @public
|
|
2222
|
+
* @remarks
|
|
2223
|
+
* HTML Element: <fluent-menu-item>
|
|
2224
|
+
*/
|
|
2225
|
+
export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
|
|
1014
2226
|
|
|
1015
|
-
export
|
|
2227
|
+
export { MenuItemRole }
|
|
1016
2228
|
|
|
1017
|
-
|
|
2229
|
+
/** MenuItem styles
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
export declare const MenuItemStyles: ElementStyles;
|
|
1018
2233
|
|
|
1019
|
-
export declare const
|
|
2234
|
+
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
1020
2235
|
|
|
1021
|
-
|
|
2236
|
+
/**
|
|
2237
|
+
* The base class used for constructing a fluent-menu-list custom element
|
|
2238
|
+
* @public
|
|
2239
|
+
*/
|
|
2240
|
+
export declare class MenuList extends FASTMenu {
|
|
2241
|
+
protected setItems(): void;
|
|
2242
|
+
private static elementIndent;
|
|
2243
|
+
}
|
|
1022
2244
|
|
|
1023
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* The Fluent MenuList Element. Implements {@link @microsoft/fast-foundation#Menu },
|
|
2247
|
+
* {@link @microsoft/fast-foundation#menuTemplate}
|
|
2248
|
+
*
|
|
2249
|
+
*
|
|
2250
|
+
* @public
|
|
2251
|
+
* @remarks
|
|
2252
|
+
* HTML Element: <fluent-menu-list>
|
|
2253
|
+
*/
|
|
2254
|
+
export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
|
|
1024
2255
|
|
|
1025
|
-
|
|
2256
|
+
/** MenuList styles
|
|
2257
|
+
* @public
|
|
2258
|
+
*/
|
|
2259
|
+
export declare const MenuListStyles: ElementStyles;
|
|
1026
2260
|
|
|
1027
|
-
export declare const
|
|
2261
|
+
export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
|
|
1028
2262
|
|
|
1029
2263
|
/**
|
|
1030
2264
|
* The base class used for constructing a fluent-progress-bar custom element
|
|
1031
2265
|
* @public
|
|
1032
2266
|
*/
|
|
1033
|
-
|
|
2267
|
+
declare class ProgressBar_2 extends FASTProgress {
|
|
1034
2268
|
/**
|
|
1035
2269
|
* The thickness of the progress bar
|
|
1036
2270
|
*
|
|
@@ -1038,14 +2272,14 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1038
2272
|
* @remarks
|
|
1039
2273
|
* HTML Attribute: thickness
|
|
1040
2274
|
*/
|
|
1041
|
-
thickness
|
|
2275
|
+
thickness?: ProgressBarThickness;
|
|
1042
2276
|
/**
|
|
1043
2277
|
* The shape of the progress bar
|
|
1044
2278
|
* @public
|
|
1045
2279
|
* @remarks
|
|
1046
2280
|
* HTML Attribute: shape
|
|
1047
2281
|
*/
|
|
1048
|
-
shape
|
|
2282
|
+
shape?: ProgressBarShape;
|
|
1049
2283
|
/**
|
|
1050
2284
|
* The validation state of the progress bar
|
|
1051
2285
|
* @public
|
|
@@ -1054,6 +2288,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1054
2288
|
*/
|
|
1055
2289
|
validationState: ProgressBarValidationState | null;
|
|
1056
2290
|
}
|
|
2291
|
+
export { ProgressBar_2 as ProgressBar }
|
|
1057
2292
|
|
|
1058
2293
|
/**
|
|
1059
2294
|
* The Fluent ProgressBar Element.
|
|
@@ -1063,7 +2298,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1063
2298
|
* @remarks
|
|
1064
2299
|
* HTML Element: \<fluent-progress-bar\>
|
|
1065
2300
|
*/
|
|
1066
|
-
export declare const ProgressBarDefinition: FASTElementDefinition<typeof
|
|
2301
|
+
export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
|
|
1067
2302
|
|
|
1068
2303
|
/**
|
|
1069
2304
|
* ProgressBarShape Constants
|
|
@@ -1080,12 +2315,12 @@ export declare const ProgressBarShape: {
|
|
|
1080
2315
|
*/
|
|
1081
2316
|
export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
|
|
1082
2317
|
|
|
1083
|
-
/**
|
|
2318
|
+
/** ProgressBar styles
|
|
1084
2319
|
* @public
|
|
1085
2320
|
*/
|
|
1086
2321
|
export declare const ProgressBarStyles: ElementStyles;
|
|
1087
2322
|
|
|
1088
|
-
export declare const ProgressBarTemplate: ElementViewTemplate<
|
|
2323
|
+
export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
|
|
1089
2324
|
|
|
1090
2325
|
/**
|
|
1091
2326
|
* ProgressBarThickness Constants
|
|
@@ -1106,17 +2341,75 @@ export declare type ProgressBarThickness = ValuesOf<typeof ProgressBarThickness>
|
|
|
1106
2341
|
* ProgressBarValidationState Constants
|
|
1107
2342
|
* @public
|
|
1108
2343
|
*/
|
|
1109
|
-
export declare const ProgressBarValidationState: {
|
|
1110
|
-
readonly success: "success";
|
|
1111
|
-
readonly warning: "warning";
|
|
1112
|
-
readonly error: "error";
|
|
1113
|
-
};
|
|
2344
|
+
export declare const ProgressBarValidationState: {
|
|
2345
|
+
readonly success: "success";
|
|
2346
|
+
readonly warning: "warning";
|
|
2347
|
+
readonly error: "error";
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* Applies validation state to the content
|
|
2352
|
+
* @public
|
|
2353
|
+
*/
|
|
2354
|
+
export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* The base class used for constructing a fluent-radio custom element
|
|
2358
|
+
* @public
|
|
2359
|
+
*/
|
|
2360
|
+
export declare class Radio extends FASTRadio {
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* The Fluent Radio Element.
|
|
2365
|
+
*
|
|
2366
|
+
*
|
|
2367
|
+
* @public
|
|
2368
|
+
* @remarks
|
|
2369
|
+
* HTML Element: \<fluent-radio\>
|
|
2370
|
+
*/
|
|
2371
|
+
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* The base class used for constructing a fluent-radio-group custom element
|
|
2375
|
+
* @public
|
|
2376
|
+
*/
|
|
2377
|
+
export declare class RadioGroup extends FASTRadioGroup {
|
|
2378
|
+
/**
|
|
2379
|
+
* sets radio layout styles
|
|
2380
|
+
*
|
|
2381
|
+
* @public
|
|
2382
|
+
* @remarks
|
|
2383
|
+
* HTML Attribute: stacked
|
|
2384
|
+
*/
|
|
2385
|
+
stacked: boolean;
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* The Fluent RadioGroup Element.
|
|
2390
|
+
*
|
|
2391
|
+
*
|
|
2392
|
+
* @public
|
|
2393
|
+
* @remarks
|
|
2394
|
+
* HTML Element: \<fluent-radio-group\>
|
|
2395
|
+
*/
|
|
2396
|
+
export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
|
|
2397
|
+
|
|
2398
|
+
export { RadioGroupOrientation }
|
|
2399
|
+
|
|
2400
|
+
/** RadioGroup styles
|
|
2401
|
+
* @public
|
|
2402
|
+
*/
|
|
2403
|
+
export declare const RadioGroupStyles: ElementStyles;
|
|
1114
2404
|
|
|
1115
|
-
|
|
1116
|
-
|
|
2405
|
+
export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
|
|
2406
|
+
|
|
2407
|
+
/** Radio styles
|
|
1117
2408
|
* @public
|
|
1118
2409
|
*/
|
|
1119
|
-
export declare
|
|
2410
|
+
export declare const RadioStyles: ElementStyles;
|
|
2411
|
+
|
|
2412
|
+
export declare const RadioTemplate: ElementViewTemplate<Radio>;
|
|
1120
2413
|
|
|
1121
2414
|
/**
|
|
1122
2415
|
* Sets the theme tokens on defaultNode.
|
|
@@ -1124,6 +2417,8 @@ export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarVali
|
|
|
1124
2417
|
*/
|
|
1125
2418
|
export declare const setTheme: (theme: Theme) => void;
|
|
1126
2419
|
|
|
2420
|
+
export declare const setThemeFor: (element: FASTElement, theme: Theme) => void;
|
|
2421
|
+
|
|
1127
2422
|
export declare const shadow16: CSSDesignToken<string>;
|
|
1128
2423
|
|
|
1129
2424
|
export declare const shadow16Brand: CSSDesignToken<string>;
|
|
@@ -1148,6 +2443,63 @@ export declare const shadow8: CSSDesignToken<string>;
|
|
|
1148
2443
|
|
|
1149
2444
|
export declare const shadow8Brand: CSSDesignToken<string>;
|
|
1150
2445
|
|
|
2446
|
+
/**
|
|
2447
|
+
* The base class used for constructing a fluent-slider custom element
|
|
2448
|
+
* @public
|
|
2449
|
+
*/
|
|
2450
|
+
export declare class Slider extends FASTSlider {
|
|
2451
|
+
/**
|
|
2452
|
+
* The size of the slider
|
|
2453
|
+
* @public
|
|
2454
|
+
* @remarks
|
|
2455
|
+
* HTML Attribute: size
|
|
2456
|
+
*/
|
|
2457
|
+
size?: SliderSize;
|
|
2458
|
+
handleChange(source: any, propertyName: string): void;
|
|
2459
|
+
connectedCallback(): void;
|
|
2460
|
+
disconnectedCallback(): void;
|
|
2461
|
+
private stepStyles?;
|
|
2462
|
+
/**
|
|
2463
|
+
* Handles changes to step styling based on the step value
|
|
2464
|
+
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
2465
|
+
*/
|
|
2466
|
+
private handleStepStyles;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* The Fluent Slider Element.
|
|
2471
|
+
*
|
|
2472
|
+
*
|
|
2473
|
+
* @public
|
|
2474
|
+
* @remarks
|
|
2475
|
+
* HTML Element: \<fluent-slider\>
|
|
2476
|
+
*/
|
|
2477
|
+
export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
|
|
2478
|
+
|
|
2479
|
+
export { SliderOrientation }
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* SliderSize Constants
|
|
2483
|
+
* @public
|
|
2484
|
+
*/
|
|
2485
|
+
export declare const SliderSize: {
|
|
2486
|
+
readonly small: "small";
|
|
2487
|
+
readonly medium: "medium";
|
|
2488
|
+
};
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* Applies bar height to the slider rail and diameter to the slider thumbs
|
|
2492
|
+
* @public
|
|
2493
|
+
*/
|
|
2494
|
+
export declare type SliderSize = ValuesOf<typeof SliderSize>;
|
|
2495
|
+
|
|
2496
|
+
/** Text styles
|
|
2497
|
+
* @public
|
|
2498
|
+
*/
|
|
2499
|
+
export declare const SliderStyles: ElementStyles;
|
|
2500
|
+
|
|
2501
|
+
export declare const SliderTemplate: ElementViewTemplate<FASTSlider>;
|
|
2502
|
+
|
|
1151
2503
|
export declare const spacingHorizontalL: CSSDesignToken<string>;
|
|
1152
2504
|
|
|
1153
2505
|
export declare const spacingHorizontalM: CSSDesignToken<string>;
|
|
@@ -1205,7 +2557,7 @@ export declare class Spinner extends FASTProgressRing {
|
|
|
1205
2557
|
* @remarks
|
|
1206
2558
|
* HTML Attribute: size
|
|
1207
2559
|
*/
|
|
1208
|
-
size
|
|
2560
|
+
size?: SpinnerSize;
|
|
1209
2561
|
/**
|
|
1210
2562
|
* The appearance of the spinner
|
|
1211
2563
|
* @public
|
|
@@ -1213,7 +2565,7 @@ export declare class Spinner extends FASTProgressRing {
|
|
|
1213
2565
|
* @remarks
|
|
1214
2566
|
* HTML Attribute: appearance
|
|
1215
2567
|
*/
|
|
1216
|
-
appearance
|
|
2568
|
+
appearance?: SpinnerAppearance;
|
|
1217
2569
|
}
|
|
1218
2570
|
|
|
1219
2571
|
/**
|
|
@@ -1274,6 +2626,184 @@ export declare const strokeWidthThickest: CSSDesignToken<string>;
|
|
|
1274
2626
|
|
|
1275
2627
|
export declare const strokeWidthThin: CSSDesignToken<string>;
|
|
1276
2628
|
|
|
2629
|
+
declare const styles: ElementStyles;
|
|
2630
|
+
export { styles as ButtonStyles }
|
|
2631
|
+
export { styles as MenuButtonStyles }
|
|
2632
|
+
|
|
2633
|
+
export declare class Switch extends FASTSwitch {
|
|
2634
|
+
/**
|
|
2635
|
+
* The label position of the switch
|
|
2636
|
+
*
|
|
2637
|
+
* @public
|
|
2638
|
+
* @default 'after'
|
|
2639
|
+
* @remarks
|
|
2640
|
+
* HTML Attribute: labelposition
|
|
2641
|
+
*/
|
|
2642
|
+
labelPosition: SwitchLabelPosition | undefined;
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* The Fluent Switch Element.
|
|
2647
|
+
*
|
|
2648
|
+
* @public
|
|
2649
|
+
* @remarks
|
|
2650
|
+
* HTML Element: \<fluent-switch\>
|
|
2651
|
+
*/
|
|
2652
|
+
export declare const SwitchDefinition: FASTElementDefinition<typeof Switch>;
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* SwitchLabelPosition Constants
|
|
2656
|
+
* @public
|
|
2657
|
+
*/
|
|
2658
|
+
export declare const SwitchLabelPosition: {
|
|
2659
|
+
readonly above: "above";
|
|
2660
|
+
readonly after: "after";
|
|
2661
|
+
readonly before: "before";
|
|
2662
|
+
};
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* Applies label position
|
|
2666
|
+
* @public
|
|
2667
|
+
*/
|
|
2668
|
+
export declare type SwitchLabelPosition = ValuesOf<typeof SwitchLabelPosition>;
|
|
2669
|
+
|
|
2670
|
+
export declare const SwitchStyles: ElementStyles;
|
|
2671
|
+
|
|
2672
|
+
export declare const SwitchTemplate: ElementViewTemplate<Switch>;
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* Tab extends the FASTTab and is a child of the TabList
|
|
2676
|
+
*/
|
|
2677
|
+
export declare class Tab extends FASTTab {
|
|
2678
|
+
private styles;
|
|
2679
|
+
connectedCallback(): void;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
|
|
2683
|
+
|
|
2684
|
+
export declare class TabPanel extends FASTTabPanel {
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
2688
|
+
|
|
2689
|
+
export declare const TabPanelStyles: ElementStyles;
|
|
2690
|
+
|
|
2691
|
+
export declare const TabPanelTemplate: ElementViewTemplate<FASTTabPanel, any>;
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
* TabList extends FASTTabs and is used for constructing a fluent-tab-list custom html element.
|
|
2695
|
+
*
|
|
2696
|
+
* @class TabList component
|
|
2697
|
+
* @public
|
|
2698
|
+
*/
|
|
2699
|
+
export declare class Tabs extends FASTTabs {
|
|
2700
|
+
/**
|
|
2701
|
+
* activeTabData
|
|
2702
|
+
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
2703
|
+
*/
|
|
2704
|
+
private activeTabData;
|
|
2705
|
+
/**
|
|
2706
|
+
* previousActiveTabData
|
|
2707
|
+
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
2708
|
+
*/
|
|
2709
|
+
private previousActiveTabData;
|
|
2710
|
+
/**
|
|
2711
|
+
* activeTabOffset
|
|
2712
|
+
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
2713
|
+
*/
|
|
2714
|
+
private activeTabOffset;
|
|
2715
|
+
/**
|
|
2716
|
+
* activeTabScale
|
|
2717
|
+
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
2718
|
+
*/
|
|
2719
|
+
private activeTabScale;
|
|
2720
|
+
/**
|
|
2721
|
+
* styles
|
|
2722
|
+
* used in the class for storing the css variables required for animations
|
|
2723
|
+
*/
|
|
2724
|
+
private styles;
|
|
2725
|
+
/**
|
|
2726
|
+
* appearance
|
|
2727
|
+
* There are two modes of appearance: transparent and subtle.
|
|
2728
|
+
*/
|
|
2729
|
+
appearance?: TabsAppearance;
|
|
2730
|
+
/**
|
|
2731
|
+
* disabled
|
|
2732
|
+
* Used for disabling all click and keyboard events for the tabs, child tab elements and tab panel elements. UI styling of content and tabs will appear as "grayed out."
|
|
2733
|
+
*/
|
|
2734
|
+
disabled?: boolean;
|
|
2735
|
+
/**
|
|
2736
|
+
* size
|
|
2737
|
+
* defaults to medium.
|
|
2738
|
+
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
2739
|
+
*/
|
|
2740
|
+
size?: TabsSize;
|
|
2741
|
+
/**
|
|
2742
|
+
* calculateAnimationProperties
|
|
2743
|
+
*
|
|
2744
|
+
* Recalculates the active tab offset and scale.
|
|
2745
|
+
* These values will be applied to css variables that control the tab active indicator position animations
|
|
2746
|
+
*/
|
|
2747
|
+
private calculateAnimationProperties;
|
|
2748
|
+
/**
|
|
2749
|
+
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
2750
|
+
*/
|
|
2751
|
+
private getTabPosition;
|
|
2752
|
+
/**
|
|
2753
|
+
* getSelectedTabScale - gets the scale of the tab
|
|
2754
|
+
*/
|
|
2755
|
+
private getTabScale;
|
|
2756
|
+
/**
|
|
2757
|
+
* applyUpdatedCSSValues
|
|
2758
|
+
*
|
|
2759
|
+
* calculates and applies updated values to CSS variables
|
|
2760
|
+
* @param tab
|
|
2761
|
+
*/
|
|
2762
|
+
private applyUpdatedCSSValues;
|
|
2763
|
+
/**
|
|
2764
|
+
* animationLoop
|
|
2765
|
+
* runs through all the operations required for setting the tab active indicator to its starting location, ending location, and applying the animated css class to the tab.
|
|
2766
|
+
* @param tab
|
|
2767
|
+
*/
|
|
2768
|
+
private animationLoop;
|
|
2769
|
+
/**
|
|
2770
|
+
* setTabData
|
|
2771
|
+
* sets the data from the active tab onto the class. used for making all the animation calculations for the active tab indicator.
|
|
2772
|
+
*/
|
|
2773
|
+
private setTabData;
|
|
2774
|
+
private setTabOffsetCSSVar;
|
|
2775
|
+
private setTabScaleCSSVar;
|
|
2776
|
+
activeidChanged(oldValue: string, newValue: string): void;
|
|
2777
|
+
tabsChanged(): void;
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
export declare const TabsAppearance: {
|
|
2781
|
+
readonly subtle: "subtle";
|
|
2782
|
+
readonly transparent: "transparent";
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
2786
|
+
|
|
2787
|
+
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
2788
|
+
|
|
2789
|
+
export { TabsOrientation }
|
|
2790
|
+
|
|
2791
|
+
export declare const TabsSize: {
|
|
2792
|
+
readonly small: "small";
|
|
2793
|
+
readonly medium: "medium";
|
|
2794
|
+
readonly large: "large";
|
|
2795
|
+
};
|
|
2796
|
+
|
|
2797
|
+
export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
2798
|
+
|
|
2799
|
+
export declare const TabsStyles: ElementStyles;
|
|
2800
|
+
|
|
2801
|
+
export declare const TabsTemplate: ElementViewTemplate<FASTTabs, any>;
|
|
2802
|
+
|
|
2803
|
+
export declare const TabStyles: ElementStyles;
|
|
2804
|
+
|
|
2805
|
+
export declare const TabTemplate: ElementViewTemplate<FASTTab, any>;
|
|
2806
|
+
|
|
1277
2807
|
/**
|
|
1278
2808
|
* The base class used for constructing a fluent-text custom element
|
|
1279
2809
|
* @public
|
|
@@ -1337,7 +2867,7 @@ declare class Text_2 extends FASTElement {
|
|
|
1337
2867
|
* HTML Attribute: size
|
|
1338
2868
|
*
|
|
1339
2869
|
*/
|
|
1340
|
-
size
|
|
2870
|
+
size?: TextSize;
|
|
1341
2871
|
/**
|
|
1342
2872
|
* THe Text font
|
|
1343
2873
|
*
|
|
@@ -1345,7 +2875,7 @@ declare class Text_2 extends FASTElement {
|
|
|
1345
2875
|
* @remarks
|
|
1346
2876
|
* HTML Attribute: font
|
|
1347
2877
|
*/
|
|
1348
|
-
font
|
|
2878
|
+
font?: TextFont;
|
|
1349
2879
|
/**
|
|
1350
2880
|
* THe Text weight
|
|
1351
2881
|
*
|
|
@@ -1353,7 +2883,7 @@ declare class Text_2 extends FASTElement {
|
|
|
1353
2883
|
* @remarks
|
|
1354
2884
|
* HTML Attribute: weight
|
|
1355
2885
|
*/
|
|
1356
|
-
weight
|
|
2886
|
+
weight?: TextWeight;
|
|
1357
2887
|
/**
|
|
1358
2888
|
* THe Text align
|
|
1359
2889
|
*
|
|
@@ -1361,7 +2891,7 @@ declare class Text_2 extends FASTElement {
|
|
|
1361
2891
|
* @remarks
|
|
1362
2892
|
* HTML Attribute: align
|
|
1363
2893
|
*/
|
|
1364
|
-
align
|
|
2894
|
+
align?: TextAlign;
|
|
1365
2895
|
}
|
|
1366
2896
|
export { Text_2 as Text }
|
|
1367
2897
|
|
|
@@ -1408,6 +2938,86 @@ export declare const TextFont: {
|
|
|
1408
2938
|
*/
|
|
1409
2939
|
export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
1410
2940
|
|
|
2941
|
+
/**
|
|
2942
|
+
* The base class used for constructing a fluent-text-input custom element
|
|
2943
|
+
* @public
|
|
2944
|
+
*/
|
|
2945
|
+
export declare class TextInput extends FASTTextField {
|
|
2946
|
+
/**
|
|
2947
|
+
* Defines TextInput control size
|
|
2948
|
+
*
|
|
2949
|
+
* @public
|
|
2950
|
+
* @default 'medium'
|
|
2951
|
+
* @remarks
|
|
2952
|
+
* HTML Attribute: control-size
|
|
2953
|
+
*/
|
|
2954
|
+
controlSize?: TextInputControlSize;
|
|
2955
|
+
/**
|
|
2956
|
+
* Defines TextInput appearance.
|
|
2957
|
+
*
|
|
2958
|
+
* @public
|
|
2959
|
+
* @default 'outline'
|
|
2960
|
+
* @remarks
|
|
2961
|
+
* HTML Attribute: appearance
|
|
2962
|
+
*/
|
|
2963
|
+
appearance?: TextInputAppearance;
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* TextInput appearance constants
|
|
2968
|
+
* @public
|
|
2969
|
+
*/
|
|
2970
|
+
export declare const TextInputAppearance: {
|
|
2971
|
+
readonly outline: "outline";
|
|
2972
|
+
readonly underline: "underline";
|
|
2973
|
+
readonly filledLighter: "filled-lighter";
|
|
2974
|
+
readonly filledDarker: "filled-darker";
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
/**
|
|
2978
|
+
* Applies appearance styling to TextInput
|
|
2979
|
+
* @public
|
|
2980
|
+
*/
|
|
2981
|
+
export declare type TextInputAppearance = ValuesOf<typeof TextInputAppearance>;
|
|
2982
|
+
|
|
2983
|
+
/**
|
|
2984
|
+
* TextInput size constants
|
|
2985
|
+
* @public
|
|
2986
|
+
*/
|
|
2987
|
+
export declare const TextInputControlSize: {
|
|
2988
|
+
readonly small: "small";
|
|
2989
|
+
readonly medium: "medium";
|
|
2990
|
+
readonly large: "large";
|
|
2991
|
+
};
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* Applies size styling to TextInput
|
|
2995
|
+
* @public
|
|
2996
|
+
*/
|
|
2997
|
+
export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* The Fluent TextInput Element.
|
|
3001
|
+
*
|
|
3002
|
+
*
|
|
3003
|
+
* @public
|
|
3004
|
+
* @remarks
|
|
3005
|
+
* HTML Element: \<fluent-text-input\>
|
|
3006
|
+
*/
|
|
3007
|
+
export declare const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
|
|
3008
|
+
|
|
3009
|
+
/** TextInput styles
|
|
3010
|
+
* @public
|
|
3011
|
+
*/
|
|
3012
|
+
export declare const TextInputStyles: ElementStyles;
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* @internal
|
|
3016
|
+
*/
|
|
3017
|
+
export declare const TextInputTemplate: ElementViewTemplate<TextInput>;
|
|
3018
|
+
|
|
3019
|
+
export { TextInputType }
|
|
3020
|
+
|
|
1411
3021
|
/**
|
|
1412
3022
|
* TextSize constants
|
|
1413
3023
|
* @public
|
|
@@ -1459,4 +3069,120 @@ export declare const TextWeight: {
|
|
|
1459
3069
|
*/
|
|
1460
3070
|
export declare type TextWeight = ValuesOf<typeof TextWeight>;
|
|
1461
3071
|
|
|
3072
|
+
/**
|
|
3073
|
+
* The base class used for constructing a fluent-toggle-button custom element
|
|
3074
|
+
* @public
|
|
3075
|
+
*/
|
|
3076
|
+
export declare class ToggleButton extends Button {
|
|
3077
|
+
/**
|
|
3078
|
+
* Tracks whether the "checked" property has been changed.
|
|
3079
|
+
* This is necessary to provide consistent behavior with
|
|
3080
|
+
* normal input checkboxes
|
|
3081
|
+
*/
|
|
3082
|
+
protected dirtyChecked: boolean;
|
|
3083
|
+
/**
|
|
3084
|
+
* Provides the default checkedness of the input element
|
|
3085
|
+
* Passed down to proxy
|
|
3086
|
+
*
|
|
3087
|
+
* @public
|
|
3088
|
+
* @remarks
|
|
3089
|
+
* HTML Attribute: checked
|
|
3090
|
+
*/
|
|
3091
|
+
checkedAttribute: boolean;
|
|
3092
|
+
protected checkedAttributeChanged(): void;
|
|
3093
|
+
defaultChecked: boolean;
|
|
3094
|
+
protected defaultCheckedChanged(): void;
|
|
3095
|
+
/**
|
|
3096
|
+
* The checked state of the control.
|
|
3097
|
+
*
|
|
3098
|
+
* @public
|
|
3099
|
+
*/
|
|
3100
|
+
checked: boolean;
|
|
3101
|
+
protected checkedChanged(prev: boolean | undefined, next: boolean): void;
|
|
3102
|
+
/**
|
|
3103
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
3104
|
+
* to set the `checked` property through both property assignment and the
|
|
3105
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
3106
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3107
|
+
* and don't support IDL attribute binding.
|
|
3108
|
+
*/
|
|
3109
|
+
currentChecked: boolean;
|
|
3110
|
+
currentCheckedChanged(prev: boolean | undefined, next: boolean): void;
|
|
3111
|
+
constructor();
|
|
3112
|
+
connectedCallback(): void;
|
|
3113
|
+
disconnectedCallback(): void;
|
|
3114
|
+
/**
|
|
3115
|
+
* @internal
|
|
3116
|
+
*/
|
|
3117
|
+
protected handleToggleButtonClick: (e: MouseEvent) => void;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Toggle Button Appearance constants
|
|
3122
|
+
* @public
|
|
3123
|
+
*/
|
|
3124
|
+
export declare const ToggleButtonAppearance: {
|
|
3125
|
+
readonly primary: "primary";
|
|
3126
|
+
readonly outline: "outline";
|
|
3127
|
+
readonly subtle: "subtle";
|
|
3128
|
+
readonly secondary: "secondary";
|
|
3129
|
+
readonly transparent: "transparent";
|
|
3130
|
+
};
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* A Toggle Button can be secondary, primary, outline, subtle, transparent
|
|
3134
|
+
* @public
|
|
3135
|
+
*/
|
|
3136
|
+
export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* The Fluent Toggle Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
3140
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
3141
|
+
*
|
|
3142
|
+
* @public
|
|
3143
|
+
* @remarks
|
|
3144
|
+
* HTML Element: \<fluent-toggle-button\>
|
|
3145
|
+
*/
|
|
3146
|
+
export declare const ToggleButtonDefinition: FASTElementDefinition<typeof ToggleButton>;
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* A Toggle Button can be square, circular or rounded.
|
|
3150
|
+
* @public
|
|
3151
|
+
*/
|
|
3152
|
+
export declare const ToggleButtonShape: {
|
|
3153
|
+
readonly circular: "circular";
|
|
3154
|
+
readonly rounded: "rounded";
|
|
3155
|
+
readonly square: "square";
|
|
3156
|
+
};
|
|
3157
|
+
|
|
3158
|
+
/**
|
|
3159
|
+
* A Toggle Button can be square, circular or rounded
|
|
3160
|
+
* @public
|
|
3161
|
+
*/
|
|
3162
|
+
export declare type ToggleButtonShape = ValuesOf<typeof ToggleButtonShape>;
|
|
3163
|
+
|
|
3164
|
+
/**
|
|
3165
|
+
* A Toggle Button can be a size of small, medium or large.
|
|
3166
|
+
* @public
|
|
3167
|
+
*/
|
|
3168
|
+
export declare const ToggleButtonSize: {
|
|
3169
|
+
readonly small: "small";
|
|
3170
|
+
readonly medium: "medium";
|
|
3171
|
+
readonly large: "large";
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* A Toggle Button can be on of several preset sizes.
|
|
3176
|
+
* @public
|
|
3177
|
+
*/
|
|
3178
|
+
export declare type ToggleButtonSize = ValuesOf<typeof ToggleButtonSize>;
|
|
3179
|
+
|
|
3180
|
+
export declare const ToggleButtonStyles: ElementStyles;
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* The template for the ToggleButton component.
|
|
3184
|
+
* @public
|
|
3185
|
+
*/
|
|
3186
|
+
export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
3187
|
+
|
|
1462
3188
|
export { }
|