@fabric-msft/fabric-web 4.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +334 -0
- package/CHANGELOG.md +108 -1
- package/dist/dts/components/accordion-menu/accordion-menu.d.ts +2 -2
- package/dist/dts/components/accordion-menu/accordion-menu.d.ts.map +1 -1
- package/dist/dts/components/accordion-menu/accordion-menu.template.d.ts +1 -1
- package/dist/dts/components/accordion-menu/accordion-menu.template.d.ts.map +1 -1
- package/dist/dts/components/accordion-menu-panel/accordion-menu-panel.d.ts +2 -2
- package/dist/dts/components/accordion-menu-panel/accordion-menu-panel.d.ts.map +1 -1
- package/dist/dts/components/accordion-menu-panel/accordion-menu-panel.template.d.ts +1 -1
- package/dist/dts/components/accordion-menu-panel/accordion-menu-panel.template.d.ts.map +1 -1
- package/dist/dts/components/button/button.d.ts +1 -1
- package/dist/dts/components/button/button.d.ts.map +1 -1
- package/dist/dts/components/card/card.template.d.ts +1 -1
- package/dist/dts/components/card/card.template.d.ts.map +1 -1
- package/dist/dts/components/card-footer/card-footer.template.d.ts +1 -1
- package/dist/dts/components/card-footer/card-footer.template.d.ts.map +1 -1
- package/dist/dts/components/card-header/card-header.template.d.ts +1 -1
- package/dist/dts/components/card-header/card-header.template.d.ts.map +1 -1
- package/dist/dts/components/card-preview/card-preview.template.d.ts +1 -1
- package/dist/dts/components/card-preview/card-preview.template.d.ts.map +1 -1
- package/dist/dts/components/carousel/carousel.template.d.ts +1 -1
- package/dist/dts/components/carousel/carousel.template.d.ts.map +1 -1
- package/dist/dts/components/component-register.d.ts +67 -0
- package/dist/dts/components/component-register.d.ts.map +1 -0
- package/dist/dts/components/compound-button/compound-button.d.ts +1 -1
- package/dist/dts/components/compound-button/compound-button.d.ts.map +1 -1
- package/dist/dts/components/compound-button/compound-button.options.d.ts +1 -1
- package/dist/dts/components/compound-button/compound-button.options.d.ts.map +1 -1
- package/dist/dts/components/counter-badge/counter-badge.definition.d.ts +1 -1
- package/dist/dts/components/counter-badge/counter-badge.definition.d.ts.map +1 -1
- package/dist/dts/components/counter-badge/counter-badge.options.d.ts +64 -0
- package/dist/dts/components/counter-badge/counter-badge.options.d.ts.map +1 -0
- package/dist/dts/components/counter-badge/index.d.ts +4 -3
- package/dist/dts/components/counter-badge/index.d.ts.map +1 -1
- package/dist/dts/components/field/field.d.ts +32 -1
- package/dist/dts/components/field/field.d.ts.map +1 -1
- package/dist/dts/components/filter-pill/filter-pill.d.ts +2 -2
- package/dist/dts/components/filter-pill/filter-pill.d.ts.map +1 -1
- package/dist/dts/components/filter-pill/filter-pill.styles.d.ts.map +1 -1
- package/dist/dts/components/filter-pill/filter-pill.template.d.ts +1 -1
- package/dist/dts/components/filter-pill/filter-pill.template.d.ts.map +1 -1
- package/dist/dts/components/listbox/listbox.d.ts +1 -1
- package/dist/dts/components/listbox/listbox.d.ts.map +1 -1
- package/dist/dts/components/loading-button/loading-button.template.d.ts +1 -1
- package/dist/dts/components/loading-button/loading-button.template.d.ts.map +1 -1
- package/dist/dts/components/menu/menu.d.ts +71 -83
- package/dist/dts/components/menu/menu.d.ts.map +1 -1
- package/dist/dts/components/menu/menu.positioning.d.ts +26 -67
- package/dist/dts/components/menu/menu.positioning.d.ts.map +1 -1
- package/dist/dts/components/menu/menu.styles.d.ts.map +1 -1
- package/dist/dts/components/menu/menu.template.d.ts +1 -1
- package/dist/dts/components/menu/menu.template.d.ts.map +1 -1
- package/dist/dts/components/menu-item/menu-item.d.ts +4 -4
- package/dist/dts/components/menu-item/menu-item.d.ts.map +1 -1
- package/dist/dts/components/menu-list/menu-list.d.ts +1 -1
- package/dist/dts/components/menu-list/menu-list.d.ts.map +1 -1
- package/dist/dts/components/multi-view/multi-view.template.d.ts +1 -1
- package/dist/dts/components/multi-view/multi-view.template.d.ts.map +1 -1
- package/dist/dts/components/multi-view-controller/multi-view-controller.styles.d.ts.map +1 -1
- package/dist/dts/components/multi-view-controller/multi-view-controller.template.d.ts +1 -1
- package/dist/dts/components/multi-view-controller/multi-view-controller.template.d.ts.map +1 -1
- package/dist/dts/components/multi-view-group/multi-view-group.template.d.ts +1 -1
- package/dist/dts/components/multi-view-group/multi-view-group.template.d.ts.map +1 -1
- package/dist/dts/components/option-group/option-group.d.ts +1 -1
- package/dist/dts/components/option-group/option-group.d.ts.map +1 -1
- package/dist/dts/components/option-group/option-group.template.d.ts +1 -1
- package/dist/dts/components/option-group/option-group.template.d.ts.map +1 -1
- package/dist/dts/components/popover/index.d.ts +1 -1
- package/dist/dts/components/popover/index.d.ts.map +1 -1
- package/dist/dts/components/popover/popover.d.ts +53 -74
- package/dist/dts/components/popover/popover.d.ts.map +1 -1
- package/dist/dts/components/popover/popover.definition.d.ts +1 -1
- package/dist/dts/components/popover/popover.definition.d.ts.map +1 -1
- package/dist/dts/components/popover/popover.options.d.ts +25 -10
- package/dist/dts/components/popover/popover.options.d.ts.map +1 -1
- package/dist/dts/components/popover/popover.positioning.d.ts +92 -0
- package/dist/dts/components/popover/popover.positioning.d.ts.map +1 -0
- package/dist/dts/components/popover/popover.styles.d.ts.map +1 -1
- package/dist/dts/components/popover/popover.template.d.ts +1 -1
- package/dist/dts/components/popover/popover.template.d.ts.map +1 -1
- package/dist/dts/components/search-box/index.d.ts +1 -1
- package/dist/dts/components/search-box/index.d.ts.map +1 -1
- package/dist/dts/components/search-box/search-box.d.ts +1 -1
- package/dist/dts/components/search-box/search-box.d.ts.map +1 -1
- package/dist/dts/components/search-box/search-box.options.d.ts.map +1 -1
- package/dist/dts/components/search-box/search-box.template.d.ts +1 -1
- package/dist/dts/components/search-box/search-box.template.d.ts.map +1 -1
- package/dist/dts/components/svg-icon/scripts/sprite-builder.d.ts +1 -1
- package/dist/dts/components/svg-icon/scripts/sprite-builder.d.ts.map +1 -1
- package/dist/dts/components/svg-icon/svg-icon.styles.d.ts.map +1 -1
- package/dist/dts/components/table/index.d.ts +6 -5
- package/dist/dts/components/table/index.d.ts.map +1 -1
- package/dist/dts/components/table/table.d.ts +2 -2
- package/dist/dts/components/table/table.d.ts.map +1 -1
- package/dist/dts/components/table/table.options.d.ts +4 -4
- package/dist/dts/components/table/table.options.d.ts.map +1 -1
- package/dist/dts/components/table/table.styles.d.ts.map +1 -1
- package/dist/dts/components/table/table.template.d.ts +1 -1
- package/dist/dts/components/table/table.template.d.ts.map +1 -1
- package/dist/dts/components/table-cell/index.d.ts +6 -5
- package/dist/dts/components/table-cell/index.d.ts.map +1 -1
- package/dist/dts/components/table-cell/table-cell.options.d.ts +2 -2
- package/dist/dts/components/table-cell/table-cell.options.d.ts.map +1 -1
- package/dist/dts/components/table-cell/table-cell.template.d.ts +1 -1
- package/dist/dts/components/table-cell/table-cell.template.d.ts.map +1 -1
- package/dist/dts/components/tag/tag.d.ts +1 -1
- package/dist/dts/components/tag/tag.d.ts.map +1 -1
- package/dist/dts/components/tag/tag.styles.d.ts.map +1 -1
- package/dist/dts/components/tag/tag.template.d.ts +1 -1
- package/dist/dts/components/tag/tag.template.d.ts.map +1 -1
- package/dist/dts/components/teaching-bubble/index.d.ts +2 -0
- package/dist/dts/components/teaching-bubble/index.d.ts.map +1 -1
- package/dist/dts/components/teaching-bubble/teaching-bubble.d.ts +1 -12
- package/dist/dts/components/teaching-bubble/teaching-bubble.d.ts.map +1 -1
- package/dist/dts/components/teaching-bubble/teaching-bubble.styles.d.ts.map +1 -1
- package/dist/dts/components/teaching-bubble/teaching-bubble.template.d.ts +1 -1
- package/dist/dts/components/teaching-bubble/teaching-bubble.template.d.ts.map +1 -1
- package/dist/dts/components/text/index.d.ts +4 -3
- package/dist/dts/components/text/index.d.ts.map +1 -1
- package/dist/dts/components/text/text.d.ts +3 -3
- package/dist/dts/components/text/text.options.d.ts +35 -0
- package/dist/dts/components/text/text.options.d.ts.map +1 -0
- package/dist/dts/components/text-input/index.d.ts +1 -1
- package/dist/dts/components/text-input/index.d.ts.map +1 -1
- package/dist/dts/components/text-input/text-input.base.d.ts +3 -3
- package/dist/dts/components/text-input/text-input.base.d.ts.map +1 -1
- package/dist/dts/components/text-input/text-input.d.ts.map +1 -1
- package/dist/dts/components/text-input/text-input.styles.d.ts.map +1 -1
- package/dist/dts/components/text-input/text-input.template.d.ts +1 -2
- package/dist/dts/components/text-input/text-input.template.d.ts.map +1 -1
- package/dist/dts/components/textarea/index.d.ts +5 -3
- package/dist/dts/components/textarea/index.d.ts.map +1 -1
- package/dist/dts/components/textarea/textarea.options.d.ts +39 -0
- package/dist/dts/components/textarea/textarea.options.d.ts.map +1 -0
- package/dist/dts/components/tooltip/tooltip.d.ts +27 -0
- package/dist/dts/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/dts/components/tooltip/tooltip.template.d.ts +13 -0
- package/dist/dts/components/tooltip/tooltip.template.d.ts.map +1 -0
- package/dist/dts/components/tree/tree.d.ts +16 -0
- package/dist/dts/components/tree/tree.d.ts.map +1 -1
- package/dist/dts/components/tree-item/index.d.ts +2 -1
- package/dist/dts/components/tree-item/index.d.ts.map +1 -1
- package/dist/dts/components/tree-item/tree-item.definition.d.ts.map +1 -1
- package/dist/dts/components/tree-item/tree-item.styles.d.ts +2 -0
- package/dist/dts/components/tree-item/tree-item.styles.d.ts.map +1 -0
- package/dist/dts/components/tree-item/tree-item.template.d.ts +4 -0
- package/dist/dts/components/tree-item/tree-item.template.d.ts.map +1 -0
- package/dist/dts/components/wizard/index.d.ts +1 -1
- package/dist/dts/components/wizard/index.d.ts.map +1 -1
- package/dist/dts/components/wizard/wizard.d.ts +1 -1
- package/dist/dts/components/wizard/wizard.d.ts.map +1 -1
- package/dist/dts/components/wizard/wizard.template.d.ts +1 -1
- package/dist/dts/components/wizard/wizard.template.d.ts.map +1 -1
- package/dist/dts/components/wizard-panel/wizard-panel.template.d.ts +1 -1
- package/dist/dts/components/wizard-panel/wizard-panel.template.d.ts.map +1 -1
- package/dist/dts/components/wizard-step/index.d.ts +1 -1
- package/dist/dts/components/wizard-step/index.d.ts.map +1 -1
- package/dist/dts/components/wizard-step/wizard-step.d.ts +1 -1
- package/dist/dts/components/wizard-step/wizard-step.d.ts.map +1 -1
- package/dist/dts/components/wizard-step/wizard-step.styles.d.ts.map +1 -1
- package/dist/dts/components/wizard-step/wizard-step.template.d.ts +1 -1
- package/dist/dts/components/wizard-step/wizard-step.template.d.ts.map +1 -1
- package/dist/dts/index.d.ts +20 -13
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/util/accessibility-utilities.d.ts +23 -0
- package/dist/dts/util/accessibility-utilities.d.ts.map +1 -0
- package/dist/dts/util/attribute-utilities.d.ts +9 -0
- package/dist/dts/util/attribute-utilities.d.ts.map +1 -0
- package/dist/dts/util/debounce.d.ts.map +1 -0
- package/dist/dts/util/debug.d.ts +32 -0
- package/dist/dts/util/debug.d.ts.map +1 -0
- package/dist/dts/util/direction.d.ts +193 -0
- package/dist/dts/util/direction.d.ts.map +1 -1
- package/dist/dts/util/dom.d.ts +2 -0
- package/dist/dts/util/dom.d.ts.map +1 -0
- package/dist/dts/util/element-internal-mocks.d.ts +67 -0
- package/dist/dts/util/element-internal-mocks.d.ts.map +1 -0
- package/dist/dts/util/focus-management.d.ts +132 -0
- package/dist/dts/util/focus-management.d.ts.map +1 -0
- package/dist/dts/util/hash-utilities.d.ts +8 -0
- package/dist/dts/util/hash-utilities.d.ts.map +1 -0
- package/dist/dts/util/index.d.ts +13 -6
- package/dist/dts/util/index.d.ts.map +1 -1
- package/dist/dts/util/positioning/flexible-position-strategy.d.ts +87 -0
- package/dist/dts/util/positioning/flexible-position-strategy.d.ts.map +1 -0
- package/dist/dts/util/positioning/index.d.ts +9 -0
- package/dist/dts/util/positioning/index.d.ts.map +1 -0
- package/dist/dts/util/positioning/position-calculator.d.ts +46 -0
- package/dist/dts/util/positioning/position-calculator.d.ts.map +1 -0
- package/dist/dts/util/positioning/types.d.ts +181 -0
- package/dist/dts/util/positioning/types.d.ts.map +1 -0
- package/dist/dts/util/template-helpers.d.ts +2 -1
- package/dist/dts/util/template-helpers.d.ts.map +1 -1
- package/dist/esm/components/accordion-menu/accordion-menu.js +1 -1
- package/dist/esm/components/accordion-menu/accordion-menu.js.map +1 -1
- package/dist/esm/components/accordion-menu/accordion-menu.styles.js +1 -1
- package/dist/esm/components/accordion-menu/accordion-menu.template.js.map +1 -1
- package/dist/esm/components/accordion-menu-panel/accordion-menu-panel.js +3 -2
- package/dist/esm/components/accordion-menu-panel/accordion-menu-panel.js.map +1 -1
- package/dist/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js +3 -2
- package/dist/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js.map +1 -1
- package/dist/esm/components/accordion-menu-panel/accordion-menu-panel.template.js.map +1 -1
- package/dist/esm/components/button/button.js.map +1 -1
- package/dist/esm/components/card/card.js.map +1 -1
- package/dist/esm/components/card/card.styles.js +1 -1
- package/dist/esm/components/card/card.template.js.map +1 -1
- package/dist/esm/components/card-footer/card-footer.styles.js +1 -1
- package/dist/esm/components/card-footer/card-footer.template.js.map +1 -1
- package/dist/esm/components/card-header/card-header.styles.js +1 -1
- package/dist/esm/components/card-header/card-header.template.js.map +1 -1
- package/dist/esm/components/card-preview/card-preview.styles.js +1 -1
- package/dist/esm/components/card-preview/card-preview.template.js.map +1 -1
- package/dist/esm/components/carousel/carousel.js +1 -1
- package/dist/esm/components/carousel/carousel.js.map +1 -1
- package/dist/esm/components/carousel/carousel.styles.js +1 -1
- package/dist/esm/components/carousel/carousel.template.js.map +1 -1
- package/dist/esm/components/component-register.js +67 -0
- package/dist/esm/components/component-register.js.map +1 -0
- package/dist/esm/components/compound-button/compound-button.js.map +1 -1
- package/dist/esm/components/compound-button/compound-button.options.js +1 -1
- package/dist/esm/components/counter-badge/counter-badge.definition.js.map +1 -1
- package/dist/esm/components/counter-badge/counter-badge.options.js +32 -0
- package/dist/esm/components/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/components/counter-badge/define.js +2 -2
- package/dist/esm/components/counter-badge/define.js.map +1 -1
- package/dist/esm/components/counter-badge/index.js +3 -3
- package/dist/esm/components/counter-badge/index.js.map +1 -1
- package/dist/esm/components/field/field.js +68 -1
- package/dist/esm/components/field/field.js.map +1 -1
- package/dist/esm/components/filter-pill/filter-pill.js +1 -1
- package/dist/esm/components/filter-pill/filter-pill.js.map +1 -1
- package/dist/esm/components/filter-pill/filter-pill.options.js +1 -1
- package/dist/esm/components/filter-pill/filter-pill.styles.js +5 -3
- package/dist/esm/components/filter-pill/filter-pill.styles.js.map +1 -1
- package/dist/esm/components/filter-pill/filter-pill.template.js.map +1 -1
- package/dist/esm/components/listbox/listbox.js +1 -1
- package/dist/esm/components/listbox/listbox.js.map +1 -1
- package/dist/esm/components/loading-button/loading-button.js.map +1 -1
- package/dist/esm/components/loading-button/loading-button.template.js +3 -5
- package/dist/esm/components/loading-button/loading-button.template.js.map +1 -1
- package/dist/esm/components/menu/menu.js +159 -230
- package/dist/esm/components/menu/menu.js.map +1 -1
- package/dist/esm/components/menu/menu.options.js +1 -1
- package/dist/esm/components/menu/menu.options.js.map +1 -1
- package/dist/esm/components/menu/menu.positioning.js +98 -201
- package/dist/esm/components/menu/menu.positioning.js.map +1 -1
- package/dist/esm/components/menu/menu.styles.js +2 -2
- package/dist/esm/components/menu/menu.styles.js.map +1 -1
- package/dist/esm/components/menu/menu.template.js.map +1 -1
- package/dist/esm/components/menu-item/menu-item.js +4 -4
- package/dist/esm/components/menu-item/menu-item.js.map +1 -1
- package/dist/esm/components/menu-item/menu-item.styles.js +4 -3
- package/dist/esm/components/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/components/menu-item/menu-item.template.js +1 -0
- package/dist/esm/components/menu-item/menu-item.template.js.map +1 -1
- package/dist/esm/components/menu-list/menu-list.js +1 -1
- package/dist/esm/components/menu-list/menu-list.js.map +1 -1
- package/dist/esm/components/menu-list/menu-list.styles.js +1 -1
- package/dist/esm/components/multi-view/multi-view.styles.js +1 -1
- package/dist/esm/components/multi-view/multi-view.template.js +1 -0
- package/dist/esm/components/multi-view/multi-view.template.js.map +1 -1
- package/dist/esm/components/multi-view-controller/multi-view-controller.styles.js +3 -2
- package/dist/esm/components/multi-view-controller/multi-view-controller.styles.js.map +1 -1
- package/dist/esm/components/multi-view-controller/multi-view-controller.template.js.map +1 -1
- package/dist/esm/components/multi-view-group/multi-view-group.js +1 -0
- package/dist/esm/components/multi-view-group/multi-view-group.js.map +1 -1
- package/dist/esm/components/multi-view-group/multi-view-group.styles.js +1 -1
- package/dist/esm/components/multi-view-group/multi-view-group.template.js.map +1 -1
- package/dist/esm/components/option-group/option-group.js +1 -1
- package/dist/esm/components/option-group/option-group.js.map +1 -1
- package/dist/esm/components/option-group/option-group.template.js.map +1 -1
- package/dist/esm/components/popover/define.js +2 -2
- package/dist/esm/components/popover/define.js.map +1 -1
- package/dist/esm/components/popover/index.js +1 -1
- package/dist/esm/components/popover/index.js.map +1 -1
- package/dist/esm/components/popover/popover.definition.js.map +1 -1
- package/dist/esm/components/popover/popover.js +88 -127
- package/dist/esm/components/popover/popover.js.map +1 -1
- package/dist/esm/components/popover/popover.options.js +13 -10
- package/dist/esm/components/popover/popover.options.js.map +1 -1
- package/dist/esm/components/popover/popover.positioning.js +314 -0
- package/dist/esm/components/popover/popover.positioning.js.map +1 -0
- package/dist/esm/components/popover/popover.styles.js +26 -4
- package/dist/esm/components/popover/popover.styles.js.map +1 -1
- package/dist/esm/components/popover/popover.template.js +1 -2
- package/dist/esm/components/popover/popover.template.js.map +1 -1
- package/dist/esm/components/search-box/index.js +1 -1
- package/dist/esm/components/search-box/index.js.map +1 -1
- package/dist/esm/components/search-box/search-box.js +1 -1
- package/dist/esm/components/search-box/search-box.js.map +1 -1
- package/dist/esm/components/search-box/search-box.options.js +8 -2
- package/dist/esm/components/search-box/search-box.options.js.map +1 -1
- package/dist/esm/components/search-box/search-box.styles.js +3 -2
- package/dist/esm/components/search-box/search-box.styles.js.map +1 -1
- package/dist/esm/components/search-box/search-box.template.js.map +1 -1
- package/dist/esm/components/simple-table/simple-table.styles.js +2 -1
- package/dist/esm/components/svg-icon/scripts/sprite-builder.js.map +1 -1
- package/dist/esm/components/svg-icon/svg-icon.js.map +1 -1
- package/dist/esm/components/svg-icon/svg-icon.styles.js +3 -2
- package/dist/esm/components/svg-icon/svg-icon.styles.js.map +1 -1
- package/dist/esm/components/svg-icon/svg-icon.template.js +1 -0
- package/dist/esm/components/svg-icon/svg-icon.template.js.map +1 -1
- package/dist/esm/components/table/index.js +5 -5
- package/dist/esm/components/table/index.js.map +1 -1
- package/dist/esm/components/table/table.js +1 -1
- package/dist/esm/components/table/table.js.map +1 -1
- package/dist/esm/components/table/table.options.js +2 -2
- package/dist/esm/components/table/table.options.js.map +1 -1
- package/dist/esm/components/table/table.styles.js +3 -2
- package/dist/esm/components/table/table.styles.js.map +1 -1
- package/dist/esm/components/table/table.template.js +3 -3
- package/dist/esm/components/table/table.template.js.map +1 -1
- package/dist/esm/components/table-cell/index.js +5 -5
- package/dist/esm/components/table-cell/index.js.map +1 -1
- package/dist/esm/components/table-cell/table-cell.options.js +2 -2
- package/dist/esm/components/table-cell/table-cell.options.js.map +1 -1
- package/dist/esm/components/table-cell/table-cell.styles.js +2 -2
- package/dist/esm/components/table-cell/table-cell.styles.js.map +1 -1
- package/dist/esm/components/table-cell/table-cell.template.js.map +1 -1
- package/dist/esm/components/tag/tag.js.map +1 -1
- package/dist/esm/components/tag/tag.styles.js +3 -2
- package/dist/esm/components/tag/tag.styles.js.map +1 -1
- package/dist/esm/components/tag/tag.template.js.map +1 -1
- package/dist/esm/components/teaching-bubble/index.js +2 -0
- package/dist/esm/components/teaching-bubble/index.js.map +1 -1
- package/dist/esm/components/teaching-bubble/teaching-bubble.js +7 -22
- package/dist/esm/components/teaching-bubble/teaching-bubble.js.map +1 -1
- package/dist/esm/components/teaching-bubble/teaching-bubble.styles.js +3 -2
- package/dist/esm/components/teaching-bubble/teaching-bubble.styles.js.map +1 -1
- package/dist/esm/components/teaching-bubble/teaching-bubble.template.js +1 -0
- package/dist/esm/components/teaching-bubble/teaching-bubble.template.js.map +1 -1
- package/dist/esm/components/text/define.js +2 -2
- package/dist/esm/components/text/define.js.map +1 -1
- package/dist/esm/components/text/index.js +3 -3
- package/dist/esm/components/text/index.js.map +1 -1
- package/dist/esm/components/text/text.definition.js.map +1 -1
- package/dist/esm/components/text/text.js +3 -3
- package/dist/esm/components/text/text.options.js +16 -0
- package/dist/esm/components/text/text.options.js.map +1 -0
- package/dist/esm/components/text-input/index.js +1 -1
- package/dist/esm/components/text-input/index.js.map +1 -1
- package/dist/esm/components/text-input/text-input.base.js +3 -3
- package/dist/esm/components/text-input/text-input.base.js.map +1 -1
- package/dist/esm/components/text-input/text-input.js +1 -0
- package/dist/esm/components/text-input/text-input.js.map +1 -1
- package/dist/esm/components/text-input/text-input.styles.js +3 -2
- package/dist/esm/components/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/components/text-input/text-input.template.js +2 -3
- package/dist/esm/components/text-input/text-input.template.js.map +1 -1
- package/dist/esm/components/textarea/index.js +4 -3
- package/dist/esm/components/textarea/index.js.map +1 -1
- package/dist/esm/components/textarea/textarea.options.js +22 -0
- package/dist/esm/components/textarea/textarea.options.js.map +1 -0
- package/dist/esm/components/tooltip/tooltip.js +82 -1
- package/dist/esm/components/tooltip/tooltip.js.map +1 -1
- package/dist/esm/components/tooltip/tooltip.template.js +16 -0
- package/dist/esm/components/tooltip/tooltip.template.js.map +1 -0
- package/dist/esm/components/tree/tree.js +38 -1
- package/dist/esm/components/tree/tree.js.map +1 -1
- package/dist/esm/components/tree-item/index.js +2 -1
- package/dist/esm/components/tree-item/index.js.map +1 -1
- package/dist/esm/components/tree-item/tree-item.definition.js +4 -3
- package/dist/esm/components/tree-item/tree-item.definition.js.map +1 -1
- package/dist/esm/components/tree-item/tree-item.styles.js +9 -0
- package/dist/esm/components/tree-item/tree-item.styles.js.map +1 -0
- package/dist/esm/components/tree-item/tree-item.template.js +6 -0
- package/dist/esm/components/tree-item/tree-item.template.js.map +1 -0
- package/dist/esm/components/wizard/index.js.map +1 -1
- package/dist/esm/components/wizard/wizard.js +5 -3
- package/dist/esm/components/wizard/wizard.js.map +1 -1
- package/dist/esm/components/wizard/wizard.styles.js +1 -1
- package/dist/esm/components/wizard/wizard.template.js +2 -1
- package/dist/esm/components/wizard/wizard.template.js.map +1 -1
- package/dist/esm/components/wizard-panel/wizard-panel.styles.js +1 -1
- package/dist/esm/components/wizard-panel/wizard-panel.template.js +1 -0
- package/dist/esm/components/wizard-panel/wizard-panel.template.js.map +1 -1
- package/dist/esm/components/wizard-step/wizard-step.js +1 -1
- package/dist/esm/components/wizard-step/wizard-step.js.map +1 -1
- package/dist/esm/components/wizard-step/wizard-step.styles.js +3 -2
- package/dist/esm/components/wizard-step/wizard-step.styles.js.map +1 -1
- package/dist/esm/components/wizard-step/wizard-step.template.js +1 -0
- package/dist/esm/components/wizard-step/wizard-step.template.js.map +1 -1
- package/dist/esm/components/wizard-step/wizard-step.unit.component.js +1 -0
- package/dist/esm/components/wizard-step/wizard-step.unit.component.js.map +1 -1
- package/dist/esm/index.js +27 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/util/accessibility-utilities.js +40 -0
- package/dist/esm/util/accessibility-utilities.js.map +1 -0
- package/dist/esm/util/attribute-utilities.js +12 -0
- package/dist/esm/util/attribute-utilities.js.map +1 -0
- package/dist/esm/util/debounce.js.map +1 -0
- package/dist/esm/util/debug.js +74 -0
- package/dist/esm/util/debug.js.map +1 -0
- package/dist/esm/util/direction.js +240 -8
- package/dist/esm/util/direction.js.map +1 -1
- package/dist/esm/util/dom.js +3 -0
- package/dist/esm/util/dom.js.map +1 -0
- package/dist/esm/util/element-internal-mocks.js +114 -0
- package/dist/esm/util/element-internal-mocks.js.map +1 -0
- package/dist/esm/util/focus-management.js +247 -0
- package/dist/esm/util/focus-management.js.map +1 -0
- package/dist/esm/util/hash-utilities.js +12 -0
- package/dist/esm/util/hash-utilities.js.map +1 -0
- package/dist/esm/util/index.js +13 -6
- package/dist/esm/util/index.js.map +1 -1
- package/dist/esm/util/positioning/flexible-position-strategy.js +232 -0
- package/dist/esm/util/positioning/flexible-position-strategy.js.map +1 -0
- package/dist/esm/util/positioning/index.js +10 -0
- package/dist/esm/util/positioning/index.js.map +1 -0
- package/dist/esm/util/positioning/position-calculator.js +196 -0
- package/dist/esm/util/positioning/position-calculator.js.map +1 -0
- package/dist/esm/util/positioning/types.js +30 -0
- package/dist/esm/util/positioning/types.js.map +1 -0
- package/dist/esm/util/template-helpers.js.map +1 -1
- package/dist/index.d.ts +904 -270
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15978 -14624
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +137 -112
- package/dist/index.min.js.map +1 -1
- package/package.json +9 -11
- package/dist/component-utilities.js +0 -43
- package/dist/dts/components/popover/positioning.d.ts +0 -51
- package/dist/dts/components/popover/positioning.d.ts.map +0 -1
- package/dist/dts/util/positioning.d.ts +0 -129
- package/dist/dts/util/positioning.d.ts.map +0 -1
- package/dist/dts/utils/debounce.d.ts.map +0 -1
- package/dist/esm/component-utilities.js +0 -13
- package/dist/esm/components/popover/positioning.js +0 -189
- package/dist/esm/components/popover/positioning.js.map +0 -1
- package/dist/esm/util/positioning.js +0 -130
- package/dist/esm/util/positioning.js.map +0 -1
- package/dist/esm/utils/debounce.js.map +0 -1
- /package/dist/dts/{utils → util}/debounce.d.ts +0 -0
- /package/dist/esm/{utils → util}/debounce.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as _microsoft_fast_element from '@microsoft/fast-element';
|
|
2
2
|
import { FASTElement, ElementViewTemplate, ElementStyles, 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, Dialog as Dialog$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, 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
|
-
export { AnchorButtonTemplate, AvatarStyles, AvatarTemplate, BadgeStyles, BadgeTemplate, BaseAccordionItem, BaseAnchor, BaseAvatar, BaseButton, BaseCheckbox, BaseDivider, BaseField, BaseProgressBar, BaseRatingDisplay, BaseSpinner, BaseTablist, BaseTextArea, BaseTextInput, CheckboxOptions, CheckboxStyles, CheckboxTemplate,
|
|
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, Dialog as Dialog$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
|
+
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 { ValuesOf as ValuesOf$1 } from '@microsoft/fast-foundation';
|
|
7
|
-
export { Theme, fabricDarkTheme, fabricLightTheme, setTheme, webDarkTheme, webLightTheme } from '@fabric-msft/theme';
|
|
7
|
+
export { Theme, fabricDarkTheme, fabricLightTheme, setTheme, sizeHorizontalL, sizeHorizontalM, sizeHorizontalMNudge, sizeHorizontalNone, sizeHorizontalS, sizeHorizontalSNudge, sizeHorizontalXL, sizeHorizontalXS, sizeHorizontalXXL, sizeHorizontalXXS, sizeHorizontalXXXL, sizeVerticalL, sizeVerticalM, sizeVerticalMNudge, sizeVerticalNone, sizeVerticalS, sizeVerticalSNudge, sizeVerticalXL, sizeVerticalXS, sizeVerticalXXL, sizeVerticalXXS, sizeVerticalXXXL, webDarkTheme, webLightTheme } from '@fabric-msft/theme';
|
|
8
|
+
import { Direction } from '@microsoft/fast-web-utilities';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Helper for enumerating a type from a const object
|
|
@@ -93,7 +94,7 @@ declare class AccordionMenu extends FASTElement {
|
|
|
93
94
|
* @param prev - The previous value.
|
|
94
95
|
* @param next - The next value.
|
|
95
96
|
*/
|
|
96
|
-
expandmodeChanged(
|
|
97
|
+
expandmodeChanged(_prev: AccordionMenuExpandMode, next: AccordionMenuExpandMode): void;
|
|
97
98
|
/**
|
|
98
99
|
* The slotted accordion menu items.
|
|
99
100
|
* @public
|
|
@@ -136,9 +137,9 @@ declare class AccordionMenu extends FASTElement {
|
|
|
136
137
|
private removeItemListeners;
|
|
137
138
|
}
|
|
138
139
|
|
|
139
|
-
declare const template$
|
|
140
|
+
declare const template$d: ElementViewTemplate<AccordionMenu>;
|
|
140
141
|
|
|
141
|
-
declare const styles$
|
|
142
|
+
declare const styles$g: _microsoft_fast_element.ElementStyles;
|
|
142
143
|
|
|
143
144
|
/**
|
|
144
145
|
*
|
|
@@ -268,7 +269,7 @@ declare class MenuList extends FASTElement {
|
|
|
268
269
|
/**
|
|
269
270
|
* Method for Observable changes to the hidden attribute of child elements
|
|
270
271
|
*/
|
|
271
|
-
handleChange(
|
|
272
|
+
handleChange(_source: unknown, propertyName: string): void;
|
|
272
273
|
/**
|
|
273
274
|
* Handle change from child MenuItem element and set radio group behavior
|
|
274
275
|
*/
|
|
@@ -397,7 +398,7 @@ declare class AccordionMenuPanel extends FASTElement {
|
|
|
397
398
|
* @param prev - previous value
|
|
398
399
|
* @param next - next value
|
|
399
400
|
*/
|
|
400
|
-
disabledChanged(
|
|
401
|
+
disabledChanged(_prev: boolean, next: boolean): void;
|
|
401
402
|
/**
|
|
402
403
|
* The item ID
|
|
403
404
|
*
|
|
@@ -433,7 +434,7 @@ declare class AccordionMenuPanel extends FASTElement {
|
|
|
433
434
|
* @param prev - previous value
|
|
434
435
|
* @param next - next value
|
|
435
436
|
*/
|
|
436
|
-
blockChanged(
|
|
437
|
+
blockChanged(_prev: boolean, next: boolean): void;
|
|
437
438
|
/**
|
|
438
439
|
* Sets expand and collapsed icon position.
|
|
439
440
|
*
|
|
@@ -454,9 +455,9 @@ declare class AccordionMenuPanel extends FASTElement {
|
|
|
454
455
|
* The template for the accordion menu panel component.
|
|
455
456
|
* @public
|
|
456
457
|
*/
|
|
457
|
-
declare const template$
|
|
458
|
+
declare const template$c: ElementViewTemplate<AccordionMenuPanel>;
|
|
458
459
|
|
|
459
|
-
declare const styles$
|
|
460
|
+
declare const styles$f: _microsoft_fast_element.ElementStyles;
|
|
460
461
|
|
|
461
462
|
declare const definition$10: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenuPanel>;
|
|
462
463
|
|
|
@@ -811,9 +812,9 @@ declare const definition$$: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
811
812
|
/** Card styles
|
|
812
813
|
* @public
|
|
813
814
|
*/
|
|
814
|
-
declare const styles$
|
|
815
|
+
declare const styles$e: _microsoft_fast_element.ElementStyles;
|
|
815
816
|
|
|
816
|
-
declare const template$
|
|
817
|
+
declare const template$b: ElementViewTemplate<Card>;
|
|
817
818
|
|
|
818
819
|
/**
|
|
819
820
|
* CardFooter
|
|
@@ -1195,9 +1196,9 @@ declare class Carousel extends FASTElement {
|
|
|
1195
1196
|
*/
|
|
1196
1197
|
declare const definition$X: _microsoft_fast_element.FASTElementDefinition<typeof Carousel>;
|
|
1197
1198
|
|
|
1198
|
-
declare const styles$
|
|
1199
|
+
declare const styles$d: _microsoft_fast_element.ElementStyles;
|
|
1199
1200
|
|
|
1200
|
-
declare const template$
|
|
1201
|
+
declare const template$a: ElementViewTemplate<Carousel>;
|
|
1201
1202
|
|
|
1202
1203
|
/** Appearance values for {@link Button}. */
|
|
1203
1204
|
declare const ButtonAppearances: {
|
|
@@ -1481,7 +1482,7 @@ declare class FilterPill extends Button {
|
|
|
1481
1482
|
* @param {boolean} prev - The previous value of the iconOnly attribute.
|
|
1482
1483
|
* @param {boolean} next - The new value of the iconOnly attribute.
|
|
1483
1484
|
*/
|
|
1484
|
-
iconOnlyChanged(
|
|
1485
|
+
iconOnlyChanged(_prev: boolean, next: boolean): void;
|
|
1485
1486
|
/**
|
|
1486
1487
|
* Handles changes to the appearance attribute.
|
|
1487
1488
|
* @param {FilterPillAppearance | undefined} prev - The previous value of the appearance attribute.
|
|
@@ -2211,8 +2212,12 @@ declare const MultiViewGroupPositions: {
|
|
|
2211
2212
|
type MultiViewGroupPosition = ValuesOf<typeof MultiViewGroupPositions>;
|
|
2212
2213
|
|
|
2213
2214
|
/**
|
|
2214
|
-
*
|
|
2215
|
-
* @
|
|
2215
|
+
* Core types for Angular CDK-inspired positioning engine.
|
|
2216
|
+
* Based on @angular/cdk/overlay positioning strategy.
|
|
2217
|
+
*/
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* Collision edges for boundary detection.
|
|
2216
2221
|
*/
|
|
2217
2222
|
declare const CollisionEdges: {
|
|
2218
2223
|
readonly top: "top";
|
|
@@ -2220,26 +2225,22 @@ declare const CollisionEdges: {
|
|
|
2220
2225
|
readonly bottom: "bottom";
|
|
2221
2226
|
readonly left: "left";
|
|
2222
2227
|
};
|
|
2223
|
-
/**
|
|
2224
|
-
* Collision edge type
|
|
2225
|
-
* @public
|
|
2226
|
-
*/
|
|
2227
2228
|
type CollisionEdge = ValuesOf<typeof CollisionEdges>;
|
|
2228
|
-
/**
|
|
2229
|
-
* Reposition modes for positioned elements
|
|
2230
|
-
* @public
|
|
2231
|
-
*/
|
|
2232
|
-
declare const RepositionModes: {
|
|
2233
|
-
readonly auto: "auto";
|
|
2234
|
-
readonly flip: "flip";
|
|
2235
|
-
readonly none: "none";
|
|
2236
|
-
};
|
|
2237
|
-
/**
|
|
2238
|
-
* Reposition mode type
|
|
2239
|
-
* @public
|
|
2240
|
-
*/
|
|
2241
|
-
type RepositionMode = ValuesOf<typeof RepositionModes>;
|
|
2242
2229
|
|
|
2230
|
+
declare const PositioningShorthands: {
|
|
2231
|
+
readonly aboveEnd: "above-end";
|
|
2232
|
+
readonly aboveCenter: "above-center";
|
|
2233
|
+
readonly aboveStart: "above-start";
|
|
2234
|
+
readonly endBottom: "end-bottom";
|
|
2235
|
+
readonly endMiddle: "end-middle";
|
|
2236
|
+
readonly endTop: "end-top";
|
|
2237
|
+
readonly belowEnd: "below-end";
|
|
2238
|
+
readonly belowCenter: "below-center";
|
|
2239
|
+
readonly belowStart: "below-start";
|
|
2240
|
+
readonly startBottom: "start-bottom";
|
|
2241
|
+
readonly startTop: "start-top";
|
|
2242
|
+
readonly startMiddle: "start-middle";
|
|
2243
|
+
};
|
|
2243
2244
|
declare const PositioningShorthand: {
|
|
2244
2245
|
readonly aboveEnd: "above-end";
|
|
2245
2246
|
readonly aboveCenter: "above-center";
|
|
@@ -2254,17 +2255,18 @@ declare const PositioningShorthand: {
|
|
|
2254
2255
|
readonly startTop: "start-top";
|
|
2255
2256
|
readonly startMiddle: "start-middle";
|
|
2256
2257
|
};
|
|
2258
|
+
type PositioningShorthand = ValuesOf<typeof PositioningShorthands>;
|
|
2257
2259
|
declare const PopoverPositions: ("above-end" | "above-center" | "above-start" | "end-bottom" | "end-middle" | "end-top" | "below-end" | "below-center" | "below-start" | "start-bottom" | "start-top" | "start-middle")[];
|
|
2258
2260
|
type PopoverSize = "small" | "medium" | "large";
|
|
2259
2261
|
type PopoverMode = "manual" | "auto";
|
|
2260
|
-
type PopoverRepositionMode =
|
|
2262
|
+
type PopoverRepositionMode = ValuesOf<typeof PopoverRepositionModes>;
|
|
2261
2263
|
declare const PopoverRepositionModes: {
|
|
2262
2264
|
readonly auto: "auto";
|
|
2263
2265
|
readonly flip: "flip";
|
|
2264
2266
|
readonly none: "none";
|
|
2265
2267
|
};
|
|
2266
|
-
type PositioningShorthandKeys = keyof typeof
|
|
2267
|
-
type PositioningShorthandValues = (typeof
|
|
2268
|
+
type PositioningShorthandKeys = keyof typeof PositioningShorthands;
|
|
2269
|
+
type PositioningShorthandValues = (typeof PositioningShorthands)[keyof typeof PositioningShorthands];
|
|
2268
2270
|
interface HTMLPopoverElement extends HTMLElement {
|
|
2269
2271
|
showPopover: () => void;
|
|
2270
2272
|
hidePopover: () => void;
|
|
@@ -2276,11 +2278,11 @@ interface PopoverEventData {
|
|
|
2276
2278
|
target: HTMLElement;
|
|
2277
2279
|
}
|
|
2278
2280
|
declare const PopoverEventNames: {
|
|
2279
|
-
readonly hide: "
|
|
2280
|
-
readonly show: "
|
|
2281
|
-
readonly toggle: "
|
|
2282
|
-
readonly mouseEnter: "
|
|
2283
|
-
readonly mouseLeave: "
|
|
2281
|
+
readonly hide: "hide-popover";
|
|
2282
|
+
readonly show: "show-popover";
|
|
2283
|
+
readonly toggle: "toggle-popover";
|
|
2284
|
+
readonly mouseEnter: "mouse-enter-popover";
|
|
2285
|
+
readonly mouseLeave: "mouse-leave-popover";
|
|
2284
2286
|
};
|
|
2285
2287
|
|
|
2286
2288
|
/**
|
|
@@ -2301,7 +2303,7 @@ declare const PopoverEventNames: {
|
|
|
2301
2303
|
* @attr {PopoverMode} mode - The mode of the popover. In auto mode, the popover closes when the user clicks outside of it. In manual mode, the popover stays open.
|
|
2302
2304
|
* @attr {PositioningShorthandValues} position - The position of the popover.
|
|
2303
2305
|
* @attr {string} target-id - The ID of the target element.
|
|
2304
|
-
* @attr {PopoverRepositionMode} reposition-mode -
|
|
2306
|
+
* @attr {PopoverRepositionMode} reposition-mode - Controls how the `FlexiblePositionStrategy` selects a fallback when the preferred `position` overflows the boundary. `"flip"` tries only the geometrically opposite position (default). `"auto"` evaluates all 12 positions and picks the one with the most available space. `"none"` disables automatic repositioning.
|
|
2305
2307
|
* @attr {boolean} open - Whether the popover is open.
|
|
2306
2308
|
* @attr {number} transition-duration - The duration of the transition of the popover. The default value is 100.
|
|
2307
2309
|
* @attr {number} transition-delay - The delay of the transition of the popover. The default value is 0.
|
|
@@ -2311,10 +2313,9 @@ declare const PopoverEventNames: {
|
|
|
2311
2313
|
* @prop {ElementStyles | undefined} styles - Stores the CSS variables required for animations.
|
|
2312
2314
|
* @prop {boolean} transitionComplete - Indicates if the transition is complete.
|
|
2313
2315
|
* @prop {PopoverRepositionMode} repositionMode - The mode for repositioning the popover.
|
|
2314
|
-
* @prop {Array<PositioningShorthandValues>} openPositions - The array of open positions based on the collision edge.
|
|
2315
2316
|
* @prop {HTMLPopoverElement | undefined} popoverReference - The reference to the popover element.
|
|
2316
2317
|
* @prop {string | undefined} popoverRole - An optional user-defined role for the popover floating content element.
|
|
2317
|
-
* @prop {HTMLElement | undefined} overflowBoundary -
|
|
2318
|
+
* @prop {HTMLElement | undefined} overflowBoundary - Optional scrolling container used as the collision boundary by `FlexiblePositionStrategy`. When set, overflow is measured against this element instead of the document viewport, and its `scroll` events trigger repositioning. Only relevant when `reposition-mode` is not `"none"`.
|
|
2318
2319
|
*
|
|
2319
2320
|
* @slot popover-trigger - Slot for the popover trigger element.
|
|
2320
2321
|
* @slot popover-content - Slot for the popover content.
|
|
@@ -2335,11 +2336,11 @@ declare const PopoverEventNames: {
|
|
|
2335
2336
|
* @method createPositioningManager - Creates the positioning manager for the popover.
|
|
2336
2337
|
* @method removeEventListeners - Removes event listeners from the popover.
|
|
2337
2338
|
*
|
|
2338
|
-
* @fires hide - Emits when the popover is hidden.
|
|
2339
|
-
* @fires show - Emits when the popover is shown.
|
|
2340
|
-
* @fires toggle - Emits when the popover is toggled.
|
|
2341
|
-
* @fires
|
|
2342
|
-
* @fires
|
|
2339
|
+
* @fires hide-popover - Emits when the popover is hidden.
|
|
2340
|
+
* @fires show-popover - Emits when the popover is shown.
|
|
2341
|
+
* @fires toggle-popover - Emits when the popover is toggled.
|
|
2342
|
+
* @fires mouse-enter-popover - Emits when the mouse enters the popover.
|
|
2343
|
+
* @fires mouse-leave-popover - Emits when the mouse leaves the popover.
|
|
2343
2344
|
*
|
|
2344
2345
|
* @extends FASTElement
|
|
2345
2346
|
* @tagname fabric-popover
|
|
@@ -2391,6 +2392,13 @@ declare class Popover extends FASTElement {
|
|
|
2391
2392
|
* @attr
|
|
2392
2393
|
*/
|
|
2393
2394
|
position: PositioningShorthandValues;
|
|
2395
|
+
/**
|
|
2396
|
+
* Handles changes to the public `position` attribute.
|
|
2397
|
+
* Updates the positioning strategy and triggers a reposition if the
|
|
2398
|
+
* popover is currently open, without closing/reopening.
|
|
2399
|
+
* @public
|
|
2400
|
+
*/
|
|
2401
|
+
positionChanged(): void;
|
|
2394
2402
|
/**
|
|
2395
2403
|
* ## targetId
|
|
2396
2404
|
*
|
|
@@ -2412,9 +2420,9 @@ declare class Popover extends FASTElement {
|
|
|
2412
2420
|
/**
|
|
2413
2421
|
* Handles changes to the anchor references.
|
|
2414
2422
|
* Adds anchor attributes and event listeners when the anchor is added to the DOM.
|
|
2415
|
-
* @
|
|
2423
|
+
* @internal
|
|
2416
2424
|
*/
|
|
2417
|
-
anchorReferencesChanged
|
|
2425
|
+
private anchorReferencesChanged;
|
|
2418
2426
|
/**
|
|
2419
2427
|
* ## styles
|
|
2420
2428
|
* @summary used in the class for storing the css variables required for animations
|
|
@@ -2472,7 +2480,14 @@ declare class Popover extends FASTElement {
|
|
|
2472
2480
|
*/
|
|
2473
2481
|
removeTransitionStyles(): void;
|
|
2474
2482
|
/**
|
|
2475
|
-
* The mode for repositioning the popover
|
|
2483
|
+
* The mode for repositioning the popover via `FlexiblePositionStrategy`.
|
|
2484
|
+
*
|
|
2485
|
+
* - `"flip"` (default) — tries only the geometrically opposite position
|
|
2486
|
+
* (e.g. `above-center` ↔ `below-center`) as a fallback.
|
|
2487
|
+
* - `"auto"` — evaluates all 12 `PositioningShorthand` positions and picks
|
|
2488
|
+
* the one with the most available space.
|
|
2489
|
+
* - `"none"` — disables automatic repositioning; the popover stays at the
|
|
2490
|
+
* declared `position`.
|
|
2476
2491
|
* @public
|
|
2477
2492
|
* @type {PopoverRepositionMode}
|
|
2478
2493
|
* @attr reposition-mode
|
|
@@ -2486,22 +2501,6 @@ declare class Popover extends FASTElement {
|
|
|
2486
2501
|
* @public
|
|
2487
2502
|
*/
|
|
2488
2503
|
repositionModeChanged(): void;
|
|
2489
|
-
/**
|
|
2490
|
-
* ## openPositions
|
|
2491
|
-
*
|
|
2492
|
-
* @summary The array of open positions based on the collision edge.
|
|
2493
|
-
*
|
|
2494
|
-
* @public
|
|
2495
|
-
* @type {Array<PositioningShorthandValues>}
|
|
2496
|
-
* @observable
|
|
2497
|
-
*/
|
|
2498
|
-
openPositions: Array<PositioningShorthandValues>;
|
|
2499
|
-
/**
|
|
2500
|
-
* The original position of the popover before repositioning.
|
|
2501
|
-
* @private
|
|
2502
|
-
* @type {PositioningShorthandValues | undefined}
|
|
2503
|
-
*/
|
|
2504
|
-
private originalPopoverPosition;
|
|
2505
2504
|
/**
|
|
2506
2505
|
* ## open
|
|
2507
2506
|
*
|
|
@@ -2533,7 +2532,11 @@ declare class Popover extends FASTElement {
|
|
|
2533
2532
|
* @observable
|
|
2534
2533
|
*/
|
|
2535
2534
|
popoverReference: HTMLPopoverElement | undefined;
|
|
2536
|
-
|
|
2535
|
+
/**
|
|
2536
|
+
* Handles changes to the popover reference element.
|
|
2537
|
+
* @internal
|
|
2538
|
+
*/
|
|
2539
|
+
private popoverReferenceChanged;
|
|
2537
2540
|
/**
|
|
2538
2541
|
* ## popoverRole
|
|
2539
2542
|
*
|
|
@@ -2549,7 +2552,12 @@ declare class Popover extends FASTElement {
|
|
|
2549
2552
|
*/
|
|
2550
2553
|
private initializeTargetId;
|
|
2551
2554
|
/**
|
|
2552
|
-
*
|
|
2555
|
+
* Optional scrolling container used as the collision boundary by
|
|
2556
|
+
* `FlexiblePositionStrategy`.
|
|
2557
|
+
*
|
|
2558
|
+
* When set, the strategy measures overflow against this element instead of
|
|
2559
|
+
* the document viewport and listens for its `scroll` events to trigger
|
|
2560
|
+
* repositioning. Only relevant when `reposition-mode` is not `"none"`.
|
|
2553
2561
|
* @public
|
|
2554
2562
|
* @type {HTMLElement | undefined}
|
|
2555
2563
|
* @observable
|
|
@@ -2612,11 +2620,6 @@ declare class Popover extends FASTElement {
|
|
|
2612
2620
|
* @private
|
|
2613
2621
|
*/
|
|
2614
2622
|
private removeMouseOverEventListeners;
|
|
2615
|
-
/**
|
|
2616
|
-
* Updates the popover position.
|
|
2617
|
-
* @private
|
|
2618
|
-
*/
|
|
2619
|
-
private updatePopoverPosition;
|
|
2620
2623
|
/**
|
|
2621
2624
|
* ## handleWindowChanges
|
|
2622
2625
|
*
|
|
@@ -2666,28 +2669,14 @@ declare class Popover extends FASTElement {
|
|
|
2666
2669
|
*/
|
|
2667
2670
|
private removeOverlayEventListeners;
|
|
2668
2671
|
/**
|
|
2669
|
-
*
|
|
2670
|
-
*
|
|
2671
|
-
*
|
|
2672
|
-
*
|
|
2673
|
-
*
|
|
2674
|
-
*/
|
|
2675
|
-
private intersectionObserver;
|
|
2676
|
-
/**
|
|
2677
|
-
* ## createOverflowHandler
|
|
2678
|
-
*
|
|
2679
|
-
* @summary handles the overflow of the popover based on the overflowBoundary. Calls handleOverflow when the popover collides with its container or user defined overflowed boundary. Creates the overflow handler based on the overflow boundary.
|
|
2672
|
+
* Checks for overflow and repositions the popover if needed.
|
|
2673
|
+
* Writes the resolved position to a `data-position` attribute on
|
|
2674
|
+
* the internal `.popover` element so shadow-DOM CSS can follow
|
|
2675
|
+
* the repositioned placement without mutating the public `position`
|
|
2676
|
+
* attribute.
|
|
2680
2677
|
* @private
|
|
2681
2678
|
*/
|
|
2682
|
-
private
|
|
2683
|
-
/**
|
|
2684
|
-
* ## handleOverflow
|
|
2685
|
-
*
|
|
2686
|
-
* @summary Repositions the popover when it collides with its container or user defined overflowed boundary. Handles overflow collisions with the popover. Repositions the popover when it collides with its container or defined boundary. Called by the intersectionObserver in createOverflowHandler.
|
|
2687
|
-
* @private
|
|
2688
|
-
* @param {Array<IntersectionObserverEntry>} entries - The entries to observe.
|
|
2689
|
-
*/
|
|
2690
|
-
private handleOverflow;
|
|
2679
|
+
private checkOverflow;
|
|
2691
2680
|
/**
|
|
2692
2681
|
* ## addRepositioningHandlers
|
|
2693
2682
|
*
|
|
@@ -2696,9 +2685,13 @@ declare class Popover extends FASTElement {
|
|
|
2696
2685
|
*/
|
|
2697
2686
|
addRepositioningHandlers(): void;
|
|
2698
2687
|
/**
|
|
2699
|
-
*
|
|
2688
|
+
* Creates a new {@link Positioning} instance that wraps `FlexiblePositionStrategy`
|
|
2689
|
+
* for this popover.
|
|
2700
2690
|
*
|
|
2701
|
-
*
|
|
2691
|
+
* Called every time the popover opens (`openChanged`). Passes the current
|
|
2692
|
+
* `repositionMode`, anchor reference, popover element, optional
|
|
2693
|
+
* `overflowBoundary`, and the `beak` flag so beak-gap offsets are applied
|
|
2694
|
+
* to every candidate position.
|
|
2702
2695
|
* @public
|
|
2703
2696
|
*/
|
|
2704
2697
|
createPositioningManager(): void;
|
|
@@ -2708,24 +2701,12 @@ declare class Popover extends FASTElement {
|
|
|
2708
2701
|
*/
|
|
2709
2702
|
removeEventListeners(): void;
|
|
2710
2703
|
/**
|
|
2711
|
-
*
|
|
2712
|
-
*
|
|
2713
|
-
* @summary cleans the positions that are not allowed. Releases the open positions for the popover. Cleans the positions that are not allowed.
|
|
2714
|
-
* @private
|
|
2715
|
-
*/
|
|
2716
|
-
private releasePositions;
|
|
2717
|
-
/**
|
|
2718
|
-
* ## repositionPopover
|
|
2704
|
+
* Schedules an overflow check via `FlexiblePositionStrategy` on the next
|
|
2705
|
+
* animation frame using `Updates.enqueue()`.
|
|
2719
2706
|
*
|
|
2720
|
-
*
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2723
|
-
*/
|
|
2724
|
-
private repositionPopover;
|
|
2725
|
-
/**
|
|
2726
|
-
* ## observePopoverOverflow
|
|
2727
|
-
*
|
|
2728
|
-
* @summary Disconnects and re-observes the popoverReference for overflow. This is used to reposition the popover in the event that it collides with its container or user defined overflowed boundary. Disconnecting is required to reset the baseline for the intersection observer. This method will be called repeatedly on ui changes like resizing the window or scrolling the overflowBoundary. Observes the popover for overflow. Disconnects and re-observes the popoverReference for overflow.
|
|
2707
|
+
* Coordinates are applied before the popover becomes visible, preventing a
|
|
2708
|
+
* layout flash on open. Also called on every resize and scroll event while
|
|
2709
|
+
* the popover is open.
|
|
2729
2710
|
* @private
|
|
2730
2711
|
*/
|
|
2731
2712
|
private observePopoverOverflow;
|
|
@@ -2734,9 +2715,9 @@ declare class Popover extends FASTElement {
|
|
|
2734
2715
|
|
|
2735
2716
|
declare const definition$Q: _microsoft_fast_element.FASTElementDefinition<typeof Popover>;
|
|
2736
2717
|
|
|
2737
|
-
declare const template$
|
|
2718
|
+
declare const template$9: ElementViewTemplate<Popover>;
|
|
2738
2719
|
|
|
2739
|
-
declare const styles$
|
|
2720
|
+
declare const styles$c: _microsoft_fast_element.ElementStyles;
|
|
2740
2721
|
|
|
2741
2722
|
/**
|
|
2742
2723
|
* SvgIcon
|
|
@@ -2947,7 +2928,7 @@ type TableRowData = {
|
|
|
2947
2928
|
* Expand mode for {@link AccordionMenu}
|
|
2948
2929
|
* @public
|
|
2949
2930
|
*/
|
|
2950
|
-
declare const
|
|
2931
|
+
declare const SortDirections: {
|
|
2951
2932
|
readonly ascending: "ascending";
|
|
2952
2933
|
readonly descending: "descending";
|
|
2953
2934
|
};
|
|
@@ -2955,7 +2936,7 @@ declare const SortDirection: {
|
|
|
2955
2936
|
* Type for the {@link Table} Sort Direction
|
|
2956
2937
|
* @public
|
|
2957
2938
|
*/
|
|
2958
|
-
type SortDirection = ValuesOf<typeof
|
|
2939
|
+
type SortDirection = ValuesOf<typeof SortDirections>;
|
|
2959
2940
|
|
|
2960
2941
|
/**
|
|
2961
2942
|
* Table
|
|
@@ -3117,7 +3098,7 @@ declare class Table extends FASTElement {
|
|
|
3117
3098
|
* @param {string} columnKey - The key of the column to sort by.
|
|
3118
3099
|
* @public
|
|
3119
3100
|
*/
|
|
3120
|
-
sortByColumn(
|
|
3101
|
+
sortByColumn(_event: Event, columnKey: string): void;
|
|
3121
3102
|
/**
|
|
3122
3103
|
* Creates an SVG icon element from an SVG string.
|
|
3123
3104
|
* @param {typeof UP_ARROW | typeof DOWN_ARROW} icon - The SVG string to convert.
|
|
@@ -3206,9 +3187,9 @@ declare class Table extends FASTElement {
|
|
|
3206
3187
|
|
|
3207
3188
|
declare const definition$O: _microsoft_fast_element.FASTElementDefinition<typeof Table>;
|
|
3208
3189
|
|
|
3209
|
-
declare const template$
|
|
3190
|
+
declare const template$8: ElementViewTemplate<Table>;
|
|
3210
3191
|
|
|
3211
|
-
declare const styles$
|
|
3192
|
+
declare const styles$b: _microsoft_fast_element.ElementStyles;
|
|
3212
3193
|
|
|
3213
3194
|
/**
|
|
3214
3195
|
* Simple Table
|
|
@@ -3312,7 +3293,7 @@ declare class TableCell extends FASTElement {
|
|
|
3312
3293
|
* @public
|
|
3313
3294
|
* The size variations for the TableCell component.
|
|
3314
3295
|
*/
|
|
3315
|
-
declare const
|
|
3296
|
+
declare const TableCellSizes: {
|
|
3316
3297
|
readonly small: "small";
|
|
3317
3298
|
readonly medium: "medium";
|
|
3318
3299
|
readonly large: "large";
|
|
@@ -3321,7 +3302,7 @@ declare const TableCellSize: {
|
|
|
3321
3302
|
* @public
|
|
3322
3303
|
* The size types for the TableCell component.
|
|
3323
3304
|
*/
|
|
3324
|
-
type TableCellSize = ValuesOf<typeof
|
|
3305
|
+
type TableCellSize = ValuesOf<typeof TableCellSizes>;
|
|
3325
3306
|
|
|
3326
3307
|
/**
|
|
3327
3308
|
*
|
|
@@ -3331,9 +3312,9 @@ type TableCellSize = ValuesOf<typeof TableCellSize>;
|
|
|
3331
3312
|
*/
|
|
3332
3313
|
declare const definition$M: _microsoft_fast_element.FASTElementDefinition<typeof TableCell>;
|
|
3333
3314
|
|
|
3334
|
-
declare const styles$
|
|
3315
|
+
declare const styles$a: _microsoft_fast_element.ElementStyles;
|
|
3335
3316
|
|
|
3336
|
-
declare const template$
|
|
3317
|
+
declare const template$7: ElementViewTemplate<TableCell>;
|
|
3337
3318
|
|
|
3338
3319
|
/** Size values for {@link Tag}. */
|
|
3339
3320
|
declare const TagSizes: {
|
|
@@ -3684,7 +3665,6 @@ declare const TeachingBubbleEventNames: {
|
|
|
3684
3665
|
* @csspart heading - Style part for the heading inside the teaching bubble.
|
|
3685
3666
|
* @csspart footer - Style part for the footer inside the teaching bubble.
|
|
3686
3667
|
* @csspart arrow - Style part for the arrow of the teaching bubble.
|
|
3687
|
-
* @cssprop --fabric-layer-teaching-bubble - Controls the z-index layering token for the teaching bubble host.
|
|
3688
3668
|
*
|
|
3689
3669
|
* @method show() - Shows the teaching bubble.
|
|
3690
3670
|
* @method hide(dismiss: boolean) - Hides the teaching bubble, optionally dismissing it.
|
|
@@ -3818,16 +3798,6 @@ declare class TeachingBubble extends FASTElement {
|
|
|
3818
3798
|
* @private
|
|
3819
3799
|
*/
|
|
3820
3800
|
private setElements;
|
|
3821
|
-
/**
|
|
3822
|
-
* Emits the dismiss event from the host.
|
|
3823
|
-
* @private
|
|
3824
|
-
*/
|
|
3825
|
-
private emitDismiss;
|
|
3826
|
-
/**
|
|
3827
|
-
* Emits the open-change event from the host.
|
|
3828
|
-
* @private
|
|
3829
|
-
*/
|
|
3830
|
-
private emitOpenChange;
|
|
3831
3801
|
/**
|
|
3832
3802
|
* Updates the position of the teaching bubble.
|
|
3833
3803
|
* @private
|
|
@@ -3934,6 +3904,7 @@ declare const WizardStepEvents: {
|
|
|
3934
3904
|
readonly stepChange: "step-change";
|
|
3935
3905
|
readonly stepSelect: "step-select";
|
|
3936
3906
|
};
|
|
3907
|
+
type WizardStepEvent = ValuesOf<typeof WizardStepEvents>;
|
|
3937
3908
|
|
|
3938
3909
|
/**
|
|
3939
3910
|
* WizardStep
|
|
@@ -4123,7 +4094,7 @@ declare class WizardStep extends FASTElement {
|
|
|
4123
4094
|
* Toggles the active state of the step.
|
|
4124
4095
|
* @public
|
|
4125
4096
|
*/
|
|
4126
|
-
toggleActive(
|
|
4097
|
+
toggleActive(_event?: Event): void;
|
|
4127
4098
|
/**
|
|
4128
4099
|
* Sets the step to a complete state.
|
|
4129
4100
|
* @public
|
|
@@ -4362,7 +4333,7 @@ declare class Wizard extends FASTElement {
|
|
|
4362
4333
|
* @param {string} oldValue - The previous value of the active ID.
|
|
4363
4334
|
* @param {string} newValue - The new value of the active ID.
|
|
4364
4335
|
*/
|
|
4365
|
-
activeidChanged(oldValue: string,
|
|
4336
|
+
activeidChanged(oldValue: string, _newValue: string): void;
|
|
4366
4337
|
/**
|
|
4367
4338
|
* Handles changes to the slotted panels.
|
|
4368
4339
|
* @public
|
|
@@ -4606,6 +4577,7 @@ declare const WizardEvents: {
|
|
|
4606
4577
|
readonly wizardChange: "wizard-change";
|
|
4607
4578
|
readonly wizardComplete: "wizard-complete";
|
|
4608
4579
|
};
|
|
4580
|
+
type WizardEvent = ValuesOf<typeof WizardEvents>;
|
|
4609
4581
|
|
|
4610
4582
|
declare const WizardPanelEventNames: {
|
|
4611
4583
|
readonly panelChange: "panel-change";
|
|
@@ -5333,7 +5305,7 @@ declare const BadgeSize: {
|
|
|
5333
5305
|
*/
|
|
5334
5306
|
declare const definition$C: _microsoft_fast_element.FASTElementDefinition<typeof Badge>;
|
|
5335
5307
|
|
|
5336
|
-
declare const styles$
|
|
5308
|
+
declare const styles$9: _microsoft_fast_element.ElementStyles;
|
|
5337
5309
|
|
|
5338
5310
|
/**
|
|
5339
5311
|
*
|
|
@@ -5440,6 +5412,69 @@ declare const definition$A: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
5440
5412
|
declare class CounterBadge extends CounterBadge$1 {
|
|
5441
5413
|
}
|
|
5442
5414
|
|
|
5415
|
+
/**
|
|
5416
|
+
* Appearances for {@link CounterBadge}.
|
|
5417
|
+
* @public
|
|
5418
|
+
*/
|
|
5419
|
+
declare const CounterBadgeAppearances: {
|
|
5420
|
+
readonly filled: "filled";
|
|
5421
|
+
readonly ghost: "ghost";
|
|
5422
|
+
};
|
|
5423
|
+
/**
|
|
5424
|
+
* Type describing appearance options for {@link CounterBadge}.
|
|
5425
|
+
* @public
|
|
5426
|
+
*/
|
|
5427
|
+
type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearances>;
|
|
5428
|
+
/**
|
|
5429
|
+
* Colors for {@link CounterBadge}.
|
|
5430
|
+
* @public
|
|
5431
|
+
*/
|
|
5432
|
+
declare const CounterBadgeColors: {
|
|
5433
|
+
readonly brand: "brand";
|
|
5434
|
+
readonly danger: "danger";
|
|
5435
|
+
readonly important: "important";
|
|
5436
|
+
readonly informative: "informative";
|
|
5437
|
+
readonly severe: "severe";
|
|
5438
|
+
readonly subtle: "subtle";
|
|
5439
|
+
readonly success: "success";
|
|
5440
|
+
readonly warning: "warning";
|
|
5441
|
+
};
|
|
5442
|
+
/**
|
|
5443
|
+
* Type describing color options for {@link CounterBadge}.
|
|
5444
|
+
* @public
|
|
5445
|
+
*/
|
|
5446
|
+
type CounterBadgeColor = ValuesOf<typeof CounterBadgeColors>;
|
|
5447
|
+
/**
|
|
5448
|
+
* Shapes for {@link CounterBadge}.
|
|
5449
|
+
* @public
|
|
5450
|
+
*/
|
|
5451
|
+
declare const CounterBadgeShapes: {
|
|
5452
|
+
readonly circular: "circular";
|
|
5453
|
+
readonly rounded: "rounded";
|
|
5454
|
+
};
|
|
5455
|
+
/**
|
|
5456
|
+
* Type describing shape options for {@link CounterBadge}.
|
|
5457
|
+
* @public
|
|
5458
|
+
*/
|
|
5459
|
+
type CounterBadgeShape = ValuesOf<typeof CounterBadgeShapes>;
|
|
5460
|
+
/**
|
|
5461
|
+
* Sizes for {@link CounterBadge}.
|
|
5462
|
+
* @public
|
|
5463
|
+
*/
|
|
5464
|
+
declare const CounterBadgeSizes: {
|
|
5465
|
+
readonly tiny: "tiny";
|
|
5466
|
+
readonly extraSmall: "extra-small";
|
|
5467
|
+
readonly small: "small";
|
|
5468
|
+
readonly medium: "medium";
|
|
5469
|
+
readonly large: "large";
|
|
5470
|
+
readonly extraLarge: "extra-large";
|
|
5471
|
+
};
|
|
5472
|
+
/**
|
|
5473
|
+
* Type describing size options for {@link CounterBadge}.
|
|
5474
|
+
* @public
|
|
5475
|
+
*/
|
|
5476
|
+
type CounterBadgeSize = ValuesOf<typeof CounterBadgeSizes>;
|
|
5477
|
+
|
|
5443
5478
|
/**
|
|
5444
5479
|
* The Fabric Counter Badge component.
|
|
5445
5480
|
*
|
|
@@ -5487,7 +5522,7 @@ declare const definition$z: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
5487
5522
|
declare class Dialog extends Dialog$1 {
|
|
5488
5523
|
}
|
|
5489
5524
|
|
|
5490
|
-
declare const styles$
|
|
5525
|
+
declare const styles$8: _microsoft_fast_element.ElementStyles;
|
|
5491
5526
|
|
|
5492
5527
|
/**
|
|
5493
5528
|
* The Fabric Dialog component.
|
|
@@ -5634,13 +5669,13 @@ declare const DividerRoles: {
|
|
|
5634
5669
|
*/
|
|
5635
5670
|
type DividerRole = ValuesOf<typeof DividerRoles>;
|
|
5636
5671
|
|
|
5637
|
-
declare const styles$
|
|
5672
|
+
declare const styles$7: _microsoft_fast_element.ElementStyles;
|
|
5638
5673
|
|
|
5639
5674
|
/**
|
|
5640
5675
|
* Template for the {@link Divider} component.
|
|
5641
5676
|
* @public
|
|
5642
5677
|
*/
|
|
5643
|
-
declare const template$
|
|
5678
|
+
declare const template$6: _microsoft_fast_element.ElementViewTemplate<_fluentui_web_components.Divider, any>;
|
|
5644
5679
|
|
|
5645
5680
|
/**
|
|
5646
5681
|
* The Fabric Divider component.
|
|
@@ -6028,7 +6063,7 @@ declare class Listbox extends Listbox$1 {
|
|
|
6028
6063
|
* @param prev - the previous multiple value
|
|
6029
6064
|
* @param next - the current multiple value
|
|
6030
6065
|
*/
|
|
6031
|
-
multipleChanged(
|
|
6066
|
+
multipleChanged(_prev: boolean | undefined, next: boolean | undefined): void;
|
|
6032
6067
|
}
|
|
6033
6068
|
|
|
6034
6069
|
/**
|
|
@@ -6074,9 +6109,40 @@ declare const definition$r: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
6074
6109
|
* @public
|
|
6075
6110
|
*/
|
|
6076
6111
|
declare class Field extends Field$1 {
|
|
6112
|
+
/**
|
|
6113
|
+
* Sets ARIA and form-related attributes on slotted label elements.
|
|
6114
|
+
* Extends the base implementation to support custom label elements (e.g., fabric-label)
|
|
6115
|
+
* in addition to native HTMLLabelElement.
|
|
6116
|
+
*
|
|
6117
|
+
* @remarks
|
|
6118
|
+
* The base FluentUI implementation only handles native `<label>` elements.
|
|
6119
|
+
* This method ensures that custom elements like `<fabric-label>` are properly
|
|
6120
|
+
* associated with the input via `aria-labelledby`, enabling screen reader support.
|
|
6121
|
+
*
|
|
6122
|
+
* @internal
|
|
6123
|
+
*/
|
|
6124
|
+
private setLabelPropertiesExtended;
|
|
6125
|
+
/**
|
|
6126
|
+
* Updates attributes on the slotted label elements.
|
|
6127
|
+
* Overrides base to add support for custom label elements.
|
|
6128
|
+
*
|
|
6129
|
+
* @param prev - the previous list of slotted label elements
|
|
6130
|
+
* @param next - the current list of slotted label elements
|
|
6131
|
+
* @internal
|
|
6132
|
+
*/
|
|
6133
|
+
labelSlotChanged(prev: Node[], next: Node[]): void;
|
|
6134
|
+
/**
|
|
6135
|
+
* Updates the field's states and label properties when the assigned input changes.
|
|
6136
|
+
* Overrides base to add support for custom label elements.
|
|
6137
|
+
*
|
|
6138
|
+
* @param prev - the previous input
|
|
6139
|
+
* @param next - the current input
|
|
6140
|
+
* @internal
|
|
6141
|
+
*/
|
|
6142
|
+
inputChanged(prev: SlottableInput$1 | undefined, next: SlottableInput$1 | undefined): void;
|
|
6077
6143
|
}
|
|
6078
6144
|
|
|
6079
|
-
declare const styles$
|
|
6145
|
+
declare const styles$6: _microsoft_fast_element.ElementStyles;
|
|
6080
6146
|
|
|
6081
6147
|
/**
|
|
6082
6148
|
* Label position values exposed by {@link Field}.
|
|
@@ -6642,7 +6708,7 @@ declare class MenuItem extends FASTElement {
|
|
|
6642
6708
|
* @param prev - the previous state
|
|
6643
6709
|
* @param next - the next state
|
|
6644
6710
|
*/
|
|
6645
|
-
disabledChanged(
|
|
6711
|
+
disabledChanged(_prev: boolean | undefined, next: boolean | undefined): void;
|
|
6646
6712
|
/**
|
|
6647
6713
|
* The role of the element.
|
|
6648
6714
|
*
|
|
@@ -6656,7 +6722,7 @@ declare class MenuItem extends FASTElement {
|
|
|
6656
6722
|
* @param prev - the previous state
|
|
6657
6723
|
* @param next - the next state
|
|
6658
6724
|
*/
|
|
6659
|
-
roleChanged(
|
|
6725
|
+
roleChanged(_prev: MenuItemRole | undefined, next: MenuItemRole | undefined): void;
|
|
6660
6726
|
/**
|
|
6661
6727
|
* The checked value of the element.
|
|
6662
6728
|
*
|
|
@@ -6670,7 +6736,7 @@ declare class MenuItem extends FASTElement {
|
|
|
6670
6736
|
* @param prev - the previous state
|
|
6671
6737
|
* @param next - the next state
|
|
6672
6738
|
*/
|
|
6673
|
-
protected checkedChanged(
|
|
6739
|
+
protected checkedChanged(_prev: boolean, next: boolean): void;
|
|
6674
6740
|
/**
|
|
6675
6741
|
* The hidden attribute.
|
|
6676
6742
|
*
|
|
@@ -6690,7 +6756,7 @@ declare class MenuItem extends FASTElement {
|
|
|
6690
6756
|
*
|
|
6691
6757
|
* @internal
|
|
6692
6758
|
*/
|
|
6693
|
-
protected slottedSubmenuChanged(
|
|
6759
|
+
protected slottedSubmenuChanged(_prev: HTMLElement[] | undefined, next: HTMLElement[]): void;
|
|
6694
6760
|
/**
|
|
6695
6761
|
* @public
|
|
6696
6762
|
*/
|
|
@@ -6774,9 +6840,9 @@ type MenuItemColumnCount = 0 | 1 | 2;
|
|
|
6774
6840
|
/** MenuItem styles
|
|
6775
6841
|
* @public
|
|
6776
6842
|
*/
|
|
6777
|
-
declare const styles$
|
|
6843
|
+
declare const styles$5: _microsoft_fast_element.ElementStyles;
|
|
6778
6844
|
|
|
6779
|
-
declare const template$
|
|
6845
|
+
declare const template$5: ElementViewTemplate<MenuItem>;
|
|
6780
6846
|
|
|
6781
6847
|
/**
|
|
6782
6848
|
*
|
|
@@ -6789,9 +6855,9 @@ declare const definition$k: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
6789
6855
|
/** MenuList styles
|
|
6790
6856
|
* @public
|
|
6791
6857
|
*/
|
|
6792
|
-
declare const styles$
|
|
6858
|
+
declare const styles$4: _microsoft_fast_element.ElementStyles;
|
|
6793
6859
|
|
|
6794
|
-
declare const template$
|
|
6860
|
+
declare const template$4: ElementViewTemplate<MenuList>;
|
|
6795
6861
|
|
|
6796
6862
|
/**
|
|
6797
6863
|
*
|
|
@@ -6832,6 +6898,12 @@ type MenuRepositionMode = ValuesOf<typeof MenuRepositionModes>;
|
|
|
6832
6898
|
* Menu
|
|
6833
6899
|
* @summary A Menu component that provides an interactive menu interface with support for various trigger and open behaviors.
|
|
6834
6900
|
*
|
|
6901
|
+
* When `reposition-mode="auto"` is set the component creates a {@link MenuPositioning} manager backed by
|
|
6902
|
+
* `FlexiblePositionStrategy`. On every open/resize/scroll cycle the strategy measures available space, picks
|
|
6903
|
+
* the best-fitting position from the preferred position plus its fallbacks, and resizes the menu if there is
|
|
6904
|
+
* not enough available space. Supply `overflowBoundary` to scope collision detection to a specific scrolling
|
|
6905
|
+
* container instead of the viewport.
|
|
6906
|
+
*
|
|
6835
6907
|
* @example
|
|
6836
6908
|
* ```html
|
|
6837
6909
|
* <fabric-menu open-on-hover="true" open-on-context="true" close-on-scroll="true" persist-on-item-click="true">
|
|
@@ -6849,8 +6921,10 @@ type MenuRepositionMode = ValuesOf<typeof MenuRepositionModes>;
|
|
|
6849
6921
|
* @attr {boolean | undefined} close-on-scroll - Determines if the menu should close on scroll.
|
|
6850
6922
|
* @attr {boolean | undefined} persist-on-item-click - Determines if the menu open state should persist on click of a menu item.
|
|
6851
6923
|
* @attr {boolean | undefined} split - Determines if the menu is in split state (for split button pattern).
|
|
6852
|
-
* @attr {MenuPosition | undefined} menu-position - Determines whether the menu list is above or below the trigger.
|
|
6853
|
-
* @attr {MenuRepositionMode | undefined} reposition-mode -
|
|
6924
|
+
* @attr {MenuPosition | undefined} menu-position - Determines whether the menu list is above or below the trigger. Defaults to `"below"`.
|
|
6925
|
+
* @attr {MenuRepositionMode | undefined} reposition-mode - Controls JS-based repositioning. `"auto"` enables
|
|
6926
|
+
* `FlexiblePositionStrategy` which detects collisions and flips the menu to the best-fitting position on
|
|
6927
|
+
* every resize/scroll cycle. `"none"` (default) disables JS repositioning and relies on CSS anchored positioning.
|
|
6854
6928
|
*
|
|
6855
6929
|
* @prop {boolean | undefined} openOnHover - Determines if the menu should open on hover.
|
|
6856
6930
|
* @prop {boolean | undefined} openOnContext - Determines if the menu should open on right click.
|
|
@@ -6859,9 +6933,12 @@ type MenuRepositionMode = ValuesOf<typeof MenuRepositionModes>;
|
|
|
6859
6933
|
* @prop {boolean | undefined} split - Determines if the menu is in split state.
|
|
6860
6934
|
* @prop {MenuList[]} slottedMenuList - Holds the slotted menu list.
|
|
6861
6935
|
* @prop {HTMLElement[]} slottedTriggers - Holds the slotted triggers.
|
|
6862
|
-
* @prop {MenuPosition | undefined} menuPosition -
|
|
6863
|
-
*
|
|
6864
|
-
* @prop {
|
|
6936
|
+
* @prop {MenuPosition | undefined} menuPosition - Reflects the active resolved position (`"above"` or `"below"`). May
|
|
6937
|
+
* differ from the authored `menu-position` attribute when `reposition-mode="auto"` has flipped the menu.
|
|
6938
|
+
* @prop {MenuRepositionMode | undefined} repositionMode - The active repositioning mode (`"auto"` | `"none"`).
|
|
6939
|
+
* @prop {HTMLElement | undefined} overflowBoundary - An optional scrolling container used by the
|
|
6940
|
+
* `FlexiblePositionStrategy` as the collision boundary instead of the viewport. Only relevant when
|
|
6941
|
+
* `reposition-mode="auto"`.
|
|
6865
6942
|
*
|
|
6866
6943
|
* @slot primary-action - Slot for the primary action element (used when split is true).
|
|
6867
6944
|
* @slot trigger - Slot for the trigger element.
|
|
@@ -6891,21 +6968,6 @@ declare class Menu extends FASTElement {
|
|
|
6891
6968
|
* @private
|
|
6892
6969
|
*/
|
|
6893
6970
|
private positioning;
|
|
6894
|
-
/**
|
|
6895
|
-
* The intersection observer for tracking overflow.
|
|
6896
|
-
* @private
|
|
6897
|
-
*/
|
|
6898
|
-
private intersectionObserver;
|
|
6899
|
-
/**
|
|
6900
|
-
* The original position before repositioning.
|
|
6901
|
-
* @private
|
|
6902
|
-
*/
|
|
6903
|
-
private originalMenuPosition;
|
|
6904
|
-
/**
|
|
6905
|
-
* The array of open positions based on collision detection.
|
|
6906
|
-
* @private
|
|
6907
|
-
*/
|
|
6908
|
-
private openPositions;
|
|
6909
6971
|
/**
|
|
6910
6972
|
* Determines if the menu should open on hover.
|
|
6911
6973
|
* @public
|
|
@@ -6936,14 +6998,34 @@ declare class Menu extends FASTElement {
|
|
|
6936
6998
|
* @public
|
|
6937
6999
|
*/
|
|
6938
7000
|
menuPosition?: MenuPosition;
|
|
7001
|
+
/**
|
|
7002
|
+
* Handles changes to the menuPosition attribute.
|
|
7003
|
+
* Updates the positioning strategy and triggers a reposition if
|
|
7004
|
+
* the menu is currently open, without mutating the public attribute.
|
|
7005
|
+
* @public
|
|
7006
|
+
*/
|
|
7007
|
+
menuPositionChanged(): void;
|
|
6939
7008
|
/**
|
|
6940
7009
|
* The mode for repositioning the menu when it overflows the boundary.
|
|
7010
|
+
*
|
|
7011
|
+
* - `"none"` (default) — no JS-based repositioning; positioning is handled entirely by CSS anchored positioning.
|
|
7012
|
+
* - `"auto"` — enables `FlexiblePositionStrategy`. On every open, resize, and scroll event the strategy
|
|
7013
|
+
* measures available space, picks the best-fitting position from the preferred position plus its fallbacks,
|
|
7014
|
+
* and re-applies layout. When the chosen position is `"above"`, bottom-anchored positioning keeps the
|
|
7015
|
+
* menu's bottom edge pinned to the anchor's top edge so that height constraints shrink it upward.
|
|
7016
|
+
*
|
|
6941
7017
|
* @public
|
|
6942
|
-
* @default "
|
|
7018
|
+
* @default "none"
|
|
6943
7019
|
*/
|
|
6944
7020
|
repositionMode?: MenuRepositionMode;
|
|
6945
7021
|
/**
|
|
6946
|
-
*
|
|
7022
|
+
* An optional scrolling container used as the collision boundary by `FlexiblePositionStrategy`.
|
|
7023
|
+
* When provided, the strategy measures overflow against this element's viewport instead of the
|
|
7024
|
+
* document viewport. Only takes effect when `reposition-mode="auto"`.
|
|
7025
|
+
*
|
|
7026
|
+
* Scroll events on this element are listened to and trigger a debounced reposition while the menu
|
|
7027
|
+
* is open.
|
|
7028
|
+
*
|
|
6947
7029
|
* @public
|
|
6948
7030
|
*/
|
|
6949
7031
|
overflowBoundary?: HTMLElement;
|
|
@@ -6957,6 +7039,16 @@ declare class Menu extends FASTElement {
|
|
|
6957
7039
|
* @public
|
|
6958
7040
|
*/
|
|
6959
7041
|
slottedTriggers: HTMLElement[];
|
|
7042
|
+
/**
|
|
7043
|
+
* Handles menu list slot changes.
|
|
7044
|
+
* @internal
|
|
7045
|
+
*/
|
|
7046
|
+
private slottedMenuListChanged;
|
|
7047
|
+
/**
|
|
7048
|
+
* Handles trigger slot changes.
|
|
7049
|
+
* @internal
|
|
7050
|
+
*/
|
|
7051
|
+
private slottedTriggersChanged;
|
|
6960
7052
|
/**
|
|
6961
7053
|
* Defines whether the menu is open or not.
|
|
6962
7054
|
* @internal
|
|
@@ -6968,61 +7060,37 @@ declare class Menu extends FASTElement {
|
|
|
6968
7060
|
*/
|
|
6969
7061
|
private _trigger?;
|
|
6970
7062
|
/**
|
|
6971
|
-
* The menu list element of the menu
|
|
7063
|
+
* The menu list element of the menu.
|
|
6972
7064
|
* @internal
|
|
6973
7065
|
*/
|
|
6974
7066
|
private _menuList?;
|
|
6975
7067
|
/**
|
|
6976
|
-
*
|
|
6977
|
-
* Note: When a custom overflowBoundary is set, we use direct rect calculations
|
|
6978
|
-
* instead because popovers render in the top layer and IntersectionObserver
|
|
6979
|
-
* with a custom root won't work correctly.
|
|
7068
|
+
* Updates menu list open state and ARIA expanded.
|
|
6980
7069
|
* @private
|
|
6981
7070
|
*/
|
|
6982
|
-
private
|
|
7071
|
+
private setMenuOpenState;
|
|
6983
7072
|
/**
|
|
6984
|
-
*
|
|
6985
|
-
* Delegates to MenuPositioning for the actual calculation.
|
|
7073
|
+
* Internal open handler used by multiple entry points.
|
|
6986
7074
|
* @private
|
|
6987
7075
|
*/
|
|
6988
|
-
private
|
|
7076
|
+
private openMenuInternal;
|
|
6989
7077
|
/**
|
|
6990
|
-
*
|
|
7078
|
+
* Internal close handler used by multiple entry points.
|
|
6991
7079
|
* @private
|
|
6992
7080
|
*/
|
|
6993
|
-
private
|
|
7081
|
+
private closeMenuInternal;
|
|
6994
7082
|
/**
|
|
6995
|
-
*
|
|
6996
|
-
* @private
|
|
6997
|
-
*/
|
|
6998
|
-
private applyHeightConstraint;
|
|
6999
|
-
/**
|
|
7000
|
-
* Clears height constraint from the menu.
|
|
7001
|
-
* @private
|
|
7002
|
-
*/
|
|
7003
|
-
private clearHeightConstraint;
|
|
7004
|
-
/**
|
|
7005
|
-
* Repositions the menu based on collisions.
|
|
7083
|
+
* Delegates resize + flip logic to the positioning strategy.
|
|
7006
7084
|
* @private
|
|
7007
7085
|
*/
|
|
7008
7086
|
private repositionMenu;
|
|
7009
7087
|
/**
|
|
7010
|
-
*
|
|
7011
|
-
* @private
|
|
7012
|
-
*/
|
|
7013
|
-
private releasePositions;
|
|
7014
|
-
/**
|
|
7015
|
-
* Observes the menu for overflow.
|
|
7016
|
-
* @private
|
|
7017
|
-
*/
|
|
7018
|
-
private observeMenuOverflow;
|
|
7019
|
-
/**
|
|
7020
|
-
* Updates the menu position on window changes.
|
|
7088
|
+
* Schedules a reposition on the next microtask.
|
|
7021
7089
|
* @private
|
|
7022
7090
|
*/
|
|
7023
|
-
private
|
|
7091
|
+
private scheduleReposition;
|
|
7024
7092
|
/**
|
|
7025
|
-
* Debounced handler for window changes.
|
|
7093
|
+
* Debounced handler for window resize/scroll changes.
|
|
7026
7094
|
* @private
|
|
7027
7095
|
*/
|
|
7028
7096
|
private handleWindowChanges;
|
|
@@ -7071,11 +7139,6 @@ declare class Menu extends FASTElement {
|
|
|
7071
7139
|
* @public
|
|
7072
7140
|
*/
|
|
7073
7141
|
setComponent(): void;
|
|
7074
|
-
/**
|
|
7075
|
-
* Sets the menu position.
|
|
7076
|
-
* @public
|
|
7077
|
-
*/
|
|
7078
|
-
setMenuPosition(): void;
|
|
7079
7142
|
/**
|
|
7080
7143
|
* Toggles the open state of the menu.
|
|
7081
7144
|
* @public
|
|
@@ -7101,13 +7164,6 @@ declare class Menu extends FASTElement {
|
|
|
7101
7164
|
* @public
|
|
7102
7165
|
*/
|
|
7103
7166
|
focusTrigger(): void;
|
|
7104
|
-
/**
|
|
7105
|
-
* Handles the 'toggle' event on the popover.
|
|
7106
|
-
* @public
|
|
7107
|
-
* @param e - the event
|
|
7108
|
-
* @returns void
|
|
7109
|
-
*/
|
|
7110
|
-
toggleHandler: (e: Event | ToggleEvent) => void;
|
|
7111
7167
|
/**
|
|
7112
7168
|
* Called whenever the 'openOnHover' property changes.
|
|
7113
7169
|
*
|
|
@@ -7115,7 +7171,7 @@ declare class Menu extends FASTElement {
|
|
|
7115
7171
|
* @param newValue - The new value of 'openOnHover'.
|
|
7116
7172
|
* @public
|
|
7117
7173
|
*/
|
|
7118
|
-
openOnHoverChanged(
|
|
7174
|
+
openOnHoverChanged(_oldValue: boolean, newValue: boolean): void;
|
|
7119
7175
|
/**
|
|
7120
7176
|
* Called whenever the 'persistOnItemClick' property changes.
|
|
7121
7177
|
*
|
|
@@ -7123,23 +7179,21 @@ declare class Menu extends FASTElement {
|
|
|
7123
7179
|
* @param oldValue - The previous value of 'persistOnItemClick'.
|
|
7124
7180
|
* @param newValue - The new value of 'persistOnItemClick'.
|
|
7125
7181
|
*/
|
|
7126
|
-
persistOnItemClickChanged(
|
|
7182
|
+
persistOnItemClickChanged(_oldValue: boolean, newValue: boolean): void;
|
|
7127
7183
|
/**
|
|
7128
|
-
* Called whenever the '
|
|
7184
|
+
* Called whenever the 'repositionMode' property changes.
|
|
7129
7185
|
*
|
|
7130
|
-
* @param oldValue - The previous value of 'menuPosition'.
|
|
7131
|
-
* @param newValue - The new value of 'menuPosition'.
|
|
7132
7186
|
* @public
|
|
7187
|
+
* @param oldValue - The previous value of 'repositionMode'.
|
|
7188
|
+
* @param newValue - The new value of 'repositionMode'.
|
|
7133
7189
|
*/
|
|
7134
|
-
|
|
7190
|
+
repositionModeChanged(_oldValue: MenuRepositionMode, newValue: MenuRepositionMode): void;
|
|
7135
7191
|
/**
|
|
7136
|
-
* Called whenever the '
|
|
7192
|
+
* Called whenever the 'overflowBoundary' property changes.
|
|
7137
7193
|
*
|
|
7138
7194
|
* @public
|
|
7139
|
-
* @param oldValue - The previous value of 'repositionMode'.
|
|
7140
|
-
* @param newValue - The new value of 'repositionMode'.
|
|
7141
7195
|
*/
|
|
7142
|
-
|
|
7196
|
+
overflowBoundaryChanged(oldValue: HTMLElement | undefined, newValue: HTMLElement | undefined): void;
|
|
7143
7197
|
/**
|
|
7144
7198
|
* Called whenever the 'openOnContext' property changes.
|
|
7145
7199
|
*
|
|
@@ -7147,7 +7201,7 @@ declare class Menu extends FASTElement {
|
|
|
7147
7201
|
* @param oldValue - The previous value of 'openOnContext'.
|
|
7148
7202
|
* @param newValue - The new value of 'openOnContext'.
|
|
7149
7203
|
*/
|
|
7150
|
-
openOnContextChanged(
|
|
7204
|
+
openOnContextChanged(_oldValue: boolean, newValue: boolean): void;
|
|
7151
7205
|
/**
|
|
7152
7206
|
* Called whenever the 'closeOnScroll' property changes.
|
|
7153
7207
|
*
|
|
@@ -7155,7 +7209,7 @@ declare class Menu extends FASTElement {
|
|
|
7155
7209
|
* @param oldValue - The previous value of 'closeOnScroll'.
|
|
7156
7210
|
* @param newValue - The new value of 'closeOnScroll'.
|
|
7157
7211
|
*/
|
|
7158
|
-
closeOnScrollChanged(
|
|
7212
|
+
closeOnScrollChanged(_oldValue: boolean, newValue: boolean): void;
|
|
7159
7213
|
/**
|
|
7160
7214
|
* Adds event listeners.
|
|
7161
7215
|
*
|
|
@@ -7183,7 +7237,7 @@ declare class Menu extends FASTElement {
|
|
|
7183
7237
|
*/
|
|
7184
7238
|
triggerKeydownHandler: (e: KeyboardEvent) => boolean | void;
|
|
7185
7239
|
/**
|
|
7186
|
-
* Handles document click events to close
|
|
7240
|
+
* Handles document click events to close the menu when clicking outside (light dismiss).
|
|
7187
7241
|
* @internal
|
|
7188
7242
|
* @param e - The event triggered on document click.
|
|
7189
7243
|
*/
|
|
@@ -7201,9 +7255,9 @@ declare const definition$i: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
7201
7255
|
/** Menu styles
|
|
7202
7256
|
* @public
|
|
7203
7257
|
*/
|
|
7204
|
-
declare const styles$
|
|
7258
|
+
declare const styles$3: _microsoft_fast_element.ElementStyles;
|
|
7205
7259
|
|
|
7206
|
-
declare const template$
|
|
7260
|
+
declare const template$3: ElementViewTemplate<Menu>;
|
|
7207
7261
|
|
|
7208
7262
|
/**
|
|
7209
7263
|
* OptionGroup
|
|
@@ -7281,7 +7335,7 @@ declare class OptionGroup extends FASTElement {
|
|
|
7281
7335
|
* @param next - The new disabled state.
|
|
7282
7336
|
* @internal
|
|
7283
7337
|
*/
|
|
7284
|
-
disabledChanged(
|
|
7338
|
+
disabledChanged(_prev: boolean | undefined, next: boolean | undefined): void;
|
|
7285
7339
|
connectedCallback(): void;
|
|
7286
7340
|
/**
|
|
7287
7341
|
* Handles changes to the label attribute.
|
|
@@ -7308,9 +7362,9 @@ declare const definition$h: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
7308
7362
|
*
|
|
7309
7363
|
* @public
|
|
7310
7364
|
*/
|
|
7311
|
-
declare const styles$
|
|
7365
|
+
declare const styles$2: _microsoft_fast_element.ElementStyles;
|
|
7312
7366
|
|
|
7313
|
-
declare const template$
|
|
7367
|
+
declare const template$2: ElementViewTemplate<OptionGroup>;
|
|
7314
7368
|
|
|
7315
7369
|
/**
|
|
7316
7370
|
* Predicate function that determines if the element should be considered an option group.
|
|
@@ -7618,6 +7672,12 @@ declare const TextInputTypes: {
|
|
|
7618
7672
|
readonly url: "url";
|
|
7619
7673
|
};
|
|
7620
7674
|
type TextInputType = ValuesOf<typeof TextInputTypes>;
|
|
7675
|
+
/**
|
|
7676
|
+
* Input types that block implicit form submission.
|
|
7677
|
+
*
|
|
7678
|
+
* @public
|
|
7679
|
+
*/
|
|
7680
|
+
declare const ImplicitSubmissionBlockingTypes$1: string[];
|
|
7621
7681
|
|
|
7622
7682
|
/**
|
|
7623
7683
|
* A Text Input Custom HTML Element.
|
|
@@ -7665,7 +7725,7 @@ declare class BaseTextInput extends FASTElement {
|
|
|
7665
7725
|
*
|
|
7666
7726
|
* @internal
|
|
7667
7727
|
*/
|
|
7668
|
-
currentValueChanged(
|
|
7728
|
+
currentValueChanged(_prev: string, next: string): void;
|
|
7669
7729
|
/**
|
|
7670
7730
|
* The default slotted content. This is the content that appears in the text field label.
|
|
7671
7731
|
*
|
|
@@ -7677,7 +7737,7 @@ declare class BaseTextInput extends FASTElement {
|
|
|
7677
7737
|
*
|
|
7678
7738
|
* @internal
|
|
7679
7739
|
*/
|
|
7680
|
-
defaultSlottedNodesChanged(
|
|
7740
|
+
defaultSlottedNodesChanged(_prev: Node[] | undefined, next: Node[] | undefined): void;
|
|
7681
7741
|
/**
|
|
7682
7742
|
* Sets the directionality of the element to be submitted with form data.
|
|
7683
7743
|
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/dirname | `dirname`} attribute
|
|
@@ -7811,7 +7871,7 @@ declare class BaseTextInput extends FASTElement {
|
|
|
7811
7871
|
*
|
|
7812
7872
|
* @internal
|
|
7813
7873
|
*/
|
|
7814
|
-
requiredChanged(
|
|
7874
|
+
requiredChanged(_previous: boolean, next: boolean): void;
|
|
7815
7875
|
/**
|
|
7816
7876
|
* Sets the width of the element to a specified number of characters.
|
|
7817
7877
|
*
|
|
@@ -8220,7 +8280,7 @@ declare class SearchBox extends TextInput {
|
|
|
8220
8280
|
*
|
|
8221
8281
|
* @internal
|
|
8222
8282
|
*/
|
|
8223
|
-
currentValueChanged(
|
|
8283
|
+
currentValueChanged(_prev: string, next: string): void;
|
|
8224
8284
|
/**
|
|
8225
8285
|
* Clear the search box value
|
|
8226
8286
|
* @method
|
|
@@ -8284,6 +8344,12 @@ declare const SearchBoxTypes: {
|
|
|
8284
8344
|
readonly url: "url";
|
|
8285
8345
|
};
|
|
8286
8346
|
type SearchBoxType = ValuesOf<typeof SearchBoxTypes>;
|
|
8347
|
+
/**
|
|
8348
|
+
* Input types that block implicit form submission.
|
|
8349
|
+
*
|
|
8350
|
+
* @public
|
|
8351
|
+
*/
|
|
8352
|
+
declare const ImplicitSubmissionBlockingTypes: string[];
|
|
8287
8353
|
/**
|
|
8288
8354
|
* SearchBox event names.
|
|
8289
8355
|
*
|
|
@@ -8710,17 +8776,54 @@ declare class TextArea extends TextArea$1 {
|
|
|
8710
8776
|
*/
|
|
8711
8777
|
declare const definition$6: _microsoft_fast_element.FASTElementDefinition<typeof TextArea>;
|
|
8712
8778
|
|
|
8779
|
+
/** Appearance values for {@link TextArea}. */
|
|
8780
|
+
declare const TextareaAppearances: {
|
|
8781
|
+
readonly outline: "outline";
|
|
8782
|
+
readonly filledLighter: "filled-lighter";
|
|
8783
|
+
readonly filledDarker: "filled-darker";
|
|
8784
|
+
};
|
|
8785
|
+
/** Type describing appearance options for {@link TextArea}. */
|
|
8786
|
+
type TextareaAppearance = ValuesOf<typeof TextareaAppearances>;
|
|
8787
|
+
/** Autocomplete values for {@link TextArea}. */
|
|
8788
|
+
declare const TextareaAutocompletes: {
|
|
8789
|
+
readonly on: "on";
|
|
8790
|
+
readonly off: "off";
|
|
8791
|
+
};
|
|
8792
|
+
/** Type describing autocomplete options for {@link TextArea}. */
|
|
8793
|
+
type TextareaAutocomplete = ValuesOf<typeof TextareaAutocompletes>;
|
|
8794
|
+
/** Resize values for {@link TextArea}. */
|
|
8795
|
+
declare const TextareaResizes: {
|
|
8796
|
+
readonly none: "none";
|
|
8797
|
+
readonly both: "both";
|
|
8798
|
+
readonly horizontal: "horizontal";
|
|
8799
|
+
readonly vertical: "vertical";
|
|
8800
|
+
};
|
|
8801
|
+
/** Type describing resize options for {@link TextArea}. */
|
|
8802
|
+
type TextareaResize = ValuesOf<typeof TextareaResizes>;
|
|
8803
|
+
/** Size values for {@link TextArea}. */
|
|
8804
|
+
declare const TextareaSizes: {
|
|
8805
|
+
readonly small: "small";
|
|
8806
|
+
readonly medium: "medium";
|
|
8807
|
+
readonly large: "large";
|
|
8808
|
+
};
|
|
8809
|
+
/** Type describing size options for {@link TextArea}. */
|
|
8810
|
+
type TextareaSize = ValuesOf<typeof TextareaSizes>;
|
|
8811
|
+
/** Appearance values that support display shadows for {@link TextArea}. */
|
|
8812
|
+
declare const TextareaAppearancesForDisplayShadows: readonly (TextAreaAppearance | undefined)[];
|
|
8813
|
+
/** Type describing appearance values that support display shadows for {@link TextArea}. */
|
|
8814
|
+
type TextareaAppearancesForDisplayShadow = ValuesOf<typeof TextareaAppearancesForDisplayShadows>;
|
|
8815
|
+
|
|
8713
8816
|
/**
|
|
8714
8817
|
* Styles for the TextInput component.
|
|
8715
8818
|
*
|
|
8716
8819
|
* @public
|
|
8717
8820
|
*/
|
|
8718
|
-
declare const styles: ElementStyles;
|
|
8821
|
+
declare const styles$1: ElementStyles;
|
|
8719
8822
|
|
|
8720
8823
|
/**
|
|
8721
8824
|
* @internal
|
|
8722
8825
|
*/
|
|
8723
|
-
declare const template: ElementViewTemplate<TextInput>;
|
|
8826
|
+
declare const template$1: ElementViewTemplate<TextInput>;
|
|
8724
8827
|
|
|
8725
8828
|
/**
|
|
8726
8829
|
* The Fabric Text Input component.
|
|
@@ -8745,7 +8848,7 @@ declare const definition$5: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
8745
8848
|
* @attr {boolean} italic - The text style is italic.
|
|
8746
8849
|
* @attr {boolean} underline - The text style is underline.
|
|
8747
8850
|
* @attr {boolean} strikethrough - The text style is strikethrough.
|
|
8748
|
-
* @attr {boolean} block -
|
|
8851
|
+
* @attr {boolean} block - A text can take up the width of its container.
|
|
8749
8852
|
* @attr {TextSize} size - The Text size. One of '100', '200', '300', '400', '500', '600', '700', '800', '900', '1000'.
|
|
8750
8853
|
* @attr {TextFont} font - The Text font. One of 'base', 'numeric', 'monospace'.
|
|
8751
8854
|
* @attr {TextWeight} weight - The Text weight. One of 'medium', 'regular', 'semibold', 'bold'.
|
|
@@ -8756,13 +8859,13 @@ declare const definition$5: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
8756
8859
|
* @prop {boolean} italic - The text style is italic.
|
|
8757
8860
|
* @prop {boolean} underline - The text style is underline.
|
|
8758
8861
|
* @prop {boolean} strikethrough - The text style is strikethrough.
|
|
8759
|
-
* @prop {boolean} block -
|
|
8862
|
+
* @prop {boolean} block - A text can take up the width of its container.
|
|
8760
8863
|
* @prop {TextSize} size - The Text size.
|
|
8761
8864
|
* @prop {TextFont} font - The Text font.
|
|
8762
8865
|
* @prop {TextWeight} weight - The Text weight.
|
|
8763
8866
|
* @prop {TextAlign} align - The Text alignment.
|
|
8764
8867
|
*
|
|
8765
|
-
* @slot - The default slot for text content.
|
|
8868
|
+
* @slot default - The default slot for text content.
|
|
8766
8869
|
*
|
|
8767
8870
|
* @extends FluentText
|
|
8768
8871
|
* @tagname fabric-text
|
|
@@ -8778,6 +8881,40 @@ declare class Text extends Text$1 {
|
|
|
8778
8881
|
*/
|
|
8779
8882
|
declare const definition$4: _microsoft_fast_element.FASTElementDefinition<typeof Text>;
|
|
8780
8883
|
|
|
8884
|
+
declare const TextAligns: {
|
|
8885
|
+
readonly start: "start";
|
|
8886
|
+
readonly end: "end";
|
|
8887
|
+
readonly center: "center";
|
|
8888
|
+
readonly justify: "justify";
|
|
8889
|
+
};
|
|
8890
|
+
type TextAlign = ValuesOf<typeof TextAligns>;
|
|
8891
|
+
declare const TextFonts: {
|
|
8892
|
+
readonly base: "base";
|
|
8893
|
+
readonly numeric: "numeric";
|
|
8894
|
+
readonly monospace: "monospace";
|
|
8895
|
+
};
|
|
8896
|
+
type TextFont = ValuesOf<typeof TextFonts>;
|
|
8897
|
+
declare const TextSizes: {
|
|
8898
|
+
readonly _100: "100";
|
|
8899
|
+
readonly _200: "200";
|
|
8900
|
+
readonly _300: "300";
|
|
8901
|
+
readonly _400: "400";
|
|
8902
|
+
readonly _500: "500";
|
|
8903
|
+
readonly _600: "600";
|
|
8904
|
+
readonly _700: "700";
|
|
8905
|
+
readonly _800: "800";
|
|
8906
|
+
readonly _900: "900";
|
|
8907
|
+
readonly _1000: "1000";
|
|
8908
|
+
};
|
|
8909
|
+
type TextSize = ValuesOf<typeof TextSizes>;
|
|
8910
|
+
declare const TextWeights: {
|
|
8911
|
+
readonly medium: "medium";
|
|
8912
|
+
readonly regular: "regular";
|
|
8913
|
+
readonly semibold: "semibold";
|
|
8914
|
+
readonly bold: "bold";
|
|
8915
|
+
};
|
|
8916
|
+
type TextWeight = ValuesOf<typeof TextWeights>;
|
|
8917
|
+
|
|
8781
8918
|
/**
|
|
8782
8919
|
* Tree
|
|
8783
8920
|
* @summary A Fabric UI Tree component that extends Fluent UI's Tree with custom styling and behavior.
|
|
@@ -8819,6 +8956,22 @@ declare const definition$4: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
8819
8956
|
* @public
|
|
8820
8957
|
*/
|
|
8821
8958
|
declare class Tree extends Tree$1 {
|
|
8959
|
+
/**
|
|
8960
|
+
* Overrides the upstream click handler to resolve the closest tree item
|
|
8961
|
+
* from the event target. The upstream implementation uses `e.target` directly,
|
|
8962
|
+
* which fails when the click originates from a child element (e.g., an icon
|
|
8963
|
+
* in the `start` slot or text inside the default slot wrapper).
|
|
8964
|
+
*
|
|
8965
|
+
* @internal
|
|
8966
|
+
*/
|
|
8967
|
+
clickHandler(e: Event): boolean | void;
|
|
8968
|
+
/**
|
|
8969
|
+
* Walks up the DOM from the event target to find the nearest tree item.
|
|
8970
|
+
* The upstream `isTreeItem` check uses `e.target` directly, which fails
|
|
8971
|
+
* when the click originates from a slotted child element (e.g., an icon
|
|
8972
|
+
* in the `start` slot or text inside the default slot wrapper).
|
|
8973
|
+
*/
|
|
8974
|
+
private findClosestTreeItem;
|
|
8822
8975
|
}
|
|
8823
8976
|
|
|
8824
8977
|
/**
|
|
@@ -8885,6 +9038,10 @@ declare const definition$3: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
8885
9038
|
declare class TreeItem extends TreeItem$1 {
|
|
8886
9039
|
}
|
|
8887
9040
|
|
|
9041
|
+
declare const template: ElementViewTemplate<TreeItem>;
|
|
9042
|
+
|
|
9043
|
+
declare const styles: _microsoft_fast_element.ElementStyles;
|
|
9044
|
+
|
|
8888
9045
|
/**
|
|
8889
9046
|
* The Fabric TreeItem component.
|
|
8890
9047
|
*
|
|
@@ -9045,6 +9202,33 @@ declare const definition$1: _microsoft_fast_element.FASTElementDefinition<typeof
|
|
|
9045
9202
|
* @public
|
|
9046
9203
|
*/
|
|
9047
9204
|
declare class Tooltip extends Tooltip$1 {
|
|
9205
|
+
private showTimer;
|
|
9206
|
+
private hideTimer;
|
|
9207
|
+
private static readonly DEFAULT_DELAY;
|
|
9208
|
+
/**
|
|
9209
|
+
* Resolves the anchor element from the DOM.
|
|
9210
|
+
*/
|
|
9211
|
+
private get resolvedAnchorElement();
|
|
9212
|
+
/**
|
|
9213
|
+
* Handles Escape key to dismiss the tooltip.
|
|
9214
|
+
* Required because `popover="manual"` does not support native light-dismiss.
|
|
9215
|
+
*/
|
|
9216
|
+
private handleKeydown;
|
|
9217
|
+
disconnectedCallback(): void;
|
|
9218
|
+
/**
|
|
9219
|
+
* Shows the tooltip after the specified delay.
|
|
9220
|
+
* Cancels any pending hide timer to prevent conflicts.
|
|
9221
|
+
* @param delay - Number of milliseconds to delay showing the tooltip
|
|
9222
|
+
* @internal
|
|
9223
|
+
*/
|
|
9224
|
+
showTooltip(delay?: number): void;
|
|
9225
|
+
/**
|
|
9226
|
+
* Hides the tooltip after the specified delay.
|
|
9227
|
+
* Cancels any pending show timer so the tooltip won't appear after the mouse leaves.
|
|
9228
|
+
* @param delay - Number of milliseconds to delay hiding the tooltip
|
|
9229
|
+
* @internal
|
|
9230
|
+
*/
|
|
9231
|
+
hideTooltip(delay?: number): void;
|
|
9048
9232
|
}
|
|
9049
9233
|
|
|
9050
9234
|
/**
|
|
@@ -9084,19 +9268,327 @@ declare const disabledState: ":state(disabled)" | "[state--disabled]";
|
|
|
9084
9268
|
declare const expandedState: ":state(expanded)" | "[state--expanded]";
|
|
9085
9269
|
|
|
9086
9270
|
/**
|
|
9087
|
-
*
|
|
9088
|
-
*
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9271
|
+
* Checks whether the specified element is disabled.
|
|
9272
|
+
* @param {Element} el The element to check.
|
|
9273
|
+
*/
|
|
9274
|
+
declare function isDisabledElement(el: Element): el is HTMLElement;
|
|
9275
|
+
/**
|
|
9276
|
+
* Checks whether the specified element is hidden.
|
|
9277
|
+
* @param {Element} el The element to check.
|
|
9278
|
+
*/
|
|
9279
|
+
declare function isHiddenElement(el: Element): el is HTMLElement;
|
|
9280
|
+
/**
|
|
9281
|
+
* Checks whether the specified element is focusable.
|
|
9282
|
+
* @param {Element} el The element to check.
|
|
9283
|
+
*/
|
|
9284
|
+
declare function isFocusableElement(el: Element): el is HTMLElement;
|
|
9285
|
+
/**
|
|
9286
|
+
* Sets focusability of all focusable children within an element
|
|
9287
|
+
* @private
|
|
9288
|
+
* @param {HTMLElement} element - The parent element
|
|
9289
|
+
* @param {boolean} focusable - Whether children should be focusable
|
|
9290
|
+
*/
|
|
9291
|
+
declare function setChildrenFocusability(element: HTMLElement, focusable: boolean): void;
|
|
9292
|
+
|
|
9293
|
+
type Constructor = new (...args: unknown[]) => unknown;
|
|
9294
|
+
/**
|
|
9295
|
+
* Apply mixins to a constructor.
|
|
9296
|
+
* Sourced from {@link https://www.typescriptlang.org/docs/handbook/mixins.html | TypeScript Documentation }.
|
|
9297
|
+
*
|
|
9298
|
+
* TODO: Remove with https://github.com/microsoft/fast/pull/6797
|
|
9299
|
+
* This was used for Badge where start/end was not yet implemented.
|
|
9300
|
+
* The method itself was deprecated as it was largely intended to be "internals" for Fast Foundation.
|
|
9301
|
+
* Adding here to avoid breaking of the existing API.
|
|
9302
|
+
* @internal
|
|
9303
|
+
*/
|
|
9304
|
+
declare function applyMixins(derivedCtor: Constructor, ...baseCtors: Constructor[]): void;
|
|
9305
|
+
|
|
9306
|
+
/**
|
|
9307
|
+
* Sets the specified attributes on the given HTML element.
|
|
9308
|
+
* @param {HTMLElement} element The HTML element on which to set attributes.
|
|
9309
|
+
* @param {{[key: string]: string}} attributes An object mapping attribute names to values.
|
|
9310
|
+
*/
|
|
9311
|
+
declare function setAttributes(element: HTMLElement, attributes: {
|
|
9312
|
+
[key: string]: string;
|
|
9313
|
+
}): void;
|
|
9314
|
+
|
|
9315
|
+
/**
|
|
9316
|
+
* debounce function
|
|
9317
|
+
* @param func - function to be debounced
|
|
9318
|
+
* @param delay - delay in milliseconds
|
|
9319
|
+
*/
|
|
9320
|
+
declare function debounce(func: (...args: unknown[]) => void, delay: number): (this: unknown, ...args: unknown[]) => void;
|
|
9321
|
+
|
|
9322
|
+
/**
|
|
9323
|
+
* Holds a collection of debug-related functions. When the instance is not in debug mode, most/all of
|
|
9324
|
+
* the side-effects will be disabled.
|
|
9325
|
+
*/
|
|
9326
|
+
declare class debug {
|
|
9327
|
+
static assertFailFunction: (message: string) => void;
|
|
9328
|
+
static setAssertFailFunction(f: (message: string) => void): void;
|
|
9329
|
+
/**
|
|
9330
|
+
* Asserts that the condition is true, fails otherwise.
|
|
9331
|
+
*/
|
|
9332
|
+
static assert(conditionFunc: () => boolean, message?: string): void;
|
|
9333
|
+
/**
|
|
9334
|
+
* Asserts that the value is neither null nor undefined, fails otherwise.
|
|
9335
|
+
*/
|
|
9336
|
+
static assertDefined<T>(value: T, message: string): void;
|
|
9337
|
+
/**
|
|
9338
|
+
* Asserts that the value is neither null nor undefined, and has a length property that returns greater than zero, fails otherwise.
|
|
9339
|
+
*/
|
|
9340
|
+
static assertNonEmpty<T>(value: ArrayLike<T>, message: string): void;
|
|
9341
|
+
/**
|
|
9342
|
+
* Asserts that this function is never called. This is to be used
|
|
9343
|
+
*/
|
|
9344
|
+
static assertNever(neverValue: never): void;
|
|
9345
|
+
static assertFail(message: string): void;
|
|
9346
|
+
static log(message: string, ...optionalParams: unknown[]): void;
|
|
9347
|
+
static logDebug(message: string, ...optionalParams: unknown[]): void;
|
|
9348
|
+
static warn(message: string, ...optionalParams: unknown[]): void;
|
|
9349
|
+
static execute(action: () => void): void;
|
|
9350
|
+
private static enabled;
|
|
9351
|
+
static enable(): void;
|
|
9352
|
+
}
|
|
9353
|
+
|
|
9354
|
+
/**
|
|
9355
|
+
* This module provides a composable system for detecting and monitoring text direction
|
|
9356
|
+
* (LTR/RTL) changes in web applications. It follows a strategy/observer pattern to allow
|
|
9357
|
+
* flexibility for the many ways that direction can be controlled in the document.
|
|
9358
|
+
*
|
|
9359
|
+
* ## Architecture
|
|
9360
|
+
*
|
|
9361
|
+
* The system uses two complementary interfaces:
|
|
9362
|
+
*
|
|
9363
|
+
* - **DirectionStrategy**: Detection - reads direction from a source (CSS, attributes, etc.)
|
|
9364
|
+
* - **DirectionObserver**: Change monitoring - watches for direction changes and notifies
|
|
9365
|
+
*
|
|
9366
|
+
* The `DirectionDetector` class combines the detection and observer strategies to provide
|
|
9367
|
+
* robust direction detection with automatic change notifications.
|
|
9368
|
+
*
|
|
9369
|
+
* ## Built-in Strategies
|
|
9370
|
+
*
|
|
9371
|
+
* - `DirAttributeStrategy`: Reads the `dir` attribute from elements
|
|
9372
|
+
* - `ElementCssStrategy`: Reads computed CSS `direction` property
|
|
9373
|
+
*
|
|
9374
|
+
* ## Built-in Observers
|
|
9375
|
+
*
|
|
9376
|
+
* - `DirAttributeObserver`: Watches for `dir` attribute mutations via MutationObserver
|
|
9377
|
+
*
|
|
9378
|
+
* ## Global DirectionDetector
|
|
9379
|
+
*
|
|
9380
|
+
* A singleton detector is available via `globalDirectionDetector()`. By default, it
|
|
9381
|
+
* monitors the `dir` attribute on the `<html>` element. This is the detector used by the
|
|
9382
|
+
* components in this package to correctly adjust layout, keyboard navigation, etc.
|
|
9383
|
+
*
|
|
9384
|
+
* To customize the global detector, call `setGlobalDirectionDetector()`:
|
|
9385
|
+
*
|
|
9386
|
+
* ```typescript
|
|
9387
|
+
* import {
|
|
9388
|
+
* setGlobalDirectionDetector,
|
|
9389
|
+
* DirectionDetector,
|
|
9390
|
+
* DirAttributeStrategy,
|
|
9391
|
+
* DirAttributeObserver
|
|
9392
|
+
* } from "@fabric-msft/fabric-web";
|
|
9393
|
+
*
|
|
9394
|
+
* setGlobalDirectionDetector(
|
|
9395
|
+
* new DirectionDetector({
|
|
9396
|
+
* strategies: [new DirAttributeStrategy([document.documentElement])],
|
|
9397
|
+
* observers: [new DirAttributeObserver("html")],
|
|
9398
|
+
* onChange: (dir) => console.log("Global direction:", dir)
|
|
9399
|
+
* })
|
|
9400
|
+
* );
|
|
9401
|
+
* ```
|
|
9402
|
+
*
|
|
9403
|
+
* ## Defaults
|
|
9404
|
+
*
|
|
9405
|
+
* The default global DirectionDetector will monitor the `dir` attribute on the
|
|
9406
|
+
* `html` element. You do not need to set anything if this is the strategy that your app
|
|
9407
|
+
* uses to control document direction.
|
|
9408
|
+
*
|
|
9409
|
+
* ```html
|
|
9410
|
+
* <html dir="rtl">
|
|
9411
|
+
* ```
|
|
9412
|
+
*
|
|
9413
|
+
* ## Custom DirectionDetector
|
|
9414
|
+
*
|
|
9415
|
+
* ```typescript
|
|
9416
|
+
* import {
|
|
9417
|
+
* DirectionDetector,
|
|
9418
|
+
* DirAttributeStrategy,
|
|
9419
|
+
* DirAttributeObserver
|
|
9420
|
+
* } from "@fabric-msft/fabric-web";
|
|
9421
|
+
*
|
|
9422
|
+
* const detector = new DirectionDetector({
|
|
9423
|
+
* strategies: [new DirAttributeStrategy([document.documentElement])],
|
|
9424
|
+
* observers: [new DirAttributeObserver("html")],
|
|
9425
|
+
* onChange: (dir, { previous }) => {
|
|
9426
|
+
* console.log(`Direction changed: ${previous} → ${dir}`);
|
|
9427
|
+
* }
|
|
9428
|
+
* });
|
|
9429
|
+
*
|
|
9430
|
+
* // Access current direction
|
|
9431
|
+
* console.log(detector.value); // 'ltr' or 'rtl'
|
|
9432
|
+
*
|
|
9433
|
+
* // Clean up when done
|
|
9434
|
+
* detector.stop();
|
|
9435
|
+
* ```
|
|
9436
|
+
*/
|
|
9437
|
+
/**
|
|
9438
|
+
* Determines the current localization direction of an element.
|
|
9439
|
+
*
|
|
9440
|
+
* @param rootNode - the HTMLElement to begin the query from, usually "this" when used in a component controller
|
|
9441
|
+
* @returns the localization direction of the element
|
|
9442
|
+
*
|
|
9092
9443
|
* @public
|
|
9093
9444
|
*/
|
|
9094
|
-
|
|
9445
|
+
declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
9446
|
+
declare function isRtl(): boolean;
|
|
9447
|
+
type DirectionOrNull = Direction | null;
|
|
9095
9448
|
/**
|
|
9096
|
-
*
|
|
9449
|
+
* Interface for direction detection strategies.
|
|
9450
|
+
* Strategies are pure functions that detect direction from a source.
|
|
9097
9451
|
* @public
|
|
9098
9452
|
*/
|
|
9099
|
-
|
|
9453
|
+
interface DirectionStrategy {
|
|
9454
|
+
/**
|
|
9455
|
+
* Get the current direction value.
|
|
9456
|
+
*/
|
|
9457
|
+
getDirection(): DirectionOrNull;
|
|
9458
|
+
}
|
|
9459
|
+
/**
|
|
9460
|
+
* Interface for observing direction changes.
|
|
9461
|
+
* Observers monitor a source and notify when changes may have occurred.
|
|
9462
|
+
* @public
|
|
9463
|
+
*/
|
|
9464
|
+
interface DirectionObserver {
|
|
9465
|
+
/**
|
|
9466
|
+
* Start observing for direction changes.
|
|
9467
|
+
* @param notify - Callback to invoke when a change may have occurred.
|
|
9468
|
+
*/
|
|
9469
|
+
start(notify: () => void): void;
|
|
9470
|
+
/**
|
|
9471
|
+
* Stop observing and clean up resources.
|
|
9472
|
+
*/
|
|
9473
|
+
stop(): void;
|
|
9474
|
+
}
|
|
9475
|
+
interface DirectionDetectorOptions {
|
|
9476
|
+
/**
|
|
9477
|
+
* Ordered list of strategies. First strategy that yields a non-null direction wins.
|
|
9478
|
+
*/
|
|
9479
|
+
strategies: DirectionStrategy[];
|
|
9480
|
+
/**
|
|
9481
|
+
* Optional observers to monitor for direction changes.
|
|
9482
|
+
* When any observer fires, the detector will recompute direction.
|
|
9483
|
+
*/
|
|
9484
|
+
observers?: DirectionObserver[];
|
|
9485
|
+
/**
|
|
9486
|
+
* Called when the resolved direction changes.
|
|
9487
|
+
*/
|
|
9488
|
+
onChange?: (dir: DirectionOrNull, info: {
|
|
9489
|
+
previous: DirectionOrNull;
|
|
9490
|
+
}) => void;
|
|
9491
|
+
}
|
|
9492
|
+
/**
|
|
9493
|
+
* Detects and (optionally) observes direction using a chain of strategies.
|
|
9494
|
+
* The first strategy to return a non-null direction wins.
|
|
9495
|
+
* @public
|
|
9496
|
+
*/
|
|
9497
|
+
declare class DirectionDetector {
|
|
9498
|
+
private readonly strategies;
|
|
9499
|
+
private readonly observers;
|
|
9500
|
+
private readonly onChange?;
|
|
9501
|
+
private rafId;
|
|
9502
|
+
private _value;
|
|
9503
|
+
private observing;
|
|
9504
|
+
constructor(options: DirectionDetectorOptions);
|
|
9505
|
+
get value(): Direction;
|
|
9506
|
+
/**
|
|
9507
|
+
* Start all observers.
|
|
9508
|
+
*/
|
|
9509
|
+
private start;
|
|
9510
|
+
/**
|
|
9511
|
+
* Stop observing and cancel any scheduled refresh.
|
|
9512
|
+
*/
|
|
9513
|
+
stop(): void;
|
|
9514
|
+
stable(): boolean;
|
|
9515
|
+
/**
|
|
9516
|
+
* Force recomputation; invokes onChange only if the resolved direction changed.
|
|
9517
|
+
*/
|
|
9518
|
+
refresh(): DirectionOrNull;
|
|
9519
|
+
private computeDirection;
|
|
9520
|
+
}
|
|
9521
|
+
declare function setGlobalDirectionDetector(detector: DirectionDetector): void;
|
|
9522
|
+
declare function globalDirectionDetector(): DirectionDetector;
|
|
9523
|
+
|
|
9524
|
+
declare const inputElementMethods: string[];
|
|
9525
|
+
|
|
9526
|
+
declare class MockElementInternals implements ElementInternals {
|
|
9527
|
+
ariaDescription: string | null;
|
|
9528
|
+
ariaBrailleLabel: string | null;
|
|
9529
|
+
ariaBrailleRoleDescription: string | null;
|
|
9530
|
+
private _form;
|
|
9531
|
+
private _labels;
|
|
9532
|
+
private _element;
|
|
9533
|
+
constructor(element: HTMLElement);
|
|
9534
|
+
get form(): HTMLFormElement | null;
|
|
9535
|
+
get labels(): NodeList;
|
|
9536
|
+
get shadowRoot(): null;
|
|
9537
|
+
get states(): Set<string>;
|
|
9538
|
+
get validationMessage(): string;
|
|
9539
|
+
get validity(): ValidityState;
|
|
9540
|
+
get willValidate(): boolean;
|
|
9541
|
+
role: string;
|
|
9542
|
+
ariaAtomic: string;
|
|
9543
|
+
ariaAutoComplete: string;
|
|
9544
|
+
ariaBusy: string;
|
|
9545
|
+
ariaChecked: string;
|
|
9546
|
+
ariaColCount: string;
|
|
9547
|
+
ariaColIndex: string;
|
|
9548
|
+
ariaColIndexText: string;
|
|
9549
|
+
ariaColSpan: string;
|
|
9550
|
+
ariaCurrent: string;
|
|
9551
|
+
ariaDisabled: string;
|
|
9552
|
+
ariaExpanded: string;
|
|
9553
|
+
ariaHasPopup: string;
|
|
9554
|
+
ariaHidden: string;
|
|
9555
|
+
ariaInvalid: string;
|
|
9556
|
+
ariaKeyShortcuts: string;
|
|
9557
|
+
ariaLabel: string;
|
|
9558
|
+
ariaLevel: string;
|
|
9559
|
+
ariaLive: string;
|
|
9560
|
+
ariaModal: string;
|
|
9561
|
+
ariaMultiLine: string;
|
|
9562
|
+
ariaMultiSelectable: string;
|
|
9563
|
+
ariaOrientation: string;
|
|
9564
|
+
ariaPlaceholder: string;
|
|
9565
|
+
ariaPosInSet: string;
|
|
9566
|
+
ariaPressed: string;
|
|
9567
|
+
ariaReadOnly: string;
|
|
9568
|
+
ariaRelevant: string;
|
|
9569
|
+
ariaRequired: string;
|
|
9570
|
+
ariaRoleDescription: string;
|
|
9571
|
+
ariaRowCount: string;
|
|
9572
|
+
ariaRowIndex: string;
|
|
9573
|
+
ariaRowIndexText: string;
|
|
9574
|
+
ariaRowSpan: string;
|
|
9575
|
+
ariaSelected: string;
|
|
9576
|
+
ariaSetSize: string;
|
|
9577
|
+
ariaSort: string;
|
|
9578
|
+
ariaValueMax: string;
|
|
9579
|
+
ariaValueMin: string;
|
|
9580
|
+
ariaValueNow: string;
|
|
9581
|
+
ariaValueText: string;
|
|
9582
|
+
checkValidity(): boolean;
|
|
9583
|
+
reportValidity(): boolean;
|
|
9584
|
+
setFormValue(_value: File | string | FormData | null, _state?: File | string | FormData | null): void;
|
|
9585
|
+
setValidity(_flags: ValidityStateFlags, _message?: string, _anchor?: HTMLElement): void;
|
|
9586
|
+
}
|
|
9587
|
+
/**
|
|
9588
|
+
* If the HTMLElement prototype does not have the attachInternals method, add it.
|
|
9589
|
+
* This is used to create a new MockElementInternals instance when the element is attached to the DOM.
|
|
9590
|
+
*/
|
|
9591
|
+
declare function attachMockElementInternals(): void;
|
|
9100
9592
|
|
|
9101
9593
|
/**
|
|
9102
9594
|
* This function is used to toggle a state on the control. If the browser supports Custom States, the state is toggled
|
|
@@ -9114,18 +9606,160 @@ declare function staticallyCompose<TSource = unknown, TParent = unknown>(item: S
|
|
|
9114
9606
|
*/
|
|
9115
9607
|
declare function toggleState(elementInternals: ElementInternals | undefined, state: string | undefined, force?: boolean): void;
|
|
9116
9608
|
|
|
9117
|
-
type Constructor = new (...args: unknown[]) => unknown;
|
|
9118
9609
|
/**
|
|
9119
|
-
*
|
|
9120
|
-
* Sourced from {@link https://www.typescriptlang.org/docs/handbook/mixins.html | TypeScript Documentation }.
|
|
9610
|
+
* Options for creating a roving focus controller.
|
|
9121
9611
|
*
|
|
9122
|
-
*
|
|
9123
|
-
* This was used for Badge where start/end was not yet implemented.
|
|
9124
|
-
* The method itself was deprecated as it was largely intended to be "internals" for Fast Foundation.
|
|
9125
|
-
* Adding here to avoid breaking of the existing API.
|
|
9126
|
-
* @internal
|
|
9612
|
+
* @public
|
|
9127
9613
|
*/
|
|
9128
|
-
|
|
9614
|
+
interface RovingFocusOptions {
|
|
9615
|
+
/**
|
|
9616
|
+
* Function that returns the current list of elements to manage.
|
|
9617
|
+
* Called fresh each time to support dynamic slot changes.
|
|
9618
|
+
*/
|
|
9619
|
+
items: () => HTMLElement[];
|
|
9620
|
+
/**
|
|
9621
|
+
* Filter function to determine if an element is disabled.
|
|
9622
|
+
* Default: checks for `disabled`, `aria-disabled="true"`, or `inert` attributes.
|
|
9623
|
+
*/
|
|
9624
|
+
isDisabled?: (el: HTMLElement) => boolean;
|
|
9625
|
+
/**
|
|
9626
|
+
* Navigation orientation.
|
|
9627
|
+
* - "vertical": ArrowUp/ArrowDown (default)
|
|
9628
|
+
* - "horizontal": ArrowLeft/ArrowRight
|
|
9629
|
+
* - "both": All four arrow keys
|
|
9630
|
+
*/
|
|
9631
|
+
orientation?: "vertical" | "horizontal" | "both";
|
|
9632
|
+
/**
|
|
9633
|
+
* Enable Home/End key support.
|
|
9634
|
+
* @default true
|
|
9635
|
+
*/
|
|
9636
|
+
enableHomeEnd?: boolean;
|
|
9637
|
+
/**
|
|
9638
|
+
* Enable wrapping at boundaries.
|
|
9639
|
+
* @default true
|
|
9640
|
+
*/
|
|
9641
|
+
wrap?: boolean;
|
|
9642
|
+
/**
|
|
9643
|
+
* Whether handleKeydown calls preventDefault for handled keys.
|
|
9644
|
+
* @default true
|
|
9645
|
+
*/
|
|
9646
|
+
preventDefault?: boolean;
|
|
9647
|
+
/**
|
|
9648
|
+
* Custom focus implementation for components with internal focusable elements
|
|
9649
|
+
* (e.g., Prompt with internal button). If not provided, calls `el.focus()`.
|
|
9650
|
+
*/
|
|
9651
|
+
focusItem?: (el: HTMLElement) => void;
|
|
9652
|
+
/**
|
|
9653
|
+
* Callback fired when the active item changes.
|
|
9654
|
+
*/
|
|
9655
|
+
onFocusChange?: (el: HTMLElement, index: number) => void;
|
|
9656
|
+
/**
|
|
9657
|
+
* Function to determine if the component is in RTL mode.
|
|
9658
|
+
* When true, horizontal arrow keys are swapped.
|
|
9659
|
+
* @default () => false
|
|
9660
|
+
*/
|
|
9661
|
+
isRtl: () => boolean;
|
|
9662
|
+
}
|
|
9663
|
+
/**
|
|
9664
|
+
* Controller interface for managing roving tabindex focus.
|
|
9665
|
+
*
|
|
9666
|
+
* @remarks
|
|
9667
|
+
* Invariants enforced by this controller:
|
|
9668
|
+
* 1. Exactly one enabled item has `tabindex="0"` (the "active" item)
|
|
9669
|
+
* 2. All other managed items have `tabindex="-1"`
|
|
9670
|
+
* 3. When focus moves: new item gets tabindex=0, previous active gets -1, new item receives focus
|
|
9671
|
+
*
|
|
9672
|
+
* @public
|
|
9673
|
+
*/
|
|
9674
|
+
interface RovingFocusController {
|
|
9675
|
+
/**
|
|
9676
|
+
* Apply roving tabindex. Preserves current active if still valid and enabled;
|
|
9677
|
+
* otherwise falls back to first enabled. If no enabled items, all get tabindex=-1.
|
|
9678
|
+
*/
|
|
9679
|
+
applyTabindex(): void;
|
|
9680
|
+
/**
|
|
9681
|
+
* Move focus by delta (+1 or -1).
|
|
9682
|
+
* @returns true if focus moved successfully
|
|
9683
|
+
*/
|
|
9684
|
+
move(delta: 1 | -1): boolean;
|
|
9685
|
+
/**
|
|
9686
|
+
* Focus first enabled item.
|
|
9687
|
+
* @returns true if successful
|
|
9688
|
+
*/
|
|
9689
|
+
focusFirst(): boolean;
|
|
9690
|
+
/**
|
|
9691
|
+
* Focus last enabled item.
|
|
9692
|
+
* @returns true if successful
|
|
9693
|
+
*/
|
|
9694
|
+
focusLast(): boolean;
|
|
9695
|
+
/**
|
|
9696
|
+
* Focus specific item.
|
|
9697
|
+
* @returns false if item is not in list or is disabled
|
|
9698
|
+
*/
|
|
9699
|
+
focus(item: HTMLElement): boolean;
|
|
9700
|
+
/**
|
|
9701
|
+
* Sync active tabindex to match a target element (use on focusin/click).
|
|
9702
|
+
* Updates tabindex without calling focus() to avoid jumpy behavior.
|
|
9703
|
+
* @returns true if target was found and made active
|
|
9704
|
+
*/
|
|
9705
|
+
sync(target: EventTarget | null): boolean;
|
|
9706
|
+
/**
|
|
9707
|
+
* Handle keydown event.
|
|
9708
|
+
* @returns true if handled. Calls preventDefault() when configured.
|
|
9709
|
+
*/
|
|
9710
|
+
handleKeydown(event: KeyboardEvent): boolean;
|
|
9711
|
+
/**
|
|
9712
|
+
* Clean up (for lifecycle symmetry; currently a no-op).
|
|
9713
|
+
*/
|
|
9714
|
+
destroy(): void;
|
|
9715
|
+
}
|
|
9716
|
+
/**
|
|
9717
|
+
* Creates a roving focus controller for managing keyboard navigation
|
|
9718
|
+
* across a list of elements using the roving tabindex pattern.
|
|
9719
|
+
*
|
|
9720
|
+
* @example
|
|
9721
|
+
* ```typescript
|
|
9722
|
+
* const controller = createRovingFocusController({
|
|
9723
|
+
* items: () => this.slottedPills ?? [],
|
|
9724
|
+
* orientation: "vertical",
|
|
9725
|
+
* enableHomeEnd: true,
|
|
9726
|
+
* wrap: true
|
|
9727
|
+
* });
|
|
9728
|
+
*
|
|
9729
|
+
* // In connectedCallback or setup:
|
|
9730
|
+
* controller.applyTabindex();
|
|
9731
|
+
*
|
|
9732
|
+
* // In keydown handler:
|
|
9733
|
+
* if (controller.handleKeydown(event)) return;
|
|
9734
|
+
* // ...handle other keys like Escape
|
|
9735
|
+
* ```
|
|
9736
|
+
*
|
|
9737
|
+
* @public
|
|
9738
|
+
*/
|
|
9739
|
+
declare function createRovingFocusController(options: RovingFocusOptions): RovingFocusController;
|
|
9740
|
+
|
|
9741
|
+
/**
|
|
9742
|
+
* Creates a unique ID string using a prefix and counter as salt for the random hex.
|
|
9743
|
+
* @param prefix - The prefix string for the ID
|
|
9744
|
+
* @param counter - Optional. A counter value used as salt for additional uniqueness
|
|
9745
|
+
* @returns A unique ID string in the format `{prefix}{counter}-{randomHex}`
|
|
9746
|
+
*/
|
|
9747
|
+
declare function createUniqueId(prefix: string, counter?: number): string;
|
|
9748
|
+
|
|
9749
|
+
/**
|
|
9750
|
+
* A value that can be statically composed into a
|
|
9751
|
+
* foundation template.
|
|
9752
|
+
* @remarks
|
|
9753
|
+
* When providing a string, take care to ensure that it is
|
|
9754
|
+
* safe and will not enable an XSS attack.
|
|
9755
|
+
* @public
|
|
9756
|
+
*/
|
|
9757
|
+
type StaticallyComposableHTML<TSource = unknown, TParent = unknown> = string | HTMLDirective | SyntheticViewTemplate<TSource, TParent> | undefined;
|
|
9758
|
+
/**
|
|
9759
|
+
* A function to compose template options.
|
|
9760
|
+
* @public
|
|
9761
|
+
*/
|
|
9762
|
+
declare function staticallyCompose<TSource = unknown, TParent = unknown>(item: StaticallyComposableHTML<TSource, TParent>): CaptureType<TSource, TParent>;
|
|
9129
9763
|
|
|
9130
9764
|
/**
|
|
9131
9765
|
* filters out any whitespace-only nodes, to be used inside a template.
|
|
@@ -9139,6 +9773,6 @@ declare function applyMixins(derivedCtor: Constructor, ...baseCtors: Constructor
|
|
|
9139
9773
|
*/
|
|
9140
9774
|
declare const whitespaceFilter: ElementsFilter;
|
|
9141
9775
|
|
|
9142
|
-
export { Accordion, definition$F as AccordionDefinition, AccordionExpandModes, AccordionItem, definition$G as AccordionItemDefinition, AccordionItemMarkerPositions, AccordionItemSizes, AccordionMenu, definition$11 as AccordionMenuDefinition, AccordionMenuExpandModes, AccordionMenuPanel, definition$10 as AccordionMenuPanelDefinition, AccordionMenuPanelMarkerPositions, AccordionMenuPanelSizes, styles$
|
|
9143
|
-
export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, CheckboxShape, CheckboxSize, CollisionEdge, CompoundButtonAppearance, CompoundButtonFormTarget, CompoundButtonShape, CompoundButtonSize, CompoundButtonType, DialogType, DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole, DrawerPosition, DrawerSize, DrawerType, DropdownAppearance, DropdownSize, DropdownType, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, MultiViewGroupPosition, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SpinnerAppearance, SpinnerSize, StaticallyComposableHTML, TableCellRenderFunction, TableColumnData, TableRowData, TablistAppearance, TablistOrientation, TablistSize, TagAppearance, TagShape, TagSize, TagTextSize, TeachingBubblePlacement, TeachingBubbleSize, TextInputAppearance, TextInputControlSize, TextInputOptions, TextInputType, ToggleButtonAppearance, ToggleButtonFormTarget, ToggleButtonShape, ToggleButtonSize, ToggleButtonType, TooltipPositioningOption, ValidationFlag, WizardPanelState, WizardStepState };
|
|
9776
|
+
export { Accordion, definition$F as AccordionDefinition, AccordionExpandModes, AccordionItem, definition$G as AccordionItemDefinition, AccordionItemMarkerPositions, AccordionItemSizes, AccordionMenu, definition$11 as AccordionMenuDefinition, AccordionMenuExpandModes, AccordionMenuPanel, definition$10 as AccordionMenuPanelDefinition, AccordionMenuPanelMarkerPositions, AccordionMenuPanelSizes, styles$f as AccordionMenuPanelStyles, template$c as AccordionMenuPanelTemplate, styles$g as AccordionMenuStyles, template$d as AccordionMenuTemplate, AnchorButton, AnchorButtonAppearance, AnchorButtonAppearances, definition$n as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonShapes, AnchorButtonSize, AnchorButtonSizes, AnchorTarget, AnchorTargets, Avatar, AvatarActive, AvatarActives, AvatarAppearance, AvatarAppearances, AvatarColor, AvatarColors, definition$D as AvatarDefinition, AvatarNamedColor, AvatarNamedColors, AvatarShape, AvatarShapes, AvatarSize, AvatarSizes, Badge, BadgeAppearance, BadgeAppearances, BadgeColor, BadgeColors, definition$C as BadgeDefinition, BadgeShape, BadgeShapes, BadgeSize, BadgeSizes, Button, ButtonAppearances, definition$B as ButtonDefinition, ButtonFormTargets, ButtonShapes, ButtonSizes, styles$9 as ButtonStyles, ButtonTypes, Card, CardAppearance, CardAppearances, definition$$ as CardDefinition, CardEventNames, CardFocusMode, CardFocusModes, CardFooter, definition$_ as CardFooterDefinition, CardHeader, definition$Z as CardHeaderDefinition, CardOrientation, CardOrientations, CardPreview, definition$Y as CardPreviewDefinition, styles$e as CardStyles, template$b as CardTemplate, Carousel, definition$X as CarouselDefinition, styles$d as CarouselStyles, template$a as CarouselTemplate, Checkbox, definition$A as CheckboxDefinition, CheckboxShapes, CheckboxSizes, CollisionEdges, CompoundButton, CompoundButtonAppearances, definition$V as CompoundButtonDefinition, CompoundButtonFormTargets, CompoundButtonShapes, CompoundButtonSizes, CompoundButtonTypes, CounterBadge, CounterBadgeAppearances, CounterBadgeColors, definition$z as CounterBadgeDefinition, CounterBadgeShapes, CounterBadgeSizes, Dialog, DialogBody, definition$x as DialogBodyDefinition, definition$y as DialogDefinition, styles$8 as DialogStyles, DialogTypes, DirectionDetector, Divider, DividerAlignContents, DividerAppearances, definition$w as DividerDefinition, DividerOrientations, DividerRoles, styles$7 as DividerStyles, template$6 as DividerTemplate, Drawer, DrawerBody, definition$u as DrawerBodyDefinition, definition$v as DrawerDefinition, DrawerPositions, DrawerSizes, DrawerTypes, Dropdown, DropdownAppearances, definition$t as DropdownDefinition, DropdownOption, definition$s as DropdownOptionDefinition, DropdownSizes, DropdownTypes, DesignSystem as FabricDesignSystem, Field, definition$q as FieldDefinition, FieldLabelPosition, FieldLabelPositions, styles$6 as FieldStyles, FilterPill, FilterPillAppearances, definition$W as FilterPillDefinition, FilterPillEventNames, FilterPillFormTargets, FilterPillShapes, FilterPillSizes, FilterPillTypes, Image, definition$p as ImageDefinition, ImageFits, ImageShapes, ImplicitSubmissionBlockingTypes$1 as ImplicitSubmissionBlockingTypes, Label, definition$o as LabelDefinition, LabelPositions, LabelSizes, LabelWeights, Link, LinkAppearance, LinkAppearances, definition$E as LinkDefinition, LinkTarget, LinkTargets, Listbox, definition$r as ListboxDefinition, LoadingButton, definition$U as LoadingButtonDefinition, Menu, MenuButton, MenuButtonAppearances, definition$l as MenuButtonDefinition, MenuButtonShapes, MenuButtonSizes, definition$i as MenuDefinition, MenuGroupRoles, MenuItem, definition$k as MenuItemDefinition, MenuItemRoles, styles$5 as MenuItemStyles, template$5 as MenuItemTemplate, MenuList, definition$j as MenuListDefinition, styles$4 as MenuListStyles, template$4 as MenuListTemplate, MenuPositions, MenuRepositionModes, styles$3 as MenuStyles, template$3 as MenuTemplate, MessageBar, definition$m as MessageBarDefinition, MockElementInternals, MultiView, MultiViewController, definition$S as MultiViewControllerDefinition, definition$T as MultiViewDefinition, MultiViewEventNames, MultiViewGroup, definition$R as MultiViewGroupDefinition, MultiViewGroupPositions, OptionGroup, definition$h as OptionGroupDefinition, Popover, definition$Q as PopoverDefinition, PopoverEventNames, PopoverPositions, PopoverRepositionModes, styles$c as PopoverStyles, template$9 as PopoverTemplate, PositioningShorthand, ProgressBar, definition$g as ProgressBarDefinition, ProgressBarShapes, ProgressBarThicknesses, ProgressBarValidationStates, Radio, definition$e as RadioDefinition, RadioGroup, definition$f as RadioGroupDefinition, RadioGroupOrientations, RatingDisplay, RatingDisplayColors, definition$d as RatingDisplayDefinition, RatingDisplaySizes, SearchBox, SearchBoxAppearances, SearchBoxControlSizes, definition$c as SearchBoxDefinition, SearchBoxEventNames, ImplicitSubmissionBlockingTypes as SearchBoxImplicitSubmissionBlockingTypes, SearchBoxTypes, SimpleTable, definition$N as SimpleTableDefinition, Slider, definition$b as SliderDefinition, SliderEventNames, SliderModes, SliderOrientations, SliderSizes, SlottableInputs, SortDirections, Spinner, SpinnerAppearances, definition$a as SpinnerDefinition, SpinnerSizes, SvgIcon, definition$P as SvgIconDefinition, Switch, definition$9 as SwitchDefinition, Tab, definition$8 as TabDefinition, Table, TableCell, definition$M as TableCellDefinition, TableCellSizes, styles$a as TableCellStyles, template$7 as TableCellTemplate, definition$O as TableDefinition, styles$b as TableStyles, template$8 as TableTemplate, Tablist, TablistAppearances, definition$7 as TablistDefinition, TablistEventNames, TablistOrientations, TablistSizes, Tag, TagAppearances, definition$L as TagDefinition, TagEventNames, TagShapes, TagSizes, TagTextSizes, TeachingBubble, definition$K 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$J as WizardDefinition, WizardEvents, WizardPanel, definition$I as WizardPanelDefinition, WizardPanelEventNames, WizardPanelStates, WizardStep, definition$H as WizardStepDefinition, WizardStepEvents, WizardStepStates, applyMixins, attachMockElementInternals, createRovingFocusController, createUniqueId, debounce, debug, disabledState, expandedState, getDirection, getOptionsFromElement, globalDirectionDetector, inputElementMethods, isDisabledElement, isFocusableElement, isHiddenElement, isOptionGroup, isRtl, styles$2 as optionGroupStyles, template$2 as optionGroupTemplate, roleForMenuGroup, roleForMenuItem, setAttributes, setChildrenFocusability, setGlobalDirectionDetector, staticallyCompose, toggleState, whitespaceFilter };
|
|
9777
|
+
export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, 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, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, MultiViewGroupPosition, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, RovingFocusController, RovingFocusOptions, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SortDirection, 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, WizardEvent, WizardPanelState, WizardStepEvent, WizardStepState };
|
|
9144
9778
|
//# sourceMappingURL=index.d.ts.map
|