@vonage/vivid 5.19.0 → 5.20.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/accordion/definition.cjs +1 -1
- package/accordion/definition.js +1 -1
- package/accordion/index.cjs +2 -2
- package/accordion/index.js +2 -2
- package/accordion-item/definition.cjs +1 -1
- package/accordion-item/definition.js +1 -1
- package/action-group/definition.cjs +1 -1
- package/action-group/definition.js +1 -1
- package/action-group/index.cjs +2 -2
- package/action-group/index.js +2 -2
- package/alert/index.cjs +5 -5
- package/alert/index.js +8 -8
- package/audio-player/index.cjs +10 -10
- package/audio-player/index.js +28 -28
- package/avatar/index.cjs +7 -7
- package/avatar/index.js +14 -14
- package/banner/index.cjs +5 -5
- package/banner/index.js +9 -9
- package/breadcrumb/index.cjs +2 -2
- package/breadcrumb/index.js +3 -3
- package/breadcrumb-item/index.cjs +5 -5
- package/breadcrumb-item/index.js +1 -1
- package/bundled/affix.cjs +2 -2
- package/bundled/affix.js +11 -11
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +6 -6
- package/bundled/aria-binding-directive.cjs +1 -1
- package/bundled/aria-binding-directive.js +88 -16
- package/bundled/base-color-picker.cjs +3 -3
- package/bundled/base-color-picker.js +5 -5
- package/bundled/base-progress.cjs +1 -1
- package/bundled/base-progress.js +3 -3
- package/bundled/breadcrumb-item.cjs +1 -1
- package/bundled/breadcrumb-item.js +3 -3
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +3 -3
- package/bundled/calendar-event.cjs +1 -1
- package/bundled/calendar-event.js +4 -4
- package/bundled/calendar-picker.template.cjs +23 -24
- package/bundled/calendar-picker.template.js +35 -36
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +8 -8
- package/bundled/children.cjs +1 -1
- package/bundled/children.js +11 -13
- package/bundled/definition.cjs +1 -1
- package/bundled/definition.js +2 -2
- package/bundled/definition10.cjs +3 -3
- package/bundled/definition10.js +5 -5
- package/bundled/definition11.cjs +2 -2
- package/bundled/definition11.js +7 -7
- package/bundled/definition12.cjs +15 -16
- package/bundled/definition12.js +22 -22
- package/bundled/definition13.cjs +3 -3
- package/bundled/definition13.js +5 -5
- package/bundled/definition14.cjs +2 -2
- package/bundled/definition14.js +2 -2
- package/bundled/definition15.cjs +7 -8
- package/bundled/definition15.js +14 -14
- package/bundled/definition16.cjs +3 -3
- package/bundled/definition16.js +8 -8
- package/bundled/definition17.cjs +7 -7
- package/bundled/definition17.js +13 -13
- package/bundled/definition18.cjs +18 -18
- package/bundled/definition18.js +36 -36
- package/bundled/definition19.cjs +2 -2
- package/bundled/definition19.js +1 -1
- package/bundled/definition2.cjs +10 -9
- package/bundled/definition2.js +24 -24
- package/bundled/definition20.cjs +19 -14
- package/bundled/definition20.js +51 -39
- package/bundled/definition21.cjs +6 -6
- package/bundled/definition21.js +18 -18
- package/bundled/definition22.cjs +3 -3
- package/bundled/definition22.js +7 -7
- package/bundled/definition23.cjs +4 -4
- package/bundled/definition23.js +8 -8
- package/bundled/definition24.cjs +8 -8
- package/bundled/definition24.js +17 -17
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +5 -5
- package/bundled/definition4.cjs +9 -9
- package/bundled/definition4.js +16 -16
- package/bundled/definition5.cjs +4 -4
- package/bundled/definition5.js +5 -5
- package/bundled/definition6.cjs +6 -6
- package/bundled/definition6.js +21 -21
- package/bundled/definition7.cjs +2 -2
- package/bundled/definition7.js +4 -4
- package/bundled/definition8.cjs +4 -4
- package/bundled/definition8.js +7 -7
- package/bundled/definition9.cjs +10 -6
- package/bundled/definition9.js +48 -34
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +20 -9
- package/bundled/divider.cjs +1 -1
- package/bundled/divider.js +3 -3
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +6 -6
- package/bundled/form-element.cjs +1 -1
- package/bundled/form-element.js +1 -1
- package/bundled/host-semantics.cjs +1 -1
- package/bundled/host-semantics.js +2 -1
- package/bundled/kbd-shortcut.cjs +1 -0
- package/bundled/kbd-shortcut.js +14 -0
- package/bundled/linkable.cjs +2 -2
- package/bundled/linkable.js +5 -5
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +4 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +3 -2
- package/bundled/mixins.cjs +16 -16
- package/bundled/mixins.js +39 -105
- package/bundled/picker-field.template.cjs +6 -6
- package/bundled/picker-field.template.js +15 -15
- package/bundled/platform.cjs +1 -0
- package/bundled/platform.js +9 -0
- package/bundled/ref.cjs +1 -1
- package/bundled/ref.js +2 -2
- package/bundled/render-in-light-dom.cjs +1 -0
- package/bundled/render-in-light-dom.js +57 -0
- package/bundled/repeat.cjs +1 -1
- package/bundled/repeat.js +117 -107
- package/bundled/slider.template.cjs +3 -3
- package/bundled/slider.template.js +1 -1
- package/bundled/slotted.cjs +1 -1
- package/bundled/slotted.js +2 -2
- package/bundled/time-selection-picker.template.cjs +4 -4
- package/bundled/time-selection-picker.template.js +18 -18
- package/bundled/vivid-element.cjs +3 -3
- package/bundled/vivid-element.js +626 -550
- package/bundled/when.cjs +1 -1
- package/bundled/when.js +2 -2
- package/bundled/with-contextual-help.cjs +1 -1
- package/bundled/with-contextual-help.js +1 -1
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +1 -1
- package/bundled/with-success-text.cjs +1 -1
- package/bundled/with-success-text.js +1 -1
- package/calendar/index.cjs +8 -8
- package/calendar/index.js +9 -9
- package/calendar-event/index.cjs +4 -4
- package/calendar-event/index.js +1 -1
- package/card/index.cjs +24 -25
- package/card/index.js +29 -30
- package/color-picker/index.cjs +26 -26
- package/color-picker/index.js +90 -90
- package/combobox/index.cjs +13 -13
- package/combobox/index.js +22 -22
- package/country-group/index.cjs +4 -4
- package/country-group/index.js +3 -3
- package/custom-elements.json +940 -112
- package/data-grid/index.cjs +34 -34
- package/data-grid/index.js +37 -38
- package/date-picker/definition.cjs +1 -1
- package/date-picker/definition.js +1 -1
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -2
- package/date-range-picker/definition.cjs +1 -1
- package/date-range-picker/definition.js +1 -1
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +4 -4
- package/date-time-picker/definition.cjs +1 -1
- package/date-time-picker/definition.js +1 -1
- package/date-time-picker/index.cjs +2 -2
- package/date-time-picker/index.js +6 -6
- package/dial-pad/definition.cjs +1 -1
- package/dial-pad/definition.js +1 -1
- package/dial-pad/index.cjs +8 -8
- package/dial-pad/index.js +15 -15
- package/dialog/definition.cjs +1 -1
- package/dialog/definition.js +1 -1
- package/dialog/index.cjs +16 -17
- package/dialog/index.js +29 -27
- package/divider/definition.cjs +1 -1
- package/divider/definition.js +1 -1
- package/empty-state/definition.cjs +1 -1
- package/empty-state/definition.js +1 -1
- package/empty-state/index.cjs +5 -5
- package/empty-state/index.js +9 -9
- package/fab/definition.cjs +1 -1
- package/fab/definition.js +1 -1
- package/fab/index.cjs +2 -2
- package/fab/index.js +6 -6
- package/file-picker/definition.cjs +1 -1
- package/file-picker/definition.js +1 -1
- package/file-picker/index.cjs +9 -10
- package/file-picker/index.js +21 -22
- package/flag/index.cjs +3 -3
- package/flag/index.js +7 -7
- package/header/definition.cjs +1 -1
- package/header/definition.js +1 -1
- package/header/index.cjs +2 -2
- package/header/index.js +8 -8
- package/icon/definition.cjs +1 -1
- package/icon/definition.js +1 -1
- package/index.cjs +184 -172
- package/index.js +52 -49
- package/kbd-key/definition.cjs +5 -0
- package/kbd-key/definition.js +2 -0
- package/kbd-key/index.cjs +5 -0
- package/kbd-key/index.js +65 -0
- package/kbd-shortcut/definition.cjs +5 -0
- package/kbd-shortcut/definition.js +2 -0
- package/kbd-shortcut/index.cjs +3 -0
- package/kbd-shortcut/index.js +27 -0
- package/layout/definition.cjs +1 -1
- package/layout/definition.js +1 -1
- package/layout/index.cjs +2 -2
- package/layout/index.js +2 -2
- package/lib/accordion-item/accordion-item.d.ts +18 -1
- package/lib/action-group/action-group.d.ts +18 -1
- package/lib/alert/alert.d.ts +36 -2
- package/lib/audio-player/audio-player.d.ts +18 -1
- package/lib/avatar/avatar.d.ts +18 -1
- package/lib/badge/badge.d.ts +18 -1
- package/lib/banner/banner.d.ts +54 -3
- package/lib/breadcrumb/breadcrumb.d.ts +18 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +18 -1
- package/lib/button/button.d.ts +54 -3
- package/lib/calendar-event/calendar-event.d.ts +18 -1
- package/lib/card/card.d.ts +18 -1
- package/lib/checkbox/checkbox.d.ts +107 -5
- package/lib/color-picker/color-picker.d.ts +126 -7
- package/lib/combobox/combobox.d.ts +124 -5
- package/lib/components.d.ts +4 -1
- package/lib/country-group/country-group.d.ts +36 -2
- package/lib/data-grid/data-grid-cell.d.ts +36 -2
- package/lib/data-grid/data-grid-row.d.ts +18 -1
- package/lib/date-picker/date-picker.d.ts +140 -4
- package/lib/date-range-picker/date-range-picker.d.ts +70 -2
- package/lib/date-time-picker/date-time-picker.d.ts +140 -4
- package/lib/dial-pad/dial-pad.d.ts +18 -1
- package/lib/dialog/dialog.d.ts +36 -2
- package/lib/divider/divider.d.ts +18 -1
- package/lib/fab/fab.d.ts +18 -1
- package/lib/file-picker/file-picker.d.ts +124 -5
- package/lib/header/header.d.ts +18 -1
- package/lib/icon/icon.template.d.ts +1 -2
- package/lib/kbd-key/definition.d.ts +4 -0
- package/lib/kbd-key/index.d.ts +1 -0
- package/lib/kbd-key/kbd-key.d.ts +18 -0
- package/lib/kbd-key/kbd-key.template.d.ts +4 -0
- package/lib/kbd-shortcut/definition.d.ts +3 -0
- package/lib/kbd-shortcut/index.d.ts +1 -0
- package/lib/kbd-shortcut/kbd-shortcut.d.ts +4 -0
- package/lib/kbd-shortcut/kbd-shortcut.template.d.ts +4 -0
- package/lib/menu/menu.d.ts +35 -1
- package/lib/menu-item/menu-item.d.ts +463 -2
- package/lib/nav/nav.d.ts +18 -1
- package/lib/nav-disclosure/nav-disclosure.d.ts +36 -2
- package/lib/nav-item/nav-item.d.ts +36 -2
- package/lib/note/note.d.ts +18 -1
- package/lib/number-field/number-field.d.ts +160 -7
- package/lib/option/option.d.ts +36 -2
- package/lib/pagination/pagination.d.ts +18 -1
- package/lib/platform-switch/definition.d.ts +3 -0
- package/lib/platform-switch/index.d.ts +1 -0
- package/lib/platform-switch/platform-switch.d.ts +4 -0
- package/lib/platform-switch/platform-switch.template.d.ts +4 -0
- package/lib/popover/popover.d.ts +36 -2
- package/lib/progress/progress.d.ts +18 -1
- package/lib/progress-ring/progress-ring.d.ts +18 -1
- package/lib/radio/radio.d.ts +53 -2
- package/lib/radio-group/radio-group.d.ts +18 -1
- package/lib/range-slider/range-slider.d.ts +52 -1
- package/lib/rich-text-editor/locale.d.ts +1 -0
- package/lib/rich-text-editor/popover.d.ts +1 -0
- package/lib/rich-text-editor/rich-text-editor.d.ts +17 -0
- package/lib/rich-text-editor/rte/utils/ui.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +18 -1
- package/lib/searchable-select/searchable-select.d.ts +160 -7
- package/lib/select/select.d.ts +160 -7
- package/lib/selectable-box/selectable-box.d.ts +18 -1
- package/lib/simple-color-picker/simple-color-picker.d.ts +35 -1
- package/lib/slider/slider.d.ts +53 -2
- package/lib/split-button/split-button.d.ts +54 -3
- package/lib/status/status.d.ts +18 -1
- package/lib/switch/switch.d.ts +36 -2
- package/lib/tab/tab.d.ts +54 -3
- package/lib/tab-panel/tab-panel.d.ts +18 -1
- package/lib/table/table-cell.d.ts +18 -1
- package/lib/table/table-header-cell.d.ts +18 -1
- package/lib/table/table-row.d.ts +18 -1
- package/lib/table/table-sorting-button.d.ts +18 -1
- package/lib/tag/tag.d.ts +54 -3
- package/lib/tag-group/tag-group.d.ts +18 -1
- package/lib/tag-name-map.d.ts +4 -1
- package/lib/text-area/text-area.d.ts +142 -6
- package/lib/text-field/text-field.d.ts +160 -7
- package/lib/time-picker/time-picker.d.ts +70 -2
- package/lib/toggletip/toggletip.d.ts +35 -1
- package/lib/tooltip/tooltip.d.ts +444 -0
- package/lib/tree-item/tree-item.d.ts +36 -2
- package/lib/tree-view/tree-view.d.ts +18 -1
- package/lib/video-player/video-player.d.ts +18 -1
- package/locales/de-DE.cjs +1 -0
- package/locales/de-DE.js +1 -0
- package/locales/en-GB.cjs +1 -0
- package/locales/en-GB.js +1 -0
- package/locales/en-US.cjs +1 -0
- package/locales/en-US.js +1 -0
- package/locales/ja-JP.cjs +1 -0
- package/locales/ja-JP.js +1 -0
- package/locales/zh-CN.cjs +1 -0
- package/locales/zh-CN.js +1 -0
- package/nav/definition.cjs +1 -1
- package/nav/definition.js +1 -1
- package/nav/index.cjs +2 -2
- package/nav/index.js +2 -2
- package/nav-disclosure/definition.cjs +1 -1
- package/nav-disclosure/definition.js +1 -1
- package/nav-disclosure/index.cjs +3 -4
- package/nav-disclosure/index.js +11 -11
- package/nav-item/definition.cjs +1 -1
- package/nav-item/definition.js +1 -1
- package/nav-item/index.cjs +2 -2
- package/nav-item/index.js +6 -6
- package/note/definition.cjs +1 -1
- package/note/definition.js +1 -1
- package/note/index.cjs +2 -2
- package/note/index.js +7 -7
- package/number-field/definition.cjs +1 -1
- package/number-field/definition.js +1 -1
- package/number-field/index.cjs +8 -9
- package/number-field/index.js +16 -17
- package/package.json +8 -8
- package/pagination/definition.cjs +1 -1
- package/pagination/definition.js +1 -1
- package/pagination/index.cjs +9 -9
- package/pagination/index.js +16 -16
- package/platform-switch/definition.cjs +5 -0
- package/platform-switch/definition.js +2 -0
- package/platform-switch/index.cjs +1 -0
- package/platform-switch/index.js +28 -0
- package/popover/definition.cjs +1 -1
- package/popover/definition.js +1 -1
- package/popover/index.cjs +6 -6
- package/popover/index.js +12 -12
- package/progress/definition.cjs +1 -1
- package/progress/definition.js +1 -1
- package/progress/index.cjs +4 -4
- package/progress/index.js +5 -5
- package/progress-ring/definition.cjs +1 -1
- package/progress-ring/definition.js +1 -1
- package/radio/definition.cjs +1 -1
- package/radio/definition.js +1 -1
- package/radio-group/definition.cjs +1 -1
- package/radio-group/definition.js +1 -1
- package/radio-group/index.cjs +5 -8
- package/radio-group/index.js +16 -16
- package/range-slider/definition.cjs +1 -1
- package/range-slider/definition.js +1 -1
- package/range-slider/index.cjs +5 -5
- package/range-slider/index.js +9 -9
- package/rich-text-editor/definition.cjs +1 -1
- package/rich-text-editor/definition.js +1 -1
- package/rich-text-editor/index.cjs +8 -6
- package/rich-text-editor/index.js +101 -78
- package/rich-text-view/definition.cjs +1 -1
- package/rich-text-view/definition.js +1 -1
- package/rich-text-view/index.cjs +1 -1
- package/rich-text-view/index.js +3 -3
- package/searchable-select/definition.cjs +1 -1
- package/searchable-select/definition.js +1 -1
- package/searchable-select/index.cjs +38 -40
- package/searchable-select/index.js +64 -64
- package/select/definition.cjs +1 -1
- package/select/definition.js +1 -1
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +4 -4
- package/selectable-box/index.js +13 -13
- package/shared/aria/aria-binding-directive.d.ts +4 -4
- package/shared/aria/aria-mixin.d.ts +21 -3
- package/shared/aria/delegates-aria.d.ts +18 -1
- package/shared/aria/host-semantics.d.ts +18 -1
- package/shared/aria/idrefs-controller.d.ts +17 -0
- package/shared/color-picker/base-color-picker.d.ts +18 -1
- package/shared/feedback/feedback-message.d.ts +18 -1
- package/shared/feedback/mixins.d.ts +36 -2
- package/shared/foundation/button/button.d.ts +35 -1
- package/shared/foundation/form-associated/form-associated.d.ts +35 -1
- package/shared/foundation/vivid-element/vivid-element.d.ts +375 -0
- package/shared/framework/reactive-controller.d.ts +373 -0
- package/shared/patterns/affix.d.ts +36 -2
- package/shared/patterns/anchored.d.ts +34 -0
- package/shared/patterns/char-count/char-count.d.ts +18 -1
- package/shared/patterns/form-elements/form-element.d.ts +17 -0
- package/shared/patterns/form-elements/with-contextual-help.d.ts +18 -1
- package/shared/patterns/form-elements/with-error-text.d.ts +18 -1
- package/shared/patterns/form-elements/with-success-text.d.ts +18 -1
- package/shared/patterns/index.d.ts +1 -0
- package/shared/patterns/kbd-shortcut.d.ts +431 -0
- package/shared/patterns/linkable.d.ts +18 -1
- package/shared/patterns/localized.d.ts +35 -1
- package/shared/patterns/trapped-focus.d.ts +18 -1
- package/shared/picker-field/mixins/calendar-picker.d.ts +35 -1
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +35 -1
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +18 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +35 -1
- package/shared/picker-field/mixins/single-date-picker.d.ts +35 -1
- package/shared/picker-field/mixins/single-value-picker.d.ts +35 -1
- package/shared/picker-field/mixins/time-selection-picker.d.ts +35 -1
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +70 -2
- package/shared/picker-field/picker-field.d.ts +124 -5
- package/shared/templating/render-in-light-dom.d.ts +7 -20
- package/shared/utils/platform.d.ts +1 -0
- package/side-drawer/definition.cjs +1 -1
- package/side-drawer/definition.js +1 -1
- package/side-drawer/index.cjs +3 -3
- package/side-drawer/index.js +3 -3
- package/simple-color-picker/definition.cjs +1 -1
- package/simple-color-picker/definition.js +1 -1
- package/simple-color-picker/index.cjs +2 -2
- package/simple-color-picker/index.js +6 -6
- package/split-button/definition.cjs +1 -1
- package/split-button/definition.js +1 -1
- package/split-button/index.cjs +5 -6
- package/split-button/index.js +8 -8
- package/status/definition.cjs +1 -1
- package/status/definition.js +1 -1
- package/status/index.cjs +4 -4
- package/status/index.js +9 -9
- package/styles/core/all.css +24 -2
- package/styles/core/typography.css +24 -2
- package/styles/fonts/spezia-variable.css +6 -0
- package/styles/tokens/theme-dark.css +2 -0
- package/styles/tokens/theme-light.css +2 -0
- package/switch/definition.cjs +1 -1
- package/switch/definition.js +1 -1
- package/switch/index.cjs +3 -3
- package/switch/index.js +4 -4
- package/tab/definition.cjs +1 -1
- package/tab/definition.js +1 -1
- package/tab-panel/definition.cjs +1 -1
- package/tab-panel/definition.js +1 -1
- package/table/definition.cjs +1 -1
- package/table/definition.js +1 -1
- package/table/index.cjs +9 -9
- package/table/index.js +19 -19
- package/tabs/definition.cjs +1 -1
- package/tabs/definition.js +1 -1
- package/tabs/index.cjs +8 -8
- package/tabs/index.js +14 -14
- package/tag/definition.cjs +1 -1
- package/tag/definition.js +1 -1
- package/tag/index.cjs +8 -8
- package/tag/index.js +11 -11
- package/tag-group/definition.cjs +1 -1
- package/tag-group/definition.js +1 -1
- package/tag-group/index.cjs +2 -2
- package/tag-group/index.js +2 -2
- package/text-area/definition.cjs +1 -1
- package/text-area/definition.js +1 -1
- package/text-area/index.cjs +8 -9
- package/text-area/index.js +25 -26
- package/time-picker/definition.cjs +1 -1
- package/time-picker/definition.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +1 -1
- package/tree-item/definition.cjs +1 -1
- package/tree-item/definition.js +1 -1
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +1 -1
- package/tree-view/index.cjs +4 -4
- package/tree-view/index.js +7 -7
- package/unbundled/affix.cjs +1 -1
- package/unbundled/affix.js +1 -1
- package/unbundled/aria-binding-directive.cjs +112 -2
- package/unbundled/aria-binding-directive.js +108 -4
- package/unbundled/calendar-picker.template.cjs +8 -10
- package/unbundled/calendar-picker.template.js +8 -10
- package/unbundled/char-count.cjs +1 -1
- package/unbundled/char-count.js +1 -1
- package/unbundled/definition.cjs +91 -17
- package/unbundled/definition.js +88 -14
- package/unbundled/definition10.js +1 -1
- package/unbundled/definition11.js +1 -1
- package/unbundled/definition12.cjs +15 -2
- package/unbundled/definition12.js +17 -4
- package/unbundled/definition13.js +1 -1
- package/unbundled/definition14.js +1 -1
- package/unbundled/definition15.cjs +1 -1
- package/unbundled/definition15.js +2 -2
- package/unbundled/definition16.cjs +1 -1
- package/unbundled/definition16.js +2 -2
- package/unbundled/definition17.cjs +1 -1
- package/unbundled/definition17.js +2 -2
- package/unbundled/definition18.cjs +1 -1
- package/unbundled/definition18.js +2 -2
- package/unbundled/definition19.js +1 -1
- package/unbundled/definition2.cjs +96 -77
- package/unbundled/definition2.js +94 -75
- package/unbundled/definition20.js +1 -1
- package/unbundled/definition21.js +1 -1
- package/unbundled/definition22.cjs +2 -3
- package/unbundled/definition22.js +3 -4
- package/unbundled/definition23.cjs +3 -3
- package/unbundled/definition23.js +5 -5
- package/unbundled/definition24.js +1 -1
- package/unbundled/definition25.cjs +1 -1
- package/unbundled/definition25.js +2 -2
- package/unbundled/definition26.cjs +8 -8
- package/unbundled/definition26.js +6 -6
- package/unbundled/definition27.cjs +26 -12
- package/unbundled/definition27.js +28 -14
- package/unbundled/definition28.cjs +1 -1
- package/unbundled/definition28.js +3 -3
- package/unbundled/definition29.cjs +1 -1
- package/unbundled/definition29.js +2 -2
- package/unbundled/definition3.cjs +154 -95
- package/unbundled/definition3.js +146 -93
- package/unbundled/definition30.cjs +1 -1
- package/unbundled/definition30.js +3 -3
- package/unbundled/definition31.cjs +1 -1
- package/unbundled/definition31.js +2 -2
- package/unbundled/definition32.js +1 -1
- package/unbundled/definition33.cjs +1 -1
- package/unbundled/definition33.js +2 -2
- package/unbundled/definition34.cjs +103 -65
- package/unbundled/definition34.js +102 -64
- package/unbundled/definition35.cjs +26 -326
- package/unbundled/definition35.js +24 -247
- package/unbundled/definition36.cjs +131 -25
- package/unbundled/definition36.js +124 -23
- package/unbundled/definition37.cjs +326 -51
- package/unbundled/definition37.js +324 -49
- package/unbundled/definition38.cjs +137 -317
- package/unbundled/definition38.js +135 -315
- package/unbundled/definition39.cjs +337 -173
- package/unbundled/definition39.js +334 -170
- package/unbundled/definition4.cjs +34 -159
- package/unbundled/definition4.js +25 -151
- package/unbundled/definition40.cjs +234 -339
- package/unbundled/definition40.js +230 -335
- package/unbundled/definition41.cjs +48 -271
- package/unbundled/definition41.js +44 -267
- package/unbundled/definition42.cjs +68 -49
- package/unbundled/definition42.js +65 -46
- package/unbundled/definition43.cjs +424 -56
- package/unbundled/definition43.js +422 -54
- package/unbundled/definition44.cjs +45 -428
- package/unbundled/definition44.js +42 -425
- package/unbundled/definition45.cjs +45 -54
- package/unbundled/definition45.js +42 -51
- package/unbundled/definition46.cjs +178 -30
- package/unbundled/definition46.js +175 -26
- package/unbundled/definition47.cjs +29 -94
- package/unbundled/definition47.js +25 -91
- package/unbundled/definition48.cjs +76 -36
- package/unbundled/definition48.js +73 -33
- package/unbundled/definition49.cjs +56 -23
- package/unbundled/definition49.js +54 -18
- package/unbundled/definition5.cjs +56 -38
- package/unbundled/definition5.js +52 -28
- package/unbundled/definition50.cjs +23 -40
- package/unbundled/definition50.js +18 -38
- package/unbundled/definition51.cjs +30 -338
- package/unbundled/definition51.js +30 -338
- package/unbundled/definition52.cjs +317 -187
- package/unbundled/definition52.js +314 -184
- package/unbundled/definition53.cjs +194 -289
- package/unbundled/definition53.js +189 -284
- package/unbundled/definition54.cjs +47 -54
- package/unbundled/definition54.js +44 -50
- package/unbundled/definition55.cjs +279 -133
- package/unbundled/definition55.js +277 -130
- package/unbundled/definition56.cjs +50 -262
- package/unbundled/definition56.js +48 -261
- package/unbundled/definition57.cjs +128 -460
- package/unbundled/definition57.js +126 -459
- package/unbundled/definition58.cjs +235 -3604
- package/unbundled/definition58.js +231 -3437
- package/unbundled/definition59.cjs +419 -729
- package/unbundled/definition59.js +417 -727
- package/unbundled/definition6.cjs +18 -64
- package/unbundled/definition6.js +15 -60
- package/unbundled/definition60.cjs +3666 -106
- package/unbundled/definition60.js +3498 -101
- package/unbundled/definition61.cjs +625 -878
- package/unbundled/definition61.js +619 -872
- package/unbundled/definition62.cjs +106 -108
- package/unbundled/definition62.js +103 -105
- package/unbundled/definition63.cjs +1045 -71
- package/unbundled/definition63.js +1041 -66
- package/unbundled/definition64.cjs +105 -173
- package/unbundled/definition64.js +102 -170
- package/unbundled/definition65.cjs +70 -113
- package/unbundled/definition65.js +66 -110
- package/unbundled/definition66.cjs +185 -54
- package/unbundled/definition66.js +182 -51
- package/unbundled/definition67.cjs +110 -77
- package/unbundled/definition67.js +111 -77
- package/unbundled/definition68.cjs +58 -21
- package/unbundled/definition68.js +56 -16
- package/unbundled/definition69.cjs +82 -75
- package/unbundled/definition69.js +81 -75
- package/unbundled/definition7.cjs +2 -2
- package/unbundled/definition7.js +3 -3
- package/unbundled/definition70.cjs +19 -349
- package/unbundled/definition70.js +15 -341
- package/unbundled/definition71.cjs +88 -26
- package/unbundled/definition71.js +86 -23
- package/unbundled/definition72.cjs +309 -119
- package/unbundled/definition72.js +234 -116
- package/unbundled/definition73.cjs +293 -229
- package/unbundled/definition73.js +287 -230
- package/unbundled/definition74.cjs +39 -30
- package/unbundled/definition74.js +29 -28
- package/unbundled/definition75.cjs +106 -121
- package/unbundled/definition75.js +104 -113
- package/unbundled/definition76.cjs +260 -179
- package/unbundled/definition76.js +258 -176
- package/unbundled/definition77.cjs +29 -514
- package/unbundled/definition77.js +27 -503
- package/unbundled/definition78.cjs +171 -0
- package/unbundled/definition78.js +147 -0
- package/unbundled/definition79.cjs +233 -0
- package/unbundled/definition79.js +214 -0
- package/unbundled/definition8.js +1 -1
- package/unbundled/definition80.cjs +533 -0
- package/unbundled/definition80.js +513 -0
- package/unbundled/definition9.cjs +1 -1
- package/unbundled/definition9.js +2 -2
- package/unbundled/delegates-aria.cjs +15 -1
- package/unbundled/delegates-aria.js +17 -3
- package/unbundled/host-semantics.cjs +2 -1
- package/unbundled/host-semantics.js +2 -1
- package/unbundled/kbd-shortcut.cjs +26 -0
- package/unbundled/kbd-shortcut.js +20 -0
- package/unbundled/mixins.cjs +7 -77
- package/unbundled/mixins.js +6 -64
- package/unbundled/platform.cjs +17 -0
- package/unbundled/platform.js +12 -0
- package/unbundled/randomId.cjs +47 -0
- package/unbundled/randomId.js +35 -0
- package/unbundled/time-selection-picker.template.js +1 -1
- package/unbundled/vivid-element.cjs +82 -9
- package/unbundled/vivid-element.js +63 -8
- package/video-player/definition.cjs +1 -1
- package/video-player/definition.js +1 -1
- package/video-player/index.cjs +3 -3
- package/video-player/index.js +5 -5
- package/visually-hidden/definition.cjs +1 -1
- package/visually-hidden/definition.js +1 -1
- package/vivid.api.json +604 -6
- package/bundled/normalize.cjs +0 -1
- package/bundled/normalize.js +0 -7
package/select/definition.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_definition = require("../unbundled/
|
|
2
|
+
const require_definition = require("../unbundled/definition61.cjs");
|
|
3
3
|
exports.VwcSelectElement = require_definition.Select;
|
|
4
4
|
exports.registerSelect = require_definition.registerSelect;
|
|
5
5
|
exports.selectDefinition = require_definition.selectDefinition;
|
package/select/definition.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as selectDefinition, r as Select, t as registerSelect } from "../unbundled/
|
|
1
|
+
import { n as selectDefinition, r as Select, t as registerSelect } from "../unbundled/definition61.js";
|
|
2
2
|
export { Select as VwcSelectElement, registerSelect, selectDefinition };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_definition = require("../unbundled/
|
|
2
|
+
const require_definition = require("../unbundled/definition64.cjs");
|
|
3
3
|
exports.VwcSelectableBoxElement = require_definition.SelectableBox;
|
|
4
4
|
exports.registerSelectableBox = require_definition.registerSelectableBox;
|
|
5
5
|
exports.selectableBoxDefinition = require_definition.selectableBoxDefinition;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as selectableBoxDefinition, r as SelectableBox, t as registerSelectableBox } from "../unbundled/
|
|
1
|
+
import { n as selectableBoxDefinition, r as SelectableBox, t as registerSelectableBox } from "../unbundled/definition64.js";
|
|
2
2
|
export { SelectableBox as VwcSelectableBoxElement, registerSelectableBox, selectableBoxDefinition };
|
package/selectable-box/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`),n=require(`../bundled/enums.cjs`),r=require(`../bundled/decorate.cjs`),i=require(`../bundled/class-names.cjs`),a=require(`../bundled/delegates-aria.cjs`),o=require(`../bundled/definition15.cjs`),s=require(`../bundled/definition16.cjs`);var c=`:host{display:flex}.base.connotation-cta{--_connotation-color-firm-all:var(--vvd-selectable-box-cta-firm-all,var(--vvd-color-cta-600));--_connotation-color-pale:var(--vvd-selectable-box-cta-pale,var(--vvd-color-cta-300));--_connotation-color-fierce:var(--vvd-selectable-box-cta-fierce,var(--vvd-color-cta-700));--_connotation-color-faint:var(--vvd-selectable-box-cta-faint,var(--vvd-color-cta-50));--_connotation-color-soft:var(--vvd-selectable-box-cta-soft,var(--vvd-color-cta-100))}.base:not(.connotation-cta){--_connotation-color-firm-all:var(--vvd-selectable-box-accent-firm-all,var(--vvd-color-neutral-600));--_connotation-color-pale:var(--vvd-selectable-box-accent-pale,var(--vvd-color-neutral-300));--_connotation-color-fierce:var(--vvd-selectable-box-accent-fierce,var(--vvd-color-neutral-700));--_connotation-color-faint:var(--vvd-selectable-box-accent-faint,var(--vvd-color-neutral-50));--_connotation-color-soft:var(--vvd-selectable-box-accent-soft,var(--vvd-color-neutral-100))}.base{--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-pale)}@media (hover:hover){.base:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-firm-all)}}.base.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-firm-all)}.base.selected:where(:not(.disabled,:disabled)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-soft);--_appearance-color-outline:var(--_connotation-color-pale)}@media (hover:hover){.base.selected:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:var(--_connotation-color-firm-all)}}.base.selected.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:var(--_connotation-color-firm-all)}.base:disabled,.base.disabled{--_appearance-color-text:var(--vvd-color-neutral-300);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--vvd-color-neutral-100)}.base{--control-offset:calc(var(--selectable-box-spacing,16px) + 36px);padding:var(--selectable-box-spacing,16px);border:1px solid var(--_appearance-color-outline);background-color:var(--_appearance-color-fill);text-align:start;border-radius:8px;inline-size:100%;position:relative}.base.control-placement-end-stacked,.base.control-placement-start-stacked{padding-block-start:var(--control-offset)}.base.control-placement-start{padding-inline-start:var(--control-offset)}.base.control-placement-end{padding-inline-end:var(--control-offset)}.base:focus-visible{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}.base.tight{min-height:calc(var(--selectable-box-spacing,16px) * 2 + 22px);padding:0;overflow:hidden}.base.selected{background-color:var(--selectable-box-checked-bg,var(--_appearance-color-fill))}.base.clickable{cursor:pointer}.control{position:absolute;inset-block-start:var(--selectable-box-spacing,16px)}.control.start-stacked,.control.start{inset-inline-start:var(--selectable-box-spacing,16px)}.control.end-stacked,.control.end{inset-inline-end:var(--selectable-box-spacing,16px)}`,l=class extends a.t(e.t){constructor(...e){super(...e),this.checked=!1,this.clickableBox=!1,this.controlPlacement=`end-stacked`,this.tight=!1,this.disabled=!1}_handleCheckedChange(){this.disabled||this.controlType===`radio`&&this.checked||(this.checked=!this.checked,this.clickableBox&&this.$emit(`change`))}_handleKeydown(e){return this.disabled?!0:(e.code===`Space`||e.code===`Enter`)&&this.clickableBox?this._handleCheckedChange():!0}};r.t([e.
|
|
1
|
+
const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`),n=require(`../bundled/enums.cjs`),r=require(`../bundled/decorate.cjs`),i=require(`../bundled/class-names.cjs`),a=require(`../bundled/delegates-aria.cjs`),o=require(`../bundled/definition15.cjs`),s=require(`../bundled/definition16.cjs`);var c=`:host{display:flex}.base.connotation-cta{--_connotation-color-firm-all:var(--vvd-selectable-box-cta-firm-all,var(--vvd-color-cta-600));--_connotation-color-pale:var(--vvd-selectable-box-cta-pale,var(--vvd-color-cta-300));--_connotation-color-fierce:var(--vvd-selectable-box-cta-fierce,var(--vvd-color-cta-700));--_connotation-color-faint:var(--vvd-selectable-box-cta-faint,var(--vvd-color-cta-50));--_connotation-color-soft:var(--vvd-selectable-box-cta-soft,var(--vvd-color-cta-100))}.base:not(.connotation-cta){--_connotation-color-firm-all:var(--vvd-selectable-box-accent-firm-all,var(--vvd-color-neutral-600));--_connotation-color-pale:var(--vvd-selectable-box-accent-pale,var(--vvd-color-neutral-300));--_connotation-color-fierce:var(--vvd-selectable-box-accent-fierce,var(--vvd-color-neutral-700));--_connotation-color-faint:var(--vvd-selectable-box-accent-faint,var(--vvd-color-neutral-50));--_connotation-color-soft:var(--vvd-selectable-box-accent-soft,var(--vvd-color-neutral-100))}.base{--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-pale)}@media (hover:hover){.base:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-firm-all)}}.base.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--_connotation-color-firm-all)}.base.selected:where(:not(.disabled,:disabled)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-soft);--_appearance-color-outline:var(--_connotation-color-pale)}@media (hover:hover){.base.selected:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:var(--_connotation-color-firm-all)}}.base.selected.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm-all);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:var(--_connotation-color-firm-all)}.base:disabled,.base.disabled{--_appearance-color-text:var(--vvd-color-neutral-300);--_appearance-color-fill:transparent;--_appearance-color-outline:var(--vvd-color-neutral-100)}.base{--control-offset:calc(var(--selectable-box-spacing,16px) + 36px);padding:var(--selectable-box-spacing,16px);border:1px solid var(--_appearance-color-outline);background-color:var(--_appearance-color-fill);text-align:start;border-radius:8px;inline-size:100%;position:relative}.base.control-placement-end-stacked,.base.control-placement-start-stacked{padding-block-start:var(--control-offset)}.base.control-placement-start{padding-inline-start:var(--control-offset)}.base.control-placement-end{padding-inline-end:var(--control-offset)}.base:focus-visible{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}.base.tight{min-height:calc(var(--selectable-box-spacing,16px) * 2 + 22px);padding:0;overflow:hidden}.base.selected{background-color:var(--selectable-box-checked-bg,var(--_appearance-color-fill))}.base.clickable{cursor:pointer}.control{position:absolute;inset-block-start:var(--selectable-box-spacing,16px)}.control.start-stacked,.control.start{inset-inline-start:var(--selectable-box-spacing,16px)}.control.end-stacked,.control.end{inset-inline-end:var(--selectable-box-spacing,16px)}`,l=class extends a.t(e.t){constructor(...e){super(...e),this.checked=!1,this.clickableBox=!1,this.controlPlacement=`end-stacked`,this.tight=!1,this.disabled=!1}_handleCheckedChange(){this.disabled||this.controlType===`radio`&&this.checked||(this.checked=!this.checked,this.clickableBox&&this.$emit(`change`))}_handleKeydown(e){return this.disabled?!0:(e.code===`Space`||e.code===`Enter`)&&this.clickableBox?this._handleCheckedChange():!0}};r.t([e.m({mode:`boolean`})],l.prototype,`checked`,void 0),r.t([e.m({attribute:`clickable-box`,mode:`boolean`})],l.prototype,`clickableBox`,void 0),r.t([e.m],l.prototype,`connotation`,void 0),r.t([e.m({attribute:`control-type`})],l.prototype,`controlType`,void 0),r.t([e.m({attribute:`control-placement`,mode:`fromView`})],l.prototype,`controlPlacement`,void 0),r.t([e.m({mode:`boolean`})],l.prototype,`tight`,void 0),r.t([e.m({mode:`boolean`})],l.prototype,`disabled`,void 0);var u=({connotation:e,tight:t,checked:n,clickableBox:r,controlPlacement:a,disabled:o})=>i.t(`base`,[`connotation-${e}`,!!e],[`tight`,t],[`selected`,n],[`clickable`,r],[`readonly`,!r],[`control-placement-${a}`,!!a],[`disabled`,o]);function d(e){e.clickableBox||e._handleCheckedChange()}function f(r){let i=r.tagFor(o.r);return e.p`${t.t(e=>e.controlType!==`radio`,e.p`
|
|
2
2
|
<${i}
|
|
3
3
|
${a.n({ariaLabel:e=>!e.clickableBox&&e.ariaLabel?e.ariaLabel:null},{onlySpecified:!0})}
|
|
4
4
|
@change="${e=>d(e)}"
|
|
@@ -7,7 +7,7 @@ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`)
|
|
|
7
7
|
:checked="${e=>e.checked}"
|
|
8
8
|
?disabled="${e=>e.disabled}"
|
|
9
9
|
inert="${e=>e.clickableBox?!0:null}"
|
|
10
|
-
></${i}>`)} `}function p(r){let i=r.tagFor(s.r);return e.
|
|
10
|
+
></${i}>`)} `}function p(r){let i=r.tagFor(s.r);return e.p`${t.t(e=>e.controlType===`radio`,e.p`
|
|
11
11
|
<${i}
|
|
12
12
|
${a.n({ariaLabel:e=>!e.clickableBox&&e.ariaLabel?e.ariaLabel:null},{onlySpecified:!0})}
|
|
13
13
|
@change="${e=>d(e)}"
|
|
@@ -16,7 +16,7 @@ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`)
|
|
|
16
16
|
:checked="${e=>e.checked}"
|
|
17
17
|
?disabled="${e=>e.disabled}"
|
|
18
18
|
inert="${e=>e.clickableBox?!0:null}"
|
|
19
|
-
></${i}>`)} `}var m=e.
|
|
19
|
+
></${i}>`)} `}var m=e.u(`selectable-box`,l,t=>e.p`<template>
|
|
20
20
|
<div
|
|
21
21
|
class="${u}"
|
|
22
22
|
tabindex="${e=>e.clickableBox&&!e.disabled?`0`:null}"
|
|
@@ -27,4 +27,4 @@ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`)
|
|
|
27
27
|
${f(t)} ${p(t)}
|
|
28
28
|
<slot></slot>
|
|
29
29
|
</div>
|
|
30
|
-
</template>`,[o.t,s.t],{styles:c,shadowOptions:{delegatesFocus:!0}});e.
|
|
30
|
+
</template>`,[o.t,s.t],{styles:c,shadowOptions:{delegatesFocus:!0}});e.d(m)();
|
package/selectable-box/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, m as t, p as n, t as r, u as i } from "../bundled/vivid-element.js";
|
|
2
2
|
import { t as a } from "../bundled/when.js";
|
|
3
3
|
import { n as o } from "../bundled/enums.js";
|
|
4
4
|
import { t as s } from "../bundled/decorate.js";
|
|
@@ -18,13 +18,13 @@ var h = ":host{display:flex}.base.connotation-cta{--_connotation-color-firm-all:
|
|
|
18
18
|
return this.disabled ? !0 : (e.code === "Space" || e.code === "Enter") && this.clickableBox ? this._handleCheckedChange() : !0;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
s([
|
|
21
|
+
s([t({ mode: "boolean" })], g.prototype, "checked", void 0), s([t({
|
|
22
22
|
attribute: "clickable-box",
|
|
23
23
|
mode: "boolean"
|
|
24
|
-
})], g.prototype, "clickableBox", void 0), s([
|
|
24
|
+
})], g.prototype, "clickableBox", void 0), s([t], g.prototype, "connotation", void 0), s([t({ attribute: "control-type" })], g.prototype, "controlType", void 0), s([t({
|
|
25
25
|
attribute: "control-placement",
|
|
26
26
|
mode: "fromView"
|
|
27
|
-
})], g.prototype, "controlPlacement", void 0), s([
|
|
27
|
+
})], g.prototype, "controlPlacement", void 0), s([t({ mode: "boolean" })], g.prototype, "tight", void 0), s([t({ mode: "boolean" })], g.prototype, "disabled", void 0);
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/lib/selectable-box/selectable-box.template.ts
|
|
30
30
|
var _ = ({ connotation: e, tight: t, checked: n, clickableBox: r, controlPlacement: i, disabled: a }) => c("base", [`connotation-${e}`, !!e], ["tight", t], ["selected", n], ["clickable", r], ["readonly", !r], [`control-placement-${i}`, !!i], ["disabled", a]);
|
|
@@ -32,9 +32,9 @@ function v(e) {
|
|
|
32
32
|
e.clickableBox || e._handleCheckedChange();
|
|
33
33
|
}
|
|
34
34
|
function y(e) {
|
|
35
|
-
let
|
|
36
|
-
return
|
|
37
|
-
<${
|
|
35
|
+
let t = e.tagFor(d);
|
|
36
|
+
return n`${a((e) => e.controlType !== "radio", n`
|
|
37
|
+
<${t}
|
|
38
38
|
${l({ ariaLabel: (e) => !e.clickableBox && e.ariaLabel ? e.ariaLabel : null }, { onlySpecified: !0 })}
|
|
39
39
|
@change="${(e) => v(e)}"
|
|
40
40
|
class="control checkbox ${(e) => e.controlPlacement}"
|
|
@@ -42,12 +42,12 @@ function y(e) {
|
|
|
42
42
|
:checked="${(e) => e.checked}"
|
|
43
43
|
?disabled="${(e) => e.disabled}"
|
|
44
44
|
inert="${(e) => e.clickableBox ? !0 : null}"
|
|
45
|
-
></${
|
|
45
|
+
></${t}>`)} `;
|
|
46
46
|
}
|
|
47
47
|
function b(e) {
|
|
48
|
-
let
|
|
49
|
-
return
|
|
50
|
-
<${
|
|
48
|
+
let t = e.tagFor(p);
|
|
49
|
+
return n`${a((e) => e.controlType === "radio", n`
|
|
50
|
+
<${t}
|
|
51
51
|
${l({ ariaLabel: (e) => !e.clickableBox && e.ariaLabel ? e.ariaLabel : null }, { onlySpecified: !0 })}
|
|
52
52
|
@change="${(e) => v(e)}"
|
|
53
53
|
class="control radio ${(e) => e.controlPlacement}"
|
|
@@ -55,11 +55,11 @@ function b(e) {
|
|
|
55
55
|
:checked="${(e) => e.checked}"
|
|
56
56
|
?disabled="${(e) => e.disabled}"
|
|
57
57
|
inert="${(e) => e.clickableBox ? !0 : null}"
|
|
58
|
-
></${
|
|
58
|
+
></${t}>`)} `;
|
|
59
59
|
}
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/lib/selectable-box/index.ts
|
|
62
|
-
e(
|
|
62
|
+
e(i("selectable-box", g, (e) => n`<template>
|
|
63
63
|
<div
|
|
64
64
|
class="${_}"
|
|
65
65
|
tabindex="${(e) => e.clickableBox && !e.disabled ? "0" : null}"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AriaPropertyName } from './aria-mixin';
|
|
1
|
+
import { AriaIdrefsPropertyName, AriaMixinElement, AriaPropertyName, AriaValuePropertyName } from './aria-mixin';
|
|
2
2
|
import { DOMPolicy, StatelessAttachedAttributeDirective, ViewController } from '@microsoft/fast-element';
|
|
3
|
-
import { DelegatesAriaElement } from './delegates-aria';
|
|
4
3
|
type BoundValue = string | null | undefined | boolean | number;
|
|
5
4
|
type AriaBinding<T> = BoundValue | ((x: T) => BoundValue);
|
|
6
5
|
export type BoundAriaProperties<T> = Partial<{
|
|
@@ -8,7 +7,8 @@ export type BoundAriaProperties<T> = Partial<{
|
|
|
8
7
|
}>;
|
|
9
8
|
type AriaBindingDirectiveOptions<T> = {
|
|
10
9
|
boundProperties: BoundAriaProperties<T>;
|
|
11
|
-
|
|
10
|
+
forwardedValueProperties: Set<AriaValuePropertyName>;
|
|
11
|
+
forwardedIdrefsProperties: Set<AriaIdrefsPropertyName>;
|
|
12
12
|
requireHost?: boolean;
|
|
13
13
|
};
|
|
14
14
|
export declare class AriaBindingDirective<T> extends StatelessAttachedAttributeDirective<AriaBindingDirectiveOptions<T>> {
|
|
@@ -16,6 +16,6 @@ export declare class AriaBindingDirective<T> extends StatelessAttachedAttributeD
|
|
|
16
16
|
policy?: DOMPolicy;
|
|
17
17
|
private _propertyBindingBehaviours?;
|
|
18
18
|
private get propertyBindingBehaviours();
|
|
19
|
-
bind(controller: ViewController<
|
|
19
|
+
bind(controller: ViewController<AriaMixinElement>): void;
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { Constructor, MixinType } from '../utils/mixins';
|
|
3
|
-
export declare const
|
|
4
|
-
export
|
|
5
|
-
export declare const
|
|
3
|
+
export declare const ariaValueProperties: readonly ["role", "ariaAtomic", "ariaAutoComplete", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColIndex", "ariaColIndexText", "ariaColSpan", "ariaCurrent", "ariaDescription", "ariaDisabled", "ariaExpanded", "ariaHasPopup", "ariaHidden", "ariaInvalid", "ariaKeyShortcuts", "ariaLabel", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiLine", "ariaMultiSelectable", "ariaOrientation", "ariaPlaceholder", "ariaPosInSet", "ariaPressed", "ariaReadOnly", "ariaRequired", "ariaRoleDescription", "ariaRowCount", "ariaRowIndex", "ariaRowIndexText", "ariaRowSpan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "ariaRelevant"];
|
|
4
|
+
export declare const ariaIdrefsProperties: readonly ["ariaControls", "ariaDescribedBy", "ariaDetails", "ariaErrorMessage", "ariaFlowTo", "ariaLabelledBy", "ariaOwns"];
|
|
5
|
+
export declare const ariaProperties: readonly ["role", "ariaAtomic", "ariaAutoComplete", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColIndex", "ariaColIndexText", "ariaColSpan", "ariaCurrent", "ariaDescription", "ariaDisabled", "ariaExpanded", "ariaHasPopup", "ariaHidden", "ariaInvalid", "ariaKeyShortcuts", "ariaLabel", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiLine", "ariaMultiSelectable", "ariaOrientation", "ariaPlaceholder", "ariaPosInSet", "ariaPressed", "ariaReadOnly", "ariaRequired", "ariaRoleDescription", "ariaRowCount", "ariaRowIndex", "ariaRowIndexText", "ariaRowSpan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "ariaRelevant", "ariaControls", "ariaDescribedBy", "ariaDetails", "ariaErrorMessage", "ariaFlowTo", "ariaLabelledBy", "ariaOwns"];
|
|
6
|
+
export type AriaValuePropertyName = (typeof ariaValueProperties)[number];
|
|
7
|
+
export type AriaIdrefsPropertyName = (typeof ariaIdrefsProperties)[number];
|
|
8
|
+
export type AriaPropertyName = AriaValuePropertyName | AriaIdrefsPropertyName;
|
|
9
|
+
export declare const ariaAttributeName: (ariaPropertyName: AriaValuePropertyName | AriaIdrefsPropertyName) => string;
|
|
6
10
|
export type VividAriaBehaviour = 'default' | 'delegate' | 'host';
|
|
7
11
|
export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement>>(Base: T) => {
|
|
8
12
|
new (...args: any[]): {
|
|
@@ -362,6 +366,13 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
362
366
|
tabIndex: number;
|
|
363
367
|
blur(): void;
|
|
364
368
|
focus(options?: FocusOptions): void;
|
|
369
|
+
ariaControls: string | null;
|
|
370
|
+
ariaDescribedBy: string | null;
|
|
371
|
+
ariaDetails: string | null;
|
|
372
|
+
ariaErrorMessage: string | null;
|
|
373
|
+
ariaFlowTo: string | null;
|
|
374
|
+
ariaLabelledBy: string | null;
|
|
375
|
+
ariaOwns: string | null;
|
|
365
376
|
roleChanged(prev: string | null, next: string | null): void;
|
|
366
377
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
367
378
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -404,6 +415,13 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
404
415
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
405
416
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
406
417
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
418
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
419
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
420
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
421
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
422
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
423
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
424
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
407
425
|
};
|
|
408
426
|
} & T;
|
|
409
427
|
export type AriaMixinElement = MixinType<typeof AriaMixin>;
|
|
@@ -12,7 +12,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
12
12
|
connectedCallback(): void;
|
|
13
13
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
14
14
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
15
|
-
disconnectedCallback()
|
|
15
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
16
16
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
17
17
|
accessKey: string;
|
|
18
18
|
readonly accessKeyLabel: string;
|
|
@@ -364,6 +364,13 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
364
364
|
tabIndex: number;
|
|
365
365
|
blur(): void;
|
|
366
366
|
focus(options?: FocusOptions): void;
|
|
367
|
+
ariaControls: string | null;
|
|
368
|
+
ariaDescribedBy: string | null;
|
|
369
|
+
ariaDetails: string | null;
|
|
370
|
+
ariaErrorMessage: string | null;
|
|
371
|
+
ariaFlowTo: string | null;
|
|
372
|
+
ariaLabelledBy: string | null;
|
|
373
|
+
ariaOwns: string | null;
|
|
367
374
|
roleChanged(prev: string | null, next: string | null): void;
|
|
368
375
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
369
376
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -406,12 +413,22 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
406
413
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
407
414
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
408
415
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
416
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
417
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
418
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
419
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
420
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
421
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
422
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
409
423
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
410
424
|
newPropertyName: string;
|
|
411
425
|
deprecatedPropertyName: string;
|
|
412
426
|
fromDeprecated: (v: any) => any;
|
|
413
427
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
414
428
|
}): void;
|
|
429
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
430
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
431
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
415
432
|
};
|
|
416
433
|
} & T;
|
|
417
434
|
export type DelegatesAriaElement = MixinType<typeof DelegatesAria>;
|
|
@@ -9,7 +9,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
11
11
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
12
|
-
disconnectedCallback()
|
|
12
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
13
13
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
14
14
|
accessKey: string;
|
|
15
15
|
readonly accessKeyLabel: string;
|
|
@@ -361,6 +361,13 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
361
361
|
tabIndex: number;
|
|
362
362
|
blur(): void;
|
|
363
363
|
focus(options?: FocusOptions): void;
|
|
364
|
+
ariaControls: string | null;
|
|
365
|
+
ariaDescribedBy: string | null;
|
|
366
|
+
ariaDetails: string | null;
|
|
367
|
+
ariaErrorMessage: string | null;
|
|
368
|
+
ariaFlowTo: string | null;
|
|
369
|
+
ariaLabelledBy: string | null;
|
|
370
|
+
ariaOwns: string | null;
|
|
364
371
|
roleChanged(prev: string | null, next: string | null): void;
|
|
365
372
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
366
373
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -403,12 +410,22 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
403
410
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
404
411
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
405
412
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
413
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
414
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
415
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
416
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
417
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
418
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
419
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
406
420
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
407
421
|
newPropertyName: string;
|
|
408
422
|
deprecatedPropertyName: string;
|
|
409
423
|
fromDeprecated: (v: any) => any;
|
|
410
424
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
411
425
|
}): void;
|
|
426
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
427
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
428
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
412
429
|
};
|
|
413
430
|
} & T;
|
|
414
431
|
export type HostSemanticsElement = MixinType<typeof HostSemantics>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AriaIdrefsPropertyName } from './aria-mixin';
|
|
2
|
+
import { VividElement } from '../foundation/vivid-element/vivid-element';
|
|
3
|
+
import { ReactiveController } from '../framework/reactive-controller';
|
|
4
|
+
export declare class IdrefsController implements ReactiveController {
|
|
5
|
+
#private;
|
|
6
|
+
private host;
|
|
7
|
+
private propertyName;
|
|
8
|
+
static resolvedElements(host: VividElement, property: AriaIdrefsPropertyName): HTMLElement[] | null;
|
|
9
|
+
static for(host: VividElement, property: AriaIdrefsPropertyName): IdrefsController;
|
|
10
|
+
private constructor();
|
|
11
|
+
hostConnected(): void;
|
|
12
|
+
hostDisconnected(): void;
|
|
13
|
+
private getAttribute;
|
|
14
|
+
setAttribute(value: string | null): void;
|
|
15
|
+
private getResolvedElements;
|
|
16
|
+
setElements(elements: HTMLElement[] | null): void;
|
|
17
|
+
}
|
|
@@ -25,7 +25,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
25
25
|
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
26
26
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
27
27
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
28
|
-
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
28
|
+
disconnectedCallback: (() => void) & (() => void) & (() => void) & (() => void);
|
|
29
29
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
30
30
|
accessKey: string;
|
|
31
31
|
readonly accessKeyLabel: string;
|
|
@@ -377,6 +377,13 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
377
377
|
tabIndex: number;
|
|
378
378
|
blur(): void;
|
|
379
379
|
focus(options?: FocusOptions): void;
|
|
380
|
+
ariaControls: string | null;
|
|
381
|
+
ariaDescribedBy: string | null;
|
|
382
|
+
ariaDetails: string | null;
|
|
383
|
+
ariaErrorMessage: string | null;
|
|
384
|
+
ariaFlowTo: string | null;
|
|
385
|
+
ariaLabelledBy: string | null;
|
|
386
|
+
ariaOwns: string | null;
|
|
380
387
|
roleChanged(prev: string | null, next: string | null): void;
|
|
381
388
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
382
389
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -419,12 +426,22 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
419
426
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
420
427
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
421
428
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
429
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
430
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
431
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
432
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
433
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
434
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
435
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
422
436
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
423
437
|
newPropertyName: string;
|
|
424
438
|
deprecatedPropertyName: string;
|
|
425
439
|
fromDeprecated: (v: any) => any;
|
|
426
440
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
427
441
|
}): void;
|
|
442
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
443
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
444
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
428
445
|
label?: string;
|
|
429
446
|
errorValidationMessage: string;
|
|
430
447
|
forceErrorDisplay: boolean;
|
|
@@ -7,7 +7,7 @@ declare const FeedbackMessage_base: {
|
|
|
7
7
|
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
8
8
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
9
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
10
|
-
disconnectedCallback()
|
|
10
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
11
11
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
12
12
|
accessKey: string;
|
|
13
13
|
readonly accessKeyLabel: string;
|
|
@@ -359,6 +359,13 @@ declare const FeedbackMessage_base: {
|
|
|
359
359
|
tabIndex: number;
|
|
360
360
|
blur(): void;
|
|
361
361
|
focus(options?: FocusOptions): void;
|
|
362
|
+
ariaControls: string | null;
|
|
363
|
+
ariaDescribedBy: string | null;
|
|
364
|
+
ariaDetails: string | null;
|
|
365
|
+
ariaErrorMessage: string | null;
|
|
366
|
+
ariaFlowTo: string | null;
|
|
367
|
+
ariaLabelledBy: string | null;
|
|
368
|
+
ariaOwns: string | null;
|
|
362
369
|
roleChanged(prev: string | null, next: string | null): void;
|
|
363
370
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
364
371
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -401,12 +408,22 @@ declare const FeedbackMessage_base: {
|
|
|
401
408
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
402
409
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
403
410
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
411
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
412
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
413
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
414
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
415
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
416
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
417
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
404
418
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
405
419
|
newPropertyName: string;
|
|
406
420
|
deprecatedPropertyName: string;
|
|
407
421
|
fromDeprecated: (v: any) => any;
|
|
408
422
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
409
423
|
}): void;
|
|
424
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
425
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
426
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
410
427
|
};
|
|
411
428
|
} & typeof VividElement;
|
|
412
429
|
export declare class FeedbackMessage extends FeedbackMessage_base {
|
|
@@ -17,7 +17,7 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
17
17
|
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
18
18
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
19
19
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
20
|
-
disconnectedCallback()
|
|
20
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
21
21
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
22
22
|
accessKey: string;
|
|
23
23
|
readonly accessKeyLabel: string;
|
|
@@ -369,6 +369,13 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
369
369
|
tabIndex: number;
|
|
370
370
|
blur(): void;
|
|
371
371
|
focus(options?: FocusOptions): void;
|
|
372
|
+
ariaControls: string | null;
|
|
373
|
+
ariaDescribedBy: string | null;
|
|
374
|
+
ariaDetails: string | null;
|
|
375
|
+
ariaErrorMessage: string | null;
|
|
376
|
+
ariaFlowTo: string | null;
|
|
377
|
+
ariaLabelledBy: string | null;
|
|
378
|
+
ariaOwns: string | null;
|
|
372
379
|
roleChanged(prev: string | null, next: string | null): void;
|
|
373
380
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
374
381
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -411,12 +418,22 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
411
418
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
412
419
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
413
420
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
421
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
422
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
423
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
424
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
425
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
426
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
427
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
414
428
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
415
429
|
newPropertyName: string;
|
|
416
430
|
deprecatedPropertyName: string;
|
|
417
431
|
fromDeprecated: (v: any) => any;
|
|
418
432
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
419
433
|
}): void;
|
|
434
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
435
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
436
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
420
437
|
};
|
|
421
438
|
} & T;
|
|
422
439
|
export type ElementWithFeedback = MixinType<typeof WithFeedback>;
|
|
@@ -438,7 +455,7 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
438
455
|
_vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
|
|
439
456
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
440
457
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
441
|
-
disconnectedCallback()
|
|
458
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
442
459
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
443
460
|
accessKey: string;
|
|
444
461
|
readonly accessKeyLabel: string;
|
|
@@ -790,6 +807,13 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
790
807
|
tabIndex: number;
|
|
791
808
|
blur(): void;
|
|
792
809
|
focus(options?: FocusOptions): void;
|
|
810
|
+
ariaControls: string | null;
|
|
811
|
+
ariaDescribedBy: string | null;
|
|
812
|
+
ariaDetails: string | null;
|
|
813
|
+
ariaErrorMessage: string | null;
|
|
814
|
+
ariaFlowTo: string | null;
|
|
815
|
+
ariaLabelledBy: string | null;
|
|
816
|
+
ariaOwns: string | null;
|
|
793
817
|
roleChanged(prev: string | null, next: string | null): void;
|
|
794
818
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
795
819
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -832,11 +856,21 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
832
856
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
833
857
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
834
858
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
859
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
860
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
861
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
862
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
863
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
864
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
865
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
835
866
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
836
867
|
newPropertyName: string;
|
|
837
868
|
deprecatedPropertyName: string;
|
|
838
869
|
fromDeprecated: (v: any) => any;
|
|
839
870
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
840
871
|
}): void;
|
|
872
|
+
"__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
|
|
873
|
+
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
874
|
+
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
841
875
|
};
|
|
842
876
|
} & T;
|
|
@@ -5,7 +5,7 @@ declare const VividFoundationButton_base: {
|
|
|
5
5
|
connectedCallback(): void;
|
|
6
6
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
7
7
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
8
|
-
disconnectedCallback()
|
|
8
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
9
9
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
10
10
|
accessKey: string;
|
|
11
11
|
readonly accessKeyLabel: string;
|
|
@@ -357,6 +357,13 @@ declare const VividFoundationButton_base: {
|
|
|
357
357
|
tabIndex: number;
|
|
358
358
|
blur(): void;
|
|
359
359
|
focus(options?: FocusOptions): void;
|
|
360
|
+
ariaControls: string | null;
|
|
361
|
+
ariaDescribedBy: string | null;
|
|
362
|
+
ariaDetails: string | null;
|
|
363
|
+
ariaErrorMessage: string | null;
|
|
364
|
+
ariaFlowTo: string | null;
|
|
365
|
+
ariaLabelledBy: string | null;
|
|
366
|
+
ariaOwns: string | null;
|
|
360
367
|
roleChanged(prev: string | null, next: string | null): void;
|
|
361
368
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
362
369
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -399,12 +406,22 @@ declare const VividFoundationButton_base: {
|
|
|
399
406
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
400
407
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
401
408
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
409
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
410
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
411
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
412
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
413
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
414
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
415
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
402
416
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
403
417
|
newPropertyName: string;
|
|
404
418
|
deprecatedPropertyName: string;
|
|
405
419
|
fromDeprecated: (v: any) => any;
|
|
406
420
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
407
421
|
}): void;
|
|
422
|
+
"__#private@#controllers": Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
423
|
+
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
424
|
+
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
408
425
|
};
|
|
409
426
|
} & {
|
|
410
427
|
new (...args: any[]): {
|
|
@@ -798,6 +815,13 @@ declare const VividFoundationButton_base: {
|
|
|
798
815
|
tabIndex: number;
|
|
799
816
|
blur(): void;
|
|
800
817
|
focus(options?: FocusOptions): void;
|
|
818
|
+
ariaControls: string | null;
|
|
819
|
+
ariaDescribedBy: string | null;
|
|
820
|
+
ariaDetails: string | null;
|
|
821
|
+
ariaErrorMessage: string | null;
|
|
822
|
+
ariaFlowTo: string | null;
|
|
823
|
+
ariaLabelledBy: string | null;
|
|
824
|
+
ariaOwns: string | null;
|
|
801
825
|
roleChanged(prev: string | null, next: string | null): void;
|
|
802
826
|
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
803
827
|
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
@@ -840,12 +864,22 @@ declare const VividFoundationButton_base: {
|
|
|
840
864
|
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
841
865
|
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
842
866
|
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
867
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
868
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
869
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
870
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
871
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
872
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
873
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
843
874
|
"__#private@#handleReplacedProp"(replacedProp: {
|
|
844
875
|
newPropertyName: string;
|
|
845
876
|
deprecatedPropertyName: string;
|
|
846
877
|
fromDeprecated: (v: any) => any;
|
|
847
878
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
848
879
|
}): void;
|
|
880
|
+
"__#private@#controllers": Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
881
|
+
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
882
|
+
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
849
883
|
};
|
|
850
884
|
get formAssociated(): boolean;
|
|
851
885
|
} & typeof VividElement;
|