@vonage/vivid 5.12.0 → 5.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/base-color-picker.js +2 -2
- package/bundled/definition19.cjs +63 -44
- package/bundled/definition19.js +322 -246
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +17 -13
- package/bundled/slottable-request.cjs +4 -4
- package/bundled/slottable-request.js +71 -70
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +2540 -2206
- package/data-grid/definition.cjs +37 -13
- package/data-grid/definition.js +37 -13
- package/data-grid/index.cjs +38 -32
- package/data-grid/index.js +201 -178
- package/icon/definition.cjs +1 -1
- package/icon/definition.js +1 -1
- package/index.cjs +1 -0
- package/index.js +1 -1
- package/lib/accordion/accordion.template.d.ts +2 -2
- package/lib/accordion/index.d.ts +1 -0
- package/lib/accordion-item/accordion-item.d.ts +98 -67
- package/lib/accordion-item/accordion-item.template.d.ts +3 -3
- package/lib/accordion-item/index.d.ts +1 -0
- package/lib/action-group/action-group.d.ts +95 -64
- package/lib/action-group/action-group.template.d.ts +2 -2
- package/lib/action-group/index.d.ts +1 -0
- package/lib/alert/alert.d.ts +192 -130
- package/lib/alert/alert.template.d.ts +3 -3
- package/lib/alert/index.d.ts +1 -0
- package/lib/audio-player/audio-player.d.ts +97 -67
- package/lib/audio-player/audio-player.template.d.ts +2 -2
- package/lib/audio-player/index.d.ts +1 -0
- package/lib/avatar/avatar.d.ts +105 -117
- package/lib/avatar/avatar.template.d.ts +1 -1
- package/lib/avatar/index.d.ts +1 -0
- package/lib/badge/badge.d.ts +98 -67
- package/lib/badge/badge.template.d.ts +3 -3
- package/lib/badge/index.d.ts +1 -0
- package/lib/banner/banner.d.ts +286 -193
- package/lib/banner/banner.template.d.ts +3 -3
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb.d.ts +93 -62
- package/lib/breadcrumb/breadcrumb.template.d.ts +2 -2
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +103 -115
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +3 -3
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/button/button.d.ts +297 -247
- package/lib/button/button.template.d.ts +3 -3
- package/lib/button/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +2 -2
- package/lib/calendar/calendar.template.d.ts +2 -2
- package/lib/calendar/helpers/calendar.event-context.d.ts +1 -1
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +1 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar-event/calendar-event.d.ts +95 -64
- package/lib/calendar-event/calendar-event.template.d.ts +2 -2
- package/lib/calendar-event/index.d.ts +1 -0
- package/lib/card/card.d.ts +105 -117
- package/lib/card/card.template.d.ts +2 -2
- package/lib/card/index.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +628 -437
- package/lib/checkbox/checkbox.template.d.ts +3 -3
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/color-picker/color-picker.d.ts +726 -506
- package/lib/color-picker/color-picker.template.d.ts +2 -2
- package/lib/color-picker/definition.d.ts +1 -1
- package/lib/color-picker/index.d.ts +1 -0
- package/lib/combobox/combobox.d.ts +741 -520
- package/lib/combobox/combobox.template.d.ts +3 -3
- package/lib/combobox/index.d.ts +1 -0
- package/lib/contextual-help/contextual-help.d.ts +1 -1
- package/lib/contextual-help/contextual-help.template.d.ts +3 -3
- package/lib/contextual-help/index.d.ts +1 -0
- package/lib/country/country-code-to-flag-icon.d.ts +1 -1
- package/lib/country/country.template.d.ts +3 -3
- package/lib/country/index.d.ts +1 -0
- package/lib/data-grid/data-grid-cell.d.ts +190 -128
- package/lib/data-grid/data-grid-cell.template.d.ts +3 -3
- package/lib/data-grid/data-grid-row.d.ts +95 -64
- package/lib/data-grid/data-grid-row.template.d.ts +3 -3
- package/lib/data-grid/data-grid.d.ts +1 -1
- package/lib/data-grid/data-grid.template.d.ts +3 -3
- package/lib/data-grid/index.d.ts +1 -0
- package/lib/data-grid/locale.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +1045 -792
- package/lib/date-picker/date-picker.template.d.ts +2 -2
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-range-picker/date-range-picker.d.ts +538 -411
- package/lib/date-range-picker/date-range-picker.template.d.ts +2 -2
- package/lib/date-range-picker/index.d.ts +1 -0
- package/lib/date-time-picker/date-time-picker.d.ts +1026 -772
- package/lib/date-time-picker/date-time-picker.template.d.ts +2 -2
- package/lib/date-time-picker/index.d.ts +1 -0
- package/lib/dial-pad/dial-pad.d.ts +95 -64
- package/lib/dial-pad/dial-pad.template.d.ts +2 -2
- package/lib/dial-pad/index.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +189 -127
- package/lib/dialog/dialog.template.d.ts +3 -3
- package/lib/dialog/index.d.ts +1 -0
- package/lib/divider/divider.d.ts +94 -63
- package/lib/divider/divider.template.d.ts +2 -2
- package/lib/divider/index.d.ts +1 -0
- package/lib/elevation/elevation.template.d.ts +2 -2
- package/lib/elevation/index.d.ts +1 -0
- package/lib/empty-state/empty-state.d.ts +2 -2
- package/lib/empty-state/empty-state.template.d.ts +3 -3
- package/lib/empty-state/index.d.ts +1 -0
- package/lib/fab/fab.d.ts +98 -67
- package/lib/fab/fab.template.d.ts +3 -3
- package/lib/fab/index.d.ts +1 -0
- package/lib/file-picker/__mocks__/data-transfer.d.ts +21 -0
- package/lib/file-picker/file-picker.d.ts +736 -515
- package/lib/file-picker/file-picker.template.d.ts +3 -3
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/header/header.d.ts +93 -62
- package/lib/header/header.template.d.ts +3 -3
- package/lib/header/index.d.ts +1 -0
- package/lib/icon/icon.d.ts +2 -2
- package/lib/icon/icon.template.d.ts +3 -3
- package/lib/icon/index.d.ts +1 -0
- package/lib/layout/index.d.ts +1 -0
- package/lib/layout/layout.d.ts +2 -2
- package/lib/layout/layout.template.d.ts +2 -2
- package/lib/menu/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +195 -133
- package/lib/menu/menu.template.d.ts +3 -3
- package/lib/menu-item/index.d.ts +1 -0
- package/lib/menu-item/menu-item.d.ts +191 -129
- package/lib/menu-item/menu-item.template.d.ts +2 -2
- package/lib/nav/index.d.ts +1 -0
- package/lib/nav/nav.d.ts +93 -62
- package/lib/nav/nav.template.d.ts +2 -2
- package/lib/nav-disclosure/index.d.ts +1 -0
- package/lib/nav-disclosure/nav-disclosure.d.ts +191 -129
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +3 -3
- package/lib/nav-item/index.d.ts +1 -0
- package/lib/nav-item/nav-item.d.ts +200 -181
- package/lib/nav-item/nav-item.template.d.ts +3 -3
- package/lib/note/index.d.ts +1 -0
- package/lib/note/note.d.ts +97 -66
- package/lib/note/note.template.d.ts +3 -3
- package/lib/number-field/index.d.ts +1 -0
- package/lib/number-field/number-field.d.ts +929 -646
- package/lib/number-field/number-field.template.d.ts +3 -3
- package/lib/option/index.d.ts +1 -0
- package/lib/option/option.d.ts +191 -129
- package/lib/option/option.template.d.ts +3 -3
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/pagination.d.ts +98 -67
- package/lib/pagination/pagination.template.d.ts +3 -3
- package/lib/popover/definition.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/popover.d.ts +190 -128
- package/lib/popover/popover.template.d.ts +2 -2
- package/lib/popup/index.d.ts +1 -0
- package/lib/popup/popup.d.ts +1 -1
- package/lib/popup/popup.template.d.ts +3 -3
- package/lib/progress/index.d.ts +1 -0
- package/lib/progress/progress.d.ts +94 -63
- package/lib/progress/progress.template.d.ts +2 -2
- package/lib/progress-ring/index.d.ts +1 -0
- package/lib/progress-ring/progress-ring.d.ts +94 -63
- package/lib/progress-ring/progress-ring.template.d.ts +2 -2
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/radio.d.ts +340 -242
- package/lib/radio/radio.template.d.ts +2 -2
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/radio-group.d.ts +99 -68
- package/lib/radio-group/radio-group.template.d.ts +3 -3
- package/lib/range-slider/index.d.ts +1 -0
- package/lib/range-slider/range-slider.d.ts +313 -218
- package/lib/range-slider/range-slider.template.d.ts +3 -3
- package/lib/rich-text-editor/definition.d.ts +1 -1
- package/lib/rich-text-editor/index.d.ts +1 -0
- package/lib/rich-text-editor/popover.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +99 -68
- package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
- package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/doc-factories.d.ts +106 -0
- package/lib/rich-text-editor/rte/__tests__/font-sizes.d.ts +2 -0
- package/lib/rich-text-editor/rte/__tests__/promise.d.ts +5 -0
- package/lib/rich-text-editor/rte/__tests__/test-utils.d.ts +68 -0
- package/lib/rich-text-editor/rte/config.d.ts +4 -4
- package/lib/rich-text-editor/rte/exports.d.ts +1 -0
- package/lib/rich-text-editor/rte/feature.d.ts +10 -12
- package/lib/rich-text-editor/rte/features/alignment.d.ts +19 -0
- package/lib/rich-text-editor/rte/features/atom.d.ts +9 -0
- package/lib/rich-text-editor/rte/features/base.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/bold.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/drop-handler.d.ts +21 -0
- package/lib/rich-text-editor/rte/features/file-handler.d.ts +25 -0
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +46 -0
- package/lib/rich-text-editor/rte/features/hard-break.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/inline-image.d.ts +43 -0
- package/lib/rich-text-editor/rte/features/input-rule.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +6 -6
- package/lib/rich-text-editor/rte/features/internal/core.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/internal/cursor-fix.d.ts +16 -0
- package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/internal/history.d.ts +2 -2
- package/lib/rich-text-editor/rte/features/internal/input-rules.d.ts +4 -4
- package/lib/rich-text-editor/rte/features/italic.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/keyboard-shortcuts.d.ts +16 -0
- package/lib/rich-text-editor/rte/features/link.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/list.d.ts +24 -0
- package/lib/rich-text-editor/rte/features/monospace.d.ts +22 -0
- package/lib/rich-text-editor/rte/features/placeholder.d.ts +23 -0
- package/lib/rich-text-editor/rte/features/strikethrough.d.ts +17 -0
- package/lib/rich-text-editor/rte/features/suggest.d.ts +14 -0
- package/lib/rich-text-editor/rte/features/text-block-picker.d.ts +18 -0
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +31 -0
- package/lib/rich-text-editor/rte/features/toolbar-button.d.ts +13 -0
- package/lib/rich-text-editor/rte/features/toolbar.d.ts +37 -0
- package/lib/rich-text-editor/rte/features/underline.d.ts +17 -0
- package/lib/rich-text-editor/rte/html-parser.d.ts +3 -3
- package/lib/rich-text-editor/rte/html-serializer.d.ts +3 -3
- package/lib/rich-text-editor/rte/instance.d.ts +10 -8
- package/lib/rich-text-editor/rte/public-interface.d.ts +13 -0
- package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -2
- package/lib/rich-text-editor/rte/utils/feature-state.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/text-before-cursor.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/ui.d.ts +8 -8
- package/lib/rich-text-editor/rte/view.d.ts +3 -6
- package/lib/rich-text-view/definition.d.ts +1 -1
- package/lib/rich-text-view/index.d.ts +2 -0
- package/lib/rich-text-view/rich-text-view.d.ts +1 -1
- package/lib/rich-text-view/rich-text-view.template.d.ts +2 -2
- package/lib/searchable-select/index.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +96 -65
- package/lib/searchable-select/option-tag.template.d.ts +3 -3
- package/lib/searchable-select/searchable-select.d.ts +929 -646
- package/lib/searchable-select/searchable-select.template.d.ts +3 -3
- package/lib/select/index.d.ts +1 -0
- package/lib/select/locale.d.ts +3 -0
- package/lib/select/select.d.ts +1240 -579
- package/lib/select/select.template.d.ts +3 -3
- package/lib/selectable-box/index.d.ts +1 -0
- package/lib/selectable-box/selectable-box.d.ts +94 -63
- package/lib/selectable-box/selectable-box.template.d.ts +2 -2
- package/lib/side-drawer/index.d.ts +1 -0
- package/lib/side-drawer/side-drawer.template.d.ts +2 -2
- package/lib/simple-color-picker/definition.d.ts +1 -1
- package/lib/simple-color-picker/index.d.ts +1 -0
- package/lib/simple-color-picker/simple-color-picker.d.ts +216 -153
- package/lib/simple-color-picker/simple-color-picker.template.d.ts +2 -2
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/slider.d.ts +299 -205
- package/lib/slider/slider.template.d.ts +4 -4
- package/lib/split-button/index.d.ts +1 -0
- package/lib/split-button/split-button.d.ts +288 -195
- package/lib/split-button/split-button.template.d.ts +3 -3
- package/lib/status/index.d.ts +1 -0
- package/lib/status/status.d.ts +98 -67
- package/lib/status/status.template.d.ts +3 -3
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/switch.d.ts +207 -142
- package/lib/switch/switch.template.d.ts +2 -2
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/tab.d.ts +288 -195
- package/lib/tab/tab.template.d.ts +3 -3
- package/lib/tab-panel/index.d.ts +1 -0
- package/lib/tab-panel/tab-panel.d.ts +93 -62
- package/lib/tab-panel/tab-panel.template.d.ts +2 -2
- package/lib/table/index.d.ts +1 -0
- package/lib/table/table-body.template.d.ts +3 -3
- package/lib/table/table-cell.d.ts +93 -62
- package/lib/table/table-cell.template.d.ts +3 -3
- package/lib/table/table-head.template.d.ts +3 -3
- package/lib/table/table-header-cell.d.ts +93 -62
- package/lib/table/table-header-cell.template.d.ts +3 -3
- package/lib/table/table-row.d.ts +93 -62
- package/lib/table/table-row.template.d.ts +3 -3
- package/lib/table/table.template.d.ts +3 -3
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +2 -2
- package/lib/tabs/tabs.template.d.ts +2 -2
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/tag.d.ts +288 -195
- package/lib/tag/tag.template.d.ts +3 -3
- package/lib/tag-group/index.d.ts +1 -0
- package/lib/tag-group/tag-group.d.ts +93 -62
- package/lib/tag-group/tag-group.template.d.ts +2 -2
- package/lib/tag-name-map.d.ts +1 -1
- package/lib/text-area/index.d.ts +1 -0
- package/lib/text-area/text-area.d.ts +832 -581
- package/lib/text-area/text-area.template.d.ts +3 -3
- package/lib/text-field/index.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +931 -649
- package/lib/text-field/text-field.template.d.ts +3 -3
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/time-picker.d.ts +486 -359
- package/lib/time-picker/time-picker.template.d.ts +3 -3
- package/lib/toggletip/index.d.ts +1 -0
- package/lib/toggletip/toggletip.d.ts +197 -135
- package/lib/toggletip/toggletip.template.d.ts +3 -3
- package/lib/tooltip/index.d.ts +1 -0
- package/lib/tooltip/tooltip.d.ts +101 -70
- package/lib/tooltip/tooltip.template.d.ts +3 -3
- package/lib/tree-item/index.d.ts +1 -0
- package/lib/tree-item/tree-item.d.ts +190 -128
- package/lib/tree-item/tree-item.template.d.ts +3 -3
- package/lib/tree-view/index.d.ts +1 -0
- package/lib/tree-view/tree-view.d.ts +93 -62
- package/lib/tree-view/tree-view.template.d.ts +2 -2
- package/lib/video-player/index.d.ts +1 -0
- package/lib/video-player/video-player.d.ts +96 -65
- package/lib/video-player/video-player.template.d.ts +1 -1
- package/lib/video-player/vivid-video-svg.d.ts +1 -1
- package/lib/visually-hidden/definition.d.ts +1 -1
- package/lib/visually-hidden/index.d.ts +1 -0
- package/lib/visually-hidden/visually-hidden.template.d.ts +1 -1
- package/locales/de-DE.cjs +3 -0
- package/locales/de-DE.d.ts +1 -1
- package/locales/de-DE.js +3 -0
- package/locales/en-GB.cjs +3 -0
- package/locales/en-GB.d.ts +1 -1
- package/locales/en-GB.js +3 -0
- package/locales/en-US.cjs +3 -0
- package/locales/en-US.d.ts +1 -1
- package/locales/en-US.js +3 -0
- package/locales/ja-JP.cjs +3 -0
- package/locales/ja-JP.d.ts +1 -1
- package/locales/ja-JP.js +3 -0
- package/locales/zh-CN.cjs +3 -0
- package/locales/zh-CN.d.ts +1 -1
- package/locales/zh-CN.js +3 -0
- package/package.json +6 -6
- package/rich-text-editor/definition.cjs +51 -24
- package/rich-text-editor/definition.js +52 -26
- package/rich-text-editor/index.cjs +7 -7
- package/rich-text-editor/index.js +1255 -1237
- package/rich-text-view/index.js +1 -1
- package/select/definition.cjs +104 -5
- package/select/definition.js +104 -5
- package/shared/aria/aria-change-subscription.d.ts +1 -1
- package/shared/aria/aria-mixin.d.ts +94 -63
- package/shared/aria/attribute-removal.d.ts +1 -1
- package/shared/aria/delegate-aria-behavior.d.ts +2 -2
- package/shared/aria/delegates-aria.d.ts +96 -65
- package/shared/aria/host-semantics-behavior.d.ts +2 -2
- package/shared/aria/host-semantics.d.ts +97 -66
- package/shared/color-picker/base-color-picker.d.ts +114 -82
- package/shared/datetime/dateRange.d.ts +1 -1
- package/shared/datetime/dateTimeStr.d.ts +4 -4
- package/shared/datetime/month.d.ts +1 -1
- package/shared/datetime/presentationDate.d.ts +2 -2
- package/shared/datetime/presentationDateRange.d.ts +2 -2
- package/shared/datetime/presentationDateTime.d.ts +2 -2
- package/shared/datetime/presentationTime.d.ts +1 -1
- package/shared/datetime/year.d.ts +1 -1
- package/shared/deprecation/replaced-props.d.ts +95 -60
- package/shared/design-system/createRegisterFunction.d.ts +1 -1
- package/shared/design-system/defineVividComponent.d.ts +1 -1
- package/shared/feedback/feedback-message.d.ts +96 -65
- package/shared/feedback/mixins.d.ts +200 -138
- package/shared/foundation/button/button.d.ts +202 -139
- package/shared/foundation/button/button.template.d.ts +2 -2
- package/shared/foundation/form-associated/form-associated.d.ts +213 -147
- package/shared/foundation/listbox/listbox.d.ts +1 -1
- package/shared/foundation/test-utilities/fixture.d.ts +18 -0
- package/shared/foundation/vivid-element/vivid-element.d.ts +194 -131
- package/shared/localization/Locale.d.ts +31 -29
- package/shared/localization/index.d.ts +1 -1
- package/shared/patterns/affix.d.ts +195 -133
- package/shared/patterns/anchored.d.ts +202 -140
- package/shared/patterns/char-count/char-count.d.ts +99 -68
- package/shared/patterns/chevron.d.ts +2 -2
- package/shared/patterns/form-elements/form-element.d.ts +114 -488
- package/shared/patterns/form-elements/with-contextual-help.d.ts +117 -903
- package/shared/patterns/form-elements/with-error-text.d.ts +120 -906
- package/shared/patterns/form-elements/with-success-text.d.ts +97 -66
- package/shared/patterns/linkable.d.ts +106 -117
- package/shared/patterns/localized.d.ts +197 -135
- package/shared/patterns/trapped-focus.d.ts +95 -64
- package/shared/picker-field/mixins/calendar-picker.d.ts +251 -188
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +271 -208
- package/shared/picker-field/mixins/calendar-segments/calendarGrid.d.ts +3 -3
- package/shared/picker-field/mixins/calendar-segments/monthPickerGrid.d.ts +2 -2
- package/shared/picker-field/mixins/calendar-segments/segment.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/columns.d.ts +2 -2
- package/shared/picker-field/mixins/inline-time-picker/index.d.ts +1 -0
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +95 -64
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.template.d.ts +3 -3
- package/shared/picker-field/mixins/inline-time-picker/picker-option.d.ts +1 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +277 -1102
- package/shared/picker-field/mixins/single-date-picker.d.ts +274 -1953
- package/shared/picker-field/mixins/single-value-picker.d.ts +236 -173
- package/shared/picker-field/mixins/time-selection-picker.d.ts +257 -1046
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +486 -360
- package/shared/picker-field/picker-field.d.ts +735 -514
- package/shared/picker-field/picker-field.template.d.ts +2 -2
- package/shared/templating/attribute-binding-behaviour.d.ts +1 -1
- package/shared/templating/render-in-light-dom.d.ts +2 -2
- package/shared/utils/closest-of-type.d.ts +2 -0
- package/shared/utils/direct-children-of-type.d.ts +2 -0
- package/shared/utils/dom-traversal-types.d.ts +3 -0
- package/shared/utils/first-of-type.d.ts +2 -0
- package/shared/utils/last-of-type.d.ts +2 -0
- package/shared/utils/nested-children-of-type.d.ts +2 -0
- package/shared/utils/next-of-type.d.ts +2 -0
- package/shared/utils/numberConverter.d.ts +1 -1
- package/shared/utils/prev-of-type.d.ts +2 -0
- package/shared/utils/promise.d.ts +2 -2
- package/shared/utils/siblings-of-type.d.ts +2 -0
- package/styles/core/all.css +2 -2
- package/styles/core/theme.css +2 -2
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/unbundled/base-color-picker.cjs +2 -2
- package/unbundled/base-color-picker.js +2 -2
- package/unbundled/localized.cjs +1 -0
- package/unbundled/localized.js +1 -0
- package/unbundled/slottable-request.cjs +8 -5
- package/unbundled/slottable-request.js +8 -6
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/vivid.api.json +759 -38
package/lib/radio/radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { SyntheticViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import { VividComponentDefinition } from '../../shared/design-system/defineVividComponent.js';
|
|
3
|
+
import { Connotation } from '../enums.js';
|
|
4
|
+
import { ExtractFromEnum } from '../../shared/utils/enums';
|
|
5
5
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
6
6
|
export type RadioConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
7
7
|
export type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'readOnly' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
@@ -10,32 +10,33 @@ export type RadioOptions = VividComponentDefinition & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const Radio_base: {
|
|
12
12
|
new (...args: any[]): {
|
|
13
|
-
errorText?: string
|
|
13
|
+
errorText?: string;
|
|
14
14
|
errorTextChanged(_: string, newErrorText: string | undefined): void;
|
|
15
|
-
"__#
|
|
16
|
-
"__#
|
|
17
|
-
"__#
|
|
18
|
-
"__#
|
|
19
|
-
label?: string
|
|
15
|
+
"__#private@#blockValidateCalls": boolean;
|
|
16
|
+
"__#private@#originalValidateFn": () => void;
|
|
17
|
+
"__#private@#forceCustomError"(errorMessage: string): void;
|
|
18
|
+
"__#private@#clearCustomErrorAndRevalidate"(): void;
|
|
19
|
+
label?: string;
|
|
20
20
|
errorValidationMessage: string;
|
|
21
21
|
forceErrorDisplay: boolean;
|
|
22
22
|
hasBeenTouched: boolean;
|
|
23
23
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
24
|
-
"__#
|
|
24
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
25
25
|
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
26
26
|
formResetCallback: (() => void) & (() => void);
|
|
27
|
-
validate: (() => void) & ((anchor?: HTMLElement
|
|
28
|
-
proxy: import(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
validate: (() => void) & ((anchor?: HTMLElement) => void);
|
|
28
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
29
|
+
get validity(): ValidityState;
|
|
30
|
+
get form(): HTMLFormElement | null;
|
|
31
|
+
get validationMessage(): string;
|
|
32
|
+
get willValidate(): boolean;
|
|
33
|
+
get labels(): ReadonlyArray<Node>;
|
|
34
34
|
dirtyValue: boolean;
|
|
35
|
-
proxySlot?: HTMLSlotElement
|
|
35
|
+
proxySlot?: HTMLSlotElement;
|
|
36
36
|
value: string;
|
|
37
37
|
valueChanged(_previous: string, _next: string): void;
|
|
38
|
-
currentValue: string;
|
|
38
|
+
get currentValue(): string;
|
|
39
|
+
set currentValue(value: string);
|
|
39
40
|
initialValue: string;
|
|
40
41
|
initialValueChanged(_previous: string, _next: string): void;
|
|
41
42
|
disabled: boolean;
|
|
@@ -44,25 +45,26 @@ declare const Radio_base: {
|
|
|
44
45
|
nameChanged(_previous: string, _next: string): void;
|
|
45
46
|
required: boolean;
|
|
46
47
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
47
|
-
|
|
48
|
+
get elementInternals(): ElementInternals | null;
|
|
48
49
|
proxyEventsToBlock: string[];
|
|
49
50
|
checkValidity(): boolean;
|
|
50
51
|
reportValidity(): boolean;
|
|
51
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
52
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
52
53
|
formDisabledCallback(disabled: boolean): void;
|
|
53
54
|
proxyInitialized: boolean;
|
|
54
55
|
attachProxy(): void;
|
|
55
56
|
detachProxy(): void;
|
|
56
|
-
setFormValue(value:
|
|
57
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
57
58
|
_keypressHandler(e: KeyboardEvent): void;
|
|
58
59
|
stopPropagation(e: Event): void;
|
|
59
|
-
_vividAriaBehaviour: import(
|
|
60
|
-
readonly $fastController: import(
|
|
61
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
60
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin.js').VividAriaBehaviour;
|
|
61
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
62
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
62
63
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
63
64
|
accessKey: string;
|
|
64
65
|
readonly accessKeyLabel: string;
|
|
65
66
|
autocapitalize: string;
|
|
67
|
+
autocorrect: boolean;
|
|
66
68
|
dir: string;
|
|
67
69
|
draggable: boolean;
|
|
68
70
|
hidden: boolean;
|
|
@@ -75,30 +77,39 @@ declare const Radio_base: {
|
|
|
75
77
|
readonly offsetTop: number;
|
|
76
78
|
readonly offsetWidth: number;
|
|
77
79
|
outerText: string;
|
|
80
|
+
popover: string | null;
|
|
78
81
|
spellcheck: boolean;
|
|
79
82
|
title: string;
|
|
80
83
|
translate: boolean;
|
|
84
|
+
writingSuggestions: string;
|
|
81
85
|
attachInternals(): ElementInternals;
|
|
82
86
|
click(): void;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
hidePopover(): void;
|
|
88
|
+
showPopover(): void;
|
|
89
|
+
togglePopover(options?: boolean): boolean;
|
|
90
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
91
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
92
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
93
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
87
94
|
readonly attributes: NamedNodeMap;
|
|
88
|
-
|
|
95
|
+
get classList(): DOMTokenList;
|
|
96
|
+
set classList(value: string);
|
|
89
97
|
className: string;
|
|
90
98
|
readonly clientHeight: number;
|
|
91
99
|
readonly clientLeft: number;
|
|
92
100
|
readonly clientTop: number;
|
|
93
101
|
readonly clientWidth: number;
|
|
102
|
+
readonly currentCSSZoom: number;
|
|
94
103
|
id: string;
|
|
104
|
+
innerHTML: string;
|
|
95
105
|
readonly localName: string;
|
|
96
106
|
readonly namespaceURI: string | null;
|
|
97
107
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
98
108
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
99
109
|
outerHTML: string;
|
|
100
110
|
readonly ownerDocument: Document;
|
|
101
|
-
|
|
111
|
+
get part(): DOMTokenList;
|
|
112
|
+
set part(value: string);
|
|
102
113
|
readonly prefix: string | null;
|
|
103
114
|
readonly scrollHeight: number;
|
|
104
115
|
scrollLeft: number;
|
|
@@ -108,11 +119,12 @@ declare const Radio_base: {
|
|
|
108
119
|
slot: string;
|
|
109
120
|
readonly tagName: string;
|
|
110
121
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
111
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
112
|
-
closest<
|
|
113
|
-
closest<
|
|
114
|
-
closest<
|
|
122
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
123
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
124
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
125
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
115
126
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
127
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
116
128
|
getAttribute(qualifiedName: string): string | null;
|
|
117
129
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
118
130
|
getAttributeNames(): string[];
|
|
@@ -121,43 +133,47 @@ declare const Radio_base: {
|
|
|
121
133
|
getBoundingClientRect(): DOMRect;
|
|
122
134
|
getClientRects(): DOMRectList;
|
|
123
135
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
124
|
-
getElementsByTagName<
|
|
125
|
-
getElementsByTagName<
|
|
126
|
-
getElementsByTagName<
|
|
127
|
-
getElementsByTagName<
|
|
136
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
137
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
138
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
139
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
128
140
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
129
141
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
130
142
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
131
143
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
132
144
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
145
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
133
146
|
hasAttribute(qualifiedName: string): boolean;
|
|
134
147
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
135
148
|
hasAttributes(): boolean;
|
|
136
149
|
hasPointerCapture(pointerId: number): boolean;
|
|
137
150
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
138
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
151
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
139
152
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
140
153
|
matches(selectors: string): boolean;
|
|
141
154
|
releasePointerCapture(pointerId: number): void;
|
|
142
155
|
removeAttribute(qualifiedName: string): void;
|
|
143
156
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
144
157
|
removeAttributeNode(attr: Attr): Attr;
|
|
145
|
-
requestFullscreen(options?: FullscreenOptions
|
|
146
|
-
requestPointerLock(): void
|
|
147
|
-
scroll(options?: ScrollToOptions
|
|
158
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
159
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
160
|
+
scroll(options?: ScrollToOptions): void;
|
|
148
161
|
scroll(x: number, y: number): void;
|
|
149
|
-
scrollBy(options?: ScrollToOptions
|
|
162
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
150
163
|
scrollBy(x: number, y: number): void;
|
|
151
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
152
|
-
scrollTo(options?: ScrollToOptions
|
|
164
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
165
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
153
166
|
scrollTo(x: number, y: number): void;
|
|
154
167
|
setAttribute(qualifiedName: string, value: string): void;
|
|
155
168
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
156
169
|
setAttributeNode(attr: Attr): Attr | null;
|
|
157
170
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
171
|
+
setHTMLUnsafe(html: string): void;
|
|
158
172
|
setPointerCapture(pointerId: number): void;
|
|
159
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
173
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
160
174
|
webkitMatchesSelector(selectors: string): boolean;
|
|
175
|
+
get textContent(): string;
|
|
176
|
+
set textContent(value: string | null);
|
|
161
177
|
readonly baseURI: string;
|
|
162
178
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
163
179
|
readonly firstChild: ChildNode | null;
|
|
@@ -170,22 +186,21 @@ declare const Radio_base: {
|
|
|
170
186
|
readonly parentElement: HTMLElement | null;
|
|
171
187
|
readonly parentNode: ParentNode | null;
|
|
172
188
|
readonly previousSibling: ChildNode | null;
|
|
173
|
-
textContent: string | null;
|
|
174
189
|
appendChild<T extends Node>(node: T): T;
|
|
175
|
-
cloneNode(
|
|
190
|
+
cloneNode(subtree?: boolean): Node;
|
|
176
191
|
compareDocumentPosition(other: Node): number;
|
|
177
192
|
contains(other: Node | null): boolean;
|
|
178
|
-
getRootNode(options?: GetRootNodeOptions
|
|
193
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
179
194
|
hasChildNodes(): boolean;
|
|
180
|
-
insertBefore<
|
|
195
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
181
196
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
182
197
|
isEqualNode(otherNode: Node | null): boolean;
|
|
183
198
|
isSameNode(otherNode: Node | null): boolean;
|
|
184
199
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
185
200
|
lookupPrefix(namespace: string | null): string | null;
|
|
186
201
|
normalize(): void;
|
|
187
|
-
removeChild<
|
|
188
|
-
replaceChild<
|
|
202
|
+
removeChild<T extends Node>(child: T): T;
|
|
203
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
189
204
|
readonly ELEMENT_NODE: 1;
|
|
190
205
|
readonly ATTRIBUTE_NODE: 2;
|
|
191
206
|
readonly TEXT_NODE: 3;
|
|
@@ -205,35 +220,49 @@ declare const Radio_base: {
|
|
|
205
220
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
206
221
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
207
222
|
dispatchEvent(event: Event): boolean;
|
|
223
|
+
ariaActiveDescendantElement: Element | null;
|
|
208
224
|
ariaAtomic: string | null;
|
|
209
225
|
ariaAutoComplete: string | null;
|
|
226
|
+
ariaBrailleLabel: string | null;
|
|
227
|
+
ariaBrailleRoleDescription: string | null;
|
|
210
228
|
ariaBusy: string | null;
|
|
211
229
|
ariaChecked: string | null;
|
|
212
230
|
ariaColCount: string | null;
|
|
213
231
|
ariaColIndex: string | null;
|
|
232
|
+
ariaColIndexText: string | null;
|
|
214
233
|
ariaColSpan: string | null;
|
|
234
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
215
235
|
ariaCurrent: string | null;
|
|
236
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
237
|
+
ariaDescription: string | null;
|
|
238
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
216
239
|
ariaDisabled: string | null;
|
|
240
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
217
241
|
ariaExpanded: string | null;
|
|
242
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
218
243
|
ariaHasPopup: string | null;
|
|
219
244
|
ariaHidden: string | null;
|
|
220
245
|
ariaInvalid: string | null;
|
|
221
246
|
ariaKeyShortcuts: string | null;
|
|
222
247
|
ariaLabel: string | null;
|
|
248
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
223
249
|
ariaLevel: string | null;
|
|
224
250
|
ariaLive: string | null;
|
|
225
251
|
ariaModal: string | null;
|
|
226
252
|
ariaMultiLine: string | null;
|
|
227
253
|
ariaMultiSelectable: string | null;
|
|
228
254
|
ariaOrientation: string | null;
|
|
255
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
229
256
|
ariaPlaceholder: string | null;
|
|
230
257
|
ariaPosInSet: string | null;
|
|
231
258
|
ariaPressed: string | null;
|
|
232
259
|
ariaReadOnly: string | null;
|
|
260
|
+
ariaRelevant: string | null;
|
|
233
261
|
ariaRequired: string | null;
|
|
234
262
|
ariaRoleDescription: string | null;
|
|
235
263
|
ariaRowCount: string | null;
|
|
236
264
|
ariaRowIndex: string | null;
|
|
265
|
+
ariaRowIndexText: string | null;
|
|
237
266
|
ariaRowSpan: string | null;
|
|
238
267
|
ariaSelected: string | null;
|
|
239
268
|
ariaSetSize: string | null;
|
|
@@ -243,34 +272,35 @@ declare const Radio_base: {
|
|
|
243
272
|
ariaValueNow: string | null;
|
|
244
273
|
ariaValueText: string | null;
|
|
245
274
|
role: string | null;
|
|
246
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
247
|
-
getAnimations(options?: GetAnimationsOptions
|
|
248
|
-
after(...nodes: (
|
|
249
|
-
before(...nodes: (
|
|
275
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
276
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
277
|
+
after(...nodes: (Node | string)[]): void;
|
|
278
|
+
before(...nodes: (Node | string)[]): void;
|
|
250
279
|
remove(): void;
|
|
251
|
-
replaceWith(...nodes: (
|
|
252
|
-
innerHTML: string;
|
|
280
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
253
281
|
readonly nextElementSibling: Element | null;
|
|
254
282
|
readonly previousElementSibling: Element | null;
|
|
255
283
|
readonly childElementCount: number;
|
|
256
284
|
readonly children: HTMLCollection;
|
|
257
285
|
readonly firstElementChild: Element | null;
|
|
258
286
|
readonly lastElementChild: Element | null;
|
|
259
|
-
append(...nodes: (
|
|
260
|
-
prepend(...nodes: (
|
|
261
|
-
querySelector<
|
|
262
|
-
querySelector<
|
|
263
|
-
querySelector<
|
|
264
|
-
querySelector<
|
|
265
|
-
querySelector<
|
|
266
|
-
querySelectorAll<
|
|
267
|
-
querySelectorAll<
|
|
268
|
-
querySelectorAll<
|
|
269
|
-
querySelectorAll<
|
|
270
|
-
querySelectorAll<
|
|
271
|
-
replaceChildren(...nodes: (
|
|
287
|
+
append(...nodes: (Node | string)[]): void;
|
|
288
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
289
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
290
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
291
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
292
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
293
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
294
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
295
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
296
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
297
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
298
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
299
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
272
300
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
273
|
-
readonly
|
|
301
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
302
|
+
get style(): CSSStyleDeclaration;
|
|
303
|
+
set style(cssText: string);
|
|
274
304
|
contentEditable: string;
|
|
275
305
|
enterKeyHint: string;
|
|
276
306
|
inputMode: string;
|
|
@@ -280,16 +310,20 @@ declare const Radio_base: {
|
|
|
280
310
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
281
311
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
282
312
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
283
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
313
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
314
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
315
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
285
317
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
286
318
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
319
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
320
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
321
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
322
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
291
323
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
-
|
|
324
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
326
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
327
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
294
328
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
329
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -336,12 +370,14 @@ declare const Radio_base: {
|
|
|
336
370
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
337
371
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
338
372
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
373
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
374
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
340
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
375
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
341
376
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
377
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
343
378
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
344
379
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
380
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
381
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
346
382
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
383
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -353,7 +389,7 @@ declare const Radio_base: {
|
|
|
353
389
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
354
390
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
391
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
356
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
392
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
357
393
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
358
394
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
359
395
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -371,14 +407,10 @@ declare const Radio_base: {
|
|
|
371
407
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
372
408
|
autofocus: boolean;
|
|
373
409
|
readonly dataset: DOMStringMap;
|
|
374
|
-
nonce?: string
|
|
410
|
+
nonce?: string;
|
|
375
411
|
tabIndex: number;
|
|
376
412
|
blur(): void;
|
|
377
|
-
focus(options?: FocusOptions
|
|
378
|
-
ariaColIndexText: string | null;
|
|
379
|
-
ariaDescription: string | null;
|
|
380
|
-
ariaRowIndexText: string | null;
|
|
381
|
-
ariaRelevant: string | null;
|
|
413
|
+
focus(options?: FocusOptions): void;
|
|
382
414
|
roleChanged(prev: string | null, next: string | null): void;
|
|
383
415
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
384
416
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -421,7 +453,7 @@ declare const Radio_base: {
|
|
|
421
453
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
422
454
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
423
455
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
424
|
-
"__#
|
|
456
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
425
457
|
newPropertyName: string;
|
|
426
458
|
deprecatedPropertyName: string;
|
|
427
459
|
fromDeprecated: (v: any) => any;
|
|
@@ -430,26 +462,27 @@ declare const Radio_base: {
|
|
|
430
462
|
};
|
|
431
463
|
} & {
|
|
432
464
|
new (...args: any[]): {
|
|
433
|
-
label?: string
|
|
465
|
+
label?: string;
|
|
434
466
|
errorValidationMessage: string;
|
|
435
467
|
forceErrorDisplay: boolean;
|
|
436
468
|
hasBeenTouched: boolean;
|
|
437
469
|
connectedCallback(): void;
|
|
438
|
-
"__#
|
|
470
|
+
"__#private@#handleInvalidEvent": () => void;
|
|
439
471
|
disconnectedCallback(): void;
|
|
440
472
|
formResetCallback(): void;
|
|
441
473
|
validate(): void;
|
|
442
|
-
proxy: import(
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
474
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
475
|
+
get validity(): ValidityState;
|
|
476
|
+
get form(): HTMLFormElement | null;
|
|
477
|
+
get validationMessage(): string;
|
|
478
|
+
get willValidate(): boolean;
|
|
479
|
+
get labels(): ReadonlyArray<Node>;
|
|
448
480
|
dirtyValue: boolean;
|
|
449
|
-
proxySlot?: HTMLSlotElement
|
|
481
|
+
proxySlot?: HTMLSlotElement;
|
|
450
482
|
value: string;
|
|
451
483
|
valueChanged(_previous: string, _next: string): void;
|
|
452
|
-
currentValue: string;
|
|
484
|
+
get currentValue(): string;
|
|
485
|
+
set currentValue(value: string);
|
|
453
486
|
initialValue: string;
|
|
454
487
|
initialValueChanged(_previous: string, _next: string): void;
|
|
455
488
|
disabled: boolean;
|
|
@@ -458,25 +491,26 @@ declare const Radio_base: {
|
|
|
458
491
|
nameChanged(_previous: string, _next: string): void;
|
|
459
492
|
required: boolean;
|
|
460
493
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
461
|
-
|
|
494
|
+
get elementInternals(): ElementInternals | null;
|
|
462
495
|
proxyEventsToBlock: string[];
|
|
463
496
|
checkValidity(): boolean;
|
|
464
497
|
reportValidity(): boolean;
|
|
465
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
498
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
466
499
|
formDisabledCallback(disabled: boolean): void;
|
|
467
500
|
proxyInitialized: boolean;
|
|
468
501
|
attachProxy(): void;
|
|
469
502
|
detachProxy(): void;
|
|
470
|
-
setFormValue(value:
|
|
503
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
471
504
|
_keypressHandler(e: KeyboardEvent): void;
|
|
472
505
|
stopPropagation(e: Event): void;
|
|
473
|
-
_vividAriaBehaviour: import(
|
|
474
|
-
readonly $fastController: import(
|
|
475
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
506
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin.js').VividAriaBehaviour;
|
|
507
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
508
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
476
509
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
477
510
|
accessKey: string;
|
|
478
511
|
readonly accessKeyLabel: string;
|
|
479
512
|
autocapitalize: string;
|
|
513
|
+
autocorrect: boolean;
|
|
480
514
|
dir: string;
|
|
481
515
|
draggable: boolean;
|
|
482
516
|
hidden: boolean;
|
|
@@ -489,30 +523,39 @@ declare const Radio_base: {
|
|
|
489
523
|
readonly offsetTop: number;
|
|
490
524
|
readonly offsetWidth: number;
|
|
491
525
|
outerText: string;
|
|
526
|
+
popover: string | null;
|
|
492
527
|
spellcheck: boolean;
|
|
493
528
|
title: string;
|
|
494
529
|
translate: boolean;
|
|
530
|
+
writingSuggestions: string;
|
|
495
531
|
attachInternals(): ElementInternals;
|
|
496
532
|
click(): void;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
533
|
+
hidePopover(): void;
|
|
534
|
+
showPopover(): void;
|
|
535
|
+
togglePopover(options?: boolean): boolean;
|
|
536
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
537
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
538
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
539
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
501
540
|
readonly attributes: NamedNodeMap;
|
|
502
|
-
|
|
541
|
+
get classList(): DOMTokenList;
|
|
542
|
+
set classList(value: string);
|
|
503
543
|
className: string;
|
|
504
544
|
readonly clientHeight: number;
|
|
505
545
|
readonly clientLeft: number;
|
|
506
546
|
readonly clientTop: number;
|
|
507
547
|
readonly clientWidth: number;
|
|
548
|
+
readonly currentCSSZoom: number;
|
|
508
549
|
id: string;
|
|
550
|
+
innerHTML: string;
|
|
509
551
|
readonly localName: string;
|
|
510
552
|
readonly namespaceURI: string | null;
|
|
511
553
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
512
554
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
513
555
|
outerHTML: string;
|
|
514
556
|
readonly ownerDocument: Document;
|
|
515
|
-
|
|
557
|
+
get part(): DOMTokenList;
|
|
558
|
+
set part(value: string);
|
|
516
559
|
readonly prefix: string | null;
|
|
517
560
|
readonly scrollHeight: number;
|
|
518
561
|
scrollLeft: number;
|
|
@@ -522,11 +565,12 @@ declare const Radio_base: {
|
|
|
522
565
|
slot: string;
|
|
523
566
|
readonly tagName: string;
|
|
524
567
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
525
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
526
|
-
closest<
|
|
527
|
-
closest<
|
|
528
|
-
closest<
|
|
529
|
-
closest<
|
|
568
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
569
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
570
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
571
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
572
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
573
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
530
574
|
getAttribute(qualifiedName: string): string | null;
|
|
531
575
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
532
576
|
getAttributeNames(): string[];
|
|
@@ -535,43 +579,47 @@ declare const Radio_base: {
|
|
|
535
579
|
getBoundingClientRect(): DOMRect;
|
|
536
580
|
getClientRects(): DOMRectList;
|
|
537
581
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
538
|
-
getElementsByTagName<
|
|
539
|
-
getElementsByTagName<
|
|
540
|
-
getElementsByTagName<
|
|
541
|
-
getElementsByTagName<
|
|
582
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
583
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
584
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
585
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
542
586
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
543
587
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
544
588
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
545
589
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
546
590
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
591
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
547
592
|
hasAttribute(qualifiedName: string): boolean;
|
|
548
593
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
549
594
|
hasAttributes(): boolean;
|
|
550
595
|
hasPointerCapture(pointerId: number): boolean;
|
|
551
596
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
552
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
597
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
553
598
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
554
599
|
matches(selectors: string): boolean;
|
|
555
600
|
releasePointerCapture(pointerId: number): void;
|
|
556
601
|
removeAttribute(qualifiedName: string): void;
|
|
557
602
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
558
603
|
removeAttributeNode(attr: Attr): Attr;
|
|
559
|
-
requestFullscreen(options?: FullscreenOptions
|
|
560
|
-
requestPointerLock(): void
|
|
561
|
-
scroll(options?: ScrollToOptions
|
|
604
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
605
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
606
|
+
scroll(options?: ScrollToOptions): void;
|
|
562
607
|
scroll(x: number, y: number): void;
|
|
563
|
-
scrollBy(options?: ScrollToOptions
|
|
608
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
564
609
|
scrollBy(x: number, y: number): void;
|
|
565
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
566
|
-
scrollTo(options?: ScrollToOptions
|
|
610
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
611
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
567
612
|
scrollTo(x: number, y: number): void;
|
|
568
613
|
setAttribute(qualifiedName: string, value: string): void;
|
|
569
614
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
570
615
|
setAttributeNode(attr: Attr): Attr | null;
|
|
571
616
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
617
|
+
setHTMLUnsafe(html: string): void;
|
|
572
618
|
setPointerCapture(pointerId: number): void;
|
|
573
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
619
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
574
620
|
webkitMatchesSelector(selectors: string): boolean;
|
|
621
|
+
get textContent(): string;
|
|
622
|
+
set textContent(value: string | null);
|
|
575
623
|
readonly baseURI: string;
|
|
576
624
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
577
625
|
readonly firstChild: ChildNode | null;
|
|
@@ -584,22 +632,21 @@ declare const Radio_base: {
|
|
|
584
632
|
readonly parentElement: HTMLElement | null;
|
|
585
633
|
readonly parentNode: ParentNode | null;
|
|
586
634
|
readonly previousSibling: ChildNode | null;
|
|
587
|
-
textContent: string | null;
|
|
588
635
|
appendChild<T extends Node>(node: T): T;
|
|
589
|
-
cloneNode(
|
|
636
|
+
cloneNode(subtree?: boolean): Node;
|
|
590
637
|
compareDocumentPosition(other: Node): number;
|
|
591
638
|
contains(other: Node | null): boolean;
|
|
592
|
-
getRootNode(options?: GetRootNodeOptions
|
|
639
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
593
640
|
hasChildNodes(): boolean;
|
|
594
|
-
insertBefore<
|
|
641
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
595
642
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
596
643
|
isEqualNode(otherNode: Node | null): boolean;
|
|
597
644
|
isSameNode(otherNode: Node | null): boolean;
|
|
598
645
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
599
646
|
lookupPrefix(namespace: string | null): string | null;
|
|
600
647
|
normalize(): void;
|
|
601
|
-
removeChild<
|
|
602
|
-
replaceChild<
|
|
648
|
+
removeChild<T extends Node>(child: T): T;
|
|
649
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
603
650
|
readonly ELEMENT_NODE: 1;
|
|
604
651
|
readonly ATTRIBUTE_NODE: 2;
|
|
605
652
|
readonly TEXT_NODE: 3;
|
|
@@ -619,35 +666,49 @@ declare const Radio_base: {
|
|
|
619
666
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
620
667
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
621
668
|
dispatchEvent(event: Event): boolean;
|
|
669
|
+
ariaActiveDescendantElement: Element | null;
|
|
622
670
|
ariaAtomic: string | null;
|
|
623
671
|
ariaAutoComplete: string | null;
|
|
672
|
+
ariaBrailleLabel: string | null;
|
|
673
|
+
ariaBrailleRoleDescription: string | null;
|
|
624
674
|
ariaBusy: string | null;
|
|
625
675
|
ariaChecked: string | null;
|
|
626
676
|
ariaColCount: string | null;
|
|
627
677
|
ariaColIndex: string | null;
|
|
678
|
+
ariaColIndexText: string | null;
|
|
628
679
|
ariaColSpan: string | null;
|
|
680
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
629
681
|
ariaCurrent: string | null;
|
|
682
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
683
|
+
ariaDescription: string | null;
|
|
684
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
630
685
|
ariaDisabled: string | null;
|
|
686
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
631
687
|
ariaExpanded: string | null;
|
|
688
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
632
689
|
ariaHasPopup: string | null;
|
|
633
690
|
ariaHidden: string | null;
|
|
634
691
|
ariaInvalid: string | null;
|
|
635
692
|
ariaKeyShortcuts: string | null;
|
|
636
693
|
ariaLabel: string | null;
|
|
694
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
637
695
|
ariaLevel: string | null;
|
|
638
696
|
ariaLive: string | null;
|
|
639
697
|
ariaModal: string | null;
|
|
640
698
|
ariaMultiLine: string | null;
|
|
641
699
|
ariaMultiSelectable: string | null;
|
|
642
700
|
ariaOrientation: string | null;
|
|
701
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
643
702
|
ariaPlaceholder: string | null;
|
|
644
703
|
ariaPosInSet: string | null;
|
|
645
704
|
ariaPressed: string | null;
|
|
646
705
|
ariaReadOnly: string | null;
|
|
706
|
+
ariaRelevant: string | null;
|
|
647
707
|
ariaRequired: string | null;
|
|
648
708
|
ariaRoleDescription: string | null;
|
|
649
709
|
ariaRowCount: string | null;
|
|
650
710
|
ariaRowIndex: string | null;
|
|
711
|
+
ariaRowIndexText: string | null;
|
|
651
712
|
ariaRowSpan: string | null;
|
|
652
713
|
ariaSelected: string | null;
|
|
653
714
|
ariaSetSize: string | null;
|
|
@@ -657,34 +718,35 @@ declare const Radio_base: {
|
|
|
657
718
|
ariaValueNow: string | null;
|
|
658
719
|
ariaValueText: string | null;
|
|
659
720
|
role: string | null;
|
|
660
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
661
|
-
getAnimations(options?: GetAnimationsOptions
|
|
662
|
-
after(...nodes: (
|
|
663
|
-
before(...nodes: (
|
|
721
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
722
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
723
|
+
after(...nodes: (Node | string)[]): void;
|
|
724
|
+
before(...nodes: (Node | string)[]): void;
|
|
664
725
|
remove(): void;
|
|
665
|
-
replaceWith(...nodes: (
|
|
666
|
-
innerHTML: string;
|
|
726
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
667
727
|
readonly nextElementSibling: Element | null;
|
|
668
728
|
readonly previousElementSibling: Element | null;
|
|
669
729
|
readonly childElementCount: number;
|
|
670
730
|
readonly children: HTMLCollection;
|
|
671
731
|
readonly firstElementChild: Element | null;
|
|
672
732
|
readonly lastElementChild: Element | null;
|
|
673
|
-
append(...nodes: (
|
|
674
|
-
prepend(...nodes: (
|
|
675
|
-
querySelector<
|
|
676
|
-
querySelector<
|
|
677
|
-
querySelector<
|
|
678
|
-
querySelector<
|
|
679
|
-
querySelector<
|
|
680
|
-
querySelectorAll<
|
|
681
|
-
querySelectorAll<
|
|
682
|
-
querySelectorAll<
|
|
683
|
-
querySelectorAll<
|
|
684
|
-
querySelectorAll<
|
|
685
|
-
replaceChildren(...nodes: (
|
|
733
|
+
append(...nodes: (Node | string)[]): void;
|
|
734
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
735
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
736
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
737
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
738
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
739
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
740
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
741
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
742
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
743
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
744
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
745
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
686
746
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
687
|
-
readonly
|
|
747
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
748
|
+
get style(): CSSStyleDeclaration;
|
|
749
|
+
set style(cssText: string);
|
|
688
750
|
contentEditable: string;
|
|
689
751
|
enterKeyHint: string;
|
|
690
752
|
inputMode: string;
|
|
@@ -694,16 +756,20 @@ declare const Radio_base: {
|
|
|
694
756
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
695
757
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
696
758
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
697
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
759
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
698
760
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
761
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
762
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
699
763
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
700
764
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
701
765
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
702
766
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
703
767
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
704
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
768
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
705
769
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
|
-
|
|
770
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
771
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
772
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
707
773
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
708
774
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
709
775
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -750,12 +816,14 @@ declare const Radio_base: {
|
|
|
750
816
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
751
817
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
752
818
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
819
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
753
820
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
754
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
821
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
755
822
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
756
823
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
757
824
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
758
825
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
826
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
759
827
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
760
828
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
761
829
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -767,7 +835,7 @@ declare const Radio_base: {
|
|
|
767
835
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
768
836
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
769
837
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
770
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
838
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
771
839
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
772
840
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
773
841
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -785,14 +853,10 @@ declare const Radio_base: {
|
|
|
785
853
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
786
854
|
autofocus: boolean;
|
|
787
855
|
readonly dataset: DOMStringMap;
|
|
788
|
-
nonce?: string
|
|
856
|
+
nonce?: string;
|
|
789
857
|
tabIndex: number;
|
|
790
858
|
blur(): void;
|
|
791
|
-
focus(options?: FocusOptions
|
|
792
|
-
ariaColIndexText: string | null;
|
|
793
|
-
ariaDescription: string | null;
|
|
794
|
-
ariaRowIndexText: string | null;
|
|
795
|
-
ariaRelevant: string | null;
|
|
859
|
+
focus(options?: FocusOptions): void;
|
|
796
860
|
roleChanged(prev: string | null, next: string | null): void;
|
|
797
861
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
798
862
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -835,7 +899,7 @@ declare const Radio_base: {
|
|
|
835
899
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
836
900
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
837
901
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
838
|
-
"__#
|
|
902
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
839
903
|
newPropertyName: string;
|
|
840
904
|
deprecatedPropertyName: string;
|
|
841
905
|
fromDeprecated: (v: any) => any;
|
|
@@ -849,22 +913,25 @@ declare const Radio_base: {
|
|
|
849
913
|
defaultCheckedChanged(): void;
|
|
850
914
|
checked: boolean;
|
|
851
915
|
checkedChanged(prev: boolean | undefined, _next: boolean): void;
|
|
852
|
-
checkedAttribute: boolean;
|
|
853
|
-
|
|
916
|
+
get checkedAttribute(): boolean;
|
|
917
|
+
set checkedAttribute(value: boolean);
|
|
918
|
+
get currentChecked(): boolean;
|
|
919
|
+
set currentChecked(value: boolean);
|
|
854
920
|
updateForm(): void;
|
|
855
921
|
connectedCallback(): void;
|
|
856
922
|
formResetCallback(): void;
|
|
857
|
-
proxy: import(
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
923
|
+
proxy: import('../../shared/foundation/form-associated/form-associated').ProxyElement;
|
|
924
|
+
get validity(): ValidityState;
|
|
925
|
+
get form(): HTMLFormElement | null;
|
|
926
|
+
get validationMessage(): string;
|
|
927
|
+
get willValidate(): boolean;
|
|
928
|
+
get labels(): ReadonlyArray<Node>;
|
|
863
929
|
dirtyValue: boolean;
|
|
864
|
-
proxySlot?: HTMLSlotElement
|
|
930
|
+
proxySlot?: HTMLSlotElement;
|
|
865
931
|
value: string;
|
|
866
932
|
valueChanged(_previous: string, _next: string): void;
|
|
867
|
-
currentValue: string;
|
|
933
|
+
get currentValue(): string;
|
|
934
|
+
set currentValue(value: string);
|
|
868
935
|
initialValue: string;
|
|
869
936
|
initialValueChanged(_previous: string, _next: string): void;
|
|
870
937
|
disabled: boolean;
|
|
@@ -873,27 +940,28 @@ declare const Radio_base: {
|
|
|
873
940
|
nameChanged(_previous: string, _next: string): void;
|
|
874
941
|
required: boolean;
|
|
875
942
|
requiredChanged(_previous: boolean, _next: boolean): void;
|
|
876
|
-
|
|
943
|
+
get elementInternals(): ElementInternals | null;
|
|
877
944
|
proxyEventsToBlock: string[];
|
|
878
945
|
disconnectedCallback: (() => void) & (() => void);
|
|
879
946
|
checkValidity(): boolean;
|
|
880
947
|
reportValidity(): boolean;
|
|
881
|
-
setValidity(flags: ValidityStateFlags, message?: string
|
|
948
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
882
949
|
formDisabledCallback(disabled: boolean): void;
|
|
883
950
|
proxyInitialized: boolean;
|
|
884
951
|
attachProxy(): void;
|
|
885
952
|
detachProxy(): void;
|
|
886
|
-
validate(anchor?: HTMLElement
|
|
887
|
-
setFormValue(value:
|
|
953
|
+
validate(anchor?: HTMLElement): void;
|
|
954
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
888
955
|
_keypressHandler(e: KeyboardEvent): void;
|
|
889
956
|
stopPropagation(e: Event): void;
|
|
890
|
-
_vividAriaBehaviour: import(
|
|
891
|
-
readonly $fastController: import(
|
|
892
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
957
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin.js').VividAriaBehaviour;
|
|
958
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
959
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
893
960
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
894
961
|
accessKey: string;
|
|
895
962
|
readonly accessKeyLabel: string;
|
|
896
963
|
autocapitalize: string;
|
|
964
|
+
autocorrect: boolean;
|
|
897
965
|
dir: string;
|
|
898
966
|
draggable: boolean;
|
|
899
967
|
hidden: boolean;
|
|
@@ -906,30 +974,39 @@ declare const Radio_base: {
|
|
|
906
974
|
readonly offsetTop: number;
|
|
907
975
|
readonly offsetWidth: number;
|
|
908
976
|
outerText: string;
|
|
977
|
+
popover: string | null;
|
|
909
978
|
spellcheck: boolean;
|
|
910
979
|
title: string;
|
|
911
980
|
translate: boolean;
|
|
981
|
+
writingSuggestions: string;
|
|
912
982
|
attachInternals(): ElementInternals;
|
|
913
983
|
click(): void;
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
984
|
+
hidePopover(): void;
|
|
985
|
+
showPopover(): void;
|
|
986
|
+
togglePopover(options?: boolean): boolean;
|
|
987
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
988
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
989
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
990
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
918
991
|
readonly attributes: NamedNodeMap;
|
|
919
|
-
|
|
992
|
+
get classList(): DOMTokenList;
|
|
993
|
+
set classList(value: string);
|
|
920
994
|
className: string;
|
|
921
995
|
readonly clientHeight: number;
|
|
922
996
|
readonly clientLeft: number;
|
|
923
997
|
readonly clientTop: number;
|
|
924
998
|
readonly clientWidth: number;
|
|
999
|
+
readonly currentCSSZoom: number;
|
|
925
1000
|
id: string;
|
|
1001
|
+
innerHTML: string;
|
|
926
1002
|
readonly localName: string;
|
|
927
1003
|
readonly namespaceURI: string | null;
|
|
928
1004
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
929
1005
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
930
1006
|
outerHTML: string;
|
|
931
1007
|
readonly ownerDocument: Document;
|
|
932
|
-
|
|
1008
|
+
get part(): DOMTokenList;
|
|
1009
|
+
set part(value: string);
|
|
933
1010
|
readonly prefix: string | null;
|
|
934
1011
|
readonly scrollHeight: number;
|
|
935
1012
|
scrollLeft: number;
|
|
@@ -939,11 +1016,12 @@ declare const Radio_base: {
|
|
|
939
1016
|
slot: string;
|
|
940
1017
|
readonly tagName: string;
|
|
941
1018
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
942
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
943
|
-
closest<
|
|
944
|
-
closest<
|
|
945
|
-
closest<
|
|
946
|
-
closest<
|
|
1019
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1020
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1021
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1022
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1023
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
1024
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
947
1025
|
getAttribute(qualifiedName: string): string | null;
|
|
948
1026
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
949
1027
|
getAttributeNames(): string[];
|
|
@@ -952,43 +1030,47 @@ declare const Radio_base: {
|
|
|
952
1030
|
getBoundingClientRect(): DOMRect;
|
|
953
1031
|
getClientRects(): DOMRectList;
|
|
954
1032
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
955
|
-
getElementsByTagName<
|
|
956
|
-
getElementsByTagName<
|
|
957
|
-
getElementsByTagName<
|
|
958
|
-
getElementsByTagName<
|
|
1033
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1034
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1035
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1036
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
959
1037
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
960
1038
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
961
1039
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
962
1040
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
963
1041
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1042
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
964
1043
|
hasAttribute(qualifiedName: string): boolean;
|
|
965
1044
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
966
1045
|
hasAttributes(): boolean;
|
|
967
1046
|
hasPointerCapture(pointerId: number): boolean;
|
|
968
1047
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
969
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
1048
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
970
1049
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
971
1050
|
matches(selectors: string): boolean;
|
|
972
1051
|
releasePointerCapture(pointerId: number): void;
|
|
973
1052
|
removeAttribute(qualifiedName: string): void;
|
|
974
1053
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
975
1054
|
removeAttributeNode(attr: Attr): Attr;
|
|
976
|
-
requestFullscreen(options?: FullscreenOptions
|
|
977
|
-
requestPointerLock(): void
|
|
978
|
-
scroll(options?: ScrollToOptions
|
|
1055
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1056
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1057
|
+
scroll(options?: ScrollToOptions): void;
|
|
979
1058
|
scroll(x: number, y: number): void;
|
|
980
|
-
scrollBy(options?: ScrollToOptions
|
|
1059
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
981
1060
|
scrollBy(x: number, y: number): void;
|
|
982
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
983
|
-
scrollTo(options?: ScrollToOptions
|
|
1061
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1062
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
984
1063
|
scrollTo(x: number, y: number): void;
|
|
985
1064
|
setAttribute(qualifiedName: string, value: string): void;
|
|
986
1065
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
987
1066
|
setAttributeNode(attr: Attr): Attr | null;
|
|
988
1067
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1068
|
+
setHTMLUnsafe(html: string): void;
|
|
989
1069
|
setPointerCapture(pointerId: number): void;
|
|
990
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
1070
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
991
1071
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1072
|
+
get textContent(): string;
|
|
1073
|
+
set textContent(value: string | null);
|
|
992
1074
|
readonly baseURI: string;
|
|
993
1075
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
994
1076
|
readonly firstChild: ChildNode | null;
|
|
@@ -1001,22 +1083,21 @@ declare const Radio_base: {
|
|
|
1001
1083
|
readonly parentElement: HTMLElement | null;
|
|
1002
1084
|
readonly parentNode: ParentNode | null;
|
|
1003
1085
|
readonly previousSibling: ChildNode | null;
|
|
1004
|
-
textContent: string | null;
|
|
1005
1086
|
appendChild<T extends Node>(node: T): T;
|
|
1006
|
-
cloneNode(
|
|
1087
|
+
cloneNode(subtree?: boolean): Node;
|
|
1007
1088
|
compareDocumentPosition(other: Node): number;
|
|
1008
1089
|
contains(other: Node | null): boolean;
|
|
1009
|
-
getRootNode(options?: GetRootNodeOptions
|
|
1090
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
1010
1091
|
hasChildNodes(): boolean;
|
|
1011
|
-
insertBefore<
|
|
1092
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
1012
1093
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
1013
1094
|
isEqualNode(otherNode: Node | null): boolean;
|
|
1014
1095
|
isSameNode(otherNode: Node | null): boolean;
|
|
1015
1096
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
1016
1097
|
lookupPrefix(namespace: string | null): string | null;
|
|
1017
1098
|
normalize(): void;
|
|
1018
|
-
removeChild<
|
|
1019
|
-
replaceChild<
|
|
1099
|
+
removeChild<T extends Node>(child: T): T;
|
|
1100
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
1020
1101
|
readonly ELEMENT_NODE: 1;
|
|
1021
1102
|
readonly ATTRIBUTE_NODE: 2;
|
|
1022
1103
|
readonly TEXT_NODE: 3;
|
|
@@ -1036,35 +1117,49 @@ declare const Radio_base: {
|
|
|
1036
1117
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
1037
1118
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
1038
1119
|
dispatchEvent(event: Event): boolean;
|
|
1120
|
+
ariaActiveDescendantElement: Element | null;
|
|
1039
1121
|
ariaAtomic: string | null;
|
|
1040
1122
|
ariaAutoComplete: string | null;
|
|
1123
|
+
ariaBrailleLabel: string | null;
|
|
1124
|
+
ariaBrailleRoleDescription: string | null;
|
|
1041
1125
|
ariaBusy: string | null;
|
|
1042
1126
|
ariaChecked: string | null;
|
|
1043
1127
|
ariaColCount: string | null;
|
|
1044
1128
|
ariaColIndex: string | null;
|
|
1129
|
+
ariaColIndexText: string | null;
|
|
1045
1130
|
ariaColSpan: string | null;
|
|
1131
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
1046
1132
|
ariaCurrent: string | null;
|
|
1133
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
1134
|
+
ariaDescription: string | null;
|
|
1135
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
1047
1136
|
ariaDisabled: string | null;
|
|
1137
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
1048
1138
|
ariaExpanded: string | null;
|
|
1139
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
1049
1140
|
ariaHasPopup: string | null;
|
|
1050
1141
|
ariaHidden: string | null;
|
|
1051
1142
|
ariaInvalid: string | null;
|
|
1052
1143
|
ariaKeyShortcuts: string | null;
|
|
1053
1144
|
ariaLabel: string | null;
|
|
1145
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
1054
1146
|
ariaLevel: string | null;
|
|
1055
1147
|
ariaLive: string | null;
|
|
1056
1148
|
ariaModal: string | null;
|
|
1057
1149
|
ariaMultiLine: string | null;
|
|
1058
1150
|
ariaMultiSelectable: string | null;
|
|
1059
1151
|
ariaOrientation: string | null;
|
|
1152
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
1060
1153
|
ariaPlaceholder: string | null;
|
|
1061
1154
|
ariaPosInSet: string | null;
|
|
1062
1155
|
ariaPressed: string | null;
|
|
1063
1156
|
ariaReadOnly: string | null;
|
|
1157
|
+
ariaRelevant: string | null;
|
|
1064
1158
|
ariaRequired: string | null;
|
|
1065
1159
|
ariaRoleDescription: string | null;
|
|
1066
1160
|
ariaRowCount: string | null;
|
|
1067
1161
|
ariaRowIndex: string | null;
|
|
1162
|
+
ariaRowIndexText: string | null;
|
|
1068
1163
|
ariaRowSpan: string | null;
|
|
1069
1164
|
ariaSelected: string | null;
|
|
1070
1165
|
ariaSetSize: string | null;
|
|
@@ -1074,34 +1169,35 @@ declare const Radio_base: {
|
|
|
1074
1169
|
ariaValueNow: string | null;
|
|
1075
1170
|
ariaValueText: string | null;
|
|
1076
1171
|
role: string | null;
|
|
1077
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
1078
|
-
getAnimations(options?: GetAnimationsOptions
|
|
1079
|
-
after(...nodes: (
|
|
1080
|
-
before(...nodes: (
|
|
1172
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
1173
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1174
|
+
after(...nodes: (Node | string)[]): void;
|
|
1175
|
+
before(...nodes: (Node | string)[]): void;
|
|
1081
1176
|
remove(): void;
|
|
1082
|
-
replaceWith(...nodes: (
|
|
1083
|
-
innerHTML: string;
|
|
1177
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
1084
1178
|
readonly nextElementSibling: Element | null;
|
|
1085
1179
|
readonly previousElementSibling: Element | null;
|
|
1086
1180
|
readonly childElementCount: number;
|
|
1087
1181
|
readonly children: HTMLCollection;
|
|
1088
1182
|
readonly firstElementChild: Element | null;
|
|
1089
1183
|
readonly lastElementChild: Element | null;
|
|
1090
|
-
append(...nodes: (
|
|
1091
|
-
prepend(...nodes: (
|
|
1092
|
-
querySelector<
|
|
1093
|
-
querySelector<
|
|
1094
|
-
querySelector<
|
|
1095
|
-
querySelector<
|
|
1096
|
-
querySelector<
|
|
1097
|
-
querySelectorAll<
|
|
1098
|
-
querySelectorAll<
|
|
1099
|
-
querySelectorAll<
|
|
1100
|
-
querySelectorAll<
|
|
1101
|
-
querySelectorAll<
|
|
1102
|
-
replaceChildren(...nodes: (
|
|
1184
|
+
append(...nodes: (Node | string)[]): void;
|
|
1185
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
1186
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1187
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1188
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1189
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1190
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
1191
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1192
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1193
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1194
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1195
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1196
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1103
1197
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1104
|
-
readonly
|
|
1198
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1199
|
+
get style(): CSSStyleDeclaration;
|
|
1200
|
+
set style(cssText: string);
|
|
1105
1201
|
contentEditable: string;
|
|
1106
1202
|
enterKeyHint: string;
|
|
1107
1203
|
inputMode: string;
|
|
@@ -1111,16 +1207,20 @@ declare const Radio_base: {
|
|
|
1111
1207
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1112
1208
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1113
1209
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1114
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
1210
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1115
1211
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1212
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1213
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1116
1214
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1117
1215
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1118
1216
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1119
1217
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1120
1218
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1121
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
1219
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1122
1220
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1123
|
-
|
|
1221
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1222
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1223
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1124
1224
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1125
1225
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1126
1226
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1167,12 +1267,14 @@ declare const Radio_base: {
|
|
|
1167
1267
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1168
1268
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1169
1269
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1270
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1170
1271
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1171
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
1272
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
1172
1273
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1173
1274
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1174
1275
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1175
1276
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1277
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1176
1278
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1177
1279
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1178
1280
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1184,7 +1286,7 @@ declare const Radio_base: {
|
|
|
1184
1286
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1185
1287
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1186
1288
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1187
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1289
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1188
1290
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1189
1291
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1190
1292
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1202,14 +1304,10 @@ declare const Radio_base: {
|
|
|
1202
1304
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1203
1305
|
autofocus: boolean;
|
|
1204
1306
|
readonly dataset: DOMStringMap;
|
|
1205
|
-
nonce?: string
|
|
1307
|
+
nonce?: string;
|
|
1206
1308
|
tabIndex: number;
|
|
1207
1309
|
blur(): void;
|
|
1208
|
-
focus(options?: FocusOptions
|
|
1209
|
-
ariaColIndexText: string | null;
|
|
1210
|
-
ariaDescription: string | null;
|
|
1211
|
-
ariaRowIndexText: string | null;
|
|
1212
|
-
ariaRelevant: string | null;
|
|
1310
|
+
focus(options?: FocusOptions): void;
|
|
1213
1311
|
roleChanged(prev: string | null, next: string | null): void;
|
|
1214
1312
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
1215
1313
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -1252,14 +1350,14 @@ declare const Radio_base: {
|
|
|
1252
1350
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
1253
1351
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
1254
1352
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
1255
|
-
"__#
|
|
1353
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
1256
1354
|
newPropertyName: string;
|
|
1257
1355
|
deprecatedPropertyName: string;
|
|
1258
1356
|
fromDeprecated: (v: any) => any;
|
|
1259
1357
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1260
1358
|
}): void;
|
|
1261
1359
|
};
|
|
1262
|
-
|
|
1360
|
+
get formAssociated(): boolean;
|
|
1263
1361
|
} & typeof VividElement;
|
|
1264
1362
|
export declare class Radio extends Radio_base {
|
|
1265
1363
|
#private;
|