@fluentui/web-components 3.0.0-rc.21 → 3.0.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -2
- package/custom-elements.json +1600 -242
- package/dist/esm/accordion/accordion.definition-async.d.ts +10 -0
- package/dist/esm/accordion/accordion.definition-async.js +14 -0
- package/dist/esm/accordion/accordion.definition-async.js.map +1 -0
- package/dist/esm/accordion/accordion.js +1 -1
- package/dist/esm/accordion/accordion.js.map +1 -1
- package/dist/esm/accordion/accordion.styles.css +8 -0
- package/dist/esm/accordion/accordion.template.html +5 -0
- package/dist/esm/accordion/define-async.d.ts +1 -0
- package/dist/esm/accordion/define-async.js +5 -0
- package/dist/esm/accordion/define-async.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition-async.d.ts +10 -0
- package/dist/esm/accordion-item/accordion-item.definition-async.js +14 -0
- package/dist/esm/accordion-item/accordion-item.definition-async.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.css +170 -0
- package/dist/esm/accordion-item/accordion-item.template.html +47 -0
- package/dist/esm/accordion-item/define-async.d.ts +1 -0
- package/dist/esm/accordion-item/define-async.js +5 -0
- package/dist/esm/accordion-item/define-async.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.definition-async.d.ts +10 -0
- package/dist/esm/anchor-button/anchor-button.definition-async.js +14 -0
- package/dist/esm/anchor-button/anchor-button.definition-async.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.styles.css +225 -0
- package/dist/esm/anchor-button/anchor-button.template.html +13 -0
- package/dist/esm/anchor-button/define-async.d.ts +1 -0
- package/dist/esm/anchor-button/define-async.js +5 -0
- package/dist/esm/anchor-button/define-async.js.map +1 -0
- package/dist/esm/avatar/avatar.definition-async.d.ts +10 -0
- package/dist/esm/avatar/avatar.definition-async.js +14 -0
- package/dist/esm/avatar/avatar.definition-async.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.css +475 -0
- package/dist/esm/avatar/avatar.template.html +17 -0
- package/dist/esm/avatar/define-async.d.ts +1 -0
- package/dist/esm/avatar/define-async.js +5 -0
- package/dist/esm/avatar/define-async.js.map +1 -0
- package/dist/esm/badge/badge.definition-async.d.ts +10 -0
- package/dist/esm/badge/badge.definition-async.js +14 -0
- package/dist/esm/badge/badge.definition-async.js.map +1 -0
- package/dist/esm/badge/badge.styles.css +268 -0
- package/dist/esm/badge/badge.template.html +5 -0
- package/dist/esm/badge/define-async.d.ts +1 -0
- package/dist/esm/badge/define-async.js +5 -0
- package/dist/esm/badge/define-async.js.map +1 -0
- package/dist/esm/button/button.definition-async.d.ts +10 -0
- package/dist/esm/button/button.definition-async.js +14 -0
- package/dist/esm/button/button.definition-async.js.map +1 -0
- package/dist/esm/button/button.styles.css +267 -0
- package/dist/esm/button/button.template.html +12 -0
- package/dist/esm/button/define-async.d.ts +1 -0
- package/dist/esm/button/define-async.js +5 -0
- package/dist/esm/button/define-async.js.map +1 -0
- package/dist/esm/checkbox/checkbox.base.js +9 -7
- package/dist/esm/checkbox/checkbox.base.js.map +1 -1
- package/dist/esm/checkbox/checkbox.definition-async.d.ts +10 -0
- package/dist/esm/checkbox/checkbox.definition-async.js +14 -0
- package/dist/esm/checkbox/checkbox.definition-async.js.map +1 -0
- package/dist/esm/checkbox/checkbox.styles.css +168 -0
- package/dist/esm/checkbox/checkbox.template.html +24 -0
- package/dist/esm/checkbox/define-async.d.ts +1 -0
- package/dist/esm/checkbox/define-async.js +5 -0
- package/dist/esm/checkbox/define-async.js.map +1 -0
- package/dist/esm/compound-button/compound-button.definition-async.d.ts +10 -0
- package/dist/esm/compound-button/compound-button.definition-async.js +14 -0
- package/dist/esm/compound-button/compound-button.definition-async.js.map +1 -0
- package/dist/esm/compound-button/compound-button.styles.css +372 -0
- package/dist/esm/compound-button/compound-button.template.html +13 -0
- package/dist/esm/compound-button/define-async.d.ts +1 -0
- package/dist/esm/compound-button/define-async.js +5 -0
- package/dist/esm/compound-button/define-async.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition-async.d.ts +10 -0
- package/dist/esm/counter-badge/counter-badge.definition-async.js +14 -0
- package/dist/esm/counter-badge/counter-badge.definition-async.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.css +177 -0
- package/dist/esm/counter-badge/counter-badge.template.html +5 -0
- package/dist/esm/counter-badge/define-async.d.ts +1 -0
- package/dist/esm/counter-badge/define-async.js +5 -0
- package/dist/esm/counter-badge/define-async.js.map +1 -0
- package/dist/esm/dialog/define-async.d.ts +1 -0
- package/dist/esm/dialog/define-async.js +5 -0
- package/dist/esm/dialog/define-async.js.map +1 -0
- package/dist/esm/dialog/dialog.definition-async.d.ts +10 -0
- package/dist/esm/dialog/dialog.definition-async.js +14 -0
- package/dist/esm/dialog/dialog.definition-async.js.map +1 -0
- package/dist/esm/dialog/dialog.styles.css +86 -0
- package/dist/esm/dialog/dialog.template.html +16 -0
- package/dist/esm/dialog-body/define-async.d.ts +1 -0
- package/dist/esm/dialog-body/define-async.js +5 -0
- package/dist/esm/dialog-body/define-async.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.d.ts +10 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.js +14 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.styles.css +87 -0
- package/dist/esm/dialog-body/dialog-body.template.html +11 -0
- package/dist/esm/divider/define-async.d.ts +1 -0
- package/dist/esm/divider/define-async.js +5 -0
- package/dist/esm/divider/define-async.js.map +1 -0
- package/dist/esm/divider/divider.definition-async.d.ts +10 -0
- package/dist/esm/divider/divider.definition-async.js +14 -0
- package/dist/esm/divider/divider.definition-async.js.map +1 -0
- package/dist/esm/divider/divider.styles.css +119 -0
- package/dist/esm/divider/divider.template.html +1 -0
- package/dist/esm/drawer/define-async.d.ts +1 -0
- package/dist/esm/drawer/define-async.js +5 -0
- package/dist/esm/drawer/define-async.js.map +1 -0
- package/dist/esm/drawer/drawer.definition-async.d.ts +10 -0
- package/dist/esm/drawer/drawer.definition-async.js +14 -0
- package/dist/esm/drawer/drawer.definition-async.js.map +1 -0
- package/dist/esm/drawer/drawer.styles.css +130 -0
- package/dist/esm/drawer/drawer.template.html +18 -0
- package/dist/esm/drawer-body/define-async.d.ts +1 -0
- package/dist/esm/drawer-body/define-async.js +5 -0
- package/dist/esm/drawer-body/define-async.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.definition-async.d.ts +10 -0
- package/dist/esm/drawer-body/drawer-body.definition-async.js +14 -0
- package/dist/esm/drawer-body/drawer-body.definition-async.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.styles.css +33 -0
- package/dist/esm/drawer-body/drawer-body.template.html +12 -0
- package/dist/esm/dropdown/define-async.d.ts +1 -0
- package/dist/esm/dropdown/define-async.js +5 -0
- package/dist/esm/dropdown/define-async.js.map +1 -0
- package/dist/esm/dropdown/dropdown.base.d.ts +25 -0
- package/dist/esm/dropdown/dropdown.base.js +66 -10
- package/dist/esm/dropdown/dropdown.base.js.map +1 -1
- package/dist/esm/dropdown/dropdown.definition-async.d.ts +10 -0
- package/dist/esm/dropdown/dropdown.definition-async.js +14 -0
- package/dist/esm/dropdown/dropdown.definition-async.js.map +1 -0
- package/dist/esm/dropdown/dropdown.styles.css +221 -0
- package/dist/esm/dropdown/dropdown.template.html +21 -0
- package/dist/esm/field/define-async.d.ts +1 -0
- package/dist/esm/field/define-async.js +5 -0
- package/dist/esm/field/define-async.js.map +1 -0
- package/dist/esm/field/field.definition-async.d.ts +10 -0
- package/dist/esm/field/field.definition-async.js +17 -0
- package/dist/esm/field/field.definition-async.js.map +1 -0
- package/dist/esm/field/field.styles.css +121 -0
- package/dist/esm/field/field.template.html +12 -0
- package/dist/esm/image/define-async.d.ts +1 -0
- package/dist/esm/image/define-async.js +5 -0
- package/dist/esm/image/define-async.js.map +1 -0
- package/dist/esm/image/image.definition-async.d.ts +10 -0
- package/dist/esm/image/image.definition-async.js +14 -0
- package/dist/esm/image/image.definition-async.js.map +1 -0
- package/dist/esm/image/image.styles.css +51 -0
- package/dist/esm/image/image.template.html +1 -0
- package/dist/esm/label/define-async.d.ts +1 -0
- package/dist/esm/label/define-async.js +5 -0
- package/dist/esm/label/define-async.js.map +1 -0
- package/dist/esm/label/label.definition-async.d.ts +10 -0
- package/dist/esm/label/label.definition-async.js +14 -0
- package/dist/esm/label/label.definition-async.js.map +1 -0
- package/dist/esm/label/label.styles.css +36 -0
- package/dist/esm/label/label.template.html +4 -0
- package/dist/esm/link/define-async.d.ts +1 -0
- package/dist/esm/link/define-async.js +5 -0
- package/dist/esm/link/define-async.js.map +1 -0
- package/dist/esm/link/link.definition-async.d.ts +10 -0
- package/dist/esm/link/link.definition-async.js +14 -0
- package/dist/esm/link/link.definition-async.js.map +1 -0
- package/dist/esm/link/link.styles.css +68 -0
- package/dist/esm/link/link.template.html +9 -0
- package/dist/esm/listbox/define-async.d.ts +1 -0
- package/dist/esm/listbox/define-async.js +5 -0
- package/dist/esm/listbox/define-async.js.map +1 -0
- package/dist/esm/listbox/listbox.definition-async.d.ts +10 -0
- package/dist/esm/listbox/listbox.definition-async.js +14 -0
- package/dist/esm/listbox/listbox.definition-async.js.map +1 -0
- package/dist/esm/listbox/listbox.styles.css +51 -0
- package/dist/esm/listbox/listbox.template.html +8 -0
- package/dist/esm/menu/define-async.d.ts +1 -0
- package/dist/esm/menu/define-async.js +5 -0
- package/dist/esm/menu/define-async.js.map +1 -0
- package/dist/esm/menu/menu.definition-async.d.ts +10 -0
- package/dist/esm/menu/menu.definition-async.js +14 -0
- package/dist/esm/menu/menu.definition-async.js.map +1 -0
- package/dist/esm/menu/menu.styles.css +53 -0
- package/dist/esm/menu/menu.template.html +7 -0
- package/dist/esm/menu/menu.template.js +1 -7
- package/dist/esm/menu/menu.template.js.map +1 -1
- package/dist/esm/menu-button/define-async.d.ts +1 -0
- package/dist/esm/menu-button/define-async.js +5 -0
- package/dist/esm/menu-button/define-async.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition-async.d.ts +10 -0
- package/dist/esm/menu-button/menu-button.definition-async.js +14 -0
- package/dist/esm/menu-button/menu-button.definition-async.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.js +1 -1
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
- package/dist/esm/menu-button/menu-button.styles.css +267 -0
- package/dist/esm/menu-button/menu-button.styles.d.ts +6 -0
- package/dist/esm/menu-button/menu-button.styles.js +8 -0
- package/dist/esm/menu-button/menu-button.styles.js.map +1 -0
- package/dist/esm/menu-button/menu-button.template.html +16 -0
- package/dist/esm/menu-item/define-async.d.ts +1 -0
- package/dist/esm/menu-item/define-async.js +5 -0
- package/dist/esm/menu-item/define-async.js.map +1 -0
- package/dist/esm/menu-item/menu-item.definition-async.d.ts +10 -0
- package/dist/esm/menu-item/menu-item.definition-async.js +14 -0
- package/dist/esm/menu-item/menu-item.definition-async.js.map +1 -0
- package/dist/esm/menu-item/menu-item.styles.css +152 -0
- package/dist/esm/menu-item/menu-item.template.html +19 -0
- package/dist/esm/menu-list/define-async.d.ts +1 -0
- package/dist/esm/menu-list/define-async.js +5 -0
- package/dist/esm/menu-list/define-async.js.map +1 -0
- package/dist/esm/menu-list/menu-list.base.js +3 -0
- package/dist/esm/menu-list/menu-list.base.js.map +1 -1
- package/dist/esm/menu-list/menu-list.definition-async.d.ts +10 -0
- package/dist/esm/menu-list/menu-list.definition-async.js +14 -0
- package/dist/esm/menu-list/menu-list.definition-async.js.map +1 -0
- package/dist/esm/menu-list/menu-list.styles.css +16 -0
- package/dist/esm/menu-list/menu-list.template.html +5 -0
- package/dist/esm/menu-list/menu-list.template.js +1 -1
- package/dist/esm/menu-list/menu-list.template.js.map +1 -1
- package/dist/esm/message-bar/define-async.d.ts +1 -0
- package/dist/esm/message-bar/define-async.js +5 -0
- package/dist/esm/message-bar/define-async.js.map +1 -0
- package/dist/esm/message-bar/message-bar.definition-async.d.ts +10 -0
- package/dist/esm/message-bar/message-bar.definition-async.js +14 -0
- package/dist/esm/message-bar/message-bar.definition-async.js.map +1 -0
- package/dist/esm/message-bar/message-bar.styles.css +98 -0
- package/dist/esm/message-bar/message-bar.template.html +8 -0
- package/dist/esm/option/define-async.d.ts +1 -0
- package/dist/esm/option/define-async.js +5 -0
- package/dist/esm/option/define-async.js.map +1 -0
- package/dist/esm/option/option.definition-async.d.ts +10 -0
- package/dist/esm/option/option.definition-async.js +14 -0
- package/dist/esm/option/option.definition-async.js.map +1 -0
- package/dist/esm/option/option.styles.css +131 -0
- package/dist/esm/option/option.template.html +21 -0
- package/dist/esm/progress-bar/define-async.d.ts +1 -0
- package/dist/esm/progress-bar/define-async.js +5 -0
- package/dist/esm/progress-bar/define-async.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition-async.d.ts +10 -0
- package/dist/esm/progress-bar/progress-bar.definition-async.js +14 -0
- package/dist/esm/progress-bar/progress-bar.definition-async.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.css +99 -0
- package/dist/esm/progress-bar/progress-bar.template.html +3 -0
- package/dist/esm/radio/define-async.d.ts +1 -0
- package/dist/esm/radio/define-async.js +5 -0
- package/dist/esm/radio/define-async.js.map +1 -0
- package/dist/esm/radio/radio.definition-async.d.ts +10 -0
- package/dist/esm/radio/radio.definition-async.js +14 -0
- package/dist/esm/radio/radio.definition-async.js.map +1 -0
- package/dist/esm/radio/radio.styles.css +115 -0
- package/dist/esm/radio/radio.template.html +11 -0
- package/dist/esm/radio-group/define-async.d.ts +1 -0
- package/dist/esm/radio-group/define-async.js +5 -0
- package/dist/esm/radio-group/define-async.js.map +1 -0
- package/dist/esm/radio-group/radio-group.definition-async.d.ts +10 -0
- package/dist/esm/radio-group/radio-group.definition-async.js +14 -0
- package/dist/esm/radio-group/radio-group.definition-async.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.css +41 -0
- package/dist/esm/radio-group/radio-group.template.html +12 -0
- package/dist/esm/rating-display/define-async.d.ts +1 -0
- package/dist/esm/rating-display/define-async.js +5 -0
- package/dist/esm/rating-display/define-async.js.map +1 -0
- package/dist/esm/rating-display/rating-display.definition-async.d.ts +10 -0
- package/dist/esm/rating-display/rating-display.definition-async.js +14 -0
- package/dist/esm/rating-display/rating-display.definition-async.js.map +1 -0
- package/dist/esm/rating-display/rating-display.styles.css +140 -0
- package/dist/esm/rating-display/rating-display.template.html +6 -0
- package/dist/esm/slider/define-async.d.ts +1 -0
- package/dist/esm/slider/define-async.js +5 -0
- package/dist/esm/slider/define-async.js.map +1 -0
- package/dist/esm/slider/slider.definition-async.d.ts +10 -0
- package/dist/esm/slider/slider.definition-async.js +14 -0
- package/dist/esm/slider/slider.definition-async.js.map +1 -0
- package/dist/esm/slider/slider.styles.css +189 -0
- package/dist/esm/slider/slider.template.html +17 -0
- package/dist/esm/spinner/define-async.d.ts +1 -0
- package/dist/esm/spinner/define-async.js +5 -0
- package/dist/esm/spinner/define-async.js.map +1 -0
- package/dist/esm/spinner/spinner.definition-async.d.ts +10 -0
- package/dist/esm/spinner/spinner.definition-async.js +14 -0
- package/dist/esm/spinner/spinner.definition-async.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.css +155 -0
- package/dist/esm/spinner/spinner.template.html +13 -0
- package/dist/esm/switch/define-async.d.ts +1 -0
- package/dist/esm/switch/define-async.js +5 -0
- package/dist/esm/switch/define-async.js.map +1 -0
- package/dist/esm/switch/switch.definition-async.d.ts +10 -0
- package/dist/esm/switch/switch.definition-async.js +14 -0
- package/dist/esm/switch/switch.definition-async.js.map +1 -0
- package/dist/esm/switch/switch.styles.css +121 -0
- package/dist/esm/switch/switch.template.html +10 -0
- package/dist/esm/tab/define-async.d.ts +1 -0
- package/dist/esm/tab/define-async.js +5 -0
- package/dist/esm/tab/define-async.js.map +1 -0
- package/dist/esm/tab/tab.definition-async.d.ts +10 -0
- package/dist/esm/tab/tab.definition-async.js +14 -0
- package/dist/esm/tab/tab.definition-async.js.map +1 -0
- package/dist/esm/tab/tab.styles.css +118 -0
- package/dist/esm/tab/tab.template.html +7 -0
- package/dist/esm/tablist/define-async.d.ts +1 -0
- package/dist/esm/tablist/define-async.js +5 -0
- package/dist/esm/tablist/define-async.js.map +1 -0
- package/dist/esm/tablist/tablist.definition-async.d.ts +10 -0
- package/dist/esm/tablist/tablist.definition-async.js +14 -0
- package/dist/esm/tablist/tablist.definition-async.js.map +1 -0
- package/dist/esm/tablist/tablist.styles.css +203 -0
- package/dist/esm/tablist/tablist.template.html +9 -0
- package/dist/esm/text/define-async.d.ts +1 -0
- package/dist/esm/text/define-async.js +5 -0
- package/dist/esm/text/define-async.js.map +1 -0
- package/dist/esm/text/text.definition-async.d.ts +10 -0
- package/dist/esm/text/text.definition-async.js +14 -0
- package/dist/esm/text/text.definition-async.js.map +1 -0
- package/dist/esm/text/text.styles.css +104 -0
- package/dist/esm/text/text.template.html +1 -0
- package/dist/esm/text-input/define-async.d.ts +1 -0
- package/dist/esm/text-input/define-async.js +5 -0
- package/dist/esm/text-input/define-async.js.map +1 -0
- package/dist/esm/text-input/text-input.base.d.ts +0 -6
- package/dist/esm/text-input/text-input.base.js +3 -14
- package/dist/esm/text-input/text-input.base.js.map +1 -1
- package/dist/esm/text-input/text-input.definition-async.d.ts +10 -0
- package/dist/esm/text-input/text-input.definition-async.js +17 -0
- package/dist/esm/text-input/text-input.definition-async.js.map +1 -0
- package/dist/esm/text-input/text-input.styles.css +200 -0
- package/dist/esm/text-input/text-input.template.html +38 -0
- package/dist/esm/text-input/text-input.template.js +1 -2
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/textarea/define-async.d.ts +1 -0
- package/dist/esm/textarea/define-async.js +5 -0
- package/dist/esm/textarea/define-async.js.map +1 -0
- package/dist/esm/textarea/textarea.base.js +12 -10
- package/dist/esm/textarea/textarea.base.js.map +1 -1
- package/dist/esm/textarea/textarea.definition-async.d.ts +10 -0
- package/dist/esm/textarea/textarea.definition-async.js +17 -0
- package/dist/esm/textarea/textarea.definition-async.js.map +1 -0
- package/dist/esm/textarea/textarea.styles.css +258 -0
- package/dist/esm/textarea/textarea.template.html +29 -0
- package/dist/esm/toggle-button/define-async.d.ts +1 -0
- package/dist/esm/toggle-button/define-async.js +5 -0
- package/dist/esm/toggle-button/define-async.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.definition-async.d.ts +10 -0
- package/dist/esm/toggle-button/toggle-button.definition-async.js +14 -0
- package/dist/esm/toggle-button/toggle-button.definition-async.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.js +2 -3
- package/dist/esm/toggle-button/toggle-button.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.css +358 -0
- package/dist/esm/toggle-button/toggle-button.template.html +12 -0
- package/dist/esm/tooltip/define-async.d.ts +1 -0
- package/dist/esm/tooltip/define-async.js +5 -0
- package/dist/esm/tooltip/define-async.js.map +1 -0
- package/dist/esm/tooltip/tooltip.d.ts +9 -9
- package/dist/esm/tooltip/tooltip.definition-async.d.ts +10 -0
- package/dist/esm/tooltip/tooltip.definition-async.js +14 -0
- package/dist/esm/tooltip/tooltip.definition-async.js.map +1 -0
- package/dist/esm/tooltip/tooltip.js +38 -6
- package/dist/esm/tooltip/tooltip.js.map +1 -1
- package/dist/esm/tooltip/tooltip.styles.css +86 -0
- package/dist/esm/tooltip/tooltip.template.html +1 -0
- package/dist/esm/tree/define-async.d.ts +1 -0
- package/dist/esm/tree/define-async.js +5 -0
- package/dist/esm/tree/define-async.js.map +1 -0
- package/dist/esm/tree/tree.definition-async.d.ts +10 -0
- package/dist/esm/tree/tree.definition-async.js +14 -0
- package/dist/esm/tree/tree.definition-async.js.map +1 -0
- package/dist/esm/tree/tree.styles.css +6 -0
- package/dist/esm/tree/tree.template.html +12 -0
- package/dist/esm/tree/tree.template.js +1 -0
- package/dist/esm/tree/tree.template.js.map +1 -1
- package/dist/esm/tree-item/define-async.d.ts +1 -0
- package/dist/esm/tree-item/define-async.js +5 -0
- package/dist/esm/tree-item/define-async.js.map +1 -0
- package/dist/esm/tree-item/tree-item.base.d.ts +1 -0
- package/dist/esm/tree-item/tree-item.base.js +12 -3
- package/dist/esm/tree-item/tree-item.base.js.map +1 -1
- package/dist/esm/tree-item/tree-item.definition-async.d.ts +10 -0
- package/dist/esm/tree-item/tree-item.definition-async.js +14 -0
- package/dist/esm/tree-item/tree-item.definition-async.js.map +1 -0
- package/dist/esm/tree-item/tree-item.styles.css +157 -0
- package/dist/esm/tree-item/tree-item.template.html +26 -0
- package/dist/esm/tree-item/tree-item.template.js +1 -1
- package/dist/esm/tree-item/tree-item.template.js.map +1 -1
- package/dist/web-components-all.js +196 -115
- package/dist/web-components-all.min.js +11 -11
- package/dist/web-components.d.ts +35 -6
- package/dist/web-components.js +195 -114
- package/dist/web-components.min.js +11 -11
- package/package.json +16 -2
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-flex}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
--duration: 1.5s;
|
|
6
|
+
--indicatorSize: var(--strokeWidthThicker);
|
|
7
|
+
--size: 32px;
|
|
8
|
+
height: var(--size);
|
|
9
|
+
width: var(--size);
|
|
10
|
+
contain: strict;
|
|
11
|
+
content-visibility: auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host([size='tiny']) {
|
|
15
|
+
--indicatorSize: var(--strokeWidthThick);
|
|
16
|
+
--size: 20px;
|
|
17
|
+
}
|
|
18
|
+
:host([size='extra-small']) {
|
|
19
|
+
--indicatorSize: var(--strokeWidthThick);
|
|
20
|
+
--size: 24px;
|
|
21
|
+
}
|
|
22
|
+
:host([size='small']) {
|
|
23
|
+
--indicatorSize: var(--strokeWidthThick);
|
|
24
|
+
--size: 28px;
|
|
25
|
+
}
|
|
26
|
+
:host([size='large']) {
|
|
27
|
+
--indicatorSize: var(--strokeWidthThicker);
|
|
28
|
+
--size: 36px;
|
|
29
|
+
}
|
|
30
|
+
:host([size='extra-large']) {
|
|
31
|
+
--indicatorSize: var(--strokeWidthThicker);
|
|
32
|
+
--size: 40px;
|
|
33
|
+
}
|
|
34
|
+
:host([size='huge']) {
|
|
35
|
+
--indicatorSize: var(--strokeWidthThickest);
|
|
36
|
+
--size: 44px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.progress,
|
|
40
|
+
.background,
|
|
41
|
+
.spinner,
|
|
42
|
+
.start,
|
|
43
|
+
.end,
|
|
44
|
+
.indicator {
|
|
45
|
+
position: absolute;
|
|
46
|
+
inset: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.progress,
|
|
50
|
+
.spinner,
|
|
51
|
+
.indicator {
|
|
52
|
+
animation: none var(--duration) infinite var(--curveEasyEase);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.progress {
|
|
56
|
+
animation-timing-function: linear;
|
|
57
|
+
animation-name: spin-linear;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.background {
|
|
61
|
+
border: var(--indicatorSize) solid var(--colorBrandStroke2);
|
|
62
|
+
border-radius: 50%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host([appearance='inverted']) .background {
|
|
66
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.spinner {
|
|
70
|
+
animation-name: spin-swing;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.start {
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
right: 50%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.end {
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
left: 50%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.indicator {
|
|
84
|
+
color: var(--colorBrandStroke1);
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
border: var(--indicatorSize) solid transparent;
|
|
88
|
+
border-block-start-color: currentcolor;
|
|
89
|
+
border-right-color: currentcolor;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([appearance='inverted']) .indicator {
|
|
93
|
+
color: var(--colorNeutralStrokeOnBrand2);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.start .indicator {
|
|
97
|
+
rotate: 135deg; /* Starts 9 o'clock */
|
|
98
|
+
inset: 0 -100% 0 0;
|
|
99
|
+
animation-name: spin-start;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.end .indicator {
|
|
103
|
+
rotate: 135deg; /* Ends at 3 o'clock */
|
|
104
|
+
inset: 0 0 0 -100%;
|
|
105
|
+
animation-name: spin-end;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@keyframes spin-linear {
|
|
109
|
+
100% {
|
|
110
|
+
transform: rotate(360deg);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes spin-swing {
|
|
115
|
+
0% {
|
|
116
|
+
transform: rotate(-135deg);
|
|
117
|
+
}
|
|
118
|
+
50% {
|
|
119
|
+
transform: rotate(0deg);
|
|
120
|
+
}
|
|
121
|
+
100% {
|
|
122
|
+
transform: rotate(225deg);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@keyframes spin-start {
|
|
127
|
+
0%,
|
|
128
|
+
100% {
|
|
129
|
+
transform: rotate(0deg);
|
|
130
|
+
}
|
|
131
|
+
50% {
|
|
132
|
+
transform: rotate(-80deg);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@keyframes spin-end {
|
|
137
|
+
0%,
|
|
138
|
+
100% {
|
|
139
|
+
transform: rotate(0deg);
|
|
140
|
+
}
|
|
141
|
+
50% {
|
|
142
|
+
transform: rotate(70deg);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media (forced-colors: active) {
|
|
147
|
+
.background {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
.indicator {
|
|
151
|
+
border-color: Canvas;
|
|
152
|
+
border-block-start-color: Highlight;
|
|
153
|
+
border-right-color: Highlight;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<f-template name="fluent-spinner" shadowrootmode="open"><template>{{styles}}<slot name="indicator">
|
|
2
|
+
<div class="background"></div>
|
|
3
|
+
<div class="progress">
|
|
4
|
+
<div class="spinner">
|
|
5
|
+
<div class="start">
|
|
6
|
+
<div class="indicator"></div>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="end">
|
|
9
|
+
<div class="indicator"></div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</slot></template></f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/switch/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAqB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-switch element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export declare const definition: PartialFASTElementDefinition;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tagName } from './switch.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-switch element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export const definition = {
|
|
11
|
+
name: tagName,
|
|
12
|
+
templateOptions: 'defer-and-hydrate',
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=switch.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.definition-async.js","sourceRoot":"","sources":["../../../src/switch/switch.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-flex}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
align-items: center;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
outline: none;
|
|
9
|
+
user-select: none;
|
|
10
|
+
contain: content;
|
|
11
|
+
padding: 0 var(--spacingHorizontalXXS);
|
|
12
|
+
width: 40px;
|
|
13
|
+
height: 20px;
|
|
14
|
+
background-color: var(--colorTransparentBackground);
|
|
15
|
+
border: 1px solid var(--colorNeutralStrokeAccessible);
|
|
16
|
+
border-radius: var(--borderRadiusCircular);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(:enabled) {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host(:hover) {
|
|
24
|
+
background: none;
|
|
25
|
+
border-color: var(--colorNeutralStrokeAccessibleHover);
|
|
26
|
+
}
|
|
27
|
+
:host(:active) {
|
|
28
|
+
border-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
29
|
+
}
|
|
30
|
+
:host(:disabled),
|
|
31
|
+
:host([readonly]) {
|
|
32
|
+
border: 1px solid var(--colorNeutralStrokeDisabled);
|
|
33
|
+
background-color: none;
|
|
34
|
+
pointer: default;
|
|
35
|
+
}
|
|
36
|
+
:host(:state(checked)) {
|
|
37
|
+
background: var(--colorCompoundBrandBackground);
|
|
38
|
+
border-color: var(--colorCompoundBrandBackground);
|
|
39
|
+
}
|
|
40
|
+
:host(:state(checked):hover) {
|
|
41
|
+
background: var(--colorCompoundBrandBackgroundHover);
|
|
42
|
+
border-color: var(--colorCompoundBrandBackgroundHover);
|
|
43
|
+
}
|
|
44
|
+
:host(:state(checked):active) {
|
|
45
|
+
background: var(--colorCompoundBrandBackgroundPressed);
|
|
46
|
+
border-color: var(--colorCompoundBrandBackgroundPressed);
|
|
47
|
+
}
|
|
48
|
+
:host(:state(checked):disabled) {
|
|
49
|
+
background: var(--colorNeutralBackgroundDisabled);
|
|
50
|
+
border-color: var(--colorNeutralStrokeDisabled);
|
|
51
|
+
}
|
|
52
|
+
.checked-indicator {
|
|
53
|
+
height: 14px;
|
|
54
|
+
width: 14px;
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
margin-inline-start: 0;
|
|
57
|
+
background-color: var(--colorNeutralForeground3);
|
|
58
|
+
transition-duration: var(--durationNormal);
|
|
59
|
+
transition-timing-function: var(--curveEasyEase);
|
|
60
|
+
transition-property: margin-inline-start;
|
|
61
|
+
}
|
|
62
|
+
:host(:state(checked)) .checked-indicator {
|
|
63
|
+
background-color: var(--colorNeutralForegroundInverted);
|
|
64
|
+
margin-inline-start: calc(100% - 14px);
|
|
65
|
+
}
|
|
66
|
+
:host(:state(checked):hover) .checked-indicator {
|
|
67
|
+
background: var(--colorNeutralForegroundInvertedHover);
|
|
68
|
+
}
|
|
69
|
+
:host(:state(checked):active) .checked-indicator {
|
|
70
|
+
background: var(--colorNeutralForegroundInvertedPressed);
|
|
71
|
+
}
|
|
72
|
+
:host(:hover) .checked-indicator {
|
|
73
|
+
background-color: var(--colorNeutralForeground3Hover);
|
|
74
|
+
}
|
|
75
|
+
:host(:active) .checked-indicator {
|
|
76
|
+
background-color: var(--colorNeutralForeground3Pressed);
|
|
77
|
+
}
|
|
78
|
+
:host(:disabled) .checked-indicator,
|
|
79
|
+
:host([readonly]) .checked-indicator {
|
|
80
|
+
background: var(--colorNeutralForegroundDisabled);
|
|
81
|
+
}
|
|
82
|
+
:host(:state(checked):disabled) .checked-indicator {
|
|
83
|
+
background: var(--colorNeutralForegroundDisabled);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host(:focus-visible) {
|
|
87
|
+
outline: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host(:not([slot='input']):focus-visible) {
|
|
91
|
+
border-color: var(--colorTransparentStroke);
|
|
92
|
+
outline: var(--strokeWidthThick) solid var(--colorTransparentStroke);
|
|
93
|
+
outline-offset: 1px;
|
|
94
|
+
box-shadow: var(--shadow4), 0 0 0 2px var(--colorStrokeFocus2);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (forced-colors: active) {
|
|
98
|
+
:host {
|
|
99
|
+
border-color: InactiveBorder;
|
|
100
|
+
}
|
|
101
|
+
:host(:state(checked)),
|
|
102
|
+
:host(:state(checked):active),
|
|
103
|
+
:host(:state(checked):hover) {
|
|
104
|
+
background: Highlight;
|
|
105
|
+
border-color: Highlight;
|
|
106
|
+
}
|
|
107
|
+
.checked-indicator,
|
|
108
|
+
:host(:hover) .checked-indicator,
|
|
109
|
+
:host(:active) .checked-indicator {
|
|
110
|
+
background-color: ActiveCaption;
|
|
111
|
+
}
|
|
112
|
+
:host(:state(checked)) .checked-indicator,
|
|
113
|
+
:host(:state(checked):hover) .checked-indicator,
|
|
114
|
+
:host(:state(checked):active) .checked-indicator {
|
|
115
|
+
background-color: ButtonFace;
|
|
116
|
+
}
|
|
117
|
+
:host(:disabled) .checked-indicator,
|
|
118
|
+
:host(:state(checked):disabled) .checked-indicator {
|
|
119
|
+
background-color: GrayText;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<f-template name="fluent-switch" shadowrootmode="open">
|
|
2
|
+
<template
|
|
3
|
+
@click="{clickHandler($e)}"
|
|
4
|
+
@input="{inputHandler($e)}"
|
|
5
|
+
@keydown="{keydownHandler($e)}"
|
|
6
|
+
@keyup="{keyupHandler($e)}"
|
|
7
|
+
>{{styles}}
|
|
8
|
+
<slot name="switch"><span class="checked-indicator" part="checked-indicator"></span></slot>
|
|
9
|
+
</template>
|
|
10
|
+
</f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/tab/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,qBAAqB,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-tab element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export declare const definition: PartialFASTElementDefinition;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tagName } from './tab.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-tab element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export const definition = {
|
|
11
|
+
name: tagName,
|
|
12
|
+
templateOptions: 'defer-and-hydrate',
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=tab.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.definition-async.js","sourceRoot":"","sources":["../../../src/tab/tab.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-flex}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
position: relative;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
align-items: center;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
line-height: var(--lineHeightBase300);
|
|
12
|
+
font-family: var(--fontFamilyBase);
|
|
13
|
+
font-size: var(--fontSizeBase300);
|
|
14
|
+
color: var(--colorNeutralForeground2);
|
|
15
|
+
fill: currentcolor;
|
|
16
|
+
grid-row: 1;
|
|
17
|
+
padding: var(--spacingHorizontalM) var(--spacingHorizontalMNudge);
|
|
18
|
+
border-radius: var(--borderRadiusMedium);
|
|
19
|
+
gap: 4px;
|
|
20
|
+
}
|
|
21
|
+
:host .tab-content {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
padding: 0 2px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([aria-selected='true']) {
|
|
28
|
+
color: var(--colorNeutralForeground1);
|
|
29
|
+
font-weight: var(--fontWeightSemibold);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* adds hidden textContent to prevent shifting ui on bold / unbolding of text */
|
|
33
|
+
:host .tab-content::after {
|
|
34
|
+
content: var(--textContent);
|
|
35
|
+
visibility: hidden;
|
|
36
|
+
height: 0;
|
|
37
|
+
line-height: var(--lineHeightBase300);
|
|
38
|
+
font-weight: var(--fontWeightSemibold);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host([aria-selected='true'])::after {
|
|
42
|
+
background-color: var(--colorCompoundBrandStroke);
|
|
43
|
+
border-radius: var(--borderRadiusCircular);
|
|
44
|
+
content: '';
|
|
45
|
+
inset: 0;
|
|
46
|
+
position: absolute;
|
|
47
|
+
z-index: 2;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host([aria-selected='false']:hover)::after {
|
|
51
|
+
background-color: var(--colorNeutralStroke1Hover);
|
|
52
|
+
border-radius: var(--borderRadiusCircular);
|
|
53
|
+
content: '';
|
|
54
|
+
inset: 0;
|
|
55
|
+
position: absolute;
|
|
56
|
+
z-index: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/*
|
|
60
|
+
* TODO: Remove '(text-size-adjust: auto)' after this bug is fixed:
|
|
61
|
+
* https://bugs.webkit.org/show_bug.cgi?id=298646
|
|
62
|
+
* Also remove the same trick from tablist.styles.ts.
|
|
63
|
+
* Using '@supports (text-size-adjust: auto)' here to exclude Safari 26 from
|
|
64
|
+
* using CSS Anchor Positioning here because it crashes.
|
|
65
|
+
*/
|
|
66
|
+
@supports (anchor-name: --a) and (text-size-adjust: auto) {
|
|
67
|
+
:host([aria-selected='true'])::after {
|
|
68
|
+
background-color: transparent;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([aria-selected='true']:hover)::after {
|
|
72
|
+
background-color: var(--colorNeutralStroke1Hover);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([aria-selected='true'][disabled])::after {
|
|
77
|
+
background-color: var(--colorNeutralForegroundDisabled);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
::slotted([slot='start']),
|
|
81
|
+
::slotted([slot='end']) {
|
|
82
|
+
display: flex;
|
|
83
|
+
}
|
|
84
|
+
:host([disabled]) {
|
|
85
|
+
cursor: not-allowed;
|
|
86
|
+
fill: var(--colorNeutralForegroundDisabled);
|
|
87
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host([disabled]:hover)::after {
|
|
92
|
+
background-color: unset;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host(:focus) {
|
|
96
|
+
outline: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host(:focus-visible) {
|
|
100
|
+
border-radius: var(--borderRadiusSmall);
|
|
101
|
+
box-shadow: 0 0 0 3px var(--colorStrokeFocus2);
|
|
102
|
+
outline: 1px solid var(--colorStrokeFocus1);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:host([data-hasIndent]) {
|
|
106
|
+
display: grid;
|
|
107
|
+
grid-template-columns: 20px 1fr auto;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([data-hasIndent]) .tab-content {
|
|
111
|
+
grid-column: 2;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (forced-colors: active) {
|
|
115
|
+
:host([aria-selected='true'])::after {
|
|
116
|
+
background-color: Highlight;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/tablist/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBAAqB,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-tablist element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export declare const definition: PartialFASTElementDefinition;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tagName } from './tablist.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-tablist element.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used in server-side rendering (SSR) scenarios where the template
|
|
8
|
+
* is provided as a deferred option to be hydrated later.
|
|
9
|
+
*/
|
|
10
|
+
export const definition = {
|
|
11
|
+
name: tagName,
|
|
12
|
+
templateOptions: 'defer-and-hydrate',
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=tablist.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tablist.definition-async.js","sourceRoot":"","sources":["../../../src/tablist/tablist.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|