@eunomia/elements 1.0.0-beta.9 → 1.0.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/README.md +28 -6
- package/dist/angular/forms.d.ts +80 -0
- package/dist/angular/forms.js +267 -0
- package/dist/cdn/components/chunks/chunk-2XPIGFBD.js +1 -0
- package/dist/cdn/components/chunks/chunk-5IUNSTM3.js +1 -0
- package/dist/cdn/components/chunks/chunk-7HXPLZ7C.js +1 -0
- package/dist/cdn/components/chunks/{chunk-J3SZBXM6.js → chunk-A2NO4RSF.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-Q34EQ5HZ.js → chunk-A623JJXJ.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-Y3HOIL64.js → chunk-AW7PU43S.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-FF3I7C3C.js → chunk-DWTNRFWW.js} +1 -3
- package/dist/cdn/components/chunks/chunk-FPNWPMHA.js +1 -0
- package/dist/cdn/components/chunks/chunk-GMWUHGNI.js +319 -0
- package/dist/cdn/components/chunks/{chunk-FQUWHNQT.js → chunk-GXOEPXDW.js} +1 -1
- package/dist/cdn/components/chunks/chunk-HXESKTK2.js +1 -0
- package/dist/cdn/components/chunks/chunk-JDUWKPHW.js +46 -0
- package/dist/cdn/components/chunks/{chunk-D3JJBHXN.js → chunk-JLKCBPD2.js} +2 -2
- package/dist/cdn/components/chunks/chunk-M6ZJHL4Q.js +1 -0
- package/dist/cdn/components/chunks/{chunk-TN3HGHQO.js → chunk-MDSUMP3O.js} +4 -4
- package/dist/cdn/components/chunks/chunk-MSQWOKBB.js +1 -0
- package/dist/cdn/components/chunks/{chunk-3UUZM7X2.js → chunk-NPXRQHUN.js} +3 -3
- package/dist/cdn/components/chunks/chunk-OB7DEGNX.js +1 -0
- package/dist/cdn/components/chunks/{chunk-JANNHW4Q.js → chunk-PADHCLBG.js} +4 -4
- package/dist/cdn/components/chunks/chunk-QMXE3KLT.js +1 -0
- package/dist/cdn/components/chunks/chunk-QNWKRPOW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-KQUUMZ7U.js → chunk-RZF7QQDX.js} +7 -7
- package/dist/cdn/components/chunks/chunk-SCAP7J35.js +1 -0
- package/dist/cdn/components/chunks/chunk-TISMX7UL.js +1 -0
- package/dist/cdn/components/chunks/chunk-TWLI2ZOT.js +1 -0
- package/dist/cdn/components/chunks/chunk-W4VCWRY7.js +210 -0
- package/dist/cdn/components/chunks/{chunk-SZZRMJ65.js → chunk-WEG3KO6T.js} +3 -3
- package/dist/cdn/components/chunks/chunk-WP6ZYBAC.js +1 -0
- package/dist/cdn/components/chunks/{chunk-HGX6GPHM.js → chunk-XCBQ4CKH.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-3UW2LJ7T.js → chunk-XZ3LFOQP.js} +2 -2
- package/dist/cdn/components/eun-alert.js +1 -1
- package/dist/cdn/components/eun-animate.js +92 -180
- package/dist/cdn/components/eun-breadcrumb.js +4 -4
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +188 -115
- package/dist/cdn/components/eun-card.js +1 -1
- package/dist/cdn/components/eun-carousel.js +36 -28
- package/dist/cdn/components/eun-check-card.js +3 -3
- package/dist/cdn/components/eun-checkbox-list.js +2 -2
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +11 -15
- package/dist/cdn/components/eun-collapse.js +21 -10
- package/dist/cdn/components/eun-color-picker.js +32 -32
- package/dist/cdn/components/eun-counter.js +8 -8
- package/dist/cdn/components/eun-date-picker.js +83 -79
- package/dist/cdn/components/eun-description-list.js +1 -1
- package/dist/cdn/components/eun-divider.js +9 -8
- package/dist/cdn/components/eun-drawer.js +8 -6
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +4 -4
- package/dist/cdn/components/eun-fab.js +1 -1
- package/dist/cdn/components/eun-image-card.js +2 -2
- package/dist/cdn/components/eun-image-carousel.js +55 -29
- package/dist/cdn/components/eun-infinite-list.js +2 -2
- package/dist/cdn/components/eun-input-file.js +3 -3
- package/dist/cdn/components/eun-input-phone.js +6 -6
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +1 -1
- package/dist/cdn/components/eun-link.js +18 -329
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +9 -7
- package/dist/cdn/components/eun-nav-menu.js +363 -0
- package/dist/cdn/components/eun-pagination.js +4 -4
- package/dist/cdn/components/eun-password-strength.js +2 -2
- package/dist/cdn/components/eun-progress-bar.js +1 -1
- package/dist/cdn/components/eun-radio-card.js +4 -4
- package/dist/cdn/components/eun-radio-list.js +1 -1
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-rating.js +9 -9
- package/dist/cdn/components/eun-scheduler-event-editor.js +113 -77
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +137 -79
- package/dist/cdn/components/eun-search.js +6 -6
- package/dist/cdn/components/eun-select.js +1 -1
- package/dist/cdn/components/eun-sidebar.js +23 -14
- package/dist/cdn/components/eun-slider.js +2 -2
- package/dist/cdn/components/eun-sliding-card.js +1 -1
- package/dist/cdn/components/eun-step.js +2 -2
- package/dist/cdn/components/eun-stepper.js +11 -12
- package/dist/cdn/components/eun-switch.js +2 -2
- package/dist/cdn/components/eun-tab-group.js +1 -1
- package/dist/cdn/components/eun-tab-panel.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table.js +13 -10
- package/dist/cdn/components/eun-tag.js +1 -1
- package/dist/cdn/components/eun-textarea.js +4 -4
- package/dist/cdn/components/eun-time-picker.js +28 -25
- package/dist/cdn/components/eun-toast.js +8 -8
- package/dist/cdn/components/eun-toggle-group.js +8 -2
- package/dist/cdn/components/eun-toggle-item.js +8 -2
- package/dist/cdn/components/eun-toggle.js +4 -1
- package/dist/cdn/components/eun-toolbar.js +114 -36
- package/dist/cdn/components/eun-tooltip.js +1 -1
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +2 -2
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +116 -8
- package/dist/components/action/button/button.styles.js +2 -2
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +4 -0
- package/dist/components/action/dropdown-button/dropdown-button.js +1 -0
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +5 -4
- package/dist/components/action/dropdown-button/dropdown-item.d.ts +1 -0
- package/dist/components/action/dropdown-button/dropdown-item.js +1 -0
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +4 -4
- package/dist/components/action/link/link.d.ts +2 -1
- package/dist/components/action/link/link.js +2 -1
- package/dist/components/action/link/link.styles.d.ts +40 -1
- package/dist/components/action/link/link.styles.js +83 -60
- package/dist/components/action/shared-styles/button-palette.styles.js +1 -1
- package/dist/components/action/toggle/toggle-group.d.ts +1 -0
- package/dist/components/action/toggle/toggle-group.js +1 -0
- package/dist/components/action/toggle/toggle-group.styles.d.ts +1 -0
- package/dist/components/action/toggle/toggle-group.styles.js +9 -2
- package/dist/components/action/toggle/toggle-item.styles.js +8 -2
- package/dist/components/action/toggle/toggle.d.ts +1 -0
- package/dist/components/action/toggle/toggle.js +1 -0
- package/dist/components/action/toggle/toggle.styles.d.ts +1 -0
- package/dist/components/action/toggle/toggle.styles.js +5 -1
- package/dist/components/alert/drawer/drawer.d.ts +14 -13
- package/dist/components/alert/drawer/drawer.js +20 -28
- package/dist/components/alert/modal/modal.d.ts +14 -13
- package/dist/components/alert/modal/modal.js +20 -28
- package/dist/components/alert/modal/modal.styles.js +1 -1
- package/dist/components/alert/toast/toast.d.ts +5 -5
- package/dist/components/alert/toast/toast.js +9 -10
- package/dist/components/alert/toast/toast.styles.js +3 -3
- package/dist/components/content/card/image-card.styles.js +1 -1
- package/dist/components/content/chip/chip.d.ts +7 -9
- package/dist/components/content/chip/chip.js +11 -14
- package/dist/components/content/chip/chip.styles.js +1 -5
- package/dist/components/content/collapse/collapse.d.ts +5 -0
- package/dist/components/content/collapse/collapse.js +7 -0
- package/dist/components/content/collapse/collapse.styles.d.ts +3 -0
- package/dist/components/content/collapse/collapse.styles.js +13 -1
- package/dist/components/content/description-list/description-list.styles.js +1 -1
- package/dist/components/content/image-carousel/image-carousel.d.ts +60 -13
- package/dist/components/content/image-carousel/image-carousel.js +100 -22
- package/dist/components/content/image-carousel/image-carousel.styles.js +32 -6
- package/dist/components/content/password-strength/password-strength.styles.js +1 -1
- package/dist/components/content/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/content/shared-styles/card-link.styles.js +1 -1
- package/dist/components/content/shared-styles/tone-surface.styles.js +1 -3
- package/dist/components/form/checkbox/check-card.styles.js +2 -2
- package/dist/components/form/checkbox/checkbox-list.d.ts +3 -1
- package/dist/components/form/checkbox/checkbox-list.js +3 -1
- package/dist/components/form/checkbox/checkbox.styles.js +1 -1
- package/dist/components/form/color-picker/color-picker.d.ts +28 -3
- package/dist/components/form/color-picker/color-picker.js +53 -7
- package/dist/components/form/counter/counter.js +1 -1
- package/dist/components/form/counter/counter.styles.js +2 -2
- package/dist/components/form/date-picker/date-picker-day-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker-month-grid.js +1 -1
- package/dist/components/form/date-picker/date-picker.d.ts +50 -13
- package/dist/components/form/date-picker/date-picker.js +178 -43
- package/dist/components/form/input/input.js +1 -4
- package/dist/components/form/input-file/input-file.styles.js +2 -2
- package/dist/components/form/input-phone/input-phone.js +4 -3
- package/dist/components/form/label/label.styles.js +1 -1
- package/dist/components/form/radio/radio-card.styles.js +2 -2
- package/dist/components/form/radio/radio.styles.js +1 -1
- package/dist/components/form/rating/rating.js +3 -5
- package/dist/components/form/rating/rating.styles.js +2 -2
- package/dist/components/form/search/search.d.ts +1 -7
- package/dist/components/form/search/search.js +2 -12
- package/dist/components/form/shared-styles/field.styles.js +2 -2
- package/dist/components/form/slider/slider.styles.js +1 -1
- package/dist/components/form/switch/switch.styles.js +1 -1
- package/dist/components/form/textarea/textarea.js +1 -5
- package/dist/components/form/textarea/textarea.styles.js +2 -2
- package/dist/components/form/time-picker/time-picker-columns.d.ts +4 -1
- package/dist/components/form/time-picker/time-picker-columns.js +64 -15
- package/dist/components/form/time-picker/time-picker-columns.styles.js +5 -1
- package/dist/components/form/time-picker/time-picker-list.d.ts +4 -1
- package/dist/components/form/time-picker/time-picker-list.js +15 -8
- package/dist/components/form/time-picker/time-picker.d.ts +11 -2
- package/dist/components/form/time-picker/time-picker.js +22 -8
- package/dist/components/layout/animate/animate.d.ts +35 -17
- package/dist/components/layout/animate/animate.js +27 -14
- package/dist/components/layout/animate/animate.styles.d.ts +2 -1
- package/dist/components/layout/animate/animate.styles.js +107 -179
- package/dist/components/layout/divider/divider.d.ts +1 -0
- package/dist/components/layout/divider/divider.js +2 -1
- package/dist/components/layout/divider/divider.styles.js +7 -6
- package/dist/components/layout/infinite-list/infinite-list.styles.js +1 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +3 -3
- package/dist/components/navigation/carousel/carousel.d.ts +23 -14
- package/dist/components/navigation/carousel/carousel.js +39 -27
- package/dist/components/navigation/carousel/carousel.styles.js +16 -8
- package/dist/components/navigation/nav-menu/nav-menu.d.ts +201 -0
- package/dist/components/navigation/nav-menu/nav-menu.js +673 -0
- package/dist/components/navigation/nav-menu/nav-menu.styles.d.ts +1 -0
- package/dist/components/navigation/nav-menu/nav-menu.styles.js +352 -0
- package/dist/components/navigation/pagination/pagination.d.ts +3 -0
- package/dist/components/navigation/pagination/pagination.styles.js +2 -2
- package/dist/components/navigation/sidebar/sidebar.d.ts +8 -10
- package/dist/components/navigation/sidebar/sidebar.js +12 -15
- package/dist/components/navigation/sidebar/sidebar.styles.js +13 -4
- package/dist/components/navigation/stepper/step.styles.js +2 -2
- package/dist/components/navigation/stepper/stepper.d.ts +24 -13
- package/dist/components/navigation/stepper/stepper.js +36 -23
- package/dist/components/navigation/stepper/stepper.styles.js +2 -2
- package/dist/components/navigation/tabs/tab-group/tab-group.js +1 -1
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +121 -20
- package/dist/components/navigation/toolbar/toolbar.js +176 -45
- package/dist/components/navigation/toolbar/toolbar.styles.js +113 -28
- package/dist/events/editor-state-change.event.d.ts +28 -0
- package/dist/events/editor-state-change.event.js +22 -0
- package/dist/events/event-cancel.event.d.ts +20 -0
- package/dist/events/event-cancel.event.js +17 -0
- package/dist/events/period-change.event.d.ts +14 -6
- package/dist/events/period-change.event.js +9 -6
- package/dist/features/scheduler/calendar/calendar.d.ts +52 -20
- package/dist/features/scheduler/calendar/calendar.js +84 -36
- package/dist/features/scheduler/calendar/calendar.styles.js +5 -2
- package/dist/features/scheduler/scheduler/scheduler.d.ts +69 -4
- package/dist/features/scheduler/scheduler/scheduler.js +172 -47
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +18 -20
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +29 -38
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +102 -18
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +249 -112
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +11 -1
- package/dist/features/scheduler/shared/scheduler-event-popover.d.ts +9 -1
- package/dist/features/scheduler/shared/scheduler-event-popover.js +77 -42
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +14 -3
- package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +3 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.js +53 -46
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +13 -7
- package/dist/features/scheduler/shared/scheduler-month-view.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +13 -7
- package/dist/features/scheduler/shared/scheduler-year-view.d.ts +6 -5
- package/dist/features/scheduler/shared/scheduler-year-view.js +11 -7
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +57 -3
- package/dist/features/scheduler/shared/scheduler.types.d.ts +5 -9
- package/dist/features/scheduler/shared/scheduler.utils.d.ts +61 -0
- package/dist/features/scheduler/shared/scheduler.utils.js +78 -4
- package/dist/features/table/table/table-native.styles.js +8 -4
- package/dist/features/table/table/table.d.ts +2 -1
- package/dist/features/table/table/table.js +2 -1
- package/dist/features/table/table/table.styles.js +6 -4
- package/dist/i18n/en.d.ts +17 -0
- package/dist/i18n/en.js +17 -0
- package/dist/i18n/fr.js +17 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/jsx.d.ts +48 -6
- package/dist/mixins/anchor-position.mixin.d.ts +17 -0
- package/dist/mixins/anchor-position.mixin.js +45 -7
- package/dist/mixins/button.mixin.js +2 -1
- package/dist/mixins/check.mixin.js +14 -5
- package/dist/mixins/dialog-surface.mixin.d.ts +1 -1
- package/dist/mixins/dialog-surface.mixin.js +5 -5
- package/dist/mixins/form.mixin.js +33 -13
- package/dist/mixins/localizable.mixin.d.ts +1 -0
- package/dist/mixins/localizable.mixin.js +9 -2
- package/dist/mixins/radio.mixin.js +14 -5
- package/dist/mixins/validators.mixin.js +4 -3
- package/dist/react.d.ts +59 -0
- package/dist/react.js +42 -0
- package/dist/ssr/animate-ssr.css +35 -0
- package/dist/ssr/breadcrumb-ssr.css +3 -3
- package/dist/ssr/button-ssr.css +8 -2
- package/dist/ssr/card-ssr.css +1 -1
- package/dist/ssr/carousel-ssr.css +15 -4
- package/dist/ssr/chip-ssr.css +3 -3
- package/dist/ssr/collapse-ssr.css +2 -2
- package/dist/ssr/description-list-ssr.css +1 -1
- package/dist/ssr/divider-ssr.css +23 -0
- package/dist/ssr/field-ssr.css +245 -42
- package/dist/ssr/image-carousel-ssr.css +2 -4
- package/dist/ssr/links-ssr.css +17 -3
- package/dist/ssr/nav-menu-ssr.css +82 -0
- package/dist/ssr/overlay-ssr.css +4 -0
- package/dist/ssr/scheduler-ssr.css +182 -0
- package/dist/ssr/stepper-ssr.css +136 -0
- package/dist/ssr/table-ssr.css +7 -4
- package/dist/ssr/tag-ssr.css +1 -1
- package/dist/ssr/toolbar-ssr.css +7 -5
- package/dist/utils/css-length.utils.d.ts +14 -0
- package/dist/utils/css-length.utils.js +32 -0
- package/dist/utils/form-validation.utils.d.ts +36 -0
- package/dist/utils/form-validation.utils.js +113 -0
- package/dist/utils/implicit-submission.utils.js +2 -14
- package/dist/utils/interactive-content.utils.d.ts +10 -0
- package/dist/utils/interactive-content.utils.js +43 -0
- package/dist/utils/popover.utils.js +3 -2
- package/dist/utils/scroll-lock.utils.d.ts +9 -1
- package/dist/utils/scroll-lock.utils.js +21 -2
- package/dist/utils/theme-generator.utils.d.ts +1 -0
- package/dist/utils/theme-generator.utils.js +23 -10
- package/dist/utils/validity.utils.d.ts +18 -4
- package/dist/utils/validity.utils.js +74 -4
- package/package.json +34 -3
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +2 -2
- package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +116 -8
- package/dist/cdn/components/chunks/chunk-4DRU3IYJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-647ISUF4.js +0 -1
- package/dist/cdn/components/chunks/chunk-6TIEBY34.js +0 -1
- package/dist/cdn/components/chunks/chunk-E6UOI36Q.js +0 -1
- package/dist/cdn/components/chunks/chunk-GNAUNTS5.js +0 -1
- package/dist/cdn/components/chunks/chunk-IJJ67C66.js +0 -1
- package/dist/cdn/components/chunks/chunk-J7ETIRSK.js +0 -1
- package/dist/cdn/components/chunks/chunk-JGV7LHEI.js +0 -1
- package/dist/cdn/components/chunks/chunk-L74LXUGL.js +0 -1
- package/dist/cdn/components/chunks/chunk-MY6ORZJR.js +0 -46
- package/dist/cdn/components/chunks/chunk-QWTFP56P.js +0 -1
- package/dist/cdn/components/chunks/chunk-SFX2LQ4K.js +0 -205
- package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +0 -1
- package/dist/utils/boolean.utils.d.ts +0 -14
- package/dist/utils/boolean.utils.js +0 -20
|
@@ -2,11 +2,15 @@ eun-carousel:not(:defined) {
|
|
|
2
2
|
--_visibleCount: 1;
|
|
3
3
|
--_count: var(--carousel-visible-slides, var(--_visibleCount));
|
|
4
4
|
--_gap: var(--carousel-gap, 16px);
|
|
5
|
+
--_peek: var(--carousel-peek-size, 32px);
|
|
5
6
|
--_basis: var(
|
|
6
7
|
--carousel-slide-width,
|
|
7
8
|
max(
|
|
8
9
|
var(--carousel-min-slide-width, 220px),
|
|
9
|
-
calc(
|
|
10
|
+
calc(
|
|
11
|
+
(100% - var(--_peek) - (var(--_count) - 1) * var(--_gap)) /
|
|
12
|
+
var(--_count)
|
|
13
|
+
)
|
|
10
14
|
)
|
|
11
15
|
);
|
|
12
16
|
--_navSize: var(--carousel-nav-size, 42px);
|
|
@@ -38,12 +42,16 @@ eun-carousel:not(:defined) {
|
|
|
38
42
|
display: grid;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
|
-
eun-carousel[
|
|
45
|
+
eun-carousel[full-slides]:not(:defined) {
|
|
46
|
+
--_peek: 0px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
eun-carousel:not([show-arrows]):not(:defined) {
|
|
42
50
|
--_navReserve: 0px;
|
|
43
51
|
--carousel-nav-display: none;
|
|
44
52
|
}
|
|
45
53
|
|
|
46
|
-
eun-carousel[show-dots
|
|
54
|
+
eun-carousel:not([show-dots]):not(:defined) {
|
|
47
55
|
--carousel-dots-display: none;
|
|
48
56
|
}
|
|
49
57
|
|
|
@@ -79,7 +87,10 @@ eun-carousel:not(:defined) > [slot="title"] {
|
|
|
79
87
|
--carousel-slide-width,
|
|
80
88
|
max(
|
|
81
89
|
var(--carousel-min-slide-width, 220px),
|
|
82
|
-
calc(
|
|
90
|
+
calc(
|
|
91
|
+
(100cqi - var(--_peek) - (var(--_count) - 1) * var(--_gap)) /
|
|
92
|
+
var(--_count)
|
|
93
|
+
)
|
|
83
94
|
)
|
|
84
95
|
);
|
|
85
96
|
--_titleOverflow: calc(
|
package/dist/ssr/chip-ssr.css
CHANGED
|
@@ -7,7 +7,7 @@ eun-chip:not(:defined) {
|
|
|
7
7
|
--_fg-outline: var(--_accent);
|
|
8
8
|
--_bd-outline: var(--_solid);
|
|
9
9
|
--_bg-flat: var(--eun-content-hover, #edeff0);
|
|
10
|
-
--_fg-flat: var(--eun-text-secondary, #
|
|
10
|
+
--_fg-flat: var(--eun-text-secondary, #666e8a);
|
|
11
11
|
--_bg: var(--_bg-default);
|
|
12
12
|
--_fg: var(--_fg-default);
|
|
13
13
|
--_bd: transparent;
|
|
@@ -172,7 +172,7 @@ eun-chip[appearance="flat"]:not(:defined) {
|
|
|
172
172
|
--_fg: var(--_fg-flat);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
eun-chip[rounded
|
|
175
|
+
eun-chip:not([rounded]):not(:defined) {
|
|
176
176
|
border-radius: var(--chip-border-radius, var(--eun-border-radius-s, 5px));
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -247,6 +247,6 @@ eun-chip:not(:defined)::after {
|
|
|
247
247
|
center / var(--_deleteIconSize) no-repeat;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
eun-chip[removable
|
|
250
|
+
eun-chip:not([removable]):not(:defined)::after {
|
|
251
251
|
display: none;
|
|
252
252
|
}
|
|
@@ -59,7 +59,7 @@ eun-collapse:not(:defined) > [slot="heading"] {
|
|
|
59
59
|
overflow: hidden;
|
|
60
60
|
text-overflow: ellipsis;
|
|
61
61
|
font-size: var(--collapse-heading-font-size, var(--eun-font-size-s, 14px));
|
|
62
|
-
font-weight: var(--eun-font-weight-l);
|
|
62
|
+
font-weight: var(--collapse-heading-font-weight, var(--eun-font-weight-l));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
eun-collapse:not(:defined):has(> [slot="subheading"]) > [slot="heading"] {
|
|
@@ -72,7 +72,7 @@ eun-collapse:not(:defined) > [slot="subheading"] {
|
|
|
72
72
|
align-self: start;
|
|
73
73
|
justify-self: start;
|
|
74
74
|
margin-block-start: var(--eun-space-xxs, 1.6px);
|
|
75
|
-
color: var(--collapse-subheading-color, var(--eun-text-secondary, #
|
|
75
|
+
color: var(--collapse-subheading-color, var(--eun-text-secondary, #666e8a));
|
|
76
76
|
font-size: var(
|
|
77
77
|
--collapse-subheading-font-size,
|
|
78
78
|
var(--eun-font-size-xs, 14px)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
:where(eun-divider:not(:defined)) {
|
|
2
|
+
--_color: var(--divider-color, var(--eun-border-color, #dee0e7));
|
|
3
|
+
--_spacing: var(--divider-spacing, var(--eun-space-m, 16px));
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:where(
|
|
8
|
+
eun-divider:not(:defined):is([orientation="horizontal"], :not([orientation]))
|
|
9
|
+
) {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 0;
|
|
12
|
+
margin-block: var(--_spacing);
|
|
13
|
+
border-block-start: 1px solid var(--_color);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where(eun-divider[orientation="vertical"]:not(:defined)) {
|
|
17
|
+
display: inline-block;
|
|
18
|
+
align-self: stretch;
|
|
19
|
+
width: 0;
|
|
20
|
+
height: auto;
|
|
21
|
+
margin-inline: var(--_spacing);
|
|
22
|
+
border-inline-start: 1px solid var(--_color);
|
|
23
|
+
}
|
package/dist/ssr/field-ssr.css
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
:is(
|
|
1
|
+
:is(
|
|
2
|
+
eun-input,
|
|
3
|
+
eun-search,
|
|
4
|
+
eun-textarea,
|
|
5
|
+
eun-select,
|
|
6
|
+
eun-counter,
|
|
7
|
+
eun-date-picker,
|
|
8
|
+
eun-time-picker,
|
|
9
|
+
eun-color-picker
|
|
10
|
+
):not(:defined) {
|
|
2
11
|
--_borderColor: var(--field-border-color, var(--eun-border-color, #dee0e7));
|
|
3
12
|
--_defaultPaddingBlock: var(--eun-space-s, 8px);
|
|
4
13
|
--_defaultFontSize: var(--eun-font-size-s, 14px);
|
|
@@ -14,7 +23,18 @@
|
|
|
14
23
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
15
24
|
font-size: var(--field-font-size, var(--_defaultFontSize));
|
|
16
25
|
}
|
|
17
|
-
:where(
|
|
26
|
+
:where(
|
|
27
|
+
:is(
|
|
28
|
+
eun-input,
|
|
29
|
+
eun-search,
|
|
30
|
+
eun-textarea,
|
|
31
|
+
eun-select,
|
|
32
|
+
eun-counter,
|
|
33
|
+
eun-date-picker,
|
|
34
|
+
eun-time-picker,
|
|
35
|
+
eun-color-picker
|
|
36
|
+
):not(:defined)
|
|
37
|
+
) {
|
|
18
38
|
display: block;
|
|
19
39
|
width: 100%;
|
|
20
40
|
}
|
|
@@ -23,78 +43,152 @@ eun-textarea:not(:defined) {
|
|
|
23
43
|
--_defaultLineHeight: normal;
|
|
24
44
|
}
|
|
25
45
|
|
|
26
|
-
:is(
|
|
46
|
+
:is(
|
|
47
|
+
eun-input,
|
|
48
|
+
eun-search,
|
|
49
|
+
eun-select,
|
|
50
|
+
eun-date-picker,
|
|
51
|
+
eun-time-picker,
|
|
52
|
+
eun-color-picker
|
|
53
|
+
)[rounded]:not(:defined) {
|
|
27
54
|
--_defaultBorderRadius: var(--eun-border-radius-xl, 999px);
|
|
28
55
|
--_defaultPaddingInline: var(--eun-space-m, 16px);
|
|
29
56
|
}
|
|
30
57
|
|
|
31
|
-
:is(
|
|
58
|
+
:is(
|
|
59
|
+
eun-input,
|
|
60
|
+
eun-search,
|
|
61
|
+
eun-select,
|
|
62
|
+
eun-date-picker,
|
|
63
|
+
eun-time-picker,
|
|
64
|
+
eun-color-picker
|
|
65
|
+
)[size="xs"]:not(:defined) {
|
|
32
66
|
--_defaultFontSize: var(--eun-font-size-xs, 10px);
|
|
33
67
|
--_defaultPaddingBlock: var(--eun-space-xxs, 1.6px);
|
|
34
68
|
--_defaultLineHeight: 10px;
|
|
35
69
|
}
|
|
36
70
|
|
|
37
|
-
:is(
|
|
71
|
+
:is(
|
|
72
|
+
eun-input,
|
|
73
|
+
eun-search,
|
|
74
|
+
eun-select,
|
|
75
|
+
eun-date-picker,
|
|
76
|
+
eun-time-picker,
|
|
77
|
+
eun-color-picker
|
|
78
|
+
)[size="s"]:not(:defined) {
|
|
38
79
|
--_defaultFontSize: var(--eun-font-size-xs, 10px);
|
|
39
80
|
--_defaultPaddingBlock: calc(var(--eun-space-s, 8px) / 2);
|
|
40
81
|
--_defaultLineHeight: 10px;
|
|
41
82
|
}
|
|
42
83
|
|
|
43
|
-
:is(
|
|
84
|
+
:is(
|
|
85
|
+
eun-input,
|
|
86
|
+
eun-search,
|
|
87
|
+
eun-select,
|
|
88
|
+
eun-date-picker,
|
|
89
|
+
eun-time-picker,
|
|
90
|
+
eun-color-picker
|
|
91
|
+
)[size="l"]:not(:defined) {
|
|
44
92
|
--_defaultFontSize: var(--eun-font-size-m, 16px);
|
|
45
93
|
--_defaultPaddingBlock: calc(var(--eun-space-s, 8px) * 1.25);
|
|
46
94
|
--_defaultLineHeight: 1.1rem;
|
|
47
95
|
}
|
|
48
96
|
|
|
49
|
-
:is(
|
|
97
|
+
:is(
|
|
98
|
+
eun-input,
|
|
99
|
+
eun-search,
|
|
100
|
+
eun-select,
|
|
101
|
+
eun-date-picker,
|
|
102
|
+
eun-time-picker,
|
|
103
|
+
eun-color-picker
|
|
104
|
+
)[size="xl"]:not(:defined) {
|
|
50
105
|
--_defaultFontSize: var(--eun-font-size-l, 1.3rem);
|
|
51
106
|
--_defaultPaddingBlock: calc(var(--eun-space-s, 8px) * 1.5);
|
|
52
107
|
--_defaultLineHeight: 1.3rem;
|
|
53
108
|
}
|
|
54
109
|
|
|
55
|
-
:is(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
110
|
+
:is(
|
|
111
|
+
eun-input,
|
|
112
|
+
eun-search,
|
|
113
|
+
eun-textarea,
|
|
114
|
+
eun-select,
|
|
115
|
+
eun-counter,
|
|
116
|
+
eun-date-picker,
|
|
117
|
+
eun-time-picker,
|
|
118
|
+
eun-color-picker
|
|
119
|
+
):is([label], [required], [instructions]):not(:defined)::before {
|
|
60
120
|
content: attr(label) "\200b";
|
|
61
121
|
display: block;
|
|
62
122
|
margin-block-end: calc(2 * var(--eun-space-xs, 4px));
|
|
63
123
|
white-space: pre-line;
|
|
64
|
-
color: var(--eun-text-secondary, #
|
|
124
|
+
color: var(--eun-text-secondary, #666e8a);
|
|
65
125
|
font-size: var(--field-message-font-size, var(--eun-font-size-xs, 12px));
|
|
66
126
|
}
|
|
67
127
|
|
|
68
|
-
:is(
|
|
69
|
-
|
|
70
|
-
|
|
128
|
+
:is(
|
|
129
|
+
eun-input,
|
|
130
|
+
eun-search,
|
|
131
|
+
eun-textarea,
|
|
132
|
+
eun-select,
|
|
133
|
+
eun-counter,
|
|
134
|
+
eun-date-picker,
|
|
135
|
+
eun-time-picker,
|
|
136
|
+
eun-color-picker
|
|
137
|
+
)[instructions]:not(:defined)::before {
|
|
71
138
|
content: attr(label) "\200b\A" attr(instructions);
|
|
72
139
|
}
|
|
73
140
|
|
|
74
|
-
:is(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
141
|
+
:is(
|
|
142
|
+
eun-input,
|
|
143
|
+
eun-search,
|
|
144
|
+
eun-textarea,
|
|
145
|
+
eun-select,
|
|
146
|
+
eun-counter,
|
|
147
|
+
eun-date-picker,
|
|
148
|
+
eun-time-picker,
|
|
149
|
+
eun-color-picker
|
|
150
|
+
):is([label], [required], [instructions]):not(:defined)::first-line {
|
|
79
151
|
color: var(--eun-text-color, #071621);
|
|
80
152
|
font-size: var(--field-label-font-size, var(--eun-font-size-s, 14px));
|
|
81
153
|
font-weight: var(--eun-font-weight-l, 700);
|
|
82
154
|
}
|
|
83
155
|
|
|
84
|
-
:is(
|
|
85
|
-
|
|
86
|
-
|
|
156
|
+
:is(
|
|
157
|
+
eun-input,
|
|
158
|
+
eun-search,
|
|
159
|
+
eun-textarea,
|
|
160
|
+
eun-select,
|
|
161
|
+
eun-counter,
|
|
162
|
+
eun-date-picker,
|
|
163
|
+
eun-time-picker,
|
|
164
|
+
eun-color-picker
|
|
165
|
+
)[required]:not([label]):not(:defined)::first-line {
|
|
87
166
|
font-size: var(--field-label-font-size, var(--eun-font-size-s, 10px));
|
|
88
167
|
}
|
|
89
168
|
|
|
90
|
-
:is(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
169
|
+
:is(
|
|
170
|
+
eun-input,
|
|
171
|
+
eun-search,
|
|
172
|
+
eun-textarea,
|
|
173
|
+
eun-select,
|
|
174
|
+
eun-counter,
|
|
175
|
+
eun-date-picker,
|
|
176
|
+
eun-time-picker,
|
|
177
|
+
eun-color-picker
|
|
178
|
+
)[required]:not([label], [instructions]):not(:defined)::before {
|
|
94
179
|
font-size: var(--field-label-font-size, var(--eun-font-size-s, 10px));
|
|
95
180
|
}
|
|
96
181
|
|
|
97
|
-
:is(
|
|
182
|
+
:is(
|
|
183
|
+
eun-input,
|
|
184
|
+
eun-search,
|
|
185
|
+
eun-textarea,
|
|
186
|
+
eun-select,
|
|
187
|
+
eun-counter,
|
|
188
|
+
eun-date-picker,
|
|
189
|
+
eun-time-picker,
|
|
190
|
+
eun-color-picker
|
|
191
|
+
):not(:defined)::after {
|
|
98
192
|
content: "\200b";
|
|
99
193
|
display: block;
|
|
100
194
|
box-sizing: border-box;
|
|
@@ -113,9 +207,16 @@ eun-textarea:not(:defined) {
|
|
|
113
207
|
text-overflow: ellipsis;
|
|
114
208
|
}
|
|
115
209
|
|
|
116
|
-
:is(
|
|
117
|
-
|
|
118
|
-
|
|
210
|
+
:is(
|
|
211
|
+
eun-input,
|
|
212
|
+
eun-search,
|
|
213
|
+
eun-textarea,
|
|
214
|
+
eun-select,
|
|
215
|
+
eun-counter,
|
|
216
|
+
eun-date-picker,
|
|
217
|
+
eun-time-picker,
|
|
218
|
+
eun-color-picker
|
|
219
|
+
)[placeholder]:not(:defined)::after {
|
|
119
220
|
content: attr(placeholder) "\200b";
|
|
120
221
|
}
|
|
121
222
|
|
|
@@ -133,9 +234,16 @@ eun-search:not([icon=""]):not(:defined)::after {
|
|
|
133
234
|
);
|
|
134
235
|
}
|
|
135
236
|
|
|
136
|
-
:is(
|
|
137
|
-
|
|
138
|
-
|
|
237
|
+
:is(
|
|
238
|
+
eun-input,
|
|
239
|
+
eun-search,
|
|
240
|
+
eun-textarea,
|
|
241
|
+
eun-select,
|
|
242
|
+
eun-counter,
|
|
243
|
+
eun-date-picker,
|
|
244
|
+
eun-time-picker,
|
|
245
|
+
eun-color-picker
|
|
246
|
+
)[appearance="flat"]:not(:defined)::after {
|
|
139
247
|
border-color: transparent;
|
|
140
248
|
background-color: var(--field-background, var(--eun-content-hover, #edeff0));
|
|
141
249
|
}
|
|
@@ -144,23 +252,41 @@ eun-search:not([icon=""]):not(:defined)::after {
|
|
|
144
252
|
eun-input,
|
|
145
253
|
eun-search,
|
|
146
254
|
eun-textarea,
|
|
147
|
-
eun-select
|
|
255
|
+
eun-select,
|
|
256
|
+
eun-counter,
|
|
257
|
+
eun-date-picker,
|
|
258
|
+
eun-time-picker,
|
|
259
|
+
eun-color-picker
|
|
148
260
|
)[appearance="underline"]:not(:defined)::after {
|
|
149
261
|
border-width: 0 0 var(--eun-border-width-m, 1.5px);
|
|
150
262
|
border-radius: 0;
|
|
151
263
|
background-color: var(--field-background, transparent);
|
|
152
264
|
}
|
|
153
265
|
|
|
154
|
-
:is(
|
|
155
|
-
|
|
156
|
-
|
|
266
|
+
:is(
|
|
267
|
+
eun-input,
|
|
268
|
+
eun-search,
|
|
269
|
+
eun-textarea,
|
|
270
|
+
eun-select,
|
|
271
|
+
eun-counter,
|
|
272
|
+
eun-date-picker,
|
|
273
|
+
eun-time-picker,
|
|
274
|
+
eun-color-picker
|
|
275
|
+
)[disabled]:not(:defined)::after {
|
|
157
276
|
opacity: 0.5;
|
|
158
277
|
background-color: var(--eun-disabled-color, #ecedf0);
|
|
159
278
|
}
|
|
160
279
|
|
|
161
|
-
:is(
|
|
162
|
-
|
|
163
|
-
|
|
280
|
+
:is(
|
|
281
|
+
eun-input,
|
|
282
|
+
eun-search,
|
|
283
|
+
eun-textarea,
|
|
284
|
+
eun-select,
|
|
285
|
+
eun-counter,
|
|
286
|
+
eun-date-picker,
|
|
287
|
+
eun-time-picker,
|
|
288
|
+
eun-color-picker
|
|
289
|
+
)[readonly]:not(:defined)::after {
|
|
164
290
|
border-color: var(--eun-readonly-color, #666e8a);
|
|
165
291
|
}
|
|
166
292
|
|
|
@@ -234,3 +360,80 @@ eun-search[icon="search"]:not(:defined):dir(rtl)::after {
|
|
|
234
360
|
background-position: right
|
|
235
361
|
calc(var(--eun-space-m, 16px) - var(--eun-border-width-m, 1.5px)) center;
|
|
236
362
|
}
|
|
363
|
+
|
|
364
|
+
eun-counter:not(:defined) {
|
|
365
|
+
--_borderColor: var(--counter-border-color, var(--eun-border-color, #dee0e7));
|
|
366
|
+
--_defaultBorderRadius: var(
|
|
367
|
+
--counter-border-radius,
|
|
368
|
+
var(--eun-border-radius-m, 8px)
|
|
369
|
+
);
|
|
370
|
+
--_padding: var(--eun-space-s, 8px) var(--eun-space-xs, 4px);
|
|
371
|
+
color: var(--counter-text-color, var(--eun-text-color, #071621));
|
|
372
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
373
|
+
}
|
|
374
|
+
:where(eun-counter:not(:defined)) {
|
|
375
|
+
width: fit-content;
|
|
376
|
+
max-width: 100%;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
eun-counter[rounded]:not(:defined) {
|
|
380
|
+
--_defaultBorderRadius: var(
|
|
381
|
+
--counter-border-radius,
|
|
382
|
+
var(--eun-border-radius-xl, 999px)
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
eun-counter:not(:defined)::after {
|
|
387
|
+
box-sizing: content-box;
|
|
388
|
+
width: var(--counter-field-width, 3.5rem);
|
|
389
|
+
padding-inline: calc(var(--eun-space-l, 32px) + var(--eun-space-xs, 4px));
|
|
390
|
+
line-height: normal;
|
|
391
|
+
border-radius: var(--_defaultBorderRadius);
|
|
392
|
+
background-color: var(--counter-background, transparent);
|
|
393
|
+
color: inherit;
|
|
394
|
+
text-align: center;
|
|
395
|
+
font-variant-numeric: tabular-nums;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
eun-counter[value]:not(:defined)::after {
|
|
399
|
+
content: attr(value) "\200b";
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
eun-color-picker:not(:defined) > option {
|
|
403
|
+
display: none;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
:where(eun-color-picker[swatch-only]:not(:defined)) {
|
|
407
|
+
display: inline-block;
|
|
408
|
+
width: auto;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* The label's legend keeps its default inline padding, which sizes a swatch-only picker. */
|
|
412
|
+
eun-color-picker[swatch-only]:not(:defined)::before {
|
|
413
|
+
padding-inline: 2px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
eun-color-picker[swatch-only]:not(:defined)::after {
|
|
417
|
+
box-sizing: border-box;
|
|
418
|
+
width: 20px;
|
|
419
|
+
height: 20px;
|
|
420
|
+
padding: 0;
|
|
421
|
+
border-width: var(--eun-border-width-s, 1px);
|
|
422
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* The static display of the value, a swatch padded like a field. */
|
|
426
|
+
eun-color-picker[readonly-available]:not([swatch-only]):not(:defined)::after {
|
|
427
|
+
padding: var(--eun-space-s, 8px);
|
|
428
|
+
line-height: 20px;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/* A row of swatches standing on the text baseline, with no field box. */
|
|
432
|
+
eun-color-picker[presets-inline]:has(> option):not(:defined)::after {
|
|
433
|
+
content: "";
|
|
434
|
+
display: inline-block;
|
|
435
|
+
height: 20px;
|
|
436
|
+
padding: 0;
|
|
437
|
+
border: 0;
|
|
438
|
+
background: none;
|
|
439
|
+
}
|
|
@@ -23,12 +23,10 @@ eun-image-carousel:is(:not([images]), [images*="},"]):not(:defined)::after {
|
|
|
23
23
|
margin-top: var(--image-carousel-thumbnail-gap, var(--eun-space-s, 8px));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
eun-image-carousel[show-thumbnails
|
|
26
|
+
eun-image-carousel:not([show-thumbnails]):not(:defined)::after {
|
|
27
27
|
height: var(--image-carousel-dot-size, 8px);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
eun-image-carousel[show-thumbnails
|
|
31
|
-
:defined
|
|
32
|
-
)::after {
|
|
30
|
+
eun-image-carousel:not([show-thumbnails], [show-dots]):not(:defined)::after {
|
|
33
31
|
display: none;
|
|
34
32
|
}
|
package/dist/ssr/links-ssr.css
CHANGED
|
@@ -62,7 +62,8 @@ eun-link[block]:not(:defined) > a {
|
|
|
62
62
|
border: 0;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
:is(eun-link, eun-button):not(:defined) > a[target="_blank"]::after
|
|
65
|
+
:is(eun-link, eun-button):not(:defined) > a[target="_blank"]::after,
|
|
66
|
+
:is(eun-link, eun-button)[href][target="_blank"]:not(:defined)::after {
|
|
66
67
|
content: "";
|
|
67
68
|
display: inline-block;
|
|
68
69
|
width: 14px;
|
|
@@ -75,8 +76,21 @@ eun-link[block]:not(:defined) > a {
|
|
|
75
76
|
rotate: -45deg;
|
|
76
77
|
}
|
|
77
78
|
|
|
78
|
-
eun-
|
|
79
|
+
eun-link[href][target="_blank"]:not(:defined)::after {
|
|
80
|
+
flex-shrink: 0;
|
|
81
|
+
margin-inline-start: calc(-1 * var(--eun-space-xs, 4px));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
eun-button:not(:defined) > a[target="_blank"]::after,
|
|
85
|
+
eun-button[href][target="_blank"]:not(:defined)::after {
|
|
79
86
|
width: 12px;
|
|
80
87
|
height: 12px;
|
|
81
|
-
margin-inline: var(--
|
|
88
|
+
margin-inline: calc(var(--_gap) + var(--eun-space-s, 8px))
|
|
89
|
+
calc(-1 * var(--eun-space-xs, 4px));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
eun-button[href][target="_blank"]:not(:defined)::after {
|
|
93
|
+
flex-shrink: 0;
|
|
94
|
+
order: 1;
|
|
95
|
+
margin-inline-start: var(--eun-space-s, 8px);
|
|
82
96
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
:where(eun-nav-menu:not(:defined)) {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
vertical-align: middle;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
eun-nav-menu:not(:defined) {
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: var(--nav-menu-trigger-gap, var(--eun-space-xs, 4px));
|
|
9
|
+
padding: var(
|
|
10
|
+
--nav-menu-trigger-padding,
|
|
11
|
+
var(--nav-menu-trigger-padding-block, var(--eun-space-xs, 4px))
|
|
12
|
+
var(--nav-menu-trigger-padding-inline, var(--eun-space-xs, 4px))
|
|
13
|
+
);
|
|
14
|
+
border-radius: var(
|
|
15
|
+
--nav-menu-trigger-border-radius,
|
|
16
|
+
var(--eun-border-radius-m, 8px)
|
|
17
|
+
);
|
|
18
|
+
background: var(--nav-menu-trigger-background, transparent);
|
|
19
|
+
box-shadow: var(--nav-menu-trigger-shadow, none);
|
|
20
|
+
color: var(--nav-menu-trigger-color, var(--eun-text-color, #071621));
|
|
21
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
22
|
+
font-size: var(--nav-menu-trigger-font-size, inherit);
|
|
23
|
+
font-weight: var(--nav-menu-trigger-font-weight, inherit);
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
eun-nav-menu[theme="dark"]:not(:defined) {
|
|
28
|
+
color: var(
|
|
29
|
+
--nav-menu-trigger-color,
|
|
30
|
+
var(--eun-text-on-inverse-secondary, rgba(255, 255, 255, 0.7))
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
eun-nav-menu[theme="dark"][current]:not(:defined),
|
|
35
|
+
eun-nav-menu[theme="dark"]:not(:defined):has(
|
|
36
|
+
> [current],
|
|
37
|
+
> [aria-current="page"],
|
|
38
|
+
> * [aria-current="page"]
|
|
39
|
+
) {
|
|
40
|
+
color: var(
|
|
41
|
+
--nav-menu-trigger-color-current,
|
|
42
|
+
color-mix(in srgb, var(--eun-color-primary-500, #3d6fff) 55%, #ffffff)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
eun-nav-menu[current]:not(:defined),
|
|
47
|
+
eun-nav-menu:not(:defined):has(
|
|
48
|
+
> [current],
|
|
49
|
+
> [aria-current="page"],
|
|
50
|
+
> * [aria-current="page"]
|
|
51
|
+
) {
|
|
52
|
+
color: var(
|
|
53
|
+
--nav-menu-trigger-color-current,
|
|
54
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
eun-nav-menu:not(:defined) > [slot="icon"] {
|
|
59
|
+
order: -1;
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
eun-nav-menu:not(:defined) > [slot="chevron"] {
|
|
65
|
+
order: 1;
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
eun-nav-menu:not(:defined):not([hide-chevron]):not(
|
|
71
|
+
:has(> [slot="chevron"])
|
|
72
|
+
)::after {
|
|
73
|
+
content: "";
|
|
74
|
+
order: 1;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
width: var(--nav-menu-icon-size, 1.25em);
|
|
77
|
+
height: var(--nav-menu-icon-size, 1.25em);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
eun-nav-menu[hide-chevron]:not(:defined) > [slot="chevron"] {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
package/dist/ssr/overlay-ssr.css
CHANGED