@eunomia/elements 1.0.0-beta.5 → 1.0.0-beta.6
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/breakpoints.d.ts +37 -10
- package/dist/breakpoints.js +38 -10
- package/dist/cdn/components/chunks/{chunk-MMLIPCOY.js → chunk-22D3SRFR.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-OW7XKDCH.js → chunk-2Y2EU2CI.js} +16 -16
- package/dist/cdn/components/chunks/{chunk-LFCXUVDO.js → chunk-4PI6RDUS.js} +1 -1
- package/dist/cdn/components/chunks/chunk-624VJYNA.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJLIHAU.js → chunk-7KKWYPHY.js} +4 -2
- package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +1 -0
- package/dist/cdn/components/chunks/chunk-BKZGTCMF.js +1 -0
- package/dist/cdn/components/chunks/{chunk-GW3VP2L7.js → chunk-BO3JOEWM.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-EAKYD33D.js → chunk-BQFJR2UP.js} +4 -4
- package/dist/cdn/components/chunks/chunk-EUWUDCBZ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-P32B7BFD.js → chunk-FF3I7C3C.js} +15 -15
- package/dist/cdn/components/chunks/{chunk-74AOAB4X.js → chunk-FOILAXLL.js} +6 -5
- package/dist/cdn/components/chunks/{chunk-E4IS25H7.js → chunk-G5SBDQQ3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-LGLQ36QB.js → chunk-GDBPWZN6.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-S2UCEWNG.js → chunk-JYIIWN2P.js} +13 -11
- package/dist/cdn/components/chunks/{chunk-IDKZKLJR.js → chunk-KDN4O5W2.js} +24 -11
- package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +1 -0
- package/dist/cdn/components/chunks/{chunk-PED5ATYN.js → chunk-L2ADCEN7.js} +1 -1
- package/dist/cdn/components/chunks/chunk-LMVW522V.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJGYXW7.js → chunk-MOMYII3P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-2XASWWKR.js → chunk-MQQ4BGVJ.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-A4EQSU36.js → chunk-O7PHBLH2.js} +1 -1
- package/dist/cdn/components/chunks/chunk-PD62MBOJ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-KBH5PCUO.js → chunk-PE4DAXHQ.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-6ETDXUH2.js → chunk-PMPSJG5V.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-5EVP7YNE.js → chunk-PPCHQG7P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-AIS3UICU.js → chunk-QZ5SHR3I.js} +9 -5
- package/dist/cdn/components/chunks/{chunk-32DTNR52.js → chunk-RS7TWEMQ.js} +1 -1
- package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-MPQP4R54.js → chunk-SZYEBMG6.js} +10 -9
- package/dist/cdn/components/chunks/{chunk-JRGM3W7I.js → chunk-UDVB4LAE.js} +5 -2
- package/dist/cdn/components/chunks/{chunk-L65WUTXM.js → chunk-UYZR4JXZ.js} +12 -7
- package/dist/cdn/components/chunks/chunk-VG6NAAIV.js +1 -0
- package/dist/cdn/components/chunks/chunk-VJCNHMQZ.js +10 -0
- package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +38 -0
- package/dist/cdn/components/chunks/{chunk-DKOPI7QA.js → chunk-VYFR364B.js} +73 -63
- package/dist/cdn/components/chunks/{chunk-SD2WHGPF.js → chunk-XDPRWUKN.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-XH6NREVZ.js → chunk-YITWLCD3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-BQHYZB2W.js → chunk-ZBN4HTWP.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-NBIENHLV.js → chunk-ZKZV2YG5.js} +18 -18
- package/dist/cdn/components/eun-alert.js +24 -16
- package/dist/cdn/components/eun-animate.js +12 -8
- package/dist/cdn/components/eun-badge.js +1 -1
- package/dist/cdn/components/eun-breadcrumb.js +25 -41
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +67 -65
- package/dist/cdn/components/eun-card.js +32 -17
- package/dist/cdn/components/eun-carousel.js +66 -35
- package/dist/cdn/components/eun-check-card.js +13 -6
- package/dist/cdn/components/eun-checkbox-list.js +4 -4
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +1 -1
- package/dist/cdn/components/eun-collapse.js +56 -27
- package/dist/cdn/components/eun-color-picker.js +53 -52
- package/dist/cdn/components/eun-counter.js +9 -8
- package/dist/cdn/components/eun-date-picker.js +59 -56
- package/dist/cdn/components/eun-description-list.js +152 -0
- package/dist/cdn/components/eun-divider.js +1 -1
- package/dist/cdn/components/eun-drawer.js +32 -18
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -5
- package/dist/cdn/components/eun-fab.js +17 -16
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +79 -22
- package/dist/cdn/components/eun-image-carousel.js +92 -47
- package/dist/cdn/components/eun-infinite-list.js +23 -11
- package/dist/cdn/components/eun-input-file.js +14 -13
- package/dist/cdn/components/eun-input-phone.js +15 -15
- 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 +78 -29
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +17 -10
- package/dist/cdn/components/eun-pagination.js +17 -12
- package/dist/cdn/components/eun-password-strength.js +6 -2
- package/dist/cdn/components/eun-progress-bar.js +13 -5
- package/dist/cdn/components/eun-radio-card.js +16 -9
- package/dist/cdn/components/eun-radio-list.js +4 -4
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +1 -1
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +36 -36
- package/dist/cdn/components/eun-search.js +11 -10
- package/dist/cdn/components/eun-select.js +12 -11
- package/dist/cdn/components/eun-sidebar.js +34 -20
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +15 -14
- package/dist/cdn/components/eun-sliding-card.js +8 -4
- package/dist/cdn/components/eun-step.js +17 -6
- package/dist/cdn/components/eun-stepper.js +17 -6
- package/dist/cdn/components/eun-switch.js +10 -8
- package/dist/cdn/components/eun-tab-group.js +22 -17
- package/dist/cdn/components/eun-tab-panel.js +11 -3
- 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.js +572 -31
- package/dist/cdn/components/eun-tag.js +13 -7
- package/dist/cdn/components/eun-textarea.js +23 -23
- package/dist/cdn/components/eun-time-picker.js +17 -15
- package/dist/cdn/components/eun-toast.js +36 -16
- package/dist/cdn/components/eun-toggle-group.js +53 -34
- package/dist/cdn/components/eun-toggle-item.js +16 -15
- package/dist/cdn/components/eun-toggle.js +12 -10
- package/dist/cdn/components/eun-toolbar.js +62 -52
- package/dist/cdn/components/eun-tooltip.js +30 -14
- package/dist/cdn/styles/breakpoints.scss +8 -0
- package/dist/cdn/styles/eunomia-grid.scss +6 -0
- 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 +4 -3
- package/dist/cdn/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/dist/cdn/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- 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 +3 -2
- package/dist/cdn/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/dist/cdn/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/dist/cdn/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/components/action/button/button.d.ts +7 -2
- package/dist/components/action/button/button.js +7 -2
- package/dist/components/action/button/button.styles.js +51 -36
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +2 -2
- package/dist/components/action/dropdown-button/dropdown-button.js +11 -10
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +3 -2
- package/dist/components/action/dropdown-button/dropdown-item.js +5 -6
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +3 -2
- package/dist/components/action/fab/fab.styles.js +14 -13
- package/dist/components/action/link/link.d.ts +7 -3
- package/dist/components/action/link/link.js +11 -7
- package/dist/components/action/link/link.styles.js +66 -15
- package/dist/components/action/shared-styles/button-palette.styles.js +15 -15
- package/dist/components/action/toggle/toggle-group.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.js +5 -3
- package/dist/components/action/toggle/toggle-group.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.styles.js +42 -21
- package/dist/components/action/toggle/toggle-item.styles.js +13 -12
- package/dist/components/action/toggle/toggle.d.ts +2 -0
- package/dist/components/action/toggle/toggle.js +2 -0
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle.styles.js +12 -8
- package/dist/components/alert/alert/alert.d.ts +2 -0
- package/dist/components/alert/alert/alert.js +2 -0
- package/dist/components/alert/alert/alert.styles.js +23 -13
- package/dist/components/alert/drawer/drawer.d.ts +3 -1
- package/dist/components/alert/drawer/drawer.js +4 -2
- package/dist/components/alert/drawer/drawer.styles.js +25 -9
- package/dist/components/alert/modal/modal.d.ts +3 -1
- package/dist/components/alert/modal/modal.js +4 -2
- package/dist/components/alert/modal/modal.styles.js +16 -7
- package/dist/components/alert/toast/toast.d.ts +2 -0
- package/dist/components/alert/toast/toast.js +2 -0
- package/dist/components/alert/toast/toast.styles.js +37 -15
- package/dist/components/content/card/card.d.ts +7 -3
- package/dist/components/content/card/card.js +7 -3
- package/dist/components/content/card/card.styles.js +26 -11
- package/dist/components/content/card/image-card.d.ts +60 -6
- package/dist/components/content/card/image-card.js +120 -11
- package/dist/components/content/card/image-card.styles.js +66 -15
- package/dist/components/content/card/sliding-card.d.ts +2 -0
- package/dist/components/content/card/sliding-card.js +2 -0
- package/dist/components/content/card/sliding-card.styles.js +5 -1
- package/dist/components/content/collapse/collapse.d.ts +10 -1
- package/dist/components/content/collapse/collapse.js +12 -2
- package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
- package/dist/components/content/collapse/collapse.styles.js +56 -18
- package/dist/components/content/description-list/description-list.d.ts +87 -0
- package/dist/components/content/description-list/description-list.js +107 -0
- package/dist/components/content/description-list/description-list.styles.d.ts +1 -0
- package/dist/components/content/description-list/description-list.styles.js +185 -0
- package/dist/components/content/icon/icon.d.ts +2 -0
- package/dist/components/content/icon/icon.js +2 -0
- package/dist/components/content/icon/icon.style.js +4 -1
- package/dist/components/content/image-carousel/image-carousel.d.ts +30 -19
- package/dist/components/content/image-carousel/image-carousel.js +48 -45
- package/dist/components/content/image-carousel/image-carousel.styles.js +69 -30
- package/dist/components/content/password-strength/password-strength.styles.js +5 -1
- package/dist/components/content/progress-bar/progress-bar.styles.js +12 -4
- package/dist/components/content/shared-styles/card-link.styles.js +4 -3
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +5 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +19 -14
- package/dist/components/content/tag/tag.d.ts +4 -0
- package/dist/components/content/tag/tag.js +4 -0
- package/dist/components/content/tag/tag.styles.js +14 -4
- package/dist/components/content/tooltip/tooltip.d.ts +3 -2
- package/dist/components/content/tooltip/tooltip.js +9 -16
- package/dist/components/content/tooltip/tooltip.styles.js +25 -7
- package/dist/components/form/checkbox/check-card.d.ts +4 -1
- package/dist/components/form/checkbox/check-card.js +4 -1
- package/dist/components/form/checkbox/check-card.styles.js +13 -4
- package/dist/components/form/checkbox/checkbox-list.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox-list.js +11 -7
- package/dist/components/form/checkbox/checkbox.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox.js +4 -1
- package/dist/components/form/checkbox/checkbox.styles.js +2 -2
- package/dist/components/form/color-picker/color-picker.d.ts +7 -1
- package/dist/components/form/color-picker/color-picker.js +19 -21
- package/dist/components/form/color-picker/color-picker.styles.js +6 -5
- package/dist/components/form/counter/counter.d.ts +4 -1
- package/dist/components/form/counter/counter.js +5 -2
- package/dist/components/form/counter/counter.styles.js +5 -4
- package/dist/components/form/date-picker/date-picker.d.ts +37 -33
- package/dist/components/form/date-picker/date-picker.js +32 -42
- package/dist/components/form/date-picker/date-picker.styles.js +8 -5
- package/dist/components/form/input/input.d.ts +7 -1
- package/dist/components/form/input/input.js +8 -2
- package/dist/components/form/input-file/input-file.d.ts +4 -1
- package/dist/components/form/input-file/input-file.js +8 -5
- package/dist/components/form/input-file/input-file.styles.js +3 -2
- package/dist/components/form/input-phone/input-phone.d.ts +8 -2
- package/dist/components/form/input-phone/input-phone.js +13 -17
- package/dist/components/form/input-phone/input-phone.styles.js +4 -4
- package/dist/components/form/label/label.styles.js +3 -3
- package/dist/components/form/radio/radio-card.d.ts +5 -2
- package/dist/components/form/radio/radio-card.js +5 -2
- package/dist/components/form/radio/radio-card.styles.js +14 -5
- package/dist/components/form/radio/radio-list.d.ts +5 -2
- package/dist/components/form/radio/radio-list.js +14 -10
- package/dist/components/form/radio/radio.d.ts +5 -2
- package/dist/components/form/radio/radio.js +5 -2
- package/dist/components/form/radio/radio.styles.js +4 -4
- package/dist/components/form/search/search.d.ts +2 -1
- package/dist/components/form/search/search.js +6 -15
- package/dist/components/form/search/search.styles.js +5 -4
- package/dist/components/form/select/select.d.ts +9 -2
- package/dist/components/form/select/select.js +15 -18
- package/dist/components/form/select/select.styles.js +3 -2
- package/dist/components/form/shared-styles/card.styles.js +5 -4
- package/dist/components/form/shared-styles/field.styles.js +16 -6
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/slider/slider.d.ts +4 -1
- package/dist/components/form/slider/slider.js +5 -2
- package/dist/components/form/slider/slider.styles.js +8 -7
- package/dist/components/form/switch/switch.d.ts +4 -1
- package/dist/components/form/switch/switch.js +4 -1
- package/dist/components/form/switch/switch.styles.js +7 -5
- package/dist/components/form/textarea/textarea.d.ts +7 -1
- package/dist/components/form/textarea/textarea.js +14 -8
- package/dist/components/form/time-picker/time-picker-columns.styles.js +4 -2
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -1
- package/dist/components/form/time-picker/time-picker.d.ts +6 -2
- package/dist/components/form/time-picker/time-picker.js +22 -26
- package/dist/components/form/time-picker/time-picker.styles.js +4 -3
- package/dist/components/layout/animate/animate.d.ts +37 -15
- package/dist/components/layout/animate/animate.js +35 -15
- package/dist/components/layout/animate/animate.styles.js +9 -16
- package/dist/components/layout/infinite-list/infinite-list.d.ts +33 -10
- package/dist/components/layout/infinite-list/infinite-list.js +115 -18
- package/dist/components/layout/infinite-list/infinite-list.styles.d.ts +3 -0
- package/dist/components/layout/infinite-list/infinite-list.styles.js +17 -5
- package/dist/components/loader/loader/loader.styles.js +3 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +31 -45
- package/dist/components/navigation/breadcrumb/breadcrumb.js +111 -77
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.d.ts +3 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +22 -26
- package/dist/components/navigation/carousel/carousel.d.ts +30 -10
- package/dist/components/navigation/carousel/carousel.js +37 -18
- package/dist/components/navigation/carousel/carousel.styles.js +60 -20
- package/dist/components/navigation/pagination/pagination.styles.js +8 -3
- package/dist/components/navigation/sidebar/sidebar.d.ts +2 -0
- package/dist/components/navigation/sidebar/sidebar.js +2 -0
- package/dist/components/navigation/sidebar/sidebar.styles.js +27 -11
- package/dist/components/navigation/stepper/step.styles.js +16 -5
- package/dist/components/navigation/stepper/stepper.styles.js +16 -5
- package/dist/components/navigation/tabs/tab/tab.d.ts +11 -0
- package/dist/components/navigation/tabs/tab/tab.js +11 -0
- package/dist/components/navigation/tabs/tab/tab.styles.js +22 -16
- package/dist/components/navigation/tabs/tab-group/tab-group.js +7 -8
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +19 -14
- package/dist/components/navigation/tabs/tab-panel/tab-panel.d.ts +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.js +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +18 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +17 -49
- package/dist/components/navigation/toolbar/toolbar.js +23 -71
- package/dist/components/navigation/toolbar/toolbar.styles.js +59 -36
- package/dist/events/table-row-click.event.d.ts +5 -4
- package/dist/events/table-row-click.event.js +10 -5
- package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
- package/dist/features/scheduler/calendar/calendar.js +6 -5
- package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
- package/dist/features/scheduler/scheduler/scheduler.d.ts +1 -1
- package/dist/features/scheduler/scheduler/scheduler.js +9 -23
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +10 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +2 -2
- package/dist/features/table/table/table-native.styles.d.ts +28 -0
- package/dist/features/table/table/table-native.styles.js +502 -0
- package/dist/features/table/table/table.d.ts +342 -294
- package/dist/features/table/table/table.js +820 -546
- package/dist/features/table/table/table.styles.js +31 -17
- package/dist/features/table/table/table.types.d.ts +11 -20
- package/dist/features/table/table/table.utils.d.ts +6 -36
- package/dist/features/table/table/table.utils.js +16 -65
- package/dist/features/table/table-action-bar/table-action-bar.d.ts +33 -16
- package/dist/features/table/table-action-bar/table-action-bar.js +15 -22
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
- package/dist/i18n/en.d.ts +31 -0
- package/dist/i18n/en.js +31 -0
- package/dist/i18n/fr.js +35 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +6 -10
- package/dist/mixins/check.mixin.js +4 -5
- package/dist/mixins/form.mixin.d.ts +17 -1
- package/dist/mixins/form.mixin.js +80 -25
- package/dist/mixins/radio.mixin.js +4 -5
- package/dist/mixins/validators.mixin.d.ts +7 -1
- package/dist/mixins/validators.mixin.js +36 -17
- package/dist/ssr/animate-ssr.css +3 -2
- package/dist/ssr/button-ssr.css +319 -0
- package/dist/ssr/card-ssr.css +184 -0
- package/dist/ssr/description-list-ssr.css +150 -0
- package/dist/ssr/links-ssr.css +1 -1
- package/dist/ssr/table-ssr.css +472 -0
- package/dist/ssr/tag-ssr.css +197 -0
- package/dist/ssr/toolbar-ssr.css +5 -1
- package/dist/utils/drag-drop.utils.js +18 -2
- package/dist/utils/dropdown-menu.utils.d.ts +2 -2
- package/dist/utils/dropdown-menu.utils.js +4 -14
- package/dist/utils/light-dom-styles.utils.d.ts +14 -0
- package/dist/utils/light-dom-styles.utils.js +37 -0
- package/dist/utils/media.styles.d.ts +19 -0
- package/dist/utils/media.styles.js +23 -0
- package/dist/utils/motion.utils.d.ts +40 -0
- package/dist/utils/motion.utils.js +51 -0
- package/dist/utils/theme-generator.utils.d.ts +6 -1
- package/dist/utils/theme-generator.utils.js +59 -20
- package/package.json +17 -28
- package/styles/breakpoints.scss +8 -0
- package/styles/eunomia-grid.scss +6 -0
- package/styles/themes/eunomia-theme.scss +4 -3
- package/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
- package/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/cdn/components/chunks/chunk-A6KGFALA.js +0 -132
- package/dist/cdn/components/chunks/chunk-CEDHJUUH.js +0 -1
- package/dist/cdn/components/chunks/chunk-D2M4BV5Y.js +0 -328
- package/dist/cdn/components/chunks/chunk-E74CM7UG.js +0 -66
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +0 -1
- package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-KVYUNKUO.js +0 -27
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +0 -38
- package/dist/cdn/components/chunks/chunk-PCM7D3YF.js +0 -84
- package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +0 -1
- package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
- package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
- package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
- package/dist/cdn/components/eun-breadcrumb-item.js +0 -93
- package/dist/cdn/components/eun-table-cell.js +0 -1
- package/dist/cdn/components/eun-table-column.js +0 -1
- package/dist/cdn/components/eun-table-header.js +0 -1
- package/dist/cdn/components/eun-table-item.js +0 -1
- package/dist/cdn/components/eun-table-skeleton-row.js +0 -1
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
- package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +0 -77
- package/dist/components/navigation/breadcrumb/breadcrumb-item.js +0 -130
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.d.ts +0 -6
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +0 -78
- package/dist/features/table/native-table.css +0 -276
- package/dist/features/table/shared-styles/table-row.styles.d.ts +0 -7
- package/dist/features/table/shared-styles/table-row.styles.js +0 -47
- package/dist/features/table/shared-styles/table-shared.styles.d.ts +0 -23
- package/dist/features/table/shared-styles/table-shared.styles.js +0 -33
- package/dist/features/table/table-cell/table-cell.d.ts +0 -59
- package/dist/features/table/table-cell/table-cell.js +0 -73
- package/dist/features/table/table-cell/table-cell.styles.d.ts +0 -1
- package/dist/features/table/table-cell/table-cell.styles.js +0 -46
- package/dist/features/table/table-column/table-column.d.ts +0 -73
- package/dist/features/table/table-column/table-column.js +0 -89
- package/dist/features/table/table-column/table-column.styles.d.ts +0 -1
- package/dist/features/table/table-column/table-column.styles.js +0 -51
- package/dist/features/table/table-header/table-header.d.ts +0 -102
- package/dist/features/table/table-header/table-header.js +0 -165
- package/dist/features/table/table-header/table-header.styles.d.ts +0 -1
- package/dist/features/table/table-header/table-header.styles.js +0 -147
- package/dist/features/table/table-item/table-item.d.ts +0 -179
- package/dist/features/table/table-item/table-item.js +0 -291
- package/dist/features/table/table-item/table-item.styles.d.ts +0 -1
- package/dist/features/table/table-item/table-item.styles.js +0 -404
- package/dist/features/table/table-managed/table-managed.d.ts +0 -19
- package/dist/features/table/table-managed/table-managed.js +0 -128
- package/dist/features/table/table-skeleton-row/table-skeleton-row.d.ts +0 -46
- package/dist/features/table/table-skeleton-row/table-skeleton-row.js +0 -110
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.d.ts +0 -12
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +0 -65
- package/dist/mixins/table-row.mixin.d.ts +0 -37
- package/dist/mixins/table-row.mixin.js +0 -103
- package/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ list is just the map.
|
|
|
67
67
|
- **Layout:** `animate`, `infinite-list`, `divider`
|
|
68
68
|
- **Loader:** `loader`, `skeleton`
|
|
69
69
|
- **Navigation:** `tab-group`/`tab`/`tab-panel`, `carousel`,
|
|
70
|
-
`breadcrumb
|
|
70
|
+
`breadcrumb`, `pagination`, `stepper`/`step`,
|
|
71
71
|
`toolbar`, `sidebar`
|
|
72
72
|
- **Scheduler:** `scheduler`, `calendar`, `scheduler-event-card`,
|
|
73
73
|
`scheduler-event-editor`
|
package/dist/breakpoints.d.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* The library's breakpoints, in pixels : the single source of every width
|
|
3
|
+
* the components, the Sass mixins, the grid classes and the
|
|
4
|
+
* `--eun-breakpoint-*` custom properties switch at.
|
|
5
|
+
* `styles/tools/variables/eunomia.breakpoints.scss` is generated from this
|
|
6
|
+
* object by `scripts/breakpoints.mjs`, never edited by hand, and
|
|
7
|
+
* `npm run lint` fails if the two drift apart or if a width is written as
|
|
8
|
+
* a raw number anywhere else.
|
|
7
9
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* Each value is where a level starts : `tablet` is 768, so the tablet
|
|
11
|
+
* level applies from 768px up, and everything below it stops just under
|
|
12
|
+
* 768px. Media conditions use the range syntax (`width < 768px`,
|
|
13
|
+
* `width >= 768px`), so the two sides of a breakpoint never overlap and
|
|
14
|
+
* leave no gap at fractional widths.
|
|
15
|
+
*
|
|
16
|
+
* This file is published as-is as the `./breakpoints.js` subpath, so it
|
|
17
|
+
* must stay free of imports and side effects : importing it on a server
|
|
18
|
+
* never registers a component.
|
|
13
19
|
*/
|
|
14
20
|
export declare const EUNOMIA_BREAKPOINTS: {
|
|
15
21
|
readonly mobile: 600;
|
|
@@ -17,4 +23,25 @@ export declare const EUNOMIA_BREAKPOINTS: {
|
|
|
17
23
|
readonly laptop: 1024;
|
|
18
24
|
readonly desktop: 1280;
|
|
19
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The name of one of the {@link EUNOMIA_BREAKPOINTS}.
|
|
28
|
+
*/
|
|
20
29
|
export type EunomiaBreakpoint = keyof typeof EUNOMIA_BREAKPOINTS;
|
|
30
|
+
/**
|
|
31
|
+
* The media condition matching every width below `breakpoint`, such as
|
|
32
|
+
* `(width < 768px)` for `"tablet"`. Same range as the
|
|
33
|
+
* `eunomia-below-<breakpoint>` Sass mixin.
|
|
34
|
+
*
|
|
35
|
+
* @param breakpoint the breakpoint the range stops under.
|
|
36
|
+
* @returns the media condition, for `matchMedia`, `@media` or `@container`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function mediaBelow(breakpoint: EunomiaBreakpoint): string;
|
|
39
|
+
/**
|
|
40
|
+
* The media condition matching every width from `breakpoint` up, such as
|
|
41
|
+
* `(width >= 768px)` for `"tablet"`. Same range as the
|
|
42
|
+
* `eunomia-from-<breakpoint>` Sass mixin.
|
|
43
|
+
*
|
|
44
|
+
* @param breakpoint the breakpoint the range starts at.
|
|
45
|
+
* @returns the media condition, for `matchMedia`, `@media` or `@container`.
|
|
46
|
+
*/
|
|
47
|
+
export declare function mediaFrom(breakpoint: EunomiaBreakpoint): string;
|
package/dist/breakpoints.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* The library's breakpoints, in pixels : the single source of every width
|
|
3
|
+
* the components, the Sass mixins, the grid classes and the
|
|
4
|
+
* `--eun-breakpoint-*` custom properties switch at.
|
|
5
|
+
* `styles/tools/variables/eunomia.breakpoints.scss` is generated from this
|
|
6
|
+
* object by `scripts/breakpoints.mjs`, never edited by hand, and
|
|
7
|
+
* `npm run lint` fails if the two drift apart or if a width is written as
|
|
8
|
+
* a raw number anywhere else.
|
|
7
9
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* Each value is where a level starts : `tablet` is 768, so the tablet
|
|
11
|
+
* level applies from 768px up, and everything below it stops just under
|
|
12
|
+
* 768px. Media conditions use the range syntax (`width < 768px`,
|
|
13
|
+
* `width >= 768px`), so the two sides of a breakpoint never overlap and
|
|
14
|
+
* leave no gap at fractional widths.
|
|
15
|
+
*
|
|
16
|
+
* This file is published as-is as the `./breakpoints.js` subpath, so it
|
|
17
|
+
* must stay free of imports and side effects : importing it on a server
|
|
18
|
+
* never registers a component.
|
|
13
19
|
*/
|
|
14
20
|
export const EUNOMIA_BREAKPOINTS = {
|
|
15
21
|
mobile: 600,
|
|
@@ -17,3 +23,25 @@ export const EUNOMIA_BREAKPOINTS = {
|
|
|
17
23
|
laptop: 1024,
|
|
18
24
|
desktop: 1280,
|
|
19
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The media condition matching every width below `breakpoint`, such as
|
|
28
|
+
* `(width < 768px)` for `"tablet"`. Same range as the
|
|
29
|
+
* `eunomia-below-<breakpoint>` Sass mixin.
|
|
30
|
+
*
|
|
31
|
+
* @param breakpoint the breakpoint the range stops under.
|
|
32
|
+
* @returns the media condition, for `matchMedia`, `@media` or `@container`.
|
|
33
|
+
*/
|
|
34
|
+
export function mediaBelow(breakpoint) {
|
|
35
|
+
return `(width < ${EUNOMIA_BREAKPOINTS[breakpoint]}px)`;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The media condition matching every width from `breakpoint` up, such as
|
|
39
|
+
* `(width >= 768px)` for `"tablet"`. Same range as the
|
|
40
|
+
* `eunomia-from-<breakpoint>` Sass mixin.
|
|
41
|
+
*
|
|
42
|
+
* @param breakpoint the breakpoint the range starts at.
|
|
43
|
+
* @returns the media condition, for `matchMedia`, `@media` or `@container`.
|
|
44
|
+
*/
|
|
45
|
+
export function mediaFrom(breakpoint) {
|
|
46
|
+
return `(width >= ${EUNOMIA_BREAKPOINTS[breakpoint]}px)`;
|
|
47
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,b as c,c as a}from"./chunk-SGM2X2TC.js";import{
|
|
1
|
+
import{a as l,b as c,c as a}from"./chunk-SGM2X2TC.js";import{q as i}from"./chunk-YITWLCD3.js";var u="important",d=" !"+u,h=c(class extends a{constructor(s){if(super(s),s.type!==l.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((r,t)=>{let e=s[t];return e==null?r:r+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`},"")}update(s,[r]){let{style:t}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(r)),this.render(r);for(let e of this.ft)r[e]==null&&(this.ft.delete(e),e.includes("-")?t.removeProperty(e):t[e]=null);for(let e in r){let n=r[e];if(n!=null){this.ft.add(e);let o=typeof n=="string"&&n.endsWith(d);e.includes("-")||o?t.setProperty(e,o?n.slice(0,-11):n,o?u:""):t[e]=n}}return i}});export{h as a};
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
lit-html/directives/style-map.js:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{a as r,
|
|
1
|
+
import{a as r,h as s,j as t}from"./chunk-YITWLCD3.js";var v=a=>{class e extends a{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.querySelector(":scope > a"))&&(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(o){if(this.disabled||this.loading){o.stopImmediatePropagation();return}if(this.hasAttribute("commandfor")){this.handleCommandClick?.();return}if(this.hasAttribute("popovertarget")){this.handlePopoverClick?.();return}this.handleFormBehavior()}handleKeydown(o){this.disabled||this.loading||!["Enter"," "].includes(o.key)||(o.preventDefault(),this.handleFormBehavior()||this.dispatchEvent(new Event("click")))}handleFormBehavior(){if(this.type!=="submit"&&this.type!=="reset")return!1;let o;if(this.form?o=this.getRootNode()?.getElementById(this.form):o=this.closest("form"),!o||!(o instanceof HTMLFormElement))throw new Error("The element link to the button does not exist or is invalid");return this.type==="reset"&&o.reset(),this.type==="submit"&&o.requestSubmit(),!0}}return r([t({reflect:!0,converter:{toAttribute:o=>o==="button"?null:o}})],e.prototype,"type",2),r([t({reflect:!0})],e.prototype,"color",2),r([t({type:Boolean,reflect:!0,attribute:"fixed-color"})],e.prototype,"fixedColor",2),r([t({reflect:!0})],e.prototype,"size",2),r([t({type:Boolean,reflect:!0})],e.prototype,"rounded",2),r([t({type:Boolean,reflect:!0})],e.prototype,"slide",2),r([t()],e.prototype,"form",2),r([t()],e.prototype,"href",2),r([t()],e.prototype,"target",2),r([t()],e.prototype,"download",2),r([t({type:Boolean,reflect:!0})],e.prototype,"loading",2),e};var c=class a extends Event{static{this.eventName="command"}constructor(e,n){super(a.eventName,{bubbles:!1,composed:!0,cancelable:!0}),this.command=e,this.source=n}};function d(a,e){let n=globalThis.CommandEvent;return typeof n=="function"?new n(c.eventName,{command:a,source:e,cancelable:!0,composed:!0}):new c(a,e)}var g=a=>{class e extends a{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([t({reflect:!0})],e.prototype,"command",2),r([t({attribute:"commandfor"})],e.prototype,"commandFor",2),e};var x=s`
|
|
2
2
|
:host {
|
|
3
3
|
--_solid: var(--eun-color-primary-500, #3d6fff);
|
|
4
4
|
--_solid-hover: var(--eun-color-primary-700, #3662e0);
|
|
5
5
|
--_solid-active: var(--eun-color-primary-800, #2d52bd);
|
|
6
6
|
--_onSolid: var(--eun-color-on-primary-500, #ffffff);
|
|
7
7
|
--_accent: var(--eun-color-primary-500, #3d6fff);
|
|
8
|
-
--_tint: var(--eun-color-primary-
|
|
9
|
-
--_tint-hover: var(--eun-color-primary-
|
|
10
|
-
--_tint-active: var(--eun-color-primary-
|
|
8
|
+
--_tint: var(--eun-color-primary-alpha-20, #3d6fff33);
|
|
9
|
+
--_tint-hover: var(--eun-color-primary-alpha-30, #3d6fff4d);
|
|
10
|
+
--_tint-active: var(--eun-color-primary-alpha-40, #3d6fff66);
|
|
11
11
|
--_fgTint: var(--_accent);
|
|
12
12
|
--_wash-hover: var(--_tint-hover);
|
|
13
13
|
--_wash-active: var(--_tint-active);
|
|
@@ -22,9 +22,9 @@ import{a as r,g as s,h as t}from"./chunk-XH6NREVZ.js";var v=n=>{class e extends
|
|
|
22
22
|
--_solid-active: var(--eun-color-secondary-800, #a97624);
|
|
23
23
|
--_onSolid: var(--eun-color-on-secondary-500, #000000de);
|
|
24
24
|
--_accent: var(--eun-color-secondary-500, #e5a030);
|
|
25
|
-
--_tint: var(--eun-color-secondary-
|
|
26
|
-
--_tint-hover: var(--eun-color-secondary-
|
|
27
|
-
--_tint-active: var(--eun-color-secondary-
|
|
25
|
+
--_tint: var(--eun-color-secondary-alpha-20, #edbd6f33);
|
|
26
|
+
--_tint-hover: var(--eun-color-secondary-alpha-30, #edbd6f4d);
|
|
27
|
+
--_tint-active: var(--eun-color-secondary-alpha-40, #edbd6f66);
|
|
28
28
|
--_ring: var(--eun-color-secondary-700, #ca8d2a);
|
|
29
29
|
}
|
|
30
30
|
:host([color="critical"]) {
|
|
@@ -33,9 +33,9 @@ import{a as r,g as s,h as t}from"./chunk-XH6NREVZ.js";var v=n=>{class e extends
|
|
|
33
33
|
--_solid-active: var(--eun-color-critical-100, #aa0014);
|
|
34
34
|
--_onSolid: #fff;
|
|
35
35
|
--_accent: var(--eun-color-critical-100, #aa0014);
|
|
36
|
-
--_tint: var(--eun-color-critical-
|
|
37
|
-
--_tint-hover: var(--eun-color-critical-
|
|
38
|
-
--_tint-active: var(--eun-color-critical-
|
|
36
|
+
--_tint: var(--eun-color-critical-alpha-5, #aa00140d);
|
|
37
|
+
--_tint-hover: var(--eun-color-critical-alpha-20, #aa001433);
|
|
38
|
+
--_tint-active: var(--eun-color-critical-alpha-30, #aa00144d);
|
|
39
39
|
--_ring: var(--eun-color-critical-100, #aa0014);
|
|
40
40
|
}
|
|
41
41
|
:host([color="success"]) {
|
|
@@ -44,9 +44,9 @@ import{a as r,g as s,h as t}from"./chunk-XH6NREVZ.js";var v=n=>{class e extends
|
|
|
44
44
|
--_solid-active: var(--eun-color-success-100, #1a9948);
|
|
45
45
|
--_onSolid: #fff;
|
|
46
46
|
--_accent: var(--eun-color-success-100, #1a9948);
|
|
47
|
-
--_tint: var(--eun-color-success-
|
|
48
|
-
--_tint-hover: var(--eun-color-success-
|
|
49
|
-
--_tint-active: var(--eun-color-success-
|
|
47
|
+
--_tint: var(--eun-color-success-alpha-5, #1a99480d);
|
|
48
|
+
--_tint-hover: var(--eun-color-success-alpha-20, #1a994833);
|
|
49
|
+
--_tint-active: var(--eun-color-success-alpha-30, #1a99484d);
|
|
50
50
|
--_ring: var(--eun-color-success-100, #1a9948);
|
|
51
51
|
}
|
|
52
52
|
:host([color="warning"]) {
|
|
@@ -55,9 +55,9 @@ import{a as r,g as s,h as t}from"./chunk-XH6NREVZ.js";var v=n=>{class e extends
|
|
|
55
55
|
--_solid-active: var(--eun-color-warning-100, #c85207);
|
|
56
56
|
--_onSolid: #fff;
|
|
57
57
|
--_accent: var(--eun-color-warning-100, #c85207);
|
|
58
|
-
--_tint: var(--eun-color-warning-
|
|
59
|
-
--_tint-hover: var(--eun-color-warning-
|
|
60
|
-
--_tint-active: var(--eun-color-warning-
|
|
58
|
+
--_tint: var(--eun-color-warning-alpha-5, #c852070d);
|
|
59
|
+
--_tint-hover: var(--eun-color-warning-alpha-20, #c8520733);
|
|
60
|
+
--_tint-active: var(--eun-color-warning-alpha-30, #c852074d);
|
|
61
61
|
--_ring: var(--eun-color-warning-100, #c85207);
|
|
62
62
|
}
|
|
63
63
|
:host([color="medium"]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,
|
|
1
|
+
import{a as r,j as a}from"./chunk-YITWLCD3.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i={default:"ease",out:"ease-out"};function o(t){let e=t.trim();if(!e)return;let n=e.endsWith("ms")?Number.parseFloat(e):Number.parseFloat(e)*1e3;return Number.isFinite(n)&&n>=0?n:void 0}function s(t,e,n,u){let r=getComputedStyle(t);return o(r.getPropertyValue(e))??o(r.getPropertyValue(`--eun-duration-${n}`))??u}function a(t,e="default"){return getComputedStyle(t).getPropertyValue(`--eun-easing-${e}`).trim()||i[e]}export{o as a,s as b,a as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b}from"./chunk-
|
|
1
|
+
import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";import{a as m}from"./chunk-O7PHBLH2.js";import{a,b as l,c as d,d as p,f as u,h as n,j as r,p as s,u as c}from"./chunk-YITWLCD3.js";var v=n`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -102,7 +102,9 @@ import{a as b}from"./chunk-MMLIPCOY.js";import{a as m}from"./chunk-A4EQSU36.js";
|
|
|
102
102
|
height: 100%;
|
|
103
103
|
border-radius: inherit;
|
|
104
104
|
background-color: var(--loader-bar-fill-color, currentColor);
|
|
105
|
-
transition: width
|
|
105
|
+
transition: width
|
|
106
|
+
var(--loader-bar-transition-duration, var(--eun-duration-xl, 300ms))
|
|
107
|
+
var(--eun-easing-default, ease);
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
:host([variant="bar"]) #fill.indeterminate {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as n}from"./chunk-VOTRXBDS.js";import{a as r}from"./chunk-YYCEPZUN.js";import{a as i,j as a}from"./chunk-YITWLCD3.js";var p=s=>{class t extends s{constructor(){super(...arguments);this.checked=!1;this.checkable=!0;this.buildCommonValidators=()=>this.required&&!this.checked?{validity:{valueMissing:!0},message:this.validationDictionary.validation.valueMissing}:{validity:{}}}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","checkbox"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this.defaultChecked!==void 0&&!this.hasAttribute("checked")&&(this.checked=this.defaultChecked),this.addEventListener("keydown",this.handleKeydown)}formResetCallback(){this.checked=this.defaultChecked??!1,this.dirty=!1,this.touched=!1}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback?.()}updated(e){super.updated(e),e.has("checked")&&(this.setAttribute("aria-checked",String(this.checked)),this.updateInternals()),n(e)&&this.setAttribute("aria-invalid",String(this.showError)),e.has("required")&&this.setAttribute("aria-required",String(this.required))}handleClick(e){this.handleChange(e)}handleChange(e){if(e.stopPropagation(),!(this.disabled||this.readonly||this.inert)){if(e.preventDefault(),this.checked=!this.checked,this.updateInternals(),this.checkValidity(this.checked),this.description){let d=this.description instanceof Array?this.description.join(","):this.description;this.setAttribute("aria-description",d)}else this.removeAttribute("aria-description");this.dispatchEvent(new r(this.checked))}}handleKeydown(e){e.key===" "&&(e.preventDefault(),this.handleChange(e))}updateInternals(){this.setFormValue(this.valueState)}}return i([a({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([a({type:Boolean,attribute:"default-checked"})],t.prototype,"defaultChecked",2),t};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o={mobile:600,tablet:768,laptop:1024,desktop:1280};function e(t){return`(width < ${o[t]}px)`}function n(t){return`(width >= ${o[t]}px)`}export{o as a,e as b,n as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-PPCHQG7P.js";import{a as e,j as r,p as l,r as s}from"./chunk-YITWLCD3.js";var f=n=>{class t extends n{constructor(){super(...arguments);this.required=!1}get hasLabelSlot(){return this.querySelector('[slot="label"]')!==null}get hasInstructionsSlot(){return this.querySelector('[slot="instructions"]')!==null}renderFormLabels(o){return!this.label&&!this.instructions&&!this.required&&!this.hasLabelSlot&&!this.hasInstructionsSlot?s:l`
|
|
2
2
|
<eun-label
|
|
3
3
|
id="label"
|
|
4
4
|
for=${i(o)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk-
|
|
1
|
+
import{a as L}from"./chunk-G5SBDQQ3.js";import{a as E}from"./chunk-L74LXUGL.js";import{a as V}from"./chunk-UYZR4JXZ.js";import{a as T}from"./chunk-4PI6RDUS.js";import{a as M}from"./chunk-BO3JOEWM.js";import{a as o,c as w,d as x,e as $,f as d}from"./chunk-VOTRXBDS.js";import{a as h}from"./chunk-YYCEPZUN.js";import{a as v}from"./chunk-RS7TWEMQ.js";import{a as l}from"./chunk-PPCHQG7P.js";import{a as p}from"./chunk-O7PHBLH2.js";import{a as t,f as u,h as b,j as i,k as m,l as f,n as y,p as r,r as n,u as g}from"./chunk-YITWLCD3.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-L65WUTXM.js";
|
|
|
8
8
|
appearance: none;
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
|
-
`,S=[V,C];var P="eun-input",A=v($(g)),F=T(M(
|
|
11
|
+
`,S=[V,C];var P="eun-input",A=v($(g)),F=T(M(x(L(w(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"
|
|
@@ -45,7 +45,7 @@ import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-L65WUTXM.js";
|
|
|
45
45
|
max=${l(this.max)}
|
|
46
46
|
step=${l(this.step)}
|
|
47
47
|
inputmode=${this.type==="number"?"numeric":this.type==="email"?"email":n}
|
|
48
|
-
aria-invalid=${
|
|
48
|
+
aria-invalid=${this.showError}
|
|
49
49
|
aria-label=${l(this.label)}
|
|
50
50
|
aria-describedby=${a?"description":n}
|
|
51
51
|
@input=${this.handleInput}
|
|
@@ -107,4 +107,4 @@ import{a as L}from"./chunk-E4IS25H7.js";import{a as V}from"./chunk-L65WUTXM.js";
|
|
|
107
107
|
${a?this.renderReadonlyDisplay():this.renderField(s!==n)}
|
|
108
108
|
${s}
|
|
109
109
|
</div>
|
|
110
|
-
`}};e.styles=[S,d.base,d.errorMessages,d.hintMessages],
|
|
110
|
+
`}};e.styles=[S,d.base,d.errorMessages,d.hintMessages],t([i({reflect:!0})],e.prototype,"type",2),t([i({attribute:"default-value"})],e.prototype,"defaultValue",1),t([i()],e.prototype,"placeholder",2),t([i()],e.prototype,"icon",2),t([i({type:Boolean})],e.prototype,"clearable",2),t([i()],e.prototype,"autocomplete",2),t([i({type:Number})],e.prototype,"minlength",2),t([i({type:Number})],e.prototype,"maxlength",2),t([i()],e.prototype,"pattern",2),t([i()],e.prototype,"min",2),t([i()],e.prototype,"max",2),t([i()],e.prototype,"step",2),t([i({attribute:"empty-value-label"})],e.prototype,"emptyValueLabel",2),t([i({attribute:"confirm-label"})],e.prototype,"confirmLabel",2),t([i({attribute:"cancel-label"})],e.prototype,"cancelLabel",2),t([i({attribute:"aria-label-clear"})],e.prototype,"ariaLabelClear",2),t([i({attribute:"aria-label-show-password"})],e.prototype,"ariaLabelShowPassword",2),t([i({attribute:"aria-label-hide-password"})],e.prototype,"ariaLabelHidePassword",2),t([m()],e.prototype,"showPassword",2),t([f("#field")],e.prototype,"fieldEl",2),t([y({slot:"icon"})],e.prototype,"iconSlotEls",2),e=t([u(P)],e);export{P as a,e as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as s}from"./chunk-624VJYNA.js";var b="eun-dropdown-button, eun-dropdown-item";function d(e){return e.filter(o=>o.getAttribute("aria-disabled")!=="true")}function m(e,o){let t=d(e);if(!t.length)return;let n=Math.max(0,Math.min(o,t.length-1));t[n]?.focus()}function c(e,o,t){let n=d(e);if(!n.length)return;let i=(Math.max(n.indexOf(o),0)+t+n.length)%n.length;n[i]?.focus()}function f(e,o,t,n){let r=Math.max(n,t-o-n);return Math.min(Math.max(e,n),r)}function M(e,o,t){let n=document.documentElement.clientWidth,r=document.documentElement.clientHeight,a=!(e.right+t+o.width<=n)&&e.left-t-o.width>=0,p=a?e.left-o.width-t:e.right+t,u=e.top;return u+o.height>r&&(u=Math.max(t,r-o.height-t)),{top:u,left:p,offsetX:a?t:-t}}function E(e,o,t){let n=e.currentTarget,r=n.getAttribute("aria-disabled")==="true",i=n.getAttribute("aria-haspopup")==="menu";switch(e.key){case"Tab":{e.stopPropagation(),t.onTabAway();break}case"ArrowDown":{e.preventDefault(),e.stopPropagation(),c(o,n,1);break}case"ArrowUp":{e.preventDefault(),e.stopPropagation(),c(o,n,-1);break}case"Home":{e.preventDefault(),e.stopPropagation(),m(o,0);break}case"End":{e.preventDefault(),e.stopPropagation(),m(o,o.length-1);break}case"ArrowRight":{t.onOpenSubmenu&&i&&!r&&(e.preventDefault(),e.stopPropagation(),t.onOpenSubmenu(n));break}case"ArrowLeft":case"Escape":{t.onClose&&(e.preventDefault(),e.stopPropagation(),t.onClose());break}case"Enter":case" ":{if(r)break;e.preventDefault(),e.stopPropagation(),t.onOpenSubmenu&&i?t.onOpenSubmenu(n):t.onSelect(n);break}default:break}}function w(e){return window.matchMedia("(prefers-reduced-motion: reduce)").matches?0:s(e,"--dropdown-menu-transition-duration","s",160)}export{b as a,m as b,f as c,M as d,E as e,w as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{h as o}from"./chunk-YITWLCD3.js";var e=o`
|
|
2
2
|
:host {
|
|
3
3
|
/* How each appearance reads the palette slots. */
|
|
4
4
|
--_bg-default: var(--_tint);
|
|
@@ -27,13 +27,13 @@ import{g as o}from"./chunk-XH6NREVZ.js";var e=o`
|
|
|
27
27
|
:host([color="primary"]:not([severity])) {
|
|
28
28
|
--_solid: var(--eun-color-primary-500, #3d6fff);
|
|
29
29
|
--_onSolid: var(--eun-color-on-primary-500, #ffffff);
|
|
30
|
-
--_tint: var(--eun-color-primary-
|
|
30
|
+
--_tint: var(--eun-color-primary-alpha-20, #3d6fff33);
|
|
31
31
|
--_accent: var(--eun-color-primary-500, #3d6fff);
|
|
32
32
|
}
|
|
33
33
|
:host([color="secondary"]:not([severity])) {
|
|
34
34
|
--_solid: var(--eun-color-secondary-500, #e5a030);
|
|
35
35
|
--_onSolid: var(--eun-color-on-secondary-500, #000000de);
|
|
36
|
-
--_tint: var(--eun-color-secondary-
|
|
36
|
+
--_tint: var(--eun-color-secondary-alpha-20, #edbd6f33);
|
|
37
37
|
--_accent: var(--eun-color-secondary-500, #e5a030);
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -64,28 +64,28 @@ import{g as o}from"./chunk-XH6NREVZ.js";var e=o`
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
:host([severity="info"]) {
|
|
67
|
-
--_solid: var(--eun-color-info-
|
|
67
|
+
--_solid: var(--eun-color-info-text, #097aa8);
|
|
68
68
|
--_onSolid: #fff;
|
|
69
|
-
--_tint: var(--eun-color-info-
|
|
70
|
-
--_accent: var(--eun-color-info-
|
|
69
|
+
--_tint: var(--eun-color-info-alpha-5, #097faf0d);
|
|
70
|
+
--_accent: var(--eun-color-info-text, #097aa8);
|
|
71
71
|
}
|
|
72
72
|
:host([severity="success"]) {
|
|
73
|
-
--_solid: var(--eun-color-success-
|
|
73
|
+
--_solid: var(--eun-color-success-text, #167f3c);
|
|
74
74
|
--_onSolid: #fff;
|
|
75
|
-
--_tint: var(--eun-color-success-
|
|
76
|
-
--_accent: var(--eun-color-success-
|
|
75
|
+
--_tint: var(--eun-color-success-alpha-5, #1a99480d);
|
|
76
|
+
--_accent: var(--eun-color-success-text, #167f3c);
|
|
77
77
|
}
|
|
78
78
|
:host([severity="warning"]) {
|
|
79
|
-
--_solid: var(--eun-color-warning-
|
|
79
|
+
--_solid: var(--eun-color-warning-text, #b94c06);
|
|
80
80
|
--_onSolid: #fff;
|
|
81
|
-
--_tint: var(--eun-color-warning-
|
|
82
|
-
--_accent: var(--eun-color-warning-
|
|
81
|
+
--_tint: var(--eun-color-warning-alpha-5, #c852070d);
|
|
82
|
+
--_accent: var(--eun-color-warning-text, #b94c06);
|
|
83
83
|
}
|
|
84
84
|
:host([severity="critical"]) {
|
|
85
|
-
--_solid: var(--eun-color-critical-
|
|
85
|
+
--_solid: var(--eun-color-critical-text, #aa0014);
|
|
86
86
|
--_onSolid: #fff;
|
|
87
|
-
--_tint: var(--eun-color-critical-
|
|
88
|
-
--_accent: var(--eun-color-critical-
|
|
87
|
+
--_tint: var(--eun-color-critical-alpha-5, #aa00140d);
|
|
88
|
+
--_accent: var(--eun-color-critical-text, #aa0014);
|
|
89
89
|
}
|
|
90
90
|
:host([severity="neutral"]) {
|
|
91
91
|
--_solid: var(--eun-color-grey-700, #484e61);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{h as o}from"./chunk-YITWLCD3.js";var r=o`
|
|
2
2
|
:host {
|
|
3
3
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
4
4
|
font-size: var(--eun-font-size-s, 14px);
|
|
@@ -52,9 +52,9 @@ import{g as o}from"./chunk-XH6NREVZ.js";var r=o`
|
|
|
52
52
|
outline: 2px solid transparent;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
transition:
|
|
55
|
-
outline
|
|
56
|
-
border-color
|
|
57
|
-
background
|
|
55
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
|
|
56
|
+
border-color var(--eun-duration-s, 150ms) var(--eun-easing-default, ease),
|
|
57
|
+
background var(--eun-duration-s, 150ms) var(--eun-easing-default, ease);
|
|
58
58
|
user-select: none;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -65,7 +65,8 @@ import{g as o}from"./chunk-XH6NREVZ.js";var r=o`
|
|
|
65
65
|
display: block;
|
|
66
66
|
color: var(--_iconColor);
|
|
67
67
|
margin-block-end: var(--eun-space-s, 8px);
|
|
68
|
-
transition: color
|
|
68
|
+
transition: color var(--eun-duration-s, 150ms)
|
|
69
|
+
var(--eun-easing-default, ease);
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
slot {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,
|
|
1
|
+
import{a as r,j as a}from"./chunk-YITWLCD3.js";var e=class t extends Event{static{this.eventName="euncommit"}constructor(){super(t.eventName,{bubbles:!0,composed:!1})}};var c=t=>{class i extends t{constructor(){super(...arguments);this.readonlyAvailable=!1;this.editing=!1}startEdit(){this.disabled||!this.readonlyAvailable||this.editing||(this.valueOnEditStart=this.value,this.editing=!0)}confirmEdit(){this.checkValidity(this.value)&&(this.editing=!1,this.dispatchEvent(new e))}cancelEdit(){this.value=this.valueOnEditStart,this.editing=!1}}return r([a({type:Boolean,attribute:"readonly-available",reflect:!0})],i.prototype,"readonlyAvailable",2),r([a({type:Boolean,reflect:!0})],i.prototype,"editing",2),i};export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p as o,t as f}from"./chunk-YITWLCD3.js";var $=[{name:"red",label:"Red",text:"#d8291c",highlight:"#fbe0de"},{name:"orange",label:"Orange",text:"#f2790f",highlight:"#fdead4"},{name:"yellow",label:"Yellow",text:"#b18f22",highlight:"#faf3d6"},{name:"green",label:"Green",text:"#1b7a4d",highlight:"#ddf0e6"},{name:"blue",label:"Blue",text:"#148cd2",highlight:"#dcefff"},{name:"purple",label:"Purple",text:"#6d28d9",highlight:"#ece3fc"},{name:"gray",label:"Gray",text:"#484e61",highlight:"#eceef2"}];function d(e){return $.find(t=>t.name===e)}var T=/^\[align:(start|center|end|justify)\]\n?/;function p(e){let t=T.exec(e);return t?{align:t[1],body:e.slice(t[0].length)}:{align:"start",body:e}}function N(e,t){return e==="start"?t:`[align:${e}]
|
|
2
2
|
${t}`}function c(e){let t=[],i="",n=0,l=()=>{i&&(t.push({type:"text",value:i}),i="")};for(;n<e.length;){let a=e.slice(n),h=/^\[([^\]]+)\]\(([^)]+)\)/.exec(a);if(h){l(),t.push({type:"link",href:h[2],children:c(h[1])}),n+=h[0].length;continue}let g=/^\{color=([a-z]+)\}/.exec(a);if(g){let r=e.indexOf("{/color}",n+g[0].length);if(r!==-1){l(),t.push({type:"color",color:g[1],children:c(e.slice(n+g[0].length,r))}),n=r+8;continue}}let u=/^\{highlight=([a-z]+)\}/.exec(a);if(u){let r=e.indexOf("{/highlight}",n+u[0].length);if(r!==-1){l(),t.push({type:"highlight",color:u[1],children:c(e.slice(n+u[0].length,r))}),n=r+12;continue}}if(e.startsWith("***",n)){let r=e.indexOf("***",n+3);if(r!==-1){l(),t.push({type:"bold",children:[{type:"italic",children:c(e.slice(n+3,r))}]}),n=r+3;continue}}if(e.startsWith("**",n)){let r=e.indexOf("**",n+2);if(r!==-1){l(),t.push({type:"bold",children:c(e.slice(n+2,r))}),n=r+2;continue}}if(e.startsWith("__",n)){let r=e.indexOf("__",n+2);if(r!==-1){l(),t.push({type:"underline",children:c(e.slice(n+2,r))}),n=r+2;continue}}if(e[n]==="*"){let r=e.indexOf("*",n+1);if(r!==-1){l(),t.push({type:"italic",children:c(e.slice(n+1,r))}),n=r+1;continue}}i+=e[n],n+=1}return l(),t}function m(e){return e.reduce((t,i)=>i.type==="text"?t+i.value.length:t+m(i.children),0)}function _(e){let{body:t}=p(e),i=t.length?t.split(`
|
|
3
3
|
`):[""];return i.reduce((n,l)=>n+m(c(l)),0)+i.length-1}function s(e){return o`${e.map(b)}`}function b(e){switch(e.type){case"text":return e.value;case"bold":return o`<strong>${s(e.children)}</strong>`;case"italic":return o`<em>${s(e.children)}</em>`;case"underline":return o`<u>${s(e.children)}</u>`;case"color":{let t=d(e.color);return o`<span
|
|
4
4
|
data-color=${e.color}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as O}from"./chunk-VJCNHMQZ.js";import{a as I}from"./chunk-SD2H5UDZ.js";import{a as L}from"./chunk-O7PHBLH2.js";import{a as _,b as D,c as H}from"./chunk-SGM2X2TC.js";import{h as A,p,r as w}from"./chunk-YITWLCD3.js";function ne(e,t){if(t===12||t===24)return t;let r=new Intl.DateTimeFormat(e,{hour:"numeric"}).resolvedOptions().hourCycle;return r==="h11"||r==="h12"?12:24}function T(e){let t=B(e);return{hour:e%12===0?12:e%12,period:t}}function M(e,t){let r=e%12;return t==="PM"?r+12:r}function B(e){return e<12?"AM":"PM"}function F(e,t){return((e+t)%24+24)%24}function N(e,t){return((e+t)%60+60)%60}function E(e){return e==="AM"?"PM":"AM"}function oe(e){return e===12?["hour","minute","period"]:["hour","minute"]}var V=["period","hour","minute"];function ie(e){let r=new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",hourCycle:"h12"}).formatToParts(new Date(2e3,0,1,14,30)).map(n=>n.type).map(n=>n==="hour"?"hour":n==="minute"?"minute":n==="dayPeriod"?"period":null).filter(n=>n!==null);return r.length===3?r:V}function ae(e,t,r){if(e===null||t===null)return{hour:"",minute:"",period:""};if(r===12){let{hour:n,period:o}=T(e);return{hour:String(n).padStart(2,"0"),minute:String(t).padStart(2,"0"),period:o}}return{hour:String(e).padStart(2,"0"),minute:String(t).padStart(2,"0"),period:""}}function ue(e,t){if(e.hour===""||e.minute==="")return null;let r=Number(e.minute);if(!Number.isInteger(r)||r<0||r>59)return null;let n=Number(e.hour);return Number.isInteger(n)?t===12?n<1||n>12||e.period!=="AM"&&e.period!=="PM"?null:{hour:M(n,e.period),minute:r}:n<0||n>23?null:{hour:n,minute:r}:null}function le(e,t){let r=e.hour.length===2&&e.minute.length===2;return t===12?r&&e.period!=="":r}function $(e){return String(e).padStart(2,"0")}function P(e){return String(e).padStart(2,"0")}function se(e){if(!e)return null;let t=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!t)return null;let r=Number(t[1]),n=Number(t[2]);return r<0||r>23||n<0||n>59?null:{hour:r,minute:n}}function v(e){return e.hour*60+e.minute}function ce(e,t,r){if(!t&&!r)return{valid:!0};let n=v(e);if(t&&r){let o=v(t),i=v(r);return o<=i?n<o?{valid:!1,violation:"min"}:n>i?{valid:!1,violation:"max"}:{valid:!0}:n>=o||n<=i?{valid:!0}:{valid:!1,violation:"max"}}return t&&n<v(t)?{valid:!1,violation:"min"}:r&&n>v(r)?{valid:!1,violation:"max"}:{valid:!0}}var j=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],G=new Map;function Q(e){let t=G.get(e);return t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",weekday:"short"}),G.set(e,t)),t}function x(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function W(e,t){let r=t??x(),n=Q(r).formatToParts(e),o=d=>n.find(l=>l.type===d)?.value??"",i=Number(o("hour"))%24,s=o("weekday"),c=j.indexOf(s);return{year:Number(o("year")),month:Number(o("month")),day:Number(o("day")),hour:i,minute:Number(o("minute")),second:Number(o("second")),weekday:c===-1?0:c}}function K(e,t){let r=W(e,t),n=Date.UTC(r.year,r.month-1,r.day,r.hour,r.minute,r.second);return Math.round((n-e.getTime())/6e4)}function X(e,t){let r=e.second??0,n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,r),o=K(new Date(n),t),i=n-o*6e4,s=K(new Date(i),t);return s===o?new Date(i):new Date(n-s*6e4)}function me(e,t,r,n){let o=t??x(),{year:i,month:s,day:c}=W(e,o);return X({year:i,month:s,day:c,hour:r,minute:n},o)}function he(e,t){return(e??x())===(t??x())}function fe(e,t,r={}){return new Intl.DateTimeFormat(r.locale,{timeZone:t,timeZoneName:r.style??"shortOffset",hour:"numeric"}).formatToParts(e).find(o=>o.type==="timeZoneName")?.value??""}var g=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),g(n,t);return!0},y=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},R=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),J(t)}};function Y(e){this._$AN!==void 0?(y(this),this._$AM=e,R(this)):this._$AM=e}function q(e,t=!1,r=0){let n=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)g(n[i],!1),y(n[i]);else n!=null&&(g(n,!1),y(n));else g(this,e)}var J=e=>{e.type==_.CHILD&&(e._$AP??=q,e._$AQ??=Y)},k=class extends H{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),R(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(g(this,t),y(this))}setValue(t){if(O(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var C=new WeakMap,U=D(class extends k{render(e){return w}update(e,[t]){let r=t!==this.G;return r&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),w}rt(e){if(this.G!==void 0)if(this.isConnected||(e=void 0),typeof this.G=="function"){let t=this.ht??globalThis,r=C.get(t);r===void 0&&(r=new WeakMap,C.set(t,r)),r.get(this.G)!==void 0&&this.G.call(this.ht,void 0),r.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){return typeof this.G=="function"?C.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var z=40;function Fe(e){let{visual:t,format:r,hour:n,minute:o,period:i,stepMinute:s,disabled:c=!1,noAnimation:d=!1}=e,l=r===12?T(n):{hour:n,period:i},f=r===12?1:0,a=r===12?12:23,m=[];for(let u=f;u<=a;u+=1)m.push({value:u,text:$(u),selected:u===l.hour});let h=[];for(let u=0;u<60;u+=Math.max(1,s))h.push({value:u,text:P(u),selected:u===o});let b=u=>{e.onHourChange(F(n,u))},Z=u=>{e.onMinuteChange(N(o,u*Math.max(1,s)))};return p`
|
|
2
2
|
<div
|
|
3
3
|
class="tp-columns"
|
|
4
4
|
role="group"
|
|
5
5
|
aria-label=${e.ariaLabelGroup??"Time"}
|
|
6
6
|
>
|
|
7
|
-
${S({kind:"hour",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelHour??"Hour",ariaLabelIncrement:e.ariaLabelIncrement??"Increase hour",ariaLabelDecrement:e.ariaLabelDecrement??"Decrease hour",min:
|
|
7
|
+
${S({kind:"hour",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelHour??"Hour",ariaLabelIncrement:e.ariaLabelIncrement??"Increase hour",ariaLabelDecrement:e.ariaLabelDecrement??"Decrease hour",min:f,max:a,current:l.hour,valueText:$(l.hour),items:m,onStep:b,onPick:u=>e.onHourChange(r===12?M(u,l.period):u)})}
|
|
8
8
|
${S({kind:"minute",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelMinute??"Minute",ariaLabelIncrement:e.ariaLabelIncrement??"Increase minute",ariaLabelDecrement:e.ariaLabelDecrement??"Decrease minute",min:0,max:59,current:o,valueText:P(o),items:h,onStep:Z,onPick:u=>e.onMinuteChange(u)})}
|
|
9
9
|
${r===12?S({kind:"period",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelPeriod??"AM/PM",ariaLabelIncrement:e.ariaLabelIncrement??"Toggle AM/PM",ariaLabelDecrement:e.ariaLabelDecrement??"Toggle AM/PM",min:0,max:1,current:i==="AM"?0:1,valueText:i,items:[{value:0,text:"AM",selected:i==="AM"},{value:1,text:"PM",selected:i==="PM"}],onStep:()=>e.onPeriodChange(E(i)),onPick:u=>e.onPeriodChange(u===0?"AM":"PM")}):null}
|
|
10
10
|
</div>
|
|
11
|
-
`}function S(e){let{kind:t,visual:r,disabled:n,label:o,min:i,max:s,current:c,valueText:d,onStep:l}=e,
|
|
11
|
+
`}function S(e){let{kind:t,visual:r,disabled:n,label:o,min:i,max:s,current:c,valueText:d,onStep:l}=e,f=a=>{switch(a.key){case"ArrowUp":a.preventDefault(),l(1);break;case"ArrowDown":a.preventDefault(),l(-1);break;case"PageUp":a.preventDefault(),l(5);break;case"PageDown":a.preventDefault(),l(-5);break;case"Home":a.preventDefault(),e.onPick(i);break;case"End":a.preventDefault(),e.onPick(s);break;default:break}};return p`
|
|
12
12
|
<div class="tp-column" data-kind=${t}>
|
|
13
13
|
<button
|
|
14
14
|
type="button"
|
|
@@ -22,7 +22,7 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
22
22
|
<path d="M8 4l5 6H3z" fill="currentColor" />
|
|
23
23
|
</svg>
|
|
24
24
|
</button>
|
|
25
|
-
${r==="wheel"?ee(e):
|
|
25
|
+
${r==="wheel"?ee(e):p`
|
|
26
26
|
<div
|
|
27
27
|
class="tp-value"
|
|
28
28
|
role="spinbutton"
|
|
@@ -33,7 +33,7 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
33
33
|
aria-valuenow=${c}
|
|
34
34
|
aria-valuetext=${d}
|
|
35
35
|
aria-disabled=${n?"true":"false"}
|
|
36
|
-
@keydown=${
|
|
36
|
+
@keydown=${f}
|
|
37
37
|
>
|
|
38
38
|
${d}
|
|
39
39
|
</div>
|
|
@@ -51,7 +51,7 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
51
51
|
</svg>
|
|
52
52
|
</button>
|
|
53
53
|
</div>
|
|
54
|
-
`}function ee(e){let{min:t,max:r,current:n,valueText:o,label:i,disabled:s,noAnimation:c}=e,d=a=>{switch(a.key){case"ArrowUp":a.preventDefault(),e.onStep(1);break;case"ArrowDown":a.preventDefault(),e.onStep(-1);break;case"PageUp":a.preventDefault(),e.onStep(5);break;case"PageDown":a.preventDefault(),e.onStep(-5);break;case"Home":a.preventDefault(),e.onPick(t);break;case"End":a.preventDefault(),e.onPick(r);break;default:break}},l,
|
|
54
|
+
`}function ee(e){let{min:t,max:r,current:n,valueText:o,label:i,disabled:s,noAnimation:c}=e,d=a=>{switch(a.key){case"ArrowUp":a.preventDefault(),e.onStep(1);break;case"ArrowDown":a.preventDefault(),e.onStep(-1);break;case"PageUp":a.preventDefault(),e.onStep(5);break;case"PageDown":a.preventDefault(),e.onStep(-5);break;case"Home":a.preventDefault(),e.onPick(t);break;case"End":a.preventDefault(),e.onPick(r);break;default:break}},l,f=I(a=>{let m=a.currentTarget,h=Math.round(m.scrollTop/z);if(h===l)return;let b=e.items[Math.min(Math.max(h,0),e.items.length-1)];b&&b.value!==n&&e.onPick(b.value)},120);return p`
|
|
55
55
|
<div
|
|
56
56
|
class="tp-wheel"
|
|
57
57
|
role="spinbutton"
|
|
@@ -63,11 +63,11 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
63
63
|
aria-valuetext=${o}
|
|
64
64
|
aria-disabled=${s?"true":"false"}
|
|
65
65
|
@keydown=${d}
|
|
66
|
-
@scroll=${
|
|
66
|
+
@scroll=${f}
|
|
67
67
|
${U(a=>{let m=e.items.findIndex(h=>h.selected);l=m===-1?void 0:m,te(a,m,c)})}
|
|
68
68
|
>
|
|
69
69
|
<div class="tp-wheel-pad" aria-hidden="true"></div>
|
|
70
|
-
${e.items.map(a=>
|
|
70
|
+
${e.items.map(a=>p`
|
|
71
71
|
<button
|
|
72
72
|
type="button"
|
|
73
73
|
class=${L({"tp-wheel-item":!0,selected:a.selected})}
|
|
@@ -104,7 +104,8 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
104
104
|
padding: var(--eun-space-xxs, 1.6px);
|
|
105
105
|
color: var(--_iconColor, var(--eun-text-secondary, #484e61));
|
|
106
106
|
cursor: pointer;
|
|
107
|
-
transition: background-color
|
|
107
|
+
transition: background-color var(--eun-duration-s, 150ms)
|
|
108
|
+
var(--eun-easing-default, ease);
|
|
108
109
|
}
|
|
109
110
|
.tp-arrow:hover:not(:disabled) {
|
|
110
111
|
background-color: var(
|
|
@@ -177,7 +178,8 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
177
178
|
color: var(--_placeholderColor, var(--eun-color-grey-400, #c1c9d6));
|
|
178
179
|
font: inherit;
|
|
179
180
|
cursor: pointer;
|
|
180
|
-
transition: color
|
|
181
|
+
transition: color var(--eun-duration-s, 150ms)
|
|
182
|
+
var(--eun-easing-default, ease);
|
|
181
183
|
}
|
|
182
184
|
.tp-wheel-item.selected {
|
|
183
185
|
color: var(--_textColor, var(--eun-text-color, #071621));
|
|
@@ -188,7 +190,7 @@ import{a as I}from"./chunk-SD2H5UDZ.js";import{a as O}from"./chunk-T4PTHUYF.js";
|
|
|
188
190
|
scroll-behavior: auto;
|
|
189
191
|
}
|
|
190
192
|
}
|
|
191
|
-
`,Ge=re;export{ne as a,T as b,M as c,E as d,oe as e,ie as f,ae as g,ue as h,le as i,se as j,ce as k,
|
|
193
|
+
`,Ge=re;export{ne as a,T as b,M as c,E as d,oe as e,ie as f,ae as g,ue as h,le as i,se as j,ce as k,x as l,W as m,X as n,me as o,he as p,fe as q,Fe as r,Ge as s};
|
|
192
194
|
/*! Bundled license information:
|
|
193
195
|
|
|
194
196
|
lit-html/async-directive.js:
|