@eunomia/elements 1.0.0-beta.3 → 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-3LMI7KUA.js → chunk-2JLDJFYD.js} +1 -1
- 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-TBKKTJOX.js → chunk-GSJEJLFA.js} +3 -3
- 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-53QH6MPM.js → chunk-NHFWATVN.js} +1 -1
- 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-EAGGN3ZI.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/eun-alert.js +65 -45
- 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 +21 -12
- package/dist/cdn/components/eun-carousel.js +35 -27
- 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 -207
- package/dist/cdn/components/eun-collapse.js +13 -12
- package/dist/cdn/components/eun-color-picker.js +12 -12
- package/dist/cdn/components/eun-counter.js +8 -8
- 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 +12 -12
- package/dist/cdn/components/eun-input-phone.js +13 -13
- 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 +1 -1
- 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 +10 -10
- package/dist/cdn/components/eun-sidebar.js +9 -9
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +8 -8
- package/dist/cdn/components/eun-sliding-card.js +4 -3
- 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 -126
- package/dist/cdn/components/eun-textarea.js +22 -22
- 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 +41 -24
- package/dist/cdn/components/eun-toggle.js +11 -8
- package/dist/cdn/components/eun-toolbar.js +14 -7
- 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 +2 -0
- package/dist/components/action/button/button.js +2 -0
- package/dist/components/action/button/button.styles.js +132 -384
- 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 +161 -45
- 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 +37 -20
- package/dist/components/action/toggle/toggle.d.ts +1 -1
- package/dist/components/action/toggle/toggle.js +1 -1
- 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 +19 -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 -2
- 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 -207
- package/dist/components/content/collapse/collapse.styles.js +10 -9
- 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 -125
- 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.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.styles.js +7 -7
- package/dist/components/form/counter/counter.d.ts +1 -1
- 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.styles.js +12 -12
- package/dist/components/form/input/input.d.ts +1 -1
- package/dist/components/form/input-file/input-file.d.ts +1 -1
- 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.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.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 +1 -1
- package/dist/components/form/select/select.styles.js +6 -6
- 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.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.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.styles.js +8 -8
- 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 +19 -7
- 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 +2 -0
- package/dist/components/navigation/toolbar/toolbar.js +2 -0
- package/dist/components/navigation/toolbar/toolbar.styles.js +16 -7
- 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 +4 -4
- package/dist/index.js +5 -2
- 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/editable.mixin.d.ts +1 -1
- package/dist/mixins/form.mixin.d.ts +5 -1
- package/dist/mixins/form.mixin.js +32 -12
- package/dist/mixins/overflow-navigation.mixin.js +2 -1
- package/dist/mixins/radio.mixin.d.ts +1 -1
- package/dist/mixins/validators.mixin.d.ts +9 -3
- 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 +6 -1
- 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-5TH3P53V.js +0 -16
- package/dist/cdn/components/chunks/chunk-KNM5QHDK.js +0 -38
- package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
- package/dist/cdn/components/chunks/chunk-Z6PJYSC3.js +0 -622
- package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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.
|
|
@@ -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
|
|
@@ -49,7 +49,7 @@ const base = css `
|
|
|
49
49
|
);
|
|
50
50
|
--_borderRadius: var(
|
|
51
51
|
--input-file-border-radius,
|
|
52
|
-
var(--eun-
|
|
52
|
+
var(--eun-border-radius-m, 8px)
|
|
53
53
|
);
|
|
54
54
|
--_itemBackground: var(
|
|
55
55
|
--input-file-item-background,
|
|
@@ -59,7 +59,7 @@ const base = css `
|
|
|
59
59
|
--_gap: var(--input-file-gap, var(--eun-space-s, 8px));
|
|
60
60
|
--_thumbnailSize: var(--input-file-thumbnail-size, 96px);
|
|
61
61
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
62
|
-
font-size: var(--eun-
|
|
62
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
63
63
|
color: var(--_textColor);
|
|
64
64
|
display: block;
|
|
65
65
|
width: 100%;
|
|
@@ -92,7 +92,7 @@ const base = css `
|
|
|
92
92
|
justify-content: center;
|
|
93
93
|
gap: var(--eun-space-xs, 4px);
|
|
94
94
|
padding: var(--eun-space-l, 32px) var(--eun-space-m, 16px);
|
|
95
|
-
border: var(--eun-
|
|
95
|
+
border: var(--eun-border-width-m, 1.5px) dashed var(--_borderColor);
|
|
96
96
|
border-radius: var(--_borderRadius);
|
|
97
97
|
background-color: var(--_background);
|
|
98
98
|
text-align: center;
|
|
@@ -158,7 +158,7 @@ const base = css `
|
|
|
158
158
|
justify-content: space-between;
|
|
159
159
|
gap: var(--eun-space-s, 8px);
|
|
160
160
|
flex-wrap: wrap;
|
|
161
|
-
font-size: var(--eun-
|
|
161
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
162
162
|
color: var(--_hintColor);
|
|
163
163
|
}
|
|
164
164
|
#header-actions {
|
|
@@ -176,7 +176,7 @@ const base = css `
|
|
|
176
176
|
border: none;
|
|
177
177
|
padding: 0;
|
|
178
178
|
font: inherit;
|
|
179
|
-
font-size: var(--eun-
|
|
179
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
180
180
|
color: var(--eun-color-primary-500, #3d6fff);
|
|
181
181
|
cursor: pointer;
|
|
182
182
|
text-decoration: underline;
|
|
@@ -189,7 +189,7 @@ const base = css `
|
|
|
189
189
|
.text-button:focus-visible {
|
|
190
190
|
outline: 2px solid var(--_focusIndicator);
|
|
191
191
|
outline-offset: 2px;
|
|
192
|
-
border-radius: var(--eun-
|
|
192
|
+
border-radius: var(--eun-border-radius-xs, 4px);
|
|
193
193
|
}
|
|
194
194
|
#items {
|
|
195
195
|
display: grid;
|
|
@@ -208,7 +208,7 @@ const base = css `
|
|
|
208
208
|
position: relative;
|
|
209
209
|
display: flex;
|
|
210
210
|
background-color: var(--_itemBackground);
|
|
211
|
-
border: var(--eun-
|
|
211
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_itemBorderColor);
|
|
212
212
|
border-radius: var(--_borderRadius);
|
|
213
213
|
box-sizing: border-box;
|
|
214
214
|
cursor: pointer;
|
|
@@ -251,7 +251,7 @@ const base = css `
|
|
|
251
251
|
white-space: nowrap;
|
|
252
252
|
}
|
|
253
253
|
.item-size {
|
|
254
|
-
font-size: var(--eun-
|
|
254
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
255
255
|
color: var(--_hintColor);
|
|
256
256
|
}
|
|
257
257
|
.item-checkbox {
|
|
@@ -270,7 +270,7 @@ const base = css `
|
|
|
270
270
|
justify-content: center;
|
|
271
271
|
background: rgb(7 22 33 / 0.55);
|
|
272
272
|
border: none;
|
|
273
|
-
border-radius: var(--eun-
|
|
273
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
274
274
|
color: #fff;
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
padding: 2px;
|
|
@@ -16,7 +16,7 @@ export declare const EunomiaInputPhoneTagName = "eun-input-phone";
|
|
|
16
16
|
* interface element.
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
|
-
type EunomiaInputPhoneBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
19
|
+
type EunomiaInputPhoneBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
20
20
|
declare const EunomiaInputPhoneMixinBase: Constructor<EunomiaInputPhoneBase>;
|
|
21
21
|
/**
|
|
22
22
|
* A phone number field rendered in two adjacent parts: a compact country
|
|
@@ -43,7 +43,7 @@ const inputPhone = css `
|
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
padding: var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
45
45
|
background-color: var(--_background);
|
|
46
|
-
border: var(--eun-
|
|
46
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
47
47
|
border-inline-end: none;
|
|
48
48
|
border-radius: var(--_borderRadius) 0 0 var(--_borderRadius);
|
|
49
49
|
outline: 1px solid transparent;
|
|
@@ -64,7 +64,7 @@ const inputPhone = css `
|
|
|
64
64
|
outline-offset: 0;
|
|
65
65
|
}
|
|
66
66
|
.flag {
|
|
67
|
-
font-size: var(--eun-
|
|
67
|
+
font-size: var(--eun-font-size-m, 16px);
|
|
68
68
|
line-height: 1;
|
|
69
69
|
}
|
|
70
70
|
#field-wrapper {
|
|
@@ -77,7 +77,7 @@ const inputPhone = css `
|
|
|
77
77
|
margin-inline-start: -1px;
|
|
78
78
|
color: var(--_textColor);
|
|
79
79
|
background-color: var(--_background);
|
|
80
|
-
border: var(--eun-
|
|
80
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
81
81
|
border-radius: 0 var(--_borderRadius) var(--_borderRadius) 0;
|
|
82
82
|
outline: 1px solid transparent;
|
|
83
83
|
box-sizing: border-box;
|
|
@@ -136,7 +136,7 @@ const inputPhone = css `
|
|
|
136
136
|
border-color: transparent;
|
|
137
137
|
}
|
|
138
138
|
:host([variant="fill"]) #country-trigger {
|
|
139
|
-
border-inline-end: var(--eun-
|
|
139
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
140
140
|
var(--eun-border-color, #dee0e7);
|
|
141
141
|
}
|
|
142
142
|
:host([variant="fill"])
|
|
@@ -151,11 +151,11 @@ const inputPhone = css `
|
|
|
151
151
|
:host([variant="underline"]) #field-wrapper {
|
|
152
152
|
border: none;
|
|
153
153
|
outline: none;
|
|
154
|
-
border-bottom: var(--eun-
|
|
154
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
155
155
|
border-radius: 0;
|
|
156
156
|
}
|
|
157
157
|
:host([variant="underline"]) #country-trigger {
|
|
158
|
-
border-inline-end: var(--eun-
|
|
158
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
159
159
|
var(--eun-border-color, #dee0e7);
|
|
160
160
|
}
|
|
161
161
|
:host([variant="underline"]) #field-wrapper {
|
|
@@ -200,7 +200,7 @@ const inputPhone = css `
|
|
|
200
200
|
color: var(--_textColor);
|
|
201
201
|
background: var(--eun-content-hover, #edeff0);
|
|
202
202
|
border: none;
|
|
203
|
-
border-radius: var(--eun-
|
|
203
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
204
204
|
padding: var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
205
205
|
outline: 1px solid transparent;
|
|
206
206
|
}
|
|
@@ -13,17 +13,17 @@ const base = css `
|
|
|
13
13
|
}
|
|
14
14
|
#name {
|
|
15
15
|
color: var(--eun-text-color, #071621);
|
|
16
|
-
font-size: var(--eun-
|
|
17
|
-
font-weight: var(--eun-
|
|
16
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
17
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
18
18
|
}
|
|
19
19
|
slot[name="instructions"] {
|
|
20
20
|
display: block;
|
|
21
|
-
font-size: var(--eun-
|
|
21
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
22
22
|
color: var(--eun-text-secondary, #484e61);
|
|
23
23
|
}
|
|
24
24
|
.required {
|
|
25
25
|
color: var(--eun-color-critical-100, #aa0014);
|
|
26
|
-
font-size: var(--eun-
|
|
26
|
+
font-size: var(--eun-font-size-s, 10px);
|
|
27
27
|
}
|
|
28
28
|
`;
|
|
29
29
|
export const labelStyles = base;
|
|
@@ -50,7 +50,7 @@ const base = css `
|
|
|
50
50
|
--_padding: var(--radio-card-padding, var(--eun-space-m, 16px));
|
|
51
51
|
--_borderRadius: var(
|
|
52
52
|
--radio-card-border-radius,
|
|
53
|
-
var(--eun-
|
|
53
|
+
var(--eun-border-radius-m, 10px)
|
|
54
54
|
);
|
|
55
55
|
--_indicatorBorder: var(--_borderColor);
|
|
56
56
|
--_indicatorDot: transparent;
|
|
@@ -4,7 +4,7 @@ import type { EunomiaRadio } from "./radio.js";
|
|
|
4
4
|
* Tag name of the radio list component.
|
|
5
5
|
*/
|
|
6
6
|
export declare const EunomiaRadioListTagName = "eun-radio-list";
|
|
7
|
-
declare const EunomiaRadioList_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 | undefined>> & 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 EunomiaRadioList_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 | undefined>> & 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 | undefined>> & typeof LitElement;
|
|
8
8
|
/**
|
|
9
9
|
* Groups radio children into a select one of many field, wrapped so the
|
|
10
10
|
* group has a single accessible name and reads as one radio group to
|
|
@@ -13,7 +13,7 @@ export declare const EunomiaRadioTagName = "eun-radio";
|
|
|
13
13
|
* Type of the radio base used to declare every necessary Mixin interface elements.
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
type EunomiaRadioBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & RadioMixinInterface;
|
|
16
|
+
type EunomiaRadioBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<boolean> & FormMixinInterface<string> & RadioMixinInterface;
|
|
17
17
|
/**
|
|
18
18
|
* Base class with composed mixins used to handle component extends elements type
|
|
19
19
|
* @internal
|
|
@@ -21,7 +21,7 @@ const base = css `
|
|
|
21
21
|
--_borderColor: var(--radio-border-color, var(--eun-border-color, #dee0e7));
|
|
22
22
|
--_background: var(--radio-background, transparent);
|
|
23
23
|
--_color: var(--eun-text-color, #071621);
|
|
24
|
-
--_roundDiameter: var(--radio-size, var(--eun-
|
|
24
|
+
--_roundDiameter: var(--radio-size, var(--eun-font-size-m, 16px));
|
|
25
25
|
--_focusIndicator: var(
|
|
26
26
|
--radio-focus-outline-color,
|
|
27
27
|
var(--eun-color-primary-500, #3d6fff)
|
|
@@ -35,7 +35,7 @@ const base = css `
|
|
|
35
35
|
--_roundGap: 2px;
|
|
36
36
|
--_cursor: pointer;
|
|
37
37
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
38
|
-
font-size: var(--eun-
|
|
38
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
outline: none;
|