@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
|
@@ -11,11 +11,11 @@ const search = css `
|
|
|
11
11
|
align-items: center;
|
|
12
12
|
padding: 2px 6px;
|
|
13
13
|
font-family: inherit;
|
|
14
|
-
font-size: var(--eun-
|
|
14
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
15
15
|
color: var(--_iconColor);
|
|
16
16
|
background: var(--eun-content-hover, #edeff0);
|
|
17
|
-
border: var(--eun-
|
|
18
|
-
border-radius: var(--eun-
|
|
17
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
18
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
19
19
|
}
|
|
20
20
|
#field-wrapper #shortcut-hint {
|
|
21
21
|
position: absolute;
|
|
@@ -46,7 +46,7 @@ const search = css `
|
|
|
46
46
|
text-align: left;
|
|
47
47
|
color: var(--_textColor);
|
|
48
48
|
background-color: var(--_background);
|
|
49
|
-
border: var(--eun-
|
|
49
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
50
50
|
border-radius: var(--_borderRadius);
|
|
51
51
|
padding: var(--_padding);
|
|
52
52
|
box-sizing: border-box;
|
|
@@ -80,7 +80,7 @@ const search = css `
|
|
|
80
80
|
:host([variant="underline"]) #search-trigger {
|
|
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"]) #search-trigger:focus-visible {
|
|
@@ -106,7 +106,7 @@ const search = css `
|
|
|
106
106
|
top: 0;
|
|
107
107
|
z-index: 1;
|
|
108
108
|
background: var(--modal-background, var(--eun-surface-color, #ffffff));
|
|
109
|
-
border-bottom: var(--eun-
|
|
109
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
110
110
|
}
|
|
111
111
|
#panel-field #field-wrapper {
|
|
112
112
|
position: relative;
|
|
@@ -22,7 +22,7 @@ type SelectValue = string | string[];
|
|
|
22
22
|
* Type of the select base used to declare every necessary Mixin interface elements.
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
25
|
-
type EunomiaSelectBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<SelectValue> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
25
|
+
type EunomiaSelectBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<SelectValue> & FormMixinInterface<SelectValue> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
|
|
26
26
|
declare const EunomiaSelectMixinBase: Constructor<EunomiaSelectBase>;
|
|
27
27
|
/**
|
|
28
28
|
* A field that picks one or more values from a list of option and optgroup
|
|
@@ -27,7 +27,7 @@ const select = css `
|
|
|
27
27
|
right: var(--eun-space-m, 16px);
|
|
28
28
|
pointer-events: none;
|
|
29
29
|
color: var(--_iconColor);
|
|
30
|
-
font-size: var(--eun-
|
|
30
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
31
31
|
transition: transform 0.15s ease;
|
|
32
32
|
}
|
|
33
33
|
#select-arrow.open {
|
|
@@ -56,8 +56,8 @@ const select = css `
|
|
|
56
56
|
height: 16px;
|
|
57
57
|
margin-inline-end: var(--eun-space-xs, 4px);
|
|
58
58
|
vertical-align: -3px;
|
|
59
|
-
border: var(--eun-
|
|
60
|
-
border-radius: var(--eun-
|
|
59
|
+
border: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
60
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
61
61
|
--icon-color: transparent;
|
|
62
62
|
}
|
|
63
63
|
#listbox li.selected .option-checkbox {
|
|
@@ -71,7 +71,7 @@ const select = css `
|
|
|
71
71
|
gap: var(--eun-space-s, 8px);
|
|
72
72
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
73
73
|
cursor: default;
|
|
74
|
-
border-block-start: var(--eun-
|
|
74
|
+
border-block-start: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
75
75
|
}
|
|
76
76
|
#listbox .actions[hidden] {
|
|
77
77
|
display: none;
|
|
@@ -85,7 +85,7 @@ const select = css `
|
|
|
85
85
|
border: none;
|
|
86
86
|
background: none;
|
|
87
87
|
font: inherit;
|
|
88
|
-
font-size: var(--eun-
|
|
88
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
89
89
|
color: var(
|
|
90
90
|
--field-confirm-link-color,
|
|
91
91
|
var(--eun-color-primary-500, #3d6fff)
|
|
@@ -106,7 +106,7 @@ const select = css `
|
|
|
106
106
|
#confirm-link:focus-visible {
|
|
107
107
|
outline: 2px solid var(--_focusIndicator);
|
|
108
108
|
outline-offset: 2px;
|
|
109
|
-
border-radius: var(--eun-
|
|
109
|
+
border-radius: var(--eun-border-radius-m);
|
|
110
110
|
}
|
|
111
111
|
`;
|
|
112
112
|
export const selectStyles = [
|
|
@@ -38,14 +38,14 @@ const base = css `
|
|
|
38
38
|
--field-focus-outline-color,
|
|
39
39
|
var(--eun-color-primary-500, #3d6fff)
|
|
40
40
|
);
|
|
41
|
-
--_borderRadius: var(--field-border-radius, var(--eun-
|
|
41
|
+
--_borderRadius: var(--field-border-radius, var(--eun-border-radius-m, 8px));
|
|
42
42
|
--_padding: var(
|
|
43
43
|
--field-padding,
|
|
44
44
|
var(--eun-space-s, 8px) var(--eun-space-s, 8px)
|
|
45
45
|
);
|
|
46
46
|
--_shadow: var(--field-shadow, none);
|
|
47
47
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
48
|
-
font-size: var(--eun-
|
|
48
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
49
49
|
display: block;
|
|
50
50
|
width: 100%;
|
|
51
51
|
outline: none;
|
|
@@ -65,7 +65,7 @@ const base = css `
|
|
|
65
65
|
font: inherit;
|
|
66
66
|
color: var(--_textColor);
|
|
67
67
|
background-color: var(--_background);
|
|
68
|
-
border: var(--eun-
|
|
68
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
69
69
|
border-radius: var(--_borderRadius);
|
|
70
70
|
padding: var(--_padding);
|
|
71
71
|
outline: 1px solid transparent;
|
|
@@ -124,12 +124,12 @@ const base = css `
|
|
|
124
124
|
border-color: transparent;
|
|
125
125
|
}
|
|
126
126
|
:host([variant="fill"]) #field[aria-invalid="true"] {
|
|
127
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
127
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
128
128
|
}
|
|
129
129
|
:host([variant="underline"]) #field {
|
|
130
130
|
border: none;
|
|
131
131
|
outline: none;
|
|
132
|
-
border-bottom: var(--eun-
|
|
132
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
133
133
|
border-radius: 0;
|
|
134
134
|
}
|
|
135
135
|
:host([variant="underline"]) #field:focus-visible {
|
|
@@ -168,11 +168,11 @@ const base = css `
|
|
|
168
168
|
#password-toggle:focus-visible {
|
|
169
169
|
outline: 2px solid var(--_focusIndicator);
|
|
170
170
|
outline-offset: 2px;
|
|
171
|
-
border-radius: var(--eun-
|
|
171
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
172
172
|
}
|
|
173
173
|
#readonly-display {
|
|
174
174
|
padding: var(--_padding);
|
|
175
|
-
border: var(--eun-
|
|
175
|
+
border: var(--eun-border-width-m, 1.5px) solid transparent;
|
|
176
176
|
border-radius: var(--_borderRadius);
|
|
177
177
|
box-sizing: border-box;
|
|
178
178
|
cursor: text;
|
|
@@ -4,7 +4,7 @@ const base = css `
|
|
|
4
4
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
5
5
|
display: block;
|
|
6
6
|
margin-block-start: var(--eun-space-xs, 4px);
|
|
7
|
-
font-size: var(--eun-
|
|
7
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
8
8
|
margin-block: 0;
|
|
9
9
|
}
|
|
10
10
|
#description span {
|
|
@@ -39,10 +39,10 @@ const listbox = css `
|
|
|
39
39
|
max-height: var(--field-listbox-max-height, 260px);
|
|
40
40
|
overflow-y: auto;
|
|
41
41
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
42
|
-
font-size: var(--eun-
|
|
42
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
43
43
|
color: var(--_textColor);
|
|
44
44
|
background: var(--eun-surface-color, #ffffff);
|
|
45
|
-
border: var(--eun-
|
|
45
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
46
46
|
border-radius: var(--_borderRadius);
|
|
47
47
|
box-shadow: var(
|
|
48
48
|
--eun-shadow-m,
|
|
@@ -74,13 +74,13 @@ const listbox = css `
|
|
|
74
74
|
background: var(--eun-content-hover, #edeff0);
|
|
75
75
|
}
|
|
76
76
|
#listbox li.selected {
|
|
77
|
-
font-weight: var(--eun-
|
|
77
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
78
78
|
color: var(--eun-color-primary-500, #3d6fff);
|
|
79
79
|
}
|
|
80
80
|
#listbox li mark {
|
|
81
81
|
background: var(--field-match-background, none);
|
|
82
82
|
color: var(--field-match-color, var(--eun-color-primary-500, #3d6fff));
|
|
83
|
-
font-weight: var(--field-match-font-weight, var(--eun-
|
|
83
|
+
font-weight: var(--field-match-font-weight, var(--eun-font-weight-l, 700));
|
|
84
84
|
text-decoration: var(--field-match-text-decoration, none);
|
|
85
85
|
}
|
|
86
86
|
#listbox .no-results,
|
|
@@ -92,8 +92,8 @@ const listbox = css `
|
|
|
92
92
|
#listbox .group-label {
|
|
93
93
|
cursor: default;
|
|
94
94
|
padding-block-end: var(--eun-space-xxs, 1.6px);
|
|
95
|
-
font-size: var(--eun-
|
|
96
|
-
font-weight: var(--eun-
|
|
95
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
96
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
97
97
|
color: var(--_placeholderColor);
|
|
98
98
|
text-transform: uppercase;
|
|
99
99
|
}
|
|
@@ -13,7 +13,7 @@ export declare const EunomiaSliderTagName = "eun-slider";
|
|
|
13
13
|
* Type of the slider base used to declare every necessary Mixin interface elements.
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
type EunomiaSliderBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<number> & FormLabelMixinInterface;
|
|
16
|
+
type EunomiaSliderBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<number> & FormMixinInterface<number> & FormLabelMixinInterface;
|
|
17
17
|
declare const EunomiaSliderMixinBase: Constructor<EunomiaSliderBase>;
|
|
18
18
|
/**
|
|
19
19
|
* A form-associated control for picking a single numeric value out of a
|
|
@@ -26,7 +26,7 @@ const base = css `
|
|
|
26
26
|
--_trackHeight: var(--slider-track-height, 6px);
|
|
27
27
|
--_trackColor: var(
|
|
28
28
|
--slider-track-background,
|
|
29
|
-
var(--eun-
|
|
29
|
+
var(--eun-surface-sunken-strong, #ecedf0)
|
|
30
30
|
);
|
|
31
31
|
--_fillColor: var(
|
|
32
32
|
--slider-track-fill-background,
|
|
@@ -34,7 +34,7 @@ const base = css `
|
|
|
34
34
|
);
|
|
35
35
|
--_trackRadius: var(
|
|
36
36
|
--slider-track-border-radius,
|
|
37
|
-
var(--eun-
|
|
37
|
+
var(--eun-border-radius-xl, 999px)
|
|
38
38
|
);
|
|
39
39
|
--_thumbSize: var(--slider-thumb-size, 18px);
|
|
40
40
|
--_thumbBackground: var(--slider-thumb-background, #fff);
|
|
@@ -62,7 +62,7 @@ const base = css `
|
|
|
62
62
|
var(--eun-color-primary-500, #3d6fff)
|
|
63
63
|
);
|
|
64
64
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
65
|
-
font-size: var(--eun-
|
|
65
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
66
66
|
display: block;
|
|
67
67
|
width: 100%;
|
|
68
68
|
outline: none;
|
|
@@ -113,12 +113,12 @@ const base = css `
|
|
|
113
113
|
transform: translateX(-50%);
|
|
114
114
|
background: var(--_tooltipBackground);
|
|
115
115
|
color: var(--_tooltipColor);
|
|
116
|
-
font-size: var(--eun-
|
|
117
|
-
font-weight: var(--eun-
|
|
116
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
117
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
118
118
|
line-height: 1;
|
|
119
119
|
white-space: nowrap;
|
|
120
120
|
padding: var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
121
|
-
border-radius: var(--eun-
|
|
121
|
+
border-radius: var(--eun-border-radius-s, 4px);
|
|
122
122
|
pointer-events: none;
|
|
123
123
|
font-variant-numeric: tabular-nums;
|
|
124
124
|
}
|
|
@@ -13,7 +13,7 @@ export declare const EunomiaSwitchTagName = "eun-switch";
|
|
|
13
13
|
* Type of the switch base used to declare every necessary Mixin interface elements.
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
type EunomiaSwitchBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & CheckMixinInterface;
|
|
16
|
+
type EunomiaSwitchBase = 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
|
* Reuses the exact same behavior stack as `eun-checkbox` (form participation,
|
|
@@ -23,7 +23,7 @@ const base = css `
|
|
|
23
23
|
--_trackBorder: var(--eun-border-color, #dee0e7);
|
|
24
24
|
--_trackBackground: var(
|
|
25
25
|
--switch-track-background,
|
|
26
|
-
var(--eun-
|
|
26
|
+
var(--eun-surface-sunken, #ecedf0)
|
|
27
27
|
);
|
|
28
28
|
--_thumbSize: var(--switch-thumb-size, calc(var(--_trackHeight) - 6px));
|
|
29
29
|
--_thumbBackground: var(--switch-thumb-background, #fff);
|
|
@@ -37,9 +37,9 @@ const base = css `
|
|
|
37
37
|
--switch-focus-outline-color,
|
|
38
38
|
var(--eun-color-primary-500, #3d6fff)
|
|
39
39
|
);
|
|
40
|
-
--_trackBorderWidth: var(--eun-
|
|
40
|
+
--_trackBorderWidth: var(--eun-border-width-s, 1px);
|
|
41
41
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
42
|
-
font-size: var(--eun-
|
|
42
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
43
43
|
display: flex;
|
|
44
44
|
width: 100%;
|
|
45
45
|
outline: none;
|
|
@@ -70,7 +70,7 @@ const base = css `
|
|
|
70
70
|
#track {
|
|
71
71
|
--_trackBackground: var(
|
|
72
72
|
--switch-track-background-hover,
|
|
73
|
-
var(--eun-
|
|
73
|
+
var(--eun-surface-sunken-hover, #edeff0)
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ const base = css `
|
|
|
82
82
|
#track {
|
|
83
83
|
--_trackBackground: var(
|
|
84
84
|
--switch-track-background-pressed,
|
|
85
|
-
var(--eun-
|
|
85
|
+
var(--eun-surface-sunken-pressed, #e4e6e8)
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -147,7 +147,7 @@ const base = css `
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
#label-text {
|
|
150
|
-
font-weight: var(--eun-
|
|
150
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
151
151
|
line-height: 1.2;
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -161,7 +161,7 @@ const base = css `
|
|
|
161
161
|
height: var(--_trackHeight);
|
|
162
162
|
background: var(--_trackBackground);
|
|
163
163
|
border: var(--_trackBorderWidth) solid var(--_trackBorder);
|
|
164
|
-
border-radius: var(--eun-
|
|
164
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
165
165
|
flex-shrink: 0;
|
|
166
166
|
box-sizing: border-box;
|
|
167
167
|
outline: 2px solid transparent;
|
|
@@ -178,7 +178,7 @@ const base = css `
|
|
|
178
178
|
width: var(--_thumbSize);
|
|
179
179
|
height: var(--_thumbSize);
|
|
180
180
|
background: var(--_thumbBackground);
|
|
181
|
-
border-radius: var(--eun-
|
|
181
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
182
182
|
box-shadow: var(--eun-shadow-xs, 0 1px 3px rgba(0, 0, 0, 0.18));
|
|
183
183
|
display: flex;
|
|
184
184
|
align-items: center;
|
|
@@ -15,7 +15,7 @@ export declare const EunomiaTextareaTagName = "eun-textarea";
|
|
|
15
15
|
* Type of the textarea base used to declare every necessary Mixin interface elements.
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
|
-
type EunomiaTextareaBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
18
|
+
type EunomiaTextareaBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface;
|
|
19
19
|
declare const EunomiaTextareaMixinBase: Constructor<EunomiaTextareaBase>;
|
|
20
20
|
/**
|
|
21
21
|
* A multi-line text field, sharing its label, hint, and error chrome and
|
|
@@ -72,12 +72,12 @@ const textarea = css `
|
|
|
72
72
|
width: 2rem;
|
|
73
73
|
height: 2rem;
|
|
74
74
|
padding: 0;
|
|
75
|
-
border: var(--eun-
|
|
75
|
+
border: var(--eun-border-width-m, 1.5px) solid
|
|
76
76
|
var(
|
|
77
77
|
--_border-indicator-color,
|
|
78
78
|
var(--field-border-color, var(--eun-border-color, #dee0e7))
|
|
79
79
|
);
|
|
80
|
-
border-radius: var(--eun-
|
|
80
|
+
border-radius: var(--eun-border-radius-m, 8px);
|
|
81
81
|
background: none;
|
|
82
82
|
color: var(--_iconColor, var(--eun-text-secondary, #484e61));
|
|
83
83
|
cursor: pointer;
|
|
@@ -104,9 +104,9 @@ const textarea = css `
|
|
|
104
104
|
left: 0;
|
|
105
105
|
margin: 0;
|
|
106
106
|
padding: var(--eun-space-xs, 4px);
|
|
107
|
-
border: var(--eun-
|
|
107
|
+
border: var(--eun-border-width-m, 1.5px) solid
|
|
108
108
|
var(--eun-border-color, #dee0e7);
|
|
109
|
-
border-radius: var(--eun-
|
|
109
|
+
border-radius: var(--eun-border-radius-m, 8px);
|
|
110
110
|
background: var(--eun-surface-color, #ffffff);
|
|
111
111
|
box-shadow: var(--eun-shadow-m, 0 4px 16px rgba(0, 0, 0, 0.12));
|
|
112
112
|
display: grid;
|
|
@@ -120,7 +120,7 @@ const textarea = css `
|
|
|
120
120
|
width: 1.75rem;
|
|
121
121
|
height: 1.75rem;
|
|
122
122
|
padding: 0;
|
|
123
|
-
border-radius: var(--eun-
|
|
123
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
124
124
|
border: 2px solid transparent;
|
|
125
125
|
background-color: var(--_swatch-bg);
|
|
126
126
|
cursor: pointer;
|
|
@@ -149,7 +149,7 @@ const textarea = css `
|
|
|
149
149
|
flex: 0 0 auto;
|
|
150
150
|
margin-inline-start: auto;
|
|
151
151
|
white-space: nowrap;
|
|
152
|
-
font-size: var(--eun-
|
|
152
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
153
153
|
color: var(--_hintColor, var(--eun-text-secondary, #484e61));
|
|
154
154
|
}
|
|
155
155
|
#char-count[data-exceeded] {
|
|
@@ -31,7 +31,7 @@ const timePickerColumns = css `
|
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: center;
|
|
33
33
|
border: none;
|
|
34
|
-
border-radius: var(--eun-
|
|
34
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
35
35
|
background: none;
|
|
36
36
|
padding: var(--eun-space-xxs, 1.6px);
|
|
37
37
|
color: var(--_iconColor, var(--eun-text-secondary, #484e61));
|
|
@@ -54,14 +54,14 @@ const timePickerColumns = css `
|
|
|
54
54
|
align-items: center;
|
|
55
55
|
justify-content: center;
|
|
56
56
|
min-width: 48px;
|
|
57
|
-
font-size: var(--eun-
|
|
58
|
-
font-weight: var(--eun-
|
|
57
|
+
font-size: var(--eun-font-size-l, 24px);
|
|
58
|
+
font-weight: var(--eun-font-weight-m, 600);
|
|
59
59
|
color: var(--_textColor, var(--eun-text-color, #071621));
|
|
60
60
|
font-variant-numeric: tabular-nums;
|
|
61
61
|
}
|
|
62
62
|
.tp-value {
|
|
63
63
|
padding: var(--eun-space-xs, 4px);
|
|
64
|
-
border-radius: var(--eun-
|
|
64
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
65
65
|
outline: 2px solid transparent;
|
|
66
66
|
outline-offset: 2px;
|
|
67
67
|
cursor: default;
|
|
@@ -81,7 +81,7 @@ const timePickerColumns = css `
|
|
|
81
81
|
scrollbar-width: none;
|
|
82
82
|
outline: 2px solid transparent;
|
|
83
83
|
outline-offset: 2px;
|
|
84
|
-
border-radius: var(--eun-
|
|
84
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
85
85
|
}
|
|
86
86
|
.tp-wheel::-webkit-scrollbar {
|
|
87
87
|
display: none;
|
|
@@ -113,7 +113,7 @@ const timePickerColumns = css `
|
|
|
113
113
|
}
|
|
114
114
|
.tp-wheel-item.selected {
|
|
115
115
|
color: var(--_textColor, var(--eun-text-color, #071621));
|
|
116
|
-
font-weight: var(--eun-
|
|
116
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
119
|
.tp-wheel {
|
|
@@ -19,7 +19,7 @@ const timePickerList = css `
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
border: none;
|
|
22
|
-
border-radius: var(--eun-
|
|
22
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
23
23
|
background: none;
|
|
24
24
|
padding: var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
25
25
|
color: var(--_textColor, var(--eun-text-color, #071621));
|
|
@@ -49,7 +49,7 @@ const timePickerList = css `
|
|
|
49
49
|
--time-picker-selected-color,
|
|
50
50
|
var(--eun-color-primary-700, #3662e0)
|
|
51
51
|
);
|
|
52
|
-
font-weight: var(--eun-
|
|
52
|
+
font-weight: var(--eun-font-weight-m, 600);
|
|
53
53
|
}
|
|
54
54
|
.tp-list-item:disabled {
|
|
55
55
|
cursor: not-allowed;
|
|
@@ -19,7 +19,7 @@ export declare const EunomiaTimePickerTagName = "eun-time-picker";
|
|
|
19
19
|
* interface element.
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
|
-
type EunomiaTimePickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<Date | null> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface & LocalizableMixinInterface;
|
|
22
|
+
type EunomiaTimePickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<Date | null> & FormMixinInterface<Date | null> & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface & LocalizableMixinInterface;
|
|
23
23
|
declare const EunomiaTimePickerMixinBase: Constructor<EunomiaTimePickerBase>;
|
|
24
24
|
/**
|
|
25
25
|
* A time field entered across segmented numeric hour and minute inputs,
|
|
@@ -21,7 +21,7 @@ const timePicker = css `
|
|
|
21
21
|
width: 100%;
|
|
22
22
|
color: var(--_textColor);
|
|
23
23
|
background-color: var(--_background);
|
|
24
|
-
border: var(--eun-
|
|
24
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
25
25
|
border-radius: var(--_borderRadius);
|
|
26
26
|
padding: var(--eun-space-xs, 4px) var(--eun-space-xs, 4px)
|
|
27
27
|
var(--eun-space-xs, 4px) var(--eun-space-s, 8px);
|
|
@@ -62,12 +62,12 @@ const timePicker = css `
|
|
|
62
62
|
border-color: transparent;
|
|
63
63
|
}
|
|
64
64
|
:host([variant="fill"][aria-invalid="true"]) #field-wrapper {
|
|
65
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
65
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
66
66
|
}
|
|
67
67
|
:host([variant="underline"]) #field-wrapper {
|
|
68
68
|
border: none;
|
|
69
69
|
outline: none;
|
|
70
|
-
border-bottom: var(--eun-
|
|
70
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
71
71
|
border-radius: 0;
|
|
72
72
|
}
|
|
73
73
|
:host([variant="underline"]) #field-wrapper:focus-within {
|
|
@@ -114,7 +114,7 @@ const timePicker = css `
|
|
|
114
114
|
justify-content: center;
|
|
115
115
|
margin-inline-start: auto;
|
|
116
116
|
border: none;
|
|
117
|
-
border-radius: var(--eun-
|
|
117
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
118
118
|
background: none;
|
|
119
119
|
padding: var(--eun-space-xxs, 1.6px);
|
|
120
120
|
color: var(--_iconColor);
|
|
@@ -144,14 +144,14 @@ const timePicker = css `
|
|
|
144
144
|
#timezone-label {
|
|
145
145
|
margin-block-start: var(--eun-space-xxs, 1.6px);
|
|
146
146
|
color: var(--_hintColor);
|
|
147
|
-
font-size: var(--eun-
|
|
147
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
148
148
|
}
|
|
149
149
|
#clock-popover {
|
|
150
150
|
position: fixed;
|
|
151
151
|
top: var(--_anchorTop, 0);
|
|
152
152
|
left: var(--_anchorLeft, 0);
|
|
153
153
|
margin: 0;
|
|
154
|
-
border: var(--eun-
|
|
154
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
155
155
|
var(--_borderColor, var(--eun-color-grey-300, #dee0e7));
|
|
156
156
|
border-radius: var(--_borderRadius);
|
|
157
157
|
background: var(
|
|
@@ -180,8 +180,8 @@ const timePicker = css `
|
|
|
180
180
|
#modal-time-heading {
|
|
181
181
|
padding: var(--eun-space-m, 16px) var(--eun-space-m, 16px) 0;
|
|
182
182
|
color: var(--_textColor);
|
|
183
|
-
font-size: var(--eun-
|
|
184
|
-
font-weight: var(--eun-
|
|
183
|
+
font-size: var(--eun-font-size-l, 20px);
|
|
184
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
185
185
|
}
|
|
186
186
|
#modal-time {
|
|
187
187
|
--modal-padding: 0;
|
|
@@ -100,11 +100,11 @@ const bar = css `
|
|
|
100
100
|
overflow: hidden;
|
|
101
101
|
border-radius: var(
|
|
102
102
|
--loader-bar-border-radius,
|
|
103
|
-
var(--eun-
|
|
103
|
+
var(--eun-border-radius-full, 999px)
|
|
104
104
|
);
|
|
105
105
|
background: var(
|
|
106
106
|
--loader-bar-track-color,
|
|
107
|
-
var(--eun-
|
|
107
|
+
var(--eun-surface-sunken-strong, #ecedf0)
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -9,10 +9,13 @@ import { css } from "lit";
|
|
|
9
9
|
*/
|
|
10
10
|
export const skeletonStyles = css `
|
|
11
11
|
:host {
|
|
12
|
-
--_color: var(
|
|
12
|
+
--_color: var(
|
|
13
|
+
--skeleton-color,
|
|
14
|
+
var(--eun-surface-sunken-strong, #ecedf0)
|
|
15
|
+
);
|
|
13
16
|
--_highlight: var(
|
|
14
17
|
--skeleton-highlight-color,
|
|
15
|
-
var(--eun-
|
|
18
|
+
var(--eun-surface-sunken, #f7f8fa)
|
|
16
19
|
);
|
|
17
20
|
display: block;
|
|
18
21
|
width: 100%;
|
|
@@ -31,16 +34,16 @@ export const skeletonStyles = css `
|
|
|
31
34
|
animation: eun-skeleton-shimmer 1.6s ease-in-out infinite;
|
|
32
35
|
border-radius: var(
|
|
33
36
|
--skeleton-border-radius,
|
|
34
|
-
var(--eun-
|
|
37
|
+
var(--eun-border-radius-m, 8px)
|
|
35
38
|
);
|
|
36
39
|
}
|
|
37
40
|
:host([variant="circle"]) span {
|
|
38
|
-
border-radius: var(--eun-
|
|
41
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
39
42
|
}
|
|
40
43
|
:host([variant="text"]) span {
|
|
41
44
|
border-radius: var(
|
|
42
45
|
--skeleton-border-radius,
|
|
43
|
-
var(--eun-
|
|
46
|
+
var(--eun-border-radius-s, 5px)
|
|
44
47
|
);
|
|
45
48
|
}
|
|
46
49
|
@keyframes eun-skeleton-shimmer {
|
|
@@ -17,6 +17,7 @@ export declare const EunomiaBreadcrumbItemTagName = "eun-breadcrumb-item";
|
|
|
17
17
|
* @prop {string} [href] - The URL this step links to. Renders as plain, unlinked text when unset, such as a category that groups pages but isn't itself a page
|
|
18
18
|
* @prop {boolean} [current=false] - Marks this as the trail's current, unlinked page, regardless of href
|
|
19
19
|
* @prop {EunomiaIconName} [icon] - An optional leading icon shown before the slotted label. Purely decorative, so it never substitutes for the label's own visible text
|
|
20
|
+
* @fires {NavigationEvent} eunnavigate - Fired before following the step's link, so a client-side router can intercept the navigation. Cancelable
|
|
20
21
|
* @element eun-breadcrumb-item
|
|
21
22
|
*/
|
|
22
23
|
export declare class EunomiaBreadcrumbItem extends LitElement {
|
|
@@ -60,6 +61,12 @@ export declare class EunomiaBreadcrumbItem extends LitElement {
|
|
|
60
61
|
* @private
|
|
61
62
|
*/
|
|
62
63
|
private handleIconSlotChange;
|
|
64
|
+
/**
|
|
65
|
+
* Dispatches `eunnavigate` before the browser follows the link, so an
|
|
66
|
+
* SPA router can take over the navigation.
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
private handleClick;
|
|
63
70
|
connectedCallback(): void;
|
|
64
71
|
render(): TemplateResult;
|
|
65
72
|
}
|
|
@@ -9,6 +9,7 @@ import { html, LitElement, nothing } from "lit";
|
|
|
9
9
|
import { classMap } from "lit/directives/class-map.js";
|
|
10
10
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
11
|
import { breadcrumbItemStyles } from "./breadcrumb-item.styles.js";
|
|
12
|
+
import { handleLinkNavigation } from "../../../utils/navigation.utils.js";
|
|
12
13
|
/**
|
|
13
14
|
* Tag name of the breadcrumb item component.
|
|
14
15
|
*/
|
|
@@ -26,6 +27,7 @@ export const EunomiaBreadcrumbItemTagName = "eun-breadcrumb-item";
|
|
|
26
27
|
* @prop {string} [href] - The URL this step links to. Renders as plain, unlinked text when unset, such as a category that groups pages but isn't itself a page
|
|
27
28
|
* @prop {boolean} [current=false] - Marks this as the trail's current, unlinked page, regardless of href
|
|
28
29
|
* @prop {EunomiaIconName} [icon] - An optional leading icon shown before the slotted label. Purely decorative, so it never substitutes for the label's own visible text
|
|
30
|
+
* @fires {NavigationEvent} eunnavigate - Fired before following the step's link, so a client-side router can intercept the navigation. Cancelable
|
|
29
31
|
* @element eun-breadcrumb-item
|
|
30
32
|
*/
|
|
31
33
|
let EunomiaBreadcrumbItem = class EunomiaBreadcrumbItem extends LitElement {
|
|
@@ -47,6 +49,14 @@ let EunomiaBreadcrumbItem = class EunomiaBreadcrumbItem extends LitElement {
|
|
|
47
49
|
this.requestUpdate();
|
|
48
50
|
};
|
|
49
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Dispatches `eunnavigate` before the browser follows the link, so an
|
|
54
|
+
* SPA router can take over the navigation.
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
handleClick(event) {
|
|
58
|
+
handleLinkNavigation(this, event, this.href);
|
|
59
|
+
}
|
|
50
60
|
connectedCallback() {
|
|
51
61
|
super.connectedCallback?.();
|
|
52
62
|
if (!this.hasAttribute("role")) {
|
|
@@ -75,7 +85,11 @@ let EunomiaBreadcrumbItem = class EunomiaBreadcrumbItem extends LitElement {
|
|
|
75
85
|
></span>`;
|
|
76
86
|
}
|
|
77
87
|
else if (this.href) {
|
|
78
|
-
label = html `<a
|
|
88
|
+
label = html `<a
|
|
89
|
+
id="label"
|
|
90
|
+
href=${this.href}
|
|
91
|
+
aria-label=${ariaLabel}
|
|
92
|
+
@click=${this.handleClick}
|
|
79
93
|
>${icon}<slot></slot
|
|
80
94
|
></a>`;
|
|
81
95
|
}
|