@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/button/button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
2
2
|
import { VividFoundationButton } from '../../shared/foundation/button/button.js';
|
|
3
|
-
import
|
|
3
|
+
import { ExtractFromEnum } from '../../shared/utils/enums';
|
|
4
4
|
export type ButtonConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.Announcement | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
5
5
|
export type ButtonAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost | Appearance.GhostLight | Appearance.OutlinedLight>;
|
|
6
6
|
export type ButtonShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
|
|
@@ -8,17 +8,18 @@ export type ButtonSize = ExtractFromEnum<Size, Size.SuperCondensed | Size.Conden
|
|
|
8
8
|
declare const Button_base: {
|
|
9
9
|
new (...args: any[]): {
|
|
10
10
|
iconTrailing: boolean;
|
|
11
|
-
icon?: string
|
|
12
|
-
iconSlottedContent?: HTMLElement[]
|
|
11
|
+
icon?: string;
|
|
12
|
+
iconSlottedContent?: HTMLElement[];
|
|
13
13
|
connectedCallback(): void;
|
|
14
|
-
_vividAriaBehaviour: import(
|
|
15
|
-
readonly $fastController: import(
|
|
16
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
14
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin.js').VividAriaBehaviour;
|
|
15
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
16
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
18
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
19
19
|
accessKey: string;
|
|
20
20
|
readonly accessKeyLabel: string;
|
|
21
21
|
autocapitalize: string;
|
|
22
|
+
autocorrect: boolean;
|
|
22
23
|
dir: string;
|
|
23
24
|
draggable: boolean;
|
|
24
25
|
hidden: boolean;
|
|
@@ -31,30 +32,39 @@ declare const Button_base: {
|
|
|
31
32
|
readonly offsetTop: number;
|
|
32
33
|
readonly offsetWidth: number;
|
|
33
34
|
outerText: string;
|
|
35
|
+
popover: string | null;
|
|
34
36
|
spellcheck: boolean;
|
|
35
37
|
title: string;
|
|
36
38
|
translate: boolean;
|
|
39
|
+
writingSuggestions: string;
|
|
37
40
|
attachInternals(): ElementInternals;
|
|
38
41
|
click(): void;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
hidePopover(): void;
|
|
43
|
+
showPopover(): void;
|
|
44
|
+
togglePopover(options?: boolean): boolean;
|
|
45
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
43
49
|
readonly attributes: NamedNodeMap;
|
|
44
|
-
|
|
50
|
+
get classList(): DOMTokenList;
|
|
51
|
+
set classList(value: string);
|
|
45
52
|
className: string;
|
|
46
53
|
readonly clientHeight: number;
|
|
47
54
|
readonly clientLeft: number;
|
|
48
55
|
readonly clientTop: number;
|
|
49
56
|
readonly clientWidth: number;
|
|
57
|
+
readonly currentCSSZoom: number;
|
|
50
58
|
id: string;
|
|
59
|
+
innerHTML: string;
|
|
51
60
|
readonly localName: string;
|
|
52
61
|
readonly namespaceURI: string | null;
|
|
53
62
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
54
63
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
55
64
|
outerHTML: string;
|
|
56
65
|
readonly ownerDocument: Document;
|
|
57
|
-
|
|
66
|
+
get part(): DOMTokenList;
|
|
67
|
+
set part(value: string);
|
|
58
68
|
readonly prefix: string | null;
|
|
59
69
|
readonly scrollHeight: number;
|
|
60
70
|
scrollLeft: number;
|
|
@@ -64,11 +74,12 @@ declare const Button_base: {
|
|
|
64
74
|
slot: string;
|
|
65
75
|
readonly tagName: string;
|
|
66
76
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
67
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
68
|
-
closest<
|
|
69
|
-
closest<
|
|
70
|
-
closest<
|
|
77
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
78
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
79
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
80
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
71
81
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
82
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
72
83
|
getAttribute(qualifiedName: string): string | null;
|
|
73
84
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
74
85
|
getAttributeNames(): string[];
|
|
@@ -77,43 +88,47 @@ declare const Button_base: {
|
|
|
77
88
|
getBoundingClientRect(): DOMRect;
|
|
78
89
|
getClientRects(): DOMRectList;
|
|
79
90
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
80
|
-
getElementsByTagName<
|
|
81
|
-
getElementsByTagName<
|
|
82
|
-
getElementsByTagName<
|
|
83
|
-
getElementsByTagName<
|
|
91
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
92
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
93
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
94
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
84
95
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
85
96
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
86
97
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
87
98
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
88
99
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
100
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
89
101
|
hasAttribute(qualifiedName: string): boolean;
|
|
90
102
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
91
103
|
hasAttributes(): boolean;
|
|
92
104
|
hasPointerCapture(pointerId: number): boolean;
|
|
93
105
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
94
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
106
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
95
107
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
96
108
|
matches(selectors: string): boolean;
|
|
97
109
|
releasePointerCapture(pointerId: number): void;
|
|
98
110
|
removeAttribute(qualifiedName: string): void;
|
|
99
111
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
100
112
|
removeAttributeNode(attr: Attr): Attr;
|
|
101
|
-
requestFullscreen(options?: FullscreenOptions
|
|
102
|
-
requestPointerLock(): void
|
|
103
|
-
scroll(options?: ScrollToOptions
|
|
113
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
114
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
115
|
+
scroll(options?: ScrollToOptions): void;
|
|
104
116
|
scroll(x: number, y: number): void;
|
|
105
|
-
scrollBy(options?: ScrollToOptions
|
|
117
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
106
118
|
scrollBy(x: number, y: number): void;
|
|
107
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
108
|
-
scrollTo(options?: ScrollToOptions
|
|
119
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
120
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
109
121
|
scrollTo(x: number, y: number): void;
|
|
110
122
|
setAttribute(qualifiedName: string, value: string): void;
|
|
111
123
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
112
124
|
setAttributeNode(attr: Attr): Attr | null;
|
|
113
125
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
126
|
+
setHTMLUnsafe(html: string): void;
|
|
114
127
|
setPointerCapture(pointerId: number): void;
|
|
115
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
128
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
116
129
|
webkitMatchesSelector(selectors: string): boolean;
|
|
130
|
+
get textContent(): string;
|
|
131
|
+
set textContent(value: string | null);
|
|
117
132
|
readonly baseURI: string;
|
|
118
133
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
119
134
|
readonly firstChild: ChildNode | null;
|
|
@@ -126,22 +141,21 @@ declare const Button_base: {
|
|
|
126
141
|
readonly parentElement: HTMLElement | null;
|
|
127
142
|
readonly parentNode: ParentNode | null;
|
|
128
143
|
readonly previousSibling: ChildNode | null;
|
|
129
|
-
textContent: string | null;
|
|
130
144
|
appendChild<T extends Node>(node: T): T;
|
|
131
|
-
cloneNode(
|
|
145
|
+
cloneNode(subtree?: boolean): Node;
|
|
132
146
|
compareDocumentPosition(other: Node): number;
|
|
133
147
|
contains(other: Node | null): boolean;
|
|
134
|
-
getRootNode(options?: GetRootNodeOptions
|
|
148
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
135
149
|
hasChildNodes(): boolean;
|
|
136
|
-
insertBefore<
|
|
150
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
137
151
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
138
152
|
isEqualNode(otherNode: Node | null): boolean;
|
|
139
153
|
isSameNode(otherNode: Node | null): boolean;
|
|
140
154
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
141
155
|
lookupPrefix(namespace: string | null): string | null;
|
|
142
156
|
normalize(): void;
|
|
143
|
-
removeChild<
|
|
144
|
-
replaceChild<
|
|
157
|
+
removeChild<T extends Node>(child: T): T;
|
|
158
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
145
159
|
readonly ELEMENT_NODE: 1;
|
|
146
160
|
readonly ATTRIBUTE_NODE: 2;
|
|
147
161
|
readonly TEXT_NODE: 3;
|
|
@@ -161,35 +175,49 @@ declare const Button_base: {
|
|
|
161
175
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
162
176
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
163
177
|
dispatchEvent(event: Event): boolean;
|
|
178
|
+
ariaActiveDescendantElement: Element | null;
|
|
164
179
|
ariaAtomic: string | null;
|
|
165
180
|
ariaAutoComplete: string | null;
|
|
181
|
+
ariaBrailleLabel: string | null;
|
|
182
|
+
ariaBrailleRoleDescription: string | null;
|
|
166
183
|
ariaBusy: string | null;
|
|
167
184
|
ariaChecked: string | null;
|
|
168
185
|
ariaColCount: string | null;
|
|
169
186
|
ariaColIndex: string | null;
|
|
187
|
+
ariaColIndexText: string | null;
|
|
170
188
|
ariaColSpan: string | null;
|
|
189
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
171
190
|
ariaCurrent: string | null;
|
|
191
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
192
|
+
ariaDescription: string | null;
|
|
193
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
172
194
|
ariaDisabled: string | null;
|
|
195
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
173
196
|
ariaExpanded: string | null;
|
|
197
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
174
198
|
ariaHasPopup: string | null;
|
|
175
199
|
ariaHidden: string | null;
|
|
176
200
|
ariaInvalid: string | null;
|
|
177
201
|
ariaKeyShortcuts: string | null;
|
|
178
202
|
ariaLabel: string | null;
|
|
203
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
179
204
|
ariaLevel: string | null;
|
|
180
205
|
ariaLive: string | null;
|
|
181
206
|
ariaModal: string | null;
|
|
182
207
|
ariaMultiLine: string | null;
|
|
183
208
|
ariaMultiSelectable: string | null;
|
|
184
209
|
ariaOrientation: string | null;
|
|
210
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
185
211
|
ariaPlaceholder: string | null;
|
|
186
212
|
ariaPosInSet: string | null;
|
|
187
213
|
ariaPressed: string | null;
|
|
188
214
|
ariaReadOnly: string | null;
|
|
215
|
+
ariaRelevant: string | null;
|
|
189
216
|
ariaRequired: string | null;
|
|
190
217
|
ariaRoleDescription: string | null;
|
|
191
218
|
ariaRowCount: string | null;
|
|
192
219
|
ariaRowIndex: string | null;
|
|
220
|
+
ariaRowIndexText: string | null;
|
|
193
221
|
ariaRowSpan: string | null;
|
|
194
222
|
ariaSelected: string | null;
|
|
195
223
|
ariaSetSize: string | null;
|
|
@@ -199,34 +227,35 @@ declare const Button_base: {
|
|
|
199
227
|
ariaValueNow: string | null;
|
|
200
228
|
ariaValueText: string | null;
|
|
201
229
|
role: string | null;
|
|
202
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
203
|
-
getAnimations(options?: GetAnimationsOptions
|
|
204
|
-
after(...nodes: (
|
|
205
|
-
before(...nodes: (
|
|
230
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
231
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
232
|
+
after(...nodes: (Node | string)[]): void;
|
|
233
|
+
before(...nodes: (Node | string)[]): void;
|
|
206
234
|
remove(): void;
|
|
207
|
-
replaceWith(...nodes: (
|
|
208
|
-
innerHTML: string;
|
|
235
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
209
236
|
readonly nextElementSibling: Element | null;
|
|
210
237
|
readonly previousElementSibling: Element | null;
|
|
211
238
|
readonly childElementCount: number;
|
|
212
239
|
readonly children: HTMLCollection;
|
|
213
240
|
readonly firstElementChild: Element | null;
|
|
214
241
|
readonly lastElementChild: Element | null;
|
|
215
|
-
append(...nodes: (
|
|
216
|
-
prepend(...nodes: (
|
|
217
|
-
querySelector<
|
|
218
|
-
querySelector<
|
|
219
|
-
querySelector<
|
|
220
|
-
querySelector<
|
|
221
|
-
querySelector<
|
|
222
|
-
querySelectorAll<
|
|
223
|
-
querySelectorAll<
|
|
224
|
-
querySelectorAll<
|
|
225
|
-
querySelectorAll<
|
|
226
|
-
querySelectorAll<
|
|
227
|
-
replaceChildren(...nodes: (
|
|
242
|
+
append(...nodes: (Node | string)[]): void;
|
|
243
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
244
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
245
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
246
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
247
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
248
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
249
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
250
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
251
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
252
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
253
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
254
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
228
255
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
229
|
-
readonly
|
|
256
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
257
|
+
get style(): CSSStyleDeclaration;
|
|
258
|
+
set style(cssText: string);
|
|
230
259
|
contentEditable: string;
|
|
231
260
|
enterKeyHint: string;
|
|
232
261
|
inputMode: string;
|
|
@@ -236,16 +265,20 @@ declare const Button_base: {
|
|
|
236
265
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
237
266
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
238
267
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
239
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
268
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
240
269
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
270
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
241
272
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
242
273
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
243
274
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
244
275
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
245
276
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
277
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
247
278
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
|
-
|
|
279
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
282
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
250
283
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
284
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -292,12 +325,14 @@ declare const Button_base: {
|
|
|
292
325
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
326
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
327
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
328
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
329
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
330
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
297
331
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
332
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
333
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
300
334
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
336
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
302
337
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
338
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -309,7 +344,7 @@ declare const Button_base: {
|
|
|
309
344
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
310
345
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
346
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
347
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
313
348
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
314
349
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
315
350
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -327,14 +362,10 @@ declare const Button_base: {
|
|
|
327
362
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
328
363
|
autofocus: boolean;
|
|
329
364
|
readonly dataset: DOMStringMap;
|
|
330
|
-
nonce?: string
|
|
365
|
+
nonce?: string;
|
|
331
366
|
tabIndex: number;
|
|
332
367
|
blur(): void;
|
|
333
|
-
focus(options?: FocusOptions
|
|
334
|
-
ariaColIndexText: string | null;
|
|
335
|
-
ariaDescription: string | null;
|
|
336
|
-
ariaRowIndexText: string | null;
|
|
337
|
-
ariaRelevant: string | null;
|
|
368
|
+
focus(options?: FocusOptions): void;
|
|
338
369
|
roleChanged(prev: string | null, next: string | null): void;
|
|
339
370
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
340
371
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -377,7 +408,7 @@ declare const Button_base: {
|
|
|
377
408
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
378
409
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
379
410
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
380
|
-
"__#
|
|
411
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
381
412
|
newPropertyName: string;
|
|
382
413
|
deprecatedPropertyName: string;
|
|
383
414
|
fromDeprecated: (v: any) => any;
|
|
@@ -386,16 +417,17 @@ declare const Button_base: {
|
|
|
386
417
|
};
|
|
387
418
|
} & {
|
|
388
419
|
new (...args: any[]): {
|
|
389
|
-
|
|
420
|
+
get locale(): import('../../shared/localization/Locale.js').Locale;
|
|
390
421
|
connectedCallback(): void;
|
|
391
|
-
_vividAriaBehaviour: import(
|
|
392
|
-
readonly $fastController: import(
|
|
393
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
422
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin.js').VividAriaBehaviour;
|
|
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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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;
|
|
@@ -763,68 +825,26 @@ declare const Button_base: {
|
|
|
763
825
|
};
|
|
764
826
|
} & {
|
|
765
827
|
new (...args: any[]): {
|
|
766
|
-
download?: string
|
|
767
|
-
href?: string
|
|
768
|
-
hreflang?: string
|
|
769
|
-
ping?: string
|
|
770
|
-
referrerpolicy?: string
|
|
771
|
-
rel?: string
|
|
772
|
-
target?: "_self" | "_blank" | "_parent" | "_top"
|
|
773
|
-
type?: string
|
|
828
|
+
download?: string;
|
|
829
|
+
href?: string;
|
|
830
|
+
hreflang?: string;
|
|
831
|
+
ping?: string;
|
|
832
|
+
referrerpolicy?: string;
|
|
833
|
+
rel?: string;
|
|
834
|
+
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
835
|
+
type?: string;
|
|
774
836
|
control: HTMLAnchorElement;
|
|
775
|
-
_renderLinkElement: <
|
|
776
|
-
role: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
777
|
-
ariaAtomic: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
778
|
-
ariaAutoComplete: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
779
|
-
ariaBusy: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
780
|
-
ariaChecked: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
781
|
-
ariaColCount: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
782
|
-
ariaColIndex: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
783
|
-
ariaColIndexText: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
784
|
-
ariaColSpan: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
785
|
-
ariaCurrent: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
786
|
-
ariaDescription: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
787
|
-
ariaDisabled: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
788
|
-
ariaExpanded: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
789
|
-
ariaHasPopup: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
790
|
-
ariaHidden: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
791
|
-
ariaInvalid: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
792
|
-
ariaKeyShortcuts: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
793
|
-
ariaLabel: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
794
|
-
ariaLevel: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
795
|
-
ariaLive: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
796
|
-
ariaModal: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
797
|
-
ariaMultiLine: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
798
|
-
ariaMultiSelectable: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
799
|
-
ariaOrientation: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
800
|
-
ariaPlaceholder: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
801
|
-
ariaPosInSet: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
802
|
-
ariaPressed: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
803
|
-
ariaReadOnly: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
804
|
-
ariaRequired: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
805
|
-
ariaRoleDescription: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
806
|
-
ariaRowCount: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
807
|
-
ariaRowIndex: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
808
|
-
ariaRowIndexText: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
809
|
-
ariaRowSpan: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
810
|
-
ariaSelected: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
811
|
-
ariaSetSize: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
812
|
-
ariaSort: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
813
|
-
ariaValueMax: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
814
|
-
ariaValueMin: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
815
|
-
ariaValueNow: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
816
|
-
ariaValueText: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
817
|
-
ariaRelevant: (string | number | boolean | null | undefined) | ((x: unknown) => string | number | boolean | null | undefined);
|
|
818
|
-
}> | undefined) => import("@microsoft/fast-element").ViewTemplate<T_5, any>;
|
|
837
|
+
_renderLinkElement: <T extends any>(content: import('@microsoft/fast-element').ViewTemplate<T>, cssClass: import('@microsoft/fast-element').TemplateValue<T>, boundAriaProperties?: import('../../shared/aria/delegate-aria-behavior.js').BoundAriaProperties<unknown>) => import('@microsoft/fast-element').ViewTemplate<T, any>;
|
|
819
838
|
_vividAriaBehaviour: "delegate";
|
|
820
839
|
connectedCallback(): void;
|
|
821
|
-
readonly $fastController: import(
|
|
822
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
840
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
841
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
823
842
|
disconnectedCallback(): void;
|
|
824
843
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
825
844
|
accessKey: string;
|
|
826
845
|
readonly accessKeyLabel: string;
|
|
827
846
|
autocapitalize: string;
|
|
847
|
+
autocorrect: boolean;
|
|
828
848
|
dir: string;
|
|
829
849
|
draggable: boolean;
|
|
830
850
|
hidden: boolean;
|
|
@@ -837,30 +857,39 @@ declare const Button_base: {
|
|
|
837
857
|
readonly offsetTop: number;
|
|
838
858
|
readonly offsetWidth: number;
|
|
839
859
|
outerText: string;
|
|
860
|
+
popover: string | null;
|
|
840
861
|
spellcheck: boolean;
|
|
841
862
|
title: string;
|
|
842
863
|
translate: boolean;
|
|
864
|
+
writingSuggestions: string;
|
|
843
865
|
attachInternals(): ElementInternals;
|
|
844
866
|
click(): void;
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
867
|
+
hidePopover(): void;
|
|
868
|
+
showPopover(): void;
|
|
869
|
+
togglePopover(options?: boolean): boolean;
|
|
870
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
871
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
872
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
873
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
849
874
|
readonly attributes: NamedNodeMap;
|
|
850
|
-
|
|
875
|
+
get classList(): DOMTokenList;
|
|
876
|
+
set classList(value: string);
|
|
851
877
|
className: string;
|
|
852
878
|
readonly clientHeight: number;
|
|
853
879
|
readonly clientLeft: number;
|
|
854
880
|
readonly clientTop: number;
|
|
855
881
|
readonly clientWidth: number;
|
|
882
|
+
readonly currentCSSZoom: number;
|
|
856
883
|
id: string;
|
|
884
|
+
innerHTML: string;
|
|
857
885
|
readonly localName: string;
|
|
858
886
|
readonly namespaceURI: string | null;
|
|
859
887
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
860
888
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
861
889
|
outerHTML: string;
|
|
862
890
|
readonly ownerDocument: Document;
|
|
863
|
-
|
|
891
|
+
get part(): DOMTokenList;
|
|
892
|
+
set part(value: string);
|
|
864
893
|
readonly prefix: string | null;
|
|
865
894
|
readonly scrollHeight: number;
|
|
866
895
|
scrollLeft: number;
|
|
@@ -870,11 +899,12 @@ declare const Button_base: {
|
|
|
870
899
|
slot: string;
|
|
871
900
|
readonly tagName: string;
|
|
872
901
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
873
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
874
|
-
closest<
|
|
875
|
-
closest<
|
|
876
|
-
closest<
|
|
877
|
-
closest<
|
|
902
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
903
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
904
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
905
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
906
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
907
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
878
908
|
getAttribute(qualifiedName: string): string | null;
|
|
879
909
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
880
910
|
getAttributeNames(): string[];
|
|
@@ -883,43 +913,47 @@ declare const Button_base: {
|
|
|
883
913
|
getBoundingClientRect(): DOMRect;
|
|
884
914
|
getClientRects(): DOMRectList;
|
|
885
915
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
886
|
-
getElementsByTagName<
|
|
887
|
-
getElementsByTagName<
|
|
888
|
-
getElementsByTagName<
|
|
889
|
-
getElementsByTagName<
|
|
916
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
917
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
918
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
919
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
890
920
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
891
921
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
892
922
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
893
923
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
894
924
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
925
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
895
926
|
hasAttribute(qualifiedName: string): boolean;
|
|
896
927
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
897
928
|
hasAttributes(): boolean;
|
|
898
929
|
hasPointerCapture(pointerId: number): boolean;
|
|
899
930
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
900
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
931
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
901
932
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
902
933
|
matches(selectors: string): boolean;
|
|
903
934
|
releasePointerCapture(pointerId: number): void;
|
|
904
935
|
removeAttribute(qualifiedName: string): void;
|
|
905
936
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
906
937
|
removeAttributeNode(attr: Attr): Attr;
|
|
907
|
-
requestFullscreen(options?: FullscreenOptions
|
|
908
|
-
requestPointerLock(): void
|
|
909
|
-
scroll(options?: ScrollToOptions
|
|
938
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
939
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
940
|
+
scroll(options?: ScrollToOptions): void;
|
|
910
941
|
scroll(x: number, y: number): void;
|
|
911
|
-
scrollBy(options?: ScrollToOptions
|
|
942
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
912
943
|
scrollBy(x: number, y: number): void;
|
|
913
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
914
|
-
scrollTo(options?: ScrollToOptions
|
|
944
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
945
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
915
946
|
scrollTo(x: number, y: number): void;
|
|
916
947
|
setAttribute(qualifiedName: string, value: string): void;
|
|
917
948
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
918
949
|
setAttributeNode(attr: Attr): Attr | null;
|
|
919
950
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
951
|
+
setHTMLUnsafe(html: string): void;
|
|
920
952
|
setPointerCapture(pointerId: number): void;
|
|
921
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
953
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
922
954
|
webkitMatchesSelector(selectors: string): boolean;
|
|
955
|
+
get textContent(): string;
|
|
956
|
+
set textContent(value: string | null);
|
|
923
957
|
readonly baseURI: string;
|
|
924
958
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
925
959
|
readonly firstChild: ChildNode | null;
|
|
@@ -932,22 +966,21 @@ declare const Button_base: {
|
|
|
932
966
|
readonly parentElement: HTMLElement | null;
|
|
933
967
|
readonly parentNode: ParentNode | null;
|
|
934
968
|
readonly previousSibling: ChildNode | null;
|
|
935
|
-
textContent: string | null;
|
|
936
969
|
appendChild<T extends Node>(node: T): T;
|
|
937
|
-
cloneNode(
|
|
970
|
+
cloneNode(subtree?: boolean): Node;
|
|
938
971
|
compareDocumentPosition(other: Node): number;
|
|
939
972
|
contains(other: Node | null): boolean;
|
|
940
|
-
getRootNode(options?: GetRootNodeOptions
|
|
973
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
941
974
|
hasChildNodes(): boolean;
|
|
942
|
-
insertBefore<
|
|
975
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
943
976
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
944
977
|
isEqualNode(otherNode: Node | null): boolean;
|
|
945
978
|
isSameNode(otherNode: Node | null): boolean;
|
|
946
979
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
947
980
|
lookupPrefix(namespace: string | null): string | null;
|
|
948
981
|
normalize(): void;
|
|
949
|
-
removeChild<
|
|
950
|
-
replaceChild<
|
|
982
|
+
removeChild<T extends Node>(child: T): T;
|
|
983
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
951
984
|
readonly ELEMENT_NODE: 1;
|
|
952
985
|
readonly ATTRIBUTE_NODE: 2;
|
|
953
986
|
readonly TEXT_NODE: 3;
|
|
@@ -967,35 +1000,49 @@ declare const Button_base: {
|
|
|
967
1000
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
968
1001
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
969
1002
|
dispatchEvent(event: Event): boolean;
|
|
1003
|
+
ariaActiveDescendantElement: Element | null;
|
|
970
1004
|
ariaAtomic: string | null;
|
|
971
1005
|
ariaAutoComplete: string | null;
|
|
1006
|
+
ariaBrailleLabel: string | null;
|
|
1007
|
+
ariaBrailleRoleDescription: string | null;
|
|
972
1008
|
ariaBusy: string | null;
|
|
973
1009
|
ariaChecked: string | null;
|
|
974
1010
|
ariaColCount: string | null;
|
|
975
1011
|
ariaColIndex: string | null;
|
|
1012
|
+
ariaColIndexText: string | null;
|
|
976
1013
|
ariaColSpan: string | null;
|
|
1014
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
977
1015
|
ariaCurrent: string | null;
|
|
1016
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1017
|
+
ariaDescription: string | null;
|
|
1018
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
978
1019
|
ariaDisabled: string | null;
|
|
1020
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
979
1021
|
ariaExpanded: string | null;
|
|
1022
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
980
1023
|
ariaHasPopup: string | null;
|
|
981
1024
|
ariaHidden: string | null;
|
|
982
1025
|
ariaInvalid: string | null;
|
|
983
1026
|
ariaKeyShortcuts: string | null;
|
|
984
1027
|
ariaLabel: string | null;
|
|
1028
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
985
1029
|
ariaLevel: string | null;
|
|
986
1030
|
ariaLive: string | null;
|
|
987
1031
|
ariaModal: string | null;
|
|
988
1032
|
ariaMultiLine: string | null;
|
|
989
1033
|
ariaMultiSelectable: string | null;
|
|
990
1034
|
ariaOrientation: string | null;
|
|
1035
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
991
1036
|
ariaPlaceholder: string | null;
|
|
992
1037
|
ariaPosInSet: string | null;
|
|
993
1038
|
ariaPressed: string | null;
|
|
994
1039
|
ariaReadOnly: string | null;
|
|
1040
|
+
ariaRelevant: string | null;
|
|
995
1041
|
ariaRequired: string | null;
|
|
996
1042
|
ariaRoleDescription: string | null;
|
|
997
1043
|
ariaRowCount: string | null;
|
|
998
1044
|
ariaRowIndex: string | null;
|
|
1045
|
+
ariaRowIndexText: string | null;
|
|
999
1046
|
ariaRowSpan: string | null;
|
|
1000
1047
|
ariaSelected: string | null;
|
|
1001
1048
|
ariaSetSize: string | null;
|
|
@@ -1005,34 +1052,35 @@ declare const Button_base: {
|
|
|
1005
1052
|
ariaValueNow: string | null;
|
|
1006
1053
|
ariaValueText: string | null;
|
|
1007
1054
|
role: string | null;
|
|
1008
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
1009
|
-
getAnimations(options?: GetAnimationsOptions
|
|
1010
|
-
after(...nodes: (
|
|
1011
|
-
before(...nodes: (
|
|
1055
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1056
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1057
|
+
after(...nodes: (Node | string)[]): void;
|
|
1058
|
+
before(...nodes: (Node | string)[]): void;
|
|
1012
1059
|
remove(): void;
|
|
1013
|
-
replaceWith(...nodes: (
|
|
1014
|
-
innerHTML: string;
|
|
1060
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
1015
1061
|
readonly nextElementSibling: Element | null;
|
|
1016
1062
|
readonly previousElementSibling: Element | null;
|
|
1017
1063
|
readonly childElementCount: number;
|
|
1018
1064
|
readonly children: HTMLCollection;
|
|
1019
1065
|
readonly firstElementChild: Element | null;
|
|
1020
1066
|
readonly lastElementChild: Element | null;
|
|
1021
|
-
append(...nodes: (
|
|
1022
|
-
prepend(...nodes: (
|
|
1023
|
-
querySelector<
|
|
1024
|
-
querySelector<
|
|
1025
|
-
querySelector<
|
|
1026
|
-
querySelector<
|
|
1027
|
-
querySelector<
|
|
1028
|
-
querySelectorAll<
|
|
1029
|
-
querySelectorAll<
|
|
1030
|
-
querySelectorAll<
|
|
1031
|
-
querySelectorAll<
|
|
1032
|
-
querySelectorAll<
|
|
1033
|
-
replaceChildren(...nodes: (
|
|
1067
|
+
append(...nodes: (Node | string)[]): void;
|
|
1068
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1069
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1070
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1071
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1072
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1073
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1074
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1075
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1076
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1077
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1078
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1079
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1034
1080
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1035
|
-
readonly
|
|
1081
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1082
|
+
get style(): CSSStyleDeclaration;
|
|
1083
|
+
set style(cssText: string);
|
|
1036
1084
|
contentEditable: string;
|
|
1037
1085
|
enterKeyHint: string;
|
|
1038
1086
|
inputMode: string;
|
|
@@ -1042,16 +1090,20 @@ declare const Button_base: {
|
|
|
1042
1090
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1043
1091
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1044
1092
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1045
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
1093
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1046
1094
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1095
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1096
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1047
1097
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1048
1098
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1049
1099
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1050
1100
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1051
1101
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1052
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
1102
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1053
1103
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1054
|
-
|
|
1104
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1105
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1106
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1055
1107
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1056
1108
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1057
1109
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1098,12 +1150,14 @@ declare const Button_base: {
|
|
|
1098
1150
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1099
1151
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1100
1152
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1153
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1101
1154
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1102
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
1155
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1103
1156
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1104
1157
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1105
1158
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1106
1159
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1160
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1107
1161
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1108
1162
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1109
1163
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1115,7 +1169,7 @@ declare const Button_base: {
|
|
|
1115
1169
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1116
1170
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1117
1171
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1118
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1172
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1119
1173
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1120
1174
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1121
1175
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1133,14 +1187,10 @@ declare const Button_base: {
|
|
|
1133
1187
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1134
1188
|
autofocus: boolean;
|
|
1135
1189
|
readonly dataset: DOMStringMap;
|
|
1136
|
-
nonce?: string
|
|
1190
|
+
nonce?: string;
|
|
1137
1191
|
tabIndex: number;
|
|
1138
1192
|
blur(): void;
|
|
1139
|
-
focus(options?: FocusOptions
|
|
1140
|
-
ariaColIndexText: string | null;
|
|
1141
|
-
ariaDescription: string | null;
|
|
1142
|
-
ariaRowIndexText: string | null;
|
|
1143
|
-
ariaRelevant: string | null;
|
|
1193
|
+
focus(options?: FocusOptions): void;
|
|
1144
1194
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1145
1195
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1146
1196
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1183,7 +1233,7 @@ declare const Button_base: {
|
|
|
1183
1233
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1184
1234
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1185
1235
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1186
|
-
"__#
|
|
1236
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1187
1237
|
newPropertyName: string;
|
|
1188
1238
|
deprecatedPropertyName: string;
|
|
1189
1239
|
fromDeprecated: (v: any) => any;
|