@vonage/vivid 5.23.0 → 5.23.1
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/action-group/index.cjs +1 -1
- package/action-group/index.js +1 -1
- package/alert/definition.cjs +1 -1
- package/alert/definition.js +1 -1
- package/alert/index.cjs +7 -7
- package/alert/index.js +13 -14
- package/audio-player/definition.cjs +1 -1
- package/audio-player/definition.js +1 -1
- package/audio-player/index.cjs +18 -16
- package/audio-player/index.js +21 -19
- package/avatar/definition.cjs +1 -1
- package/avatar/definition.js +1 -1
- package/avatar/index.cjs +4 -4
- package/avatar/index.js +6 -6
- package/badge/definition.cjs +1 -1
- package/badge/definition.js +1 -1
- package/banner/definition.cjs +1 -1
- package/banner/definition.js +1 -1
- package/banner/index.cjs +3 -3
- package/banner/index.js +8 -8
- package/breadcrumb/definition.cjs +1 -1
- package/breadcrumb/definition.js +1 -1
- package/breadcrumb-item/definition.cjs +1 -1
- package/breadcrumb-item/definition.js +1 -1
- package/breadcrumb-item/index.cjs +2 -2
- package/breadcrumb-item/index.js +5 -5
- package/bundled/affix.cjs +1 -1
- package/bundled/affix.js +1 -1
- package/bundled/base-color-picker.cjs +2 -2
- package/bundled/base-color-picker.js +5 -5
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +1 -1
- package/bundled/definition11.cjs +4 -4
- package/bundled/definition11.js +5 -5
- package/bundled/definition12.cjs +9 -7
- package/bundled/definition12.js +28 -26
- package/bundled/definition13.cjs +9 -7
- package/bundled/definition13.js +16 -15
- package/bundled/definition15.cjs +6 -6
- package/bundled/definition15.js +17 -17
- package/bundled/definition16.cjs +4 -2
- package/bundled/definition16.js +8 -6
- package/bundled/definition17.cjs +8 -6
- package/bundled/definition17.js +15 -14
- package/bundled/definition18.cjs +23 -23
- package/bundled/definition18.js +51 -52
- package/bundled/definition19.cjs +3 -1
- package/bundled/definition19.js +3 -1
- package/bundled/definition2.cjs +1 -13
- package/bundled/definition2.js +181 -48
- package/bundled/definition20.cjs +11 -9
- package/bundled/definition20.js +25 -23
- package/bundled/definition21.cjs +6 -6
- package/bundled/definition21.js +7 -8
- package/bundled/definition22.cjs +5 -3
- package/bundled/definition22.js +13 -11
- package/bundled/definition23.cjs +1 -1
- package/bundled/definition23.js +2 -2
- package/bundled/definition24.cjs +10 -10
- package/bundled/definition24.js +12 -12
- package/bundled/definition3.cjs +13 -1
- package/bundled/definition3.js +48 -181
- package/bundled/definition4.cjs +9 -7
- package/bundled/definition4.js +18 -16
- package/bundled/definition5.cjs +5 -5
- package/bundled/definition5.js +9 -9
- package/bundled/definition6.cjs +3 -3
- package/bundled/definition6.js +16 -16
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +1 -1
- package/bundled/definition8.cjs +7 -7
- package/bundled/definition8.js +9 -7
- package/bundled/definition9.cjs +4 -4
- package/bundled/definition9.js +12 -12
- package/bundled/mixins.cjs +3 -3
- package/bundled/mixins.js +5 -5
- package/bundled/numberConverter.cjs +1 -1
- package/bundled/numberConverter.js +36 -1
- package/bundled/picker-field.template.cjs +13 -13
- package/bundled/picker-field.template.js +16 -16
- package/bundled/slider.template.cjs +8 -8
- package/bundled/slider.template.js +9 -9
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +3 -3
- package/bundled/time-selection-picker.template.js +9 -9
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/button/definition.cjs +1 -1
- package/button/definition.js +1 -1
- package/calendar/definition.cjs +1 -1
- package/calendar/definition.js +1 -1
- package/calendar/index.cjs +9 -9
- package/calendar/index.js +7 -7
- package/calendar-event/definition.cjs +1 -1
- package/calendar-event/definition.js +1 -1
- package/calendar-event/index.cjs +2 -2
- package/calendar-event/index.js +2 -2
- package/card/definition.cjs +1 -1
- package/card/definition.js +1 -1
- package/card/index.cjs +3 -3
- package/card/index.js +6 -6
- package/color-picker/index.cjs +10 -10
- package/color-picker/index.js +52 -52
- package/combobox/index.cjs +14 -11
- package/combobox/index.js +38 -36
- package/custom-elements.json +4235 -4883
- package/data-grid/index.cjs +8 -6
- package/data-grid/index.js +20 -18
- package/dial-pad/index.cjs +22 -20
- package/dial-pad/index.js +36 -34
- package/dialog/index.cjs +14 -14
- package/dialog/index.js +17 -18
- package/elevation/definition.cjs +1 -1
- package/elevation/definition.js +1 -1
- package/empty-state/index.cjs +4 -4
- package/empty-state/index.js +7 -11
- package/fab/index.cjs +4 -4
- package/fab/index.js +9 -13
- package/file-picker/index.cjs +8 -8
- package/file-picker/index.js +19 -19
- package/flag/index.cjs +5 -5
- package/flag/index.js +8 -12
- package/header/index.cjs +5 -5
- package/header/index.js +4 -8
- package/icon/index.cjs +1 -1
- package/icon/index.js +1 -1
- package/index.cjs +15 -14
- package/index.js +16 -16
- package/kbd-key/index.cjs +3 -3
- package/kbd-key/index.js +2 -6
- package/layout/index.cjs +3 -1
- package/layout/index.js +3 -1
- package/lib/accordion/variations.browser-spec.d.ts +1 -0
- package/lib/accordion-item/variations.browser-spec.d.ts +1 -0
- package/lib/action-group/variations.browser-spec.d.ts +1 -0
- package/lib/alert/variations.browser-spec.d.ts +1 -0
- package/lib/audio-player/variations.browser-spec.d.ts +1 -0
- package/lib/avatar/variations.browser-spec.d.ts +1 -0
- package/lib/badge/badge.d.ts +4 -4
- package/lib/badge/badge.template.d.ts +1 -2
- package/lib/badge/variations.browser-spec.d.ts +1 -0
- package/lib/banner/variations.browser-spec.d.ts +1 -0
- package/lib/breadcrumb-item/variations.browser-spec.d.ts +1 -0
- package/lib/button/variations.browser-spec.d.ts +1 -0
- package/lib/calendar/variations.browser-spec.d.ts +1 -0
- package/lib/calendar-event/variations.browser-spec.d.ts +1 -0
- package/lib/card/card.d.ts +4 -4
- package/lib/card/variations.browser-spec.d.ts +1 -0
- package/lib/checkbox/variations.browser-spec.d.ts +1 -0
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/variations.browser-spec.d.ts +1 -0
- package/lib/combobox/variations.browser-spec.d.ts +1 -0
- package/lib/contextual-help/variations.browser-spec.d.ts +1 -0
- package/lib/country/variations.browser-spec.d.ts +1 -0
- package/lib/data-grid/variations.browser-spec.d.ts +1 -0
- package/lib/date-picker/variations.browser-spec.d.ts +1 -0
- package/lib/date-range-picker/variations.browser-spec.d.ts +1 -0
- package/lib/date-time-picker/variations.browser-spec.d.ts +1 -0
- package/lib/dial-pad/variations.browser-spec.d.ts +1 -0
- package/lib/dialog/variations.browser-spec.d.ts +1 -0
- package/lib/divider/variations.browser-spec.d.ts +1 -0
- package/lib/empty-state/variations.browser-spec.d.ts +1 -0
- package/lib/fab/fab.d.ts +5 -5
- package/lib/fab/variations.browser-spec.d.ts +1 -0
- package/lib/file-picker/variations.browser-spec.d.ts +1 -0
- package/lib/flag/variations.browser-spec.d.ts +1 -0
- package/lib/header/variations.browser-spec.d.ts +1 -0
- package/lib/icon/variations.browser-spec.d.ts +1 -0
- package/lib/kbd-key/variations.browser-spec.d.ts +1 -0
- package/lib/kbd-shortcut/variations.browser-spec.d.ts +1 -0
- package/lib/layout/variations.browser-spec.d.ts +1 -0
- package/lib/menu/variations.browser-spec.d.ts +1 -0
- package/lib/menu-item/variations.browser-spec.d.ts +1 -0
- package/lib/nav/variations.browser-spec.d.ts +1 -0
- package/lib/nav-disclosure/variations.browser-spec.d.ts +1 -0
- package/lib/nav-item/variations.browser-spec.d.ts +1 -0
- package/lib/note/variations.browser-spec.d.ts +1 -0
- package/lib/number-field/variations.browser-spec.d.ts +1 -0
- package/lib/option/variations.browser-spec.d.ts +1 -0
- package/lib/pagination/variations.browser-spec.d.ts +1 -0
- package/lib/popover/variations.browser-spec.d.ts +1 -0
- package/lib/progress/variations.browser-spec.d.ts +1 -0
- package/lib/progress-ring/variations.browser-spec.d.ts +1 -0
- package/lib/radio/variations.browser-spec.d.ts +1 -0
- package/lib/radio-group/variations.browser-spec.d.ts +1 -0
- package/lib/range-slider/variations.browser-spec.d.ts +1 -0
- package/lib/rich-text-editor/rte/features/internal/cursor-fix.d.ts +6 -1
- package/lib/rich-text-editor/variations.browser-spec.d.ts +1 -0
- package/lib/rich-text-view/variations.browser-spec.d.ts +1 -0
- package/lib/searchable-select/variations.browser-spec.d.ts +1 -0
- package/lib/select/variations.browser-spec.d.ts +1 -0
- package/lib/selectable-box/variations.browser-spec.d.ts +1 -0
- package/lib/side-drawer/variations.browser-spec.d.ts +1 -0
- package/lib/simple-color-picker/simple-color-picker.d.ts +2 -2
- package/lib/simple-color-picker/variations.browser-spec.d.ts +1 -0
- package/lib/slider/variations.browser-spec.d.ts +1 -0
- package/lib/split-button/variations.browser-spec.d.ts +1 -0
- package/lib/status/variations.browser-spec.d.ts +1 -0
- package/lib/switch/variations.browser-spec.d.ts +1 -0
- package/lib/tab/tab.d.ts +12 -12
- package/lib/table/variations.browser-spec.d.ts +1 -0
- package/lib/tabs/variations.browser-spec.d.ts +1 -0
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/variations.browser-spec.d.ts +1 -0
- package/lib/text-area/text-area.template.d.ts +1 -2
- package/lib/text-area/variations.browser-spec.d.ts +1 -0
- package/lib/text-field/variations.browser-spec.d.ts +1 -0
- package/lib/time-picker/variations.browser-spec.d.ts +1 -0
- package/lib/toggletip/variations.browser-spec.d.ts +1 -0
- package/lib/tooltip/variations.browser-spec.d.ts +1 -0
- package/lib/tree-item/variations.browser-spec.d.ts +1 -0
- package/lib/video-player/variations.browser-spec.d.ts +1 -0
- package/menu/definition.cjs +1 -1
- package/menu/definition.js +1 -1
- package/menu-item/definition.cjs +1 -1
- package/menu-item/definition.js +1 -1
- package/nav-disclosure/index.cjs +6 -6
- package/nav-disclosure/index.js +11 -15
- package/nav-item/index.cjs +2 -2
- package/nav-item/index.js +11 -15
- package/note/index.cjs +5 -5
- package/note/index.js +10 -11
- package/number-field/index.cjs +12 -12
- package/number-field/index.js +34 -35
- package/package.json +19 -10
- package/popover/index.cjs +8 -8
- package/popover/index.js +11 -15
- package/popup/definition.cjs +1 -1
- package/popup/definition.js +1 -1
- package/progress/index.cjs +8 -8
- package/progress/index.js +9 -10
- package/range-slider/index.cjs +10 -8
- package/range-slider/index.js +26 -24
- package/rich-text-editor/index.cjs +3 -3
- package/rich-text-editor/index.js +758 -747
- package/searchable-select/definition.cjs +1 -0
- package/searchable-select/definition.js +2 -2
- package/searchable-select/index.cjs +30 -27
- package/searchable-select/index.js +80 -76
- package/selectable-box/index.cjs +8 -8
- package/selectable-box/index.js +8 -9
- package/side-drawer/index.cjs +3 -3
- package/side-drawer/index.js +3 -3
- package/simple-color-picker/index.cjs +4 -4
- package/simple-color-picker/index.js +6 -6
- package/slider/definition.cjs +1 -1
- package/slider/definition.js +1 -1
- package/slider/index.cjs +1 -1
- package/slider/index.js +1 -1
- package/split-button/index.cjs +4 -4
- package/split-button/index.js +9 -9
- package/status/index.cjs +7 -5
- package/status/index.js +14 -12
- package/styles/core/all.css +5 -7
- package/styles/core/theme.css +5 -7
- package/styles/core/typography.css +0 -3
- package/styles/tokens/vivid-2-compat.css +1 -6
- package/switch/index.cjs +3 -3
- package/switch/index.js +5 -5
- package/table/index.cjs +10 -10
- package/table/index.js +12 -12
- package/tabs/index.cjs +6 -4
- package/tabs/index.js +10 -9
- package/tag/index.cjs +6 -6
- package/tag/index.js +8 -8
- package/text-area/index.cjs +8 -6
- package/text-area/index.js +20 -19
- package/unbundled/affix.cjs +2 -7
- package/unbundled/affix.js +2 -7
- package/unbundled/anchored.cjs +2 -6
- package/unbundled/anchored.js +2 -6
- package/unbundled/aria-binding-directive.cjs +1 -3
- package/unbundled/aria-binding-directive.js +1 -3
- package/unbundled/base-color-picker.cjs +18 -52
- package/unbundled/base-color-picker.js +18 -52
- package/unbundled/base-progress.cjs +4 -14
- package/unbundled/base-progress.js +4 -14
- package/unbundled/button.cjs +2 -8
- package/unbundled/button.js +2 -8
- package/unbundled/calendar-picker.template.cjs +31 -85
- package/unbundled/calendar-picker.template.js +30 -84
- package/unbundled/char-count.cjs +2 -4
- package/unbundled/char-count.js +2 -4
- package/unbundled/data-grid.options.cjs +3 -19
- package/unbundled/data-grid.options.js +3 -19
- package/unbundled/definition.cjs +3 -8
- package/unbundled/definition.js +3 -8
- package/unbundled/definition10.cjs +316 -211
- package/unbundled/definition10.js +313 -202
- package/unbundled/definition11.cjs +262 -356
- package/unbundled/definition11.js +248 -354
- package/unbundled/definition12.cjs +243 -274
- package/unbundled/definition12.js +241 -260
- package/unbundled/definition13.cjs +341 -255
- package/unbundled/definition13.js +338 -252
- package/unbundled/definition14.cjs +61 -371
- package/unbundled/definition14.js +57 -367
- package/unbundled/definition15.cjs +32 -77
- package/unbundled/definition15.js +28 -73
- package/unbundled/definition16.cjs +120 -32
- package/unbundled/definition16.js +117 -29
- package/unbundled/definition17.cjs +24 -132
- package/unbundled/definition17.js +24 -126
- package/unbundled/definition18.cjs +74 -26
- package/unbundled/definition18.js +67 -25
- package/unbundled/definition19.cjs +33 -79
- package/unbundled/definition19.js +32 -73
- package/unbundled/definition2.cjs +3 -6
- package/unbundled/definition2.js +3 -6
- package/unbundled/definition20.cjs +272 -29
- package/unbundled/definition20.js +264 -27
- package/unbundled/definition21.cjs +135 -263
- package/unbundled/definition21.js +133 -260
- package/unbundled/definition22.cjs +17 -155
- package/unbundled/definition22.js +13 -151
- package/unbundled/definition23.cjs +8 -17
- package/unbundled/definition23.js +8 -17
- package/unbundled/definition24.cjs +4 -10
- package/unbundled/definition24.js +4 -10
- package/unbundled/definition25.cjs +2 -10
- package/unbundled/definition25.js +2 -10
- package/unbundled/definition26.cjs +28 -70
- package/unbundled/definition26.js +28 -70
- package/unbundled/definition27.cjs +6 -13
- package/unbundled/definition27.js +6 -13
- package/unbundled/definition28.cjs +30 -77
- package/unbundled/definition28.js +30 -77
- package/unbundled/definition29.cjs +7 -14
- package/unbundled/definition29.js +7 -14
- package/unbundled/definition3.cjs +5 -16
- package/unbundled/definition3.js +5 -16
- package/unbundled/definition30.cjs +20 -51
- package/unbundled/definition30.js +20 -51
- package/unbundled/definition31.cjs +2 -4
- package/unbundled/definition31.js +2 -4
- package/unbundled/definition32.cjs +7 -17
- package/unbundled/definition32.js +7 -17
- package/unbundled/definition33.cjs +4 -9
- package/unbundled/definition33.js +4 -9
- package/unbundled/definition34.cjs +51 -141
- package/unbundled/definition34.js +51 -141
- package/unbundled/definition35.cjs +4 -5
- package/unbundled/definition35.js +4 -5
- package/unbundled/definition36.cjs +16 -38
- package/unbundled/definition36.js +14 -36
- package/unbundled/definition37.cjs +33 -89
- package/unbundled/definition37.js +31 -87
- package/unbundled/definition38.cjs +18 -44
- package/unbundled/definition38.js +16 -42
- package/unbundled/definition39.cjs +16 -32
- package/unbundled/definition39.js +13 -29
- package/unbundled/definition4.cjs +2 -11
- package/unbundled/definition4.js +2 -7
- package/unbundled/definition40.cjs +9 -20
- package/unbundled/definition40.js +9 -20
- package/unbundled/definition41.cjs +3 -6
- package/unbundled/definition41.js +3 -6
- package/unbundled/definition42.cjs +3 -6
- package/unbundled/definition42.js +3 -6
- package/unbundled/definition43.cjs +24 -67
- package/unbundled/definition43.js +24 -67
- package/unbundled/definition44.cjs +3 -6
- package/unbundled/definition44.js +3 -6
- package/unbundled/definition45.cjs +1 -3
- package/unbundled/definition45.js +1 -3
- package/unbundled/definition46.cjs +5 -14
- package/unbundled/definition46.js +5 -14
- package/unbundled/definition47.cjs +4 -5
- package/unbundled/definition47.js +5 -11
- package/unbundled/definition48.cjs +5 -12
- package/unbundled/definition48.js +5 -12
- package/unbundled/definition49.cjs +3 -7
- package/unbundled/definition49.js +3 -7
- package/unbundled/definition5.cjs +2 -5
- package/unbundled/definition5.js +2 -5
- package/unbundled/definition50.cjs +1 -3
- package/unbundled/definition50.js +1 -3
- package/unbundled/definition51.cjs +2 -5
- package/unbundled/definition51.js +2 -5
- package/unbundled/definition52.cjs +19 -44
- package/unbundled/definition52.js +16 -41
- package/unbundled/definition53.cjs +5 -13
- package/unbundled/definition53.js +5 -13
- package/unbundled/definition54.cjs +2 -6
- package/unbundled/definition54.js +2 -6
- package/unbundled/definition55.cjs +23 -65
- package/unbundled/definition55.js +23 -65
- package/unbundled/definition56.cjs +2 -5
- package/unbundled/definition56.js +2 -5
- package/unbundled/definition57.cjs +11 -24
- package/unbundled/definition57.js +11 -26
- package/unbundled/definition58.cjs +10 -30
- package/unbundled/definition58.js +10 -30
- package/unbundled/definition59.cjs +19 -48
- package/unbundled/definition59.js +19 -48
- package/unbundled/definition6.cjs +179 -17
- package/unbundled/definition6.js +170 -14
- package/unbundled/definition60.cjs +70 -54
- package/unbundled/definition60.js +70 -54
- package/unbundled/definition61.cjs +22 -54
- package/unbundled/definition61.js +22 -54
- package/unbundled/definition62.cjs +3 -9
- package/unbundled/definition62.js +3 -9
- package/unbundled/definition63.cjs +62 -130
- package/unbundled/definition63.js +60 -131
- package/unbundled/definition64.cjs +5 -12
- package/unbundled/definition64.js +5 -12
- package/unbundled/definition65.cjs +6 -14
- package/unbundled/definition65.js +6 -19
- package/unbundled/definition66.cjs +13 -35
- package/unbundled/definition66.js +13 -35
- package/unbundled/definition67.cjs +3 -5
- package/unbundled/definition67.js +3 -5
- package/unbundled/definition68.cjs +4 -5
- package/unbundled/definition68.js +4 -5
- package/unbundled/definition69.cjs +6 -15
- package/unbundled/definition69.js +6 -17
- package/unbundled/definition7.cjs +31 -177
- package/unbundled/definition7.js +24 -170
- package/unbundled/definition70.cjs +1 -3
- package/unbundled/definition70.js +1 -3
- package/unbundled/definition71.cjs +7 -12
- package/unbundled/definition71.js +7 -12
- package/unbundled/definition72.cjs +11 -25
- package/unbundled/definition72.js +11 -25
- package/unbundled/definition73.cjs +15 -39
- package/unbundled/definition73.js +15 -39
- package/unbundled/definition74.cjs +1 -3
- package/unbundled/definition74.js +1 -3
- package/unbundled/definition75.cjs +5 -11
- package/unbundled/definition75.js +5 -11
- package/unbundled/definition76.cjs +24 -59
- package/unbundled/definition76.js +24 -59
- package/unbundled/definition77.cjs +6 -8
- package/unbundled/definition77.js +4 -6
- package/unbundled/definition78.cjs +7 -13
- package/unbundled/definition78.js +7 -13
- package/unbundled/definition79.cjs +5 -15
- package/unbundled/definition79.js +5 -15
- package/unbundled/definition8.cjs +152 -36
- package/unbundled/definition8.js +148 -31
- package/unbundled/definition80.cjs +9 -25
- package/unbundled/definition80.js +9 -25
- package/unbundled/definition9.cjs +200 -135
- package/unbundled/definition9.js +189 -130
- package/unbundled/delegates-aria.cjs +1 -3
- package/unbundled/delegates-aria.js +1 -3
- package/unbundled/divider.cjs +2 -7
- package/unbundled/divider.js +2 -7
- package/unbundled/form-associated.cjs +20 -60
- package/unbundled/form-associated.js +20 -60
- package/unbundled/form-element.cjs +5 -15
- package/unbundled/form-element.js +5 -15
- package/unbundled/host-semantics.cjs +1 -3
- package/unbundled/host-semantics.js +1 -3
- package/unbundled/kbd-shortcut.cjs +1 -3
- package/unbundled/kbd-shortcut.js +1 -3
- package/unbundled/linkable.cjs +1 -3
- package/unbundled/linkable.js +1 -3
- package/unbundled/listbox.cjs +6 -20
- package/unbundled/listbox.js +6 -20
- package/unbundled/localized.cjs +3 -9
- package/unbundled/localized.js +3 -9
- package/unbundled/mixins.cjs +9 -25
- package/unbundled/mixins.js +9 -25
- package/unbundled/numberConverter.cjs +39 -9
- package/unbundled/numberConverter.js +39 -9
- package/unbundled/picker-field.template.cjs +16 -36
- package/unbundled/picker-field.template.js +16 -36
- package/unbundled/platform.cjs +1 -3
- package/unbundled/platform.js +1 -3
- package/unbundled/playbackRates.cjs +1 -3
- package/unbundled/playbackRates.js +1 -3
- package/unbundled/randomId.cjs +1 -3
- package/unbundled/randomId.js +1 -3
- package/unbundled/single-date-picker.cjs +6 -18
- package/unbundled/single-date-picker.js +6 -18
- package/unbundled/single-value-picker.cjs +7 -21
- package/unbundled/single-value-picker.js +7 -21
- package/unbundled/slider.template.cjs +6 -14
- package/unbundled/slider.template.js +6 -14
- package/unbundled/slottable-request.cjs +2 -6
- package/unbundled/slottable-request.js +2 -6
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +27 -79
- package/unbundled/time-selection-picker.template.js +27 -79
- package/unbundled/trapped-focus.cjs +1 -3
- package/unbundled/trapped-focus.js +1 -3
- package/unbundled/vivid-element.cjs +7 -19
- package/unbundled/vivid-element.js +7 -19
- package/unbundled/with-contextual-help.cjs +4 -13
- package/unbundled/with-contextual-help.js +4 -13
- package/unbundled/with-error-text.cjs +2 -6
- package/unbundled/with-error-text.js +2 -6
- package/unbundled/with-success-text.cjs +1 -3
- package/unbundled/with-success-text.js +1 -3
- 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/shared/color-picker/index.d.ts +0 -3
- package/shared/foundation/button/index.d.ts +0 -2
- package/shared/patterns/char-count/index.d.ts +0 -1
- package/shared/patterns/form-elements/index.d.ts +0 -4
- package/shared/patterns/index.d.ts +0 -7
|
@@ -212,9 +212,7 @@ var emitChange = (x, time) => {
|
|
|
212
212
|
composed: false
|
|
213
213
|
});
|
|
214
214
|
};
|
|
215
|
-
/**
|
|
216
|
-
* Renders a picker for hours/minutes/etc. using a listbox pattern.
|
|
217
|
-
*/
|
|
215
|
+
/** Renders a picker for hours/minutes/etc. using a listbox pattern. */
|
|
218
216
|
var renderPicker = (column) => {
|
|
219
217
|
return html`<div class="picker-wrapper">
|
|
220
218
|
<ul
|
|
@@ -310,11 +308,9 @@ __decorate([observable], InlineTimePicker.prototype, "min", void 0);
|
|
|
310
308
|
__decorate([observable], InlineTimePicker.prototype, "max", void 0);
|
|
311
309
|
//#endregion
|
|
312
310
|
//#region src/shared/picker-field/mixins/inline-time-picker/definition.ts
|
|
313
|
-
/**
|
|
314
|
-
* @internal
|
|
315
|
-
*/
|
|
311
|
+
/** @internal */
|
|
316
312
|
var inlineTimePickerDefinition = defineVividComponent("inline-time-picker", InlineTimePicker, InlineTimePickerTemplate, [], {
|
|
317
|
-
styles: ":host{display:inline-block}.time-pickers{block-size:calc(28px * var(--_inline-time-picker-num-options-visible) + 4px * (var(--_inline-time-picker-num-options-visible) - 1));justify-content:center;gap:4px;padding:4px;display:flex;overflow:hidden}.time-pickers .picker-wrapper{border-radius:4px;flex-direction:column;display:flex;position:relative}.time-pickers .picker-wrapper.focused:has(.picker:focus-visible){--focus-stroke-gap-color:transparent;--focus-inset:-2px;box-shadow:0 0 0 4px color-mix(in
|
|
313
|
+
styles: ":host{display:inline-block}.time-pickers{block-size:calc(28px * var(--_inline-time-picker-num-options-visible) + 4px * (var(--_inline-time-picker-num-options-visible) - 1));justify-content:center;gap:4px;padding:4px;display:flex;overflow:hidden}.time-pickers .picker-wrapper{border-radius:4px;flex-direction:column;display:flex;position:relative}.time-pickers .picker-wrapper.focused:has(.picker:focus-visible){--focus-stroke-gap-color:transparent;--focus-inset:-2px;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))}.time-pickers .picker{scrollbar-width:none;border-radius:4px;flex-direction:column;gap:4px;inline-size:50px;margin:0 -4px;padding:0 4px;list-style:none;display:flex;position:relative;overflow:hidden scroll}@media (hover:hover){.time-pickers .picker:hover{scrollbar-width:auto}}.time-pickers .picker:after{block-size:calc(28px * (var(--_inline-time-picker-num-options-visible) - 1) + 4px * (var(--_inline-time-picker-num-options-visible) - 1 - 1));content:\"\";flex-shrink:0;display:block}.time-pickers .picker:focus-visible{outline:none}.time-pickers .option{--_connotation-color-primary:var(--vvd-time-picker-accent-primary,var(--vvd-color-canvas-text));--_connotation-color-firm:var(--vvd-time-picker-accent-firm,var(--vvd-color-canvas-text));--_connotation-color-faint:var(--vvd-time-picker-accent-faint,var(--vvd-color-neutral-50));--_connotation-color-soft:var(--vvd-time-picker-accent-soft,var(--vvd-color-neutral-100));--_connotation-color-dim:var(--vvd-time-picker-accent-dim,var(--vvd-color-neutral-200));--_connotation-color-pale:var(--vvd-time-picker-accent-pale,var(--vvd-color-neutral-300));--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:transparent;--_appearance-color-outline:transparent}@media (hover:hover){.time-pickers .option:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:transparent}}.time-pickers .option.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:var(--_connotation-color-faint);--_appearance-color-outline:transparent}.time-pickers .option:active:where(:not(.disabled,:disabled)),.time-pickers .option.active:where(:not(.disabled,:disabled)),.time-pickers .option.selected:where(:not(.disabled,:disabled)){--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:var(--_connotation-color-soft);--_appearance-color-outline:transparent}@media (hover:hover){.time-pickers .option.selected:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:var(--_connotation-color-dim);--_appearance-color-outline:transparent}}.time-pickers .option.selected.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text:var(--_connotation-color-firm);--_appearance-color-fill:var(--_connotation-color-dim);--_appearance-color-outline:transparent}.time-pickers .option.selected:disabled,.time-pickers .option.selected.disabled{--_appearance-color-text:var(--vvd-color-neutral-300);--_appearance-color-fill:var(--vvd-color-neutral-200);--_appearance-color-outline:transparent}.time-pickers .option{background-color:var(--_appearance-color-fill);block-size:28px;color:var(--_appearance-color-text);cursor:pointer;font:var(--vvd-typography-base);border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;inline-size:50px;display:flex}.time-pickers .picker-wrapper:not(.focused) .picker:focus-visible .option.selected{--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))}",
|
|
318
314
|
shadowOptions: { delegatesFocus: true }
|
|
319
315
|
});
|
|
320
316
|
createRegisterFunction(inlineTimePickerDefinition);
|
|
@@ -367,9 +363,7 @@ var parsePresentationTime = (input, use12HourClock) => {
|
|
|
367
363
|
};
|
|
368
364
|
//#endregion
|
|
369
365
|
//#region src/shared/picker-field/mixins/time-selection-picker.ts
|
|
370
|
-
/**
|
|
371
|
-
* Mixin for pickers that allow selecting a time.
|
|
372
|
-
*/
|
|
366
|
+
/** Mixin for pickers that allow selecting a time. */
|
|
373
367
|
var TimeSelectionPicker = (Base) => {
|
|
374
368
|
class TimeSelectionPickerElement extends Base {
|
|
375
369
|
constructor(..._args) {
|
|
@@ -380,21 +374,15 @@ var TimeSelectionPicker = (Base) => {
|
|
|
380
374
|
if (this.value) this._presentationValue = this._toPresentationValue(this.value);
|
|
381
375
|
} };
|
|
382
376
|
}
|
|
383
|
-
/**
|
|
384
|
-
* @internal
|
|
385
|
-
*/
|
|
377
|
+
/** @internal */
|
|
386
378
|
get _displaySeconds() {
|
|
387
379
|
return this.secondsStep !== null;
|
|
388
380
|
}
|
|
389
|
-
/**
|
|
390
|
-
* @internal
|
|
391
|
-
*/
|
|
381
|
+
/** @internal */
|
|
392
382
|
get _use12hClock() {
|
|
393
383
|
return this.clock ? this.clock === "12h" : this.locale.timePicker.defaultTo12HourClock;
|
|
394
384
|
}
|
|
395
|
-
/**
|
|
396
|
-
* @internal
|
|
397
|
-
*/
|
|
385
|
+
/** @internal */
|
|
398
386
|
get _timePlaceholder() {
|
|
399
387
|
let format = "hh:mm";
|
|
400
388
|
if (this._displaySeconds) format += ":ss";
|
|
@@ -410,23 +398,17 @@ var TimeSelectionPicker = (Base) => {
|
|
|
410
398
|
#stopObservingClockChanges() {
|
|
411
399
|
this.#clockChangeObserver.dispose();
|
|
412
400
|
}
|
|
413
|
-
/**
|
|
414
|
-
* @internal
|
|
415
|
-
*/
|
|
401
|
+
/** @internal */
|
|
416
402
|
connectedCallback() {
|
|
417
403
|
super.connectedCallback();
|
|
418
404
|
this.#startObservingClockChanges();
|
|
419
405
|
}
|
|
420
|
-
/**
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
406
|
+
/** @internal */
|
|
423
407
|
disconnectedCallback() {
|
|
424
408
|
super.disconnectedCallback();
|
|
425
409
|
this.#stopObservingClockChanges();
|
|
426
410
|
}
|
|
427
|
-
/**
|
|
428
|
-
* @internal
|
|
429
|
-
*/
|
|
411
|
+
/** @internal */
|
|
430
412
|
_onPickerButtonClick() {
|
|
431
413
|
super._onPickerButtonClick();
|
|
432
414
|
if (this._popupOpen) {
|
|
@@ -434,15 +416,11 @@ var TimeSelectionPicker = (Base) => {
|
|
|
434
416
|
this._inlineTimePickerEl.scrollSelectedOptionsToTop();
|
|
435
417
|
}
|
|
436
418
|
}
|
|
437
|
-
/**
|
|
438
|
-
* @internal
|
|
439
|
-
*/
|
|
419
|
+
/** @internal */
|
|
440
420
|
_onInlineTimePickerChange(event) {
|
|
441
421
|
this._updateValueDueToUserInteraction(this._withUpdatedTime(event.detail), false);
|
|
442
422
|
}
|
|
443
|
-
/**
|
|
444
|
-
* @internal
|
|
445
|
-
*/
|
|
423
|
+
/** @internal */
|
|
446
424
|
_onInlineTimePickerLastColumnSelected() {
|
|
447
425
|
this._closePopup();
|
|
448
426
|
}
|
|
@@ -480,45 +458,31 @@ var ValidTimeFilter = {
|
|
|
480
458
|
* @testAction selectTime selectTime
|
|
481
459
|
*/
|
|
482
460
|
var TimePicker = class extends TimeSelectionPicker(SingleValuePicker(PickerField)) {
|
|
483
|
-
/**
|
|
484
|
-
* @internal
|
|
485
|
-
*/
|
|
461
|
+
/** @internal */
|
|
486
462
|
_toPresentationValue(value) {
|
|
487
463
|
return formatPresentationTime(value, this._displaySeconds, this._use12hClock);
|
|
488
464
|
}
|
|
489
|
-
/**
|
|
490
|
-
* @internal
|
|
491
|
-
*/
|
|
465
|
+
/** @internal */
|
|
492
466
|
_parsePresentationValue(presentationValue) {
|
|
493
467
|
return parsePresentationTime(presentationValue, this._use12hClock);
|
|
494
468
|
}
|
|
495
|
-
/**
|
|
496
|
-
* @internal
|
|
497
|
-
*/
|
|
469
|
+
/** @internal */
|
|
498
470
|
get _timeValue() {
|
|
499
471
|
return this.value;
|
|
500
472
|
}
|
|
501
|
-
/**
|
|
502
|
-
* @internal
|
|
503
|
-
*/
|
|
473
|
+
/** @internal */
|
|
504
474
|
_withUpdatedTime(timeStr) {
|
|
505
475
|
return timeStr;
|
|
506
476
|
}
|
|
507
|
-
/**
|
|
508
|
-
* @internal
|
|
509
|
-
*/
|
|
477
|
+
/** @internal */
|
|
510
478
|
get _resolvedMinTime() {
|
|
511
479
|
return this.min || null;
|
|
512
480
|
}
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
481
|
+
/** @internal */
|
|
516
482
|
get _resolvedMaxTime() {
|
|
517
483
|
return this.max || null;
|
|
518
484
|
}
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
*/
|
|
485
|
+
/** @internal */
|
|
522
486
|
minChanged(_, newMin) {
|
|
523
487
|
/* v8 ignore if -- @preserve */
|
|
524
488
|
if (this.proxy instanceof HTMLInputElement) {
|
|
@@ -526,9 +490,7 @@ var TimePicker = class extends TimeSelectionPicker(SingleValuePicker(PickerField
|
|
|
526
490
|
this.validate();
|
|
527
491
|
}
|
|
528
492
|
}
|
|
529
|
-
/**
|
|
530
|
-
* @internal
|
|
531
|
-
*/
|
|
493
|
+
/** @internal */
|
|
532
494
|
maxChanged(_, newMax) {
|
|
533
495
|
/* v8 ignore if -- @preserve */
|
|
534
496
|
if (this.proxy instanceof HTMLInputElement) {
|
|
@@ -544,28 +506,20 @@ var TimePicker = class extends TimeSelectionPicker(SingleValuePicker(PickerField
|
|
|
544
506
|
this.proxy.type = "time";
|
|
545
507
|
this.proxy.step = "1";
|
|
546
508
|
}
|
|
547
|
-
/**
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
509
|
+
/** @internal */
|
|
550
510
|
get _textFieldPlaceholder() {
|
|
551
511
|
return this._timePlaceholder;
|
|
552
512
|
}
|
|
553
|
-
/**
|
|
554
|
-
* @internal
|
|
555
|
-
*/
|
|
513
|
+
/** @internal */
|
|
556
514
|
get _pickerButtonIcon() {
|
|
557
515
|
return "clock-line";
|
|
558
516
|
}
|
|
559
|
-
/**
|
|
560
|
-
* @internal
|
|
561
|
-
*/
|
|
517
|
+
/** @internal */
|
|
562
518
|
get _pickerButtonLabel() {
|
|
563
519
|
if (this.value) return this.locale.timePicker.changeTimeLabel(this._toPresentationValue(this.value));
|
|
564
520
|
return this.locale.timePicker.chooseTimeLabel;
|
|
565
521
|
}
|
|
566
|
-
/**
|
|
567
|
-
* @internal
|
|
568
|
-
*/
|
|
522
|
+
/** @internal */
|
|
569
523
|
_onPickerButtonClick() {
|
|
570
524
|
super._onPickerButtonClick();
|
|
571
525
|
if (this._popupOpen) {
|
|
@@ -573,21 +527,15 @@ var TimePicker = class extends TimeSelectionPicker(SingleValuePicker(PickerField
|
|
|
573
527
|
this._focusableElsWithinDialog()[0]?.focus();
|
|
574
528
|
}
|
|
575
529
|
}
|
|
576
|
-
/**
|
|
577
|
-
* @internal
|
|
578
|
-
*/
|
|
530
|
+
/** @internal */
|
|
579
531
|
get _dialogLabel() {
|
|
580
532
|
return this.locale.timePicker.chooseTimeLabel;
|
|
581
533
|
}
|
|
582
|
-
/**
|
|
583
|
-
* @internal
|
|
584
|
-
*/
|
|
534
|
+
/** @internal */
|
|
585
535
|
_focusableElsWithinDialog() {
|
|
586
536
|
return this._dialogEl.querySelectorAll("#inline-time-picker, .vwc-button");
|
|
587
537
|
}
|
|
588
|
-
/**
|
|
589
|
-
* @internal
|
|
590
|
-
*/
|
|
538
|
+
/** @internal */
|
|
591
539
|
_getCustomValidationError() {
|
|
592
540
|
if (this._isPresentationValueInvalid()) return this.locale.timePicker.invalidTimeError;
|
|
593
541
|
return null;
|
|
@@ -3,9 +3,7 @@ var ignoredEvents = /* @__PURE__ */ new WeakSet();
|
|
|
3
3
|
var ignoreEventInFocusTraps = (event) => {
|
|
4
4
|
ignoredEvents.add(event);
|
|
5
5
|
};
|
|
6
|
-
/**
|
|
7
|
-
* Mixin for elements that trap focus.
|
|
8
|
-
*/
|
|
6
|
+
/** Mixin for elements that trap focus. */
|
|
9
7
|
var TrappedFocus = (Base) => {
|
|
10
8
|
class TrappedFocusElement extends Base {
|
|
11
9
|
/**
|
|
@@ -3,9 +3,7 @@ var ignoredEvents = /* @__PURE__ */ new WeakSet();
|
|
|
3
3
|
var ignoreEventInFocusTraps = (event) => {
|
|
4
4
|
ignoredEvents.add(event);
|
|
5
5
|
};
|
|
6
|
-
/**
|
|
7
|
-
* Mixin for elements that trap focus.
|
|
8
|
-
*/
|
|
6
|
+
/** Mixin for elements that trap focus. */
|
|
9
7
|
var TrappedFocus = (Base) => {
|
|
10
8
|
class TrappedFocusElement extends Base {
|
|
11
9
|
/**
|
|
@@ -7,9 +7,7 @@ function resolve(templateOrResolveFunction, ctx) {
|
|
|
7
7
|
}
|
|
8
8
|
var registeredTags = /* @__PURE__ */ new Set();
|
|
9
9
|
var tagByType = /* @__PURE__ */ new Map();
|
|
10
|
-
/**
|
|
11
|
-
* Creates a function that registers a component and its dependencies with the given prefix.
|
|
12
|
-
*/
|
|
10
|
+
/** Creates a function that registers a component and its dependencies with the given prefix. */
|
|
13
11
|
var createRegisterFunction = (definition) => (prefix = "vwc") => {
|
|
14
12
|
const prefixed = (name) => `${prefix}-${name}`;
|
|
15
13
|
const registerComponent = (componentDefinition) => {
|
|
@@ -103,9 +101,7 @@ var handleElementConnectedCallback = (element) => {
|
|
|
103
101
|
};
|
|
104
102
|
//#endregion
|
|
105
103
|
//#region src/shared/aria/aria-mixin.ts
|
|
106
|
-
/**
|
|
107
|
-
* Value properties of the ARIAMixin (see: https://www.w3.org/TR/wai-aria-1.3/#ARIAMixin) which is applied to Element.
|
|
108
|
-
*/
|
|
104
|
+
/** Value properties of the ARIAMixin (see: https://www.w3.org/TR/wai-aria-1.3/#ARIAMixin) which is applied to Element. */
|
|
109
105
|
var ariaValueProperties = [
|
|
110
106
|
"role",
|
|
111
107
|
"ariaAtomic",
|
|
@@ -154,9 +150,7 @@ var ariaValueProperties = [
|
|
|
154
150
|
* Single-element IDREF properties of the ARIAMixin
|
|
155
151
|
* Not yet supported.
|
|
156
152
|
*/
|
|
157
|
-
/**
|
|
158
|
-
* Multi-element IDREF properties of the ARIAMixin.
|
|
159
|
-
*/
|
|
153
|
+
/** Multi-element IDREF properties of the ARIAMixin. */
|
|
160
154
|
var ariaIdrefsProperties = [
|
|
161
155
|
"ariaControls",
|
|
162
156
|
"ariaDescribedBy",
|
|
@@ -172,9 +166,7 @@ var ariaProperties = [...ariaValueProperties, ...ariaIdrefsProperties];
|
|
|
172
166
|
* e.g. `ariaLabel` → `aria-label`
|
|
173
167
|
*/
|
|
174
168
|
var ariaAttributeName = (ariaPropertyName) => ariaPropertyName.replace("aria", "aria-").toLowerCase();
|
|
175
|
-
/**
|
|
176
|
-
* Mixin for all components. Declares all ARIA attributes.
|
|
177
|
-
*/
|
|
169
|
+
/** Mixin for all components. Declares all ARIA attributes. */
|
|
178
170
|
var AriaMixin = (Base) => {
|
|
179
171
|
class AriaMixinElement extends Base {
|
|
180
172
|
constructor(...args) {
|
|
@@ -201,9 +193,7 @@ var AriaMixin = (Base) => {
|
|
|
201
193
|
};
|
|
202
194
|
//#endregion
|
|
203
195
|
//#region src/shared/framework/reactive-controller.ts
|
|
204
|
-
/**
|
|
205
|
-
* Mixin implementing ReactiveControllerHost for custom elements.
|
|
206
|
-
*/
|
|
196
|
+
/** Mixin implementing ReactiveControllerHost for custom elements. */
|
|
207
197
|
var ReactiveControllerHostSupport = (Base) => {
|
|
208
198
|
class ReactiveControllerHostSupportElement extends Base {
|
|
209
199
|
#controllers = /* @__PURE__ */ new Set();
|
|
@@ -244,9 +234,7 @@ function createMetadataLocator() {
|
|
|
244
234
|
};
|
|
245
235
|
}
|
|
246
236
|
var locateReplacedPropMetadata = createMetadataLocator();
|
|
247
|
-
/**
|
|
248
|
-
* Decorator to mark a property as deprecated and replaced by another property.
|
|
249
|
-
*/
|
|
237
|
+
/** Decorator to mark a property as deprecated and replaced by another property. */
|
|
250
238
|
var replaces = (config) => ($target, $prop) => {
|
|
251
239
|
locateReplacedPropMetadata($target.constructor).push({
|
|
252
240
|
newPropertyName: $prop,
|
|
@@ -299,7 +287,7 @@ var ReplacedPropHandling = (Base) => {
|
|
|
299
287
|
*/
|
|
300
288
|
var VividElement = class extends AriaMixin(ReplacedPropHandling(ReactiveControllerHostSupport(_microsoft_fast_element.FASTElement))) {
|
|
301
289
|
static {
|
|
302
|
-
this.VIVID_VERSION = "5.23.
|
|
290
|
+
this.VIVID_VERSION = "5.23.1";
|
|
303
291
|
}
|
|
304
292
|
/**
|
|
305
293
|
* Add data-vvd-component attribute with component name globally,
|
|
@@ -6,9 +6,7 @@ function resolve(templateOrResolveFunction, ctx) {
|
|
|
6
6
|
}
|
|
7
7
|
var registeredTags = /* @__PURE__ */ new Set();
|
|
8
8
|
var tagByType = /* @__PURE__ */ new Map();
|
|
9
|
-
/**
|
|
10
|
-
* Creates a function that registers a component and its dependencies with the given prefix.
|
|
11
|
-
*/
|
|
9
|
+
/** Creates a function that registers a component and its dependencies with the given prefix. */
|
|
12
10
|
var createRegisterFunction = (definition) => (prefix = "vwc") => {
|
|
13
11
|
const prefixed = (name) => `${prefix}-${name}`;
|
|
14
12
|
const registerComponent = (componentDefinition) => {
|
|
@@ -102,9 +100,7 @@ var handleElementConnectedCallback = (element) => {
|
|
|
102
100
|
};
|
|
103
101
|
//#endregion
|
|
104
102
|
//#region src/shared/aria/aria-mixin.ts
|
|
105
|
-
/**
|
|
106
|
-
* Value properties of the ARIAMixin (see: https://www.w3.org/TR/wai-aria-1.3/#ARIAMixin) which is applied to Element.
|
|
107
|
-
*/
|
|
103
|
+
/** Value properties of the ARIAMixin (see: https://www.w3.org/TR/wai-aria-1.3/#ARIAMixin) which is applied to Element. */
|
|
108
104
|
var ariaValueProperties = [
|
|
109
105
|
"role",
|
|
110
106
|
"ariaAtomic",
|
|
@@ -153,9 +149,7 @@ var ariaValueProperties = [
|
|
|
153
149
|
* Single-element IDREF properties of the ARIAMixin
|
|
154
150
|
* Not yet supported.
|
|
155
151
|
*/
|
|
156
|
-
/**
|
|
157
|
-
* Multi-element IDREF properties of the ARIAMixin.
|
|
158
|
-
*/
|
|
152
|
+
/** Multi-element IDREF properties of the ARIAMixin. */
|
|
159
153
|
var ariaIdrefsProperties = [
|
|
160
154
|
"ariaControls",
|
|
161
155
|
"ariaDescribedBy",
|
|
@@ -171,9 +165,7 @@ var ariaProperties = [...ariaValueProperties, ...ariaIdrefsProperties];
|
|
|
171
165
|
* e.g. `ariaLabel` → `aria-label`
|
|
172
166
|
*/
|
|
173
167
|
var ariaAttributeName = (ariaPropertyName) => ariaPropertyName.replace("aria", "aria-").toLowerCase();
|
|
174
|
-
/**
|
|
175
|
-
* Mixin for all components. Declares all ARIA attributes.
|
|
176
|
-
*/
|
|
168
|
+
/** Mixin for all components. Declares all ARIA attributes. */
|
|
177
169
|
var AriaMixin = (Base) => {
|
|
178
170
|
class AriaMixinElement extends Base {
|
|
179
171
|
constructor(...args) {
|
|
@@ -200,9 +192,7 @@ var AriaMixin = (Base) => {
|
|
|
200
192
|
};
|
|
201
193
|
//#endregion
|
|
202
194
|
//#region src/shared/framework/reactive-controller.ts
|
|
203
|
-
/**
|
|
204
|
-
* Mixin implementing ReactiveControllerHost for custom elements.
|
|
205
|
-
*/
|
|
195
|
+
/** Mixin implementing ReactiveControllerHost for custom elements. */
|
|
206
196
|
var ReactiveControllerHostSupport = (Base) => {
|
|
207
197
|
class ReactiveControllerHostSupportElement extends Base {
|
|
208
198
|
#controllers = /* @__PURE__ */ new Set();
|
|
@@ -243,9 +233,7 @@ function createMetadataLocator() {
|
|
|
243
233
|
};
|
|
244
234
|
}
|
|
245
235
|
var locateReplacedPropMetadata = createMetadataLocator();
|
|
246
|
-
/**
|
|
247
|
-
* Decorator to mark a property as deprecated and replaced by another property.
|
|
248
|
-
*/
|
|
236
|
+
/** Decorator to mark a property as deprecated and replaced by another property. */
|
|
249
237
|
var replaces = (config) => ($target, $prop) => {
|
|
250
238
|
locateReplacedPropMetadata($target.constructor).push({
|
|
251
239
|
newPropertyName: $prop,
|
|
@@ -298,7 +286,7 @@ var ReplacedPropHandling = (Base) => {
|
|
|
298
286
|
*/
|
|
299
287
|
var VividElement = class extends AriaMixin(ReplacedPropHandling(ReactiveControllerHostSupport(FASTElement))) {
|
|
300
288
|
static {
|
|
301
|
-
this.VIVID_VERSION = "5.23.
|
|
289
|
+
this.VIVID_VERSION = "5.23.1";
|
|
302
290
|
}
|
|
303
291
|
/**
|
|
304
292
|
* Add data-vvd-component attribute with component name globally,
|
|
@@ -2,24 +2,15 @@ require("./chunk.cjs");
|
|
|
2
2
|
const require_decorate = require("./decorate.cjs");
|
|
3
3
|
let _microsoft_fast_element = require("@microsoft/fast-element");
|
|
4
4
|
//#region src/shared/patterns/form-elements/with-contextual-help.ts
|
|
5
|
-
/**
|
|
6
|
-
* Mixin for elements that can display optional contextual help for the label.
|
|
7
|
-
*/
|
|
5
|
+
/** Mixin for elements that can display optional contextual help for the label. */
|
|
8
6
|
var WithContextualHelp = (Base) => {
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
* @slot contextual-help - Slot for the contextual-help component, displayed next to the label.
|
|
12
|
-
*/
|
|
7
|
+
/** @slot contextual-help - Slot for the contextual-help component, displayed next to the label. */
|
|
13
8
|
class ElementWithContextualHelp extends Base {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
9
|
+
/** @internal */
|
|
17
10
|
get _hasContextualHelp() {
|
|
18
11
|
return (this._contextualHelpSlottedContent?.length ?? 0) > 0;
|
|
19
12
|
}
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
13
|
+
/** @internal */
|
|
23
14
|
_isFromContextualHelp(e) {
|
|
24
15
|
return e.composedPath().some((t) => {
|
|
25
16
|
if (t instanceof Element) return t.closest("[slot=\"contextual-help\"],[data-vvd-component=\"contextual-help\"]");
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import { t as __decorate } from "./decorate.js";
|
|
2
2
|
import { observable } from "@microsoft/fast-element";
|
|
3
3
|
//#region src/shared/patterns/form-elements/with-contextual-help.ts
|
|
4
|
-
/**
|
|
5
|
-
* Mixin for elements that can display optional contextual help for the label.
|
|
6
|
-
*/
|
|
4
|
+
/** Mixin for elements that can display optional contextual help for the label. */
|
|
7
5
|
var WithContextualHelp = (Base) => {
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
* @slot contextual-help - Slot for the contextual-help component, displayed next to the label.
|
|
11
|
-
*/
|
|
6
|
+
/** @slot contextual-help - Slot for the contextual-help component, displayed next to the label. */
|
|
12
7
|
class ElementWithContextualHelp extends Base {
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
8
|
+
/** @internal */
|
|
16
9
|
get _hasContextualHelp() {
|
|
17
10
|
return (this._contextualHelpSlottedContent?.length ?? 0) > 0;
|
|
18
11
|
}
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
12
|
+
/** @internal */
|
|
22
13
|
_isFromContextualHelp(e) {
|
|
23
14
|
return e.composedPath().some((t) => {
|
|
24
15
|
if (t instanceof Element) return t.closest("[slot=\"contextual-help\"],[data-vvd-component=\"contextual-help\"]");
|
|
@@ -2,14 +2,10 @@ require("./chunk.cjs");
|
|
|
2
2
|
const require_decorate = require("./decorate.cjs");
|
|
3
3
|
let _microsoft_fast_element = require("@microsoft/fast-element");
|
|
4
4
|
//#region src/shared/patterns/form-elements/with-error-text.ts
|
|
5
|
-
/**
|
|
6
|
-
* Mixin for elements that can display error text.
|
|
7
|
-
*/
|
|
5
|
+
/** Mixin for elements that can display error text. */
|
|
8
6
|
var WithErrorText = (Base) => {
|
|
9
7
|
class ElementWithErrorText extends Base {
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
8
|
+
/** @internal */
|
|
13
9
|
errorTextChanged(_, newErrorText) {
|
|
14
10
|
if (newErrorText) this.#forceCustomError(newErrorText);
|
|
15
11
|
else this.#clearCustomErrorAndRevalidate();
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { t as __decorate } from "./decorate.js";
|
|
2
2
|
import { attr } from "@microsoft/fast-element";
|
|
3
3
|
//#region src/shared/patterns/form-elements/with-error-text.ts
|
|
4
|
-
/**
|
|
5
|
-
* Mixin for elements that can display error text.
|
|
6
|
-
*/
|
|
4
|
+
/** Mixin for elements that can display error text. */
|
|
7
5
|
var WithErrorText = (Base) => {
|
|
8
6
|
class ElementWithErrorText extends Base {
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
7
|
+
/** @internal */
|
|
12
8
|
errorTextChanged(_, newErrorText) {
|
|
13
9
|
if (newErrorText) this.#forceCustomError(newErrorText);
|
|
14
10
|
else this.#clearCustomErrorAndRevalidate();
|
|
@@ -2,9 +2,7 @@ require("./chunk.cjs");
|
|
|
2
2
|
const require_decorate = require("./decorate.cjs");
|
|
3
3
|
let _microsoft_fast_element = require("@microsoft/fast-element");
|
|
4
4
|
//#region src/shared/patterns/form-elements/with-success-text.ts
|
|
5
|
-
/**
|
|
6
|
-
* Mixin for elements that can display a success text.
|
|
7
|
-
*/
|
|
5
|
+
/** Mixin for elements that can display a success text. */
|
|
8
6
|
var WithSuccessText = (Base) => {
|
|
9
7
|
class ElementWithSuccessText extends Base {}
|
|
10
8
|
require_decorate.__decorate([(0, _microsoft_fast_element.attr)({ attribute: "success-text" })], ElementWithSuccessText.prototype, "successText", void 0);
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { t as __decorate } from "./decorate.js";
|
|
2
2
|
import { attr } from "@microsoft/fast-element";
|
|
3
3
|
//#region src/shared/patterns/form-elements/with-success-text.ts
|
|
4
|
-
/**
|
|
5
|
-
* Mixin for elements that can display a success text.
|
|
6
|
-
*/
|
|
4
|
+
/** Mixin for elements that can display a success text. */
|
|
7
5
|
var WithSuccessText = (Base) => {
|
|
8
6
|
class ElementWithSuccessText extends Base {}
|
|
9
7
|
__decorate([attr({ attribute: "success-text" })], ElementWithSuccessText.prototype, "successText", void 0);
|