@fluentui/web-components 3.0.0-alpha.2 → 3.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +556 -4
- package/CHANGELOG.md +313 -98
- package/dist/dts/accordion/accordion.d.ts +7 -0
- package/dist/dts/accordion/accordion.definition.d.ts +11 -0
- package/dist/dts/accordion/accordion.styles.d.ts +1 -0
- package/dist/dts/accordion/accordion.template.d.ts +3 -0
- package/dist/dts/accordion/define.d.ts +1 -0
- package/dist/dts/accordion/index.d.ts +4 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +33 -0
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +11 -0
- package/dist/dts/accordion-item/accordion-item.options.d.ts +27 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts +1 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts +7 -0
- package/dist/dts/accordion-item/define.d.ts +1 -0
- package/dist/dts/accordion-item/index.d.ts +5 -0
- package/dist/dts/anchor-button/anchor-button.d.ts +64 -0
- package/dist/dts/anchor-button/anchor-button.definition.d.ts +10 -0
- package/dist/dts/anchor-button/anchor-button.options.d.ts +46 -0
- package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
- package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -0
- package/dist/dts/anchor-button/define.d.ts +1 -0
- package/dist/dts/anchor-button/index.d.ts +4 -0
- package/dist/dts/avatar/avatar.d.ts +97 -0
- package/dist/dts/avatar/avatar.definition.d.ts +9 -0
- package/dist/dts/avatar/avatar.options.d.ts +142 -0
- package/dist/dts/avatar/avatar.styles.d.ts +4 -0
- package/dist/dts/avatar/avatar.template.d.ts +8 -0
- package/dist/dts/avatar/define.d.ts +1 -0
- package/dist/dts/avatar/index.d.ts +5 -0
- package/dist/dts/badge/badge.d.ts +2 -2
- package/dist/dts/button/button.d.ts +55 -0
- package/dist/dts/button/button.definition.d.ts +10 -0
- package/dist/dts/button/button.options.d.ts +46 -0
- package/dist/dts/button/button.styles.d.ts +1 -0
- package/dist/dts/button/button.template.d.ts +7 -0
- package/dist/dts/button/define.d.ts +1 -0
- package/dist/dts/button/index.d.ts +5 -0
- package/dist/dts/compound-button/compound-button.d.ts +7 -0
- package/dist/dts/compound-button/compound-button.definition.d.ts +10 -0
- package/dist/dts/compound-button/compound-button.options.d.ts +50 -0
- package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
- package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
- package/dist/dts/compound-button/define.d.ts +1 -0
- package/dist/dts/compound-button/index.d.ts +5 -0
- package/dist/dts/counter-badge/counter-badge.d.ts +4 -4
- package/dist/dts/divider/define.d.ts +1 -0
- package/dist/dts/divider/divider.d.ts +31 -0
- package/dist/dts/divider/divider.definition.d.ts +9 -0
- package/dist/dts/divider/divider.options.d.ts +40 -0
- package/dist/dts/divider/divider.styles.d.ts +4 -0
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -0
- package/dist/dts/image/define.d.ts +1 -0
- package/dist/dts/image/image.d.ts +48 -0
- package/dist/dts/image/image.definition.d.ts +9 -0
- package/dist/dts/image/image.options.d.ts +27 -0
- package/dist/dts/image/image.styles.d.ts +5 -0
- package/dist/dts/image/image.template.d.ts +7 -0
- package/dist/dts/image/index.d.ts +5 -0
- package/dist/dts/index.d.ts +21 -0
- package/dist/dts/label/define.d.ts +1 -0
- package/dist/dts/label/index.d.ts +4 -0
- package/dist/dts/label/label.d.ts +42 -0
- package/dist/dts/label/label.definition.d.ts +10 -0
- package/dist/dts/label/label.options.d.ts +26 -0
- package/dist/dts/label/label.styles.d.ts +4 -0
- package/dist/dts/label/label.template.d.ts +8 -0
- package/dist/dts/menu-button/define.d.ts +1 -0
- package/dist/dts/menu-button/index.d.ts +5 -0
- package/dist/dts/menu-button/menu-button.d.ts +7 -0
- package/dist/dts/menu-button/menu-button.definition.d.ts +10 -0
- package/dist/dts/menu-button/menu-button.options.d.ts +46 -0
- package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
- package/dist/dts/menu-item/define.d.ts +1 -0
- package/dist/dts/menu-item/index.d.ts +4 -0
- package/dist/dts/menu-item/menu-item.d.ts +8 -0
- package/dist/dts/menu-item/menu-item.definition.d.ts +11 -0
- package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
- package/dist/dts/menu-item/menu-item.template.d.ts +3 -0
- package/dist/dts/menu-list/define.d.ts +1 -0
- package/dist/dts/menu-list/index.d.ts +4 -0
- package/dist/dts/menu-list/menu-list.d.ts +9 -0
- package/dist/dts/menu-list/menu-list.definition.d.ts +11 -0
- package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
- package/dist/dts/menu-list/menu-list.template.d.ts +3 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +2 -2
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
- package/dist/dts/radio/define.d.ts +1 -0
- package/dist/dts/radio/index.d.ts +4 -0
- package/dist/dts/radio/radio.d.ts +7 -0
- package/dist/dts/radio/radio.definition.d.ts +10 -0
- package/dist/dts/radio/radio.styles.d.ts +4 -0
- package/dist/dts/radio/radio.template.d.ts +3 -0
- package/dist/dts/radio-group/define.d.ts +1 -0
- package/dist/dts/radio-group/index.d.ts +5 -0
- package/dist/dts/radio-group/radio-group.d.ts +15 -0
- package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
- package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
- package/dist/dts/radio-group/radio-group.template.d.ts +3 -0
- package/dist/dts/slider/define.d.ts +1 -0
- package/dist/dts/slider/index.d.ts +5 -0
- package/dist/dts/slider/slider.d.ts +24 -0
- package/dist/dts/slider/slider.definition.d.ts +10 -0
- package/dist/dts/slider/slider.options.d.ts +15 -0
- package/dist/dts/slider/slider.styles.d.ts +4 -0
- package/dist/dts/slider/slider.template.d.ts +3 -0
- package/dist/dts/spinner/define.d.ts +1 -0
- package/dist/dts/spinner/index.d.ts +5 -0
- package/dist/dts/spinner/spinner.d.ts +25 -0
- package/dist/dts/spinner/spinner.definition.d.ts +11 -0
- package/dist/dts/spinner/spinner.options.d.ts +32 -0
- package/dist/dts/spinner/spinner.styles.d.ts +1 -0
- package/dist/dts/spinner/spinner.template.d.ts +3 -0
- package/dist/dts/switch/define.d.ts +1 -0
- package/dist/dts/switch/index.d.ts +5 -0
- package/dist/dts/switch/switch.d.ts +13 -0
- package/dist/dts/switch/switch.definition.d.ts +9 -0
- package/dist/dts/switch/switch.options.d.ts +15 -0
- package/dist/dts/switch/switch.styles.d.ts +1 -0
- package/dist/dts/switch/switch.template.d.ts +3 -0
- package/dist/dts/tab/define.d.ts +1 -0
- package/dist/dts/tab/index.d.ts +4 -0
- package/dist/dts/tab/tab.d.ts +8 -0
- package/dist/dts/tab/tab.definition.d.ts +2 -0
- package/dist/dts/tab/tab.styles.d.ts +1 -0
- package/dist/dts/tab/tab.template.d.ts +4 -0
- package/dist/dts/tab-panel/define.d.ts +1 -0
- package/dist/dts/tab-panel/index.d.ts +4 -0
- package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
- package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
- package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
- package/dist/dts/tab-panel/tab-panel.template.d.ts +1 -0
- package/dist/dts/tabs/define.d.ts +1 -0
- package/dist/dts/tabs/index.d.ts +5 -0
- package/dist/dts/tabs/tabs.d.ts +88 -0
- package/dist/dts/tabs/tabs.definition.d.ts +2 -0
- package/dist/dts/tabs/tabs.options.d.ts +14 -0
- package/dist/dts/tabs/tabs.styles.d.ts +1 -0
- package/dist/dts/tabs/tabs.template.d.ts +1 -0
- package/dist/dts/text/text.d.ts +4 -4
- package/dist/dts/theme/design-tokens.d.ts +5 -0
- package/dist/dts/toggle-button/define.d.ts +1 -0
- package/dist/dts/toggle-button/index.d.ts +5 -0
- package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
- package/dist/dts/toggle-button/toggle-button.definition.d.ts +10 -0
- package/dist/dts/toggle-button/toggle-button.options.d.ts +46 -0
- package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
- package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
- package/dist/dts/utils/get-initials.d.ts +18 -0
- package/dist/esm/accordion/accordion.definition.js +19 -0
- package/dist/esm/accordion/accordion.definition.js.map +1 -0
- package/dist/esm/accordion/accordion.js +8 -0
- package/dist/esm/accordion/accordion.js.map +1 -0
- package/dist/esm/accordion/accordion.styles.js +12 -0
- package/dist/esm/accordion/accordion.styles.js.map +1 -0
- package/dist/esm/accordion/accordion.template.js +3 -0
- package/dist/esm/accordion/accordion.template.js.map +1 -0
- package/dist/esm/accordion/define.js +4 -0
- package/dist/esm/accordion/define.js.map +1 -0
- package/dist/esm/accordion/index.js +5 -0
- package/dist/esm/accordion/index.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.js +19 -0
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +29 -0
- package/dist/esm/accordion-item/accordion-item.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.options.js +17 -0
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +198 -0
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.template.js +37 -0
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -0
- package/dist/esm/accordion-item/define.js +4 -0
- package/dist/esm/accordion-item/define.js.map +1 -0
- package/dist/esm/accordion-item/index.js +6 -0
- package/dist/esm/accordion-item/index.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.definition.js +21 -0
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.js +93 -0
- package/dist/esm/anchor-button/anchor-button.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.options.js +17 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.template.js +7 -0
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
- package/dist/esm/anchor-button/define.js +4 -0
- package/dist/esm/anchor-button/define.js.map +1 -0
- package/dist/esm/anchor-button/index.js +5 -0
- package/dist/esm/anchor-button/index.js.map +1 -0
- package/dist/esm/avatar/avatar.definition.js +17 -0
- package/dist/esm/avatar/avatar.definition.js.map +1 -0
- package/dist/esm/avatar/avatar.js +92 -0
- package/dist/esm/avatar/avatar.js.map +1 -0
- package/dist/esm/avatar/avatar.options.js +87 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.js +477 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -0
- package/dist/esm/avatar/avatar.template.js +28 -0
- package/dist/esm/avatar/avatar.template.js.map +1 -0
- package/dist/esm/avatar/define.js +4 -0
- package/dist/esm/avatar/define.js.map +1 -0
- package/dist/esm/avatar/index.js +6 -0
- package/dist/esm/avatar/index.js.map +1 -0
- package/dist/esm/badge/badge.definition.js +1 -0
- package/dist/esm/badge/badge.definition.js.map +1 -0
- package/dist/esm/badge/badge.js +1 -0
- package/dist/esm/badge/badge.js.map +1 -0
- package/dist/esm/badge/badge.options.js +1 -0
- package/dist/esm/badge/badge.options.js.map +1 -0
- package/dist/esm/badge/badge.styles.js +1 -0
- package/dist/esm/badge/badge.styles.js.map +1 -0
- package/dist/esm/badge/badge.template.js +1 -0
- package/dist/esm/badge/badge.template.js.map +1 -0
- package/dist/esm/badge/define.js +1 -0
- package/dist/esm/badge/define.js.map +1 -0
- package/dist/esm/badge/index.js +1 -0
- package/dist/esm/badge/index.js.map +1 -0
- package/dist/esm/button/button.definition.js +21 -0
- package/dist/esm/button/button.definition.js.map +1 -0
- package/dist/esm/button/button.js +72 -0
- package/dist/esm/button/button.js.map +1 -0
- package/dist/esm/button/button.options.js +30 -0
- package/dist/esm/button/button.options.js.map +1 -0
- package/dist/esm/button/button.styles.js +256 -0
- package/dist/esm/button/button.styles.js.map +1 -0
- package/dist/esm/button/button.template.js +7 -0
- package/dist/esm/button/button.template.js.map +1 -0
- package/dist/esm/button/define.js +4 -0
- package/dist/esm/button/define.js.map +1 -0
- package/dist/esm/button/index.js +6 -0
- package/dist/esm/button/index.js.map +1 -0
- package/dist/esm/compound-button/compound-button.definition.js +21 -0
- package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
- package/dist/esm/compound-button/compound-button.js +8 -0
- package/dist/esm/compound-button/compound-button.js.map +1 -0
- package/dist/esm/compound-button/compound-button.options.js +17 -0
- package/dist/esm/compound-button/compound-button.options.js.map +1 -0
- package/dist/esm/compound-button/compound-button.styles.js +105 -0
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
- package/dist/esm/compound-button/compound-button.template.js +60 -0
- package/dist/esm/compound-button/compound-button.template.js.map +1 -0
- package/dist/esm/compound-button/define.js +4 -0
- package/dist/esm/compound-button/define.js.map +1 -0
- package/dist/esm/compound-button/index.js +6 -0
- package/dist/esm/compound-button/index.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.js +1 -0
- package/dist/esm/counter-badge/counter-badge.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
- package/dist/esm/counter-badge/define.js +1 -0
- package/dist/esm/counter-badge/define.js.map +1 -0
- package/dist/esm/counter-badge/index.js +1 -0
- package/dist/esm/counter-badge/index.js.map +1 -0
- package/dist/esm/divider/define.js +4 -0
- package/dist/esm/divider/define.js.map +1 -0
- package/dist/esm/divider/divider.definition.js +17 -0
- package/dist/esm/divider/divider.definition.js.map +1 -0
- package/dist/esm/divider/divider.js +21 -0
- package/dist/esm/divider/divider.js.map +1 -0
- package/dist/esm/divider/divider.options.js +31 -0
- package/dist/esm/divider/divider.options.js.map +1 -0
- package/dist/esm/divider/divider.styles.js +115 -0
- package/dist/esm/divider/divider.styles.js.map +1 -0
- package/dist/esm/divider/divider.template.js +7 -0
- package/dist/esm/divider/divider.template.js.map +1 -0
- package/dist/esm/divider/index.js +6 -0
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/fluent-design-system.js +1 -0
- package/dist/esm/fluent-design-system.js.map +1 -0
- package/dist/esm/image/define.js +4 -0
- package/dist/esm/image/define.js.map +1 -0
- package/dist/esm/image/image.definition.js +17 -0
- package/dist/esm/image/image.definition.js.map +1 -0
- package/dist/esm/image/image.js +24 -0
- package/dist/esm/image/image.js.map +1 -0
- package/dist/esm/image/image.options.js +21 -0
- package/dist/esm/image/image.options.js.map +1 -0
- package/dist/esm/image/image.styles.js +59 -0
- package/dist/esm/image/image.styles.js.map +1 -0
- package/dist/esm/image/image.template.js +7 -0
- package/dist/esm/image/image.template.js.map +1 -0
- package/dist/esm/image/index.js +6 -0
- package/dist/esm/image/index.js.map +1 -0
- package/dist/esm/index-rollup.js +1 -0
- package/dist/esm/index-rollup.js.map +1 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/label/define.js +4 -0
- package/dist/esm/label/define.js.map +1 -0
- package/dist/esm/label/index.js +5 -0
- package/dist/esm/label/index.js.map +1 -0
- package/dist/esm/label/label.definition.js +18 -0
- package/dist/esm/label/label.definition.js.map +1 -0
- package/dist/esm/label/label.js +40 -0
- package/dist/esm/label/label.js.map +1 -0
- package/dist/esm/label/label.options.js +16 -0
- package/dist/esm/label/label.options.js.map +1 -0
- package/dist/esm/label/label.styles.js +38 -0
- package/dist/esm/label/label.styles.js.map +1 -0
- package/dist/esm/label/label.template.js +13 -0
- package/dist/esm/label/label.template.js.map +1 -0
- package/dist/esm/menu-button/define.js +4 -0
- package/dist/esm/menu-button/define.js.map +1 -0
- package/dist/esm/menu-button/index.js +6 -0
- package/dist/esm/menu-button/index.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.js +21 -0
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
- package/dist/esm/menu-button/menu-button.js +8 -0
- package/dist/esm/menu-button/menu-button.js.map +1 -0
- package/dist/esm/menu-button/menu-button.options.js +17 -0
- package/dist/esm/menu-button/menu-button.options.js.map +1 -0
- package/dist/esm/menu-button/menu-button.template.js +10 -0
- package/dist/esm/menu-button/menu-button.template.js.map +1 -0
- package/dist/esm/menu-item/define.js +4 -0
- package/dist/esm/menu-item/define.js.map +1 -0
- package/dist/esm/menu-item/index.js +5 -0
- package/dist/esm/menu-item/index.js.map +1 -0
- package/dist/esm/menu-item/menu-item.definition.js +19 -0
- package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
- package/dist/esm/menu-item/menu-item.js +8 -0
- package/dist/esm/menu-item/menu-item.js.map +1 -0
- package/dist/esm/menu-item/menu-item.styles.js +183 -0
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
- package/dist/esm/menu-item/menu-item.template.js +10 -0
- package/dist/esm/menu-item/menu-item.template.js.map +1 -0
- package/dist/esm/menu-list/define.js +4 -0
- package/dist/esm/menu-list/define.js.map +1 -0
- package/dist/esm/menu-list/index.js +5 -0
- package/dist/esm/menu-list/index.js.map +1 -0
- package/dist/esm/menu-list/menu-list.definition.js +19 -0
- package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
- package/dist/esm/menu-list/menu-list.js +36 -0
- package/dist/esm/menu-list/menu-list.js.map +1 -0
- package/dist/esm/menu-list/menu-list.styles.js +24 -0
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
- package/dist/esm/menu-list/menu-list.template.js +3 -0
- package/dist/esm/menu-list/menu-list.template.js.map +1 -0
- package/dist/esm/progress-bar/define.js +1 -0
- package/dist/esm/progress-bar/define.js.map +1 -0
- package/dist/esm/progress-bar/index.js +1 -0
- package/dist/esm/progress-bar/index.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +11 -0
- package/dist/esm/progress-bar/progress-bar.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +3 -1
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
- package/dist/esm/radio/define.js +4 -0
- package/dist/esm/radio/define.js.map +1 -0
- package/dist/esm/radio/index.js +5 -0
- package/dist/esm/radio/index.js.map +1 -0
- package/dist/esm/radio/radio.definition.js +18 -0
- package/dist/esm/radio/radio.definition.js.map +1 -0
- package/dist/esm/radio/radio.js +8 -0
- package/dist/esm/radio/radio.js.map +1 -0
- package/dist/esm/radio/radio.styles.js +108 -0
- package/dist/esm/radio/radio.styles.js.map +1 -0
- package/dist/esm/radio/radio.template.js +6 -0
- package/dist/esm/radio/radio.template.js.map +1 -0
- package/dist/esm/radio-group/define.js +4 -0
- package/dist/esm/radio-group/define.js.map +1 -0
- package/dist/esm/radio-group/index.js +6 -0
- package/dist/esm/radio-group/index.js.map +1 -0
- package/dist/esm/radio-group/radio-group.definition.js +18 -0
- package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
- package/dist/esm/radio-group/radio-group.js +24 -0
- package/dist/esm/radio-group/radio-group.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.js +52 -0
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
- package/dist/esm/radio-group/radio-group.template.js +3 -0
- package/dist/esm/radio-group/radio-group.template.js.map +1 -0
- package/dist/esm/slider/define.js +4 -0
- package/dist/esm/slider/define.js.map +1 -0
- package/dist/esm/slider/index.js +6 -0
- package/dist/esm/slider/index.js.map +1 -0
- package/dist/esm/slider/slider.definition.js +18 -0
- package/dist/esm/slider/slider.definition.js.map +1 -0
- package/dist/esm/slider/slider.js +59 -0
- package/dist/esm/slider/slider.js.map +1 -0
- package/dist/esm/slider/slider.options.js +10 -0
- package/dist/esm/slider/slider.options.js.map +1 -0
- package/dist/esm/slider/slider.styles.js +186 -0
- package/dist/esm/slider/slider.styles.js.map +1 -0
- package/dist/esm/slider/slider.template.js +5 -0
- package/dist/esm/slider/slider.template.js.map +1 -0
- package/dist/esm/spinner/define.js +4 -0
- package/dist/esm/spinner/define.js.map +1 -0
- package/dist/esm/spinner/index.js +6 -0
- package/dist/esm/spinner/index.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +19 -0
- package/dist/esm/spinner/spinner.definition.js.map +1 -0
- package/dist/esm/spinner/spinner.js +16 -0
- package/dist/esm/spinner/spinner.js.map +1 -0
- package/dist/esm/spinner/spinner.options.js +22 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.js +97 -0
- package/dist/esm/spinner/spinner.styles.js.map +1 -0
- package/dist/esm/spinner/spinner.template.js +22 -0
- package/dist/esm/spinner/spinner.template.js.map +1 -0
- package/dist/esm/styles/index.js +1 -0
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/partials/badge.partials.js +2 -0
- package/dist/esm/styles/partials/badge.partials.js.map +1 -0
- package/dist/esm/styles/partials/index.js +1 -0
- package/dist/esm/styles/partials/index.js.map +1 -0
- package/dist/esm/switch/define.js +4 -0
- package/dist/esm/switch/define.js.map +1 -0
- package/dist/esm/switch/index.js +6 -0
- package/dist/esm/switch/index.js.map +1 -0
- package/dist/esm/switch/switch.definition.js +17 -0
- package/dist/esm/switch/switch.definition.js.map +1 -0
- package/dist/esm/switch/switch.js +9 -0
- package/dist/esm/switch/switch.js.map +1 -0
- package/dist/esm/switch/switch.options.js +10 -0
- package/dist/esm/switch/switch.options.js.map +1 -0
- package/dist/esm/switch/switch.styles.js +115 -0
- package/dist/esm/switch/switch.styles.js.map +1 -0
- package/dist/esm/switch/switch.template.js +5 -0
- package/dist/esm/switch/switch.template.js.map +1 -0
- package/dist/esm/tab/define.js +4 -0
- package/dist/esm/tab/define.js.map +1 -0
- package/dist/esm/tab/index.js +5 -0
- package/dist/esm/tab/index.js.map +1 -0
- package/dist/esm/tab/tab.definition.js +10 -0
- package/dist/esm/tab/tab.definition.js.map +1 -0
- package/dist/esm/tab/tab.js +20 -0
- package/dist/esm/tab/tab.js.map +1 -0
- package/dist/esm/tab/tab.styles.js +94 -0
- package/dist/esm/tab/tab.styles.js.map +1 -0
- package/dist/esm/tab/tab.template.js +13 -0
- package/dist/esm/tab/tab.template.js.map +1 -0
- package/dist/esm/tab-panel/define.js +4 -0
- package/dist/esm/tab-panel/define.js.map +1 -0
- package/dist/esm/tab-panel/index.js +5 -0
- package/dist/esm/tab-panel/index.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
- package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.js +4 -0
- package/dist/esm/tab-panel/tab-panel.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.template.js +3 -0
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
- package/dist/esm/tabs/define.js +4 -0
- package/dist/esm/tabs/define.js.map +1 -0
- package/dist/esm/tabs/index.js +6 -0
- package/dist/esm/tabs/index.js.map +1 -0
- package/dist/esm/tabs/tabs.definition.js +10 -0
- package/dist/esm/tabs/tabs.definition.js.map +1 -0
- package/dist/esm/tabs/tabs.js +158 -0
- package/dist/esm/tabs/tabs.js.map +1 -0
- package/dist/esm/tabs/tabs.options.js +12 -0
- package/dist/esm/tabs/tabs.options.js.map +1 -0
- package/dist/esm/tabs/tabs.styles.js +230 -0
- package/dist/esm/tabs/tabs.styles.js.map +1 -0
- package/dist/esm/tabs/tabs.template.js +3 -0
- package/dist/esm/tabs/tabs.template.js.map +1 -0
- package/dist/esm/text/define.js +1 -0
- package/dist/esm/text/define.js.map +1 -0
- package/dist/esm/text/index.js +1 -0
- package/dist/esm/text/index.js.map +1 -0
- package/dist/esm/text/text.definition.js +1 -0
- package/dist/esm/text/text.definition.js.map +1 -0
- package/dist/esm/text/text.js +1 -0
- package/dist/esm/text/text.js.map +1 -0
- package/dist/esm/text/text.options.js +1 -0
- package/dist/esm/text/text.options.js.map +1 -0
- package/dist/esm/text/text.styles.js +8 -1
- package/dist/esm/text/text.styles.js.map +1 -0
- package/dist/esm/text/text.template.js +1 -0
- package/dist/esm/text/text.template.js.map +1 -0
- package/dist/esm/theme/design-tokens.js +6 -0
- package/dist/esm/theme/design-tokens.js.map +1 -0
- package/dist/esm/theme/index.js +1 -0
- package/dist/esm/theme/index.js.map +1 -0
- package/dist/esm/theme/set-theme.js +1 -0
- package/dist/esm/theme/set-theme.js.map +1 -0
- package/dist/esm/toggle-button/define.js +4 -0
- package/dist/esm/toggle-button/define.js.map +1 -0
- package/dist/esm/toggle-button/index.js +6 -0
- package/dist/esm/toggle-button/index.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.definition.js +21 -0
- package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.js +99 -0
- package/dist/esm/toggle-button/toggle-button.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.options.js +17 -0
- package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.styles.js +83 -0
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.template.js +7 -0
- package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
- package/dist/esm/utils/get-initials.js +83 -0
- package/dist/esm/utils/get-initials.js.map +1 -0
- package/dist/fluent-web-components.api.json +11485 -4366
- package/dist/web-components.d.ts +2000 -381
- package/dist/web-components.js +7818 -2614
- package/dist/web-components.min.js +178 -127
- package/docs/api-report.md +860 -15
- package/package.json +98 -17
- package/.eslintrc.json +0 -62
- package/build/clean.cjs +0 -29
- package/build/transform-fragments.js +0 -29
- package/dist/dts/badge/badge.stories.d.ts +0 -12
- package/dist/dts/counter-badge/counter-badge.stories.d.ts +0 -14
- package/dist/dts/progress-bar/progress-bar.stories.d.ts +0 -9
- package/dist/dts/text/text.stories.d.ts +0 -8
- package/dist/dts/theme/theme.stories.d.ts +0 -5
- package/dist/esm/badge/badge.stories.js +0 -108
- package/dist/esm/counter-badge/counter-badge.stories.js +0 -102
- package/dist/esm/progress-bar/progress-bar.stories.js +0 -60
- package/dist/esm/text/text.stories.js +0 -111
- package/dist/esm/theme/theme.stories.js +0 -21
- package/public/SegoeUI-VF.ttf +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/theme-switch.ts +0 -13
- package/rollup.config.js +0 -58
- package/storybook-typings.d.ts +0 -4
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ButtonOptions, ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* ButtonAppearance constants
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const ButtonAppearance: {
|
|
7
|
+
readonly primary: "primary";
|
|
8
|
+
readonly outline: "outline";
|
|
9
|
+
readonly subtle: "subtle";
|
|
10
|
+
readonly secondary: "secondary";
|
|
11
|
+
readonly transparent: "transparent";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* A Button can be secondary, primary, outline, subtle, transparent
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
18
|
+
/**
|
|
19
|
+
* A Button can be square, circular or rounded.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare const ButtonShape: {
|
|
23
|
+
readonly circular: "circular";
|
|
24
|
+
readonly rounded: "rounded";
|
|
25
|
+
readonly square: "square";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A Button can be square, circular or rounded
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare type ButtonShape = ValuesOf<typeof ButtonShape>;
|
|
32
|
+
/**
|
|
33
|
+
* A Button can be a size of small, medium or large.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare const ButtonSize: {
|
|
37
|
+
readonly small: "small";
|
|
38
|
+
readonly medium: "medium";
|
|
39
|
+
readonly large: "large";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* A Button can be on of several preset sizes.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
46
|
+
export { ButtonOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './button.js';
|
|
2
|
+
export * from './button.options.js';
|
|
3
|
+
export { template as ButtonTemplate } from './button.template.js';
|
|
4
|
+
export { styles as ButtonStyles } from './button.styles.js';
|
|
5
|
+
export { definition as ButtonDefinition } from './button.definition.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CompoundButton } from './compound-button.js';
|
|
2
|
+
/**
|
|
3
|
+
* The Fluent Compound Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
4
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
* @remarks
|
|
8
|
+
* HTML Element: \<fluent-comopund-button\>
|
|
9
|
+
*/
|
|
10
|
+
export declare const definition: import("@microsoft/fast-element").FASTElementDefinition<typeof CompoundButton>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ButtonOptions, ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Compound Button Appearance constants
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const CompoundButtonAppearance: {
|
|
7
|
+
readonly primary: "primary";
|
|
8
|
+
readonly outline: "outline";
|
|
9
|
+
readonly subtle: "subtle";
|
|
10
|
+
readonly secondary: "secondary";
|
|
11
|
+
readonly transparent: "transparent";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* A Compound Button can be secondary, primary, outline, subtle, transparent
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
18
|
+
/**
|
|
19
|
+
* A Compound Button can be square, circular or rounded.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare const CompoundButtonShape: {
|
|
23
|
+
readonly circular: "circular";
|
|
24
|
+
readonly rounded: "rounded";
|
|
25
|
+
readonly square: "square";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A Compound Button can be square, circular or rounded
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
|
|
32
|
+
/**
|
|
33
|
+
* A Compound Button can be a size of small, medium or large.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare const CompoundButtonSize: {
|
|
37
|
+
readonly small: "small";
|
|
38
|
+
/**
|
|
39
|
+
* A Compound Button can be on of several preset sizes.
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
readonly medium: "medium";
|
|
43
|
+
readonly large: "large";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* A Compound Button can be on of several preset sizes.
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare type CompoundButtonSize = ValuesOf<typeof CompoundButtonSize>;
|
|
50
|
+
export { ButtonOptions as CompoundButtonOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { CompoundButton } from './compound-button.js';
|
|
3
|
+
import type { CompoundButtonOptions } from './compound-button.options.js';
|
|
4
|
+
/**
|
|
5
|
+
* The template for the Compound Button component.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare function buttonTemplate<T extends CompoundButton>(options?: CompoundButtonOptions): ElementViewTemplate<T>;
|
|
9
|
+
/**
|
|
10
|
+
* The template for the Button component.
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export declare const template: ElementViewTemplate<CompoundButton>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './compound-button.js';
|
|
2
|
+
export * from './compound-button.options.js';
|
|
3
|
+
export { template as CompoundButtonTemplate } from './compound-button.template.js';
|
|
4
|
+
export { styles as CompoundButtonStyles } from './compound-button.styles.js';
|
|
5
|
+
export { definition as CompoundButtonDefinition } from './compound-button.definition.js';
|
|
@@ -13,7 +13,7 @@ export declare class CounterBadge extends FASTElement {
|
|
|
13
13
|
* @remarks
|
|
14
14
|
* HTML Attribute: appearance
|
|
15
15
|
*/
|
|
16
|
-
appearance
|
|
16
|
+
appearance?: CounterBadgeAppearance;
|
|
17
17
|
/**
|
|
18
18
|
* The color the badge should have.
|
|
19
19
|
*
|
|
@@ -21,7 +21,7 @@ export declare class CounterBadge extends FASTElement {
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* HTML Attribute: color
|
|
23
23
|
*/
|
|
24
|
-
color
|
|
24
|
+
color?: CounterBadgeColor;
|
|
25
25
|
/**
|
|
26
26
|
* The shape the badge should have.
|
|
27
27
|
*
|
|
@@ -29,7 +29,7 @@ export declare class CounterBadge extends FASTElement {
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* HTML Attribute: shape
|
|
31
31
|
*/
|
|
32
|
-
shape
|
|
32
|
+
shape?: CounterBadgeShape;
|
|
33
33
|
/**
|
|
34
34
|
* The size the badge should have.
|
|
35
35
|
*
|
|
@@ -37,7 +37,7 @@ export declare class CounterBadge extends FASTElement {
|
|
|
37
37
|
* @remarks
|
|
38
38
|
* HTML Attribute: size
|
|
39
39
|
*/
|
|
40
|
-
size
|
|
40
|
+
size?: CounterBadgeSize;
|
|
41
41
|
/**
|
|
42
42
|
* The count the badge should have.
|
|
43
43
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FASTDivider } from '@microsoft/fast-foundation';
|
|
2
|
+
import { DividerAlignContent, DividerAppearance } from './divider.options.js';
|
|
3
|
+
/**
|
|
4
|
+
* @class Divider component
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Divider extends FASTDivider {
|
|
10
|
+
/**
|
|
11
|
+
* @property alignContent
|
|
12
|
+
* @default center
|
|
13
|
+
* @remarks
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
alignContent?: DividerAlignContent;
|
|
17
|
+
/**
|
|
18
|
+
* @property appearance
|
|
19
|
+
* @default default
|
|
20
|
+
* @remarks
|
|
21
|
+
* A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
22
|
+
*/
|
|
23
|
+
appearance?: DividerAppearance;
|
|
24
|
+
/**
|
|
25
|
+
* @property inset
|
|
26
|
+
* @default false
|
|
27
|
+
* @remarks
|
|
28
|
+
* Adds padding to the beginning and end of the divider.
|
|
29
|
+
*/
|
|
30
|
+
inset?: boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DividerOrientation, DividerRole, ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Fast Foundation DividerRole property
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export { DividerRole };
|
|
7
|
+
/**
|
|
8
|
+
* Fast Foundation Orientation property
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export { DividerOrientation };
|
|
12
|
+
/**
|
|
13
|
+
* Align content within divider
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export declare const DividerAlignContent: {
|
|
17
|
+
readonly center: "center";
|
|
18
|
+
readonly start: "start";
|
|
19
|
+
readonly end: "end";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The types for DividerAlignContent
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
|
|
26
|
+
/**
|
|
27
|
+
* DividerAppearance - divider color defined by a design token alias.
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export declare const DividerAppearance: {
|
|
31
|
+
readonly strong: "strong";
|
|
32
|
+
readonly brand: "brand";
|
|
33
|
+
readonly subtle: "subtle";
|
|
34
|
+
readonly default: "default";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The types for Appearance
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './divider.js';
|
|
2
|
+
export * from './divider.options.js';
|
|
3
|
+
export { definition as DividerDefinition } from './divider.definition.js';
|
|
4
|
+
export { template as DividerTemplate } from './divider.template.js';
|
|
5
|
+
export { styles as DividerStyles } from './divider.styles.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
+
import { ImageFit, ImageShape } from './image.options.js';
|
|
3
|
+
/**
|
|
4
|
+
* The base class used for constucting a fluent image custom element
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class Image extends FASTElement {
|
|
8
|
+
/**
|
|
9
|
+
* Image layout
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
* @remarks
|
|
13
|
+
* HTML attribute: block.
|
|
14
|
+
*/
|
|
15
|
+
block?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Image border
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
* @remarks
|
|
21
|
+
* HTML attribute: border.
|
|
22
|
+
*/
|
|
23
|
+
bordered?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Image shadow
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
* @remarks
|
|
29
|
+
* HTML attribute: shadow.
|
|
30
|
+
*/
|
|
31
|
+
shadow?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Image fit
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
* @remarks
|
|
37
|
+
* HTML attribute: fit.
|
|
38
|
+
*/
|
|
39
|
+
fit?: ImageFit;
|
|
40
|
+
/**
|
|
41
|
+
* Image shape
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
* @remarks
|
|
45
|
+
* HTML attribute: shape.
|
|
46
|
+
*/
|
|
47
|
+
shape?: ImageShape;
|
|
48
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Image fit
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const ImageFit: {
|
|
7
|
+
readonly none: "none";
|
|
8
|
+
readonly center: "center";
|
|
9
|
+
readonly contain: "contain";
|
|
10
|
+
readonly cover: "cover";
|
|
11
|
+
readonly default: "default";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Types for image fit
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare type ImageFit = ValuesOf<typeof ImageFit>;
|
|
18
|
+
/**
|
|
19
|
+
* Image shape
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare const ImageShape: {
|
|
23
|
+
readonly circular: "circular";
|
|
24
|
+
readonly rounded: "rounded";
|
|
25
|
+
readonly square: "square";
|
|
26
|
+
};
|
|
27
|
+
export declare type ImageShape = ValuesOf<typeof ImageShape>;
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
+
export * from './accordion/index.js';
|
|
2
|
+
export * from './accordion-item/index.js';
|
|
3
|
+
export * from './anchor-button/index.js';
|
|
4
|
+
export * from './avatar/index.js';
|
|
1
5
|
export * from './badge/index.js';
|
|
6
|
+
export * from './button/index.js';
|
|
7
|
+
export * from './compound-button/index.js';
|
|
2
8
|
export * from './counter-badge/index.js';
|
|
9
|
+
export * from './divider/index.js';
|
|
10
|
+
export * from './image/index.js';
|
|
11
|
+
export * from './label/index.js';
|
|
12
|
+
export * from './menu-button/index.js';
|
|
13
|
+
export * from './menu-item/index.js';
|
|
14
|
+
export * from './menu-list/index.js';
|
|
3
15
|
export * from './progress-bar/index.js';
|
|
16
|
+
export * from './radio/index.js';
|
|
17
|
+
export * from './radio-group/index.js';
|
|
18
|
+
export * from './slider/index.js';
|
|
19
|
+
export * from './spinner/index.js';
|
|
20
|
+
export * from './switch/index.js';
|
|
21
|
+
export * from './tabs/index.js';
|
|
22
|
+
export * from './tab/index.js';
|
|
23
|
+
export * from './tab-panel/index.js';
|
|
4
24
|
export * from './text/index.js';
|
|
25
|
+
export * from './toggle-button/index.js';
|
|
5
26
|
export * from './theme/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
+
import { LabelSize, LabelWeight } from './label.options.js';
|
|
3
|
+
/**
|
|
4
|
+
* The base class used for constructing a fluent-label custom element
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class Label extends FASTElement {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies font size of a label
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
* @default 'medium'
|
|
13
|
+
* @remarks
|
|
14
|
+
* HTML Attribute: size
|
|
15
|
+
*/
|
|
16
|
+
size?: LabelSize;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies font weight of a label
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
* @default 'regular'
|
|
22
|
+
* @remarks
|
|
23
|
+
* HTML Attribute: weight
|
|
24
|
+
*/
|
|
25
|
+
weight?: LabelWeight;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies styles for label when associated input is disabled
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
* @remarks
|
|
31
|
+
* HTML Attribute: disabled
|
|
32
|
+
*/
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies styles for label when associated input is a required field
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
* @remarks
|
|
39
|
+
* HTML Attribute: required
|
|
40
|
+
*/
|
|
41
|
+
required: boolean;
|
|
42
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* A Labels font size can be small, medium, or large
|
|
4
|
+
*/
|
|
5
|
+
export declare const LabelSize: {
|
|
6
|
+
readonly small: "small";
|
|
7
|
+
readonly medium: "medium";
|
|
8
|
+
readonly large: "large";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Applies font size to label
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare type LabelSize = ValuesOf<typeof LabelSize>;
|
|
15
|
+
/**
|
|
16
|
+
* A label can have a font weight of regular or strong
|
|
17
|
+
*/
|
|
18
|
+
export declare const LabelWeight: {
|
|
19
|
+
readonly regular: "regular";
|
|
20
|
+
readonly semibold: "semibold";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Applies font weight to label
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import { Label } from './label.js';
|
|
3
|
+
/**
|
|
4
|
+
* The template for the Fluent label web-component.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function labelTemplate<T extends Label>(): ElementViewTemplate<T>;
|
|
8
|
+
export declare const template: ElementViewTemplate<Label>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './menu-button.js';
|
|
2
|
+
export * from './menu-button.options.js';
|
|
3
|
+
export { template as MenuButtonTemplate } from './menu-button.template.js';
|
|
4
|
+
export { styles as MenuButtonStyles } from '../button/button.styles.js';
|
|
5
|
+
export { definition as MenuButtonDefinition } from './menu-button.definition.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MenuButton } from './menu-button.js';
|
|
2
|
+
/**
|
|
3
|
+
* The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
4
|
+
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
* @remarks
|
|
8
|
+
* HTML Element: \<fluent-button\>
|
|
9
|
+
*/
|
|
10
|
+
export declare const definition: import("@microsoft/fast-element").FASTElementDefinition<typeof MenuButton>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ButtonOptions, ValuesOf } from '@microsoft/fast-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Menu Button Appearance constants
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const MenuButtonAppearance: {
|
|
7
|
+
readonly primary: "primary";
|
|
8
|
+
readonly outline: "outline";
|
|
9
|
+
readonly subtle: "subtle";
|
|
10
|
+
readonly secondary: "secondary";
|
|
11
|
+
readonly transparent: "transparent";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* A Menu Button can be secondary, primary, outline, subtle, transparent
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
18
|
+
/**
|
|
19
|
+
* A Menu Button can be square, circular or rounded.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare const MenuButtonShape: {
|
|
23
|
+
readonly circular: "circular";
|
|
24
|
+
readonly rounded: "rounded";
|
|
25
|
+
readonly square: "square";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A Menu Button can be square, circular or rounded
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare type MenuButtonShape = ValuesOf<typeof MenuButtonShape>;
|
|
32
|
+
/**
|
|
33
|
+
* A Menu Button can be a size of small, medium or large.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare const MenuButtonSize: {
|
|
37
|
+
readonly small: "small";
|
|
38
|
+
readonly medium: "medium";
|
|
39
|
+
readonly large: "large";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* A Menu Button can be on of several preset sizes.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
46
|
+
export { ButtonOptions as MenuButtonOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|