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