@eunomia/elements 1.0.0-beta.5 → 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-OW7XKDCH.js → chunk-2Y2EU2CI.js} +16 -16
- package/dist/cdn/components/chunks/{chunk-LFCXUVDO.js → chunk-4PI6RDUS.js} +1 -1
- 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-EAKYD33D.js → chunk-BQFJR2UP.js} +4 -4
- 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-IDKZKLJR.js → chunk-KDN4O5W2.js} +24 -11
- 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-2XASWWKR.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-6ETDXUH2.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-AIS3UICU.js → chunk-QZ5SHR3I.js} +9 -5
- package/dist/cdn/components/chunks/{chunk-32DTNR52.js → chunk-RS7TWEMQ.js} +1 -1
- package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-MPQP4R54.js → chunk-SZYEBMG6.js} +10 -9
- package/dist/cdn/components/chunks/{chunk-JRGM3W7I.js → chunk-UDVB4LAE.js} +5 -2
- package/dist/cdn/components/chunks/{chunk-L65WUTXM.js → chunk-UYZR4JXZ.js} +12 -7
- 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-DKOPI7QA.js → chunk-VYFR364B.js} +73 -63
- package/dist/cdn/components/chunks/{chunk-SD2WHGPF.js → chunk-XDPRWUKN.js} +1 -1
- 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-NBIENHLV.js → chunk-ZKZV2YG5.js} +18 -18
- package/dist/cdn/components/eun-alert.js +24 -16
- package/dist/cdn/components/eun-animate.js +12 -8
- package/dist/cdn/components/eun-badge.js +1 -1
- 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 +67 -65
- package/dist/cdn/components/eun-card.js +32 -17
- 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 +56 -27
- package/dist/cdn/components/eun-color-picker.js +53 -52
- package/dist/cdn/components/eun-counter.js +9 -8
- package/dist/cdn/components/eun-date-picker.js +59 -56
- 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 +32 -18
- 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 +17 -16
- 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 +15 -15
- 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 +78 -29
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +17 -10
- 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 +1 -1
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +36 -36
- package/dist/cdn/components/eun-search.js +11 -10
- 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 +23 -23
- package/dist/cdn/components/eun-time-picker.js +17 -15
- package/dist/cdn/components/eun-toast.js +36 -16
- package/dist/cdn/components/eun-toggle-group.js +53 -34
- package/dist/cdn/components/eun-toggle-item.js +16 -15
- 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 +7 -2
- package/dist/components/action/button/button.js +7 -2
- package/dist/components/action/button/button.styles.js +51 -36
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +2 -2
- package/dist/components/action/dropdown-button/dropdown-button.js +11 -10
- 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.styles.js +14 -13
- package/dist/components/action/link/link.d.ts +7 -3
- package/dist/components/action/link/link.js +11 -7
- package/dist/components/action/link/link.styles.js +66 -15
- package/dist/components/action/shared-styles/button-palette.styles.js +15 -15
- package/dist/components/action/toggle/toggle-group.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.js +5 -3
- package/dist/components/action/toggle/toggle-group.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.styles.js +42 -21
- package/dist/components/action/toggle/toggle-item.styles.js +13 -12
- 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 +4 -2
- package/dist/components/alert/drawer/drawer.styles.js +25 -9
- package/dist/components/alert/modal/modal.d.ts +3 -1
- package/dist/components/alert/modal/modal.js +4 -2
- 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/card/card.d.ts +7 -3
- package/dist/components/content/card/card.js +7 -3
- package/dist/components/content/card/card.styles.js +26 -11
- package/dist/components/content/card/image-card.d.ts +60 -6
- package/dist/components/content/card/image-card.js +120 -11
- package/dist/components/content/card/image-card.styles.js +66 -15
- package/dist/components/content/card/sliding-card.d.ts +2 -0
- package/dist/components/content/card/sliding-card.js +2 -0
- package/dist/components/content/card/sliding-card.styles.js +5 -1
- package/dist/components/content/collapse/collapse.d.ts +10 -1
- package/dist/components/content/collapse/collapse.js +12 -2
- package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
- package/dist/components/content/collapse/collapse.styles.js +56 -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 +2 -0
- package/dist/components/content/icon/icon.js +2 -0
- package/dist/components/content/icon/icon.style.js +4 -1
- 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 +4 -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 +7 -1
- package/dist/components/form/color-picker/color-picker.js +19 -21
- package/dist/components/form/color-picker/color-picker.styles.js +6 -5
- package/dist/components/form/counter/counter.d.ts +4 -1
- package/dist/components/form/counter/counter.js +5 -2
- package/dist/components/form/counter/counter.styles.js +5 -4
- package/dist/components/form/date-picker/date-picker.d.ts +37 -33
- package/dist/components/form/date-picker/date-picker.js +32 -42
- package/dist/components/form/date-picker/date-picker.styles.js +8 -5
- package/dist/components/form/input/input.d.ts +7 -1
- package/dist/components/form/input/input.js +8 -2
- 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 +8 -2
- package/dist/components/form/input-phone/input-phone.js +13 -17
- package/dist/components/form/input-phone/input-phone.styles.js +4 -4
- 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 +5 -4
- package/dist/components/form/select/select.d.ts +9 -2
- package/dist/components/form/select/select.js +15 -18
- 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 +16 -6
- 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 +7 -1
- package/dist/components/form/textarea/textarea.js +14 -8
- 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 +6 -2
- package/dist/components/form/time-picker/time-picker.js +22 -26
- package/dist/components/form/time-picker/time-picker.styles.js +4 -3
- package/dist/components/layout/animate/animate.d.ts +37 -15
- package/dist/components/layout/animate/animate.js +35 -15
- 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 +6 -6
- package/dist/features/scheduler/calendar/calendar.js +6 -5
- package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
- package/dist/features/scheduler/scheduler/scheduler.d.ts +1 -1
- package/dist/features/scheduler/scheduler/scheduler.js +9 -23
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +10 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
- 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 +11 -20
- 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 +15 -22
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
- package/dist/i18n/en.d.ts +31 -0
- package/dist/i18n/en.js +31 -0
- package/dist/i18n/fr.js +35 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +6 -10
- package/dist/mixins/check.mixin.js +4 -5
- 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 +3 -2
- 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 +1 -1
- package/dist/ssr/table-ssr.css +472 -0
- package/dist/ssr/tag-ssr.css +197 -0
- package/dist/ssr/toolbar-ssr.css +5 -1
- 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/theme-generator.utils.d.ts +6 -1
- package/dist/utils/theme-generator.utils.js +59 -20
- package/package.json +17 -28
- 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-A6KGFALA.js +0 -132
- 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-SJWRE6PW.js +0 -1
- package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
- package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
- package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
- 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/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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
import {
|
|
2
|
+
import { cssBelow } from "../../../utils/media.styles.js";
|
|
3
3
|
/**
|
|
4
4
|
* Base style for the image carousel component.
|
|
5
5
|
*
|
|
@@ -8,8 +8,12 @@ import { EUNOMIA_BREAKPOINTS } from "../../../breakpoints.js";
|
|
|
8
8
|
* [--image-carousel-object-fit] - Set a custom `object-fit` for the main image
|
|
9
9
|
* [--image-carousel-border-radius] - Set a custom border radius for the main stage
|
|
10
10
|
* [--image-carousel-background] - Set a custom background color behind the main stage, visible with `object-fit: contain`
|
|
11
|
+
* [--image-carousel-border-width] - Set a custom border width for the main stage, once a border color is set
|
|
12
|
+
* [--image-carousel-border-color] - Set a custom border color for the main stage (no border by default)
|
|
11
13
|
* [--image-carousel-thumbnail-size] - Set a custom size for each thumbnail
|
|
12
14
|
* [--image-carousel-thumbnail-gap] - Set a custom gap between thumbnails, and between the strip and the main stage
|
|
15
|
+
* [--image-carousel-thumbnail-border-color] - Set a custom border color for the thumbnails and the lightbox's grid items at rest (transparent by default)
|
|
16
|
+
* [--image-carousel-thumbnail-active-border-color] - Set a custom border color for the active thumbnail and the lightbox's active grid item
|
|
13
17
|
* [--image-carousel-nav-color] - Set a custom icon color for the main stage's prev/next controls
|
|
14
18
|
* [--image-carousel-transition-duration] - Set a custom duration for the `transition` animation between images
|
|
15
19
|
* [--image-carousel-swipe-duration] - Set a custom duration for the main stage's touch swipe settling into place on release (committing, or springing back)
|
|
@@ -19,6 +23,7 @@ import { EUNOMIA_BREAKPOINTS } from "../../../breakpoints.js";
|
|
|
19
23
|
* [--image-carousel-lightbox-image-radius] - Set a custom border radius for the lightbox's own image
|
|
20
24
|
* [--image-carousel-grid-width] - Set a custom width for the lightbox's grid column
|
|
21
25
|
* [--image-carousel-grid-columns] - Set a custom column count for the lightbox's grid
|
|
26
|
+
* [--image-carousel-divider-color] - Set a custom color for the line between the lightbox's main image and its grid
|
|
22
27
|
* [--image-carousel-dot-size] - Set a custom size for the pagination dots
|
|
23
28
|
* [--image-carousel-dot-gap] - Set a custom gap between pagination dots
|
|
24
29
|
* [--image-carousel-dot-color] - Set a custom color for the pagination dots
|
|
@@ -29,7 +34,10 @@ const base = css `
|
|
|
29
34
|
display: block;
|
|
30
35
|
--_magnifierZoom: 2.5;
|
|
31
36
|
--_transitionDuration: var(--image-carousel-transition-duration, 380ms);
|
|
32
|
-
--_swipe-duration: var(
|
|
37
|
+
--_swipe-duration: var(
|
|
38
|
+
--image-carousel-swipe-duration,
|
|
39
|
+
var(--eun-duration-m, 200ms)
|
|
40
|
+
);
|
|
33
41
|
}
|
|
34
42
|
|
|
35
43
|
:host([transition="none"]) {
|
|
@@ -62,7 +70,18 @@ const base = css `
|
|
|
62
70
|
var(--eun-surface-sunken, #f7f8fa)
|
|
63
71
|
);
|
|
64
72
|
outline: 3px solid transparent;
|
|
65
|
-
transition: outline-color
|
|
73
|
+
transition: outline-color var(--eun-duration-m, 200ms)
|
|
74
|
+
var(--eun-easing-out, ease-out);
|
|
75
|
+
}
|
|
76
|
+
#stage::after {
|
|
77
|
+
content: "";
|
|
78
|
+
position: absolute;
|
|
79
|
+
inset: 0;
|
|
80
|
+
z-index: 4;
|
|
81
|
+
border: var(--image-carousel-border-width, var(--eun-border-width-s, 1px))
|
|
82
|
+
solid var(--image-carousel-border-color, transparent);
|
|
83
|
+
border-radius: inherit;
|
|
84
|
+
pointer-events: none;
|
|
66
85
|
}
|
|
67
86
|
|
|
68
87
|
#stage:has(#expand-trigger:focus-visible) {
|
|
@@ -100,7 +119,8 @@ const base = css `
|
|
|
100
119
|
}
|
|
101
120
|
|
|
102
121
|
#main-image {
|
|
103
|
-
transition: transform
|
|
122
|
+
transition: transform var(--eun-duration-s, 150ms)
|
|
123
|
+
var(--eun-easing-default, ease);
|
|
104
124
|
}
|
|
105
125
|
#main-image.zoomed {
|
|
106
126
|
transform: scale(var(--_magnifierZoom));
|
|
@@ -158,22 +178,28 @@ const base = css `
|
|
|
158
178
|
}
|
|
159
179
|
}
|
|
160
180
|
.transition-slide.entering.dir-next {
|
|
161
|
-
animation: ic-slide-in-next var(--_transitionDuration)
|
|
181
|
+
animation: ic-slide-in-next var(--_transitionDuration)
|
|
182
|
+
var(--eun-easing-default, ease);
|
|
162
183
|
}
|
|
163
184
|
.transition-slide.entering.dir-prev {
|
|
164
|
-
animation: ic-slide-in-prev var(--_transitionDuration)
|
|
185
|
+
animation: ic-slide-in-prev var(--_transitionDuration)
|
|
186
|
+
var(--eun-easing-default, ease);
|
|
165
187
|
}
|
|
166
188
|
.transition-slide.leaving.dir-next {
|
|
167
|
-
animation: ic-slide-out-next var(--_transitionDuration)
|
|
189
|
+
animation: ic-slide-out-next var(--_transitionDuration)
|
|
190
|
+
var(--eun-easing-default, ease);
|
|
168
191
|
}
|
|
169
192
|
.transition-slide.leaving.dir-prev {
|
|
170
|
-
animation: ic-slide-out-prev var(--_transitionDuration)
|
|
193
|
+
animation: ic-slide-out-prev var(--_transitionDuration)
|
|
194
|
+
var(--eun-easing-default, ease);
|
|
171
195
|
}
|
|
172
196
|
.transition-fade.entering {
|
|
173
|
-
animation: ic-fade-in var(--_transitionDuration)
|
|
197
|
+
animation: ic-fade-in var(--_transitionDuration)
|
|
198
|
+
var(--eun-easing-default, ease);
|
|
174
199
|
}
|
|
175
200
|
.transition-fade.leaving {
|
|
176
|
-
animation: ic-fade-out var(--_transitionDuration)
|
|
201
|
+
animation: ic-fade-out var(--_transitionDuration)
|
|
202
|
+
var(--eun-easing-default, ease);
|
|
177
203
|
}
|
|
178
204
|
|
|
179
205
|
#expand-icon {
|
|
@@ -190,7 +216,8 @@ const base = css `
|
|
|
190
216
|
background: rgba(7, 22, 33, 0.55);
|
|
191
217
|
color: #fff;
|
|
192
218
|
opacity: 0.85;
|
|
193
|
-
transition: opacity
|
|
219
|
+
transition: opacity var(--eun-duration-m, 200ms)
|
|
220
|
+
var(--eun-easing-default, ease);
|
|
194
221
|
cursor: pointer;
|
|
195
222
|
}
|
|
196
223
|
|
|
@@ -213,9 +240,10 @@ const base = css `
|
|
|
213
240
|
box-shadow: none;
|
|
214
241
|
outline: 2px solid transparent;
|
|
215
242
|
transition:
|
|
216
|
-
outline
|
|
217
|
-
background-color
|
|
218
|
-
|
|
243
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
|
|
244
|
+
background-color var(--eun-duration-m, 200ms)
|
|
245
|
+
var(--eun-easing-default, ease),
|
|
246
|
+
box-shadow var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
|
|
219
247
|
}
|
|
220
248
|
#prev {
|
|
221
249
|
left: var(--eun-space-s, 8px);
|
|
@@ -268,16 +296,17 @@ const base = css `
|
|
|
268
296
|
width: var(--image-carousel-thumbnail-size, 64px);
|
|
269
297
|
height: var(--image-carousel-thumbnail-size, 64px);
|
|
270
298
|
overflow: hidden;
|
|
271
|
-
border: var(--eun-border-width-m, 1.5px) solid
|
|
299
|
+
border: var(--eun-border-width-m, 1.5px) solid
|
|
300
|
+
var(--image-carousel-thumbnail-border-color, transparent);
|
|
272
301
|
border-radius: var(--eun-border-radius-s, 6px);
|
|
273
302
|
cursor: pointer;
|
|
274
303
|
opacity: 0.6;
|
|
275
304
|
outline: 2px solid transparent;
|
|
276
305
|
outline-offset: -2px;
|
|
277
306
|
transition:
|
|
278
|
-
opacity
|
|
279
|
-
outline
|
|
280
|
-
border-color
|
|
307
|
+
opacity var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
308
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
|
|
309
|
+
border-color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
|
|
281
310
|
}
|
|
282
311
|
.thumbnail img {
|
|
283
312
|
display: block;
|
|
@@ -290,7 +319,10 @@ const base = css `
|
|
|
290
319
|
}
|
|
291
320
|
.thumbnail[aria-current="true"] {
|
|
292
321
|
opacity: 1;
|
|
293
|
-
border-color: var(
|
|
322
|
+
border-color: var(
|
|
323
|
+
--image-carousel-thumbnail-active-border-color,
|
|
324
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
325
|
+
);
|
|
294
326
|
}
|
|
295
327
|
.thumbnail:focus-visible {
|
|
296
328
|
outline-color: var(--eun-color-primary-500, #3d6fff);
|
|
@@ -317,9 +349,10 @@ const base = css `
|
|
|
317
349
|
outline: 2px solid transparent;
|
|
318
350
|
outline-offset: 2px;
|
|
319
351
|
transition:
|
|
320
|
-
width
|
|
321
|
-
border-radius
|
|
322
|
-
background-color
|
|
352
|
+
width var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
353
|
+
border-radius var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
354
|
+
background-color var(--eun-duration-m, 200ms)
|
|
355
|
+
var(--eun-easing-default, ease);
|
|
323
356
|
}
|
|
324
357
|
.dot:focus-visible {
|
|
325
358
|
outline-color: var(--eun-color-primary-500, #3d6fff);
|
|
@@ -334,6 +367,7 @@ const base = css `
|
|
|
334
367
|
}
|
|
335
368
|
|
|
336
369
|
#modal {
|
|
370
|
+
--modal-padding: 0;
|
|
337
371
|
--modal-width: var(--image-carousel-lightbox-width, min(1200px, 94vw));
|
|
338
372
|
--modal-max-height: var(
|
|
339
373
|
--image-carousel-lightbox-max-height,
|
|
@@ -384,7 +418,8 @@ const base = css `
|
|
|
384
418
|
cursor: pointer;
|
|
385
419
|
outline: 2px solid transparent;
|
|
386
420
|
outline-offset: 2px;
|
|
387
|
-
transition: background-color
|
|
421
|
+
transition: background-color var(--eun-duration-m, 200ms)
|
|
422
|
+
var(--eun-easing-default, ease);
|
|
388
423
|
}
|
|
389
424
|
#lightbox-prev {
|
|
390
425
|
left: var(--eun-space-m, 16px);
|
|
@@ -426,20 +461,21 @@ const base = css `
|
|
|
426
461
|
overflow-y: auto;
|
|
427
462
|
background: var(--eun-surface-color, #ffffff);
|
|
428
463
|
border-left: var(--eun-border-width-s, 1px) solid
|
|
429
|
-
var(--eun-border-color, #dee0e7);
|
|
464
|
+
var(--image-carousel-divider-color, var(--eun-border-color, #dee0e7));
|
|
430
465
|
}
|
|
431
466
|
.grid-item {
|
|
432
467
|
all: unset;
|
|
433
468
|
box-sizing: border-box;
|
|
434
469
|
aspect-ratio: 1;
|
|
435
470
|
overflow: hidden;
|
|
436
|
-
border: var(--eun-border-width-m, 1.5px) solid
|
|
471
|
+
border: var(--eun-border-width-m, 1.5px) solid
|
|
472
|
+
var(--image-carousel-thumbnail-border-color, transparent);
|
|
437
473
|
border-radius: var(--eun-border-radius-s, 6px);
|
|
438
474
|
cursor: pointer;
|
|
439
475
|
opacity: 0.7;
|
|
440
476
|
transition:
|
|
441
|
-
opacity
|
|
442
|
-
border-color
|
|
477
|
+
opacity var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
|
|
478
|
+
border-color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
|
|
443
479
|
}
|
|
444
480
|
.grid-item img {
|
|
445
481
|
display: block;
|
|
@@ -452,14 +488,17 @@ const base = css `
|
|
|
452
488
|
}
|
|
453
489
|
.grid-item[aria-current="true"] {
|
|
454
490
|
opacity: 1;
|
|
455
|
-
border-color: var(
|
|
491
|
+
border-color: var(
|
|
492
|
+
--image-carousel-thumbnail-active-border-color,
|
|
493
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
494
|
+
);
|
|
456
495
|
}
|
|
457
496
|
.grid-item:focus-visible {
|
|
458
497
|
outline: 2px solid var(--eun-color-primary-500, #3d6fff);
|
|
459
498
|
outline-offset: 2px;
|
|
460
499
|
}
|
|
461
500
|
|
|
462
|
-
@media
|
|
501
|
+
@media ${cssBelow("mobile")} {
|
|
463
502
|
#lightbox {
|
|
464
503
|
flex-direction: column;
|
|
465
504
|
}
|
|
@@ -472,7 +511,7 @@ const base = css `
|
|
|
472
511
|
overflow-x: auto;
|
|
473
512
|
overflow-y: hidden;
|
|
474
513
|
border-top: var(--eun-border-width-s, 1px) solid
|
|
475
|
-
var(--eun-border-color, #dee0e7);
|
|
514
|
+
var(--image-carousel-divider-color, var(--eun-border-color, #dee0e7));
|
|
476
515
|
border-left: none;
|
|
477
516
|
}
|
|
478
517
|
}
|
|
@@ -83,7 +83,11 @@ const base = css `
|
|
|
83
83
|
var(--eun-surface-sunken-strong, #ecedf0)
|
|
84
84
|
);
|
|
85
85
|
transition: background-color
|
|
86
|
-
var(
|
|
86
|
+
var(
|
|
87
|
+
--password-strength-transition-duration,
|
|
88
|
+
var(--eun-duration-xl, 300ms)
|
|
89
|
+
)
|
|
90
|
+
var(--eun-easing-default, ease);
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.segment.filled {
|
|
@@ -155,7 +155,9 @@ const base = css `
|
|
|
155
155
|
--progress-bar-border-radius,
|
|
156
156
|
var(--eun-border-radius-full, 999px)
|
|
157
157
|
);
|
|
158
|
-
transition: width
|
|
158
|
+
transition: width
|
|
159
|
+
var(--progress-bar-transition-duration, var(--eun-duration-xl, 300ms))
|
|
160
|
+
var(--eun-easing-default, ease);
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
#field::-webkit-meter-suboptimum-value {
|
|
@@ -164,7 +166,9 @@ const base = css `
|
|
|
164
166
|
--progress-bar-border-radius,
|
|
165
167
|
var(--eun-border-radius-full, 999px)
|
|
166
168
|
);
|
|
167
|
-
transition: width
|
|
169
|
+
transition: width
|
|
170
|
+
var(--progress-bar-transition-duration, var(--eun-duration-xl, 300ms))
|
|
171
|
+
var(--eun-easing-default, ease);
|
|
168
172
|
}
|
|
169
173
|
|
|
170
174
|
#field::-webkit-meter-even-less-good-value {
|
|
@@ -173,7 +177,9 @@ const base = css `
|
|
|
173
177
|
--progress-bar-border-radius,
|
|
174
178
|
var(--eun-border-radius-full, 999px)
|
|
175
179
|
);
|
|
176
|
-
transition: width
|
|
180
|
+
transition: width
|
|
181
|
+
var(--progress-bar-transition-duration, var(--eun-duration-xl, 300ms))
|
|
182
|
+
var(--eun-easing-default, ease);
|
|
177
183
|
}
|
|
178
184
|
|
|
179
185
|
#field::-moz-meter-bar {
|
|
@@ -183,7 +189,9 @@ const base = css `
|
|
|
183
189
|
var(--eun-border-radius-full, 999px)
|
|
184
190
|
);
|
|
185
191
|
background: var(--_optimumColor);
|
|
186
|
-
transition: width
|
|
192
|
+
transition: width
|
|
193
|
+
var(--progress-bar-transition-duration, var(--eun-duration-xl, 300ms))
|
|
194
|
+
var(--eun-easing-default, ease);
|
|
187
195
|
}
|
|
188
196
|
|
|
189
197
|
#field:-moz-meter-sub-optimum::-moz-meter-bar {
|
|
@@ -5,9 +5,10 @@ import { css } from "lit";
|
|
|
5
5
|
* once `href` is set, and the absolutely-positioned external-link badge
|
|
6
6
|
* shown when `target="_blank"` (see `CardLinkMixin`).
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* The element holding the badge (`#card`, or `#back` for the sliding
|
|
9
|
+
* card) must be positioned. Positioning only `:host` isn't enough : the
|
|
10
|
+
* hover `transform` makes that element the containing block, and the
|
|
11
|
+
* badge would jump by the border width on hover.
|
|
11
12
|
*/
|
|
12
13
|
const base = css `
|
|
13
14
|
:host([href]) {
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
* flips with the active theme ; the `fixed-color` attribute pins them to the
|
|
26
26
|
* light theme's white and black instead.
|
|
27
27
|
*
|
|
28
|
+
* Severities read their `--eun-color-<state>-text` token for the solid and
|
|
29
|
+
* the accent rather than the raw `-100` state color, so both the colored
|
|
30
|
+
* text on the pale wash and the white text on the `fill` surface reach a
|
|
31
|
+
* 4.5:1 contrast ratio.
|
|
32
|
+
*
|
|
28
33
|
* A component can override a slot on its own host to adapt it, for example
|
|
29
34
|
* `--_bg-outline` when its outline surface isn't transparent.
|
|
30
35
|
*/
|
|
@@ -26,6 +26,11 @@ import { css } from "lit";
|
|
|
26
26
|
* flips with the active theme ; the `fixed-color` attribute pins them to the
|
|
27
27
|
* light theme's white and black instead.
|
|
28
28
|
*
|
|
29
|
+
* Severities read their `--eun-color-<state>-text` token for the solid and
|
|
30
|
+
* the accent rather than the raw `-100` state color, so both the colored
|
|
31
|
+
* text on the pale wash and the white text on the `fill` surface reach a
|
|
32
|
+
* 4.5:1 contrast ratio.
|
|
33
|
+
*
|
|
29
34
|
* A component can override a slot on its own host to adapt it, for example
|
|
30
35
|
* `--_bg-outline` when its outline surface isn't transparent.
|
|
31
36
|
*/
|
|
@@ -58,13 +63,13 @@ export const toneSurfaceStyles = css `
|
|
|
58
63
|
:host([color="primary"]:not([severity])) {
|
|
59
64
|
--_solid: var(--eun-color-primary-500, #3d6fff);
|
|
60
65
|
--_onSolid: var(--eun-color-on-primary-500, #ffffff);
|
|
61
|
-
--_tint: var(--eun-color-primary-
|
|
66
|
+
--_tint: var(--eun-color-primary-alpha-20, #3d6fff33);
|
|
62
67
|
--_accent: var(--eun-color-primary-500, #3d6fff);
|
|
63
68
|
}
|
|
64
69
|
:host([color="secondary"]:not([severity])) {
|
|
65
70
|
--_solid: var(--eun-color-secondary-500, #e5a030);
|
|
66
71
|
--_onSolid: var(--eun-color-on-secondary-500, #000000de);
|
|
67
|
-
--_tint: var(--eun-color-secondary-
|
|
72
|
+
--_tint: var(--eun-color-secondary-alpha-20, #edbd6f33);
|
|
68
73
|
--_accent: var(--eun-color-secondary-500, #e5a030);
|
|
69
74
|
}
|
|
70
75
|
|
|
@@ -95,28 +100,28 @@ export const toneSurfaceStyles = css `
|
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
:host([severity="info"]) {
|
|
98
|
-
--_solid: var(--eun-color-info-
|
|
103
|
+
--_solid: var(--eun-color-info-text, #097aa8);
|
|
99
104
|
--_onSolid: #fff;
|
|
100
|
-
--_tint: var(--eun-color-info-
|
|
101
|
-
--_accent: var(--eun-color-info-
|
|
105
|
+
--_tint: var(--eun-color-info-alpha-5, #097faf0d);
|
|
106
|
+
--_accent: var(--eun-color-info-text, #097aa8);
|
|
102
107
|
}
|
|
103
108
|
:host([severity="success"]) {
|
|
104
|
-
--_solid: var(--eun-color-success-
|
|
109
|
+
--_solid: var(--eun-color-success-text, #167f3c);
|
|
105
110
|
--_onSolid: #fff;
|
|
106
|
-
--_tint: var(--eun-color-success-
|
|
107
|
-
--_accent: var(--eun-color-success-
|
|
111
|
+
--_tint: var(--eun-color-success-alpha-5, #1a99480d);
|
|
112
|
+
--_accent: var(--eun-color-success-text, #167f3c);
|
|
108
113
|
}
|
|
109
114
|
:host([severity="warning"]) {
|
|
110
|
-
--_solid: var(--eun-color-warning-
|
|
115
|
+
--_solid: var(--eun-color-warning-text, #b94c06);
|
|
111
116
|
--_onSolid: #fff;
|
|
112
|
-
--_tint: var(--eun-color-warning-
|
|
113
|
-
--_accent: var(--eun-color-warning-
|
|
117
|
+
--_tint: var(--eun-color-warning-alpha-5, #c852070d);
|
|
118
|
+
--_accent: var(--eun-color-warning-text, #b94c06);
|
|
114
119
|
}
|
|
115
120
|
:host([severity="critical"]) {
|
|
116
|
-
--_solid: var(--eun-color-critical-
|
|
121
|
+
--_solid: var(--eun-color-critical-text, #aa0014);
|
|
117
122
|
--_onSolid: #fff;
|
|
118
|
-
--_tint: var(--eun-color-critical-
|
|
119
|
-
--_accent: var(--eun-color-critical-
|
|
123
|
+
--_tint: var(--eun-color-critical-alpha-5, #aa00140d);
|
|
124
|
+
--_accent: var(--eun-color-critical-text, #aa0014);
|
|
120
125
|
}
|
|
121
126
|
:host([severity="neutral"]) {
|
|
122
127
|
--_solid: var(--eun-color-grey-700, #484e61);
|
|
@@ -50,6 +50,10 @@ type TagSize = EunomiaCompactSize;
|
|
|
50
50
|
* @cssprop [--tag-color] - Sets the text and icon color of the tag, for every appearance, color and severity
|
|
51
51
|
* @cssprop [--tag-border-radius] - Sets the corner radius of the tag, also over rounded
|
|
52
52
|
* @cssprop [--tag-gap] - Sets the gap between the tag icon and the label
|
|
53
|
+
* @cssprop [--tag-padding-block] - Sets the vertical padding of the tag, for every size. The border is taken out of it, so the tag keeps the same size with or without one
|
|
54
|
+
* @cssprop [--tag-padding-inline] - Sets the horizontal padding of the tag, for every size. The border is taken out of it, so the tag keeps the same size with or without one
|
|
55
|
+
* @cssprop [--tag-font-size] - Sets the font size of the tag, for every size
|
|
56
|
+
* @cssprop [--tag-font-weight] - Sets the font weight of the tag
|
|
53
57
|
* @element eun-tag
|
|
54
58
|
*/
|
|
55
59
|
export declare class EunomiaTag extends LitElement {
|
|
@@ -43,6 +43,10 @@ export const EunomiaTagTagName = "eun-tag";
|
|
|
43
43
|
* @cssprop [--tag-color] - Sets the text and icon color of the tag, for every appearance, color and severity
|
|
44
44
|
* @cssprop [--tag-border-radius] - Sets the corner radius of the tag, also over rounded
|
|
45
45
|
* @cssprop [--tag-gap] - Sets the gap between the tag icon and the label
|
|
46
|
+
* @cssprop [--tag-padding-block] - Sets the vertical padding of the tag, for every size. The border is taken out of it, so the tag keeps the same size with or without one
|
|
47
|
+
* @cssprop [--tag-padding-inline] - Sets the horizontal padding of the tag, for every size. The border is taken out of it, so the tag keeps the same size with or without one
|
|
48
|
+
* @cssprop [--tag-font-size] - Sets the font size of the tag, for every size
|
|
49
|
+
* @cssprop [--tag-font-weight] - Sets the font weight of the tag
|
|
46
50
|
* @element eun-tag
|
|
47
51
|
*/
|
|
48
52
|
let EunomiaTag = class EunomiaTag extends LitElement {
|
|
@@ -15,6 +15,10 @@ import { toneSurfaceStyles } from "../shared-styles/tone-surface.styles.js";
|
|
|
15
15
|
* [--tag-border-width] - Set a custom border width, for every appearance. Defaults to 1px, only drawn (in a color) by outline, or when --tag-border-color is set
|
|
16
16
|
* [--tag-border-radius] - Set a custom border radius to the tag, also over rounded
|
|
17
17
|
* [--tag-gap] - Set a custom gap between the tag icon and the label
|
|
18
|
+
* [--tag-padding-block] - Set a custom vertical padding, for every size. The border is taken out of it
|
|
19
|
+
* [--tag-padding-inline] - Set a custom horizontal padding, for every size. The border is taken out of it
|
|
20
|
+
* [--tag-font-size] - Set a custom font size, for every size
|
|
21
|
+
* [--tag-font-weight] - Set a custom font weight
|
|
18
22
|
*/
|
|
19
23
|
const base = css `
|
|
20
24
|
:host {
|
|
@@ -90,11 +94,17 @@ const base = css `
|
|
|
90
94
|
color: var(--tag-color, var(--_fg));
|
|
91
95
|
border: var(--_borderWidth) solid var(--tag-border-color, var(--_bd));
|
|
92
96
|
border-radius: var(--tag-border-radius, var(--_radius));
|
|
93
|
-
padding: max(
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
padding: max(
|
|
98
|
+
0px,
|
|
99
|
+
calc(var(--tag-padding-block, var(--_padV)) - var(--_borderWidth))
|
|
100
|
+
)
|
|
101
|
+
max(
|
|
102
|
+
0px,
|
|
103
|
+
calc(var(--tag-padding-inline, var(--_padH)) - var(--_borderWidth))
|
|
104
|
+
);
|
|
105
|
+
font-size: var(--tag-font-size, var(--_fontSize));
|
|
96
106
|
gap: var(--tag-gap, var(--_gap));
|
|
97
|
-
font-weight: var(--eun-font-weight-m, 500);
|
|
107
|
+
font-weight: var(--tag-font-weight, var(--eun-font-weight-m, 500));
|
|
98
108
|
--icon-color: var(--tag-color, var(--_fg));
|
|
99
109
|
}
|
|
100
110
|
|
|
@@ -93,6 +93,8 @@ declare const EunomiaTooltipMixinBase: Constructor<EunomiaTooltipBase>;
|
|
|
93
93
|
* @cssprop [--tooltip-font-weight] - Sets the font weight of the description content, not the heading, and not richText, which stays at its own normal weight
|
|
94
94
|
* @cssprop [--tooltip-border-radius] - Sets the corner radius of the panel
|
|
95
95
|
* @cssprop [--tooltip-padding] - Sets the padding of the panel
|
|
96
|
+
* @cssprop [--tooltip-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
97
|
+
* @cssprop [--tooltip-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
96
98
|
* @cssprop [--tooltip-shadow] - Sets the shadow of the panel
|
|
97
99
|
* @cssprop [--tooltip-transition-duration] - Sets the duration of the open and close transition
|
|
98
100
|
* @element eun-tooltip
|
|
@@ -467,8 +469,7 @@ export declare class EunomiaTooltip extends EunomiaTooltipMixinBase {
|
|
|
467
469
|
* The enter/exit animation's duration, in ms : `0` under
|
|
468
470
|
* `prefers-reduced-motion: reduce`, otherwise `--tooltip-transition-
|
|
469
471
|
* duration` (forwarded onto the panel by {@link forwardCssVariables}) if
|
|
470
|
-
* set, falling back to
|
|
471
|
-
* used.
|
|
472
|
+
* set, falling back to `--eun-duration-s`.
|
|
472
473
|
*
|
|
473
474
|
* @param panel the panel to read `--tooltip-transition-duration` off.
|
|
474
475
|
* @private
|
|
@@ -14,6 +14,7 @@ import { clampToViewport } from "../../../utils/dropdown-menu.utils.js";
|
|
|
14
14
|
import { isWebKit } from "../../../utils/browser.utils.js";
|
|
15
15
|
import { formatRichText } from "../../../utils/rich-text.utils.js";
|
|
16
16
|
import { tooltipHostStyles, tooltipPanelStyles, tooltipAnchorPositioningStyles, } from "./tooltip.styles.js";
|
|
17
|
+
import { resolveDurationMs, resolveEasing, } from "../../../utils/motion.utils.js";
|
|
17
18
|
/**
|
|
18
19
|
* Tag name of the tooltip component.
|
|
19
20
|
*/
|
|
@@ -58,6 +59,8 @@ const FORWARDED_CSS_VARS = [
|
|
|
58
59
|
"--tooltip-font-weight",
|
|
59
60
|
"--tooltip-border-radius",
|
|
60
61
|
"--tooltip-padding",
|
|
62
|
+
"--tooltip-padding-block",
|
|
63
|
+
"--tooltip-padding-inline",
|
|
61
64
|
"--tooltip-row-gap",
|
|
62
65
|
"--tooltip-shadow",
|
|
63
66
|
"--tooltip-transition-duration",
|
|
@@ -121,6 +124,8 @@ const EunomiaTooltipMixinBase = AnchorPositionMixin(LitElement);
|
|
|
121
124
|
* @cssprop [--tooltip-font-weight] - Sets the font weight of the description content, not the heading, and not richText, which stays at its own normal weight
|
|
122
125
|
* @cssprop [--tooltip-border-radius] - Sets the corner radius of the panel
|
|
123
126
|
* @cssprop [--tooltip-padding] - Sets the padding of the panel
|
|
127
|
+
* @cssprop [--tooltip-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
128
|
+
* @cssprop [--tooltip-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
124
129
|
* @cssprop [--tooltip-shadow] - Sets the shadow of the panel
|
|
125
130
|
* @cssprop [--tooltip-transition-duration] - Sets the duration of the open and close transition
|
|
126
131
|
* @element eun-tooltip
|
|
@@ -608,8 +613,7 @@ let EunomiaTooltip = EunomiaTooltip_1 = class EunomiaTooltip extends EunomiaTool
|
|
|
608
613
|
* The enter/exit animation's duration, in ms : `0` under
|
|
609
614
|
* `prefers-reduced-motion: reduce`, otherwise `--tooltip-transition-
|
|
610
615
|
* duration` (forwarded onto the panel by {@link forwardCssVariables}) if
|
|
611
|
-
* set, falling back to
|
|
612
|
-
* used.
|
|
616
|
+
* set, falling back to `--eun-duration-s`.
|
|
613
617
|
*
|
|
614
618
|
* @param panel the panel to read `--tooltip-transition-duration` off.
|
|
615
619
|
* @private
|
|
@@ -618,18 +622,7 @@ let EunomiaTooltip = EunomiaTooltip_1 = class EunomiaTooltip extends EunomiaTool
|
|
|
618
622
|
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
619
623
|
return 0;
|
|
620
624
|
}
|
|
621
|
-
|
|
622
|
-
.getPropertyValue("--tooltip-transition-duration")
|
|
623
|
-
.trim();
|
|
624
|
-
if (raw) {
|
|
625
|
-
const parsed = raw.endsWith("ms")
|
|
626
|
-
? Number.parseFloat(raw)
|
|
627
|
-
: Number.parseFloat(raw) * 1000;
|
|
628
|
-
if (Number.isFinite(parsed) && parsed >= 0) {
|
|
629
|
-
return parsed;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
return 150;
|
|
625
|
+
return resolveDurationMs(panel, "--tooltip-transition-duration", "s", 150);
|
|
633
626
|
}
|
|
634
627
|
/**
|
|
635
628
|
* Plays the fade/scale-in, replacing any {@link panelAnimation} already
|
|
@@ -669,7 +662,7 @@ let EunomiaTooltip = EunomiaTooltip_1 = class EunomiaTooltip extends EunomiaTool
|
|
|
669
662
|
{ opacity: 1, scale: 1 },
|
|
670
663
|
], {
|
|
671
664
|
duration,
|
|
672
|
-
easing:
|
|
665
|
+
easing: resolveEasing(panel),
|
|
673
666
|
fill: "forwards",
|
|
674
667
|
});
|
|
675
668
|
}
|
|
@@ -693,7 +686,7 @@ let EunomiaTooltip = EunomiaTooltip_1 = class EunomiaTooltip extends EunomiaTool
|
|
|
693
686
|
const animation = panel.animate([
|
|
694
687
|
{ opacity: 1, scale: 1 },
|
|
695
688
|
{ opacity: 0, scale: 0.96 },
|
|
696
|
-
], { duration, easing:
|
|
689
|
+
], { duration, easing: resolveEasing(panel), fill: "forwards" });
|
|
697
690
|
this.panelAnimation = animation;
|
|
698
691
|
animation.finished
|
|
699
692
|
.then(() => {
|
|
@@ -25,6 +25,8 @@ export const tooltipHostStyles = css `
|
|
|
25
25
|
* [--tooltip-font-weight] - Set a custom font weight for the description content (not the heading, and not richText, which stays at its own normal weight)
|
|
26
26
|
* [--tooltip-border-radius] - Set a custom border radius
|
|
27
27
|
* [--tooltip-padding] - Set a custom padding
|
|
28
|
+
* [--tooltip-padding-block] - Set a custom vertical padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
29
|
+
* [--tooltip-padding-inline] - Set a custom horizontal padding, as one length applied to both sides. Ignored when --tooltip-padding is set
|
|
28
30
|
* [--tooltip-row-gap] - Set a custom gap between the heading and description rows
|
|
29
31
|
* [--tooltip-shadow] - Set a custom shadow
|
|
30
32
|
* [--tooltip-transition-duration] - Set a custom duration for the open/close transition
|
|
@@ -89,7 +91,9 @@ const panel = css `
|
|
|
89
91
|
--_onSolid: var(--eun-color-grey-900, #000000);
|
|
90
92
|
--_opposite: var(--eun-color-grey-800, #071621);
|
|
91
93
|
}
|
|
92
|
-
.eun-tooltip-panel:not(
|
|
94
|
+
.eun-tooltip-panel:not(
|
|
95
|
+
[data-severity]
|
|
96
|
+
)[data-color="light"][data-fixed-color] {
|
|
93
97
|
--_solid: #ffffff;
|
|
94
98
|
--_onSolid: #000000;
|
|
95
99
|
--_opposite: #071621;
|
|
@@ -137,14 +141,22 @@ const panel = css `
|
|
|
137
141
|
--_body: var(--_onSolid);
|
|
138
142
|
--_bd: transparent;
|
|
139
143
|
}
|
|
140
|
-
.eun-tooltip-panel:not(
|
|
141
|
-
|
|
144
|
+
.eun-tooltip-panel:not(
|
|
145
|
+
[data-severity]
|
|
146
|
+
)[data-color="light"][data-appearance="default"],
|
|
147
|
+
.eun-tooltip-panel:not(
|
|
148
|
+
[data-severity]
|
|
149
|
+
)[data-color="dark"][data-appearance="default"] {
|
|
142
150
|
--_bg: var(--_solid);
|
|
143
151
|
--_head: var(--_onSolid);
|
|
144
152
|
--_body: var(--_onSolid);
|
|
145
153
|
}
|
|
146
|
-
.eun-tooltip-panel:not(
|
|
147
|
-
|
|
154
|
+
.eun-tooltip-panel:not(
|
|
155
|
+
[data-severity]
|
|
156
|
+
)[data-color="light"][data-appearance="outline"],
|
|
157
|
+
.eun-tooltip-panel:not(
|
|
158
|
+
[data-severity]
|
|
159
|
+
)[data-color="dark"][data-appearance="outline"] {
|
|
148
160
|
--_bg: var(--_opposite);
|
|
149
161
|
--_head: var(--_solid);
|
|
150
162
|
--_body: var(--_solid);
|
|
@@ -164,8 +176,14 @@ const panel = css `
|
|
|
164
176
|
max-width: var(--tooltip-max-width, 280px);
|
|
165
177
|
padding: var(
|
|
166
178
|
--tooltip-padding,
|
|
167
|
-
|
|
168
|
-
|
|
179
|
+
var(
|
|
180
|
+
--tooltip-padding-block,
|
|
181
|
+
max(0px, calc(var(--eun-space-s, 8px) - var(--_bw)))
|
|
182
|
+
)
|
|
183
|
+
var(
|
|
184
|
+
--tooltip-padding-inline,
|
|
185
|
+
max(0px, calc(var(--eun-space-m, 16px) - var(--_bw)))
|
|
186
|
+
)
|
|
169
187
|
);
|
|
170
188
|
border-radius: var(
|
|
171
189
|
--tooltip-border-radius,
|
|
@@ -24,7 +24,8 @@ export declare const EunomiaCheckCardTagName = "eun-check-card";
|
|
|
24
24
|
* @prop {boolean} [disabled=false] - Whether the card is disabled
|
|
25
25
|
* @prop {boolean} [readonly=false] - Whether the card is read only
|
|
26
26
|
* @prop {boolean} [indeterminate=false] - Whether the card value is indeterminate
|
|
27
|
-
* @prop {boolean} [hideError=false] - Whether the
|
|
27
|
+
* @prop {boolean} [hideError=false] - Whether the errors are hidden. The hint stays visible
|
|
28
|
+
* @prop {string} [error] - An error computed outside the field, by the form or by the server. While set, the field is invalid and shows this message right away
|
|
28
29
|
* @attr {boolean} [hide-error=false] - Whether the error message is hidden
|
|
29
30
|
* @prop {boolean} [required=false] - Whether a selection is required
|
|
30
31
|
* @prop {string} name - The name of the field
|
|
@@ -46,6 +47,8 @@ export declare const EunomiaCheckCardTagName = "eun-check-card";
|
|
|
46
47
|
* @cssprop [--check-card-border-width] - Sets the width of the border
|
|
47
48
|
* @cssprop [--check-card-border-radius] - Sets the corner radius of the card
|
|
48
49
|
* @cssprop [--check-card-padding] - Sets the padding inside the card
|
|
50
|
+
* @cssprop [--check-card-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --check-card-padding is set
|
|
51
|
+
* @cssprop [--check-card-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --check-card-padding is set
|
|
49
52
|
* @cssprop [--check-card-min-width] - Sets the minimum width of the card
|
|
50
53
|
* @cssprop [--check-card-icon-color] - Sets the color of the leading icon while not checked
|
|
51
54
|
* @cssprop [--check-card-icon-color-checked] - Sets the color of the leading icon while checked
|
|
@@ -35,7 +35,8 @@ export const EunomiaCheckCardTagName = "eun-check-card";
|
|
|
35
35
|
* @prop {boolean} [disabled=false] - Whether the card is disabled
|
|
36
36
|
* @prop {boolean} [readonly=false] - Whether the card is read only
|
|
37
37
|
* @prop {boolean} [indeterminate=false] - Whether the card value is indeterminate
|
|
38
|
-
* @prop {boolean} [hideError=false] - Whether the
|
|
38
|
+
* @prop {boolean} [hideError=false] - Whether the errors are hidden. The hint stays visible
|
|
39
|
+
* @prop {string} [error] - An error computed outside the field, by the form or by the server. While set, the field is invalid and shows this message right away
|
|
39
40
|
* @attr {boolean} [hide-error=false] - Whether the error message is hidden
|
|
40
41
|
* @prop {boolean} [required=false] - Whether a selection is required
|
|
41
42
|
* @prop {string} name - The name of the field
|
|
@@ -57,6 +58,8 @@ export const EunomiaCheckCardTagName = "eun-check-card";
|
|
|
57
58
|
* @cssprop [--check-card-border-width] - Sets the width of the border
|
|
58
59
|
* @cssprop [--check-card-border-radius] - Sets the corner radius of the card
|
|
59
60
|
* @cssprop [--check-card-padding] - Sets the padding inside the card
|
|
61
|
+
* @cssprop [--check-card-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --check-card-padding is set
|
|
62
|
+
* @cssprop [--check-card-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --check-card-padding is set
|
|
60
63
|
* @cssprop [--check-card-min-width] - Sets the minimum width of the card
|
|
61
64
|
* @cssprop [--check-card-icon-color] - Sets the color of the leading icon while not checked
|
|
62
65
|
* @cssprop [--check-card-icon-color-checked] - Sets the color of the leading icon while checked
|