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