@eunomia/elements 1.0.0-beta.4 → 1.0.0-beta.6
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/breakpoints.d.ts +37 -10
- package/dist/breakpoints.js +38 -10
- package/dist/cdn/components/chunks/{chunk-MMLIPCOY.js → chunk-22D3SRFR.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-4MXL6PZC.js → chunk-2Y2EU2CI.js} +28 -28
- package/dist/cdn/components/chunks/chunk-3MTUVMM5.js +1 -0
- package/dist/cdn/components/chunks/chunk-4PI6RDUS.js +1 -0
- package/dist/cdn/components/chunks/chunk-5GKM5DIB.js +1 -0
- package/dist/cdn/components/chunks/chunk-624VJYNA.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJLIHAU.js → chunk-7KKWYPHY.js} +4 -2
- package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +1 -0
- package/dist/cdn/components/chunks/chunk-BKZGTCMF.js +1 -0
- package/dist/cdn/components/chunks/{chunk-GW3VP2L7.js → chunk-BO3JOEWM.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-NHFWATVN.js → chunk-BQFJR2UP.js} +5 -5
- package/dist/cdn/components/chunks/chunk-EUWUDCBZ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-P32B7BFD.js → chunk-FF3I7C3C.js} +15 -15
- package/dist/cdn/components/chunks/{chunk-74AOAB4X.js → chunk-FOILAXLL.js} +6 -5
- package/dist/cdn/components/chunks/{chunk-E4IS25H7.js → chunk-G5SBDQQ3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-LGLQ36QB.js → chunk-GDBPWZN6.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-S2UCEWNG.js → chunk-JYIIWN2P.js} +13 -11
- package/dist/cdn/components/chunks/{chunk-EOWBYZV7.js → chunk-KDN4O5W2.js} +26 -13
- package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +1 -0
- package/dist/cdn/components/chunks/{chunk-PED5ATYN.js → chunk-L2ADCEN7.js} +1 -1
- package/dist/cdn/components/chunks/chunk-LMVW522V.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJGYXW7.js → chunk-MOMYII3P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-SIHZFOTK.js → chunk-MQQ4BGVJ.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-A4EQSU36.js → chunk-O7PHBLH2.js} +1 -1
- package/dist/cdn/components/chunks/chunk-PD62MBOJ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-KBH5PCUO.js → chunk-PE4DAXHQ.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-GSJEJLFA.js → chunk-PMPSJG5V.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-5EVP7YNE.js → chunk-PPCHQG7P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-EJIX2D4Z.js → chunk-QZ5SHR3I.js} +15 -11
- package/dist/cdn/components/chunks/chunk-RS7TWEMQ.js +1 -0
- package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-YGUJJ25C.js → chunk-SZYEBMG6.js} +11 -10
- package/dist/cdn/components/chunks/chunk-UDVB4LAE.js +56 -0
- package/dist/cdn/components/chunks/{chunk-UAGCQF23.js → chunk-UYZR4JXZ.js} +17 -12
- package/dist/cdn/components/chunks/chunk-VG6NAAIV.js +1 -0
- package/dist/cdn/components/chunks/chunk-VJCNHMQZ.js +10 -0
- package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +38 -0
- package/dist/cdn/components/chunks/{chunk-BMQOI7HX.js → chunk-VYFR364B.js} +128 -74
- package/dist/cdn/components/chunks/{chunk-IJ5WFMK4.js → chunk-XDPRWUKN.js} +7 -6
- package/dist/cdn/components/chunks/{chunk-XH6NREVZ.js → chunk-YITWLCD3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-BQHYZB2W.js → chunk-ZBN4HTWP.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-RJCJXB7Y.js → chunk-ZKZV2YG5.js} +18 -18
- package/dist/cdn/components/eun-alert.js +24 -16
- package/dist/cdn/components/eun-animate.js +12 -6
- package/dist/cdn/components/eun-badge.js +7 -7
- package/dist/cdn/components/eun-breadcrumb.js +25 -41
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +68 -66
- package/dist/cdn/components/eun-card.js +67 -13
- package/dist/cdn/components/eun-carousel.js +66 -35
- package/dist/cdn/components/eun-check-card.js +13 -6
- package/dist/cdn/components/eun-checkbox-list.js +4 -4
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +1 -1
- package/dist/cdn/components/eun-collapse.js +87 -39
- package/dist/cdn/components/eun-color-picker.js +54 -53
- package/dist/cdn/components/eun-counter.js +14 -13
- package/dist/cdn/components/eun-date-picker.js +66 -63
- package/dist/cdn/components/eun-description-list.js +152 -0
- package/dist/cdn/components/eun-divider.js +1 -1
- package/dist/cdn/components/eun-drawer.js +26 -12
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -5
- package/dist/cdn/components/eun-fab.js +20 -19
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +79 -22
- package/dist/cdn/components/eun-image-carousel.js +92 -47
- package/dist/cdn/components/eun-infinite-list.js +23 -11
- package/dist/cdn/components/eun-input-file.js +14 -13
- package/dist/cdn/components/eun-input-phone.js +26 -26
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +4 -4
- package/dist/cdn/components/eun-link.js +174 -27
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +29 -22
- package/dist/cdn/components/eun-pagination.js +17 -12
- package/dist/cdn/components/eun-password-strength.js +6 -2
- package/dist/cdn/components/eun-progress-bar.js +13 -5
- package/dist/cdn/components/eun-radio-card.js +16 -9
- package/dist/cdn/components/eun-radio-list.js +4 -4
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +8 -8
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +42 -42
- package/dist/cdn/components/eun-search.js +21 -20
- package/dist/cdn/components/eun-select.js +12 -11
- package/dist/cdn/components/eun-sidebar.js +34 -20
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +15 -14
- package/dist/cdn/components/eun-sliding-card.js +8 -4
- package/dist/cdn/components/eun-step.js +17 -6
- package/dist/cdn/components/eun-stepper.js +17 -6
- package/dist/cdn/components/eun-switch.js +10 -8
- package/dist/cdn/components/eun-tab-group.js +22 -17
- package/dist/cdn/components/eun-tab-panel.js +11 -3
- 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 +572 -31
- package/dist/cdn/components/eun-tag.js +13 -7
- package/dist/cdn/components/eun-textarea.js +24 -24
- package/dist/cdn/components/eun-time-picker.js +21 -19
- package/dist/cdn/components/eun-toast.js +36 -16
- package/dist/cdn/components/eun-toggle-group.js +64 -37
- package/dist/cdn/components/eun-toggle-item.js +24 -21
- package/dist/cdn/components/eun-toggle.js +12 -10
- package/dist/cdn/components/eun-toolbar.js +62 -52
- package/dist/cdn/components/eun-tooltip.js +30 -14
- package/dist/cdn/styles/breakpoints.scss +8 -0
- package/dist/cdn/styles/eunomia-grid.scss +6 -0
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.scss +4 -3
- package/dist/cdn/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/dist/cdn/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
- package/dist/cdn/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/dist/cdn/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/dist/cdn/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/components/action/button/button.d.ts +51 -19
- package/dist/components/action/button/button.js +107 -24
- package/dist/components/action/button/button.styles.js +115 -62
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +10 -10
- package/dist/components/action/dropdown-button/dropdown-button.js +18 -17
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +3 -2
- package/dist/components/action/dropdown-button/dropdown-item.js +5 -6
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +3 -2
- package/dist/components/action/fab/fab.d.ts +7 -6
- package/dist/components/action/fab/fab.js +11 -8
- package/dist/components/action/fab/fab.styles.js +18 -17
- package/dist/components/action/link/link.d.ts +72 -9
- package/dist/components/action/link/link.js +183 -23
- package/dist/components/action/link/link.styles.js +146 -10
- package/dist/components/action/shared-styles/button-palette.styles.d.ts +3 -3
- package/dist/components/action/shared-styles/button-palette.styles.js +29 -29
- package/dist/components/action/toggle/toggle-group.d.ts +17 -5
- package/dist/components/action/toggle/toggle-group.js +46 -19
- package/dist/components/action/toggle/toggle-group.styles.d.ts +4 -1
- package/dist/components/action/toggle/toggle-group.styles.js +56 -27
- package/dist/components/action/toggle/toggle-item.d.ts +4 -4
- package/dist/components/action/toggle/toggle-item.js +2 -2
- package/dist/components/action/toggle/toggle-item.styles.js +20 -17
- package/dist/components/action/toggle/toggle.d.ts +2 -0
- package/dist/components/action/toggle/toggle.js +2 -0
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle.styles.js +12 -8
- package/dist/components/alert/alert/alert.d.ts +2 -0
- package/dist/components/alert/alert/alert.js +2 -0
- package/dist/components/alert/alert/alert.styles.js +23 -13
- package/dist/components/alert/drawer/drawer.d.ts +3 -1
- package/dist/components/alert/drawer/drawer.js +5 -3
- package/dist/components/alert/drawer/drawer.styles.js +25 -9
- package/dist/components/alert/modal/modal.d.ts +11 -9
- package/dist/components/alert/modal/modal.js +15 -13
- package/dist/components/alert/modal/modal.styles.js +16 -7
- package/dist/components/alert/toast/toast.d.ts +2 -0
- package/dist/components/alert/toast/toast.js +2 -0
- package/dist/components/alert/toast/toast.styles.js +37 -15
- package/dist/components/content/badge/badge.d.ts +6 -6
- package/dist/components/content/badge/badge.js +4 -4
- package/dist/components/content/badge/badge.styles.js +4 -4
- package/dist/components/content/card/card.d.ts +39 -7
- package/dist/components/content/card/card.js +71 -7
- package/dist/components/content/card/card.styles.js +58 -11
- package/dist/components/content/card/image-card.d.ts +62 -7
- package/dist/components/content/card/image-card.js +121 -11
- package/dist/components/content/card/image-card.styles.js +66 -15
- package/dist/components/content/card/sliding-card.d.ts +4 -1
- package/dist/components/content/card/sliding-card.js +3 -0
- package/dist/components/content/card/sliding-card.styles.js +5 -1
- package/dist/components/content/collapse/collapse.d.ts +39 -12
- package/dist/components/content/collapse/collapse.js +65 -25
- package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
- package/dist/components/content/collapse/collapse.styles.js +69 -18
- package/dist/components/content/description-list/description-list.d.ts +87 -0
- package/dist/components/content/description-list/description-list.js +107 -0
- package/dist/components/content/description-list/description-list.styles.d.ts +1 -0
- package/dist/components/content/description-list/description-list.styles.js +185 -0
- package/dist/components/content/icon/icon.d.ts +14 -2
- package/dist/components/content/icon/icon.js +54 -22
- package/dist/components/content/icon/icon.style.d.ts +2 -0
- package/dist/components/content/icon/icon.style.js +8 -2
- package/dist/components/content/image-carousel/image-carousel.d.ts +30 -19
- package/dist/components/content/image-carousel/image-carousel.js +48 -45
- package/dist/components/content/image-carousel/image-carousel.styles.js +69 -30
- package/dist/components/content/password-strength/password-strength.styles.js +5 -1
- package/dist/components/content/progress-bar/progress-bar.styles.js +12 -4
- package/dist/components/content/shared-styles/card-link.styles.js +5 -3
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +5 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +19 -14
- package/dist/components/content/tag/tag.d.ts +4 -0
- package/dist/components/content/tag/tag.js +4 -0
- package/dist/components/content/tag/tag.styles.js +14 -4
- package/dist/components/content/tooltip/tooltip.d.ts +3 -2
- package/dist/components/content/tooltip/tooltip.js +9 -16
- package/dist/components/content/tooltip/tooltip.styles.js +25 -7
- package/dist/components/form/checkbox/check-card.d.ts +4 -1
- package/dist/components/form/checkbox/check-card.js +4 -1
- package/dist/components/form/checkbox/check-card.styles.js +13 -4
- package/dist/components/form/checkbox/checkbox-list.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox-list.js +11 -7
- package/dist/components/form/checkbox/checkbox.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox.js +4 -1
- package/dist/components/form/checkbox/checkbox.styles.js +2 -2
- package/dist/components/form/color-picker/color-picker.d.ts +10 -4
- package/dist/components/form/color-picker/color-picker.js +23 -25
- package/dist/components/form/color-picker/color-picker.styles.js +6 -5
- package/dist/components/form/counter/counter.d.ts +7 -4
- package/dist/components/form/counter/counter.js +8 -5
- package/dist/components/form/counter/counter.styles.js +10 -9
- package/dist/components/form/date-picker/date-picker.d.ts +40 -36
- package/dist/components/form/date-picker/date-picker.js +35 -45
- package/dist/components/form/date-picker/date-picker.styles.js +13 -10
- package/dist/components/form/input/input.d.ts +10 -4
- package/dist/components/form/input/input.js +12 -6
- package/dist/components/form/input-file/input-file.d.ts +4 -1
- package/dist/components/form/input-file/input-file.js +8 -5
- package/dist/components/form/input-file/input-file.styles.js +3 -2
- package/dist/components/form/input-phone/input-phone.d.ts +11 -5
- package/dist/components/form/input-phone/input-phone.js +16 -20
- package/dist/components/form/input-phone/input-phone.styles.js +16 -16
- package/dist/components/form/label/label.styles.js +3 -3
- package/dist/components/form/radio/radio-card.d.ts +5 -2
- package/dist/components/form/radio/radio-card.js +5 -2
- package/dist/components/form/radio/radio-card.styles.js +14 -5
- package/dist/components/form/radio/radio-list.d.ts +5 -2
- package/dist/components/form/radio/radio-list.js +14 -10
- package/dist/components/form/radio/radio.d.ts +5 -2
- package/dist/components/form/radio/radio.js +5 -2
- package/dist/components/form/radio/radio.styles.js +4 -4
- package/dist/components/form/search/search.d.ts +2 -1
- package/dist/components/form/search/search.js +6 -15
- package/dist/components/form/search/search.styles.js +8 -7
- package/dist/components/form/select/select.d.ts +12 -5
- package/dist/components/form/select/select.js +18 -21
- package/dist/components/form/select/select.styles.js +3 -2
- package/dist/components/form/shared-styles/card.styles.js +5 -4
- package/dist/components/form/shared-styles/field.styles.js +21 -11
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/slider/slider.d.ts +4 -1
- package/dist/components/form/slider/slider.js +5 -2
- package/dist/components/form/slider/slider.styles.js +8 -7
- package/dist/components/form/switch/switch.d.ts +4 -1
- package/dist/components/form/switch/switch.js +4 -1
- package/dist/components/form/switch/switch.styles.js +7 -5
- package/dist/components/form/textarea/textarea.d.ts +10 -4
- package/dist/components/form/textarea/textarea.js +18 -12
- package/dist/components/form/time-picker/time-picker-columns.styles.js +4 -2
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -1
- package/dist/components/form/time-picker/time-picker.d.ts +9 -5
- package/dist/components/form/time-picker/time-picker.js +25 -29
- package/dist/components/form/time-picker/time-picker.styles.js +9 -8
- package/dist/components/layout/animate/animate.d.ts +41 -11
- package/dist/components/layout/animate/animate.js +48 -16
- package/dist/components/layout/animate/animate.styles.js +9 -16
- package/dist/components/layout/infinite-list/infinite-list.d.ts +33 -10
- package/dist/components/layout/infinite-list/infinite-list.js +115 -18
- package/dist/components/layout/infinite-list/infinite-list.styles.d.ts +3 -0
- package/dist/components/layout/infinite-list/infinite-list.styles.js +17 -5
- package/dist/components/loader/loader/loader.styles.js +3 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +31 -45
- package/dist/components/navigation/breadcrumb/breadcrumb.js +111 -77
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.d.ts +3 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +22 -26
- package/dist/components/navigation/carousel/carousel.d.ts +30 -10
- package/dist/components/navigation/carousel/carousel.js +37 -18
- package/dist/components/navigation/carousel/carousel.styles.js +60 -20
- package/dist/components/navigation/pagination/pagination.styles.js +8 -3
- package/dist/components/navigation/sidebar/sidebar.d.ts +2 -0
- package/dist/components/navigation/sidebar/sidebar.js +2 -0
- package/dist/components/navigation/sidebar/sidebar.styles.js +27 -11
- package/dist/components/navigation/stepper/step.styles.js +16 -5
- package/dist/components/navigation/stepper/stepper.styles.js +16 -5
- package/dist/components/navigation/tabs/tab/tab.d.ts +11 -0
- package/dist/components/navigation/tabs/tab/tab.js +11 -0
- package/dist/components/navigation/tabs/tab/tab.styles.js +22 -16
- package/dist/components/navigation/tabs/tab-group/tab-group.js +7 -8
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +19 -14
- package/dist/components/navigation/tabs/tab-panel/tab-panel.d.ts +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.js +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +18 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +17 -49
- package/dist/components/navigation/toolbar/toolbar.js +23 -71
- package/dist/components/navigation/toolbar/toolbar.styles.js +59 -36
- package/dist/events/table-row-click.event.d.ts +5 -4
- package/dist/events/table-row-click.event.js +10 -5
- package/dist/features/scheduler/calendar/calendar.d.ts +12 -12
- package/dist/features/scheduler/calendar/calendar.js +15 -14
- package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
- package/dist/features/scheduler/scheduler/scheduler.d.ts +7 -7
- package/dist/features/scheduler/scheduler/scheduler.js +21 -35
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +12 -8
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +9 -7
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +16 -10
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +5 -5
- package/dist/features/scheduler/shared/scheduler-event-popover.js +2 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +2 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.js +3 -3
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.d.ts +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.js +2 -2
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +2 -2
- package/dist/features/table/table/table-native.styles.d.ts +28 -0
- package/dist/features/table/table/table-native.styles.js +502 -0
- package/dist/features/table/table/table.d.ts +342 -294
- package/dist/features/table/table/table.js +820 -546
- package/dist/features/table/table/table.styles.js +31 -17
- package/dist/features/table/table/table.types.d.ts +18 -23
- package/dist/features/table/table/table.utils.d.ts +6 -36
- package/dist/features/table/table/table.utils.js +16 -65
- package/dist/features/table/table-action-bar/table-action-bar.d.ts +33 -16
- package/dist/features/table/table-action-bar/table-action-bar.js +18 -25
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
- package/dist/i18n/en.d.ts +34 -0
- package/dist/i18n/en.js +34 -0
- package/dist/i18n/fr.js +38 -0
- package/dist/index.d.ts +7 -13
- package/dist/index.js +6 -10
- package/dist/jsx.d.ts +1 -1
- package/dist/mixins/button.mixin.d.ts +10 -9
- package/dist/mixins/button.mixin.js +14 -6
- package/dist/mixins/card-link.mixin.d.ts +3 -2
- package/dist/mixins/card-link.mixin.js +12 -5
- package/dist/mixins/check.mixin.js +4 -5
- package/dist/mixins/disabled.mixin.d.ts +3 -3
- package/dist/mixins/disabled.mixin.js +10 -5
- package/dist/mixins/field-appearance.mixin.d.ts +19 -0
- package/dist/mixins/{field-variant.mixin.js → field-appearance.mixin.js} +11 -11
- package/dist/mixins/form.mixin.d.ts +17 -1
- package/dist/mixins/form.mixin.js +80 -25
- package/dist/mixins/radio.mixin.js +4 -5
- package/dist/mixins/validators.mixin.d.ts +7 -1
- package/dist/mixins/validators.mixin.js +36 -17
- package/dist/ssr/animate-ssr.css +27 -72
- package/dist/ssr/button-ssr.css +319 -0
- package/dist/ssr/card-ssr.css +184 -0
- package/dist/ssr/description-list-ssr.css +150 -0
- package/dist/ssr/links-ssr.css +35 -0
- package/dist/ssr/overlay-ssr.css +0 -41
- package/dist/ssr/rich-text.css +38 -0
- package/dist/ssr/sidebar-ssr.css +0 -38
- package/dist/ssr/table-ssr.css +472 -0
- package/dist/ssr/tag-ssr.css +197 -0
- package/dist/ssr/toolbar-ssr.css +77 -39
- package/dist/types/variant.type.d.ts +26 -10
- package/dist/utils/drag-drop.utils.js +18 -2
- package/dist/utils/dropdown-menu.utils.d.ts +2 -2
- package/dist/utils/dropdown-menu.utils.js +4 -14
- package/dist/utils/light-dom-styles.utils.d.ts +14 -0
- package/dist/utils/light-dom-styles.utils.js +37 -0
- package/dist/utils/media.styles.d.ts +19 -0
- package/dist/utils/media.styles.js +23 -0
- package/dist/utils/motion.utils.d.ts +40 -0
- package/dist/utils/motion.utils.js +51 -0
- package/dist/utils/navigation.utils.d.ts +14 -0
- package/dist/utils/navigation.utils.js +33 -0
- package/dist/utils/new-tab-anchor.controller.d.ts +44 -0
- package/dist/utils/new-tab-anchor.controller.js +102 -0
- package/dist/utils/severity-icon.utils.d.ts +1 -1
- package/dist/utils/severity-icon.utils.js +1 -1
- package/dist/utils/theme-generator.utils.d.ts +9 -2
- package/dist/utils/theme-generator.utils.js +62 -21
- package/package.json +24 -29
- package/styles/breakpoints.scss +8 -0
- package/styles/eunomia-grid.scss +6 -0
- package/styles/themes/eunomia-theme.scss +4 -3
- package/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
- package/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/cdn/components/chunks/chunk-2JLDJFYD.js +0 -48
- package/dist/cdn/components/chunks/chunk-A6KGFALA.js +0 -132
- package/dist/cdn/components/chunks/chunk-ATH2OAMU.js +0 -1
- package/dist/cdn/components/chunks/chunk-BKHD4S57.js +0 -1
- package/dist/cdn/components/chunks/chunk-CEDHJUUH.js +0 -1
- package/dist/cdn/components/chunks/chunk-D2M4BV5Y.js +0 -328
- package/dist/cdn/components/chunks/chunk-E74CM7UG.js +0 -66
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +0 -1
- package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-KVYUNKUO.js +0 -27
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +0 -38
- package/dist/cdn/components/chunks/chunk-PCM7D3YF.js +0 -84
- package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
- package/dist/cdn/components/chunks/chunk-T7WABJEJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
- package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
- package/dist/cdn/components/chunks/chunk-XSMCT4DF.js +0 -1
- package/dist/cdn/components/eun-breadcrumb-item.js +0 -93
- package/dist/cdn/components/eun-table-cell.js +0 -1
- package/dist/cdn/components/eun-table-column.js +0 -1
- package/dist/cdn/components/eun-table-header.js +0 -1
- package/dist/cdn/components/eun-table-item.js +0 -1
- package/dist/cdn/components/eun-table-skeleton-row.js +0 -1
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
- package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +0 -77
- package/dist/components/navigation/breadcrumb/breadcrumb-item.js +0 -130
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.d.ts +0 -6
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +0 -78
- package/dist/features/table/native-table.css +0 -276
- package/dist/features/table/shared-styles/table-row.styles.d.ts +0 -7
- package/dist/features/table/shared-styles/table-row.styles.js +0 -47
- package/dist/features/table/shared-styles/table-shared.styles.d.ts +0 -23
- package/dist/features/table/shared-styles/table-shared.styles.js +0 -33
- package/dist/features/table/table-cell/table-cell.d.ts +0 -59
- package/dist/features/table/table-cell/table-cell.js +0 -73
- package/dist/features/table/table-cell/table-cell.styles.d.ts +0 -1
- package/dist/features/table/table-cell/table-cell.styles.js +0 -46
- package/dist/features/table/table-column/table-column.d.ts +0 -73
- package/dist/features/table/table-column/table-column.js +0 -89
- package/dist/features/table/table-column/table-column.styles.d.ts +0 -1
- package/dist/features/table/table-column/table-column.styles.js +0 -51
- package/dist/features/table/table-header/table-header.d.ts +0 -102
- package/dist/features/table/table-header/table-header.js +0 -165
- package/dist/features/table/table-header/table-header.styles.d.ts +0 -1
- package/dist/features/table/table-header/table-header.styles.js +0 -147
- package/dist/features/table/table-item/table-item.d.ts +0 -179
- package/dist/features/table/table-item/table-item.js +0 -291
- package/dist/features/table/table-item/table-item.styles.d.ts +0 -1
- package/dist/features/table/table-item/table-item.styles.js +0 -404
- package/dist/features/table/table-managed/table-managed.d.ts +0 -19
- package/dist/features/table/table-managed/table-managed.js +0 -128
- package/dist/features/table/table-skeleton-row/table-skeleton-row.d.ts +0 -46
- package/dist/features/table/table-skeleton-row/table-skeleton-row.js +0 -110
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.d.ts +0 -12
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +0 -65
- package/dist/mixins/field-variant.mixin.d.ts +0 -22
- package/dist/mixins/table-row.mixin.d.ts +0 -37
- package/dist/mixins/table-row.mixin.js +0 -103
- package/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
|
@@ -54,22 +54,27 @@ const ACTIVE_SLIDE_CLASS = "eun-carousel-active-slide";
|
|
|
54
54
|
* @prop {boolean} [showArrows=true] - Shows the previous and next buttons
|
|
55
55
|
* @prop {boolean} [showDots=true] - Shows the pagination dots
|
|
56
56
|
* @attr {string} aria-label - The accessible name for the carousel region. Defaults to Carousel, and is recommended whenever a page has more than one carousel, or its purpose isn't already clear from a preceding heading
|
|
57
|
-
* @prop {string} [ariaLabelPrevious
|
|
58
|
-
* @attr {string} [aria-label-previous
|
|
59
|
-
* @prop {string} [ariaLabelNext
|
|
60
|
-
* @attr {string} [aria-label-next
|
|
57
|
+
* @prop {string} [ariaLabelPrevious] - The accessible label of the previous control. Defaults to the localized string for the current locale (English: "Previous slide")
|
|
58
|
+
* @attr {string} [aria-label-previous] - The accessible label of the previous control. Defaults to the localized string for the current locale (English: "Previous slide")
|
|
59
|
+
* @prop {string} [ariaLabelNext] - The accessible label of the next control. Defaults to the localized string for the current locale (English: "Next slide")
|
|
60
|
+
* @attr {string} [aria-label-next] - The accessible label of the next control. Defaults to the localized string for the current locale (English: "Next slide")
|
|
61
61
|
* @fires {SlideChangeEvent} eunslidechange - Fired once the active slide settles on a new index
|
|
62
62
|
* @cssprop [--carousel-visible-slides] - Sets how many slides are shown at once, overriding visibleSlides. Meant to be changed from your own media or container queries, so the slide count follows the available space without any script
|
|
63
63
|
* @cssprop [--carousel-scroll-step] - Sets how many slides a previous, next, or dot click advances by, overriding scrollStep. Read again whenever the carousel resizes
|
|
64
64
|
* @cssprop [--carousel-responsive-breakpoint] - Sets the width, in pixels, below which an inline layout moves its buttons into the header row, overriding responsiveBreakpoint. Zero disables the automatic switch. Read again whenever the carousel resizes
|
|
65
65
|
* @cssprop [--carousel-gap] - Sets the gap between slides
|
|
66
66
|
* @cssprop [--carousel-track-padding] - Sets the vertical padding on the track, giving slides' own effects that bleed outside their box, such as a hover shadow, room to render before it gets clipped
|
|
67
|
+
* @cssprop [--carousel-track-padding-top] - Sets the top padding on the track, falling back to --carousel-track-padding
|
|
68
|
+
* @cssprop [--carousel-track-padding-bottom] - Sets the bottom padding on the track, falling back to --carousel-track-padding
|
|
69
|
+
* @cssprop [--carousel-track-padding-inline] - Lets the track bleed past the carousel on both sides by this length, while slides stay aligned on its edges. The next slide and the hover shadows of the edge slides show past the container
|
|
70
|
+
* @cssprop [--carousel-slide-width] - Sets a fixed width for every slide, overriding visibleSlides, fullSlides and --carousel-min-slide-width
|
|
67
71
|
* @cssprop [--carousel-min-slide-width] - Sets the minimum slide width. On a narrow viewport, this wins over visibleSlides so slides never get uncomfortably small
|
|
68
72
|
* @cssprop [--carousel-peek-size] - Sets how much of the next slide peeks at the edge, when fullSlides is off
|
|
69
73
|
* @cssprop [--carousel-fade-display] - Set to none to hide the edge fades through pure CSS, regardless of edgeFade, for instance on a narrow screen where a single slide fills the whole width
|
|
70
74
|
* @cssprop [--carousel-fade-width] - Sets the width of the edge fades
|
|
71
75
|
* @cssprop [--carousel-fade-color] - Sets the color of the edge fades, which fade to transparent
|
|
72
76
|
* @cssprop [--carousel-active-scale] - Sets the scale applied to the active slide
|
|
77
|
+
* @cssprop [--carousel-header-margin] - Sets the space between the header row and the track
|
|
73
78
|
* @cssprop [--carousel-header-gap] - Sets the gap between the title slot and the header navigation buttons
|
|
74
79
|
* @cssprop [--carousel-header-align] - Sets the cross-axis alignment (align-items) between the title slot and the header navigation buttons. Defaults to baseline, which keeps the nav buttons close to the track below regardless of how tall a multi-line title ends up
|
|
75
80
|
* @cssprop [--carousel-nav-display] - Set to none to hide the previous and next buttons through pure CSS, regardless of showArrows
|
|
@@ -78,6 +83,10 @@ const ACTIVE_SLIDE_CLASS = "eun-carousel-active-slide";
|
|
|
78
83
|
* @cssprop [--carousel-nav-color] - Sets the icon color of the previous and next buttons
|
|
79
84
|
* @cssprop [--carousel-nav-background] - Sets the background color of the previous and next buttons
|
|
80
85
|
* @cssprop [--carousel-nav-border-color] - Sets the border color of the previous and next buttons
|
|
86
|
+
* @cssprop [--carousel-nav-border-width] - Sets the border width of the previous and next buttons
|
|
87
|
+
* @cssprop [--carousel-nav-hover-background] - Sets the background color of the previous and next buttons on hover
|
|
88
|
+
* @cssprop [--carousel-nav-hover-color] - Sets the icon color of the previous and next buttons on hover
|
|
89
|
+
* @cssprop [--carousel-nav-hover-border-color] - Sets the border color of the previous and next buttons on hover
|
|
81
90
|
* @cssprop [--carousel-nav-shadow] - Sets the shadow of the previous and next buttons in the inline layout, when enabled. Unset for the header layout, and always unset while a button is disabled
|
|
82
91
|
* @cssprop [--carousel-nav-disabled-background] - Sets the background and border color of a disabled previous or next button
|
|
83
92
|
* @cssprop [--carousel-nav-disabled-color] - Sets the icon color of a disabled previous or next button
|
|
@@ -180,16 +189,6 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
180
189
|
* @default true
|
|
181
190
|
*/
|
|
182
191
|
this.showDots = true;
|
|
183
|
-
/**
|
|
184
|
-
* Accessible label of the Previous control.
|
|
185
|
-
* @default Previous slide
|
|
186
|
-
*/
|
|
187
|
-
this.ariaLabelPrevious = "Previous slide";
|
|
188
|
-
/**
|
|
189
|
-
* Accessible label of the Next control.
|
|
190
|
-
* @default Next slide
|
|
191
|
-
*/
|
|
192
|
-
this.ariaLabelNext = "Next slide";
|
|
193
192
|
/**
|
|
194
193
|
* Index of the currently active slide (see {@link ACTIVE_SLIDE_CLASS}).
|
|
195
194
|
* @internal
|
|
@@ -415,6 +414,20 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
415
414
|
const parsed = Number.parseFloat(getComputedStyle(this).getPropertyValue(name));
|
|
416
415
|
return Number.isNaN(parsed) ? fallback : parsed;
|
|
417
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* The track's inline padding in pixels, set by
|
|
419
|
+
* `--carousel-track-padding-inline` to let the track bleed past the
|
|
420
|
+
* host. Slides rest that far from the track's own edge, so scroll math
|
|
421
|
+
* measured from that edge has to offset by it.
|
|
422
|
+
* @returns the inline padding, `0` when unset.
|
|
423
|
+
* @private
|
|
424
|
+
*/
|
|
425
|
+
getTrackInset() {
|
|
426
|
+
if (!this.trackEl) {
|
|
427
|
+
return 0;
|
|
428
|
+
}
|
|
429
|
+
return Number.parseFloat(getComputedStyle(this.trackEl).paddingLeft) || 0;
|
|
430
|
+
}
|
|
418
431
|
/**
|
|
419
432
|
* Number of pagination dots, derived from how many `scrollStep`-sized
|
|
420
433
|
* jumps it takes to cover every slide. Rounds up so a trailing partial
|
|
@@ -481,10 +494,14 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
481
494
|
const track = this.trackEl;
|
|
482
495
|
const trackRect = track.getBoundingClientRect();
|
|
483
496
|
const maxScrollLeft = Math.max(0, track.scrollWidth - track.clientWidth);
|
|
497
|
+
const inset = this.getTrackInset();
|
|
484
498
|
let max = 0;
|
|
485
499
|
let closestDistance = Infinity;
|
|
486
500
|
this.slides.forEach((slide, index) => {
|
|
487
|
-
const slideStart = slide.getBoundingClientRect().left -
|
|
501
|
+
const slideStart = slide.getBoundingClientRect().left -
|
|
502
|
+
trackRect.left +
|
|
503
|
+
track.scrollLeft -
|
|
504
|
+
inset;
|
|
488
505
|
const distance = Math.abs(slideStart - maxScrollLeft);
|
|
489
506
|
if (distance < closestDistance) {
|
|
490
507
|
closestDistance = distance;
|
|
@@ -512,7 +529,7 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
512
529
|
this.style.setProperty("--_centerPadding", "0px");
|
|
513
530
|
return;
|
|
514
531
|
}
|
|
515
|
-
const trackWidth = this.trackEl.clientWidth;
|
|
532
|
+
const trackWidth = this.trackEl.clientWidth - 2 * this.getTrackInset();
|
|
516
533
|
const slideWidth = this.slides[0].getBoundingClientRect().width;
|
|
517
534
|
const padding = Math.max(0, (trackWidth - slideWidth) / 2);
|
|
518
535
|
this.style.setProperty("--_centerPadding", `${padding}px`);
|
|
@@ -696,7 +713,7 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
696
713
|
const trackRect = this.trackEl.getBoundingClientRect();
|
|
697
714
|
const reference = this.centerSnap
|
|
698
715
|
? trackRect.left + trackRect.width / 2
|
|
699
|
-
: trackRect.left;
|
|
716
|
+
: trackRect.left + this.getTrackInset();
|
|
700
717
|
let closestIndex = 0;
|
|
701
718
|
let closestDistance = Infinity;
|
|
702
719
|
this.slides.forEach((slide, index) => {
|
|
@@ -804,7 +821,9 @@ let EunomiaCarousel = class EunomiaCarousel extends LocalizableMixin(LitElement)
|
|
|
804
821
|
type="button"
|
|
805
822
|
id=${direction}
|
|
806
823
|
class="nav"
|
|
807
|
-
aria-label=${isPrev
|
|
824
|
+
aria-label=${isPrev
|
|
825
|
+
? (this.ariaLabelPrevious ?? this.dictionary.carousel.previous)
|
|
826
|
+
: (this.ariaLabelNext ?? this.dictionary.carousel.next)}
|
|
808
827
|
aria-controls="track"
|
|
809
828
|
?disabled=${disabled}
|
|
810
829
|
@click=${() => (isPrev ? this.previous() : this.next())}
|
|
@@ -9,11 +9,16 @@ import { css } from "lit";
|
|
|
9
9
|
* [--carousel-fade-display] - Set to `none` to hide the edge fades via pure CSS (e.g. in a container query), regardless of `edgeFade`
|
|
10
10
|
* [--carousel-gap] - Set a custom gap between slides
|
|
11
11
|
* [--carousel-track-padding] - Set a custom vertical padding on the track, giving slides' own effects that bleed outside their box (a hover shadow, `eun-sliding-card`'s bottom fade, ...) room to render before `overflow-y: hidden` clips them
|
|
12
|
+
* [--carousel-track-padding-top] - Set a custom top padding on the track, falling back to --carousel-track-padding
|
|
13
|
+
* [--carousel-track-padding-bottom] - Set a custom bottom padding on the track, falling back to --carousel-track-padding
|
|
14
|
+
* [--carousel-track-padding-inline] - Let the track bleed out of the carousel on both sides by this length, while slides stay aligned on the carousel's edges. Shows the next slide and the edge slides' shadows past the container
|
|
15
|
+
* [--carousel-slide-width] - Set a fixed width for every slide, overriding `visibleSlides`, `fullSlides` and --carousel-min-slide-width
|
|
12
16
|
* [--carousel-min-slide-width] - Set a custom minimum slide width ; on a narrow viewport, this wins over `visibleSlides` so slides never get uncomfortably small — fewer of them just become scrollable off-screen instead
|
|
13
17
|
* [--carousel-peek-size] - Set how much of the next slide peeks at the edge, when `fullSlides` is off
|
|
14
18
|
* [--carousel-fade-width] - Set a custom width for the edge fades
|
|
15
19
|
* [--carousel-fade-color] - Set a custom color for the edge fades (fades to transparent)
|
|
16
20
|
* [--carousel-active-scale] - Set a custom scale applied to the active slide
|
|
21
|
+
* [--carousel-header-margin] - Set a custom space between the header and the track
|
|
17
22
|
* [--carousel-header-gap] - Set a custom gap between the title slot and the header nav buttons
|
|
18
23
|
* [--carousel-header-align] - Set a custom cross-axis alignment (`align-items`) between the title slot and the header nav buttons ; defaults to `baseline`, which keeps the nav buttons close to the track below regardless of how tall a multi-line title ends up
|
|
19
24
|
* [--carousel-nav-display] - Set to `none` to hide the prev/next buttons via pure CSS (e.g. in a media query), regardless of `showArrows`
|
|
@@ -22,6 +27,10 @@ import { css } from "lit";
|
|
|
22
27
|
* [--carousel-nav-color] - Set a custom icon color for the prev/next buttons
|
|
23
28
|
* [--carousel-nav-background] - Set a custom background color for the prev/next buttons
|
|
24
29
|
* [--carousel-nav-border-color] - Set a custom border color for the prev/next buttons
|
|
30
|
+
* [--carousel-nav-border-width] - Set a custom border width for the prev/next buttons
|
|
31
|
+
* [--carousel-nav-hover-background] - Set a custom background color for the prev/next buttons on hover
|
|
32
|
+
* [--carousel-nav-hover-color] - Set a custom icon color for the prev/next buttons on hover
|
|
33
|
+
* [--carousel-nav-hover-border-color] - Set a custom border color for the prev/next buttons on hover
|
|
25
34
|
* [--carousel-nav-shadow] - Set a custom shadow for the `inline`-layout prev/next buttons, when enabled ; unset for `header`'s, and always unset while `disabled`
|
|
26
35
|
* [--carousel-nav-disabled-background] - Set a custom background/border color for a disabled prev/next button
|
|
27
36
|
* [--carousel-nav-disabled-color] - Set a custom icon color for a disabled prev/next button
|
|
@@ -42,6 +51,7 @@ const base = css `
|
|
|
42
51
|
var(--_visibleCount)
|
|
43
52
|
);
|
|
44
53
|
--_snapAlign: start;
|
|
54
|
+
--_trackInline: var(--carousel-track-padding-inline, 0px);
|
|
45
55
|
}
|
|
46
56
|
|
|
47
57
|
.sr-only {
|
|
@@ -61,7 +71,7 @@ const base = css `
|
|
|
61
71
|
align-items: var(--carousel-header-align, flex-end);
|
|
62
72
|
justify-content: space-between;
|
|
63
73
|
gap: var(--carousel-header-gap, var(--eun-space-m, 16px));
|
|
64
|
-
margin-bottom: var(--eun-space-m, 16px);
|
|
74
|
+
margin-bottom: var(--carousel-header-margin, var(--eun-space-m, 16px));
|
|
65
75
|
}
|
|
66
76
|
#carousel-header[hidden] {
|
|
67
77
|
display: none;
|
|
@@ -99,10 +109,11 @@ const base = css `
|
|
|
99
109
|
width: var(--carousel-fade-width, 60px);
|
|
100
110
|
z-index: 2;
|
|
101
111
|
pointer-events: none;
|
|
102
|
-
transition: opacity
|
|
112
|
+
transition: opacity var(--eun-duration-xl, 300ms)
|
|
113
|
+
var(--eun-easing-default, ease);
|
|
103
114
|
}
|
|
104
115
|
#viewport::before {
|
|
105
|
-
left:
|
|
116
|
+
left: calc(-1 * var(--_trackInline));
|
|
106
117
|
opacity: var(--_showLeftFade, 0);
|
|
107
118
|
background: linear-gradient(
|
|
108
119
|
to right,
|
|
@@ -111,7 +122,7 @@ const base = css `
|
|
|
111
122
|
);
|
|
112
123
|
}
|
|
113
124
|
#viewport::after {
|
|
114
|
-
right:
|
|
125
|
+
right: calc(-1 * var(--_trackInline));
|
|
115
126
|
opacity: var(--_showRightFade, 0);
|
|
116
127
|
background: linear-gradient(
|
|
117
128
|
to left,
|
|
@@ -127,7 +138,17 @@ const base = css `
|
|
|
127
138
|
#track {
|
|
128
139
|
display: flex;
|
|
129
140
|
gap: var(--carousel-gap, 16px);
|
|
130
|
-
padding-block: var(
|
|
141
|
+
padding-block: var(
|
|
142
|
+
--carousel-track-padding-top,
|
|
143
|
+
var(--carousel-track-padding, var(--eun-space-l))
|
|
144
|
+
)
|
|
145
|
+
var(
|
|
146
|
+
--carousel-track-padding-bottom,
|
|
147
|
+
var(--carousel-track-padding, var(--eun-space-l))
|
|
148
|
+
);
|
|
149
|
+
padding-inline: var(--_trackInline);
|
|
150
|
+
margin-inline: calc(-1 * var(--_trackInline));
|
|
151
|
+
scroll-padding-inline: var(--_trackInline);
|
|
131
152
|
overflow-x: auto;
|
|
132
153
|
overflow-y: hidden;
|
|
133
154
|
scroll-snap-type: x mandatory;
|
|
@@ -135,7 +156,8 @@ const base = css `
|
|
|
135
156
|
outline: 2px solid transparent;
|
|
136
157
|
outline-offset: 8px;
|
|
137
158
|
border-radius: var(--eun-border-radius-m);
|
|
138
|
-
transition: outline
|
|
159
|
+
transition: outline var(--eun-duration-m, 200ms)
|
|
160
|
+
var(--eun-easing-out, ease-out);
|
|
139
161
|
}
|
|
140
162
|
#track::-webkit-scrollbar {
|
|
141
163
|
display: none;
|
|
@@ -159,10 +181,11 @@ const base = css `
|
|
|
159
181
|
flex-shrink: 0;
|
|
160
182
|
scroll-snap-align: var(--_snapAlign, start);
|
|
161
183
|
scroll-snap-stop: always;
|
|
162
|
-
transition: transform
|
|
184
|
+
transition: transform var(--eun-duration-m, 200ms)
|
|
185
|
+
var(--eun-easing-default, ease);
|
|
163
186
|
}
|
|
164
187
|
:host([full-slides]) ::slotted(:not([slot])) {
|
|
165
|
-
|
|
188
|
+
--_slideBasis: max(
|
|
166
189
|
var(--carousel-min-slide-width, 220px),
|
|
167
190
|
calc(
|
|
168
191
|
(
|
|
@@ -174,7 +197,7 @@ const base = css `
|
|
|
174
197
|
);
|
|
175
198
|
}
|
|
176
199
|
:host(:not([full-slides])) ::slotted(:not([slot])) {
|
|
177
|
-
|
|
200
|
+
--_slideBasis: max(
|
|
178
201
|
var(--carousel-min-slide-width, 220px),
|
|
179
202
|
calc(
|
|
180
203
|
(
|
|
@@ -185,6 +208,9 @@ const base = css `
|
|
|
185
208
|
)
|
|
186
209
|
);
|
|
187
210
|
}
|
|
211
|
+
:host ::slotted(:not([slot])) {
|
|
212
|
+
flex-basis: var(--carousel-slide-width, var(--_slideBasis));
|
|
213
|
+
}
|
|
188
214
|
::slotted(.eun-carousel-active-slide) {
|
|
189
215
|
transform: scale(var(--carousel-active-scale, 1));
|
|
190
216
|
}
|
|
@@ -202,8 +228,8 @@ const base = css `
|
|
|
202
228
|
align-items: center;
|
|
203
229
|
justify-content: center;
|
|
204
230
|
border-radius: 50%;
|
|
205
|
-
border: var(--eun-border-width-s, 1px)
|
|
206
|
-
var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7));
|
|
231
|
+
border: var(--carousel-nav-border-width, var(--eun-border-width-s, 1px))
|
|
232
|
+
solid var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7));
|
|
207
233
|
background: var(
|
|
208
234
|
--carousel-nav-background,
|
|
209
235
|
var(--eun-surface-color, #ffffff)
|
|
@@ -211,14 +237,27 @@ const base = css `
|
|
|
211
237
|
color: var(--carousel-nav-color, var(--eun-text-color, #071621));
|
|
212
238
|
cursor: pointer;
|
|
213
239
|
outline: 2px solid transparent;
|
|
214
|
-
transition: outline 0.2s ease-out;
|
|
215
240
|
transition:
|
|
216
|
-
outline
|
|
217
|
-
opacity
|
|
218
|
-
background-color
|
|
241
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
|
|
242
|
+
opacity var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
243
|
+
background-color var(--eun-duration-m, 200ms)
|
|
244
|
+
var(--eun-easing-default, ease),
|
|
245
|
+
color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
246
|
+
border-color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
|
|
219
247
|
}
|
|
220
248
|
.nav:hover:not(:disabled) {
|
|
221
|
-
background: var(
|
|
249
|
+
background: var(
|
|
250
|
+
--carousel-nav-hover-background,
|
|
251
|
+
var(--eun-content-hover, #edeff0)
|
|
252
|
+
);
|
|
253
|
+
color: var(
|
|
254
|
+
--carousel-nav-hover-color,
|
|
255
|
+
var(--carousel-nav-color, var(--eun-text-color, #071621))
|
|
256
|
+
);
|
|
257
|
+
border-color: var(
|
|
258
|
+
--carousel-nav-hover-border-color,
|
|
259
|
+
var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7))
|
|
260
|
+
);
|
|
222
261
|
}
|
|
223
262
|
.nav:focus-visible {
|
|
224
263
|
outline-color: var(--eun-color-primary-500, #3d6fff);
|
|
@@ -273,10 +312,11 @@ const base = css `
|
|
|
273
312
|
cursor: pointer;
|
|
274
313
|
outline: 2px solid transparent;
|
|
275
314
|
transition:
|
|
276
|
-
width
|
|
277
|
-
outline
|
|
278
|
-
border-radius
|
|
279
|
-
background-color
|
|
315
|
+
width var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
316
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
|
|
317
|
+
border-radius var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
318
|
+
background-color var(--eun-duration-m, 200ms)
|
|
319
|
+
var(--eun-easing-default, ease);
|
|
280
320
|
}
|
|
281
321
|
.dot:focus-visible {
|
|
282
322
|
outline-color: var(--eun-color-primary-500, #3d6fff);
|
|
@@ -79,9 +79,14 @@ export const paginationStyles = css `
|
|
|
79
79
|
outline-offset: 2px;
|
|
80
80
|
user-select: none;
|
|
81
81
|
transition:
|
|
82
|
-
background
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
background
|
|
83
|
+
var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
|
|
84
|
+
var(--eun-easing-out, ease-out),
|
|
85
|
+
outline
|
|
86
|
+
var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
|
|
87
|
+
var(--eun-easing-out, ease-out),
|
|
88
|
+
color var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
|
|
89
|
+
var(--eun-easing-out, ease-out);
|
|
85
90
|
}
|
|
86
91
|
button.control {
|
|
87
92
|
cursor: pointer;
|
|
@@ -64,6 +64,8 @@ export type EunomiaSidebarTogglePlacement = "edge" | "inline";
|
|
|
64
64
|
* @cssprop [--sidebar-color] - Sets the text color of the sidebar
|
|
65
65
|
* @cssprop [--sidebar-border-color] - Sets the color of the sidebar's side border
|
|
66
66
|
* @cssprop [--sidebar-padding] - Sets the padding of the header, body, and footer
|
|
67
|
+
* @cssprop [--sidebar-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
68
|
+
* @cssprop [--sidebar-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
67
69
|
* @cssprop [--sidebar-gap] - Sets the gap inside the header and footer rows
|
|
68
70
|
* @cssprop [--sidebar-transition-duration] - Sets the duration of the collapse and resize transition
|
|
69
71
|
* @element eun-sidebar
|
|
@@ -61,6 +61,8 @@ export const EunomiaSidebarTagName = "eun-sidebar";
|
|
|
61
61
|
* @cssprop [--sidebar-color] - Sets the text color of the sidebar
|
|
62
62
|
* @cssprop [--sidebar-border-color] - Sets the color of the sidebar's side border
|
|
63
63
|
* @cssprop [--sidebar-padding] - Sets the padding of the header, body, and footer
|
|
64
|
+
* @cssprop [--sidebar-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
65
|
+
* @cssprop [--sidebar-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
64
66
|
* @cssprop [--sidebar-gap] - Sets the gap inside the header and footer rows
|
|
65
67
|
* @cssprop [--sidebar-transition-duration] - Sets the duration of the collapse and resize transition
|
|
66
68
|
* @element eun-sidebar
|
|
@@ -10,6 +10,8 @@ import { css } from "lit";
|
|
|
10
10
|
* [--sidebar-color] - Set a custom text color to the sidebar (pair with --sidebar-background for contrast)
|
|
11
11
|
* [--sidebar-border-color] - Set a custom color to the sidebar's side border
|
|
12
12
|
* [--sidebar-padding] - Set a custom padding to the header/body/footer
|
|
13
|
+
* [--sidebar-padding-block] - Set a custom vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
14
|
+
* [--sidebar-padding-inline] - Set a custom horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
|
|
13
15
|
* [--sidebar-gap] - Set a custom gap inside the header/footer rows
|
|
14
16
|
* [--sidebar-transition-duration] - Set a custom duration for the collapse/resize transition
|
|
15
17
|
*/
|
|
@@ -23,9 +25,19 @@ const base = css `
|
|
|
23
25
|
--sidebar-border-color,
|
|
24
26
|
var(--eun-border-color, #dee0e7)
|
|
25
27
|
);
|
|
26
|
-
--
|
|
28
|
+
--_paddingBlock: var(
|
|
29
|
+
--sidebar-padding,
|
|
30
|
+
var(--sidebar-padding-block, var(--eun-space-m, 16px))
|
|
31
|
+
);
|
|
32
|
+
--_paddingInline: var(
|
|
33
|
+
--sidebar-padding,
|
|
34
|
+
var(--sidebar-padding-inline, var(--eun-space-m, 16px))
|
|
35
|
+
);
|
|
27
36
|
--_gap: var(--sidebar-gap, var(--eun-space-m, 16px));
|
|
28
|
-
--_transitionDuration: var(
|
|
37
|
+
--_transitionDuration: var(
|
|
38
|
+
--sidebar-transition-duration,
|
|
39
|
+
var(--eun-duration-l, 250ms)
|
|
40
|
+
);
|
|
29
41
|
display: flex;
|
|
30
42
|
position: sticky;
|
|
31
43
|
top: 0;
|
|
@@ -33,7 +45,7 @@ const base = css `
|
|
|
33
45
|
height: 100%;
|
|
34
46
|
box-sizing: border-box;
|
|
35
47
|
width: var(--_width);
|
|
36
|
-
transition: width var(--_transitionDuration) ease;
|
|
48
|
+
transition: width var(--_transitionDuration) var(--eun-easing-default, ease);
|
|
37
49
|
border-inline-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
38
50
|
}
|
|
39
51
|
:host([dragging]) {
|
|
@@ -41,7 +53,8 @@ const base = css `
|
|
|
41
53
|
}
|
|
42
54
|
:host([position="end"]) {
|
|
43
55
|
border-inline-end: none;
|
|
44
|
-
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
56
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
57
|
+
var(--_borderColor);
|
|
45
58
|
}
|
|
46
59
|
:host([collapsed][collapse-mode="mini"]) {
|
|
47
60
|
--_width: var(--_miniWidth);
|
|
@@ -76,7 +89,7 @@ const base = css `
|
|
|
76
89
|
align-items: flex-start;
|
|
77
90
|
justify-content: space-between;
|
|
78
91
|
gap: var(--_gap);
|
|
79
|
-
padding: var(--
|
|
92
|
+
padding: var(--_paddingBlock) var(--_paddingInline) 0;
|
|
80
93
|
}
|
|
81
94
|
#heading {
|
|
82
95
|
margin: 0;
|
|
@@ -88,7 +101,7 @@ const base = css `
|
|
|
88
101
|
flex: 1;
|
|
89
102
|
min-height: 0;
|
|
90
103
|
overflow-y: auto;
|
|
91
|
-
padding: var(--_gap) var(--
|
|
104
|
+
padding: var(--_gap) var(--_paddingInline);
|
|
92
105
|
font-size: var(--eun-font-size-s, 14px);
|
|
93
106
|
}
|
|
94
107
|
#footer {
|
|
@@ -96,7 +109,7 @@ const base = css `
|
|
|
96
109
|
display: flex;
|
|
97
110
|
justify-content: flex-end;
|
|
98
111
|
gap: var(--eun-space-s, 8px);
|
|
99
|
-
padding: var(--
|
|
112
|
+
padding: var(--_paddingBlock) var(--_paddingInline);
|
|
100
113
|
}
|
|
101
114
|
|
|
102
115
|
#resize-handle {
|
|
@@ -108,7 +121,8 @@ const base = css `
|
|
|
108
121
|
cursor: ew-resize;
|
|
109
122
|
touch-action: none;
|
|
110
123
|
background: transparent;
|
|
111
|
-
transition: background-color
|
|
124
|
+
transition: background-color var(--eun-duration-s, 150ms)
|
|
125
|
+
var(--eun-easing-default, ease);
|
|
112
126
|
}
|
|
113
127
|
:host([position="end"]) #resize-handle {
|
|
114
128
|
inset-inline-end: auto;
|
|
@@ -143,7 +157,8 @@ const base = css `
|
|
|
143
157
|
border-radius: var(--eun-border-radius-xl, 999px);
|
|
144
158
|
color: var(--eun-text-secondary, #484e61);
|
|
145
159
|
cursor: pointer;
|
|
146
|
-
transition: background-color
|
|
160
|
+
transition: background-color var(--eun-duration-s, 150ms)
|
|
161
|
+
var(--eun-easing-default, ease);
|
|
147
162
|
}
|
|
148
163
|
:host([position="end"]) #collapse-toggle:not(.inline) {
|
|
149
164
|
inset-inline-end: auto;
|
|
@@ -159,7 +174,7 @@ const base = css `
|
|
|
159
174
|
align-items: center;
|
|
160
175
|
gap: var(--eun-space-s, 8px);
|
|
161
176
|
width: 100%;
|
|
162
|
-
padding: var(--eun-space-s, 8px) var(--
|
|
177
|
+
padding: var(--eun-space-s, 8px) var(--_paddingInline);
|
|
163
178
|
border: none;
|
|
164
179
|
border-top: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
165
180
|
border-radius: 0;
|
|
@@ -169,7 +184,8 @@ const base = css `
|
|
|
169
184
|
font-size: var(--eun-font-size-s, 14px);
|
|
170
185
|
text-align: start;
|
|
171
186
|
cursor: pointer;
|
|
172
|
-
transition: background-color
|
|
187
|
+
transition: background-color var(--eun-duration-s, 150ms)
|
|
188
|
+
var(--eun-easing-default, ease);
|
|
173
189
|
}
|
|
174
190
|
#collapse-toggle.inline:hover {
|
|
175
191
|
background: var(--eun-content-hover, #edeff0);
|
|
@@ -107,14 +107,20 @@ export const stepStyles = css `
|
|
|
107
107
|
var(--eun-content-hover, #edeff0)
|
|
108
108
|
);
|
|
109
109
|
color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
|
|
110
|
-
font-size: var(
|
|
110
|
+
font-size: var(
|
|
111
|
+
--stepper-indicator-font-size,
|
|
112
|
+
var(--eun-font-size-xs, 12px)
|
|
113
|
+
);
|
|
111
114
|
font-weight: var(
|
|
112
115
|
--stepper-indicator-font-weight,
|
|
113
116
|
var(--eun-font-weight-m, 500)
|
|
114
117
|
);
|
|
115
118
|
transition:
|
|
116
|
-
background
|
|
117
|
-
|
|
119
|
+
background
|
|
120
|
+
var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
121
|
+
var(--eun-easing-out, ease-out),
|
|
122
|
+
color var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
123
|
+
var(--eun-easing-out, ease-out);
|
|
118
124
|
}
|
|
119
125
|
.indicator eun-icon {
|
|
120
126
|
pointer-events: none;
|
|
@@ -164,7 +170,10 @@ export const stepStyles = css `
|
|
|
164
170
|
}
|
|
165
171
|
.label {
|
|
166
172
|
font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
|
|
167
|
-
font-weight: var(
|
|
173
|
+
font-weight: var(
|
|
174
|
+
--stepper-label-font-weight,
|
|
175
|
+
var(--eun-font-weight-m, 500)
|
|
176
|
+
);
|
|
168
177
|
color: var(--stepper-label-color, var(--eun-text-color, #071621));
|
|
169
178
|
}
|
|
170
179
|
:host([status="current"]) .label {
|
|
@@ -204,7 +213,9 @@ export const stepStyles = css `
|
|
|
204
213
|
--stepper-connector-color-active,
|
|
205
214
|
var(--eun-color-primary-200, #6f94ff)
|
|
206
215
|
);
|
|
207
|
-
transition: transform
|
|
216
|
+
transition: transform
|
|
217
|
+
var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
218
|
+
var(--eun-easing-out, ease-out);
|
|
208
219
|
}
|
|
209
220
|
:host(:not([orientation="vertical"])) .connector::after {
|
|
210
221
|
transform: scaleX(0);
|
|
@@ -137,7 +137,9 @@ export const stepperStyles = css `
|
|
|
137
137
|
--stepper-connector-color-active,
|
|
138
138
|
var(--eun-color-primary-200, #6f94ff)
|
|
139
139
|
);
|
|
140
|
-
transition: transform
|
|
140
|
+
transition: transform
|
|
141
|
+
var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
142
|
+
var(--eun-easing-out, ease-out);
|
|
141
143
|
}
|
|
142
144
|
li.connector::after {
|
|
143
145
|
transform: scaleX(0);
|
|
@@ -206,14 +208,20 @@ export const stepperStyles = css `
|
|
|
206
208
|
var(--eun-content-hover, #edeff0)
|
|
207
209
|
);
|
|
208
210
|
color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
|
|
209
|
-
font-size: var(
|
|
211
|
+
font-size: var(
|
|
212
|
+
--stepper-indicator-font-size,
|
|
213
|
+
var(--eun-font-size-xs, 12px)
|
|
214
|
+
);
|
|
210
215
|
font-weight: var(
|
|
211
216
|
--stepper-indicator-font-weight,
|
|
212
217
|
var(--eun-font-weight-m, 500)
|
|
213
218
|
);
|
|
214
219
|
transition:
|
|
215
|
-
background
|
|
216
|
-
|
|
220
|
+
background
|
|
221
|
+
var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
222
|
+
var(--eun-easing-out, ease-out),
|
|
223
|
+
color var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
|
|
224
|
+
var(--eun-easing-out, ease-out);
|
|
217
225
|
}
|
|
218
226
|
.indicator eun-icon {
|
|
219
227
|
pointer-events: none;
|
|
@@ -305,7 +313,10 @@ export const stepperStyles = css `
|
|
|
305
313
|
}
|
|
306
314
|
.label {
|
|
307
315
|
font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
|
|
308
|
-
font-weight: var(
|
|
316
|
+
font-weight: var(
|
|
317
|
+
--stepper-label-font-weight,
|
|
318
|
+
var(--eun-font-weight-m, 500)
|
|
319
|
+
);
|
|
309
320
|
color: var(--stepper-label-color, var(--eun-text-color, #071621));
|
|
310
321
|
}
|
|
311
322
|
li.step[data-status="current"] .label {
|
|
@@ -9,6 +9,10 @@ declare const EunomiaTab_base: import("../../../../utils/constructor.type.js").C
|
|
|
9
9
|
* Allows to control a tab panel by allowing to display it or not.
|
|
10
10
|
* Note that the component must be used into a tab-group component.
|
|
11
11
|
*
|
|
12
|
+
* The host itself takes focus, but draws its focus ring on its inner
|
|
13
|
+
* label box and forces its own `outline` to `none`, so a global
|
|
14
|
+
* `*:focus-visible` rule from the page never adds a second ring.
|
|
15
|
+
*
|
|
12
16
|
* @slot [default] - The label of the tab
|
|
13
17
|
* @slot [icon] - Used to set a custom icon different from Eunomia one
|
|
14
18
|
* @slot [badge] - Positions slotted content (typically a `eun-badge`) into the same spot the boolean `badge` dot indicator occupies
|
|
@@ -16,14 +20,21 @@ declare const EunomiaTab_base: import("../../../../utils/constructor.type.js").C
|
|
|
16
20
|
* @cssprop [--tab-background-color] - Set a custom background color for the tab
|
|
17
21
|
* @cssprop [--tab-hover-background-color] - Set a custom background color for the tab in case of hover state
|
|
18
22
|
* @cssprop [--tab-active-background-color] - Set a custom background color for the tab in case of active state
|
|
23
|
+
* @cssprop [--tab-focus-background-color] - Set a custom background color for the tab in case of keyboard focus
|
|
19
24
|
* @cssprop [--tab-text-color] - Set a custom color for the tab label
|
|
20
25
|
* @cssprop [--tab-hover-text-color] - Set a custom color to the tab label in case of hover state
|
|
21
26
|
* @cssprop [--tab-active-text-color] - Srt a custom color to the tab label in case of active state
|
|
22
27
|
* @cssprop [--tab-padding] - Set a custom padding into the tab.
|
|
28
|
+
* @cssprop [--tab-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tab-padding is set
|
|
29
|
+
* @cssprop [--tab-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tab-padding is set
|
|
23
30
|
* @cssprop [--tab-border] - Set a custom border to the tab.
|
|
24
31
|
* @cssprop [--tab-border-active] - Set a custom border to the tab on active state.
|
|
25
32
|
* @cssprop [--tab-border-radius] - Set a custom border radius to the tab.
|
|
26
33
|
* @cssprop [--tab-focus-outline] - Set a custom color to the focus outline
|
|
34
|
+
* @cssprop [--tab-focus-outline-width] - Set a custom width to the focus outline
|
|
35
|
+
* @cssprop [--tab-focus-outline-offset] - Set a custom offset to the focus outline
|
|
36
|
+
* @cssprop [--tab-font-size] - Set a custom font size to the tab label
|
|
37
|
+
* @cssprop [--tab-font-weight] - Set a custom font weight to the tab label
|
|
27
38
|
* @cssprop [--tab-notification-color] - Set a custom color to the notification badge
|
|
28
39
|
* @cssprop [--tab-disabled-display] - Set a custom `display` for a disabled tab, e.g. `none` to hide it entirely instead of showing it dimmed
|
|
29
40
|
*/
|
|
@@ -16,6 +16,10 @@ export const EunomiaTabTagName = "eun-tab";
|
|
|
16
16
|
* Allows to control a tab panel by allowing to display it or not.
|
|
17
17
|
* Note that the component must be used into a tab-group component.
|
|
18
18
|
*
|
|
19
|
+
* The host itself takes focus, but draws its focus ring on its inner
|
|
20
|
+
* label box and forces its own `outline` to `none`, so a global
|
|
21
|
+
* `*:focus-visible` rule from the page never adds a second ring.
|
|
22
|
+
*
|
|
19
23
|
* @slot [default] - The label of the tab
|
|
20
24
|
* @slot [icon] - Used to set a custom icon different from Eunomia one
|
|
21
25
|
* @slot [badge] - Positions slotted content (typically a `eun-badge`) into the same spot the boolean `badge` dot indicator occupies
|
|
@@ -23,14 +27,21 @@ export const EunomiaTabTagName = "eun-tab";
|
|
|
23
27
|
* @cssprop [--tab-background-color] - Set a custom background color for the tab
|
|
24
28
|
* @cssprop [--tab-hover-background-color] - Set a custom background color for the tab in case of hover state
|
|
25
29
|
* @cssprop [--tab-active-background-color] - Set a custom background color for the tab in case of active state
|
|
30
|
+
* @cssprop [--tab-focus-background-color] - Set a custom background color for the tab in case of keyboard focus
|
|
26
31
|
* @cssprop [--tab-text-color] - Set a custom color for the tab label
|
|
27
32
|
* @cssprop [--tab-hover-text-color] - Set a custom color to the tab label in case of hover state
|
|
28
33
|
* @cssprop [--tab-active-text-color] - Srt a custom color to the tab label in case of active state
|
|
29
34
|
* @cssprop [--tab-padding] - Set a custom padding into the tab.
|
|
35
|
+
* @cssprop [--tab-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tab-padding is set
|
|
36
|
+
* @cssprop [--tab-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tab-padding is set
|
|
30
37
|
* @cssprop [--tab-border] - Set a custom border to the tab.
|
|
31
38
|
* @cssprop [--tab-border-active] - Set a custom border to the tab on active state.
|
|
32
39
|
* @cssprop [--tab-border-radius] - Set a custom border radius to the tab.
|
|
33
40
|
* @cssprop [--tab-focus-outline] - Set a custom color to the focus outline
|
|
41
|
+
* @cssprop [--tab-focus-outline-width] - Set a custom width to the focus outline
|
|
42
|
+
* @cssprop [--tab-focus-outline-offset] - Set a custom offset to the focus outline
|
|
43
|
+
* @cssprop [--tab-font-size] - Set a custom font size to the tab label
|
|
44
|
+
* @cssprop [--tab-font-weight] - Set a custom font weight to the tab label
|
|
34
45
|
* @cssprop [--tab-notification-color] - Set a custom color to the notification badge
|
|
35
46
|
* @cssprop [--tab-disabled-display] - Set a custom `display` for a disabled tab, e.g. `none` to hide it entirely instead of showing it dimmed
|
|
36
47
|
*/
|