@vonage/vivid 5.11.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 +2505 -2445
- 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 +5 -5
- 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
package/lib/tag/tag.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Appearance, Connotation, Shape } from '../enums.js';
|
|
2
2
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
3
|
-
import
|
|
3
|
+
import { ExtractFromEnum } from '../../shared/utils/enums';
|
|
4
4
|
export type TagConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
|
|
5
5
|
export type TagAppearance = ExtractFromEnum<Appearance, Appearance.Subtle | Appearance.Duotone | Appearance.SubtleLight>;
|
|
6
6
|
export type TagShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
7
|
declare const Tag_base: {
|
|
8
8
|
new (...args: any[]): {
|
|
9
|
-
|
|
9
|
+
get locale(): import('../../shared/localization/Locale').Locale;
|
|
10
10
|
connectedCallback(): void;
|
|
11
|
-
_vividAriaBehaviour: import(
|
|
12
|
-
readonly $fastController: import(
|
|
13
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
11
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
12
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
13
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
14
14
|
disconnectedCallback(): void;
|
|
15
15
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
16
16
|
accessKey: string;
|
|
17
17
|
readonly accessKeyLabel: string;
|
|
18
18
|
autocapitalize: string;
|
|
19
|
+
autocorrect: boolean;
|
|
19
20
|
dir: string;
|
|
20
21
|
draggable: boolean;
|
|
21
22
|
hidden: boolean;
|
|
@@ -28,30 +29,39 @@ declare const Tag_base: {
|
|
|
28
29
|
readonly offsetTop: number;
|
|
29
30
|
readonly offsetWidth: number;
|
|
30
31
|
outerText: string;
|
|
32
|
+
popover: string | null;
|
|
31
33
|
spellcheck: boolean;
|
|
32
34
|
title: string;
|
|
33
35
|
translate: boolean;
|
|
36
|
+
writingSuggestions: string;
|
|
34
37
|
attachInternals(): ElementInternals;
|
|
35
38
|
click(): void;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
hidePopover(): void;
|
|
40
|
+
showPopover(): void;
|
|
41
|
+
togglePopover(options?: boolean): boolean;
|
|
42
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
43
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
44
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
45
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
40
46
|
readonly attributes: NamedNodeMap;
|
|
41
|
-
|
|
47
|
+
get classList(): DOMTokenList;
|
|
48
|
+
set classList(value: string);
|
|
42
49
|
className: string;
|
|
43
50
|
readonly clientHeight: number;
|
|
44
51
|
readonly clientLeft: number;
|
|
45
52
|
readonly clientTop: number;
|
|
46
53
|
readonly clientWidth: number;
|
|
54
|
+
readonly currentCSSZoom: number;
|
|
47
55
|
id: string;
|
|
56
|
+
innerHTML: string;
|
|
48
57
|
readonly localName: string;
|
|
49
58
|
readonly namespaceURI: string | null;
|
|
50
59
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
51
60
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
52
61
|
outerHTML: string;
|
|
53
62
|
readonly ownerDocument: Document;
|
|
54
|
-
|
|
63
|
+
get part(): DOMTokenList;
|
|
64
|
+
set part(value: string);
|
|
55
65
|
readonly prefix: string | null;
|
|
56
66
|
readonly scrollHeight: number;
|
|
57
67
|
scrollLeft: number;
|
|
@@ -61,11 +71,12 @@ declare const Tag_base: {
|
|
|
61
71
|
slot: string;
|
|
62
72
|
readonly tagName: string;
|
|
63
73
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
64
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
65
|
-
closest<
|
|
66
|
-
closest<
|
|
67
|
-
closest<
|
|
74
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
75
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
76
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
77
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
68
78
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
79
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
69
80
|
getAttribute(qualifiedName: string): string | null;
|
|
70
81
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
71
82
|
getAttributeNames(): string[];
|
|
@@ -74,43 +85,47 @@ declare const Tag_base: {
|
|
|
74
85
|
getBoundingClientRect(): DOMRect;
|
|
75
86
|
getClientRects(): DOMRectList;
|
|
76
87
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
77
|
-
getElementsByTagName<
|
|
78
|
-
getElementsByTagName<
|
|
79
|
-
getElementsByTagName<
|
|
80
|
-
getElementsByTagName<
|
|
88
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
89
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
90
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
91
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
81
92
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
82
93
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
83
94
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
84
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
85
96
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
97
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
86
98
|
hasAttribute(qualifiedName: string): boolean;
|
|
87
99
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
88
100
|
hasAttributes(): boolean;
|
|
89
101
|
hasPointerCapture(pointerId: number): boolean;
|
|
90
102
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
91
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
103
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
92
104
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
93
105
|
matches(selectors: string): boolean;
|
|
94
106
|
releasePointerCapture(pointerId: number): void;
|
|
95
107
|
removeAttribute(qualifiedName: string): void;
|
|
96
108
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
97
109
|
removeAttributeNode(attr: Attr): Attr;
|
|
98
|
-
requestFullscreen(options?: FullscreenOptions
|
|
99
|
-
requestPointerLock(): void
|
|
100
|
-
scroll(options?: ScrollToOptions
|
|
110
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
111
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
112
|
+
scroll(options?: ScrollToOptions): void;
|
|
101
113
|
scroll(x: number, y: number): void;
|
|
102
|
-
scrollBy(options?: ScrollToOptions
|
|
114
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
103
115
|
scrollBy(x: number, y: number): void;
|
|
104
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
105
|
-
scrollTo(options?: ScrollToOptions
|
|
116
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
117
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
106
118
|
scrollTo(x: number, y: number): void;
|
|
107
119
|
setAttribute(qualifiedName: string, value: string): void;
|
|
108
120
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
109
121
|
setAttributeNode(attr: Attr): Attr | null;
|
|
110
122
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
123
|
+
setHTMLUnsafe(html: string): void;
|
|
111
124
|
setPointerCapture(pointerId: number): void;
|
|
112
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
125
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
113
126
|
webkitMatchesSelector(selectors: string): boolean;
|
|
127
|
+
get textContent(): string;
|
|
128
|
+
set textContent(value: string | null);
|
|
114
129
|
readonly baseURI: string;
|
|
115
130
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
116
131
|
readonly firstChild: ChildNode | null;
|
|
@@ -123,22 +138,21 @@ declare const Tag_base: {
|
|
|
123
138
|
readonly parentElement: HTMLElement | null;
|
|
124
139
|
readonly parentNode: ParentNode | null;
|
|
125
140
|
readonly previousSibling: ChildNode | null;
|
|
126
|
-
textContent: string | null;
|
|
127
141
|
appendChild<T extends Node>(node: T): T;
|
|
128
|
-
cloneNode(
|
|
142
|
+
cloneNode(subtree?: boolean): Node;
|
|
129
143
|
compareDocumentPosition(other: Node): number;
|
|
130
144
|
contains(other: Node | null): boolean;
|
|
131
|
-
getRootNode(options?: GetRootNodeOptions
|
|
145
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
132
146
|
hasChildNodes(): boolean;
|
|
133
|
-
insertBefore<
|
|
147
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
134
148
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
135
149
|
isEqualNode(otherNode: Node | null): boolean;
|
|
136
150
|
isSameNode(otherNode: Node | null): boolean;
|
|
137
151
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
138
152
|
lookupPrefix(namespace: string | null): string | null;
|
|
139
153
|
normalize(): void;
|
|
140
|
-
removeChild<
|
|
141
|
-
replaceChild<
|
|
154
|
+
removeChild<T extends Node>(child: T): T;
|
|
155
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
142
156
|
readonly ELEMENT_NODE: 1;
|
|
143
157
|
readonly ATTRIBUTE_NODE: 2;
|
|
144
158
|
readonly TEXT_NODE: 3;
|
|
@@ -158,35 +172,49 @@ declare const Tag_base: {
|
|
|
158
172
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
159
173
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
160
174
|
dispatchEvent(event: Event): boolean;
|
|
175
|
+
ariaActiveDescendantElement: Element | null;
|
|
161
176
|
ariaAtomic: string | null;
|
|
162
177
|
ariaAutoComplete: string | null;
|
|
178
|
+
ariaBrailleLabel: string | null;
|
|
179
|
+
ariaBrailleRoleDescription: string | null;
|
|
163
180
|
ariaBusy: string | null;
|
|
164
181
|
ariaChecked: string | null;
|
|
165
182
|
ariaColCount: string | null;
|
|
166
183
|
ariaColIndex: string | null;
|
|
184
|
+
ariaColIndexText: string | null;
|
|
167
185
|
ariaColSpan: string | null;
|
|
186
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
168
187
|
ariaCurrent: string | null;
|
|
188
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
189
|
+
ariaDescription: string | null;
|
|
190
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
169
191
|
ariaDisabled: string | null;
|
|
192
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
170
193
|
ariaExpanded: string | null;
|
|
194
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
171
195
|
ariaHasPopup: string | null;
|
|
172
196
|
ariaHidden: string | null;
|
|
173
197
|
ariaInvalid: string | null;
|
|
174
198
|
ariaKeyShortcuts: string | null;
|
|
175
199
|
ariaLabel: string | null;
|
|
200
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
176
201
|
ariaLevel: string | null;
|
|
177
202
|
ariaLive: string | null;
|
|
178
203
|
ariaModal: string | null;
|
|
179
204
|
ariaMultiLine: string | null;
|
|
180
205
|
ariaMultiSelectable: string | null;
|
|
181
206
|
ariaOrientation: string | null;
|
|
207
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
182
208
|
ariaPlaceholder: string | null;
|
|
183
209
|
ariaPosInSet: string | null;
|
|
184
210
|
ariaPressed: string | null;
|
|
185
211
|
ariaReadOnly: string | null;
|
|
212
|
+
ariaRelevant: string | null;
|
|
186
213
|
ariaRequired: string | null;
|
|
187
214
|
ariaRoleDescription: string | null;
|
|
188
215
|
ariaRowCount: string | null;
|
|
189
216
|
ariaRowIndex: string | null;
|
|
217
|
+
ariaRowIndexText: string | null;
|
|
190
218
|
ariaRowSpan: string | null;
|
|
191
219
|
ariaSelected: string | null;
|
|
192
220
|
ariaSetSize: string | null;
|
|
@@ -196,34 +224,35 @@ declare const Tag_base: {
|
|
|
196
224
|
ariaValueNow: string | null;
|
|
197
225
|
ariaValueText: string | null;
|
|
198
226
|
role: string | null;
|
|
199
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
200
|
-
getAnimations(options?: GetAnimationsOptions
|
|
201
|
-
after(...nodes: (
|
|
202
|
-
before(...nodes: (
|
|
227
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
228
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
229
|
+
after(...nodes: (Node | string)[]): void;
|
|
230
|
+
before(...nodes: (Node | string)[]): void;
|
|
203
231
|
remove(): void;
|
|
204
|
-
replaceWith(...nodes: (
|
|
205
|
-
innerHTML: string;
|
|
232
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
206
233
|
readonly nextElementSibling: Element | null;
|
|
207
234
|
readonly previousElementSibling: Element | null;
|
|
208
235
|
readonly childElementCount: number;
|
|
209
236
|
readonly children: HTMLCollection;
|
|
210
237
|
readonly firstElementChild: Element | null;
|
|
211
238
|
readonly lastElementChild: Element | null;
|
|
212
|
-
append(...nodes: (
|
|
213
|
-
prepend(...nodes: (
|
|
214
|
-
querySelector<
|
|
215
|
-
querySelector<
|
|
216
|
-
querySelector<
|
|
217
|
-
querySelector<
|
|
218
|
-
querySelector<
|
|
219
|
-
querySelectorAll<
|
|
220
|
-
querySelectorAll<
|
|
221
|
-
querySelectorAll<
|
|
222
|
-
querySelectorAll<
|
|
223
|
-
querySelectorAll<
|
|
224
|
-
replaceChildren(...nodes: (
|
|
239
|
+
append(...nodes: (Node | string)[]): void;
|
|
240
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
241
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
242
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
243
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
244
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
245
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
246
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
247
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
248
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
249
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
250
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
251
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
225
252
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
226
|
-
readonly
|
|
253
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
254
|
+
get style(): CSSStyleDeclaration;
|
|
255
|
+
set style(cssText: string);
|
|
227
256
|
contentEditable: string;
|
|
228
257
|
enterKeyHint: string;
|
|
229
258
|
inputMode: string;
|
|
@@ -233,16 +262,20 @@ declare const Tag_base: {
|
|
|
233
262
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
234
263
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
235
264
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
236
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
265
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
237
266
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
267
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
238
269
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
239
270
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
240
271
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
241
272
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
242
273
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
243
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
274
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
244
275
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
245
|
-
|
|
276
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
279
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
247
280
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
281
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -289,12 +322,14 @@ declare const Tag_base: {
|
|
|
289
322
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
290
323
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
291
324
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
325
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
326
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
327
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
294
328
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
329
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
330
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
297
331
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
333
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
299
334
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
335
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -306,7 +341,7 @@ declare const Tag_base: {
|
|
|
306
341
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
307
342
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
343
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
344
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
310
345
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
311
346
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
312
347
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -324,14 +359,10 @@ declare const Tag_base: {
|
|
|
324
359
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
325
360
|
autofocus: boolean;
|
|
326
361
|
readonly dataset: DOMStringMap;
|
|
327
|
-
nonce?: string
|
|
362
|
+
nonce?: string;
|
|
328
363
|
tabIndex: number;
|
|
329
364
|
blur(): void;
|
|
330
|
-
focus(options?: FocusOptions
|
|
331
|
-
ariaColIndexText: string | null;
|
|
332
|
-
ariaDescription: string | null;
|
|
333
|
-
ariaRowIndexText: string | null;
|
|
334
|
-
ariaRelevant: string | null;
|
|
365
|
+
focus(options?: FocusOptions): void;
|
|
335
366
|
roleChanged(prev: string | null, next: string | null): void;
|
|
336
367
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
337
368
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -374,7 +405,7 @@ declare const Tag_base: {
|
|
|
374
405
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
375
406
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
376
407
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
377
|
-
"__#
|
|
408
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
378
409
|
newPropertyName: string;
|
|
379
410
|
deprecatedPropertyName: string;
|
|
380
411
|
fromDeprecated: (v: any) => any;
|
|
@@ -385,13 +416,14 @@ declare const Tag_base: {
|
|
|
385
416
|
new (...args: any[]): {
|
|
386
417
|
_vividAriaBehaviour: "delegate";
|
|
387
418
|
connectedCallback(): void;
|
|
388
|
-
readonly $fastController: import(
|
|
389
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
419
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
420
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
390
421
|
disconnectedCallback(): void;
|
|
391
422
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
392
423
|
accessKey: string;
|
|
393
424
|
readonly accessKeyLabel: string;
|
|
394
425
|
autocapitalize: string;
|
|
426
|
+
autocorrect: boolean;
|
|
395
427
|
dir: string;
|
|
396
428
|
draggable: boolean;
|
|
397
429
|
hidden: boolean;
|
|
@@ -404,30 +436,39 @@ declare const Tag_base: {
|
|
|
404
436
|
readonly offsetTop: number;
|
|
405
437
|
readonly offsetWidth: number;
|
|
406
438
|
outerText: string;
|
|
439
|
+
popover: string | null;
|
|
407
440
|
spellcheck: boolean;
|
|
408
441
|
title: string;
|
|
409
442
|
translate: boolean;
|
|
443
|
+
writingSuggestions: string;
|
|
410
444
|
attachInternals(): ElementInternals;
|
|
411
445
|
click(): void;
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
446
|
+
hidePopover(): void;
|
|
447
|
+
showPopover(): void;
|
|
448
|
+
togglePopover(options?: boolean): boolean;
|
|
449
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
450
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
451
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
452
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
416
453
|
readonly attributes: NamedNodeMap;
|
|
417
|
-
|
|
454
|
+
get classList(): DOMTokenList;
|
|
455
|
+
set classList(value: string);
|
|
418
456
|
className: string;
|
|
419
457
|
readonly clientHeight: number;
|
|
420
458
|
readonly clientLeft: number;
|
|
421
459
|
readonly clientTop: number;
|
|
422
460
|
readonly clientWidth: number;
|
|
461
|
+
readonly currentCSSZoom: number;
|
|
423
462
|
id: string;
|
|
463
|
+
innerHTML: string;
|
|
424
464
|
readonly localName: string;
|
|
425
465
|
readonly namespaceURI: string | null;
|
|
426
466
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
427
467
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
428
468
|
outerHTML: string;
|
|
429
469
|
readonly ownerDocument: Document;
|
|
430
|
-
|
|
470
|
+
get part(): DOMTokenList;
|
|
471
|
+
set part(value: string);
|
|
431
472
|
readonly prefix: string | null;
|
|
432
473
|
readonly scrollHeight: number;
|
|
433
474
|
scrollLeft: number;
|
|
@@ -437,11 +478,12 @@ declare const Tag_base: {
|
|
|
437
478
|
slot: string;
|
|
438
479
|
readonly tagName: string;
|
|
439
480
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
440
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
441
|
-
closest<
|
|
442
|
-
closest<
|
|
443
|
-
closest<
|
|
444
|
-
closest<
|
|
481
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
482
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
483
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
484
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
485
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
486
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
445
487
|
getAttribute(qualifiedName: string): string | null;
|
|
446
488
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
447
489
|
getAttributeNames(): string[];
|
|
@@ -450,43 +492,47 @@ declare const Tag_base: {
|
|
|
450
492
|
getBoundingClientRect(): DOMRect;
|
|
451
493
|
getClientRects(): DOMRectList;
|
|
452
494
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
453
|
-
getElementsByTagName<
|
|
454
|
-
getElementsByTagName<
|
|
455
|
-
getElementsByTagName<
|
|
456
|
-
getElementsByTagName<
|
|
495
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
496
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
497
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
498
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
457
499
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
458
500
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
459
501
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
460
502
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
461
503
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
504
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
462
505
|
hasAttribute(qualifiedName: string): boolean;
|
|
463
506
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
464
507
|
hasAttributes(): boolean;
|
|
465
508
|
hasPointerCapture(pointerId: number): boolean;
|
|
466
509
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
467
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
510
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
468
511
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
469
512
|
matches(selectors: string): boolean;
|
|
470
513
|
releasePointerCapture(pointerId: number): void;
|
|
471
514
|
removeAttribute(qualifiedName: string): void;
|
|
472
515
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
473
516
|
removeAttributeNode(attr: Attr): Attr;
|
|
474
|
-
requestFullscreen(options?: FullscreenOptions
|
|
475
|
-
requestPointerLock(): void
|
|
476
|
-
scroll(options?: ScrollToOptions
|
|
517
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
518
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
519
|
+
scroll(options?: ScrollToOptions): void;
|
|
477
520
|
scroll(x: number, y: number): void;
|
|
478
|
-
scrollBy(options?: ScrollToOptions
|
|
521
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
479
522
|
scrollBy(x: number, y: number): void;
|
|
480
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
481
|
-
scrollTo(options?: ScrollToOptions
|
|
523
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
524
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
482
525
|
scrollTo(x: number, y: number): void;
|
|
483
526
|
setAttribute(qualifiedName: string, value: string): void;
|
|
484
527
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
485
528
|
setAttributeNode(attr: Attr): Attr | null;
|
|
486
529
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
530
|
+
setHTMLUnsafe(html: string): void;
|
|
487
531
|
setPointerCapture(pointerId: number): void;
|
|
488
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
532
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
489
533
|
webkitMatchesSelector(selectors: string): boolean;
|
|
534
|
+
get textContent(): string;
|
|
535
|
+
set textContent(value: string | null);
|
|
490
536
|
readonly baseURI: string;
|
|
491
537
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
492
538
|
readonly firstChild: ChildNode | null;
|
|
@@ -499,22 +545,21 @@ declare const Tag_base: {
|
|
|
499
545
|
readonly parentElement: HTMLElement | null;
|
|
500
546
|
readonly parentNode: ParentNode | null;
|
|
501
547
|
readonly previousSibling: ChildNode | null;
|
|
502
|
-
textContent: string | null;
|
|
503
548
|
appendChild<T extends Node>(node: T): T;
|
|
504
|
-
cloneNode(
|
|
549
|
+
cloneNode(subtree?: boolean): Node;
|
|
505
550
|
compareDocumentPosition(other: Node): number;
|
|
506
551
|
contains(other: Node | null): boolean;
|
|
507
|
-
getRootNode(options?: GetRootNodeOptions
|
|
552
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
508
553
|
hasChildNodes(): boolean;
|
|
509
|
-
insertBefore<
|
|
554
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
510
555
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
511
556
|
isEqualNode(otherNode: Node | null): boolean;
|
|
512
557
|
isSameNode(otherNode: Node | null): boolean;
|
|
513
558
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
514
559
|
lookupPrefix(namespace: string | null): string | null;
|
|
515
560
|
normalize(): void;
|
|
516
|
-
removeChild<
|
|
517
|
-
replaceChild<
|
|
561
|
+
removeChild<T extends Node>(child: T): T;
|
|
562
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
518
563
|
readonly ELEMENT_NODE: 1;
|
|
519
564
|
readonly ATTRIBUTE_NODE: 2;
|
|
520
565
|
readonly TEXT_NODE: 3;
|
|
@@ -534,35 +579,49 @@ declare const Tag_base: {
|
|
|
534
579
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
535
580
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
536
581
|
dispatchEvent(event: Event): boolean;
|
|
582
|
+
ariaActiveDescendantElement: Element | null;
|
|
537
583
|
ariaAtomic: string | null;
|
|
538
584
|
ariaAutoComplete: string | null;
|
|
585
|
+
ariaBrailleLabel: string | null;
|
|
586
|
+
ariaBrailleRoleDescription: string | null;
|
|
539
587
|
ariaBusy: string | null;
|
|
540
588
|
ariaChecked: string | null;
|
|
541
589
|
ariaColCount: string | null;
|
|
542
590
|
ariaColIndex: string | null;
|
|
591
|
+
ariaColIndexText: string | null;
|
|
543
592
|
ariaColSpan: string | null;
|
|
593
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
544
594
|
ariaCurrent: string | null;
|
|
595
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
596
|
+
ariaDescription: string | null;
|
|
597
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
545
598
|
ariaDisabled: string | null;
|
|
599
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
546
600
|
ariaExpanded: string | null;
|
|
601
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
547
602
|
ariaHasPopup: string | null;
|
|
548
603
|
ariaHidden: string | null;
|
|
549
604
|
ariaInvalid: string | null;
|
|
550
605
|
ariaKeyShortcuts: string | null;
|
|
551
606
|
ariaLabel: string | null;
|
|
607
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
552
608
|
ariaLevel: string | null;
|
|
553
609
|
ariaLive: string | null;
|
|
554
610
|
ariaModal: string | null;
|
|
555
611
|
ariaMultiLine: string | null;
|
|
556
612
|
ariaMultiSelectable: string | null;
|
|
557
613
|
ariaOrientation: string | null;
|
|
614
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
558
615
|
ariaPlaceholder: string | null;
|
|
559
616
|
ariaPosInSet: string | null;
|
|
560
617
|
ariaPressed: string | null;
|
|
561
618
|
ariaReadOnly: string | null;
|
|
619
|
+
ariaRelevant: string | null;
|
|
562
620
|
ariaRequired: string | null;
|
|
563
621
|
ariaRoleDescription: string | null;
|
|
564
622
|
ariaRowCount: string | null;
|
|
565
623
|
ariaRowIndex: string | null;
|
|
624
|
+
ariaRowIndexText: string | null;
|
|
566
625
|
ariaRowSpan: string | null;
|
|
567
626
|
ariaSelected: string | null;
|
|
568
627
|
ariaSetSize: string | null;
|
|
@@ -572,34 +631,35 @@ declare const Tag_base: {
|
|
|
572
631
|
ariaValueNow: string | null;
|
|
573
632
|
ariaValueText: string | null;
|
|
574
633
|
role: string | null;
|
|
575
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
576
|
-
getAnimations(options?: GetAnimationsOptions
|
|
577
|
-
after(...nodes: (
|
|
578
|
-
before(...nodes: (
|
|
634
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
635
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
636
|
+
after(...nodes: (Node | string)[]): void;
|
|
637
|
+
before(...nodes: (Node | string)[]): void;
|
|
579
638
|
remove(): void;
|
|
580
|
-
replaceWith(...nodes: (
|
|
581
|
-
innerHTML: string;
|
|
639
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
582
640
|
readonly nextElementSibling: Element | null;
|
|
583
641
|
readonly previousElementSibling: Element | null;
|
|
584
642
|
readonly childElementCount: number;
|
|
585
643
|
readonly children: HTMLCollection;
|
|
586
644
|
readonly firstElementChild: Element | null;
|
|
587
645
|
readonly lastElementChild: Element | null;
|
|
588
|
-
append(...nodes: (
|
|
589
|
-
prepend(...nodes: (
|
|
590
|
-
querySelector<
|
|
591
|
-
querySelector<
|
|
592
|
-
querySelector<
|
|
593
|
-
querySelector<
|
|
594
|
-
querySelector<
|
|
595
|
-
querySelectorAll<
|
|
596
|
-
querySelectorAll<
|
|
597
|
-
querySelectorAll<
|
|
598
|
-
querySelectorAll<
|
|
599
|
-
querySelectorAll<
|
|
600
|
-
replaceChildren(...nodes: (
|
|
646
|
+
append(...nodes: (Node | string)[]): void;
|
|
647
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
648
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
649
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
650
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
651
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
652
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
653
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
654
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
655
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
656
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
657
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
658
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
601
659
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
602
|
-
readonly
|
|
660
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
661
|
+
get style(): CSSStyleDeclaration;
|
|
662
|
+
set style(cssText: string);
|
|
603
663
|
contentEditable: string;
|
|
604
664
|
enterKeyHint: string;
|
|
605
665
|
inputMode: string;
|
|
@@ -609,16 +669,20 @@ declare const Tag_base: {
|
|
|
609
669
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
610
670
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
611
671
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
612
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
672
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
613
673
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
674
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
675
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
614
676
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
615
677
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
616
678
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
617
679
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
618
680
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
619
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
681
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
620
682
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
621
|
-
|
|
683
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
684
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
685
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
622
686
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
623
687
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
624
688
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -665,12 +729,14 @@ declare const Tag_base: {
|
|
|
665
729
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
666
730
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
667
731
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
732
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
668
733
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
669
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
734
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
670
735
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
671
736
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
672
737
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
673
738
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
739
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
674
740
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
675
741
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
676
742
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -682,7 +748,7 @@ declare const Tag_base: {
|
|
|
682
748
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
683
749
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
684
750
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
685
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
751
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
686
752
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
687
753
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
688
754
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -700,14 +766,10 @@ declare const Tag_base: {
|
|
|
700
766
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
701
767
|
autofocus: boolean;
|
|
702
768
|
readonly dataset: DOMStringMap;
|
|
703
|
-
nonce?: string
|
|
769
|
+
nonce?: string;
|
|
704
770
|
tabIndex: number;
|
|
705
771
|
blur(): void;
|
|
706
|
-
focus(options?: FocusOptions
|
|
707
|
-
ariaColIndexText: string | null;
|
|
708
|
-
ariaDescription: string | null;
|
|
709
|
-
ariaRowIndexText: string | null;
|
|
710
|
-
ariaRelevant: string | null;
|
|
772
|
+
focus(options?: FocusOptions): void;
|
|
711
773
|
roleChanged(prev: string | null, next: string | null): void;
|
|
712
774
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
713
775
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -750,7 +812,7 @@ declare const Tag_base: {
|
|
|
750
812
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
751
813
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
752
814
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
753
|
-
"__#
|
|
815
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
754
816
|
newPropertyName: string;
|
|
755
817
|
deprecatedPropertyName: string;
|
|
756
818
|
fromDeprecated: (v: any) => any;
|
|
@@ -759,17 +821,18 @@ declare const Tag_base: {
|
|
|
759
821
|
};
|
|
760
822
|
} & {
|
|
761
823
|
new (...args: any[]): {
|
|
762
|
-
icon?: string
|
|
763
|
-
iconSlottedContent?: HTMLElement[]
|
|
824
|
+
icon?: string;
|
|
825
|
+
iconSlottedContent?: HTMLElement[];
|
|
764
826
|
connectedCallback(): void;
|
|
765
|
-
_vividAriaBehaviour: import(
|
|
766
|
-
readonly $fastController: import(
|
|
767
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
827
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
828
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
829
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
768
830
|
disconnectedCallback(): void;
|
|
769
831
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
770
832
|
accessKey: string;
|
|
771
833
|
readonly accessKeyLabel: string;
|
|
772
834
|
autocapitalize: string;
|
|
835
|
+
autocorrect: boolean;
|
|
773
836
|
dir: string;
|
|
774
837
|
draggable: boolean;
|
|
775
838
|
hidden: boolean;
|
|
@@ -782,30 +845,39 @@ declare const Tag_base: {
|
|
|
782
845
|
readonly offsetTop: number;
|
|
783
846
|
readonly offsetWidth: number;
|
|
784
847
|
outerText: string;
|
|
848
|
+
popover: string | null;
|
|
785
849
|
spellcheck: boolean;
|
|
786
850
|
title: string;
|
|
787
851
|
translate: boolean;
|
|
852
|
+
writingSuggestions: string;
|
|
788
853
|
attachInternals(): ElementInternals;
|
|
789
854
|
click(): void;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
855
|
+
hidePopover(): void;
|
|
856
|
+
showPopover(): void;
|
|
857
|
+
togglePopover(options?: boolean): boolean;
|
|
858
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
859
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
860
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
861
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
794
862
|
readonly attributes: NamedNodeMap;
|
|
795
|
-
|
|
863
|
+
get classList(): DOMTokenList;
|
|
864
|
+
set classList(value: string);
|
|
796
865
|
className: string;
|
|
797
866
|
readonly clientHeight: number;
|
|
798
867
|
readonly clientLeft: number;
|
|
799
868
|
readonly clientTop: number;
|
|
800
869
|
readonly clientWidth: number;
|
|
870
|
+
readonly currentCSSZoom: number;
|
|
801
871
|
id: string;
|
|
872
|
+
innerHTML: string;
|
|
802
873
|
readonly localName: string;
|
|
803
874
|
readonly namespaceURI: string | null;
|
|
804
875
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
805
876
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
806
877
|
outerHTML: string;
|
|
807
878
|
readonly ownerDocument: Document;
|
|
808
|
-
|
|
879
|
+
get part(): DOMTokenList;
|
|
880
|
+
set part(value: string);
|
|
809
881
|
readonly prefix: string | null;
|
|
810
882
|
readonly scrollHeight: number;
|
|
811
883
|
scrollLeft: number;
|
|
@@ -815,11 +887,12 @@ declare const Tag_base: {
|
|
|
815
887
|
slot: string;
|
|
816
888
|
readonly tagName: string;
|
|
817
889
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
818
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
819
|
-
closest<
|
|
820
|
-
closest<
|
|
821
|
-
closest<
|
|
822
|
-
closest<
|
|
890
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
891
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
892
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
893
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
894
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
895
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
823
896
|
getAttribute(qualifiedName: string): string | null;
|
|
824
897
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
825
898
|
getAttributeNames(): string[];
|
|
@@ -828,43 +901,47 @@ declare const Tag_base: {
|
|
|
828
901
|
getBoundingClientRect(): DOMRect;
|
|
829
902
|
getClientRects(): DOMRectList;
|
|
830
903
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
831
|
-
getElementsByTagName<
|
|
832
|
-
getElementsByTagName<
|
|
833
|
-
getElementsByTagName<
|
|
834
|
-
getElementsByTagName<
|
|
904
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
905
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
906
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
907
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
835
908
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
836
909
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
837
910
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
838
911
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
839
912
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
913
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
840
914
|
hasAttribute(qualifiedName: string): boolean;
|
|
841
915
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
842
916
|
hasAttributes(): boolean;
|
|
843
917
|
hasPointerCapture(pointerId: number): boolean;
|
|
844
918
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
845
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
919
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
846
920
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
847
921
|
matches(selectors: string): boolean;
|
|
848
922
|
releasePointerCapture(pointerId: number): void;
|
|
849
923
|
removeAttribute(qualifiedName: string): void;
|
|
850
924
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
851
925
|
removeAttributeNode(attr: Attr): Attr;
|
|
852
|
-
requestFullscreen(options?: FullscreenOptions
|
|
853
|
-
requestPointerLock(): void
|
|
854
|
-
scroll(options?: ScrollToOptions
|
|
926
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
927
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
928
|
+
scroll(options?: ScrollToOptions): void;
|
|
855
929
|
scroll(x: number, y: number): void;
|
|
856
|
-
scrollBy(options?: ScrollToOptions
|
|
930
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
857
931
|
scrollBy(x: number, y: number): void;
|
|
858
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
859
|
-
scrollTo(options?: ScrollToOptions
|
|
932
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
933
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
860
934
|
scrollTo(x: number, y: number): void;
|
|
861
935
|
setAttribute(qualifiedName: string, value: string): void;
|
|
862
936
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
863
937
|
setAttributeNode(attr: Attr): Attr | null;
|
|
864
938
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
939
|
+
setHTMLUnsafe(html: string): void;
|
|
865
940
|
setPointerCapture(pointerId: number): void;
|
|
866
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
941
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
867
942
|
webkitMatchesSelector(selectors: string): boolean;
|
|
943
|
+
get textContent(): string;
|
|
944
|
+
set textContent(value: string | null);
|
|
868
945
|
readonly baseURI: string;
|
|
869
946
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
870
947
|
readonly firstChild: ChildNode | null;
|
|
@@ -877,22 +954,21 @@ declare const Tag_base: {
|
|
|
877
954
|
readonly parentElement: HTMLElement | null;
|
|
878
955
|
readonly parentNode: ParentNode | null;
|
|
879
956
|
readonly previousSibling: ChildNode | null;
|
|
880
|
-
textContent: string | null;
|
|
881
957
|
appendChild<T extends Node>(node: T): T;
|
|
882
|
-
cloneNode(
|
|
958
|
+
cloneNode(subtree?: boolean): Node;
|
|
883
959
|
compareDocumentPosition(other: Node): number;
|
|
884
960
|
contains(other: Node | null): boolean;
|
|
885
|
-
getRootNode(options?: GetRootNodeOptions
|
|
961
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
886
962
|
hasChildNodes(): boolean;
|
|
887
|
-
insertBefore<
|
|
963
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
888
964
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
889
965
|
isEqualNode(otherNode: Node | null): boolean;
|
|
890
966
|
isSameNode(otherNode: Node | null): boolean;
|
|
891
967
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
892
968
|
lookupPrefix(namespace: string | null): string | null;
|
|
893
969
|
normalize(): void;
|
|
894
|
-
removeChild<
|
|
895
|
-
replaceChild<
|
|
970
|
+
removeChild<T extends Node>(child: T): T;
|
|
971
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
896
972
|
readonly ELEMENT_NODE: 1;
|
|
897
973
|
readonly ATTRIBUTE_NODE: 2;
|
|
898
974
|
readonly TEXT_NODE: 3;
|
|
@@ -912,35 +988,49 @@ declare const Tag_base: {
|
|
|
912
988
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
913
989
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
914
990
|
dispatchEvent(event: Event): boolean;
|
|
991
|
+
ariaActiveDescendantElement: Element | null;
|
|
915
992
|
ariaAtomic: string | null;
|
|
916
993
|
ariaAutoComplete: string | null;
|
|
994
|
+
ariaBrailleLabel: string | null;
|
|
995
|
+
ariaBrailleRoleDescription: string | null;
|
|
917
996
|
ariaBusy: string | null;
|
|
918
997
|
ariaChecked: string | null;
|
|
919
998
|
ariaColCount: string | null;
|
|
920
999
|
ariaColIndex: string | null;
|
|
1000
|
+
ariaColIndexText: string | null;
|
|
921
1001
|
ariaColSpan: string | null;
|
|
1002
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
922
1003
|
ariaCurrent: string | null;
|
|
1004
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1005
|
+
ariaDescription: string | null;
|
|
1006
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
923
1007
|
ariaDisabled: string | null;
|
|
1008
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
924
1009
|
ariaExpanded: string | null;
|
|
1010
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
925
1011
|
ariaHasPopup: string | null;
|
|
926
1012
|
ariaHidden: string | null;
|
|
927
1013
|
ariaInvalid: string | null;
|
|
928
1014
|
ariaKeyShortcuts: string | null;
|
|
929
1015
|
ariaLabel: string | null;
|
|
1016
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
930
1017
|
ariaLevel: string | null;
|
|
931
1018
|
ariaLive: string | null;
|
|
932
1019
|
ariaModal: string | null;
|
|
933
1020
|
ariaMultiLine: string | null;
|
|
934
1021
|
ariaMultiSelectable: string | null;
|
|
935
1022
|
ariaOrientation: string | null;
|
|
1023
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
936
1024
|
ariaPlaceholder: string | null;
|
|
937
1025
|
ariaPosInSet: string | null;
|
|
938
1026
|
ariaPressed: string | null;
|
|
939
1027
|
ariaReadOnly: string | null;
|
|
1028
|
+
ariaRelevant: string | null;
|
|
940
1029
|
ariaRequired: string | null;
|
|
941
1030
|
ariaRoleDescription: string | null;
|
|
942
1031
|
ariaRowCount: string | null;
|
|
943
1032
|
ariaRowIndex: string | null;
|
|
1033
|
+
ariaRowIndexText: string | null;
|
|
944
1034
|
ariaRowSpan: string | null;
|
|
945
1035
|
ariaSelected: string | null;
|
|
946
1036
|
ariaSetSize: string | null;
|
|
@@ -950,34 +1040,35 @@ declare const Tag_base: {
|
|
|
950
1040
|
ariaValueNow: string | null;
|
|
951
1041
|
ariaValueText: string | null;
|
|
952
1042
|
role: string | null;
|
|
953
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
954
|
-
getAnimations(options?: GetAnimationsOptions
|
|
955
|
-
after(...nodes: (
|
|
956
|
-
before(...nodes: (
|
|
1043
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1044
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1045
|
+
after(...nodes: (Node | string)[]): void;
|
|
1046
|
+
before(...nodes: (Node | string)[]): void;
|
|
957
1047
|
remove(): void;
|
|
958
|
-
replaceWith(...nodes: (
|
|
959
|
-
innerHTML: string;
|
|
1048
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
960
1049
|
readonly nextElementSibling: Element | null;
|
|
961
1050
|
readonly previousElementSibling: Element | null;
|
|
962
1051
|
readonly childElementCount: number;
|
|
963
1052
|
readonly children: HTMLCollection;
|
|
964
1053
|
readonly firstElementChild: Element | null;
|
|
965
1054
|
readonly lastElementChild: Element | null;
|
|
966
|
-
append(...nodes: (
|
|
967
|
-
prepend(...nodes: (
|
|
968
|
-
querySelector<
|
|
969
|
-
querySelector<
|
|
970
|
-
querySelector<
|
|
971
|
-
querySelector<
|
|
972
|
-
querySelector<
|
|
973
|
-
querySelectorAll<
|
|
974
|
-
querySelectorAll<
|
|
975
|
-
querySelectorAll<
|
|
976
|
-
querySelectorAll<
|
|
977
|
-
querySelectorAll<
|
|
978
|
-
replaceChildren(...nodes: (
|
|
1055
|
+
append(...nodes: (Node | string)[]): void;
|
|
1056
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1057
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1058
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1059
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1060
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1061
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1062
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1063
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1064
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1065
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1066
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1067
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
979
1068
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
980
|
-
readonly
|
|
1069
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1070
|
+
get style(): CSSStyleDeclaration;
|
|
1071
|
+
set style(cssText: string);
|
|
981
1072
|
contentEditable: string;
|
|
982
1073
|
enterKeyHint: string;
|
|
983
1074
|
inputMode: string;
|
|
@@ -987,16 +1078,20 @@ declare const Tag_base: {
|
|
|
987
1078
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
988
1079
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
989
1080
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
990
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
1081
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
991
1082
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1083
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1084
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
992
1085
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
993
1086
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
994
1087
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
995
1088
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
996
1089
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
997
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
1090
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
998
1091
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
999
|
-
|
|
1092
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1093
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1094
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1000
1095
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1001
1096
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1002
1097
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1043,12 +1138,14 @@ declare const Tag_base: {
|
|
|
1043
1138
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1044
1139
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1045
1140
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1141
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1046
1142
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1047
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
1143
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1048
1144
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1049
1145
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1050
1146
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1051
1147
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1148
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1052
1149
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1053
1150
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1054
1151
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1060,7 +1157,7 @@ declare const Tag_base: {
|
|
|
1060
1157
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1061
1158
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1062
1159
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1063
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1160
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1064
1161
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1065
1162
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1066
1163
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1078,14 +1175,10 @@ declare const Tag_base: {
|
|
|
1078
1175
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1079
1176
|
autofocus: boolean;
|
|
1080
1177
|
readonly dataset: DOMStringMap;
|
|
1081
|
-
nonce?: string
|
|
1178
|
+
nonce?: string;
|
|
1082
1179
|
tabIndex: number;
|
|
1083
1180
|
blur(): void;
|
|
1084
|
-
focus(options?: FocusOptions
|
|
1085
|
-
ariaColIndexText: string | null;
|
|
1086
|
-
ariaDescription: string | null;
|
|
1087
|
-
ariaRowIndexText: string | null;
|
|
1088
|
-
ariaRelevant: string | null;
|
|
1181
|
+
focus(options?: FocusOptions): void;
|
|
1089
1182
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1090
1183
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1091
1184
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1128,7 +1221,7 @@ declare const Tag_base: {
|
|
|
1128
1221
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1129
1222
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1130
1223
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1131
|
-
"__#
|
|
1224
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1132
1225
|
newPropertyName: string;
|
|
1133
1226
|
deprecatedPropertyName: string;
|
|
1134
1227
|
fromDeprecated: (v: any) => any;
|