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