@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,475 @@
|
|
|
1
|
+
|
|
2
|
+
:host([hidden]){display:none}:host{display:inline-grid} :host {
|
|
3
|
+
position: relative;
|
|
4
|
+
place-items: center;
|
|
5
|
+
place-content: center;
|
|
6
|
+
grid-template: 1fr / 1fr;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
width: 32px;
|
|
9
|
+
height: 32px;
|
|
10
|
+
font-family: var(--fontFamilyBase);
|
|
11
|
+
font-weight: var(--fontWeightSemibold);
|
|
12
|
+
font-size: var(--fontSizeBase300);
|
|
13
|
+
border-radius: var(--borderRadiusCircular);
|
|
14
|
+
color: var(--colorNeutralForeground3);
|
|
15
|
+
background-color: var(--colorNeutralBackground6);
|
|
16
|
+
contain: layout style;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.monogram,
|
|
20
|
+
.default-icon {
|
|
21
|
+
grid-area: 1 / 1 / -1 / -1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.monogram:empty {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.default-slot:is(.has-slotted, :has-slotted) ~ .default-icon,
|
|
29
|
+
.default-slot:is(.has-slotted, :has-slotted) ~ .monogram,
|
|
30
|
+
:host(:is([name]):not([name=''])) .default-icon,
|
|
31
|
+
:host(:is([initials]):not([initials=''])) .default-icon {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.default-icon,
|
|
36
|
+
::slotted(svg) {
|
|
37
|
+
width: 20px;
|
|
38
|
+
height: 20px;
|
|
39
|
+
font-size: 20px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
::slotted(img) {
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: 100%;
|
|
46
|
+
border-radius: var(--borderRadiusCircular);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
::slotted([slot='badge']) {
|
|
50
|
+
position: absolute;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
box-shadow: 0 0 0 var(--strokeWidthThin) var(--colorNeutralBackground1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([size='64']) ::slotted([slot='badge']),
|
|
57
|
+
:host([size='72']) ::slotted([slot='badge']),
|
|
58
|
+
:host([size='96']) ::slotted([slot='badge']),
|
|
59
|
+
:host([size='120']) ::slotted([slot='badge']),
|
|
60
|
+
:host([size='128']) ::slotted([slot='badge']) {
|
|
61
|
+
box-shadow: 0 0 0 var(--strokeWidthThick) var(--colorNeutralBackground1);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([size='16']),
|
|
65
|
+
:host([size='20']),
|
|
66
|
+
:host([size='24']) {
|
|
67
|
+
font-size: var(--fontSizeBase100);
|
|
68
|
+
font-weight: var(--fontWeightRegular);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([size='16']) {
|
|
72
|
+
width: 16px;
|
|
73
|
+
height: 16px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([size='20']) {
|
|
77
|
+
width: 20px;
|
|
78
|
+
height: 20px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host([size='24']) {
|
|
82
|
+
width: 24px;
|
|
83
|
+
height: 24px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([size='16']) .default-icon,
|
|
87
|
+
:host([size='16']) ::slotted(svg) {
|
|
88
|
+
width: 12px;
|
|
89
|
+
height: 12px;
|
|
90
|
+
font-size: 12px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
:host([size='20']) .default-icon,
|
|
94
|
+
:host([size='24']) .default-icon,
|
|
95
|
+
:host([size='20']) ::slotted(svg),
|
|
96
|
+
:host([size='24']) ::slotted(svg) {
|
|
97
|
+
width: 16px;
|
|
98
|
+
height: 16px;
|
|
99
|
+
font-size: 16px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([size='28']) {
|
|
103
|
+
width: 28px;
|
|
104
|
+
height: 28px;
|
|
105
|
+
font-size: var(--fontSizeBase200);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host([size='36']) {
|
|
109
|
+
width: 36px;
|
|
110
|
+
height: 36px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host([size='40']) {
|
|
114
|
+
width: 40px;
|
|
115
|
+
height: 40px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host([size='48']),
|
|
119
|
+
:host([size='56']) {
|
|
120
|
+
font-size: var(--fontSizeBase400);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host([size='48']) {
|
|
124
|
+
width: 48px;
|
|
125
|
+
height: 48px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([size='48']) .default-icon,
|
|
129
|
+
:host([size='48']) ::slotted(svg) {
|
|
130
|
+
width: 24px;
|
|
131
|
+
height: 24px;
|
|
132
|
+
font-size: 24px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
:host([size='56']) {
|
|
136
|
+
width: 56px;
|
|
137
|
+
height: 56px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:host([size='56']) .default-icon,
|
|
141
|
+
:host([size='56']) ::slotted(svg) {
|
|
142
|
+
width: 28px;
|
|
143
|
+
height: 28px;
|
|
144
|
+
font-size: 28px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
:host([size='64']),
|
|
148
|
+
:host([size='72']),
|
|
149
|
+
:host([size='96']) {
|
|
150
|
+
font-size: var(--fontSizeBase500);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([size='64']) .default-icon,
|
|
154
|
+
:host([size='72']) .default-icon,
|
|
155
|
+
:host([size='64']) ::slotted(svg),
|
|
156
|
+
:host([size='72']) ::slotted(svg) {
|
|
157
|
+
width: 32px;
|
|
158
|
+
height: 32px;
|
|
159
|
+
font-size: 32px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([size='64']) {
|
|
163
|
+
width: 64px;
|
|
164
|
+
height: 64px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host([size='72']) {
|
|
168
|
+
width: 72px;
|
|
169
|
+
height: 72px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:host([size='96']) {
|
|
173
|
+
width: 96px;
|
|
174
|
+
height: 96px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
:host([size='96']) .default-icon,
|
|
178
|
+
:host([size='120']) .default-icon,
|
|
179
|
+
:host([size='128']) .default-icon,
|
|
180
|
+
:host([size='96']) ::slotted(svg),
|
|
181
|
+
:host([size='120']) ::slotted(svg),
|
|
182
|
+
:host([size='128']) ::slotted(svg) {
|
|
183
|
+
width: 48px;
|
|
184
|
+
height: 48px;
|
|
185
|
+
font-size: 48px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host([size='120']),
|
|
189
|
+
:host([size='128']) {
|
|
190
|
+
font-size: var(--fontSizeBase600);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host([size='120']) {
|
|
194
|
+
width: 120px;
|
|
195
|
+
height: 120px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
:host([size='128']) {
|
|
199
|
+
width: 128px;
|
|
200
|
+
height: 128px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
:host([shape='square']) {
|
|
204
|
+
border-radius: var(--borderRadiusMedium);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
:host([shape='square'][size='20']),
|
|
208
|
+
:host([shape='square'][size='24']) {
|
|
209
|
+
border-radius: var(--borderRadiusSmall);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
:host([shape='square'][size='56']),
|
|
213
|
+
:host([shape='square'][size='64']),
|
|
214
|
+
:host([shape='square'][size='72']) {
|
|
215
|
+
border-radius: var(--borderRadiusLarge);
|
|
216
|
+
}
|
|
217
|
+
:host([shape='square'][size='96']),
|
|
218
|
+
:host([shape='square'][size='120']),
|
|
219
|
+
:host([shape='square'][size='128']) {
|
|
220
|
+
border-radius: var(--borderRadiusXLarge);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:host([data-color='brand']) {
|
|
224
|
+
color: var(--colorNeutralForegroundStaticInverted);
|
|
225
|
+
background-color: var(--colorBrandBackgroundStatic);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:host([data-color='dark-red']) {
|
|
229
|
+
color: var(--colorPaletteDarkRedForeground2);
|
|
230
|
+
background-color: var(--colorPaletteDarkRedBackground2);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
:host([data-color='cranberry']) {
|
|
234
|
+
color: var(--colorPaletteCranberryForeground2);
|
|
235
|
+
background-color: var(--colorPaletteCranberryBackground2);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
:host([data-color='red']) {
|
|
239
|
+
color: var(--colorPaletteRedForeground2);
|
|
240
|
+
background-color: var(--colorPaletteRedBackground2);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
:host([data-color='pumpkin']) {
|
|
244
|
+
color: var(--colorPalettePumpkinForeground2);
|
|
245
|
+
background-color: var(--colorPalettePumpkinBackground2);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host([data-color='peach']) {
|
|
249
|
+
color: var(--colorPalettePeachForeground2);
|
|
250
|
+
background-color: var(--colorPalettePeachBackground2);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
:host([data-color='marigold']) {
|
|
254
|
+
color: var(--colorPaletteMarigoldForeground2);
|
|
255
|
+
background-color: var(--colorPaletteMarigoldBackground2);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
:host([data-color='gold']) {
|
|
259
|
+
color: var(--colorPaletteGoldForeground2);
|
|
260
|
+
background-color: var(--colorPaletteGoldBackground2);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
:host([data-color='brass']) {
|
|
264
|
+
color: var(--colorPaletteBrassForeground2);
|
|
265
|
+
background-color: var(--colorPaletteBrassBackground2);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
:host([data-color='brown']) {
|
|
269
|
+
color: var(--colorPaletteBrownForeground2);
|
|
270
|
+
background-color: var(--colorPaletteBrownBackground2);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:host([data-color='forest']) {
|
|
274
|
+
color: var(--colorPaletteForestForeground2);
|
|
275
|
+
background-color: var(--colorPaletteForestBackground2);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host([data-color='seafoam']) {
|
|
279
|
+
color: var(--colorPaletteSeafoamForeground2);
|
|
280
|
+
background-color: var(--colorPaletteSeafoamBackground2);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:host([data-color='dark-green']) {
|
|
284
|
+
color: var(--colorPaletteDarkGreenForeground2);
|
|
285
|
+
background-color: var(--colorPaletteDarkGreenBackground2);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
:host([data-color='light-teal']) {
|
|
289
|
+
color: var(--colorPaletteLightTealForeground2);
|
|
290
|
+
background-color: var(--colorPaletteLightTealBackground2);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:host([data-color='teal']) {
|
|
294
|
+
color: var(--colorPaletteTealForeground2);
|
|
295
|
+
background-color: var(--colorPaletteTealBackground2);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
:host([data-color='steel']) {
|
|
299
|
+
color: var(--colorPaletteSteelForeground2);
|
|
300
|
+
background-color: var(--colorPaletteSteelBackground2);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
:host([data-color='blue']) {
|
|
304
|
+
color: var(--colorPaletteBlueForeground2);
|
|
305
|
+
background-color: var(--colorPaletteBlueBackground2);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:host([data-color='royal-blue']) {
|
|
309
|
+
color: var(--colorPaletteRoyalBlueForeground2);
|
|
310
|
+
background-color: var(--colorPaletteRoyalBlueBackground2);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
:host([data-color='cornflower']) {
|
|
314
|
+
color: var(--colorPaletteCornflowerForeground2);
|
|
315
|
+
background-color: var(--colorPaletteCornflowerBackground2);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
:host([data-color='navy']) {
|
|
319
|
+
color: var(--colorPaletteNavyForeground2);
|
|
320
|
+
background-color: var(--colorPaletteNavyBackground2);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:host([data-color='lavender']) {
|
|
324
|
+
color: var(--colorPaletteLavenderForeground2);
|
|
325
|
+
background-color: var(--colorPaletteLavenderBackground2);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
:host([data-color='purple']) {
|
|
329
|
+
color: var(--colorPalettePurpleForeground2);
|
|
330
|
+
background-color: var(--colorPalettePurpleBackground2);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
:host([data-color='grape']) {
|
|
334
|
+
color: var(--colorPaletteGrapeForeground2);
|
|
335
|
+
background-color: var(--colorPaletteGrapeBackground2);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
:host([data-color='lilac']) {
|
|
339
|
+
color: var(--colorPaletteLilacForeground2);
|
|
340
|
+
background-color: var(--colorPaletteLilacBackground2);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
:host([data-color='pink']) {
|
|
344
|
+
color: var(--colorPalettePinkForeground2);
|
|
345
|
+
background-color: var(--colorPalettePinkBackground2);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
:host([data-color='magenta']) {
|
|
349
|
+
color: var(--colorPaletteMagentaForeground2);
|
|
350
|
+
background-color: var(--colorPaletteMagentaBackground2);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
:host([data-color='plum']) {
|
|
354
|
+
color: var(--colorPalettePlumForeground2);
|
|
355
|
+
background-color: var(--colorPalettePlumBackground2);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
:host([data-color='beige']) {
|
|
359
|
+
color: var(--colorPaletteBeigeForeground2);
|
|
360
|
+
background-color: var(--colorPaletteBeigeBackground2);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
:host([data-color='mink']) {
|
|
364
|
+
color: var(--colorPaletteMinkForeground2);
|
|
365
|
+
background-color: var(--colorPaletteMinkBackground2);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host([data-color='platinum']) {
|
|
369
|
+
color: var(--colorPalettePlatinumForeground2);
|
|
370
|
+
background-color: var(--colorPalettePlatinumBackground2);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
:host([data-color='anchor']) {
|
|
374
|
+
color: var(--colorPaletteAnchorForeground2);
|
|
375
|
+
background-color: var(--colorPaletteAnchorBackground2);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
:host([active]) {
|
|
379
|
+
/* Work-around for text pixel snapping at the end of the animation */
|
|
380
|
+
transform: perspective(1px);
|
|
381
|
+
transition-property: transform, opacity;
|
|
382
|
+
transition-duration: var(--durationUltraSlow), var(--durationFaster);
|
|
383
|
+
transition-delay: var(--curveEasyEaseMax), var(--curveLinear);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
:host([active])::before {
|
|
387
|
+
content: '';
|
|
388
|
+
position: absolute;
|
|
389
|
+
top: 0;
|
|
390
|
+
left: 0;
|
|
391
|
+
bottom: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
border-radius: inherit;
|
|
394
|
+
transition-property: margin, opacity;
|
|
395
|
+
transition-duration: var(--durationUltraSlow), var(--durationSlower);
|
|
396
|
+
transition-delay: var(--curveEasyEaseMax), var(--curveLinear);
|
|
397
|
+
}
|
|
398
|
+
:host([active])::before {
|
|
399
|
+
box-shadow: var(--shadow8);
|
|
400
|
+
border-style: solid;
|
|
401
|
+
border-color: var(--colorBrandBackgroundStatic);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
:host([active][appearance='shadow'])::before {
|
|
405
|
+
border-style: none;
|
|
406
|
+
border-color: none;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
:host([active]:not([appearance='shadow']))::before {
|
|
410
|
+
margin: calc(-2 * var(--strokeWidthThick));
|
|
411
|
+
border-width: var(--strokeWidthThick);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
:host([size='56'][active]:not([appearance='shadow']))::before,
|
|
415
|
+
:host([size='64'][active]:not([appearance='shadow']))::before {
|
|
416
|
+
margin: calc(-2 * var(--strokeWidthThicker));
|
|
417
|
+
border-width: var(--strokeWidthThicker);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
:host([size='72'][active]:not([appearance='shadow']))::before,
|
|
421
|
+
:host([size='96'][active]:not([appearance='shadow']))::before,
|
|
422
|
+
:host([size='120'][active]:not([appearance='shadow']))::before,
|
|
423
|
+
:host([size='128'][active]:not([appearance='shadow']))::before {
|
|
424
|
+
margin: calc(-2 * var(--strokeWidthThickest));
|
|
425
|
+
border-width: var(--strokeWidthThickest);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
:host([size='20'][active][appearance])::before,
|
|
429
|
+
:host([size='24'][active][appearance])::before,
|
|
430
|
+
:host([size='28'][active][appearance])::before {
|
|
431
|
+
box-shadow: var(--shadow4);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
:host([size='56'][active][appearance])::before,
|
|
435
|
+
:host([size='64'][active][appearance])::before {
|
|
436
|
+
box-shadow: var(--shadow16);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
:host([size='72'][active][appearance])::before,
|
|
440
|
+
:host([size='96'][active][appearance])::before,
|
|
441
|
+
:host([size='120'][active][appearance])::before,
|
|
442
|
+
:host([size='128'][active][appearance])::before {
|
|
443
|
+
box-shadow: var(--shadow28);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
:host([active][appearance='ring'])::before {
|
|
447
|
+
box-shadow: none;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
:host([active='inactive']) {
|
|
451
|
+
opacity: 0.8;
|
|
452
|
+
transform: scale(0.875);
|
|
453
|
+
transition-property: transform, opacity;
|
|
454
|
+
transition-duration: var(--durationUltraSlow), var(--durationFaster);
|
|
455
|
+
transition-delay: var(--curveDecelerateMin), var(--curveLinear);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
:host([active='inactive'])::before {
|
|
459
|
+
margin: 0;
|
|
460
|
+
opacity: 0;
|
|
461
|
+
transition-property: margin, opacity;
|
|
462
|
+
transition-duration: var(--durationUltraSlow), var(--durationSlower);
|
|
463
|
+
transition-delay: var(--curveDecelerateMin), var(--curveLinear);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
467
|
+
:host([active]) {
|
|
468
|
+
transition-duration: 0.01ms;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
:host([active])::before {
|
|
472
|
+
transition-duration: 0.01ms;
|
|
473
|
+
transition-delay: 0.01ms;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<f-template name="fluent-avatar" shadowrootmode="open">
|
|
2
|
+
<template>{{styles}}<slot class="default-slot" f-slotted="{slottedDefaults}" f-ref="{defaultSlot}"></slot>
|
|
3
|
+
<span class="monogram" f-ref="{monogram}">{{initials}}</span>
|
|
4
|
+
<svg
|
|
5
|
+
width="1em"
|
|
6
|
+
height="1em"
|
|
7
|
+
viewBox="0 0 20 20"
|
|
8
|
+
class="default-icon"
|
|
9
|
+
fill="currentcolor"
|
|
10
|
+
aria-hidden="true"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"
|
|
14
|
+
></path>
|
|
15
|
+
</svg>
|
|
16
|
+
<slot name="badge"></slot></template>
|
|
17
|
+
</f-template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-async.js","sourceRoot":"","sources":["../../../src/avatar/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-badge 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 './badge.options.js';
|
|
2
|
+
/**
|
|
3
|
+
* The async definition configuration for the fluent-badge 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=badge.definition-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.definition-async.js","sourceRoot":"","sources":["../../../src/badge/badge.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"}
|