@vonage/vivid 5.18.0 → 5.19.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 +0 -1
- package/accordion/definition.js +0 -1
- package/accordion/index.cjs +2 -2
- package/accordion/index.js +3 -4
- package/accordion-item/definition.cjs +0 -1
- package/accordion-item/definition.js +0 -1
- package/accordion-item/index.cjs +1 -1
- package/accordion-item/index.js +0 -2
- package/action-group/index.cjs +4 -4
- package/action-group/index.js +7 -7
- package/alert/definition.cjs +0 -1
- package/alert/definition.js +0 -1
- package/alert/index.cjs +5 -5
- package/alert/index.js +20 -21
- package/audio-player/definition.cjs +0 -1
- package/audio-player/definition.js +0 -1
- package/audio-player/index.cjs +13 -13
- package/audio-player/index.js +76 -77
- package/avatar/definition.cjs +0 -1
- package/avatar/definition.js +0 -1
- package/avatar/index.cjs +8 -8
- package/avatar/index.js +20 -21
- package/badge/definition.cjs +0 -1
- package/badge/definition.js +0 -1
- package/badge/index.cjs +1 -1
- package/badge/index.js +0 -2
- package/banner/definition.cjs +0 -1
- package/banner/definition.js +0 -1
- package/banner/index.cjs +4 -4
- package/banner/index.js +17 -18
- package/breadcrumb/index.cjs +2 -2
- package/breadcrumb/index.js +3 -3
- package/breadcrumb-item/definition.cjs +0 -1
- package/breadcrumb-item/definition.js +0 -1
- package/breadcrumb-item/index.cjs +5 -5
- package/breadcrumb-item/index.js +7 -8
- package/bundled/affix.cjs +2 -2
- package/bundled/affix.js +1 -1
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +1 -1
- package/bundled/aria-binding-directive.cjs +1 -0
- package/bundled/aria-binding-directive.js +29 -0
- package/bundled/base-color-picker.cjs +3 -3
- package/bundled/base-color-picker.js +1 -1
- package/bundled/base-progress.cjs +1 -1
- package/bundled/base-progress.js +2 -2
- 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 +20 -20
- package/bundled/calendar-picker.template.js +10 -10
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +3 -3
- package/bundled/children.cjs +1 -1
- package/bundled/children.js +6 -6
- package/bundled/decorate.js +1 -1
- package/bundled/definition.cjs +1 -1
- package/bundled/definition.js +2 -2
- package/bundled/definition10.cjs +3 -3
- package/bundled/definition10.js +19 -19
- package/bundled/definition11.cjs +2 -2
- package/bundled/definition11.js +7 -7
- package/bundled/definition12.cjs +7 -7
- package/bundled/definition12.js +16 -16
- package/bundled/definition13.cjs +3 -3
- package/bundled/definition13.js +6 -6
- package/bundled/definition14.cjs +2 -2
- package/bundled/definition14.js +3 -3
- package/bundled/definition15.cjs +6 -6
- package/bundled/definition15.js +14 -14
- package/bundled/definition16.cjs +3 -3
- package/bundled/definition16.js +19 -19
- package/bundled/definition17.cjs +7 -7
- package/bundled/definition17.js +14 -14
- package/bundled/definition18.cjs +7 -7
- package/bundled/definition18.js +20 -20
- package/bundled/definition19.cjs +2 -2
- package/bundled/definition19.js +3 -3
- package/bundled/definition2.cjs +3 -3
- package/bundled/definition2.js +11 -11
- package/bundled/definition20.cjs +8 -8
- package/bundled/definition20.js +16 -17
- package/bundled/definition21.cjs +5 -5
- package/bundled/definition21.js +26 -26
- package/bundled/definition22.cjs +3 -3
- package/bundled/definition22.js +8 -8
- package/bundled/definition23.cjs +4 -4
- package/bundled/definition23.js +9 -9
- package/bundled/definition24.cjs +5 -5
- package/bundled/definition24.js +15 -15
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +33 -33
- package/bundled/definition4.cjs +4 -4
- package/bundled/definition4.js +11 -11
- package/bundled/definition5.cjs +5 -5
- package/bundled/definition5.js +10 -10
- package/bundled/definition6.cjs +7 -7
- package/bundled/definition6.js +30 -30
- package/bundled/definition7.cjs +2 -2
- package/bundled/definition7.js +6 -6
- package/bundled/definition8.cjs +4 -4
- package/bundled/definition8.js +15 -15
- package/bundled/definition9.cjs +2 -2
- package/bundled/definition9.js +18 -18
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +10 -49
- 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 +8 -6
- package/bundled/host-semantics.cjs +1 -1
- package/bundled/host-semantics.js +10 -39
- package/bundled/linkable.cjs +2 -2
- package/bundled/linkable.js +1 -1
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +12 -12
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +6 -6
- package/bundled/mixins.cjs +6 -6
- package/bundled/mixins.js +9 -9
- package/bundled/normalize.cjs +1 -1
- package/bundled/normalize.js +2 -2
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +24 -23
- package/bundled/ref.cjs +1 -1
- package/bundled/ref.js +1 -1
- package/bundled/repeat.cjs +1 -1
- package/bundled/repeat.js +54 -54
- package/bundled/slider.template.cjs +7 -7
- package/bundled/slider.template.js +13 -13
- package/bundled/slottable-request.cjs +1 -1
- package/bundled/slottable-request.js +1 -1
- package/bundled/slotted.cjs +1 -1
- package/bundled/slotted.js +1 -1
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +4 -4
- package/bundled/time-selection-picker.template.js +23 -23
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +21 -19
- package/bundled/when.cjs +1 -1
- package/bundled/when.js +1 -1
- 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/button/definition.cjs +0 -1
- package/button/definition.js +0 -1
- package/button/index.cjs +1 -1
- package/button/index.js +0 -2
- package/calendar/index.cjs +8 -8
- package/calendar/index.js +10 -10
- package/calendar-event/index.cjs +6 -6
- package/calendar-event/index.js +8 -8
- package/card/definition.cjs +0 -1
- package/card/definition.js +0 -1
- package/card/index.cjs +14 -14
- package/card/index.js +33 -34
- package/checkbox/definition.cjs +0 -1
- package/checkbox/definition.js +0 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +0 -2
- package/color-picker/definition.cjs +0 -1
- package/color-picker/definition.js +0 -1
- package/color-picker/index.cjs +15 -15
- package/color-picker/index.js +42 -42
- package/combobox/definition.cjs +0 -1
- package/combobox/definition.js +0 -1
- package/combobox/index.cjs +4 -4
- package/combobox/index.js +20 -21
- package/contextual-help/definition.cjs +0 -1
- package/contextual-help/definition.js +0 -1
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +0 -2
- package/country/definition.cjs +0 -1
- package/country/definition.js +0 -1
- package/country/index.cjs +1 -1
- package/country/index.js +0 -2
- package/country-group/definition.cjs +0 -1
- package/country-group/definition.js +0 -1
- package/country-group/index.cjs +4 -4
- package/country-group/index.js +29 -29
- package/custom-elements.json +2544 -2688
- package/data-grid/definition.cjs +0 -1
- package/data-grid/definition.js +0 -1
- package/data-grid/index.cjs +14 -14
- package/data-grid/index.js +103 -104
- package/date-picker/definition.cjs +0 -1
- package/date-picker/definition.js +0 -1
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -3
- package/date-range-picker/definition.cjs +0 -1
- package/date-range-picker/definition.js +0 -1
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +6 -7
- package/date-time-picker/definition.cjs +0 -1
- package/date-time-picker/definition.js +0 -1
- package/date-time-picker/index.cjs +2 -2
- package/date-time-picker/index.js +8 -9
- package/dial-pad/definition.cjs +0 -1
- package/dial-pad/definition.js +0 -1
- package/dial-pad/index.cjs +8 -8
- package/dial-pad/index.js +16 -17
- package/dialog/definition.cjs +0 -1
- package/dialog/definition.js +0 -1
- package/dialog/index.cjs +13 -10
- package/dialog/index.js +35 -33
- package/divider/index.cjs +1 -1
- package/divider/index.js +0 -1
- package/elevation/index.cjs +1 -1
- package/elevation/index.js +0 -1
- package/empty-state/definition.cjs +0 -1
- package/empty-state/definition.js +0 -1
- package/empty-state/index.cjs +4 -4
- package/empty-state/index.js +9 -10
- package/fab/definition.cjs +0 -1
- package/fab/definition.js +0 -1
- package/fab/index.cjs +3 -3
- package/fab/index.js +9 -10
- package/file-picker/definition.cjs +0 -1
- package/file-picker/definition.js +0 -1
- package/file-picker/index.cjs +7 -7
- package/file-picker/index.js +22 -23
- package/flag/definition.cjs +0 -1
- package/flag/definition.js +0 -1
- package/flag/index.cjs +3 -3
- package/flag/index.js +11 -11
- package/header/index.cjs +5 -5
- package/header/index.js +11 -11
- package/icon/definition.cjs +0 -1
- package/icon/definition.js +0 -1
- package/icon/index.cjs +1 -1
- package/icon/index.js +0 -2
- package/index.cjs +0 -1
- package/index.js +0 -1
- package/layout/index.cjs +2 -2
- package/layout/index.js +3 -3
- package/lib/avatar/avatar.d.ts +1 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/lib/button/button.d.ts +1 -1
- package/lib/card/card.d.ts +1 -1
- package/lib/nav-item/nav-item.d.ts +1 -1
- package/lib/rich-text-editor/rte/utils/ui.d.ts +2 -1
- package/locales/de-DE.cjs +1 -1
- package/locales/en-GB.cjs +1 -1
- package/locales/en-US.cjs +1 -1
- package/locales/ja-JP.cjs +1 -1
- package/locales/zh-CN.cjs +1 -1
- package/menu/definition.cjs +0 -1
- package/menu/definition.js +0 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +0 -2
- package/menu-item/definition.cjs +0 -1
- package/menu-item/definition.js +0 -1
- package/menu-item/index.cjs +1 -1
- package/menu-item/index.js +0 -2
- package/nav/index.cjs +2 -2
- package/nav/index.js +2 -2
- package/nav-disclosure/definition.cjs +0 -1
- package/nav-disclosure/definition.js +0 -1
- package/nav-disclosure/index.cjs +4 -4
- package/nav-disclosure/index.js +15 -16
- package/nav-item/definition.cjs +0 -1
- package/nav-item/definition.js +0 -1
- package/nav-item/index.cjs +2 -2
- package/nav-item/index.js +10 -11
- package/note/definition.cjs +0 -1
- package/note/definition.js +0 -1
- package/note/index.cjs +2 -2
- package/note/index.js +7 -8
- package/number-field/definition.cjs +0 -1
- package/number-field/definition.js +0 -1
- package/number-field/index.cjs +5 -5
- package/number-field/index.js +16 -17
- package/option/definition.cjs +0 -1
- package/option/definition.js +0 -1
- package/option/index.cjs +1 -1
- package/option/index.js +0 -2
- package/package.json +22 -22
- package/pagination/definition.cjs +0 -1
- package/pagination/definition.js +0 -1
- package/pagination/index.cjs +4 -4
- package/pagination/index.js +11 -12
- package/popover/definition.cjs +0 -1
- package/popover/definition.js +0 -1
- package/popover/index.cjs +6 -6
- package/popover/index.js +28 -29
- package/popup/definition.cjs +0 -1
- package/popup/definition.js +0 -1
- package/popup/index.cjs +1 -1
- package/popup/index.js +0 -2
- package/progress/index.cjs +5 -5
- package/progress/index.js +10 -10
- package/progress-ring/index.cjs +1 -1
- package/progress-ring/index.js +0 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +0 -1
- package/radio-group/definition.cjs +0 -1
- package/radio-group/definition.js +0 -1
- package/radio-group/index.cjs +6 -6
- package/radio-group/index.js +21 -21
- package/range-slider/definition.cjs +0 -1
- package/range-slider/definition.js +0 -1
- package/range-slider/index.cjs +5 -5
- package/range-slider/index.js +58 -59
- package/rich-text-editor/definition.cjs +0 -1
- package/rich-text-editor/definition.js +0 -1
- package/rich-text-editor/index.cjs +9 -9
- package/rich-text-editor/index.js +2016 -1947
- package/rich-text-view/index.cjs +1 -1
- package/rich-text-view/index.js +2 -2
- package/searchable-select/definition.cjs +0 -1
- package/searchable-select/definition.js +0 -1
- package/searchable-select/index.cjs +23 -23
- package/searchable-select/index.js +109 -108
- package/select/definition.cjs +0 -1
- package/select/definition.js +0 -1
- package/select/index.cjs +1 -1
- package/select/index.js +0 -2
- package/selectable-box/definition.cjs +0 -1
- package/selectable-box/definition.js +0 -1
- package/selectable-box/index.cjs +9 -9
- package/selectable-box/index.js +19 -20
- package/shared/aria/aria-binding-directive.d.ts +21 -0
- package/shared/aria/aria-change-subscription.d.ts +1 -0
- package/shared/aria/delegates-aria.d.ts +1 -1
- package/shared/aria/host-semantics.d.ts +1 -1
- package/shared/patterns/linkable.d.ts +1 -1
- package/side-drawer/index.cjs +3 -3
- package/side-drawer/index.js +4 -4
- package/simple-color-picker/definition.cjs +0 -1
- package/simple-color-picker/definition.js +0 -1
- package/simple-color-picker/index.cjs +2 -2
- package/simple-color-picker/index.js +19 -20
- package/slider/definition.cjs +0 -1
- package/slider/definition.js +0 -1
- package/slider/index.cjs +1 -1
- package/slider/index.js +0 -2
- package/split-button/definition.cjs +0 -1
- package/split-button/definition.js +0 -1
- package/split-button/index.cjs +6 -6
- package/split-button/index.js +17 -18
- package/status/definition.cjs +0 -1
- package/status/definition.js +0 -1
- package/status/index.cjs +2 -2
- package/status/index.js +8 -9
- package/switch/definition.cjs +0 -1
- package/switch/definition.js +0 -1
- package/switch/index.cjs +5 -5
- package/switch/index.js +9 -10
- package/tab/definition.cjs +0 -1
- package/tab/definition.js +0 -1
- package/tab/index.cjs +1 -1
- package/tab/index.js +0 -2
- package/tab-panel/index.cjs +1 -1
- package/tab-panel/index.js +0 -1
- package/table/definition.cjs +0 -1
- package/table/definition.js +0 -1
- package/table/index.cjs +9 -9
- package/table/index.js +21 -22
- package/tabs/definition.cjs +0 -1
- package/tabs/definition.js +0 -1
- package/tabs/index.cjs +2 -2
- package/tabs/index.js +25 -26
- package/tag/definition.cjs +0 -1
- package/tag/definition.js +0 -1
- package/tag/index.cjs +11 -11
- package/tag/index.js +21 -22
- package/tag-group/index.cjs +4 -4
- package/tag-group/index.js +6 -6
- package/text-area/definition.cjs +0 -1
- package/text-area/definition.js +0 -1
- package/text-area/index.cjs +4 -4
- package/text-area/index.js +24 -25
- package/text-field/definition.cjs +0 -1
- package/text-field/definition.js +0 -1
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +0 -2
- package/time-picker/definition.cjs +0 -1
- package/time-picker/definition.js +0 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +2 -3
- package/toggletip/definition.cjs +0 -1
- package/toggletip/definition.js +0 -1
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +0 -2
- package/tooltip/definition.cjs +0 -1
- package/tooltip/definition.js +0 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +0 -2
- package/tree-item/definition.cjs +0 -1
- package/tree-item/definition.js +0 -1
- package/tree-item/index.cjs +1 -1
- package/tree-item/index.js +0 -2
- package/tree-view/definition.cjs +0 -1
- package/tree-view/definition.js +0 -1
- package/tree-view/index.cjs +2 -2
- package/tree-view/index.js +5 -5
- package/unbundled/aria-binding-directive.cjs +42 -0
- package/unbundled/aria-binding-directive.js +36 -0
- package/unbundled/calendar-picker.template.cjs +1 -1
- package/unbundled/calendar-picker.template.js +1 -1
- package/unbundled/char-count.cjs +2 -1
- package/unbundled/char-count.js +2 -1
- package/unbundled/decorate.cjs +1 -1
- package/unbundled/decorate.js +1 -1
- package/unbundled/definition.js +1 -1
- package/unbundled/definition10.cjs +5 -4
- package/unbundled/definition10.js +6 -5
- package/unbundled/definition11.cjs +14 -10
- package/unbundled/definition11.js +15 -11
- package/unbundled/definition12.cjs +2 -2
- package/unbundled/definition12.js +3 -3
- package/unbundled/definition13.cjs +7 -6
- package/unbundled/definition13.js +8 -7
- package/unbundled/definition14.cjs +67 -58
- package/unbundled/definition14.js +68 -59
- package/unbundled/definition15.js +1 -1
- package/unbundled/definition16.js +1 -1
- package/unbundled/definition17.cjs +10 -8
- package/unbundled/definition17.js +11 -9
- package/unbundled/definition18.js +1 -1
- package/unbundled/definition19.js +1 -1
- package/unbundled/definition2.cjs +4 -2
- package/unbundled/definition2.js +5 -3
- package/unbundled/definition20.js +1 -1
- package/unbundled/definition21.js +1 -1
- package/unbundled/definition22.js +1 -1
- package/unbundled/definition23.cjs +1 -1
- package/unbundled/definition23.js +2 -2
- package/unbundled/definition24.cjs +17 -13
- package/unbundled/definition24.js +18 -14
- package/unbundled/definition25.js +1 -1
- package/unbundled/definition26.cjs +17 -1
- package/unbundled/definition26.js +18 -2
- package/unbundled/definition27.cjs +15 -12
- package/unbundled/definition27.js +16 -13
- package/unbundled/definition28.cjs +9 -6
- package/unbundled/definition28.js +10 -7
- package/unbundled/definition29.js +1 -1
- package/unbundled/definition3.js +1 -1
- package/unbundled/definition30.cjs +4 -2
- package/unbundled/definition30.js +5 -3
- package/unbundled/definition31.js +1 -1
- package/unbundled/definition32.cjs +30 -23
- package/unbundled/definition32.js +31 -24
- package/unbundled/definition33.cjs +4 -2
- package/unbundled/definition33.js +5 -3
- package/unbundled/definition34.cjs +200 -48
- package/unbundled/definition34.js +201 -49
- package/unbundled/definition35.js +1 -1
- package/unbundled/definition36.js +1 -1
- package/unbundled/definition37.js +1 -1
- package/unbundled/definition38.cjs +2 -1
- package/unbundled/definition38.js +3 -2
- package/unbundled/definition39.js +1 -1
- package/unbundled/definition4.cjs +6 -0
- package/unbundled/definition4.js +7 -1
- package/unbundled/definition40.js +1 -1
- package/unbundled/definition41.cjs +17 -12
- package/unbundled/definition41.js +18 -13
- package/unbundled/definition42.js +1 -1
- package/unbundled/definition43.js +1 -1
- package/unbundled/definition44.cjs +4 -3
- package/unbundled/definition44.js +5 -4
- package/unbundled/definition45.js +1 -1
- package/unbundled/definition46.js +1 -1
- package/unbundled/definition47.cjs +5 -4
- package/unbundled/definition47.js +6 -5
- package/unbundled/definition48.cjs +1 -1
- package/unbundled/definition48.js +2 -2
- package/unbundled/definition49.js +1 -1
- package/unbundled/definition5.js +1 -1
- package/unbundled/definition50.js +1 -1
- package/unbundled/definition51.cjs +1 -1
- package/unbundled/definition51.js +2 -2
- package/unbundled/definition52.js +1 -1
- package/unbundled/definition53.cjs +16 -12
- package/unbundled/definition53.js +17 -13
- package/unbundled/definition54.js +1 -1
- package/unbundled/definition55.cjs +25 -23
- package/unbundled/definition55.js +26 -24
- package/unbundled/definition56.cjs +2 -1
- package/unbundled/definition56.js +3 -2
- package/unbundled/definition57.cjs +72 -61
- package/unbundled/definition57.js +73 -62
- package/unbundled/definition58.cjs +34 -26
- package/unbundled/definition58.js +34 -26
- package/unbundled/definition59.cjs +1 -1
- package/unbundled/definition59.js +2 -2
- package/unbundled/definition6.js +1 -1
- package/unbundled/definition60.js +1 -1
- package/unbundled/definition61.cjs +15 -10
- package/unbundled/definition61.js +16 -11
- package/unbundled/definition62.js +1 -1
- package/unbundled/definition63.js +1 -1
- package/unbundled/definition64.cjs +20 -17
- package/unbundled/definition64.js +21 -18
- package/unbundled/definition65.js +1 -1
- package/unbundled/definition66.js +1 -1
- package/unbundled/definition67.cjs +1 -1
- package/unbundled/definition67.js +2 -2
- package/unbundled/definition68.js +1 -1
- package/unbundled/definition69.js +1 -1
- package/unbundled/definition7.js +1 -1
- package/unbundled/definition70.cjs +28 -23
- package/unbundled/definition70.js +29 -24
- package/unbundled/definition71.js +1 -1
- package/unbundled/definition72.cjs +6 -5
- package/unbundled/definition72.js +7 -6
- package/unbundled/definition73.cjs +13 -1
- package/unbundled/definition73.js +14 -2
- package/unbundled/definition74.js +1 -1
- package/unbundled/definition75.js +1 -1
- package/unbundled/definition76.cjs +2 -1
- package/unbundled/definition76.js +3 -2
- package/unbundled/definition77.cjs +1 -1
- package/unbundled/definition77.js +1 -1
- package/unbundled/definition8.js +1 -1
- package/unbundled/definition9.cjs +9 -7
- package/unbundled/definition9.js +10 -8
- package/unbundled/delegates-aria.cjs +5 -60
- package/unbundled/delegates-aria.js +6 -60
- package/unbundled/divider.cjs +6 -0
- package/unbundled/divider.js +6 -0
- package/unbundled/form-element.cjs +7 -5
- package/unbundled/form-element.js +7 -5
- package/unbundled/host-semantics.cjs +10 -45
- package/unbundled/host-semantics.js +10 -44
- package/unbundled/mixins.js +1 -1
- package/unbundled/picker-field.template.cjs +20 -15
- package/unbundled/picker-field.template.js +20 -15
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +4 -3
- package/unbundled/time-selection-picker.template.js +5 -4
- package/unbundled/vivid-element.cjs +10 -1
- package/unbundled/vivid-element.js +5 -2
- package/video-player/index.cjs +24 -24
- package/video-player/index.js +3087 -3010
- package/visually-hidden/index.cjs +1 -1
- package/visually-hidden/index.js +0 -1
- package/vivid.api.json +1 -1
- package/bundled/attribute-binding-behaviour.cjs +0 -1
- package/bundled/attribute-binding-behaviour.js +0 -18
- package/bundled/strings.cjs +0 -1
- package/bundled/strings.js +0 -7
- package/shared/aria/delegate-aria-behavior.d.ts +0 -23
- package/shared/aria/host-semantics-behavior.d.ts +0 -19
- package/shared/templating/attribute-binding-behaviour.d.ts +0 -14
- package/unbundled/attribute-binding-behaviour.cjs +0 -37
- package/unbundled/attribute-binding-behaviour.js +0 -31
package/breadcrumb/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, c as t, f as n, s as r, t as i } from "../bundled/vivid-element.js";
|
|
2
2
|
import { r as a, t as o } from "../bundled/slotted.js";
|
|
3
3
|
import { t as s } from "../bundled/decorate.js";
|
|
4
4
|
import { n as c, t as l } from "../bundled/delegates-aria.js";
|
|
5
5
|
import { t as u } from "../bundled/breadcrumb-item.js";
|
|
6
6
|
//#region src/lib/breadcrumb/breadcrumb.template.ts
|
|
7
|
-
var d =
|
|
7
|
+
var d = n`
|
|
8
8
|
<nav
|
|
9
9
|
class="base"
|
|
10
10
|
${c({ ariaLabel: (e) => e.ariaLabel || "breadcrumbs" })}
|
|
@@ -39,5 +39,5 @@ var d = t`
|
|
|
39
39
|
};
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/lib/breadcrumb/index.ts
|
|
42
|
-
s([e], p.prototype, "slottedBreadcrumbItems", void 0), r(
|
|
42
|
+
s([e], p.prototype, "slottedBreadcrumbItems", void 0), t(r("breadcrumb", p, d, [], { styles: f }))();
|
|
43
43
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../unbundled/numberConverter.cjs");
|
|
3
2
|
const require_definition = require("../unbundled/definition18.cjs");
|
|
4
3
|
const require_breadcrumb_item = require("../unbundled/breadcrumb-item.cjs");
|
|
5
4
|
exports.VwcBreadcrumbItemElement = require_breadcrumb_item.BreadcrumbItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../unbundled/numberConverter.js";
|
|
2
1
|
import { n as registerBreadcrumbItem, t as breadcrumbItemDefinition } from "../unbundled/definition18.js";
|
|
3
2
|
import { t as BreadcrumbItem } from "../unbundled/breadcrumb-item.js";
|
|
4
3
|
export { BreadcrumbItem as VwcBreadcrumbItemElement, breadcrumbItemDefinition, registerBreadcrumbItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`)
|
|
2
|
-
${t.t(e=>e.text&&!e.href,e.
|
|
3
|
-
${t.t(e=>e.text&&e.href&&e.href.length>0,e.
|
|
4
|
-
${t.t(e=>e.separator,e.
|
|
5
|
-
</div>`},[n.t],{styles:a,shadowOptions:{delegatesFocus:!0}});e.
|
|
1
|
+
const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`),n=require(`../bundled/definition2.cjs`),r=require(`../bundled/class-names.cjs`),i=require(`../bundled/breadcrumb-item.cjs`);var a=`.base{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base);align-items:center;display:flex}.base .separator{color:var(--vvd-color-neutral-600);margin:0 16px;font-size:12px}.control{font:inherit}.control:focus-visible{outline:none;position:relative}.control:focus-visible:after{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));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:"";inline-size:calc(100% + var(--focus-block-size-addition,4px));--focus-stroke-gap-color:transparent;--focus-block-size-addition:8px;--focus-border-radius:4px;display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control:any-link{color:var(--vvd-color-cta-600);text-decoration:none}@media (hover:hover){.control:any-link:hover{text-decoration:underline}}`,o=e=>r.t(`base`),s=e.s(`breadcrumb-item`,i.t,r=>{let i=r.tagFor(n.r);return e.f` <div role="listitem" class="${o}">
|
|
2
|
+
${t.t(e=>e.text&&!e.href,e.f`${e=>e.text}`)}
|
|
3
|
+
${t.t(e=>e.text&&e.href&&e.href.length>0,e.f`${t=>t._renderLinkElement(e.f`${e=>e.text}`,`control`)}`)}
|
|
4
|
+
${t.t(e=>e.separator,e.f`<${i} class="separator" name="chevron-right-solid"></${i}>`)}
|
|
5
|
+
</div>`},[n.t],{styles:a,shadowOptions:{delegatesFocus:!0}});e.c(s)();
|
package/breadcrumb-item/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as e, f as t, s as n } from "../bundled/vivid-element.js";
|
|
2
2
|
import { t as r } from "../bundled/when.js";
|
|
3
|
-
import "../bundled/numberConverter.js";
|
|
4
3
|
import { r as i, t as a } from "../bundled/definition2.js";
|
|
5
4
|
import { t as o } from "../bundled/class-names.js";
|
|
6
5
|
import { t as s } from "../bundled/breadcrumb-item.js";
|
|
@@ -8,12 +7,12 @@ import { t as s } from "../bundled/breadcrumb-item.js";
|
|
|
8
7
|
var c = ".base{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base);align-items:center;display:flex}.base .separator{color:var(--vvd-color-neutral-600);margin:0 16px;font-size:12px}.control{font:inherit}.control:focus-visible{outline:none;position:relative}.control:focus-visible:after{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));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:\"\";inline-size:calc(100% + var(--focus-block-size-addition,4px));--focus-stroke-gap-color:transparent;--focus-block-size-addition:8px;--focus-border-radius:4px;display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control:any-link{color:var(--vvd-color-cta-600);text-decoration:none}@media (hover:hover){.control:any-link:hover{text-decoration:underline}}", l = (e) => o("base");
|
|
9
8
|
//#endregion
|
|
10
9
|
//#region src/lib/breadcrumb-item/index.ts
|
|
11
|
-
n(
|
|
12
|
-
let n =
|
|
13
|
-
return
|
|
14
|
-
${r((e) => e.text && !e.href,
|
|
15
|
-
${r((e) => e.text && e.href && e.href.length > 0,
|
|
16
|
-
${r((e) => e.separator,
|
|
10
|
+
e(n("breadcrumb-item", s, (e) => {
|
|
11
|
+
let n = e.tagFor(i);
|
|
12
|
+
return t` <div role="listitem" class="${l}">
|
|
13
|
+
${r((e) => e.text && !e.href, t`${(e) => e.text}`)}
|
|
14
|
+
${r((e) => e.text && e.href && e.href.length > 0, t`${(e) => e._renderLinkElement(t`${(e) => e.text}`, "control")}`)}
|
|
15
|
+
${r((e) => e.separator, t`<${n} class="separator" name="chevron-right-solid"></${n}>`)}
|
|
17
16
|
</div>`;
|
|
18
17
|
}, [a], {
|
|
19
18
|
styles: c,
|
package/bundled/affix.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`),r=require(`./definition2.cjs`);var i=t=>{class r extends t{}return n.t([e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`),r=require(`./definition2.cjs`);var i=t=>{class r extends t{}return n.t([e.u],r.prototype,`icon`,void 0),n.t([e.D],r.prototype,`iconSlottedContent`,void 0),r},a=t=>{class r extends i(t){constructor(...e){super(...e),this.iconTrailing=!1}}return n.t([e.u({mode:`boolean`,attribute:`icon-trailing`})],r.prototype,`iconTrailing`,void 0),r},o={Slot:!1,Span:!0},s={Hidden:`true`,Visible:`false`},c=n=>{let i=n.tagFor(r.r);return(n,r=o.Span,a=s.Hidden,c={label:``,announceOnUpdate:!1})=>{if(!n&&!r)return e.f`<slot
|
|
2
2
|
name="icon"
|
|
3
3
|
aria-hidden="${()=>a}"
|
|
4
4
|
${t.t(`iconSlottedContent`)}
|
|
5
|
-
></slot>`;if(!n&&r)return null;let l=e.
|
|
5
|
+
></slot>`;if(!n&&r)return null;let l=e.f`<${i} :name="${()=>n}" :label="${()=>c?.label||void 0}"></${i}>`,u=e.f.partial(r?`span`:`slot`);return e.f`<${u}
|
|
6
6
|
class="${()=>r?`icon`:void 0}"
|
|
7
7
|
:name="${()=>r?void 0:`icon`}"
|
|
8
8
|
aria-hidden="${()=>c?.label?!1:a}"
|
package/bundled/affix.js
CHANGED
package/bundled/anchored.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`);var r=t=>{class r extends t{anchorChanged(){this.#e()}_slottedAnchorChanged(){let t=!!(this._slottedAnchor&&this._slottedAnchor.length>0);e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`);var r=t=>{class r extends t{anchorChanged(){this.#e()}_slottedAnchorChanged(){let t=!!(this._slottedAnchor&&this._slottedAnchor.length>0);e.j.setBooleanAttribute(this,`slotted-anchor`,t),this.#e()}#e=()=>{if(!this.isConnected){this._anchorEl=void 0;return}this.#r();let e;this._slottedAnchor&&this._slottedAnchor.length>0?e=this._slottedAnchor[0]:this.anchor instanceof HTMLElement?e=this.anchor:typeof this.anchor==`string`&&(e=document.getElementById(this.anchor)??void 0,e||this.#n(this.anchor)),this._anchorEl=e};#t;#n=e=>{this.#t=new MutationObserver(()=>{let t=document.getElementById(e);t&&(this._anchorEl=t,this.#r())}),this.#t.observe(document.body,{childList:!0,subtree:!0})};#r=()=>{this.#t?.disconnect(),this.#t=void 0};connectedCallback(){super.connectedCallback(),this.#e()}disconnectedCallback(){super.disconnectedCallback(),this.#r(),this._anchorEl=void 0}}return n.t([e.u],r.prototype,`anchor`,void 0),n.t([e.D],r.prototype,`_slottedAnchor`,void 0),n.t([e.D],r.prototype,`_anchorEl`,void 0),r},i=()=>e.f`<slot
|
|
2
2
|
name="anchor"
|
|
3
3
|
${t.t(`_slottedAnchor`)}
|
|
4
4
|
></slot>`;Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
package/bundled/anchored.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./vivid-element.cjs`);var t=0;function n(e=``){return`${e}${t++}`}var r=(t,n,r)=>e.j.setAttribute(t,e.r(n),r===!1?null:r),i=class extends e._{get propertyBindingBehaviours(){return this._propertyBindingBehaviours||=Object.entries(this.options.boundProperties).map(([t,r])=>{let i=new e.p(e.C(r instanceof Function?r:()=>r));return i.id=n(),i.targetNodeId=this.targetNodeId,i.policy=this.policy,e.g.assignAspect(i,e.r(t)),i.createBehavior()}),this._propertyBindingBehaviours}bind(t){let n=t.source,i=t.targets[this.targetNodeId];if(this.options.requireHost&&i!==n)throw Error(`Target element must be the same as the source element`);for(let e of this.propertyBindingBehaviours)e.bind(t);for(let e of this.options.forwardedProperties)r(i,e,n[e]);let a=(e,t)=>{this.options.forwardedProperties.has(t)&&r(i,t,e[t])};e.a(n,a),t.onUnbind({unbind:()=>e.o(n,a)})}};e.g.define(i),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { C as e, _ as t, a as n, g as r, j as i, o as a, p as o, r as s } from "./vivid-element.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@microsoft+fast-web-utilities@6.0.0/node_modules/@microsoft/fast-web-utilities/dist/strings.js
|
|
3
|
+
var c = 0;
|
|
4
|
+
function l(e = "") {
|
|
5
|
+
return `${e}${c++}`;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/shared/aria/aria-binding-directive.ts
|
|
9
|
+
var u = (e, t, n) => i.setAttribute(e, s(t), n === !1 ? null : n), d = class extends t {
|
|
10
|
+
get propertyBindingBehaviours() {
|
|
11
|
+
return this._propertyBindingBehaviours ||= Object.entries(this.options.boundProperties).map(([t, n]) => {
|
|
12
|
+
let i = new o(e(n instanceof Function ? n : () => n));
|
|
13
|
+
return i.id = l(), i.targetNodeId = this.targetNodeId, i.policy = this.policy, r.assignAspect(i, s(t)), i.createBehavior();
|
|
14
|
+
}), this._propertyBindingBehaviours;
|
|
15
|
+
}
|
|
16
|
+
bind(e) {
|
|
17
|
+
let t = e.source, r = e.targets[this.targetNodeId];
|
|
18
|
+
if (this.options.requireHost && r !== t) throw Error("Target element must be the same as the source element");
|
|
19
|
+
for (let t of this.propertyBindingBehaviours) t.bind(e);
|
|
20
|
+
for (let e of this.options.forwardedProperties) u(r, e, t[e]);
|
|
21
|
+
let i = (e, t) => {
|
|
22
|
+
this.options.forwardedProperties.has(t) && u(r, t, e[t]);
|
|
23
|
+
};
|
|
24
|
+
n(t, i), e.onUnbind({ unbind: () => a(t, i) });
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
r.define(d);
|
|
28
|
+
//#endregion
|
|
29
|
+
export { l as n, d as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`./when.cjs`),r=require(`./decorate.cjs`),i=require(`./form-element.cjs`),a=require(`./class-names.cjs`),o=require(`./form-associated.cjs`);function s(e){if(!e)return null;let t=e.trim().replace(/^#/,``);return/^[0-9a-fA-F]{3}$/.test(t)?t.split(``).map(e=>e+e).join(``).toLowerCase():/^[0-9a-fA-F]{6}$/.test(t)?t.toLowerCase():null}function c(e){return s(e)!==null}function l(e){let t=s(e);if(!t)return 0;let n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,c=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*c}function u(e,t){let n=l(e),r=l(t),i=Math.max(n,r),a=Math.min(n,r);return(i+.05)/(a+.05)}function d(e,t){return t||=document.querySelector(`.vvd-root`)||document.documentElement,getComputedStyle(t).getPropertyValue(e).trim()}var f=s=>{class c extends e.t(i.t(o.n(s))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.open=!1,this.swatches=[],this._canvasColor=``}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{this._refreshCanvasColor()})}get _computedCanvasColor(){return this._canvasColor||=d(`--vvd-color-canvas`,this),this._canvasColor}_refreshCanvasColor(){this._canvasColor=d(`--vvd-color-canvas`,this)}_applyContrastClass(e,t=3){if(!e)return!1;let n=this._computedCanvasColor;return n?u(e,n)<t:!1}_getRowLength(){return 7}_handleSwatchSelection(e){this.value===e?this.value=``:this.value=e,this.$emit(`change`),this.open=!1}_handleColorSaving(){}_getFocusReturnEl(){return null}_returnFocusToAnchor(){let e=this._getFocusReturnEl();e&&t.
|
|
1
|
+
const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`./when.cjs`),r=require(`./decorate.cjs`),i=require(`./form-element.cjs`),a=require(`./class-names.cjs`),o=require(`./form-associated.cjs`);function s(e){if(!e)return null;let t=e.trim().replace(/^#/,``);return/^[0-9a-fA-F]{3}$/.test(t)?t.split(``).map(e=>e+e).join(``).toLowerCase():/^[0-9a-fA-F]{6}$/.test(t)?t.toLowerCase():null}function c(e){return s(e)!==null}function l(e){let t=s(e);if(!t)return 0;let n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,c=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*c}function u(e,t){let n=l(e),r=l(t),i=Math.max(n,r),a=Math.min(n,r);return(i+.05)/(a+.05)}function d(e,t){return t||=document.querySelector(`.vvd-root`)||document.documentElement,getComputedStyle(t).getPropertyValue(e).trim()}var f=s=>{class c extends e.t(i.t(o.n(s))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.open=!1,this.swatches=[],this._canvasColor=``}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{this._refreshCanvasColor()})}get _computedCanvasColor(){return this._canvasColor||=d(`--vvd-color-canvas`,this),this._canvasColor}_refreshCanvasColor(){this._canvasColor=d(`--vvd-color-canvas`,this)}_applyContrastClass(e,t=3){if(!e)return!1;let n=this._computedCanvasColor;return n?u(e,n)<t:!1}_getRowLength(){return 7}_handleSwatchSelection(e){this.value===e?this.value=``:this.value=e,this.$emit(`change`),this.open=!1}_handleColorSaving(){}_getFocusReturnEl(){return null}_returnFocusToAnchor(){let e=this._getFocusReturnEl();e&&t.A.enqueue(()=>e.focus())}_getGridCells(){let e=this.shadowRoot?.querySelector(`[role="grid"]`);return e?Array.from(e.querySelectorAll(`[role="gridcell"], [data-vvd-role="gridcell"]`)):[]}_handleCellKeydown(e,t,n,r){let i=this._getRowLength(),a=this._getGridCells().length,o=Math.floor(n/i),s=n%i,c=Math.ceil(a/i);switch(e.key){case`ArrowRight`:return s<i-1&&n+1<a&&this._focusSwatchByIndex(n+1),!1;case`ArrowLeft`:return s>0&&this._focusSwatchByIndex(n-1),!1;case`ArrowDown`:return o<c-1&&n+i<a&&this._focusSwatchByIndex(n+i),!1;case`ArrowUp`:return o>0&&this._focusSwatchByIndex(n-i),!1;case`PageDown`:{let e=(c-1)*i,t=Math.min(e+s,a-1);return n!==t&&this._focusSwatchByIndex(t),!1}case`PageUp`:{let e=Math.min(s,a-1);return n!==e&&this._focusSwatchByIndex(e),!1}case`Home`:return e.ctrlKey?this._focusSwatchByIndex(0):this._focusSwatchByIndex(o*i),!1;case`End`:if(e.ctrlKey)this._focusSwatchByIndex(a-1);else{let e=Math.min((o+1)*i-1,a-1);this._focusSwatchByIndex(e)}return!1;case`Enter`:case` `:return r&&this._handleColorSaving(),t&&!r&&(this._handleSwatchSelection(t),this._returnFocusToAnchor()),!1;case`Escape`:return this.open=!1,this._returnFocusToAnchor(),!1;case`Tab`:return this.open=!1,!0;default:return!0}}_focusSwatchByIndex(e){let t=this._getGridCells();e<0||e>=t.length||t[e]?.focus()}_renderColorSwatch(e,r){return t.f`
|
|
2
2
|
<${r} placement="top"
|
|
3
3
|
text="${e=>e.label??e.value}"
|
|
4
4
|
exportparts="vvd-theme-alternate">
|
|
@@ -12,7 +12,7 @@ const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`.
|
|
|
12
12
|
@click="${(e,t)=>t.parent._handleSwatchSelection(e.value)}"
|
|
13
13
|
@keydown="${(e,t)=>t.parent._handleCellKeydown(t.event,e.value,t.index)}"
|
|
14
14
|
>
|
|
15
|
-
${n.t((e,t)=>t.parent.value===e.value,t.
|
|
15
|
+
${n.t((e,t)=>t.parent.value===e.value,t.f`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
|
|
16
16
|
</button>
|
|
17
17
|
</${r}>
|
|
18
|
-
`}}return r.t([t.
|
|
18
|
+
`}}return r.t([t.u({mode:`boolean`})],c.prototype,`open`,void 0),r.t([t.D],c.prototype,`swatches`,void 0),r.t([t.D],c.prototype,`_canvasColor`,void 0),c};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./localized.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as t, D as n, f as r, u as i } from "./vivid-element.js";
|
|
3
3
|
import { t as a } from "./when.js";
|
|
4
4
|
import { t as o } from "./decorate.js";
|
|
5
5
|
import { t as s } from "./form-element.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`);var n=class extends e.t{constructor(...e){super(...e),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){let e=typeof this.min==`number`?this.min:0,t=typeof this.max==`number`?this.max:100,n=typeof this.value==`number`?this.value:0,r=t-e;this.percentComplete=r===0?0:Math.fround((n-e)/r*100)}};t.t([e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`);var n=class extends e.t{constructor(...e){super(...e),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){let e=typeof this.min==`number`?this.min:0,t=typeof this.max==`number`?this.max:100,n=typeof this.value==`number`?this.value:0,r=t-e;this.percentComplete=r===0?0:Math.fround((n-e)/r*100)}};t.t([e.u({converter:e.d})],n.prototype,`value`,void 0),t.t([e.u({converter:e.d})],n.prototype,`min`,void 0),t.t([e.u({converter:e.d})],n.prototype,`max`,void 0),t.t([e.u({mode:`boolean`})],n.prototype,`paused`,void 0),t.t([e.D],n.prototype,`percentComplete`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
package/bundled/base-progress.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, d as t, t as n, u as r } from "./vivid-element.js";
|
|
2
2
|
import { t as i } from "./decorate.js";
|
|
3
3
|
//#region src/shared/foundation/progress/base-progress.ts
|
|
4
4
|
var a = class extends n {
|
|
@@ -25,6 +25,6 @@ var a = class extends n {
|
|
|
25
25
|
this.percentComplete = r === 0 ? 0 : Math.fround((n - e) / r * 100);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
i([
|
|
28
|
+
i([r({ converter: t })], a.prototype, "value", void 0), i([r({ converter: t })], a.prototype, "min", void 0), i([r({ converter: t })], a.prototype, "max", void 0), i([r({ mode: "boolean" })], a.prototype, "paused", void 0), i([e], a.prototype, "percentComplete", void 0);
|
|
29
29
|
//#endregion
|
|
30
30
|
export { a as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./linkable.cjs`);var r=class extends n.t(e.t){constructor(...e){super(...e),this.separator=!0}};t.t([e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./linkable.cjs`);var r=class extends n.t(e.t){constructor(...e){super(...e),this.separator=!0}};t.t([e.u],r.prototype,`text`,void 0),t.t([e.D],r.prototype,`separator`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, t, u as n } from "./vivid-element.js";
|
|
2
2
|
import { t as r } from "./decorate.js";
|
|
3
3
|
import { t as i } from "./linkable.js";
|
|
4
4
|
//#region src/lib/breadcrumb-item/breadcrumb-item.ts
|
|
5
|
-
var a = class extends i(
|
|
5
|
+
var a = class extends i(t) {
|
|
6
6
|
constructor(...e) {
|
|
7
7
|
super(...e), this.separator = !0;
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
|
-
r([
|
|
10
|
+
r([n], a.prototype, "text", void 0), r([e], a.prototype, "separator", void 0);
|
|
11
11
|
//#endregion
|
|
12
12
|
export { a as t };
|
package/bundled/button.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`),r=require(`./form-associated.cjs`);var i=class extends n.t(r.n(e.t)){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.handleClick=e=>{this.disabled&&e.stopPropagation()},this.handleSubmission=()=>{this.form&&(this.attachProxy(),this.form.requestSubmit(this.proxy),this.detachProxy())},this.handleFormReset=()=>{this.form?.reset()},this.handleUnsupportedDelegatesFocus=()=>{this.$fastController.definition.shadowOptions&&window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty(`delegatesFocus`)&&this.$fastController.definition.shadowOptions.delegatesFocus&&Object.defineProperty(this,`focus`,{value:()=>{this.control.focus()},configurable:!0})}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===`submit`&&this.addEventListener(`click`,this.handleSubmission),e===`submit`&&this.removeEventListener(`click`,this.handleSubmission),t===`reset`&&this.addEventListener(`click`,this.handleFormReset),e===`reset`&&this.removeEventListener(`click`,this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,this.type),this.handleUnsupportedDelegatesFocus(),this.autofocus&&e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`),r=require(`./form-associated.cjs`);var i=class extends n.t(r.n(e.t)){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.handleClick=e=>{this.disabled&&e.stopPropagation()},this.handleSubmission=()=>{this.form&&(this.attachProxy(),this.form.requestSubmit(this.proxy),this.detachProxy())},this.handleFormReset=()=>{this.form?.reset()},this.handleUnsupportedDelegatesFocus=()=>{this.$fastController.definition.shadowOptions&&window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty(`delegatesFocus`)&&this.$fastController.definition.shadowOptions.delegatesFocus&&Object.defineProperty(this,`focus`,{value:()=>{this.control.focus()},configurable:!0})}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===`submit`&&this.addEventListener(`click`,this.handleSubmission),e===`submit`&&this.removeEventListener(`click`,this.handleSubmission),t===`reset`&&this.addEventListener(`click`,this.handleFormReset),e===`reset`&&this.removeEventListener(`click`,this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,this.type),this.handleUnsupportedDelegatesFocus(),this.autofocus&&e.A.enqueue(()=>{this.focus()}),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.addEventListener(`click`,this.handleClick)})}disconnectedCallback(){super.disconnectedCallback(),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.removeEventListener(`click`,this.handleClick)})}};t.t([e.u({mode:`boolean`})],i.prototype,`autofocus`,void 0),t.t([e.u({attribute:`form`})],i.prototype,`formId`,void 0),t.t([e.u],i.prototype,`formaction`,void 0),t.t([e.u],i.prototype,`formenctype`,void 0),t.t([e.u],i.prototype,`formmethod`,void 0),t.t([e.u({mode:`boolean`})],i.prototype,`formnovalidate`,void 0),t.t([e.u],i.prototype,`formtarget`,void 0),t.t([e.u],i.prototype,`type`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
package/bundled/button.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, t, u as n } from "./vivid-element.js";
|
|
2
2
|
import { t as r } from "./decorate.js";
|
|
3
3
|
import { t as i } from "./delegates-aria.js";
|
|
4
4
|
import { n as a } from "./form-associated.js";
|
|
5
5
|
//#region src/shared/foundation/button/button.ts
|
|
6
|
-
var o = class extends i(a(
|
|
6
|
+
var o = class extends i(a(t)) {
|
|
7
7
|
constructor(...e) {
|
|
8
8
|
super(...e), this.proxy = document.createElement("input"), this.handleClick = (e) => {
|
|
9
9
|
/* v8 ignore else -- @preserve */
|
|
@@ -61,6 +61,6 @@ var o = class extends i(a(n)) {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
r([
|
|
64
|
+
r([n({ mode: "boolean" })], o.prototype, "autofocus", void 0), r([n({ attribute: "form" })], o.prototype, "formId", void 0), r([n], o.prototype, "formaction", void 0), r([n], o.prototype, "formenctype", void 0), r([n], o.prototype, "formmethod", void 0), r([n({ mode: "boolean" })], o.prototype, "formnovalidate", void 0), r([n], o.prototype, "formtarget", void 0), r([n], o.prototype, "type", void 0);
|
|
65
65
|
//#endregion
|
|
66
66
|
export { o as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`);var r=class extends n.t(e.t){};t.t([e.
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`);var r=class extends n.t(e.t){};t.t([e.u],r.prototype,`heading`,void 0),t.t([e.u],r.prototype,`description`,void 0),t.t([e.u],r.prototype,`connotation`,void 0),t.t([e.u],r.prototype,`appearance`,void 0),t.t([e.u({converter:e.d,attribute:`overlap-count`})],r.prototype,`overlapCount`,void 0),t.t([e.u({converter:e.d})],r.prototype,`start`,void 0),t.t([e.u({converter:e.d})],r.prototype,`duration`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, t, u as n } from "./vivid-element.js";
|
|
2
2
|
import { t as r } from "./decorate.js";
|
|
3
3
|
import { t as i } from "./delegates-aria.js";
|
|
4
4
|
//#region src/lib/calendar-event/calendar-event.ts
|
|
5
5
|
var a = class extends i(t) {};
|
|
6
|
-
r([
|
|
7
|
-
converter:
|
|
6
|
+
r([n], a.prototype, "heading", void 0), r([n], a.prototype, "description", void 0), r([n], a.prototype, "connotation", void 0), r([n], a.prototype, "appearance", void 0), r([n({
|
|
7
|
+
converter: e,
|
|
8
8
|
attribute: "overlap-count"
|
|
9
|
-
})], a.prototype, "overlapCount", void 0), r([
|
|
9
|
+
})], a.prototype, "overlapCount", void 0), r([n({ converter: e })], a.prototype, "start", void 0), r([n({ converter: e })], a.prototype, "duration", void 0);
|
|
10
10
|
//#endregion
|
|
11
11
|
export { a as t };
|