@eunomia/elements 1.0.0-beta.6 → 1.0.0-beta.8
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/README.md +1 -1
- package/dist/cdn/components/chunks/{chunk-KDN4O5W2.js → chunk-32L2QYWQ.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-JYIIWN2P.js → chunk-36KLGY6U.js} +8 -8
- package/dist/cdn/components/chunks/chunk-3BMACIDO.js +1 -0
- package/dist/cdn/components/chunks/{chunk-2Y2EU2CI.js → chunk-3UUZM7X2.js} +1 -1
- package/dist/cdn/components/chunks/chunk-55PUDL7D.js +109 -0
- package/dist/cdn/components/chunks/chunk-5LA5DQMP.js +1 -0
- package/dist/cdn/components/chunks/chunk-5LXGJVJR.js +1 -0
- package/dist/cdn/components/chunks/{chunk-ZKZV2YG5.js → chunk-5XPOGBPL.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-LMVW522V.js → chunk-62RLISRD.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-PMPSJG5V.js → chunk-6FYW5TQU.js} +3 -3
- package/dist/cdn/components/chunks/chunk-6TIEBY34.js +1 -0
- package/dist/cdn/components/chunks/{chunk-MOMYII3P.js → chunk-AH2SKZ7T.js} +14 -1
- package/dist/cdn/components/chunks/chunk-AK2DIJX7.js +1 -0
- package/dist/cdn/components/chunks/chunk-B5XMGWM7.js +10 -0
- package/dist/cdn/components/chunks/chunk-GVS6IUKC.js +1 -0
- package/dist/cdn/components/chunks/chunk-GWLD2I3P.js +8 -0
- package/dist/cdn/components/chunks/{chunk-UDVB4LAE.js → chunk-I4ERDXSM.js} +5 -3
- package/dist/cdn/components/chunks/{chunk-QZ5SHR3I.js → chunk-J3SZBXM6.js} +2 -2
- package/dist/cdn/components/chunks/chunk-JAGZL7JH.js +1 -0
- package/dist/cdn/components/chunks/{chunk-VYFR364B.js → chunk-LD35BFNK.js} +18 -17
- package/dist/cdn/components/chunks/{chunk-XDPRWUKN.js → chunk-MQQJ6DID.js} +1 -1
- package/dist/cdn/components/chunks/chunk-P6LGU3FT.js +1 -0
- package/dist/cdn/components/chunks/chunk-QL5GSW2A.js +1 -0
- package/dist/cdn/components/chunks/{chunk-UYZR4JXZ.js → chunk-QSZO4GIH.js} +45 -9
- package/dist/cdn/components/chunks/{chunk-7KKWYPHY.js → chunk-QXQ25SQS.js} +21 -19
- package/dist/cdn/components/chunks/{chunk-SZYEBMG6.js → chunk-QYB6Z6FG.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-RIFF2D2F.js → chunk-RGC3I6MK.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-L2ADCEN7.js → chunk-SVGWCKWT.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-N6ZW5CDN.js → chunk-TCSB2MLU.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-MQQ4BGVJ.js → chunk-TFTRCIIK.js} +7 -6
- package/dist/cdn/components/chunks/chunk-TLBXTBMM.js +46 -0
- package/dist/cdn/components/chunks/chunk-UVHVQRPT.js +1 -0
- package/dist/cdn/components/chunks/chunk-WIUERJII.js +1 -0
- package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +1 -0
- package/dist/cdn/components/eun-alert.js +13 -6
- package/dist/cdn/components/eun-animate.js +6 -6
- package/dist/cdn/components/eun-badge.js +1 -1
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +2 -2
- package/dist/cdn/components/eun-card.js +4 -4
- package/dist/cdn/components/eun-carousel.js +26 -22
- package/dist/cdn/components/eun-check-card.js +1 -1
- package/dist/cdn/components/eun-checkbox-list.js +11 -8
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +17 -11
- package/dist/cdn/components/eun-collapse.js +1 -1
- package/dist/cdn/components/eun-color-picker.js +74 -69
- package/dist/cdn/components/eun-counter.js +16 -14
- package/dist/cdn/components/eun-date-picker.js +67 -63
- package/dist/cdn/components/eun-description-list.js +2 -2
- package/dist/cdn/components/eun-divider.js +3 -3
- package/dist/cdn/components/eun-drawer.js +21 -22
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +3 -3
- package/dist/cdn/components/eun-fab.js +2 -2
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +1 -1
- package/dist/cdn/components/eun-image-carousel.js +10 -10
- package/dist/cdn/components/eun-infinite-list.js +1 -1
- package/dist/cdn/components/eun-input-file.js +21 -21
- package/dist/cdn/components/eun-input-phone.js +16 -12
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-link.js +59 -13
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +33 -23
- package/dist/cdn/components/eun-pagination.js +16 -16
- package/dist/cdn/components/eun-password-strength.js +14 -10
- package/dist/cdn/components/eun-radio-card.js +1 -1
- package/dist/cdn/components/eun-radio-list.js +11 -8
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-rating.js +276 -0
- package/dist/cdn/components/eun-scheduler-event-editor.js +11 -11
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +28 -28
- package/dist/cdn/components/eun-search.js +36 -32
- package/dist/cdn/components/eun-select.js +27 -27
- package/dist/cdn/components/eun-sidebar.js +73 -26
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +3 -3
- package/dist/cdn/components/eun-sliding-card.js +1 -1
- package/dist/cdn/components/eun-step.js +5 -4
- package/dist/cdn/components/eun-stepper.js +30 -30
- package/dist/cdn/components/eun-switch.js +1 -1
- package/dist/cdn/components/eun-tab-group.js +4 -4
- package/dist/cdn/components/eun-tab-panel.js +1 -1
- package/dist/cdn/components/eun-tab.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table.js +2 -2
- package/dist/cdn/components/eun-tag.js +3 -3
- package/dist/cdn/components/eun-textarea.js +36 -28
- package/dist/cdn/components/eun-time-picker.js +31 -28
- package/dist/cdn/components/eun-toast.js +24 -15
- package/dist/cdn/components/eun-toggle-group.js +75 -37
- package/dist/cdn/components/eun-toggle-item.js +9 -9
- package/dist/cdn/components/eun-toggle.js +2 -2
- package/dist/cdn/components/eun-toolbar.js +22 -22
- package/dist/cdn/components/eun-tooltip.js +6 -6
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +6 -2
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/components/action/button/button.d.ts +4 -3
- package/dist/components/action/button/button.js +6 -9
- package/dist/components/action/button/button.styles.js +13 -8
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +4 -6
- package/dist/components/action/dropdown-button/dropdown-button.js +16 -13
- package/dist/components/action/dropdown-button/dropdown-item.d.ts +10 -2
- package/dist/components/action/dropdown-button/dropdown-item.js +24 -9
- package/dist/components/action/link/link.d.ts +10 -1
- package/dist/components/action/link/link.js +13 -1
- package/dist/components/action/link/link.styles.js +50 -3
- package/dist/components/action/toggle/toggle-group.d.ts +12 -2
- package/dist/components/action/toggle/toggle-group.js +18 -3
- package/dist/components/action/toggle/toggle-group.styles.js +58 -20
- package/dist/components/action/toggle/toggle-item.js +1 -3
- package/dist/components/action/toggle/toggle-item.styles.js +7 -7
- package/dist/components/action/toggle/toggle.js +1 -1
- package/dist/components/alert/alert/alert.d.ts +9 -7
- package/dist/components/alert/alert/alert.js +11 -14
- package/dist/components/alert/alert/alert.styles.js +9 -2
- package/dist/components/alert/drawer/drawer.d.ts +30 -5
- package/dist/components/alert/drawer/drawer.js +48 -13
- package/dist/components/alert/drawer/drawer.styles.js +7 -7
- package/dist/components/alert/modal/modal.d.ts +35 -10
- package/dist/components/alert/modal/modal.js +55 -28
- package/dist/components/alert/modal/modal.styles.js +17 -6
- package/dist/components/alert/toast/toast.d.ts +7 -5
- package/dist/components/alert/toast/toast.js +12 -15
- package/dist/components/alert/toast/toast.styles.js +18 -9
- package/dist/components/content/badge/badge.js +2 -2
- package/dist/components/content/card/card.js +1 -1
- package/dist/components/content/card/card.styles.js +2 -2
- package/dist/components/content/chip/chip.d.ts +4 -4
- package/dist/components/content/chip/chip.js +11 -10
- package/dist/components/content/chip/chip.styles.js +9 -3
- package/dist/components/content/description-list/description-list.js +3 -3
- package/dist/components/content/icon/icon.d.ts +3 -0
- package/dist/components/content/icon/icon.js +3 -0
- package/dist/components/content/icon/icon.style.d.ts +2 -0
- package/dist/components/content/icon/icon.style.js +4 -0
- package/dist/components/content/image-carousel/image-carousel.d.ts +12 -12
- package/dist/components/content/image-carousel/image-carousel.js +29 -28
- package/dist/components/content/password-strength/password-strength.d.ts +21 -6
- package/dist/components/content/password-strength/password-strength.js +37 -16
- package/dist/components/content/password-strength/password-strength.styles.js +4 -0
- package/dist/components/content/tag/tag.js +2 -2
- package/dist/components/content/tooltip/tooltip.d.ts +16 -9
- package/dist/components/content/tooltip/tooltip.js +31 -15
- package/dist/components/content/tooltip/tooltip.styles.js +1 -1
- package/dist/components/form/checkbox/check-card.d.ts +1 -0
- package/dist/components/form/checkbox/check-card.js +1 -0
- package/dist/components/form/checkbox/checkbox-list.d.ts +17 -0
- package/dist/components/form/checkbox/checkbox-list.js +39 -10
- package/dist/components/form/checkbox/checkbox.d.ts +1 -0
- package/dist/components/form/checkbox/checkbox.js +3 -1
- package/dist/components/form/checkbox/checkbox.styles.js +3 -2
- package/dist/components/form/color-picker/color-picker.d.ts +47 -28
- package/dist/components/form/color-picker/color-picker.js +73 -51
- package/dist/components/form/color-picker/color-picker.styles.js +14 -1
- package/dist/components/form/counter/counter.d.ts +24 -18
- package/dist/components/form/counter/counter.js +61 -61
- package/dist/components/form/counter/counter.styles.js +6 -4
- package/dist/components/form/date-picker/date-picker.d.ts +33 -7
- package/dist/components/form/date-picker/date-picker.js +82 -56
- package/dist/components/form/date-picker/date-picker.styles.js +9 -6
- package/dist/components/form/input/input.d.ts +43 -39
- package/dist/components/form/input/input.js +91 -110
- package/dist/components/form/input-file/input-file.d.ts +26 -13
- package/dist/components/form/input-file/input-file.js +35 -35
- package/dist/components/form/input-file/input-file.styles.js +4 -4
- package/dist/components/form/input-phone/input-phone.d.ts +28 -5
- package/dist/components/form/input-phone/input-phone.js +47 -13
- package/dist/components/form/input-phone/input-phone.styles.js +6 -3
- package/dist/components/form/radio/radio-card.d.ts +1 -0
- package/dist/components/form/radio/radio-card.js +1 -0
- package/dist/components/form/radio/radio-list.d.ts +23 -7
- package/dist/components/form/radio/radio-list.js +47 -22
- package/dist/components/form/radio/radio.d.ts +1 -0
- package/dist/components/form/radio/radio.js +1 -0
- package/dist/components/form/rating/rating.d.ts +349 -0
- package/dist/components/form/rating/rating.js +665 -0
- package/dist/components/form/rating/rating.styles.d.ts +1 -0
- package/dist/components/form/rating/rating.styles.js +213 -0
- package/dist/components/form/search/search.d.ts +72 -18
- package/dist/components/form/search/search.js +135 -72
- package/dist/components/form/search/search.styles.js +2 -0
- package/dist/components/form/select/select.d.ts +29 -10
- package/dist/components/form/select/select.js +65 -41
- package/dist/components/form/shared-styles/field.styles.js +45 -8
- package/dist/components/form/shared-styles/listbox.styles.js +15 -1
- package/dist/components/form/slider/slider.d.ts +7 -8
- package/dist/components/form/slider/slider.js +9 -12
- package/dist/components/form/switch/switch.d.ts +1 -0
- package/dist/components/form/switch/switch.js +1 -0
- package/dist/components/form/textarea/textarea.d.ts +90 -23
- package/dist/components/form/textarea/textarea.js +194 -44
- package/dist/components/form/textarea/textarea.styles.js +3 -0
- package/dist/components/form/time-picker/time-picker-columns.d.ts +2 -2
- package/dist/components/form/time-picker/time-picker-columns.js +8 -8
- package/dist/components/form/time-picker/time-picker.d.ts +30 -9
- package/dist/components/form/time-picker/time-picker.js +66 -40
- package/dist/components/form/time-picker/time-picker.styles.js +7 -5
- package/dist/components/layout/animate/animate.js +3 -2
- package/dist/components/layout/animate/animate.styles.js +2 -2
- package/dist/components/layout/divider/divider.js +1 -1
- package/dist/components/layout/divider/divider.styles.js +1 -1
- package/dist/components/loader/loader/loader.js +2 -2
- package/dist/components/loader/loader/loader.styles.js +14 -12
- package/dist/components/loader/skeleton/skeleton.js +1 -1
- package/dist/components/navigation/carousel/carousel.d.ts +32 -9
- package/dist/components/navigation/carousel/carousel.js +88 -41
- package/dist/components/navigation/carousel/carousel.styles.js +10 -6
- package/dist/components/navigation/pagination/pagination.d.ts +23 -21
- package/dist/components/navigation/pagination/pagination.js +30 -53
- package/dist/components/navigation/sidebar/sidebar.d.ts +113 -65
- package/dist/components/navigation/sidebar/sidebar.js +161 -118
- package/dist/components/navigation/sidebar/sidebar.styles.d.ts +1 -1
- package/dist/components/navigation/sidebar/sidebar.styles.js +74 -24
- package/dist/components/navigation/stepper/step.js +9 -8
- package/dist/components/navigation/stepper/stepper.d.ts +1 -3
- package/dist/components/navigation/stepper/stepper.js +15 -26
- package/dist/components/navigation/tabs/tab-group/tab-group.js +2 -2
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +2 -2
- package/dist/components/navigation/toolbar/toolbar.d.ts +23 -13
- package/dist/components/navigation/toolbar/toolbar.js +28 -35
- package/dist/components/navigation/toolbar/toolbar.styles.js +18 -17
- package/dist/events/select.event.d.ts +3 -2
- package/dist/events/select.event.js +2 -1
- package/dist/features/scheduler/calendar/calendar.js +1 -1
- package/dist/features/scheduler/scheduler/scheduler.d.ts +7 -7
- package/dist/features/scheduler/scheduler/scheduler.js +15 -24
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +3 -3
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +1 -1
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +6 -4
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +7 -8
- package/dist/features/table/table/table.js +1 -1
- package/dist/features/table/table-action-bar/table-action-bar.js +2 -2
- package/dist/i18n/en.d.ts +68 -0
- package/dist/i18n/en.js +68 -0
- package/dist/i18n/fr.js +68 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/mixins/button.mixin.d.ts +1 -1
- package/dist/mixins/button.mixin.js +9 -6
- package/dist/mixins/check.mixin.js +11 -10
- package/dist/mixins/dialog-surface.mixin.d.ts +8 -0
- package/dist/mixins/disabled.mixin.d.ts +5 -0
- package/dist/mixins/disabled.mixin.js +21 -1
- package/dist/mixins/editable.mixin.js +28 -5
- package/dist/mixins/field-appearance.mixin.js +3 -2
- package/dist/mixins/field-size.mixin.d.ts +19 -0
- package/dist/mixins/field-size.mixin.js +33 -0
- package/dist/mixins/form.mixin.d.ts +4 -0
- package/dist/mixins/form.mixin.js +87 -13
- package/dist/mixins/localizable.mixin.d.ts +1 -1
- package/dist/mixins/localizable.mixin.js +1 -1
- package/dist/mixins/radio.mixin.js +11 -10
- package/dist/mixins/readonly.mixin.d.ts +2 -1
- package/dist/mixins/readonly.mixin.js +10 -3
- package/dist/mixins/rounded.mixin.d.ts +18 -0
- package/dist/mixins/rounded.mixin.js +32 -0
- package/dist/ssr/alert-ssr.css +187 -0
- package/dist/ssr/badge-ssr.css +67 -0
- package/dist/ssr/breadcrumb-ssr.css +41 -0
- package/dist/ssr/button-ssr.css +5 -5
- package/dist/ssr/card-ssr.css +27 -15
- package/dist/ssr/carousel-ssr.css +247 -0
- package/dist/ssr/checkbox-ssr.css +67 -0
- package/dist/ssr/chip-ssr.css +250 -0
- package/dist/ssr/collapse-ssr.css +180 -0
- package/dist/ssr/field-ssr.css +202 -0
- package/dist/ssr/icon-ssr.css +266 -0
- package/dist/ssr/image-carousel-ssr.css +34 -0
- package/dist/ssr/links-ssr.css +44 -1
- package/dist/ssr/pagination-ssr.css +4 -0
- package/dist/ssr/rating-ssr.css +254 -0
- package/dist/ssr/sidebar-ssr.css +102 -3
- package/dist/ssr/skeleton-ssr.css +63 -0
- package/dist/ssr/tabs-ssr.css +129 -0
- package/dist/ssr/toggle-group-ssr.css +233 -0
- package/dist/ssr/toolbar-ssr.css +81 -2
- package/dist/types/variant.type.d.ts +4 -1
- package/dist/utils/boolean.utils.d.ts +14 -0
- package/dist/utils/boolean.utils.js +20 -0
- package/dist/utils/dropdown-menu.utils.d.ts +1 -1
- package/dist/utils/focusable-elements.utils.d.ts +12 -0
- package/dist/utils/focusable-elements.utils.js +26 -0
- package/dist/utils/implicit-submission.utils.d.ts +18 -0
- package/dist/utils/implicit-submission.utils.js +79 -0
- package/dist/utils/input-modality.utils.d.ts +13 -0
- package/dist/utils/input-modality.utils.js +34 -0
- package/dist/utils/listbox-options.utils.d.ts +11 -0
- package/dist/utils/listbox-options.utils.js +41 -3
- package/dist/utils/theme-generator.utils.d.ts +8 -2
- package/dist/utils/theme-generator.utils.js +30 -9
- package/package.json +26 -7
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +6 -2
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +6 -2
- package/dist/cdn/components/chunks/chunk-4PI6RDUS.js +0 -1
- package/dist/cdn/components/chunks/chunk-6VK6SHCG.js +0 -1
- package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +0 -1
- package/dist/cdn/components/chunks/chunk-BQFJR2UP.js +0 -110
- package/dist/cdn/components/chunks/chunk-G5SBDQQ3.js +0 -1
- package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +0 -1
- package/dist/cdn/components/chunks/chunk-PE4DAXHQ.js +0 -3
- package/dist/cdn/components/chunks/chunk-RS7TWEMQ.js +0 -1
- package/dist/cdn/components/chunks/chunk-UDOZRIJZ.js +0 -1
- package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +0 -38
package/dist/ssr/card-ssr.css
CHANGED
|
@@ -53,12 +53,11 @@ eun-image-card:not(:defined) {
|
|
|
53
53
|
--card-padding,
|
|
54
54
|
var(--card-padding-inline, var(--eun-space-m, 16px))
|
|
55
55
|
);
|
|
56
|
-
--_gap:
|
|
57
|
-
display:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
);
|
|
56
|
+
--_gap: var(--card-gap, var(--eun-space-s, 8px));
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
row-gap: var(--_gap);
|
|
60
|
+
padding-block-end: var(--_padBlock);
|
|
62
61
|
box-sizing: border-box;
|
|
63
62
|
overflow: hidden;
|
|
64
63
|
border-radius: var(--card-border-radius, var(--eun-border-radius-m, 8px));
|
|
@@ -69,25 +68,38 @@ eun-image-card:not(:defined) {
|
|
|
69
68
|
color: var(--eun-text-color, #071621);
|
|
70
69
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
71
70
|
}
|
|
72
|
-
eun-image-card:
|
|
73
|
-
|
|
71
|
+
eun-image-card:not(:defined)::before {
|
|
72
|
+
content: "";
|
|
73
|
+
order: 1;
|
|
74
|
+
margin-block-start: calc(var(--_padBlock) - 2 * var(--_gap));
|
|
75
|
+
}
|
|
76
|
+
eun-image-card:not(:has(> [slot="image"])):not(:defined)::before {
|
|
77
|
+
margin-block-start: calc(var(--_padBlock) - var(--_gap));
|
|
74
78
|
}
|
|
75
79
|
eun-image-card:not(:has(> [slot="title"], > [slot="description"])):not(
|
|
76
80
|
:defined
|
|
77
81
|
) {
|
|
78
|
-
|
|
82
|
+
padding-block-end: 0;
|
|
83
|
+
}
|
|
84
|
+
eun-image-card:not(:has(> [slot="title"], > [slot="description"])):not(
|
|
85
|
+
:defined
|
|
86
|
+
)::before {
|
|
87
|
+
display: none;
|
|
79
88
|
}
|
|
80
89
|
eun-image-card:not(:defined) > [slot="image"] {
|
|
81
|
-
|
|
82
|
-
|
|
90
|
+
order: 0;
|
|
91
|
+
flex: none;
|
|
92
|
+
}
|
|
93
|
+
eun-image-card:not(:defined) > :is([slot="title"], [slot="description"]) {
|
|
94
|
+
align-self: center;
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
width: calc(100% - 2 * var(--_padInline));
|
|
83
97
|
}
|
|
84
98
|
eun-image-card:not(:defined) > [slot="title"] {
|
|
85
|
-
|
|
86
|
-
grid-column: 2;
|
|
99
|
+
order: 2;
|
|
87
100
|
}
|
|
88
101
|
eun-image-card:not(:defined) > [slot="description"] {
|
|
89
|
-
|
|
90
|
-
grid-column: 2;
|
|
102
|
+
order: 3;
|
|
91
103
|
}
|
|
92
104
|
eun-image-card:not(:defined) > :not([slot]) {
|
|
93
105
|
display: none;
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
eun-carousel:not(:defined) {
|
|
2
|
+
--_visibleCount: 1;
|
|
3
|
+
--_count: var(--carousel-visible-slides, var(--_visibleCount));
|
|
4
|
+
--_gap: var(--carousel-gap, 16px);
|
|
5
|
+
--_basis: var(
|
|
6
|
+
--carousel-slide-width,
|
|
7
|
+
max(
|
|
8
|
+
var(--carousel-min-slide-width, 220px),
|
|
9
|
+
calc((100% - (var(--_count) - 1) * var(--_gap)) / var(--_count))
|
|
10
|
+
)
|
|
11
|
+
);
|
|
12
|
+
--_navSize: var(--carousel-nav-size, 42px);
|
|
13
|
+
--_navReserve: calc(
|
|
14
|
+
2 * var(--_navSize) + var(--eun-space-s, 8px) +
|
|
15
|
+
var(--carousel-header-gap, var(--eun-space-m, 16px))
|
|
16
|
+
);
|
|
17
|
+
--_headerMargin: var(--carousel-header-margin, var(--eun-space-m, 16px));
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: repeat(var(--_count), var(--_basis));
|
|
20
|
+
grid-template-rows:
|
|
21
|
+
auto
|
|
22
|
+
var(
|
|
23
|
+
--carousel-track-padding-top,
|
|
24
|
+
var(--carousel-track-padding, var(--eun-space-l))
|
|
25
|
+
)
|
|
26
|
+
auto
|
|
27
|
+
var(
|
|
28
|
+
--carousel-track-padding-bottom,
|
|
29
|
+
var(--carousel-track-padding, var(--eun-space-l))
|
|
30
|
+
)
|
|
31
|
+
auto;
|
|
32
|
+
grid-auto-columns: var(--_basis);
|
|
33
|
+
column-gap: var(--_gap);
|
|
34
|
+
overflow: clip;
|
|
35
|
+
overflow-clip-margin: var(--carousel-track-padding-inline, 0px);
|
|
36
|
+
container-type: inline-size;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
eun-carousel[show-arrows="false"]:not(:defined) {
|
|
40
|
+
--_navReserve: 0px;
|
|
41
|
+
--carousel-nav-display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
eun-carousel[show-dots="false"]:not(:defined) {
|
|
45
|
+
--carousel-dots-display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
eun-carousel[visible-slides="2"]:not(:defined) {
|
|
49
|
+
--_visibleCount: 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
eun-carousel[visible-slides="3"]:not(:defined) {
|
|
53
|
+
--_visibleCount: 3;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
eun-carousel[visible-slides="4"]:not(:defined) {
|
|
57
|
+
--_visibleCount: 4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
eun-carousel[visible-slides="5"]:not(:defined) {
|
|
61
|
+
--_visibleCount: 5;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
eun-carousel[visible-slides="6"]:not(:defined) {
|
|
65
|
+
--_visibleCount: 6;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
eun-carousel:not(:defined) > :not([slot]) {
|
|
69
|
+
grid-row: 3;
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
width: auto;
|
|
72
|
+
min-width: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
eun-carousel:not(:defined) > [slot="title"] {
|
|
76
|
+
--_titleBasis: var(
|
|
77
|
+
--carousel-slide-width,
|
|
78
|
+
max(
|
|
79
|
+
var(--carousel-min-slide-width, 220px),
|
|
80
|
+
calc((100cqi - (var(--_count) - 1) * var(--_gap)) / var(--_count))
|
|
81
|
+
)
|
|
82
|
+
);
|
|
83
|
+
--_titleOverflow: calc(
|
|
84
|
+
var(--_count) * var(--_titleBasis) + (var(--_count) - 1) * var(--_gap) -
|
|
85
|
+
100cqi
|
|
86
|
+
);
|
|
87
|
+
grid-row: 1;
|
|
88
|
+
grid-column: 1 / -1;
|
|
89
|
+
align-self: var(--carousel-header-align, flex-end);
|
|
90
|
+
justify-self: start;
|
|
91
|
+
max-width: 100cqi;
|
|
92
|
+
margin-block-end: var(--_headerMargin);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:where(eun-carousel:not(:defined) > [slot="title"]) {
|
|
96
|
+
margin-block-start: 0;
|
|
97
|
+
margin-inline: 0 var(--_titleOverflow);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
eun-carousel:not(:defined)::before,
|
|
101
|
+
eun-carousel:not(:defined)::after {
|
|
102
|
+
content: "";
|
|
103
|
+
display: none;
|
|
104
|
+
grid-column: 1 / -1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* The row the header previous and next buttons take, once upgraded. */
|
|
108
|
+
eun-carousel:not(:defined)::before {
|
|
109
|
+
grid-row: 1;
|
|
110
|
+
height: var(--_navSize);
|
|
111
|
+
margin-block-end: var(--_headerMargin);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* The row the pagination dots take, once upgraded. */
|
|
115
|
+
eun-carousel:not(:defined)::after {
|
|
116
|
+
grid-row: 5;
|
|
117
|
+
height: var(--carousel-dot-size, 6px);
|
|
118
|
+
margin-block-start: var(--carousel-dots-margin, var(--eun-space-m));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/*
|
|
122
|
+
* Paged : more slides than fit at once, so the upgraded carousel shows its
|
|
123
|
+
* dots, and its previous and next buttons.
|
|
124
|
+
*/
|
|
125
|
+
eun-carousel:is(
|
|
126
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
127
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
128
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
129
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
130
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
131
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
132
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
133
|
+
):not(:defined)::after {
|
|
134
|
+
display: var(--carousel-dots-display, block);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
eun-carousel[layout="header"]:is(
|
|
138
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
139
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
140
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
141
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
142
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
143
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
144
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
145
|
+
):not(:defined)::before {
|
|
146
|
+
display: var(--carousel-nav-display, block);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
eun-carousel[layout="header"]:is(
|
|
150
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
151
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
152
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
153
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
154
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
155
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
156
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
157
|
+
):not(:defined)
|
|
158
|
+
> [slot="title"] {
|
|
159
|
+
margin-inline-end: calc(var(--_navReserve) + var(--_titleOverflow));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
eun-carousel[layout="header"][nav-placement="start"]:is(
|
|
163
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
164
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
165
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
166
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
167
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
168
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
169
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
170
|
+
):not(:defined)
|
|
171
|
+
> [slot="title"] {
|
|
172
|
+
justify-self: end;
|
|
173
|
+
margin-inline: var(--_navReserve) var(--_titleOverflow);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
eun-carousel[layout="header"][nav-placement="center"]:is(
|
|
177
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
178
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
179
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
180
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
181
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
182
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
183
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
184
|
+
):not(:defined)
|
|
185
|
+
> [slot="title"] {
|
|
186
|
+
justify-self: center;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@container (width < 480px) {
|
|
190
|
+
eun-carousel:not([layout="header"], [responsive-breakpoint="0"]):is(
|
|
191
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
192
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
193
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
194
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
195
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
196
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
197
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
198
|
+
):not(:defined)::before {
|
|
199
|
+
display: var(--carousel-nav-display, block);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
eun-carousel:not([layout="header"], [responsive-breakpoint="0"]):is(
|
|
203
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
204
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
205
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
206
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
207
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
208
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
209
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
210
|
+
):not(:defined)
|
|
211
|
+
> [slot="title"] {
|
|
212
|
+
margin-inline-end: calc(var(--_navReserve) + var(--_titleOverflow));
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
eun-carousel:not(
|
|
216
|
+
[layout="header"],
|
|
217
|
+
[responsive-breakpoint="0"]
|
|
218
|
+
)[nav-placement="start"]:is(
|
|
219
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
220
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
221
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
222
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
223
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
224
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
225
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
226
|
+
):not(:defined)
|
|
227
|
+
> [slot="title"] {
|
|
228
|
+
justify-self: end;
|
|
229
|
+
margin-inline: var(--_navReserve) var(--_titleOverflow);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
eun-carousel:not(
|
|
233
|
+
[layout="header"],
|
|
234
|
+
[responsive-breakpoint="0"]
|
|
235
|
+
)[nav-placement="center"]:is(
|
|
236
|
+
:not([visible-slides]):has(> :nth-child(2 of :not([slot]))),
|
|
237
|
+
[visible-slides="1"]:has(> :nth-child(2 of :not([slot]))),
|
|
238
|
+
[visible-slides="2"]:has(> :nth-child(3 of :not([slot]))),
|
|
239
|
+
[visible-slides="3"]:has(> :nth-child(4 of :not([slot]))),
|
|
240
|
+
[visible-slides="4"]:has(> :nth-child(5 of :not([slot]))),
|
|
241
|
+
[visible-slides="5"]:has(> :nth-child(6 of :not([slot]))),
|
|
242
|
+
[visible-slides="6"]:has(> :nth-child(7 of :not([slot])))
|
|
243
|
+
):not(:defined)
|
|
244
|
+
> [slot="title"] {
|
|
245
|
+
justify-self: center;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
eun-checkbox:not(:defined) {
|
|
2
|
+
--_boxSize: var(--checkbox-size, 16px);
|
|
3
|
+
--_gap: var(--eun-space-s, 8px);
|
|
4
|
+
display: inline-block;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
padding-inline-start: calc(var(--_boxSize) + var(--_gap));
|
|
7
|
+
overflow-y: clip;
|
|
8
|
+
vertical-align: middle;
|
|
9
|
+
color: var(--eun-text-color, #071621);
|
|
10
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
11
|
+
font-size: var(--field-label-font-size, var(--eun-font-size-s, 14px));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
eun-checkbox:not(:defined)::before {
|
|
15
|
+
content: "";
|
|
16
|
+
display: inline-block;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
width: var(--_boxSize);
|
|
19
|
+
height: var(--_boxSize);
|
|
20
|
+
margin-block: -1px calc(7px - var(--_boxSize) / 2);
|
|
21
|
+
margin-inline: calc(-1 * (var(--_boxSize) + var(--_gap))) var(--_gap);
|
|
22
|
+
vertical-align: baseline;
|
|
23
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
24
|
+
var(--checkbox-border-color, var(--eun-border-color, #dee0e7));
|
|
25
|
+
border-radius: var(--checkbox-border-radius, var(--eun-border-radius-s, 5px));
|
|
26
|
+
background: var(--checkbox-background, var(--eun-surface-sunken, #ecedf0));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
eun-checkbox:is([checked], [indeterminate]):not(:defined)::before {
|
|
30
|
+
border-color: var(
|
|
31
|
+
--checkbox-background-checked,
|
|
32
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
33
|
+
);
|
|
34
|
+
background: var(
|
|
35
|
+
--checkbox-background-checked,
|
|
36
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
eun-checkbox[disabled]:not(:defined) {
|
|
41
|
+
color: var(--eun-text-disabled-color, #8d93aa);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
eun-checkbox[disabled]:not(:defined)::before {
|
|
45
|
+
border-color: var(--eun-border-color, #dee0e7);
|
|
46
|
+
background: var(--eun-disabled-color, #ecedf0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
eun-checkbox[label]:empty:not(:defined)::after {
|
|
50
|
+
content: attr(label);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
eun-checkbox[required]:not(:defined)::after {
|
|
54
|
+
content: "*";
|
|
55
|
+
float: inline-end;
|
|
56
|
+
padding-block-end: 9999px;
|
|
57
|
+
margin-block-end: -9999px;
|
|
58
|
+
color: var(--checkbox-error-color, var(--eun-color-critical-100, #aa0014));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
eun-checkbox[label][required]:empty:not(:defined)::after {
|
|
62
|
+
content: attr(label) "*";
|
|
63
|
+
float: none;
|
|
64
|
+
padding-block-end: 0;
|
|
65
|
+
margin-block-end: 0;
|
|
66
|
+
color: inherit;
|
|
67
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
eun-chip:not(:defined) {
|
|
2
|
+
--_bg-default: var(--_tint);
|
|
3
|
+
--_fg-default: var(--_accent);
|
|
4
|
+
--_bg-fill: var(--_solid);
|
|
5
|
+
--_fg-fill: var(--_onSolid);
|
|
6
|
+
--_bg-outline: var(--eun-surface-color, #ffffff);
|
|
7
|
+
--_fg-outline: var(--_accent);
|
|
8
|
+
--_bd-outline: var(--_solid);
|
|
9
|
+
--_bg-flat: var(--eun-content-hover, #edeff0);
|
|
10
|
+
--_fg-flat: var(--eun-text-secondary, #484e61);
|
|
11
|
+
--_bg: var(--_bg-default);
|
|
12
|
+
--_fg: var(--_fg-default);
|
|
13
|
+
--_bd: transparent;
|
|
14
|
+
--_solid: var(--eun-color-grey-700, #484e61);
|
|
15
|
+
--_onSolid: var(--eun-color-grey-0, #ffffff);
|
|
16
|
+
--_tint: color-mix(
|
|
17
|
+
in srgb,
|
|
18
|
+
var(--eun-color-grey-700, #484e61) 20%,
|
|
19
|
+
transparent
|
|
20
|
+
);
|
|
21
|
+
--_accent: var(--eun-color-grey-900, #000000);
|
|
22
|
+
--_height: 30px;
|
|
23
|
+
--_paddingInline: 6px;
|
|
24
|
+
--_fontSize: var(--eun-font-size-s, 14px);
|
|
25
|
+
--_gap: 6px;
|
|
26
|
+
--_iconSize: 16px;
|
|
27
|
+
--_deleteIconSize: 14px;
|
|
28
|
+
--_avatarFontSize: 11px;
|
|
29
|
+
--_avatarInsetSize: 20px;
|
|
30
|
+
--_borderWidth: var(--chip-border-width, var(--eun-border-width-s, 1px));
|
|
31
|
+
--_leadingPadding: 4px;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
height: var(--_height);
|
|
37
|
+
gap: var(--chip-gap, var(--_gap));
|
|
38
|
+
padding-inline: max(
|
|
39
|
+
0px,
|
|
40
|
+
calc(var(--_paddingInline) + var(--_leadingPadding) - var(--_borderWidth))
|
|
41
|
+
)
|
|
42
|
+
max(0px, calc(var(--_paddingInline) - var(--_borderWidth)));
|
|
43
|
+
border: var(--_borderWidth) solid var(--chip-border-color, var(--_bd));
|
|
44
|
+
border-radius: var(--chip-border-radius, var(--eun-border-radius-xl, 999px));
|
|
45
|
+
background: var(--chip-background-color, var(--_bg));
|
|
46
|
+
color: var(--chip-color, var(--_fg));
|
|
47
|
+
box-shadow: var(--chip-box-shadow, none);
|
|
48
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
49
|
+
font-size: var(--_fontSize);
|
|
50
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
vertical-align: middle;
|
|
53
|
+
user-select: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
eun-chip[size="s"]:not(:defined) {
|
|
57
|
+
--_height: 26px;
|
|
58
|
+
--_paddingInline: 4px;
|
|
59
|
+
--_fontSize: var(--eun-font-size-xs, 12px);
|
|
60
|
+
--_gap: 4px;
|
|
61
|
+
--_iconSize: 14px;
|
|
62
|
+
--_deleteIconSize: 12px;
|
|
63
|
+
--_avatarFontSize: 10px;
|
|
64
|
+
--_avatarInsetSize: 16px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
eun-chip[size="l"]:not(:defined) {
|
|
68
|
+
--_height: 38px;
|
|
69
|
+
--_fontSize: var(--eun-font-size-m, 16px);
|
|
70
|
+
--_gap: 8px;
|
|
71
|
+
--_iconSize: 18px;
|
|
72
|
+
--_deleteIconSize: 16px;
|
|
73
|
+
--_avatarFontSize: 12px;
|
|
74
|
+
--_avatarInsetSize: 24px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Palettes. */
|
|
78
|
+
eun-chip[color="primary"]:not([severity]):not(:defined) {
|
|
79
|
+
--_solid: var(--eun-color-primary-500, #3d6fff);
|
|
80
|
+
--_onSolid: var(--eun-color-on-primary-500, #ffffff);
|
|
81
|
+
--_tint: var(--eun-color-primary-alpha-20, #3d6fff33);
|
|
82
|
+
--_accent: var(--eun-color-primary-500, #3d6fff);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
eun-chip[color="secondary"]:not([severity]):not(:defined) {
|
|
86
|
+
--_solid: var(--eun-color-secondary-500, #e5a030);
|
|
87
|
+
--_onSolid: var(--eun-color-on-secondary-500, #000000de);
|
|
88
|
+
--_tint: var(--eun-color-secondary-alpha-20, #edbd6f33);
|
|
89
|
+
--_accent: var(--eun-color-secondary-500, #e5a030);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
eun-chip[color="light"]:not([severity]):not(:defined) {
|
|
93
|
+
--_solid: var(--eun-color-grey-0, #ffffff);
|
|
94
|
+
--_onSolid: var(--eun-color-grey-900, #000000);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
eun-chip[color="light"][fixed-color]:not([severity]):not(:defined) {
|
|
98
|
+
--_solid: #ffffff;
|
|
99
|
+
--_onSolid: #000000;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
eun-chip[color="dark"]:not([severity]):not(:defined) {
|
|
103
|
+
--_solid: var(--eun-color-grey-800, #071621);
|
|
104
|
+
--_onSolid: var(--eun-color-grey-0, #ffffff);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
eun-chip[color="dark"][fixed-color]:not([severity]):not(:defined) {
|
|
108
|
+
--_solid: #071621;
|
|
109
|
+
--_onSolid: #ffffff;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
eun-chip:is([color="light"], [color="dark"]):not([severity]):not(:defined) {
|
|
113
|
+
--_accent: var(--_solid);
|
|
114
|
+
--_tint: color-mix(in srgb, var(--_solid) 16%, transparent);
|
|
115
|
+
--_bg-default: var(--_solid);
|
|
116
|
+
--_fg-default: var(--_onSolid);
|
|
117
|
+
--_bg-flat: var(--_tint);
|
|
118
|
+
--_fg-flat: var(--_solid);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
eun-chip[severity="info"]:not(:defined) {
|
|
122
|
+
--_solid: var(--eun-color-info-text, #097aa8);
|
|
123
|
+
--_onSolid: #fff;
|
|
124
|
+
--_tint: var(--eun-color-info-alpha-5, #097faf0d);
|
|
125
|
+
--_accent: var(--eun-color-info-text, #097aa8);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
eun-chip[severity="success"]:not(:defined) {
|
|
129
|
+
--_solid: var(--eun-color-success-text, #167f3c);
|
|
130
|
+
--_onSolid: #fff;
|
|
131
|
+
--_tint: var(--eun-color-success-alpha-5, #1a99480d);
|
|
132
|
+
--_accent: var(--eun-color-success-text, #167f3c);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
eun-chip[severity="warning"]:not(:defined) {
|
|
136
|
+
--_solid: var(--eun-color-warning-text, #b94c06);
|
|
137
|
+
--_onSolid: #fff;
|
|
138
|
+
--_tint: var(--eun-color-warning-alpha-5, #c852070d);
|
|
139
|
+
--_accent: var(--eun-color-warning-text, #b94c06);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
eun-chip[severity="critical"]:not(:defined) {
|
|
143
|
+
--_solid: var(--eun-color-critical-text, #aa0014);
|
|
144
|
+
--_onSolid: #fff;
|
|
145
|
+
--_tint: var(--eun-color-critical-alpha-5, #aa00140d);
|
|
146
|
+
--_accent: var(--eun-color-critical-text, #aa0014);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
eun-chip[severity="neutral"]:not(:defined) {
|
|
150
|
+
--_solid: var(--eun-color-grey-700, #484e61);
|
|
151
|
+
--_onSolid: var(--eun-color-grey-0, #ffffff);
|
|
152
|
+
--_tint: var(--eun-surface-sunken-strong, #ecedf0);
|
|
153
|
+
--_accent: var(--eun-color-grey-700, #484e61);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Appearances. */
|
|
157
|
+
eun-chip[appearance="fill"]:not(:defined) {
|
|
158
|
+
--_bg: var(--_bg-fill);
|
|
159
|
+
--_fg: var(--_fg-fill);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
eun-chip[appearance="outline"]:not(:defined) {
|
|
163
|
+
--_bg: var(--_bg-outline);
|
|
164
|
+
--_fg: var(--_fg-outline);
|
|
165
|
+
--_bd: var(--_bd-outline);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
eun-chip[appearance="flat"]:not(:defined) {
|
|
169
|
+
--_bg: var(--_bg-flat);
|
|
170
|
+
--_fg: var(--_fg-flat);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
eun-chip[rounded="false"]:not(:defined) {
|
|
174
|
+
border-radius: var(--chip-border-radius, var(--eun-border-radius-s, 5px));
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
eun-chip[disabled]:not(:defined) {
|
|
178
|
+
opacity: 0.6;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:where(eun-chip:not(:defined) > *) {
|
|
182
|
+
margin: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
eun-chip:not(:defined) > [slot="icon"] {
|
|
186
|
+
order: -1;
|
|
187
|
+
display: inline-flex;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
eun-chip:not(:defined)::before {
|
|
191
|
+
content: "";
|
|
192
|
+
order: -1;
|
|
193
|
+
flex-shrink: 0;
|
|
194
|
+
display: none;
|
|
195
|
+
width: var(--_iconSize);
|
|
196
|
+
height: var(--_iconSize);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
eun-chip:is([icon], [severity]):not(
|
|
200
|
+
[hide-icon],
|
|
201
|
+
[avatar-src],
|
|
202
|
+
[avatar-initials]
|
|
203
|
+
):not(:has(> [slot="icon"])):not(:defined)::before {
|
|
204
|
+
display: block;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
eun-chip:is([avatar-src], [avatar-initials]):not(:defined) {
|
|
208
|
+
--_leadingPadding: 0px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
eun-chip:is([avatar-src], [avatar-initials]):not(:defined)::before {
|
|
212
|
+
content: attr(avatar-initials);
|
|
213
|
+
display: flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
width: var(--chip-avatar-size, var(--_avatarInsetSize, 20px));
|
|
217
|
+
height: var(--chip-avatar-size, var(--_avatarInsetSize, 20px));
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
border-radius: 50%;
|
|
220
|
+
background: var(
|
|
221
|
+
--chip-avatar-background,
|
|
222
|
+
var(--_solid, var(--eun-color-grey-500, #8d93aa))
|
|
223
|
+
);
|
|
224
|
+
color: var(--chip-avatar-color, var(--_onSolid, #fff));
|
|
225
|
+
font-size: var(--_avatarFontSize);
|
|
226
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
227
|
+
line-height: 1;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
eun-chip[avatar-src]:not(:defined)::before {
|
|
231
|
+
content: "";
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
eun-chip[avatar-shape="square"]:not(:defined)::before {
|
|
235
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
eun-chip:not(:defined)::after {
|
|
239
|
+
content: "";
|
|
240
|
+
flex-shrink: 0;
|
|
241
|
+
width: calc(var(--_deleteIconSize) + 10px);
|
|
242
|
+
height: var(--_deleteIconSize);
|
|
243
|
+
background: currentColor;
|
|
244
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E")
|
|
245
|
+
center / var(--_deleteIconSize) no-repeat;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
eun-chip[removable="false"]:not(:defined)::after {
|
|
249
|
+
display: none;
|
|
250
|
+
}
|