@vonage/vivid 5.12.0 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/definition19.cjs +63 -44
- package/bundled/definition19.js +322 -246
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +16 -13
- package/bundled/slottable-request.cjs +4 -4
- package/bundled/slottable-request.js +70 -70
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +2640 -2580
- package/data-grid/definition.cjs +37 -13
- package/data-grid/definition.js +37 -13
- package/data-grid/index.cjs +38 -32
- package/data-grid/index.js +201 -178
- package/icon/definition.cjs +1 -1
- package/icon/definition.js +1 -1
- package/lib/accordion/accordion.template.d.ts +2 -2
- package/lib/accordion/index.d.ts +1 -0
- package/lib/accordion-item/accordion-item.d.ts +98 -67
- package/lib/accordion-item/accordion-item.template.d.ts +3 -3
- package/lib/accordion-item/index.d.ts +1 -0
- package/lib/action-group/action-group.d.ts +95 -64
- package/lib/action-group/action-group.template.d.ts +2 -2
- package/lib/action-group/index.d.ts +1 -0
- package/lib/alert/alert.d.ts +192 -130
- package/lib/alert/alert.template.d.ts +3 -3
- package/lib/alert/index.d.ts +1 -0
- package/lib/audio-player/audio-player.d.ts +97 -67
- package/lib/audio-player/audio-player.template.d.ts +2 -2
- package/lib/audio-player/index.d.ts +1 -0
- package/lib/avatar/avatar.d.ts +105 -117
- package/lib/avatar/avatar.template.d.ts +1 -1
- package/lib/avatar/index.d.ts +1 -0
- package/lib/badge/badge.d.ts +98 -67
- package/lib/badge/badge.template.d.ts +3 -3
- package/lib/badge/index.d.ts +1 -0
- package/lib/banner/banner.d.ts +286 -193
- package/lib/banner/banner.template.d.ts +3 -3
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb.d.ts +93 -62
- package/lib/breadcrumb/breadcrumb.template.d.ts +2 -2
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +103 -115
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +3 -3
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/button/button.d.ts +297 -247
- package/lib/button/button.template.d.ts +3 -3
- package/lib/button/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +2 -2
- package/lib/calendar/calendar.template.d.ts +2 -2
- package/lib/calendar/helpers/calendar.event-context.d.ts +1 -1
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +1 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar-event/calendar-event.d.ts +95 -64
- package/lib/calendar-event/calendar-event.template.d.ts +2 -2
- package/lib/calendar-event/index.d.ts +1 -0
- package/lib/card/card.d.ts +105 -117
- package/lib/card/card.template.d.ts +2 -2
- package/lib/card/index.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +628 -437
- package/lib/checkbox/checkbox.template.d.ts +3 -3
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/color-picker/color-picker.d.ts +726 -506
- package/lib/color-picker/color-picker.template.d.ts +2 -2
- package/lib/color-picker/definition.d.ts +1 -1
- package/lib/color-picker/index.d.ts +1 -0
- package/lib/combobox/combobox.d.ts +741 -520
- package/lib/combobox/combobox.template.d.ts +3 -3
- package/lib/combobox/index.d.ts +1 -0
- package/lib/contextual-help/contextual-help.d.ts +1 -1
- package/lib/contextual-help/contextual-help.template.d.ts +3 -3
- package/lib/contextual-help/index.d.ts +1 -0
- package/lib/country/country-code-to-flag-icon.d.ts +1 -1
- package/lib/country/country.template.d.ts +3 -3
- package/lib/country/index.d.ts +1 -0
- package/lib/data-grid/data-grid-cell.d.ts +190 -128
- package/lib/data-grid/data-grid-cell.template.d.ts +3 -3
- package/lib/data-grid/data-grid-row.d.ts +95 -64
- package/lib/data-grid/data-grid-row.template.d.ts +3 -3
- package/lib/data-grid/data-grid.d.ts +1 -1
- package/lib/data-grid/data-grid.template.d.ts +3 -3
- package/lib/data-grid/index.d.ts +1 -0
- package/lib/data-grid/locale.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +1045 -792
- package/lib/date-picker/date-picker.template.d.ts +2 -2
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-range-picker/date-range-picker.d.ts +538 -411
- package/lib/date-range-picker/date-range-picker.template.d.ts +2 -2
- package/lib/date-range-picker/index.d.ts +1 -0
- package/lib/date-time-picker/date-time-picker.d.ts +1026 -772
- package/lib/date-time-picker/date-time-picker.template.d.ts +2 -2
- package/lib/date-time-picker/index.d.ts +1 -0
- package/lib/dial-pad/dial-pad.d.ts +95 -64
- package/lib/dial-pad/dial-pad.template.d.ts +2 -2
- package/lib/dial-pad/index.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +189 -127
- package/lib/dialog/dialog.template.d.ts +3 -3
- package/lib/dialog/index.d.ts +1 -0
- package/lib/divider/divider.d.ts +94 -63
- package/lib/divider/divider.template.d.ts +2 -2
- package/lib/divider/index.d.ts +1 -0
- package/lib/elevation/elevation.template.d.ts +2 -2
- package/lib/elevation/index.d.ts +1 -0
- package/lib/empty-state/empty-state.d.ts +2 -2
- package/lib/empty-state/empty-state.template.d.ts +3 -3
- package/lib/empty-state/index.d.ts +1 -0
- package/lib/fab/fab.d.ts +98 -67
- package/lib/fab/fab.template.d.ts +3 -3
- package/lib/fab/index.d.ts +1 -0
- package/lib/file-picker/__mocks__/data-transfer.d.ts +21 -0
- package/lib/file-picker/file-picker.d.ts +736 -515
- package/lib/file-picker/file-picker.template.d.ts +3 -3
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/header/header.d.ts +93 -62
- package/lib/header/header.template.d.ts +3 -3
- package/lib/header/index.d.ts +1 -0
- package/lib/icon/icon.d.ts +2 -2
- package/lib/icon/icon.template.d.ts +3 -3
- package/lib/icon/index.d.ts +1 -0
- package/lib/layout/index.d.ts +1 -0
- package/lib/layout/layout.d.ts +2 -2
- package/lib/layout/layout.template.d.ts +2 -2
- package/lib/menu/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +195 -133
- package/lib/menu/menu.template.d.ts +3 -3
- package/lib/menu-item/index.d.ts +1 -0
- package/lib/menu-item/menu-item.d.ts +191 -129
- package/lib/menu-item/menu-item.template.d.ts +2 -2
- package/lib/nav/index.d.ts +1 -0
- package/lib/nav/nav.d.ts +93 -62
- package/lib/nav/nav.template.d.ts +2 -2
- package/lib/nav-disclosure/index.d.ts +1 -0
- package/lib/nav-disclosure/nav-disclosure.d.ts +191 -129
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +3 -3
- package/lib/nav-item/index.d.ts +1 -0
- package/lib/nav-item/nav-item.d.ts +200 -181
- package/lib/nav-item/nav-item.template.d.ts +3 -3
- package/lib/note/index.d.ts +1 -0
- package/lib/note/note.d.ts +97 -66
- package/lib/note/note.template.d.ts +3 -3
- package/lib/number-field/index.d.ts +1 -0
- package/lib/number-field/number-field.d.ts +929 -646
- package/lib/number-field/number-field.template.d.ts +3 -3
- package/lib/option/index.d.ts +1 -0
- package/lib/option/option.d.ts +191 -129
- package/lib/option/option.template.d.ts +3 -3
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/pagination.d.ts +98 -67
- package/lib/pagination/pagination.template.d.ts +3 -3
- package/lib/popover/definition.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/popover.d.ts +190 -128
- package/lib/popover/popover.template.d.ts +2 -2
- package/lib/popup/index.d.ts +1 -0
- package/lib/popup/popup.d.ts +1 -1
- package/lib/popup/popup.template.d.ts +3 -3
- package/lib/progress/index.d.ts +1 -0
- package/lib/progress/progress.d.ts +94 -63
- package/lib/progress/progress.template.d.ts +2 -2
- package/lib/progress-ring/index.d.ts +1 -0
- package/lib/progress-ring/progress-ring.d.ts +94 -63
- package/lib/progress-ring/progress-ring.template.d.ts +2 -2
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/radio.d.ts +340 -242
- package/lib/radio/radio.template.d.ts +2 -2
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/radio-group.d.ts +99 -68
- package/lib/radio-group/radio-group.template.d.ts +3 -3
- package/lib/range-slider/index.d.ts +1 -0
- package/lib/range-slider/range-slider.d.ts +313 -218
- package/lib/range-slider/range-slider.template.d.ts +3 -3
- package/lib/rich-text-editor/definition.d.ts +1 -1
- package/lib/rich-text-editor/index.d.ts +1 -0
- package/lib/rich-text-editor/popover.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +99 -68
- package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
- package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/doc-factories.d.ts +106 -0
- package/lib/rich-text-editor/rte/__tests__/font-sizes.d.ts +2 -0
- package/lib/rich-text-editor/rte/__tests__/promise.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/test-utils.d.ts +68 -0
- package/lib/rich-text-editor/rte/config.d.ts +4 -4
- package/lib/rich-text-editor/rte/feature.d.ts +10 -12
- package/lib/rich-text-editor/rte/features/alignment.d.ts +19 -0
- package/lib/rich-text-editor/rte/features/atom.d.ts +9 -0
- package/lib/rich-text-editor/rte/features/base.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/bold.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/drop-handler.d.ts +21 -0
- package/lib/rich-text-editor/rte/features/file-handler.d.ts +25 -0
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +46 -0
- package/lib/rich-text-editor/rte/features/hard-break.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/inline-image.d.ts +43 -0
- package/lib/rich-text-editor/rte/features/input-rule.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +6 -6
- package/lib/rich-text-editor/rte/features/internal/core.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/internal/cursor-fix.d.ts +16 -0
- package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/internal/history.d.ts +2 -2
- package/lib/rich-text-editor/rte/features/internal/input-rules.d.ts +4 -4
- package/lib/rich-text-editor/rte/features/italic.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/link.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/list.d.ts +24 -0
- package/lib/rich-text-editor/rte/features/monospace.d.ts +22 -0
- package/lib/rich-text-editor/rte/features/placeholder.d.ts +23 -0
- package/lib/rich-text-editor/rte/features/strikethrough.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/suggest.d.ts +14 -0
- package/lib/rich-text-editor/rte/features/text-block-picker.d.ts +18 -0
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +31 -0
- package/lib/rich-text-editor/rte/features/toolbar-button.d.ts +13 -0
- package/lib/rich-text-editor/rte/features/toolbar.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/underline.d.ts +17 -0
- package/lib/rich-text-editor/rte/html-parser.d.ts +3 -3
- package/lib/rich-text-editor/rte/html-serializer.d.ts +3 -3
- package/lib/rich-text-editor/rte/instance.d.ts +8 -7
- package/lib/rich-text-editor/rte/public-interface.d.ts +13 -0
- package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -2
- package/lib/rich-text-editor/rte/utils/feature-state.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/text-before-cursor.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/ui.d.ts +8 -8
- package/lib/rich-text-editor/rte/view.d.ts +3 -6
- package/lib/rich-text-view/definition.d.ts +1 -1
- package/lib/rich-text-view/index.d.ts +2 -0
- package/lib/rich-text-view/rich-text-view.d.ts +1 -1
- package/lib/rich-text-view/rich-text-view.template.d.ts +2 -2
- package/lib/searchable-select/index.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +96 -65
- package/lib/searchable-select/option-tag.template.d.ts +3 -3
- package/lib/searchable-select/searchable-select.d.ts +929 -646
- package/lib/searchable-select/searchable-select.template.d.ts +3 -3
- package/lib/select/index.d.ts +1 -0
- package/lib/select/locale.d.ts +3 -0
- package/lib/select/select.d.ts +1240 -579
- package/lib/select/select.template.d.ts +3 -3
- package/lib/selectable-box/index.d.ts +1 -0
- package/lib/selectable-box/selectable-box.d.ts +94 -63
- package/lib/selectable-box/selectable-box.template.d.ts +2 -2
- package/lib/side-drawer/index.d.ts +1 -0
- package/lib/side-drawer/side-drawer.template.d.ts +2 -2
- package/lib/simple-color-picker/definition.d.ts +1 -1
- package/lib/simple-color-picker/index.d.ts +1 -0
- package/lib/simple-color-picker/simple-color-picker.d.ts +216 -153
- package/lib/simple-color-picker/simple-color-picker.template.d.ts +2 -2
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/slider.d.ts +299 -205
- package/lib/slider/slider.template.d.ts +4 -4
- package/lib/split-button/index.d.ts +1 -0
- package/lib/split-button/split-button.d.ts +288 -195
- package/lib/split-button/split-button.template.d.ts +3 -3
- package/lib/status/index.d.ts +1 -0
- package/lib/status/status.d.ts +98 -67
- package/lib/status/status.template.d.ts +3 -3
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/switch.d.ts +207 -142
- package/lib/switch/switch.template.d.ts +2 -2
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/tab.d.ts +288 -195
- package/lib/tab/tab.template.d.ts +3 -3
- package/lib/tab-panel/index.d.ts +1 -0
- package/lib/tab-panel/tab-panel.d.ts +93 -62
- package/lib/tab-panel/tab-panel.template.d.ts +2 -2
- package/lib/table/index.d.ts +1 -0
- package/lib/table/table-body.template.d.ts +3 -3
- package/lib/table/table-cell.d.ts +93 -62
- package/lib/table/table-cell.template.d.ts +3 -3
- package/lib/table/table-head.template.d.ts +3 -3
- package/lib/table/table-header-cell.d.ts +93 -62
- package/lib/table/table-header-cell.template.d.ts +3 -3
- package/lib/table/table-row.d.ts +93 -62
- package/lib/table/table-row.template.d.ts +3 -3
- package/lib/table/table.template.d.ts +3 -3
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +2 -2
- package/lib/tabs/tabs.template.d.ts +2 -2
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/tag.d.ts +288 -195
- package/lib/tag/tag.template.d.ts +3 -3
- package/lib/tag-group/index.d.ts +1 -0
- package/lib/tag-group/tag-group.d.ts +93 -62
- package/lib/tag-group/tag-group.template.d.ts +2 -2
- package/lib/tag-name-map.d.ts +1 -1
- package/lib/text-area/index.d.ts +1 -0
- package/lib/text-area/text-area.d.ts +832 -581
- package/lib/text-area/text-area.template.d.ts +3 -3
- package/lib/text-field/index.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +931 -649
- package/lib/text-field/text-field.template.d.ts +3 -3
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/time-picker.d.ts +486 -359
- package/lib/time-picker/time-picker.template.d.ts +3 -3
- package/lib/toggletip/index.d.ts +1 -0
- package/lib/toggletip/toggletip.d.ts +197 -135
- package/lib/toggletip/toggletip.template.d.ts +3 -3
- package/lib/tooltip/index.d.ts +1 -0
- package/lib/tooltip/tooltip.d.ts +101 -70
- package/lib/tooltip/tooltip.template.d.ts +3 -3
- package/lib/tree-item/index.d.ts +1 -0
- package/lib/tree-item/tree-item.d.ts +190 -128
- package/lib/tree-item/tree-item.template.d.ts +3 -3
- package/lib/tree-view/index.d.ts +1 -0
- package/lib/tree-view/tree-view.d.ts +93 -62
- package/lib/tree-view/tree-view.template.d.ts +2 -2
- package/lib/video-player/index.d.ts +1 -0
- package/lib/video-player/video-player.d.ts +96 -65
- package/lib/video-player/video-player.template.d.ts +1 -1
- package/lib/video-player/vivid-video-svg.d.ts +1 -1
- package/lib/visually-hidden/definition.d.ts +1 -1
- package/lib/visually-hidden/index.d.ts +1 -0
- package/lib/visually-hidden/visually-hidden.template.d.ts +1 -1
- package/locales/de-DE.cjs +3 -0
- package/locales/de-DE.d.ts +1 -1
- package/locales/de-DE.js +3 -0
- package/locales/en-GB.cjs +3 -0
- package/locales/en-GB.d.ts +1 -1
- package/locales/en-GB.js +3 -0
- package/locales/en-US.cjs +3 -0
- package/locales/en-US.d.ts +1 -1
- package/locales/en-US.js +3 -0
- package/locales/ja-JP.cjs +3 -0
- package/locales/ja-JP.d.ts +1 -1
- package/locales/ja-JP.js +3 -0
- package/locales/zh-CN.cjs +3 -0
- package/locales/zh-CN.d.ts +1 -1
- package/locales/zh-CN.js +3 -0
- package/package.json +6 -6
- package/rich-text-editor/definition.cjs +2 -4
- package/rich-text-editor/definition.js +3 -5
- package/rich-text-editor/index.cjs +7 -7
- package/rich-text-editor/index.js +975 -977
- package/rich-text-view/index.js +1 -1
- package/select/definition.cjs +104 -5
- package/select/definition.js +104 -5
- package/shared/aria/aria-change-subscription.d.ts +1 -1
- package/shared/aria/aria-mixin.d.ts +94 -63
- package/shared/aria/attribute-removal.d.ts +1 -1
- package/shared/aria/delegate-aria-behavior.d.ts +2 -2
- package/shared/aria/delegates-aria.d.ts +96 -65
- package/shared/aria/host-semantics-behavior.d.ts +2 -2
- package/shared/aria/host-semantics.d.ts +97 -66
- package/shared/color-picker/base-color-picker.d.ts +114 -82
- package/shared/datetime/dateRange.d.ts +1 -1
- package/shared/datetime/dateTimeStr.d.ts +4 -4
- package/shared/datetime/month.d.ts +1 -1
- package/shared/datetime/presentationDate.d.ts +2 -2
- package/shared/datetime/presentationDateRange.d.ts +2 -2
- package/shared/datetime/presentationDateTime.d.ts +2 -2
- package/shared/datetime/presentationTime.d.ts +1 -1
- package/shared/datetime/year.d.ts +1 -1
- package/shared/deprecation/replaced-props.d.ts +95 -60
- package/shared/design-system/createRegisterFunction.d.ts +1 -1
- package/shared/design-system/defineVividComponent.d.ts +1 -1
- package/shared/feedback/feedback-message.d.ts +96 -65
- package/shared/feedback/mixins.d.ts +200 -138
- package/shared/foundation/button/button.d.ts +202 -139
- package/shared/foundation/button/button.template.d.ts +2 -2
- package/shared/foundation/form-associated/form-associated.d.ts +213 -147
- package/shared/foundation/listbox/listbox.d.ts +1 -1
- package/shared/foundation/test-utilities/fixture.d.ts +18 -0
- package/shared/foundation/vivid-element/vivid-element.d.ts +194 -131
- package/shared/localization/Locale.d.ts +31 -29
- package/shared/localization/index.d.ts +1 -1
- package/shared/patterns/affix.d.ts +195 -133
- package/shared/patterns/anchored.d.ts +202 -140
- package/shared/patterns/char-count/char-count.d.ts +99 -68
- package/shared/patterns/chevron.d.ts +2 -2
- package/shared/patterns/form-elements/form-element.d.ts +114 -488
- package/shared/patterns/form-elements/with-contextual-help.d.ts +117 -903
- package/shared/patterns/form-elements/with-error-text.d.ts +120 -906
- package/shared/patterns/form-elements/with-success-text.d.ts +97 -66
- package/shared/patterns/linkable.d.ts +106 -117
- package/shared/patterns/localized.d.ts +197 -135
- package/shared/patterns/trapped-focus.d.ts +95 -64
- package/shared/picker-field/mixins/calendar-picker.d.ts +251 -188
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +271 -208
- package/shared/picker-field/mixins/calendar-segments/calendarGrid.d.ts +3 -3
- package/shared/picker-field/mixins/calendar-segments/monthPickerGrid.d.ts +2 -2
- package/shared/picker-field/mixins/calendar-segments/segment.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/columns.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/index.d.ts +1 -0
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +95 -64
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.template.d.ts +3 -3
- package/shared/picker-field/mixins/inline-time-picker/picker-option.d.ts +1 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +277 -1102
- package/shared/picker-field/mixins/single-date-picker.d.ts +274 -1953
- package/shared/picker-field/mixins/single-value-picker.d.ts +236 -173
- package/shared/picker-field/mixins/time-selection-picker.d.ts +257 -1046
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +486 -360
- package/shared/picker-field/picker-field.d.ts +735 -514
- package/shared/picker-field/picker-field.template.d.ts +2 -2
- package/shared/templating/attribute-binding-behaviour.d.ts +1 -1
- package/shared/templating/render-in-light-dom.d.ts +2 -2
- package/shared/utils/closest-of-type.d.ts +2 -0
- package/shared/utils/direct-children-of-type.d.ts +2 -0
- package/shared/utils/dom-traversal-types.d.ts +3 -0
- package/shared/utils/first-of-type.d.ts +2 -0
- package/shared/utils/last-of-type.d.ts +2 -0
- package/shared/utils/nested-children-of-type.d.ts +2 -0
- package/shared/utils/next-of-type.d.ts +2 -0
- package/shared/utils/numberConverter.d.ts +1 -1
- package/shared/utils/prev-of-type.d.ts +2 -0
- package/shared/utils/promise.d.ts +2 -2
- package/shared/utils/siblings-of-type.d.ts +2 -0
- package/styles/core/all.css +2 -2
- package/styles/core/theme.css +2 -2
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/unbundled/slottable-request.cjs +7 -5
- package/unbundled/slottable-request.js +7 -6
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/vivid.api.json +727 -38
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { VividElement } from '../foundation/vivid-element/vivid-element';
|
|
2
|
-
import
|
|
2
|
+
import { Constructor, MixinType } from '../utils/mixins';
|
|
3
3
|
type AnchorType = string | HTMLElement;
|
|
4
4
|
export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) => {
|
|
5
5
|
new (...args: any[]): {
|
|
6
|
-
anchor?: AnchorType
|
|
6
|
+
anchor?: AnchorType;
|
|
7
7
|
anchorChanged(): void;
|
|
8
|
-
_slottedAnchor?: HTMLElement[]
|
|
8
|
+
_slottedAnchor?: HTMLElement[];
|
|
9
9
|
_slottedAnchorChanged(): void;
|
|
10
10
|
_anchorEl?: HTMLElement | undefined;
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
14
|
-
"__#
|
|
11
|
+
"__#private@#updateAnchorEl": () => void;
|
|
12
|
+
"__#private@#observer"?: MutationObserver;
|
|
13
|
+
"__#private@#observeMissingAnchor": (anchorId: string) => void;
|
|
14
|
+
"__#private@#cleanupObserverIfNeeded": () => void;
|
|
15
15
|
connectedCallback(): void;
|
|
16
16
|
disconnectedCallback(): void;
|
|
17
|
-
_vividAriaBehaviour: import(
|
|
18
|
-
readonly $fastController: import(
|
|
19
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
17
|
+
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
18
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
19
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
20
20
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
21
21
|
accessKey: string;
|
|
22
22
|
readonly accessKeyLabel: string;
|
|
23
23
|
autocapitalize: string;
|
|
24
|
+
autocorrect: boolean;
|
|
24
25
|
dir: string;
|
|
25
26
|
draggable: boolean;
|
|
26
27
|
hidden: boolean;
|
|
@@ -33,30 +34,39 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
33
34
|
readonly offsetTop: number;
|
|
34
35
|
readonly offsetWidth: number;
|
|
35
36
|
outerText: string;
|
|
37
|
+
popover: string | null;
|
|
36
38
|
spellcheck: boolean;
|
|
37
39
|
title: string;
|
|
38
40
|
translate: boolean;
|
|
41
|
+
writingSuggestions: string;
|
|
39
42
|
attachInternals(): ElementInternals;
|
|
40
43
|
click(): void;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
hidePopover(): void;
|
|
45
|
+
showPopover(): void;
|
|
46
|
+
togglePopover(options?: boolean): boolean;
|
|
47
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
50
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
45
51
|
readonly attributes: NamedNodeMap;
|
|
46
|
-
|
|
52
|
+
get classList(): DOMTokenList;
|
|
53
|
+
set classList(value: string);
|
|
47
54
|
className: string;
|
|
48
55
|
readonly clientHeight: number;
|
|
49
56
|
readonly clientLeft: number;
|
|
50
57
|
readonly clientTop: number;
|
|
51
58
|
readonly clientWidth: number;
|
|
59
|
+
readonly currentCSSZoom: number;
|
|
52
60
|
id: string;
|
|
61
|
+
innerHTML: string;
|
|
53
62
|
readonly localName: string;
|
|
54
63
|
readonly namespaceURI: string | null;
|
|
55
64
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
56
65
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
57
66
|
outerHTML: string;
|
|
58
67
|
readonly ownerDocument: Document;
|
|
59
|
-
|
|
68
|
+
get part(): DOMTokenList;
|
|
69
|
+
set part(value: string);
|
|
60
70
|
readonly prefix: string | null;
|
|
61
71
|
readonly scrollHeight: number;
|
|
62
72
|
scrollLeft: number;
|
|
@@ -66,11 +76,12 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
66
76
|
slot: string;
|
|
67
77
|
readonly tagName: string;
|
|
68
78
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
69
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
70
|
-
closest<
|
|
71
|
-
closest<
|
|
72
|
-
closest<
|
|
79
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
80
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
81
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
82
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
73
83
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
84
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
74
85
|
getAttribute(qualifiedName: string): string | null;
|
|
75
86
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
76
87
|
getAttributeNames(): string[];
|
|
@@ -79,43 +90,47 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
79
90
|
getBoundingClientRect(): DOMRect;
|
|
80
91
|
getClientRects(): DOMRectList;
|
|
81
92
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
82
|
-
getElementsByTagName<
|
|
83
|
-
getElementsByTagName<
|
|
84
|
-
getElementsByTagName<
|
|
85
|
-
getElementsByTagName<
|
|
93
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
94
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
95
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
96
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
86
97
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
87
98
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
88
99
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
89
100
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
90
101
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
102
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
91
103
|
hasAttribute(qualifiedName: string): boolean;
|
|
92
104
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
93
105
|
hasAttributes(): boolean;
|
|
94
106
|
hasPointerCapture(pointerId: number): boolean;
|
|
95
107
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
96
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
108
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
97
109
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
98
110
|
matches(selectors: string): boolean;
|
|
99
111
|
releasePointerCapture(pointerId: number): void;
|
|
100
112
|
removeAttribute(qualifiedName: string): void;
|
|
101
113
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
102
114
|
removeAttributeNode(attr: Attr): Attr;
|
|
103
|
-
requestFullscreen(options?: FullscreenOptions
|
|
104
|
-
requestPointerLock(): void
|
|
105
|
-
scroll(options?: ScrollToOptions
|
|
115
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
116
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
117
|
+
scroll(options?: ScrollToOptions): void;
|
|
106
118
|
scroll(x: number, y: number): void;
|
|
107
|
-
scrollBy(options?: ScrollToOptions
|
|
119
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
108
120
|
scrollBy(x: number, y: number): void;
|
|
109
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
110
|
-
scrollTo(options?: ScrollToOptions
|
|
121
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
122
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
111
123
|
scrollTo(x: number, y: number): void;
|
|
112
124
|
setAttribute(qualifiedName: string, value: string): void;
|
|
113
125
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
114
126
|
setAttributeNode(attr: Attr): Attr | null;
|
|
115
127
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
128
|
+
setHTMLUnsafe(html: string): void;
|
|
116
129
|
setPointerCapture(pointerId: number): void;
|
|
117
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
130
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
118
131
|
webkitMatchesSelector(selectors: string): boolean;
|
|
132
|
+
get textContent(): string;
|
|
133
|
+
set textContent(value: string | null);
|
|
119
134
|
readonly baseURI: string;
|
|
120
135
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
121
136
|
readonly firstChild: ChildNode | null;
|
|
@@ -128,22 +143,21 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
128
143
|
readonly parentElement: HTMLElement | null;
|
|
129
144
|
readonly parentNode: ParentNode | null;
|
|
130
145
|
readonly previousSibling: ChildNode | null;
|
|
131
|
-
textContent: string | null;
|
|
132
146
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
133
|
-
cloneNode(
|
|
147
|
+
cloneNode(subtree?: boolean): Node;
|
|
134
148
|
compareDocumentPosition(other: Node): number;
|
|
135
149
|
contains(other: Node | null): boolean;
|
|
136
|
-
getRootNode(options?: GetRootNodeOptions
|
|
150
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
137
151
|
hasChildNodes(): boolean;
|
|
138
|
-
insertBefore<
|
|
152
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
139
153
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
140
154
|
isEqualNode(otherNode: Node | null): boolean;
|
|
141
155
|
isSameNode(otherNode: Node | null): boolean;
|
|
142
156
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
143
157
|
lookupPrefix(namespace: string | null): string | null;
|
|
144
158
|
normalize(): void;
|
|
145
|
-
removeChild<
|
|
146
|
-
replaceChild<
|
|
159
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
160
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
147
161
|
readonly ELEMENT_NODE: 1;
|
|
148
162
|
readonly ATTRIBUTE_NODE: 2;
|
|
149
163
|
readonly TEXT_NODE: 3;
|
|
@@ -163,35 +177,49 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
163
177
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
164
178
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
165
179
|
dispatchEvent(event: Event): boolean;
|
|
180
|
+
ariaActiveDescendantElement: Element | null;
|
|
166
181
|
ariaAtomic: string | null;
|
|
167
182
|
ariaAutoComplete: string | null;
|
|
183
|
+
ariaBrailleLabel: string | null;
|
|
184
|
+
ariaBrailleRoleDescription: string | null;
|
|
168
185
|
ariaBusy: string | null;
|
|
169
186
|
ariaChecked: string | null;
|
|
170
187
|
ariaColCount: string | null;
|
|
171
188
|
ariaColIndex: string | null;
|
|
189
|
+
ariaColIndexText: string | null;
|
|
172
190
|
ariaColSpan: string | null;
|
|
191
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
173
192
|
ariaCurrent: string | null;
|
|
193
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
194
|
+
ariaDescription: string | null;
|
|
195
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
174
196
|
ariaDisabled: string | null;
|
|
197
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
175
198
|
ariaExpanded: string | null;
|
|
199
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
176
200
|
ariaHasPopup: string | null;
|
|
177
201
|
ariaHidden: string | null;
|
|
178
202
|
ariaInvalid: string | null;
|
|
179
203
|
ariaKeyShortcuts: string | null;
|
|
180
204
|
ariaLabel: string | null;
|
|
205
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
181
206
|
ariaLevel: string | null;
|
|
182
207
|
ariaLive: string | null;
|
|
183
208
|
ariaModal: string | null;
|
|
184
209
|
ariaMultiLine: string | null;
|
|
185
210
|
ariaMultiSelectable: string | null;
|
|
186
211
|
ariaOrientation: string | null;
|
|
212
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
187
213
|
ariaPlaceholder: string | null;
|
|
188
214
|
ariaPosInSet: string | null;
|
|
189
215
|
ariaPressed: string | null;
|
|
190
216
|
ariaReadOnly: string | null;
|
|
217
|
+
ariaRelevant: string | null;
|
|
191
218
|
ariaRequired: string | null;
|
|
192
219
|
ariaRoleDescription: string | null;
|
|
193
220
|
ariaRowCount: string | null;
|
|
194
221
|
ariaRowIndex: string | null;
|
|
222
|
+
ariaRowIndexText: string | null;
|
|
195
223
|
ariaRowSpan: string | null;
|
|
196
224
|
ariaSelected: string | null;
|
|
197
225
|
ariaSetSize: string | null;
|
|
@@ -201,34 +229,35 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
201
229
|
ariaValueNow: string | null;
|
|
202
230
|
ariaValueText: string | null;
|
|
203
231
|
role: string | null;
|
|
204
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
205
|
-
getAnimations(options?: GetAnimationsOptions
|
|
206
|
-
after(...nodes: (
|
|
207
|
-
before(...nodes: (
|
|
232
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
233
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
234
|
+
after(...nodes: (Node | string)[]): void;
|
|
235
|
+
before(...nodes: (Node | string)[]): void;
|
|
208
236
|
remove(): void;
|
|
209
|
-
replaceWith(...nodes: (
|
|
210
|
-
innerHTML: string;
|
|
237
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
211
238
|
readonly nextElementSibling: Element | null;
|
|
212
239
|
readonly previousElementSibling: Element | null;
|
|
213
240
|
readonly childElementCount: number;
|
|
214
241
|
readonly children: HTMLCollection;
|
|
215
242
|
readonly firstElementChild: Element | null;
|
|
216
243
|
readonly lastElementChild: Element | null;
|
|
217
|
-
append(...nodes: (
|
|
218
|
-
prepend(...nodes: (
|
|
219
|
-
querySelector<
|
|
220
|
-
querySelector<
|
|
221
|
-
querySelector<
|
|
222
|
-
querySelector<
|
|
223
|
-
querySelector<
|
|
224
|
-
querySelectorAll<
|
|
225
|
-
querySelectorAll<
|
|
226
|
-
querySelectorAll<
|
|
227
|
-
querySelectorAll<
|
|
228
|
-
querySelectorAll<
|
|
229
|
-
replaceChildren(...nodes: (
|
|
244
|
+
append(...nodes: (Node | string)[]): void;
|
|
245
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
246
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
247
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
248
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
249
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
250
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
251
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
252
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
253
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
254
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
255
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
256
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
230
257
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
231
|
-
readonly
|
|
258
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
259
|
+
get style(): CSSStyleDeclaration;
|
|
260
|
+
set style(cssText: string);
|
|
232
261
|
contentEditable: string;
|
|
233
262
|
enterKeyHint: string;
|
|
234
263
|
inputMode: string;
|
|
@@ -238,16 +267,20 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
238
267
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
239
268
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
240
269
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
270
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
242
271
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
272
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
243
274
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
244
275
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
245
276
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
277
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
247
278
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
279
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
249
280
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
-
|
|
281
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
284
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
252
285
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
286
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -294,12 +327,14 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
294
327
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
328
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
329
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
330
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
331
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
332
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
299
333
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
334
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
335
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
302
336
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
338
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
304
339
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
340
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -311,7 +346,7 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
311
346
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
312
347
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
348
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
349
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
315
350
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
316
351
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
317
352
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -329,14 +364,10 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
329
364
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
330
365
|
autofocus: boolean;
|
|
331
366
|
readonly dataset: DOMStringMap;
|
|
332
|
-
nonce?: string
|
|
367
|
+
nonce?: string;
|
|
333
368
|
tabIndex: number;
|
|
334
369
|
blur(): void;
|
|
335
|
-
focus(options?: FocusOptions
|
|
336
|
-
ariaColIndexText: string | null;
|
|
337
|
-
ariaDescription: string | null;
|
|
338
|
-
ariaRowIndexText: string | null;
|
|
339
|
-
ariaRelevant: string | null;
|
|
370
|
+
focus(options?: FocusOptions): void;
|
|
340
371
|
roleChanged(prev: string | null, next: string | null): void;
|
|
341
372
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
342
373
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -379,7 +410,7 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
379
410
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
380
411
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
381
412
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
382
|
-
"__#
|
|
413
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
383
414
|
newPropertyName: string;
|
|
384
415
|
deprecatedPropertyName: string;
|
|
385
416
|
fromDeprecated: (v: any) => any;
|
|
@@ -388,25 +419,26 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
388
419
|
};
|
|
389
420
|
} & T;
|
|
390
421
|
export type AnchoredElement = MixinType<typeof Anchored>;
|
|
391
|
-
export declare const anchorSlotTemplateFactory: () => import(
|
|
392
|
-
anchor?: AnchorType
|
|
422
|
+
export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-element').ViewTemplate<{
|
|
423
|
+
anchor?: AnchorType;
|
|
393
424
|
anchorChanged(): void;
|
|
394
|
-
_slottedAnchor?: HTMLElement[]
|
|
425
|
+
_slottedAnchor?: HTMLElement[];
|
|
395
426
|
_slottedAnchorChanged(): void;
|
|
396
427
|
_anchorEl?: HTMLElement | undefined;
|
|
397
|
-
"__#
|
|
398
|
-
"__#
|
|
399
|
-
"__#
|
|
400
|
-
"__#
|
|
428
|
+
"__#private@#updateAnchorEl": () => void;
|
|
429
|
+
"__#private@#observer"?: MutationObserver;
|
|
430
|
+
"__#private@#observeMissingAnchor": (anchorId: string) => void;
|
|
431
|
+
"__#private@#cleanupObserverIfNeeded": () => void;
|
|
401
432
|
connectedCallback(): void;
|
|
402
433
|
disconnectedCallback(): void;
|
|
403
|
-
_vividAriaBehaviour: import(
|
|
404
|
-
readonly $fastController: import(
|
|
405
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
434
|
+
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
435
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
436
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
406
437
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
407
438
|
accessKey: string;
|
|
408
439
|
readonly accessKeyLabel: string;
|
|
409
440
|
autocapitalize: string;
|
|
441
|
+
autocorrect: boolean;
|
|
410
442
|
dir: string;
|
|
411
443
|
draggable: boolean;
|
|
412
444
|
hidden: boolean;
|
|
@@ -419,30 +451,39 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
419
451
|
readonly offsetTop: number;
|
|
420
452
|
readonly offsetWidth: number;
|
|
421
453
|
outerText: string;
|
|
454
|
+
popover: string | null;
|
|
422
455
|
spellcheck: boolean;
|
|
423
456
|
title: string;
|
|
424
457
|
translate: boolean;
|
|
458
|
+
writingSuggestions: string;
|
|
425
459
|
attachInternals(): ElementInternals;
|
|
426
460
|
click(): void;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
461
|
+
hidePopover(): void;
|
|
462
|
+
showPopover(): void;
|
|
463
|
+
togglePopover(options?: boolean): boolean;
|
|
464
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
465
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
466
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
467
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
431
468
|
readonly attributes: NamedNodeMap;
|
|
432
|
-
|
|
469
|
+
get classList(): DOMTokenList;
|
|
470
|
+
set classList(value: string);
|
|
433
471
|
className: string;
|
|
434
472
|
readonly clientHeight: number;
|
|
435
473
|
readonly clientLeft: number;
|
|
436
474
|
readonly clientTop: number;
|
|
437
475
|
readonly clientWidth: number;
|
|
476
|
+
readonly currentCSSZoom: number;
|
|
438
477
|
id: string;
|
|
478
|
+
innerHTML: string;
|
|
439
479
|
readonly localName: string;
|
|
440
480
|
readonly namespaceURI: string | null;
|
|
441
481
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
442
482
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
443
483
|
outerHTML: string;
|
|
444
484
|
readonly ownerDocument: Document;
|
|
445
|
-
|
|
485
|
+
get part(): DOMTokenList;
|
|
486
|
+
set part(value: string);
|
|
446
487
|
readonly prefix: string | null;
|
|
447
488
|
readonly scrollHeight: number;
|
|
448
489
|
scrollLeft: number;
|
|
@@ -452,11 +493,12 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
452
493
|
slot: string;
|
|
453
494
|
readonly tagName: string;
|
|
454
495
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
455
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
456
|
-
closest<
|
|
457
|
-
closest<
|
|
458
|
-
closest<
|
|
496
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
497
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
498
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
499
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
459
500
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
501
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
460
502
|
getAttribute(qualifiedName: string): string | null;
|
|
461
503
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
462
504
|
getAttributeNames(): string[];
|
|
@@ -465,43 +507,47 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
465
507
|
getBoundingClientRect(): DOMRect;
|
|
466
508
|
getClientRects(): DOMRectList;
|
|
467
509
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
468
|
-
getElementsByTagName<
|
|
469
|
-
getElementsByTagName<
|
|
470
|
-
getElementsByTagName<
|
|
471
|
-
getElementsByTagName<
|
|
510
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
511
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
512
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
513
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
472
514
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
473
515
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
474
516
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
475
517
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
476
518
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
519
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
477
520
|
hasAttribute(qualifiedName: string): boolean;
|
|
478
521
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
479
522
|
hasAttributes(): boolean;
|
|
480
523
|
hasPointerCapture(pointerId: number): boolean;
|
|
481
524
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
482
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
525
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
483
526
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
484
527
|
matches(selectors: string): boolean;
|
|
485
528
|
releasePointerCapture(pointerId: number): void;
|
|
486
529
|
removeAttribute(qualifiedName: string): void;
|
|
487
530
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
488
531
|
removeAttributeNode(attr: Attr): Attr;
|
|
489
|
-
requestFullscreen(options?: FullscreenOptions
|
|
490
|
-
requestPointerLock(): void
|
|
491
|
-
scroll(options?: ScrollToOptions
|
|
532
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
533
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
534
|
+
scroll(options?: ScrollToOptions): void;
|
|
492
535
|
scroll(x: number, y: number): void;
|
|
493
|
-
scrollBy(options?: ScrollToOptions
|
|
536
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
494
537
|
scrollBy(x: number, y: number): void;
|
|
495
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
496
|
-
scrollTo(options?: ScrollToOptions
|
|
538
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
539
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
497
540
|
scrollTo(x: number, y: number): void;
|
|
498
541
|
setAttribute(qualifiedName: string, value: string): void;
|
|
499
542
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
500
543
|
setAttributeNode(attr: Attr): Attr | null;
|
|
501
544
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
545
|
+
setHTMLUnsafe(html: string): void;
|
|
502
546
|
setPointerCapture(pointerId: number): void;
|
|
503
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
547
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
504
548
|
webkitMatchesSelector(selectors: string): boolean;
|
|
549
|
+
get textContent(): string;
|
|
550
|
+
set textContent(value: string | null);
|
|
505
551
|
readonly baseURI: string;
|
|
506
552
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
507
553
|
readonly firstChild: ChildNode | null;
|
|
@@ -514,22 +560,21 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
514
560
|
readonly parentElement: HTMLElement | null;
|
|
515
561
|
readonly parentNode: ParentNode | null;
|
|
516
562
|
readonly previousSibling: ChildNode | null;
|
|
517
|
-
textContent: string | null;
|
|
518
563
|
appendChild<T extends Node>(node: T): T;
|
|
519
|
-
cloneNode(
|
|
564
|
+
cloneNode(subtree?: boolean): Node;
|
|
520
565
|
compareDocumentPosition(other: Node): number;
|
|
521
566
|
contains(other: Node | null): boolean;
|
|
522
|
-
getRootNode(options?: GetRootNodeOptions
|
|
567
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
523
568
|
hasChildNodes(): boolean;
|
|
524
|
-
insertBefore<
|
|
569
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
525
570
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
526
571
|
isEqualNode(otherNode: Node | null): boolean;
|
|
527
572
|
isSameNode(otherNode: Node | null): boolean;
|
|
528
573
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
529
574
|
lookupPrefix(namespace: string | null): string | null;
|
|
530
575
|
normalize(): void;
|
|
531
|
-
removeChild<
|
|
532
|
-
replaceChild<
|
|
576
|
+
removeChild<T extends Node>(child: T): T;
|
|
577
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
533
578
|
readonly ELEMENT_NODE: 1;
|
|
534
579
|
readonly ATTRIBUTE_NODE: 2;
|
|
535
580
|
readonly TEXT_NODE: 3;
|
|
@@ -549,35 +594,49 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
549
594
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
550
595
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
551
596
|
dispatchEvent(event: Event): boolean;
|
|
597
|
+
ariaActiveDescendantElement: Element | null;
|
|
552
598
|
ariaAtomic: string | null;
|
|
553
599
|
ariaAutoComplete: string | null;
|
|
600
|
+
ariaBrailleLabel: string | null;
|
|
601
|
+
ariaBrailleRoleDescription: string | null;
|
|
554
602
|
ariaBusy: string | null;
|
|
555
603
|
ariaChecked: string | null;
|
|
556
604
|
ariaColCount: string | null;
|
|
557
605
|
ariaColIndex: string | null;
|
|
606
|
+
ariaColIndexText: string | null;
|
|
558
607
|
ariaColSpan: string | null;
|
|
608
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
559
609
|
ariaCurrent: string | null;
|
|
610
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
611
|
+
ariaDescription: string | null;
|
|
612
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
560
613
|
ariaDisabled: string | null;
|
|
614
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
561
615
|
ariaExpanded: string | null;
|
|
616
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
562
617
|
ariaHasPopup: string | null;
|
|
563
618
|
ariaHidden: string | null;
|
|
564
619
|
ariaInvalid: string | null;
|
|
565
620
|
ariaKeyShortcuts: string | null;
|
|
566
621
|
ariaLabel: string | null;
|
|
622
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
567
623
|
ariaLevel: string | null;
|
|
568
624
|
ariaLive: string | null;
|
|
569
625
|
ariaModal: string | null;
|
|
570
626
|
ariaMultiLine: string | null;
|
|
571
627
|
ariaMultiSelectable: string | null;
|
|
572
628
|
ariaOrientation: string | null;
|
|
629
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
573
630
|
ariaPlaceholder: string | null;
|
|
574
631
|
ariaPosInSet: string | null;
|
|
575
632
|
ariaPressed: string | null;
|
|
576
633
|
ariaReadOnly: string | null;
|
|
634
|
+
ariaRelevant: string | null;
|
|
577
635
|
ariaRequired: string | null;
|
|
578
636
|
ariaRoleDescription: string | null;
|
|
579
637
|
ariaRowCount: string | null;
|
|
580
638
|
ariaRowIndex: string | null;
|
|
639
|
+
ariaRowIndexText: string | null;
|
|
581
640
|
ariaRowSpan: string | null;
|
|
582
641
|
ariaSelected: string | null;
|
|
583
642
|
ariaSetSize: string | null;
|
|
@@ -587,34 +646,35 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
587
646
|
ariaValueNow: string | null;
|
|
588
647
|
ariaValueText: string | null;
|
|
589
648
|
role: string | null;
|
|
590
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
591
|
-
getAnimations(options?: GetAnimationsOptions
|
|
592
|
-
after(...nodes: (
|
|
593
|
-
before(...nodes: (
|
|
649
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
650
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
651
|
+
after(...nodes: (Node | string)[]): void;
|
|
652
|
+
before(...nodes: (Node | string)[]): void;
|
|
594
653
|
remove(): void;
|
|
595
|
-
replaceWith(...nodes: (
|
|
596
|
-
innerHTML: string;
|
|
654
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
597
655
|
readonly nextElementSibling: Element | null;
|
|
598
656
|
readonly previousElementSibling: Element | null;
|
|
599
657
|
readonly childElementCount: number;
|
|
600
658
|
readonly children: HTMLCollection;
|
|
601
659
|
readonly firstElementChild: Element | null;
|
|
602
660
|
readonly lastElementChild: Element | null;
|
|
603
|
-
append(...nodes: (
|
|
604
|
-
prepend(...nodes: (
|
|
605
|
-
querySelector<
|
|
606
|
-
querySelector<
|
|
607
|
-
querySelector<
|
|
608
|
-
querySelector<
|
|
609
|
-
querySelector<
|
|
610
|
-
querySelectorAll<
|
|
611
|
-
querySelectorAll<
|
|
612
|
-
querySelectorAll<
|
|
613
|
-
querySelectorAll<
|
|
614
|
-
querySelectorAll<
|
|
615
|
-
replaceChildren(...nodes: (
|
|
661
|
+
append(...nodes: (Node | string)[]): void;
|
|
662
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
663
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
664
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
665
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
666
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
667
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
668
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
669
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
670
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
671
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
672
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
673
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
616
674
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
617
|
-
readonly
|
|
675
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
676
|
+
get style(): CSSStyleDeclaration;
|
|
677
|
+
set style(cssText: string);
|
|
618
678
|
contentEditable: string;
|
|
619
679
|
enterKeyHint: string;
|
|
620
680
|
inputMode: string;
|
|
@@ -624,16 +684,20 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
624
684
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
625
685
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
626
686
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
627
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
687
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
628
688
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
689
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
690
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
629
691
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
630
692
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
631
693
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
632
694
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
633
695
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
634
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
696
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
635
697
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
636
|
-
|
|
698
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
699
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
700
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
637
701
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
638
702
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
639
703
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -680,12 +744,14 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
680
744
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
681
745
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
682
746
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
747
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
683
748
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
684
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
749
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
685
750
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
686
751
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
687
752
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
688
753
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
754
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
689
755
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
690
756
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
691
757
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -697,7 +763,7 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
697
763
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
698
764
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
699
765
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
700
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
766
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
701
767
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
702
768
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
703
769
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -715,14 +781,10 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
715
781
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
716
782
|
autofocus: boolean;
|
|
717
783
|
readonly dataset: DOMStringMap;
|
|
718
|
-
nonce?: string
|
|
784
|
+
nonce?: string;
|
|
719
785
|
tabIndex: number;
|
|
720
786
|
blur(): void;
|
|
721
|
-
focus(options?: FocusOptions
|
|
722
|
-
ariaColIndexText: string | null;
|
|
723
|
-
ariaDescription: string | null;
|
|
724
|
-
ariaRowIndexText: string | null;
|
|
725
|
-
ariaRelevant: string | null;
|
|
787
|
+
focus(options?: FocusOptions): void;
|
|
726
788
|
roleChanged(prev: string | null, next: string | null): void;
|
|
727
789
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
728
790
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -765,7 +827,7 @@ export declare const anchorSlotTemplateFactory: () => import("@microsoft/fast-el
|
|
|
765
827
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
766
828
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
767
829
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
768
|
-
"__#
|
|
830
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
769
831
|
newPropertyName: string;
|
|
770
832
|
deprecatedPropertyName: string;
|
|
771
833
|
fromDeprecated: (v: any) => any;
|