@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/links-ssr.css
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
eun-link:not(:defined) {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: var(--eun-space-s, 8px);
|
|
5
|
+
padding: var(
|
|
6
|
+
--link-padding,
|
|
7
|
+
var(--link-padding-block, 0) var(--link-padding-inline, 0)
|
|
8
|
+
);
|
|
9
|
+
color: var(--link-color, var(--eun-text-color, #071621));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
eun-link[theme="dark"]:not(:defined) {
|
|
13
|
+
color: var(
|
|
14
|
+
--link-color,
|
|
15
|
+
var(--eun-text-on-inverse-secondary, rgba(255, 255, 255, 0.7))
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
eun-link[current]:not(:defined) {
|
|
20
|
+
color: var(--link-color-current, var(--eun-color-primary-500, #3d6fff));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
eun-link:not(:defined) > [slot="icon"] {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
color: var(--link-icon-color, inherit);
|
|
27
|
+
font-size: var(--link-icon-size, inherit);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
eun-link[block]:not(:defined) {
|
|
31
|
+
display: flex;
|
|
32
|
+
width: 100%;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
eun-link[block]:not(:defined) > a {
|
|
38
|
+
min-width: 0;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
|
|
1
44
|
:where(:is(eun-link, eun-button, eun-card):not(:defined) > a) {
|
|
2
45
|
color: inherit;
|
|
3
46
|
text-decoration: none;
|
|
@@ -31,5 +74,5 @@
|
|
|
31
74
|
eun-button:not(:defined) > a[target="_blank"]::after {
|
|
32
75
|
width: 12px;
|
|
33
76
|
height: 12px;
|
|
34
|
-
margin-inline
|
|
77
|
+
margin-inline: var(--eun-space-s, 8px) calc(-1 * var(--eun-space-xs, 4px));
|
|
35
78
|
}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
eun-rating:not(:defined) {
|
|
2
|
+
--_iconSize: var(--rating-size, 24px);
|
|
3
|
+
--_gap: var(--rating-gap, var(--eun-space-xs, 4px));
|
|
4
|
+
--_color: var(--rating-color, var(--eun-color-primary-500, #3d6fff));
|
|
5
|
+
--_emptyColor: var(
|
|
6
|
+
--rating-empty-color,
|
|
7
|
+
color-mix(
|
|
8
|
+
in srgb,
|
|
9
|
+
var(--eun-text-color, #071621) 55%,
|
|
10
|
+
var(--eun-surface-color, #ffffff)
|
|
11
|
+
)
|
|
12
|
+
);
|
|
13
|
+
--_star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
|
|
14
|
+
--_outline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z'/%3E%3C/svg%3E");
|
|
15
|
+
--_direction: to right;
|
|
16
|
+
--_max: 5;
|
|
17
|
+
--_whole: 0;
|
|
18
|
+
--_tenths: 0;
|
|
19
|
+
--_fill: min(
|
|
20
|
+
100%,
|
|
21
|
+
calc(
|
|
22
|
+
var(--_whole) * (var(--_iconSize) + var(--_gap)) + var(--_tenths) *
|
|
23
|
+
var(--_iconSize) / 10
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
display: inline-block;
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
29
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
eun-rating:is([label], [required]):not([display-only]):not(:defined)::before {
|
|
33
|
+
content: attr(label) "\200b";
|
|
34
|
+
display: block;
|
|
35
|
+
margin-block-end: calc(2 * var(--eun-space-xs, 4px));
|
|
36
|
+
padding-inline: 2px;
|
|
37
|
+
color: var(--eun-text-color, #071621);
|
|
38
|
+
font-size: var(--field-label-font-size, var(--eun-font-size-s, 14px));
|
|
39
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
eun-rating:not(:defined)::after {
|
|
43
|
+
content: "";
|
|
44
|
+
display: block;
|
|
45
|
+
width: calc(var(--_max) * var(--_iconSize) + (var(--_max) - 1) * var(--_gap));
|
|
46
|
+
height: var(--_iconSize);
|
|
47
|
+
background: linear-gradient(
|
|
48
|
+
var(--_direction),
|
|
49
|
+
var(--_color) var(--_fill),
|
|
50
|
+
var(--_emptyColor) var(--_fill)
|
|
51
|
+
);
|
|
52
|
+
mask:
|
|
53
|
+
var(--_outline) 0 0 / calc(var(--_iconSize) + var(--_gap)) 100% repeat-x,
|
|
54
|
+
linear-gradient(
|
|
55
|
+
var(--_direction),
|
|
56
|
+
#000 var(--_fill),
|
|
57
|
+
transparent var(--_fill)
|
|
58
|
+
),
|
|
59
|
+
var(--_star) 0 0 / calc(var(--_iconSize) + var(--_gap)) 100% repeat-x;
|
|
60
|
+
mask-composite: add, intersect;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
eun-rating:not(:defined):dir(rtl) {
|
|
64
|
+
--_direction: to left;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
eun-rating[max="1"]:not(:defined) {
|
|
68
|
+
--_max: 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
eun-rating[max="2"]:not(:defined) {
|
|
72
|
+
--_max: 2;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
eun-rating[max="3"]:not(:defined) {
|
|
76
|
+
--_max: 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
eun-rating[max="4"]:not(:defined) {
|
|
80
|
+
--_max: 4;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
eun-rating[max="5"]:not(:defined) {
|
|
84
|
+
--_max: 5;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
eun-rating[max="6"]:not(:defined) {
|
|
88
|
+
--_max: 6;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
eun-rating[max="7"]:not(:defined) {
|
|
92
|
+
--_max: 7;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
eun-rating[max="8"]:not(:defined) {
|
|
96
|
+
--_max: 8;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
eun-rating[max="9"]:not(:defined) {
|
|
100
|
+
--_max: 9;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
eun-rating[max="10"]:not(:defined) {
|
|
104
|
+
--_max: 10;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
eun-rating:is(
|
|
108
|
+
[value="1"],
|
|
109
|
+
[value^="1."],
|
|
110
|
+
[default-value="1"]:not([value]),
|
|
111
|
+
[default-value^="1."]:not([value])
|
|
112
|
+
):not(:defined) {
|
|
113
|
+
--_whole: 1;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
eun-rating:is(
|
|
117
|
+
[value="2"],
|
|
118
|
+
[value^="2."],
|
|
119
|
+
[default-value="2"]:not([value]),
|
|
120
|
+
[default-value^="2."]:not([value])
|
|
121
|
+
):not(:defined) {
|
|
122
|
+
--_whole: 2;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
eun-rating:is(
|
|
126
|
+
[value="3"],
|
|
127
|
+
[value^="3."],
|
|
128
|
+
[default-value="3"]:not([value]),
|
|
129
|
+
[default-value^="3."]:not([value])
|
|
130
|
+
):not(:defined) {
|
|
131
|
+
--_whole: 3;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
eun-rating:is(
|
|
135
|
+
[value="4"],
|
|
136
|
+
[value^="4."],
|
|
137
|
+
[default-value="4"]:not([value]),
|
|
138
|
+
[default-value^="4."]:not([value])
|
|
139
|
+
):not(:defined) {
|
|
140
|
+
--_whole: 4;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
eun-rating:is(
|
|
144
|
+
[value="5"],
|
|
145
|
+
[value^="5."],
|
|
146
|
+
[default-value="5"]:not([value]),
|
|
147
|
+
[default-value^="5."]:not([value])
|
|
148
|
+
):not(:defined) {
|
|
149
|
+
--_whole: 5;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
eun-rating:is(
|
|
153
|
+
[value="6"],
|
|
154
|
+
[value^="6."],
|
|
155
|
+
[default-value="6"]:not([value]),
|
|
156
|
+
[default-value^="6."]:not([value])
|
|
157
|
+
):not(:defined) {
|
|
158
|
+
--_whole: 6;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
eun-rating:is(
|
|
162
|
+
[value="7"],
|
|
163
|
+
[value^="7."],
|
|
164
|
+
[default-value="7"]:not([value]),
|
|
165
|
+
[default-value^="7."]:not([value])
|
|
166
|
+
):not(:defined) {
|
|
167
|
+
--_whole: 7;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
eun-rating:is(
|
|
171
|
+
[value="8"],
|
|
172
|
+
[value^="8."],
|
|
173
|
+
[default-value="8"]:not([value]),
|
|
174
|
+
[default-value^="8."]:not([value])
|
|
175
|
+
):not(:defined) {
|
|
176
|
+
--_whole: 8;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
eun-rating:is(
|
|
180
|
+
[value="9"],
|
|
181
|
+
[value^="9."],
|
|
182
|
+
[default-value="9"]:not([value]),
|
|
183
|
+
[default-value^="9."]:not([value])
|
|
184
|
+
):not(:defined) {
|
|
185
|
+
--_whole: 9;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
eun-rating:is(
|
|
189
|
+
[value="10"],
|
|
190
|
+
[value^="10."],
|
|
191
|
+
[default-value="10"]:not([value]),
|
|
192
|
+
[default-value^="10."]:not([value])
|
|
193
|
+
):not(:defined) {
|
|
194
|
+
--_whole: 10;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
eun-rating:is([value*=".1"], [default-value*=".1"]:not([value])):not(:defined) {
|
|
198
|
+
--_tenths: 1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
eun-rating:is([value*=".2"], [default-value*=".2"]:not([value])):not(:defined) {
|
|
202
|
+
--_tenths: 2;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
eun-rating:is([value*=".3"], [default-value*=".3"]:not([value])):not(:defined) {
|
|
206
|
+
--_tenths: 3;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
eun-rating:is([value*=".4"], [default-value*=".4"]:not([value])):not(:defined) {
|
|
210
|
+
--_tenths: 4;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
eun-rating:is([value*=".5"], [default-value*=".5"]:not([value])):not(:defined) {
|
|
214
|
+
--_tenths: 5;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
eun-rating:is([value*=".6"], [default-value*=".6"]:not([value])):not(:defined) {
|
|
218
|
+
--_tenths: 6;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
eun-rating:is([value*=".7"], [default-value*=".7"]:not([value])):not(:defined) {
|
|
222
|
+
--_tenths: 7;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
eun-rating:is([value*=".8"], [default-value*=".8"]:not([value])):not(:defined) {
|
|
226
|
+
--_tenths: 8;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
eun-rating:is([value*=".9"], [default-value*=".9"]:not([value])):not(:defined) {
|
|
230
|
+
--_tenths: 9;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
eun-rating[readonly]:not(:defined) {
|
|
234
|
+
--_color: var(--eun-readonly-color, #666e8a);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
eun-rating[disabled]:not(:defined) {
|
|
238
|
+
--_color: var(--eun-text-disabled-color, #8d93aa);
|
|
239
|
+
--_emptyColor: var(--eun-disabled-content, #c1c9d6);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
eun-rating[clearable]:is(
|
|
243
|
+
[value]:not([value="0"]),
|
|
244
|
+
[default-value]:not([value])
|
|
245
|
+
):not([readonly], [disabled], [display-only]):not(:defined)::after {
|
|
246
|
+
margin-inline-end: calc(var(--eun-space-s, 8px) + 24px);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
eun-rating:is(
|
|
250
|
+
[icon]:not([icon="star"]),
|
|
251
|
+
[empty-icon]:not([empty-icon="star_border"])
|
|
252
|
+
):not(:defined)::after {
|
|
253
|
+
background: none;
|
|
254
|
+
}
|
package/dist/ssr/sidebar-ssr.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
eun-sidebar:not(:defined) {
|
|
2
2
|
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
3
4
|
position: sticky;
|
|
4
5
|
top: 0;
|
|
5
6
|
flex-shrink: 0;
|
|
@@ -7,13 +8,111 @@ eun-sidebar:not(:defined) {
|
|
|
7
8
|
box-sizing: border-box;
|
|
8
9
|
overflow: hidden;
|
|
9
10
|
width: var(--sidebar-width, 280px);
|
|
11
|
+
padding-block: var(--sidebar-gap, var(--eun-space-m, 16px));
|
|
12
|
+
padding-inline: var(
|
|
13
|
+
--sidebar-padding,
|
|
14
|
+
var(--sidebar-padding-inline, var(--eun-space-m, 16px))
|
|
15
|
+
);
|
|
16
|
+
background: var(--sidebar-background, var(--eun-surface-color, #ffffff));
|
|
17
|
+
color: var(--sidebar-color, var(--eun-text-color, #071621));
|
|
18
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
19
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
20
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
21
|
+
var(--sidebar-border-color, var(--eun-border-color, #dee0e7));
|
|
10
22
|
}
|
|
11
23
|
|
|
12
|
-
eun-sidebar[
|
|
24
|
+
eun-sidebar[theme="dark"]:not(:defined) {
|
|
25
|
+
background: var(--sidebar-background, var(--eun-surface-inverse, #0b1620));
|
|
26
|
+
color: var(--sidebar-color, var(--eun-text-on-inverse, #f5f7fa));
|
|
27
|
+
border-color: var(
|
|
28
|
+
--sidebar-border-color,
|
|
29
|
+
color-mix(
|
|
30
|
+
in srgb,
|
|
31
|
+
var(--sidebar-color, var(--eun-text-on-inverse, #f5f7fa)) 16%,
|
|
32
|
+
transparent
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
eun-sidebar[position="end"]:not(:defined) {
|
|
38
|
+
border-inline-end: none;
|
|
39
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
40
|
+
var(--sidebar-border-color, var(--eun-border-color, #dee0e7));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
eun-sidebar[theme="dark"][position="end"]:not(:defined) {
|
|
44
|
+
border-inline-start-color: var(
|
|
45
|
+
--sidebar-border-color,
|
|
46
|
+
color-mix(
|
|
47
|
+
in srgb,
|
|
48
|
+
var(--sidebar-color, var(--eun-text-on-inverse, #f5f7fa)) 16%,
|
|
49
|
+
transparent
|
|
50
|
+
)
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
eun-sidebar[collapsed]:is([collapse-mode="mini"], :not([collapse-mode])):not(
|
|
55
|
+
:defined
|
|
56
|
+
) {
|
|
13
57
|
width: var(--sidebar-mini-width, 64px);
|
|
14
58
|
}
|
|
15
59
|
|
|
16
|
-
eun-sidebar[collapsed][collapse-mode="hidden"]:not(:defined)
|
|
17
|
-
eun-sidebar[dragged-hidden]:not(:defined) {
|
|
60
|
+
eun-sidebar[collapsed][collapse-mode="hidden"]:not(:defined) {
|
|
18
61
|
width: 0px;
|
|
62
|
+
padding: 0;
|
|
63
|
+
border-color: transparent;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
eun-sidebar:not(:defined):has(> [slot="header"]) {
|
|
67
|
+
padding-block-start: var(
|
|
68
|
+
--sidebar-padding,
|
|
69
|
+
var(--sidebar-padding-block, var(--eun-space-m, 16px))
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
eun-sidebar:not(:defined):has(> [slot="footer"]) {
|
|
74
|
+
padding-block-end: var(
|
|
75
|
+
--sidebar-padding,
|
|
76
|
+
var(--sidebar-padding-block, var(--eun-space-m, 16px))
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
eun-sidebar:not(:defined) > [slot="header"] {
|
|
81
|
+
order: -1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
eun-sidebar:not(:defined) > :nth-last-child(1 of [slot="header"]) {
|
|
85
|
+
margin-block-end: var(--sidebar-gap, var(--eun-space-m, 16px));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
eun-sidebar:not(:defined) > [slot="footer"] {
|
|
89
|
+
order: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
eun-sidebar:not(:defined) > :nth-child(1 of [slot="footer"]) {
|
|
93
|
+
margin-block-start: auto;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (width < 600px) {
|
|
97
|
+
eun-sidebar[hide-below="mobile"] {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (width < 768px) {
|
|
103
|
+
eun-sidebar[hide-below="tablet"] {
|
|
104
|
+
display: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (width < 1024px) {
|
|
109
|
+
eun-sidebar[hide-below="laptop"] {
|
|
110
|
+
display: none;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (width < 1280px) {
|
|
115
|
+
eun-sidebar[hide-below="desktop"] {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
19
118
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
eun-skeleton:not(:defined) {
|
|
2
|
+
--_color: var(--skeleton-color, var(--eun-surface-sunken-strong, #ecedf0));
|
|
3
|
+
--_highlight: var(
|
|
4
|
+
--skeleton-highlight-color,
|
|
5
|
+
var(--eun-surface-sunken, #f7f8fa)
|
|
6
|
+
);
|
|
7
|
+
display: block;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
eun-skeleton:not(:defined)::before {
|
|
12
|
+
content: "";
|
|
13
|
+
display: block;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 1rem;
|
|
16
|
+
background: linear-gradient(
|
|
17
|
+
90deg,
|
|
18
|
+
var(--_color) 25%,
|
|
19
|
+
var(--_highlight) 50%,
|
|
20
|
+
var(--_color) 75%
|
|
21
|
+
);
|
|
22
|
+
background-size: 200% 100%;
|
|
23
|
+
border-radius: var(--skeleton-border-radius, var(--eun-border-radius-m, 8px));
|
|
24
|
+
animation: eun-skeleton-ssr-shimmer 1.6s ease-in-out infinite;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
eun-skeleton[variant="text"]:not(:defined)::before {
|
|
28
|
+
height: 1em;
|
|
29
|
+
border-radius: var(--skeleton-border-radius, var(--eun-border-radius-s, 5px));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
eun-skeleton[variant="circle"]:not(:defined)::before {
|
|
33
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@supports (width: attr(width type(<length-percentage>), 100%)) {
|
|
37
|
+
eun-skeleton[width]:not(:defined)::before {
|
|
38
|
+
width: attr(width type(<length-percentage>), 100%);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
eun-skeleton[height]:not([variant="text"]):not(:defined)::before {
|
|
42
|
+
height: attr(height type(<length-percentage>), 1rem);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
eun-skeleton[radius]:not([variant="circle"]):not(:defined)::before {
|
|
46
|
+
border-radius: attr(radius type(<length-percentage>), 0px);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes eun-skeleton-ssr-shimmer {
|
|
51
|
+
0% {
|
|
52
|
+
background-position: -200% center;
|
|
53
|
+
}
|
|
54
|
+
100% {
|
|
55
|
+
background-position: 200% center;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (prefers-reduced-motion: reduce) {
|
|
60
|
+
eun-skeleton:not(:defined)::before {
|
|
61
|
+
animation: none;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
eun-tab-group:not(:defined) {
|
|
2
|
+
--_indicatorHeight: var(--tab-indicator-height, 2px);
|
|
3
|
+
--_dividerGap: var(--tab-divider-gap, 0px);
|
|
4
|
+
--_dividerSize: var(--tab-divider-size, 2px);
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
column-gap: var(--tab-gap, 0);
|
|
8
|
+
padding-block-start: 4px;
|
|
9
|
+
background: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
eun-tab-group:not(:defined)[align="center"] {
|
|
13
|
+
justify-content: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
eun-tab-group:not(:defined)[align="end"] {
|
|
17
|
+
justify-content: flex-end;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
eun-tab-group:not(:defined)[full] {
|
|
21
|
+
justify-content: flex-start;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
eun-tab-group:not(:defined) > eun-tab {
|
|
25
|
+
position: relative;
|
|
26
|
+
order: 0;
|
|
27
|
+
display: grid;
|
|
28
|
+
place-items: center;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
padding: var(
|
|
31
|
+
--tab-padding,
|
|
32
|
+
var(--tab-padding-block, var(--eun-space-s, 8px))
|
|
33
|
+
var(--tab-padding-inline, var(--eun-space-m, 16px))
|
|
34
|
+
);
|
|
35
|
+
border: var(--tab-border);
|
|
36
|
+
border-radius: var(--tab-border-radius, 8px);
|
|
37
|
+
background: var(--tab-background-color, transparent);
|
|
38
|
+
color: var(--tab-text-color, var(--eun-text-color, #071621));
|
|
39
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
40
|
+
font-size: var(--tab-font-size, var(--eun-font-size-s, 14px));
|
|
41
|
+
font-weight: var(--tab-font-weight, var(--eun-font-weight-m, 500));
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
eun-tab-group:not(:defined)[full] > eun-tab {
|
|
46
|
+
flex: 1 1 0%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
eun-tab-group:not(:defined) > eun-tab:first-of-type {
|
|
50
|
+
margin-inline-start: 4px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
eun-tab-group:not(:defined) > eun-tab:last-of-type {
|
|
54
|
+
margin-inline-end: 4px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
eun-tab-group:not(:defined) > eun-tab[disabled] {
|
|
58
|
+
display: var(--tab-disabled-display, grid);
|
|
59
|
+
color: var(--eun-text-disabled-color, #8d93aa);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* The active tab : the one marked active, or the first one. */
|
|
63
|
+
eun-tab-group:not(:defined) > eun-tab[active],
|
|
64
|
+
eun-tab-group:not(:defined):not(:has(> eun-tab[active]))
|
|
65
|
+
> eun-tab:first-of-type {
|
|
66
|
+
background: var(--tab-active-background-color, transparent);
|
|
67
|
+
border: var(--tab-border-active, var(--tab-border));
|
|
68
|
+
color: var(--tab-active-text-color, var(--eun-color-primary-500, #3d6fff));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
eun-tab-group:not(:defined):not([hide-indicator]) > eun-tab[active]::after,
|
|
72
|
+
eun-tab-group:not(:defined):not([hide-indicator], :has(> eun-tab[active]))
|
|
73
|
+
> eun-tab:first-of-type::after {
|
|
74
|
+
content: "";
|
|
75
|
+
position: absolute;
|
|
76
|
+
inset-inline: 0;
|
|
77
|
+
bottom: calc(-1 * var(--_dividerGap));
|
|
78
|
+
height: var(--_indicatorHeight);
|
|
79
|
+
background: var(--tab-indicator-color, var(--eun-color-primary-500, #3d6fff));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* The divider under the tab list. */
|
|
83
|
+
eun-tab-group:not(:defined)::before {
|
|
84
|
+
content: "";
|
|
85
|
+
order: 1;
|
|
86
|
+
flex: 0 0 100%;
|
|
87
|
+
height: var(--_dividerSize);
|
|
88
|
+
margin-block-start: calc(var(--_dividerGap) - var(--_dividerSize));
|
|
89
|
+
background: var(--tab-divider-color, var(--eun-divider-color, #dee0e7));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Every panel but the active one is hidden, as once upgraded. */
|
|
93
|
+
eun-tab-group:not(:defined) > eun-tab-panel {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
eun-tab-group:not(:defined):not(:has(> eun-tab[active]))
|
|
98
|
+
> eun-tab-panel:first-of-type,
|
|
99
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(1)[active])
|
|
100
|
+
> eun-tab-panel:nth-of-type(1),
|
|
101
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(2)[active])
|
|
102
|
+
> eun-tab-panel:nth-of-type(2),
|
|
103
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(3)[active])
|
|
104
|
+
> eun-tab-panel:nth-of-type(3),
|
|
105
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(4)[active])
|
|
106
|
+
> eun-tab-panel:nth-of-type(4),
|
|
107
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(5)[active])
|
|
108
|
+
> eun-tab-panel:nth-of-type(5),
|
|
109
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(6)[active])
|
|
110
|
+
> eun-tab-panel:nth-of-type(6),
|
|
111
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(7)[active])
|
|
112
|
+
> eun-tab-panel:nth-of-type(7),
|
|
113
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(8)[active])
|
|
114
|
+
> eun-tab-panel:nth-of-type(8),
|
|
115
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(9)[active])
|
|
116
|
+
> eun-tab-panel:nth-of-type(9),
|
|
117
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(10)[active])
|
|
118
|
+
> eun-tab-panel:nth-of-type(10),
|
|
119
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(11)[active])
|
|
120
|
+
> eun-tab-panel:nth-of-type(11),
|
|
121
|
+
eun-tab-group:not(:defined):has(> eun-tab:nth-of-type(12)[active])
|
|
122
|
+
> eun-tab-panel:nth-of-type(12) {
|
|
123
|
+
order: 2;
|
|
124
|
+
display: block;
|
|
125
|
+
flex: 0 0 100%;
|
|
126
|
+
margin-block-start: var(--tab-panel-gap, var(--eun-space-l, 32px));
|
|
127
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
128
|
+
font-size: var(--tab-panel-font-size, var(--eun-font-size-s, 14px));
|
|
129
|
+
}
|