@vonage/vivid 5.16.0 → 5.18.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 +6 -6
- package/accordion/definition.js +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +2 -2
- package/accordion-item/definition.cjs +5 -5
- package/accordion-item/definition.js +1 -1
- package/accordion-item/index.cjs +1 -1
- package/accordion-item/index.js +2 -2
- package/action-group/index.cjs +3 -3
- package/action-group/index.js +5 -5
- package/alert/definition.cjs +5 -5
- package/alert/definition.js +1 -1
- package/alert/index.cjs +3 -3
- package/alert/index.js +15 -14
- package/audio-player/definition.cjs +5 -5
- package/audio-player/definition.js +1 -1
- package/audio-player/index.cjs +16 -16
- package/audio-player/index.js +29 -28
- package/avatar/definition.cjs +5 -5
- package/avatar/definition.js +1 -1
- package/avatar/index.cjs +4 -4
- package/avatar/index.js +12 -11
- package/badge/definition.cjs +5 -5
- package/badge/definition.js +1 -1
- package/badge/index.cjs +1 -4
- package/badge/index.js +4 -20
- package/banner/definition.cjs +5 -5
- package/banner/definition.js +1 -1
- package/banner/index.cjs +3 -3
- package/banner/index.js +14 -13
- package/breadcrumb-item/definition.cjs +4 -4
- package/breadcrumb-item/definition.js +1 -1
- package/breadcrumb-item/index.cjs +1 -1
- package/breadcrumb-item/index.js +1 -0
- package/bundled/affix.cjs +1 -1
- package/bundled/affix.js +5 -5
- package/bundled/base-color-picker.cjs +2 -2
- package/bundled/base-color-picker.js +5 -5
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +2 -2
- package/bundled/calendar-picker.template.cjs +2 -2
- package/bundled/calendar-picker.template.js +498 -498
- package/bundled/definition10.cjs +18 -30
- package/bundled/definition10.js +53 -155
- package/bundled/definition11.cjs +10 -19
- package/bundled/definition11.js +25 -74
- package/bundled/definition12.cjs +72 -18
- package/bundled/definition12.js +171 -107
- package/bundled/definition13.cjs +18 -17
- package/bundled/definition13.js +46 -66
- package/bundled/definition14.cjs +5 -10
- package/bundled/definition14.js +9 -27
- package/bundled/definition15.cjs +17 -71
- package/bundled/definition15.js +64 -181
- package/bundled/definition16.cjs +12 -4
- package/bundled/definition16.js +79 -14
- package/bundled/definition17.cjs +19 -13
- package/bundled/definition17.js +118 -69
- package/bundled/definition18.cjs +87 -12
- package/bundled/definition18.js +409 -52
- package/bundled/definition19.cjs +5 -87
- package/bundled/definition19.js +14 -422
- package/bundled/definition2.cjs +3 -14
- package/bundled/definition2.js +16 -49
- package/bundled/definition20.cjs +30 -5
- package/bundled/definition20.js +159 -9
- package/bundled/definition21.cjs +28 -19
- package/bundled/definition21.js +164 -47
- package/bundled/definition22.cjs +4 -24
- package/bundled/definition22.js +18 -88
- package/bundled/definition23.cjs +12 -0
- package/bundled/definition23.js +37 -0
- package/bundled/definition24.cjs +39 -0
- package/bundled/definition24.js +72 -0
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +24 -21
- package/bundled/definition4.cjs +23 -38
- package/bundled/definition4.js +81 -63
- package/bundled/definition5.cjs +2 -2
- package/bundled/definition5.js +5 -5
- package/bundled/definition6.cjs +11 -11
- package/bundled/definition6.js +57 -41
- package/bundled/definition9.cjs +12 -30
- package/bundled/definition9.js +55 -148
- package/bundled/divider.cjs +1 -1
- package/bundled/divider.js +5 -5
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +1 -0
- package/bundled/mixins.cjs +5 -5
- package/bundled/mixins.js +49 -49
- package/bundled/numberConverter.cjs +12 -0
- package/bundled/numberConverter.js +38 -0
- package/bundled/picker-field.template.cjs +8 -7
- package/bundled/picker-field.template.js +16 -15
- package/bundled/slider.template.cjs +7 -7
- package/bundled/slider.template.js +12 -12
- package/bundled/slottable-request.cjs +1 -1
- package/bundled/slottable-request.js +8 -38
- package/bundled/time-selection-picker.template.cjs +4 -4
- package/bundled/time-selection-picker.template.js +35 -35
- package/bundled/utils.cjs +1 -0
- package/bundled/utils.js +1420 -0
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/button/definition.cjs +5 -5
- package/button/definition.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +11 -11
- package/calendar/index.js +30 -237
- package/calendar-event/index.cjs +3 -3
- package/calendar-event/index.js +4 -4
- package/card/definition.cjs +5 -5
- package/card/definition.js +1 -1
- package/card/index.cjs +15 -12
- package/card/index.js +17 -13
- package/checkbox/definition.cjs +5 -5
- package/checkbox/definition.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-picker/definition.cjs +5 -5
- package/color-picker/definition.js +2 -2
- package/color-picker/index.cjs +10 -10
- package/color-picker/index.js +58 -57
- package/combobox/definition.cjs +5 -5
- package/combobox/definition.js +2 -2
- package/combobox/index.cjs +9 -8
- package/combobox/index.js +40 -35
- package/contextual-help/definition.cjs +5 -5
- package/contextual-help/definition.js +2 -2
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +2 -2
- package/country/definition.cjs +5 -5
- package/country/definition.js +1 -1
- package/country/index.cjs +1 -12
- package/country/index.js +4 -1216
- package/country-group/definition.cjs +6 -0
- package/country-group/definition.js +3 -0
- package/country-group/index.cjs +43 -0
- package/country-group/index.js +166 -0
- package/custom-elements.json +1274 -200
- package/data-grid/definition.cjs +9 -9
- package/data-grid/definition.js +2 -2
- package/data-grid/index.cjs +18 -18
- package/data-grid/index.js +260 -262
- package/date-picker/definition.cjs +5 -5
- package/date-picker/definition.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +13 -13
- package/date-range-picker/definition.cjs +5 -5
- package/date-range-picker/definition.js +2 -2
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +8 -8
- package/date-time-picker/definition.cjs +5 -5
- package/date-time-picker/definition.js +2 -2
- package/date-time-picker/index.cjs +4 -4
- package/date-time-picker/index.js +25 -25
- package/dial-pad/definition.cjs +5 -5
- package/dial-pad/definition.js +2 -2
- package/dial-pad/index.cjs +6 -5
- package/dial-pad/index.js +14 -12
- package/dialog/definition.cjs +5 -5
- package/dialog/definition.js +2 -2
- package/dialog/index.cjs +6 -6
- package/dialog/index.js +17 -16
- package/divider/definition.cjs +1 -1
- package/divider/definition.js +1 -1
- package/divider/index.cjs +1 -1
- package/divider/index.js +1 -1
- package/empty-state/definition.cjs +5 -5
- package/empty-state/definition.js +2 -2
- package/empty-state/index.cjs +2 -2
- package/empty-state/index.js +6 -5
- package/fab/definition.cjs +5 -5
- package/fab/definition.js +2 -2
- package/fab/index.cjs +4 -4
- package/fab/index.js +13 -12
- package/file-picker/definition.cjs +5 -5
- package/file-picker/definition.js +2 -2
- package/file-picker/index.cjs +20 -17
- package/file-picker/index.js +40 -36
- package/flag/definition.cjs +6 -0
- package/flag/definition.js +3 -0
- package/flag/index.cjs +10 -0
- package/flag/index.js +61 -0
- package/header/definition.cjs +1 -1
- package/header/definition.js +1 -1
- package/header/index.cjs +4 -4
- package/header/index.js +5 -5
- package/icon/definition.cjs +1 -0
- package/icon/definition.js +1 -0
- package/icon/index.cjs +1 -1
- package/icon/index.js +1 -0
- package/index.cjs +204 -192
- package/index.js +55 -52
- package/layout/definition.cjs +1 -1
- package/layout/definition.js +1 -1
- package/lib/button/button.d.ts +1 -0
- package/lib/combobox/combobox.d.ts +0 -3
- package/lib/components.d.ts +2 -0
- package/lib/country/countries-data.d.ts +1 -0
- package/lib/country/{country-code-to-flag-icon.d.ts → utils.d.ts} +0 -3
- package/lib/country-group/country-group.d.ts +829 -0
- package/lib/country-group/country-group.template.d.ts +3 -0
- package/lib/country-group/definition.d.ts +3 -0
- package/lib/country-group/index.d.ts +1 -0
- package/lib/country-group/locale.d.ts +3 -0
- package/lib/date-picker/date-picker.d.ts +4 -0
- package/lib/date-range-picker/date-range-picker.d.ts +2 -0
- package/lib/date-time-picker/date-time-picker.d.ts +4 -4
- package/lib/dial-pad/dial-pad.d.ts +6 -2
- package/lib/dialog/dialog.d.ts +0 -1
- package/lib/flag/definition.d.ts +3 -0
- package/lib/flag/flag.d.ts +8 -0
- package/lib/flag/flag.template.d.ts +3 -0
- package/lib/flag/index.d.ts +1 -0
- package/lib/icon/icon.d.ts +1 -2
- package/lib/menu/menu.d.ts +0 -1
- package/lib/option/option.d.ts +0 -1
- package/lib/rich-text-editor/rte/exports.d.ts +1 -0
- package/lib/rich-text-editor/rte/features/alignment.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/character-count.d.ts +21 -0
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/keyboard-shortcuts.d.ts +1 -1
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +1 -1
- package/lib/rich-text-editor/rte/public-interface.d.ts +6 -0
- package/lib/searchable-select/option-tag.d.ts +3 -2
- package/lib/searchable-select/searchable-select.d.ts +3 -1
- package/lib/table/definition.d.ts +2 -1
- package/lib/table/table-header-cell.d.ts +3 -0
- package/lib/table/table-sorting-button.d.ts +415 -0
- package/lib/table/table-sorting-button.template.d.ts +3 -0
- package/lib/tag-name-map.d.ts +2 -1
- package/lib/time-picker/time-picker.d.ts +2 -0
- package/locales/de-DE.cjs +5 -178
- package/locales/de-DE.js +3 -179
- package/locales/en-GB.cjs +5 -9
- package/locales/en-GB.js +3 -10
- package/locales/en-US.cjs +269 -2
- package/locales/en-US.js +266 -1
- package/locales/ja-JP.cjs +5 -171
- package/locales/ja-JP.js +3 -172
- package/locales/zh-CN.cjs +5 -172
- package/locales/zh-CN.js +3 -173
- package/menu/definition.cjs +5 -5
- package/menu/definition.js +1 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/menu-item/definition.cjs +6 -6
- package/menu-item/definition.js +1 -1
- package/menu-item/index.cjs +1 -1
- package/menu-item/index.js +2 -2
- package/nav/definition.cjs +1 -1
- package/nav/definition.js +1 -1
- package/nav-disclosure/definition.cjs +5 -5
- package/nav-disclosure/definition.js +2 -2
- package/nav-disclosure/index.cjs +4 -4
- package/nav-disclosure/index.js +13 -12
- package/nav-item/definition.cjs +5 -5
- package/nav-item/definition.js +2 -2
- package/nav-item/index.cjs +2 -2
- package/nav-item/index.js +12 -11
- package/note/definition.cjs +5 -5
- package/note/definition.js +2 -2
- package/note/index.cjs +3 -3
- package/note/index.js +11 -10
- package/number-field/definition.cjs +5 -5
- package/number-field/definition.js +2 -2
- package/number-field/index.cjs +4 -4
- package/number-field/index.js +29 -28
- package/option/definition.cjs +5 -5
- package/option/definition.js +2 -2
- package/option/index.cjs +1 -1
- package/option/index.js +2 -2
- package/package.json +9 -10
- package/pagination/definition.cjs +5 -5
- package/pagination/definition.js +2 -2
- package/pagination/index.cjs +3 -3
- package/pagination/index.js +16 -16
- package/popover/definition.cjs +5 -5
- package/popover/definition.js +2 -2
- package/popover/index.cjs +7 -7
- package/popover/index.js +12 -11
- package/popup/definition.cjs +4 -4
- package/popup/definition.js +1 -1
- package/popup/index.cjs +1 -1
- package/popup/index.js +1 -1
- package/progress/definition.cjs +1 -1
- package/progress/definition.js +1 -1
- package/progress/index.cjs +2 -2
- package/progress/index.js +5 -5
- package/radio/definition.cjs +1 -1
- package/radio/definition.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/radio-group/definition.cjs +5 -5
- package/radio-group/definition.js +2 -2
- package/radio-group/index.cjs +4 -4
- package/radio-group/index.js +11 -11
- package/range-slider/definition.cjs +5 -5
- package/range-slider/definition.js +2 -2
- package/range-slider/index.cjs +4 -4
- package/range-slider/index.js +39 -36
- package/rich-text-editor/definition.cjs +32 -31
- package/rich-text-editor/definition.js +3 -3
- package/rich-text-editor/index.cjs +13 -13
- package/rich-text-editor/index.js +1887 -1830
- package/rich-text-view/definition.cjs +1 -1
- package/rich-text-view/definition.js +1 -1
- package/rich-text-view/index.cjs +1 -1
- package/rich-text-view/index.js +8 -8
- package/searchable-select/definition.cjs +4 -4
- package/searchable-select/definition.js +2 -2
- package/searchable-select/index.cjs +15 -13
- package/searchable-select/index.js +75 -72
- package/select/definition.cjs +5 -5
- package/select/definition.js +2 -2
- package/select/index.cjs +1 -1
- package/select/index.js +2 -2
- package/selectable-box/definition.cjs +5 -5
- package/selectable-box/definition.js +2 -2
- package/selectable-box/index.cjs +7 -7
- package/selectable-box/index.js +12 -12
- package/shared/foundation/test-utilities/fixture.d.ts +1 -1
- package/shared/icon/utils.d.ts +1 -0
- package/shared/localization/Locale.d.ts +2 -0
- package/shared/patterns/linkable.d.ts +1 -1
- package/shared/picker-field/mixins/calendar-picker.d.ts +1 -0
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +1 -0
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +1 -0
- package/shared/picker-field/mixins/single-date-picker.d.ts +1 -0
- package/shared/picker-field/mixins/single-value-picker.d.ts +1 -0
- package/shared/picker-field/mixins/time-selection-picker.d.ts +1 -0
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +2 -0
- package/shared/picker-field/picker-field.d.ts +2 -0
- package/side-drawer/definition.cjs +1 -1
- package/side-drawer/definition.js +1 -1
- package/simple-color-picker/definition.cjs +5 -5
- package/simple-color-picker/definition.js +2 -2
- package/simple-color-picker/index.cjs +3 -3
- package/simple-color-picker/index.js +15 -14
- package/slider/definition.cjs +5 -5
- package/slider/definition.js +1 -1
- package/slider/index.cjs +1 -1
- package/slider/index.js +1 -1
- package/split-button/definition.cjs +5 -5
- package/split-button/definition.js +2 -2
- package/split-button/index.cjs +6 -6
- package/split-button/index.js +17 -16
- package/status/definition.cjs +5 -5
- package/status/definition.js +2 -2
- package/status/index.cjs +2 -2
- package/status/index.js +11 -10
- package/switch/definition.cjs +5 -5
- package/switch/definition.js +2 -2
- package/switch/index.cjs +4 -4
- package/switch/index.js +11 -10
- package/tab/definition.cjs +5 -5
- package/tab/definition.js +2 -2
- package/tab/index.cjs +1 -1
- package/tab/index.js +2 -2
- package/tab-panel/definition.cjs +1 -1
- package/tab-panel/definition.js +1 -1
- package/tab-panel/index.cjs +1 -1
- package/tab-panel/index.js +1 -1
- package/table/definition.cjs +4 -1
- package/table/definition.js +3 -2
- package/table/index.cjs +19 -10
- package/table/index.js +70 -21
- package/tabs/definition.cjs +6 -6
- package/tabs/definition.js +2 -2
- package/tabs/index.cjs +2 -2
- package/tabs/index.js +5 -5
- package/tag/definition.cjs +5 -5
- package/tag/definition.js +2 -2
- package/tag/index.cjs +8 -8
- package/tag/index.js +14 -13
- package/tag-group/definition.cjs +1 -1
- package/tag-group/definition.js +1 -1
- package/tag-group/index.cjs +3 -3
- package/tag-group/index.js +5 -5
- package/text-area/definition.cjs +5 -5
- package/text-area/definition.js +2 -2
- package/text-area/index.cjs +2 -2
- package/text-area/index.js +13 -13
- package/text-field/definition.cjs +5 -5
- package/text-field/definition.js +2 -2
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +2 -2
- package/time-picker/definition.cjs +4 -4
- package/time-picker/definition.js +2 -2
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +2 -2
- package/toggletip/definition.cjs +5 -5
- package/toggletip/definition.js +2 -2
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +2 -2
- package/tooltip/definition.cjs +5 -5
- package/tooltip/definition.js +2 -2
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +2 -2
- package/tree-item/definition.cjs +5 -5
- package/tree-item/definition.js +2 -2
- package/tree-item/index.cjs +1 -1
- package/tree-item/index.js +2 -2
- package/tree-view/definition.cjs +5 -5
- package/tree-view/definition.js +2 -2
- package/tree-view/index.cjs +3 -3
- package/tree-view/index.js +18 -18
- package/unbundled/button.cjs +2 -2
- package/unbundled/button.js +2 -2
- package/unbundled/calendar-picker.template.cjs +4347 -9
- package/unbundled/calendar-picker.template.js +4345 -7
- package/unbundled/chunk.cjs +0 -22
- package/unbundled/definition11.cjs +6 -0
- package/unbundled/definition11.js +6 -0
- package/unbundled/definition13.cjs +1 -8
- package/unbundled/definition13.js +1 -8
- package/unbundled/definition14.cjs +3 -2
- package/unbundled/definition14.js +3 -2
- package/unbundled/definition2.cjs +5 -75
- package/unbundled/definition2.js +1 -71
- package/unbundled/definition21.cjs +1 -2
- package/unbundled/definition21.js +1 -2
- package/unbundled/definition22.cjs +7 -2
- package/unbundled/definition22.js +7 -2
- package/unbundled/definition24.cjs +98 -979
- package/unbundled/definition24.js +93 -974
- package/unbundled/definition25.cjs +37 -322
- package/unbundled/definition25.js +33 -318
- package/unbundled/definition26.cjs +317 -91
- package/unbundled/definition26.js +313 -87
- package/unbundled/definition27.cjs +94 -192
- package/unbundled/definition27.js +91 -183
- package/unbundled/definition28.cjs +388 -395
- package/unbundled/definition28.js +388 -395
- package/unbundled/definition29.cjs +189 -110
- package/unbundled/definition29.js +180 -107
- package/unbundled/definition30.cjs +520 -36
- package/unbundled/definition30.js +519 -35
- package/unbundled/definition31.cjs +2 -1189
- package/unbundled/definition31.js +1 -1188
- package/unbundled/definition32.cjs +207 -1835
- package/unbundled/definition32.js +203 -1807
- package/unbundled/definition33.cjs +85 -228
- package/unbundled/definition33.js +82 -165
- package/unbundled/definition34.cjs +1887 -25
- package/unbundled/definition34.js +1857 -24
- package/unbundled/definition35.cjs +315 -121
- package/unbundled/definition35.js +236 -114
- package/unbundled/definition36.cjs +25 -405
- package/unbundled/definition36.js +22 -397
- package/unbundled/definition37.cjs +49 -140
- package/unbundled/definition37.js +46 -137
- package/unbundled/definition38.cjs +346 -329
- package/unbundled/definition38.js +343 -326
- package/unbundled/definition39.cjs +183 -234
- package/unbundled/definition39.js +181 -232
- package/unbundled/definition40.cjs +377 -47
- package/unbundled/definition40.js +372 -42
- package/unbundled/definition41.cjs +256 -57
- package/unbundled/definition41.js +255 -56
- package/unbundled/definition42.cjs +45 -421
- package/unbundled/definition42.js +41 -417
- package/unbundled/definition43.cjs +63 -49
- package/unbundled/definition43.js +61 -47
- package/unbundled/definition44.cjs +438 -30
- package/unbundled/definition44.js +434 -25
- package/unbundled/definition45.cjs +46 -84
- package/unbundled/definition45.js +43 -81
- package/unbundled/definition46.cjs +29 -54
- package/unbundled/definition46.js +24 -50
- package/unbundled/definition47.cjs +93 -21
- package/unbundled/definition47.js +91 -16
- package/unbundled/definition48.cjs +49 -33
- package/unbundled/definition48.js +46 -30
- package/unbundled/definition49.cjs +22 -347
- package/unbundled/definition49.js +16 -344
- package/unbundled/definition50.cjs +34 -211
- package/unbundled/definition50.js +30 -207
- package/unbundled/definition51.cjs +282 -242
- package/unbundled/definition51.js +275 -235
- package/unbundled/definition52.cjs +211 -51
- package/unbundled/definition52.js +209 -48
- package/unbundled/definition53.cjs +275 -131
- package/unbundled/definition53.js +272 -127
- package/unbundled/definition54.cjs +50 -261
- package/unbundled/definition54.js +48 -260
- package/unbundled/definition55.cjs +126 -443
- package/unbundled/definition55.js +123 -441
- package/unbundled/definition56.cjs +238 -12669
- package/unbundled/definition56.js +232 -12506
- package/unbundled/definition57.cjs +408 -729
- package/unbundled/definition57.js +406 -727
- package/unbundled/definition58.cjs +3619 -106
- package/unbundled/definition58.js +3449 -99
- package/unbundled/definition59.cjs +625 -868
- package/unbundled/definition59.js +620 -863
- package/unbundled/definition60.cjs +106 -108
- package/unbundled/definition60.js +102 -104
- package/unbundled/definition61.cjs +1040 -71
- package/unbundled/definition61.js +1035 -65
- package/unbundled/definition62.cjs +105 -169
- package/unbundled/definition62.js +101 -165
- package/unbundled/definition63.cjs +70 -113
- package/unbundled/definition63.js +65 -109
- package/unbundled/definition64.cjs +181 -53
- package/unbundled/definition64.js +178 -50
- package/unbundled/definition65.cjs +109 -76
- package/unbundled/definition65.js +109 -75
- package/unbundled/definition66.cjs +58 -21
- package/unbundled/definition66.js +55 -15
- package/unbundled/definition67.cjs +81 -74
- package/unbundled/definition67.js +79 -73
- package/unbundled/definition68.cjs +19 -344
- package/unbundled/definition68.js +14 -335
- package/unbundled/definition69.cjs +88 -26
- package/unbundled/definition69.js +85 -22
- package/unbundled/definition7.cjs +18 -3
- package/unbundled/definition7.js +18 -3
- package/unbundled/definition70.cjs +330 -111
- package/unbundled/definition70.js +320 -108
- package/unbundled/definition71.cjs +26 -271
- package/unbundled/definition71.js +21 -267
- package/unbundled/definition72.cjs +134 -28
- package/unbundled/definition72.js +125 -26
- package/unbundled/definition73.cjs +245 -113
- package/unbundled/definition73.js +242 -104
- package/unbundled/definition74.cjs +28 -212
- package/unbundled/definition74.js +26 -202
- package/unbundled/definition75.cjs +120 -52190
- package/unbundled/definition75.js +112 -52188
- package/unbundled/definition76.cjs +232 -0
- package/unbundled/definition76.js +213 -0
- package/unbundled/definition77.cjs +533 -0
- package/unbundled/definition77.js +513 -0
- package/unbundled/listbox.cjs +1 -1
- package/unbundled/listbox.js +1 -1
- package/unbundled/localized.cjs +2 -2
- package/unbundled/localized.js +1 -1
- package/unbundled/numberConverter.cjs +91 -0
- package/unbundled/numberConverter.js +74 -0
- package/unbundled/picker-field.template.cjs +3 -1
- package/unbundled/picker-field.template.js +3 -1
- package/unbundled/slottable-request.cjs +2 -3168
- package/unbundled/slottable-request.js +3 -3097
- package/unbundled/time-selection-picker.template.cjs +1 -1
- package/unbundled/time-selection-picker.template.js +1 -1
- package/unbundled/utils.cjs +1439 -0
- package/unbundled/utils.js +1428 -0
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/definition.cjs +1 -1
- package/video-player/definition.js +1 -1
- package/video-player/index.cjs +3 -3
- package/video-player/index.js +9 -9
- package/vivid.api.json +860 -409
- package/unbundled/chunk.js +0 -33
- package/unbundled/en-US.cjs +0 -447
- package/unbundled/en-US.js +0 -443
- /package/{lib/icon/icon.placeholder.d.ts → shared/icon/icon-placeholder.d.ts} +0 -0
package/bundled/definition19.js
CHANGED
|
@@ -1,425 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as d } from "./slotted.js";
|
|
6
|
-
import { t as f } from "./definition2.js";
|
|
7
|
-
import { t as p } from "./decorate.js";
|
|
8
|
-
import { t as m } from "./listbox.js";
|
|
9
|
-
import { t as h } from "./class-names.js";
|
|
10
|
-
import { a as g, i as _, o as v, s as y, t as b } from "./key-codes.js";
|
|
11
|
-
import { t as x } from "./numbers.js";
|
|
12
|
-
import { t as S } from "./strings.js";
|
|
13
|
-
import { a as C, i as w, n as T } from "./affix.js";
|
|
14
|
-
import { n as E } from "./form-associated.js";
|
|
15
|
-
import { t as D } from "./form-element.js";
|
|
16
|
-
import { t as O } from "./with-success-text.js";
|
|
17
|
-
import { t as k } from "./with-error-text.js";
|
|
18
|
-
import { t as A } from "./with-contextual-help.js";
|
|
19
|
-
import { i as j, r as M, t as N } from "./definition6.js";
|
|
20
|
-
import { t as P } from "./dialog.js";
|
|
21
|
-
import { i as F, t as I } from "./definition8.js";
|
|
22
|
-
import { n as L, t as ee } from "./host-semantics.js";
|
|
23
|
-
import { a as R, n as z } from "./mixins.js";
|
|
24
|
-
import { r as B, t as V } from "./definition12.js";
|
|
25
|
-
//#region src/lib/select/select.ts
|
|
26
|
-
var H = class extends z(A(k(O(e(D(ee(T(E(m))))))))) {
|
|
27
|
-
constructor(...e) {
|
|
28
|
-
super(...e), this.proxy = document.createElement("select"), this.activeIndex = -1, this.rangeStartIndex = -1, this.open = !1, this.listboxId = S("listbox-"), this.maxHeight = 0, this.fixedDropdown = !1, this._feedbackWrapper = null, this._isResetting = !1, this.clearable = !1, this._isClearButtonFocused = !1;
|
|
29
|
-
}
|
|
30
|
-
get activeOption() {
|
|
31
|
-
return this.options[this.activeIndex];
|
|
32
|
-
}
|
|
33
|
-
get checkedOptions() {
|
|
34
|
-
return this.options.filter((e) => e.checked);
|
|
35
|
-
}
|
|
36
|
-
get firstSelectedOptionIndex() {
|
|
37
|
-
return this.options.indexOf(this.firstSelectedOption);
|
|
38
|
-
}
|
|
39
|
-
activeIndexChanged(e, t) {
|
|
40
|
-
this._activeDescendant = this.options[t]?.id ?? "", this.focusAndScrollOptionIntoView();
|
|
41
|
-
}
|
|
42
|
-
checkActiveIndex() {
|
|
43
|
-
let e = this.activeOption;
|
|
44
|
-
/* v8 ignore else -- @preserve */
|
|
45
|
-
e && (e.checked = !0);
|
|
46
|
-
}
|
|
47
|
-
checkFirstOption(e) {
|
|
48
|
-
let t = this.getNextSelectableIndex(0);
|
|
49
|
-
t !== -1 && (e ? (this.rangeStartIndex === -1 && (this.rangeStartIndex = this.activeIndex), this.options.forEach((e, n) => {
|
|
50
|
-
e.checked = x(n, t, this.rangeStartIndex + 1) && !e.disabled;
|
|
51
|
-
})) : this.uncheckAllOptions(), this.activeIndex = t, this.checkActiveIndex());
|
|
52
|
-
}
|
|
53
|
-
checkLastOption(e) {
|
|
54
|
-
let t = this.getPreviousSelectableIndex(this.length - 1);
|
|
55
|
-
t !== -1 && (e ? (this.rangeStartIndex === -1 && (this.rangeStartIndex = this.activeIndex), this.options.forEach((e, n) => {
|
|
56
|
-
e.checked = x(n, this.rangeStartIndex, t + 1) && !e.disabled;
|
|
57
|
-
})) : this.uncheckAllOptions(), this.activeIndex = t, this.checkActiveIndex());
|
|
58
|
-
}
|
|
59
|
-
checkNextOption(e) {
|
|
60
|
-
let t = this.getNextSelectableIndex(this.activeIndex + 1);
|
|
61
|
-
t !== -1 && (e ? (this.rangeStartIndex === -1 && (this.rangeStartIndex = this.activeIndex), this.options.forEach((e, n) => {
|
|
62
|
-
e.checked = x(n, this.rangeStartIndex, t + 1) && !e.disabled;
|
|
63
|
-
})) : this.uncheckAllOptions(), this.activeIndex = t, this.checkActiveIndex());
|
|
64
|
-
}
|
|
65
|
-
checkPreviousOption(e) {
|
|
66
|
-
let t = this.getPreviousSelectableIndex(this.activeIndex - 1);
|
|
67
|
-
t !== -1 && (e ? (this.rangeStartIndex === -1 && (this.rangeStartIndex = this.activeIndex), this.checkedOptions.length === 1 && (this.rangeStartIndex += 1), this.options.forEach((e, n) => {
|
|
68
|
-
e.checked = x(n, t, this.rangeStartIndex + 1) && !e.disabled;
|
|
69
|
-
})) : this.uncheckAllOptions(), this.activeIndex = t, this.checkActiveIndex());
|
|
70
|
-
}
|
|
71
|
-
focusAndScrollOptionIntoView() {
|
|
72
|
-
super.focusAndScrollOptionIntoView(this.activeOption);
|
|
73
|
-
}
|
|
74
|
-
focusinHandler(e) {
|
|
75
|
-
if (!this.multiple) return super.focusinHandler(e);
|
|
76
|
-
!this.shouldSkipFocus && e.target === e.currentTarget && (this.uncheckAllOptions(), this.activeIndex === -1 && (this.activeIndex = this.firstSelectedOptionIndex === -1 ? 0 : this.firstSelectedOptionIndex), this.checkActiveIndex(), this.setSelectedOptions(), this.focusAndScrollOptionIntoView()), this.shouldSkipFocus = !1;
|
|
77
|
-
}
|
|
78
|
-
setSelectedOptions() {
|
|
79
|
-
if (!this.multiple) {
|
|
80
|
-
super.setSelectedOptions();
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
/* v8 ignore else -- @preserve */
|
|
84
|
-
this.$fastController.isConnected && this.options && (this.selectedOptions = this.options.filter((e) => e.selected), this.focusAndScrollOptionIntoView());
|
|
85
|
-
}
|
|
86
|
-
toggleSelectedForAllCheckedOptions() {
|
|
87
|
-
let e = this.checkedOptions.filter((e) => !e.disabled), t = !e.every((e) => e.selected);
|
|
88
|
-
e.forEach((e) => e.selected = t), this.selectedIndex = this.options.indexOf(e[e.length - 1]), this.setSelectedOptions(), this.updateValue(!0);
|
|
89
|
-
}
|
|
90
|
-
typeaheadBufferChanged(e, t) {
|
|
91
|
-
if (!this.multiple) {
|
|
92
|
-
super.typeaheadBufferChanged(e, t);
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
/* v8 ignore if -- @preserve */
|
|
96
|
-
if (this.$fastController.isConnected) {
|
|
97
|
-
let e = this.getTypeaheadMatches(), t = this.options.indexOf(e[0]);
|
|
98
|
-
t > -1 && (this.activeIndex = t, this.uncheckAllOptions(), this.checkActiveIndex()), this.typeaheadExpired = !1;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
uncheckAllOptions(e = !1) {
|
|
102
|
-
/* v8 ignore else -- @preserve */
|
|
103
|
-
this.options.forEach((e) => e.checked = !1), e || (this.rangeStartIndex = -1);
|
|
104
|
-
}
|
|
105
|
-
openChanged(e, t) {
|
|
106
|
-
if (!this.collapsible) return;
|
|
107
|
-
if (this.open) {
|
|
108
|
-
this.focusAndScrollOptionIntoView(), this.indexWhenOpened = this.selectedIndex, n.enqueue(() => this.focus());
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
let r = e === !0 && t === !1, i = this.indexWhenOpened !== this.selectedIndex;
|
|
112
|
-
r && i && this.updateValue(!0);
|
|
113
|
-
}
|
|
114
|
-
get collapsible() {
|
|
115
|
-
return !this.multiple;
|
|
116
|
-
}
|
|
117
|
-
valueChanged(e, t) {
|
|
118
|
-
let n = this.options.findIndex((e) => e.value === t), r = this._validSelectedIndex(n), i = this.options[r]?.value ?? "";
|
|
119
|
-
this.selectedIndex !== r && (this.selectedIndex = r), t === i && (super.valueChanged(e, t), this.updateDisplayValue());
|
|
120
|
-
}
|
|
121
|
-
updateValue(e) {
|
|
122
|
-
this.$fastController.isConnected && (this.value = this.firstSelectedOption?.value ?? ""), e && (this.$emit("input"), this.$emit("change", this, {
|
|
123
|
-
bubbles: !0,
|
|
124
|
-
composed: void 0
|
|
125
|
-
}));
|
|
126
|
-
}
|
|
127
|
-
selectedIndexChanged(e, t) {
|
|
128
|
-
super.selectedIndexChanged(e, t), this.updateValue();
|
|
129
|
-
}
|
|
130
|
-
clickHandler(e) {
|
|
131
|
-
if (this.disabled || this._isFromContextualHelp(e)) return;
|
|
132
|
-
let t = e.target.closest("option,[role=option],[data-vvd-component=option]");
|
|
133
|
-
if (!(t && t.disabled)) return this.multiple ? (this.uncheckAllOptions(), this.activeIndex = this.options.indexOf(t), this.checkActiveIndex(), this.toggleSelectedForAllCheckedOptions()) : super.clickHandler(e), this.collapsible && (this.open = !this.open), !0;
|
|
134
|
-
}
|
|
135
|
-
focusoutHandler(e) {
|
|
136
|
-
if (this.multiple && this.uncheckAllOptions(), !this.open) return !0;
|
|
137
|
-
let t = e.relatedTarget;
|
|
138
|
-
if (this.isSameNode(t)) {
|
|
139
|
-
this.focus();
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
/* v8 ignore else -- @preserve */
|
|
143
|
-
this.options.includes(t) || (this.open = !1, this.indexWhenOpened !== this.selectedIndex && this.updateValue(!0));
|
|
144
|
-
}
|
|
145
|
-
handleChange(e, t) {
|
|
146
|
-
super.handleChange(e, t), t === "value" && this.updateValue();
|
|
147
|
-
}
|
|
148
|
-
mousedownHandler(e) {
|
|
149
|
-
return e.offsetX >= 0 && e.offsetX <= this.listbox.scrollWidth ? super.mousedownHandler(e) : this.collapsible;
|
|
150
|
-
}
|
|
151
|
-
multipleChanged(e, t) {
|
|
152
|
-
/* v8 ignore if -- @preserve */
|
|
153
|
-
this.options.forEach((e) => {
|
|
154
|
-
e.checked = t ? !1 : void 0;
|
|
155
|
-
}), this.setSelectedOptions(), this.proxy && (this.proxy.multiple = t);
|
|
156
|
-
}
|
|
157
|
-
selectedOptionsChanged(e, t) {
|
|
158
|
-
super.selectedOptionsChanged(e, t), this.options.forEach((e, t) => {
|
|
159
|
-
let n = this.proxy.options.item(t);
|
|
160
|
-
n && (n.selected = e.selected);
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
setProxyOptions() {
|
|
164
|
-
/* v8 ignore else -- @preserve */
|
|
165
|
-
this.proxy instanceof HTMLSelectElement && this.options && (this.proxy.length = 0, this.options.forEach((e) => {
|
|
166
|
-
let t = e.proxy || (e instanceof HTMLOptionElement ? e.cloneNode() : null);
|
|
167
|
-
t && this.proxy.options.add(t);
|
|
168
|
-
}));
|
|
169
|
-
}
|
|
170
|
-
multipleKeydownHandler(e) {
|
|
171
|
-
if (this.disabled) return;
|
|
172
|
-
let { key: t, shiftKey: n } = e;
|
|
173
|
-
switch (this.shouldSkipFocus = !1, t) {
|
|
174
|
-
case y:
|
|
175
|
-
this.checkFirstOption(n);
|
|
176
|
-
return;
|
|
177
|
-
case b:
|
|
178
|
-
this.checkNextOption(n);
|
|
179
|
-
return;
|
|
180
|
-
case _:
|
|
181
|
-
this.checkPreviousOption(n);
|
|
182
|
-
return;
|
|
183
|
-
case "End":
|
|
184
|
-
this.checkLastOption(n);
|
|
185
|
-
return;
|
|
186
|
-
case "Tab":
|
|
187
|
-
this.focusAndScrollOptionIntoView();
|
|
188
|
-
return;
|
|
189
|
-
case v:
|
|
190
|
-
this.uncheckAllOptions(), this.checkActiveIndex();
|
|
191
|
-
return;
|
|
192
|
-
case " ":
|
|
193
|
-
/* v8 ignore else -- @preserve */
|
|
194
|
-
if (e.preventDefault(), this.typeaheadExpired) {
|
|
195
|
-
this.toggleSelectedForAllCheckedOptions();
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
default:
|
|
199
|
-
/* v8 ignore else -- @preserve */
|
|
200
|
-
t.length === 1 && this.handleTypeAhead(`${t}`);
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
keydownHandler(e) {
|
|
205
|
-
let t = this.selectedIndex;
|
|
206
|
-
switch (this.multiple ? this.multipleKeydownHandler(e) : super.keydownHandler(e), e.key) {
|
|
207
|
-
case " ":
|
|
208
|
-
e.preventDefault(), this.collapsible && this.typeaheadExpired && (this.open = !this.open);
|
|
209
|
-
break;
|
|
210
|
-
case y:
|
|
211
|
-
case "End":
|
|
212
|
-
e.preventDefault();
|
|
213
|
-
break;
|
|
214
|
-
case g:
|
|
215
|
-
e.preventDefault(), this.open = !this.open;
|
|
216
|
-
break;
|
|
217
|
-
case v:
|
|
218
|
-
this.collapsible && this.open && (e.preventDefault(), this.open = !1);
|
|
219
|
-
break;
|
|
220
|
-
case "Tab": return this.collapsible && this.open && (e.preventDefault(), this.open = !1), !0;
|
|
221
|
-
}
|
|
222
|
-
return this.collapsible && !this.open && this.selectedIndex !== t && this.updateValue(!0), !(e.key === "ArrowDown" || e.key === "ArrowUp");
|
|
223
|
-
}
|
|
224
|
-
connectedCallback() {
|
|
225
|
-
super.connectedCallback(), this.addEventListener("focusout", this.focusoutHandler), this.addEventListener("contentchange", this.updateDisplayValue);
|
|
226
|
-
}
|
|
227
|
-
disconnectedCallback() {
|
|
228
|
-
this.removeEventListener("focusout", this.focusoutHandler), this.removeEventListener("contentchange", this.updateDisplayValue), super.disconnectedCallback();
|
|
229
|
-
}
|
|
230
|
-
updateDisplayValue() {
|
|
231
|
-
this.collapsible && c.notify(this, "displayValue");
|
|
232
|
-
}
|
|
233
|
-
get displayValue() {
|
|
234
|
-
return c.track(this, "displayValue"), this.firstSelectedOption?.getAttribute("label") ?? this.firstSelectedOption?.text ?? this.placeholder ?? "";
|
|
235
|
-
}
|
|
236
|
-
_newDefaultSelectedIndex(e, t, n) {
|
|
237
|
-
let r = super._newDefaultSelectedIndex(e, t, n);
|
|
238
|
-
if (r === null && n === -1 && !this.placeholder) {
|
|
239
|
-
let e = this.getNextSelectableIndex(0);
|
|
240
|
-
if (e !== -1) return e;
|
|
241
|
-
}
|
|
242
|
-
return r;
|
|
243
|
-
}
|
|
244
|
-
_isDefaultSelected(e) {
|
|
245
|
-
return super._isDefaultSelected(e) || e.value === this.initialValue || !this._isResetting && e.value === this.value;
|
|
246
|
-
}
|
|
247
|
-
slottedOptionsChanged(e, t) {
|
|
248
|
-
this.options.forEach((e) => {
|
|
249
|
-
c.getNotifier(e).unsubscribe(this, "value");
|
|
250
|
-
}), super.slottedOptionsChanged(e, t), this.options.forEach((e) => {
|
|
251
|
-
c.getNotifier(e).subscribe(this, "value");
|
|
252
|
-
}), this.setProxyOptions(), this.updateValue();
|
|
253
|
-
let n = this.getAttribute("scale") || this.scale;
|
|
254
|
-
t.forEach((e) => {
|
|
255
|
-
n && (e.setAttribute("scale", n), e.scale = n);
|
|
256
|
-
}), this.proxy.value = this.value, this.validate();
|
|
257
|
-
}
|
|
258
|
-
formResetCallback() {
|
|
259
|
-
this.setProxyOptions(), this._isResetting = !0, this.selectedIndex = this._newDefaultSelectedIndex([], this.options, -1) ?? -1, this._isResetting = !1;
|
|
260
|
-
}
|
|
261
|
-
get _shouldShowClearButton() {
|
|
262
|
-
return this.clearable ? this.multiple ? this.selectedOptions?.length > 0 : this.value !== "" : !1;
|
|
263
|
-
}
|
|
264
|
-
_onClearButtonFocus() {
|
|
265
|
-
this._isClearButtonFocused = !0, this.activeIndex = -1, this.uncheckAllOptions();
|
|
266
|
-
}
|
|
267
|
-
_onClearButtonBlur() {
|
|
268
|
-
this._isClearButtonFocused = !1;
|
|
269
|
-
}
|
|
270
|
-
get _shouldShowLabelWrapper() {
|
|
271
|
-
return !!(this.label || this._hasContextualHelp || this.multiple && this._shouldShowClearButton);
|
|
272
|
-
}
|
|
273
|
-
_onClearButtonClick() {
|
|
274
|
-
this.multiple ? this.selectedOptions?.forEach((e) => {
|
|
275
|
-
/* v8 ignore else -- @preserve */
|
|
276
|
-
e.disabled || (e.selected = !1);
|
|
277
|
-
}) : this.selectedIndex = -1, this.updateValue(!0);
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
p([r], H.prototype, "activeIndex", void 0), p([a({ mode: "boolean" })], H.prototype, "multiple", void 0), p([a({
|
|
281
|
-
attribute: "open",
|
|
282
|
-
mode: "boolean"
|
|
283
|
-
})], H.prototype, "open", void 0), p([t], H.prototype, "collapsible", null), p([r], H.prototype, "control", void 0), p([r], H.prototype, "maxHeight", void 0), p([r], H.prototype, "_anchor", void 0), p([a()], H.prototype, "scale", void 0), p([a], H.prototype, "appearance", void 0), p([a], H.prototype, "shape", void 0), p([a({
|
|
284
|
-
mode: "boolean",
|
|
285
|
-
attribute: "fixed-dropdown"
|
|
286
|
-
})], H.prototype, "fixedDropdown", void 0), p([a], H.prototype, "placeholder", void 0), p([r], H.prototype, "_feedbackWrapper", void 0), p([r], H.prototype, "metaSlottedContent", void 0), p([a({ mode: "boolean" })], H.prototype, "clearable", void 0), p([r], H.prototype, "_isClearButtonFocused", void 0);
|
|
1
|
+
import { d as e, o as t, s as n } from "./vivid-element.js";
|
|
2
|
+
import { t as r } from "./class-names.js";
|
|
3
|
+
import { n as i } from "./host-semantics.js";
|
|
4
|
+
import { n as a, t as o } from "./divider.js";
|
|
287
5
|
//#endregion
|
|
288
|
-
//#region src/lib/
|
|
289
|
-
var
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
id="label"
|
|
295
|
-
>
|
|
296
|
-
${(e) => e.label}
|
|
297
|
-
</label>`;
|
|
298
|
-
}
|
|
299
|
-
function K(e) {
|
|
300
|
-
let t = e.tagFor(B);
|
|
301
|
-
return i`
|
|
302
|
-
<${t} text="${(e) => e.placeholder}" hidden disabled>
|
|
303
|
-
</${t}>`;
|
|
304
|
-
}
|
|
305
|
-
function q(e) {
|
|
306
|
-
let t = e.tagFor(j);
|
|
307
|
-
return i`
|
|
308
|
-
<${t}
|
|
309
|
-
aria-label="${(e) => e.locale.select.clearButtonLabel}"
|
|
310
|
-
aria-hidden="${(e) => e._isClearButtonFocused ? "false" : "true"}"
|
|
311
|
-
@click="${(e, t) => {
|
|
312
|
-
e._onClearButtonClick(), t.event.stopPropagation();
|
|
313
|
-
}}"
|
|
314
|
-
@mousedown="${() => !1}"
|
|
315
|
-
@keydown="${(e, t) => (t.event.key === "Tab" && e._onClearButtonBlur(), t.event.stopPropagation(), !0)}"
|
|
316
|
-
@focusin="${(e, t) => {
|
|
317
|
-
t.event.stopPropagation(), e._onClearButtonFocus();
|
|
318
|
-
}}"
|
|
319
|
-
@focusout="${(e) => e._onClearButtonBlur()}"
|
|
320
|
-
?disabled="${(e) => e.disabled}"
|
|
321
|
-
:shape="${(e) => e.shape}"
|
|
322
|
-
size="super-condensed"
|
|
323
|
-
icon="close-line"
|
|
324
|
-
appearance="ghost-light"
|
|
325
|
-
class="clear-button"
|
|
326
|
-
tabindex="0"
|
|
327
|
-
></${t}>
|
|
328
|
-
`;
|
|
329
|
-
}
|
|
330
|
-
function J(e) {
|
|
331
|
-
let t = C(e), n = M(e);
|
|
332
|
-
return i` <div
|
|
333
|
-
class="control ${W}"
|
|
334
|
-
${l("_anchor")}
|
|
335
|
-
id="control"
|
|
336
|
-
?disabled="${(e) => e.disabled}"
|
|
337
|
-
>
|
|
338
|
-
<div class="selected-value">
|
|
339
|
-
${(e) => t(e.icon, w.Slot)}
|
|
340
|
-
<span class="text">${(e) => e.displayValue}</span>
|
|
341
|
-
<slot name="meta" ${d("metaSlottedContent")}></slot>
|
|
342
|
-
</div>
|
|
343
|
-
${u((e) => e._shouldShowClearButton, q(e))}
|
|
344
|
-
${n}
|
|
345
|
-
</div>`;
|
|
346
|
-
}
|
|
347
|
-
function Y(e) {
|
|
348
|
-
return e.open && e.fixedDropdown ? `--_select-fixed-width: ${Math.round(e.getBoundingClientRect().width)}px` : null;
|
|
349
|
-
}
|
|
350
|
-
function X(e) {
|
|
351
|
-
let t = e.tagFor(F);
|
|
352
|
-
return i`
|
|
353
|
-
<div class="label-wrapper" ?hidden=${(e) => !e._shouldShowLabelWrapper}>
|
|
354
|
-
${u((e) => e.label, G())}
|
|
355
|
-
${u((e) => e.multiple && e._shouldShowClearButton, q(e))}
|
|
356
|
-
<slot name="contextual-help" ${d("_contextualHelpSlottedContent")}></slot>
|
|
357
|
-
</div>
|
|
358
|
-
<div class="control-wrapper">
|
|
359
|
-
${u((e) => !e.multiple, J(e))}
|
|
360
|
-
<${t} class="popup"
|
|
361
|
-
style="${Y}"
|
|
362
|
-
?open="${(e) => e.collapsible ? e.open : !0}"
|
|
363
|
-
:anchor="${(e) => e._anchor}"
|
|
364
|
-
placement="bottom-start"
|
|
365
|
-
strategy="${(e) => e.fixedDropdown ? null : "absolute"}">
|
|
366
|
-
<div class="listbox"
|
|
367
|
-
id="${(e) => e.listboxId}"
|
|
368
|
-
role="listbox"
|
|
369
|
-
aria-multiselectable="${(e) => e.multiple}"
|
|
370
|
-
aria-label="${(e) => e.multiple && !e.label && e.ariaLabel ? e.ariaLabel : null}"
|
|
371
|
-
aria-labelledby="${(e) => e.multiple && e.label ? "label" : null}"
|
|
372
|
-
?disabled="${(e) => e.disabled}"
|
|
373
|
-
?hidden="${(e) => e.collapsible ? !e.open : !1}"
|
|
374
|
-
${l("listbox")}>
|
|
375
|
-
${u((e) => e.placeholder, K(e))}
|
|
376
|
-
<slot
|
|
377
|
-
${d({
|
|
378
|
-
filter: m.slottedOptionFilter,
|
|
379
|
-
flatten: !0,
|
|
380
|
-
property: "slottedOptions"
|
|
381
|
-
})}>
|
|
382
|
-
</slot>
|
|
383
|
-
</div>
|
|
384
|
-
</${t}>
|
|
385
|
-
</div>
|
|
386
|
-
`;
|
|
387
|
-
}
|
|
388
|
-
function Z(e) {
|
|
389
|
-
return (t, n) => n.event.composedPath().includes(t._feedbackWrapper) ? !0 : e(t, n.event);
|
|
390
|
-
}
|
|
391
|
-
//#endregion
|
|
392
|
-
//#region src/lib/select/definition.ts
|
|
393
|
-
var Q = o("select", H, (e) => i`
|
|
394
|
-
<template
|
|
395
|
-
${L({
|
|
396
|
-
role: "combobox",
|
|
397
|
-
ariaLabel: (e) => e.ariaLabel ?? e.label,
|
|
398
|
-
ariaHasPopup: (e) => e.collapsible ? "listbox" : "false",
|
|
399
|
-
ariaExpanded: (e) => e.open,
|
|
400
|
-
ariaDisabled: (e) => e.disabled
|
|
6
|
+
//#region src/lib/divider/definition.ts
|
|
7
|
+
var s = t("divider", o, e`<template
|
|
8
|
+
${i({
|
|
9
|
+
role: (e) => e.role || a.separator,
|
|
10
|
+
ariaHidden: !0,
|
|
11
|
+
ariaOrientation: ({ role: e, orientation: t }) => e === a.presentation ? null : t
|
|
401
12
|
})}
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
tabindex="${(e) => e.disabled ? null : "0"}"
|
|
406
|
-
@click="${Z((e, t) => e.clickHandler(t))}"
|
|
407
|
-
@focusin="${Z((e, t) => e.focusinHandler(t))}"
|
|
408
|
-
@focusout="${Z((e, t) => e.focusoutHandler(t))}"
|
|
409
|
-
@keydown="${Z((e, t) => (e.open && P(t), e.keydownHandler(t)))}"
|
|
410
|
-
@mousedown="${Z((e, t) => e.mousedownHandler(t))}"
|
|
411
|
-
>
|
|
412
|
-
${X(e)}
|
|
413
|
-
<div class="feedback-wrapper" ${l("_feedbackWrapper")}>
|
|
414
|
-
${(t) => t._getFeedbackTemplate(e)}
|
|
415
|
-
</div>
|
|
416
|
-
</template>
|
|
417
|
-
`, [
|
|
418
|
-
I,
|
|
419
|
-
f,
|
|
420
|
-
V,
|
|
421
|
-
N,
|
|
422
|
-
R
|
|
423
|
-
], { styles: U }), $ = s(Q);
|
|
13
|
+
>
|
|
14
|
+
<span class="${({ orientation: e, appearance: t }) => r("base", [`${e}`, !!e], [`appearance-${t}`, !!t])}"></span
|
|
15
|
+
></template>`, [], { styles: ":host{display:block}.base{--_connotation-color-soft:var(--vvd-divider-accent-soft,var(--vvd-color-neutral-100));--_connotation-color-dim:var(--vvd-divider-accent-dim,var(--vvd-color-neutral-200));display:block}.base:not(.vertical){block-size:1px;inline-size:100%}.base.vertical{block-size:100%;inline-size:1px}.base.appearance-ghost{background-color:var(--_connotation-color-dim)}.base.appearance-subtle{background-color:var(--_connotation-color-soft)}" }), c = n(s);
|
|
424
16
|
//#endregion
|
|
425
|
-
export {
|
|
17
|
+
export { c as n, s as t };
|
package/bundled/definition2.cjs
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
const e=require(`./vivid-element.cjs`),t=require(`./when.cjs`),n=require(`./definition.cjs`),r=require(`./
|
|
2
|
-
<g>
|
|
3
|
-
<g stroke-width="6" stroke-linecap="round" fill="none">
|
|
4
|
-
<path stroke="currentColor" d="M4,32 c0,15,12,28,28,28c8,0,16-4,21-9">
|
|
5
|
-
</path>
|
|
6
|
-
<path d="M60,32 C60,16,47.464,4,32,4S4,16,4,32">
|
|
7
|
-
</path>
|
|
8
|
-
<animateTransform values="0,32,32;360,32,32" attributeName="transform" type="rotate" repeatCount="indefinite" dur="750ms">
|
|
9
|
-
</animateTransform>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>`,d=500,f=2e3,p=(e,t)=>[s,`v${t}`,e].join(`/`),m=({ok:e,headers:t})=>{if(!e||t.get(`content-type`)!==`image/svg+xml`)throw Error(`Something went wrong`)},h=e=>(m(e),e.text()),g=(e,t)=>fetch(p(`${e}.svg`,c),{signal:t}).then(h),_=e=>(e??``).trim(),v=new Map,y=(e,t)=>{let n=_(e);if(!n)return Promise.resolve(``);let r=v.get(n);if(r&&!r.signal?.aborted)return r.promise;let i=g(n,t).then(e=>{let r=v.get(n);if(r&&r.promise===i&&t.aborted)throw v.delete(n),t.reason??new DOMException(`Aborted`,`AbortError`);return e}).catch(e=>{let t=v.get(n);throw t&&t.promise===i&&v.delete(n),e});return v.set(n,{promise:i,signal:t}),i},b=class extends e.t{constructor(...e){super(...e),this.iconLoaded=!1}#e=0;#t=null;async nameChanged(){let e=++this.#e;this.#t&&this.#t.abort(),this.#t=new AbortController,this._svg=void 0,this.iconLoaded=!1;let t=setTimeout(()=>{this.#e===e&&(this._svg=u,t=setTimeout(()=>{this.#e===e&&this._svg===u&&(this._svg=void 0)},f))},d);try{let t=await y(this.name,this.#t.signal);this.#e===e&&(this._svg=t)}catch{this.#e===e&&(this._svg=void 0)}finally{this.#e===e&&(clearTimeout(t),this.iconLoaded=!0)}}};r.t([e.l],b.prototype,`connotation`,void 0),r.t([e.l({converter:l})],b.prototype,`size`,void 0),r.t([e.T],b.prototype,`_svg`,void 0),r.t([e.T],b.prototype,`iconLoaded`,void 0),r.t([e.l],b.prototype,`label`,void 0),r.t([e.l],b.prototype,`name`,void 0);var x=({connotation:e,size:t})=>i.t(`control`,[`connotation-${e}`,!!e],[`size-${t}`,typeof t==`number`]),S=e.o(`icon`,b,r=>{let i=r.tagFor(n.r),a=e=>!e.label||e.label.trim().length===0;return e.d`
|
|
1
|
+
const e=require(`./vivid-element.cjs`),t=require(`./when.cjs`),n=require(`./definition.cjs`),r=require(`./numberConverter.cjs`),i=require(`./decorate.cjs`),a=require(`./class-names.cjs`);var o=500,s=2e3,c=class extends e.t{constructor(...e){super(...e),this.iconLoaded=!1}#e=0;#t=null;async nameChanged(){let e=++this.#e;this.#t&&this.#t.abort(),this.#t=new AbortController,this._svg=void 0,this.iconLoaded=!1;let t=setTimeout(()=>{this.#e===e&&(this._svg=r.r,t=setTimeout(()=>{this.#e===e&&this._svg===r.r&&(this._svg=void 0)},s))},o);try{let t=await r.n(this.name,this.#t.signal);this.#e===e&&(this._svg=t)}catch{this.#e===e&&(this._svg=void 0)}finally{this.#e===e&&(clearTimeout(t),this.iconLoaded=!0)}}};i.t([e.l],c.prototype,`connotation`,void 0),i.t([e.l({converter:r.t})],c.prototype,`size`,void 0),i.t([e.T],c.prototype,`_svg`,void 0),i.t([e.T],c.prototype,`iconLoaded`,void 0),i.t([e.l],c.prototype,`label`,void 0),i.t([e.l],c.prototype,`name`,void 0);var l=`:host{vertical-align:sub;display:inline-block}.control.connotation-accent{--_connotation-color-primary:var(--vvd-icon-accent-primary,var(--vvd-color-canvas-text))}.control.connotation-announcement{--_connotation-color-primary:var(--vvd-icon-announcement-primary,var(--vvd-color-announcement-500))}.control.connotation-cta{--_connotation-color-primary:var(--vvd-icon-cta-primary,var(--vvd-color-cta-500))}.control.connotation-success{--_connotation-color-primary:var(--vvd-icon-success-primary,var(--vvd-color-success-500))}.control.connotation-warning{--_connotation-color-primary:var(--vvd-icon-warning-primary,var(--vvd-color-warning-300))}.control.connotation-alert{--_connotation-color-primary:var(--vvd-icon-alert-primary,var(--vvd-color-alert-500))}.control.connotation-information{--_connotation-color-primary:var(--vvd-icon-information-primary,var(--vvd-color-information-500))}.control.size--6{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)) - 1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16))}.control.size--5{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 20))}.control.size--4{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16))}.control.size--3{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 12))}.control.size--2{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8))}.control.size--1{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 4))}.control.size-0{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)))}.control.size-1{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 4))}.control.size-2{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 8))}.control.size-3{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 12))}.control.size-4{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 16))}.control.size-5{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 20))}.control:not(.size--6,.size--5,.size--4,.size--3,.size--2,.size--1,.size-0,.size-1,.size-2,.size-3,.size-4,.size-5){--_icon-block-size:1em}.control{margin:unset;block-size:var(--_icon-block-size);color:currentColor;contain:strict;inline-size:var(--_icon-block-size);display:flex}.control[class*=connotation]{color:var(--_connotation-color-primary)}slot,svg,::slotted(:where(svg,img)){block-size:inherit;inline-size:inherit;margin:auto}`,u=({connotation:e,size:t})=>a.t(`control`,[`connotation-${e}`,!!e],[`size-${t}`,typeof t==`number`]),d=e.o(`icon`,c,r=>{let i=r.tagFor(n.r),a=e=>!e.label||e.label.trim().length===0;return e.d`
|
|
13
2
|
<figure
|
|
14
|
-
class="${
|
|
3
|
+
class="${u}"
|
|
15
4
|
?aria-hidden="${e=>a(e)}"
|
|
16
5
|
?aria-busy="${e=>!e?.iconLoaded}"
|
|
17
6
|
>
|
|
@@ -20,4 +9,4 @@ const e=require(`./vivid-element.cjs`),t=require(`./when.cjs`),n=require(`./defi
|
|
|
20
9
|
</slot>
|
|
21
10
|
<${i} class="label">${e=>e?.label}</${i}>
|
|
22
11
|
</figure>
|
|
23
|
-
`},[n.n],{styles:
|
|
12
|
+
`},[n.n],{styles:l}),f=e.s(d);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
|
package/bundled/definition2.js
CHANGED
|
@@ -1,44 +1,11 @@
|
|
|
1
1
|
import { T as e, d as t, l as n, o as r, s as i, t as a } from "./vivid-element.js";
|
|
2
2
|
import { t as o } from "./when.js";
|
|
3
3
|
import { n as s, r as c } from "./definition.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/shared/utils/numberConverter.ts
|
|
11
|
-
var h = {
|
|
12
|
-
toView(e) {
|
|
13
|
-
return e === void 0 ? null : e.toString();
|
|
14
|
-
},
|
|
15
|
-
fromView(e) {
|
|
16
|
-
if (typeof e == "string" && (e = parseFloat(e.toString())), typeof e == "number") return isNaN(e) || !isFinite(e) ? void 0 : e;
|
|
17
|
-
}
|
|
18
|
-
}, g = "<svg width=\"80%\" height=\"80%\" viewBox=\"0 0 64 64\">\n <g>\n <g stroke-width=\"6\" stroke-linecap=\"round\" fill=\"none\">\n <path stroke=\"currentColor\" d=\"M4,32 c0,15,12,28,28,28c8,0,16-4,21-9\">\n </path>\n <path d=\"M60,32 C60,16,47.464,4,32,4S4,16,4,32\">\n </path>\n <animateTransform values=\"0,32,32;360,32,32\" attributeName=\"transform\" type=\"rotate\" repeatCount=\"indefinite\" dur=\"750ms\">\n </animateTransform>\n </g>\n </g>\n</svg>", _ = 500, v = 2e3, y = (e, t) => [
|
|
19
|
-
p,
|
|
20
|
-
`v${t}`,
|
|
21
|
-
e
|
|
22
|
-
].join("/"), b = ({ ok: e, headers: t }) => {
|
|
23
|
-
if (!e || t.get("content-type") !== "image/svg+xml") throw Error("Something went wrong");
|
|
24
|
-
}, x = (e) => (b(e), e.text()), S = (e, t) => fetch(y(`${e}.svg`, m), { signal: t }).then(x), C = (e) => (e ?? "").trim(), w = /* @__PURE__ */ new Map(), T = (e, t) => {
|
|
25
|
-
let n = C(e);
|
|
26
|
-
if (!n) return Promise.resolve("");
|
|
27
|
-
let r = w.get(n);
|
|
28
|
-
if (r && !r.signal?.aborted) return r.promise;
|
|
29
|
-
let i = S(n, t).then((e) => {
|
|
30
|
-
let r = w.get(n);
|
|
31
|
-
if (r && r.promise === i && t.aborted) throw w.delete(n), t.reason ?? new DOMException("Aborted", "AbortError");
|
|
32
|
-
return e;
|
|
33
|
-
}).catch((e) => {
|
|
34
|
-
let t = w.get(n);
|
|
35
|
-
throw t && t.promise === i && w.delete(n), e;
|
|
36
|
-
});
|
|
37
|
-
return w.set(n, {
|
|
38
|
-
promise: i,
|
|
39
|
-
signal: t
|
|
40
|
-
}), i;
|
|
41
|
-
}, E = class extends a {
|
|
4
|
+
import { n as l, r as u, t as d } from "./numberConverter.js";
|
|
5
|
+
import { t as f } from "./decorate.js";
|
|
6
|
+
import { t as p } from "./class-names.js";
|
|
7
|
+
//#region src/lib/icon/icon.ts
|
|
8
|
+
var m = 500, h = 2e3, g = class extends a {
|
|
42
9
|
constructor(...e) {
|
|
43
10
|
super(...e), this.iconLoaded = !1;
|
|
44
11
|
}
|
|
@@ -49,13 +16,13 @@ var h = {
|
|
|
49
16
|
this.#t && this.#t.abort(), this.#t = new AbortController(), this._svg = void 0, this.iconLoaded = !1;
|
|
50
17
|
let t = setTimeout(() => {
|
|
51
18
|
/* v8 ignore else -- @preserve */
|
|
52
|
-
this.#e === e && (this._svg =
|
|
19
|
+
this.#e === e && (this._svg = u, t = setTimeout(() => {
|
|
53
20
|
/* v8 ignore else -- @preserve */
|
|
54
|
-
this.#e === e && this._svg ===
|
|
55
|
-
},
|
|
56
|
-
},
|
|
21
|
+
this.#e === e && this._svg === u && (this._svg = void 0);
|
|
22
|
+
}, h));
|
|
23
|
+
}, m);
|
|
57
24
|
try {
|
|
58
|
-
let t = await
|
|
25
|
+
let t = await l(this.name, this.#t.signal);
|
|
59
26
|
/* v8 ignore else -- @preserve */
|
|
60
27
|
this.#e === e && (this._svg = t);
|
|
61
28
|
} catch {
|
|
@@ -65,14 +32,14 @@ var h = {
|
|
|
65
32
|
}
|
|
66
33
|
}
|
|
67
34
|
};
|
|
68
|
-
|
|
35
|
+
f([n], g.prototype, "connotation", void 0), f([n({ converter: d })], g.prototype, "size", void 0), f([e], g.prototype, "_svg", void 0), f([e], g.prototype, "iconLoaded", void 0), f([n], g.prototype, "label", void 0), f([n], g.prototype, "name", void 0);
|
|
69
36
|
//#endregion
|
|
70
|
-
//#region src/lib/icon/icon.
|
|
71
|
-
var
|
|
37
|
+
//#region src/lib/icon/icon.scss?inline
|
|
38
|
+
var _ = ":host{vertical-align:sub;display:inline-block}.control.connotation-accent{--_connotation-color-primary:var(--vvd-icon-accent-primary,var(--vvd-color-canvas-text))}.control.connotation-announcement{--_connotation-color-primary:var(--vvd-icon-announcement-primary,var(--vvd-color-announcement-500))}.control.connotation-cta{--_connotation-color-primary:var(--vvd-icon-cta-primary,var(--vvd-color-cta-500))}.control.connotation-success{--_connotation-color-primary:var(--vvd-icon-success-primary,var(--vvd-color-success-500))}.control.connotation-warning{--_connotation-color-primary:var(--vvd-icon-warning-primary,var(--vvd-color-warning-300))}.control.connotation-alert{--_connotation-color-primary:var(--vvd-icon-alert-primary,var(--vvd-color-alert-500))}.control.connotation-information{--_connotation-color-primary:var(--vvd-icon-information-primary,var(--vvd-color-information-500))}.control.size--6{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)) - 1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16))}.control.size--5{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 20))}.control.size--4{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16))}.control.size--3{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 12))}.control.size--2{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8))}.control.size--1{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 4))}.control.size-0{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)))}.control.size-1{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 4))}.control.size-2{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 8))}.control.size-3{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 12))}.control.size-4{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 16))}.control.size-5{--_icon-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 20))}.control:not(.size--6,.size--5,.size--4,.size--3,.size--2,.size--1,.size-0,.size-1,.size-2,.size-3,.size-4,.size-5){--_icon-block-size:1em}.control{margin:unset;block-size:var(--_icon-block-size);color:currentColor;contain:strict;inline-size:var(--_icon-block-size);display:flex}.control[class*=connotation]{color:var(--_connotation-color-primary)}slot,svg,::slotted(:where(svg,img)){block-size:inherit;inline-size:inherit;margin:auto}", v = ({ connotation: e, size: t }) => p("control", [`connotation-${e}`, !!e], [`size-${t}`, typeof t == "number"]), y = r("icon", g, (e) => {
|
|
72
39
|
let n = e.tagFor(c), r = (e) => !e.label || e.label.trim().length === 0;
|
|
73
40
|
return t`
|
|
74
41
|
<figure
|
|
75
|
-
class="${
|
|
42
|
+
class="${v}"
|
|
76
43
|
?aria-hidden="${(e) => r(e)}"
|
|
77
44
|
?aria-busy="${(e) => !e?.iconLoaded}"
|
|
78
45
|
>
|
|
@@ -82,6 +49,6 @@ var D = ({ connotation: e, size: t }) => u("control", [`connotation-${e}`, !!e],
|
|
|
82
49
|
<${n} class="label">${(e) => e?.label}</${n}>
|
|
83
50
|
</figure>
|
|
84
51
|
`;
|
|
85
|
-
}, [s], { styles:
|
|
52
|
+
}, [s], { styles: _ }), b = i(y);
|
|
86
53
|
//#endregion
|
|
87
|
-
export {
|
|
54
|
+
export { b as n, g as r, y as t };
|