@fluentui/web-components 3.0.0-alpha.2 → 3.0.0-alpha.20
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 +541 -4
- package/CHANGELOG.md +304 -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 +10957 -3838
- package/dist/web-components.d.ts +2001 -382
- 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>;
|
|
@@ -516,520 +1166,1014 @@ export declare const colorPaletteGoldBackground2: CSSDesignToken<string>;
|
|
|
516
1166
|
|
|
517
1167
|
export declare const colorPaletteGoldBorderActive: CSSDesignToken<string>;
|
|
518
1168
|
|
|
519
|
-
export declare const colorPaletteGoldForeground2: CSSDesignToken<string>;
|
|
1169
|
+
export declare const colorPaletteGoldForeground2: CSSDesignToken<string>;
|
|
1170
|
+
|
|
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>;
|
|
520
1312
|
|
|
521
|
-
export declare const
|
|
1313
|
+
export declare const colorPaletteRedBorder2: CSSDesignToken<string>;
|
|
522
1314
|
|
|
523
|
-
export declare const
|
|
1315
|
+
export declare const colorPaletteRedBorderActive: CSSDesignToken<string>;
|
|
524
1316
|
|
|
525
|
-
export declare const
|
|
1317
|
+
export declare const colorPaletteRedForeground1: CSSDesignToken<string>;
|
|
526
1318
|
|
|
527
|
-
export declare const
|
|
1319
|
+
export declare const colorPaletteRedForeground2: CSSDesignToken<string>;
|
|
528
1320
|
|
|
529
|
-
export declare const
|
|
1321
|
+
export declare const colorPaletteRedForeground3: CSSDesignToken<string>;
|
|
530
1322
|
|
|
531
|
-
export declare const
|
|
1323
|
+
export declare const colorPaletteRedForegroundInverted: CSSDesignToken<string>;
|
|
532
1324
|
|
|
533
|
-
export declare const
|
|
1325
|
+
export declare const colorPaletteRoyalBlueBackground2: CSSDesignToken<string>;
|
|
534
1326
|
|
|
535
|
-
export declare const
|
|
1327
|
+
export declare const colorPaletteRoyalBlueBorderActive: CSSDesignToken<string>;
|
|
536
1328
|
|
|
537
|
-
export declare const
|
|
1329
|
+
export declare const colorPaletteRoyalBlueForeground2: CSSDesignToken<string>;
|
|
538
1330
|
|
|
539
|
-
export declare const
|
|
1331
|
+
export declare const colorPaletteSeafoamBackground2: CSSDesignToken<string>;
|
|
540
1332
|
|
|
541
|
-
export declare const
|
|
1333
|
+
export declare const colorPaletteSeafoamBorderActive: CSSDesignToken<string>;
|
|
542
1334
|
|
|
543
|
-
export declare const
|
|
1335
|
+
export declare const colorPaletteSeafoamForeground2: CSSDesignToken<string>;
|
|
544
1336
|
|
|
545
|
-
export declare const
|
|
1337
|
+
export declare const colorPaletteSteelBackground2: CSSDesignToken<string>;
|
|
546
1338
|
|
|
547
|
-
export declare const
|
|
1339
|
+
export declare const colorPaletteSteelBorderActive: CSSDesignToken<string>;
|
|
548
1340
|
|
|
549
|
-
export declare const
|
|
1341
|
+
export declare const colorPaletteSteelForeground2: CSSDesignToken<string>;
|
|
550
1342
|
|
|
551
|
-
export declare const
|
|
1343
|
+
export declare const colorPaletteTealBackground2: CSSDesignToken<string>;
|
|
552
1344
|
|
|
553
|
-
export declare const
|
|
1345
|
+
export declare const colorPaletteTealBorderActive: CSSDesignToken<string>;
|
|
554
1346
|
|
|
555
|
-
export declare const
|
|
1347
|
+
export declare const colorPaletteTealForeground2: CSSDesignToken<string>;
|
|
556
1348
|
|
|
557
|
-
export declare const
|
|
1349
|
+
export declare const colorPaletteYellowBackground1: CSSDesignToken<string>;
|
|
558
1350
|
|
|
559
|
-
export declare const
|
|
1351
|
+
export declare const colorPaletteYellowBackground2: CSSDesignToken<string>;
|
|
560
1352
|
|
|
561
|
-
export declare const
|
|
1353
|
+
export declare const colorPaletteYellowBackground3: CSSDesignToken<string>;
|
|
562
1354
|
|
|
563
|
-
export declare const
|
|
1355
|
+
export declare const colorPaletteYellowBorder1: CSSDesignToken<string>;
|
|
564
1356
|
|
|
565
|
-
export declare const
|
|
1357
|
+
export declare const colorPaletteYellowBorder2: CSSDesignToken<string>;
|
|
566
1358
|
|
|
567
|
-
export declare const
|
|
1359
|
+
export declare const colorPaletteYellowBorderActive: CSSDesignToken<string>;
|
|
568
1360
|
|
|
569
|
-
export declare const
|
|
1361
|
+
export declare const colorPaletteYellowForeground1: CSSDesignToken<string>;
|
|
570
1362
|
|
|
571
|
-
export declare const
|
|
1363
|
+
export declare const colorPaletteYellowForeground2: CSSDesignToken<string>;
|
|
572
1364
|
|
|
573
|
-
export declare const
|
|
1365
|
+
export declare const colorPaletteYellowForeground3: CSSDesignToken<string>;
|
|
574
1366
|
|
|
575
|
-
export declare const
|
|
1367
|
+
export declare const colorPaletteYellowForegroundInverted: CSSDesignToken<string>;
|
|
576
1368
|
|
|
577
|
-
export declare const
|
|
1369
|
+
export declare const colorScrollbarOverlay: CSSDesignToken<string>;
|
|
578
1370
|
|
|
579
|
-
export declare const
|
|
1371
|
+
export declare const colorStrokeFocus1: CSSDesignToken<string>;
|
|
580
1372
|
|
|
581
|
-
export declare const
|
|
1373
|
+
export declare const colorStrokeFocus2: CSSDesignToken<string>;
|
|
582
1374
|
|
|
583
|
-
export declare const
|
|
1375
|
+
export declare const colorSubtleBackground: CSSDesignToken<string>;
|
|
584
1376
|
|
|
585
|
-
export declare const
|
|
1377
|
+
export declare const colorSubtleBackgroundHover: CSSDesignToken<string>;
|
|
586
1378
|
|
|
587
|
-
export declare const
|
|
1379
|
+
export declare const colorSubtleBackgroundInverted: CSSDesignToken<string>;
|
|
588
1380
|
|
|
589
|
-
export declare const
|
|
1381
|
+
export declare const colorSubtleBackgroundInvertedHover: CSSDesignToken<string>;
|
|
590
1382
|
|
|
591
|
-
export declare const
|
|
1383
|
+
export declare const colorSubtleBackgroundInvertedPressed: CSSDesignToken<string>;
|
|
592
1384
|
|
|
593
|
-
export declare const
|
|
1385
|
+
export declare const colorSubtleBackgroundInvertedSelected: CSSDesignToken<string>;
|
|
594
1386
|
|
|
595
|
-
export declare const
|
|
1387
|
+
export declare const colorSubtleBackgroundLightAlphaHover: CSSDesignToken<string>;
|
|
596
1388
|
|
|
597
|
-
export declare const
|
|
1389
|
+
export declare const colorSubtleBackgroundLightAlphaPressed: CSSDesignToken<string>;
|
|
598
1390
|
|
|
599
|
-
export declare const
|
|
1391
|
+
export declare const colorSubtleBackgroundLightAlphaSelected: CSSDesignToken<string>;
|
|
600
1392
|
|
|
601
|
-
export declare const
|
|
1393
|
+
export declare const colorSubtleBackgroundPressed: CSSDesignToken<string>;
|
|
602
1394
|
|
|
603
|
-
export declare const
|
|
1395
|
+
export declare const colorSubtleBackgroundSelected: CSSDesignToken<string>;
|
|
604
1396
|
|
|
605
|
-
export declare const
|
|
1397
|
+
export declare const colorTransparentBackground: CSSDesignToken<string>;
|
|
606
1398
|
|
|
607
|
-
export declare const
|
|
1399
|
+
export declare const colorTransparentBackgroundHover: CSSDesignToken<string>;
|
|
608
1400
|
|
|
609
|
-
export declare const
|
|
1401
|
+
export declare const colorTransparentBackgroundPressed: CSSDesignToken<string>;
|
|
610
1402
|
|
|
611
|
-
export declare const
|
|
1403
|
+
export declare const colorTransparentBackgroundSelected: CSSDesignToken<string>;
|
|
612
1404
|
|
|
613
|
-
export declare const
|
|
1405
|
+
export declare const colorTransparentStroke: CSSDesignToken<string>;
|
|
614
1406
|
|
|
615
|
-
export declare const
|
|
1407
|
+
export declare const colorTransparentStrokeDisabled: CSSDesignToken<string>;
|
|
616
1408
|
|
|
617
|
-
export declare const
|
|
1409
|
+
export declare const colorTransparentStrokeInteractive: CSSDesignToken<string>;
|
|
618
1410
|
|
|
619
|
-
|
|
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
|
+
}
|
|
620
1417
|
|
|
621
|
-
|
|
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
|
+
};
|
|
622
1429
|
|
|
623
|
-
|
|
1430
|
+
/**
|
|
1431
|
+
* A Compound Button can be secondary, primary, outline, subtle, transparent
|
|
1432
|
+
* @public
|
|
1433
|
+
*/
|
|
1434
|
+
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
624
1435
|
|
|
625
|
-
|
|
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>;
|
|
626
1445
|
|
|
627
|
-
|
|
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
|
+
};
|
|
628
1455
|
|
|
629
|
-
|
|
1456
|
+
/**
|
|
1457
|
+
* A Compound Button can be square, circular or rounded
|
|
1458
|
+
* @public
|
|
1459
|
+
*/
|
|
1460
|
+
export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
|
|
630
1461
|
|
|
631
|
-
|
|
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
|
+
};
|
|
632
1475
|
|
|
633
|
-
|
|
1476
|
+
/**
|
|
1477
|
+
* A Compound Button can be on of several preset sizes.
|
|
1478
|
+
* @public
|
|
1479
|
+
*/
|
|
1480
|
+
export declare type CompoundButtonSize = ValuesOf<typeof CompoundButtonSize>;
|
|
634
1481
|
|
|
635
|
-
export declare const
|
|
1482
|
+
export declare const CompoundButtonStyles: ElementStyles;
|
|
636
1483
|
|
|
637
|
-
|
|
1484
|
+
/**
|
|
1485
|
+
* The template for the Button component.
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
638
1489
|
|
|
639
|
-
|
|
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
|
+
}
|
|
640
1569
|
|
|
641
|
-
|
|
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
|
+
}
|
|
642
1578
|
|
|
643
|
-
|
|
1579
|
+
/**
|
|
1580
|
+
* CounterBadgeAppearance constants
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
export declare const CounterBadgeAppearance: {
|
|
1584
|
+
readonly filled: "filled";
|
|
1585
|
+
readonly ghost: "ghost";
|
|
1586
|
+
};
|
|
644
1587
|
|
|
645
|
-
|
|
1588
|
+
/**
|
|
1589
|
+
* A CounterBadge can have an appearance of filled or ghost
|
|
1590
|
+
* @public
|
|
1591
|
+
*/
|
|
1592
|
+
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
646
1593
|
|
|
647
|
-
|
|
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
|
+
};
|
|
648
1608
|
|
|
649
|
-
|
|
1609
|
+
/**
|
|
1610
|
+
* A CounterBadge can be one of preset colors
|
|
1611
|
+
* @public
|
|
1612
|
+
*/
|
|
1613
|
+
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
650
1614
|
|
|
651
|
-
|
|
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>;
|
|
652
1625
|
|
|
653
|
-
|
|
1626
|
+
/**
|
|
1627
|
+
* CounterBadge options
|
|
1628
|
+
* @public
|
|
1629
|
+
*/
|
|
1630
|
+
export declare type CounterBadgeOptions = BadgeOptions;
|
|
654
1631
|
|
|
655
|
-
|
|
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
|
+
};
|
|
656
1640
|
|
|
657
|
-
|
|
1641
|
+
/**
|
|
1642
|
+
* A CounterBadge can be one of preset colors
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1645
|
+
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
658
1646
|
|
|
659
|
-
|
|
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
|
+
};
|
|
660
1659
|
|
|
661
|
-
|
|
1660
|
+
/**
|
|
1661
|
+
* A CounterBadge can be on of several preset sizes.
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
662
1665
|
|
|
663
|
-
|
|
1666
|
+
/** Badge styles
|
|
1667
|
+
* @public
|
|
1668
|
+
*/
|
|
1669
|
+
export declare const CounterBadgeStyles: ElementStyles;
|
|
664
1670
|
|
|
665
|
-
|
|
1671
|
+
/**
|
|
1672
|
+
* The template for the Counter Badge component.
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
666
1676
|
|
|
667
|
-
export declare const
|
|
1677
|
+
export declare const curveAccelerateMax: CSSDesignToken<string>;
|
|
668
1678
|
|
|
669
|
-
export declare const
|
|
1679
|
+
export declare const curveAccelerateMid: CSSDesignToken<string>;
|
|
670
1680
|
|
|
671
|
-
export declare const
|
|
1681
|
+
export declare const curveAccelerateMin: CSSDesignToken<string>;
|
|
672
1682
|
|
|
673
|
-
export declare const
|
|
1683
|
+
export declare const curveDecelerateMax: CSSDesignToken<string>;
|
|
674
1684
|
|
|
675
|
-
export declare const
|
|
1685
|
+
export declare const curveDecelerateMid: CSSDesignToken<string>;
|
|
676
1686
|
|
|
677
|
-
export declare const
|
|
1687
|
+
export declare const curveDecelerateMin: CSSDesignToken<string>;
|
|
678
1688
|
|
|
679
|
-
export declare const
|
|
1689
|
+
export declare const curveEasyEase: CSSDesignToken<string>;
|
|
680
1690
|
|
|
681
|
-
export declare const
|
|
1691
|
+
export declare const curveEasyEaseMax: CSSDesignToken<string>;
|
|
682
1692
|
|
|
683
|
-
export declare const
|
|
1693
|
+
export declare const curveLinear: CSSDesignToken<string>;
|
|
684
1694
|
|
|
685
|
-
|
|
1695
|
+
/**
|
|
1696
|
+
* The Fluent Switch Element.
|
|
1697
|
+
*
|
|
1698
|
+
* @public
|
|
1699
|
+
* @remarks
|
|
1700
|
+
* HTML Element: \<fluent-switch\>
|
|
1701
|
+
*/
|
|
1702
|
+
export declare const definition: FASTElementDefinition<typeof Switch>;
|
|
686
1703
|
|
|
687
|
-
|
|
1704
|
+
/**
|
|
1705
|
+
* @class Divider component
|
|
1706
|
+
*
|
|
1707
|
+
* @remarks
|
|
1708
|
+
* 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.
|
|
1709
|
+
*/
|
|
1710
|
+
export declare class Divider extends FASTDivider {
|
|
1711
|
+
/**
|
|
1712
|
+
* @property alignContent
|
|
1713
|
+
* @default center
|
|
1714
|
+
* @remarks
|
|
1715
|
+
* 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.
|
|
1716
|
+
*/
|
|
1717
|
+
alignContent?: DividerAlignContent;
|
|
1718
|
+
/**
|
|
1719
|
+
* @property appearance
|
|
1720
|
+
* @default default
|
|
1721
|
+
* @remarks
|
|
1722
|
+
* A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
1723
|
+
*/
|
|
1724
|
+
appearance?: DividerAppearance;
|
|
1725
|
+
/**
|
|
1726
|
+
* @property inset
|
|
1727
|
+
* @default false
|
|
1728
|
+
* @remarks
|
|
1729
|
+
* Adds padding to the beginning and end of the divider.
|
|
1730
|
+
*/
|
|
1731
|
+
inset?: boolean;
|
|
1732
|
+
}
|
|
688
1733
|
|
|
689
|
-
|
|
1734
|
+
/**
|
|
1735
|
+
* Align content within divider
|
|
1736
|
+
* @public
|
|
1737
|
+
*/
|
|
1738
|
+
export declare const DividerAlignContent: {
|
|
1739
|
+
readonly center: "center";
|
|
1740
|
+
readonly start: "start";
|
|
1741
|
+
readonly end: "end";
|
|
1742
|
+
};
|
|
690
1743
|
|
|
691
|
-
|
|
1744
|
+
/**
|
|
1745
|
+
* The types for DividerAlignContent
|
|
1746
|
+
* @public
|
|
1747
|
+
*/
|
|
1748
|
+
export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
|
|
692
1749
|
|
|
693
|
-
|
|
1750
|
+
/**
|
|
1751
|
+
* DividerAppearance - divider color defined by a design token alias.
|
|
1752
|
+
* @public
|
|
1753
|
+
*/
|
|
1754
|
+
export declare const DividerAppearance: {
|
|
1755
|
+
readonly strong: "strong";
|
|
1756
|
+
readonly brand: "brand";
|
|
1757
|
+
readonly subtle: "subtle";
|
|
1758
|
+
readonly default: "default";
|
|
1759
|
+
};
|
|
694
1760
|
|
|
695
|
-
|
|
1761
|
+
/**
|
|
1762
|
+
* The types for Appearance
|
|
1763
|
+
* @public
|
|
1764
|
+
*/
|
|
1765
|
+
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
696
1766
|
|
|
697
|
-
|
|
1767
|
+
/**
|
|
1768
|
+
* The Fluent Divider Element
|
|
1769
|
+
*
|
|
1770
|
+
* @public
|
|
1771
|
+
* @remarks
|
|
1772
|
+
* HTML Element: \<fluent-divider\>
|
|
1773
|
+
*/
|
|
1774
|
+
export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
|
|
698
1775
|
|
|
699
|
-
export
|
|
1776
|
+
export { DividerOrientation }
|
|
700
1777
|
|
|
701
|
-
export
|
|
1778
|
+
export { DividerRole }
|
|
702
1779
|
|
|
703
|
-
|
|
1780
|
+
/** Divider styles
|
|
1781
|
+
* @public
|
|
1782
|
+
*/
|
|
1783
|
+
export declare const DividerStyles: ElementStyles;
|
|
704
1784
|
|
|
705
|
-
|
|
1785
|
+
/**
|
|
1786
|
+
* Template for the Divider component
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
706
1790
|
|
|
707
|
-
export declare const
|
|
1791
|
+
export declare const durationFast: CSSDesignToken<string>;
|
|
708
1792
|
|
|
709
|
-
export declare const
|
|
1793
|
+
export declare const durationFaster: CSSDesignToken<string>;
|
|
710
1794
|
|
|
711
|
-
export declare const
|
|
1795
|
+
export declare const durationNormal: CSSDesignToken<string>;
|
|
712
1796
|
|
|
713
|
-
export declare const
|
|
1797
|
+
export declare const durationSlow: CSSDesignToken<string>;
|
|
714
1798
|
|
|
715
|
-
export declare const
|
|
1799
|
+
export declare const durationSlower: CSSDesignToken<string>;
|
|
716
1800
|
|
|
717
|
-
export declare const
|
|
1801
|
+
export declare const durationUltraFast: CSSDesignToken<string>;
|
|
718
1802
|
|
|
719
|
-
export declare const
|
|
1803
|
+
export declare const durationUltraSlow: CSSDesignToken<string>;
|
|
720
1804
|
|
|
721
|
-
export declare const
|
|
1805
|
+
export declare const fontFamilyBase: CSSDesignToken<string>;
|
|
722
1806
|
|
|
723
|
-
export declare const
|
|
1807
|
+
export declare const fontFamilyMonospace: CSSDesignToken<string>;
|
|
724
1808
|
|
|
725
|
-
export declare const
|
|
1809
|
+
export declare const fontFamilyNumeric: CSSDesignToken<string>;
|
|
726
1810
|
|
|
727
|
-
export declare const
|
|
1811
|
+
export declare const fontSizeBase100: CSSDesignToken<string>;
|
|
728
1812
|
|
|
729
|
-
export declare const
|
|
1813
|
+
export declare const fontSizeBase200: CSSDesignToken<string>;
|
|
730
1814
|
|
|
731
|
-
export declare const
|
|
1815
|
+
export declare const fontSizeBase300: CSSDesignToken<string>;
|
|
732
1816
|
|
|
733
|
-
export declare const
|
|
1817
|
+
export declare const fontSizeBase400: CSSDesignToken<string>;
|
|
734
1818
|
|
|
735
|
-
export declare const
|
|
1819
|
+
export declare const fontSizeBase500: CSSDesignToken<string>;
|
|
736
1820
|
|
|
737
|
-
export declare const
|
|
1821
|
+
export declare const fontSizeBase600: CSSDesignToken<string>;
|
|
738
1822
|
|
|
739
|
-
export declare const
|
|
1823
|
+
export declare const fontSizeHero1000: CSSDesignToken<string>;
|
|
740
1824
|
|
|
741
|
-
export declare const
|
|
1825
|
+
export declare const fontSizeHero700: CSSDesignToken<string>;
|
|
742
1826
|
|
|
743
|
-
export declare const
|
|
1827
|
+
export declare const fontSizeHero800: CSSDesignToken<string>;
|
|
744
1828
|
|
|
745
|
-
export declare const
|
|
1829
|
+
export declare const fontSizeHero900: CSSDesignToken<string>;
|
|
746
1830
|
|
|
747
|
-
export declare const
|
|
1831
|
+
export declare const fontWeightBold: CSSDesignToken<string>;
|
|
748
1832
|
|
|
749
|
-
export declare const
|
|
1833
|
+
export declare const fontWeightMedium: CSSDesignToken<string>;
|
|
750
1834
|
|
|
751
|
-
export declare const
|
|
1835
|
+
export declare const fontWeightRegular: CSSDesignToken<string>;
|
|
752
1836
|
|
|
753
|
-
export declare const
|
|
1837
|
+
export declare const fontWeightSemibold: CSSDesignToken<string>;
|
|
754
1838
|
|
|
755
1839
|
/**
|
|
756
|
-
* The base class used for
|
|
1840
|
+
* The base class used for constucting a fluent image custom element
|
|
757
1841
|
* @public
|
|
758
1842
|
*/
|
|
759
|
-
|
|
1843
|
+
declare class Image_2 extends FASTElement {
|
|
760
1844
|
/**
|
|
761
|
-
*
|
|
1845
|
+
* Image layout
|
|
762
1846
|
*
|
|
763
1847
|
* @public
|
|
764
1848
|
* @remarks
|
|
765
|
-
* HTML
|
|
1849
|
+
* HTML attribute: block.
|
|
766
1850
|
*/
|
|
767
|
-
|
|
1851
|
+
block?: boolean;
|
|
768
1852
|
/**
|
|
769
|
-
*
|
|
1853
|
+
* Image border
|
|
770
1854
|
*
|
|
771
1855
|
* @public
|
|
772
1856
|
* @remarks
|
|
773
|
-
* HTML
|
|
1857
|
+
* HTML attribute: border.
|
|
774
1858
|
*/
|
|
775
|
-
|
|
1859
|
+
bordered?: boolean;
|
|
776
1860
|
/**
|
|
777
|
-
*
|
|
1861
|
+
* Image shadow
|
|
778
1862
|
*
|
|
779
1863
|
* @public
|
|
780
1864
|
* @remarks
|
|
781
|
-
* HTML
|
|
1865
|
+
* HTML attribute: shadow.
|
|
782
1866
|
*/
|
|
783
|
-
|
|
1867
|
+
shadow?: boolean;
|
|
784
1868
|
/**
|
|
785
|
-
*
|
|
1869
|
+
* Image fit
|
|
786
1870
|
*
|
|
787
1871
|
* @public
|
|
788
1872
|
* @remarks
|
|
789
|
-
* HTML
|
|
1873
|
+
* HTML attribute: fit.
|
|
790
1874
|
*/
|
|
791
|
-
|
|
1875
|
+
fit?: ImageFit;
|
|
792
1876
|
/**
|
|
793
|
-
*
|
|
1877
|
+
* Image shape
|
|
794
1878
|
*
|
|
795
1879
|
* @public
|
|
796
1880
|
* @remarks
|
|
797
|
-
* HTML
|
|
1881
|
+
* HTML attribute: shape.
|
|
798
1882
|
*/
|
|
799
|
-
|
|
800
|
-
|
|
1883
|
+
shape?: ImageShape;
|
|
1884
|
+
}
|
|
1885
|
+
export { Image_2 as Image }
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* The Fluent Image Element
|
|
1889
|
+
*
|
|
1890
|
+
* @public
|
|
1891
|
+
* @remarks
|
|
1892
|
+
* HTML Element: \<fluent-image\>
|
|
1893
|
+
*/
|
|
1894
|
+
export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Image fit
|
|
1898
|
+
* @public
|
|
1899
|
+
*/
|
|
1900
|
+
export declare const ImageFit: {
|
|
1901
|
+
readonly none: "none";
|
|
1902
|
+
readonly center: "center";
|
|
1903
|
+
readonly contain: "contain";
|
|
1904
|
+
readonly cover: "cover";
|
|
1905
|
+
readonly default: "default";
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* Types for image fit
|
|
1910
|
+
* @public
|
|
1911
|
+
*/
|
|
1912
|
+
export declare type ImageFit = ValuesOf<typeof ImageFit>;
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Image shape
|
|
1916
|
+
* @public
|
|
1917
|
+
*/
|
|
1918
|
+
export declare const ImageShape: {
|
|
1919
|
+
readonly circular: "circular";
|
|
1920
|
+
readonly rounded: "rounded";
|
|
1921
|
+
readonly square: "square";
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
export declare type ImageShape = ValuesOf<typeof ImageShape>;
|
|
1925
|
+
|
|
1926
|
+
/** Image styles
|
|
1927
|
+
*
|
|
1928
|
+
* @public
|
|
1929
|
+
*/
|
|
1930
|
+
export declare const ImageStyles: ElementStyles;
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* Template for the Image component
|
|
1934
|
+
* @public
|
|
1935
|
+
*/
|
|
1936
|
+
export declare const ImageTemplate: ElementViewTemplate<Image_2>;
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* The base class used for constructing a fluent-label custom element
|
|
1940
|
+
* @public
|
|
1941
|
+
*/
|
|
1942
|
+
export declare class Label extends FASTElement {
|
|
801
1943
|
/**
|
|
802
|
-
*
|
|
1944
|
+
* Specifies font size of a label
|
|
803
1945
|
*
|
|
804
1946
|
* @public
|
|
1947
|
+
* @default 'medium'
|
|
805
1948
|
* @remarks
|
|
806
|
-
* HTML Attribute:
|
|
1949
|
+
* HTML Attribute: size
|
|
807
1950
|
*/
|
|
808
|
-
|
|
809
|
-
protected overflowCountChanged(): void;
|
|
1951
|
+
size?: LabelSize;
|
|
810
1952
|
/**
|
|
811
|
-
*
|
|
1953
|
+
* Specifies font weight of a label
|
|
812
1954
|
*
|
|
813
1955
|
* @public
|
|
1956
|
+
* @default 'regular'
|
|
814
1957
|
* @remarks
|
|
815
|
-
* HTML Attribute:
|
|
1958
|
+
* HTML Attribute: weight
|
|
816
1959
|
*/
|
|
817
|
-
|
|
1960
|
+
weight?: LabelWeight;
|
|
818
1961
|
/**
|
|
819
|
-
*
|
|
1962
|
+
* Specifies styles for label when associated input is disabled
|
|
820
1963
|
*
|
|
821
1964
|
* @public
|
|
822
1965
|
* @remarks
|
|
823
|
-
* HTML Attribute:
|
|
1966
|
+
* HTML Attribute: disabled
|
|
824
1967
|
*/
|
|
825
|
-
|
|
1968
|
+
disabled: boolean;
|
|
826
1969
|
/**
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
1970
|
+
* Specifies styles for label when associated input is a required field
|
|
1971
|
+
*
|
|
1972
|
+
* @public
|
|
1973
|
+
* @remarks
|
|
1974
|
+
* HTML Attribute: required
|
|
831
1975
|
*/
|
|
832
|
-
|
|
1976
|
+
required: boolean;
|
|
833
1977
|
}
|
|
834
1978
|
|
|
835
1979
|
/**
|
|
836
|
-
*
|
|
837
|
-
*
|
|
838
|
-
*
|
|
839
|
-
* @
|
|
1980
|
+
* The Fluent Label Element.
|
|
1981
|
+
*
|
|
1982
|
+
*
|
|
1983
|
+
* @public
|
|
1984
|
+
* @remarks
|
|
1985
|
+
* HTML Element: \<fluent-label\>
|
|
840
1986
|
*/
|
|
841
|
-
export declare
|
|
842
|
-
}
|
|
1987
|
+
export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
|
|
843
1988
|
|
|
844
1989
|
/**
|
|
845
|
-
*
|
|
1990
|
+
* A Labels font size can be small, medium, or large
|
|
1991
|
+
*/
|
|
1992
|
+
declare const LabelSize: {
|
|
1993
|
+
readonly small: "small";
|
|
1994
|
+
readonly medium: "medium";
|
|
1995
|
+
readonly large: "large";
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Applies font size to label
|
|
846
2000
|
* @public
|
|
847
2001
|
*/
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
2002
|
+
declare type LabelSize = ValuesOf<typeof LabelSize>;
|
|
2003
|
+
|
|
2004
|
+
/** Label styles
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
export declare const LabelStyles: ElementStyles;
|
|
2008
|
+
|
|
2009
|
+
export declare const LabelTemplate: ElementViewTemplate<Label>;
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* A label can have a font weight of regular or strong
|
|
2013
|
+
*/
|
|
2014
|
+
declare const LabelWeight: {
|
|
2015
|
+
readonly regular: "regular";
|
|
2016
|
+
readonly semibold: "semibold";
|
|
851
2017
|
};
|
|
852
2018
|
|
|
853
2019
|
/**
|
|
854
|
-
*
|
|
2020
|
+
* Applies font weight to label
|
|
855
2021
|
* @public
|
|
856
2022
|
*/
|
|
857
|
-
|
|
2023
|
+
declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
2024
|
+
|
|
2025
|
+
export declare const lineHeightBase100: CSSDesignToken<string>;
|
|
2026
|
+
|
|
2027
|
+
export declare const lineHeightBase200: CSSDesignToken<string>;
|
|
2028
|
+
|
|
2029
|
+
export declare const lineHeightBase300: CSSDesignToken<string>;
|
|
2030
|
+
|
|
2031
|
+
export declare const lineHeightBase400: CSSDesignToken<string>;
|
|
2032
|
+
|
|
2033
|
+
export declare const lineHeightBase500: CSSDesignToken<string>;
|
|
2034
|
+
|
|
2035
|
+
export declare const lineHeightBase600: CSSDesignToken<string>;
|
|
2036
|
+
|
|
2037
|
+
export declare const lineHeightHero1000: CSSDesignToken<string>;
|
|
2038
|
+
|
|
2039
|
+
export declare const lineHeightHero700: CSSDesignToken<string>;
|
|
2040
|
+
|
|
2041
|
+
export declare const lineHeightHero800: CSSDesignToken<string>;
|
|
2042
|
+
|
|
2043
|
+
export declare const lineHeightHero900: CSSDesignToken<string>;
|
|
858
2044
|
|
|
859
2045
|
/**
|
|
860
|
-
*
|
|
2046
|
+
* The base class used for constructing a fluent-menu-button custom element
|
|
861
2047
|
* @public
|
|
862
2048
|
*/
|
|
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
|
-
};
|
|
2049
|
+
export declare class MenuButton extends Button {
|
|
2050
|
+
}
|
|
873
2051
|
|
|
874
2052
|
/**
|
|
875
|
-
*
|
|
2053
|
+
* Menu Button Appearance constants
|
|
876
2054
|
* @public
|
|
877
2055
|
*/
|
|
878
|
-
export declare
|
|
2056
|
+
export declare const MenuButtonAppearance: {
|
|
2057
|
+
readonly primary: "primary";
|
|
2058
|
+
readonly outline: "outline";
|
|
2059
|
+
readonly subtle: "subtle";
|
|
2060
|
+
readonly secondary: "secondary";
|
|
2061
|
+
readonly transparent: "transparent";
|
|
2062
|
+
};
|
|
879
2063
|
|
|
880
2064
|
/**
|
|
881
|
-
*
|
|
882
|
-
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
883
|
-
*
|
|
884
|
-
*
|
|
2065
|
+
* A Menu Button can be secondary, primary, outline, subtle, transparent
|
|
885
2066
|
* @public
|
|
886
|
-
* @remarks
|
|
887
|
-
* HTML Element: \<fluent-counter-badge\>
|
|
888
2067
|
*/
|
|
889
|
-
export declare
|
|
2068
|
+
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
890
2069
|
|
|
891
2070
|
/**
|
|
892
|
-
*
|
|
2071
|
+
* The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
2072
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
2073
|
+
*
|
|
893
2074
|
* @public
|
|
2075
|
+
* @remarks
|
|
2076
|
+
* HTML Element: \<fluent-button\>
|
|
894
2077
|
*/
|
|
895
|
-
export declare
|
|
2078
|
+
export declare const MenuButtonDefinition: FASTElementDefinition<typeof MenuButton>;
|
|
896
2079
|
|
|
897
2080
|
/**
|
|
898
|
-
* A
|
|
2081
|
+
* A Menu Button can be square, circular or rounded.
|
|
899
2082
|
* @public
|
|
900
2083
|
*/
|
|
901
|
-
export declare const
|
|
2084
|
+
export declare const MenuButtonShape: {
|
|
902
2085
|
readonly circular: "circular";
|
|
903
2086
|
readonly rounded: "rounded";
|
|
2087
|
+
readonly square: "square";
|
|
904
2088
|
};
|
|
905
2089
|
|
|
906
2090
|
/**
|
|
907
|
-
* A
|
|
2091
|
+
* A Menu Button can be square, circular or rounded
|
|
908
2092
|
* @public
|
|
909
2093
|
*/
|
|
910
|
-
export declare type
|
|
2094
|
+
export declare type MenuButtonShape = ValuesOf<typeof MenuButtonShape>;
|
|
911
2095
|
|
|
912
2096
|
/**
|
|
913
|
-
* A
|
|
2097
|
+
* A Menu Button can be a size of small, medium or large.
|
|
914
2098
|
* @public
|
|
915
2099
|
*/
|
|
916
|
-
export declare const
|
|
917
|
-
readonly tiny: "tiny";
|
|
918
|
-
readonly extraSmall: "extra-small";
|
|
2100
|
+
export declare const MenuButtonSize: {
|
|
919
2101
|
readonly small: "small";
|
|
920
2102
|
readonly medium: "medium";
|
|
921
2103
|
readonly large: "large";
|
|
922
|
-
readonly extraLarge: "extra-large";
|
|
923
2104
|
};
|
|
924
2105
|
|
|
925
2106
|
/**
|
|
926
|
-
* A
|
|
2107
|
+
* A Menu Button can be on of several preset sizes.
|
|
927
2108
|
* @public
|
|
928
2109
|
*/
|
|
929
|
-
export declare type
|
|
2110
|
+
export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
930
2111
|
|
|
931
|
-
/**
|
|
2112
|
+
/**
|
|
2113
|
+
* The template for the Button component.
|
|
932
2114
|
* @public
|
|
933
2115
|
*/
|
|
934
|
-
export declare const
|
|
2116
|
+
export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
935
2117
|
|
|
936
2118
|
/**
|
|
937
|
-
* The
|
|
2119
|
+
* The base class used for constructing a fluent-menu-item custom element
|
|
938
2120
|
* @public
|
|
939
2121
|
*/
|
|
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>;
|
|
2122
|
+
export declare class MenuItem extends FASTMenuItem {
|
|
2123
|
+
}
|
|
1011
2124
|
|
|
1012
|
-
export declare
|
|
2125
|
+
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
1013
2126
|
|
|
1014
|
-
|
|
2127
|
+
/**
|
|
2128
|
+
* The Fluent Menu Item Element. Implements {@link @microsoft/fast-foundation#MenuItem },
|
|
2129
|
+
* {@link @microsoft/fast-foundation#menuItemTemplate}
|
|
2130
|
+
*
|
|
2131
|
+
*
|
|
2132
|
+
* @public
|
|
2133
|
+
* @remarks
|
|
2134
|
+
* HTML Element: <fluent-menu-item>
|
|
2135
|
+
*/
|
|
2136
|
+
export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
|
|
1015
2137
|
|
|
1016
|
-
|
|
2138
|
+
/** MenuItem styles
|
|
2139
|
+
* @public
|
|
2140
|
+
*/
|
|
2141
|
+
export declare const MenuItemStyles: ElementStyles;
|
|
1017
2142
|
|
|
1018
|
-
export declare const
|
|
2143
|
+
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
1019
2144
|
|
|
1020
|
-
|
|
2145
|
+
/**
|
|
2146
|
+
* The base class used for constructing a fluent-menu-list custom element
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
export declare class MenuList extends FASTMenu {
|
|
2150
|
+
protected setItems(): void;
|
|
2151
|
+
private static elementIndent;
|
|
2152
|
+
}
|
|
1021
2153
|
|
|
1022
|
-
|
|
2154
|
+
/**
|
|
2155
|
+
* The Fluent MenuList Element. Implements {@link @microsoft/fast-foundation#Menu },
|
|
2156
|
+
* {@link @microsoft/fast-foundation#menuTemplate}
|
|
2157
|
+
*
|
|
2158
|
+
*
|
|
2159
|
+
* @public
|
|
2160
|
+
* @remarks
|
|
2161
|
+
* HTML Element: <fluent-menu-list>
|
|
2162
|
+
*/
|
|
2163
|
+
export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
|
|
1023
2164
|
|
|
1024
|
-
|
|
2165
|
+
/** MenuList styles
|
|
2166
|
+
* @public
|
|
2167
|
+
*/
|
|
2168
|
+
export declare const MenuListStyles: ElementStyles;
|
|
1025
2169
|
|
|
1026
|
-
export declare const
|
|
2170
|
+
export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
|
|
1027
2171
|
|
|
1028
2172
|
/**
|
|
1029
2173
|
* The base class used for constructing a fluent-progress-bar custom element
|
|
1030
2174
|
* @public
|
|
1031
2175
|
*/
|
|
1032
|
-
|
|
2176
|
+
declare class ProgressBar_2 extends FASTProgress {
|
|
1033
2177
|
/**
|
|
1034
2178
|
* The thickness of the progress bar
|
|
1035
2179
|
*
|
|
@@ -1037,14 +2181,14 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1037
2181
|
* @remarks
|
|
1038
2182
|
* HTML Attribute: thickness
|
|
1039
2183
|
*/
|
|
1040
|
-
thickness
|
|
2184
|
+
thickness?: ProgressBarThickness;
|
|
1041
2185
|
/**
|
|
1042
2186
|
* The shape of the progress bar
|
|
1043
2187
|
* @public
|
|
1044
2188
|
* @remarks
|
|
1045
2189
|
* HTML Attribute: shape
|
|
1046
2190
|
*/
|
|
1047
|
-
shape
|
|
2191
|
+
shape?: ProgressBarShape;
|
|
1048
2192
|
/**
|
|
1049
2193
|
* The validation state of the progress bar
|
|
1050
2194
|
* @public
|
|
@@ -1053,6 +2197,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1053
2197
|
*/
|
|
1054
2198
|
validationState: ProgressBarValidationState | null;
|
|
1055
2199
|
}
|
|
2200
|
+
export { ProgressBar_2 as ProgressBar }
|
|
1056
2201
|
|
|
1057
2202
|
/**
|
|
1058
2203
|
* The Fluent ProgressBar Element.
|
|
@@ -1062,7 +2207,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1062
2207
|
* @remarks
|
|
1063
2208
|
* HTML Element: \<fluent-progress-bar\>
|
|
1064
2209
|
*/
|
|
1065
|
-
export declare const ProgressBarDefinition: FASTElementDefinition<typeof
|
|
2210
|
+
export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
|
|
1066
2211
|
|
|
1067
2212
|
/**
|
|
1068
2213
|
* ProgressBarShape Constants
|
|
@@ -1079,12 +2224,12 @@ export declare const ProgressBarShape: {
|
|
|
1079
2224
|
*/
|
|
1080
2225
|
export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
|
|
1081
2226
|
|
|
1082
|
-
/**
|
|
2227
|
+
/** ProgressBar styles
|
|
1083
2228
|
* @public
|
|
1084
2229
|
*/
|
|
1085
2230
|
export declare const ProgressBarStyles: ElementStyles;
|
|
1086
2231
|
|
|
1087
|
-
export declare const ProgressBarTemplate: ElementViewTemplate<
|
|
2232
|
+
export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
|
|
1088
2233
|
|
|
1089
2234
|
/**
|
|
1090
2235
|
* ProgressBarThickness Constants
|
|
@@ -1096,26 +2241,84 @@ export declare const ProgressBarThickness: {
|
|
|
1096
2241
|
};
|
|
1097
2242
|
|
|
1098
2243
|
/**
|
|
1099
|
-
* Applies bar thickness to the content
|
|
2244
|
+
* Applies bar thickness to the content
|
|
2245
|
+
* @public
|
|
2246
|
+
*/
|
|
2247
|
+
export declare type ProgressBarThickness = ValuesOf<typeof ProgressBarThickness>;
|
|
2248
|
+
|
|
2249
|
+
/**
|
|
2250
|
+
* ProgressBarValidationState Constants
|
|
2251
|
+
* @public
|
|
2252
|
+
*/
|
|
2253
|
+
export declare const ProgressBarValidationState: {
|
|
2254
|
+
readonly success: "success";
|
|
2255
|
+
readonly warning: "warning";
|
|
2256
|
+
readonly error: "error";
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Applies validation state to the content
|
|
2261
|
+
* @public
|
|
2262
|
+
*/
|
|
2263
|
+
export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* The base class used for constructing a fluent-radio custom element
|
|
2267
|
+
* @public
|
|
2268
|
+
*/
|
|
2269
|
+
export declare class Radio extends FASTRadio {
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* The Fluent Radio Element.
|
|
2274
|
+
*
|
|
2275
|
+
*
|
|
2276
|
+
* @public
|
|
2277
|
+
* @remarks
|
|
2278
|
+
* HTML Element: \<fluent-radio\>
|
|
2279
|
+
*/
|
|
2280
|
+
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* The base class used for constructing a fluent-radio-group custom element
|
|
2284
|
+
* @public
|
|
2285
|
+
*/
|
|
2286
|
+
export declare class RadioGroup extends FASTRadioGroup {
|
|
2287
|
+
/**
|
|
2288
|
+
* sets radio layout styles
|
|
2289
|
+
*
|
|
2290
|
+
* @public
|
|
2291
|
+
* @remarks
|
|
2292
|
+
* HTML Attribute: stacked
|
|
2293
|
+
*/
|
|
2294
|
+
stacked: boolean;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* The Fluent RadioGroup Element.
|
|
2299
|
+
*
|
|
2300
|
+
*
|
|
1100
2301
|
* @public
|
|
2302
|
+
* @remarks
|
|
2303
|
+
* HTML Element: \<fluent-radio-group\>
|
|
1101
2304
|
*/
|
|
1102
|
-
export declare
|
|
2305
|
+
export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
|
|
1103
2306
|
|
|
1104
|
-
|
|
1105
|
-
|
|
2307
|
+
export { RadioGroupOrientation }
|
|
2308
|
+
|
|
2309
|
+
/** RadioGroup styles
|
|
1106
2310
|
* @public
|
|
1107
2311
|
*/
|
|
1108
|
-
export declare const
|
|
1109
|
-
readonly success: "success";
|
|
1110
|
-
readonly warning: "warning";
|
|
1111
|
-
readonly error: "error";
|
|
1112
|
-
};
|
|
2312
|
+
export declare const RadioGroupStyles: ElementStyles;
|
|
1113
2313
|
|
|
1114
|
-
|
|
1115
|
-
|
|
2314
|
+
export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
|
|
2315
|
+
|
|
2316
|
+
/** Radio styles
|
|
1116
2317
|
* @public
|
|
1117
2318
|
*/
|
|
1118
|
-
export declare
|
|
2319
|
+
export declare const RadioStyles: ElementStyles;
|
|
2320
|
+
|
|
2321
|
+
export declare const RadioTemplate: ElementViewTemplate<Radio>;
|
|
1119
2322
|
|
|
1120
2323
|
/**
|
|
1121
2324
|
* Sets the theme tokens on defaultNode.
|
|
@@ -1147,6 +2350,63 @@ export declare const shadow8: CSSDesignToken<string>;
|
|
|
1147
2350
|
|
|
1148
2351
|
export declare const shadow8Brand: CSSDesignToken<string>;
|
|
1149
2352
|
|
|
2353
|
+
/**
|
|
2354
|
+
* The base class used for constructing a fluent-slider custom element
|
|
2355
|
+
* @public
|
|
2356
|
+
*/
|
|
2357
|
+
export declare class Slider extends FASTSlider {
|
|
2358
|
+
/**
|
|
2359
|
+
* The size of the slider
|
|
2360
|
+
* @public
|
|
2361
|
+
* @remarks
|
|
2362
|
+
* HTML Attribute: size
|
|
2363
|
+
*/
|
|
2364
|
+
size?: SliderSize;
|
|
2365
|
+
handleChange(source: any, propertyName: string): void;
|
|
2366
|
+
connectedCallback(): void;
|
|
2367
|
+
disconnectedCallback(): void;
|
|
2368
|
+
private stepStyles?;
|
|
2369
|
+
/**
|
|
2370
|
+
* Handles changes to step styling based on the step value
|
|
2371
|
+
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
2372
|
+
*/
|
|
2373
|
+
private handleStepStyles;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* The Fluent Slider Element.
|
|
2378
|
+
*
|
|
2379
|
+
*
|
|
2380
|
+
* @public
|
|
2381
|
+
* @remarks
|
|
2382
|
+
* HTML Element: \<fluent-slider\>
|
|
2383
|
+
*/
|
|
2384
|
+
export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
|
|
2385
|
+
|
|
2386
|
+
export { SliderOrientation }
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* SliderSize Constants
|
|
2390
|
+
* @public
|
|
2391
|
+
*/
|
|
2392
|
+
export declare const SliderSize: {
|
|
2393
|
+
readonly small: "small";
|
|
2394
|
+
readonly medium: "medium";
|
|
2395
|
+
};
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Applies bar height to the slider rail and diameter to the slider thumbs
|
|
2399
|
+
* @public
|
|
2400
|
+
*/
|
|
2401
|
+
export declare type SliderSize = ValuesOf<typeof SliderSize>;
|
|
2402
|
+
|
|
2403
|
+
/** Text styles
|
|
2404
|
+
* @public
|
|
2405
|
+
*/
|
|
2406
|
+
export declare const SliderStyles: ElementStyles;
|
|
2407
|
+
|
|
2408
|
+
export declare const SliderTemplate: ElementViewTemplate<FASTSlider>;
|
|
2409
|
+
|
|
1150
2410
|
export declare const spacingHorizontalL: CSSDesignToken<string>;
|
|
1151
2411
|
|
|
1152
2412
|
export declare const spacingHorizontalM: CSSDesignToken<string>;
|
|
@@ -1191,6 +2451,80 @@ export declare const spacingVerticalXXS: CSSDesignToken<string>;
|
|
|
1191
2451
|
|
|
1192
2452
|
export declare const spacingVerticalXXXL: CSSDesignToken<string>;
|
|
1193
2453
|
|
|
2454
|
+
/**
|
|
2455
|
+
* The base class used for constructing a fluent-spinner custom element
|
|
2456
|
+
* @public
|
|
2457
|
+
*/
|
|
2458
|
+
export declare class Spinner extends FASTProgressRing {
|
|
2459
|
+
/**
|
|
2460
|
+
* The size of the spinner
|
|
2461
|
+
*
|
|
2462
|
+
* @public
|
|
2463
|
+
* @default 'medium'
|
|
2464
|
+
* @remarks
|
|
2465
|
+
* HTML Attribute: size
|
|
2466
|
+
*/
|
|
2467
|
+
size?: SpinnerSize;
|
|
2468
|
+
/**
|
|
2469
|
+
* The appearance of the spinner
|
|
2470
|
+
* @public
|
|
2471
|
+
* @default 'primary'
|
|
2472
|
+
* @remarks
|
|
2473
|
+
* HTML Attribute: appearance
|
|
2474
|
+
*/
|
|
2475
|
+
appearance?: SpinnerAppearance;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* SpinnerAppearance constants
|
|
2480
|
+
* @public
|
|
2481
|
+
*/
|
|
2482
|
+
export declare const SpinnerAppearance: {
|
|
2483
|
+
readonly primary: "primary";
|
|
2484
|
+
readonly inverted: "inverted";
|
|
2485
|
+
};
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* A Spinner's appearance can be either primary or inverted
|
|
2489
|
+
* @public
|
|
2490
|
+
*/
|
|
2491
|
+
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
|
|
2495
|
+
* {@link @microsoft/fast-foundation#progress-ringTemplate}
|
|
2496
|
+
*
|
|
2497
|
+
*
|
|
2498
|
+
* @public
|
|
2499
|
+
* @remarks
|
|
2500
|
+
* HTML Element: \<fluent-spinner\>
|
|
2501
|
+
*/
|
|
2502
|
+
export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* SpinnerSize constants
|
|
2506
|
+
* @public
|
|
2507
|
+
*/
|
|
2508
|
+
export declare const SpinnerSize: {
|
|
2509
|
+
readonly tiny: "tiny";
|
|
2510
|
+
readonly extraSmall: "extra-small";
|
|
2511
|
+
readonly small: "small";
|
|
2512
|
+
readonly medium: "medium";
|
|
2513
|
+
readonly large: "large";
|
|
2514
|
+
readonly extraLarge: "extra-large";
|
|
2515
|
+
readonly huge: "huge";
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* A Spinner's size can be either small, tiny, extra-small, medium, large, extra-large, or huge
|
|
2520
|
+
* @public
|
|
2521
|
+
*/
|
|
2522
|
+
export declare type SpinnerSize = ValuesOf<typeof SpinnerSize>;
|
|
2523
|
+
|
|
2524
|
+
export declare const SpinnerStyles: ElementStyles;
|
|
2525
|
+
|
|
2526
|
+
export declare const SpinnerTemplate: ElementViewTemplate<Spinner>;
|
|
2527
|
+
|
|
1194
2528
|
export declare const strokeWidthThick: CSSDesignToken<string>;
|
|
1195
2529
|
|
|
1196
2530
|
export declare const strokeWidthThicker: CSSDesignToken<string>;
|
|
@@ -1199,6 +2533,175 @@ export declare const strokeWidthThickest: CSSDesignToken<string>;
|
|
|
1199
2533
|
|
|
1200
2534
|
export declare const strokeWidthThin: CSSDesignToken<string>;
|
|
1201
2535
|
|
|
2536
|
+
declare const styles: ElementStyles;
|
|
2537
|
+
export { styles as ButtonStyles }
|
|
2538
|
+
export { styles as MenuButtonStyles }
|
|
2539
|
+
|
|
2540
|
+
export declare class Switch extends FASTSwitch {
|
|
2541
|
+
/**
|
|
2542
|
+
* The label position of the switch
|
|
2543
|
+
*
|
|
2544
|
+
* @public
|
|
2545
|
+
* @default 'after'
|
|
2546
|
+
* @remarks
|
|
2547
|
+
* HTML Attribute: labelposition
|
|
2548
|
+
*/
|
|
2549
|
+
labelPosition: SwitchLabelPosition | undefined;
|
|
2550
|
+
}
|
|
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 { }
|