@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
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { Constructor, MixinType } from '../utils/mixins';
|
|
2
|
+
import { VividElement } from '../foundation/vivid-element/vivid-element';
|
|
3
|
+
import { VividElementDefinitionContext } from '../design-system/defineVividComponent';
|
|
4
|
+
import { FeedbackType } from './feedback-message';
|
|
5
5
|
export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T) => {
|
|
6
6
|
new (...args: any[]): {
|
|
7
|
-
helperText?: string
|
|
8
|
-
_helperTextSlottedContent?: HTMLElement[]
|
|
9
|
-
|
|
7
|
+
helperText?: string;
|
|
8
|
+
_helperTextSlottedContent?: HTMLElement[];
|
|
9
|
+
get _feedbackDescribedBy(): string;
|
|
10
10
|
_internalFeedback(): {
|
|
11
11
|
type: FeedbackType;
|
|
12
12
|
message: string;
|
|
13
13
|
};
|
|
14
14
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
15
|
-
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import(
|
|
15
|
+
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import('@microsoft/fast-element').ViewTemplate<any, any>;
|
|
16
16
|
connectedCallback(): 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
|
disconnectedCallback(): void;
|
|
21
21
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
22
22
|
accessKey: string;
|
|
23
23
|
readonly accessKeyLabel: string;
|
|
24
24
|
autocapitalize: string;
|
|
25
|
+
autocorrect: boolean;
|
|
25
26
|
dir: string;
|
|
26
27
|
draggable: boolean;
|
|
27
28
|
hidden: boolean;
|
|
@@ -34,30 +35,39 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
34
35
|
readonly offsetTop: number;
|
|
35
36
|
readonly offsetWidth: number;
|
|
36
37
|
outerText: string;
|
|
38
|
+
popover: string | null;
|
|
37
39
|
spellcheck: boolean;
|
|
38
40
|
title: string;
|
|
39
41
|
translate: boolean;
|
|
42
|
+
writingSuggestions: string;
|
|
40
43
|
attachInternals(): ElementInternals;
|
|
41
44
|
click(): void;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
hidePopover(): void;
|
|
46
|
+
showPopover(): void;
|
|
47
|
+
togglePopover(options?: boolean): boolean;
|
|
48
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
49
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
50
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
51
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
46
52
|
readonly attributes: NamedNodeMap;
|
|
47
|
-
|
|
53
|
+
get classList(): DOMTokenList;
|
|
54
|
+
set classList(value: string);
|
|
48
55
|
className: string;
|
|
49
56
|
readonly clientHeight: number;
|
|
50
57
|
readonly clientLeft: number;
|
|
51
58
|
readonly clientTop: number;
|
|
52
59
|
readonly clientWidth: number;
|
|
60
|
+
readonly currentCSSZoom: number;
|
|
53
61
|
id: string;
|
|
62
|
+
innerHTML: string;
|
|
54
63
|
readonly localName: string;
|
|
55
64
|
readonly namespaceURI: string | null;
|
|
56
65
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
57
66
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
58
67
|
outerHTML: string;
|
|
59
68
|
readonly ownerDocument: Document;
|
|
60
|
-
|
|
69
|
+
get part(): DOMTokenList;
|
|
70
|
+
set part(value: string);
|
|
61
71
|
readonly prefix: string | null;
|
|
62
72
|
readonly scrollHeight: number;
|
|
63
73
|
scrollLeft: number;
|
|
@@ -67,11 +77,12 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
67
77
|
slot: string;
|
|
68
78
|
readonly tagName: string;
|
|
69
79
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
70
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
71
|
-
closest<
|
|
72
|
-
closest<
|
|
73
|
-
closest<
|
|
80
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
81
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
82
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
83
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
74
84
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
85
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
75
86
|
getAttribute(qualifiedName: string): string | null;
|
|
76
87
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
77
88
|
getAttributeNames(): string[];
|
|
@@ -80,43 +91,47 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
80
91
|
getBoundingClientRect(): DOMRect;
|
|
81
92
|
getClientRects(): DOMRectList;
|
|
82
93
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
-
getElementsByTagName<
|
|
84
|
-
getElementsByTagName<
|
|
85
|
-
getElementsByTagName<
|
|
86
|
-
getElementsByTagName<
|
|
94
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
95
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
96
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
97
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
87
98
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
88
99
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
89
100
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
101
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
102
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
103
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
92
104
|
hasAttribute(qualifiedName: string): boolean;
|
|
93
105
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
106
|
hasAttributes(): boolean;
|
|
95
107
|
hasPointerCapture(pointerId: number): boolean;
|
|
96
108
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
109
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
98
110
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
111
|
matches(selectors: string): boolean;
|
|
100
112
|
releasePointerCapture(pointerId: number): void;
|
|
101
113
|
removeAttribute(qualifiedName: string): void;
|
|
102
114
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
115
|
removeAttributeNode(attr: Attr): Attr;
|
|
104
|
-
requestFullscreen(options?: FullscreenOptions
|
|
105
|
-
requestPointerLock(): void
|
|
106
|
-
scroll(options?: ScrollToOptions
|
|
116
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
117
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
118
|
+
scroll(options?: ScrollToOptions): void;
|
|
107
119
|
scroll(x: number, y: number): void;
|
|
108
|
-
scrollBy(options?: ScrollToOptions
|
|
120
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
109
121
|
scrollBy(x: number, y: number): void;
|
|
110
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
111
|
-
scrollTo(options?: ScrollToOptions
|
|
122
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
123
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
112
124
|
scrollTo(x: number, y: number): void;
|
|
113
125
|
setAttribute(qualifiedName: string, value: string): void;
|
|
114
126
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
115
127
|
setAttributeNode(attr: Attr): Attr | null;
|
|
116
128
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
129
|
+
setHTMLUnsafe(html: string): void;
|
|
117
130
|
setPointerCapture(pointerId: number): void;
|
|
118
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
131
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
119
132
|
webkitMatchesSelector(selectors: string): boolean;
|
|
133
|
+
get textContent(): string;
|
|
134
|
+
set textContent(value: string | null);
|
|
120
135
|
readonly baseURI: string;
|
|
121
136
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
122
137
|
readonly firstChild: ChildNode | null;
|
|
@@ -129,22 +144,21 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
129
144
|
readonly parentElement: HTMLElement | null;
|
|
130
145
|
readonly parentNode: ParentNode | null;
|
|
131
146
|
readonly previousSibling: ChildNode | null;
|
|
132
|
-
textContent: string | null;
|
|
133
147
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
134
|
-
cloneNode(
|
|
148
|
+
cloneNode(subtree?: boolean): Node;
|
|
135
149
|
compareDocumentPosition(other: Node): number;
|
|
136
150
|
contains(other: Node | null): boolean;
|
|
137
|
-
getRootNode(options?: GetRootNodeOptions
|
|
151
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
138
152
|
hasChildNodes(): boolean;
|
|
139
|
-
insertBefore<
|
|
153
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
140
154
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
141
155
|
isEqualNode(otherNode: Node | null): boolean;
|
|
142
156
|
isSameNode(otherNode: Node | null): boolean;
|
|
143
157
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
144
158
|
lookupPrefix(namespace: string | null): string | null;
|
|
145
159
|
normalize(): void;
|
|
146
|
-
removeChild<
|
|
147
|
-
replaceChild<
|
|
160
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
161
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
148
162
|
readonly ELEMENT_NODE: 1;
|
|
149
163
|
readonly ATTRIBUTE_NODE: 2;
|
|
150
164
|
readonly TEXT_NODE: 3;
|
|
@@ -164,35 +178,49 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
164
178
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
165
179
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
166
180
|
dispatchEvent(event: Event): boolean;
|
|
181
|
+
ariaActiveDescendantElement: Element | null;
|
|
167
182
|
ariaAtomic: string | null;
|
|
168
183
|
ariaAutoComplete: string | null;
|
|
184
|
+
ariaBrailleLabel: string | null;
|
|
185
|
+
ariaBrailleRoleDescription: string | null;
|
|
169
186
|
ariaBusy: string | null;
|
|
170
187
|
ariaChecked: string | null;
|
|
171
188
|
ariaColCount: string | null;
|
|
172
189
|
ariaColIndex: string | null;
|
|
190
|
+
ariaColIndexText: string | null;
|
|
173
191
|
ariaColSpan: string | null;
|
|
192
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
174
193
|
ariaCurrent: string | null;
|
|
194
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
195
|
+
ariaDescription: string | null;
|
|
196
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
175
197
|
ariaDisabled: string | null;
|
|
198
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
176
199
|
ariaExpanded: string | null;
|
|
200
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
177
201
|
ariaHasPopup: string | null;
|
|
178
202
|
ariaHidden: string | null;
|
|
179
203
|
ariaInvalid: string | null;
|
|
180
204
|
ariaKeyShortcuts: string | null;
|
|
181
205
|
ariaLabel: string | null;
|
|
206
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
182
207
|
ariaLevel: string | null;
|
|
183
208
|
ariaLive: string | null;
|
|
184
209
|
ariaModal: string | null;
|
|
185
210
|
ariaMultiLine: string | null;
|
|
186
211
|
ariaMultiSelectable: string | null;
|
|
187
212
|
ariaOrientation: string | null;
|
|
213
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
188
214
|
ariaPlaceholder: string | null;
|
|
189
215
|
ariaPosInSet: string | null;
|
|
190
216
|
ariaPressed: string | null;
|
|
191
217
|
ariaReadOnly: string | null;
|
|
218
|
+
ariaRelevant: string | null;
|
|
192
219
|
ariaRequired: string | null;
|
|
193
220
|
ariaRoleDescription: string | null;
|
|
194
221
|
ariaRowCount: string | null;
|
|
195
222
|
ariaRowIndex: string | null;
|
|
223
|
+
ariaRowIndexText: string | null;
|
|
196
224
|
ariaRowSpan: string | null;
|
|
197
225
|
ariaSelected: string | null;
|
|
198
226
|
ariaSetSize: string | null;
|
|
@@ -202,34 +230,35 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
202
230
|
ariaValueNow: string | null;
|
|
203
231
|
ariaValueText: string | null;
|
|
204
232
|
role: string | null;
|
|
205
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
206
|
-
getAnimations(options?: GetAnimationsOptions
|
|
207
|
-
after(...nodes: (
|
|
208
|
-
before(...nodes: (
|
|
233
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
234
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
235
|
+
after(...nodes: (Node | string)[]): void;
|
|
236
|
+
before(...nodes: (Node | string)[]): void;
|
|
209
237
|
remove(): void;
|
|
210
|
-
replaceWith(...nodes: (
|
|
211
|
-
innerHTML: string;
|
|
238
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
212
239
|
readonly nextElementSibling: Element | null;
|
|
213
240
|
readonly previousElementSibling: Element | null;
|
|
214
241
|
readonly childElementCount: number;
|
|
215
242
|
readonly children: HTMLCollection;
|
|
216
243
|
readonly firstElementChild: Element | null;
|
|
217
244
|
readonly lastElementChild: Element | null;
|
|
218
|
-
append(...nodes: (
|
|
219
|
-
prepend(...nodes: (
|
|
220
|
-
querySelector<
|
|
221
|
-
querySelector<
|
|
222
|
-
querySelector<
|
|
223
|
-
querySelector<
|
|
224
|
-
querySelector<
|
|
225
|
-
querySelectorAll<
|
|
226
|
-
querySelectorAll<
|
|
227
|
-
querySelectorAll<
|
|
228
|
-
querySelectorAll<
|
|
229
|
-
querySelectorAll<
|
|
230
|
-
replaceChildren(...nodes: (
|
|
245
|
+
append(...nodes: (Node | string)[]): void;
|
|
246
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
247
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
248
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
249
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
250
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
251
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
252
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
253
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
254
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
255
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
256
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
257
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
231
258
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
232
|
-
readonly
|
|
259
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
260
|
+
get style(): CSSStyleDeclaration;
|
|
261
|
+
set style(cssText: string);
|
|
233
262
|
contentEditable: string;
|
|
234
263
|
enterKeyHint: string;
|
|
235
264
|
inputMode: string;
|
|
@@ -239,16 +268,20 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
239
268
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
240
269
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
270
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
242
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
271
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
243
272
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
273
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
244
275
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
245
276
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
277
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
247
278
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
279
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
280
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
250
281
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
-
|
|
282
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
285
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
253
286
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
287
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -295,12 +328,14 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
295
328
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
329
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
330
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
331
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
332
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
333
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
300
334
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
335
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
336
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
303
337
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
339
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
305
340
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
341
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -312,7 +347,7 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
312
347
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
313
348
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
349
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
350
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
316
351
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
317
352
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
318
353
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -330,14 +365,10 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
330
365
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
331
366
|
autofocus: boolean;
|
|
332
367
|
readonly dataset: DOMStringMap;
|
|
333
|
-
nonce?: string
|
|
368
|
+
nonce?: string;
|
|
334
369
|
tabIndex: number;
|
|
335
370
|
blur(): void;
|
|
336
|
-
focus(options?: FocusOptions
|
|
337
|
-
ariaColIndexText: string | null;
|
|
338
|
-
ariaDescription: string | null;
|
|
339
|
-
ariaRowIndexText: string | null;
|
|
340
|
-
ariaRelevant: string | null;
|
|
371
|
+
focus(options?: FocusOptions): void;
|
|
341
372
|
roleChanged(prev: string | null, next: string | null): void;
|
|
342
373
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
343
374
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -380,7 +411,7 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
380
411
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
381
412
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
382
413
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
383
|
-
"__#
|
|
414
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
384
415
|
newPropertyName: string;
|
|
385
416
|
deprecatedPropertyName: string;
|
|
386
417
|
fromDeprecated: (v: any) => any;
|
|
@@ -393,25 +424,26 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
393
424
|
new (...args: any[]): {
|
|
394
425
|
_slottedHelperTextIds: string[];
|
|
395
426
|
_helperTextSlottedContentChanged(_: HTMLElement[], newContent: HTMLElement[]): void;
|
|
396
|
-
|
|
427
|
+
get _feedbackDescribedBy(): string;
|
|
397
428
|
_feedbackId: string;
|
|
398
|
-
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import(
|
|
399
|
-
helperText?: string
|
|
400
|
-
_helperTextSlottedContent?: HTMLElement[]
|
|
429
|
+
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import('@microsoft/fast-element').ViewTemplate<any, any>;
|
|
430
|
+
helperText?: string;
|
|
431
|
+
_helperTextSlottedContent?: HTMLElement[];
|
|
401
432
|
_internalFeedback(): {
|
|
402
433
|
type: FeedbackType;
|
|
403
434
|
message: string;
|
|
404
435
|
};
|
|
405
436
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
406
437
|
connectedCallback(): void;
|
|
407
|
-
_vividAriaBehaviour: import(
|
|
408
|
-
readonly $fastController: import(
|
|
409
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
438
|
+
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
439
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
440
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
410
441
|
disconnectedCallback(): void;
|
|
411
442
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
412
443
|
accessKey: string;
|
|
413
444
|
readonly accessKeyLabel: string;
|
|
414
445
|
autocapitalize: string;
|
|
446
|
+
autocorrect: boolean;
|
|
415
447
|
dir: string;
|
|
416
448
|
draggable: boolean;
|
|
417
449
|
hidden: boolean;
|
|
@@ -424,30 +456,39 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
424
456
|
readonly offsetTop: number;
|
|
425
457
|
readonly offsetWidth: number;
|
|
426
458
|
outerText: string;
|
|
459
|
+
popover: string | null;
|
|
427
460
|
spellcheck: boolean;
|
|
428
461
|
title: string;
|
|
429
462
|
translate: boolean;
|
|
463
|
+
writingSuggestions: string;
|
|
430
464
|
attachInternals(): ElementInternals;
|
|
431
465
|
click(): void;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
466
|
+
hidePopover(): void;
|
|
467
|
+
showPopover(): void;
|
|
468
|
+
togglePopover(options?: boolean): boolean;
|
|
469
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
470
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
471
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
472
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
436
473
|
readonly attributes: NamedNodeMap;
|
|
437
|
-
|
|
474
|
+
get classList(): DOMTokenList;
|
|
475
|
+
set classList(value: string);
|
|
438
476
|
className: string;
|
|
439
477
|
readonly clientHeight: number;
|
|
440
478
|
readonly clientLeft: number;
|
|
441
479
|
readonly clientTop: number;
|
|
442
480
|
readonly clientWidth: number;
|
|
481
|
+
readonly currentCSSZoom: number;
|
|
443
482
|
id: string;
|
|
483
|
+
innerHTML: string;
|
|
444
484
|
readonly localName: string;
|
|
445
485
|
readonly namespaceURI: string | null;
|
|
446
486
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
447
487
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
448
488
|
outerHTML: string;
|
|
449
489
|
readonly ownerDocument: Document;
|
|
450
|
-
|
|
490
|
+
get part(): DOMTokenList;
|
|
491
|
+
set part(value: string);
|
|
451
492
|
readonly prefix: string | null;
|
|
452
493
|
readonly scrollHeight: number;
|
|
453
494
|
scrollLeft: number;
|
|
@@ -457,11 +498,12 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
457
498
|
slot: string;
|
|
458
499
|
readonly tagName: string;
|
|
459
500
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
460
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
461
|
-
closest<
|
|
462
|
-
closest<
|
|
463
|
-
closest<
|
|
501
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
502
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
503
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
504
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
464
505
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
506
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
465
507
|
getAttribute(qualifiedName: string): string | null;
|
|
466
508
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
467
509
|
getAttributeNames(): string[];
|
|
@@ -470,43 +512,47 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
470
512
|
getBoundingClientRect(): DOMRect;
|
|
471
513
|
getClientRects(): DOMRectList;
|
|
472
514
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
473
|
-
getElementsByTagName<
|
|
474
|
-
getElementsByTagName<
|
|
475
|
-
getElementsByTagName<
|
|
476
|
-
getElementsByTagName<
|
|
515
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
516
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
517
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
518
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
477
519
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
478
520
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
479
521
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
480
522
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
481
523
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
524
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
482
525
|
hasAttribute(qualifiedName: string): boolean;
|
|
483
526
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
484
527
|
hasAttributes(): boolean;
|
|
485
528
|
hasPointerCapture(pointerId: number): boolean;
|
|
486
529
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
487
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
530
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
488
531
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
489
532
|
matches(selectors: string): boolean;
|
|
490
533
|
releasePointerCapture(pointerId: number): void;
|
|
491
534
|
removeAttribute(qualifiedName: string): void;
|
|
492
535
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
493
536
|
removeAttributeNode(attr: Attr): Attr;
|
|
494
|
-
requestFullscreen(options?: FullscreenOptions
|
|
495
|
-
requestPointerLock(): void
|
|
496
|
-
scroll(options?: ScrollToOptions
|
|
537
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
538
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
539
|
+
scroll(options?: ScrollToOptions): void;
|
|
497
540
|
scroll(x: number, y: number): void;
|
|
498
|
-
scrollBy(options?: ScrollToOptions
|
|
541
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
499
542
|
scrollBy(x: number, y: number): void;
|
|
500
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
501
|
-
scrollTo(options?: ScrollToOptions
|
|
543
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
544
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
502
545
|
scrollTo(x: number, y: number): void;
|
|
503
546
|
setAttribute(qualifiedName: string, value: string): void;
|
|
504
547
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
505
548
|
setAttributeNode(attr: Attr): Attr | null;
|
|
506
549
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
550
|
+
setHTMLUnsafe(html: string): void;
|
|
507
551
|
setPointerCapture(pointerId: number): void;
|
|
508
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
552
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
509
553
|
webkitMatchesSelector(selectors: string): boolean;
|
|
554
|
+
get textContent(): string;
|
|
555
|
+
set textContent(value: string | null);
|
|
510
556
|
readonly baseURI: string;
|
|
511
557
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
512
558
|
readonly firstChild: ChildNode | null;
|
|
@@ -519,22 +565,21 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
519
565
|
readonly parentElement: HTMLElement | null;
|
|
520
566
|
readonly parentNode: ParentNode | null;
|
|
521
567
|
readonly previousSibling: ChildNode | null;
|
|
522
|
-
textContent: string | null;
|
|
523
568
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
524
|
-
cloneNode(
|
|
569
|
+
cloneNode(subtree?: boolean): Node;
|
|
525
570
|
compareDocumentPosition(other: Node): number;
|
|
526
571
|
contains(other: Node | null): boolean;
|
|
527
|
-
getRootNode(options?: GetRootNodeOptions
|
|
572
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
528
573
|
hasChildNodes(): boolean;
|
|
529
|
-
insertBefore<
|
|
574
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
530
575
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
531
576
|
isEqualNode(otherNode: Node | null): boolean;
|
|
532
577
|
isSameNode(otherNode: Node | null): boolean;
|
|
533
578
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
534
579
|
lookupPrefix(namespace: string | null): string | null;
|
|
535
580
|
normalize(): void;
|
|
536
|
-
removeChild<
|
|
537
|
-
replaceChild<
|
|
581
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
582
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
538
583
|
readonly ELEMENT_NODE: 1;
|
|
539
584
|
readonly ATTRIBUTE_NODE: 2;
|
|
540
585
|
readonly TEXT_NODE: 3;
|
|
@@ -554,35 +599,49 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
554
599
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
555
600
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
556
601
|
dispatchEvent(event: Event): boolean;
|
|
602
|
+
ariaActiveDescendantElement: Element | null;
|
|
557
603
|
ariaAtomic: string | null;
|
|
558
604
|
ariaAutoComplete: string | null;
|
|
605
|
+
ariaBrailleLabel: string | null;
|
|
606
|
+
ariaBrailleRoleDescription: string | null;
|
|
559
607
|
ariaBusy: string | null;
|
|
560
608
|
ariaChecked: string | null;
|
|
561
609
|
ariaColCount: string | null;
|
|
562
610
|
ariaColIndex: string | null;
|
|
611
|
+
ariaColIndexText: string | null;
|
|
563
612
|
ariaColSpan: string | null;
|
|
613
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
564
614
|
ariaCurrent: string | null;
|
|
615
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
616
|
+
ariaDescription: string | null;
|
|
617
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
565
618
|
ariaDisabled: string | null;
|
|
619
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
566
620
|
ariaExpanded: string | null;
|
|
621
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
567
622
|
ariaHasPopup: string | null;
|
|
568
623
|
ariaHidden: string | null;
|
|
569
624
|
ariaInvalid: string | null;
|
|
570
625
|
ariaKeyShortcuts: string | null;
|
|
571
626
|
ariaLabel: string | null;
|
|
627
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
572
628
|
ariaLevel: string | null;
|
|
573
629
|
ariaLive: string | null;
|
|
574
630
|
ariaModal: string | null;
|
|
575
631
|
ariaMultiLine: string | null;
|
|
576
632
|
ariaMultiSelectable: string | null;
|
|
577
633
|
ariaOrientation: string | null;
|
|
634
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
578
635
|
ariaPlaceholder: string | null;
|
|
579
636
|
ariaPosInSet: string | null;
|
|
580
637
|
ariaPressed: string | null;
|
|
581
638
|
ariaReadOnly: string | null;
|
|
639
|
+
ariaRelevant: string | null;
|
|
582
640
|
ariaRequired: string | null;
|
|
583
641
|
ariaRoleDescription: string | null;
|
|
584
642
|
ariaRowCount: string | null;
|
|
585
643
|
ariaRowIndex: string | null;
|
|
644
|
+
ariaRowIndexText: string | null;
|
|
586
645
|
ariaRowSpan: string | null;
|
|
587
646
|
ariaSelected: string | null;
|
|
588
647
|
ariaSetSize: string | null;
|
|
@@ -592,34 +651,35 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
592
651
|
ariaValueNow: string | null;
|
|
593
652
|
ariaValueText: string | null;
|
|
594
653
|
role: string | null;
|
|
595
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
596
|
-
getAnimations(options?: GetAnimationsOptions
|
|
597
|
-
after(...nodes: (
|
|
598
|
-
before(...nodes: (
|
|
654
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
655
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
656
|
+
after(...nodes: (Node | string)[]): void;
|
|
657
|
+
before(...nodes: (Node | string)[]): void;
|
|
599
658
|
remove(): void;
|
|
600
|
-
replaceWith(...nodes: (
|
|
601
|
-
innerHTML: string;
|
|
659
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
602
660
|
readonly nextElementSibling: Element | null;
|
|
603
661
|
readonly previousElementSibling: Element | null;
|
|
604
662
|
readonly childElementCount: number;
|
|
605
663
|
readonly children: HTMLCollection;
|
|
606
664
|
readonly firstElementChild: Element | null;
|
|
607
665
|
readonly lastElementChild: Element | null;
|
|
608
|
-
append(...nodes: (
|
|
609
|
-
prepend(...nodes: (
|
|
610
|
-
querySelector<
|
|
611
|
-
querySelector<
|
|
612
|
-
querySelector<
|
|
613
|
-
querySelector<
|
|
614
|
-
querySelector<
|
|
615
|
-
querySelectorAll<
|
|
616
|
-
querySelectorAll<
|
|
617
|
-
querySelectorAll<
|
|
618
|
-
querySelectorAll<
|
|
619
|
-
querySelectorAll<
|
|
620
|
-
replaceChildren(...nodes: (
|
|
666
|
+
append(...nodes: (Node | string)[]): void;
|
|
667
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
668
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
669
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
670
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
671
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
672
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
673
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
674
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
675
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
676
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
677
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
678
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
621
679
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
622
|
-
readonly
|
|
680
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
681
|
+
get style(): CSSStyleDeclaration;
|
|
682
|
+
set style(cssText: string);
|
|
623
683
|
contentEditable: string;
|
|
624
684
|
enterKeyHint: string;
|
|
625
685
|
inputMode: string;
|
|
@@ -629,16 +689,20 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
629
689
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
630
690
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
631
691
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
632
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
692
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
633
693
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
694
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
695
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
634
696
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
635
697
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
636
698
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
637
699
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
638
700
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
639
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
701
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
640
702
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
641
|
-
|
|
703
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
704
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
705
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
642
706
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
643
707
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
644
708
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -685,12 +749,14 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
685
749
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
686
750
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
687
751
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
752
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
688
753
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
689
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
754
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
690
755
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
691
756
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
692
757
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
693
758
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
759
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
694
760
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
695
761
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
696
762
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -702,7 +768,7 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
702
768
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
703
769
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
704
770
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
705
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
771
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
706
772
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
707
773
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
708
774
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -720,14 +786,10 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
720
786
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
721
787
|
autofocus: boolean;
|
|
722
788
|
readonly dataset: DOMStringMap;
|
|
723
|
-
nonce?: string
|
|
789
|
+
nonce?: string;
|
|
724
790
|
tabIndex: number;
|
|
725
791
|
blur(): void;
|
|
726
|
-
focus(options?: FocusOptions
|
|
727
|
-
ariaColIndexText: string | null;
|
|
728
|
-
ariaDescription: string | null;
|
|
729
|
-
ariaRowIndexText: string | null;
|
|
730
|
-
ariaRelevant: string | null;
|
|
792
|
+
focus(options?: FocusOptions): void;
|
|
731
793
|
roleChanged(prev: string | null, next: string | null): void;
|
|
732
794
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
733
795
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -770,7 +832,7 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
770
832
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
771
833
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
772
834
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
773
|
-
"__#
|
|
835
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
774
836
|
newPropertyName: string;
|
|
775
837
|
deprecatedPropertyName: string;
|
|
776
838
|
fromDeprecated: (v: any) => any;
|