@eunomia/elements 1.0.0-beta.3 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/components/chunks/{chunk-EAGGN3ZI.js → chunk-2XASWWKR.js} +9 -9
- package/dist/cdn/components/chunks/chunk-32DTNR52.js +1 -0
- package/dist/cdn/components/chunks/chunk-3MTUVMM5.js +1 -0
- package/dist/cdn/components/chunks/chunk-5GKM5DIB.js +1 -0
- package/dist/cdn/components/chunks/{chunk-32KRPOPV.js → chunk-5XJGYXW7.js} +6 -6
- package/dist/cdn/components/chunks/{chunk-O2HNWH65.js → chunk-5XJLIHAU.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-TBKKTJOX.js → chunk-6ETDXUH2.js} +3 -3
- package/dist/cdn/components/chunks/{chunk-5GF2Q3NR.js → chunk-74AOAB4X.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-WYMBUIKX.js → chunk-A6KGFALA.js} +4 -4
- package/dist/cdn/components/chunks/{chunk-NEYBPT3D.js → chunk-AIS3UICU.js} +9 -9
- package/dist/cdn/components/chunks/{chunk-LJYTHDZP.js → chunk-D2M4BV5Y.js} +6 -6
- package/dist/cdn/components/chunks/chunk-DKOPI7QA.js +415 -0
- package/dist/cdn/components/chunks/{chunk-53QH6MPM.js → chunk-EAKYD33D.js} +3 -3
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +1 -0
- package/dist/cdn/components/chunks/{chunk-BYBUXKXC.js → chunk-IDKZKLJR.js} +7 -7
- package/dist/cdn/components/chunks/chunk-JRGM3W7I.js +53 -0
- package/dist/cdn/components/chunks/{chunk-RWONCXTF.js → chunk-KVYUNKUO.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-6UPI7GHJ.js → chunk-L65WUTXM.js} +12 -12
- package/dist/cdn/components/chunks/chunk-LFCXUVDO.js +1 -0
- package/dist/cdn/components/chunks/chunk-LGLQ36QB.js +16 -0
- package/dist/cdn/components/chunks/chunk-MPQP4R54.js +263 -0
- package/dist/cdn/components/chunks/{chunk-ON42P6FI.js → chunk-NBIENHLV.js} +6 -6
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +38 -0
- package/dist/cdn/components/chunks/chunk-OW7XKDCH.js +124 -0
- package/dist/cdn/components/chunks/chunk-P32B7BFD.js +118 -0
- package/dist/cdn/components/chunks/{chunk-ZPFHTJSS.js → chunk-PCM7D3YF.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-ABYEBP57.js → chunk-PED5ATYN.js} +11 -8
- package/dist/cdn/components/chunks/{chunk-5C7YND22.js → chunk-S2UCEWNG.js} +8 -8
- package/dist/cdn/components/chunks/{chunk-5RCCZVFZ.js → chunk-SD2WHGPF.js} +7 -6
- package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-6IILPCSQ.js → chunk-X2AUBZD2.js} +3 -3
- package/dist/cdn/components/eun-alert.js +65 -45
- package/dist/cdn/components/eun-animate.js +5 -3
- package/dist/cdn/components/eun-badge.js +8 -8
- package/dist/cdn/components/eun-breadcrumb-item.js +14 -10
- package/dist/cdn/components/eun-breadcrumb.js +11 -7
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +20 -20
- package/dist/cdn/components/eun-card.js +61 -13
- package/dist/cdn/components/eun-carousel.js +35 -27
- package/dist/cdn/components/eun-check-card.js +3 -3
- package/dist/cdn/components/eun-checkbox-list.js +3 -3
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +45 -207
- package/dist/cdn/components/eun-collapse.js +49 -29
- package/dist/cdn/components/eun-color-picker.js +13 -13
- package/dist/cdn/components/eun-counter.js +15 -15
- package/dist/cdn/components/eun-date-picker.js +62 -62
- package/dist/cdn/components/eun-drawer.js +12 -12
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -6
- package/dist/cdn/components/eun-fab.js +31 -53
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +18 -11
- package/dist/cdn/components/eun-image-carousel.js +18 -18
- package/dist/cdn/components/eun-infinite-list.js +1 -1
- package/dist/cdn/components/eun-input-file.js +12 -12
- package/dist/cdn/components/eun-input-phone.js +28 -28
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +4 -4
- package/dist/cdn/components/eun-link.js +134 -18
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +21 -21
- package/dist/cdn/components/eun-pagination.js +3 -3
- package/dist/cdn/components/eun-password-strength.js +9 -6
- package/dist/cdn/components/eun-progress-bar.js +13 -13
- package/dist/cdn/components/eun-radio-card.js +2 -2
- package/dist/cdn/components/eun-radio-list.js +1 -1
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +9 -9
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +26 -26
- package/dist/cdn/components/eun-search.js +21 -21
- package/dist/cdn/components/eun-select.js +10 -10
- package/dist/cdn/components/eun-sidebar.js +9 -9
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +8 -8
- package/dist/cdn/components/eun-sliding-card.js +4 -3
- package/dist/cdn/components/eun-step.js +8 -8
- package/dist/cdn/components/eun-stepper.js +8 -8
- package/dist/cdn/components/eun-switch.js +10 -10
- package/dist/cdn/components/eun-tab-group.js +19 -11
- package/dist/cdn/components/eun-tab-panel.js +1 -1
- package/dist/cdn/components/eun-tab.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table-cell.js +1 -1
- package/dist/cdn/components/eun-table-column.js +1 -1
- package/dist/cdn/components/eun-table-header.js +1 -1
- package/dist/cdn/components/eun-table-item.js +1 -1
- package/dist/cdn/components/eun-table-skeleton-row.js +1 -1
- package/dist/cdn/components/eun-table.js +3 -3
- package/dist/cdn/components/eun-tag.js +34 -126
- package/dist/cdn/components/eun-textarea.js +23 -23
- package/dist/cdn/components/eun-time-picker.js +32 -32
- package/dist/cdn/components/eun-toast.js +40 -36
- package/dist/cdn/components/eun-toggle-group.js +213 -72
- package/dist/cdn/components/eun-toggle-item.js +49 -30
- package/dist/cdn/components/eun-toggle.js +12 -9
- package/dist/cdn/components/eun-toolbar.js +15 -8
- package/dist/cdn/components/eun-tooltip.js +122 -87
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.scss +1 -0
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +2 -0
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +2 -0
- package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
- package/dist/cdn/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
- package/dist/cdn/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
- package/dist/components/action/button/button.d.ts +44 -15
- package/dist/components/action/button/button.js +100 -20
- package/dist/components/action/button/button.styles.js +179 -393
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +13 -6
- package/dist/components/action/dropdown-button/dropdown-button.js +16 -5
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +8 -8
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +6 -6
- package/dist/components/action/fab/fab.d.ts +7 -4
- package/dist/components/action/fab/fab.js +11 -6
- package/dist/components/action/fab/fab.styles.js +26 -49
- package/dist/components/action/link/link.d.ts +115 -6
- package/dist/components/action/link/link.js +245 -21
- package/dist/components/action/link/link.styles.js +105 -3
- package/dist/components/action/shared-styles/button-palette.styles.d.ts +27 -0
- package/dist/components/action/shared-styles/button-palette.styles.js +151 -0
- package/dist/components/action/toggle/toggle-group.d.ts +55 -11
- package/dist/components/action/toggle/toggle-group.js +193 -52
- package/dist/components/action/toggle/toggle-group.styles.d.ts +7 -5
- package/dist/components/action/toggle/toggle-group.styles.js +166 -41
- package/dist/components/action/toggle/toggle-item.d.ts +4 -4
- package/dist/components/action/toggle/toggle-item.js +2 -2
- package/dist/components/action/toggle/toggle-item.styles.js +45 -26
- package/dist/components/action/toggle/toggle.d.ts +1 -1
- package/dist/components/action/toggle/toggle.js +1 -1
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -2
- package/dist/components/action/toggle/toggle.styles.js +13 -10
- package/dist/components/alert/alert/alert.d.ts +4 -3
- package/dist/components/alert/alert/alert.js +4 -3
- package/dist/components/alert/alert/alert.styles.js +57 -36
- package/dist/components/alert/drawer/drawer.js +1 -1
- package/dist/components/alert/drawer/drawer.styles.js +3 -3
- package/dist/components/alert/modal/modal.d.ts +8 -8
- package/dist/components/alert/modal/modal.js +11 -11
- package/dist/components/alert/modal/modal.styles.js +6 -6
- package/dist/components/alert/toast/toast.d.ts +4 -3
- package/dist/components/alert/toast/toast.js +4 -3
- package/dist/components/alert/toast/toast.styles.js +41 -36
- package/dist/components/content/badge/badge.d.ts +6 -6
- package/dist/components/content/badge/badge.js +4 -4
- package/dist/components/content/badge/badge.styles.js +5 -5
- package/dist/components/content/card/card.d.ts +36 -8
- package/dist/components/content/card/card.js +68 -8
- package/dist/components/content/card/card.styles.js +52 -11
- package/dist/components/content/card/image-card.d.ts +3 -2
- package/dist/components/content/card/image-card.js +2 -1
- package/dist/components/content/card/image-card.styles.js +17 -10
- package/dist/components/content/card/sliding-card.d.ts +2 -1
- package/dist/components/content/card/sliding-card.js +1 -0
- package/dist/components/content/card/sliding-card.styles.js +3 -2
- package/dist/components/content/chip/chip.d.ts +16 -7
- package/dist/components/content/chip/chip.js +18 -6
- package/dist/components/content/chip/chip.styles.d.ts +1 -1
- package/dist/components/content/chip/chip.styles.js +43 -207
- package/dist/components/content/collapse/collapse.d.ts +29 -11
- package/dist/components/content/collapse/collapse.js +53 -23
- package/dist/components/content/collapse/collapse.styles.js +23 -9
- package/dist/components/content/icon/icon.d.ts +12 -2
- package/dist/components/content/icon/icon.js +52 -22
- package/dist/components/content/icon/icon.style.d.ts +2 -0
- package/dist/components/content/icon/icon.style.js +5 -2
- package/dist/components/content/image-carousel/image-carousel.styles.js +14 -14
- package/dist/components/content/password-strength/password-strength.styles.js +7 -4
- package/dist/components/content/progress-bar/progress-bar.styles.js +9 -9
- package/dist/components/content/shared-styles/card-link.styles.js +1 -0
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +31 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +149 -0
- package/dist/components/content/tag/tag.d.ts +16 -6
- package/dist/components/content/tag/tag.js +19 -6
- package/dist/components/content/tag/tag.styles.d.ts +1 -1
- package/dist/components/content/tag/tag.styles.js +40 -125
- package/dist/components/content/tooltip/tooltip.d.ts +15 -4
- package/dist/components/content/tooltip/tooltip.js +21 -4
- package/dist/components/content/tooltip/tooltip.styles.js +115 -79
- package/dist/components/form/checkbox/check-card.styles.js +2 -2
- package/dist/components/form/checkbox/checkbox-list.d.ts +1 -1
- package/dist/components/form/checkbox/checkbox.d.ts +1 -1
- package/dist/components/form/checkbox/checkbox.styles.js +6 -6
- package/dist/components/form/color-picker/color-picker.d.ts +3 -3
- package/dist/components/form/color-picker/color-picker.js +4 -4
- package/dist/components/form/color-picker/color-picker.styles.js +7 -7
- package/dist/components/form/counter/counter.d.ts +3 -3
- package/dist/components/form/counter/counter.js +3 -3
- package/dist/components/form/counter/counter.styles.js +12 -12
- package/dist/components/form/date-picker/date-picker-day-grid.styles.js +2 -2
- package/dist/components/form/date-picker/date-picker-grid.styles.js +15 -15
- package/dist/components/form/date-picker/date-picker-month-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker-year-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker.d.ts +3 -3
- package/dist/components/form/date-picker/date-picker.js +3 -3
- package/dist/components/form/date-picker/date-picker.styles.js +17 -17
- package/dist/components/form/input/input.d.ts +3 -3
- package/dist/components/form/input/input.js +4 -4
- package/dist/components/form/input-file/input-file.d.ts +1 -1
- package/dist/components/form/input-file/input-file.styles.js +9 -9
- package/dist/components/form/input-phone/input-phone.d.ts +3 -3
- package/dist/components/form/input-phone/input-phone.js +3 -3
- package/dist/components/form/input-phone/input-phone.styles.js +19 -19
- package/dist/components/form/label/label.styles.js +4 -4
- package/dist/components/form/radio/radio-card.styles.js +1 -1
- package/dist/components/form/radio/radio-list.d.ts +1 -1
- package/dist/components/form/radio/radio.d.ts +1 -1
- package/dist/components/form/radio/radio.styles.js +2 -2
- package/dist/components/form/search/search.styles.js +9 -9
- package/dist/components/form/select/select.d.ts +3 -3
- package/dist/components/form/select/select.js +3 -3
- package/dist/components/form/select/select.styles.js +6 -6
- package/dist/components/form/shared-styles/card.styles.js +1 -1
- package/dist/components/form/shared-styles/field.styles.js +12 -12
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/shared-styles/listbox.styles.js +6 -6
- package/dist/components/form/slider/slider.d.ts +1 -1
- package/dist/components/form/slider/slider.styles.js +6 -6
- package/dist/components/form/switch/switch.d.ts +1 -1
- package/dist/components/form/switch/switch.styles.js +8 -8
- package/dist/components/form/textarea/textarea.d.ts +3 -3
- package/dist/components/form/textarea/textarea.js +4 -4
- package/dist/components/form/textarea/textarea.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-columns.styles.js +6 -6
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -2
- package/dist/components/form/time-picker/time-picker.d.ts +3 -3
- package/dist/components/form/time-picker/time-picker.js +3 -3
- package/dist/components/form/time-picker/time-picker.styles.js +13 -13
- package/dist/components/layout/animate/animate.d.ts +8 -0
- package/dist/components/layout/animate/animate.js +20 -8
- package/dist/components/loader/loader/loader.styles.js +2 -2
- package/dist/components/loader/skeleton/skeleton.styles.js +8 -5
- package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +7 -0
- package/dist/components/navigation/breadcrumb/breadcrumb-item.js +15 -1
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +3 -3
- package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +1 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.js +7 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +3 -3
- package/dist/components/navigation/carousel/carousel.d.ts +40 -6
- package/dist/components/navigation/carousel/carousel.js +61 -12
- package/dist/components/navigation/carousel/carousel.styles.js +19 -7
- package/dist/components/navigation/pagination/pagination.styles.js +3 -3
- package/dist/components/navigation/sidebar/sidebar.styles.js +9 -9
- package/dist/components/navigation/stepper/step.styles.js +8 -8
- package/dist/components/navigation/stepper/stepper.styles.js +8 -8
- package/dist/components/navigation/tabs/tab/tab.styles.js +5 -5
- package/dist/components/navigation/tabs/tab-group/tab-group.d.ts +9 -0
- package/dist/components/navigation/tabs/tab-group/tab-group.js +19 -2
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +12 -4
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +2 -0
- package/dist/components/navigation/toolbar/toolbar.js +2 -0
- package/dist/components/navigation/toolbar/toolbar.styles.js +16 -7
- package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
- package/dist/features/scheduler/calendar/calendar.js +10 -10
- package/dist/features/scheduler/calendar/calendar.styles.js +3 -3
- package/dist/features/scheduler/scheduler/scheduler.d.ts +6 -6
- package/dist/features/scheduler/scheduler/scheduler.js +13 -13
- package/dist/features/scheduler/scheduler/scheduler.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +10 -8
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +7 -7
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +8 -8
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +5 -5
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.js +2 -2
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +4 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +2 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.js +3 -3
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.d.ts +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.js +2 -2
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +1 -1
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +1 -1
- package/dist/features/table/native-table.css +11 -11
- package/dist/features/table/table/table.styles.js +2 -2
- package/dist/features/table/table/table.types.d.ts +7 -3
- package/dist/features/table/table-action-bar/table-action-bar.js +3 -3
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +2 -2
- package/dist/features/table/table-cell/table-cell.styles.js +2 -2
- package/dist/features/table/table-column/table-column.styles.js +3 -3
- package/dist/features/table/table-header/table-header.styles.js +4 -4
- package/dist/features/table/table-item/table-item.styles.js +6 -6
- package/dist/features/table/table-managed/table-managed.js +2 -2
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +1 -1
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/en.js +3 -0
- package/dist/i18n/fr.js +3 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +5 -2
- package/dist/jsx.d.ts +19 -6
- package/dist/mixins/button.mixin.d.ts +11 -9
- package/dist/mixins/button.mixin.js +23 -5
- package/dist/mixins/card-link.mixin.d.ts +3 -2
- package/dist/mixins/card-link.mixin.js +12 -5
- package/dist/mixins/check.mixin.d.ts +1 -1
- package/dist/mixins/disabled.mixin.d.ts +3 -3
- package/dist/mixins/disabled.mixin.js +10 -5
- package/dist/mixins/editable.mixin.d.ts +1 -1
- package/dist/mixins/field-appearance.mixin.d.ts +19 -0
- package/dist/mixins/{field-variant.mixin.js → field-appearance.mixin.js} +11 -11
- package/dist/mixins/form.mixin.d.ts +5 -1
- package/dist/mixins/form.mixin.js +32 -12
- package/dist/mixins/overflow-navigation.mixin.js +2 -1
- package/dist/mixins/radio.mixin.d.ts +1 -1
- package/dist/mixins/validators.mixin.d.ts +9 -3
- package/dist/ssr/animate-ssr.css +26 -72
- package/dist/ssr/links-ssr.css +35 -0
- package/dist/ssr/overlay-ssr.css +0 -41
- package/dist/ssr/rich-text.css +38 -0
- package/dist/ssr/sidebar-ssr.css +0 -38
- package/dist/ssr/toolbar-ssr.css +73 -39
- package/dist/types/variant.type.d.ts +26 -10
- package/dist/utils/navigation.utils.d.ts +14 -0
- package/dist/utils/navigation.utils.js +33 -0
- package/dist/utils/new-tab-anchor.controller.d.ts +44 -0
- package/dist/utils/new-tab-anchor.controller.js +102 -0
- package/dist/utils/rich-text.utils.d.ts +33 -0
- package/dist/utils/rich-text.utils.js +140 -49
- package/dist/utils/severity-icon.utils.d.ts +1 -1
- package/dist/utils/severity-icon.utils.js +1 -1
- package/dist/utils/theme-generator.utils.d.ts +26 -3
- package/dist/utils/theme-generator.utils.js +68 -21
- package/package.json +13 -2
- package/styles/themes/eunomia-theme.scss +1 -0
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +2 -0
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +2 -0
- package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
- package/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
- package/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
- package/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
- package/dist/cdn/components/chunks/chunk-3LMI7KUA.js +0 -48
- package/dist/cdn/components/chunks/chunk-5TH3P53V.js +0 -16
- package/dist/cdn/components/chunks/chunk-ATH2OAMU.js +0 -1
- package/dist/cdn/components/chunks/chunk-BKHD4S57.js +0 -1
- package/dist/cdn/components/chunks/chunk-KNM5QHDK.js +0 -38
- package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
- package/dist/cdn/components/chunks/chunk-T7WABJEJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-XSMCT4DF.js +0 -1
- package/dist/cdn/components/chunks/chunk-Z6PJYSC3.js +0 -622
- package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
- package/dist/mixins/field-variant.mixin.d.ts +0 -22
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import{a as m,b as w,c as y}from"./chunk-OW7XKDCH.js";import{a as k}from"./chunk-32DTNR52.js";import{a as _}from"./chunk-UP4M7TER.js";import{a as z}from"./chunk-3MTUVMM5.js";import{a as S}from"./chunk-SJWRE6PW.js";import{a as e}from"./chunk-5EVP7YNE.js";import{a as g,b as x}from"./chunk-5GKM5DIB.js";import{a as i,b as c,c as b,d as h,f as p,g as n,h as s,n as r,p as v,s as f}from"./chunk-XH6NREVZ.js";var $=n`
|
|
2
|
+
:host {
|
|
3
|
+
--_focusIndicator: var(--button-focus-outline, var(--_ring));
|
|
4
|
+
--_hoverFromCustom: color-mix(in srgb, var(--button-background) 88%, black);
|
|
5
|
+
--_activeFromCustom: color-mix(
|
|
6
|
+
in srgb,
|
|
7
|
+
var(--button-background) 76%,
|
|
8
|
+
black
|
|
9
|
+
);
|
|
10
|
+
--_defaultBorderRadius: var(--eun-border-radius-m, 8px);
|
|
11
|
+
--_defaultPadding: var(--eun-space-s, 8px)
|
|
12
|
+
calc(var(--eun-space-l, 32px) / 2);
|
|
13
|
+
--_borderRadius: var(--button-border-radius, var(--_defaultBorderRadius));
|
|
14
|
+
--_padding: var(--button-padding, var(--_defaultPadding));
|
|
15
|
+
--_boxShadow: var(--button-shadow, none);
|
|
16
|
+
--_boxShadow-hover: var(--button-shadow-hover, var(--_boxShadow));
|
|
17
|
+
--_transition: var(--button-transition, 0.2s);
|
|
18
|
+
--_borderSize: var(--button-border-size, 1.5px);
|
|
19
|
+
--_fontSize: var(--eun-font-size-s, 14px);
|
|
20
|
+
--_gap: var(--eun-space-xs, 4px);
|
|
21
|
+
--_lineHeight: 1rem;
|
|
22
|
+
--icon-size: var(--_lineHeight);
|
|
23
|
+
--_before-display: none;
|
|
24
|
+
--_cursor: pointer;
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
width: fit-content;
|
|
27
|
+
position: relative;
|
|
28
|
+
user-select: none;
|
|
29
|
+
cursor: var(--_cursor);
|
|
30
|
+
outline: 2px solid transparent;
|
|
31
|
+
transition: all ease-out var(--_transition);
|
|
32
|
+
border-radius: var(--_borderRadius);
|
|
33
|
+
z-index: 0;
|
|
34
|
+
}
|
|
35
|
+
:host(:focus-visible) {
|
|
36
|
+
outline-offset: 2px;
|
|
37
|
+
outline-color: var(--_focusIndicator);
|
|
38
|
+
}
|
|
39
|
+
#button:focus-visible {
|
|
40
|
+
outline-offset: 2px;
|
|
41
|
+
outline-color: var(--_focusIndicator);
|
|
42
|
+
}
|
|
43
|
+
:host([size="xs"]) {
|
|
44
|
+
--_fontSize: var(--eun-font-size-xs, 10px);
|
|
45
|
+
--_defaultPadding: var(--eun-space-xxs, 1.6px) var(--eun-space-xs, 4px);
|
|
46
|
+
--_lineHeight: 10px;
|
|
47
|
+
--_defaultBorderRadius: var(--eun-border-radius-s, 999px);
|
|
48
|
+
}
|
|
49
|
+
:host([size="s"]) {
|
|
50
|
+
--_fontSize: var(--eun-font-size-xs, 10px);
|
|
51
|
+
--_defaultPadding: calc(var(--eun-space-s) / 2) var(--eun-space-s);
|
|
52
|
+
--_lineHeight: 10px;
|
|
53
|
+
--_defaultBorderRadius: var(--eun-border-radius-s, 999px);
|
|
54
|
+
}
|
|
55
|
+
:host([size="l"]) {
|
|
56
|
+
--_fontSize: var(--eun-font-size-m, 16px);
|
|
57
|
+
--_gap: var(--eun-space-m, 16px);
|
|
58
|
+
--_defaultPadding: calc(var(--eun-space-s, 8px) * 1.25)
|
|
59
|
+
var(--eun-space-l, 32px);
|
|
60
|
+
--_lineHeight: 1.1rem;
|
|
61
|
+
}
|
|
62
|
+
:host([size="xl"]) {
|
|
63
|
+
--_fontSize: var(--eun-font-size-l, 1.3rem);
|
|
64
|
+
--_gap: var(--eun-space-m, 16px);
|
|
65
|
+
--_defaultPadding: calc(var(--eun-space-s, 8px) * 1.5)
|
|
66
|
+
var(--eun-space-l, 32px);
|
|
67
|
+
--_lineHeight: 1.3rem;
|
|
68
|
+
}
|
|
69
|
+
:host([rounded]) {
|
|
70
|
+
--_defaultBorderRadius: var(--eun-border-radius-xl, 999px);
|
|
71
|
+
}
|
|
72
|
+
slot::slotted(*) {
|
|
73
|
+
color: var(--_textColor);
|
|
74
|
+
}
|
|
75
|
+
slot::slotted(*:not([fill])),
|
|
76
|
+
slot::slotted(*[fill="currentColor"]) {
|
|
77
|
+
fill: var(--_textColor);
|
|
78
|
+
}
|
|
79
|
+
slot[name="start"]::slotted(eun-icon),
|
|
80
|
+
slot[name="end"]::slotted(eun-icon) {
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
}
|
|
83
|
+
.auto-icon {
|
|
84
|
+
flex-shrink: 0;
|
|
85
|
+
}
|
|
86
|
+
#button {
|
|
87
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
88
|
+
--_textColor: var(--button-text, var(--_fg));
|
|
89
|
+
background: var(--button-background, var(--_bg));
|
|
90
|
+
border-radius: var(--_borderRadius);
|
|
91
|
+
color: var(--_textColor);
|
|
92
|
+
box-shadow: var(--_boxShadow);
|
|
93
|
+
display: flex;
|
|
94
|
+
width: 100%;
|
|
95
|
+
height: fit-content;
|
|
96
|
+
border: var(--_borderSize) solid var(--button-border-color, var(--_bd));
|
|
97
|
+
outline: 2px solid transparent;
|
|
98
|
+
padding: var(--_padding);
|
|
99
|
+
gap: var(--_gap);
|
|
100
|
+
transition: all ease-out var(--_transition);
|
|
101
|
+
font-size: var(--_fontSize);
|
|
102
|
+
line-height: var(--_lineHeight);
|
|
103
|
+
text-decoration: none;
|
|
104
|
+
align-items: center;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
}
|
|
107
|
+
#button:hover,
|
|
108
|
+
:host(:focus-visible) #button,
|
|
109
|
+
#button:focus-visible {
|
|
110
|
+
box-shadow: var(--_boxShadow-hover);
|
|
111
|
+
border-color: var(
|
|
112
|
+
--button-border-color-hover,
|
|
113
|
+
var(--button-border-color, var(--_bd))
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
#external-link-icon {
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
margin-inline: var(--eun-space-s) calc(-1 * var(--eun-space-xs));
|
|
120
|
+
transform: rotate(-45deg);
|
|
121
|
+
--icon-color: var(--_textColor);
|
|
122
|
+
}
|
|
123
|
+
#content-hidden {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
gap: var(--_gap);
|
|
127
|
+
visibility: hidden;
|
|
128
|
+
}
|
|
129
|
+
#loader-overlay {
|
|
130
|
+
position: absolute;
|
|
131
|
+
inset: 0;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
}
|
|
136
|
+
:host([loading]) #button {
|
|
137
|
+
cursor: wait;
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
}
|
|
140
|
+
.sr-only {
|
|
141
|
+
position: absolute;
|
|
142
|
+
width: 1px;
|
|
143
|
+
height: 1px;
|
|
144
|
+
padding: 0;
|
|
145
|
+
margin: -1px;
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
clip: rect(0 0 0 0);
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
border: 0;
|
|
150
|
+
}
|
|
151
|
+
`,A=n`
|
|
152
|
+
#button.slotted-link {
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
::slotted(a) {
|
|
156
|
+
color: inherit;
|
|
157
|
+
text-decoration: none;
|
|
158
|
+
outline: none !important;
|
|
159
|
+
}
|
|
160
|
+
::slotted(a)::after {
|
|
161
|
+
content: "";
|
|
162
|
+
position: absolute;
|
|
163
|
+
inset: calc(-1 * var(--_borderSize));
|
|
164
|
+
border-radius: var(--_borderRadius);
|
|
165
|
+
outline: 2px solid transparent;
|
|
166
|
+
transition: outline ease-out var(--_transition);
|
|
167
|
+
}
|
|
168
|
+
::slotted(a:focus-visible)::after {
|
|
169
|
+
outline-offset: 2px;
|
|
170
|
+
outline-color: var(--_focusIndicator);
|
|
171
|
+
}
|
|
172
|
+
:host(:focus-within) #button.slotted-link {
|
|
173
|
+
box-shadow: var(--_boxShadow-hover);
|
|
174
|
+
border-color: var(
|
|
175
|
+
--button-border-color-hover,
|
|
176
|
+
var(--button-border-color, var(--_bd))
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
:host(:not([disabled]):focus-within) #button.slotted-link {
|
|
180
|
+
background: var(
|
|
181
|
+
--button-background-hover,
|
|
182
|
+
var(--_hoverFromCustom, var(--_bg-hover))
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
:host([slide]:focus-within) #button.slotted-link {
|
|
186
|
+
grid-template-columns: auto 1fr auto;
|
|
187
|
+
}
|
|
188
|
+
:host([slide]:focus-within) #button.slotted-link slot:not([name]) {
|
|
189
|
+
margin-left: var(--_gap);
|
|
190
|
+
opacity: 1;
|
|
191
|
+
}
|
|
192
|
+
:host([disabled]) ::slotted(a),
|
|
193
|
+
:host([loading]) ::slotted(a) {
|
|
194
|
+
pointer-events: none;
|
|
195
|
+
cursor: inherit;
|
|
196
|
+
}
|
|
197
|
+
`,L=n`
|
|
198
|
+
:host([appearance="fill"]),
|
|
199
|
+
:host(:not([appearance])) {
|
|
200
|
+
--_bg: var(--_solid);
|
|
201
|
+
--_bg-hover: var(--_solid-hover);
|
|
202
|
+
--_bg-active: var(--_solid-active);
|
|
203
|
+
--_fg: var(--_onSolid);
|
|
204
|
+
--_bd: transparent;
|
|
205
|
+
}
|
|
206
|
+
:host([appearance="default"]) {
|
|
207
|
+
--_bg: var(--_tint);
|
|
208
|
+
--_bg-hover: var(--_tint-hover);
|
|
209
|
+
--_bg-active: var(--_tint-active);
|
|
210
|
+
--_fg: var(--_fgTint);
|
|
211
|
+
--_bd: transparent;
|
|
212
|
+
}
|
|
213
|
+
:host([appearance="outline"]) {
|
|
214
|
+
--_bg: transparent;
|
|
215
|
+
--_bg-hover: var(--_wash-hover);
|
|
216
|
+
--_bg-active: var(--_wash-active);
|
|
217
|
+
--_fg: var(--_accent);
|
|
218
|
+
--_bd: var(--_solid);
|
|
219
|
+
}
|
|
220
|
+
:host([appearance="ghost"]) {
|
|
221
|
+
--_bg: transparent;
|
|
222
|
+
--_bg-hover: var(--_wash-hover);
|
|
223
|
+
--_bg-active: var(--_wash-active);
|
|
224
|
+
--_fg: var(--_accent);
|
|
225
|
+
--_bd: transparent;
|
|
226
|
+
}
|
|
227
|
+
:host([appearance="ghost"]:not([color])) {
|
|
228
|
+
--_accent: var(--eun-text-secondary, #484e61);
|
|
229
|
+
--_wash-hover: var(--eun-content-hover, #edeff0);
|
|
230
|
+
--_wash-active: var(--eun-disabled-color, #ecedf0);
|
|
231
|
+
}
|
|
232
|
+
:host([appearance="raised"]) {
|
|
233
|
+
--_bg: transparent;
|
|
234
|
+
--_bg-hover: transparent;
|
|
235
|
+
--_bg-active: transparent;
|
|
236
|
+
--_fg: var(--_accent);
|
|
237
|
+
--_bd: transparent;
|
|
238
|
+
--_boxShadow: var(
|
|
239
|
+
--button-shadow,
|
|
240
|
+
var(--eun-shadow-s, "rgba(149, 157, 165, 0.2) 0px 8px 24px")
|
|
241
|
+
);
|
|
242
|
+
--_boxShadow-hover: var(
|
|
243
|
+
--button-shadow-hover,
|
|
244
|
+
var(
|
|
245
|
+
--eun-shadow-m,
|
|
246
|
+
"rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"
|
|
247
|
+
)
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
:host([appearance="flat"]) {
|
|
251
|
+
--_bg: var(--_flat);
|
|
252
|
+
--_bg-hover: var(--_flat-hover);
|
|
253
|
+
--_bg-active: var(--_flat-hover);
|
|
254
|
+
--_fg: var(--_flatFg);
|
|
255
|
+
--_bd: transparent;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
:host(:not([disabled])) #button:is(:hover, :focus-visible),
|
|
259
|
+
:host(:not([disabled]):focus-visible) #button {
|
|
260
|
+
background: var(
|
|
261
|
+
--button-background-hover,
|
|
262
|
+
var(--_hoverFromCustom, var(--_bg-hover))
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
:host(:not([disabled])) #button:active {
|
|
266
|
+
background: var(
|
|
267
|
+
--button-background-active,
|
|
268
|
+
var(--_activeFromCustom, var(--_bg-active))
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
:host([appearance="raised"]:not([disabled])) #button:active {
|
|
272
|
+
box-shadow: var(
|
|
273
|
+
--eun-shadow-l,
|
|
274
|
+
"rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host(
|
|
279
|
+
[appearance="fill"]:is(
|
|
280
|
+
[color="critical"],
|
|
281
|
+
[color="success"],
|
|
282
|
+
[color="warning"]
|
|
283
|
+
):not([disabled]):is(:hover, :focus-visible)
|
|
284
|
+
)
|
|
285
|
+
#button,
|
|
286
|
+
:host(
|
|
287
|
+
[appearance="fill"]:is(
|
|
288
|
+
[color="critical"],
|
|
289
|
+
[color="success"],
|
|
290
|
+
[color="warning"]
|
|
291
|
+
):not([disabled])
|
|
292
|
+
)
|
|
293
|
+
#button:is(:hover, :focus-visible) {
|
|
294
|
+
filter: brightness(0.9);
|
|
295
|
+
}
|
|
296
|
+
:host([appearance="fill"][color="critical"]:not([disabled])) #button:active,
|
|
297
|
+
:host([appearance="fill"][color="success"]:not([disabled])) #button:active,
|
|
298
|
+
:host([appearance="fill"][color="warning"]:not([disabled])) #button:active {
|
|
299
|
+
filter: brightness(0.8);
|
|
300
|
+
}
|
|
301
|
+
`,T=n`
|
|
302
|
+
:host([disabled]) {
|
|
303
|
+
--_bg: var(--eun-disabled-color, #ecedf0);
|
|
304
|
+
--_bg-hover: var(--eun-disabled-color, #ecedf0);
|
|
305
|
+
--_bg-active: var(--eun-disabled-color, #ecedf0);
|
|
306
|
+
--_fg: var(--eun-text-disabled-color, #8d93aa);
|
|
307
|
+
--_bd: transparent;
|
|
308
|
+
--_boxShadow: none;
|
|
309
|
+
--_boxShadow-hover: none;
|
|
310
|
+
--_cursor: not-allowed;
|
|
311
|
+
}
|
|
312
|
+
:host([disabled]) #button {
|
|
313
|
+
--_icon-color: currentColor;
|
|
314
|
+
--_textColor: var(--_fg);
|
|
315
|
+
background: var(--_bg);
|
|
316
|
+
border-color: var(--_bd);
|
|
317
|
+
pointer-events: none;
|
|
318
|
+
}
|
|
319
|
+
`,H=n`
|
|
320
|
+
:host([slide]) {
|
|
321
|
+
width: auto;
|
|
322
|
+
}
|
|
323
|
+
:host([slide]) #button {
|
|
324
|
+
display: grid;
|
|
325
|
+
grid-template-columns: auto 0fr auto;
|
|
326
|
+
gap: 0;
|
|
327
|
+
align-items: center;
|
|
328
|
+
justify-content: start;
|
|
329
|
+
transition: grid-template-columns ease var(--_transition);
|
|
330
|
+
}
|
|
331
|
+
:host([slide]:hover) #button,
|
|
332
|
+
:host([slide]:focus-visible) #button,
|
|
333
|
+
:host([slide]) #button:focus-visible {
|
|
334
|
+
grid-template-columns: auto 1fr auto;
|
|
335
|
+
}
|
|
336
|
+
:host([slide]) slot:not([name]) {
|
|
337
|
+
display: inline-block;
|
|
338
|
+
overflow: hidden;
|
|
339
|
+
white-space: nowrap;
|
|
340
|
+
text-overflow: ellipsis;
|
|
341
|
+
margin-left: 0;
|
|
342
|
+
opacity: 0;
|
|
343
|
+
transition:
|
|
344
|
+
margin-left ease var(--_transition),
|
|
345
|
+
opacity ease var(--_transition);
|
|
346
|
+
}
|
|
347
|
+
:host([slide]:hover) slot:not([name]),
|
|
348
|
+
:host([slide]:focus-visible) slot:not([name]),
|
|
349
|
+
:host([slide]) #button:focus-visible slot:not([name]) {
|
|
350
|
+
margin-left: var(--_gap);
|
|
351
|
+
opacity: 1;
|
|
352
|
+
}
|
|
353
|
+
`,R=n`
|
|
354
|
+
:host([full]) {
|
|
355
|
+
display: flex;
|
|
356
|
+
width: 100%;
|
|
357
|
+
}
|
|
358
|
+
:host([full]) #button {
|
|
359
|
+
justify-content: center;
|
|
360
|
+
}
|
|
361
|
+
`,I=n`
|
|
362
|
+
@supports (width: if(style(--a: b): 1px; else: 2px)) {
|
|
363
|
+
:host {
|
|
364
|
+
width: if(style(--button-full: true): 100%; else: fit-content);
|
|
365
|
+
}
|
|
366
|
+
#button {
|
|
367
|
+
justify-content: if(style(--button-full: true): center; else: normal);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
`,C=[w,$,L,T,H,A,I,R];var M="eun-button",l,u,o=class extends m(y(k(S(f)))){constructor(){super(...arguments);this.loadingLabel="Loading\u2026";this.appearance="fill";this.full=!1;b(this,l);b(this,u,new z(this,()=>this.slottedAnchor,()=>this.dictionary.link.opensInNewTab));this.handleDefaultSlotChange=()=>{this.requestUpdate()}}updated(t){super.updated(t);let a=this.slottedAnchor;if(a){this.removeAttribute("tabindex"),this.syncSlottedAnchor(a),x(this);return}if(t.has("href")||t.has("disabled")||t.has("loading")){let d=this.disabled||this.loading;this.href&&!d?this.removeAttribute("tabindex"):this.setAttribute("tabindex",d?"-1":"0")}}get slottedAnchor(){return this.href?null:this.querySelector(":scope > a")}syncSlottedAnchor(t){this.disabled||this.loading?(t.setAttribute("aria-disabled","true"),t.setAttribute("tabindex","-1"),h(this,l,t)):c(this,l)===t&&(t.removeAttribute("aria-disabled"),t.removeAttribute("tabindex"),h(this,l,void 0))}renderEndContent(){let t=!!this.href&&this.target==="_blank",a=this.dictionary.link.opensInNewTab;return!t&&!c(this,u).isBlank?r`<slot name="end"></slot>`:r`
|
|
371
|
+
<span id="external-link-icon">
|
|
372
|
+
<eun-icon name="arrow_forward" shape="round" size="12"></eun-icon>
|
|
373
|
+
${!t||this.ariaLabel?v:r`<span class="sr-only"> (${a})</span>`}
|
|
374
|
+
</span>
|
|
375
|
+
`}renderContent(){let t=_(this.icon,this.severity),a=r`
|
|
376
|
+
<slot name="start">
|
|
377
|
+
${t?r`<eun-icon
|
|
378
|
+
class="auto-icon"
|
|
379
|
+
name=${t}
|
|
380
|
+
size="16"
|
|
381
|
+
></eun-icon>`:v}
|
|
382
|
+
</slot>
|
|
383
|
+
<slot @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
384
|
+
${this.renderEndContent()}
|
|
385
|
+
`;return this.loading?r`
|
|
386
|
+
<span id="content-hidden" aria-hidden="true">${a}</span>
|
|
387
|
+
<span id="loader-overlay">
|
|
388
|
+
<eun-loader label=${this.loadingLabel}></eun-loader>
|
|
389
|
+
<span class="sr-only" role="status" aria-live="polite"
|
|
390
|
+
>${this.loadingLabel}</span
|
|
391
|
+
>
|
|
392
|
+
</span>
|
|
393
|
+
`:a}handleLinkClick(t){this.download||g(this,t,this.href,this.target)}render(){let t=this.renderContent(),a=this.disabled||this.loading;if(this.href){let d=this.target==="_blank";return r`
|
|
394
|
+
<a
|
|
395
|
+
id="button"
|
|
396
|
+
href=${e(a?void 0:this.href)}
|
|
397
|
+
target=${e(this.target)}
|
|
398
|
+
rel=${e(d?"noopener noreferrer":void 0)}
|
|
399
|
+
download=${e(this.download)}
|
|
400
|
+
aria-label=${e(d&&this.ariaLabel?`${this.ariaLabel} (${this.dictionary.link.opensInNewTab})`:this.ariaLabel??void 0)}
|
|
401
|
+
aria-disabled=${e(this.disabled?"true":void 0)}
|
|
402
|
+
aria-busy=${e(this.loading?"true":void 0)}
|
|
403
|
+
@click=${this.handleLinkClick}
|
|
404
|
+
>
|
|
405
|
+
${t}
|
|
406
|
+
</a>
|
|
407
|
+
`}return r`
|
|
408
|
+
<div
|
|
409
|
+
id="button"
|
|
410
|
+
class=${e(this.slottedAnchor?"slotted-link":void 0)}
|
|
411
|
+
aria-busy=${e(this.loading?"true":void 0)}
|
|
412
|
+
>
|
|
413
|
+
${t}
|
|
414
|
+
</div>
|
|
415
|
+
`}};l=new WeakMap,u=new WeakMap,o.styles=C,i([s({attribute:"loading-label"})],o.prototype,"loadingLabel",2),i([s()],o.prototype,"icon",2),i([s({reflect:!0})],o.prototype,"severity",2),i([s({reflect:!0})],o.prototype,"appearance",2),i([s({type:Boolean,reflect:!0})],o.prototype,"full",2),o=i([p(M)],o);export{M as a,o as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-
|
|
1
|
+
import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-L65WUTXM.js";import{a as E}from"./chunk-L74LXUGL.js";import{a as T}from"./chunk-LFCXUVDO.js";import{a as M}from"./chunk-GW3VP2L7.js";import{a as w,b as o,c as x,d as $,e as d}from"./chunk-OAULRKHQ.js";import{a as h}from"./chunk-YYCEPZUN.js";import{a as v}from"./chunk-32DTNR52.js";import{a as p}from"./chunk-A4EQSU36.js";import{a as l}from"./chunk-5EVP7YNE.js";import{a as i,f as u,g as b,h as t,i as m,j as f,l as y,n as r,p as n,s as g}from"./chunk-XH6NREVZ.js";var C=b`
|
|
2
2
|
.has-trailing-action #field {
|
|
3
3
|
padding-inline-end: calc(
|
|
4
4
|
calc(var(--eun-space-l, 32px) * 1.2) + var(--eun-space-xs, 4px)
|
|
@@ -8,7 +8,7 @@ import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-6UPI7GHJ.js";
|
|
|
8
8
|
appearance: none;
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
|
-
`,S=[V,C];var P="eun-input",
|
|
11
|
+
`,S=[V,C];var P="eun-input",A=v($(g)),F=T(M(w(L(x(A))))),e=class extends F{constructor(){super(...arguments);this.type="text";this.clearable=!1;this.autocomplete="off";this.emptyValueLabel="No value set";this.confirmLabel="Save";this.cancelLabel="Cancel";this.ariaLabelClear="Clear field";this.ariaLabelShowPassword="Show password";this.ariaLabelHidePassword="Hide password";this.showPassword=!1;this.handleIconSlotChange=()=>{this.requestUpdate()};this.checkLocalValidators=()=>E(this.fieldEl,["valueMissing","typeMismatch","patternMismatch","tooShort","tooLong","rangeUnderflow","rangeOverflow","stepMismatch","badInput"])}get defaultValue(){return super.defaultValue}set defaultValue(a){super.defaultValue=a}focusTarget(){return this.fieldEl}updated(a){super.updated(a),a.has("editing")&&this.editing&&this.fieldEl?.focus(),a.has("disabled")&&(this.disabled?this.setAttribute("tabindex","-1"):this.removeAttribute("tabindex"))}getFocusAnchor(){return this.fieldEl??void 0}focus(){super.focus?.(),this.focusTarget()?.focus()}handleInput(a){this.value=a.target.value,this.dispatchEvent(new h(this.value))}handleClear(){this.value="",this.dispatchEvent(new h(this.value)),this.fieldEl?.focus()}togglePasswordVisibility(){this.showPassword=!this.showPassword}renderReadonlyDisplay(){let a=!!this.value?.trim().length;return r`
|
|
12
12
|
<div
|
|
13
13
|
id="readonly-display"
|
|
14
14
|
role="button"
|
|
@@ -83,7 +83,7 @@ import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-6UPI7GHJ.js";
|
|
|
83
83
|
<eun-button
|
|
84
84
|
class="confirm"
|
|
85
85
|
size="s"
|
|
86
|
-
|
|
86
|
+
color="primary"
|
|
87
87
|
appearance="default"
|
|
88
88
|
rounded
|
|
89
89
|
type="button"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l,i,j as n}from"./chunk-XH6NREVZ.js";var a=30,v=16,m=c=>{class o extends c{constructor(){super(...arguments);this.overflowState=!1;this.resizeObserver=new ResizeObserver(()=>{this.resizeObserverCallback(),this.handleOverflow()})}firstUpdated(e){super.firstUpdated(e),this.resizeObserver.observe(this)}disconnectedCallback(){this.resizeObserver.disconnect(),super.disconnectedCallback?.()}scrollItem(e){return()=>{this.scrollableElement.scrollBy({behavior:"smooth",left:150*(e==="front"?1:-1)})}}updateScroll(){this.overflowState=this.getOverflowStatus()}isOnOverflow(){let e=this.shadowRoot?.querySelector('slot[name="navigation"]');if(!e||!(e instanceof HTMLSlotElement))return!1;let t=e.assignedElements();if(!t||!t.length)return!1;let r=t.reduce((d,f)=>d+(f.getBoundingClientRect().width||0),0)+(t.length-1)*this.getContentGap(),s=this.shadowRoot?.querySelector("#scrollable");return s?r>s.clientWidth:!1}getContentGap(){let e=this.shadowRoot?.host??document.body,t=getComputedStyle(e).getPropertyValue("--eun-overflow-content-gap")||v;return typeof t=="number"?t:parseFloat(t)}handleOverflow(){(!this.overflowState&&this.isOnOverflow()||this.overflowState&&!this.isOnOverflow())&&this.updateScroll()}getOverflowStatus(){if(!this.isOnOverflow())return!1;let e=this.scrollableElement,t=e.scrollWidth-e.scrollLeft-e.clientWidth<a,r=e.scrollLeft<a;return!r&&!t?"middle":r?"start":t?"end":!1}resizeObserverCallback(){}}return l([i()],o.prototype,"overflowState",2),l([n("#scrollable")],o.prototype,"scrollableElement",2),o};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";import{a,f as u,g as p,h as i,n,p as c,s as m}from"./chunk-XH6NREVZ.js";var r=class d extends Event{static{this.eventName="euntableaction"}constructor(b,e){super(d.eventName,{bubbles:!0,composed:!1}),this.key=b,this.optionKey=e}};var
|
|
1
|
+
import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";import{a,f as u,g as p,h as i,n,p as c,s as m}from"./chunk-XH6NREVZ.js";var r=class d extends Event{static{this.eventName="euntableaction"}constructor(b,e){super(d.eventName,{bubbles:!0,composed:!1}),this.key=b,this.optionKey=e}};var v=p`
|
|
2
2
|
:host {
|
|
3
3
|
position: fixed;
|
|
4
4
|
bottom: var(--table-action-bar-offset-bottom, var(--eun-space-l, 32px));
|
|
@@ -23,11 +23,11 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
|
|
|
23
23
|
width: max-content;
|
|
24
24
|
max-width: 100%;
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
border: var(--eun-
|
|
26
|
+
border: var(--eun-border-width-s, 1px) solid
|
|
27
27
|
var(--table-action-bar-border-color, var(--eun-border-color, #dee0e7));
|
|
28
28
|
border-radius: var(
|
|
29
29
|
--table-action-bar-border-radius,
|
|
30
|
-
var(--eun-
|
|
30
|
+
var(--eun-border-radius-l, 10px)
|
|
31
31
|
);
|
|
32
32
|
background: var(
|
|
33
33
|
--table-action-bar-background,
|
|
@@ -112,11 +112,11 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
|
|
|
112
112
|
animation: none;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
`,v
|
|
115
|
+
`,h=v;var x="eun-table-action-bar",t=class extends m{constructor(){super(...arguments);this.selectedCount=0;this.totalCount=0;this.actions=[];this.toolbarAriaLabel="Selection actions";this.selectedLabel="selected";this.selectAllLabel="Select all";this.deselectAllLabel="Deselect all";this.closeAriaLabel="Clear selection";this.handleSelectAllClick=()=>{this.onSelectAll?.()};this.handleCloseClick=()=>{this.onClose?.()}}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","region")}updated(e){super.updated(e),e.has("toolbarAriaLabel")&&this.setAttribute("aria-label",this.toolbarAriaLabel)}get allSelected(){return this.totalCount>0&&this.selectedCount===this.totalCount}handleActionClick(e){e.disabled||this.dispatchEvent(new r(e.key))}handleActionSelect(e,l){this.dispatchEvent(new r(e.key,l.key))}renderAction(e){let l=e.color==="critical";return e.dropdown?n`
|
|
116
116
|
<eun-dropdown-button
|
|
117
117
|
label=${e.label}
|
|
118
118
|
icon=${o(e.icon)}
|
|
119
|
-
|
|
119
|
+
color=${o(l?"critical":void 0)}
|
|
120
120
|
appearance=${l?"default":"flat"}
|
|
121
121
|
.options=${e.dropdown}
|
|
122
122
|
?disabled=${e.disabled}
|
|
@@ -131,7 +131,7 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
|
|
|
131
131
|
>
|
|
132
132
|
`:n`
|
|
133
133
|
<eun-button
|
|
134
|
-
|
|
134
|
+
color=${o(l?"critical":void 0)}
|
|
135
135
|
label=${e.label}
|
|
136
136
|
appearance=${l?"default":"flat"}
|
|
137
137
|
?disabled=${e.disabled}
|
|
@@ -177,4 +177,4 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
|
|
|
177
177
|
</eun-button>
|
|
178
178
|
</div>
|
|
179
179
|
</div>
|
|
180
|
-
`}};t.styles=
|
|
180
|
+
`}};t.styles=h,a([i({type:Number,attribute:"selected-count"})],t.prototype,"selectedCount",2),a([i({type:Number,attribute:"total-count"})],t.prototype,"totalCount",2),a([i({attribute:!1})],t.prototype,"actions",2),a([i({attribute:"toolbar-aria-label"})],t.prototype,"toolbarAriaLabel",2),a([i({attribute:"selected-label"})],t.prototype,"selectedLabel",2),a([i({attribute:"select-all-label"})],t.prototype,"selectAllLabel",2),a([i({attribute:"deselect-all-label"})],t.prototype,"deselectAllLabel",2),a([i({attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",2),t=a([u(x)],t);export{r as a,x as b,t as c};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import{a as M}from"./chunk-MMLIPCOY.js";import{a as $,b as m,c as _}from"./chunk-SGM2X2TC.js";import{a as u,b as h,c as x,d as T,f as b,g as w,h as f,i as E,n as I,o as S,p,s as k}from"./chunk-XH6NREVZ.js";var a=class extends _{constructor(t){if(super(t),this.it=p,t.type!==$.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===p||t==null)return this._t=void 0,this.it=t;if(t===S)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};a.directiveName="unsafeHTML",a.resultType=1;var F=m(a);var l=class extends a{};l.directiveName="unsafeSVG",l.resultType=2;var N=m(l);var z=w`
|
|
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
|
+
white-space: normal;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
user-select: none;
|
|
21
|
+
transition: var(--icon-transition, 0.2s);
|
|
22
|
+
}
|
|
23
|
+
svg {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
display: block;
|
|
27
|
+
}
|
|
28
|
+
svg path {
|
|
29
|
+
stroke-width: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (prefers-reduced-motion: reduce) {
|
|
33
|
+
span {
|
|
34
|
+
transition: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`;var C="eun-icon",L=new RegExp("_(outline|round|sharp)$"),D=import.meta.url,v,y=new Set,g=new Map;function Z(d){v=d.endsWith("/")?d.slice(0,-1):d,y.forEach(t=>t.reload())}var c,s=class extends k{constructor(){super(...arguments);x(this,c)}set size(e){let r=h(this,c);T(this,c,e),this.requestUpdate("size",r)}get cssSize(){let e=h(this,c);if(e)return/%$/.test(e)?`${parseFloat(e)/100}rem`:/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}get size(){return h(this,c)}connectedCallback(){super.connectedCallback(),y.add(this)}disconnectedCallback(){super.disconnectedCallback(),y.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 r=this.getTargetIconFolder(e),n=this.stripShapeSuffix(e),o=r==="default"?n:`${n}_${r}`;this.fetchIconSvg(r,o).then(i=>{this.svgMarkup=i}).catch(()=>{r!=="default"&&this.fetchIconSvg("default",n).then(i=>{this.svgMarkup=i}).catch(()=>{})})}async fetchIconSvg(e,r){let n;if(v)n=`${v}/${e}/${r}.svg`;else{let i=new URL(D);if(i.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 U=i.pathname.slice(0,i.pathname.lastIndexOf("/"));i.pathname=`${U}/icons/${e}/${r}.svg`,n=i.href}let o=g.get(n);return o||(o=fetch(n).then(i=>{if(!i.ok)throw new Error(`Icon not found: ${n}`);return i.text()}),g.set(n,o),o.catch(()=>g.delete(n))),o}getTargetIconFolder(e){if(this.shape)return this.shape;let r=this.extractKeywordFromIconName(e);return r||"default"}extractKeywordFromIconName(e){let r=e.match(L);if(r)return r[1]}stripShapeSuffix(e){return e.replace(L,"")}render(){return this.name?I`<span
|
|
38
|
+
part="wrapper"
|
|
39
|
+
aria-hidden="true"
|
|
40
|
+
style=${M({"--_size":this.cssSize})}
|
|
41
|
+
>
|
|
42
|
+
${this.svgMarkup?N(this.svgMarkup):p}
|
|
43
|
+
</span>`:p}};c=new WeakMap,s.styles=[z],u([f()],s.prototype,"name",2),u([f()],s.prototype,"shape",2),u([E()],s.prototype,"svgMarkup",2),u([f({attribute:"size"})],s.prototype,"size",1),s=u([b(C)],s);export{C as a,Z as b,s as c};
|
|
44
|
+
/*! Bundled license information:
|
|
45
|
+
|
|
46
|
+
lit-html/directives/unsafe-html.js:
|
|
47
|
+
lit-html/directives/unsafe-svg.js:
|
|
48
|
+
(**
|
|
49
|
+
* @license
|
|
50
|
+
* Copyright 2017 Google LLC
|
|
51
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
|
+
*)
|
|
53
|
+
*/
|
|
@@ -3,7 +3,7 @@ import{a as t,f as l,g as o,n as r,s as a}from"./chunk-XH6NREVZ.js";var s=o`
|
|
|
3
3
|
display: flex;
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
min-width: 0;
|
|
6
|
-
border-inline-end: var(--eun-
|
|
6
|
+
border-inline-end: var(--eun-border-width-s, 1px) solid
|
|
7
7
|
var(--table-column-border-color, transparent);
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ import{a as t,f as l,g as o,n as r,s as a}from"./chunk-XH6NREVZ.js";var s=o`
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
min-width: 0;
|
|
22
22
|
padding: var(--eun-space-s, 8px) var(--eun-space-m, 16px);
|
|
23
|
-
font-size: var(--eun-
|
|
23
|
+
font-size: var(--eun-font-size-s, 13px);
|
|
24
24
|
color: var(--table-cell-color, var(--eun-text-color, #071621));
|
|
25
25
|
overflow: hidden;
|
|
26
26
|
}
|
|
@@ -17,14 +17,14 @@ import{g as r}from"./chunk-XH6NREVZ.js";var o=r`
|
|
|
17
17
|
--field-focus-outline-color,
|
|
18
18
|
var(--eun-color-primary-500, #3d6fff)
|
|
19
19
|
);
|
|
20
|
-
--_borderRadius: var(--field-border-radius, var(--eun-
|
|
20
|
+
--_borderRadius: var(--field-border-radius, var(--eun-border-radius-m, 8px));
|
|
21
21
|
--_padding: var(
|
|
22
22
|
--field-padding,
|
|
23
23
|
var(--eun-space-s, 8px) var(--eun-space-s, 8px)
|
|
24
24
|
);
|
|
25
25
|
--_shadow: var(--field-shadow, none);
|
|
26
26
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
27
|
-
font-size: var(--eun-
|
|
27
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
28
28
|
display: block;
|
|
29
29
|
width: 100%;
|
|
30
30
|
outline: none;
|
|
@@ -44,7 +44,7 @@ import{g as r}from"./chunk-XH6NREVZ.js";var o=r`
|
|
|
44
44
|
font: inherit;
|
|
45
45
|
color: var(--_textColor);
|
|
46
46
|
background-color: var(--_background);
|
|
47
|
-
border: var(--eun-
|
|
47
|
+
border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
48
48
|
border-radius: var(--_borderRadius);
|
|
49
49
|
padding: var(--_padding);
|
|
50
50
|
outline: 1px solid transparent;
|
|
@@ -96,22 +96,22 @@ import{g as r}from"./chunk-XH6NREVZ.js";var o=r`
|
|
|
96
96
|
#field[aria-invalid="true"]:focus-visible {
|
|
97
97
|
outline-color: var(--_errorColor);
|
|
98
98
|
}
|
|
99
|
-
:host([
|
|
99
|
+
:host([appearance="flat"]) {
|
|
100
100
|
--_background: var(--field-background, var(--eun-content-hover, #edeff0));
|
|
101
101
|
}
|
|
102
|
-
:host([
|
|
102
|
+
:host([appearance="flat"]) #field:not(:hover) {
|
|
103
103
|
border-color: transparent;
|
|
104
104
|
}
|
|
105
|
-
:host([
|
|
106
|
-
box-shadow: inset 0 0 0 var(--eun-
|
|
105
|
+
:host([appearance="flat"]) #field[aria-invalid="true"] {
|
|
106
|
+
box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
|
|
107
107
|
}
|
|
108
|
-
:host([
|
|
108
|
+
:host([appearance="underline"]) #field {
|
|
109
109
|
border: none;
|
|
110
110
|
outline: none;
|
|
111
|
-
border-bottom: var(--eun-
|
|
111
|
+
border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
|
|
112
112
|
border-radius: 0;
|
|
113
113
|
}
|
|
114
|
-
:host([
|
|
114
|
+
:host([appearance="underline"]) #field:focus-visible {
|
|
115
115
|
outline: none;
|
|
116
116
|
}
|
|
117
117
|
slot[name="icon"] {
|
|
@@ -147,11 +147,11 @@ import{g as r}from"./chunk-XH6NREVZ.js";var o=r`
|
|
|
147
147
|
#password-toggle:focus-visible {
|
|
148
148
|
outline: 2px solid var(--_focusIndicator);
|
|
149
149
|
outline-offset: 2px;
|
|
150
|
-
border-radius: var(--eun-
|
|
150
|
+
border-radius: var(--eun-border-radius-xl, 999px);
|
|
151
151
|
}
|
|
152
152
|
#readonly-display {
|
|
153
153
|
padding: var(--_padding);
|
|
154
|
-
border: var(--eun-
|
|
154
|
+
border: var(--eun-border-width-m, 1.5px) solid transparent;
|
|
155
155
|
border-radius: var(--_borderRadius);
|
|
156
156
|
box-sizing: border-box;
|
|
157
157
|
cursor: text;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r,h as a}from"./chunk-XH6NREVZ.js";var o=n=>{class e extends n{constructor(){super(...arguments);this.appearance="outline"}}return r([a({reflect:!0})],e.prototype,"appearance",2),e};export{o as a};
|