@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
|
@@ -21,7 +21,7 @@ const base = css `
|
|
|
21
21
|
--_borderColor: var(--radio-border-color, var(--eun-border-color, #dee0e7));
|
|
22
22
|
--_background: var(--radio-background, transparent);
|
|
23
23
|
--_color: var(--eun-text-color, #071621);
|
|
24
|
-
--_roundDiameter: var(--radio-size, var(--eun-
|
|
24
|
+
--_roundDiameter: var(--radio-size, var(--eun-font-size-m, 16px));
|
|
25
25
|
--_focusIndicator: var(
|
|
26
26
|
--radio-focus-outline-color,
|
|
27
27
|
var(--eun-color-primary-500, #3d6fff)
|
|
@@ -35,7 +35,7 @@ const base = css `
|
|
|
35
35
|
--_roundGap: 2px;
|
|
36
36
|
--_cursor: pointer;
|
|
37
37
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
38
|
-
font-size: var(--eun-
|
|
38
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
outline: none;
|
|
@@ -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;
|
|
@@ -74,16 +74,16 @@ const search = css `
|
|
|
74
74
|
background-color: var(--eun-disabled-color, #ecedf0);
|
|
75
75
|
color: var(--eun-text-disabled-color, #8d93aa);
|
|
76
76
|
}
|
|
77
|
-
:host([
|
|
77
|
+
:host([appearance="flat"]) #search-trigger {
|
|
78
78
|
border-color: transparent;
|
|
79
79
|
}
|
|
80
|
-
:host([
|
|
80
|
+
:host([appearance="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
|
-
:host([
|
|
86
|
+
:host([appearance="underline"]) #search-trigger:focus-visible {
|
|
87
87
|
outline: none;
|
|
88
88
|
}
|
|
89
89
|
#trigger-icon {
|
|
@@ -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;
|
|
@@ -5,7 +5,7 @@ import { ValidatorsMixinInterface } from "../../../mixins/validators.mixin.js";
|
|
|
5
5
|
import { FormMixinInterface } from "../../../mixins/form.mixin.js";
|
|
6
6
|
import { FormLabelMixinInterface } from "../../../mixins/form-label.mixin.js";
|
|
7
7
|
import { EditableMixinInterface } from "../../../mixins/editable.mixin.js";
|
|
8
|
-
import {
|
|
8
|
+
import { FieldAppearanceMixinInterface } from "../../../mixins/field-appearance.mixin.js";
|
|
9
9
|
import { AnchorPositionMixinInterface } from "../../../mixins/anchor-position.mixin.js";
|
|
10
10
|
import { EunomiaIconName } from "../../content/icon/icon.type.js";
|
|
11
11
|
import { Constructor } from "../../../utils/constructor.type.js";
|
|
@@ -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 &
|
|
25
|
+
type EunomiaSelectBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<SelectValue> & FormMixinInterface<SelectValue> & EditableMixinInterface & FormLabelMixinInterface & FieldAppearanceMixinInterface & 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
|
|
@@ -49,7 +49,7 @@ declare const EunomiaSelectMixinBase: Constructor<EunomiaSelectBase>;
|
|
|
49
49
|
* @prop {boolean} [searchable=false] - Whether the field filters its options as the user types. When false, the field is read only and driven by arrow keys, Enter, and type-ahead. Ignored while native is set
|
|
50
50
|
* @prop {boolean} [native=false] - Renders the field as a real select, using the browser's own dropdown instead of the listbox panel. Takes priority over searchable and multiple, neither of which a native dropdown can support
|
|
51
51
|
* @prop {boolean} [multiple=false] - Whether more than one option can be picked at once. Each option then renders a checkbox, and picking one toggles it without closing the dropdown, so value becomes an array of every picked option's value. Ignored while native is set
|
|
52
|
-
* @prop {'outline' | '
|
|
52
|
+
* @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
|
|
53
53
|
* @prop {string} label - The title label of the field, rendered through the label component
|
|
54
54
|
* @prop {string} instructions - Instructions displayed below the label
|
|
55
55
|
* @prop {string} name - The field name
|
|
@@ -15,7 +15,7 @@ import { ValidatorsMixin, } from "../../../mixins/validators.mixin.js";
|
|
|
15
15
|
import { FormMixin } from "../../../mixins/form.mixin.js";
|
|
16
16
|
import { FormLabelMixin, } from "../../../mixins/form-label.mixin.js";
|
|
17
17
|
import { EditableMixin, } from "../../../mixins/editable.mixin.js";
|
|
18
|
-
import {
|
|
18
|
+
import { FieldAppearanceMixin, } from "../../../mixins/field-appearance.mixin.js";
|
|
19
19
|
import { AnchorPositionMixin, } from "../../../mixins/anchor-position.mixin.js";
|
|
20
20
|
import { ChangeEvent } from "../../../events/change.event.js";
|
|
21
21
|
import { formLabelsStyles } from "../shared-styles/form-labels.styles.js";
|
|
@@ -31,7 +31,7 @@ export const EunomiaSelectTagName = "eun-select";
|
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
33
33
|
const Base = DisabledMixin(ValidatorsMixin(LitElement));
|
|
34
|
-
const EunomiaSelectMixinBase = AnchorPositionMixin(
|
|
34
|
+
const EunomiaSelectMixinBase = AnchorPositionMixin(FieldAppearanceMixin(FormLabelMixin(ReadonlyMixin(EditableMixin(FormMixin(Base))))));
|
|
35
35
|
/**
|
|
36
36
|
* A field that picks one or more values from a list of option and optgroup
|
|
37
37
|
* children. Set searchable to let the field also filter that list as the
|
|
@@ -57,7 +57,7 @@ const EunomiaSelectMixinBase = AnchorPositionMixin(FieldVariantMixin(FormLabelMi
|
|
|
57
57
|
* @prop {boolean} [searchable=false] - Whether the field filters its options as the user types. When false, the field is read only and driven by arrow keys, Enter, and type-ahead. Ignored while native is set
|
|
58
58
|
* @prop {boolean} [native=false] - Renders the field as a real select, using the browser's own dropdown instead of the listbox panel. Takes priority over searchable and multiple, neither of which a native dropdown can support
|
|
59
59
|
* @prop {boolean} [multiple=false] - Whether more than one option can be picked at once. Each option then renders a checkbox, and picking one toggles it without closing the dropdown, so value becomes an array of every picked option's value. Ignored while native is set
|
|
60
|
-
* @prop {'outline' | '
|
|
60
|
+
* @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
|
|
61
61
|
* @prop {string} label - The title label of the field, rendered through the label component
|
|
62
62
|
* @prop {string} instructions - Instructions displayed below the label
|
|
63
63
|
* @prop {string} name - The field name
|
|
@@ -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;
|
|
@@ -117,22 +117,22 @@ const base = css `
|
|
|
117
117
|
#field[aria-invalid="true"]:focus-visible {
|
|
118
118
|
outline-color: var(--_errorColor);
|
|
119
119
|
}
|
|
120
|
-
:host([
|
|
120
|
+
:host([appearance="flat"]) {
|
|
121
121
|
--_background: var(--field-background, var(--eun-content-hover, #edeff0));
|
|
122
122
|
}
|
|
123
|
-
:host([
|
|
123
|
+
:host([appearance="flat"]) #field:not(:hover) {
|
|
124
124
|
border-color: transparent;
|
|
125
125
|
}
|
|
126
|
-
:host([
|
|
127
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
126
|
+
:host([appearance="flat"]) #field[aria-invalid="true"] {
|
|
127
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
128
128
|
}
|
|
129
|
-
:host([
|
|
129
|
+
:host([appearance="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
|
-
:host([
|
|
135
|
+
:host([appearance="underline"]) #field:focus-visible {
|
|
136
136
|
outline: none;
|
|
137
137
|
}
|
|
138
138
|
slot[name="icon"] {
|
|
@@ -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;
|
|
@@ -5,7 +5,7 @@ import { ValidatorsMixinInterface, Validity } from "../../../mixins/validators.m
|
|
|
5
5
|
import { FormMixinInterface } from "../../../mixins/form.mixin.js";
|
|
6
6
|
import { FormLabelMixinInterface } from "../../../mixins/form-label.mixin.js";
|
|
7
7
|
import { EditableMixinInterface } from "../../../mixins/editable.mixin.js";
|
|
8
|
-
import {
|
|
8
|
+
import { FieldAppearanceMixinInterface } from "../../../mixins/field-appearance.mixin.js";
|
|
9
9
|
import { Constructor } from "../../../utils/constructor.type.js";
|
|
10
10
|
/**
|
|
11
11
|
* Tag name of the textarea component.
|
|
@@ -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 &
|
|
18
|
+
type EunomiaTextareaBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldAppearanceMixinInterface;
|
|
19
19
|
declare const EunomiaTextareaMixinBase: Constructor<EunomiaTextareaBase>;
|
|
20
20
|
/**
|
|
21
21
|
* A multi-line text field, sharing its label, hint, and error chrome and
|
|
@@ -34,7 +34,7 @@ declare const EunomiaTextareaMixinBase: Constructor<EunomiaTextareaBase>;
|
|
|
34
34
|
* typed by hand. See the Accessibility tab for the full keyboard and ARIA
|
|
35
35
|
* details of the toolbar and both readonly behaviors.
|
|
36
36
|
*
|
|
37
|
-
* @prop {'outline' | '
|
|
37
|
+
* @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
|
|
38
38
|
* @prop {string} label - The title label of the field, rendered through the label component
|
|
39
39
|
* @prop {string} instructions - Instructions displayed below the label
|
|
40
40
|
* @prop {string} placeholder - The placeholder shown when the field is empty
|
|
@@ -15,7 +15,7 @@ import { ValidatorsMixin, } from "../../../mixins/validators.mixin.js";
|
|
|
15
15
|
import { FormMixin } from "../../../mixins/form.mixin.js";
|
|
16
16
|
import { FormLabelMixin, } from "../../../mixins/form-label.mixin.js";
|
|
17
17
|
import { EditableMixin, } from "../../../mixins/editable.mixin.js";
|
|
18
|
-
import {
|
|
18
|
+
import { FieldAppearanceMixin, } from "../../../mixins/field-appearance.mixin.js";
|
|
19
19
|
import { ChangeEvent } from "../../../events/change.event.js";
|
|
20
20
|
import { findRichTextColor, formatRichText, getPlainTextLength, populateEditableRoot, RICH_TEXT_COLORS, serializeEditableRoot, splitAlign, } from "../../../utils/rich-text.utils.js";
|
|
21
21
|
import { formLabelsStyles } from "../shared-styles/form-labels.styles.js";
|
|
@@ -467,7 +467,7 @@ function getActiveColorName(root, kind) {
|
|
|
467
467
|
* @internal
|
|
468
468
|
*/
|
|
469
469
|
const Base = DisabledMixin(ValidatorsMixin(LitElement));
|
|
470
|
-
const EunomiaTextareaMixinBase =
|
|
470
|
+
const EunomiaTextareaMixinBase = FieldAppearanceMixin(FormLabelMixin(ReadonlyMixin(EditableMixin(FormMixin(Base)))));
|
|
471
471
|
/**
|
|
472
472
|
* A multi-line text field, sharing its label, hint, and error chrome and
|
|
473
473
|
* theming with the input component. It grows and shrinks to fit its
|
|
@@ -485,7 +485,7 @@ const EunomiaTextareaMixinBase = FieldVariantMixin(FormLabelMixin(ReadonlyMixin(
|
|
|
485
485
|
* typed by hand. See the Accessibility tab for the full keyboard and ARIA
|
|
486
486
|
* details of the toolbar and both readonly behaviors.
|
|
487
487
|
*
|
|
488
|
-
* @prop {'outline' | '
|
|
488
|
+
* @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
|
|
489
489
|
* @prop {string} label - The title label of the field, rendered through the label component
|
|
490
490
|
* @prop {string} instructions - Instructions displayed below the label
|
|
491
491
|
* @prop {string} placeholder - The placeholder shown when the field is empty
|
|
@@ -1625,7 +1625,7 @@ let EunomiaTextarea = class EunomiaTextarea extends EunomiaTextareaMixinBase {
|
|
|
1625
1625
|
<eun-button
|
|
1626
1626
|
class="cancel"
|
|
1627
1627
|
size="s"
|
|
1628
|
-
|
|
1628
|
+
color="critical"
|
|
1629
1629
|
appearance="flat"
|
|
1630
1630
|
rounded
|
|
1631
1631
|
type="button"
|
|
@@ -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;
|
|
@@ -4,7 +4,7 @@ import { ReadonlyMixinInterface } from "../../../mixins/readonly.mixin.js";
|
|
|
4
4
|
import { ValidatorsMixinInterface, Validity } from "../../../mixins/validators.mixin.js";
|
|
5
5
|
import { FormMixinInterface } from "../../../mixins/form.mixin.js";
|
|
6
6
|
import { FormLabelMixinInterface } from "../../../mixins/form-label.mixin.js";
|
|
7
|
-
import {
|
|
7
|
+
import { FieldAppearanceMixinInterface } from "../../../mixins/field-appearance.mixin.js";
|
|
8
8
|
import { AnchorPositionMixinInterface } from "../../../mixins/anchor-position.mixin.js";
|
|
9
9
|
import { LocalizableMixinInterface } from "../../../mixins/localizable.mixin.js";
|
|
10
10
|
import { Constructor } from "../../../utils/constructor.type.js";
|
|
@@ -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 &
|
|
22
|
+
type EunomiaTimePickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<Date | null> & FormMixinInterface<Date | null> & FormLabelMixinInterface & FieldAppearanceMixinInterface & AnchorPositionMixinInterface & LocalizableMixinInterface;
|
|
23
23
|
declare const EunomiaTimePickerMixinBase: Constructor<EunomiaTimePickerBase>;
|
|
24
24
|
/**
|
|
25
25
|
* A time field entered across segmented numeric hour and minute inputs,
|
|
@@ -39,7 +39,7 @@ declare const EunomiaTimePickerMixinBase: Constructor<EunomiaTimePickerBase>;
|
|
|
39
39
|
* each hour, minute, and period column is its own spin button, grouped
|
|
40
40
|
* under a labeled group.
|
|
41
41
|
*
|
|
42
|
-
* @prop {'outline' | '
|
|
42
|
+
* @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
|
|
43
43
|
* @prop {Date | null} value - The picked instant
|
|
44
44
|
* @prop {Date | null} defaultValue - The default value applied when the field connects, and restored on form reset
|
|
45
45
|
* @prop {string} [timezone] - The time zone the hour and minute are displayed and edited in. Defaults to the runtime's own
|