@fabric-msft/fabric-web 7.2.0 → 7.4.0
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/dts/components/accordion/accordion.definition.d.ts.map +1 -1
- package/dts/components/accordion/accordion.styles.d.ts +2 -0
- package/dts/components/accordion/accordion.styles.d.ts.map +1 -0
- package/dts/components/accordion-item/accordion-item.definition.d.ts.map +1 -1
- package/dts/components/accordion-item/accordion-item.styles.d.ts +2 -0
- package/dts/components/accordion-item/accordion-item.styles.d.ts.map +1 -0
- package/dts/components/accordion-menu/accordion-menu.styles.d.ts.map +1 -1
- package/dts/components/accordion-menu-panel/accordion-menu-panel.styles.d.ts.map +1 -1
- package/dts/components/anchor-button/anchor-button.definition.d.ts.map +1 -1
- package/dts/components/anchor-button/anchor-button.styles.d.ts +2 -0
- package/dts/components/anchor-button/anchor-button.styles.d.ts.map +1 -0
- package/dts/components/avatar/avatar.definition.d.ts.map +1 -1
- package/dts/components/avatar/avatar.styles.d.ts +2 -0
- package/dts/components/avatar/avatar.styles.d.ts.map +1 -0
- package/dts/components/badge/badge.definition.d.ts.map +1 -1
- package/dts/components/badge/badge.styles.d.ts +2 -0
- package/dts/components/badge/badge.styles.d.ts.map +1 -0
- package/dts/components/button/button.styles.d.ts.map +1 -1
- package/dts/components/card/card.styles.d.ts.map +1 -1
- package/dts/components/card-carousel/card-carousel.styles.d.ts.map +1 -1
- package/dts/components/card-footer/card-footer.styles.d.ts.map +1 -1
- package/dts/components/card-header/card-header.styles.d.ts.map +1 -1
- package/dts/components/card-preview/card-preview.styles.d.ts.map +1 -1
- package/dts/components/carousel/carousel.d.ts +6 -42
- package/dts/components/carousel/carousel.d.ts.map +1 -1
- package/dts/components/carousel/carousel.definition.d.ts +15 -0
- package/dts/components/carousel/carousel.definition.d.ts.map +1 -1
- package/dts/components/carousel/carousel.styles.d.ts.map +1 -1
- package/dts/components/carousel/carousel.template.d.ts.map +1 -1
- package/dts/components/carousel/define.d.ts +1 -15
- package/dts/components/carousel/define.d.ts.map +1 -1
- package/dts/components/carousel/index.d.ts +1 -2
- package/dts/components/carousel/index.d.ts.map +1 -1
- package/dts/components/carousel-item/carousel-item.styles.d.ts.map +1 -1
- package/dts/components/carousel-nav/carousel-nav.d.ts +10 -0
- package/dts/components/carousel-nav/carousel-nav.d.ts.map +1 -1
- package/dts/components/carousel-nav/carousel-nav.styles.d.ts.map +1 -1
- package/dts/components/carousel-nav/carousel-nav.template.d.ts.map +1 -1
- package/dts/components/carousel-nav-item/carousel-nav-item.styles.d.ts.map +1 -1
- package/dts/components/carousel-viewport/carousel-viewport.d.ts +34 -0
- package/dts/components/carousel-viewport/carousel-viewport.d.ts.map +1 -0
- package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts +9 -0
- package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts.map +1 -0
- package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts +7 -0
- package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts.map +1 -0
- package/dts/components/carousel-viewport/carousel-viewport.template.d.ts +9 -0
- package/dts/components/carousel-viewport/carousel-viewport.template.d.ts.map +1 -0
- package/dts/components/carousel-viewport/define.d.ts +2 -0
- package/dts/components/carousel-viewport/define.d.ts.map +1 -0
- package/dts/components/carousel-viewport/index.d.ts +5 -0
- package/dts/components/carousel-viewport/index.d.ts.map +1 -0
- package/dts/components/checkbox/checkbox.definition.d.ts.map +1 -1
- package/dts/components/checkbox/checkbox.styles.d.ts +2 -0
- package/dts/components/checkbox/checkbox.styles.d.ts.map +1 -0
- package/dts/components/compound-button/compound-button.styles.d.ts.map +1 -1
- package/dts/components/counter-badge/counter-badge.definition.d.ts.map +1 -1
- package/dts/components/counter-badge/counter-badge.styles.d.ts +2 -0
- package/dts/components/counter-badge/counter-badge.styles.d.ts.map +1 -0
- package/dts/components/dialog/dialog.styles.d.ts.map +1 -1
- package/dts/components/dialog-body/dialog-body.definition.d.ts +1 -1
- package/dts/components/dialog-body/dialog-body.definition.d.ts.map +1 -1
- package/dts/components/dialog-body/dialog-body.styles.d.ts +2 -0
- package/dts/components/dialog-body/dialog-body.styles.d.ts.map +1 -0
- package/dts/components/divider/divider.styles.d.ts.map +1 -1
- package/dts/components/drawer/drawer.definition.d.ts.map +1 -1
- package/dts/components/drawer/drawer.styles.d.ts +2 -0
- package/dts/components/drawer/drawer.styles.d.ts.map +1 -0
- package/dts/components/drawer-body/drawer-body.definition.d.ts.map +1 -1
- package/dts/components/drawer-body/drawer-body.styles.d.ts +2 -0
- package/dts/components/drawer-body/drawer-body.styles.d.ts.map +1 -0
- package/dts/components/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dts/components/dynamic-tab/define.d.ts +2 -0
- package/dts/components/dynamic-tab/define.d.ts.map +1 -0
- package/dts/components/dynamic-tab/dynamic-tab.d.ts +142 -0
- package/dts/components/dynamic-tab/dynamic-tab.d.ts.map +1 -0
- package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts +10 -0
- package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts.map +1 -0
- package/dts/components/dynamic-tab/dynamic-tab.options.d.ts +10 -0
- package/dts/components/dynamic-tab/dynamic-tab.options.d.ts.map +1 -0
- package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts +6 -0
- package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts.map +1 -0
- package/dts/components/dynamic-tab/dynamic-tab.template.d.ts +13 -0
- package/dts/components/dynamic-tab/dynamic-tab.template.d.ts.map +1 -0
- package/dts/components/dynamic-tab/index.d.ts +6 -0
- package/dts/components/dynamic-tab/index.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/define.d.ts +2 -0
- package/dts/components/dynamic-tab-list/define.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts +360 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts +7 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts +24 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts +6 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts +13 -0
- package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts.map +1 -0
- package/dts/components/dynamic-tab-list/index.d.ts +7 -0
- package/dts/components/dynamic-tab-list/index.d.ts.map +1 -0
- package/dts/components/empty-state/define.d.ts +2 -0
- package/dts/components/empty-state/define.d.ts.map +1 -0
- package/dts/components/empty-state/empty-state.d.ts +32 -0
- package/dts/components/empty-state/empty-state.d.ts.map +1 -0
- package/dts/components/empty-state/empty-state.definition.d.ts +10 -0
- package/dts/components/empty-state/empty-state.definition.d.ts.map +1 -0
- package/dts/components/empty-state/empty-state.styles.d.ts +6 -0
- package/dts/components/empty-state/empty-state.styles.d.ts.map +1 -0
- package/dts/components/empty-state/empty-state.template.d.ts +9 -0
- package/dts/components/empty-state/empty-state.template.d.ts.map +1 -0
- package/dts/components/empty-state/index.d.ts +5 -0
- package/dts/components/empty-state/index.d.ts.map +1 -0
- package/dts/components/field/field.styles.d.ts.map +1 -1
- package/dts/components/filter-pill/filter-pill.styles.d.ts.map +1 -1
- package/dts/components/image/image.definition.d.ts.map +1 -1
- package/dts/components/image/image.styles.d.ts +2 -0
- package/dts/components/image/image.styles.d.ts.map +1 -0
- package/dts/components/label/label.definition.d.ts.map +1 -1
- package/dts/components/label/label.styles.d.ts +2 -0
- package/dts/components/label/label.styles.d.ts.map +1 -0
- package/dts/components/link/link.styles.d.ts +2 -0
- package/dts/components/link/link.styles.d.ts.map +1 -0
- package/dts/components/listbox/listbox.styles.d.ts.map +1 -1
- package/dts/components/loading-button/loading-button.styles.d.ts.map +1 -1
- package/dts/components/menu/menu.styles.d.ts.map +1 -1
- package/dts/components/menu-button/menu-button.d.ts +2 -2
- package/dts/components/menu-button/menu-button.definition.d.ts.map +1 -1
- package/dts/components/menu-button/menu-button.styles.d.ts +11 -0
- package/dts/components/menu-button/menu-button.styles.d.ts.map +1 -0
- package/dts/components/menu-item/menu-item.styles.d.ts.map +1 -1
- package/dts/components/menu-list/menu-list.d.ts.map +1 -1
- package/dts/components/menu-list/menu-list.styles.d.ts.map +1 -1
- package/dts/components/message-bar/message-bar.definition.d.ts.map +1 -1
- package/dts/components/message-bar/message-bar.styles.d.ts +2 -0
- package/dts/components/message-bar/message-bar.styles.d.ts.map +1 -0
- package/dts/components/modal/define.d.ts +4 -0
- package/dts/components/modal/define.d.ts.map +1 -0
- package/dts/components/modal/index.d.ts +9 -0
- package/dts/components/modal/index.d.ts.map +1 -0
- package/dts/components/modal/modal.d.ts +209 -0
- package/dts/components/modal/modal.d.ts.map +1 -0
- package/dts/components/modal/modal.definition.d.ts +9 -0
- package/dts/components/modal/modal.definition.d.ts.map +1 -0
- package/dts/components/modal/modal.events.d.ts +26 -0
- package/dts/components/modal/modal.events.d.ts.map +1 -0
- package/dts/components/modal/modal.options.d.ts +15 -0
- package/dts/components/modal/modal.options.d.ts.map +1 -0
- package/dts/components/modal/modal.styles.d.ts +10 -0
- package/dts/components/modal/modal.styles.d.ts.map +1 -0
- package/dts/components/modal/modal.template.d.ts +12 -0
- package/dts/components/modal/modal.template.d.ts.map +1 -0
- package/dts/components/modal-fre-item/define.d.ts +2 -0
- package/dts/components/modal-fre-item/define.d.ts.map +1 -0
- package/dts/components/modal-fre-item/index.d.ts +3 -0
- package/dts/components/modal-fre-item/index.d.ts.map +1 -0
- package/dts/components/modal-fre-item/modal-fre-item.d.ts +65 -0
- package/dts/components/modal-fre-item/modal-fre-item.d.ts.map +1 -0
- package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts +10 -0
- package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts.map +1 -0
- package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts +7 -0
- package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts.map +1 -0
- package/dts/components/modal-fre-item/modal-fre-item.template.d.ts +11 -0
- package/dts/components/modal-fre-item/modal-fre-item.template.d.ts.map +1 -0
- package/dts/components/multi-view/multi-view.styles.d.ts.map +1 -1
- package/dts/components/multi-view-controller/multi-view-controller.styles.d.ts.map +1 -1
- package/dts/components/multi-view-group/multi-view-group.styles.d.ts.map +1 -1
- package/dts/components/option/option.definition.d.ts.map +1 -1
- package/dts/components/option/option.styles.d.ts +2 -0
- package/dts/components/option/option.styles.d.ts.map +1 -0
- package/dts/components/option-group/option-group.styles.d.ts.map +1 -1
- package/dts/components/overflow/overflow.styles.d.ts.map +1 -1
- package/dts/components/overflow-divider/overflow-divider.styles.d.ts.map +1 -1
- package/dts/components/overflow-item/overflow-item.styles.d.ts.map +1 -1
- package/dts/components/pagination/pagination.styles.d.ts.map +1 -1
- package/dts/components/popover/popover.styles.d.ts.map +1 -1
- package/dts/components/progress-bar/progress-bar.definition.d.ts.map +1 -1
- package/dts/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/dts/components/progress-bar/progress-bar.styles.d.ts.map +1 -0
- package/dts/components/radio/radio.definition.d.ts.map +1 -1
- package/dts/components/radio/radio.styles.d.ts +2 -0
- package/dts/components/radio/radio.styles.d.ts.map +1 -0
- package/dts/components/radio-group/radio-group.definition.d.ts.map +1 -1
- package/dts/components/radio-group/radio-group.styles.d.ts +2 -0
- package/dts/components/radio-group/radio-group.styles.d.ts.map +1 -0
- package/dts/components/rating-display/rating-display.definition.d.ts.map +1 -1
- package/dts/components/rating-display/rating-display.styles.d.ts +2 -0
- package/dts/components/rating-display/rating-display.styles.d.ts.map +1 -0
- package/dts/components/search-box/search-box.styles.d.ts.map +1 -1
- package/dts/components/simple-table/simple-table.styles.d.ts.map +1 -1
- package/dts/components/slider/slider.styles.d.ts.map +1 -1
- package/dts/components/spin-button/spin-button.styles.d.ts.map +1 -1
- package/dts/components/spinner/spinner.definition.d.ts.map +1 -1
- package/dts/components/spinner/spinner.styles.d.ts +2 -0
- package/dts/components/spinner/spinner.styles.d.ts.map +1 -0
- package/dts/components/styles/patterns/patterns.d.ts +8 -0
- package/dts/components/styles/patterns/patterns.d.ts.map +1 -0
- package/dts/components/svg-icon/svg-icon.styles.d.ts.map +1 -1
- package/dts/components/switch/switch.definition.d.ts.map +1 -1
- package/dts/components/switch/switch.styles.d.ts +2 -0
- package/dts/components/switch/switch.styles.d.ts.map +1 -0
- package/dts/components/tab/tab.definition.d.ts.map +1 -1
- package/dts/components/tab/tab.styles.d.ts +2 -0
- package/dts/components/tab/tab.styles.d.ts.map +1 -0
- package/dts/components/table/table.styles.d.ts.map +1 -1
- package/dts/components/table-cell/table-cell.styles.d.ts.map +1 -1
- package/dts/components/tablist/tablist.definition.d.ts.map +1 -1
- package/dts/components/tablist/tablist.styles.d.ts +2 -0
- package/dts/components/tablist/tablist.styles.d.ts.map +1 -0
- package/dts/components/tag/tag.styles.d.ts.map +1 -1
- package/dts/components/teaching-bubble/teaching-bubble.styles.d.ts.map +1 -1
- package/dts/components/text/text.definition.d.ts.map +1 -1
- package/dts/components/text/text.styles.d.ts +2 -0
- package/dts/components/text/text.styles.d.ts.map +1 -0
- package/dts/components/text-input/text-input.styles.d.ts.map +1 -1
- package/dts/components/textarea/textarea.definition.d.ts +1 -1
- package/dts/components/textarea/textarea.definition.d.ts.map +1 -1
- package/dts/components/textarea/textarea.styles.d.ts +2 -0
- package/dts/components/textarea/textarea.styles.d.ts.map +1 -0
- package/dts/components/toggle-button/toggle-button.definition.d.ts.map +1 -1
- package/dts/components/toggle-button/toggle-button.styles.d.ts +2 -0
- package/dts/components/toggle-button/toggle-button.styles.d.ts.map +1 -0
- package/dts/components/tooltip/tooltip.definition.d.ts.map +1 -1
- package/dts/components/tooltip/tooltip.styles.d.ts +2 -0
- package/dts/components/tooltip/tooltip.styles.d.ts.map +1 -0
- package/dts/components/tree/tree.definition.d.ts +1 -1
- package/dts/components/tree/tree.definition.d.ts.map +1 -1
- package/dts/components/tree/tree.styles.d.ts +2 -0
- package/dts/components/tree/tree.styles.d.ts.map +1 -0
- package/dts/components/tree-item/tree-item.styles.d.ts.map +1 -1
- package/dts/components/wizard/wizard.styles.d.ts.map +1 -1
- package/dts/components/wizard-panel/wizard-panel.styles.d.ts.map +1 -1
- package/dts/components/wizard-step/wizard-step.styles.d.ts.map +1 -1
- package/dts/index.d.ts +7 -0
- package/dts/index.d.ts.map +1 -1
- package/dts/util/a11y-playwright-utils.d.ts +10 -0
- package/dts/util/a11y-playwright-utils.d.ts.map +1 -0
- package/dts/util/carousel-controller.d.ts +120 -0
- package/dts/util/carousel-controller.d.ts.map +1 -0
- package/dts/util/icons.d.ts +15 -0
- package/dts/util/icons.d.ts.map +1 -1
- package/dts/util/index.d.ts +1 -0
- package/dts/util/index.d.ts.map +1 -1
- package/esm/components/accordion/accordion.definition.js +3 -2
- package/esm/components/accordion/accordion.definition.js.map +1 -1
- package/esm/components/accordion/accordion.styles.js +10 -0
- package/esm/components/accordion/accordion.styles.js.map +1 -0
- package/esm/components/accordion-item/accordion-item.definition.js +3 -2
- package/esm/components/accordion-item/accordion-item.definition.js.map +1 -1
- package/esm/components/accordion-item/accordion-item.styles.js +10 -0
- package/esm/components/accordion-item/accordion-item.styles.js.map +1 -0
- package/esm/components/accordion-menu/accordion-menu.styles.js +1 -1
- package/esm/components/accordion-menu/accordion-menu.styles.js.map +1 -1
- package/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js +2 -2
- package/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js.map +1 -1
- package/esm/components/anchor-button/anchor-button.definition.js +3 -2
- package/esm/components/anchor-button/anchor-button.definition.js.map +1 -1
- package/esm/components/anchor-button/anchor-button.styles.js +10 -0
- package/esm/components/anchor-button/anchor-button.styles.js.map +1 -0
- package/esm/components/avatar/avatar.definition.js +3 -2
- package/esm/components/avatar/avatar.definition.js.map +1 -1
- package/esm/components/avatar/avatar.styles.js +10 -0
- package/esm/components/avatar/avatar.styles.js.map +1 -0
- package/esm/components/badge/badge.definition.js +3 -2
- package/esm/components/badge/badge.definition.js.map +1 -1
- package/esm/components/badge/badge.styles.js +10 -0
- package/esm/components/badge/badge.styles.js.map +1 -0
- package/esm/components/button/button.styles.js +3 -1
- package/esm/components/button/button.styles.js.map +1 -1
- package/esm/components/card/card.styles.js +1 -1
- package/esm/components/card/card.styles.js.map +1 -1
- package/esm/components/card-carousel/card-carousel.styles.js +1 -1
- package/esm/components/card-carousel/card-carousel.styles.js.map +1 -1
- package/esm/components/card-footer/card-footer.styles.js +1 -1
- package/esm/components/card-footer/card-footer.styles.js.map +1 -1
- package/esm/components/card-header/card-header.styles.js +1 -1
- package/esm/components/card-header/card-header.styles.js.map +1 -1
- package/esm/components/card-preview/card-preview.styles.js +1 -1
- package/esm/components/card-preview/card-preview.styles.js.map +1 -1
- package/esm/components/carousel/carousel.definition.js +25 -2
- package/esm/components/carousel/carousel.definition.js.map +1 -1
- package/esm/components/carousel/carousel.js +30 -98
- package/esm/components/carousel/carousel.js.map +1 -1
- package/esm/components/carousel/carousel.styles.js +2 -2
- package/esm/components/carousel/carousel.styles.js.map +1 -1
- package/esm/components/carousel/carousel.template.js +3 -3
- package/esm/components/carousel/carousel.template.js.map +1 -1
- package/esm/components/carousel/define.js +3 -26
- package/esm/components/carousel/define.js.map +1 -1
- package/esm/components/carousel/index.js +1 -2
- package/esm/components/carousel/index.js.map +1 -1
- package/esm/components/carousel-item/carousel-item.styles.js +1 -1
- package/esm/components/carousel-item/carousel-item.styles.js.map +1 -1
- package/esm/components/carousel-item/carousel-item.template.js +1 -1
- package/esm/components/carousel-item/carousel-item.template.js.map +1 -1
- package/esm/components/carousel-nav/carousel-nav.js +12 -0
- package/esm/components/carousel-nav/carousel-nav.js.map +1 -1
- package/esm/components/carousel-nav/carousel-nav.styles.js +2 -1
- package/esm/components/carousel-nav/carousel-nav.styles.js.map +1 -1
- package/esm/components/carousel-nav/carousel-nav.template.js +4 -3
- package/esm/components/carousel-nav/carousel-nav.template.js.map +1 -1
- package/esm/components/carousel-nav-item/carousel-nav-item.styles.js +2 -1
- package/esm/components/carousel-nav-item/carousel-nav-item.styles.js.map +1 -1
- package/esm/components/carousel-viewport/carousel-viewport.definition.js +21 -0
- package/esm/components/carousel-viewport/carousel-viewport.definition.js.map +1 -0
- package/esm/components/carousel-viewport/carousel-viewport.js +37 -0
- package/esm/components/carousel-viewport/carousel-viewport.js.map +1 -0
- package/esm/components/carousel-viewport/carousel-viewport.styles.js +11 -0
- package/esm/components/carousel-viewport/carousel-viewport.styles.js.map +1 -0
- package/esm/components/carousel-viewport/carousel-viewport.template.js +15 -0
- package/esm/components/carousel-viewport/carousel-viewport.template.js.map +1 -0
- package/esm/components/carousel-viewport/define.js +4 -0
- package/esm/components/carousel-viewport/define.js.map +1 -0
- package/esm/components/carousel-viewport/index.js +5 -0
- package/esm/components/carousel-viewport/index.js.map +1 -0
- package/esm/components/checkbox/checkbox.definition.js +3 -2
- package/esm/components/checkbox/checkbox.definition.js.map +1 -1
- package/esm/components/checkbox/checkbox.styles.js +10 -0
- package/esm/components/checkbox/checkbox.styles.js.map +1 -0
- package/esm/components/compound-button/compound-button.styles.js +2 -1
- package/esm/components/compound-button/compound-button.styles.js.map +1 -1
- package/esm/components/counter-badge/counter-badge.definition.js +3 -2
- package/esm/components/counter-badge/counter-badge.definition.js.map +1 -1
- package/esm/components/counter-badge/counter-badge.styles.js +10 -0
- package/esm/components/counter-badge/counter-badge.styles.js.map +1 -0
- package/esm/components/dialog/dialog.styles.js +2 -1
- package/esm/components/dialog/dialog.styles.js.map +1 -1
- package/esm/components/dialog-body/dialog-body.definition.js +3 -2
- package/esm/components/dialog-body/dialog-body.definition.js.map +1 -1
- package/esm/components/dialog-body/dialog-body.styles.js +9 -0
- package/esm/components/dialog-body/dialog-body.styles.js.map +1 -0
- package/esm/components/divider/divider.styles.js +2 -1
- package/esm/components/divider/divider.styles.js.map +1 -1
- package/esm/components/drawer/drawer.definition.js +3 -2
- package/esm/components/drawer/drawer.definition.js.map +1 -1
- package/esm/components/drawer/drawer.styles.js +9 -0
- package/esm/components/drawer/drawer.styles.js.map +1 -0
- package/esm/components/drawer-body/drawer-body.definition.js +3 -2
- package/esm/components/drawer-body/drawer-body.definition.js.map +1 -1
- package/esm/components/drawer-body/drawer-body.styles.js +9 -0
- package/esm/components/drawer-body/drawer-body.styles.js.map +1 -0
- package/esm/components/dropdown/dropdown.styles.js +1 -1
- package/esm/components/dropdown/dropdown.styles.js.map +1 -1
- package/esm/components/dynamic-tab/define.js +4 -0
- package/esm/components/dynamic-tab/define.js.map +1 -0
- package/esm/components/dynamic-tab/dynamic-tab.definition.js +27 -0
- package/esm/components/dynamic-tab/dynamic-tab.definition.js.map +1 -0
- package/esm/components/dynamic-tab/dynamic-tab.js +232 -0
- package/esm/components/dynamic-tab/dynamic-tab.js.map +1 -0
- package/esm/components/dynamic-tab/dynamic-tab.options.js +11 -0
- package/esm/components/dynamic-tab/dynamic-tab.options.js.map +1 -0
- package/esm/components/dynamic-tab/dynamic-tab.styles.js +13 -0
- package/esm/components/dynamic-tab/dynamic-tab.styles.js.map +1 -0
- package/esm/components/dynamic-tab/dynamic-tab.template.js +18 -0
- package/esm/components/dynamic-tab/dynamic-tab.template.js.map +1 -0
- package/esm/components/dynamic-tab/index.js +6 -0
- package/esm/components/dynamic-tab/index.js.map +1 -0
- package/esm/components/dynamic-tab-list/define.js +12 -0
- package/esm/components/dynamic-tab-list/define.js.map +1 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js +19 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js.map +1 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.js +788 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.js.map +1 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js +19 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js.map +1 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js +11 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js.map +1 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js +41 -0
- package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js.map +1 -0
- package/esm/components/dynamic-tab-list/index.js +6 -0
- package/esm/components/dynamic-tab-list/index.js.map +1 -0
- package/esm/components/empty-state/define.js +4 -0
- package/esm/components/empty-state/define.js.map +1 -0
- package/esm/components/empty-state/empty-state.definition.js +22 -0
- package/esm/components/empty-state/empty-state.definition.js.map +1 -0
- package/esm/components/empty-state/empty-state.js +33 -0
- package/esm/components/empty-state/empty-state.js.map +1 -0
- package/esm/components/empty-state/empty-state.styles.js +11 -0
- package/esm/components/empty-state/empty-state.styles.js.map +1 -0
- package/esm/components/empty-state/empty-state.template.js +12 -0
- package/esm/components/empty-state/empty-state.template.js.map +1 -0
- package/esm/components/empty-state/index.js +5 -0
- package/esm/components/empty-state/index.js.map +1 -0
- package/esm/components/field/field.styles.js +2 -1
- package/esm/components/field/field.styles.js.map +1 -1
- package/esm/components/filter-pill/filter-pill.styles.js +2 -1
- package/esm/components/filter-pill/filter-pill.styles.js.map +1 -1
- package/esm/components/image/image.definition.js +3 -2
- package/esm/components/image/image.definition.js.map +1 -1
- package/esm/components/image/image.styles.js +9 -0
- package/esm/components/image/image.styles.js.map +1 -0
- package/esm/components/label/label.definition.js +3 -2
- package/esm/components/label/label.definition.js.map +1 -1
- package/esm/components/label/label.styles.js +9 -0
- package/esm/components/label/label.styles.js.map +1 -0
- package/esm/components/link/link.definition.js +2 -2
- package/esm/components/link/link.definition.js.map +1 -1
- package/esm/components/link/link.styles.js +9 -0
- package/esm/components/link/link.styles.js.map +1 -0
- package/esm/components/listbox/listbox.styles.js +6 -1
- package/esm/components/listbox/listbox.styles.js.map +1 -1
- package/esm/components/loading-button/loading-button.styles.js +3 -1
- package/esm/components/loading-button/loading-button.styles.js.map +1 -1
- package/esm/components/menu/menu.styles.js +1 -1
- package/esm/components/menu/menu.styles.js.map +1 -1
- package/esm/components/menu-button/menu-button.definition.js +5 -2
- package/esm/components/menu-button/menu-button.definition.js.map +1 -1
- package/esm/components/menu-button/menu-button.js +2 -2
- package/esm/components/menu-button/menu-button.styles.js +18 -0
- package/esm/components/menu-button/menu-button.styles.js.map +1 -0
- package/esm/components/menu-item/menu-item.styles.js +4 -4
- package/esm/components/menu-item/menu-item.styles.js.map +1 -1
- package/esm/components/menu-list/menu-list.js +3 -3
- package/esm/components/menu-list/menu-list.js.map +1 -1
- package/esm/components/menu-list/menu-list.styles.js +2 -2
- package/esm/components/menu-list/menu-list.styles.js.map +1 -1
- package/esm/components/menu-list/menu-list.template.js +1 -1
- package/esm/components/menu-list/menu-list.template.js.map +1 -1
- package/esm/components/message-bar/message-bar.definition.js +3 -2
- package/esm/components/message-bar/message-bar.definition.js.map +1 -1
- package/esm/components/message-bar/message-bar.styles.js +9 -0
- package/esm/components/message-bar/message-bar.styles.js.map +1 -0
- package/esm/components/modal/define.js +9 -0
- package/esm/components/modal/define.js.map +1 -0
- package/esm/components/modal/index.js +7 -0
- package/esm/components/modal/index.js.map +1 -0
- package/esm/components/modal/modal.definition.js +29 -0
- package/esm/components/modal/modal.definition.js.map +1 -0
- package/esm/components/modal/modal.events.js +11 -0
- package/esm/components/modal/modal.events.js.map +1 -0
- package/esm/components/modal/modal.js +369 -0
- package/esm/components/modal/modal.js.map +1 -0
- package/esm/components/modal/modal.options.js +10 -0
- package/esm/components/modal/modal.options.js.map +1 -0
- package/esm/components/modal/modal.styles.js +14 -0
- package/esm/components/modal/modal.styles.js.map +1 -0
- package/esm/components/modal/modal.template.js +23 -0
- package/esm/components/modal/modal.template.js.map +1 -0
- package/esm/components/modal-fre-item/define.js +4 -0
- package/esm/components/modal-fre-item/define.js.map +1 -0
- package/esm/components/modal-fre-item/index.js +3 -0
- package/esm/components/modal-fre-item/index.js.map +1 -0
- package/esm/components/modal-fre-item/modal-fre-item.definition.js +27 -0
- package/esm/components/modal-fre-item/modal-fre-item.definition.js.map +1 -0
- package/esm/components/modal-fre-item/modal-fre-item.js +72 -0
- package/esm/components/modal-fre-item/modal-fre-item.js.map +1 -0
- package/esm/components/modal-fre-item/modal-fre-item.styles.js +11 -0
- package/esm/components/modal-fre-item/modal-fre-item.styles.js.map +1 -0
- package/esm/components/modal-fre-item/modal-fre-item.template.js +16 -0
- package/esm/components/modal-fre-item/modal-fre-item.template.js.map +1 -0
- package/esm/components/multi-view/multi-view.styles.js +1 -1
- package/esm/components/multi-view/multi-view.styles.js.map +1 -1
- package/esm/components/multi-view-controller/multi-view-controller.styles.js +1 -1
- package/esm/components/multi-view-controller/multi-view-controller.styles.js.map +1 -1
- package/esm/components/multi-view-group/multi-view-group.styles.js +1 -1
- package/esm/components/multi-view-group/multi-view-group.styles.js.map +1 -1
- package/esm/components/option/option.definition.js +3 -2
- package/esm/components/option/option.definition.js.map +1 -1
- package/esm/components/option/option.styles.js +9 -0
- package/esm/components/option/option.styles.js.map +1 -0
- package/esm/components/option-group/option-group.styles.js +1 -1
- package/esm/components/option-group/option-group.styles.js.map +1 -1
- package/esm/components/overflow/overflow.styles.js +1 -1
- package/esm/components/overflow/overflow.styles.js.map +1 -1
- package/esm/components/overflow-divider/overflow-divider.styles.js +1 -1
- package/esm/components/overflow-divider/overflow-divider.styles.js.map +1 -1
- package/esm/components/overflow-item/overflow-item.styles.js +1 -1
- package/esm/components/overflow-item/overflow-item.styles.js.map +1 -1
- package/esm/components/pagination/pagination.styles.js +1 -1
- package/esm/components/pagination/pagination.styles.js.map +1 -1
- package/esm/components/popover/popover.styles.js +1 -1
- package/esm/components/popover/popover.styles.js.map +1 -1
- package/esm/components/progress-bar/progress-bar.definition.js +3 -2
- package/esm/components/progress-bar/progress-bar.definition.js.map +1 -1
- package/esm/components/progress-bar/progress-bar.styles.js +9 -0
- package/esm/components/progress-bar/progress-bar.styles.js.map +1 -0
- package/esm/components/radio/radio.definition.js +3 -2
- package/esm/components/radio/radio.definition.js.map +1 -1
- package/esm/components/radio/radio.styles.js +9 -0
- package/esm/components/radio/radio.styles.js.map +1 -0
- package/esm/components/radio-group/radio-group.definition.js +3 -2
- package/esm/components/radio-group/radio-group.definition.js.map +1 -1
- package/esm/components/radio-group/radio-group.styles.js +9 -0
- package/esm/components/radio-group/radio-group.styles.js.map +1 -0
- package/esm/components/rating-display/rating-display.definition.js +3 -2
- package/esm/components/rating-display/rating-display.definition.js.map +1 -1
- package/esm/components/rating-display/rating-display.styles.js +9 -0
- package/esm/components/rating-display/rating-display.styles.js.map +1 -0
- package/esm/components/search-box/search-box.styles.js +1 -1
- package/esm/components/search-box/search-box.styles.js.map +1 -1
- package/esm/components/simple-table/simple-table.styles.js +2 -1
- package/esm/components/simple-table/simple-table.styles.js.map +1 -1
- package/esm/components/slider/slider.styles.js +1 -1
- package/esm/components/slider/slider.styles.js.map +1 -1
- package/esm/components/spin-button/spin-button.styles.js +1 -1
- package/esm/components/spin-button/spin-button.styles.js.map +1 -1
- package/esm/components/spinner/spinner.definition.js +3 -2
- package/esm/components/spinner/spinner.definition.js.map +1 -1
- package/esm/components/spinner/spinner.styles.js +9 -0
- package/esm/components/spinner/spinner.styles.js.map +1 -0
- package/esm/components/styles/patterns/patterns.js +11 -0
- package/esm/components/styles/patterns/patterns.js.map +1 -0
- package/esm/components/svg-icon/svg-icon.styles.js +1 -1
- package/esm/components/svg-icon/svg-icon.styles.js.map +1 -1
- package/esm/components/switch/switch.definition.js +3 -2
- package/esm/components/switch/switch.definition.js.map +1 -1
- package/esm/components/switch/switch.styles.js +9 -0
- package/esm/components/switch/switch.styles.js.map +1 -0
- package/esm/components/tab/tab.definition.js +3 -2
- package/esm/components/tab/tab.definition.js.map +1 -1
- package/esm/components/tab/tab.styles.js +9 -0
- package/esm/components/tab/tab.styles.js.map +1 -0
- package/esm/components/table/table.styles.js +1 -1
- package/esm/components/table/table.styles.js.map +1 -1
- package/esm/components/table-cell/table-cell.styles.js +1 -1
- package/esm/components/table-cell/table-cell.styles.js.map +1 -1
- package/esm/components/tablist/tablist.definition.js +3 -2
- package/esm/components/tablist/tablist.definition.js.map +1 -1
- package/esm/components/tablist/tablist.styles.js +9 -0
- package/esm/components/tablist/tablist.styles.js.map +1 -0
- package/esm/components/tag/tag.styles.js +1 -1
- package/esm/components/tag/tag.styles.js.map +1 -1
- package/esm/components/teaching-bubble/teaching-bubble.styles.js +1 -1
- package/esm/components/teaching-bubble/teaching-bubble.styles.js.map +1 -1
- package/esm/components/text/text.definition.js +4 -3
- package/esm/components/text/text.definition.js.map +1 -1
- package/esm/components/text/text.styles.js +9 -0
- package/esm/components/text/text.styles.js.map +1 -0
- package/esm/components/text-input/text-input.styles.js +1 -1
- package/esm/components/text-input/text-input.styles.js.map +1 -1
- package/esm/components/textarea/textarea.definition.js +3 -2
- package/esm/components/textarea/textarea.definition.js.map +1 -1
- package/esm/components/textarea/textarea.styles.js +9 -0
- package/esm/components/textarea/textarea.styles.js.map +1 -0
- package/esm/components/toggle-button/toggle-button.definition.js +3 -2
- package/esm/components/toggle-button/toggle-button.definition.js.map +1 -1
- package/esm/components/toggle-button/toggle-button.styles.js +9 -0
- package/esm/components/toggle-button/toggle-button.styles.js.map +1 -0
- package/esm/components/tooltip/tooltip.definition.js +3 -2
- package/esm/components/tooltip/tooltip.definition.js.map +1 -1
- package/esm/components/tooltip/tooltip.styles.js +9 -0
- package/esm/components/tooltip/tooltip.styles.js.map +1 -0
- package/esm/components/tree/tree.definition.js +4 -3
- package/esm/components/tree/tree.definition.js.map +1 -1
- package/esm/components/tree/tree.styles.js +9 -0
- package/esm/components/tree/tree.styles.js.map +1 -0
- package/esm/components/tree-item/tree-item.styles.js +1 -1
- package/esm/components/tree-item/tree-item.styles.js.map +1 -1
- package/esm/components/wizard/wizard.styles.js +1 -1
- package/esm/components/wizard/wizard.styles.js.map +1 -1
- package/esm/components/wizard-panel/wizard-panel.styles.js +1 -1
- package/esm/components/wizard-panel/wizard-panel.styles.js.map +1 -1
- package/esm/components/wizard-step/wizard-step.styles.js +1 -1
- package/esm/components/wizard-step/wizard-step.styles.js.map +1 -1
- package/esm/index.js +26 -2
- package/esm/index.js.map +1 -1
- package/esm/util/a11y-playwright-utils.js +93 -0
- package/esm/util/a11y-playwright-utils.js.map +1 -0
- package/esm/util/carousel-controller.js +153 -0
- package/esm/util/carousel-controller.js.map +1 -0
- package/esm/util/icons.js +16 -1
- package/esm/util/icons.js.map +1 -1
- package/esm/util/index.js +1 -0
- package/esm/util/index.js.map +1 -1
- package/index.d.ts +1504 -421
- package/index.d.ts.map +1 -1
- package/index.js +4522 -2432
- package/index.js.map +1 -1
- package/index.min.js +195 -93
- package/index.min.js.map +1 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _microsoft_fast_element from '@microsoft/fast-element';
|
|
2
|
-
import { FASTElement, ElementViewTemplate, ElementStyles, HTMLDirective, SyntheticViewTemplate, CaptureType, ElementsFilter } from '@microsoft/fast-element';
|
|
2
|
+
import { FASTElement, ElementViewTemplate, ElementStyles, Subscriber, HTMLDirective, SyntheticViewTemplate, CaptureType, ElementsFilter } from '@microsoft/fast-element';
|
|
3
3
|
import * as _fluentui_web_components from '@fluentui/web-components';
|
|
4
|
-
import { BaseButton, Button as Button$1, AccordionItem as AccordionItem$1, Accordion as Accordion$1, Link as Link$1, Avatar as Avatar$1, Badge as Badge$1, Checkbox as Checkbox$1, CounterBadge as CounterBadge$1,
|
|
4
|
+
import { BaseButton, Dialog as Dialog$1, Button as Button$1, AccordionItem as AccordionItem$1, Accordion as Accordion$1, Link as Link$1, Avatar as Avatar$1, Badge as Badge$1, Checkbox as Checkbox$1, CounterBadge as CounterBadge$1, DialogBody as DialogBody$1, Divider as Divider$1, Drawer as Drawer$1, DrawerBody as DrawerBody$1, Dropdown as Dropdown$1, DropdownOption as DropdownOption$1, Listbox as Listbox$1, Field as Field$1, SlottableInput as SlottableInput$1, Image as Image$1, Label as Label$1, AnchorButton as AnchorButton$1, MessageBar as MessageBar$1, MenuButton as MenuButton$1, ProgressBar as ProgressBar$1, RadioGroup as RadioGroup$1, Radio as Radio$1, RatingDisplay as RatingDisplay$1, StartEndOptions, StartEnd, Slider as Slider$1, Spinner as Spinner$1, Switch as Switch$1, Tab as Tab$1, Tablist as Tablist$1, TextArea as TextArea$1, TextAreaAppearance, Text as Text$1, Tree as Tree$1, TreeItem as TreeItem$1, ToggleButton as ToggleButton$1, Tooltip as Tooltip$1 } from '@fluentui/web-components';
|
|
5
5
|
export { AnchorButtonTemplate, AvatarStyles, AvatarTemplate, BadgeStyles, BadgeTemplate, BaseAccordionItem, BaseAnchor, BaseAvatar, BaseButton, BaseCheckbox, BaseDivider, BaseField, BaseProgressBar, BaseRatingDisplay, BaseSpinner, BaseTablist, BaseTextArea, BaseTextInput, CheckboxOptions, CheckboxStyles, CheckboxTemplate, DialogBodyStyles, DialogBodyTemplate, DialogTemplate, ListboxStyles, ListboxTemplate, MenuButtonOptions, MessageBarIntent, MessageBarLayout, MessageBarShape, MessageBarStyles, MessageBarTemplate, SliderConfiguration, SliderOptions, SwitchStyles, SwitchTemplate, TabOptions, TextAreaStyles, TextAreaTemplate, TreeStyles, TreeTemplate, isDropdownOption, isListbox } from '@fluentui/web-components';
|
|
6
6
|
import { OverflowItemEntry, OverflowGroupState } from '@fluentui/priority-overflow';
|
|
7
7
|
export { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';
|
|
@@ -139,9 +139,9 @@ declare class AccordionMenu extends FASTElement {
|
|
|
139
139
|
private removeItemListeners;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
declare const template$
|
|
142
|
+
declare const template$m: ElementViewTemplate<AccordionMenu>;
|
|
143
143
|
|
|
144
|
-
declare const styles$
|
|
144
|
+
declare const styles$s: _microsoft_fast_element.ElementStyles;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
@@ -149,7 +149,7 @@ declare const styles$o: _microsoft_fast_element.ElementStyles;
|
|
|
149
149
|
* @remarks
|
|
150
150
|
* HTML Element: <fabric-accordion-menu>
|
|
151
151
|
*/
|
|
152
|
-
declare const definition$
|
|
152
|
+
declare const definition$1f: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenu>;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* An Accordion Menu Panel header font size can be small, medium, large, and extra-large
|
|
@@ -457,11 +457,11 @@ declare class AccordionMenuPanel extends FASTElement {
|
|
|
457
457
|
* The template for the accordion menu panel component.
|
|
458
458
|
* @public
|
|
459
459
|
*/
|
|
460
|
-
declare const template$
|
|
460
|
+
declare const template$l: ElementViewTemplate<AccordionMenuPanel>;
|
|
461
461
|
|
|
462
|
-
declare const styles$
|
|
462
|
+
declare const styles$r: _microsoft_fast_element.ElementStyles;
|
|
463
463
|
|
|
464
|
-
declare const definition$
|
|
464
|
+
declare const definition$1e: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenuPanel>;
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* The appearance variations for the card component
|
|
@@ -804,14 +804,14 @@ declare class Card extends FASTElement {
|
|
|
804
804
|
* @remarks
|
|
805
805
|
* HTML Element: <fabric-card>
|
|
806
806
|
*/
|
|
807
|
-
declare const definition$
|
|
807
|
+
declare const definition$1d: _microsoft_fast_element.FASTElementDefinition<typeof Card>;
|
|
808
808
|
|
|
809
809
|
/** Card styles
|
|
810
810
|
* @public
|
|
811
811
|
*/
|
|
812
|
-
declare const styles$
|
|
812
|
+
declare const styles$q: _microsoft_fast_element.ElementStyles;
|
|
813
813
|
|
|
814
|
-
declare const template$
|
|
814
|
+
declare const template$k: ElementViewTemplate<Card>;
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* CardFooter
|
|
@@ -847,7 +847,7 @@ declare class CardFooter extends FASTElement {
|
|
|
847
847
|
* @remarks
|
|
848
848
|
* HTML Element: <fabric-card-footer>
|
|
849
849
|
*/
|
|
850
|
-
declare const definition$
|
|
850
|
+
declare const definition$1c: _microsoft_fast_element.FASTElementDefinition<typeof CardFooter>;
|
|
851
851
|
|
|
852
852
|
/**
|
|
853
853
|
* CardHeader
|
|
@@ -890,7 +890,7 @@ declare class CardHeader extends FASTElement {
|
|
|
890
890
|
* @remarks
|
|
891
891
|
* HTML Element: <fabric-card-header>
|
|
892
892
|
*/
|
|
893
|
-
declare const definition$
|
|
893
|
+
declare const definition$1b: _microsoft_fast_element.FASTElementDefinition<typeof CardHeader>;
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
896
|
* CardPreview
|
|
@@ -920,7 +920,7 @@ declare class CardPreview extends FASTElement {
|
|
|
920
920
|
* @remarks
|
|
921
921
|
* HTML Element: <fabric-card-preview>
|
|
922
922
|
*/
|
|
923
|
-
declare const definition$
|
|
923
|
+
declare const definition$1a: _microsoft_fast_element.FASTElementDefinition<typeof CardPreview>;
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
926
|
* Button placement options for carousel navigation
|
|
@@ -1001,149 +1001,122 @@ declare class CarouselItem extends FASTElement {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
/**
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
* ```html
|
|
1008
|
-
* <fabric-carousel-nav-item active></fabric-carousel-nav-item>
|
|
1009
|
-
* ```
|
|
1010
|
-
*
|
|
1011
|
-
* @attr {boolean} active - Whether this nav item represents the current step.
|
|
1012
|
-
*
|
|
1013
|
-
* @prop {boolean} active - Whether this nav item represents the current step.
|
|
1014
|
-
* @prop {string} tabId - Unique ID for this tab (set by parent).
|
|
1015
|
-
* @prop {string} panelId - ID of the controlled panel (for aria-controls).
|
|
1016
|
-
* @prop {string} tabLabel - Accessible label for the tab (e.g., "Slide 1").
|
|
1017
|
-
*
|
|
1018
|
-
* @slot default - Custom content (default renders a dot).
|
|
1019
|
-
*
|
|
1020
|
-
* @extends FASTElement
|
|
1021
|
-
* @tagname fabric-carousel-nav-item
|
|
1004
|
+
* Interface for items managed by a {@link CarouselController}.
|
|
1005
|
+
* Any element implementing this shape can be driven by the controller
|
|
1006
|
+
* (e.g. `CarouselItem`, `ModalFreItem`).
|
|
1022
1007
|
* @public
|
|
1023
1008
|
*/
|
|
1024
|
-
|
|
1025
|
-
/**
|
|
1026
|
-
* Whether this nav item represents the current step.
|
|
1027
|
-
* @public
|
|
1028
|
-
*/
|
|
1009
|
+
interface CarouselManagedItem {
|
|
1029
1010
|
active: boolean;
|
|
1030
|
-
/**
|
|
1031
|
-
* Unique ID for this tab.
|
|
1032
|
-
* Set by the parent navigation component.
|
|
1033
|
-
* @internal
|
|
1034
|
-
*/
|
|
1035
|
-
tabId?: string;
|
|
1036
|
-
/**
|
|
1037
|
-
* ID of the controlled tabpanel (for aria-controls).
|
|
1038
|
-
* Set by the parent navigation component.
|
|
1039
|
-
* @internal
|
|
1040
|
-
*/
|
|
1041
1011
|
panelId?: string;
|
|
1012
|
+
tabId?: string;
|
|
1013
|
+
label?: string;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Options for creating a CarouselController.
|
|
1017
|
+
* @public
|
|
1018
|
+
*/
|
|
1019
|
+
interface CarouselControllerOptions {
|
|
1042
1020
|
/**
|
|
1043
|
-
*
|
|
1044
|
-
*
|
|
1045
|
-
* @internal
|
|
1021
|
+
* Optional prefix for generated IDs.
|
|
1022
|
+
* Defaults to an auto-incrementing "carousel-N" value.
|
|
1046
1023
|
*/
|
|
1047
|
-
|
|
1024
|
+
idPrefix?: string;
|
|
1048
1025
|
}
|
|
1049
|
-
|
|
1050
1026
|
/**
|
|
1051
|
-
*
|
|
1052
|
-
*
|
|
1053
|
-
* @example
|
|
1054
|
-
* ```html
|
|
1055
|
-
* <fabric-carousel-nav button-placement="grouped">
|
|
1056
|
-
* <fabric-carousel-nav-item active></fabric-carousel-nav-item>
|
|
1057
|
-
* <fabric-carousel-nav-item></fabric-carousel-nav-item>
|
|
1058
|
-
* <fabric-carousel-nav-item></fabric-carousel-nav-item>
|
|
1059
|
-
* </fabric-carousel-nav>
|
|
1060
|
-
* ```
|
|
1061
|
-
*
|
|
1062
|
-
* @attr {string} button-placement - Positioning of prev/next buttons.
|
|
1063
|
-
* @attr {number} current-index - Currently selected nav item index.
|
|
1064
|
-
*
|
|
1065
|
-
* @prop {CarouselNavButtonPlacement} buttonPlacement - Button positioning.
|
|
1066
|
-
* @prop {number} currentIndex - Currently selected nav item index.
|
|
1067
|
-
*
|
|
1068
|
-
* @slot default - Slot for fabric-carousel-nav-item elements.
|
|
1027
|
+
* Framework-agnostic controller that manages carousel state and navigation.
|
|
1069
1028
|
*
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1029
|
+
* Both `fabric-carousel` and `fabric-modal` (FRE mode) instantiate this
|
|
1030
|
+
* controller. It owns:
|
|
1031
|
+
* - `currentIndex` / `totalItems` state
|
|
1032
|
+
* - `next()`, `prev()`, `scrollToIndex()` navigation
|
|
1033
|
+
* - Active-state synchronization on `CarouselItem` elements
|
|
1034
|
+
* - ARIA tab/panel ID generation
|
|
1073
1035
|
*
|
|
1074
|
-
* @extends FASTElement
|
|
1075
|
-
* @tagname fabric-carousel-nav
|
|
1076
1036
|
* @public
|
|
1077
1037
|
*/
|
|
1078
|
-
declare class
|
|
1038
|
+
declare class CarouselController<T extends CarouselManagedItem = CarouselItem> {
|
|
1079
1039
|
/**
|
|
1080
|
-
*
|
|
1081
|
-
* @
|
|
1040
|
+
* Counter for generating unique carousel IDs.
|
|
1041
|
+
* @internal
|
|
1082
1042
|
*/
|
|
1083
|
-
|
|
1043
|
+
private static idCounter;
|
|
1084
1044
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @
|
|
1045
|
+
* Unique ID prefix for this controller instance.
|
|
1046
|
+
* @internal
|
|
1087
1047
|
*/
|
|
1088
|
-
|
|
1048
|
+
readonly idPrefix: string;
|
|
1089
1049
|
/**
|
|
1090
|
-
*
|
|
1091
|
-
* @
|
|
1050
|
+
* Index of the currently active item.
|
|
1051
|
+
* Setting this value calls {@link updateActiveStates} and invokes
|
|
1052
|
+
* the {@link onChange} callback when the value actually changes.
|
|
1053
|
+
* @public
|
|
1092
1054
|
*/
|
|
1093
|
-
|
|
1055
|
+
private _currentIndex;
|
|
1056
|
+
get currentIndex(): number;
|
|
1057
|
+
set currentIndex(value: number);
|
|
1094
1058
|
/**
|
|
1095
|
-
*
|
|
1096
|
-
*
|
|
1059
|
+
* The collection of carousel items managed by this controller.
|
|
1060
|
+
* Uses FAST Observable API so template bindings (e.g. `repeat`)
|
|
1061
|
+
* react when the array reference is replaced.
|
|
1062
|
+
* @public
|
|
1097
1063
|
*/
|
|
1098
|
-
private
|
|
1064
|
+
private _items;
|
|
1065
|
+
get items(): T[];
|
|
1066
|
+
set items(value: T[]);
|
|
1099
1067
|
/**
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1068
|
+
* Total number of items.
|
|
1069
|
+
* Derives from the tracked `items` property so observers are notified
|
|
1070
|
+
* when the item array is replaced.
|
|
1071
|
+
* @public
|
|
1072
|
+
* @readonly
|
|
1102
1073
|
*/
|
|
1103
|
-
|
|
1074
|
+
get totalItems(): number;
|
|
1075
|
+
constructor(options?: CarouselControllerOptions);
|
|
1104
1076
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
* @
|
|
1077
|
+
* Advances to the next item if not at the end.
|
|
1078
|
+
* @public
|
|
1107
1079
|
*/
|
|
1108
|
-
|
|
1080
|
+
next(): void;
|
|
1109
1081
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @
|
|
1082
|
+
* Moves to the previous item if not at the beginning.
|
|
1083
|
+
* @public
|
|
1112
1084
|
*/
|
|
1113
|
-
|
|
1085
|
+
prev(): void;
|
|
1114
1086
|
/**
|
|
1115
|
-
*
|
|
1116
|
-
* @
|
|
1087
|
+
* Scrolls to the item at the specified index.
|
|
1088
|
+
* @param index - The target index.
|
|
1089
|
+
* @public
|
|
1117
1090
|
*/
|
|
1118
|
-
|
|
1091
|
+
scrollToIndex(index: number): void;
|
|
1119
1092
|
/**
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
* @internal
|
|
1093
|
+
* Synchronizes active state, panelId, and tabId on all items.
|
|
1094
|
+
* Clamps `currentIndex` to valid range.
|
|
1095
|
+
* @public
|
|
1124
1096
|
*/
|
|
1125
|
-
|
|
1097
|
+
updateActiveStates(): void;
|
|
1126
1098
|
/**
|
|
1127
|
-
*
|
|
1099
|
+
* Applies active state, panelId, and tabId to all items
|
|
1100
|
+
* based on the current index. Does not clamp.
|
|
1128
1101
|
* @internal
|
|
1129
1102
|
*/
|
|
1130
|
-
private
|
|
1103
|
+
private syncActiveStates;
|
|
1131
1104
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @
|
|
1105
|
+
* Gets the tab ID for a given index.
|
|
1106
|
+
* @public
|
|
1134
1107
|
*/
|
|
1135
|
-
|
|
1108
|
+
getTabId(index: number): string;
|
|
1136
1109
|
/**
|
|
1137
|
-
*
|
|
1138
|
-
* @
|
|
1110
|
+
* Gets the panel ID for a given index.
|
|
1111
|
+
* @public
|
|
1139
1112
|
*/
|
|
1140
|
-
|
|
1113
|
+
getPanelId(index: number): string;
|
|
1141
1114
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1115
|
+
* Gets the tab label for a given index.
|
|
1116
|
+
* Uses the item's label if set, otherwise a localized "Slide N" label.
|
|
1117
|
+
* @public
|
|
1144
1118
|
*/
|
|
1145
|
-
|
|
1146
|
-
disconnectedCallback(): void;
|
|
1119
|
+
getTabLabel(index: number): string;
|
|
1147
1120
|
}
|
|
1148
1121
|
|
|
1149
1122
|
/**
|
|
@@ -1181,16 +1154,10 @@ declare class CarouselNav extends FASTElement {
|
|
|
1181
1154
|
*/
|
|
1182
1155
|
declare class Carousel extends FASTElement {
|
|
1183
1156
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
* @internal
|
|
1186
|
-
*/
|
|
1187
|
-
private static idCounter;
|
|
1188
|
-
/**
|
|
1189
|
-
* Unique ID for this carousel instance.
|
|
1190
|
-
* Used to generate unique IDs for tabs and panels.
|
|
1157
|
+
* Internal carousel controller that manages state and navigation.
|
|
1191
1158
|
* @internal
|
|
1192
1159
|
*/
|
|
1193
|
-
readonly
|
|
1160
|
+
readonly controller: CarouselController<CarouselItem>;
|
|
1194
1161
|
/**
|
|
1195
1162
|
* Nav position relative to content.
|
|
1196
1163
|
* @public
|
|
@@ -1205,38 +1172,19 @@ declare class Carousel extends FASTElement {
|
|
|
1205
1172
|
* Index of the currently visible item.
|
|
1206
1173
|
* @public
|
|
1207
1174
|
*/
|
|
1208
|
-
currentIndex: number;
|
|
1175
|
+
get currentIndex(): number;
|
|
1176
|
+
set currentIndex(value: number);
|
|
1209
1177
|
/**
|
|
1210
1178
|
* Slotted carousel items.
|
|
1211
1179
|
* @internal
|
|
1212
1180
|
*/
|
|
1213
1181
|
slottedItems: CarouselItem[];
|
|
1214
|
-
/**
|
|
1215
|
-
* Reference to the generated nav element.
|
|
1216
|
-
* @internal
|
|
1217
|
-
*/
|
|
1218
|
-
generatedNav?: CarouselNav;
|
|
1219
|
-
/**
|
|
1220
|
-
* Abort controller for removing nav event listeners.
|
|
1221
|
-
* @internal
|
|
1222
|
-
*/
|
|
1223
|
-
private eventListenerAbortController?;
|
|
1224
1182
|
/**
|
|
1225
1183
|
* Total number of carousel items.
|
|
1226
1184
|
* @public
|
|
1227
1185
|
* @readonly
|
|
1228
1186
|
*/
|
|
1229
1187
|
get totalItems(): number;
|
|
1230
|
-
/**
|
|
1231
|
-
* Callback when generatedNav changes.
|
|
1232
|
-
* @internal
|
|
1233
|
-
*/
|
|
1234
|
-
generatedNavChanged(_oldValue: CarouselNav | undefined, newValue: CarouselNav | undefined): void;
|
|
1235
|
-
/**
|
|
1236
|
-
* Callback when currentIndex changes.
|
|
1237
|
-
* @internal
|
|
1238
|
-
*/
|
|
1239
|
-
currentIndexChanged(oldValue: number, newValue: number): void;
|
|
1240
1188
|
/**
|
|
1241
1189
|
* Callback when slotted items change.
|
|
1242
1190
|
* @internal
|
|
@@ -1257,11 +1205,6 @@ declare class Carousel extends FASTElement {
|
|
|
1257
1205
|
* @public
|
|
1258
1206
|
*/
|
|
1259
1207
|
scrollToIndex(index: number): void;
|
|
1260
|
-
/**
|
|
1261
|
-
* Updates active states on carousel items.
|
|
1262
|
-
* @internal
|
|
1263
|
-
*/
|
|
1264
|
-
private updateActiveStates;
|
|
1265
1208
|
/**
|
|
1266
1209
|
* Gets the tab ID for a given index.
|
|
1267
1210
|
* @internal
|
|
@@ -1278,18 +1221,12 @@ declare class Carousel extends FASTElement {
|
|
|
1278
1221
|
* @internal
|
|
1279
1222
|
*/
|
|
1280
1223
|
getTabLabel(index: number): string;
|
|
1281
|
-
|
|
1282
|
-
* Sets up event listeners on nav element.
|
|
1283
|
-
* @internal
|
|
1284
|
-
*/
|
|
1285
|
-
private setupNavListeners;
|
|
1224
|
+
connectedCallback(): void;
|
|
1286
1225
|
/**
|
|
1287
1226
|
* Emits change event.
|
|
1288
1227
|
* @internal
|
|
1289
1228
|
*/
|
|
1290
1229
|
private emitChange;
|
|
1291
|
-
connectedCallback(): void;
|
|
1292
|
-
disconnectedCallback(): void;
|
|
1293
1230
|
}
|
|
1294
1231
|
|
|
1295
1232
|
/**
|
|
@@ -1311,16 +1248,7 @@ type CarouselEventName = ValuesOf<typeof CarouselEventNames>;
|
|
|
1311
1248
|
* @remarks
|
|
1312
1249
|
* HTML Element: <fabric-carousel>
|
|
1313
1250
|
*/
|
|
1314
|
-
declare const definition$
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* Styles for the {@link @fabric-msft/fabric-web#(Carousel:class)} component.
|
|
1318
|
-
* @public
|
|
1319
|
-
*/
|
|
1320
|
-
declare const styles$l: ElementStyles;
|
|
1321
|
-
|
|
1322
|
-
declare const template$f: ElementViewTemplate<Carousel>;
|
|
1323
|
-
|
|
1251
|
+
declare const definition$19: _microsoft_fast_element.FASTElementDefinition<typeof Carousel>;
|
|
1324
1252
|
/**
|
|
1325
1253
|
* Registers the carousel element and all of its internal dependencies
|
|
1326
1254
|
* (carousel-item, carousel-nav, carousel-nav-item) with the provided registry.
|
|
@@ -1338,111 +1266,322 @@ declare const template$f: ElementViewTemplate<Carousel>;
|
|
|
1338
1266
|
declare function defineCarousel(registry?: CustomElementRegistry): void;
|
|
1339
1267
|
|
|
1340
1268
|
/**
|
|
1341
|
-
*
|
|
1342
|
-
* @public
|
|
1343
|
-
* @remarks
|
|
1344
|
-
* HTML Element: <fabric-carousel-item>
|
|
1345
|
-
*/
|
|
1346
|
-
declare const definition$13: _microsoft_fast_element.FASTElementDefinition<typeof CarouselItem>;
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* Styles for the {@link @fabric-msft/fabric-web#(CarouselItem:class)} component.
|
|
1350
|
-
* @public
|
|
1351
|
-
*/
|
|
1352
|
-
declare const styles$k: ElementStyles;
|
|
1353
|
-
|
|
1354
|
-
declare const template$e: ElementViewTemplate<CarouselItem>;
|
|
1355
|
-
|
|
1356
|
-
/**
|
|
1357
|
-
* Event names for the CarouselNav component
|
|
1358
|
-
* @public
|
|
1359
|
-
*/
|
|
1360
|
-
declare const CarouselNavEventNames: {
|
|
1361
|
-
readonly select: "select";
|
|
1362
|
-
readonly previous: "previous";
|
|
1363
|
-
readonly next: "next";
|
|
1364
|
-
};
|
|
1365
|
-
/**
|
|
1366
|
-
* CarouselNav event type
|
|
1367
|
-
* @public
|
|
1368
|
-
*/
|
|
1369
|
-
type CarouselNavEventName = ValuesOf<typeof CarouselNavEventNames>;
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* The CarouselNav element definition.
|
|
1373
|
-
* @public
|
|
1374
|
-
* @remarks
|
|
1375
|
-
* HTML Element: <fabric-carousel-nav>
|
|
1376
|
-
*/
|
|
1377
|
-
declare const definition$12: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNav>;
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* Styles for the {@link @fabric-msft/fabric-web#(CarouselNav:class)} component.
|
|
1269
|
+
* Styles for the {@link @fabric-msft/fabric-web#(Carousel:class)} component.
|
|
1381
1270
|
* @public
|
|
1382
1271
|
*/
|
|
1383
|
-
declare const styles$
|
|
1272
|
+
declare const styles$p: ElementStyles;
|
|
1384
1273
|
|
|
1385
|
-
declare const template$
|
|
1274
|
+
declare const template$j: ElementViewTemplate<Carousel>;
|
|
1386
1275
|
|
|
1387
1276
|
/**
|
|
1388
|
-
* The
|
|
1277
|
+
* The CarouselItem element definition.
|
|
1389
1278
|
* @public
|
|
1390
1279
|
* @remarks
|
|
1391
|
-
* HTML Element: <fabric-carousel-
|
|
1280
|
+
* HTML Element: <fabric-carousel-item>
|
|
1392
1281
|
*/
|
|
1393
|
-
declare const definition$
|
|
1282
|
+
declare const definition$18: _microsoft_fast_element.FASTElementDefinition<typeof CarouselItem>;
|
|
1394
1283
|
|
|
1395
1284
|
/**
|
|
1396
|
-
* Styles for the {@link @fabric-msft/fabric-web#(
|
|
1285
|
+
* Styles for the {@link @fabric-msft/fabric-web#(CarouselItem:class)} component.
|
|
1397
1286
|
* @public
|
|
1398
1287
|
*/
|
|
1399
|
-
declare const styles$
|
|
1288
|
+
declare const styles$o: ElementStyles;
|
|
1400
1289
|
|
|
1401
|
-
declare const template$
|
|
1290
|
+
declare const template$i: ElementViewTemplate<CarouselItem>;
|
|
1402
1291
|
|
|
1403
1292
|
/**
|
|
1404
|
-
* @summary A
|
|
1293
|
+
* @summary A single tab indicator within the carousel navigation.
|
|
1405
1294
|
*
|
|
1406
1295
|
* @example
|
|
1407
1296
|
* ```html
|
|
1408
|
-
* <fabric-
|
|
1409
|
-
* <div slot="header">Carousel Header</div>
|
|
1410
|
-
* <fabric-button slot="prev-button">Prev</fabric-button>
|
|
1411
|
-
* <fabric-button slot="next-button">Next</fabric-button>
|
|
1412
|
-
* <div>Item 1</div>
|
|
1413
|
-
* <div>Item 2</div>
|
|
1414
|
-
* <!-- More carousel items here -->
|
|
1415
|
-
* </fabric-card-carousel>
|
|
1297
|
+
* <fabric-carousel-nav-item active></fabric-carousel-nav-item>
|
|
1416
1298
|
* ```
|
|
1417
1299
|
*
|
|
1418
|
-
* @attr
|
|
1419
|
-
*
|
|
1420
|
-
* @prop {boolean} disableAnimation - Boolean attribute to disable animation.
|
|
1421
|
-
* @prop {HTMLElement[]} slottedCarouselItems - An array of carousel items that are slotted into the carousel.
|
|
1422
|
-
* @prop {HTMLElement} header - The header element.
|
|
1423
|
-
* @prop {number} currentIndex - The current index of the carousel, indicating which item is currently visible.
|
|
1424
|
-
* @prop {HTMLElement[]} nextButton - The next button element.
|
|
1425
|
-
* @prop {HTMLElement[]} prevButton - The previous button element.
|
|
1426
|
-
* @prop {number} visibleItemsCount - Gets the number of items currently visible in the carousel. (readonly)
|
|
1300
|
+
* @attr {boolean} active - Whether this nav item represents the current step.
|
|
1427
1301
|
*
|
|
1428
|
-
* @
|
|
1429
|
-
* @
|
|
1430
|
-
* @
|
|
1431
|
-
* @
|
|
1302
|
+
* @prop {boolean} active - Whether this nav item represents the current step.
|
|
1303
|
+
* @prop {string} tabId - Unique ID for this tab (set by parent).
|
|
1304
|
+
* @prop {string} panelId - ID of the controlled panel (for aria-controls).
|
|
1305
|
+
* @prop {string} tabLabel - Accessible label for the tab (e.g., "Slide 1").
|
|
1432
1306
|
*
|
|
1433
|
-
* @
|
|
1434
|
-
* @method prev - Moves the carousel to the previous set of items.
|
|
1435
|
-
* @method scrollToIndex - Scrolls the carousel to a specific index.
|
|
1436
|
-
* @method isAtEnd - Checks if the carousel is at the end of the items.
|
|
1437
|
-
* @method getNextVisibleItemsCount - Gets the count of the next set of visible items in the carousel.
|
|
1438
|
-
* @method updateVisibleItems - Updates the visible items in the carousel.
|
|
1307
|
+
* @slot default - Custom content (default renders a dot).
|
|
1439
1308
|
*
|
|
1440
1309
|
* @extends FASTElement
|
|
1441
|
-
* @tagname fabric-
|
|
1310
|
+
* @tagname fabric-carousel-nav-item
|
|
1442
1311
|
* @public
|
|
1443
1312
|
*/
|
|
1444
|
-
declare class
|
|
1445
|
-
|
|
1313
|
+
declare class CarouselNavItem extends FASTElement {
|
|
1314
|
+
/**
|
|
1315
|
+
* Whether this nav item represents the current step.
|
|
1316
|
+
* @public
|
|
1317
|
+
*/
|
|
1318
|
+
active: boolean;
|
|
1319
|
+
/**
|
|
1320
|
+
* Unique ID for this tab.
|
|
1321
|
+
* Set by the parent navigation component.
|
|
1322
|
+
* @internal
|
|
1323
|
+
*/
|
|
1324
|
+
tabId?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* ID of the controlled tabpanel (for aria-controls).
|
|
1327
|
+
* Set by the parent navigation component.
|
|
1328
|
+
* @internal
|
|
1329
|
+
*/
|
|
1330
|
+
panelId?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Accessible label for the tab.
|
|
1333
|
+
* Set by the parent navigation component.
|
|
1334
|
+
* @internal
|
|
1335
|
+
*/
|
|
1336
|
+
tabLabel?: string;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* @summary Navigation container with step indicators and prev/next buttons.
|
|
1341
|
+
*
|
|
1342
|
+
* @example
|
|
1343
|
+
* ```html
|
|
1344
|
+
* <fabric-carousel-nav button-placement="grouped">
|
|
1345
|
+
* <fabric-carousel-nav-item active></fabric-carousel-nav-item>
|
|
1346
|
+
* <fabric-carousel-nav-item></fabric-carousel-nav-item>
|
|
1347
|
+
* <fabric-carousel-nav-item></fabric-carousel-nav-item>
|
|
1348
|
+
* </fabric-carousel-nav>
|
|
1349
|
+
* ```
|
|
1350
|
+
*
|
|
1351
|
+
* @attr {string} button-placement - Positioning of prev/next buttons.
|
|
1352
|
+
* @attr {number} current-index - Currently selected nav item index.
|
|
1353
|
+
*
|
|
1354
|
+
* @prop {CarouselNavButtonPlacement} buttonPlacement - Button positioning.
|
|
1355
|
+
* @prop {number} currentIndex - Currently selected nav item index.
|
|
1356
|
+
* @prop {CarouselController} controller - The carousel controller to drive navigation.
|
|
1357
|
+
*
|
|
1358
|
+
* @slot default - Slot for fabric-carousel-nav-item elements.
|
|
1359
|
+
* @slot prev-button - Custom previous button. Defaults to a chevron left button.
|
|
1360
|
+
* @slot next-button - Custom next button. Defaults to a chevron right button.
|
|
1361
|
+
*
|
|
1362
|
+
* @fires select - Fired when a nav item is selected with detail { index }.
|
|
1363
|
+
* @fires previous - Fired when prev button is clicked.
|
|
1364
|
+
* @fires next - Fired when next button is clicked.
|
|
1365
|
+
*
|
|
1366
|
+
* @extends FASTElement
|
|
1367
|
+
* @tagname fabric-carousel-nav
|
|
1368
|
+
* @public
|
|
1369
|
+
*/
|
|
1370
|
+
declare class CarouselNav extends FASTElement {
|
|
1371
|
+
/**
|
|
1372
|
+
* Positioning of prev/next buttons.
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
buttonPlacement: CarouselNavButtonPlacement;
|
|
1376
|
+
/**
|
|
1377
|
+
* Currently selected nav item index.
|
|
1378
|
+
* @public
|
|
1379
|
+
*/
|
|
1380
|
+
currentIndex: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* The carousel controller to drive navigation.
|
|
1383
|
+
* When set, prev/next/select actions call methods on the controller directly.
|
|
1384
|
+
* @public
|
|
1385
|
+
*/
|
|
1386
|
+
controller?: CarouselController;
|
|
1387
|
+
/**
|
|
1388
|
+
* Callback to parse current-index attribute.
|
|
1389
|
+
* @internal
|
|
1390
|
+
*/
|
|
1391
|
+
currentIndexChanged(_oldValue: string | number, newValue: string | number): void;
|
|
1392
|
+
/**
|
|
1393
|
+
* Roving focus controller for indicator keyboard navigation.
|
|
1394
|
+
* @internal
|
|
1395
|
+
*/
|
|
1396
|
+
private rovingFocus;
|
|
1397
|
+
/**
|
|
1398
|
+
* Manages event listeners for nav items.
|
|
1399
|
+
* @internal
|
|
1400
|
+
*/
|
|
1401
|
+
private navItemEvents;
|
|
1402
|
+
/**
|
|
1403
|
+
* Slotted nav items.
|
|
1404
|
+
* @internal
|
|
1405
|
+
*/
|
|
1406
|
+
slottedNavItems: CarouselNavItem[];
|
|
1407
|
+
/**
|
|
1408
|
+
* Callback when nav items change.
|
|
1409
|
+
* @internal
|
|
1410
|
+
*/
|
|
1411
|
+
slottedNavItemsChanged(oldValue: CarouselNavItem[], newValue: CarouselNavItem[]): void;
|
|
1412
|
+
/**
|
|
1413
|
+
* Updates active states on nav items.
|
|
1414
|
+
* @internal
|
|
1415
|
+
*/
|
|
1416
|
+
private updateActiveStates;
|
|
1417
|
+
/**
|
|
1418
|
+
* Handles keyboard events on indicators.
|
|
1419
|
+
* Arrow keys are delegated to roving focus controller.
|
|
1420
|
+
* Enter/Space selects the focused indicator.
|
|
1421
|
+
* @internal
|
|
1422
|
+
*/
|
|
1423
|
+
private handleIndicatorKeydown;
|
|
1424
|
+
/**
|
|
1425
|
+
* Handles nav item click.
|
|
1426
|
+
* @internal
|
|
1427
|
+
*/
|
|
1428
|
+
private handleItemClick;
|
|
1429
|
+
/**
|
|
1430
|
+
* Handles prev button click.
|
|
1431
|
+
* @internal
|
|
1432
|
+
*/
|
|
1433
|
+
handlePrevClick(): void;
|
|
1434
|
+
/**
|
|
1435
|
+
* Handles next button click.
|
|
1436
|
+
* @internal
|
|
1437
|
+
*/
|
|
1438
|
+
handleNextClick(): void;
|
|
1439
|
+
/**
|
|
1440
|
+
* Emits select event.
|
|
1441
|
+
* @internal
|
|
1442
|
+
*/
|
|
1443
|
+
private emitSelect;
|
|
1444
|
+
disconnectedCallback(): void;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Event names for the CarouselNav component
|
|
1449
|
+
* @public
|
|
1450
|
+
*/
|
|
1451
|
+
declare const CarouselNavEventNames: {
|
|
1452
|
+
readonly select: "select";
|
|
1453
|
+
readonly previous: "previous";
|
|
1454
|
+
readonly next: "next";
|
|
1455
|
+
};
|
|
1456
|
+
/**
|
|
1457
|
+
* CarouselNav event type
|
|
1458
|
+
* @public
|
|
1459
|
+
*/
|
|
1460
|
+
type CarouselNavEventName = ValuesOf<typeof CarouselNavEventNames>;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* The CarouselNav element definition.
|
|
1464
|
+
* @public
|
|
1465
|
+
* @remarks
|
|
1466
|
+
* HTML Element: <fabric-carousel-nav>
|
|
1467
|
+
*/
|
|
1468
|
+
declare const definition$17: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNav>;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Styles for the {@link @fabric-msft/fabric-web#(CarouselNav:class)} component.
|
|
1472
|
+
* @public
|
|
1473
|
+
*/
|
|
1474
|
+
declare const styles$n: ElementStyles;
|
|
1475
|
+
|
|
1476
|
+
declare const template$h: ElementViewTemplate<CarouselNav>;
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* The CarouselNavItem element definition.
|
|
1480
|
+
* @public
|
|
1481
|
+
* @remarks
|
|
1482
|
+
* HTML Element: <fabric-carousel-nav-item>
|
|
1483
|
+
*/
|
|
1484
|
+
declare const definition$16: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNavItem>;
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Styles for the {@link @fabric-msft/fabric-web#(CarouselNavItem:class)} component.
|
|
1488
|
+
* @public
|
|
1489
|
+
*/
|
|
1490
|
+
declare const styles$m: ElementStyles;
|
|
1491
|
+
|
|
1492
|
+
declare const template$g: ElementViewTemplate<CarouselNavItem>;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* @summary Renders the scrolling viewport for carousel items.
|
|
1496
|
+
*
|
|
1497
|
+
* This component is the visual container that shows one carousel item at a time
|
|
1498
|
+
* and applies a CSS transform to slide between items. It is driven by a
|
|
1499
|
+
* {@link CarouselController} which manages the active index and item state.
|
|
1500
|
+
*
|
|
1501
|
+
* The host component (e.g. fabric-carousel or fabric-modal) is responsible for
|
|
1502
|
+
* managing the controller's items. The viewport is purely a rendering component.
|
|
1503
|
+
*
|
|
1504
|
+
* @example
|
|
1505
|
+
* ```html
|
|
1506
|
+
* <fabric-carousel-viewport>
|
|
1507
|
+
* <fabric-carousel-item>Slide 1</fabric-carousel-item>
|
|
1508
|
+
* <fabric-carousel-item>Slide 2</fabric-carousel-item>
|
|
1509
|
+
* </fabric-carousel-viewport>
|
|
1510
|
+
* ```
|
|
1511
|
+
*
|
|
1512
|
+
* @slot default - Slot for fabric-carousel-item elements.
|
|
1513
|
+
*
|
|
1514
|
+
* @extends FASTElement
|
|
1515
|
+
* @tagname fabric-carousel-viewport
|
|
1516
|
+
* @public
|
|
1517
|
+
*/
|
|
1518
|
+
declare class CarouselViewport extends FASTElement {
|
|
1519
|
+
/**
|
|
1520
|
+
* The carousel controller driving this viewport.
|
|
1521
|
+
* @public
|
|
1522
|
+
*/
|
|
1523
|
+
controller?: CarouselController;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* The CarouselViewport element definition.
|
|
1528
|
+
* @public
|
|
1529
|
+
* @remarks
|
|
1530
|
+
* HTML Element: <fabric-carousel-viewport>
|
|
1531
|
+
*/
|
|
1532
|
+
declare const definition$15: _microsoft_fast_element.FASTElementDefinition<typeof CarouselViewport>;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* Styles for the {@link @fabric-msft/fabric-web#(CarouselViewport:class)} component.
|
|
1536
|
+
* @public
|
|
1537
|
+
*/
|
|
1538
|
+
declare const styles$l: ElementStyles;
|
|
1539
|
+
|
|
1540
|
+
declare const template$f: ElementViewTemplate<CarouselViewport>;
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @summary A Carousel component for displaying a set of items in a horizontal, scrollable manner.
|
|
1544
|
+
*
|
|
1545
|
+
* @example
|
|
1546
|
+
* ```html
|
|
1547
|
+
* <fabric-card-carousel>
|
|
1548
|
+
* <div slot="header">Carousel Header</div>
|
|
1549
|
+
* <fabric-button slot="prev-button">Prev</fabric-button>
|
|
1550
|
+
* <fabric-button slot="next-button">Next</fabric-button>
|
|
1551
|
+
* <div>Item 1</div>
|
|
1552
|
+
* <div>Item 2</div>
|
|
1553
|
+
* <!-- More carousel items here -->
|
|
1554
|
+
* </fabric-card-carousel>
|
|
1555
|
+
* ```
|
|
1556
|
+
*
|
|
1557
|
+
* @attr disable-animation - Disables animation when set to true.
|
|
1558
|
+
*
|
|
1559
|
+
* @prop {boolean} disableAnimation - Boolean attribute to disable animation.
|
|
1560
|
+
* @prop {HTMLElement[]} slottedCarouselItems - An array of carousel items that are slotted into the carousel.
|
|
1561
|
+
* @prop {HTMLElement} header - The header element.
|
|
1562
|
+
* @prop {number} currentIndex - The current index of the carousel, indicating which item is currently visible.
|
|
1563
|
+
* @prop {HTMLElement[]} nextButton - The next button element.
|
|
1564
|
+
* @prop {HTMLElement[]} prevButton - The previous button element.
|
|
1565
|
+
* @prop {number} visibleItemsCount - Gets the number of items currently visible in the carousel. (readonly)
|
|
1566
|
+
*
|
|
1567
|
+
* @slot header - Slot for the carousel header content.
|
|
1568
|
+
* @slot prev-button - Slot for the carousel's previous navigation button.
|
|
1569
|
+
* @slot next-button - Slot for the carousel's next navigation button.
|
|
1570
|
+
* @slot - Default slot for carousel items.
|
|
1571
|
+
*
|
|
1572
|
+
* @method next - Moves the carousel to the next set of items.
|
|
1573
|
+
* @method prev - Moves the carousel to the previous set of items.
|
|
1574
|
+
* @method scrollToIndex - Scrolls the carousel to a specific index.
|
|
1575
|
+
* @method isAtEnd - Checks if the carousel is at the end of the items.
|
|
1576
|
+
* @method getNextVisibleItemsCount - Gets the count of the next set of visible items in the carousel.
|
|
1577
|
+
* @method updateVisibleItems - Updates the visible items in the carousel.
|
|
1578
|
+
*
|
|
1579
|
+
* @extends FASTElement
|
|
1580
|
+
* @tagname fabric-card-carousel
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
declare class CardCarousel extends FASTElement {
|
|
1584
|
+
#private;
|
|
1446
1585
|
/**
|
|
1447
1586
|
* Boolean attribute to disable animation.
|
|
1448
1587
|
*
|
|
@@ -1669,11 +1808,11 @@ declare class CardCarousel extends FASTElement {
|
|
|
1669
1808
|
* @remarks
|
|
1670
1809
|
* HTML Element: <fabric-card-carousel>
|
|
1671
1810
|
*/
|
|
1672
|
-
declare const definition$
|
|
1811
|
+
declare const definition$14: _microsoft_fast_element.FASTElementDefinition<typeof CardCarousel>;
|
|
1673
1812
|
|
|
1674
|
-
declare const styles$
|
|
1813
|
+
declare const styles$k: _microsoft_fast_element.ElementStyles;
|
|
1675
1814
|
|
|
1676
|
-
declare const template$
|
|
1815
|
+
declare const template$e: ElementViewTemplate<CardCarousel>;
|
|
1677
1816
|
|
|
1678
1817
|
/** Appearance values for {@link Button}. */
|
|
1679
1818
|
declare const ButtonAppearances: {
|
|
@@ -2018,12 +2157,429 @@ declare class FilterPill extends Button {
|
|
|
2018
2157
|
}
|
|
2019
2158
|
|
|
2020
2159
|
/**
|
|
2021
|
-
*
|
|
2160
|
+
*
|
|
2161
|
+
* @public
|
|
2162
|
+
* @remarks
|
|
2163
|
+
* HTML Element: <fabric-filter-pill>
|
|
2164
|
+
*/
|
|
2165
|
+
declare const definition$13: _microsoft_fast_element.FASTElementDefinition<typeof FilterPill>;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Modal mode options.
|
|
2169
|
+
* @public
|
|
2170
|
+
*/
|
|
2171
|
+
declare const ModalModes: {
|
|
2172
|
+
readonly default: "default";
|
|
2173
|
+
readonly fre: "fre";
|
|
2174
|
+
};
|
|
2175
|
+
/**
|
|
2176
|
+
* Modal mode type.
|
|
2177
|
+
* @public
|
|
2178
|
+
*/
|
|
2179
|
+
type ModalMode = ValuesOf<typeof ModalModes>;
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* Dialog
|
|
2183
|
+
* @summary A Dialog Custom HTML Element that provides modal, non-modal, and alert dialog types with accessible attributes.
|
|
2184
|
+
*
|
|
2185
|
+
* @example
|
|
2186
|
+
* ```html
|
|
2187
|
+
* <fabric-dialog type="modal" aria-labelledby="dialog-label" aria-describedby="dialog-desc">
|
|
2188
|
+
* <span slot="title">Title</span>
|
|
2189
|
+
* <div>Content of the dialog body</div>
|
|
2190
|
+
* <span slot="action">Action buttons</span>
|
|
2191
|
+
* </fabric-dialog>
|
|
2192
|
+
* ```
|
|
2193
|
+
*
|
|
2194
|
+
* @attr {string} aria-describedby - Identifies the element (or elements) that describes the object.
|
|
2195
|
+
* @attr {string} aria-labelledby - Identifies the element (or elements) that labels the current element.
|
|
2196
|
+
* @attr {DialogType} type - The type of dialog ('modal', 'non-modal', 'alert').
|
|
2197
|
+
*
|
|
2198
|
+
* @prop {HTMLElement} dialog - The internal dialog element reference.
|
|
2199
|
+
* @prop {string} ariaDescribedby - Reflects the 'aria-describedby' attribute to associate the dialog with descriptive text.
|
|
2200
|
+
* @prop {string} ariaLabelledby - Reflects the 'aria-labelledby' attribute to associate the dialog with its label.
|
|
2201
|
+
* @prop {DialogType} type - The type of dialog, which can be 'modal', 'non-modal', or 'alert'.
|
|
2202
|
+
*
|
|
2203
|
+
* @slot - The default slot for dialog content.
|
|
2204
|
+
*
|
|
2205
|
+
* @csspart dialog - The dialog container.
|
|
2206
|
+
*
|
|
2207
|
+
* @method show() - Opens the dialog.
|
|
2208
|
+
* @method hide() - Closes the dialog.
|
|
2209
|
+
* @method clickHandler() - Handles click events on the dialog.
|
|
2210
|
+
*
|
|
2211
|
+
* @fires {CustomEvent} beforetoggle - Event emitted before the dialog's open state changes.
|
|
2212
|
+
* @fires {CustomEvent} toggle - Event emitted after the dialog's open state changes.
|
|
2213
|
+
*
|
|
2214
|
+
* @extends FluentDialog
|
|
2215
|
+
* @tagname fabric-dialog
|
|
2216
|
+
* @public
|
|
2217
|
+
*/
|
|
2218
|
+
declare class Dialog extends Dialog$1 {
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* @summary A content item for the modal FRE (First Run Experience) wizard.
|
|
2223
|
+
*
|
|
2224
|
+
* Each fre-item is a self-contained step that renders its own hero content,
|
|
2225
|
+
* title, description, and dismiss button. The parent `fabric-modal` assigns
|
|
2226
|
+
* fre-items to a {@link CarouselController} which manages active state and
|
|
2227
|
+
* ARIA linkage. Only the active item is visible.
|
|
2228
|
+
*
|
|
2229
|
+
* @example
|
|
2230
|
+
* ```html
|
|
2231
|
+
* <fabric-modal-fre-item>
|
|
2232
|
+
* <span slot="title">Welcome</span>
|
|
2233
|
+
* <span slot="description">Get started with Fabric.</span>
|
|
2234
|
+
* <img src="hero.png" alt="Welcome illustration" />
|
|
2235
|
+
* </fabric-modal-fre-item>
|
|
2236
|
+
* ```
|
|
2237
|
+
*
|
|
2238
|
+
* @attr {boolean} active - Whether this item is the currently visible step.
|
|
2239
|
+
* @attr {string} label - Accessible label for this step.
|
|
2240
|
+
*
|
|
2241
|
+
* @prop {string} panelId - Unique ID for this panel (set by CarouselController).
|
|
2242
|
+
* @prop {string} tabId - ID of the associated tab (for aria-labelledby, set by CarouselController).
|
|
2243
|
+
*
|
|
2244
|
+
* @slot default - Hero content (image, illustration, or any visual).
|
|
2245
|
+
* @slot title - Title content for this step.
|
|
2246
|
+
* @slot description - Description content for this step.
|
|
2247
|
+
*
|
|
2248
|
+
* @fires dismiss - Fired when the dismiss button is clicked. Bubbles and is composed.
|
|
2249
|
+
*
|
|
2250
|
+
* @extends FASTElement
|
|
2251
|
+
* @tagname fabric-modal-fre-item
|
|
2252
|
+
* @public
|
|
2253
|
+
*/
|
|
2254
|
+
declare class ModalFreItem extends FASTElement implements CarouselManagedItem {
|
|
2255
|
+
/**
|
|
2256
|
+
* Whether this item is the currently visible step.
|
|
2257
|
+
* Managed by the CarouselController.
|
|
2258
|
+
* @public
|
|
2259
|
+
*/
|
|
2260
|
+
active: boolean;
|
|
2261
|
+
/**
|
|
2262
|
+
* Accessible label for this step.
|
|
2263
|
+
* @public
|
|
2264
|
+
*/
|
|
2265
|
+
label?: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* Unique ID for this tabpanel (set by CarouselController).
|
|
2268
|
+
* @internal
|
|
2269
|
+
*/
|
|
2270
|
+
panelId?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* ID of the associated tab element (for aria-labelledby, set by CarouselController).
|
|
2273
|
+
* @internal
|
|
2274
|
+
*/
|
|
2275
|
+
tabId?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* Handles the dismiss button click.
|
|
2278
|
+
* Dispatches a bubbling, composed dismiss event.
|
|
2279
|
+
* @internal
|
|
2280
|
+
*/
|
|
2281
|
+
handleDismiss(): void;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* @summary A modal dialog with optional FRE (First Run Experience) multi-step wizard mode.
|
|
2286
|
+
* Uses fabric-dialog internally for native backdrop, focus trapping, and Escape key handling.
|
|
2287
|
+
*
|
|
2288
|
+
* @example Default mode
|
|
2289
|
+
* ```html
|
|
2290
|
+
* <fabric-modal open modal-title="Confirm action">
|
|
2291
|
+
* <h2>Are you sure?</h2>
|
|
2292
|
+
* <p>This action cannot be undone.</p>
|
|
2293
|
+
* </fabric-modal>
|
|
2294
|
+
* ```
|
|
2295
|
+
*
|
|
2296
|
+
* @example FRE mode
|
|
2297
|
+
* ```html
|
|
2298
|
+
* <fabric-modal mode="fre" open modal-title="Welcome">
|
|
2299
|
+
* <fabric-modal-fre-item>
|
|
2300
|
+
* <span slot="title">Step 1</span>
|
|
2301
|
+
* <span slot="description">First step details.</span>
|
|
2302
|
+
* <img src="hero1.png" alt="Step 1" />
|
|
2303
|
+
* </fabric-modal-fre-item>
|
|
2304
|
+
* <fabric-modal-fre-item>
|
|
2305
|
+
* <span slot="title">Step 2</span>
|
|
2306
|
+
* <span slot="description">Second step details.</span>
|
|
2307
|
+
* <img src="hero2.png" alt="Step 2" />
|
|
2308
|
+
* </fabric-modal-fre-item>
|
|
2309
|
+
* </fabric-modal>
|
|
2310
|
+
* ```
|
|
2311
|
+
*
|
|
2312
|
+
* @attr {string} mode - Modal mode: "default" or "fre".
|
|
2313
|
+
* @attr {boolean} open - Whether the modal is visible.
|
|
2314
|
+
* @attr {string} modal-title - Accessible label for the modal.
|
|
2315
|
+
* @attr {number} current-step - Active step index (FRE mode).
|
|
2316
|
+
* @attr {string} primary-label - Label for the primary button in default mode (defaults to "OK").
|
|
2317
|
+
* @attr {string} next-label - Label for the "Next" button in FRE mode (defaults to "Next").
|
|
2318
|
+
* @attr {string} done-label - Label for the "Done" button in FRE mode (defaults to "Done").
|
|
2319
|
+
* @attr {string} try-later-label - Label for the secondary button on FRE first step (defaults to "Try Later").
|
|
2320
|
+
* @attr {string} back-label - Label for the secondary "Back" button in FRE mode (defaults to "Back").
|
|
2321
|
+
* @attr {string} dismiss-label - Label for the secondary "Dismiss" button on FRE last step (defaults to "Dismiss").
|
|
2322
|
+
*
|
|
2323
|
+
* @prop {ModalMode} mode - Modal mode.
|
|
2324
|
+
* @prop {boolean} open - Whether the modal is visible.
|
|
2325
|
+
* @prop {string} modalTitle - Accessible label.
|
|
2326
|
+
* @prop {number} currentStep - Active step index (FRE mode).
|
|
2327
|
+
* @prop {number} totalSteps - Total step count (FRE mode, readonly).
|
|
2328
|
+
*
|
|
2329
|
+
* @slot default - Modal content. In FRE mode, accepts fabric-modal-fre-item elements.
|
|
2330
|
+
*
|
|
2331
|
+
* @fires open-change - Fired when open state changes.
|
|
2332
|
+
* @fires dismiss - Fired when the modal is dismissed. Detail includes `{ complete: boolean }` indicating if dismissal was due to FRE wizard completion.
|
|
2333
|
+
* @fires step-change - Fired when the active step changes (FRE mode).
|
|
2334
|
+
*
|
|
2335
|
+
* @extends FASTElement
|
|
2336
|
+
* @tagname fabric-modal
|
|
2337
|
+
* @public
|
|
2338
|
+
*/
|
|
2339
|
+
declare class Modal extends FASTElement implements Subscriber {
|
|
2340
|
+
/**
|
|
2341
|
+
* Carousel controller for FRE mode.
|
|
2342
|
+
* @internal
|
|
2343
|
+
*/
|
|
2344
|
+
readonly carouselController: CarouselController<CarouselItem>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Modal mode: "default" for simple modal, "fre" for multi-step wizard.
|
|
2347
|
+
* @public
|
|
2348
|
+
*/
|
|
2349
|
+
mode: ModalMode;
|
|
2350
|
+
/**
|
|
2351
|
+
* Whether the modal is visible.
|
|
2352
|
+
* @public
|
|
2353
|
+
*/
|
|
2354
|
+
open: boolean;
|
|
2355
|
+
/**
|
|
2356
|
+
* Accessible label for the modal.
|
|
2357
|
+
* @public
|
|
2358
|
+
*/
|
|
2359
|
+
modalTitle: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* Active step index. Only meaningful in FRE mode.
|
|
2362
|
+
* @public
|
|
2363
|
+
*/
|
|
2364
|
+
currentStep: number;
|
|
2365
|
+
/**
|
|
2366
|
+
* Label for the primary button in default mode.
|
|
2367
|
+
* @public
|
|
2368
|
+
*/
|
|
2369
|
+
primaryLabel: string;
|
|
2370
|
+
/**
|
|
2371
|
+
* Label for the "Next" button in FRE mode.
|
|
2372
|
+
* @public
|
|
2373
|
+
*/
|
|
2374
|
+
nextLabel: string;
|
|
2375
|
+
/**
|
|
2376
|
+
* Label for the "Done" button in FRE mode.
|
|
2377
|
+
* @public
|
|
2378
|
+
*/
|
|
2379
|
+
doneLabel: string;
|
|
2380
|
+
/**
|
|
2381
|
+
* Label for the secondary button on FRE first step.
|
|
2382
|
+
* @public
|
|
2383
|
+
*/
|
|
2384
|
+
tryLaterLabel: string;
|
|
2385
|
+
/**
|
|
2386
|
+
* Label for the secondary "Back" button in FRE mode.
|
|
2387
|
+
* @public
|
|
2388
|
+
*/
|
|
2389
|
+
backLabel: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* Label for the secondary "Dismiss" button on FRE last step.
|
|
2392
|
+
* @public
|
|
2393
|
+
*/
|
|
2394
|
+
dismissLabel: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* Reference to the inner fabric-dialog element (set via template ref).
|
|
2397
|
+
* @internal
|
|
2398
|
+
*/
|
|
2399
|
+
dialog: Dialog;
|
|
2400
|
+
/**
|
|
2401
|
+
* Slotted items (used in FRE mode to track fre-items, or carousel-items in default).
|
|
2402
|
+
* @internal
|
|
2403
|
+
*/
|
|
2404
|
+
slottedContent: HTMLElement[];
|
|
2405
|
+
/**
|
|
2406
|
+
* FRE items parsed from slotted content.
|
|
2407
|
+
* @internal
|
|
2408
|
+
*/
|
|
2409
|
+
freItems: ModalFreItem[];
|
|
2410
|
+
/**
|
|
2411
|
+
* Total step count (FRE mode).
|
|
2412
|
+
* @public
|
|
2413
|
+
* @readonly
|
|
2414
|
+
*/
|
|
2415
|
+
get totalSteps(): number;
|
|
2416
|
+
/**
|
|
2417
|
+
* Callback when open changes.
|
|
2418
|
+
* Delegates to the inner fabric-dialog's show/hide.
|
|
2419
|
+
* @internal
|
|
2420
|
+
*/
|
|
2421
|
+
openChanged(_oldValue: boolean, newValue: boolean): void;
|
|
2422
|
+
/**
|
|
2423
|
+
* Callback when current-step attribute changes.
|
|
2424
|
+
* Syncs the controller to the attribute value.
|
|
2425
|
+
* @internal
|
|
2426
|
+
*/
|
|
2427
|
+
currentStepChanged(_oldValue: string | number, newValue: string | number): void;
|
|
2428
|
+
/**
|
|
2429
|
+
* Callback when slotted content changes.
|
|
2430
|
+
* In FRE mode, extracts fre-items and assigns them directly to the carousel controller.
|
|
2431
|
+
* @internal
|
|
2432
|
+
*/
|
|
2433
|
+
slottedContentChanged(): void;
|
|
2434
|
+
/**
|
|
2435
|
+
* Handles the toggle event from the inner fabric-dialog.
|
|
2436
|
+
* Syncs open state when the dialog is closed externally (Escape key, backdrop click).
|
|
2437
|
+
* @internal
|
|
2438
|
+
*/
|
|
2439
|
+
handleDialogToggle(event: CustomEvent): void;
|
|
2440
|
+
/**
|
|
2441
|
+
* Handles the primary button action.
|
|
2442
|
+
* In default mode: dismisses. In FRE mode: advances step or completes.
|
|
2443
|
+
* @internal
|
|
2444
|
+
*/
|
|
2445
|
+
handlePrimaryAction(): void;
|
|
2446
|
+
/**
|
|
2447
|
+
* Handles the secondary button action.
|
|
2448
|
+
* In FRE mode: "Try Later" / "Back" / "Dismiss" depending on step.
|
|
2449
|
+
* @internal
|
|
2450
|
+
*/
|
|
2451
|
+
handleSecondaryAction(): void;
|
|
2452
|
+
/**
|
|
2453
|
+
* Handles dismiss (close button, Escape, backdrop click, or FRE completion).
|
|
2454
|
+
* @param complete - Whether the dismiss was triggered by completing the FRE wizard.
|
|
2455
|
+
* @internal
|
|
2456
|
+
*/
|
|
2457
|
+
handleDismiss(complete?: boolean): void;
|
|
2458
|
+
/**
|
|
2459
|
+
* Gets the label for the secondary button based on current FRE step.
|
|
2460
|
+
* @internal
|
|
2461
|
+
*/
|
|
2462
|
+
get secondaryButtonLabel(): string;
|
|
2463
|
+
/**
|
|
2464
|
+
* Gets the label for the primary button.
|
|
2465
|
+
* @internal
|
|
2466
|
+
*/
|
|
2467
|
+
get primaryButtonLabel(): string;
|
|
2468
|
+
/**
|
|
2469
|
+
* Subscriber implementation for CarouselController changes.
|
|
2470
|
+
* Syncs currentStep attribute and emits step-change event.
|
|
2471
|
+
* @internal
|
|
2472
|
+
*/
|
|
2473
|
+
handleChange(source: CarouselController, propertyName: string): void;
|
|
2474
|
+
connectedCallback(): void;
|
|
2475
|
+
disconnectedCallback(): void;
|
|
2476
|
+
/**
|
|
2477
|
+
* Emits open-change event.
|
|
2478
|
+
* @internal
|
|
2479
|
+
*/
|
|
2480
|
+
private emitOpenChange;
|
|
2481
|
+
/**
|
|
2482
|
+
* Emits step-change event.
|
|
2483
|
+
* @internal
|
|
2484
|
+
*/
|
|
2485
|
+
private emitStepChange;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* Defines a custom element registration entry that can be composed with other
|
|
2490
|
+
* element definitions.
|
|
2491
|
+
*
|
|
2492
|
+
* @public
|
|
2493
|
+
*/
|
|
2494
|
+
interface FabricElementDefinition {
|
|
2495
|
+
/**
|
|
2496
|
+
* The custom element tag name associated with the definition.
|
|
2497
|
+
*/
|
|
2498
|
+
readonly name: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Registers the element definition with a custom element registry.
|
|
2501
|
+
*
|
|
2502
|
+
* @param registry - The registry to define the element in. Defaults to the
|
|
2503
|
+
* global custom element registry.
|
|
2504
|
+
*/
|
|
2505
|
+
define(registry?: CustomElementRegistry): void;
|
|
2506
|
+
}
|
|
2507
|
+
/**
|
|
2508
|
+
* The subset of FAST element definitions required by Fabric definition helpers.
|
|
2509
|
+
*
|
|
2510
|
+
* @internal
|
|
2511
|
+
*/
|
|
2512
|
+
interface FASTElementDefinitionLike {
|
|
2513
|
+
readonly name: string;
|
|
2514
|
+
define(registry?: CustomElementRegistry): void;
|
|
2515
|
+
}
|
|
2516
|
+
/**
|
|
2517
|
+
* Validates a FAST element definition and returns it as a Fabric element
|
|
2518
|
+
* definition.
|
|
2519
|
+
*
|
|
2520
|
+
* @param fastDefinition - The FAST definition to validate.
|
|
2521
|
+
* @returns The FAST definition as a Fabric element definition.
|
|
2522
|
+
*
|
|
2523
|
+
* @public
|
|
2524
|
+
*/
|
|
2525
|
+
declare function fromFAST(fastDefinition: FASTElementDefinitionLike): FabricElementDefinition;
|
|
2526
|
+
/**
|
|
2527
|
+
* Creates a Fabric element definition for a primary element and any
|
|
2528
|
+
* sub-element dependencies it requires.
|
|
2529
|
+
*
|
|
2530
|
+
* @param primaryDefinition - The primary element definition to expose.
|
|
2531
|
+
* @param dependencies - The dependency definitions to register before the
|
|
2532
|
+
* primary definition.
|
|
2533
|
+
* @returns A Fabric element definition that defines each dependency and the
|
|
2534
|
+
* primary definition with the same custom element registry.
|
|
2535
|
+
*
|
|
2536
|
+
* @public
|
|
2537
|
+
*/
|
|
2538
|
+
declare function composeDefinitions(primaryDefinition: FabricElementDefinition, ...dependencies: FabricElementDefinition[]): FabricElementDefinition;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Composed element definition for `<fabric-modal>`, and all direct dependencies.
|
|
2542
|
+
*
|
|
2543
|
+
* @public
|
|
2544
|
+
* @remarks
|
|
2545
|
+
* HTML Element: `<fabric-modal>`
|
|
2546
|
+
*/
|
|
2547
|
+
declare const definition$12: FabricElementDefinition;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* Composed element definition for `<fabric-modal-fre-item>`, registering the
|
|
2551
|
+
* `fabric-button` dependency before the element itself.
|
|
2552
|
+
*
|
|
2553
|
+
* @public
|
|
2554
|
+
* @remarks
|
|
2555
|
+
* HTML Element: `<fabric-modal-fre-item>`
|
|
2556
|
+
*/
|
|
2557
|
+
declare const modalFreItemDefinition: FabricElementDefinition;
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* Event names for the Modal component.
|
|
2561
|
+
* @public
|
|
2562
|
+
*/
|
|
2563
|
+
declare const ModalEventNames: {
|
|
2564
|
+
readonly openChange: "open-change";
|
|
2565
|
+
readonly dismiss: "dismiss";
|
|
2566
|
+
readonly stepChange: "step-change";
|
|
2567
|
+
};
|
|
2568
|
+
/**
|
|
2569
|
+
* Modal event type.
|
|
2570
|
+
* @public
|
|
2571
|
+
*/
|
|
2572
|
+
type ModalEventName = ValuesOf<typeof ModalEventNames>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Detail payload for the dismiss event.
|
|
2022
2575
|
* @public
|
|
2023
|
-
* @remarks
|
|
2024
|
-
* HTML Element: <fabric-filter-pill>
|
|
2025
2576
|
*/
|
|
2026
|
-
|
|
2577
|
+
interface ModalDismissEventDetail {
|
|
2578
|
+
/**
|
|
2579
|
+
* Whether the dismiss was triggered by completing the FRE wizard.
|
|
2580
|
+
*/
|
|
2581
|
+
complete: boolean;
|
|
2582
|
+
}
|
|
2027
2583
|
|
|
2028
2584
|
/**
|
|
2029
2585
|
* Appearances for {@link CompoundButton}
|
|
@@ -2203,7 +2759,7 @@ declare class CompoundButton extends BaseButton {
|
|
|
2203
2759
|
*
|
|
2204
2760
|
* @public
|
|
2205
2761
|
*/
|
|
2206
|
-
declare const definition$
|
|
2762
|
+
declare const definition$11: _microsoft_fast_element.FASTElementDefinition<typeof CompoundButton>;
|
|
2207
2763
|
|
|
2208
2764
|
/**
|
|
2209
2765
|
* LoadingButton
|
|
@@ -2251,58 +2807,6 @@ declare class LoadingButton extends Button$1 {
|
|
|
2251
2807
|
connectedCallback(): void;
|
|
2252
2808
|
}
|
|
2253
2809
|
|
|
2254
|
-
/**
|
|
2255
|
-
* Defines a custom element registration entry that can be composed with other
|
|
2256
|
-
* element definitions.
|
|
2257
|
-
*
|
|
2258
|
-
* @public
|
|
2259
|
-
*/
|
|
2260
|
-
interface FabricElementDefinition {
|
|
2261
|
-
/**
|
|
2262
|
-
* The custom element tag name associated with the definition.
|
|
2263
|
-
*/
|
|
2264
|
-
readonly name: string;
|
|
2265
|
-
/**
|
|
2266
|
-
* Registers the element definition with a custom element registry.
|
|
2267
|
-
*
|
|
2268
|
-
* @param registry - The registry to define the element in. Defaults to the
|
|
2269
|
-
* global custom element registry.
|
|
2270
|
-
*/
|
|
2271
|
-
define(registry?: CustomElementRegistry): void;
|
|
2272
|
-
}
|
|
2273
|
-
/**
|
|
2274
|
-
* The subset of FAST element definitions required by Fabric definition helpers.
|
|
2275
|
-
*
|
|
2276
|
-
* @internal
|
|
2277
|
-
*/
|
|
2278
|
-
interface FASTElementDefinitionLike {
|
|
2279
|
-
readonly name: string;
|
|
2280
|
-
define(registry?: CustomElementRegistry): void;
|
|
2281
|
-
}
|
|
2282
|
-
/**
|
|
2283
|
-
* Validates a FAST element definition and returns it as a Fabric element
|
|
2284
|
-
* definition.
|
|
2285
|
-
*
|
|
2286
|
-
* @param fastDefinition - The FAST definition to validate.
|
|
2287
|
-
* @returns The FAST definition as a Fabric element definition.
|
|
2288
|
-
*
|
|
2289
|
-
* @public
|
|
2290
|
-
*/
|
|
2291
|
-
declare function fromFAST(fastDefinition: FASTElementDefinitionLike): FabricElementDefinition;
|
|
2292
|
-
/**
|
|
2293
|
-
* Creates a Fabric element definition for a primary element and any
|
|
2294
|
-
* sub-element dependencies it requires.
|
|
2295
|
-
*
|
|
2296
|
-
* @param primaryDefinition - The primary element definition to expose.
|
|
2297
|
-
* @param dependencies - The dependency definitions to register before the
|
|
2298
|
-
* primary definition.
|
|
2299
|
-
* @returns A Fabric element definition that defines each dependency and the
|
|
2300
|
-
* primary definition with the same custom element registry.
|
|
2301
|
-
*
|
|
2302
|
-
* @public
|
|
2303
|
-
*/
|
|
2304
|
-
declare function composeDefinitions(primaryDefinition: FabricElementDefinition, ...dependencies: FabricElementDefinition[]): FabricElementDefinition;
|
|
2305
|
-
|
|
2306
2810
|
/**
|
|
2307
2811
|
* Composed element definition for `<fabric-loading-button>`, registering the
|
|
2308
2812
|
* `fabric-spinner` dependency before the element itself.
|
|
@@ -2311,7 +2815,7 @@ declare function composeDefinitions(primaryDefinition: FabricElementDefinition,
|
|
|
2311
2815
|
* @remarks
|
|
2312
2816
|
* HTML Element: `<fabric-loading-button>`
|
|
2313
2817
|
*/
|
|
2314
|
-
declare const definition$
|
|
2818
|
+
declare const definition$10: FabricElementDefinition;
|
|
2315
2819
|
|
|
2316
2820
|
/**
|
|
2317
2821
|
* MultiView
|
|
@@ -2359,7 +2863,7 @@ declare class MultiView extends FASTElement {
|
|
|
2359
2863
|
* @remarks
|
|
2360
2864
|
* HTML Element: <fabric-multi-view>
|
|
2361
2865
|
*/
|
|
2362
|
-
declare const definition
|
|
2866
|
+
declare const definition$$: _microsoft_fast_element.FASTElementDefinition<typeof MultiView>;
|
|
2363
2867
|
|
|
2364
2868
|
/**
|
|
2365
2869
|
* MultiView event names
|
|
@@ -2408,7 +2912,7 @@ declare class MultiViewController extends FASTElement {
|
|
|
2408
2912
|
* @remarks
|
|
2409
2913
|
* HTML Element: <fluent-multi-view-controller>
|
|
2410
2914
|
*/
|
|
2411
|
-
declare const definition$
|
|
2915
|
+
declare const definition$_: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewController>;
|
|
2412
2916
|
|
|
2413
2917
|
/**
|
|
2414
2918
|
* MultiViewGroup
|
|
@@ -2724,7 +3228,7 @@ declare class MultiViewGroup extends FASTElement {
|
|
|
2724
3228
|
* @remarks
|
|
2725
3229
|
* HTML Element: <fluent-multi-view-group>
|
|
2726
3230
|
*/
|
|
2727
|
-
declare const definition$
|
|
3231
|
+
declare const definition$Z: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewGroup>;
|
|
2728
3232
|
|
|
2729
3233
|
/**
|
|
2730
3234
|
* MultiViewGroupPosition constants
|
|
@@ -2972,7 +3476,7 @@ declare class Overflow extends FASTElement {
|
|
|
2972
3476
|
* Styles for the {@link Overflow} component.
|
|
2973
3477
|
* @public
|
|
2974
3478
|
*/
|
|
2975
|
-
declare const styles$
|
|
3479
|
+
declare const styles$j: _microsoft_fast_element.ElementStyles;
|
|
2976
3480
|
|
|
2977
3481
|
/**
|
|
2978
3482
|
* The Overflow component definition.
|
|
@@ -2980,7 +3484,7 @@ declare const styles$g: _microsoft_fast_element.ElementStyles;
|
|
|
2980
3484
|
* @remarks
|
|
2981
3485
|
* HTML Element: <fabric-overflow>
|
|
2982
3486
|
*/
|
|
2983
|
-
declare const definition$
|
|
3487
|
+
declare const definition$Y: _microsoft_fast_element.FASTElementDefinition<typeof Overflow>;
|
|
2984
3488
|
|
|
2985
3489
|
/** Event names for Overflow. */
|
|
2986
3490
|
declare const OverflowEventNames: {
|
|
@@ -2999,7 +3503,7 @@ interface OverflowChangeEventDetail {
|
|
|
2999
3503
|
* Styles for the {@link OverflowItem} component.
|
|
3000
3504
|
* @public
|
|
3001
3505
|
*/
|
|
3002
|
-
declare const styles$
|
|
3506
|
+
declare const styles$i: _microsoft_fast_element.ElementStyles;
|
|
3003
3507
|
|
|
3004
3508
|
/**
|
|
3005
3509
|
* The OverflowItem component definition.
|
|
@@ -3007,13 +3511,13 @@ declare const styles$f: _microsoft_fast_element.ElementStyles;
|
|
|
3007
3511
|
* @remarks
|
|
3008
3512
|
* HTML Element: <fabric-overflow-item>
|
|
3009
3513
|
*/
|
|
3010
|
-
declare const definition$
|
|
3514
|
+
declare const definition$X: _microsoft_fast_element.FASTElementDefinition<typeof OverflowItem>;
|
|
3011
3515
|
|
|
3012
3516
|
/**
|
|
3013
3517
|
* Styles for the {@link OverflowDivider} component.
|
|
3014
3518
|
* @public
|
|
3015
3519
|
*/
|
|
3016
|
-
declare const styles$
|
|
3520
|
+
declare const styles$h: _microsoft_fast_element.ElementStyles;
|
|
3017
3521
|
|
|
3018
3522
|
/**
|
|
3019
3523
|
* The OverflowDivider component definition.
|
|
@@ -3021,7 +3525,7 @@ declare const styles$e: _microsoft_fast_element.ElementStyles;
|
|
|
3021
3525
|
* @remarks
|
|
3022
3526
|
* HTML Element: <fabric-overflow-divider>
|
|
3023
3527
|
*/
|
|
3024
|
-
declare const definition$
|
|
3528
|
+
declare const definition$W: _microsoft_fast_element.FASTElementDefinition<typeof OverflowDivider>;
|
|
3025
3529
|
|
|
3026
3530
|
/**
|
|
3027
3531
|
* Core types for Angular CDK-inspired positioning engine.
|
|
@@ -3525,11 +4029,11 @@ declare class Popover extends FASTElement {
|
|
|
3525
4029
|
connectedCallback(): void;
|
|
3526
4030
|
}
|
|
3527
4031
|
|
|
3528
|
-
declare const definition$
|
|
4032
|
+
declare const definition$V: _microsoft_fast_element.FASTElementDefinition<typeof Popover>;
|
|
3529
4033
|
|
|
3530
|
-
declare const template$
|
|
4034
|
+
declare const template$d: ElementViewTemplate<Popover>;
|
|
3531
4035
|
|
|
3532
|
-
declare const styles$
|
|
4036
|
+
declare const styles$g: _microsoft_fast_element.ElementStyles;
|
|
3533
4037
|
|
|
3534
4038
|
/**
|
|
3535
4039
|
* Supported visual variants for `fabric-pagination`.
|
|
@@ -3786,7 +4290,7 @@ declare class Pagination extends FASTElement {
|
|
|
3786
4290
|
/**
|
|
3787
4291
|
* FAST element definition for `fabric-pagination`.
|
|
3788
4292
|
*/
|
|
3789
|
-
declare const definition$
|
|
4293
|
+
declare const definition$U: _microsoft_fast_element.FASTElementDefinition<typeof Pagination>;
|
|
3790
4294
|
|
|
3791
4295
|
/**
|
|
3792
4296
|
* Registers the pagination element and all of its internal dependencies
|
|
@@ -4014,7 +4518,7 @@ declare class SvgIcon extends FASTElement {
|
|
|
4014
4518
|
* @remarks
|
|
4015
4519
|
* HTML Element: <fabric-svg-icon>
|
|
4016
4520
|
*/
|
|
4017
|
-
declare const definition$
|
|
4521
|
+
declare const definition$T: _microsoft_fast_element.FASTElementDefinition<typeof SvgIcon>;
|
|
4018
4522
|
|
|
4019
4523
|
type TableCellRenderFunction = (data: unknown) => string | HTMLElement | Promise<string | HTMLElement>;
|
|
4020
4524
|
type TableColumnData = {
|
|
@@ -4301,11 +4805,11 @@ declare class Table extends FASTElement {
|
|
|
4301
4805
|
* @remarks
|
|
4302
4806
|
* HTML Element: `<fabric-table>`
|
|
4303
4807
|
*/
|
|
4304
|
-
declare const definition$
|
|
4808
|
+
declare const definition$S: FabricElementDefinition;
|
|
4305
4809
|
|
|
4306
|
-
declare const template$
|
|
4810
|
+
declare const template$c: ElementViewTemplate<Table>;
|
|
4307
4811
|
|
|
4308
|
-
declare const styles$
|
|
4812
|
+
declare const styles$f: _microsoft_fast_element.ElementStyles;
|
|
4309
4813
|
|
|
4310
4814
|
/**
|
|
4311
4815
|
* Simple Table
|
|
@@ -4359,7 +4863,7 @@ declare class SimpleTable extends FASTElement {
|
|
|
4359
4863
|
* @remarks
|
|
4360
4864
|
* HTML Element: <fabric-simple-table>
|
|
4361
4865
|
*/
|
|
4362
|
-
declare const definition$
|
|
4866
|
+
declare const definition$R: _microsoft_fast_element.FASTElementDefinition<typeof SimpleTable>;
|
|
4363
4867
|
|
|
4364
4868
|
/**
|
|
4365
4869
|
* TableCell
|
|
@@ -4426,11 +4930,11 @@ type TableCellSize = ValuesOf<typeof TableCellSizes>;
|
|
|
4426
4930
|
* @remarks
|
|
4427
4931
|
* HTML Element: <fabric-table-cell>
|
|
4428
4932
|
*/
|
|
4429
|
-
declare const definition$
|
|
4933
|
+
declare const definition$Q: _microsoft_fast_element.FASTElementDefinition<typeof TableCell>;
|
|
4430
4934
|
|
|
4431
|
-
declare const styles$
|
|
4935
|
+
declare const styles$e: _microsoft_fast_element.ElementStyles;
|
|
4432
4936
|
|
|
4433
|
-
declare const template$
|
|
4937
|
+
declare const template$b: ElementViewTemplate<TableCell>;
|
|
4434
4938
|
|
|
4435
4939
|
/** Size values for {@link Tag}. */
|
|
4436
4940
|
declare const TagSizes: {
|
|
@@ -4700,7 +5204,7 @@ declare class Tag extends FASTElement {
|
|
|
4700
5204
|
* @remarks
|
|
4701
5205
|
* HTML Element: `<fabric-tag>`
|
|
4702
5206
|
*/
|
|
4703
|
-
declare const definition$
|
|
5207
|
+
declare const definition$P: FabricElementDefinition;
|
|
4704
5208
|
|
|
4705
5209
|
/**
|
|
4706
5210
|
* The size variations for the teaching bubble component
|
|
@@ -5002,7 +5506,7 @@ declare class TeachingBubble extends FASTElement {
|
|
|
5002
5506
|
* @remarks
|
|
5003
5507
|
* HTML Element: <fabric-teaching-bubble>
|
|
5004
5508
|
*/
|
|
5005
|
-
declare const definition$
|
|
5509
|
+
declare const definition$O: _microsoft_fast_element.FASTElementDefinition<typeof TeachingBubble>;
|
|
5006
5510
|
|
|
5007
5511
|
/**
|
|
5008
5512
|
* The state variations for the WizardStep component
|
|
@@ -5689,7 +6193,7 @@ declare class Wizard extends FASTElement {
|
|
|
5689
6193
|
* @remarks
|
|
5690
6194
|
* HTML Element: <fabric-wizard>
|
|
5691
6195
|
*/
|
|
5692
|
-
declare const definition$
|
|
6196
|
+
declare const definition$N: _microsoft_fast_element.FASTElementDefinition<typeof Wizard>;
|
|
5693
6197
|
|
|
5694
6198
|
declare const WizardEvents: {
|
|
5695
6199
|
readonly wizardChange: "wizard-change";
|
|
@@ -5831,7 +6335,7 @@ declare class WizardPanel extends FASTElement {
|
|
|
5831
6335
|
* @remarks
|
|
5832
6336
|
* HTML Element: <fabric-wizard-panel>
|
|
5833
6337
|
*/
|
|
5834
|
-
declare const definition$
|
|
6338
|
+
declare const definition$M: _microsoft_fast_element.FASTElementDefinition<typeof WizardPanel>;
|
|
5835
6339
|
|
|
5836
6340
|
/**
|
|
5837
6341
|
*
|
|
@@ -5839,7 +6343,7 @@ declare const definition$J: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
5839
6343
|
* @remarks
|
|
5840
6344
|
* HTML Element: <fabric-wizard-step>
|
|
5841
6345
|
*/
|
|
5842
|
-
declare const definition$
|
|
6346
|
+
declare const definition$L: _microsoft_fast_element.FASTElementDefinition<typeof WizardStep>;
|
|
5843
6347
|
|
|
5844
6348
|
/**
|
|
5845
6349
|
* AccordionItem
|
|
@@ -5910,7 +6414,7 @@ type AccordionItemMarkerPosition = ValuesOf<typeof AccordionItemMarkerPositions>
|
|
|
5910
6414
|
* @remarks
|
|
5911
6415
|
* HTML Element: <fabric-accordion-item>
|
|
5912
6416
|
*/
|
|
5913
|
-
declare const definition$
|
|
6417
|
+
declare const definition$K: _microsoft_fast_element.FASTElementDefinition<typeof AccordionItem>;
|
|
5914
6418
|
|
|
5915
6419
|
/**
|
|
5916
6420
|
* Accordion
|
|
@@ -5952,7 +6456,7 @@ declare class Accordion extends Accordion$1 {
|
|
|
5952
6456
|
* @remarks
|
|
5953
6457
|
* HTML Element: <fabric-accordion>
|
|
5954
6458
|
*/
|
|
5955
|
-
declare const definition$
|
|
6459
|
+
declare const definition$J: _microsoft_fast_element.FASTElementDefinition<typeof Accordion>;
|
|
5956
6460
|
|
|
5957
6461
|
/** Expand mode values for {@link Accordion}. */
|
|
5958
6462
|
declare const AccordionExpandModes: {
|
|
@@ -6066,7 +6570,7 @@ declare const AnchorTarget: {
|
|
|
6066
6570
|
*
|
|
6067
6571
|
* @public
|
|
6068
6572
|
*/
|
|
6069
|
-
declare const definition$
|
|
6573
|
+
declare const definition$I: _microsoft_fast_element.FASTElementDefinition<typeof Link>;
|
|
6070
6574
|
|
|
6071
6575
|
/**
|
|
6072
6576
|
* Avatar
|
|
@@ -6322,7 +6826,7 @@ declare const AvatarSize: {
|
|
|
6322
6826
|
*
|
|
6323
6827
|
* @public
|
|
6324
6828
|
*/
|
|
6325
|
-
declare const definition$
|
|
6829
|
+
declare const definition$H: _microsoft_fast_element.FASTElementDefinition<typeof Avatar>;
|
|
6326
6830
|
|
|
6327
6831
|
/**
|
|
6328
6832
|
* Badge
|
|
@@ -6435,9 +6939,9 @@ declare const BadgeSize: {
|
|
|
6435
6939
|
*
|
|
6436
6940
|
* @public
|
|
6437
6941
|
*/
|
|
6438
|
-
declare const definition$
|
|
6942
|
+
declare const definition$G: _microsoft_fast_element.FASTElementDefinition<typeof Badge>;
|
|
6439
6943
|
|
|
6440
|
-
declare const styles$
|
|
6944
|
+
declare const styles$d: _microsoft_fast_element.ElementStyles;
|
|
6441
6945
|
|
|
6442
6946
|
/**
|
|
6443
6947
|
*
|
|
@@ -6445,7 +6949,7 @@ declare const styles$a: _microsoft_fast_element.ElementStyles;
|
|
|
6445
6949
|
* @remarks
|
|
6446
6950
|
* HTML Element: <fabric-button>
|
|
6447
6951
|
*/
|
|
6448
|
-
declare const definition$
|
|
6952
|
+
declare const definition$F: _microsoft_fast_element.FASTElementDefinition<typeof Button>;
|
|
6449
6953
|
|
|
6450
6954
|
/**
|
|
6451
6955
|
* Checkbox
|
|
@@ -6512,7 +7016,7 @@ type CheckboxSize = ValuesOf<typeof CheckboxSizes>;
|
|
|
6512
7016
|
*
|
|
6513
7017
|
* @public
|
|
6514
7018
|
*/
|
|
6515
|
-
declare const definition$
|
|
7019
|
+
declare const definition$E: _microsoft_fast_element.FASTElementDefinition<typeof Checkbox>;
|
|
6516
7020
|
|
|
6517
7021
|
/**
|
|
6518
7022
|
* CounterBadge
|
|
@@ -6612,56 +7116,16 @@ type CounterBadgeSize = ValuesOf<typeof CounterBadgeSizes>;
|
|
|
6612
7116
|
*
|
|
6613
7117
|
* @public
|
|
6614
7118
|
*/
|
|
6615
|
-
declare const definition$
|
|
6616
|
-
|
|
6617
|
-
/**
|
|
6618
|
-
* Dialog
|
|
6619
|
-
* @summary A Dialog Custom HTML Element that provides modal, non-modal, and alert dialog types with accessible attributes.
|
|
6620
|
-
*
|
|
6621
|
-
* @example
|
|
6622
|
-
* ```html
|
|
6623
|
-
* <fabric-dialog type="modal" aria-labelledby="dialog-label" aria-describedby="dialog-desc">
|
|
6624
|
-
* <span slot="title">Title</span>
|
|
6625
|
-
* <div>Content of the dialog body</div>
|
|
6626
|
-
* <span slot="action">Action buttons</span>
|
|
6627
|
-
* </fabric-dialog>
|
|
6628
|
-
* ```
|
|
6629
|
-
*
|
|
6630
|
-
* @attr {string} aria-describedby - Identifies the element (or elements) that describes the object.
|
|
6631
|
-
* @attr {string} aria-labelledby - Identifies the element (or elements) that labels the current element.
|
|
6632
|
-
* @attr {DialogType} type - The type of dialog ('modal', 'non-modal', 'alert').
|
|
6633
|
-
*
|
|
6634
|
-
* @prop {HTMLElement} dialog - The internal dialog element reference.
|
|
6635
|
-
* @prop {string} ariaDescribedby - Reflects the 'aria-describedby' attribute to associate the dialog with descriptive text.
|
|
6636
|
-
* @prop {string} ariaLabelledby - Reflects the 'aria-labelledby' attribute to associate the dialog with its label.
|
|
6637
|
-
* @prop {DialogType} type - The type of dialog, which can be 'modal', 'non-modal', or 'alert'.
|
|
6638
|
-
*
|
|
6639
|
-
* @slot - The default slot for dialog content.
|
|
6640
|
-
*
|
|
6641
|
-
* @csspart dialog - The dialog container.
|
|
6642
|
-
*
|
|
6643
|
-
* @method show() - Opens the dialog.
|
|
6644
|
-
* @method hide() - Closes the dialog.
|
|
6645
|
-
* @method clickHandler() - Handles click events on the dialog.
|
|
6646
|
-
*
|
|
6647
|
-
* @fires {CustomEvent} beforetoggle - Event emitted before the dialog's open state changes.
|
|
6648
|
-
* @fires {CustomEvent} toggle - Event emitted after the dialog's open state changes.
|
|
6649
|
-
*
|
|
6650
|
-
* @extends FluentDialog
|
|
6651
|
-
* @tagname fabric-dialog
|
|
6652
|
-
* @public
|
|
6653
|
-
*/
|
|
6654
|
-
declare class Dialog extends Dialog$1 {
|
|
6655
|
-
}
|
|
7119
|
+
declare const definition$D: _microsoft_fast_element.FASTElementDefinition<typeof CounterBadge>;
|
|
6656
7120
|
|
|
6657
|
-
declare const styles$
|
|
7121
|
+
declare const styles$c: _microsoft_fast_element.ElementStyles;
|
|
6658
7122
|
|
|
6659
7123
|
/**
|
|
6660
7124
|
* The Fabric Dialog component.
|
|
6661
7125
|
*
|
|
6662
7126
|
* @public
|
|
6663
7127
|
*/
|
|
6664
|
-
declare const definition$
|
|
7128
|
+
declare const definition$C: _microsoft_fast_element.FASTElementDefinition<typeof Dialog>;
|
|
6665
7129
|
|
|
6666
7130
|
/**
|
|
6667
7131
|
* Dialog modal type
|
|
@@ -6714,7 +7178,7 @@ declare class DialogBody extends DialogBody$1 {
|
|
|
6714
7178
|
*
|
|
6715
7179
|
* @public
|
|
6716
7180
|
*/
|
|
6717
|
-
declare const definition$
|
|
7181
|
+
declare const definition$B: _microsoft_fast_element.FASTElementDefinition<typeof DialogBody>;
|
|
6718
7182
|
|
|
6719
7183
|
/**
|
|
6720
7184
|
* Divider
|
|
@@ -6747,74 +7211,693 @@ declare class Divider extends Divider$1 {
|
|
|
6747
7211
|
}
|
|
6748
7212
|
|
|
6749
7213
|
/**
|
|
6750
|
-
* Align-content values supported by {@link Divider}.
|
|
7214
|
+
* Align-content values supported by {@link Divider}.
|
|
7215
|
+
* @public
|
|
7216
|
+
*/
|
|
7217
|
+
declare const DividerAlignContents: {
|
|
7218
|
+
readonly center: "center";
|
|
7219
|
+
readonly start: "start";
|
|
7220
|
+
readonly end: "end";
|
|
7221
|
+
};
|
|
7222
|
+
/**
|
|
7223
|
+
* Type describing alignment options for {@link Divider}.
|
|
7224
|
+
* @public
|
|
7225
|
+
*/
|
|
7226
|
+
type DividerAlignContent = ValuesOf<typeof DividerAlignContents>;
|
|
7227
|
+
/**
|
|
7228
|
+
* Appearance values supported by {@link Divider}.
|
|
7229
|
+
* @public
|
|
7230
|
+
*/
|
|
7231
|
+
declare const DividerAppearances: {
|
|
7232
|
+
readonly strong: "strong";
|
|
7233
|
+
readonly brand: "brand";
|
|
7234
|
+
readonly subtle: "subtle";
|
|
7235
|
+
};
|
|
7236
|
+
/**
|
|
7237
|
+
* Type describing appearance options for {@link Divider}.
|
|
7238
|
+
* @public
|
|
7239
|
+
*/
|
|
7240
|
+
type DividerAppearance = ValuesOf<typeof DividerAppearances>;
|
|
7241
|
+
/**
|
|
7242
|
+
* Orientation values supported by {@link Divider}.
|
|
7243
|
+
* @public
|
|
7244
|
+
*/
|
|
7245
|
+
declare const DividerOrientations: {
|
|
7246
|
+
readonly horizontal: "horizontal";
|
|
7247
|
+
readonly vertical: "vertical";
|
|
7248
|
+
};
|
|
7249
|
+
/**
|
|
7250
|
+
* Type describing orientation options for {@link Divider}.
|
|
7251
|
+
* @public
|
|
7252
|
+
*/
|
|
7253
|
+
type DividerOrientation = ValuesOf<typeof DividerOrientations>;
|
|
7254
|
+
/**
|
|
7255
|
+
* Role values supported by {@link Divider}.
|
|
7256
|
+
* @public
|
|
7257
|
+
*/
|
|
7258
|
+
declare const DividerRoles: {
|
|
7259
|
+
readonly separator: "separator";
|
|
7260
|
+
readonly presentation: "presentation";
|
|
7261
|
+
};
|
|
7262
|
+
/**
|
|
7263
|
+
* Type describing ARIA roles available to {@link Divider}.
|
|
7264
|
+
* @public
|
|
7265
|
+
*/
|
|
7266
|
+
type DividerRole = ValuesOf<typeof DividerRoles>;
|
|
7267
|
+
|
|
7268
|
+
declare const styles$b: _microsoft_fast_element.ElementStyles;
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* Template for the {@link Divider} component.
|
|
7272
|
+
* @public
|
|
7273
|
+
*/
|
|
7274
|
+
declare const template$a: _microsoft_fast_element.ElementViewTemplate<_fluentui_web_components.Divider, any>;
|
|
7275
|
+
|
|
7276
|
+
/**
|
|
7277
|
+
* The Fabric Divider component.
|
|
7278
|
+
*
|
|
7279
|
+
* @public
|
|
7280
|
+
*/
|
|
7281
|
+
declare const definition$A: _microsoft_fast_element.FASTElementDefinition<typeof Divider>;
|
|
7282
|
+
|
|
7283
|
+
/**
|
|
7284
|
+
* Dynamic Tab
|
|
7285
|
+
* @summary A dismissible tab component for use in dynamic tab lists, similar to browser tabs.
|
|
7286
|
+
*
|
|
7287
|
+
* @example
|
|
7288
|
+
* ```html
|
|
7289
|
+
* <fabric-dynamic-tab id="tab-1" selected>
|
|
7290
|
+
* <fabric-svg-icon slot="icon" name="document-20-regular"></fabric-svg-icon>
|
|
7291
|
+
* Document.docx
|
|
7292
|
+
* </fabric-dynamic-tab>
|
|
7293
|
+
* ```
|
|
7294
|
+
*
|
|
7295
|
+
* @attr {boolean} selected - Whether the tab is currently selected.
|
|
7296
|
+
* @attr {boolean} disabled - Whether the tab is disabled.
|
|
7297
|
+
* @attr {boolean} no-dismiss - When present, prevents the tab from being dismissed/closed.
|
|
7298
|
+
* @attr {boolean} no-rename - When present, prevents the tab from being renamed.
|
|
7299
|
+
* @attr {boolean} modified - Whether the tab has unsaved changes (shows indicator instead of dismiss).
|
|
7300
|
+
*
|
|
7301
|
+
* @slot icon - Optional icon displayed before the label (defaults to document icon).
|
|
7302
|
+
* @slot dismiss-icon - Optional custom icon for the dismiss button.
|
|
7303
|
+
* @slot - The tab label text.
|
|
7304
|
+
*
|
|
7305
|
+
* @fires dismiss - Fires when the dismiss button is clicked.
|
|
7306
|
+
* @fires select - Fires when the tab is clicked to select.
|
|
7307
|
+
* @fires rename-request - Fires when rename is requested via F2 key.
|
|
7308
|
+
*
|
|
7309
|
+
* @extends FASTElement
|
|
7310
|
+
* @tagname fabric-dynamic-tab
|
|
7311
|
+
* @public
|
|
7312
|
+
*/
|
|
7313
|
+
declare class DynamicTab extends FASTElement {
|
|
7314
|
+
/**
|
|
7315
|
+
* Static counter for generating unique internal IDs.
|
|
7316
|
+
* @internal
|
|
7317
|
+
*/
|
|
7318
|
+
private static idCounter;
|
|
7319
|
+
/**
|
|
7320
|
+
* Internal unique ID used when no id attribute is provided.
|
|
7321
|
+
* Ensures aria-describedby references don't collide across instances.
|
|
7322
|
+
* @internal
|
|
7323
|
+
*/
|
|
7324
|
+
private readonly internalId;
|
|
7325
|
+
/**
|
|
7326
|
+
* Returns the effective ID for ARIA references.
|
|
7327
|
+
* Uses the consumer-provided id attribute if set, otherwise falls back to internal ID.
|
|
7328
|
+
* @internal
|
|
7329
|
+
*/
|
|
7330
|
+
get effectiveId(): string;
|
|
7331
|
+
/**
|
|
7332
|
+
* Whether the tab is currently selected.
|
|
7333
|
+
* @public
|
|
7334
|
+
* @remarks
|
|
7335
|
+
* HTML Attribute: `selected`
|
|
7336
|
+
*/
|
|
7337
|
+
selected: boolean;
|
|
7338
|
+
/**
|
|
7339
|
+
* Whether the tab is disabled.
|
|
7340
|
+
* @public
|
|
7341
|
+
* @remarks
|
|
7342
|
+
* HTML Attribute: `disabled`
|
|
7343
|
+
*/
|
|
7344
|
+
disabled: boolean;
|
|
7345
|
+
/**
|
|
7346
|
+
* When present, prevents the tab from being dismissed/closed.
|
|
7347
|
+
* @public
|
|
7348
|
+
* @remarks
|
|
7349
|
+
* HTML Attribute: `no-dismiss`
|
|
7350
|
+
*/
|
|
7351
|
+
noDismiss: boolean;
|
|
7352
|
+
/**
|
|
7353
|
+
* When present, prevents the tab from being renamed.
|
|
7354
|
+
* @public
|
|
7355
|
+
* @remarks
|
|
7356
|
+
* HTML Attribute: `no-rename`
|
|
7357
|
+
*/
|
|
7358
|
+
noRename: boolean;
|
|
7359
|
+
/**
|
|
7360
|
+
* Whether the tab has unsaved changes.
|
|
7361
|
+
* When true, shows a modified indicator instead of the dismiss button.
|
|
7362
|
+
* @public
|
|
7363
|
+
* @remarks
|
|
7364
|
+
* HTML Attribute: `modified`
|
|
7365
|
+
*/
|
|
7366
|
+
modified: boolean;
|
|
7367
|
+
/**
|
|
7368
|
+
* Accessible label for the close/dismiss button.
|
|
7369
|
+
* Override for i18n/localization.
|
|
7370
|
+
* @public
|
|
7371
|
+
* @remarks
|
|
7372
|
+
* HTML Attribute: `close-tab-label`
|
|
7373
|
+
*/
|
|
7374
|
+
closeTabLabel: string;
|
|
7375
|
+
/**
|
|
7376
|
+
* Accessible label for the modified indicator.
|
|
7377
|
+
* Override for i18n/localization.
|
|
7378
|
+
* @public
|
|
7379
|
+
* @remarks
|
|
7380
|
+
* HTML Attribute: `modified-label`
|
|
7381
|
+
*/
|
|
7382
|
+
modifiedLabel: string;
|
|
7383
|
+
/**
|
|
7384
|
+
* Accessible hint text for dismissible tabs.
|
|
7385
|
+
* Override for i18n/localization.
|
|
7386
|
+
* @public
|
|
7387
|
+
* @remarks
|
|
7388
|
+
* HTML Attribute: `close-hint-label`
|
|
7389
|
+
*/
|
|
7390
|
+
closeHintLabel: string;
|
|
7391
|
+
/**
|
|
7392
|
+
* Handles click events on the tab.
|
|
7393
|
+
* @internal
|
|
7394
|
+
*/
|
|
7395
|
+
handleClick(_event: MouseEvent): void;
|
|
7396
|
+
/**
|
|
7397
|
+
* Handles keyboard events.
|
|
7398
|
+
* @internal
|
|
7399
|
+
*/
|
|
7400
|
+
handleKeydown(event: KeyboardEvent): boolean;
|
|
7401
|
+
/**
|
|
7402
|
+
* Handles dismiss button click.
|
|
7403
|
+
* @internal
|
|
7404
|
+
*/
|
|
7405
|
+
handleDismissClick(event: MouseEvent): void;
|
|
7406
|
+
/**
|
|
7407
|
+
* Emits the dismiss event.
|
|
7408
|
+
* Can be called programmatically to trigger tab dismissal.
|
|
7409
|
+
* @public
|
|
7410
|
+
*/
|
|
7411
|
+
emitDismiss(): void;
|
|
7412
|
+
/**
|
|
7413
|
+
* Emits the select event.
|
|
7414
|
+
* @internal
|
|
7415
|
+
*/
|
|
7416
|
+
private emitSelect;
|
|
7417
|
+
/**
|
|
7418
|
+
* Emits the rename-request event.
|
|
7419
|
+
* @internal
|
|
7420
|
+
*/
|
|
7421
|
+
private emitRenameRequest;
|
|
7422
|
+
}
|
|
7423
|
+
|
|
7424
|
+
/**
|
|
7425
|
+
* Event names for {@link DynamicTab}.
|
|
6751
7426
|
* @public
|
|
6752
7427
|
*/
|
|
6753
|
-
declare const
|
|
6754
|
-
readonly
|
|
6755
|
-
readonly
|
|
6756
|
-
readonly
|
|
7428
|
+
declare const DynamicTabEventNames: {
|
|
7429
|
+
readonly dismiss: "dismiss";
|
|
7430
|
+
readonly select: "select";
|
|
7431
|
+
readonly "rename-request": "rename-request";
|
|
6757
7432
|
};
|
|
7433
|
+
|
|
6758
7434
|
/**
|
|
6759
|
-
*
|
|
7435
|
+
* The template for the DynamicTab component.
|
|
6760
7436
|
* @public
|
|
6761
7437
|
*/
|
|
6762
|
-
|
|
7438
|
+
declare const template$9: ElementViewTemplate<DynamicTab>;
|
|
7439
|
+
|
|
6763
7440
|
/**
|
|
6764
|
-
*
|
|
7441
|
+
* Styles for the DynamicTab component.
|
|
6765
7442
|
* @public
|
|
6766
7443
|
*/
|
|
6767
|
-
declare const
|
|
6768
|
-
|
|
6769
|
-
readonly brand: "brand";
|
|
6770
|
-
readonly subtle: "subtle";
|
|
6771
|
-
};
|
|
7444
|
+
declare const styles$a: _microsoft_fast_element.ElementStyles;
|
|
7445
|
+
|
|
6772
7446
|
/**
|
|
6773
|
-
*
|
|
7447
|
+
* Composed element definition for `<fabric-dynamic-tab>`, registering the
|
|
7448
|
+
* `fabric-button` dependency before the element itself.
|
|
7449
|
+
*
|
|
6774
7450
|
* @public
|
|
7451
|
+
* @remarks
|
|
7452
|
+
* HTML Element: `<fabric-dynamic-tab>`
|
|
6775
7453
|
*/
|
|
6776
|
-
|
|
7454
|
+
declare const definition$z: FabricElementDefinition;
|
|
7455
|
+
|
|
6777
7456
|
/**
|
|
6778
|
-
*
|
|
7457
|
+
* Dynamic Tab List orientations.
|
|
6779
7458
|
* @public
|
|
6780
7459
|
*/
|
|
6781
|
-
declare const
|
|
7460
|
+
declare const DynamicTabListOrientations: {
|
|
6782
7461
|
readonly horizontal: "horizontal";
|
|
6783
7462
|
readonly vertical: "vertical";
|
|
6784
7463
|
};
|
|
6785
7464
|
/**
|
|
6786
|
-
* Type describing orientation options for {@link
|
|
7465
|
+
* Type describing orientation options for {@link DynamicTabList}.
|
|
6787
7466
|
* @public
|
|
6788
7467
|
*/
|
|
6789
|
-
type
|
|
7468
|
+
type DynamicTabListOrientation = ValuesOf<typeof DynamicTabListOrientations>;
|
|
6790
7469
|
/**
|
|
6791
|
-
*
|
|
7470
|
+
* Event names for {@link DynamicTabList}.
|
|
6792
7471
|
* @public
|
|
6793
7472
|
*/
|
|
6794
|
-
declare const
|
|
6795
|
-
readonly
|
|
6796
|
-
readonly
|
|
7473
|
+
declare const DynamicTabListEventNames: {
|
|
7474
|
+
readonly "tab-dismiss": "tab-dismiss";
|
|
7475
|
+
readonly "tab-select": "tab-select";
|
|
7476
|
+
readonly "context-menu": "context-menu";
|
|
6797
7477
|
};
|
|
7478
|
+
|
|
6798
7479
|
/**
|
|
6799
|
-
*
|
|
7480
|
+
* Dynamic Tab List
|
|
7481
|
+
* @summary A structural container for dynamic tabs with public methods for tab management.
|
|
7482
|
+
*
|
|
7483
|
+
* @remarks
|
|
7484
|
+
* This component provides structure, emits events, and offers public helper methods
|
|
7485
|
+
* for common tab operations (close, closeOthers, closeToRight, etc.).
|
|
7486
|
+
* Context menus should be implemented by the consumer using the native Popover API,
|
|
7487
|
+
* listening to the `context-menu` event for positioning coordinates.
|
|
7488
|
+
*
|
|
7489
|
+
* @example
|
|
7490
|
+
* ```html
|
|
7491
|
+
* <fabric-dynamic-tab-list activeid="tab-1" show-managed-tabs>
|
|
7492
|
+
* <fabric-dynamic-tab id="tab-1" selected>Document.docx</fabric-dynamic-tab>
|
|
7493
|
+
* <fabric-dynamic-tab id="tab-2">Photo.png</fabric-dynamic-tab>
|
|
7494
|
+
* <button slot="actions">+</button>
|
|
7495
|
+
* <button slot="manage-tabs">☰</button>
|
|
7496
|
+
* </fabric-dynamic-tab-list>
|
|
7497
|
+
* ```
|
|
7498
|
+
*
|
|
7499
|
+
* @attr {string} activeid - The id of the currently active/selected tab.
|
|
7500
|
+
* @attr {DynamicTabListOrientation} orientation - The layout orientation.
|
|
7501
|
+
* @attr {boolean} show-managed-tabs - When true, renders built-in manage tabs menu.
|
|
7502
|
+
* @attr {string} close-unmodified-label - Label for "Close unmodified tabs" menu item (i18n).
|
|
7503
|
+
* @attr {string} close-all-label - Label for "Close all tabs" menu item (i18n).
|
|
7504
|
+
*
|
|
7505
|
+
* @slot - Container for fabric-dynamic-tab elements.
|
|
7506
|
+
* @slot actions - Optional action buttons between tabs and manage-tabs button.
|
|
7507
|
+
* @slot manage-tabs - Trigger button for manage tabs menu (used when show-managed-tabs is true).
|
|
7508
|
+
*
|
|
7509
|
+
* @csspart tabs-container - The scrollable container for tab elements.
|
|
7510
|
+
* @csspart actions-container - The container for action buttons and manage-tabs.
|
|
7511
|
+
*
|
|
7512
|
+
* @fires tab-dismiss - Fires when a tab's dismiss button is clicked or closeTab() is called.
|
|
7513
|
+
* @fires tab-select - Fires when a tab is selected.
|
|
7514
|
+
* @fires context-menu - Fires when a tab is right-clicked. Detail includes { id, clientX, clientY }.
|
|
7515
|
+
*
|
|
7516
|
+
* @extends FASTElement
|
|
7517
|
+
* @tagname fabric-dynamic-tab-list
|
|
6800
7518
|
* @public
|
|
6801
7519
|
*/
|
|
6802
|
-
|
|
7520
|
+
declare class DynamicTabList extends FASTElement {
|
|
7521
|
+
/**
|
|
7522
|
+
* The id of the currently active tab.
|
|
7523
|
+
* @public
|
|
7524
|
+
* @remarks
|
|
7525
|
+
* HTML Attribute: `activeid`
|
|
7526
|
+
*/
|
|
7527
|
+
activeid?: string;
|
|
7528
|
+
/**
|
|
7529
|
+
* The layout orientation of the tab list.
|
|
7530
|
+
* @public
|
|
7531
|
+
* @remarks
|
|
7532
|
+
* HTML Attribute: `orientation`
|
|
7533
|
+
*/
|
|
7534
|
+
orientation: DynamicTabListOrientation;
|
|
7535
|
+
/**
|
|
7536
|
+
* When true, renders a built-in manage tabs menu with "Close unmodified tabs",
|
|
7537
|
+
* "Close all tabs" actions, and a list of all open tabs.
|
|
7538
|
+
* @public
|
|
7539
|
+
* @remarks
|
|
7540
|
+
* HTML Attribute: `show-managed-tabs`
|
|
7541
|
+
*/
|
|
7542
|
+
showManagedTabs: boolean;
|
|
7543
|
+
/**
|
|
7544
|
+
* Label for the "Close unmodified tabs" menu item.
|
|
7545
|
+
* Override for i18n/localization.
|
|
7546
|
+
* @public
|
|
7547
|
+
* @remarks
|
|
7548
|
+
* HTML Attribute: `close-unmodified-label`
|
|
7549
|
+
*/
|
|
7550
|
+
closeUnmodifiedLabel: string;
|
|
7551
|
+
/**
|
|
7552
|
+
* Label for the "Close all tabs" menu item.
|
|
7553
|
+
* Override for i18n/localization.
|
|
7554
|
+
* @public
|
|
7555
|
+
* @remarks
|
|
7556
|
+
* HTML Attribute: `close-all-label`
|
|
7557
|
+
*/
|
|
7558
|
+
closeAllLabel: string;
|
|
7559
|
+
/**
|
|
7560
|
+
* Label for the manage tabs button (accessibility).
|
|
7561
|
+
* Override for i18n/localization.
|
|
7562
|
+
* @public
|
|
7563
|
+
* @remarks
|
|
7564
|
+
* HTML Attribute: `manage-tabs-label`
|
|
7565
|
+
*/
|
|
7566
|
+
manageTabsLabel: string;
|
|
7567
|
+
/**
|
|
7568
|
+
* The slotted tab elements.
|
|
7569
|
+
* Exposed as public so consumers can access the tab list for their menu rendering.
|
|
7570
|
+
* @public
|
|
7571
|
+
*/
|
|
7572
|
+
tabs: DynamicTab[];
|
|
7573
|
+
/**
|
|
7574
|
+
* The ID of the tab that triggered the context menu.
|
|
7575
|
+
* Exposed as public so consumers can access it for conditional menu rendering.
|
|
7576
|
+
* @public
|
|
7577
|
+
*/
|
|
7578
|
+
contextMenuTargetId: string | null;
|
|
7579
|
+
/**
|
|
7580
|
+
* Whether the context menu is currently open.
|
|
7581
|
+
* @public
|
|
7582
|
+
*/
|
|
7583
|
+
contextMenuOpen: boolean;
|
|
7584
|
+
/**
|
|
7585
|
+
* The X coordinate where the context menu was triggered.
|
|
7586
|
+
* @public
|
|
7587
|
+
*/
|
|
7588
|
+
contextMenuX: number;
|
|
7589
|
+
/**
|
|
7590
|
+
* The Y coordinate where the context menu was triggered.
|
|
7591
|
+
* @public
|
|
7592
|
+
*/
|
|
7593
|
+
contextMenuY: number;
|
|
7594
|
+
/**
|
|
7595
|
+
* Slotted manage-tabs trigger element(s).
|
|
7596
|
+
* @internal
|
|
7597
|
+
*/
|
|
7598
|
+
slottedManageTabsTrigger: HTMLElement[];
|
|
7599
|
+
/**
|
|
7600
|
+
* Whether the manage-tabs trigger should be interactive.
|
|
7601
|
+
* True when the built-in menu is enabled or a custom trigger is slotted.
|
|
7602
|
+
* @internal
|
|
7603
|
+
*/
|
|
7604
|
+
get hasTrigger(): boolean;
|
|
7605
|
+
/**
|
|
7606
|
+
* Whether the manage tabs menu is currently open.
|
|
7607
|
+
* Used for aria-expanded on the trigger.
|
|
7608
|
+
* @internal
|
|
7609
|
+
*/
|
|
7610
|
+
manageTabsMenuOpen: boolean;
|
|
7611
|
+
/**
|
|
7612
|
+
* Reference to the manage-tabs-menu popover element.
|
|
7613
|
+
* @internal
|
|
7614
|
+
*/
|
|
7615
|
+
private manageTabsMenuEl;
|
|
7616
|
+
/**
|
|
7617
|
+
* Roving focus controller for keyboard navigation.
|
|
7618
|
+
* @internal
|
|
7619
|
+
*/
|
|
7620
|
+
private focusController;
|
|
7621
|
+
/**
|
|
7622
|
+
* Flag to track if activeid change is from user gesture.
|
|
7623
|
+
* Used to prevent emitting tab-select on programmatic changes.
|
|
7624
|
+
* @internal
|
|
7625
|
+
*/
|
|
7626
|
+
private isUserSelection;
|
|
7627
|
+
/**
|
|
7628
|
+
* Lifecycle callback - initialize focus controller.
|
|
7629
|
+
* @internal
|
|
7630
|
+
*/
|
|
7631
|
+
connectedCallback(): void;
|
|
7632
|
+
/**
|
|
7633
|
+
* Lifecycle callback - cleanup.
|
|
7634
|
+
* @internal
|
|
7635
|
+
*/
|
|
7636
|
+
disconnectedCallback(): void;
|
|
7637
|
+
/**
|
|
7638
|
+
* Bound handler for manage tabs menu light dismiss.
|
|
7639
|
+
* @internal
|
|
7640
|
+
*/
|
|
7641
|
+
private handleManageTabsLightDismiss;
|
|
7642
|
+
/**
|
|
7643
|
+
* Bound handler for manage tabs menu Escape key.
|
|
7644
|
+
* @internal
|
|
7645
|
+
*/
|
|
7646
|
+
private handleManageTabsEscape;
|
|
7647
|
+
/**
|
|
7648
|
+
* Set up light dismiss listeners for manage tabs menu.
|
|
7649
|
+
* @internal
|
|
7650
|
+
*/
|
|
7651
|
+
private setupManageTabsMenuListeners;
|
|
7652
|
+
/**
|
|
7653
|
+
* Remove light dismiss listeners for manage tabs menu.
|
|
7654
|
+
* Optionally returns focus to the trigger button.
|
|
7655
|
+
* @internal
|
|
7656
|
+
*/
|
|
7657
|
+
private removeManageTabsMenuListeners;
|
|
7658
|
+
/**
|
|
7659
|
+
* Initialize the roving focus controller.
|
|
7660
|
+
* @internal
|
|
7661
|
+
*/
|
|
7662
|
+
private initializeFocusController;
|
|
7663
|
+
/**
|
|
7664
|
+
* Called when tabs change.
|
|
7665
|
+
* Filters to only DynamicTab elements (excludes text nodes and other elements).
|
|
7666
|
+
* Reconciles activeid if the active tab was removed externally.
|
|
7667
|
+
* @internal
|
|
7668
|
+
*/
|
|
7669
|
+
tabsChanged(): void;
|
|
7670
|
+
/**
|
|
7671
|
+
* Called when activeid changes.
|
|
7672
|
+
* @internal
|
|
7673
|
+
*/
|
|
7674
|
+
activeidChanged(oldValue: string | undefined, newValue: string | undefined): void;
|
|
7675
|
+
/**
|
|
7676
|
+
* Called when orientation changes - reinitialize focus controller.
|
|
7677
|
+
* @internal
|
|
7678
|
+
*/
|
|
7679
|
+
orientationChanged(): void;
|
|
7680
|
+
/**
|
|
7681
|
+
* Updates the selected state on all child tabs.
|
|
7682
|
+
* @internal
|
|
7683
|
+
*/
|
|
7684
|
+
private updateTabStates;
|
|
7685
|
+
/**
|
|
7686
|
+
* Handles tab dismiss events from child tabs.
|
|
7687
|
+
* Manages focus transfer and re-emits the event with index for consumer handling.
|
|
7688
|
+
* @internal
|
|
7689
|
+
*/
|
|
7690
|
+
handleTabDismiss(event: CustomEvent<{
|
|
7691
|
+
id: string;
|
|
7692
|
+
}>): void;
|
|
7693
|
+
/**
|
|
7694
|
+
* Handles tab select events from child tabs.
|
|
7695
|
+
* @internal
|
|
7696
|
+
*/
|
|
7697
|
+
handleTabSelect(event: CustomEvent<{
|
|
7698
|
+
id: string;
|
|
7699
|
+
}>): void;
|
|
7700
|
+
/**
|
|
7701
|
+
* Handles right-click on tabs.
|
|
7702
|
+
* Emits context-menu event with tab ID and cursor coordinates.
|
|
7703
|
+
* Consumer implements their own context menu using native Popover API.
|
|
7704
|
+
* @internal
|
|
7705
|
+
*/
|
|
7706
|
+
handleTabContextMenu(event: MouseEvent): boolean;
|
|
7707
|
+
/**
|
|
7708
|
+
* Handles keyboard navigation using roving focus controller.
|
|
7709
|
+
* @internal
|
|
7710
|
+
*/
|
|
7711
|
+
handleKeydown(event: KeyboardEvent): boolean;
|
|
7712
|
+
/**
|
|
7713
|
+
* Handles focusin events to sync the focus controller.
|
|
7714
|
+
* @internal
|
|
7715
|
+
*/
|
|
7716
|
+
handleFocusin(event: FocusEvent): void;
|
|
7717
|
+
/**
|
|
7718
|
+
* Emits the tab-select event.
|
|
7719
|
+
* @internal
|
|
7720
|
+
*/
|
|
7721
|
+
private emitTabSelect;
|
|
7722
|
+
/**
|
|
7723
|
+
* Gets the tab that triggered the context menu.
|
|
7724
|
+
* Useful for consumers to render menu items based on tab state.
|
|
7725
|
+
* @public
|
|
7726
|
+
*/
|
|
7727
|
+
getContextMenuTab(): DynamicTab | null;
|
|
7728
|
+
/**
|
|
7729
|
+
* Clears the context menu target ID and state.
|
|
7730
|
+
* Call this when closing your context menu to reset state.
|
|
7731
|
+
* @public
|
|
7732
|
+
*/
|
|
7733
|
+
clearContextMenuTarget(): void;
|
|
7734
|
+
/**
|
|
7735
|
+
* Closes the context menu and resets all context menu state.
|
|
7736
|
+
* @public
|
|
7737
|
+
*/
|
|
7738
|
+
closeContextMenu(): void;
|
|
7739
|
+
/**
|
|
7740
|
+
* Toggles the manage tabs menu popover.
|
|
7741
|
+
* @public
|
|
7742
|
+
*/
|
|
7743
|
+
toggleManageTabsMenu(): void;
|
|
7744
|
+
/**
|
|
7745
|
+
* Closes the manage tabs menu.
|
|
7746
|
+
* @public
|
|
7747
|
+
*/
|
|
7748
|
+
closeManageTabsMenu(): void;
|
|
7749
|
+
/**
|
|
7750
|
+
* Requests closing a tab by ID.
|
|
7751
|
+
* Emits `tab-dismiss` event for the consumer to handle DOM removal.
|
|
7752
|
+
* If the tab had focus, moves focus to an adjacent tab.
|
|
7753
|
+
* @param id - The ID of the tab to close
|
|
7754
|
+
* @public
|
|
7755
|
+
*/
|
|
7756
|
+
closeTab(id: string): void;
|
|
7757
|
+
/**
|
|
7758
|
+
* Requests closing all tabs except the specified one.
|
|
7759
|
+
* Emits `tab-dismiss` events for each tab to close.
|
|
7760
|
+
* @param id - The ID of the tab to keep open
|
|
7761
|
+
* @public
|
|
7762
|
+
*/
|
|
7763
|
+
closeOtherTabs(id: string): void;
|
|
7764
|
+
/**
|
|
7765
|
+
* Requests closing all tabs to the right of the specified tab.
|
|
7766
|
+
* Emits `tab-dismiss` events for each tab to close.
|
|
7767
|
+
* @param id - The ID of the anchor tab
|
|
7768
|
+
* @public
|
|
7769
|
+
*/
|
|
7770
|
+
closeTabsToRight(id: string): void;
|
|
7771
|
+
/**
|
|
7772
|
+
* Requests closing all tabs to the left of the specified tab.
|
|
7773
|
+
* Emits `tab-dismiss` events for each tab to close.
|
|
7774
|
+
* @param id - The ID of the anchor tab
|
|
7775
|
+
* @public
|
|
7776
|
+
*/
|
|
7777
|
+
closeTabsToLeft(id: string): void;
|
|
7778
|
+
/**
|
|
7779
|
+
* Requests closing all tabs.
|
|
7780
|
+
* Emits `tab-dismiss` events for each tab.
|
|
7781
|
+
* @public
|
|
7782
|
+
*/
|
|
7783
|
+
closeAllTabs(): void;
|
|
7784
|
+
/**
|
|
7785
|
+
* Selects the next available tab after a tab is closed.
|
|
7786
|
+
* Prefers the tab at the same index, then previous tabs.
|
|
7787
|
+
* @param closedIndex - The index of the tab that was closed
|
|
7788
|
+
* @internal
|
|
7789
|
+
*/
|
|
7790
|
+
private selectNextAvailableTab;
|
|
7791
|
+
/**
|
|
7792
|
+
* Requests closing all tabs that are not marked as modified.
|
|
7793
|
+
* Emits `tab-dismiss` events for each unmodified tab.
|
|
7794
|
+
* Tabs with `modified === true` are preserved.
|
|
7795
|
+
* @public
|
|
7796
|
+
*/
|
|
7797
|
+
closeUnmodifiedTabs(): void;
|
|
7798
|
+
/**
|
|
7799
|
+
* Selects a tab from the manage tabs menu, focuses it, and closes the menu.
|
|
7800
|
+
* @param tab - The tab to select
|
|
7801
|
+
* @internal
|
|
7802
|
+
*/
|
|
7803
|
+
selectTabFromManageMenu(tab: DynamicTab): void;
|
|
7804
|
+
/**
|
|
7805
|
+
* Closes the manage tabs menu popover and cleans up listeners.
|
|
7806
|
+
* Used internally by built-in menu actions.
|
|
7807
|
+
* @param restoreFocus - When true, returns focus to the trigger button.
|
|
7808
|
+
* @internal
|
|
7809
|
+
*/
|
|
7810
|
+
closeManageTabsMenuInternal(restoreFocus?: boolean): void;
|
|
7811
|
+
/**
|
|
7812
|
+
* Gets the display label for a tab in the manage tabs menu.
|
|
7813
|
+
* Reads only the default slot's assigned content for a clean label,
|
|
7814
|
+
* excluding named-slot content (icons, dismiss-icon) and shadow DOM text (hint spans).
|
|
7815
|
+
* Falls back through: default slot text → aria-label → id
|
|
7816
|
+
* @param tab - The tab to get the label for
|
|
7817
|
+
* @returns The display label string
|
|
7818
|
+
* @internal
|
|
7819
|
+
*/
|
|
7820
|
+
getTabDisplayLabel(tab: DynamicTab): string;
|
|
7821
|
+
/**
|
|
7822
|
+
* Gets the filtered array of DynamicTab elements from the tabs slot.
|
|
7823
|
+
* Filters out text nodes and non-tab elements.
|
|
7824
|
+
* @returns Array of DynamicTab elements
|
|
7825
|
+
* @public
|
|
7826
|
+
*/
|
|
7827
|
+
getTabElements(): DynamicTab[];
|
|
7828
|
+
/**
|
|
7829
|
+
* Handles "Close all tabs" action from the built-in menu.
|
|
7830
|
+
* Closes all tabs and then closes the menu.
|
|
7831
|
+
* @internal
|
|
7832
|
+
*/
|
|
7833
|
+
handleCloseAllFromMenu(): void;
|
|
7834
|
+
}
|
|
6803
7835
|
|
|
6804
|
-
|
|
7836
|
+
/**
|
|
7837
|
+
* The template for the DynamicTabList component.
|
|
7838
|
+
* @public
|
|
7839
|
+
*/
|
|
7840
|
+
declare const template$8: ElementViewTemplate<DynamicTabList>;
|
|
6805
7841
|
|
|
6806
7842
|
/**
|
|
6807
|
-
*
|
|
7843
|
+
* Styles for the DynamicTabList component.
|
|
6808
7844
|
* @public
|
|
6809
7845
|
*/
|
|
6810
|
-
declare const
|
|
7846
|
+
declare const styles$9: _microsoft_fast_element.ElementStyles;
|
|
6811
7847
|
|
|
6812
7848
|
/**
|
|
6813
|
-
* The Fabric
|
|
7849
|
+
* The Fabric DynamicTabList component definition.
|
|
7850
|
+
* @public
|
|
7851
|
+
*/
|
|
7852
|
+
declare const definition$y: _microsoft_fast_element.FASTElementDefinition<typeof DynamicTabList>;
|
|
7853
|
+
|
|
7854
|
+
/**
|
|
7855
|
+
* EmptyState
|
|
7856
|
+
* @summary A component for displaying empty states with optional illustration, title, body, link, and action.
|
|
7857
|
+
*
|
|
7858
|
+
* @example
|
|
7859
|
+
* ```html
|
|
7860
|
+
* <fabric-empty-state>
|
|
7861
|
+
* <img slot="illustration" src="illustration.svg" alt="" aria-hidden="true" />
|
|
7862
|
+
* <span slot="title">No items yet</span>
|
|
7863
|
+
* <span slot="body">Create an item to get started</span>
|
|
7864
|
+
* <fabric-link slot="link" href="#">Learn more</fabric-link>
|
|
7865
|
+
* <fabric-button slot="action">Create item</fabric-button>
|
|
7866
|
+
* </fabric-empty-state>
|
|
7867
|
+
* ```
|
|
7868
|
+
*
|
|
7869
|
+
* @slot illustration - Slot for an optional illustration or image.
|
|
7870
|
+
* @slot title - Slot for the main title text.
|
|
7871
|
+
* @slot body - Slot for optional body/description text.
|
|
7872
|
+
* @slot link - Slot for an optional help or learn-more link.
|
|
7873
|
+
* @slot action - Slot for an optional call-to-action button.
|
|
7874
|
+
*
|
|
7875
|
+
* @csspart illustration - The illustration container.
|
|
7876
|
+
* @csspart content - The text and action content container.
|
|
6814
7877
|
*
|
|
7878
|
+
* @extends FASTElement
|
|
7879
|
+
* @tagname fabric-empty-state
|
|
7880
|
+
* @public
|
|
7881
|
+
*/
|
|
7882
|
+
declare class EmptyState extends FASTElement {
|
|
7883
|
+
}
|
|
7884
|
+
|
|
7885
|
+
/**
|
|
7886
|
+
* The Fabric EmptyState component.
|
|
7887
|
+
*
|
|
7888
|
+
* @public
|
|
7889
|
+
* @remarks
|
|
7890
|
+
* HTML Element: <fabric-empty-state>
|
|
7891
|
+
*/
|
|
7892
|
+
declare const definition$x: _microsoft_fast_element.FASTElementDefinition<typeof EmptyState>;
|
|
7893
|
+
|
|
7894
|
+
/**
|
|
7895
|
+
* Styles for the {@link EmptyState} component.
|
|
6815
7896
|
* @public
|
|
6816
7897
|
*/
|
|
6817
|
-
declare const
|
|
7898
|
+
declare const styles$8: _microsoft_fast_element.ElementStyles;
|
|
7899
|
+
|
|
7900
|
+
declare const template$7: ElementViewTemplate<EmptyState>;
|
|
6818
7901
|
|
|
6819
7902
|
/**
|
|
6820
7903
|
* Drawer
|
|
@@ -7694,7 +8777,7 @@ declare const definition$n: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
7694
8777
|
* @attr {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
|
|
7695
8778
|
* @attr {MenuButtonShape | undefined} shape - The shape of the button.
|
|
7696
8779
|
* @attr {MenuButtonSize | undefined} size - The size of the button.
|
|
7697
|
-
* @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content.
|
|
8780
|
+
* @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
|
|
7698
8781
|
* @attr {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
|
|
7699
8782
|
* @attr {boolean | undefined} disabled-focusable - Indicates that the button is focusable while disabled.
|
|
7700
8783
|
* @attr {number | undefined} tabindex - Sets that the button tabindex attribute.
|
|
@@ -7711,7 +8794,7 @@ declare const definition$n: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
7711
8794
|
* @prop {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
|
|
7712
8795
|
* @prop {MenuButtonShape | undefined} shape - The shape of the button.
|
|
7713
8796
|
* @prop {MenuButtonSize | undefined} size - The size of the button.
|
|
7714
|
-
* @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content.
|
|
8797
|
+
* @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
|
|
7715
8798
|
* @prop {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
|
|
7716
8799
|
* @prop {boolean | undefined} disabledFocusable - Indicates that the button is focusable while disabled.
|
|
7717
8800
|
* @prop {number | undefined} tabindex - Sets that the button tabindex attribute.
|
|
@@ -11649,6 +12732,6 @@ declare function staticallyCompose<TSource = unknown, TParent = unknown>(item: S
|
|
|
11649
12732
|
*/
|
|
11650
12733
|
declare const whitespaceFilter: ElementsFilter;
|
|
11651
12734
|
|
|
11652
|
-
export { Accordion, definition$
|
|
11653
|
-
export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, CarouselEventName, CarouselNavButtonPlacement, CarouselNavEventName, CarouselNavPosition, CheckboxShape, CheckboxSize, CollisionEdge, CompoundButtonAppearance, CompoundButtonFormTarget, CompoundButtonShape, CompoundButtonSize, CompoundButtonType, CounterBadgeAppearance, CounterBadgeColor, CounterBadgeShape, CounterBadgeSize, DialogType, DirectionDetectorOptions, DirectionObserver, DirectionOrNull, DirectionStrategy, DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole, DrawerPosition, DrawerSize, DrawerType, DropdownAppearance, DropdownSize, DropdownType, FabricElementDefinition, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemAppearance, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, MultiViewGroupPosition, OverflowAxisValue, OverflowChangeEventDetail, OverflowDirection, PaginationPageChangeDetail, PaginationVariant, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, RovingFocusController, RovingFocusOptions, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SortDirection, SpinButtonAppearance, SpinButtonBound, SpinButtonControlSize, SpinButtonSpinState, SpinnerAppearance, SpinnerSize, StaticallyComposableHTML, TableCellRenderFunction, TableCellSize, TableColumnData, TableRowData, TablistAppearance, TablistOrientation, TablistSize, TagAppearance, TagShape, TagSize, TagTextSize, TeachingBubblePlacement, TeachingBubbleSize, TextAlign, TextareaAppearance as TextAreaAppearance, TextareaAppearancesForDisplayShadow as TextAreaAppearancesForDisplayShadow, TextareaAutocomplete as TextAreaAutocomplete, TextareaResize as TextAreaResize, TextareaSize as TextAreaSize, TextFont, TextInputAppearance, TextInputControlSize, TextInputOptions, TextInputType, TextSize, TextWeight, ToggleButtonAppearance, ToggleButtonFormTarget, ToggleButtonShape, ToggleButtonSize, ToggleButtonType, TooltipPositioningOption, ValidationFlag, ValuesOf, WizardEvent, WizardPanelState, WizardStepEvent, WizardStepState };
|
|
12735
|
+
export { Accordion, definition$J as AccordionDefinition, AccordionExpandModes, AccordionItem, definition$K as AccordionItemDefinition, AccordionItemMarkerPositions, AccordionItemSizes, AccordionMenu, definition$1f as AccordionMenuDefinition, AccordionMenuExpandModes, AccordionMenuPanel, definition$1e as AccordionMenuPanelDefinition, AccordionMenuPanelMarkerPositions, AccordionMenuPanelSizes, styles$r as AccordionMenuPanelStyles, template$l as AccordionMenuPanelTemplate, styles$s as AccordionMenuStyles, template$m as AccordionMenuTemplate, AnchorButton, AnchorButtonAppearance, AnchorButtonAppearances, definition$o as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonShapes, AnchorButtonSize, AnchorButtonSizes, AnchorTarget, AnchorTargets, Avatar, AvatarActive, AvatarActives, AvatarAppearance, AvatarAppearances, AvatarColor, AvatarColors, definition$H as AvatarDefinition, AvatarNamedColor, AvatarNamedColors, AvatarShape, AvatarShapes, AvatarSize, AvatarSizes, Badge, BadgeAppearance, BadgeAppearances, BadgeColor, BadgeColors, definition$G as BadgeDefinition, BadgeShape, BadgeShapes, BadgeSize, BadgeSizes, Button, ButtonAppearances, definition$F as ButtonDefinition, ButtonFormTargets, ButtonShapes, ButtonSizes, styles$d as ButtonStyles, ButtonTypes, Card, CardAppearance, CardAppearances, CardCarousel, definition$14 as CardCarouselDefinition, styles$k as CardCarouselStyles, template$e as CardCarouselTemplate, definition$1d as CardDefinition, CardEventNames, CardFocusMode, CardFocusModes, CardFooter, definition$1c as CardFooterDefinition, CardHeader, definition$1b as CardHeaderDefinition, CardOrientation, CardOrientations, CardPreview, definition$1a as CardPreviewDefinition, styles$q as CardStyles, template$k as CardTemplate, Carousel, definition$19 as CarouselDefinition, CarouselEventNames, CarouselItem, definition$18 as CarouselItemDefinition, styles$o as CarouselItemStyles, template$i as CarouselItemTemplate, CarouselNav, CarouselNavButtonPlacements, definition$17 as CarouselNavDefinition, CarouselNavEventNames, CarouselNavItem, definition$16 as CarouselNavItemDefinition, styles$m as CarouselNavItemStyles, template$g as CarouselNavItemTemplate, CarouselNavPositions, styles$n as CarouselNavStyles, template$h as CarouselNavTemplate, styles$p as CarouselStyles, template$j as CarouselTemplate, CarouselViewport, definition$15 as CarouselViewportDefinition, styles$l as CarouselViewportStyles, template$f as CarouselViewportTemplate, Checkbox, definition$E as CheckboxDefinition, CheckboxShapes, CheckboxSizes, CollisionEdges, CompoundButton, CompoundButtonAppearances, definition$11 as CompoundButtonDefinition, CompoundButtonFormTargets, CompoundButtonShapes, CompoundButtonSizes, CompoundButtonTypes, CounterBadge, CounterBadgeAppearances, CounterBadgeColors, definition$D as CounterBadgeDefinition, CounterBadgeShapes, CounterBadgeSizes, Dialog, DialogBody, definition$B as DialogBodyDefinition, definition$C as DialogDefinition, styles$c as DialogStyles, DialogTypes, DirectionDetector, Divider, DividerAlignContents, DividerAppearances, definition$A as DividerDefinition, DividerOrientations, DividerRoles, styles$b as DividerStyles, template$a as DividerTemplate, Drawer, DrawerBody, definition$v as DrawerBodyDefinition, definition$w as DrawerDefinition, DrawerPositions, DrawerSizes, DrawerTypes, Dropdown, DropdownAppearances, definition$u as DropdownDefinition, DropdownOption, definition$t as DropdownOptionDefinition, DropdownSizes, DropdownTypes, DynamicTab, definition$z as DynamicTabDefinition, DynamicTabEventNames, DynamicTabList, definition$y as DynamicTabListDefinition, DynamicTabListEventNames, DynamicTabListOrientations, styles$9 as DynamicTabListStyles, template$8 as DynamicTabListTemplate, styles$a as DynamicTabStyles, template$9 as DynamicTabTemplate, EmptyState, definition$x as EmptyStateDefinition, styles$8 as EmptyStateStyles, template$7 as EmptyStateTemplate, DesignSystem as FabricDesignSystem, Field, definition$r as FieldDefinition, FieldLabelPosition, FieldLabelPositions, styles$7 as FieldStyles, FilterPill, FilterPillAppearances, definition$13 as FilterPillDefinition, FilterPillEventNames, FilterPillFormTargets, FilterPillShapes, FilterPillSizes, FilterPillTypes, Image, definition$q as ImageDefinition, ImageFits, ImageShapes, ImplicitSubmissionBlockingTypes$1 as ImplicitSubmissionBlockingTypes, Label, definition$p as LabelDefinition, LabelPositions, LabelSizes, LabelWeights, Link, LinkAppearance, LinkAppearances, definition$I as LinkDefinition, LinkTarget, LinkTargets, Listbox, definition$s as ListboxDefinition, LoadingButton, definition$10 as LoadingButtonDefinition, Menu, MenuButton, MenuButtonAppearances, definition$m as MenuButtonDefinition, MenuButtonShapes, MenuButtonSizes, definition$j as MenuDefinition, MenuGroupRoles, MenuItem, MenuItemAppearances, definition$l as MenuItemDefinition, MenuItemRoles, styles$6 as MenuItemStyles, template$6 as MenuItemTemplate, MenuList, definition$k as MenuListDefinition, styles$5 as MenuListStyles, template$5 as MenuListTemplate, MenuPositions, MenuRepositionModes, styles$4 as MenuStyles, template$4 as MenuTemplate, MessageBar, definition$n as MessageBarDefinition, MockElementInternals, Modal, definition$12 as ModalDefinition, ModalEventNames, ModalFreItem, modalFreItemDefinition as ModalFreItemDefinition, ModalModes, MultiView, MultiViewController, definition$_ as MultiViewControllerDefinition, definition$$ as MultiViewDefinition, MultiViewEventNames, MultiViewGroup, definition$Z as MultiViewGroupDefinition, MultiViewGroupPositions, OptionGroup, definition$i as OptionGroupDefinition, Overflow, OverflowAxisValues, definition$Y as OverflowDefinition, OverflowDirections, OverflowDivider, definition$W as OverflowDividerDefinition, styles$h as OverflowDividerStyles, OverflowEventNames, OverflowItem, definition$X as OverflowItemDefinition, styles$i as OverflowItemStyles, styles$j as OverflowStyles, Pagination, definition$U as PaginationDefinition, PaginationEventNames, PaginationVariants, Popover, definition$V as PopoverDefinition, PopoverEventNames, PopoverPositions, PopoverRepositionModes, styles$g as PopoverStyles, template$d as PopoverTemplate, PositioningShorthand, ProgressBar, definition$h as ProgressBarDefinition, ProgressBarShapes, ProgressBarThicknesses, ProgressBarValidationStates, Radio, definition$f as RadioDefinition, RadioGroup, definition$g as RadioGroupDefinition, RadioGroupOrientations, RatingDisplay, RatingDisplayColors, definition$e as RatingDisplayDefinition, RatingDisplaySizes, SearchBox, SearchBoxAppearances, SearchBoxControlSizes, definition$d as SearchBoxDefinition, SearchBoxEventNames, ImplicitSubmissionBlockingTypes as SearchBoxImplicitSubmissionBlockingTypes, SearchBoxTypes, SimpleTable, definition$R as SimpleTableDefinition, Slider, definition$c as SliderDefinition, SliderEventNames, SliderModes, SliderOrientations, SliderSizes, SlottableInputs, SortDirections, SpinButton, SpinButtonAppearances, SpinButtonBounds, SpinButtonControlSizes, definition$b as SpinButtonDefinition, SpinButtonEventNames, SpinButtonSpinStates, styles$2 as SpinButtonStyles, template$2 as SpinButtonTemplate, Spinner, SpinnerAppearances, definition$a as SpinnerDefinition, SpinnerSizes, SvgIcon, definition$T as SvgIconDefinition, Switch, definition$9 as SwitchDefinition, Tab, definition$8 as TabDefinition, Table, TableCell, definition$Q as TableCellDefinition, TableCellSizes, styles$e as TableCellStyles, template$b as TableCellTemplate, definition$S as TableDefinition, styles$f as TableStyles, template$c as TableTemplate, Tablist, TablistAppearances, definition$7 as TablistDefinition, TablistEventNames, TablistOrientations, TablistSizes, Tag, TagAppearances, definition$P as TagDefinition, TagEventNames, TagShapes, TagSizes, TagTextSizes, TeachingBubble, definition$O as TeachingBubbleDefinition, TeachingBubbleEventNames, TeachingBubblePlacements, TeachingBubbleSizes, Text, TextAligns, TextArea, TextareaAppearances as TextAreaAppearances, TextareaAppearancesForDisplayShadows as TextAreaAppearancesForDisplayShadows, TextareaAutocompletes as TextAreaAutocompletes, definition$6 as TextAreaDefinition, TextareaResizes as TextAreaResizes, TextareaSizes as TextAreaSizes, definition$4 as TextDefinition, TextFonts, TextInput, TextInputAppearances, TextInputControlSizes, definition$5 as TextInputDefinition, styles$1 as TextInputStyles, template$1 as TextInputTemplate, TextInputTypes, TextSizes, TextWeights, ToggleButton, ToggleButtonAppearances, definition$1 as ToggleButtonDefinition, ToggleButtonFormTargets, ToggleButtonShapes, ToggleButtonSizes, ToggleButtonTypes, Tooltip, definition as TooltipDefinition, TooltipPositioningOptions, Tree, definition$3 as TreeDefinition, TreeItem, definition$2 as TreeItemDefinition, styles as TreeItemStyles, template as TreeItemTemplate, ValidationFlags, Wizard, definition$N as WizardDefinition, WizardEvents, WizardPanel, definition$M as WizardPanelDefinition, WizardPanelEventNames, WizardPanelStates, WizardStep, definition$L as WizardStepDefinition, WizardStepEvents, WizardStepStates, applyMixins, attachMockElementInternals, clamp, composeDefinitions, createRovingFocusController, createUniqueId, debounce, debug, defineCarousel, definePagination, disabledState, expandedState, fromFAST, getDirection, getOptionsFromElement, globalDirectionDetector, inputElementMethods, isActionModifierKey, isDisabledElement, isFocusableElement, isHiddenElement, isOptionGroup, isRtl, styles$3 as optionGroupStyles, template$3 as optionGroupTemplate, precisionRound, roleForMenuGroup, roleForMenuItem, setAttributes, setChildrenFocusability, setGlobalDirectionDetector, staticallyCompose, toggleState, whitespaceFilter };
|
|
12736
|
+
export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, CarouselEventName, CarouselNavButtonPlacement, CarouselNavEventName, CarouselNavPosition, CheckboxShape, CheckboxSize, CollisionEdge, CompoundButtonAppearance, CompoundButtonFormTarget, CompoundButtonShape, CompoundButtonSize, CompoundButtonType, CounterBadgeAppearance, CounterBadgeColor, CounterBadgeShape, CounterBadgeSize, DialogType, DirectionDetectorOptions, DirectionObserver, DirectionOrNull, DirectionStrategy, DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole, DrawerPosition, DrawerSize, DrawerType, DropdownAppearance, DropdownSize, DropdownType, DynamicTabListOrientation, FabricElementDefinition, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemAppearance, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, ModalDismissEventDetail, ModalEventName, ModalMode, MultiViewGroupPosition, OverflowAxisValue, OverflowChangeEventDetail, OverflowDirection, PaginationPageChangeDetail, PaginationVariant, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, RovingFocusController, RovingFocusOptions, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SortDirection, SpinButtonAppearance, SpinButtonBound, SpinButtonControlSize, SpinButtonSpinState, SpinnerAppearance, SpinnerSize, StaticallyComposableHTML, TableCellRenderFunction, TableCellSize, TableColumnData, TableRowData, TablistAppearance, TablistOrientation, TablistSize, TagAppearance, TagShape, TagSize, TagTextSize, TeachingBubblePlacement, TeachingBubbleSize, TextAlign, TextareaAppearance as TextAreaAppearance, TextareaAppearancesForDisplayShadow as TextAreaAppearancesForDisplayShadow, TextareaAutocomplete as TextAreaAutocomplete, TextareaResize as TextAreaResize, TextareaSize as TextAreaSize, TextFont, TextInputAppearance, TextInputControlSize, TextInputOptions, TextInputType, TextSize, TextWeight, ToggleButtonAppearance, ToggleButtonFormTarget, ToggleButtonShape, ToggleButtonSize, ToggleButtonType, TooltipPositioningOption, ValidationFlag, ValuesOf, WizardEvent, WizardPanelState, WizardStepEvent, WizardStepState };
|
|
11654
12737
|
//# sourceMappingURL=index.d.ts.map
|