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