@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
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ list is just the map.
|
|
|
76
76
|
|
|
77
77
|
## Sizing assumes `1rem = 16px`
|
|
78
78
|
|
|
79
|
-
Every size token (`--eun-
|
|
79
|
+
Every size token (`--eun-font-size-*`, `--eun-space-*`, icon sizes,
|
|
80
80
|
button padding, ...) is expressed in `rem`, which is always relative to
|
|
81
81
|
the `font-size` on `<html>`, never to a nearby parent. The values shown
|
|
82
82
|
throughout the documentation site assume the browser default of 16px,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import{a as k,b as f,c as _}from"./chunk-SGM2X2TC.js";import{a as c,b as v,c as y,d as x,f as T,g as E,h,i as I,n as b,o as w,p as d,s as S}from"./chunk-XH6NREVZ.js";var o=class extends _{constructor(r){if(super(r),this.it=d,r.type!==k.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===d||r==null)return this._t=void 0,this.it=r;if(r===w)return r;if(typeof r!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;let e=[r];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};o.directiveName="unsafeHTML",o.resultType=1;var H=f(o);var l=class extends o{};l.directiveName="unsafeSVG",l.resultType=2;var $=f(l);var N=E`
|
|
2
|
+
:host {
|
|
3
|
+
display: flex;
|
|
4
|
+
--_size: var(--icon-size, 1rem);
|
|
5
|
+
--_color: var(--icon-color, currentColor);
|
|
6
|
+
--_background: var(--icon-background, transparent);
|
|
7
|
+
}
|
|
8
|
+
span {
|
|
9
|
+
box-sizing: content-box;
|
|
10
|
+
width: var(--_size);
|
|
11
|
+
height: var(--_size);
|
|
12
|
+
padding: var(--icon-padding, 0);
|
|
13
|
+
fill: var(--_color);
|
|
14
|
+
color: var(--_color);
|
|
15
|
+
background-color: var(--_background);
|
|
16
|
+
border-radius: var(--icon-border-radius, var(--eun-border-radius-m, 8px));
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
user-select: none;
|
|
20
|
+
transition: 0.2s;
|
|
21
|
+
}
|
|
22
|
+
svg {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
svg path {
|
|
28
|
+
stroke-width: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (prefers-reduced-motion: reduce) {
|
|
32
|
+
span {
|
|
33
|
+
transition: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`;var U="eun-icon",M=new RegExp("_(outline|round|sharp)$"),C=import.meta.url,m,g=new Set;function q(a){m=a.endsWith("/")?a.slice(0,-1):a,g.forEach(r=>r.reload())}var p,i=class extends S{constructor(){super(...arguments);y(this,p)}set size(e){x(this,p,e);let t;e?/%$/.test(e)?t=`${parseFloat(e)/100}rem`:/^\d+(\.\d+)?$/.test(e)?t=`${e}px`:t=e:t="1rem",this.style.setProperty("--_size",t)}get size(){return v(this,p)}connectedCallback(){super.connectedCallback(),g.add(this)}disconnectedCallback(){super.disconnectedCallback(),g.delete(this)}reload(){this.updateSvg(this.name)}updated(e){(e.has("name")||e.has("shape"))&&this.updateSvg(this.name)}updateSvg(e){if(!e)return;this.name=e;let t=this.getTargetIconFolder(e),s=this.stripShapeSuffix(e),u=t==="default"?s:`${s}_${t}`;this.fetchIconSvg(t,u).then(n=>{this.svgMarkup=n}).catch(()=>{t!=="default"&&this.fetchIconSvg("default",s).then(n=>{this.svgMarkup=n}).catch(()=>{})})}async fetchIconSvg(e,t){let s;if(m)s=`${m}/${e}/${t}.svg`;else{let n=new URL(C);if(n.protocol==="file:")throw new Error("eun-icon can't locate its icons: the bundler rewrote import.meta.url to a file: URL. Serve the icons folder and call setIconBaseUrl().");let L=n.pathname.slice(0,n.pathname.lastIndexOf("/"));n.pathname=`${L}/icons/${e}/${t}.svg`,s=n.href}let u=await fetch(s);if(!u.ok)throw new Error(`Icon not found: ${s}`);return u.text()}getTargetIconFolder(e){if(this.shape)return this.shape;let t=this.extractKeywordFromIconName(e);return t||"default"}extractKeywordFromIconName(e){let t=e.match(M);if(t)return t[1]}stripShapeSuffix(e){return e.replace(M,"")}render(){return this.name?b`<span part="wrapper" aria-hidden="true">
|
|
37
|
+
${this.svgMarkup?$(this.svgMarkup):d}
|
|
38
|
+
</span>`:d}};p=new WeakMap,i.styles=[N],c([h()],i.prototype,"name",2),c([h()],i.prototype,"shape",2),c([I()],i.prototype,"svgMarkup",2),c([h({hasChanged:()=>!1})],i.prototype,"size",1),i=c([T(U)],i);export{U as a,q as b,i as c};
|
|
39
|
+
/*! Bundled license information:
|
|
40
|
+
|
|
41
|
+
lit-html/directives/unsafe-html.js:
|
|
42
|
+
lit-html/directives/unsafe-svg.js:
|
|
43
|
+
(**
|
|
44
|
+
* @license
|
|
45
|
+
* Copyright 2017 Google LLC
|
|
46
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
+
*)
|
|
48
|
+
*/
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import{a as r,g as s,h as o}from"./chunk-XH6NREVZ.js";var u=n=>{class e extends n{constructor(){super(...arguments);this.type="button";this.fixedColor=!1;this.size="m";this.rounded=!1;this.slide=!1;this.loading=!1}connectedCallback(){super.connectedCallback?.(),!this.href&&(this.hasAttribute("role")||this.setAttribute("role","button"),this.addEventListener("click",this.handleClick,!0),this.addEventListener("keydown",this.handleKeydown,!0))}disconnectedCallback(){this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback?.()}handleClick(t){if(this.disabled||this.loading){t.stopImmediatePropagation();return}if(this.hasAttribute("commandfor")){this.handleCommandClick?.();return}if(this.hasAttribute("popovertarget")){this.handlePopoverClick?.();return}this.handleFormBehavior()}handleKeydown(t){this.disabled||this.loading||!["Enter"," "].includes(t.key)||(t.preventDefault(),this.handleFormBehavior()||this.dispatchEvent(new Event("click")))}handleFormBehavior(){if(this.type!=="submit"&&this.type!=="reset")return!1;let t;if(this.form?t=this.getRootNode()?.getElementById(this.form):t=this.closest("form"),!t||!(t instanceof HTMLFormElement))throw new Error("The element link to the button does not exist or is invalid");return this.type==="reset"&&t.reset(),this.type==="submit"&&t.requestSubmit(),!0}}return r([o({reflect:!0})],e.prototype,"type",2),r([o({reflect:!0})],e.prototype,"variant",2),r([o({type:Boolean,reflect:!0,attribute:"fixed-color"})],e.prototype,"fixedColor",2),r([o({reflect:!0})],e.prototype,"size",2),r([o({type:Boolean,reflect:!0})],e.prototype,"rounded",2),r([o({type:Boolean,reflect:!0})],e.prototype,"slide",2),r([o()],e.prototype,"form",2),r([o()],e.prototype,"href",2),r([o()],e.prototype,"target",2),r([o()],e.prototype,"download",2),r([o({type:Boolean,reflect:!0})],e.prototype,"loading",2),e};var c=class n extends Event{static{this.eventName="command"}constructor(e,a){super(n.eventName,{bubbles:!1,composed:!0,cancelable:!0}),this.command=e,this.source=a}};function d(n,e){let a=globalThis.CommandEvent;return typeof a=="function"?new a(c.eventName,{command:n,source:e,cancelable:!0,composed:!0}):new c(n,e)}var g=n=>{class e extends n{handleCommandClick(){let i=this.getAttribute("commandfor");if(!i)return;let l=this.getRootNode().getElementById(i);if(!l)throw new Error(`The given id [${i}] do not correspond to any command target`);l.dispatchEvent(d(this.getAttribute("command")??"",this))}}return r([o({reflect:!0})],e.prototype,"command",2),r([o({attribute:"commandfor"})],e.prototype,"commandFor",2),e};var x=s`
|
|
2
|
+
:host {
|
|
3
|
+
--_solid: var(--eun-color-primary-500, #3d6fff);
|
|
4
|
+
--_solid-hover: var(--eun-color-primary-700, #3662e0);
|
|
5
|
+
--_solid-active: var(--eun-color-primary-800, #2d52bd);
|
|
6
|
+
--_onSolid: var(--eun-color-on-primary-500, #ffffff);
|
|
7
|
+
--_accent: var(--eun-color-primary-500, #3d6fff);
|
|
8
|
+
--_tint: var(--eun-color-primary-transparent, #3d6fff33);
|
|
9
|
+
--_tint-hover: var(--eun-color-primary-transparent-hover, #3d6fff4d);
|
|
10
|
+
--_tint-active: var(--eun-color-primary-transparent-active, #3d6fff66);
|
|
11
|
+
--_fgTint: var(--_accent);
|
|
12
|
+
--_wash-hover: var(--_tint-hover);
|
|
13
|
+
--_wash-active: var(--_tint-active);
|
|
14
|
+
--_flat: var(--eun-surface-sunken, #f7f8fa);
|
|
15
|
+
--_flat-hover: var(--eun-surface-sunken-hover, #edeff0);
|
|
16
|
+
--_flatFg: var(--eun-text-secondary, #484e61);
|
|
17
|
+
--_ring: var(--eun-color-primary-700, #3662e0);
|
|
18
|
+
}
|
|
19
|
+
:host([variant="secondary"]) {
|
|
20
|
+
--_solid: var(--eun-color-secondary-500, #e5a030);
|
|
21
|
+
--_solid-hover: var(--eun-color-secondary-700, #ca8d2a);
|
|
22
|
+
--_solid-active: var(--eun-color-secondary-800, #a97624);
|
|
23
|
+
--_onSolid: var(--eun-color-on-secondary-500, #000000de);
|
|
24
|
+
--_accent: var(--eun-color-secondary-500, #e5a030);
|
|
25
|
+
--_tint: var(--eun-color-secondary-transparent, #e5a03033);
|
|
26
|
+
--_tint-hover: var(--eun-color-secondary-transparent-hover, #e5a0304d);
|
|
27
|
+
--_tint-active: var(--eun-color-secondary-transparent-active, #e5a03066);
|
|
28
|
+
--_ring: var(--eun-color-secondary-700, #ca8d2a);
|
|
29
|
+
}
|
|
30
|
+
:host([variant="critical"]) {
|
|
31
|
+
--_solid: var(--eun-color-critical-100, #aa0014);
|
|
32
|
+
--_solid-hover: var(--eun-color-critical-100, #aa0014);
|
|
33
|
+
--_solid-active: var(--eun-color-critical-100, #aa0014);
|
|
34
|
+
--_onSolid: #fff;
|
|
35
|
+
--_accent: var(--eun-color-critical-100, #aa0014);
|
|
36
|
+
--_tint: var(--eun-color-critical-30, #faf0f1);
|
|
37
|
+
--_tint-hover: var(--eun-color-critical-50, #f1d6d9);
|
|
38
|
+
--_tint-active: var(--eun-color-critical-90, #e4adb4);
|
|
39
|
+
--_ring: var(--eun-color-critical-100, #aa0014);
|
|
40
|
+
}
|
|
41
|
+
:host([variant="success"]) {
|
|
42
|
+
--_solid: var(--eun-color-success-100, #1a9948);
|
|
43
|
+
--_solid-hover: var(--eun-color-success-100, #1a9948);
|
|
44
|
+
--_solid-active: var(--eun-color-success-100, #1a9948);
|
|
45
|
+
--_onSolid: #fff;
|
|
46
|
+
--_accent: var(--eun-color-success-100, #1a9948);
|
|
47
|
+
--_tint: var(--eun-color-success-30, #f1f9f4);
|
|
48
|
+
--_tint-hover: var(--eun-color-success-50, #daefe2);
|
|
49
|
+
--_tint-active: var(--eun-color-success-90, #b6dec4);
|
|
50
|
+
--_ring: var(--eun-color-success-100, #1a9948);
|
|
51
|
+
}
|
|
52
|
+
:host([variant="warning"]) {
|
|
53
|
+
--_solid: var(--eun-color-warning-100, #c85207);
|
|
54
|
+
--_solid-hover: var(--eun-color-warning-100, #c85207);
|
|
55
|
+
--_solid-active: var(--eun-color-warning-100, #c85207);
|
|
56
|
+
--_onSolid: #fff;
|
|
57
|
+
--_accent: var(--eun-color-warning-100, #c85207);
|
|
58
|
+
--_tint: var(--eun-color-warning-30, #fcf5f0);
|
|
59
|
+
--_tint-hover: var(--eun-color-warning-50, #f6e3d7);
|
|
60
|
+
--_tint-active: var(--eun-color-warning-90, #edc8b0);
|
|
61
|
+
--_ring: var(--eun-color-warning-100, #c85207);
|
|
62
|
+
}
|
|
63
|
+
:host([variant="medium"]) {
|
|
64
|
+
--_solid: var(--eun-color-grey-700, #484e61);
|
|
65
|
+
--_solid-hover: var(--eun-color-grey-800, #071621);
|
|
66
|
+
--_solid-active: var(--eun-color-grey-900, #000000);
|
|
67
|
+
--_onSolid: var(--eun-color-grey-0, #ffffff);
|
|
68
|
+
--_accent: var(--eun-color-grey-900, #000000);
|
|
69
|
+
--_tint: color-mix(
|
|
70
|
+
in srgb,
|
|
71
|
+
var(--eun-color-grey-700, #484e61) 20%,
|
|
72
|
+
transparent
|
|
73
|
+
);
|
|
74
|
+
--_tint-hover: color-mix(
|
|
75
|
+
in srgb,
|
|
76
|
+
var(--eun-color-grey-700, #484e61) 30%,
|
|
77
|
+
transparent
|
|
78
|
+
);
|
|
79
|
+
--_tint-active: color-mix(
|
|
80
|
+
in srgb,
|
|
81
|
+
var(--eun-color-grey-700, #484e61) 40%,
|
|
82
|
+
transparent
|
|
83
|
+
);
|
|
84
|
+
--_ring: var(--eun-color-grey-700, #484e61);
|
|
85
|
+
}
|
|
86
|
+
:host([variant="light"]) {
|
|
87
|
+
--_solid: var(--eun-color-grey-0, #ffffff);
|
|
88
|
+
--_solid-hover: var(--eun-color-grey-200, #ecedf0);
|
|
89
|
+
--_solid-active: var(--eun-color-grey-300, #dee0e7);
|
|
90
|
+
--_onSolid: var(--eun-color-grey-900, #000000);
|
|
91
|
+
}
|
|
92
|
+
:host([variant="light"][fixed-color]) {
|
|
93
|
+
--_solid: #ffffff;
|
|
94
|
+
--_solid-hover: #ecedf0;
|
|
95
|
+
--_solid-active: #dee0e7;
|
|
96
|
+
--_onSolid: #000000;
|
|
97
|
+
}
|
|
98
|
+
:host([variant="dark"]) {
|
|
99
|
+
--_solid: var(--eun-color-grey-800, #071621);
|
|
100
|
+
--_solid-hover: var(--eun-color-grey-900, #000000);
|
|
101
|
+
--_solid-active: var(--eun-color-grey-900, #000000);
|
|
102
|
+
--_onSolid: var(--eun-color-grey-0, #ffffff);
|
|
103
|
+
}
|
|
104
|
+
:host([variant="dark"][fixed-color]) {
|
|
105
|
+
--_solid: #071621;
|
|
106
|
+
--_solid-hover: #000000;
|
|
107
|
+
--_solid-active: #000000;
|
|
108
|
+
--_onSolid: #ffffff;
|
|
109
|
+
}
|
|
110
|
+
:host([variant="light"]),
|
|
111
|
+
:host([variant="dark"]) {
|
|
112
|
+
--_accent: var(--_solid);
|
|
113
|
+
--_tint: var(--_solid);
|
|
114
|
+
--_tint-hover: var(--_solid-hover);
|
|
115
|
+
--_tint-active: var(--_solid-active);
|
|
116
|
+
--_fgTint: var(--_onSolid);
|
|
117
|
+
--_wash-hover: color-mix(in srgb, var(--_solid) 16%, transparent);
|
|
118
|
+
--_wash-active: color-mix(in srgb, var(--_solid) 28%, transparent);
|
|
119
|
+
--_flat: color-mix(in srgb, var(--_solid) 16%, transparent);
|
|
120
|
+
--_flat-hover: color-mix(in srgb, var(--_solid) 24%, transparent);
|
|
121
|
+
--_flatFg: var(--_solid);
|
|
122
|
+
--_ring: var(--_solid);
|
|
123
|
+
}
|
|
124
|
+
`;export{u as a,x as b,g as c};
|
|
@@ -11,10 +11,10 @@ import{g as o}from"./chunk-XH6NREVZ.js";var r=o`
|
|
|
11
11
|
max-height: var(--field-listbox-max-height, 260px);
|
|
12
12
|
overflow-y: auto;
|
|
13
13
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
14
|
-
font-size: var(--eun-
|
|
14
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
15
15
|
color: var(--_textColor);
|
|
16
16
|
background: var(--eun-surface-color, #ffffff);
|
|
17
|
-
border: var(--eun-
|
|
17
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
18
18
|
border-radius: var(--_borderRadius);
|
|
19
19
|
box-shadow: var(
|
|
20
20
|
--eun-shadow-m,
|
|
@@ -46,13 +46,13 @@ import{g as o}from"./chunk-XH6NREVZ.js";var r=o`
|
|
|
46
46
|
background: var(--eun-content-hover, #edeff0);
|
|
47
47
|
}
|
|
48
48
|
#listbox li.selected {
|
|
49
|
-
font-weight: var(--eun-
|
|
49
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
50
50
|
color: var(--eun-color-primary-500, #3d6fff);
|
|
51
51
|
}
|
|
52
52
|
#listbox li mark {
|
|
53
53
|
background: var(--field-match-background, none);
|
|
54
54
|
color: var(--field-match-color, var(--eun-color-primary-500, #3d6fff));
|
|
55
|
-
font-weight: var(--field-match-font-weight, var(--eun-
|
|
55
|
+
font-weight: var(--field-match-font-weight, var(--eun-font-weight-l, 700));
|
|
56
56
|
text-decoration: var(--field-match-text-decoration, none);
|
|
57
57
|
}
|
|
58
58
|
#listbox .no-results,
|
|
@@ -64,8 +64,8 @@ import{g as o}from"./chunk-XH6NREVZ.js";var r=o`
|
|
|
64
64
|
#listbox .group-label {
|
|
65
65
|
cursor: default;
|
|
66
66
|
padding-block-end: var(--eun-space-xxs, 1.6px);
|
|
67
|
-
font-size: var(--eun-
|
|
68
|
-
font-weight: var(--eun-
|
|
67
|
+
font-size: var(--eun-font-size-xs, 12px);
|
|
68
|
+
font-weight: var(--eun-font-weight-l, 700);
|
|
69
69
|
color: var(--_placeholderColor);
|
|
70
70
|
text-transform: uppercase;
|
|
71
71
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b}from"./chunk-MMLIPCOY.js";import{a as
|
|
1
|
+
import{a as b}from"./chunk-MMLIPCOY.js";import{a as m}from"./chunk-A4EQSU36.js";import{a as f}from"./chunk-5EVP7YNE.js";import{a,b as l,c as d,d as p,f as u,g as n,h as r,n as s,s as c}from"./chunk-XH6NREVZ.js";var v=n`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -87,11 +87,11 @@ import{a as b}from"./chunk-MMLIPCOY.js";import{a as f}from"./chunk-A4EQSU36.js";
|
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
border-radius: var(
|
|
89
89
|
--loader-bar-border-radius,
|
|
90
|
-
var(--eun-
|
|
90
|
+
var(--eun-border-radius-full, 999px)
|
|
91
91
|
);
|
|
92
92
|
background: var(
|
|
93
93
|
--loader-bar-track-color,
|
|
94
|
-
var(--eun-
|
|
94
|
+
var(--eun-surface-sunken-strong, #ecedf0)
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -138,19 +138,19 @@ import{a as b}from"./chunk-MMLIPCOY.js";import{a as f}from"./chunk-A4EQSU36.js";
|
|
|
138
138
|
animation-duration: 2.8s;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,h=[v,y];var k="eun-loader",i,t=class extends
|
|
141
|
+
`,h=[v,y];var k="eun-loader",i,t=class extends c{constructor(){super(...arguments);this.label="Loading\u2026";this.variant="dots";d(this,i);this.sticky=!1;this.stickyPosition="top"}set size(e){if(p(this,i,e),!e){this.style.removeProperty("--_size");return}let o;/%$/.test(e)?o=`${parseFloat(e)/100}rem`:/^\d+(\.\d+)?$/.test(e)?o=`${e}px`:o=e,this.style.setProperty("--_size",o)}get size(){return l(this,i)}get clampedValue(){return this.value===void 0?void 0:Math.min(100,Math.max(0,this.value))}render(){if(this.variant==="bar"){let e=this.clampedValue;return s`
|
|
142
142
|
<div
|
|
143
143
|
id="track"
|
|
144
144
|
role="progressbar"
|
|
145
145
|
aria-label=${this.label}
|
|
146
146
|
aria-valuemin="0"
|
|
147
147
|
aria-valuemax="100"
|
|
148
|
-
aria-valuenow=${
|
|
148
|
+
aria-valuenow=${f(e)}
|
|
149
149
|
>
|
|
150
150
|
<div
|
|
151
151
|
id="fill"
|
|
152
|
-
class=${
|
|
152
|
+
class=${m({indeterminate:e===void 0})}
|
|
153
153
|
style=${b({width:e===void 0?"":`${e}%`})}
|
|
154
154
|
></div>
|
|
155
155
|
</div>
|
|
156
|
-
`}return s`<span role="status" aria-label=${this.label}></span>`}};i=new WeakMap,t.styles=h,a([r()],t.prototype,"label",2),a([r({reflect:!0})],t.prototype,"variant",2),a([r({hasChanged:()=>!1})],t.prototype,"size",1),a([r({type:Number})],t.prototype,"value",2),a([r({type:Boolean,reflect:!0})],t.prototype,"sticky",2),a([r({attribute:"sticky-position",reflect:!0})],t.prototype,"stickyPosition",2),t=a([
|
|
156
|
+
`}return s`<span role="status" aria-label=${this.label}></span>`}};i=new WeakMap,t.styles=h,a([r()],t.prototype,"label",2),a([r({reflect:!0})],t.prototype,"variant",2),a([r({hasChanged:()=>!1})],t.prototype,"size",1),a([r({type:Number})],t.prototype,"value",2),a([r({type:Boolean,reflect:!0})],t.prototype,"sticky",2),a([r({attribute:"sticky-position",reflect:!0})],t.prototype,"stickyPosition",2),t=a([u(k)],t);export{k as a,t as b};
|
|
@@ -6,9 +6,9 @@ import{a as i,d as b,e as d,f as u}from"./chunk-E74CM7UG.js";import{a as t,f as
|
|
|
6
6
|
var(--eun-surface-color, #ffffff)
|
|
7
7
|
);
|
|
8
8
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
9
|
-
border-bottom: var(--eun-
|
|
9
|
+
border-bottom: var(--eun-border-width-s, 1px) solid
|
|
10
10
|
var(--table-border-color, var(--eun-border-color, #dee0e7));
|
|
11
|
-
font-weight: var(--eun-
|
|
11
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
12
12
|
transition: box-shadow var(--table-row-transition-duration, 200ms) ease;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -74,7 +74,7 @@ import{a as i,d as b,e as d,f as u}from"./chunk-E74CM7UG.js";import{a as t,f as
|
|
|
74
74
|
var(--table-header-background, var(--eun-surface-color, #ffffff))
|
|
75
75
|
);
|
|
76
76
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
77
|
-
border-inline-end: var(--eun-
|
|
77
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
78
78
|
var(
|
|
79
79
|
--table-sticky-border-color,
|
|
80
80
|
var(--table-column-border-color, transparent)
|
|
@@ -119,7 +119,7 @@ import{a as i,d as b,e as d,f as u}from"./chunk-E74CM7UG.js";import{a as t,f as
|
|
|
119
119
|
);
|
|
120
120
|
box-shadow: inset 0 0 0 9999px transparent;
|
|
121
121
|
transition: box-shadow var(--table-row-transition-duration, 200ms) ease;
|
|
122
|
-
border-inline-start: var(--eun-
|
|
122
|
+
border-inline-start: var(--eun-border-width-s, 1px) solid
|
|
123
123
|
var(
|
|
124
124
|
--table-sticky-border-color,
|
|
125
125
|
var(--table-column-border-color, transparent)
|