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