@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
|
@@ -3,6 +3,10 @@ import { css } from "lit";
|
|
|
3
3
|
* Base style for the carousel component.
|
|
4
4
|
*
|
|
5
5
|
* Custom css variables:
|
|
6
|
+
* [--carousel-visible-slides] - Set how many slides are shown at once, overriding `visibleSlides` ; meant for the consumer's own media/container queries
|
|
7
|
+
* [--carousel-scroll-step] - Set how many slides a prev/next/dot click advances by, overriding `scrollStep`
|
|
8
|
+
* [--carousel-responsive-breakpoint] - Set the width (px) below which an `inline` layout moves its buttons into the header row, overriding `responsiveBreakpoint`
|
|
9
|
+
* [--carousel-fade-display] - Set to `none` to hide the edge fades via pure CSS (e.g. in a container query), regardless of `edgeFade`
|
|
6
10
|
* [--carousel-gap] - Set a custom gap between slides
|
|
7
11
|
* [--carousel-track-padding] - Set a custom vertical padding on the track, giving slides' own effects that bleed outside their box (a hover shadow, `eun-sliding-card`'s bottom fade, ...) room to render before `overflow-y: hidden` clips them
|
|
8
12
|
* [--carousel-min-slide-width] - Set a custom minimum slide width ; on a narrow viewport, this wins over `visibleSlides` so slides never get uncomfortably small — fewer of them just become scrollable off-screen instead
|
|
@@ -33,6 +37,10 @@ const base = css `
|
|
|
33
37
|
:host {
|
|
34
38
|
display: block;
|
|
35
39
|
--_visibleCount: 1;
|
|
40
|
+
--_effectiveVisibleCount: var(
|
|
41
|
+
--carousel-visible-slides,
|
|
42
|
+
var(--_visibleCount)
|
|
43
|
+
);
|
|
36
44
|
--_snapAlign: start;
|
|
37
45
|
}
|
|
38
46
|
|
|
@@ -84,6 +92,7 @@ const base = css `
|
|
|
84
92
|
#viewport::before,
|
|
85
93
|
#viewport::after {
|
|
86
94
|
content: "";
|
|
95
|
+
display: var(--carousel-fade-display, block);
|
|
87
96
|
position: absolute;
|
|
88
97
|
top: 0;
|
|
89
98
|
bottom: 0;
|
|
@@ -125,7 +134,7 @@ const base = css `
|
|
|
125
134
|
scrollbar-width: none;
|
|
126
135
|
outline: 2px solid transparent;
|
|
127
136
|
outline-offset: 8px;
|
|
128
|
-
border-radius: var(--eun-
|
|
137
|
+
border-radius: var(--eun-border-radius-m);
|
|
129
138
|
transition: outline 0.2s ease-out;
|
|
130
139
|
}
|
|
131
140
|
#track::-webkit-scrollbar {
|
|
@@ -156,8 +165,11 @@ const base = css `
|
|
|
156
165
|
flex-basis: max(
|
|
157
166
|
var(--carousel-min-slide-width, 220px),
|
|
158
167
|
calc(
|
|
159
|
-
(
|
|
160
|
-
|
|
168
|
+
(
|
|
169
|
+
100% - (var(--_effectiveVisibleCount) - 1) *
|
|
170
|
+
var(--carousel-gap, 16px)
|
|
171
|
+
) /
|
|
172
|
+
var(--_effectiveVisibleCount)
|
|
161
173
|
)
|
|
162
174
|
);
|
|
163
175
|
}
|
|
@@ -167,9 +179,9 @@ const base = css `
|
|
|
167
179
|
calc(
|
|
168
180
|
(
|
|
169
181
|
100% - var(--carousel-peek-size, 32px) -
|
|
170
|
-
(var(--
|
|
182
|
+
(var(--_effectiveVisibleCount) - 1) * var(--carousel-gap, 16px)
|
|
171
183
|
) /
|
|
172
|
-
var(--
|
|
184
|
+
var(--_effectiveVisibleCount)
|
|
173
185
|
)
|
|
174
186
|
);
|
|
175
187
|
}
|
|
@@ -190,7 +202,7 @@ const base = css `
|
|
|
190
202
|
align-items: center;
|
|
191
203
|
justify-content: center;
|
|
192
204
|
border-radius: 50%;
|
|
193
|
-
border: var(--eun-
|
|
205
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
194
206
|
var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7));
|
|
195
207
|
background: var(
|
|
196
208
|
--carousel-nav-background,
|
|
@@ -274,7 +286,7 @@ const base = css `
|
|
|
274
286
|
width: calc(var(--carousel-dot-size, 6px) * 3.5);
|
|
275
287
|
border-radius: var(
|
|
276
288
|
--carousel-dot-border-radius,
|
|
277
|
-
var(--eun-
|
|
289
|
+
var(--eun-border-radius-full, 999px)
|
|
278
290
|
);
|
|
279
291
|
background: var(
|
|
280
292
|
--carousel-dot-active-color,
|
|
@@ -55,8 +55,8 @@ export const paginationStyles = css `
|
|
|
55
55
|
height: var(--pagination-item-size, 32px);
|
|
56
56
|
padding-inline: var(--eun-space-xs, 4px);
|
|
57
57
|
font-family: inherit;
|
|
58
|
-
font-size: var(--pagination-font-size, var(--eun-
|
|
59
|
-
font-weight: var(--eun-
|
|
58
|
+
font-size: var(--pagination-font-size, var(--eun-font-size-s, 14px));
|
|
59
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
60
60
|
line-height: 1;
|
|
61
61
|
}
|
|
62
62
|
:host([show-labels]) button.control {
|
|
@@ -71,7 +71,7 @@ export const paginationStyles = css `
|
|
|
71
71
|
border: none;
|
|
72
72
|
border-radius: var(
|
|
73
73
|
--pagination-border-radius,
|
|
74
|
-
var(--eun-
|
|
74
|
+
var(--eun-border-radius-m, 8px)
|
|
75
75
|
);
|
|
76
76
|
background: transparent;
|
|
77
77
|
color: var(--pagination-item-color, var(--eun-text-secondary, #484e61));
|
|
@@ -34,14 +34,14 @@ const base = css `
|
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
width: var(--_width);
|
|
36
36
|
transition: width var(--_transitionDuration) ease;
|
|
37
|
-
border-inline-end: var(--eun-
|
|
37
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
38
38
|
}
|
|
39
39
|
:host([dragging]) {
|
|
40
40
|
transition: none;
|
|
41
41
|
}
|
|
42
42
|
:host([position="end"]) {
|
|
43
43
|
border-inline-end: none;
|
|
44
|
-
border-inline-start: var(--eun-
|
|
44
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
45
45
|
}
|
|
46
46
|
:host([collapsed][collapse-mode="mini"]) {
|
|
47
47
|
--_width: var(--_miniWidth);
|
|
@@ -80,8 +80,8 @@ const base = css `
|
|
|
80
80
|
}
|
|
81
81
|
#heading {
|
|
82
82
|
margin: 0;
|
|
83
|
-
font-size: var(--eun-
|
|
84
|
-
font-weight: var(--eun-
|
|
83
|
+
font-size: var(--eun-font-size-l, 18px);
|
|
84
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
85
85
|
color: inherit;
|
|
86
86
|
}
|
|
87
87
|
#body {
|
|
@@ -89,7 +89,7 @@ const base = css `
|
|
|
89
89
|
min-height: 0;
|
|
90
90
|
overflow-y: auto;
|
|
91
91
|
padding: var(--_gap) var(--_padding);
|
|
92
|
-
font-size: var(--eun-
|
|
92
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
93
93
|
}
|
|
94
94
|
#footer {
|
|
95
95
|
flex: none;
|
|
@@ -139,8 +139,8 @@ const base = css `
|
|
|
139
139
|
height: 28px;
|
|
140
140
|
padding: 0;
|
|
141
141
|
background: var(--_background);
|
|
142
|
-
border: var(--eun-
|
|
143
|
-
border-radius: var(--eun-
|
|
142
|
+
border: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
143
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
144
144
|
color: var(--eun-text-secondary, #484e61);
|
|
145
145
|
cursor: pointer;
|
|
146
146
|
transition: background-color 0.15s ease;
|
|
@@ -161,12 +161,12 @@ const base = css `
|
|
|
161
161
|
width: 100%;
|
|
162
162
|
padding: var(--eun-space-s, 8px) var(--_padding);
|
|
163
163
|
border: none;
|
|
164
|
-
border-top: var(--eun-
|
|
164
|
+
border-top: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
165
165
|
border-radius: 0;
|
|
166
166
|
background: transparent;
|
|
167
167
|
color: var(--eun-text-secondary, #484e61);
|
|
168
168
|
font: inherit;
|
|
169
|
-
font-size: var(--eun-
|
|
169
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
170
170
|
text-align: start;
|
|
171
171
|
cursor: pointer;
|
|
172
172
|
transition: background-color 0.15s ease;
|
|
@@ -61,7 +61,7 @@ export const stepStyles = css `
|
|
|
61
61
|
text-align: left;
|
|
62
62
|
outline: 2px solid transparent;
|
|
63
63
|
outline-offset: 2px;
|
|
64
|
-
border-radius: var(--eun-
|
|
64
|
+
border-radius: var(--eun-border-radius-m, 8px);
|
|
65
65
|
flex: 0 1 auto;
|
|
66
66
|
min-width: 0;
|
|
67
67
|
}
|
|
@@ -100,17 +100,17 @@ export const stepStyles = css `
|
|
|
100
100
|
height: var(--_indicatorSize);
|
|
101
101
|
border-radius: var(
|
|
102
102
|
--stepper-indicator-border-radius,
|
|
103
|
-
var(--eun-
|
|
103
|
+
var(--eun-border-radius-xl, 999px)
|
|
104
104
|
);
|
|
105
105
|
background: var(
|
|
106
106
|
--stepper-indicator-background,
|
|
107
107
|
var(--eun-content-hover, #edeff0)
|
|
108
108
|
);
|
|
109
109
|
color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
|
|
110
|
-
font-size: var(--stepper-indicator-font-size, var(--eun-
|
|
110
|
+
font-size: var(--stepper-indicator-font-size, var(--eun-font-size-xs, 12px));
|
|
111
111
|
font-weight: var(
|
|
112
112
|
--stepper-indicator-font-weight,
|
|
113
|
-
var(--eun-
|
|
113
|
+
var(--eun-font-weight-m, 500)
|
|
114
114
|
);
|
|
115
115
|
transition:
|
|
116
116
|
background var(--stepper-transition-duration, 0.2s) ease-out,
|
|
@@ -163,18 +163,18 @@ export const stepStyles = css `
|
|
|
163
163
|
min-width: 0;
|
|
164
164
|
}
|
|
165
165
|
.label {
|
|
166
|
-
font-size: var(--stepper-label-font-size, var(--eun-
|
|
167
|
-
font-weight: var(--stepper-label-font-weight, var(--eun-
|
|
166
|
+
font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
|
|
167
|
+
font-weight: var(--stepper-label-font-weight, var(--eun-font-weight-m, 500));
|
|
168
168
|
color: var(--stepper-label-color, var(--eun-text-color, #071621));
|
|
169
169
|
}
|
|
170
170
|
:host([status="current"]) .label {
|
|
171
171
|
color: var(--stepper-label-color-current, var(--eun-text-color, #071621));
|
|
172
|
-
font-weight: var(--eun-
|
|
172
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
173
173
|
}
|
|
174
174
|
.description {
|
|
175
175
|
font-size: var(
|
|
176
176
|
--stepper-description-font-size,
|
|
177
|
-
var(--eun-
|
|
177
|
+
var(--eun-font-size-xs, 12px)
|
|
178
178
|
);
|
|
179
179
|
color: var(--stepper-description-color, var(--eun-text-secondary, #484e61));
|
|
180
180
|
}
|
|
@@ -161,7 +161,7 @@ export const stepperStyles = css `
|
|
|
161
161
|
text-align: left;
|
|
162
162
|
outline: 2px solid transparent;
|
|
163
163
|
outline-offset: 2px;
|
|
164
|
-
border-radius: var(--eun-
|
|
164
|
+
border-radius: var(--eun-border-radius-m, 8px);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.step-control.has-description {
|
|
@@ -199,17 +199,17 @@ export const stepperStyles = css `
|
|
|
199
199
|
height: var(--_indicatorSize);
|
|
200
200
|
border-radius: var(
|
|
201
201
|
--stepper-indicator-border-radius,
|
|
202
|
-
var(--eun-
|
|
202
|
+
var(--eun-border-radius-xl, 999px)
|
|
203
203
|
);
|
|
204
204
|
background: var(
|
|
205
205
|
--stepper-indicator-background,
|
|
206
206
|
var(--eun-content-hover, #edeff0)
|
|
207
207
|
);
|
|
208
208
|
color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
|
|
209
|
-
font-size: var(--stepper-indicator-font-size, var(--eun-
|
|
209
|
+
font-size: var(--stepper-indicator-font-size, var(--eun-font-size-xs, 12px));
|
|
210
210
|
font-weight: var(
|
|
211
211
|
--stepper-indicator-font-weight,
|
|
212
|
-
var(--eun-
|
|
212
|
+
var(--eun-font-weight-m, 500)
|
|
213
213
|
);
|
|
214
214
|
transition:
|
|
215
215
|
background var(--stepper-transition-duration, 0.2s) ease-out,
|
|
@@ -304,18 +304,18 @@ export const stepperStyles = css `
|
|
|
304
304
|
min-width: 0;
|
|
305
305
|
}
|
|
306
306
|
.label {
|
|
307
|
-
font-size: var(--stepper-label-font-size, var(--eun-
|
|
308
|
-
font-weight: var(--stepper-label-font-weight, var(--eun-
|
|
307
|
+
font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
|
|
308
|
+
font-weight: var(--stepper-label-font-weight, var(--eun-font-weight-m, 500));
|
|
309
309
|
color: var(--stepper-label-color, var(--eun-text-color, #071621));
|
|
310
310
|
}
|
|
311
311
|
li.step[data-status="current"] .label {
|
|
312
312
|
color: var(--stepper-label-color-current, var(--eun-text-color, #071621));
|
|
313
|
-
font-weight: var(--eun-
|
|
313
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
314
314
|
}
|
|
315
315
|
.description {
|
|
316
316
|
font-size: var(
|
|
317
317
|
--stepper-description-font-size,
|
|
318
|
-
var(--eun-
|
|
318
|
+
var(--eun-font-size-xs, 12px)
|
|
319
319
|
);
|
|
320
320
|
color: var(--stepper-description-color, var(--eun-text-secondary, #484e61));
|
|
321
321
|
}
|
|
@@ -38,8 +38,8 @@ const base = css `
|
|
|
38
38
|
--_border: var(--tab-border);
|
|
39
39
|
--_border-radius: var(--tab-border-radius, 8px);
|
|
40
40
|
--_pointerEvents: all;
|
|
41
|
-
font-size: var(--eun-
|
|
42
|
-
font-weight: var(--eun-
|
|
41
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
42
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
43
43
|
outline: none;
|
|
44
44
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
45
45
|
z-index: 1;
|
|
@@ -110,7 +110,7 @@ const base = css `
|
|
|
110
110
|
:host([icon]) div slot[name="icon"],
|
|
111
111
|
div[has-icon] slot[name="icon"] {
|
|
112
112
|
grid-area: icon;
|
|
113
|
-
font-size: var(--eun-
|
|
113
|
+
font-size: var(--eun-font-size-m, 16px);
|
|
114
114
|
line-height: 1;
|
|
115
115
|
display: block;
|
|
116
116
|
}
|
|
@@ -137,7 +137,7 @@ const base = css `
|
|
|
137
137
|
--tab-notification-color,
|
|
138
138
|
var(--eun-color-critical-100, #aa0014)
|
|
139
139
|
);
|
|
140
|
-
border-radius: var(--eun-
|
|
140
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
141
141
|
transition: scale 0.2s cubic-bezier(0.35, 0.92, 0.65, 1.28);
|
|
142
142
|
scale: 1;
|
|
143
143
|
place-self: var(--_badge-place, start);
|
|
@@ -165,7 +165,7 @@ const base = css `
|
|
|
165
165
|
|
|
166
166
|
@media (min-width: ${EUNOMIA_BREAKPOINTS.tablet}px) {
|
|
167
167
|
:host {
|
|
168
|
-
font-size: var(--eun-
|
|
168
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
169
169
|
}
|
|
170
170
|
:host([badge]) div::after {
|
|
171
171
|
--_y-correction: none;
|
|
@@ -30,6 +30,7 @@ declare const EunomiaTabGroup_base: import("../../../../utils/constructor.type.j
|
|
|
30
30
|
* @prop { 'start' | 'center' | 'end' } align - The tabs position alignment according to the component
|
|
31
31
|
* @prop { 'fade' | 'slide' | 'none' } animation - The animation to apply to a click/keyboard-triggered panel switch ; a touch swipe's own release settling into place is never this, see the class doc and `--tab-panel-swipe-duration`
|
|
32
32
|
* @prop { boolean } hideIndicator - Indicates whether the indicators under a tab should be displayed or not
|
|
33
|
+
* @prop { boolean } [full=false] - Stretches the tab header to 100% of the group's width, dividing it equally between the tabs and centering each label. Makes align irrelevant. Combines with overflow scrolling : a tab whose label doesn't fit its share keeps the room it needs
|
|
33
34
|
* @attr {string} aria-label - Accessible name for the tablist, forwarded to the internal `role="tablist"` element. Recommended when the group's purpose isn't already clear from a preceding heading, or when several tab groups appear on the same page
|
|
34
35
|
* @fires { TabChangeEvent } tabchange - Emitted event on active panel change (click, keyboard, or a committed touch swipe alike)
|
|
35
36
|
* @cssprop [--tab-header-background] - Set a custom color to the background of the tab header
|
|
@@ -58,6 +59,13 @@ export declare class EunomiaTabGroup extends EunomiaTabGroup_base {
|
|
|
58
59
|
* @default start
|
|
59
60
|
*/
|
|
60
61
|
align: "start" | "center" | "end";
|
|
62
|
+
/**
|
|
63
|
+
* Stretches the tab header to 100% of the group's width, dividing it
|
|
64
|
+
* equally between the tabs. Ignores `align`, since nothing is left to
|
|
65
|
+
* align.
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
full: boolean;
|
|
61
69
|
/**
|
|
62
70
|
* The animation type, for a tab switch triggered by a click or a keyboard
|
|
63
71
|
* activation only. A touch swipe always tracks the finger 1:1 during the
|
|
@@ -173,6 +181,7 @@ export declare class EunomiaTabGroup extends EunomiaTabGroup_base {
|
|
|
173
181
|
connectedCallback(): void;
|
|
174
182
|
protected firstUpdated(changedProperties: PropertyValues): void;
|
|
175
183
|
disconnectedCallback(): void;
|
|
184
|
+
protected updated(changedProperties: PropertyValues): void;
|
|
176
185
|
/**
|
|
177
186
|
* Update the displayed indicator under the active tab.
|
|
178
187
|
* @internal
|
|
@@ -60,6 +60,7 @@ const eunTabTagName = "eun-tab";
|
|
|
60
60
|
* @prop { 'start' | 'center' | 'end' } align - The tabs position alignment according to the component
|
|
61
61
|
* @prop { 'fade' | 'slide' | 'none' } animation - The animation to apply to a click/keyboard-triggered panel switch ; a touch swipe's own release settling into place is never this, see the class doc and `--tab-panel-swipe-duration`
|
|
62
62
|
* @prop { boolean } hideIndicator - Indicates whether the indicators under a tab should be displayed or not
|
|
63
|
+
* @prop { boolean } [full=false] - Stretches the tab header to 100% of the group's width, dividing it equally between the tabs and centering each label. Makes align irrelevant. Combines with overflow scrolling : a tab whose label doesn't fit its share keeps the room it needs
|
|
63
64
|
* @attr {string} aria-label - Accessible name for the tablist, forwarded to the internal `role="tablist"` element. Recommended when the group's purpose isn't already clear from a preceding heading, or when several tab groups appear on the same page
|
|
64
65
|
* @fires { TabChangeEvent } tabchange - Emitted event on active panel change (click, keyboard, or a committed touch swipe alike)
|
|
65
66
|
* @cssprop [--tab-header-background] - Set a custom color to the background of the tab header
|
|
@@ -83,6 +84,13 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
|
|
|
83
84
|
* @default start
|
|
84
85
|
*/
|
|
85
86
|
this.align = "start";
|
|
87
|
+
/**
|
|
88
|
+
* Stretches the tab header to 100% of the group's width, dividing it
|
|
89
|
+
* equally between the tabs. Ignores `align`, since nothing is left to
|
|
90
|
+
* align.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
this.full = false;
|
|
86
94
|
/**
|
|
87
95
|
* The animation type, for a tab switch triggered by a click or a keyboard
|
|
88
96
|
* activation only. A touch swipe always tracks the finger 1:1 during the
|
|
@@ -267,6 +275,12 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
|
|
|
267
275
|
this.swipeGesture?.destroy();
|
|
268
276
|
super.disconnectedCallback?.();
|
|
269
277
|
}
|
|
278
|
+
updated(changedProperties) {
|
|
279
|
+
super.updated?.(changedProperties);
|
|
280
|
+
if (changedProperties.has("full")) {
|
|
281
|
+
this.updateIndicator();
|
|
282
|
+
}
|
|
283
|
+
}
|
|
270
284
|
/**
|
|
271
285
|
* Update the displayed indicator under the active tab.
|
|
272
286
|
* @internal
|
|
@@ -281,7 +295,7 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
|
|
|
281
295
|
}
|
|
282
296
|
const { clientWidth, offsetLeft } = this.activeTab;
|
|
283
297
|
let translateOffset;
|
|
284
|
-
if (this.align === "center" && !this.overflowState) {
|
|
298
|
+
if (this.align === "center" && !this.overflowState && !this.full) {
|
|
285
299
|
translateOffset =
|
|
286
300
|
-this.scrollableContent.clientWidth +
|
|
287
301
|
this.scrollableContent.clientWidth / 2 +
|
|
@@ -289,7 +303,7 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
|
|
|
289
303
|
clientWidth -
|
|
290
304
|
clientWidth / 2;
|
|
291
305
|
}
|
|
292
|
-
else if (this.align === "end" && !this.overflowState) {
|
|
306
|
+
else if (this.align === "end" && !this.overflowState && !this.full) {
|
|
293
307
|
translateOffset =
|
|
294
308
|
offsetLeft -
|
|
295
309
|
this.scrollableContent.clientWidth +
|
|
@@ -699,6 +713,9 @@ EunomiaTabGroup.EDGE_RESISTANCE = 0.3;
|
|
|
699
713
|
__decorate([
|
|
700
714
|
property({ reflect: true })
|
|
701
715
|
], EunomiaTabGroup.prototype, "align", void 0);
|
|
716
|
+
__decorate([
|
|
717
|
+
property({ type: Boolean, reflect: true })
|
|
718
|
+
], EunomiaTabGroup.prototype, "full", void 0);
|
|
702
719
|
__decorate([
|
|
703
720
|
property({ reflect: true })
|
|
704
721
|
], EunomiaTabGroup.prototype, "animation", void 0);
|
|
@@ -52,6 +52,14 @@ const base = css `
|
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
:host([full]) [role="tablist"] {
|
|
56
|
+
justify-content: flex-start;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([full]) ::slotted(eun-tab) {
|
|
60
|
+
flex: 1 1 0%;
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
:host([hide-indicator]) ::slotted(eun-tab:hover)::after {
|
|
56
64
|
display: none;
|
|
57
65
|
}
|
|
@@ -142,8 +150,8 @@ const base = css `
|
|
|
142
150
|
justify-content: flex-start;
|
|
143
151
|
background: linear-gradient(
|
|
144
152
|
90deg,
|
|
145
|
-
var(--tab-arrows-color, var(--eun-color
|
|
146
|
-
var(--tab-arrows-color, var(--eun-color
|
|
153
|
+
var(--tab-arrows-color, var(--eun-surface-color, #ffffff)) 0%,
|
|
154
|
+
var(--tab-arrows-color, var(--eun-surface-color, #ffffff)) 60%,
|
|
147
155
|
transparent 100%
|
|
148
156
|
);
|
|
149
157
|
}
|
|
@@ -153,8 +161,8 @@ const base = css `
|
|
|
153
161
|
background: linear-gradient(
|
|
154
162
|
90deg,
|
|
155
163
|
transparent 0%,
|
|
156
|
-
var(--tab-arrows-color, var(--eun-color
|
|
157
|
-
var(--tab-arrows-color, var(--eun-color
|
|
164
|
+
var(--tab-arrows-color, var(--eun-surface-color, #ffffff)) 40%,
|
|
165
|
+
var(--tab-arrows-color, var(--eun-surface-color, #ffffff)) 100%
|
|
158
166
|
);
|
|
159
167
|
}
|
|
160
168
|
hr {
|
|
@@ -131,6 +131,8 @@ declare const EunomiaToolbar_base: import("../../../utils/constructor.type.js").
|
|
|
131
131
|
* @cssprop [--toolbar-panel-background] - Sets the background of the mobile panel, defaulting to a translucent mix of the bar's own background
|
|
132
132
|
* @cssprop [--toolbar-panel-color] - Sets the text color of the mobile panel
|
|
133
133
|
* @cssprop [--toolbar-panel-padding] - Sets the padding of the mobile panel
|
|
134
|
+
* @cssprop [--toolbar-burger-align] - Sets the vertical alignment of the burger button within the bar's height, defaulting to center ; set flex-start to pin it to the top instead
|
|
135
|
+
* @cssprop [--toolbar-burger-padding] - Sets the padding around the burger button, defaulting to 0 on the block axis and --toolbar-panel-padding on the inline axis
|
|
134
136
|
* @cssprop [--toolbar-panel-gap] - Sets the gap inside the mobile panel
|
|
135
137
|
* @cssprop [--toolbar-panel-backdrop-blur] - Sets a backdrop blur radius for the mobile panel
|
|
136
138
|
* @cssprop [--toolbar-skip-links-height] - Sets the height of the skip-links bar
|
|
@@ -130,6 +130,8 @@ export const EunomiaToolbarTagName = "eun-toolbar";
|
|
|
130
130
|
* @cssprop [--toolbar-panel-background] - Sets the background of the mobile panel, defaulting to a translucent mix of the bar's own background
|
|
131
131
|
* @cssprop [--toolbar-panel-color] - Sets the text color of the mobile panel
|
|
132
132
|
* @cssprop [--toolbar-panel-padding] - Sets the padding of the mobile panel
|
|
133
|
+
* @cssprop [--toolbar-burger-align] - Sets the vertical alignment of the burger button within the bar's height, defaulting to center ; set flex-start to pin it to the top instead
|
|
134
|
+
* @cssprop [--toolbar-burger-padding] - Sets the padding around the burger button, defaulting to 0 on the block axis and --toolbar-panel-padding on the inline axis
|
|
133
135
|
* @cssprop [--toolbar-panel-gap] - Sets the gap inside the mobile panel
|
|
134
136
|
* @cssprop [--toolbar-panel-backdrop-blur] - Sets a backdrop blur radius for the mobile panel
|
|
135
137
|
* @cssprop [--toolbar-skip-links-height] - Sets the height of the skip-links bar
|
|
@@ -25,6 +25,8 @@ import { css } from "lit";
|
|
|
25
25
|
* [--toolbar-panel-background] - Set a custom background for the mobile panel, default a translucent mix of the bar's own background
|
|
26
26
|
* [--toolbar-panel-color] - Set a custom text color for the mobile panel
|
|
27
27
|
* [--toolbar-panel-padding] - Set a custom padding for the mobile panel
|
|
28
|
+
* [--toolbar-burger-align] - Set the vertical alignment of the burger button within the bar's height, default center ; set flex-start to pin it to the top instead
|
|
29
|
+
* [--toolbar-burger-padding] - Set a custom padding around the burger button, default 0 on the block axis and --toolbar-panel-padding on the inline axis
|
|
28
30
|
* [--toolbar-panel-gap] - Set a custom gap inside the mobile panel
|
|
29
31
|
* [--toolbar-panel-backdrop-blur] - Set a custom backdrop-filter blur radius for the mobile panel
|
|
30
32
|
* [--toolbar-logo-filter-dark] - Apply style filter on the logo on dark navbar
|
|
@@ -67,7 +69,9 @@ const base = css `
|
|
|
67
69
|
color-mix(in srgb, var(--_background) 90%, transparent)
|
|
68
70
|
);
|
|
69
71
|
--_panelColor: var(--toolbar-panel-color, var(--_color));
|
|
70
|
-
--_panelPadding: var(--toolbar-panel-padding,
|
|
72
|
+
--_panelPadding: var(--toolbar-panel-padding, 14px);
|
|
73
|
+
--_burgerAlign: var(--toolbar-burger-align, center);
|
|
74
|
+
--_burgerPadding: var(--toolbar-burger-padding, 0 var(--_panelPadding));
|
|
71
75
|
--_panelGap: var(--toolbar-panel-gap, 8px);
|
|
72
76
|
--_panelBackdropBlur: var(--toolbar-panel-backdrop-blur, 8px);
|
|
73
77
|
--_skipLinksHeight: var(--toolbar-skip-links-height, 40px);
|
|
@@ -121,7 +125,7 @@ const base = css `
|
|
|
121
125
|
padding: var(--_padding);
|
|
122
126
|
background: var(--_background);
|
|
123
127
|
color: var(--_color);
|
|
124
|
-
border-block-end: var(--eun-
|
|
128
|
+
border-block-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
125
129
|
box-shadow: var(--_shadow);
|
|
126
130
|
transition:
|
|
127
131
|
height var(--_transitionDuration) ease,
|
|
@@ -180,7 +184,7 @@ const base = css `
|
|
|
180
184
|
outline-offset: 2px;
|
|
181
185
|
outline: 2px solid transparent;
|
|
182
186
|
transition: outline 0.2s ease-out;
|
|
183
|
-
border-radius: var(--eun-
|
|
187
|
+
border-radius: var(--eun-border-radius-s);
|
|
184
188
|
}
|
|
185
189
|
#logo-link:focus-visible {
|
|
186
190
|
outline-color: var(--eun-color-primary-500);
|
|
@@ -227,7 +231,7 @@ const base = css `
|
|
|
227
231
|
display: inline-flex;
|
|
228
232
|
align-items: center;
|
|
229
233
|
color: inherit;
|
|
230
|
-
font-size: var(--eun-
|
|
234
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
231
235
|
text-decoration: none;
|
|
232
236
|
white-space: nowrap;
|
|
233
237
|
}
|
|
@@ -238,7 +242,7 @@ const base = css `
|
|
|
238
242
|
--link-color-focus: var(--_skipLinksColor);
|
|
239
243
|
--link-padding: var(--eun-space-xs, 4px);
|
|
240
244
|
--link-background-focus: var(--eun-color-secondary-transparent, #edbd6f33);
|
|
241
|
-
--link-border-radius: var(--eun-
|
|
245
|
+
--link-border-radius: var(--eun-border-radius-l, 999px);
|
|
242
246
|
}
|
|
243
247
|
|
|
244
248
|
#skip-links ::slotted(a),
|
|
@@ -246,7 +250,7 @@ const base = css `
|
|
|
246
250
|
padding: var(--eun-space-xs, 4px);
|
|
247
251
|
outline: 2px solid transparent;
|
|
248
252
|
outline-offset: 2px;
|
|
249
|
-
border-radius: var(--eun-
|
|
253
|
+
border-radius: var(--eun-border-radius-l, 999px);
|
|
250
254
|
transition:
|
|
251
255
|
outline 0.2s ease-out,
|
|
252
256
|
background 0.2s ease-out;
|
|
@@ -315,13 +319,17 @@ const base = css `
|
|
|
315
319
|
}
|
|
316
320
|
|
|
317
321
|
#panel-header {
|
|
322
|
+
box-sizing: border-box;
|
|
318
323
|
position: absolute;
|
|
319
324
|
inset-block-start: 0;
|
|
320
325
|
inset-inline-end: 0;
|
|
321
326
|
z-index: 1;
|
|
322
327
|
display: flex;
|
|
323
|
-
|
|
328
|
+
align-items: var(--_burgerAlign);
|
|
329
|
+
height: calc(var(--_currentHeight) - var(--eun-border-width-s, 1px));
|
|
330
|
+
padding: var(--_burgerPadding);
|
|
324
331
|
pointer-events: auto;
|
|
332
|
+
transition: height var(--_transitionDuration) ease;
|
|
325
333
|
}
|
|
326
334
|
|
|
327
335
|
#panel-body {
|
|
@@ -386,6 +394,7 @@ const base = css `
|
|
|
386
394
|
@media (prefers-reduced-motion: reduce) {
|
|
387
395
|
#bar,
|
|
388
396
|
#panel,
|
|
397
|
+
#panel-header,
|
|
389
398
|
#panel-body,
|
|
390
399
|
#skip-links {
|
|
391
400
|
transition-duration: 0.01ms;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement, PropertyValues, TemplateResult } from "lit";
|
|
2
2
|
import { WeekStartsOn } from "../../../utils/date.utils.js";
|
|
3
3
|
import { EunomiaSchedulerEvent, EunomiaSchedulerView } from "../shared/scheduler.types.js";
|
|
4
|
-
import { type
|
|
4
|
+
import { type EunomiaSchedulerEventAppearance } from "../scheduler-event/scheduler-event.js";
|
|
5
5
|
/**
|
|
6
6
|
* Tag name of the calendar component.
|
|
7
7
|
*/
|
|
@@ -51,8 +51,8 @@ export declare const EunomiaCalendarTagName = "eun-calendar";
|
|
|
51
51
|
* @prop {boolean} [readonly=false] - Disables the slot click event, removing the create-here affordance, and event-chip dragging. View only
|
|
52
52
|
* @prop {boolean} [noAnimation=false] - Disables the mobile swipe slide animation
|
|
53
53
|
* @prop {string} [moreEventsLabel='+{count} more'] - The template for the month view's overflow affordance, with the placeholder replaced by the hidden event count
|
|
54
|
-
* @prop {'default' | 'transparent' | 'ghost'} [
|
|
55
|
-
* @attr {'default' | 'transparent' | 'ghost'} [event-
|
|
54
|
+
* @prop {'default' | 'transparent' | 'ghost'} [eventAppearance='default'] - The appearance applied to day, week, and work week event chips. Month view is unaffected, always picking ghost, or default for multi-day bars, itself
|
|
55
|
+
* @attr {'default' | 'transparent' | 'ghost'} [event-appearance='default'] - The visual variant applied to day, week, and work week event chips
|
|
56
56
|
* @fires {EventClickEvent} euneventclick - Fired when an event chip is clicked
|
|
57
57
|
* @fires {SlotClickEvent} eunslotclick - Fired when an empty hour-grid slot is clicked
|
|
58
58
|
* @fires {EventUpdateEvent} euneventupdate - Fired when a day, week, or work week event chip is dragged to a new time or day and dropped
|
|
@@ -124,13 +124,13 @@ export declare class EunomiaCalendar extends LitElement {
|
|
|
124
124
|
/** @default +{count} more */
|
|
125
125
|
moreEventsLabel: string;
|
|
126
126
|
/**
|
|
127
|
-
* The
|
|
128
|
-
* `month` view is unaffected — it always picks its own
|
|
127
|
+
* The appearance applied to day/week/work-week event chips.
|
|
128
|
+
* `month` view is unaffected — it always picks its own appearance per
|
|
129
129
|
* event (`ghost` unless the event spans multiple days ; see
|
|
130
130
|
* `scheduler-month-view.ts`'s own doc on `MonthViewProps`).
|
|
131
131
|
* @default default
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
eventAppearance: EunomiaSchedulerEventAppearance;
|
|
134
134
|
/**
|
|
135
135
|
* The calendar cell currently in the roving-tabindex focus position, in
|
|
136
136
|
* month/year view — kept in sync with {@link displayedDate} (see
|