@eunomia/elements 1.0.0-beta.3 → 1.0.0-beta.5
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-EAGGN3ZI.js → chunk-2XASWWKR.js} +9 -9
- package/dist/cdn/components/chunks/chunk-32DTNR52.js +1 -0
- package/dist/cdn/components/chunks/chunk-3MTUVMM5.js +1 -0
- package/dist/cdn/components/chunks/chunk-5GKM5DIB.js +1 -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-TBKKTJOX.js → chunk-6ETDXUH2.js} +3 -3
- 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-NEYBPT3D.js → chunk-AIS3UICU.js} +9 -9
- package/dist/cdn/components/chunks/{chunk-LJYTHDZP.js → chunk-D2M4BV5Y.js} +6 -6
- package/dist/cdn/components/chunks/chunk-DKOPI7QA.js +415 -0
- package/dist/cdn/components/chunks/{chunk-53QH6MPM.js → chunk-EAKYD33D.js} +3 -3
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +1 -0
- package/dist/cdn/components/chunks/{chunk-BYBUXKXC.js → chunk-IDKZKLJR.js} +7 -7
- package/dist/cdn/components/chunks/chunk-JRGM3W7I.js +53 -0
- package/dist/cdn/components/chunks/{chunk-RWONCXTF.js → chunk-KVYUNKUO.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-6UPI7GHJ.js → chunk-L65WUTXM.js} +12 -12
- package/dist/cdn/components/chunks/chunk-LFCXUVDO.js +1 -0
- package/dist/cdn/components/chunks/chunk-LGLQ36QB.js +16 -0
- package/dist/cdn/components/chunks/chunk-MPQP4R54.js +263 -0
- package/dist/cdn/components/chunks/{chunk-ON42P6FI.js → chunk-NBIENHLV.js} +6 -6
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +38 -0
- package/dist/cdn/components/chunks/chunk-OW7XKDCH.js +124 -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-5C7YND22.js → chunk-S2UCEWNG.js} +8 -8
- package/dist/cdn/components/chunks/{chunk-5RCCZVFZ.js → chunk-SD2WHGPF.js} +7 -6
- package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-6IILPCSQ.js → chunk-X2AUBZD2.js} +3 -3
- package/dist/cdn/components/eun-alert.js +65 -45
- package/dist/cdn/components/eun-animate.js +5 -3
- package/dist/cdn/components/eun-badge.js +8 -8
- 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 +20 -20
- package/dist/cdn/components/eun-card.js +61 -13
- 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 +49 -29
- package/dist/cdn/components/eun-color-picker.js +13 -13
- package/dist/cdn/components/eun-counter.js +15 -15
- package/dist/cdn/components/eun-date-picker.js +62 -62
- package/dist/cdn/components/eun-drawer.js +12 -12
- 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 +18 -18
- 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 +28 -28
- 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 +134 -18
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +21 -21
- 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 +9 -9
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +26 -26
- package/dist/cdn/components/eun-search.js +21 -21
- 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 +23 -23
- package/dist/cdn/components/eun-time-picker.js +32 -32
- package/dist/cdn/components/eun-toast.js +40 -36
- package/dist/cdn/components/eun-toggle-group.js +213 -72
- package/dist/cdn/components/eun-toggle-item.js +49 -30
- package/dist/cdn/components/eun-toggle.js +12 -9
- package/dist/cdn/components/eun-toolbar.js +15 -8
- 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 +44 -15
- package/dist/components/action/button/button.js +100 -20
- package/dist/components/action/button/button.styles.js +179 -393
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +13 -6
- package/dist/components/action/dropdown-button/dropdown-button.js +16 -5
- 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 +7 -4
- package/dist/components/action/fab/fab.js +11 -6
- package/dist/components/action/fab/fab.styles.js +26 -49
- package/dist/components/action/link/link.d.ts +115 -6
- package/dist/components/action/link/link.js +245 -21
- package/dist/components/action/link/link.styles.js +105 -3
- 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 +55 -11
- package/dist/components/action/toggle/toggle-group.js +193 -52
- package/dist/components/action/toggle/toggle-group.styles.d.ts +7 -5
- package/dist/components/action/toggle/toggle-group.styles.js +166 -41
- package/dist/components/action/toggle/toggle-item.d.ts +4 -4
- package/dist/components/action/toggle/toggle-item.js +2 -2
- package/dist/components/action/toggle/toggle-item.styles.js +45 -26
- 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.js +1 -1
- package/dist/components/alert/drawer/drawer.styles.js +3 -3
- package/dist/components/alert/modal/modal.d.ts +8 -8
- package/dist/components/alert/modal/modal.js +11 -11
- 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.d.ts +6 -6
- package/dist/components/content/badge/badge.js +4 -4
- package/dist/components/content/badge/badge.styles.js +5 -5
- package/dist/components/content/card/card.d.ts +36 -8
- package/dist/components/content/card/card.js +68 -8
- package/dist/components/content/card/card.styles.js +52 -11
- package/dist/components/content/card/image-card.d.ts +3 -2
- package/dist/components/content/card/image-card.js +2 -1
- package/dist/components/content/card/image-card.styles.js +17 -10
- package/dist/components/content/card/sliding-card.d.ts +2 -1
- package/dist/components/content/card/sliding-card.js +1 -0
- 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.d.ts +29 -11
- package/dist/components/content/collapse/collapse.js +53 -23
- package/dist/components/content/collapse/collapse.styles.js +23 -9
- package/dist/components/content/icon/icon.d.ts +12 -2
- package/dist/components/content/icon/icon.js +52 -22
- package/dist/components/content/icon/icon.style.d.ts +2 -0
- package/dist/components/content/icon/icon.style.js +5 -2
- 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/card-link.styles.js +1 -0
- 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 +3 -3
- package/dist/components/form/color-picker/color-picker.js +4 -4
- package/dist/components/form/color-picker/color-picker.styles.js +7 -7
- package/dist/components/form/counter/counter.d.ts +3 -3
- package/dist/components/form/counter/counter.js +3 -3
- package/dist/components/form/counter/counter.styles.js +12 -12
- 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 +3 -3
- package/dist/components/form/date-picker/date-picker.js +3 -3
- package/dist/components/form/date-picker/date-picker.styles.js +17 -17
- package/dist/components/form/input/input.d.ts +3 -3
- package/dist/components/form/input/input.js +4 -4
- 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 +3 -3
- package/dist/components/form/input-phone/input-phone.js +3 -3
- package/dist/components/form/input-phone/input-phone.styles.js +19 -19
- 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 +9 -9
- package/dist/components/form/select/select.d.ts +3 -3
- package/dist/components/form/select/select.js +3 -3
- 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 +12 -12
- 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 +3 -3
- package/dist/components/form/textarea/textarea.js +4 -4
- package/dist/components/form/textarea/textarea.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-columns.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -2
- package/dist/components/form/time-picker/time-picker.d.ts +3 -3
- package/dist/components/form/time-picker/time-picker.js +3 -3
- package/dist/components/form/time-picker/time-picker.styles.js +13 -13
- package/dist/components/layout/animate/animate.d.ts +8 -0
- package/dist/components/layout/animate/animate.js +20 -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.d.ts +6 -6
- package/dist/features/scheduler/calendar/calendar.js +10 -10
- package/dist/features/scheduler/calendar/calendar.styles.js +3 -3
- package/dist/features/scheduler/scheduler/scheduler.d.ts +6 -6
- package/dist/features/scheduler/scheduler/scheduler.js +13 -13
- package/dist/features/scheduler/scheduler/scheduler.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +10 -8
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +7 -7
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +8 -8
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +5 -5
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +4 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +2 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.js +3 -3
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.d.ts +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.js +2 -2
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +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/table.types.d.ts +7 -3
- package/dist/features/table/table-action-bar/table-action-bar.js +3 -3
- 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-managed/table-managed.js +2 -2
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +1 -1
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/en.js +3 -0
- package/dist/i18n/fr.js +3 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +5 -2
- package/dist/jsx.d.ts +19 -6
- package/dist/mixins/button.mixin.d.ts +11 -9
- package/dist/mixins/button.mixin.js +23 -5
- package/dist/mixins/card-link.mixin.d.ts +3 -2
- package/dist/mixins/card-link.mixin.js +12 -5
- package/dist/mixins/check.mixin.d.ts +1 -1
- package/dist/mixins/disabled.mixin.d.ts +3 -3
- package/dist/mixins/disabled.mixin.js +10 -5
- package/dist/mixins/editable.mixin.d.ts +1 -1
- package/dist/mixins/field-appearance.mixin.d.ts +19 -0
- package/dist/mixins/{field-variant.mixin.js → field-appearance.mixin.js} +11 -11
- package/dist/mixins/form.mixin.d.ts +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/ssr/animate-ssr.css +26 -72
- package/dist/ssr/links-ssr.css +35 -0
- package/dist/ssr/overlay-ssr.css +0 -41
- package/dist/ssr/rich-text.css +38 -0
- package/dist/ssr/sidebar-ssr.css +0 -38
- package/dist/ssr/toolbar-ssr.css +73 -39
- package/dist/types/variant.type.d.ts +26 -10
- package/dist/utils/navigation.utils.d.ts +14 -0
- package/dist/utils/navigation.utils.js +33 -0
- package/dist/utils/new-tab-anchor.controller.d.ts +44 -0
- package/dist/utils/new-tab-anchor.controller.js +102 -0
- package/dist/utils/rich-text.utils.d.ts +33 -0
- package/dist/utils/rich-text.utils.js +140 -49
- package/dist/utils/severity-icon.utils.d.ts +1 -1
- package/dist/utils/severity-icon.utils.js +1 -1
- package/dist/utils/theme-generator.utils.d.ts +26 -3
- package/dist/utils/theme-generator.utils.js +68 -21
- package/package.json +13 -2
- 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-3LMI7KUA.js +0 -48
- package/dist/cdn/components/chunks/chunk-5TH3P53V.js +0 -16
- package/dist/cdn/components/chunks/chunk-ATH2OAMU.js +0 -1
- package/dist/cdn/components/chunks/chunk-BKHD4S57.js +0 -1
- package/dist/cdn/components/chunks/chunk-KNM5QHDK.js +0 -38
- package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
- package/dist/cdn/components/chunks/chunk-T7WABJEJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-XSMCT4DF.js +0 -1
- package/dist/cdn/components/chunks/chunk-Z6PJYSC3.js +0 -622
- package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
- package/dist/mixins/field-variant.mixin.d.ts +0 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-ocean-theme{--eun-color-primary-50: #80b4c3;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #65a4b7;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #4a94aa;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #287f9a;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #1a7793;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #0b6e8c;--eun-color-on-primary-500: #ffffff;--eun-color-primary-600: #0a6784;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #0a617b;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #085168;--eun-color-on-primary-800: #ffffff;--eun-color-primary-900: #074558;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #063949;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(11, 110, 140, 0.08);--eun-color-primary-bg-active: rgba(11, 110, 140, 0.08);--eun-color-primary-transparent: rgba(11, 110, 140, 0.2);--eun-color-primary-transparent-hover: rgba(11, 110, 140, 0.3);--eun-color-primary-transparent-active: rgba(11, 110, 140, 0.4);--eun-color-secondary-50: #92e0d9;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #7bdad1;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #64d3c9;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #47cbbf;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #3bc8ba;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #2ec4b6;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #2bb8ab;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #28aca0;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #229187;--eun-color-on-secondary-800: #000000de;--eun-color-secondary-900: #1d7b73;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #18665f;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(46, 196, 182, 0.08);--eun-color-secondary-bg-active: rgba(46, 196, 182, 0.08);--eun-color-secondary-transparent: rgba(46, 196, 182, 0.2);--eun-color-secondary-transparent-hover: rgba(46, 196, 182, 0.3);--eun-color-secondary-transparent-active: rgba(46, 196, 182, 0.4);--eun-content-hover: #
|
|
1
|
+
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-ocean-theme{--eun-color-primary-50: #80b4c3;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #65a4b7;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #4a94aa;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #287f9a;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #1a7793;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #0b6e8c;--eun-color-on-primary-500: #ffffff;--eun-color-primary-600: #0a6784;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #0a617b;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #085168;--eun-color-on-primary-800: #ffffff;--eun-color-primary-900: #074558;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #063949;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(11, 110, 140, 0.08);--eun-color-primary-bg-active: rgba(11, 110, 140, 0.08);--eun-color-primary-transparent: rgba(11, 110, 140, 0.2);--eun-color-primary-transparent-hover: rgba(11, 110, 140, 0.3);--eun-color-primary-transparent-active: rgba(11, 110, 140, 0.4);--eun-color-secondary-50: #92e0d9;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #7bdad1;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #64d3c9;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #47cbbf;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #3bc8ba;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #2ec4b6;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #2bb8ab;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #28aca0;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #229187;--eun-color-on-secondary-800: #000000de;--eun-color-secondary-900: #1d7b73;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #18665f;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(46, 196, 182, 0.08);--eun-color-secondary-bg-active: rgba(46, 196, 182, 0.08);--eun-color-secondary-transparent: rgba(46, 196, 182, 0.2);--eun-color-secondary-transparent-hover: rgba(46, 196, 182, 0.3);--eun-color-secondary-transparent-active: rgba(46, 196, 182, 0.4);--eun-content-hover: #9696961a;--eun-content-pressed: #e4e6e8;--eun-divider-color: #dee0e7;--eun-border-color: #dee0e7;--eun-surface-color: #ffffff;--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 5%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 9%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-disabled-color: #ecedf0;--eun-readonly-color: #666e8a;--eun-text-color: #071621;--eun-text-secondary: #484e61;--eun-placeholder-color: var(--eun-color-grey-400, #c1c9d6);--eun-text-disabled-color: #8d93aa;--eun-text-readonly-color: #c1c9d6;--eun-disabled-content: #c1c9d6;--eun-surface-tint: #f3f8f9;--eun-divider-tint: #d3dae2;--eun-border-tint: #d3dae2;--eun-content-hover-tint: #e2e9eb;--eun-content-pressed-tint: #d9e0e3}.eunomia-ocean-theme--dark{--eun-color-primary-50: #416d7a;--eun-color-on-primary-50: #ffffff;--eun-color-primary-100: #4e8494;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #5c9bae;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #6eb8ce;--eun-color-on-primary-300: #000000de;--eun-color-primary-400: #75c4dc;--eun-color-on-primary-400: #000000de;--eun-color-primary-500: #7dd1ea;--eun-color-on-primary-500: #000000de;--eun-color-primary-600: #84d3ec;--eun-color-on-primary-600: #000000de;--eun-color-primary-700: #8cd6ed;--eun-color-on-primary-700: #000000de;--eun-color-primary-800: #9edcf0;--eun-color-on-primary-800: #000000de;--eun-color-primary-900: #ade2f2;--eun-color-on-primary-900: #000000de;--eun-color-primary-950: #bbe6f4;--eun-color-on-primary-950: #000000de;--eun-color-primary-bg-hover: rgba(125, 209, 234, 0.08);--eun-color-primary-bg-active: rgba(125, 209, 234, 0.08);--eun-color-primary-transparent: rgba(125, 209, 234, 0.2);--eun-color-primary-transparent-hover: rgba(125, 209, 234, 0.3);--eun-color-primary-transparent-active: rgba(125, 209, 234, 0.4);--eun-color-secondary-50: #256761;--eun-color-on-secondary-50: #ffffff;--eun-color-secondary-100: #2c7d75;--eun-color-on-secondary-100: #ffffff;--eun-color-secondary-200: #34938a;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #3eaea4;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #42b9ae;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #46c6ba;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #52c9be;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #5dcdc3;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #76d5cc;--eun-color-on-secondary-800: #000000de;--eun-color-secondary-900: #8bdbd4;--eun-color-on-secondary-900: #000000de;--eun-color-secondary-950: #9fe1db;--eun-color-on-secondary-950: #000000de;--eun-color-secondary-bg-hover: rgba(70, 198, 186, 0.08);--eun-color-secondary-bg-active: rgba(70, 198, 186, 0.08);--eun-color-secondary-transparent: rgba(70, 198, 186, 0.2);--eun-color-secondary-transparent-hover: rgba(70, 198, 186, 0.3);--eun-color-secondary-transparent-active: rgba(70, 198, 186, 0.4);--eun-content-hover: rgba(255, 255, 255, 0.08);--eun-content-pressed: rgba(255, 255, 255, 0.14);--eun-divider-color: var(--eun-color-grey-300);--eun-border-color: var(--eun-color-grey-300);--eun-surface-color: var(--eun-color-grey-0);--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-disabled-color: var(--eun-color-grey-200);--eun-readonly-color: var(--eun-color-grey-600);--eun-text-color: var(--eun-color-grey-800);--eun-text-secondary: var(--eun-color-grey-700);--eun-placeholder-color: var(--eun-color-grey-400);--eun-text-disabled-color: var(--eun-color-grey-500);--eun-text-readonly-color: var(--eun-color-grey-400);--eun-disabled-content: var(--eun-color-grey-400);--eun-surface-tint: #2a3542;--eun-divider-tint: #67738f;--eun-border-tint: #67738f;--eun-content-hover-tint: rgba(248, 253, 254, 0.08);--eun-content-pressed-tint: rgba(248, 253, 254, 0.14)}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
@use "./../../../tools/mixins/settings/eunomia-radius.mixin.scss" as *;
|
|
10
10
|
@use "./../../../tools/mixins/settings/eunomia-border.mixin.scss" as *;
|
|
11
11
|
@use "./../../../tools/mixins/settings/eunomia-shadows.mixin.scss" as *;
|
|
12
|
+
@use "./../../../tools/mixins/settings/eunomia-alpha.mixin.scss" as *;
|
|
12
13
|
@use "./../../../tools/mixins/layout/eunomia-grid.mixin.scss" as *;
|
|
13
14
|
|
|
14
15
|
@mixin default-settings {
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
@include eunomia-border-radius();
|
|
20
21
|
@include eunomia-border-width();
|
|
21
22
|
@include eunomia-shadows();
|
|
23
|
+
@include eunomia-alpha();
|
|
22
24
|
@include eunomia-height();
|
|
23
25
|
@include eunomia-breakpoints();
|
|
24
26
|
@include eunomia-grid-layouts();
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "./../../mixins/eunomia-neutrals.mixin.scss" as *;
|
|
2
|
+
|
|
1
3
|
@mixin eunomia-salmon-dark-theme-colors {
|
|
2
4
|
$primary-500: #ef9c7c;
|
|
3
5
|
$secondary-500: #3ba1dd;
|
|
@@ -58,19 +60,7 @@
|
|
|
58
60
|
--eun-color-secondary-transparent-hover: #{rgba($secondary-500, 0.3)};
|
|
59
61
|
--eun-color-secondary-transparent-active: #{rgba($secondary-500, 0.4)};
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
--eun-content-pressed: rgba(255, 255, 255, 0.14);
|
|
63
|
-
--eun-divider-color: var(--eun-color-grey-300);
|
|
64
|
-
--eun-border-color: var(--eun-color-grey-300);
|
|
65
|
-
--eun-surface-color: var(--eun-color-grey-0);
|
|
66
|
-
--eun-disabled-color: var(--eun-color-grey-200);
|
|
67
|
-
--eun-readonly-color: var(--eun-color-grey-600);
|
|
68
|
-
--eun-text-color: var(--eun-color-grey-800);
|
|
69
|
-
--eun-text-secondary: var(--eun-color-grey-700);
|
|
70
|
-
--eun-placeholder-color: var(--eun-color-grey-400);
|
|
71
|
-
--eun-text-disabled-color: var(--eun-color-grey-500);
|
|
72
|
-
--eun-text-readonly-color: var(--eun-color-grey-400);
|
|
73
|
-
--eun-disabled-content: var(--eun-color-grey-400);
|
|
63
|
+
@include eunomia-dark-neutrals();
|
|
74
64
|
|
|
75
65
|
--eun-surface-tint: #2a2d37;
|
|
76
66
|
--eun-divider-tint: #676b84;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "./../../mixins/eunomia-neutrals.mixin.scss" as *;
|
|
2
|
+
|
|
1
3
|
@mixin eunomia-salmon-theme-colors {
|
|
2
4
|
$primary-500: #ef9c7c;
|
|
3
5
|
$secondary-500: #148cd2;
|
|
@@ -58,19 +60,7 @@
|
|
|
58
60
|
--eun-color-secondary-transparent-hover: #{rgba($secondary-500, 0.3)};
|
|
59
61
|
--eun-color-secondary-transparent-active: #{rgba($secondary-500, 0.4)};
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
--eun-content-pressed: #e4e6e8;
|
|
63
|
-
--eun-divider-color: #dee0e7;
|
|
64
|
-
--eun-border-color: #dee0e7;
|
|
65
|
-
--eun-surface-color: #ffffff;
|
|
66
|
-
--eun-disabled-color: #ecedf0;
|
|
67
|
-
--eun-readonly-color: #666e8a;
|
|
68
|
-
--eun-text-color: #071621;
|
|
69
|
-
--eun-text-secondary: #484e61;
|
|
70
|
-
--eun-placeholder-color: var(--eun-color-grey-400, #c1c9d6);
|
|
71
|
-
--eun-text-disabled-color: #8d93aa;
|
|
72
|
-
--eun-text-readonly-color: #c1c9d6;
|
|
73
|
-
--eun-disabled-content: #c1c9d6;
|
|
63
|
+
@include eunomia-neutrals();
|
|
74
64
|
|
|
75
65
|
--eun-surface-tint: #fefaf8;
|
|
76
66
|
--eun-divider-tint: #dfdde2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-salmon-theme{--eun-color-primary-50: #f7ccbb;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #f5c1ac;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #f3b69e;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #f1a88c;--eun-color-on-primary-300: #000000de;--eun-color-primary-400: #f0a284;--eun-color-on-primary-400: #000000de;--eun-color-primary-500: #ef9c7c;--eun-color-on-primary-500: #000000de;--eun-color-primary-600: #e19375;--eun-color-on-primary-600: #000000de;--eun-color-primary-700: #d2896d;--eun-color-on-primary-700: #000000de;--eun-color-primary-800: #b1735c;--eun-color-on-primary-800: #000000de;--eun-color-primary-900: #97624e;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #7c5140;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(239, 156, 124, 0.08);--eun-color-primary-bg-active: rgba(239, 156, 124, 0.08);--eun-color-primary-transparent: rgba(239, 156, 124, 0.2);--eun-color-primary-transparent-hover: rgba(239, 156, 124, 0.3);--eun-color-primary-transparent-active: rgba(239, 156, 124, 0.4);--eun-color-secondary-50: #85c3e8;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #6bb7e3;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #51aade;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #309ad7;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #2293d5;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #148cd2;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #1384c5;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #127bb9;--eun-color-on-secondary-700: #ffffff;--eun-color-secondary-800: #0f689b;--eun-color-on-secondary-800: #ffffff;--eun-color-secondary-900: #0d5884;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #0a496d;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(20, 140, 210, 0.08);--eun-color-secondary-bg-active: rgba(20, 140, 210, 0.08);--eun-color-secondary-transparent: rgba(20, 140, 210, 0.2);--eun-color-secondary-transparent-hover: rgba(20, 140, 210, 0.3);--eun-color-secondary-transparent-active: rgba(20, 140, 210, 0.4);--eun-content-hover: #
|
|
1
|
+
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-salmon-theme{--eun-color-primary-50: #f7ccbb;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #f5c1ac;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #f3b69e;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #f1a88c;--eun-color-on-primary-300: #000000de;--eun-color-primary-400: #f0a284;--eun-color-on-primary-400: #000000de;--eun-color-primary-500: #ef9c7c;--eun-color-on-primary-500: #000000de;--eun-color-primary-600: #e19375;--eun-color-on-primary-600: #000000de;--eun-color-primary-700: #d2896d;--eun-color-on-primary-700: #000000de;--eun-color-primary-800: #b1735c;--eun-color-on-primary-800: #000000de;--eun-color-primary-900: #97624e;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #7c5140;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(239, 156, 124, 0.08);--eun-color-primary-bg-active: rgba(239, 156, 124, 0.08);--eun-color-primary-transparent: rgba(239, 156, 124, 0.2);--eun-color-primary-transparent-hover: rgba(239, 156, 124, 0.3);--eun-color-primary-transparent-active: rgba(239, 156, 124, 0.4);--eun-color-secondary-50: #85c3e8;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #6bb7e3;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #51aade;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #309ad7;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #2293d5;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #148cd2;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #1384c5;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #127bb9;--eun-color-on-secondary-700: #ffffff;--eun-color-secondary-800: #0f689b;--eun-color-on-secondary-800: #ffffff;--eun-color-secondary-900: #0d5884;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #0a496d;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(20, 140, 210, 0.08);--eun-color-secondary-bg-active: rgba(20, 140, 210, 0.08);--eun-color-secondary-transparent: rgba(20, 140, 210, 0.2);--eun-color-secondary-transparent-hover: rgba(20, 140, 210, 0.3);--eun-color-secondary-transparent-active: rgba(20, 140, 210, 0.4);--eun-content-hover: #9696961a;--eun-content-pressed: #e4e6e8;--eun-divider-color: #dee0e7;--eun-border-color: #dee0e7;--eun-surface-color: #ffffff;--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 5%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 9%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-disabled-color: #ecedf0;--eun-readonly-color: #666e8a;--eun-text-color: #071621;--eun-text-secondary: #484e61;--eun-placeholder-color: var(--eun-color-grey-400, #c1c9d6);--eun-text-disabled-color: #8d93aa;--eun-text-readonly-color: #c1c9d6;--eun-disabled-content: #c1c9d6;--eun-surface-tint: #fefaf8;--eun-divider-tint: #dfdde2;--eun-border-tint: #dfdde2;--eun-content-hover-tint: #edebea;--eun-content-pressed-tint: #e5e2e3}.eunomia-salmon-theme--dark{--eun-color-primary-50: #401b0d;--eun-color-on-primary-50: #ffffff;--eun-color-primary-100: #4e210f;--eun-color-on-primary-100: #ffffff;--eun-color-primary-200: #5b2712;--eun-color-on-primary-200: #ffffff;--eun-color-primary-300: #6b2d16;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #733117;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #ef9c7c;--eun-color-on-primary-500: #000000de;--eun-color-primary-600: #824026;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #8a4c35;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #9d6854;--eun-color-on-primary-800: #ffffff;--eun-color-primary-900: #ac7e6d;--eun-color-on-primary-900: #000000de;--eun-color-primary-950: #ba9688;--eun-color-on-primary-950: #000000de;--eun-color-primary-bg-hover: rgba(239, 156, 124, 0.08);--eun-color-primary-bg-active: rgba(239, 156, 124, 0.08);--eun-color-primary-transparent: rgba(239, 156, 124, 0.2);--eun-color-primary-transparent-hover: rgba(239, 156, 124, 0.3);--eun-color-primary-transparent-active: rgba(239, 156, 124, 0.4);--eun-color-secondary-50: #1e5373;--eun-color-on-secondary-50: #ffffff;--eun-color-secondary-100: #25668b;--eun-color-on-secondary-100: #ffffff;--eun-color-secondary-200: #2c77a3;--eun-color-on-secondary-200: #ffffff;--eun-color-secondary-300: #358fc2;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #3797d0;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #3ba1dd;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #47a7df;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #53ace0;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #6fbae6;--eun-color-on-secondary-800: #000000de;--eun-color-secondary-900: #84c4e9;--eun-color-on-secondary-900: #000000de;--eun-color-secondary-950: #99cfee;--eun-color-on-secondary-950: #000000de;--eun-color-secondary-bg-hover: rgba(59, 161, 221, 0.08);--eun-color-secondary-bg-active: rgba(59, 161, 221, 0.08);--eun-color-secondary-transparent: rgba(59, 161, 221, 0.2);--eun-color-secondary-transparent-hover: rgba(59, 161, 221, 0.3);--eun-color-secondary-transparent-active: rgba(59, 161, 221, 0.4);--eun-content-hover: rgba(255, 255, 255, 0.08);--eun-content-pressed: rgba(255, 255, 255, 0.14);--eun-divider-color: var(--eun-color-grey-300);--eun-border-color: var(--eun-color-grey-300);--eun-surface-color: var(--eun-color-grey-0);--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-disabled-color: var(--eun-color-grey-200);--eun-readonly-color: var(--eun-color-grey-600);--eun-text-color: var(--eun-color-grey-800);--eun-text-secondary: var(--eun-color-grey-700);--eun-placeholder-color: var(--eun-color-grey-400);--eun-text-disabled-color: var(--eun-color-grey-500);--eun-text-readonly-color: var(--eun-color-grey-400);--eun-disabled-content: var(--eun-color-grey-400);--eun-surface-tint: #2a2d37;--eun-divider-tint: #676b84;--eun-border-tint: #676b84;--eun-content-hover-tint: rgba(248, 245, 244, 0.08);--eun-content-pressed-tint: rgba(248, 245, 244, 0.14)}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
@use "./../../../tools/mixins/settings/eunomia-radius.mixin.scss" as *;
|
|
10
10
|
@use "./../../../tools/mixins/settings/eunomia-border.mixin.scss" as *;
|
|
11
11
|
@use "./../../../tools/mixins/settings/eunomia-shadows.mixin.scss" as *;
|
|
12
|
+
@use "./../../../tools/mixins/settings/eunomia-alpha.mixin.scss" as *;
|
|
12
13
|
@use "./../../../tools/mixins/layout/eunomia-grid.mixin.scss" as *;
|
|
13
14
|
|
|
14
15
|
@mixin default-settings {
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
@include eunomia-border-radius();
|
|
20
21
|
@include eunomia-border-width();
|
|
21
22
|
@include eunomia-shadows();
|
|
23
|
+
@include eunomia-alpha();
|
|
22
24
|
@include eunomia-height();
|
|
23
25
|
@include eunomia-breakpoints();
|
|
24
26
|
@include eunomia-grid-layouts();
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "./../../mixins/eunomia-neutrals.mixin.scss" as *;
|
|
2
|
+
|
|
1
3
|
@mixin eunomia-violet-dark-theme-colors {
|
|
2
4
|
$primary-500: #8b5bd5;
|
|
3
5
|
$secondary-500: #65e6e5;
|
|
@@ -58,19 +60,7 @@
|
|
|
58
60
|
--eun-color-secondary-transparent-hover: #{rgba($secondary-500, 0.3)};
|
|
59
61
|
--eun-color-secondary-transparent-active: #{rgba($secondary-500, 0.4)};
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
--eun-content-pressed: rgba(255, 255, 255, 0.14);
|
|
63
|
-
--eun-divider-color: var(--eun-color-grey-300);
|
|
64
|
-
--eun-border-color: var(--eun-color-grey-300);
|
|
65
|
-
--eun-surface-color: var(--eun-color-grey-0);
|
|
66
|
-
--eun-disabled-color: var(--eun-color-grey-200);
|
|
67
|
-
--eun-readonly-color: var(--eun-color-grey-600);
|
|
68
|
-
--eun-text-color: var(--eun-color-grey-800);
|
|
69
|
-
--eun-text-secondary: var(--eun-color-grey-700);
|
|
70
|
-
--eun-placeholder-color: var(--eun-color-grey-400);
|
|
71
|
-
--eun-text-disabled-color: var(--eun-color-grey-500);
|
|
72
|
-
--eun-text-readonly-color: var(--eun-color-grey-400);
|
|
73
|
-
--eun-disabled-content: var(--eun-color-grey-400);
|
|
63
|
+
@include eunomia-dark-neutrals();
|
|
74
64
|
|
|
75
65
|
--eun-surface-tint: #2a2d40;
|
|
76
66
|
--eun-divider-tint: #666b8d;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "./../../mixins/eunomia-neutrals.mixin.scss" as *;
|
|
2
|
+
|
|
1
3
|
@mixin eunomia-violet-theme-colors {
|
|
2
4
|
$primary-500: #6d28d9;
|
|
3
5
|
$secondary-500: #0ea5a4;
|
|
@@ -58,19 +60,7 @@
|
|
|
58
60
|
--eun-color-secondary-transparent-hover: #{rgba($secondary-500, 0.3)};
|
|
59
61
|
--eun-color-secondary-transparent-active: #{rgba($secondary-500, 0.4)};
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
--eun-content-pressed: #e4e6e8;
|
|
63
|
-
--eun-divider-color: #dee0e7;
|
|
64
|
-
--eun-border-color: #dee0e7;
|
|
65
|
-
--eun-surface-color: #ffffff;
|
|
66
|
-
--eun-disabled-color: #ecedf0;
|
|
67
|
-
--eun-readonly-color: #666e8a;
|
|
68
|
-
--eun-text-color: #071621;
|
|
69
|
-
--eun-text-secondary: #484e61;
|
|
70
|
-
--eun-placeholder-color: var(--eun-color-grey-400, #c1c9d6);
|
|
71
|
-
--eun-text-disabled-color: #8d93aa;
|
|
72
|
-
--eun-text-readonly-color: #c1c9d6;
|
|
73
|
-
--eun-disabled-content: #c1c9d6;
|
|
63
|
+
@include eunomia-neutrals();
|
|
74
64
|
|
|
75
65
|
--eun-surface-tint: #f8f4fd;
|
|
76
66
|
--eun-divider-tint: #d8d7e6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-violet-theme{--eun-color-primary-50: #b38feb;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #a378e7;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #9360e3;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #7f42de;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #7635db;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #6d28d9;--eun-color-on-primary-500: #ffffff;--eun-color-primary-600: #6626cc;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #6023bf;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #511ea1;--eun-color-on-primary-800: #ffffff;--eun-color-primary-900: #451989;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #391571;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(109, 40, 217, 0.08);--eun-color-primary-bg-active: rgba(109, 40, 217, 0.08);--eun-color-primary-transparent: rgba(109, 40, 217, 0.2);--eun-color-primary-transparent-hover: rgba(109, 40, 217, 0.3);--eun-color-primary-transparent-active: rgba(109, 40, 217, 0.4);--eun-color-secondary-50: #82d0d0;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #67c6c6;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #4dbcbc;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #2bb0af;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #1caaa9;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #0ea5a4;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #0d9b9a;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #0c9190;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #0a7a79;--eun-color-on-secondary-800: #ffffff;--eun-color-secondary-900: #096867;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #075655;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(14, 165, 164, 0.08);--eun-color-secondary-bg-active: rgba(14, 165, 164, 0.08);--eun-color-secondary-transparent: rgba(14, 165, 164, 0.2);--eun-color-secondary-transparent-hover: rgba(14, 165, 164, 0.3);--eun-color-secondary-transparent-active: rgba(14, 165, 164, 0.4);--eun-content-hover: #
|
|
1
|
+
@font-face{font-family:"Mulish";font-style:normal;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Mulish";font-style:italic;font-weight:200 1000;font-display:swap;src:url("../../../fonts/mulish/mulish-latin-variable-italic.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.eunomia-violet-theme{--eun-color-primary-50: #b38feb;--eun-color-on-primary-50: #000000de;--eun-color-primary-100: #a378e7;--eun-color-on-primary-100: #000000de;--eun-color-primary-200: #9360e3;--eun-color-on-primary-200: #000000de;--eun-color-primary-300: #7f42de;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #7635db;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #6d28d9;--eun-color-on-primary-500: #ffffff;--eun-color-primary-600: #6626cc;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #6023bf;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #511ea1;--eun-color-on-primary-800: #ffffff;--eun-color-primary-900: #451989;--eun-color-on-primary-900: #ffffff;--eun-color-primary-950: #391571;--eun-color-on-primary-950: #ffffff;--eun-color-primary-bg-hover: rgba(109, 40, 217, 0.08);--eun-color-primary-bg-active: rgba(109, 40, 217, 0.08);--eun-color-primary-transparent: rgba(109, 40, 217, 0.2);--eun-color-primary-transparent-hover: rgba(109, 40, 217, 0.3);--eun-color-primary-transparent-active: rgba(109, 40, 217, 0.4);--eun-color-secondary-50: #82d0d0;--eun-color-on-secondary-50: #000000de;--eun-color-secondary-100: #67c6c6;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #4dbcbc;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #2bb0af;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #1caaa9;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #0ea5a4;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #0d9b9a;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #0c9190;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #0a7a79;--eun-color-on-secondary-800: #ffffff;--eun-color-secondary-900: #096867;--eun-color-on-secondary-900: #ffffff;--eun-color-secondary-950: #075655;--eun-color-on-secondary-950: #ffffff;--eun-color-secondary-bg-hover: rgba(14, 165, 164, 0.08);--eun-color-secondary-bg-active: rgba(14, 165, 164, 0.08);--eun-color-secondary-transparent: rgba(14, 165, 164, 0.2);--eun-color-secondary-transparent-hover: rgba(14, 165, 164, 0.3);--eun-color-secondary-transparent-active: rgba(14, 165, 164, 0.4);--eun-content-hover: #9696961a;--eun-content-pressed: #e4e6e8;--eun-divider-color: #dee0e7;--eun-border-color: #dee0e7;--eun-surface-color: #ffffff;--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 5%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 9%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-disabled-color: #ecedf0;--eun-readonly-color: #666e8a;--eun-text-color: #071621;--eun-text-secondary: #484e61;--eun-placeholder-color: var(--eun-color-grey-400, #c1c9d6);--eun-text-disabled-color: #8d93aa;--eun-text-readonly-color: #c1c9d6;--eun-disabled-content: #c1c9d6;--eun-surface-tint: #f8f4fd;--eun-divider-tint: #d8d7e6;--eun-border-tint: #d8d7e6;--eun-content-hover-tint: #e7e5ef;--eun-content-pressed-tint: #dedce7}.eunomia-violet-theme--dark{--eun-color-primary-50: #3a1b69;--eun-color-on-primary-50: #ffffff;--eun-color-primary-100: #45207f;--eun-color-on-primary-100: #ffffff;--eun-color-primary-200: #512695;--eun-color-on-primary-200: #ffffff;--eun-color-primary-300: #612db1;--eun-color-on-primary-300: #ffffff;--eun-color-primary-400: #6830be;--eun-color-on-primary-400: #ffffff;--eun-color-primary-500: #8b5bd5;--eun-color-on-primary-500: #ffffff;--eun-color-primary-600: #763fcd;--eun-color-on-primary-600: #ffffff;--eun-color-primary-700: #804cd0;--eun-color-on-primary-700: #ffffff;--eun-color-primary-800: #9368d7;--eun-color-on-primary-800: #000000de;--eun-color-primary-900: #a47ede;--eun-color-on-primary-900: #000000de;--eun-color-primary-950: #b495e3;--eun-color-on-primary-950: #000000de;--eun-color-primary-bg-hover: rgba(139, 91, 213, 0.08);--eun-color-primary-bg-active: rgba(139, 91, 213, 0.08);--eun-color-primary-transparent: rgba(139, 91, 213, 0.2);--eun-color-primary-transparent-hover: rgba(139, 91, 213, 0.3);--eun-color-primary-transparent-active: rgba(139, 91, 213, 0.4);--eun-color-secondary-50: #357777;--eun-color-on-secondary-50: #ffffff;--eun-color-secondary-100: #409191;--eun-color-on-secondary-100: #000000de;--eun-color-secondary-200: #4baaaa;--eun-color-on-secondary-200: #000000de;--eun-color-secondary-300: #59cac9;--eun-color-on-secondary-300: #000000de;--eun-color-secondary-400: #60d8d8;--eun-color-on-secondary-400: #000000de;--eun-color-secondary-500: #65e6e5;--eun-color-on-secondary-500: #000000de;--eun-color-secondary-600: #6fe7e7;--eun-color-on-secondary-600: #000000de;--eun-color-secondary-700: #78e9e8;--eun-color-on-secondary-700: #000000de;--eun-color-secondary-800: #8dedec;--eun-color-on-secondary-800: #000000de;--eun-color-secondary-900: #9eefee;--eun-color-on-secondary-900: #000000de;--eun-color-secondary-950: #aff2f1;--eun-color-on-secondary-950: #000000de;--eun-color-secondary-bg-hover: rgba(101, 230, 229, 0.08);--eun-color-secondary-bg-active: rgba(101, 230, 229, 0.08);--eun-color-secondary-transparent: rgba(101, 230, 229, 0.2);--eun-color-secondary-transparent-hover: rgba(101, 230, 229, 0.3);--eun-color-secondary-transparent-active: rgba(101, 230, 229, 0.4);--eun-content-hover: rgba(255, 255, 255, 0.08);--eun-content-pressed: rgba(255, 255, 255, 0.14);--eun-divider-color: var(--eun-color-grey-300);--eun-border-color: var(--eun-color-grey-300);--eun-surface-color: var(--eun-color-grey-0);--eun-surface-sunken: color-mix( in srgb, var(--eun-text-color) 8%, transparent );--eun-surface-sunken-hover: color-mix( in srgb, var(--eun-text-color) 12%, transparent );--eun-surface-sunken-pressed: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-surface-sunken-strong: color-mix( in srgb, var(--eun-text-color) 16%, transparent );--eun-disabled-color: var(--eun-color-grey-200);--eun-readonly-color: var(--eun-color-grey-600);--eun-text-color: var(--eun-color-grey-800);--eun-text-secondary: var(--eun-color-grey-700);--eun-placeholder-color: var(--eun-color-grey-400);--eun-text-disabled-color: var(--eun-color-grey-500);--eun-text-readonly-color: var(--eun-color-grey-400);--eun-disabled-content: var(--eun-color-grey-400);--eun-surface-tint: #2a2d40;--eun-divider-tint: #666b8d;--eun-border-tint: #666b8d;--eun-content-hover-tint: rgba(248, 245, 252, 0.08);--eun-content-pressed-tint: rgba(248, 245, 252, 0.14)}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
@use "./../../../tools/mixins/settings/eunomia-radius.mixin.scss" as *;
|
|
10
10
|
@use "./../../../tools/mixins/settings/eunomia-border.mixin.scss" as *;
|
|
11
11
|
@use "./../../../tools/mixins/settings/eunomia-shadows.mixin.scss" as *;
|
|
12
|
+
@use "./../../../tools/mixins/settings/eunomia-alpha.mixin.scss" as *;
|
|
12
13
|
@use "./../../../tools/mixins/layout/eunomia-grid.mixin.scss" as *;
|
|
13
14
|
|
|
14
15
|
@mixin default-settings {
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
@include eunomia-border-radius();
|
|
20
21
|
@include eunomia-border-width();
|
|
21
22
|
@include eunomia-shadows();
|
|
23
|
+
@include eunomia-alpha();
|
|
22
24
|
@include eunomia-height();
|
|
23
25
|
@include eunomia-breakpoints();
|
|
24
26
|
@include eunomia-grid-layouts();
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Translucent surface/text primitives, derived from the active theme's
|
|
2
|
+
// `--eun-surface-color` and `--eun-text-color`. Included next to each theme's
|
|
3
|
+
// color mixin, so they follow light/dark and brand switches automatically.
|
|
4
|
+
@mixin eunomia-alpha {
|
|
5
|
+
--eun-surface-transparent-25: color-mix(
|
|
6
|
+
in srgb,
|
|
7
|
+
var(--eun-surface-color) 25%,
|
|
8
|
+
transparent
|
|
9
|
+
);
|
|
10
|
+
--eun-surface-transparent-50: color-mix(
|
|
11
|
+
in srgb,
|
|
12
|
+
var(--eun-surface-color) 50%,
|
|
13
|
+
transparent
|
|
14
|
+
);
|
|
15
|
+
--eun-surface-transparent-75: color-mix(
|
|
16
|
+
in srgb,
|
|
17
|
+
var(--eun-surface-color) 75%,
|
|
18
|
+
transparent
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
--eun-text-transparent-25: color-mix(
|
|
22
|
+
in srgb,
|
|
23
|
+
var(--eun-text-color) 25%,
|
|
24
|
+
transparent
|
|
25
|
+
);
|
|
26
|
+
--eun-text-transparent-50: color-mix(
|
|
27
|
+
in srgb,
|
|
28
|
+
var(--eun-text-color) 50%,
|
|
29
|
+
transparent
|
|
30
|
+
);
|
|
31
|
+
--eun-text-transparent-75: color-mix(
|
|
32
|
+
in srgb,
|
|
33
|
+
var(--eun-text-color) 75%,
|
|
34
|
+
transparent
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
// Fixed (theme-independent) muted text, legible on a dark surface
|
|
38
|
+
--eun-text-on-dark-secondary: rgba(255, 255, 255, 0.7);
|
|
39
|
+
}
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@mixin eunomia-font-sizes {
|
|
37
|
-
--eun-
|
|
38
|
-
--eun-
|
|
39
|
-
--eun-
|
|
40
|
-
--eun-
|
|
41
|
-
--eun-
|
|
42
|
-
--eun-
|
|
43
|
-
--eun-
|
|
44
|
-
--eun-
|
|
45
|
-
--eun-
|
|
37
|
+
--eun-font-size-xxs: 0.4rem;
|
|
38
|
+
--eun-font-size-xs: 0.6rem;
|
|
39
|
+
--eun-font-size-s: 0.82rem;
|
|
40
|
+
--eun-font-size-m: 1rem;
|
|
41
|
+
--eun-font-size-l: 1.3rem;
|
|
42
|
+
--eun-font-size-xl: 1.6rem;
|
|
43
|
+
--eun-font-size-xxl: 2rem;
|
|
44
|
+
--eun-font-size-xxxl: 3.4rem;
|
|
45
|
+
--eun-font-size-xxxxl: 5rem;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
@mixin eunomia-font-weight {
|
|
49
|
-
--eun-
|
|
50
|
-
--eun-
|
|
51
|
-
--eun-
|
|
49
|
+
--eun-font-weight-s: 300;
|
|
50
|
+
--eun-font-weight-m: 500;
|
|
51
|
+
--eun-font-weight-l: 700;
|
|
52
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin eunomia-border-radius {
|
|
2
|
-
--eun-
|
|
3
|
-
--eun-
|
|
4
|
-
--eun-
|
|
5
|
-
--eun-
|
|
2
|
+
--eun-border-radius-s: 5px;
|
|
3
|
+
--eun-border-radius-m: 10px;
|
|
4
|
+
--eun-border-radius-l: 20px;
|
|
5
|
+
--eun-border-radius-xl: 999px;
|
|
6
6
|
}
|
|
@@ -6,51 +6,55 @@ import { EunomiaSeverity } from "../../../types/variant.type.js";
|
|
|
6
6
|
* Tag name of the button component.
|
|
7
7
|
*/
|
|
8
8
|
export declare const EunomiaButtonTagName = "eun-button";
|
|
9
|
-
declare const EunomiaButton_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/button.mixin.js").ButtonMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/command.mixin.js").CommandMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & typeof LitElement;
|
|
9
|
+
declare const EunomiaButton_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/button.mixin.js").ButtonMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/command.mixin.js").CommandMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/localizable.mixin.js").LocalizableMixinInterface> & typeof LitElement;
|
|
10
10
|
/**
|
|
11
11
|
* A clickable control for performing an action or navigating to a link,
|
|
12
|
-
* available in several
|
|
12
|
+
* available in several colors, sizes, and surface styles.
|
|
13
13
|
*
|
|
14
14
|
* @slot [default] - The button content
|
|
15
15
|
* @slot [start] - An icon or other content shown at the start of the button. Takes priority over the default icon from icon or severity. Leave empty to let one of those render instead
|
|
16
|
-
* @slot [end] - An icon or other content shown at the end of the button. Ignored when
|
|
16
|
+
* @slot [end] - An icon or other content shown at the end of the button. Ignored when the button opens a link in a new tab, through href and target or a slotted anchor, since an external link indicator takes its place
|
|
17
17
|
* @prop {'button' | 'submit' | 'reset'} [type='button'] - The button's native type. Ignored when href is set
|
|
18
|
-
* @prop {'primary' | 'secondary' | 'critical' | 'success' | 'warning' | 'light' | 'medium' | 'dark'} [
|
|
18
|
+
* @prop {'primary' | 'secondary' | 'critical' | 'success' | 'warning' | 'light' | 'medium' | 'dark'} [color='primary'] - The color applied to the button. light/medium/dark are neutral grey tones with no semantic meaning, matching eun-tag's color scale, for a de-emphasized action next to a semantically-colored one
|
|
19
|
+
* @prop {boolean} [fixedColor=false] - Keeps a light or dark button white or black in every theme. Without it, they follow the grey scale, which flips with the active theme. Has no effect on the other colors
|
|
20
|
+
* @attr {boolean} [fixed-color=false] - Keeps a light or dark button white or black in every theme. Without it, they follow the grey scale, which flips with the active theme. Has no effect on the other colors
|
|
19
21
|
* @prop {import('../../content/icon/icon.type.js').EunomiaIconName} icon - An optional leading icon, shown at the start of the button. Ignored once something is slotted into start, and overridden by the default icon from severity when both are set
|
|
20
|
-
* @prop {'info' | 'success' | 'warning' | 'critical' | 'neutral'} severity - The severity of the action this button leads to. When set, it supplies a default leading icon unless icon is also set or something is slotted into start. It has no effect on color, which is still controlled by
|
|
22
|
+
* @prop {'info' | 'success' | 'warning' | 'critical' | 'neutral'} severity - The severity of the action this button leads to. When set, it supplies a default leading icon unless icon is also set or something is slotted into start. It has no effect on color, which is still controlled by color
|
|
21
23
|
* @prop {'xs' | 's' | 'm' | 'l' | 'xl'} [size='m'] - The size of the button
|
|
22
24
|
* @prop {boolean} rounded - Whether the button has fully rounded corners
|
|
23
25
|
* @prop {boolean} slide - Whether the button uses a sliding open animation
|
|
24
26
|
* @prop {boolean} full - Whether the button stretches to fill 100% of the width available from its parent, instead of sizing to its content. Its content stays centered once stretched
|
|
25
27
|
* @prop {boolean} [disabled=false] - Whether the button is disabled. For a link button, this removes the href instead, since links have no native disabled state
|
|
26
28
|
* @prop {string} href - The URL the button navigates to. When set, the button renders as a link instead of a button
|
|
27
|
-
* @prop {'_blank' | '_self' | '_parent' | '_top'} target - Where to open the linked URL. Only used when href is set. Opening in a new tab automatically adds an external link icon and announces it to assistive technology
|
|
29
|
+
* @prop {'_blank' | '_self' | '_parent' | '_top'} target - Where to open the linked URL. Only used when href is set. Opening in a new tab automatically adds an external link icon and announces it to assistive technology, in the current locale. A slotted anchor opening in a new tab gets the same icon and announcement
|
|
30
|
+
* @prop {string} [locale] - The locale used to resolve the "opens in a new tab" announcement. Defaults to the one set with setDefaultLocale, English otherwise
|
|
28
31
|
* @prop {string} download - The filename used when the linked URL is downloaded instead of navigated to. Only used when href is set
|
|
29
32
|
* @prop {boolean} [loading=false] - Whether the button shows a loading indicator. Like disabled, it blocks interaction, but keeps the original content in place so the button doesn't change size
|
|
30
33
|
* @prop {string} [loadingLabel='Loading…'] - The accessible label announced while the button is loading
|
|
31
34
|
* @prop {string} command - The command sent to the element targeted by commandFor when the button is clicked, following the Invoker Commands API
|
|
32
35
|
* @prop {string} commandFor - The id of the element that command is sent to
|
|
33
36
|
* @attr {string} aria-label - The accessible label for the button. When the button opens a link in a new tab, this automatically gets a note appended announcing it
|
|
34
|
-
* @prop {'default' | 'fill' | 'outline' | 'flat' | 'raised' | 'ghost'} [appearance='fill'] - The button's surface style. Fill is a solid, colored background with light text. Default is a paler tint of the same color. Outline keeps the color as a border instead of a fill. Flat always renders a muted, low emphasis surface regardless of
|
|
37
|
+
* @prop {'default' | 'fill' | 'outline' | 'flat' | 'raised' | 'ghost'} [appearance='fill'] - The button's surface style. Fill is a solid, colored background with light text. Default is a paler tint of the same color. Outline keeps the color as a border instead of a fill. Flat always renders a muted, low emphasis surface regardless of color. Raised adds a drop shadow. Ghost shows no surface at rest, only gaining a border and a tinted background on hover, focus, or press
|
|
35
38
|
* @fires click - Fired when the button is activated by mouse, Enter, or Space
|
|
36
39
|
* @fires {NavigationEvent} eunnavigate - Fired before following href, so a client-side router can intercept the navigation. Not fired for downloads, and cancelable
|
|
37
40
|
* @cssprop [--button-background] - Sets the background color
|
|
38
41
|
* @cssprop [--button-background-hover] - Sets the background color on hover
|
|
39
42
|
* @cssprop [--button-background-active] - Sets the background color while pressed
|
|
40
43
|
* @cssprop [--button-text] - Sets the text color
|
|
41
|
-
* @cssprop [--button-padding] - Sets the button's padding
|
|
42
|
-
* @cssprop [--button-border-radius] - Sets the corner radius of the button
|
|
44
|
+
* @cssprop [--button-padding] - Sets the button's padding, for every size
|
|
45
|
+
* @cssprop [--button-border-radius] - Sets the corner radius of the button, for every size and over rounded
|
|
43
46
|
* @cssprop [--button-focus-outline] - Sets the color of the focus outline
|
|
44
47
|
* @cssprop [--button-transition] - Sets the duration of the button's transitions
|
|
45
48
|
* @cssprop [--button-shadow] - Sets a box shadow. None is applied by default
|
|
46
49
|
* @cssprop [--button-shadow-hover] - Sets the box shadow on hover, falling back to button-shadow when unset
|
|
47
|
-
* @cssprop [--button-border-color] - Sets the border color, overriding the color the active
|
|
50
|
+
* @cssprop [--button-border-color] - Sets the border color, overriding the color the active color would otherwise use
|
|
48
51
|
* @cssprop [--button-border-color-hover] - Sets the border color on hover or focus, falling back to button-border-color when unset
|
|
49
52
|
* @cssprop [--button-border-size] - Sets the width of the border
|
|
50
53
|
* @cssprop [--button-full] - Set to true to stretch the button like the full attribute does. Unlike the attribute, a container query can set it, keeping the responsive behavior in pure CSS. Needs a browser supporting the CSS if() function
|
|
51
54
|
* @element eun-button
|
|
52
55
|
*/
|
|
53
56
|
export declare class EunomiaButton extends EunomiaButton_base {
|
|
57
|
+
#private;
|
|
54
58
|
/**
|
|
55
59
|
* Style to import to the component.
|
|
56
60
|
*
|
|
@@ -75,19 +79,19 @@ export declare class EunomiaButton extends EunomiaButton_base {
|
|
|
75
79
|
* `severity` is set and `icon` isn't (and nothing is slotted into
|
|
76
80
|
* `start`), the leading icon is set according to it (see
|
|
77
81
|
* {@link resolveIcon}) — same vocabulary as `eun-alert`/`eun-tag`. Has no
|
|
78
|
-
* effect on color, which stays driven by `
|
|
82
|
+
* effect on color, which stays driven by `color` : a full severity
|
|
79
83
|
* range (`info`/`neutral` included) doesn't have a matching action color.
|
|
80
84
|
*/
|
|
81
85
|
severity?: EunomiaSeverity;
|
|
82
86
|
/**
|
|
83
87
|
* The button's surface treatment. `fill` is a solid, opaque
|
|
84
|
-
* `
|
|
88
|
+
* `color`-colored background with light text ; `default` is a pale
|
|
85
89
|
* tinted wash of the same color ; `outline` drops the fill for a colored
|
|
86
90
|
* border ; `flat` always renders the same muted, low-emphasis surface
|
|
87
|
-
* regardless of `
|
|
91
|
+
* regardless of `color` ; `raised` adds a drop shadow ; `ghost` has no
|
|
88
92
|
* visible surface at rest at all — a border (and a tinted background)
|
|
89
93
|
* only appear on hover/focus/active, defaulting to a neutral gray when
|
|
90
|
-
* `
|
|
94
|
+
* `color` isn't also set.
|
|
91
95
|
* @default fill
|
|
92
96
|
*/
|
|
93
97
|
appearance: EunomiaButtonAppearance;
|
|
@@ -112,9 +116,34 @@ export declare class EunomiaButton extends EunomiaButton_base {
|
|
|
112
116
|
* @param _changedProperties - Map of changed properties
|
|
113
117
|
*/
|
|
114
118
|
protected updated(_changedProperties: PropertyValues): void;
|
|
119
|
+
/**
|
|
120
|
+
* The native `<a>` slotted as a direct child while `href` is unset, which
|
|
121
|
+
* then acts as the button's link : it's in the light DOM, so it's part of
|
|
122
|
+
* the server-rendered HTML, and a framework's own link component can be
|
|
123
|
+
* that anchor. Navigation, `target`/`rel` and the new-tab hint are the
|
|
124
|
+
* consumer's own in this mode.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
private get slottedAnchor();
|
|
128
|
+
/**
|
|
129
|
+
* Links have no native disabled state : while `disabled` or `loading`,
|
|
130
|
+
* the slotted anchor is announced as disabled and taken out of the tab
|
|
131
|
+
* order (its pointer events are cut by the stylesheet), then restored.
|
|
132
|
+
* @param anchor the slotted anchor.
|
|
133
|
+
* @private
|
|
134
|
+
*/
|
|
135
|
+
private syncSlottedAnchor;
|
|
136
|
+
/**
|
|
137
|
+
* Re-renders when the default slot changes, so an anchor added or removed
|
|
138
|
+
* after the first render switches between the two modes.
|
|
139
|
+
* @private
|
|
140
|
+
*/
|
|
141
|
+
private handleDefaultSlotChange;
|
|
115
142
|
/**
|
|
116
143
|
* Renders the end-of-content slot, replaced by an external-link indicator
|
|
117
|
-
* (icon + accessible hint) when navigating away in a new tab.
|
|
144
|
+
* (icon + accessible hint) when navigating away in a new tab. A slotted
|
|
145
|
+
* anchor gets the icon only : the hint would sit outside it, so it's
|
|
146
|
+
* announced through its aria-description instead.
|
|
118
147
|
* @private
|
|
119
148
|
*/
|
|
120
149
|
private renderEndContent;
|