@fluentui/web-components 3.0.0-rc.20 → 3.0.0-rc.22
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 +1594 -260
- 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.js +5 -4
- 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 +140 -110
- package/dist/web-components-all.min.js +11 -11
- package/dist/web-components.d.ts +10 -6
- package/dist/web-components.js +139 -109
- package/dist/web-components.min.js +11 -11
- package/package.json +16 -2
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-flex}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
anchor-name: --dropdown-trigger;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
color: var(--colorNeutralForeground1);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host(:state(placeholder-shown)) {
|
|
12
|
+
color: var(--colorNeutralForeground4);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.control {
|
|
16
|
+
appearance: none;
|
|
17
|
+
background-color: var(--colorNeutralBackground1);
|
|
18
|
+
border-radius: var(--borderRadiusMedium);
|
|
19
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
20
|
+
box-shadow: inset 0 0 0 var(--strokeWidthThin) var(--control-border-color);
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
color: inherit;
|
|
23
|
+
column-gap: var(--spacingHorizontalXXS);
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
min-width: 160px;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
padding: var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);
|
|
29
|
+
white-space: normal;
|
|
30
|
+
position: relative;
|
|
31
|
+
text-align: start;
|
|
32
|
+
width: 100%;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
|
|
35
|
+
font-family: var(--fontFamilyBase);
|
|
36
|
+
font-size: var(--fontSizeBase300);
|
|
37
|
+
line-height: var(--lineHeightBase300);
|
|
38
|
+
font-weight: var(--fontWeightRegular);
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host([size='small']) .control {
|
|
43
|
+
column-gap: var(--spacingHorizontalXXS);
|
|
44
|
+
padding: var(--spacingVerticalXS) var(--spacingHorizontalSNudge);
|
|
45
|
+
|
|
46
|
+
font-family: var(--fontFamilyBase);
|
|
47
|
+
font-size: var(--fontSizeBase200);
|
|
48
|
+
line-height: var(--lineHeightBase200);
|
|
49
|
+
font-weight: var(--fontWeightRegular);
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host([size='large']) .control {
|
|
54
|
+
column-gap: var(--spacingHorizontalS);
|
|
55
|
+
padding: var(--spacingVerticalS) var(--spacingHorizontalM);
|
|
56
|
+
|
|
57
|
+
font-family: var(--fontFamilyBase);
|
|
58
|
+
font-size: var(--fontSizeBase400);
|
|
59
|
+
line-height: var(--lineHeightBase400);
|
|
60
|
+
font-weight: var(--fontWeightRegular);
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
::slotted(:is(input, button)) {
|
|
65
|
+
all: unset;
|
|
66
|
+
flex: 1 1 auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
::slotted(button) {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
::slotted(input) {
|
|
74
|
+
cursor: text;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where(slot[name='indicator'] > *, ::slotted([slot='indicator'])) {
|
|
78
|
+
all: unset;
|
|
79
|
+
align-items: center;
|
|
80
|
+
appearance: none;
|
|
81
|
+
aspect-ratio: 1;
|
|
82
|
+
color: var(--colorNeutralForeground3);
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
width: 20px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([size='small']) :where(slot[name='indicator'] > *, ::slotted([slot='indicator'])) {
|
|
89
|
+
width: 16px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([size='large']) :where(slot[name='indicator'] > *, ::slotted([slot='indicator'])) {
|
|
93
|
+
width: 24px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.control::after,
|
|
97
|
+
.control::before {
|
|
98
|
+
content: '' / '';
|
|
99
|
+
inset: auto 0 0;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
position: absolute;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.control::before {
|
|
105
|
+
height: var(--strokeWidthThin);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.control::after {
|
|
109
|
+
background-color: var(--colorCompoundBrandStroke);
|
|
110
|
+
height: var(--strokeWidthThick);
|
|
111
|
+
scale: 0 1;
|
|
112
|
+
transition: scale var(--durationUltraFast) var(--curveDecelerateMid);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* focus-ring style uses lingering :focus-within selector due to platform limitations
|
|
117
|
+
* TODO: Convert selector to `:host(:has(:focus-visible)) .control` when browser support increases
|
|
118
|
+
* ISSUE: https://issues.chromium.org/issues/40062355
|
|
119
|
+
*/
|
|
120
|
+
:host(:where(:focus-within)) .control {
|
|
121
|
+
border-radius: var(--borderRadiusMedium);
|
|
122
|
+
box-shadow: inset 0 0 0 1px var(--colorStrokeFocus1);
|
|
123
|
+
outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host(:where(:state(open), :focus-within)) .control::after {
|
|
127
|
+
scale: 1 1;
|
|
128
|
+
transition-duration: var(--durationNormal);
|
|
129
|
+
transition-timing-function: var(--curveAccelerateMid);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host(:where([appearance='outline'], [appearance='transparent'])) .control::before {
|
|
133
|
+
background-color: var(--colorNeutralStrokeAccessible);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([appearance='transparent']) .control {
|
|
137
|
+
--control-border-color: var(--colorTransparentStrokeInteractive);
|
|
138
|
+
background-color: var(--colorTransparentBackground);
|
|
139
|
+
border-radius: var(--borderRadiusNone);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([appearance='outline']) .control {
|
|
143
|
+
--control-border-color: var(--colorNeutralStroke1);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:host([appearance='outline']) .control:hover {
|
|
147
|
+
--control-border-color: var(--colorNeutralStroke1Hover);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:host(:where([appearance='outline'], [appearance='transparent'])) .control:hover::before {
|
|
151
|
+
background-color: var(--colorNeutralStrokeAccessibleHover);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:host([appearance='outline']) .control:hover::after {
|
|
155
|
+
background-color: var(--colorCompoundBrandBackgroundHover);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:host([appearance='outline']) .control:active {
|
|
159
|
+
--control-border-color: var(--colorNeutralStroke1Pressed);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host(:where([appearance='outline'], [appearance='transparent'])) .control:active::before {
|
|
163
|
+
background-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host(:where([appearance='outline'], [appearance='transparent'])) .control:active::after {
|
|
167
|
+
background-color: var(--colorCompoundBrandBackgroundPressed);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host([appearance='filled-darker']) .control {
|
|
171
|
+
background-color: var(--colorNeutralBackground3);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host(:where([appearance='filled-lighter'], [appearance='filled-darker'])) .control {
|
|
175
|
+
--control-border-color: var(--colorTransparentStroke);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host(:disabled),
|
|
179
|
+
:host(:disabled) ::slotted(:where(button, input)) {
|
|
180
|
+
cursor: not-allowed;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host(:disabled) .control::before,
|
|
184
|
+
:host(:disabled) .control::after {
|
|
185
|
+
content: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host(:disabled) .control:is(*, :active, :hover),
|
|
189
|
+
:host(:disabled) :where(slot[name='indicator'] > *, ::slotted([slot='indicator'])) {
|
|
190
|
+
--control-border-color: var(--colorNeutralStrokeDisabled);
|
|
191
|
+
background-color: var(--colorNeutralBackgroundDisabled);
|
|
192
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
::slotted(:not([slot]):not([popover])),
|
|
196
|
+
::slotted([popover]:not(:popover-open)) {
|
|
197
|
+
display: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@supports not (anchor-name: --anchor) {
|
|
201
|
+
:host {
|
|
202
|
+
--listbox-max-height: 50vh;
|
|
203
|
+
--margin-offset: calc(var(--lineHeightBase300) + (var(--spacingVerticalSNudge) * 2) + var(--strokeWidthThin));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:host([size='small']) {
|
|
207
|
+
--margin-offset: calc(var(--lineHeightBase200) + (var(--spacingVerticalXS) * 2) + var(--strokeWidthThin));
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([size='large']) {
|
|
211
|
+
--margin-offset: calc(var(--lineHeightBase400) + (var(--spacingVerticalS) * 2) + var(--strokeWidthThin));
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
@media (forced-colors: active) {
|
|
216
|
+
:host(:disabled) .control {
|
|
217
|
+
border-color: GrayText;
|
|
218
|
+
}
|
|
219
|
+
:host(:disabled) :where(slot[name='indicator'] > *, ::slotted([slot='indicator'])) {
|
|
220
|
+
color: GrayText;
|
|
221
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<f-template name="fluent-dropdown" shadowrootmode="open">
|
|
2
|
+
<template
|
|
3
|
+
@click="{clickHandler($e)}"
|
|
4
|
+
@focusout="{focusoutHandler($e)}"
|
|
5
|
+
@keydown="{keydownHandler($e)}"
|
|
6
|
+
@mousedown="{mousedownHandler($e)}"
|
|
7
|
+
>{{styles}}
|
|
8
|
+
<div class="control">
|
|
9
|
+
<slot name="control" f-ref="{controlSlot}"></slot>
|
|
10
|
+
<slot name="indicator" f-ref="{indicatorSlot}">
|
|
11
|
+
<svg class="chevron-down-20-regular" aria-hidden="true" slot="indicator" viewBox="0 0 20 20" f-ref="{indicator}">
|
|
12
|
+
<path
|
|
13
|
+
d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0"
|
|
14
|
+
fill="currentColor"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</slot>
|
|
18
|
+
</div>
|
|
19
|
+
<slot @slotchange="{slotchangeHandler($e)}"></slot>
|
|
20
|
+
</template>
|
|
21
|
+
</f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/field/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAqB,CAAC,KAAK,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-field 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,17 @@
|
|
|
1
|
+
import { tagName } from './field.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-field 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
|
+
shadowOptions: {
|
|
14
|
+
delegatesFocus: true,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=field.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.definition-async.js","sourceRoot":"","sources":["../../../src/field/field.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;IACpC,aAAa,EAAE;QACb,cAAc,EAAE,IAAI;KACrB;CACF,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-grid}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
color: var(--colorNeutralForeground1);
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 0 var(--spacingHorizontalM);
|
|
8
|
+
justify-items: start;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:has([slot='message']) {
|
|
12
|
+
color: var(--colorNeutralForeground1);
|
|
13
|
+
row-gap: var(--spacingVerticalS);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:not(::slotted([slot='label'])) {
|
|
17
|
+
gap: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([label-position='before']) {
|
|
21
|
+
grid-template-areas: 'label input' 'label message';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([label-position='after']) {
|
|
25
|
+
gap: 0;
|
|
26
|
+
grid-template-areas: 'input label' 'message message';
|
|
27
|
+
grid-template-columns: auto 1fr;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([label-position='after']) ::slotted([slot='input']) {
|
|
31
|
+
margin-inline-end: var(--spacingHorizontalM);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([label-position='above']) {
|
|
35
|
+
grid-template-areas: 'label' 'input' 'message';
|
|
36
|
+
row-gap: var(--spacingVerticalXXS);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([label-position='below']) {
|
|
40
|
+
grid-template-areas: 'input' 'label' 'message';
|
|
41
|
+
justify-items: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([label-position='below']) ::slotted([slot='label']) {
|
|
45
|
+
margin-block-start: var(--spacingVerticalM);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(:state(required)) ::slotted([slot='label'])::after {
|
|
49
|
+
content: '*' / '';
|
|
50
|
+
color: var(--colorPaletteRedForeground1);
|
|
51
|
+
margin-inline-start: var(--spacingHorizontalXS);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
::slotted([slot='input']) {
|
|
55
|
+
grid-area: input;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
::slotted([slot='message']) {
|
|
59
|
+
color: var(--colorNeutralForeground3);
|
|
60
|
+
font-family: var(--fontFamilyBase);
|
|
61
|
+
font-size: var(--fontSizeBase200);
|
|
62
|
+
font-weight: var(--fontWeightRegular);
|
|
63
|
+
grid-area: message;
|
|
64
|
+
line-height: var(--lineHeightBase200);
|
|
65
|
+
margin-block-start: var(--spacingVerticalXXS);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host(:state(focus-visible):focus-within) {
|
|
69
|
+
border-radius: var(--borderRadiusMedium);
|
|
70
|
+
outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
::slotted(label),
|
|
74
|
+
::slotted([slot='label']) {
|
|
75
|
+
cursor: inherit;
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
font-family: var(--fontFamilyBase);
|
|
78
|
+
font-size: var(--fontSizeBase300);
|
|
79
|
+
font-weight: var(--fontWeightRegular);
|
|
80
|
+
grid-area: label;
|
|
81
|
+
line-height: var(--lineHeightBase300);
|
|
82
|
+
justify-self: stretch;
|
|
83
|
+
user-select: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([size='small']) ::slotted(label) {
|
|
87
|
+
font-size: var(--fontSizeBase200);
|
|
88
|
+
line-height: var(--lineHeightBase200);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host([size='large']) ::slotted(label) {
|
|
92
|
+
font-size: var(--fontSizeBase400);
|
|
93
|
+
line-height: var(--lineHeightBase400);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host([size='large']) ::slotted(label),
|
|
97
|
+
:host([weight='semibold']) ::slotted(label) {
|
|
98
|
+
font-weight: var(--fontWeightSemibold);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host(:state(disabled)) {
|
|
102
|
+
cursor: default;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
::slotted([flag]) {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host(:state(bad-input)) ::slotted([flag='bad-input']),
|
|
110
|
+
:host(:state(custom-error)) ::slotted([flag='custom-error']),
|
|
111
|
+
:host(:state(pattern-mismatch)) ::slotted([flag='pattern-mismatch']),
|
|
112
|
+
:host(:state(range-overflow)) ::slotted([flag='range-overflow']),
|
|
113
|
+
:host(:state(range-underflow)) ::slotted([flag='range-underflow']),
|
|
114
|
+
:host(:state(step-mismatch)) ::slotted([flag='step-mismatch']),
|
|
115
|
+
:host(:state(too-long)) ::slotted([flag='too-long']),
|
|
116
|
+
:host(:state(too-short)) ::slotted([flag='too-short']),
|
|
117
|
+
:host(:state(type-mismatch)) ::slotted([flag='type-mismatch']),
|
|
118
|
+
:host(:state(value-missing)) ::slotted([flag='value-missing']),
|
|
119
|
+
:host(:state(valid)) ::slotted([flag='valid']) {
|
|
120
|
+
display: block;
|
|
121
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<f-template name="fluent-field" shadowrootmode="open" shadowrootdelegatesfocus>
|
|
2
|
+
<template
|
|
3
|
+
@click="{clickHandler($e)}"
|
|
4
|
+
@change="{changeHandler($e)}"
|
|
5
|
+
@focusin="{focusinHandler($e)}"
|
|
6
|
+
@focusout="{focusoutHandler($e)}"
|
|
7
|
+
>{{styles}}
|
|
8
|
+
<slot name="label" part="label" f-slotted="{labelSlot}"></slot>
|
|
9
|
+
<slot name="input" part="input" f-slotted="{slottedInputs}"></slot>
|
|
10
|
+
<slot name="message" part="message" f-slotted="{messageSlot filter elements([flag])}"></slot>
|
|
11
|
+
</template>
|
|
12
|
+
</f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/image/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAqB,CAAC,KAAK,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-image 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 './image.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-image 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=image.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.definition-async.js","sourceRoot":"","sources":["../../../src/image/image.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
:host {
|
|
3
|
+
contain: content;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:host ::slotted(img) {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
min-height: 8px;
|
|
9
|
+
min-width: 8px;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
}
|
|
12
|
+
:host([block]) ::slotted(img) {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: auto;
|
|
15
|
+
}
|
|
16
|
+
:host([bordered]) ::slotted(img) {
|
|
17
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke2);
|
|
18
|
+
}
|
|
19
|
+
:host([fit='none']) ::slotted(img) {
|
|
20
|
+
object-fit: none;
|
|
21
|
+
object-position: top left;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
:host([fit='center']) ::slotted(img) {
|
|
26
|
+
object-fit: none;
|
|
27
|
+
object-position: center;
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
31
|
+
:host([fit='contain']) ::slotted(img) {
|
|
32
|
+
object-fit: contain;
|
|
33
|
+
object-position: center;
|
|
34
|
+
height: 100%;
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
:host([fit='cover']) ::slotted(img) {
|
|
38
|
+
object-fit: cover;
|
|
39
|
+
object-position: center;
|
|
40
|
+
height: 100%;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
:host([shadow]) ::slotted(img) {
|
|
44
|
+
box-shadow: var(--shadow4);
|
|
45
|
+
}
|
|
46
|
+
:host([shape='circular']) ::slotted(img) {
|
|
47
|
+
border-radius: var(--borderRadiusCircular);
|
|
48
|
+
}
|
|
49
|
+
:host([shape='rounded']) ::slotted(img) {
|
|
50
|
+
border-radius: var(--borderRadiusMedium);
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<f-template name="fluent-image" shadowrootmode="open"><template>{{styles}}<slot></slot></template></f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/label/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAqB,CAAC,KAAK,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-label 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 './label.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-label 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=label.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.definition-async.js","sourceRoot":"","sources":["../../../src/label/label.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-flex}
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
color: var(--colorNeutralForeground1);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
font-family: var(--fontFamilyBase);
|
|
8
|
+
font-size: var(--fontSizeBase300);
|
|
9
|
+
font-weight: var(--fontWeightRegular);
|
|
10
|
+
line-height: var(--lineHeightBase300);
|
|
11
|
+
user-select: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.asterisk {
|
|
15
|
+
color: var(--colorPaletteRedForeground1);
|
|
16
|
+
margin-inline-start: var(--spacingHorizontalXS);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([size='small']) {
|
|
20
|
+
font-size: var(--fontSizeBase200);
|
|
21
|
+
line-height: var(--lineHeightBase200);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([size='large']) {
|
|
25
|
+
font-size: var(--fontSizeBase400);
|
|
26
|
+
line-height: var(--lineHeightBase400);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(:is([size='large'], [weight='semibold'])) {
|
|
30
|
+
font-weight: var(--fontWeightSemibold);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([disabled]),
|
|
34
|
+
:host([disabled]) .asterisk {
|
|
35
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/link/define-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,qBAAqB,CAAC,IAAI,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-link 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 './link.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-link 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=link.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.definition-async.js","sourceRoot":"","sources":["../../../src/link/link.definition-async.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAiC;IACtD,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
|