@eunomia/elements 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/components/chunks/chunk-2JLDJFYD.js +48 -0
- package/dist/cdn/components/chunks/chunk-4MXL6PZC.js +124 -0
- package/dist/cdn/components/chunks/{chunk-32KRPOPV.js → chunk-5XJGYXW7.js} +6 -6
- package/dist/cdn/components/chunks/{chunk-O2HNWH65.js → chunk-5XJLIHAU.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-5GF2Q3NR.js → chunk-74AOAB4X.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-WYMBUIKX.js → chunk-A6KGFALA.js} +4 -4
- package/dist/cdn/components/chunks/chunk-BMQOI7HX.js +371 -0
- package/dist/cdn/components/chunks/{chunk-LJYTHDZP.js → chunk-D2M4BV5Y.js} +6 -6
- package/dist/cdn/components/chunks/{chunk-NEYBPT3D.js → chunk-EJIX2D4Z.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-BYBUXKXC.js → chunk-EOWBYZV7.js} +2 -2
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +1 -0
- package/dist/cdn/components/chunks/{chunk-AQQMW353.js → chunk-GSJEJLFA.js} +3 -3
- package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5RCCZVFZ.js → chunk-IJ5WFMK4.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-RWONCXTF.js → chunk-KVYUNKUO.js} +2 -2
- package/dist/cdn/components/chunks/chunk-LGLQ36QB.js +16 -0
- package/dist/cdn/components/chunks/{chunk-74HHV4CX.js → chunk-NHFWATVN.js} +2 -2
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +38 -0
- package/dist/cdn/components/chunks/chunk-P32B7BFD.js +118 -0
- package/dist/cdn/components/chunks/{chunk-ZPFHTJSS.js → chunk-PCM7D3YF.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-ABYEBP57.js → chunk-PED5ATYN.js} +11 -8
- package/dist/cdn/components/chunks/{chunk-ON42P6FI.js → chunk-RJCJXB7Y.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-5C7YND22.js → chunk-S2UCEWNG.js} +8 -8
- package/dist/cdn/components/chunks/{chunk-7WTSHE7M.js → chunk-SIHZFOTK.js} +9 -9
- package/dist/cdn/components/chunks/{chunk-6UPI7GHJ.js → chunk-UAGCQF23.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-6IILPCSQ.js → chunk-X2AUBZD2.js} +3 -3
- package/dist/cdn/components/chunks/chunk-YGUJJ25C.js +263 -0
- package/dist/cdn/components/chunks/chunk-YYCEPZUN.js +1 -0
- package/dist/cdn/components/eun-alert.js +65 -45
- package/dist/cdn/components/eun-animate.js +178 -2
- package/dist/cdn/components/eun-badge.js +1 -1
- package/dist/cdn/components/eun-breadcrumb-item.js +14 -10
- package/dist/cdn/components/eun-breadcrumb.js +11 -7
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +16 -16
- package/dist/cdn/components/eun-card.js +29 -12
- package/dist/cdn/components/eun-carousel.js +36 -28
- 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 -210
- package/dist/cdn/components/eun-collapse.js +20 -26
- package/dist/cdn/components/eun-color-picker.js +28 -28
- package/dist/cdn/components/eun-counter.js +11 -11
- package/dist/cdn/components/eun-date-picker.js +50 -50
- package/dist/cdn/components/eun-drawer.js +3 -3
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -6
- package/dist/cdn/components/eun-fab.js +31 -53
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +18 -11
- package/dist/cdn/components/eun-image-carousel.js +16 -16
- package/dist/cdn/components/eun-infinite-list.js +1 -1
- package/dist/cdn/components/eun-input-file.js +20 -20
- package/dist/cdn/components/eun-input-phone.js +14 -14
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +4 -4
- package/dist/cdn/components/eun-link.js +29 -11
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +6 -6
- package/dist/cdn/components/eun-pagination.js +3 -3
- package/dist/cdn/components/eun-password-strength.js +9 -6
- package/dist/cdn/components/eun-progress-bar.js +13 -13
- package/dist/cdn/components/eun-radio-card.js +2 -2
- package/dist/cdn/components/eun-radio-list.js +3 -3
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +2 -2
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +10 -10
- package/dist/cdn/components/eun-search.js +7 -7
- package/dist/cdn/components/eun-select.js +39 -18
- package/dist/cdn/components/eun-sidebar.js +10 -10
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +9 -9
- package/dist/cdn/components/eun-sliding-card.js +7 -10
- 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 -122
- package/dist/cdn/components/eun-textarea.js +28 -28
- package/dist/cdn/components/eun-time-picker.js +25 -25
- package/dist/cdn/components/eun-toast.js +40 -36
- package/dist/cdn/components/eun-toggle-group.js +199 -66
- package/dist/cdn/components/eun-toggle-item.js +42 -25
- package/dist/cdn/components/eun-toggle.js +13 -10
- package/dist/cdn/components/eun-toolbar.js +28 -19
- 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 +7 -6
- package/dist/components/action/button/button.js +7 -6
- package/dist/components/action/button/button.styles.js +143 -373
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +7 -0
- package/dist/components/action/dropdown-button/dropdown-button.js +11 -0
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +8 -8
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +6 -6
- package/dist/components/action/fab/fab.d.ts +3 -1
- package/dist/components/action/fab/fab.js +3 -1
- package/dist/components/action/fab/fab.styles.js +26 -49
- package/dist/components/action/link/link.d.ts +50 -0
- package/dist/components/action/link/link.js +69 -1
- package/dist/components/action/link/link.styles.js +19 -2
- package/dist/components/action/shared-styles/button-palette.styles.d.ts +27 -0
- package/dist/components/action/shared-styles/button-palette.styles.js +151 -0
- package/dist/components/action/toggle/toggle-group.d.ts +41 -7
- package/dist/components/action/toggle/toggle-group.js +162 -46
- package/dist/components/action/toggle/toggle-group.styles.d.ts +6 -5
- package/dist/components/action/toggle/toggle-group.styles.js +152 -35
- package/dist/components/action/toggle/toggle-item.styles.js +38 -21
- package/dist/components/action/toggle/toggle.d.ts +1 -1
- package/dist/components/action/toggle/toggle.js +2 -2
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -2
- package/dist/components/action/toggle/toggle.styles.js +13 -10
- package/dist/components/alert/alert/alert.d.ts +4 -3
- package/dist/components/alert/alert/alert.js +4 -3
- package/dist/components/alert/alert/alert.styles.js +57 -36
- package/dist/components/alert/drawer/drawer.styles.js +3 -3
- package/dist/components/alert/modal/modal.styles.js +6 -6
- package/dist/components/alert/toast/toast.d.ts +4 -3
- package/dist/components/alert/toast/toast.js +4 -3
- package/dist/components/alert/toast/toast.styles.js +41 -36
- package/dist/components/content/badge/badge.styles.js +1 -1
- package/dist/components/content/card/card.d.ts +4 -4
- package/dist/components/content/card/card.js +4 -4
- package/dist/components/content/card/card.styles.js +27 -10
- package/dist/components/content/card/image-card.d.ts +1 -1
- package/dist/components/content/card/image-card.js +1 -1
- package/dist/components/content/card/image-card.styles.js +17 -10
- package/dist/components/content/card/sliding-card.styles.js +3 -6
- 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 -210
- package/dist/components/content/collapse/collapse.styles.js +10 -16
- package/dist/components/content/icon/icon.d.ts +48 -5
- package/dist/components/content/icon/icon.js +92 -20
- package/dist/components/content/icon/icon.style.js +1 -1
- package/dist/components/content/image-carousel/image-carousel.styles.js +14 -14
- package/dist/components/content/password-strength/password-strength.styles.js +7 -4
- package/dist/components/content/progress-bar/progress-bar.styles.js +9 -9
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +31 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +149 -0
- package/dist/components/content/tag/tag.d.ts +16 -6
- package/dist/components/content/tag/tag.js +19 -6
- package/dist/components/content/tag/tag.styles.d.ts +1 -1
- package/dist/components/content/tag/tag.styles.js +40 -121
- 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-list.js +1 -1
- package/dist/components/form/checkbox/checkbox.d.ts +1 -1
- package/dist/components/form/checkbox/checkbox.styles.js +6 -6
- package/dist/components/form/color-picker/color-picker.d.ts +1 -1
- package/dist/components/form/color-picker/color-picker.js +9 -7
- package/dist/components/form/color-picker/color-picker.styles.js +7 -7
- package/dist/components/form/counter/counter.d.ts +1 -1
- package/dist/components/form/counter/counter.js +3 -3
- package/dist/components/form/counter/counter.styles.js +7 -7
- package/dist/components/form/date-picker/date-picker-day-grid.styles.js +2 -2
- package/dist/components/form/date-picker/date-picker-grid.styles.js +15 -15
- package/dist/components/form/date-picker/date-picker-month-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker-year-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker.d.ts +1 -1
- package/dist/components/form/date-picker/date-picker.js +3 -3
- package/dist/components/form/date-picker/date-picker.styles.js +12 -12
- package/dist/components/form/input/input.d.ts +1 -1
- package/dist/components/form/input/input.js +2 -2
- package/dist/components/form/input-file/input-file.d.ts +1 -1
- package/dist/components/form/input-file/input-file.js +5 -5
- package/dist/components/form/input-file/input-file.styles.js +9 -9
- package/dist/components/form/input-phone/input-phone.d.ts +1 -1
- package/dist/components/form/input-phone/input-phone.js +3 -3
- package/dist/components/form/input-phone/input-phone.styles.js +7 -7
- package/dist/components/form/label/label.styles.js +4 -4
- package/dist/components/form/radio/radio-card.styles.js +1 -1
- package/dist/components/form/radio/radio-list.d.ts +1 -1
- package/dist/components/form/radio/radio-list.js +2 -2
- package/dist/components/form/radio/radio.d.ts +1 -1
- package/dist/components/form/radio/radio.styles.js +2 -2
- package/dist/components/form/search/search.styles.js +6 -6
- package/dist/components/form/select/select.d.ts +17 -1
- package/dist/components/form/select/select.js +28 -5
- package/dist/components/form/select/select.styles.js +16 -5
- package/dist/components/form/shared-styles/card.styles.js +1 -1
- package/dist/components/form/shared-styles/field.styles.js +7 -7
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/shared-styles/listbox.styles.js +6 -6
- package/dist/components/form/slider/slider.d.ts +1 -1
- package/dist/components/form/slider/slider.js +2 -2
- package/dist/components/form/slider/slider.styles.js +6 -6
- package/dist/components/form/switch/switch.d.ts +1 -1
- package/dist/components/form/switch/switch.styles.js +8 -8
- package/dist/components/form/textarea/textarea.d.ts +1 -1
- package/dist/components/form/textarea/textarea.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 +1 -1
- package/dist/components/form/time-picker/time-picker.js +3 -3
- package/dist/components/form/time-picker/time-picker.styles.js +8 -8
- package/dist/components/layout/animate/animate.d.ts +40 -5
- package/dist/components/layout/animate/animate.js +30 -11
- package/dist/components/layout/animate/animate.styles.d.ts +1 -1
- package/dist/components/layout/animate/animate.styles.js +191 -1
- 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 +20 -8
- 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 +24 -0
- package/dist/components/navigation/toolbar/toolbar.js +30 -2
- package/dist/components/navigation/toolbar/toolbar.styles.js +20 -10
- package/dist/events/change.event.d.ts +13 -1
- package/dist/events/change.event.js +2 -1
- package/dist/features/scheduler/calendar/calendar.js +1 -1
- package/dist/features/scheduler/calendar/calendar.styles.js +3 -3
- package/dist/features/scheduler/scheduler/scheduler.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +4 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +1 -1
- package/dist/features/table/native-table.css +11 -11
- package/dist/features/table/table/table.styles.js +2 -2
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +2 -2
- package/dist/features/table/table-cell/table-cell.styles.js +2 -2
- package/dist/features/table/table-column/table-column.styles.js +3 -3
- package/dist/features/table/table-header/table-header.styles.js +4 -4
- package/dist/features/table/table-item/table-item.styles.js +6 -6
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -3
- package/dist/jsx.d.ts +18 -5
- package/dist/mixins/button.mixin.d.ts +1 -0
- package/dist/mixins/button.mixin.js +10 -0
- package/dist/mixins/check.mixin.d.ts +1 -1
- package/dist/mixins/check.mixin.js +6 -2
- package/dist/mixins/editable.mixin.d.ts +1 -1
- package/dist/mixins/form.mixin.d.ts +9 -1
- package/dist/mixins/form.mixin.js +110 -14
- package/dist/mixins/overflow-navigation.mixin.js +2 -1
- package/dist/mixins/radio.mixin.d.ts +1 -1
- package/dist/mixins/radio.mixin.js +6 -2
- package/dist/mixins/validators.mixin.d.ts +9 -3
- package/dist/ssr/animate-ssr.css +149 -0
- package/dist/ssr/overlay-ssr.css +57 -0
- package/dist/ssr/sidebar-ssr.css +57 -0
- package/dist/ssr/toolbar-ssr.css +41 -0
- package/dist/utils/rich-text.utils.d.ts +33 -0
- package/dist/utils/rich-text.utils.js +140 -49
- package/dist/utils/theme-generator.utils.d.ts +24 -3
- package/dist/utils/theme-generator.utils.js +66 -21
- package/package.json +14 -3
- 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-27Q2SLRY.js +0 -603
- package/dist/cdn/components/chunks/chunk-2IQUMAMI.js +0 -38
- package/dist/cdn/components/chunks/chunk-5TH3P53V.js +0 -16
- package/dist/cdn/components/chunks/chunk-7Q6AHVI5.js +0 -1
- package/dist/cdn/components/chunks/chunk-DENMN3WH.js +0 -48
- package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
- package/dist/cdn/components/chunks/chunk-ONYUXQV2.js +0 -1
- package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
- package/dist/components/layout/animate/animate-ssr.css +0 -64
|
@@ -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
|
|
@@ -32,6 +34,7 @@ import { css } from "lit";
|
|
|
32
34
|
* [--toolbar-skip-links-background] - Set a custom background for the skip-links bar, default a darker mix of the bar's own background
|
|
33
35
|
* [--toolbar-skip-links-color] - Set a custom text color for the skip-links bar
|
|
34
36
|
* [--toolbar-skip-links-separator-color] - Set a custom color for the divider drawn between skip links
|
|
37
|
+
* [--toolbar-skip-links-gap] - Set a custom gap between skip links, with the divider centered in it
|
|
35
38
|
*/
|
|
36
39
|
const base = css `
|
|
37
40
|
:host {
|
|
@@ -66,7 +69,9 @@ const base = css `
|
|
|
66
69
|
color-mix(in srgb, var(--_background) 90%, transparent)
|
|
67
70
|
);
|
|
68
71
|
--_panelColor: var(--toolbar-panel-color, var(--_color));
|
|
69
|
-
--_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));
|
|
70
75
|
--_panelGap: var(--toolbar-panel-gap, 8px);
|
|
71
76
|
--_panelBackdropBlur: var(--toolbar-panel-backdrop-blur, 8px);
|
|
72
77
|
--_skipLinksHeight: var(--toolbar-skip-links-height, 40px);
|
|
@@ -79,6 +84,7 @@ const base = css `
|
|
|
79
84
|
color-mix(in srgb, var(--_skipLinksBase) 82%, black 18%)
|
|
80
85
|
);
|
|
81
86
|
--_skipLinksColor: var(--toolbar-skip-links-color, #fff);
|
|
87
|
+
--_skipLinksGap: var(--toolbar-skip-links-gap, var(--eun-space-m, 16px));
|
|
82
88
|
--_skipLinksSeparatorColor: var(
|
|
83
89
|
--toolbar-skip-links-separator-color,
|
|
84
90
|
color-mix(in srgb, var(--_skipLinksColor) 50%, transparent)
|
|
@@ -119,7 +125,7 @@ const base = css `
|
|
|
119
125
|
padding: var(--_padding);
|
|
120
126
|
background: var(--_background);
|
|
121
127
|
color: var(--_color);
|
|
122
|
-
border-block-end: var(--eun-
|
|
128
|
+
border-block-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
|
|
123
129
|
box-shadow: var(--_shadow);
|
|
124
130
|
transition:
|
|
125
131
|
height var(--_transitionDuration) ease,
|
|
@@ -178,7 +184,7 @@ const base = css `
|
|
|
178
184
|
outline-offset: 2px;
|
|
179
185
|
outline: 2px solid transparent;
|
|
180
186
|
transition: outline 0.2s ease-out;
|
|
181
|
-
border-radius: var(--eun-
|
|
187
|
+
border-radius: var(--eun-border-radius-s);
|
|
182
188
|
}
|
|
183
189
|
#logo-link:focus-visible {
|
|
184
190
|
outline-color: var(--eun-color-primary-500);
|
|
@@ -201,7 +207,7 @@ const base = css `
|
|
|
201
207
|
z-index: calc(var(--_zIndex) + 2);
|
|
202
208
|
display: flex;
|
|
203
209
|
align-items: center;
|
|
204
|
-
gap: var(--
|
|
210
|
+
gap: var(--_skipLinksGap);
|
|
205
211
|
overflow: hidden;
|
|
206
212
|
height: var(--_skipLinksHeight);
|
|
207
213
|
padding-inline: var(--eun-space-m);
|
|
@@ -225,7 +231,7 @@ const base = css `
|
|
|
225
231
|
display: inline-flex;
|
|
226
232
|
align-items: center;
|
|
227
233
|
color: inherit;
|
|
228
|
-
font-size: var(--eun-
|
|
234
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
229
235
|
text-decoration: none;
|
|
230
236
|
white-space: nowrap;
|
|
231
237
|
}
|
|
@@ -236,7 +242,7 @@ const base = css `
|
|
|
236
242
|
--link-color-focus: var(--_skipLinksColor);
|
|
237
243
|
--link-padding: var(--eun-space-xs, 4px);
|
|
238
244
|
--link-background-focus: var(--eun-color-secondary-transparent, #edbd6f33);
|
|
239
|
-
--link-border-radius: var(--eun-
|
|
245
|
+
--link-border-radius: var(--eun-border-radius-l, 999px);
|
|
240
246
|
}
|
|
241
247
|
|
|
242
248
|
#skip-links ::slotted(a),
|
|
@@ -244,7 +250,7 @@ const base = css `
|
|
|
244
250
|
padding: var(--eun-space-xs, 4px);
|
|
245
251
|
outline: 2px solid transparent;
|
|
246
252
|
outline-offset: 2px;
|
|
247
|
-
border-radius: var(--eun-
|
|
253
|
+
border-radius: var(--eun-border-radius-l, 999px);
|
|
248
254
|
transition:
|
|
249
255
|
outline 0.2s ease-out,
|
|
250
256
|
background 0.2s ease-out;
|
|
@@ -253,13 +259,12 @@ const base = css `
|
|
|
253
259
|
#skip-links ::slotted(a:not(:first-child)),
|
|
254
260
|
#skip-links ::slotted(eun-link:not(:first-child)) {
|
|
255
261
|
position: relative;
|
|
256
|
-
padding-inline-start: var(--eun-space-s);
|
|
257
262
|
}
|
|
258
263
|
#skip-links ::slotted(a:not(:first-child))::before,
|
|
259
264
|
#skip-links ::slotted(eun-link:not(:first-child))::before {
|
|
260
265
|
content: "";
|
|
261
266
|
position: absolute;
|
|
262
|
-
inset-inline-start:
|
|
267
|
+
inset-inline-start: calc(var(--_skipLinksGap) / -2);
|
|
263
268
|
inset-block: 0;
|
|
264
269
|
width: 1px;
|
|
265
270
|
background: var(--_skipLinksSeparatorColor);
|
|
@@ -314,13 +319,17 @@ const base = css `
|
|
|
314
319
|
}
|
|
315
320
|
|
|
316
321
|
#panel-header {
|
|
322
|
+
box-sizing: border-box;
|
|
317
323
|
position: absolute;
|
|
318
324
|
inset-block-start: 0;
|
|
319
325
|
inset-inline-end: 0;
|
|
320
326
|
z-index: 1;
|
|
321
327
|
display: flex;
|
|
322
|
-
|
|
328
|
+
align-items: var(--_burgerAlign);
|
|
329
|
+
height: calc(var(--_currentHeight) - var(--eun-border-width-s, 1px));
|
|
330
|
+
padding: var(--_burgerPadding);
|
|
323
331
|
pointer-events: auto;
|
|
332
|
+
transition: height var(--_transitionDuration) ease;
|
|
324
333
|
}
|
|
325
334
|
|
|
326
335
|
#panel-body {
|
|
@@ -385,6 +394,7 @@ const base = css `
|
|
|
385
394
|
@media (prefers-reduced-motion: reduce) {
|
|
386
395
|
#bar,
|
|
387
396
|
#panel,
|
|
397
|
+
#panel-header,
|
|
388
398
|
#panel-body,
|
|
389
399
|
#skip-links {
|
|
390
400
|
transition-duration: 0.01ms;
|
|
@@ -11,7 +11,19 @@ export declare class ChangeEvent<T = unknown> extends Event {
|
|
|
11
11
|
* Declaration of the element that dispatches the event.
|
|
12
12
|
*/
|
|
13
13
|
target: LitElement & FormMixinInterface<T>;
|
|
14
|
-
|
|
14
|
+
/**
|
|
15
|
+
* The new value (or `checked` state, for a checkable field) at the
|
|
16
|
+
* moment this event was dispatched — the same one already readable from
|
|
17
|
+
* `event.target.value`/`.checked`, exposed directly on the event too so
|
|
18
|
+
* a listener attached higher up the tree (delegation on a `<form>`, for
|
|
19
|
+
* instance) can read it as `event.value` without narrowing
|
|
20
|
+
* `event.target`'s type itself. `undefined` for a dispatcher with no
|
|
21
|
+
* single value of its own (toolbar, sidebar, collapse still only ever
|
|
22
|
+
* construct this with no argument, reporting their own state through
|
|
23
|
+
* `event.target` instead, same as before).
|
|
24
|
+
*/
|
|
25
|
+
readonly value: T;
|
|
26
|
+
constructor(value?: T);
|
|
15
27
|
}
|
|
16
28
|
declare global {
|
|
17
29
|
interface GlobalEventHandlersEventMap {
|
|
@@ -867,7 +867,7 @@ let EunomiaCalendar = class EunomiaCalendar extends LitElement {
|
|
|
867
867
|
pointerEvents: "none",
|
|
868
868
|
zIndex: "1000",
|
|
869
869
|
boxShadow: "0 8px 20px rgba(0, 0, 0, 0.2)",
|
|
870
|
-
borderRadius: "var(--eun-
|
|
870
|
+
borderRadius: "var(--eun-border-radius-s, 5px)",
|
|
871
871
|
});
|
|
872
872
|
this.dragGhostLayerEl?.appendChild(ghost);
|
|
873
873
|
this.dragGhostEl = ghost;
|
|
@@ -86,7 +86,7 @@ const base = css `
|
|
|
86
86
|
gap: 2px;
|
|
87
87
|
min-width: 36px;
|
|
88
88
|
padding: var(--eun-space-xs, 4px) 2px;
|
|
89
|
-
border-radius: var(--eun-
|
|
89
|
+
border-radius: var(--eun-border-radius-s, 5px);
|
|
90
90
|
cursor: pointer;
|
|
91
91
|
text-align: center;
|
|
92
92
|
}
|
|
@@ -109,13 +109,13 @@ const base = css `
|
|
|
109
109
|
|
|
110
110
|
.week-day-strip-day.today .week-day-strip-daynum {
|
|
111
111
|
color: var(--eun-color-info-100, #097faf);
|
|
112
|
-
font-weight: var(--eun-
|
|
112
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.week-day-strip-day.selected .week-day-strip-daynum {
|
|
116
116
|
background: var(--eun-color-info-100, #097faf);
|
|
117
117
|
color: #fff;
|
|
118
|
-
font-weight: var(--eun-
|
|
118
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.week-day-strip-day:focus-visible {
|
|
@@ -15,7 +15,7 @@ const base = css `
|
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
border: 1px solid
|
|
17
17
|
var(--scheduler-border-color, var(--eun-border-color, #dee0e7));
|
|
18
|
-
border-radius: var(--eun-
|
|
18
|
+
border-radius: var(--eun-border-radius-m, 10px);
|
|
19
19
|
background: var(--scheduler-background, var(--eun-surface-color, #ffffff));
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
@@ -83,7 +83,7 @@ const base = css `
|
|
|
83
83
|
#period-label {
|
|
84
84
|
margin: 0 var(--eun-space-xs, 4px);
|
|
85
85
|
font-size: 15px;
|
|
86
|
-
font-weight: var(--eun-
|
|
86
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
87
87
|
color: var(--eun-text-color, #071621);
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -57,7 +57,7 @@ const base = css `
|
|
|
57
57
|
padding: var(--scheduler-event-padding, var(--eun-space-xs, 4px));
|
|
58
58
|
border-radius: var(
|
|
59
59
|
--scheduler-event-radius,
|
|
60
|
-
var(--eun-
|
|
60
|
+
var(--eun-border-radius-s, 5px)
|
|
61
61
|
);
|
|
62
62
|
outline: 2px solid transparent;
|
|
63
63
|
cursor: pointer;
|
|
@@ -143,7 +143,7 @@ const base = css `
|
|
|
143
143
|
white-space: nowrap;
|
|
144
144
|
color: var(--scheduler-event-title-color, var(--eun-text-color, #071621));
|
|
145
145
|
font-size: 12px;
|
|
146
|
-
font-weight: var(--eun-
|
|
146
|
+
font-weight: var(--eun-font-weight-m, 600);
|
|
147
147
|
line-height: 1.3;
|
|
148
148
|
}
|
|
149
149
|
|
|
@@ -31,8 +31,8 @@ const base = css `
|
|
|
31
31
|
display: block;
|
|
32
32
|
margin-bottom: var(--eun-space-xs, 4px);
|
|
33
33
|
color: var(--eun-text-color, #071621);
|
|
34
|
-
font-size: var(--eun-
|
|
35
|
-
font-weight: var(--eun-
|
|
34
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
35
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.guest-input-row {
|
|
@@ -16,7 +16,7 @@ const base = css `
|
|
|
16
16
|
margin: 0;
|
|
17
17
|
padding: 0;
|
|
18
18
|
border: 1px solid var(--eun-border-color, #dee0e7);
|
|
19
|
-
border-radius: var(--eun-
|
|
19
|
+
border-radius: var(--eun-border-radius-m, 10px);
|
|
20
20
|
background: var(--eun-surface-color, #ffffff);
|
|
21
21
|
box-shadow: var(--eun-shadow-m, 0 8px 24px rgba(7, 22, 33, 0.16));
|
|
22
22
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
@@ -52,8 +52,8 @@ const base = css `
|
|
|
52
52
|
|
|
53
53
|
.event-popover-bar {
|
|
54
54
|
height: 4px;
|
|
55
|
-
border-radius: var(--eun-
|
|
56
|
-
var(--eun-
|
|
55
|
+
border-radius: var(--eun-border-radius-m, 10px)
|
|
56
|
+
var(--eun-border-radius-m, 10px) 0 0;
|
|
57
57
|
background: var(--_accent, var(--eun-color-blue-600, #0aa5a8));
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -75,7 +75,7 @@ const base = css `
|
|
|
75
75
|
margin: 0;
|
|
76
76
|
padding-right: 28px;
|
|
77
77
|
font-size: 16px;
|
|
78
|
-
font-weight: var(--eun-
|
|
78
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.event-popover-row {
|
|
@@ -78,35 +78,35 @@
|
|
|
78
78
|
border-collapse: separate;
|
|
79
79
|
border-spacing: 0;
|
|
80
80
|
box-sizing: border-box;
|
|
81
|
-
border: var(--eun-
|
|
81
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
82
82
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
83
|
-
border-radius: var(--eun-
|
|
83
|
+
border-radius: var(--eun-border-radius-m, 10px);
|
|
84
84
|
background: var(--table-background, var(--eun-surface-color, #ffffff));
|
|
85
85
|
font-family: var(--eun-font-family, "'Mulish', sans-serif");
|
|
86
|
-
font-size: var(--eun-
|
|
86
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
87
87
|
color: var(--eun-text-color, #071621);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.eun-table-scroll {
|
|
91
91
|
overflow: auto;
|
|
92
92
|
max-height: var(--table-max-height, none);
|
|
93
|
-
border-radius: var(--eun-
|
|
93
|
+
border-radius: var(--eun-border-radius-m, 10px);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.eun-table caption {
|
|
97
97
|
caption-side: top;
|
|
98
98
|
text-align: left;
|
|
99
99
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
100
|
-
font-weight: var(--eun-
|
|
100
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.eun-table th,
|
|
104
104
|
.eun-table td {
|
|
105
105
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
106
106
|
text-align: left;
|
|
107
|
-
border-bottom: var(--eun-
|
|
107
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
108
108
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
109
|
-
border-right: var(--eun-
|
|
109
|
+
border-right: var(--eun-border-width-s, 1px) solid
|
|
110
110
|
var(--table-column-border-color, transparent);
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
|
|
117
117
|
.eun-table thead th {
|
|
118
118
|
background: var(--table-header-background, var(--eun-surface-color, #ffffff));
|
|
119
|
-
font-weight: var(--eun-
|
|
119
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
120
120
|
color: var(--eun-text-secondary, #484e61);
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
--table-sticky-column-background,
|
|
207
207
|
var(--table-header-background, var(--eun-surface-color, #ffffff))
|
|
208
208
|
);
|
|
209
|
-
border-left: var(--eun-
|
|
209
|
+
border-left: var(--eun-border-width-s, 1px) solid
|
|
210
210
|
var(
|
|
211
211
|
--table-sticky-border-color,
|
|
212
212
|
var(--table-column-border-color, transparent)
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
--table-sticky-column-background,
|
|
222
222
|
var(--table-background, var(--eun-surface-color, #ffffff))
|
|
223
223
|
);
|
|
224
|
-
border-left: var(--eun-
|
|
224
|
+
border-left: var(--eun-border-width-s, 1px) solid
|
|
225
225
|
var(
|
|
226
226
|
--table-sticky-border-color,
|
|
227
227
|
var(--table-column-border-color, transparent)
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
--table-sticky-row-background,
|
|
257
257
|
var(--table-background, var(--eun-surface-color, #ffffff))
|
|
258
258
|
);
|
|
259
|
-
border-top: var(--eun-
|
|
259
|
+
border-top: var(--eun-border-width-s, 1px) solid
|
|
260
260
|
var(
|
|
261
261
|
--table-sticky-border-color,
|
|
262
262
|
var(--table-border-color, var(--eun-border-color, #dee0e7))
|
|
@@ -19,9 +19,9 @@ const base = css `
|
|
|
19
19
|
grid-template-columns: var(--_columns, none);
|
|
20
20
|
align-items: stretch;
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
border: var(--eun-
|
|
22
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
23
23
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
24
|
-
border-radius: var(--eun-
|
|
24
|
+
border-radius: var(--eun-border-radius-m, 10px);
|
|
25
25
|
background: var(--table-background, var(--eun-surface-color, #ffffff));
|
|
26
26
|
overflow: auto;
|
|
27
27
|
max-height: var(--table-max-height, none);
|
|
@@ -52,11 +52,11 @@ const base = css `
|
|
|
52
52
|
width: max-content;
|
|
53
53
|
max-width: 100%;
|
|
54
54
|
box-sizing: border-box;
|
|
55
|
-
border: var(--eun-
|
|
55
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
56
56
|
var(--table-action-bar-border-color, var(--eun-border-color, #dee0e7));
|
|
57
57
|
border-radius: var(
|
|
58
58
|
--table-action-bar-border-radius,
|
|
59
|
-
var(--eun-
|
|
59
|
+
var(--eun-border-radius-l, 10px)
|
|
60
60
|
);
|
|
61
61
|
background: var(
|
|
62
62
|
--table-action-bar-background,
|
|
@@ -21,7 +21,7 @@ const base = css `
|
|
|
21
21
|
display: flex;
|
|
22
22
|
box-sizing: border-box;
|
|
23
23
|
min-width: 0;
|
|
24
|
-
border-inline-end: var(--eun-
|
|
24
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
25
25
|
var(--table-column-border-color, transparent);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -38,7 +38,7 @@ const base = css `
|
|
|
38
38
|
width: 100%;
|
|
39
39
|
min-width: 0;
|
|
40
40
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
41
|
-
font-size: var(--eun-
|
|
41
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
42
42
|
color: var(--table-cell-color, var(--eun-text-color, #071621));
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
}
|
|
@@ -23,7 +23,7 @@ const base = css `
|
|
|
23
23
|
display: flex;
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
min-width: 0;
|
|
26
|
-
border-inline-end: var(--eun-
|
|
26
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
27
27
|
var(--table-column-border-color, transparent);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -39,8 +39,8 @@ const base = css `
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
min-width: 0;
|
|
41
41
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
42
|
-
font-size: var(--eun-
|
|
43
|
-
font-weight: var(--table-column-font-weight, var(--eun-
|
|
42
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
43
|
+
font-weight: var(--table-column-font-weight, var(--eun-font-weight-m, 500));
|
|
44
44
|
color: var(--table-column-color, var(--eun-text-secondary, #484e61));
|
|
45
45
|
text-align: left;
|
|
46
46
|
white-space: nowrap;
|
|
@@ -24,9 +24,9 @@ const base = css `
|
|
|
24
24
|
var(--eun-surface-color, #ffffff)
|
|
25
25
|
);
|
|
26
26
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
27
|
-
border-bottom: var(--eun-
|
|
27
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
28
28
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
29
|
-
font-weight: var(--eun-
|
|
29
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
30
30
|
transition: box-shadow var(--table-row-transition-duration, 200ms) ease;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -92,7 +92,7 @@ const base = css `
|
|
|
92
92
|
var(--table-header-background, var(--eun-surface-color, #ffffff))
|
|
93
93
|
);
|
|
94
94
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
95
|
-
border-inline-end: var(--eun-
|
|
95
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
96
96
|
var(
|
|
97
97
|
--table-sticky-border-color,
|
|
98
98
|
var(--table-column-border-color, transparent)
|
|
@@ -137,7 +137,7 @@ const base = css `
|
|
|
137
137
|
);
|
|
138
138
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
139
139
|
transition: box-shadow var(--table-row-transition-duration, 200ms) ease;
|
|
140
|
-
border-inline-start: var(--eun-
|
|
140
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
141
141
|
var(
|
|
142
142
|
--table-sticky-border-color,
|
|
143
143
|
var(--table-column-border-color, transparent)
|
|
@@ -99,7 +99,7 @@ const base = css `
|
|
|
99
99
|
var(--eun-surface-color, #ffffff)
|
|
100
100
|
);
|
|
101
101
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
102
|
-
border-bottom: var(--eun-
|
|
102
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
103
103
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
104
104
|
transition:
|
|
105
105
|
background-color var(--_table-row-transition-duration) ease,
|
|
@@ -128,7 +128,7 @@ const base = css `
|
|
|
128
128
|
position: sticky;
|
|
129
129
|
bottom: 0;
|
|
130
130
|
z-index: var(--_table-z-sticky-row, 3);
|
|
131
|
-
border-top: var(--eun-
|
|
131
|
+
border-top: var(--eun-border-width-s, 1px) solid
|
|
132
132
|
var(
|
|
133
133
|
--table-sticky-border-color,
|
|
134
134
|
var(--table-border-color, var(--eun-border-color, #dee0e7))
|
|
@@ -162,7 +162,7 @@ const base = css `
|
|
|
162
162
|
);
|
|
163
163
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
164
164
|
padding-inline-start: var(--eun-space-s);
|
|
165
|
-
border-inline-end: var(--eun-
|
|
165
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
166
166
|
var(
|
|
167
167
|
--table-sticky-border-color,
|
|
168
168
|
var(--table-column-border-color, transparent)
|
|
@@ -228,7 +228,7 @@ const base = css `
|
|
|
228
228
|
position: sticky;
|
|
229
229
|
left: var(--_table-select-offset, 0px);
|
|
230
230
|
z-index: var(--_table-z-sticky-col, 2);
|
|
231
|
-
border-inline-end: var(--eun-
|
|
231
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
232
232
|
var(
|
|
233
233
|
--table-sticky-border-color,
|
|
234
234
|
var(--table-column-border-color, transparent)
|
|
@@ -301,7 +301,7 @@ const base = css `
|
|
|
301
301
|
position: sticky;
|
|
302
302
|
right: 0;
|
|
303
303
|
z-index: var(--_table-z-sticky-col, 2);
|
|
304
|
-
border-inline-start: var(--eun-
|
|
304
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
305
305
|
var(
|
|
306
306
|
--table-sticky-border-color,
|
|
307
307
|
var(--table-column-border-color, transparent)
|
|
@@ -312,7 +312,7 @@ const base = css `
|
|
|
312
312
|
position: sticky;
|
|
313
313
|
right: var(--_table-action-offset, 0px);
|
|
314
314
|
z-index: var(--_table-z-sticky-col, 2);
|
|
315
|
-
border-inline-start: var(--eun-
|
|
315
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
316
316
|
var(
|
|
317
317
|
--table-sticky-border-color,
|
|
318
318
|
var(--table-column-border-color, transparent)
|
|
@@ -17,7 +17,7 @@ export const tableSkeletonRowStyles = css `
|
|
|
17
17
|
grid-template-columns: subgrid;
|
|
18
18
|
align-items: center;
|
|
19
19
|
box-sizing: border-box;
|
|
20
|
-
border-bottom: var(--eun-
|
|
20
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
21
21
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
22
22
|
opacity: 0;
|
|
23
23
|
animation: eun-table-skeleton-row-enter
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { EunomiaToggleItem, EunomiaToggleItemTagName, } from "./components/actio
|
|
|
15
15
|
export { EunomiaToggleGroup, EunomiaToggleGroupTagName, } from "./components/action/toggle/toggle-group.js";
|
|
16
16
|
export type { EunomiaToggleGroupOption, EunomiaToggleGroupAppearance, } from "./components/action/toggle/toggle-group.js";
|
|
17
17
|
export { EunomiaLink, EunomiaLinkTagName, } from "./components/action/link/link.js";
|
|
18
|
-
export { EunomiaIcon, EunomiaIconTagName, } from "./components/content/icon/icon.js";
|
|
18
|
+
export { EunomiaIcon, EunomiaIconTagName, setIconBaseUrl, } from "./components/content/icon/icon.js";
|
|
19
19
|
export type { EunomiaIconName, EunomiaIconType, } from "./components/content/icon/icon.type.js";
|
|
20
20
|
export { EunomiaTag, EunomiaTagTagName } from "./components/content/tag/tag.js";
|
|
21
21
|
export { EunomiaChip, EunomiaChipTagName, } from "./components/content/chip/chip.js";
|
|
@@ -108,11 +108,11 @@ export { EUNOMIA_BREAKPOINTS } from "./breakpoints.js";
|
|
|
108
108
|
export type { EunomiaBreakpoint } from "./breakpoints.js";
|
|
109
109
|
export { setDefaultLocale, getDefaultLocale } from "./i18n/index.js";
|
|
110
110
|
export type { Dictionary } from "./i18n/index.js";
|
|
111
|
-
export { buildPalette, buildTints, initializeTheme, } from "./utils/theme-generator.utils.js";
|
|
112
|
-
export type { EunomiaHexColor, EunomiaThemeShadeValue, EunomiaThemeTints, } from "./utils/theme-generator.utils.js";
|
|
111
|
+
export { buildPalette, buildTints, buildThemeCss, initializeTheme, } from "./utils/theme-generator.utils.js";
|
|
112
|
+
export type { EunomiaHexColor, EunomiaThemeCssOptions, EunomiaThemeShadeValue, EunomiaThemeTints, } from "./utils/theme-generator.utils.js";
|
|
113
113
|
export type { DragReorderOptions, DragReorderController, DragReorderOrientation, DragReorderStartDetail, DragReorderMoveDetail, DragReorderCommitDetail, DragReorderEndDetail, } from "./utils/drag-drop.utils.js";
|
|
114
|
-
export { findRichTextColor, formatRichText, getPlainTextLength, joinAlign, RICH_TEXT_COLORS, splitAlign, } from "./utils/rich-text.utils.js";
|
|
115
|
-
export type { RichTextColor, TextAlign } from "./utils/rich-text.utils.js";
|
|
114
|
+
export { findRichTextColor, formatRichText, getPlainTextLength, joinAlign, parseInlineNodes, RICH_TEXT_COLORS, splitAlign, toHtml, toPlainText, } from "./utils/rich-text.utils.js";
|
|
115
|
+
export type { InlineNode, RichTextColor, TextAlign, } from "./utils/rich-text.utils.js";
|
|
116
116
|
export { LoadMoreEvent } from "./events/loadmore.event.js";
|
|
117
117
|
export { PageChangeEvent } from "./events/pagechange.event.js";
|
|
118
118
|
export { PageSizeChangeEvent } from "./events/pagesizechange.event.js";
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
// alongside them, composing the others and writing the result onto
|
|
26
26
|
// `document.documentElement`, exported so a consumer doesn't have to
|
|
27
27
|
// reassemble that composition themselves just to apply a custom brand.
|
|
28
|
+
// `buildThemeCss` is its pure counterpart, returning the same tokens as a
|
|
29
|
+
// stylesheet so an SSR app can ship the brand in the HTML itself instead
|
|
30
|
+
// of flashing the base theme until `initializeTheme` runs after hydration.
|
|
28
31
|
// `EUNOMIA_BREAKPOINTS` is exported so a consumer's own responsive layout
|
|
29
32
|
// code can switch at the exact same pixel widths the components already
|
|
30
33
|
// react to internally, instead of guessing or duplicating those numbers.
|
|
@@ -39,7 +42,7 @@ export { EunomiaToggle, EunomiaToggleTagName, } from "./components/action/toggle
|
|
|
39
42
|
export { EunomiaToggleItem, EunomiaToggleItemTagName, } from "./components/action/toggle/toggle-item.js";
|
|
40
43
|
export { EunomiaToggleGroup, EunomiaToggleGroupTagName, } from "./components/action/toggle/toggle-group.js";
|
|
41
44
|
export { EunomiaLink, EunomiaLinkTagName, } from "./components/action/link/link.js";
|
|
42
|
-
export { EunomiaIcon, EunomiaIconTagName, } from "./components/content/icon/icon.js";
|
|
45
|
+
export { EunomiaIcon, EunomiaIconTagName, setIconBaseUrl, } from "./components/content/icon/icon.js";
|
|
43
46
|
export { EunomiaTag, EunomiaTagTagName } from "./components/content/tag/tag.js";
|
|
44
47
|
export { EunomiaChip, EunomiaChipTagName, } from "./components/content/chip/chip.js";
|
|
45
48
|
export { EunomiaBadge, EunomiaBadgeTagName, } from "./components/content/badge/badge.js";
|
|
@@ -103,8 +106,8 @@ export { debounce, throttle } from "./utils/time.utils.js";
|
|
|
103
106
|
export { createDragReorder } from "./utils/drag-drop.utils.js";
|
|
104
107
|
export { EUNOMIA_BREAKPOINTS } from "./breakpoints.js";
|
|
105
108
|
export { setDefaultLocale, getDefaultLocale } from "./i18n/index.js";
|
|
106
|
-
export { buildPalette, buildTints, initializeTheme, } from "./utils/theme-generator.utils.js";
|
|
107
|
-
export { findRichTextColor, formatRichText, getPlainTextLength, joinAlign, RICH_TEXT_COLORS, splitAlign, } from "./utils/rich-text.utils.js";
|
|
109
|
+
export { buildPalette, buildTints, buildThemeCss, initializeTheme, } from "./utils/theme-generator.utils.js";
|
|
110
|
+
export { findRichTextColor, formatRichText, getPlainTextLength, joinAlign, parseInlineNodes, RICH_TEXT_COLORS, splitAlign, toHtml, toPlainText, } from "./utils/rich-text.utils.js";
|
|
108
111
|
export { LoadMoreEvent } from "./events/loadmore.event.js";
|
|
109
112
|
export { PageChangeEvent } from "./events/pagechange.event.js";
|
|
110
113
|
export { PageSizeChangeEvent } from "./events/pagesizechange.event.js";
|
package/dist/jsx.d.ts
CHANGED
|
@@ -20,14 +20,27 @@
|
|
|
20
20
|
* erased, so importing it (`import type {} from "@eunomia/elements/jsx"`)
|
|
21
21
|
* never calls `customElements.define(...)` and carries none of the SSR
|
|
22
22
|
* risk a value import of a component does. `react`'s types describe
|
|
23
|
-
* `
|
|
24
|
-
* still doesn't depend on React at runtime, so a non-React
|
|
25
|
-
* resolves this module at all.
|
|
23
|
+
* `HTMLAttributes`/`Key`/`Ref` here, but only as a type dependency: this
|
|
24
|
+
* package still doesn't depend on React at runtime, so a non-React
|
|
25
|
+
* consumer never resolves this module at all.
|
|
26
26
|
*/
|
|
27
|
-
import type {
|
|
27
|
+
import type { HTMLAttributes, Key, Ref } from "react";
|
|
28
28
|
type EunomiaTagName = Extract<keyof HTMLElementTagNameMap, `eun-${string}`>;
|
|
29
|
-
type
|
|
29
|
+
type EunomiaOwnProps<T> = Partial<Omit<T, keyof HTMLElement | keyof HTMLOrSVGElement>>;
|
|
30
|
+
/**
|
|
31
|
+
* Props allowed on a `<eun-*>` tag in TSX: the element's own reactive
|
|
32
|
+
* properties, plus every standard HTML/ARIA attribute and event handler
|
|
33
|
+
* React already knows about (id, style, title, tabIndex, aria-*, onClick,
|
|
34
|
+
* ...). `className` is deliberately excluded: React only rewrites it to
|
|
35
|
+
* the `class` attribute for elements it recognizes, not arbitrary custom
|
|
36
|
+
* elements — `class` is the one that actually works here. Custom events
|
|
37
|
+
* (`eunnavigate`, `eunchange`, ...) aren't included — those are typed and
|
|
38
|
+
* wired per-component with a ref, when that component is migrated.
|
|
39
|
+
*/
|
|
40
|
+
type EunomiaElementProps<T> = EunomiaOwnProps<T> & Omit<HTMLAttributes<T>, "className" | keyof EunomiaOwnProps<T>> & {
|
|
30
41
|
ref?: Ref<T>;
|
|
42
|
+
key?: Key | null;
|
|
43
|
+
class?: string;
|
|
31
44
|
};
|
|
32
45
|
type EunomiaJSXElements = {
|
|
33
46
|
[K in EunomiaTagName]: EunomiaElementProps<HTMLElementTagNameMap[K]>;
|