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