@eunomia/elements 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/components/chunks/chunk-2JLDJFYD.js +48 -0
- package/dist/cdn/components/chunks/chunk-4MXL6PZC.js +124 -0
- package/dist/cdn/components/chunks/{chunk-32KRPOPV.js → chunk-5XJGYXW7.js} +6 -6
- package/dist/cdn/components/chunks/{chunk-O2HNWH65.js → chunk-5XJLIHAU.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-5GF2Q3NR.js → chunk-74AOAB4X.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-WYMBUIKX.js → chunk-A6KGFALA.js} +4 -4
- package/dist/cdn/components/chunks/chunk-BMQOI7HX.js +371 -0
- package/dist/cdn/components/chunks/{chunk-LJYTHDZP.js → chunk-D2M4BV5Y.js} +6 -6
- package/dist/cdn/components/chunks/{chunk-NEYBPT3D.js → chunk-EJIX2D4Z.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-BYBUXKXC.js → chunk-EOWBYZV7.js} +2 -2
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +1 -0
- package/dist/cdn/components/chunks/{chunk-AQQMW353.js → chunk-GSJEJLFA.js} +3 -3
- package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5RCCZVFZ.js → chunk-IJ5WFMK4.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-RWONCXTF.js → chunk-KVYUNKUO.js} +2 -2
- package/dist/cdn/components/chunks/chunk-LGLQ36QB.js +16 -0
- package/dist/cdn/components/chunks/{chunk-74HHV4CX.js → chunk-NHFWATVN.js} +2 -2
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +38 -0
- package/dist/cdn/components/chunks/chunk-P32B7BFD.js +118 -0
- package/dist/cdn/components/chunks/{chunk-ZPFHTJSS.js → chunk-PCM7D3YF.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-ABYEBP57.js → chunk-PED5ATYN.js} +11 -8
- package/dist/cdn/components/chunks/{chunk-ON42P6FI.js → chunk-RJCJXB7Y.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-5C7YND22.js → chunk-S2UCEWNG.js} +8 -8
- package/dist/cdn/components/chunks/{chunk-7WTSHE7M.js → chunk-SIHZFOTK.js} +9 -9
- package/dist/cdn/components/chunks/{chunk-6UPI7GHJ.js → chunk-UAGCQF23.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-6IILPCSQ.js → chunk-X2AUBZD2.js} +3 -3
- package/dist/cdn/components/chunks/chunk-YGUJJ25C.js +263 -0
- package/dist/cdn/components/chunks/chunk-YYCEPZUN.js +1 -0
- package/dist/cdn/components/eun-alert.js +65 -45
- package/dist/cdn/components/eun-animate.js +178 -2
- package/dist/cdn/components/eun-badge.js +1 -1
- package/dist/cdn/components/eun-breadcrumb-item.js +14 -10
- package/dist/cdn/components/eun-breadcrumb.js +11 -7
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +16 -16
- package/dist/cdn/components/eun-card.js +29 -12
- package/dist/cdn/components/eun-carousel.js +36 -28
- package/dist/cdn/components/eun-check-card.js +3 -3
- package/dist/cdn/components/eun-checkbox-list.js +3 -3
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +45 -210
- package/dist/cdn/components/eun-collapse.js +20 -26
- package/dist/cdn/components/eun-color-picker.js +28 -28
- package/dist/cdn/components/eun-counter.js +11 -11
- package/dist/cdn/components/eun-date-picker.js +50 -50
- package/dist/cdn/components/eun-drawer.js +3 -3
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -6
- package/dist/cdn/components/eun-fab.js +31 -53
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +18 -11
- package/dist/cdn/components/eun-image-carousel.js +16 -16
- package/dist/cdn/components/eun-infinite-list.js +1 -1
- package/dist/cdn/components/eun-input-file.js +20 -20
- package/dist/cdn/components/eun-input-phone.js +14 -14
- 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 +29 -11
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +6 -6
- package/dist/cdn/components/eun-pagination.js +3 -3
- package/dist/cdn/components/eun-password-strength.js +9 -6
- package/dist/cdn/components/eun-progress-bar.js +13 -13
- package/dist/cdn/components/eun-radio-card.js +2 -2
- package/dist/cdn/components/eun-radio-list.js +3 -3
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +2 -2
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +10 -10
- package/dist/cdn/components/eun-search.js +7 -7
- package/dist/cdn/components/eun-select.js +39 -18
- package/dist/cdn/components/eun-sidebar.js +10 -10
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +9 -9
- package/dist/cdn/components/eun-sliding-card.js +7 -10
- package/dist/cdn/components/eun-step.js +8 -8
- package/dist/cdn/components/eun-stepper.js +8 -8
- package/dist/cdn/components/eun-switch.js +10 -10
- package/dist/cdn/components/eun-tab-group.js +19 -11
- package/dist/cdn/components/eun-tab-panel.js +1 -1
- package/dist/cdn/components/eun-tab.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table-cell.js +1 -1
- package/dist/cdn/components/eun-table-column.js +1 -1
- package/dist/cdn/components/eun-table-header.js +1 -1
- package/dist/cdn/components/eun-table-item.js +1 -1
- package/dist/cdn/components/eun-table-skeleton-row.js +1 -1
- package/dist/cdn/components/eun-table.js +3 -3
- package/dist/cdn/components/eun-tag.js +34 -122
- package/dist/cdn/components/eun-textarea.js +28 -28
- package/dist/cdn/components/eun-time-picker.js +25 -25
- package/dist/cdn/components/eun-toast.js +40 -36
- package/dist/cdn/components/eun-toggle-group.js +199 -66
- package/dist/cdn/components/eun-toggle-item.js +42 -25
- package/dist/cdn/components/eun-toggle.js +13 -10
- package/dist/cdn/components/eun-toolbar.js +28 -19
- package/dist/cdn/components/eun-tooltip.js +122 -87
- 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 +1 -0
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
- 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 +2 -0
- package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
- package/dist/cdn/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
- package/dist/cdn/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
- package/dist/components/action/button/button.d.ts +7 -6
- package/dist/components/action/button/button.js +7 -6
- package/dist/components/action/button/button.styles.js +143 -373
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +7 -0
- package/dist/components/action/dropdown-button/dropdown-button.js +11 -0
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +8 -8
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +6 -6
- package/dist/components/action/fab/fab.d.ts +3 -1
- package/dist/components/action/fab/fab.js +3 -1
- package/dist/components/action/fab/fab.styles.js +26 -49
- package/dist/components/action/link/link.d.ts +50 -0
- package/dist/components/action/link/link.js +69 -1
- package/dist/components/action/link/link.styles.js +19 -2
- package/dist/components/action/shared-styles/button-palette.styles.d.ts +27 -0
- package/dist/components/action/shared-styles/button-palette.styles.js +151 -0
- package/dist/components/action/toggle/toggle-group.d.ts +41 -7
- package/dist/components/action/toggle/toggle-group.js +162 -46
- package/dist/components/action/toggle/toggle-group.styles.d.ts +6 -5
- package/dist/components/action/toggle/toggle-group.styles.js +152 -35
- package/dist/components/action/toggle/toggle-item.styles.js +38 -21
- package/dist/components/action/toggle/toggle.d.ts +1 -1
- package/dist/components/action/toggle/toggle.js +2 -2
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -2
- package/dist/components/action/toggle/toggle.styles.js +13 -10
- package/dist/components/alert/alert/alert.d.ts +4 -3
- package/dist/components/alert/alert/alert.js +4 -3
- package/dist/components/alert/alert/alert.styles.js +57 -36
- package/dist/components/alert/drawer/drawer.styles.js +3 -3
- package/dist/components/alert/modal/modal.styles.js +6 -6
- package/dist/components/alert/toast/toast.d.ts +4 -3
- package/dist/components/alert/toast/toast.js +4 -3
- package/dist/components/alert/toast/toast.styles.js +41 -36
- package/dist/components/content/badge/badge.styles.js +1 -1
- package/dist/components/content/card/card.d.ts +4 -4
- package/dist/components/content/card/card.js +4 -4
- package/dist/components/content/card/card.styles.js +27 -10
- package/dist/components/content/card/image-card.d.ts +1 -1
- package/dist/components/content/card/image-card.js +1 -1
- package/dist/components/content/card/image-card.styles.js +17 -10
- package/dist/components/content/card/sliding-card.styles.js +3 -6
- package/dist/components/content/chip/chip.d.ts +16 -7
- package/dist/components/content/chip/chip.js +18 -6
- package/dist/components/content/chip/chip.styles.d.ts +1 -1
- package/dist/components/content/chip/chip.styles.js +43 -210
- package/dist/components/content/collapse/collapse.styles.js +10 -16
- package/dist/components/content/icon/icon.d.ts +48 -5
- package/dist/components/content/icon/icon.js +92 -20
- package/dist/components/content/icon/icon.style.js +1 -1
- package/dist/components/content/image-carousel/image-carousel.styles.js +14 -14
- package/dist/components/content/password-strength/password-strength.styles.js +7 -4
- package/dist/components/content/progress-bar/progress-bar.styles.js +9 -9
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +31 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +149 -0
- package/dist/components/content/tag/tag.d.ts +16 -6
- package/dist/components/content/tag/tag.js +19 -6
- package/dist/components/content/tag/tag.styles.d.ts +1 -1
- package/dist/components/content/tag/tag.styles.js +40 -121
- package/dist/components/content/tooltip/tooltip.d.ts +15 -4
- package/dist/components/content/tooltip/tooltip.js +21 -4
- package/dist/components/content/tooltip/tooltip.styles.js +115 -79
- package/dist/components/form/checkbox/check-card.styles.js +2 -2
- package/dist/components/form/checkbox/checkbox-list.d.ts +1 -1
- package/dist/components/form/checkbox/checkbox-list.js +1 -1
- package/dist/components/form/checkbox/checkbox.d.ts +1 -1
- package/dist/components/form/checkbox/checkbox.styles.js +6 -6
- package/dist/components/form/color-picker/color-picker.d.ts +1 -1
- package/dist/components/form/color-picker/color-picker.js +9 -7
- package/dist/components/form/color-picker/color-picker.styles.js +7 -7
- package/dist/components/form/counter/counter.d.ts +1 -1
- package/dist/components/form/counter/counter.js +3 -3
- package/dist/components/form/counter/counter.styles.js +7 -7
- package/dist/components/form/date-picker/date-picker-day-grid.styles.js +2 -2
- package/dist/components/form/date-picker/date-picker-grid.styles.js +15 -15
- package/dist/components/form/date-picker/date-picker-month-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker-year-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker.d.ts +1 -1
- package/dist/components/form/date-picker/date-picker.js +3 -3
- package/dist/components/form/date-picker/date-picker.styles.js +12 -12
- package/dist/components/form/input/input.d.ts +1 -1
- package/dist/components/form/input/input.js +2 -2
- package/dist/components/form/input-file/input-file.d.ts +1 -1
- package/dist/components/form/input-file/input-file.js +5 -5
- package/dist/components/form/input-file/input-file.styles.js +9 -9
- package/dist/components/form/input-phone/input-phone.d.ts +1 -1
- package/dist/components/form/input-phone/input-phone.js +3 -3
- package/dist/components/form/input-phone/input-phone.styles.js +7 -7
- package/dist/components/form/label/label.styles.js +4 -4
- package/dist/components/form/radio/radio-card.styles.js +1 -1
- package/dist/components/form/radio/radio-list.d.ts +1 -1
- package/dist/components/form/radio/radio-list.js +2 -2
- package/dist/components/form/radio/radio.d.ts +1 -1
- package/dist/components/form/radio/radio.styles.js +2 -2
- package/dist/components/form/search/search.styles.js +6 -6
- package/dist/components/form/select/select.d.ts +17 -1
- package/dist/components/form/select/select.js +28 -5
- package/dist/components/form/select/select.styles.js +16 -5
- package/dist/components/form/shared-styles/card.styles.js +1 -1
- package/dist/components/form/shared-styles/field.styles.js +7 -7
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/shared-styles/listbox.styles.js +6 -6
- package/dist/components/form/slider/slider.d.ts +1 -1
- package/dist/components/form/slider/slider.js +2 -2
- package/dist/components/form/slider/slider.styles.js +6 -6
- package/dist/components/form/switch/switch.d.ts +1 -1
- package/dist/components/form/switch/switch.styles.js +8 -8
- package/dist/components/form/textarea/textarea.d.ts +1 -1
- package/dist/components/form/textarea/textarea.js +4 -4
- package/dist/components/form/textarea/textarea.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-columns.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -2
- package/dist/components/form/time-picker/time-picker.d.ts +1 -1
- package/dist/components/form/time-picker/time-picker.js +3 -3
- package/dist/components/form/time-picker/time-picker.styles.js +8 -8
- package/dist/components/layout/animate/animate.d.ts +40 -5
- package/dist/components/layout/animate/animate.js +30 -11
- package/dist/components/layout/animate/animate.styles.d.ts +1 -1
- package/dist/components/layout/animate/animate.styles.js +191 -1
- package/dist/components/loader/loader/loader.styles.js +2 -2
- package/dist/components/loader/skeleton/skeleton.styles.js +8 -5
- package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +7 -0
- package/dist/components/navigation/breadcrumb/breadcrumb-item.js +15 -1
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +3 -3
- package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +1 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.js +7 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +3 -3
- package/dist/components/navigation/carousel/carousel.d.ts +40 -6
- package/dist/components/navigation/carousel/carousel.js +61 -12
- package/dist/components/navigation/carousel/carousel.styles.js +20 -8
- package/dist/components/navigation/pagination/pagination.styles.js +3 -3
- package/dist/components/navigation/sidebar/sidebar.styles.js +9 -9
- package/dist/components/navigation/stepper/step.styles.js +8 -8
- package/dist/components/navigation/stepper/stepper.styles.js +8 -8
- package/dist/components/navigation/tabs/tab/tab.styles.js +5 -5
- package/dist/components/navigation/tabs/tab-group/tab-group.d.ts +9 -0
- package/dist/components/navigation/tabs/tab-group/tab-group.js +19 -2
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +12 -4
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +24 -0
- package/dist/components/navigation/toolbar/toolbar.js +30 -2
- package/dist/components/navigation/toolbar/toolbar.styles.js +20 -10
- package/dist/events/change.event.d.ts +13 -1
- package/dist/events/change.event.js +2 -1
- package/dist/features/scheduler/calendar/calendar.js +1 -1
- package/dist/features/scheduler/calendar/calendar.styles.js +3 -3
- package/dist/features/scheduler/scheduler/scheduler.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +4 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +1 -1
- package/dist/features/table/native-table.css +11 -11
- package/dist/features/table/table/table.styles.js +2 -2
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +2 -2
- package/dist/features/table/table-cell/table-cell.styles.js +2 -2
- package/dist/features/table/table-column/table-column.styles.js +3 -3
- package/dist/features/table/table-header/table-header.styles.js +4 -4
- package/dist/features/table/table-item/table-item.styles.js +6 -6
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -3
- package/dist/jsx.d.ts +18 -5
- package/dist/mixins/button.mixin.d.ts +1 -0
- package/dist/mixins/button.mixin.js +10 -0
- package/dist/mixins/check.mixin.d.ts +1 -1
- package/dist/mixins/check.mixin.js +6 -2
- package/dist/mixins/editable.mixin.d.ts +1 -1
- package/dist/mixins/form.mixin.d.ts +9 -1
- package/dist/mixins/form.mixin.js +110 -14
- package/dist/mixins/overflow-navigation.mixin.js +2 -1
- package/dist/mixins/radio.mixin.d.ts +1 -1
- package/dist/mixins/radio.mixin.js +6 -2
- package/dist/mixins/validators.mixin.d.ts +9 -3
- package/dist/ssr/animate-ssr.css +149 -0
- package/dist/ssr/overlay-ssr.css +57 -0
- package/dist/ssr/sidebar-ssr.css +57 -0
- package/dist/ssr/toolbar-ssr.css +41 -0
- package/dist/utils/rich-text.utils.d.ts +33 -0
- package/dist/utils/rich-text.utils.js +140 -49
- package/dist/utils/theme-generator.utils.d.ts +24 -3
- package/dist/utils/theme-generator.utils.js +66 -21
- package/package.json +14 -3
- package/styles/themes/eunomia-theme.scss +1 -0
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +2 -0
- package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
- package/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
- package/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
- package/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
- package/dist/cdn/components/chunks/chunk-27Q2SLRY.js +0 -603
- package/dist/cdn/components/chunks/chunk-2IQUMAMI.js +0 -38
- package/dist/cdn/components/chunks/chunk-5TH3P53V.js +0 -16
- package/dist/cdn/components/chunks/chunk-7Q6AHVI5.js +0 -1
- package/dist/cdn/components/chunks/chunk-DENMN3WH.js +0 -48
- package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
- package/dist/cdn/components/chunks/chunk-ONYUXQV2.js +0 -1
- package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
- package/dist/components/layout/animate/animate-ssr.css +0 -64
|
@@ -50,7 +50,7 @@ const base = css `
|
|
|
50
50
|
--_padding: var(--check-card-padding, var(--eun-space-m, 16px));
|
|
51
51
|
--_borderRadius: var(
|
|
52
52
|
--check-card-border-radius,
|
|
53
|
-
var(--eun-
|
|
53
|
+
var(--eun-border-radius-m, 10px)
|
|
54
54
|
);
|
|
55
55
|
--_indicatorBackground: transparent;
|
|
56
56
|
--_indicatorBorder: var(--_borderColor);
|
|
@@ -134,7 +134,7 @@ const base = css `
|
|
|
134
134
|
align-items: center;
|
|
135
135
|
justify-content: center;
|
|
136
136
|
border: 1px solid var(--_indicatorBorder);
|
|
137
|
-
border-radius: var(--eun-
|
|
137
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
138
138
|
background: var(--_indicatorBackground);
|
|
139
139
|
color: var(--_indicatorIcon);
|
|
140
140
|
transition: all 0.15s ease;
|
|
@@ -4,7 +4,7 @@ import type { EunomiaCheckbox } from "./checkbox.js";
|
|
|
4
4
|
* Tag name of the checkbox list component.
|
|
5
5
|
*/
|
|
6
6
|
export declare const EunomiaCheckboxListTagName = "eun-checkbox-list";
|
|
7
|
-
declare const EunomiaCheckboxList_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form-label.mixin.js").FormLabelMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/readonly.mixin.js").ReadonlyMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form.mixin.js").FormMixinInterface<string[]>> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/validators.mixin.js").ValidatorsMixinInterface
|
|
7
|
+
declare const EunomiaCheckboxList_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form-label.mixin.js").FormLabelMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/readonly.mixin.js").ReadonlyMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form.mixin.js").FormMixinInterface<string[]>> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/validators.mixin.js").ValidatorsMixinInterface<string[]>> & typeof LitElement;
|
|
8
8
|
/**
|
|
9
9
|
* Groups checkbox children into a select some of many list, wrapped so
|
|
10
10
|
* the group has a single accessible name and reads as one unit to
|
|
@@ -219,7 +219,7 @@ let EunomiaCheckboxList = class EunomiaCheckboxList extends FormLabelMixin(Reado
|
|
|
219
219
|
*/
|
|
220
220
|
sendChangeEvent() {
|
|
221
221
|
this.checkValidity(this.value);
|
|
222
|
-
this.dispatchEvent(new ChangeEvent());
|
|
222
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* Handler called when slot content changes.
|
|
@@ -13,7 +13,7 @@ export declare const EunomiaCheckboxTagName = "eun-checkbox";
|
|
|
13
13
|
* Type of the checkbox base used to declare every necessary Mixin interface elements.
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
type EunomiaCheckboxBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & CheckMixinInterface;
|
|
16
|
+
type EunomiaCheckboxBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<boolean> & FormMixinInterface<string> & CheckMixinInterface;
|
|
17
17
|
/**
|
|
18
18
|
* Base class with composed mixins used to handle component extends elements type
|
|
19
19
|
* @internal
|
|
@@ -25,7 +25,7 @@ const base = css `
|
|
|
25
25
|
);
|
|
26
26
|
--_boxBackground: var(
|
|
27
27
|
--checkbox-background,
|
|
28
|
-
var(--eun-
|
|
28
|
+
var(--eun-surface-sunken, #ecedf0)
|
|
29
29
|
);
|
|
30
30
|
--_errorColor: var(
|
|
31
31
|
--checkbox-error-color,
|
|
@@ -42,7 +42,7 @@ const base = css `
|
|
|
42
42
|
);
|
|
43
43
|
--_icon: transparent;
|
|
44
44
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
45
|
-
font-size: var(--eun-
|
|
45
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
46
46
|
display: inline-flex;
|
|
47
47
|
align-items: center;
|
|
48
48
|
outline: none;
|
|
@@ -74,7 +74,7 @@ const base = css `
|
|
|
74
74
|
);
|
|
75
75
|
--_boxBackground: var(
|
|
76
76
|
--checkbox-background-hover,
|
|
77
|
-
var(--eun-
|
|
77
|
+
var(--eun-surface-sunken-hover, #edeff0)
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
:host(
|
|
@@ -89,7 +89,7 @@ const base = css `
|
|
|
89
89
|
);
|
|
90
90
|
--_boxBackground: var(
|
|
91
91
|
--checkbox-background-pressed,
|
|
92
|
-
var(--eun-
|
|
92
|
+
var(--eun-surface-sunken-pressed, #e4e6e8)
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -158,10 +158,10 @@ const base = css `
|
|
|
158
158
|
height: var(--_boxSize);
|
|
159
159
|
width: var(--_boxSize);
|
|
160
160
|
background: var(--_boxBackground);
|
|
161
|
-
border: var(--eun-
|
|
161
|
+
border: var(--eun-border-width-s, 1px) solid var(--_boxBorder);
|
|
162
162
|
border-radius: var(
|
|
163
163
|
--checkbox-border-radius,
|
|
164
|
-
var(--eun-
|
|
164
|
+
var(--eun-border-radius-s, 5px)
|
|
165
165
|
);
|
|
166
166
|
display: inline-flex;
|
|
167
167
|
align-items: center;
|
|
@@ -17,7 +17,7 @@ export declare const EunomiaColorPickerTagName = "eun-color-picker";
|
|
|
17
17
|
* interface elements.
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
type EunomiaColorPickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
20
|
+
type EunomiaColorPickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
21
21
|
declare const EunomiaColorPickerMixinBase: Constructor<EunomiaColorPickerBase>;
|
|
22
22
|
/**
|
|
23
23
|
* A field for picking a color, as a `#rrggbb` hex string. Declare preset
|
|
@@ -555,7 +555,7 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
|
|
|
555
555
|
handleSelect(value) {
|
|
556
556
|
this.value = value;
|
|
557
557
|
this.hexDraft = value;
|
|
558
|
-
this.dispatchEvent(new ChangeEvent());
|
|
558
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
559
559
|
this.closeListbox();
|
|
560
560
|
}
|
|
561
561
|
/**
|
|
@@ -775,7 +775,9 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
|
|
|
775
775
|
type="text"
|
|
776
776
|
id="hex-input"
|
|
777
777
|
aria-label=${this.hexInputLabel}
|
|
778
|
-
aria-invalid=${this.
|
|
778
|
+
aria-invalid=${!this.hideError &&
|
|
779
|
+
!this.disabled &&
|
|
780
|
+
this.hexDraftInvalid}
|
|
779
781
|
?disabled=${this.disabled}
|
|
780
782
|
?readonly=${this.readonly}
|
|
781
783
|
.value=${live(this.hexDraft)}
|
|
@@ -849,9 +851,9 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
|
|
|
849
851
|
aria-label=${this.label || this.hexInputLabel}
|
|
850
852
|
aria-describedby=${hasDescription ? "description" : nothing}
|
|
851
853
|
aria-required=${this.required ? "true" : "false"}
|
|
852
|
-
aria-invalid=${this.
|
|
853
|
-
|
|
854
|
-
|
|
854
|
+
aria-invalid=${!this.hideError &&
|
|
855
|
+
!this.disabled &&
|
|
856
|
+
(this.hexDraftInvalid || !this.valid)}
|
|
855
857
|
?disabled=${this.disabled}
|
|
856
858
|
?readonly=${this.readonly}
|
|
857
859
|
.value=${live(this.hexDraft)}
|
|
@@ -913,7 +915,7 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
|
|
|
913
915
|
aria-describedby=${hasDescription ? "description" : nothing}
|
|
914
916
|
?disabled=${this.disabled}
|
|
915
917
|
aria-required=${this.required ? "true" : "false"}
|
|
916
|
-
aria-invalid=${this.
|
|
918
|
+
aria-invalid=${!this.hideError && !this.disabled && !this.valid}
|
|
917
919
|
@click=${this.handleFieldActivate}
|
|
918
920
|
@keydown=${this.handleFieldKeydown}
|
|
919
921
|
>
|
|
@@ -986,7 +988,7 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
|
|
|
986
988
|
aria-label=${ifDefined(this.triggerAccessibleLabel)}
|
|
987
989
|
aria-describedby=${hasDescription ? "description" : nothing}
|
|
988
990
|
?disabled=${this.disabled || this.readonly}
|
|
989
|
-
aria-invalid=${this.
|
|
991
|
+
aria-invalid=${!this.hideError && !this.disabled && !this.valid}
|
|
990
992
|
.value=${live(this.value || "#000000")}
|
|
991
993
|
@input=${this.handleNativeInput}
|
|
992
994
|
/>
|
|
@@ -44,7 +44,7 @@ const colorPicker = css `
|
|
|
44
44
|
#field-arrow {
|
|
45
45
|
flex: 0 0 auto;
|
|
46
46
|
color: var(--_iconColor);
|
|
47
|
-
font-size: var(--eun-
|
|
47
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
48
48
|
transition: transform 0.15s ease;
|
|
49
49
|
}
|
|
50
50
|
#field-arrow.open {
|
|
@@ -55,8 +55,8 @@ const colorPicker = css `
|
|
|
55
55
|
display: inline-block;
|
|
56
56
|
width: var(--color-picker-swatch-size, 20px);
|
|
57
57
|
height: var(--color-picker-swatch-size, 20px);
|
|
58
|
-
border-radius: var(--eun-
|
|
59
|
-
border: var(--eun-
|
|
58
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
59
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
60
60
|
background-color: var(--_swatchColor, transparent);
|
|
61
61
|
outline: 2px solid transparent;
|
|
62
62
|
transition:
|
|
@@ -81,8 +81,8 @@ const colorPicker = css `
|
|
|
81
81
|
#swatches-label,
|
|
82
82
|
#custom-label {
|
|
83
83
|
display: block;
|
|
84
|
-
font-size: var(--eun-
|
|
85
|
-
font-weight: var(--eun-
|
|
84
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
85
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
86
86
|
color: var(--_placeholderColor);
|
|
87
87
|
text-transform: uppercase;
|
|
88
88
|
margin: 0 0 var(--eun-space-xs, 4px);
|
|
@@ -106,7 +106,7 @@ const colorPicker = css `
|
|
|
106
106
|
}
|
|
107
107
|
.swatch-button[aria-checked="true"] .swatch {
|
|
108
108
|
border-color: var(--eun-color-primary-500, #3d6fff);
|
|
109
|
-
border-width: calc(var(--eun-
|
|
109
|
+
border-width: calc(var(--eun-border-width-m, 1.5px) * 2);
|
|
110
110
|
}
|
|
111
111
|
.swatch-button:focus-visible .swatch {
|
|
112
112
|
outline-color: var(--_focusIndicator);
|
|
@@ -147,7 +147,7 @@ const colorPicker = css `
|
|
|
147
147
|
font: inherit;
|
|
148
148
|
color: var(--_textColor);
|
|
149
149
|
background-color: var(--_background);
|
|
150
|
-
border: var(--eun-
|
|
150
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
151
151
|
border-radius: var(--_borderRadius);
|
|
152
152
|
padding: var(--_padding);
|
|
153
153
|
box-sizing: border-box;
|
|
@@ -14,7 +14,7 @@ export declare const EunomiaCounterTagName = "eun-counter";
|
|
|
14
14
|
* Type of the counter base used to declare every necessary Mixin interface elements.
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
|
-
type EunomiaCounterBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<number> & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
17
|
+
type EunomiaCounterBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<number> & FormMixinInterface<number> & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
18
18
|
declare const EunomiaCounterMixinBase: Constructor<EunomiaCounterBase>;
|
|
19
19
|
/**
|
|
20
20
|
* A numeric field with increment and decrement buttons, built on a native
|
|
@@ -213,7 +213,7 @@ let EunomiaCounter = class EunomiaCounter extends EunomiaCounterMixinBase {
|
|
|
213
213
|
*/
|
|
214
214
|
commitValue(next) {
|
|
215
215
|
this.value = next;
|
|
216
|
-
this.dispatchEvent(new ChangeEvent());
|
|
216
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
219
|
* Increments or decrements the value by `step`, clamped to `min`/`max`.
|
|
@@ -246,7 +246,7 @@ let EunomiaCounter = class EunomiaCounter extends EunomiaCounterMixinBase {
|
|
|
246
246
|
const parsed = raw === "" ? undefined : Number(raw);
|
|
247
247
|
this.value =
|
|
248
248
|
parsed === undefined || Number.isNaN(parsed) ? undefined : parsed;
|
|
249
|
-
this.dispatchEvent(new ChangeEvent());
|
|
249
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
252
|
* Jumps to `min`/`max` on `Home`/`End`, the one bit of custom keyboard
|
|
@@ -313,7 +313,7 @@ let EunomiaCounter = class EunomiaCounter extends EunomiaCounterMixinBase {
|
|
|
313
313
|
max=${ifDefined(this.max)}
|
|
314
314
|
step=${this.step}
|
|
315
315
|
inputmode=${hasDecimalStep ? "decimal" : "numeric"}
|
|
316
|
-
aria-invalid=${this.
|
|
316
|
+
aria-invalid=${!this.hideError && !this.disabled && !this.valid}
|
|
317
317
|
aria-label=${ifDefined(this.label)}
|
|
318
318
|
aria-describedby=${hasDescription ? "description" : nothing}
|
|
319
319
|
@input=${this.handleInput}
|
|
@@ -39,11 +39,11 @@ const base = css `
|
|
|
39
39
|
);
|
|
40
40
|
--_borderRadius: var(
|
|
41
41
|
--counter-border-radius,
|
|
42
|
-
var(--eun-
|
|
42
|
+
var(--eun-border-radius-m, 8px)
|
|
43
43
|
);
|
|
44
44
|
--_fieldWidth: var(--counter-field-width, 3.5rem);
|
|
45
45
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
46
|
-
font-size: var(--eun-
|
|
46
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
47
47
|
display: block;
|
|
48
48
|
width: fit-content;
|
|
49
49
|
max-width: 100%;
|
|
@@ -61,7 +61,7 @@ const base = css `
|
|
|
61
61
|
display: inline-flex;
|
|
62
62
|
align-items: stretch;
|
|
63
63
|
background-color: var(--_background);
|
|
64
|
-
border: var(--eun-
|
|
64
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
65
65
|
border-radius: var(--_borderRadius);
|
|
66
66
|
outline: 1px solid transparent;
|
|
67
67
|
box-sizing: border-box;
|
|
@@ -122,11 +122,11 @@ const base = css `
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
#decrement {
|
|
125
|
-
border-inline-end: var(--eun-
|
|
125
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
#increment {
|
|
129
|
-
border-inline-start: var(--eun-
|
|
129
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
#decrement:hover:not(:disabled),
|
|
@@ -187,13 +187,13 @@ const base = css `
|
|
|
187
187
|
border-color: transparent;
|
|
188
188
|
}
|
|
189
189
|
:host([variant="fill"]) #field-wrapper:has(#field[aria-invalid="true"]) {
|
|
190
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
190
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
191
191
|
}
|
|
192
192
|
:host([variant="underline"]) #field-wrapper {
|
|
193
193
|
border: none;
|
|
194
194
|
outline: none;
|
|
195
195
|
border-radius: 0;
|
|
196
|
-
border-bottom: var(--eun-
|
|
196
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
197
197
|
}
|
|
198
198
|
:host([variant="underline"]) #field-wrapper:focus-within {
|
|
199
199
|
outline: none;
|
|
@@ -13,7 +13,7 @@ export const datePickerDayGridStyles = css `
|
|
|
13
13
|
}
|
|
14
14
|
#calendar-weekdays span {
|
|
15
15
|
color: var(--date-picker-weekday-color, var(--eun-text-secondary, #484e61));
|
|
16
|
-
font-size: var(--eun-
|
|
16
|
+
font-size: var(--eun-font-size-xxs, 10px);
|
|
17
17
|
text-align: center;
|
|
18
18
|
text-transform: uppercase;
|
|
19
19
|
}
|
|
@@ -26,7 +26,7 @@ export const datePickerDayGridStyles = css `
|
|
|
26
26
|
grid-template-columns: repeat(5, 1fr);
|
|
27
27
|
}
|
|
28
28
|
.grid-cell.cell-day {
|
|
29
|
-
--_cellRadius: var(--eun-
|
|
29
|
+
--_cellRadius: var(--eun-border-radius-full, 999px);
|
|
30
30
|
aspect-ratio: 1;
|
|
31
31
|
border-radius: var(--_cellRadius);
|
|
32
32
|
}
|
|
@@ -36,8 +36,8 @@ export const datePickerGridStyles = css `
|
|
|
36
36
|
padding-inline: var(--eun-space-xs, 4px);
|
|
37
37
|
}
|
|
38
38
|
#grid-label {
|
|
39
|
-
font-size: var(--eun-
|
|
40
|
-
font-weight: var(--eun-
|
|
39
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
40
|
+
font-weight: var(--eun-font-weight-l);
|
|
41
41
|
text-transform: capitalize;
|
|
42
42
|
}
|
|
43
43
|
button#grid-label.grid-label-button {
|
|
@@ -46,7 +46,7 @@ export const datePickerGridStyles = css `
|
|
|
46
46
|
color: inherit;
|
|
47
47
|
font: inherit;
|
|
48
48
|
padding: var(--eun-space-xxs, 1.6px) var(--eun-space-xs, 4px);
|
|
49
|
-
border-radius: var(--eun-
|
|
49
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
}
|
|
52
52
|
button#grid-label.grid-label-button:hover {
|
|
@@ -68,7 +68,7 @@ export const datePickerGridStyles = css `
|
|
|
68
68
|
width: 28px;
|
|
69
69
|
height: 28px;
|
|
70
70
|
border: none;
|
|
71
|
-
border-radius: var(--eun-
|
|
71
|
+
border-radius: var(--eun-border-radius-full, 999px);
|
|
72
72
|
background: none;
|
|
73
73
|
color: var(--eun-text-color, #071621);
|
|
74
74
|
cursor: pointer;
|
|
@@ -105,7 +105,7 @@ export const datePickerGridStyles = css `
|
|
|
105
105
|
background: none;
|
|
106
106
|
color: var(--eun-text-color, #071621);
|
|
107
107
|
font: inherit;
|
|
108
|
-
font-size: var(--eun-
|
|
108
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
109
109
|
cursor: pointer;
|
|
110
110
|
}
|
|
111
111
|
.grid-cell:hover:not(:disabled):not(.selected) {
|
|
@@ -121,8 +121,8 @@ export const datePickerGridStyles = css `
|
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
123
|
.grid-cell.today {
|
|
124
|
-
font-weight: var(--eun-
|
|
125
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
124
|
+
font-weight: var(--eun-font-weight-m);
|
|
125
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px)
|
|
126
126
|
var(--date-picker-today-color, var(--eun-color-primary-500, #3d6fff));
|
|
127
127
|
}
|
|
128
128
|
.grid-cell:disabled {
|
|
@@ -159,21 +159,21 @@ export const datePickerGridStyles = css `
|
|
|
159
159
|
.grid-cell.in-range.range-start::before {
|
|
160
160
|
border-start-start-radius: var(
|
|
161
161
|
--_cellRadius,
|
|
162
|
-
var(--eun-
|
|
162
|
+
var(--eun-border-radius-full, 999px)
|
|
163
163
|
);
|
|
164
164
|
border-end-start-radius: var(
|
|
165
165
|
--_cellRadius,
|
|
166
|
-
var(--eun-
|
|
166
|
+
var(--eun-border-radius-full, 999px)
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
.grid-cell.in-range.range-end::before {
|
|
170
170
|
border-start-end-radius: var(
|
|
171
171
|
--_cellRadius,
|
|
172
|
-
var(--eun-
|
|
172
|
+
var(--eun-border-radius-full, 999px)
|
|
173
173
|
);
|
|
174
174
|
border-end-end-radius: var(
|
|
175
175
|
--_cellRadius,
|
|
176
|
-
var(--eun-
|
|
176
|
+
var(--eun-border-radius-full, 999px)
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
179
|
.cell-label {
|
|
@@ -184,7 +184,7 @@ export const datePickerGridStyles = css `
|
|
|
184
184
|
display: flex;
|
|
185
185
|
justify-content: center;
|
|
186
186
|
padding-block-start: var(--eun-space-xs, 4px);
|
|
187
|
-
border-top: var(--eun-
|
|
187
|
+
border-top: var(--eun-border-width-s, 1px) solid
|
|
188
188
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
189
189
|
}
|
|
190
190
|
#today-button {
|
|
@@ -196,8 +196,8 @@ export const datePickerGridStyles = css `
|
|
|
196
196
|
var(--eun-color-primary-500, #3d6fff)
|
|
197
197
|
);
|
|
198
198
|
font: inherit;
|
|
199
|
-
font-size: var(--eun-
|
|
200
|
-
font-weight: var(--eun-
|
|
199
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
200
|
+
font-weight: var(--eun-font-weight-m);
|
|
201
201
|
cursor: pointer;
|
|
202
202
|
}
|
|
203
203
|
#today-button:hover {
|
|
@@ -207,6 +207,6 @@ export const datePickerGridStyles = css `
|
|
|
207
207
|
outline: 2px solid
|
|
208
208
|
var(--_focusIndicator, var(--eun-color-primary-500, #3d6fff));
|
|
209
209
|
outline-offset: 2px;
|
|
210
|
-
border-radius: var(--eun-
|
|
210
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
211
211
|
}
|
|
212
212
|
`;
|
|
@@ -11,7 +11,7 @@ export const datePickerMonthGridStyles = css `
|
|
|
11
11
|
grid-template-columns: repeat(3, 1fr);
|
|
12
12
|
}
|
|
13
13
|
.grid-cell.cell-month {
|
|
14
|
-
--_cellRadius: var(--eun-
|
|
14
|
+
--_cellRadius: var(--eun-border-radius-m, 8px);
|
|
15
15
|
min-height: 40px;
|
|
16
16
|
padding: var(--eun-space-xs, 4px);
|
|
17
17
|
border-radius: var(--_cellRadius);
|
|
@@ -11,7 +11,7 @@ export const datePickerYearGridStyles = css `
|
|
|
11
11
|
grid-template-columns: repeat(3, 1fr);
|
|
12
12
|
}
|
|
13
13
|
.grid-cell.cell-year {
|
|
14
|
-
--_cellRadius: var(--eun-
|
|
14
|
+
--_cellRadius: var(--eun-border-radius-m, 8px);
|
|
15
15
|
min-height: 40px;
|
|
16
16
|
padding: var(--eun-space-xs, 4px);
|
|
17
17
|
border-radius: var(--_cellRadius);
|
|
@@ -21,7 +21,7 @@ export declare const EunomiaDatePickerTagName = "eun-date-picker";
|
|
|
21
21
|
* interface element.
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
|
-
type EunomiaDatePickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<Date | null> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface & LocalizableMixinInterface;
|
|
24
|
+
type EunomiaDatePickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<Date | null> & FormMixinInterface<Date | null> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface & LocalizableMixinInterface;
|
|
25
25
|
declare const EunomiaDatePickerMixinBase: Constructor<EunomiaDatePickerBase>;
|
|
26
26
|
/**
|
|
27
27
|
* A date field entered across segmented numeric day, month, and year
|
|
@@ -1225,7 +1225,7 @@ let EunomiaDatePicker = EunomiaDatePicker_1 = class EunomiaDatePicker extends Eu
|
|
|
1225
1225
|
end: dateToSegments(this.stagingRange.end),
|
|
1226
1226
|
};
|
|
1227
1227
|
}
|
|
1228
|
-
this.dispatchEvent(new ChangeEvent());
|
|
1228
|
+
this.dispatchEvent(new ChangeEvent(this.mode === "single" ? this.value : this.rangeValue));
|
|
1229
1229
|
}
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Commits a directly-typed, complete value (bypassing staging entirely —
|
|
@@ -1250,7 +1250,7 @@ let EunomiaDatePicker = EunomiaDatePicker_1 = class EunomiaDatePicker extends Eu
|
|
|
1250
1250
|
else {
|
|
1251
1251
|
this.rangeValue = { ...this.rangeValue, [target]: date };
|
|
1252
1252
|
}
|
|
1253
|
-
this.dispatchEvent(new ChangeEvent());
|
|
1253
|
+
this.dispatchEvent(new ChangeEvent(target === "value" ? this.value : this.rangeValue));
|
|
1254
1254
|
if (this.isOpen || this.isModalOpen) {
|
|
1255
1255
|
this.resetStaging();
|
|
1256
1256
|
}
|
|
@@ -1301,7 +1301,7 @@ let EunomiaDatePicker = EunomiaDatePicker_1 = class EunomiaDatePicker extends Eu
|
|
|
1301
1301
|
*/
|
|
1302
1302
|
commitTypedTime(hour24, minute) {
|
|
1303
1303
|
this.value = setZonedTime(this.value ?? new Date(), this.timezone, hour24, minute);
|
|
1304
|
-
this.dispatchEvent(new ChangeEvent());
|
|
1304
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
1305
1305
|
if (this.isOpen || this.isModalOpen) {
|
|
1306
1306
|
this.resetStaging();
|
|
1307
1307
|
}
|
|
@@ -34,7 +34,7 @@ const datePicker = css `
|
|
|
34
34
|
width: 100%;
|
|
35
35
|
color: var(--_textColor);
|
|
36
36
|
background-color: var(--_background);
|
|
37
|
-
border: var(--eun-
|
|
37
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
38
38
|
border-radius: var(--_borderRadius);
|
|
39
39
|
padding: var(--eun-space-xs, 4px) var(--eun-space-xs, 4px)
|
|
40
40
|
var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
@@ -75,12 +75,12 @@ const datePicker = css `
|
|
|
75
75
|
border-color: transparent;
|
|
76
76
|
}
|
|
77
77
|
:host([variant="fill"][aria-invalid="true"]) #field-wrapper {
|
|
78
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
78
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
79
79
|
}
|
|
80
80
|
:host([variant="underline"]) #field-wrapper {
|
|
81
81
|
border: none;
|
|
82
82
|
outline: none;
|
|
83
|
-
border-bottom: var(--eun-
|
|
83
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
84
84
|
border-radius: 0;
|
|
85
85
|
}
|
|
86
86
|
:host([variant="underline"]) #field-wrapper:focus-within {
|
|
@@ -134,7 +134,7 @@ const datePicker = css `
|
|
|
134
134
|
}
|
|
135
135
|
.time-segment-group {
|
|
136
136
|
padding-inline-start: var(--eun-space-xs, 4px);
|
|
137
|
-
border-inline-start: var(--eun-
|
|
137
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
138
138
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
139
139
|
}
|
|
140
140
|
.segment-divider,
|
|
@@ -148,7 +148,7 @@ const datePicker = css `
|
|
|
148
148
|
justify-content: center;
|
|
149
149
|
margin-inline-start: auto;
|
|
150
150
|
border: none;
|
|
151
|
-
border-radius: var(--eun-
|
|
151
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
152
152
|
background: none;
|
|
153
153
|
padding: var(--eun-space-xxs, 1.6px);
|
|
154
154
|
color: var(--_iconColor);
|
|
@@ -184,7 +184,7 @@ const datePicker = css `
|
|
|
184
184
|
max-height: calc(100vh - 16px);
|
|
185
185
|
overflow: auto;
|
|
186
186
|
margin: 0;
|
|
187
|
-
border: var(--eun-
|
|
187
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
188
188
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
189
189
|
border-radius: var(--_borderRadius);
|
|
190
190
|
background: var(
|
|
@@ -213,11 +213,11 @@ const datePicker = css `
|
|
|
213
213
|
#modal-date-preview {
|
|
214
214
|
padding: var(--eun-space-m, 16px);
|
|
215
215
|
margin-block-end: var(--eun-space-s, 8px);
|
|
216
|
-
border-bottom: var(--eun-
|
|
216
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
217
217
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
218
218
|
color: var(--_textColor);
|
|
219
|
-
font-size: var(--eun-
|
|
220
|
-
font-weight: var(--eun-
|
|
219
|
+
font-size: var(--eun-font-size-l, 28px);
|
|
220
|
+
font-weight: var(--eun-font-weight-l);
|
|
221
221
|
}
|
|
222
222
|
#modal-date {
|
|
223
223
|
--modal-padding: 0;
|
|
@@ -266,21 +266,21 @@ const datePicker = css `
|
|
|
266
266
|
padding: var(--eun-space-m);
|
|
267
267
|
}
|
|
268
268
|
#time-section {
|
|
269
|
-
border-top: var(--eun-
|
|
269
|
+
border-top: var(--eun-border-width-s, 1px) solid
|
|
270
270
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
271
271
|
}
|
|
272
272
|
#timezone-label {
|
|
273
273
|
margin: 0;
|
|
274
274
|
padding-block-end: var(--eun-space-xs, 4px);
|
|
275
275
|
color: var(--_hintColor);
|
|
276
|
-
font-size: var(--eun-
|
|
276
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
277
277
|
text-align: center;
|
|
278
278
|
}
|
|
279
279
|
#popover-footer {
|
|
280
280
|
display: flex;
|
|
281
281
|
justify-content: flex-end;
|
|
282
282
|
gap: var(--eun-space-s, 8px);
|
|
283
|
-
border-top: var(--eun-
|
|
283
|
+
border-top: var(--eun-border-width-s, 1px) solid
|
|
284
284
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
285
285
|
padding: var(--eun-space-m);
|
|
286
286
|
}
|
|
@@ -20,7 +20,7 @@ export type EunomiaInputType = "text" | "email" | "number" | "tel" | "url" | "se
|
|
|
20
20
|
* Type of the input base used to declare every necessary Mixin interface elements.
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
type EunomiaInputBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
23
|
+
type EunomiaInputBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
24
24
|
declare const EunomiaInputMixinBase: Constructor<EunomiaInputBase>;
|
|
25
25
|
/**
|
|
26
26
|
* A single-line text field, supporting several native input types.
|
|
@@ -262,7 +262,7 @@ let EunomiaInput = class EunomiaInput extends EunomiaInputMixinBase {
|
|
|
262
262
|
*/
|
|
263
263
|
handleInput(event) {
|
|
264
264
|
this.value = event.target.value;
|
|
265
|
-
this.dispatchEvent(new ChangeEvent());
|
|
265
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Clears the field value.
|
|
@@ -270,7 +270,7 @@ let EunomiaInput = class EunomiaInput extends EunomiaInputMixinBase {
|
|
|
270
270
|
*/
|
|
271
271
|
handleClear() {
|
|
272
272
|
this.value = "";
|
|
273
|
-
this.dispatchEvent(new ChangeEvent());
|
|
273
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
274
274
|
this.fieldEl?.focus();
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
@@ -18,7 +18,7 @@ export type EunomiaInputFileKind = "image" | "file";
|
|
|
18
18
|
* Type of the input-file base used to declare every necessary Mixin interface elements.
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
type EunomiaInputFileBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<File[]> & FormLabelMixinInterface;
|
|
21
|
+
type EunomiaInputFileBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<File[]> & FormMixinInterface<File[]> & FormLabelMixinInterface;
|
|
22
22
|
declare const EunomiaInputFileMixinBase: Constructor<EunomiaInputFileBase>;
|
|
23
23
|
/**
|
|
24
24
|
* A file upload field with a dropzone, showing image thumbnails or generic
|
|
@@ -413,7 +413,7 @@ let EunomiaInputFile = class EunomiaInputFile extends EunomiaInputFileMixinBase
|
|
|
413
413
|
}
|
|
414
414
|
if (accepted.length) {
|
|
415
415
|
this.value = nextValue;
|
|
416
|
-
this.dispatchEvent(new ChangeEvent());
|
|
416
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
417
417
|
}
|
|
418
418
|
if (rejected.length) {
|
|
419
419
|
this.dispatchEvent(new FileRejectEvent(rejected));
|
|
@@ -445,7 +445,7 @@ let EunomiaInputFile = class EunomiaInputFile extends EunomiaInputFileMixinBase
|
|
|
445
445
|
}
|
|
446
446
|
const next = current.filter((candidate) => candidate !== file);
|
|
447
447
|
this.value = next;
|
|
448
|
-
this.dispatchEvent(new ChangeEvent());
|
|
448
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
449
449
|
this.updateComplete.then(() => {
|
|
450
450
|
if (!next.length) {
|
|
451
451
|
this.firstFocusable()?.focus();
|
|
@@ -462,7 +462,7 @@ let EunomiaInputFile = class EunomiaInputFile extends EunomiaInputFileMixinBase
|
|
|
462
462
|
removeAll() {
|
|
463
463
|
this.selected = new Set();
|
|
464
464
|
this.value = [];
|
|
465
|
-
this.dispatchEvent(new ChangeEvent());
|
|
465
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
466
466
|
this.updateComplete.then(() => this.firstFocusable()?.focus());
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
@@ -474,7 +474,7 @@ let EunomiaInputFile = class EunomiaInputFile extends EunomiaInputFileMixinBase
|
|
|
474
474
|
const next = current.filter((file) => !this.selected.has(file));
|
|
475
475
|
this.selected = new Set();
|
|
476
476
|
this.value = next;
|
|
477
|
-
this.dispatchEvent(new ChangeEvent());
|
|
477
|
+
this.dispatchEvent(new ChangeEvent(this.value));
|
|
478
478
|
this.updateComplete.then(() => this.firstFocusable()?.focus());
|
|
479
479
|
}
|
|
480
480
|
toggleSelected(file, checked) {
|
|
@@ -594,7 +594,7 @@ let EunomiaInputFile = class EunomiaInputFile extends EunomiaInputFileMixinBase
|
|
|
594
594
|
?multiple=${this.multiple}
|
|
595
595
|
?disabled=${disabled}
|
|
596
596
|
aria-label=${ifDefined(this.label)}
|
|
597
|
-
aria-invalid=${this.
|
|
597
|
+
aria-invalid=${!this.hideError && !this.disabled && !this.valid}
|
|
598
598
|
aria-describedby=${hasDescription ? "description" : nothing}
|
|
599
599
|
@change=${this.handleNativeChange}
|
|
600
600
|
/>
|