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