@eunomia/elements 1.0.0-beta.6 → 1.0.0-beta.7

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.
Files changed (245) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/components/chunks/{chunk-JYIIWN2P.js → chunk-36KLGY6U.js} +8 -8
  3. package/dist/cdn/components/chunks/chunk-3BMACIDO.js +1 -0
  4. package/dist/cdn/components/chunks/{chunk-KDN4O5W2.js → chunk-3PNGQEG4.js} +3 -3
  5. package/dist/cdn/components/chunks/{chunk-ZKZV2YG5.js → chunk-5XPOGBPL.js} +1 -1
  6. package/dist/cdn/components/chunks/{chunk-LMVW522V.js → chunk-62RLISRD.js} +1 -1
  7. package/dist/cdn/components/chunks/{chunk-PMPSJG5V.js → chunk-6FYW5TQU.js} +3 -3
  8. package/dist/cdn/components/chunks/chunk-AK2DIJX7.js +1 -0
  9. package/dist/cdn/components/chunks/chunk-B5XMGWM7.js +10 -0
  10. package/dist/cdn/components/chunks/chunk-BVASCT2V.js +109 -0
  11. package/dist/cdn/components/chunks/{chunk-VYFR364B.js → chunk-DGI7TKCU.js} +14 -9
  12. package/dist/cdn/components/chunks/chunk-GVS6IUKC.js +1 -0
  13. package/dist/cdn/components/chunks/chunk-GWLD2I3P.js +8 -0
  14. package/dist/cdn/components/chunks/{chunk-UDVB4LAE.js → chunk-I4ERDXSM.js} +5 -3
  15. package/dist/cdn/components/chunks/{chunk-QZ5SHR3I.js → chunk-J3SZBXM6.js} +2 -2
  16. package/dist/cdn/components/chunks/{chunk-MOMYII3P.js → chunk-LVKMAHMU.js} +10 -0
  17. package/dist/cdn/components/chunks/{chunk-XDPRWUKN.js → chunk-MQQJ6DID.js} +1 -1
  18. package/dist/cdn/components/chunks/{chunk-SZYEBMG6.js → chunk-PXF554MD.js} +1 -1
  19. package/dist/cdn/components/chunks/chunk-QL5GSW2A.js +1 -0
  20. package/dist/cdn/components/chunks/{chunk-7KKWYPHY.js → chunk-QXQ25SQS.js} +21 -19
  21. package/dist/cdn/components/chunks/{chunk-L2ADCEN7.js → chunk-SVGWCKWT.js} +1 -1
  22. package/dist/cdn/components/chunks/{chunk-MQQ4BGVJ.js → chunk-TFTRCIIK.js} +7 -6
  23. package/dist/cdn/components/chunks/chunk-TLBXTBMM.js +46 -0
  24. package/dist/cdn/components/chunks/chunk-UVHVQRPT.js +1 -0
  25. package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +1 -0
  26. package/dist/cdn/components/chunks/{chunk-2Y2EU2CI.js → chunk-Z3OFIE7S.js} +1 -1
  27. package/dist/cdn/components/eun-alert.js +13 -6
  28. package/dist/cdn/components/eun-animate.js +3 -3
  29. package/dist/cdn/components/eun-badge.js +1 -1
  30. package/dist/cdn/components/eun-button.js +1 -1
  31. package/dist/cdn/components/eun-calendar.js +2 -2
  32. package/dist/cdn/components/eun-card.js +4 -4
  33. package/dist/cdn/components/eun-carousel.js +21 -18
  34. package/dist/cdn/components/eun-check-card.js +1 -1
  35. package/dist/cdn/components/eun-checkbox-list.js +11 -8
  36. package/dist/cdn/components/eun-checkbox.js +1 -1
  37. package/dist/cdn/components/eun-chip.js +3 -3
  38. package/dist/cdn/components/eun-color-picker.js +60 -68
  39. package/dist/cdn/components/eun-counter.js +10 -10
  40. package/dist/cdn/components/eun-date-picker.js +47 -46
  41. package/dist/cdn/components/eun-description-list.js +2 -2
  42. package/dist/cdn/components/eun-divider.js +3 -3
  43. package/dist/cdn/components/eun-drawer.js +5 -5
  44. package/dist/cdn/components/eun-dropdown-button.js +1 -1
  45. package/dist/cdn/components/eun-fab.js +2 -2
  46. package/dist/cdn/components/eun-icon.js +1 -1
  47. package/dist/cdn/components/eun-image-card.js +1 -1
  48. package/dist/cdn/components/eun-image-carousel.js +10 -10
  49. package/dist/cdn/components/eun-infinite-list.js +1 -1
  50. package/dist/cdn/components/eun-input-file.js +21 -21
  51. package/dist/cdn/components/eun-input-phone.js +10 -9
  52. package/dist/cdn/components/eun-input.js +1 -1
  53. package/dist/cdn/components/eun-link.js +2 -2
  54. package/dist/cdn/components/eun-loader.js +1 -1
  55. package/dist/cdn/components/eun-modal.js +13 -13
  56. package/dist/cdn/components/eun-pagination.js +16 -16
  57. package/dist/cdn/components/eun-password-strength.js +14 -10
  58. package/dist/cdn/components/eun-radio-card.js +1 -1
  59. package/dist/cdn/components/eun-radio-list.js +11 -8
  60. package/dist/cdn/components/eun-radio.js +1 -1
  61. package/dist/cdn/components/eun-rating.js +276 -0
  62. package/dist/cdn/components/eun-scheduler-event-editor.js +10 -10
  63. package/dist/cdn/components/eun-scheduler-event.js +1 -1
  64. package/dist/cdn/components/eun-scheduler.js +28 -28
  65. package/dist/cdn/components/eun-search.js +19 -21
  66. package/dist/cdn/components/eun-select.js +27 -27
  67. package/dist/cdn/components/eun-sidebar.js +10 -8
  68. package/dist/cdn/components/eun-skeleton.js +1 -1
  69. package/dist/cdn/components/eun-slider.js +3 -3
  70. package/dist/cdn/components/eun-sliding-card.js +1 -1
  71. package/dist/cdn/components/eun-step.js +5 -4
  72. package/dist/cdn/components/eun-stepper.js +25 -25
  73. package/dist/cdn/components/eun-switch.js +1 -1
  74. package/dist/cdn/components/eun-tab-group.js +4 -4
  75. package/dist/cdn/components/eun-tab.js +1 -1
  76. package/dist/cdn/components/eun-table-action-bar.js +1 -1
  77. package/dist/cdn/components/eun-table.js +1 -1
  78. package/dist/cdn/components/eun-tag.js +3 -3
  79. package/dist/cdn/components/eun-textarea.js +39 -34
  80. package/dist/cdn/components/eun-time-picker.js +15 -14
  81. package/dist/cdn/components/eun-toast.js +19 -10
  82. package/dist/cdn/components/eun-toggle-group.js +6 -4
  83. package/dist/cdn/components/eun-toggle-item.js +1 -1
  84. package/dist/cdn/components/eun-toggle.js +2 -2
  85. package/dist/cdn/components/eun-toolbar.js +5 -5
  86. package/dist/cdn/components/eun-tooltip.js +3 -3
  87. package/dist/components/action/button/button.d.ts +2 -1
  88. package/dist/components/action/button/button.js +3 -2
  89. package/dist/components/action/button/button.styles.js +10 -5
  90. package/dist/components/action/dropdown-button/dropdown-button.js +10 -5
  91. package/dist/components/action/toggle/toggle-group.js +1 -1
  92. package/dist/components/action/toggle/toggle-group.styles.js +4 -2
  93. package/dist/components/action/toggle/toggle.js +1 -1
  94. package/dist/components/alert/alert/alert.d.ts +9 -7
  95. package/dist/components/alert/alert/alert.js +11 -14
  96. package/dist/components/alert/alert/alert.styles.js +9 -2
  97. package/dist/components/alert/drawer/drawer.d.ts +5 -5
  98. package/dist/components/alert/drawer/drawer.js +8 -12
  99. package/dist/components/alert/drawer/drawer.styles.js +1 -1
  100. package/dist/components/alert/modal/modal.d.ts +10 -10
  101. package/dist/components/alert/modal/modal.js +13 -25
  102. package/dist/components/alert/toast/toast.d.ts +7 -5
  103. package/dist/components/alert/toast/toast.js +9 -13
  104. package/dist/components/alert/toast/toast.styles.js +15 -6
  105. package/dist/components/content/badge/badge.js +2 -2
  106. package/dist/components/content/card/card.js +1 -1
  107. package/dist/components/content/card/card.styles.js +2 -2
  108. package/dist/components/content/chip/chip.d.ts +4 -4
  109. package/dist/components/content/chip/chip.js +8 -8
  110. package/dist/components/content/description-list/description-list.js +3 -3
  111. package/dist/components/content/icon/icon.d.ts +3 -0
  112. package/dist/components/content/icon/icon.js +3 -0
  113. package/dist/components/content/icon/icon.style.d.ts +2 -0
  114. package/dist/components/content/icon/icon.style.js +4 -0
  115. package/dist/components/content/image-carousel/image-carousel.d.ts +12 -12
  116. package/dist/components/content/image-carousel/image-carousel.js +24 -24
  117. package/dist/components/content/password-strength/password-strength.d.ts +21 -6
  118. package/dist/components/content/password-strength/password-strength.js +37 -16
  119. package/dist/components/content/password-strength/password-strength.styles.js +4 -0
  120. package/dist/components/content/tag/tag.js +2 -2
  121. package/dist/components/content/tooltip/tooltip.js +3 -3
  122. package/dist/components/form/checkbox/check-card.d.ts +1 -0
  123. package/dist/components/form/checkbox/check-card.js +1 -0
  124. package/dist/components/form/checkbox/checkbox-list.d.ts +17 -0
  125. package/dist/components/form/checkbox/checkbox-list.js +39 -10
  126. package/dist/components/form/checkbox/checkbox.d.ts +1 -0
  127. package/dist/components/form/checkbox/checkbox.js +3 -1
  128. package/dist/components/form/checkbox/checkbox.styles.js +3 -2
  129. package/dist/components/form/color-picker/color-picker.d.ts +41 -28
  130. package/dist/components/form/color-picker/color-picker.js +66 -50
  131. package/dist/components/form/color-picker/color-picker.styles.js +1 -1
  132. package/dist/components/form/counter/counter.d.ts +22 -18
  133. package/dist/components/form/counter/counter.js +59 -61
  134. package/dist/components/form/date-picker/date-picker.d.ts +27 -6
  135. package/dist/components/form/date-picker/date-picker.js +75 -54
  136. package/dist/components/form/input/input.d.ts +38 -39
  137. package/dist/components/form/input/input.js +85 -109
  138. package/dist/components/form/input-file/input-file.d.ts +26 -13
  139. package/dist/components/form/input-file/input-file.js +35 -35
  140. package/dist/components/form/input-file/input-file.styles.js +4 -4
  141. package/dist/components/form/input-phone/input-phone.d.ts +22 -5
  142. package/dist/components/form/input-phone/input-phone.js +41 -13
  143. package/dist/components/form/radio/radio-card.d.ts +1 -0
  144. package/dist/components/form/radio/radio-card.js +1 -0
  145. package/dist/components/form/radio/radio-list.d.ts +23 -7
  146. package/dist/components/form/radio/radio-list.js +47 -22
  147. package/dist/components/form/radio/radio.d.ts +1 -0
  148. package/dist/components/form/radio/radio.js +1 -0
  149. package/dist/components/form/rating/rating.d.ts +349 -0
  150. package/dist/components/form/rating/rating.js +665 -0
  151. package/dist/components/form/rating/rating.styles.d.ts +1 -0
  152. package/dist/components/form/rating/rating.styles.js +213 -0
  153. package/dist/components/form/search/search.d.ts +8 -8
  154. package/dist/components/form/search/search.js +23 -41
  155. package/dist/components/form/select/select.d.ts +23 -10
  156. package/dist/components/form/select/select.js +59 -41
  157. package/dist/components/form/shared-styles/listbox.styles.js +10 -0
  158. package/dist/components/form/slider/slider.d.ts +7 -8
  159. package/dist/components/form/slider/slider.js +9 -12
  160. package/dist/components/form/switch/switch.d.ts +1 -0
  161. package/dist/components/form/switch/switch.js +1 -0
  162. package/dist/components/form/textarea/textarea.d.ts +89 -23
  163. package/dist/components/form/textarea/textarea.js +192 -43
  164. package/dist/components/form/time-picker/time-picker-columns.d.ts +2 -2
  165. package/dist/components/form/time-picker/time-picker-columns.js +8 -8
  166. package/dist/components/form/time-picker/time-picker.d.ts +24 -8
  167. package/dist/components/form/time-picker/time-picker.js +59 -38
  168. package/dist/components/layout/animate/animate.js +1 -1
  169. package/dist/components/layout/animate/animate.styles.js +2 -2
  170. package/dist/components/layout/divider/divider.js +1 -1
  171. package/dist/components/layout/divider/divider.styles.js +1 -1
  172. package/dist/components/loader/loader/loader.js +2 -2
  173. package/dist/components/loader/loader/loader.styles.js +14 -12
  174. package/dist/components/loader/skeleton/skeleton.js +1 -1
  175. package/dist/components/navigation/carousel/carousel.d.ts +31 -7
  176. package/dist/components/navigation/carousel/carousel.js +74 -35
  177. package/dist/components/navigation/carousel/carousel.styles.js +5 -2
  178. package/dist/components/navigation/pagination/pagination.d.ts +23 -21
  179. package/dist/components/navigation/pagination/pagination.js +30 -53
  180. package/dist/components/navigation/sidebar/sidebar.d.ts +15 -13
  181. package/dist/components/navigation/sidebar/sidebar.js +21 -33
  182. package/dist/components/navigation/sidebar/sidebar.styles.js +5 -3
  183. package/dist/components/navigation/stepper/step.js +9 -8
  184. package/dist/components/navigation/stepper/stepper.js +12 -5
  185. package/dist/components/navigation/tabs/tab-group/tab-group.js +2 -2
  186. package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +2 -2
  187. package/dist/components/navigation/toolbar/toolbar.d.ts +13 -13
  188. package/dist/components/navigation/toolbar/toolbar.js +20 -34
  189. package/dist/features/scheduler/calendar/calendar.js +1 -1
  190. package/dist/features/scheduler/scheduler/scheduler.d.ts +7 -7
  191. package/dist/features/scheduler/scheduler/scheduler.js +15 -24
  192. package/dist/features/scheduler/scheduler-event/scheduler-event.js +3 -3
  193. package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +1 -1
  194. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +6 -4
  195. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +6 -7
  196. package/dist/i18n/en.d.ts +68 -0
  197. package/dist/i18n/en.js +68 -0
  198. package/dist/i18n/fr.js +68 -2
  199. package/dist/index.d.ts +2 -0
  200. package/dist/index.js +1 -0
  201. package/dist/mixins/button.mixin.js +3 -2
  202. package/dist/mixins/check.mixin.js +11 -10
  203. package/dist/mixins/disabled.mixin.d.ts +5 -0
  204. package/dist/mixins/disabled.mixin.js +21 -1
  205. package/dist/mixins/editable.mixin.js +28 -5
  206. package/dist/mixins/field-appearance.mixin.js +3 -2
  207. package/dist/mixins/form.mixin.d.ts +4 -0
  208. package/dist/mixins/form.mixin.js +87 -13
  209. package/dist/mixins/localizable.mixin.d.ts +1 -1
  210. package/dist/mixins/localizable.mixin.js +1 -1
  211. package/dist/mixins/radio.mixin.js +11 -10
  212. package/dist/mixins/readonly.mixin.d.ts +2 -1
  213. package/dist/mixins/readonly.mixin.js +10 -3
  214. package/dist/ssr/alert-ssr.css +187 -0
  215. package/dist/ssr/badge-ssr.css +67 -0
  216. package/dist/ssr/breadcrumb-ssr.css +41 -0
  217. package/dist/ssr/card-ssr.css +27 -15
  218. package/dist/ssr/carousel-ssr.css +238 -0
  219. package/dist/ssr/checkbox-ssr.css +67 -0
  220. package/dist/ssr/chip-ssr.css +242 -0
  221. package/dist/ssr/collapse-ssr.css +151 -0
  222. package/dist/ssr/field-ssr.css +163 -0
  223. package/dist/ssr/icon-ssr.css +266 -0
  224. package/dist/ssr/image-carousel-ssr.css +24 -0
  225. package/dist/ssr/links-ssr.css +7 -1
  226. package/dist/ssr/pagination-ssr.css +4 -0
  227. package/dist/ssr/rating-ssr.css +254 -0
  228. package/dist/ssr/sidebar-ssr.css +9 -1
  229. package/dist/ssr/skeleton-ssr.css +63 -0
  230. package/dist/ssr/tabs-ssr.css +129 -0
  231. package/dist/ssr/toggle-group-ssr.css +182 -0
  232. package/dist/ssr/toolbar-ssr.css +31 -2
  233. package/dist/utils/implicit-submission.utils.d.ts +18 -0
  234. package/dist/utils/implicit-submission.utils.js +79 -0
  235. package/dist/utils/listbox-options.utils.d.ts +11 -0
  236. package/dist/utils/listbox-options.utils.js +41 -3
  237. package/package.json +26 -7
  238. package/dist/cdn/components/chunks/chunk-4PI6RDUS.js +0 -1
  239. package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +0 -1
  240. package/dist/cdn/components/chunks/chunk-BQFJR2UP.js +0 -110
  241. package/dist/cdn/components/chunks/chunk-G5SBDQQ3.js +0 -1
  242. package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +0 -1
  243. package/dist/cdn/components/chunks/chunk-PE4DAXHQ.js +0 -3
  244. package/dist/cdn/components/chunks/chunk-RS7TWEMQ.js +0 -1
  245. package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +0 -38
@@ -1,4 +1,4 @@
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`
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 o,j as i,p as s,u as c}from"./chunk-YITWLCD3.js";var h=o`
2
2
  :host {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -7,9 +7,9 @@ import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";
7
7
  font-size: var(--_size);
8
8
  }
9
9
 
10
- :host([variant="dots"]) span,
11
- :host([variant="dots"]) span::before,
12
- :host([variant="dots"]) span::after {
10
+ :host(:is([variant="dots"], :not([variant]))) span,
11
+ :host(:is([variant="dots"], :not([variant]))) span::before,
12
+ :host(:is([variant="dots"], :not([variant]))) span::after {
13
13
  border-radius: 50%;
14
14
  width: 0.5em;
15
15
  height: 0.5em;
@@ -18,22 +18,22 @@ import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";
18
18
  animation: eun-loader-fade 1.4s infinite ease-in-out;
19
19
  animation-fill-mode: both;
20
20
  }
21
- :host([variant="dots"]) span {
21
+ :host(:is([variant="dots"], :not([variant]))) span {
22
22
  position: relative;
23
23
  margin: 0 0.75em;
24
24
  animation-delay: -0.16s;
25
25
  }
26
- :host([variant="dots"]) span::before,
27
- :host([variant="dots"]) span::after {
26
+ :host(:is([variant="dots"], :not([variant]))) span::before,
27
+ :host(:is([variant="dots"], :not([variant]))) span::after {
28
28
  content: "";
29
29
  position: absolute;
30
30
  top: 0;
31
31
  }
32
- :host([variant="dots"]) span::before {
32
+ :host(:is([variant="dots"], :not([variant]))) span::before {
33
33
  left: -0.75em;
34
34
  animation-delay: -0.32s;
35
35
  }
36
- :host([variant="dots"]) span::after {
36
+ :host(:is([variant="dots"], :not([variant]))) span::after {
37
37
  left: 0.75em;
38
38
  }
39
39
  @keyframes eun-loader-fade {
@@ -65,16 +65,16 @@ import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";
65
65
  }
66
66
 
67
67
  @media (prefers-reduced-motion: reduce) {
68
- :host([variant="dots"]) span,
69
- :host([variant="dots"]) span::before,
70
- :host([variant="dots"]) span::after {
68
+ :host(:is([variant="dots"], :not([variant]))) span,
69
+ :host(:is([variant="dots"], :not([variant]))) span::before,
70
+ :host(:is([variant="dots"], :not([variant]))) span::after {
71
71
  animation-duration: 2.8s;
72
72
  }
73
73
  :host([variant="spinner"]) span {
74
74
  animation-duration: 1.6s;
75
75
  }
76
76
  }
77
- `,y=n`
77
+ `,y=o`
78
78
  :host([variant="bar"]) {
79
79
  display: block;
80
80
  width: 100%;
@@ -127,7 +127,9 @@ import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";
127
127
  z-index: var(--loader-bar-z-index, 10);
128
128
  }
129
129
 
130
- :host([variant="bar"][sticky][sticky-position="top"]) {
130
+ :host(
131
+ [variant="bar"][sticky]:is([sticky-position="top"], :not([sticky-position]))
132
+ ) {
131
133
  top: var(--loader-bar-sticky-offset, 0);
132
134
  }
133
135
 
@@ -140,19 +142,19 @@ import{a as b}from"./chunk-22D3SRFR.js";import{a as f}from"./chunk-PPCHQG7P.js";
140
142
  animation-duration: 2.8s;
141
143
  }
142
144
  }
143
- `,h=[v,y];var k="eun-loader",i,t=class extends c{constructor(){super(...arguments);this.label="Loading\u2026";this.variant="dots";d(this,i);this.sticky=!1;this.stickyPosition="top"}set size(e){if(p(this,i,e),!e){this.style.removeProperty("--_size");return}let o;/%$/.test(e)?o=`${parseFloat(e)/100}rem`:/^\d+(\.\d+)?$/.test(e)?o=`${e}px`:o=e,this.style.setProperty("--_size",o)}get size(){return l(this,i)}get clampedValue(){return this.value===void 0?void 0:Math.min(100,Math.max(0,this.value))}render(){if(this.variant==="bar"){let e=this.clampedValue;return s`
145
+ `,v=[h,y];var k="eun-loader",r,e=class extends c{constructor(){super(...arguments);this.label="Loading\u2026";this.variant="dots";d(this,r);this.sticky=!1;this.stickyPosition="top"}set size(t){if(p(this,r,t),!t){this.style.removeProperty("--_size");return}let n;/%$/.test(t)?n=`${parseFloat(t)/100}rem`:/^\d+(\.\d+)?$/.test(t)?n=`${t}px`:n=t,this.style.setProperty("--_size",n)}get size(){return l(this,r)}get clampedValue(){return this.value===void 0?void 0:Math.min(100,Math.max(0,this.value))}render(){if(this.variant==="bar"){let t=this.clampedValue;return s`
144
146
  <div
145
147
  id="track"
146
148
  role="progressbar"
147
149
  aria-label=${this.label}
148
150
  aria-valuemin="0"
149
151
  aria-valuemax="100"
150
- aria-valuenow=${f(e)}
152
+ aria-valuenow=${f(t)}
151
153
  >
152
154
  <div
153
155
  id="fill"
154
- class=${m({indeterminate:e===void 0})}
155
- style=${b({width:e===void 0?"":`${e}%`})}
156
+ class=${m({indeterminate:t===void 0})}
157
+ style=${b({width:t===void 0?"":`${t}%`})}
156
158
  ></div>
157
159
  </div>
158
- `}return s`<span role="status" aria-label=${this.label}></span>`}};i=new WeakMap,t.styles=h,a([r()],t.prototype,"label",2),a([r({reflect:!0})],t.prototype,"variant",2),a([r({hasChanged:()=>!1})],t.prototype,"size",1),a([r({type:Number})],t.prototype,"value",2),a([r({type:Boolean,reflect:!0})],t.prototype,"sticky",2),a([r({attribute:"sticky-position",reflect:!0})],t.prototype,"stickyPosition",2),t=a([u(k)],t);export{k as a,t as b};
160
+ `}return s`<span role="status" aria-label=${this.label}></span>`}};r=new WeakMap,e.styles=v,a([i()],e.prototype,"label",2),a([i({reflect:!0,useDefault:!0})],e.prototype,"variant",2),a([i({hasChanged:()=>!1})],e.prototype,"size",1),a([i({type:Number})],e.prototype,"value",2),a([i({type:Boolean,reflect:!0})],e.prototype,"sticky",2),a([i({attribute:"sticky-position",reflect:!0,useDefault:!0})],e.prototype,"stickyPosition",2),e=a([u(k)],e);export{k as a,e as b};
@@ -54,4 +54,4 @@ import{a as o}from"./chunk-22D3SRFR.js";import{a as r,f as i,h as a,j as t,p as
54
54
  <span
55
55
  style=${o({width:this.width,height:this.variant==="text"?"1em":this.height??"1rem",borderRadius:this.radius})}
56
56
  ></span>
57
- `}};e.styles=l,r([t({reflect:!0})],e.prototype,"variant",2),r([t()],e.prototype,"width",2),r([t()],e.prototype,"height",2),r([t()],e.prototype,"radius",2),e=r([i(d)],e);export{d as a,e as b};
57
+ `}};e.styles=l,r([t({reflect:!0,useDefault:!0})],e.prototype,"variant",2),r([t()],e.prototype,"width",2),r([t()],e.prototype,"height",2),r([t()],e.prototype,"radius",2),e=r([i(d)],e);export{d as a,e as b};
@@ -1,4 +1,4 @@
1
- import{a as b}from"./chunk-A3X4KD2X.js";import{c as u,d as h,e as x,f as t}from"./chunk-VOTRXBDS.js";import{a as d}from"./chunk-RS7TWEMQ.js";import{a as o,f as n,h as c,j as a,p as i,r as l,u as s}from"./chunk-YITWLCD3.js";var p=c`
1
+ import{a as b}from"./chunk-AK2DIJX7.js";import{c as u,d as h,e as x,f as i}from"./chunk-TLBXTBMM.js";import{a as s}from"./chunk-3BMACIDO.js";import{a as o,f as n,h as c,j as a,p as t,r as l,u as d}from"./chunk-YITWLCD3.js";var k=c`
2
2
  :host {
3
3
  --_boxSize: var(--checkbox-size, 16px);
4
4
  --_boxBorder: var(
@@ -93,8 +93,9 @@ import{a as b}from"./chunk-A3X4KD2X.js";import{c as u,d as h,e as x,f as t}from"
93
93
  --_focusIndicator: var(--_errorColor);
94
94
  }
95
95
 
96
- :host([aria-disabled="true"][aria-checked="true"]) #checkbox-component {
97
- --_icon: transparent;
96
+ :host([aria-disabled="true"][aria-checked="true"]) #checkbox-component,
97
+ :host([aria-disabled="true"][aria-checked="mixed"]) #checkbox-component {
98
+ --_icon: var(--eun-text-disabled-color, #8d93aa);
98
99
  }
99
100
 
100
101
  :host([aria-readonly="true"][aria-checked="true"]) #checkbox-component {
@@ -161,7 +162,7 @@ import{a as b}from"./chunk-A3X4KD2X.js";import{c as u,d as h,e as x,f as t}from"
161
162
  padding-inline-start: var(--eun-space-s, 8px);
162
163
  cursor: inherit;
163
164
  }
164
- `,f=p;var v="eun-checkbox",k=b(h(u(d(x(s))))),r=class extends k{constructor(){super(...arguments);this.indeterminate=!1}get defaultValue(){return super.defaultValue}set defaultValue(e){super.defaultValue=e}updated(e){super.updated?.(e),e.has("indeterminate")&&this.setAttribute("aria-checked",!this.checked&&this.indeterminate?"mixed":String(this.checked)),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}handleChange(e){if(this.indeterminate&&e instanceof KeyboardEvent&&e.key===" "){this.dispatchEvent(new PointerEvent("click",{composed:!0,bubbles:!0,cancelable:!0}));return}this.indeterminate||this.disabled||this.readonly||(e.stopPropagation(),super.handleChange?.(e))}render(){return i`
165
+ `,f=k;var v="eun-checkbox",p=b(h(u(s(x(d))))),r=class extends p{constructor(){super(...arguments);this.indeterminate=!1}get defaultValue(){return super.defaultValue}set defaultValue(e){super.defaultValue=e}updated(e){super.updated?.(e),(e.has("indeterminate")||e.has("checked"))&&this.setAttribute("aria-checked",!this.checked&&this.indeterminate?"mixed":String(this.checked)),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}handleChange(e){if(this.indeterminate&&e instanceof KeyboardEvent&&e.key===" "){this.dispatchEvent(new PointerEvent("click",{composed:!0,bubbles:!0,cancelable:!0}));return}this.indeterminate||this.disabled||this.readonly||(e.stopPropagation(),super.handleChange?.(e))}render(){return t`
165
166
  <div>
166
167
  <div id="checkbox-component" @click=${this.handleClick}>
167
168
  <div id="checkbox">
@@ -173,8 +174,8 @@ import{a as b}from"./chunk-A3X4KD2X.js";import{c as u,d as h,e as x,f as t}from"
173
174
  <slot>
174
175
  <label>${this.label}</label>
175
176
  </slot>
176
- ${this.required?i`<span class="required" aria-hidden="true"> *</span>`:l}
177
+ ${this.required?t`<span class="required" aria-hidden="true"> *</span>`:l}
177
178
  </div>
178
179
  ${this.renderDescription()}
179
180
  </div>
180
- `}};r.styles=[f,t.base,t.errorMessages,t.hintMessages],o([a({type:Boolean,reflect:!0})],r.prototype,"indeterminate",2),o([a()],r.prototype,"label",2),o([a({attribute:"default-value"})],r.prototype,"defaultValue",1),r=o([n(v)],r);export{v as a,r as b};
181
+ `}};r.styles=[f,i.base,i.errorMessages,i.hintMessages],o([a({type:Boolean,reflect:!0})],r.prototype,"indeterminate",2),o([a()],r.prototype,"label",2),o([a({attribute:"default-value"})],r.prototype,"defaultValue",1),r=o([n(v)],r);export{v as a,r as b};
@@ -0,0 +1,46 @@
1
+ import{a as g}from"./chunk-YYCEPZUN.js";import{a as b,b as m}from"./chunk-QL5GSW2A.js";import{a,h as p,j as n,k as l,p as u,r as f}from"./chunk-YITWLCD3.js";function V(o,i,c){return o?i(o):c?.(o)}var k=["valid","hideError","invalid","disabled","touched","dirty","validationRequested","error"],O=o=>k.some(i=>o.has(i)),H=o=>{class i extends o{constructor(...e){super(...e);this.hideError=!1;this.invalid=!1;this.checkable=!1;this.checked=!1;this.dirty=!1;this.touched=!1;this.validationRequested=!1;this.controlled=!1;this.descriptionOnHost=!1;this.errorOnChange=!1;this.#e=()=>{this.dirty||(this.dirty=!0)};this.#t=()=>{this.touched||(this.touched=!0)};this.#i=()=>{this.validationRequested=!0};this.internals||(this.internals=this.attachInternals())}static{this.formAssociated=!0}#e;#t;#i;get showError(){return this.invalid&&!this.disabled||this.showErrorMessages}get showErrorMessages(){return!this.valid&&!this.hideError&&!this.disabled&&(this.touched||this.dirty&&this.errorOnChange||this.validationRequested||!!this.error)}get pristine(){return!this.dirty}get untouched(){return!this.touched}get defaultValue(){return this.internalDefaultValue}set defaultValue(e){let t=this.value==null||Array.isArray(this.value)&&this.value.length===0;e!=null&&(this.defaultValue==null||this.defaultValue==="")&&t&&(this.value=e),this.internalDefaultValue=e}get value(){return this.valueState}set value(e){this.valueState=e,this.setFormValue(e)}get description(){return this.showErrorMessages?this.errorMessages.length?this.errorMessages:this.validationMessage.length?this.validationMessage:this.hint:this.hint}get form(){return this.internals.form}get type(){return this.localName}getValueToValidate(){return this.checkable?this.checked:this.value}connectedCallback(){super.connectedCallback?.(),this.checkable&&this.checked&&this.setFormValue(this.value),this.checkable||this.defaultValue===void 0||this.defaultValue===""||(this.value=this.defaultValue),this.checkValidity(this.value),this.addEventListener(g.eventName,this.#e),this.addEventListener("focusout",this.#t),this.addEventListener("invalid",this.#i)}disconnectedCallback(){this.removeEventListener(g.eventName,this.#e),this.removeEventListener("focusout",this.#t),this.removeEventListener("invalid",this.#i),super.disconnectedCallback?.()}willUpdate(e){(e.has("value")||e.has("valueState")||e.has("checked")||e.has("validators")||e.has("required")||e.has("error"))&&this.checkValidity(),super.willUpdate(e)}updated(e){if(super.updated(e),!this.descriptionOnHost)return;let{description:t}=this,r=Array.isArray(t)?t.join(" "):t;r?this.setAttribute("aria-description",r):this.removeAttribute("aria-description")}setFormValue(e){let t=new FormData;if(this.disabled||this.checkable&&!this.checked){this.internals.setFormValue(t);return}let r=this.name||this.getAttribute("name");if(!r){this.internals.setFormValue(t);return}Array.isArray(e)?e.forEach(s=>t.append(r,s instanceof File?s:String(s))):e!=null&&(e instanceof File?t.append(r,e):t.append(r,this.checkable&&!this.value?"on":String(e))),this.internals.setFormValue(t)}formResetCallback(){this.controlled||(this.checkable?this.checked=!1:this.value=this.defaultValue),this.dirty=!1,this.touched=!1,this.validationRequested=!1}renderDescription(){return this.renderError()}renderError(){let{description:e}=this;return e?.length?this.showErrorMessages?u`
2
+ <p
3
+ id="description"
4
+ class="error-messages"
5
+ aria-hidden=${this.descriptionOnHost?"true":f}
6
+ >
7
+ ${V(Array.isArray(e),()=>e.map(t=>u`<span>${t}</span>`),()=>u`<span>${e}</span>`)}
8
+ </p>
9
+ `:u`
10
+ <p
11
+ id="description"
12
+ class="hint-messages"
13
+ aria-hidden=${this.descriptionOnHost?"true":f}
14
+ >
15
+ <span>${e}</span>
16
+ </p>
17
+ `:f}}return a([n({reflect:!0})],i.prototype,"name",2),a([n()],i.prototype,"hint",2),a([n({type:Boolean,attribute:"hide-error"})],i.prototype,"hideError",2),a([n({type:Boolean})],i.prototype,"invalid",2),a([l()],i.prototype,"valueState",2),a([l()],i.prototype,"dirty",2),a([l()],i.prototype,"touched",2),a([l()],i.prototype,"validationRequested",2),a([n({type:Boolean})],i.prototype,"controlled",2),a([n({attribute:"default-value",converter:{fromAttribute:e=>e?e.split(","):void 0,toAttribute:e=>e?.join(",")??null}})],i.prototype,"defaultValue",1),a([n()],i.prototype,"value",1),i};var $=o=>{class i extends o{constructor(){super(...arguments);this.readonly=!1}updated(e){super.updated(e),e.has("readonly")&&(this.readonly?this.setAttribute("aria-readonly","true"):this.removeAttribute("aria-readonly"))}}return a([n({type:Boolean,reflect:!0})],i.prototype,"readonly",2),i};var G=o=>{class i extends o{constructor(...e){super(...e);this.required=!1;this.valid=!0;this.errorMessages=[];this.internals||(this.internals=this.attachInternals())}get validationDictionary(){let e=this.locale;return m[e??b()]??m.en}get validity(){return this.internals.validity}get validationMessage(){return this.internals.validationMessage}get willValidate(){return this.internals.willValidate}checkLocalValidators(){return{validity:{}}}buildCommonValidators(){let{value:e}=this,t={},r,s=e==null||typeof e=="string"&&e.trim()===""||e instanceof Array&&!e.length;return this.required&&s&&(t.valueMissing=!0,r=this.validationDictionary.validation.valueMissing),{validity:t,message:r}}checkValidity(e=this.getValueToValidate()){let t=this.checkLocalValidators(),r=this.buildCommonValidators(),s={...t.validity,...r.validity},d=r.message||t.message,h=this.error?[this.error]:[];this.validators?.forEach(E=>this.collectErrors(h,E,e)),this.errorMessages=h,h.length>0&&(s.customError=!0,d=h.join(" ; ")),this.valid=!Object.values(s).some(Boolean);let y=this.getFocusAnchor?.();return this.valid||y||!this.getFocusAnchor?this.setValidity(s,d,y):this.updateComplete.then(()=>this.setValidity(s,d,y)),this.valid}reportValidity(e=this.getValueToValidate()){return this.checkValidity(e),this.internals.reportValidity()}collectErrors(e,t,r){if("~standard"in t){let s=t["~standard"].validate(r);if(s instanceof Promise)throw new TypeError("Validation schemas must be synchronous");s.issues&&e.push(...s.issues.map(d=>d.message))}return"isValid"in t&&(typeof t.isValid=="function"?!t.isValid(r,this.getValidityData()):t.isValid===!1)&&e.push(t.message),"isInvalid"in t&&t.isInvalid({value:r})&&e.push(t.message),e}setValidity(e,t,r){let s=this.validationMessage;this.internals.setValidity(e,t,r),t!==s&&this.requestUpdate("valid")}getValueToValidate(){return this.value}getValidityData(){return{}}}return a([n({type:Array})],i.prototype,"validators",2),a([n({type:Boolean})],i.prototype,"required",2),a([n()],i.prototype,"error",2),a([l()],i.prototype,"valid",2),i};var M=p`
18
+ #description {
19
+ font-family: var(--eun-font-family, "Mulish", sans-serif);
20
+ display: block;
21
+ margin-block-start: var(--eun-space-xs, 4px);
22
+ font-size: var(--field-message-font-size, var(--eun-font-size-xs, 12px));
23
+ margin-block: 0;
24
+ }
25
+ #description span {
26
+ display: block;
27
+ margin-top: var(--eun-space-xs, 4px);
28
+ }
29
+ `,T=p`
30
+ .error-messages {
31
+ color: var(--_errorColor);
32
+ }
33
+ `,x=p`
34
+ .hint-messages {
35
+ color: var(--_hintColor);
36
+ }
37
+ `,W={base:M,errorMessages:T,hintMessages:x};export{V as a,O as b,H as c,$ as d,G as e,W as f};
38
+ /*! Bundled license information:
39
+
40
+ lit-html/directives/when.js:
41
+ (**
42
+ * @license
43
+ * Copyright 2021 Google LLC
44
+ * SPDX-License-Identifier: BSD-3-Clause
45
+ *)
46
+ */
@@ -0,0 +1 @@
1
+ import{a as n,j as o}from"./chunk-YITWLCD3.js";var e=class i extends Event{static{this.eventName="euncommit"}constructor(){super(i.eventName,{bubbles:!0,composed:!1})}};var m=i=>{class a extends i{constructor(){super(...arguments);this.readonlyAvailable=!1;this.editing=!1}startEdit(){this.disabled||!this.readonlyAvailable||this.editing||(this.valueOnEditStart=this.value,this.editing=!0)}confirmEdit(){if(!this.checkValidity(this.value)){this.validationRequested=!0,this.#e()&&this.focus();return}this.#t(),this.dispatchEvent(new e)}cancelEdit(){this.value=this.valueOnEditStart,this.#t()}#t(){let t=this.#e();this.editing=!1,t&&this.updateComplete.then(()=>this.shadowRoot?.querySelector("#readonly-display")?.focus())}#e(){let t=document.activeElement;return!t||t===document.body||this.matches(":focus-within")}}return n([o({type:Boolean,attribute:"readonly-available",reflect:!0})],a.prototype,"readonlyAvailable",2),n([o({type:Boolean,reflect:!0})],a.prototype,"editing",2),a};export{m as a};
@@ -0,0 +1 @@
1
+ var i=["button:not([type])",'button[type="submit"]','input[type="submit"]','input[type="image"]','eun-button[type="submit"]','eun-fab[type="submit"]'].join(", "),u=new Set(["text","search","url","tel","email","password","date","month","week","time","datetime-local","number"]),o=["eun-input","eun-search","eun-input-phone","eun-counter","eun-date-picker","eun-time-picker"].join(", ");function c(e){return e.key==="Enter"&&!e.isComposing&&e.keyCode!==229&&!e.defaultPrevented}function l(e){let t=e.querySelector(i);if(t){t.matches(":disabled, [disabled]")||t.click();return}Array.from(e.elements).filter(n=>n instanceof HTMLInputElement&&u.has(n.type)||n.matches(o)).length<=1&&e.requestSubmit()}export{c as a,l as b};
@@ -1,4 +1,4 @@
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`
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,useDefault:!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);
@@ -1,9 +1,15 @@
1
- import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk-GDBPWZN6.js";import{a as g}from"./chunks/chunk-UP4M7TER.js";import{a as v}from"./chunks/chunk-PPCHQG7P.js";import{a as n}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as r,f as s,h as d,j as o,n as i,o as u,p as a,r as t,u as p}from"./chunks/chunk-YITWLCD3.js";var m=d`
1
+ import{a as f}from"./chunks/chunk-YQU6RVX4.js";import{e as h}from"./chunks/chunk-GDBPWZN6.js";import{a as g}from"./chunks/chunk-UP4M7TER.js";import{a as v}from"./chunks/chunk-PPCHQG7P.js";import{a as n}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as b}from"./chunks/chunk-62RLISRD.js";import"./chunks/chunk-QL5GSW2A.js";import{a as r,f as s,h as d,j as o,n as i,o as u,p as a,r as t,u as p}from"./chunks/chunk-YITWLCD3.js";var _=d`
2
2
  :host {
3
3
  display: block;
4
4
  width: 100%;
5
5
  box-sizing: border-box;
6
6
  font-family: var(--eun-font-family, "Mulish", sans-serif);
7
+ border-radius: var(--alert-border-radius, var(--eun-border-radius-m, 8px));
8
+ }
9
+ :host(:focus-visible) {
10
+ outline: 2px solid
11
+ var(--alert-focus-outline-color, var(--eun-color-primary-500, #3d6fff));
12
+ outline-offset: 2px;
7
13
  }
8
14
 
9
15
  :host(:not([severity])) {
@@ -79,7 +85,8 @@ import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk
79
85
  grid-column: 1;
80
86
  }
81
87
 
82
- :host([appearance="default"]) #alert {
88
+ :host([appearance="default"]) #alert,
89
+ :host(:not([appearance])) #alert {
83
90
  background: linear-gradient(
84
91
  to right,
85
92
  var(--alert-border-color, var(--_borderColor)) 4px,
@@ -202,7 +209,7 @@ import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk
202
209
  :host([appearance="fill"]) #close-button {
203
210
  --button-text: var(--alert-color, var(--_onFilled, #fff));
204
211
  }
205
- `,b=m;var _="eun-alert",e=class extends p{constructor(){super(...arguments);this.appearance="default";this.hideIcon=!1;this.closeable=!1;this.ariaLabelClose="Close";this.handleSlotChange=()=>{this.requestUpdate()};this.handleClose=()=>{this.dispatchEvent(new h)}}getIconName(){return g(this.icon,this.severity,"severity")}shouldHideIcon(){return this.hideIcon?!0:this.iconSlotEls.length>0||this.severity?!1:!this.icon}hasDescription(){return!!this.richText||this.descriptionSlotEls.length>0||!!this.heading&&this.hasDefaultSlotContent()}hasDefaultSlotContent(){return this.defaultSlotNodes.some(l=>l.nodeType!==Node.TEXT_NODE||!!l.textContent?.trim())}hasAction(){return this.actionSlotEls.length>0}render(){let l=this.severity==="warning"||this.severity==="critical"?"alert":"status",c=this.shouldHideIcon();return a`
212
+ `,m=_;var y="eun-alert",e=class extends b(p){constructor(){super(...arguments);this.appearance="default";this.hideIcon=!1;this.closeable=!1;this.handleSlotChange=()=>{this.requestUpdate()};this.handleClose=()=>{this.dispatchEvent(new f)}}getIconName(){return g(this.icon,this.severity,"severity")}shouldHideIcon(){return this.hideIcon?!0:this.iconSlotEls.length>0||this.severity?!1:!this.icon}hasDescription(){return!!this.richText||this.descriptionSlotEls.length>0||!!this.heading&&this.hasDefaultSlotContent()}hasDefaultSlotContent(){return this.defaultSlotNodes.some(l=>l.nodeType!==Node.TEXT_NODE||!!l.textContent?.trim())}hasAction(){return this.actionSlotEls.length>0}render(){let l=this.severity==="warning"||this.severity==="critical"?"alert":"status",c=this.shouldHideIcon();return a`
206
213
  <div id="alert" role=${l} class=${n({"no-icon":c})}>
207
214
  ${this.closeable?a`
208
215
  <eun-button
@@ -210,7 +217,7 @@ import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk
210
217
  appearance="ghost"
211
218
  rounded
212
219
  size="xs"
213
- aria-label=${this.ariaLabelClose}
220
+ aria-label=${this.closeLabel??this.dictionary.common.close}
214
221
  @click=${this.handleClose}
215
222
  >
216
223
  <eun-icon name="close" size="16"></eun-icon>
@@ -233,7 +240,7 @@ import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk
233
240
  id="description"
234
241
  class=${n({hidden:!this.hasDescription()})}
235
242
  >
236
- ${this.richText?a`<div id="rich-text">${f(this.richText)}</div>`:t}
243
+ ${this.richText?a`<div id="rich-text">${h(this.richText)}</div>`:t}
237
244
  ${this.heading?a`<slot
238
245
  id="default-description"
239
246
  @slotchange=${this.handleSlotChange}
@@ -244,4 +251,4 @@ import{a as h}from"./chunks/chunk-YQU6RVX4.js";import{e as f}from"./chunks/chunk
244
251
  <slot name="action" @slotchange=${this.handleSlotChange}></slot>
245
252
  </div>
246
253
  </div>
247
- `}};e.styles=b,r([o({reflect:!0})],e.prototype,"severity",2),r([o({reflect:!0})],e.prototype,"appearance",2),r([o()],e.prototype,"heading",2),r([o()],e.prototype,"icon",2),r([o({type:Boolean,attribute:"hide-icon"})],e.prototype,"hideIcon",2),r([o({attribute:"rich-text"})],e.prototype,"richText",2),r([o({type:Boolean,reflect:!0})],e.prototype,"closeable",2),r([o({attribute:"aria-label-close"})],e.prototype,"ariaLabelClose",2),r([i({slot:"description"})],e.prototype,"descriptionSlotEls",2),r([i({slot:"action"})],e.prototype,"actionSlotEls",2),r([i({slot:"icon"})],e.prototype,"iconSlotEls",2),r([u()],e.prototype,"defaultSlotNodes",2),e=r([s(_)],e);export{e as EunomiaAlert,_ as EunomiaAlertTagName};
254
+ `}};e.styles=m,r([o({reflect:!0})],e.prototype,"severity",2),r([o({reflect:!0,useDefault:!0})],e.prototype,"appearance",2),r([o()],e.prototype,"heading",2),r([o()],e.prototype,"icon",2),r([o({type:Boolean,attribute:"hide-icon"})],e.prototype,"hideIcon",2),r([o({attribute:"rich-text"})],e.prototype,"richText",2),r([o({type:Boolean,reflect:!0})],e.prototype,"closeable",2),r([o({attribute:"close-label"})],e.prototype,"closeLabel",2),r([i({slot:"description"})],e.prototype,"descriptionSlotEls",2),r([i({slot:"action"})],e.prototype,"actionSlotEls",2),r([i({slot:"icon"})],e.prototype,"iconSlotEls",2),r([u()],e.prototype,"defaultSlotNodes",2),e=r([s(y)],e);export{e as EunomiaAlert,y as EunomiaAlertTagName};
@@ -11,11 +11,11 @@ import{a as s}from"./chunks/chunk-PD62MBOJ.js";import{b as e}from"./chunks/chunk
11
11
  transition-property: none;
12
12
  }
13
13
 
14
- :host([animation="fade"]) {
14
+ :host(:is([animation="fade"], :not([animation]))) {
15
15
  opacity: 0;
16
16
  transition-property: opacity;
17
17
  }
18
- :host([animation="fade"][in-view]) {
18
+ :host(:is([animation="fade"], :not([animation]))[in-view]) {
19
19
  opacity: 1;
20
20
  }
21
21
 
@@ -274,4 +274,4 @@ import{a as s}from"./chunks/chunk-PD62MBOJ.js";import{b as e}from"./chunks/chunk
274
274
  }
275
275
  `,d=[b,h];var y="eun-animate",f="in-view",t=class extends p{constructor(){super(...arguments);this.animation="fade";this.delay=0;this.once=!0;this.threshold=.1;this.rootMargin="0px"}get hasAnyAnimation(){return this.animation!=="none"||this.tabletAnimation!==void 0&&this.tabletAnimation!=="none"||this.mobileAnimation!==void 0&&this.mobileAnimation!=="none"}connectedCallback(){super.connectedCallback?.(),this.setupObserver()}disconnectedCallback(){this.teardownObserver(),super.disconnectedCallback?.()}updated(a){super.updated(a),this.isConnected&&(a.has("animation")||a.has("tabletAnimation")||a.has("mobileAnimation")||a.has("threshold")||a.has("rootMargin")||a.has("once"))&&this.setupObserver()}setupObserver(){this.teardownObserver(),this.hasAnyAnimation&&(this.observer=new IntersectionObserver(([a])=>{a.isIntersecting?(this.toggleAttribute(f,!0),this.once&&this.observer?.unobserve(this)):this.once||this.toggleAttribute(f,!1)},{threshold:this.threshold,rootMargin:this.rootMargin}),this.observer.observe(this))}teardownObserver(){this.observer?.disconnect(),this.observer=void 0}renderTiming(){let a=[this.duration!==void 0?`--_duration: ${Number(this.duration)}ms;`:"",this.delay!==0?`--_delay: ${Number(this.delay)}ms;`:""].join(""),l=[a?`:host { ${a} }`:"",this.tabletDelay!==void 0?`@media ${e("tablet")} { :host { --_delay: ${Number(this.tabletDelay)}ms; } }`:"",this.mobileDelay!==void 0?`@media ${e("mobile")} { :host { --_delay: ${Number(this.mobileDelay)}ms; } }`:""].join("");return l?n`<style>
276
276
  ${l}
277
- </style>`:c}render(){return n`${this.renderTiming()}<slot></slot>`}};t.styles=d,o([r({reflect:!0})],t.prototype,"animation",2),o([r({type:Number})],t.prototype,"duration",2),o([r({type:Number})],t.prototype,"delay",2),o([r({type:Number,attribute:"tablet-delay"})],t.prototype,"tabletDelay",2),o([r({type:Number,attribute:"mobile-delay"})],t.prototype,"mobileDelay",2),o([r({type:Boolean})],t.prototype,"once",2),o([r({type:Number})],t.prototype,"threshold",2),o([r({attribute:"root-margin"})],t.prototype,"rootMargin",2),o([r({attribute:"tablet-animation",reflect:!0})],t.prototype,"tabletAnimation",2),o([r({attribute:"mobile-animation",reflect:!0})],t.prototype,"mobileAnimation",2),t=o([m(y)],t);export{t as EunomiaAnimate,y as EunomiaAnimateTagName};
277
+ </style>`:c}render(){return n`${this.renderTiming()}<slot></slot>`}};t.styles=d,o([r({reflect:!0,useDefault:!0})],t.prototype,"animation",2),o([r({type:Number})],t.prototype,"duration",2),o([r({type:Number})],t.prototype,"delay",2),o([r({type:Number,attribute:"tablet-delay"})],t.prototype,"tabletDelay",2),o([r({type:Number,attribute:"mobile-delay"})],t.prototype,"mobileDelay",2),o([r({type:Boolean})],t.prototype,"once",2),o([r({type:Number})],t.prototype,"threshold",2),o([r({attribute:"root-margin"})],t.prototype,"rootMargin",2),o([r({attribute:"tablet-animation",reflect:!0})],t.prototype,"tabletAnimation",2),o([r({attribute:"mobile-animation",reflect:!0})],t.prototype,"mobileAnimation",2),t=o([m(y)],t);export{t as EunomiaAnimate,y as EunomiaAnimateTagName};
@@ -80,4 +80,4 @@ import{a,f as o,h as i,j as t,p as n,u as s}from"./chunks/chunk-YITWLCD3.js";var
80
80
  }
81
81
  `,l=d;var c="eun-badge",e=class extends s{constructor(){super(...arguments);this.color="critical";this.size="m"}connectedCallback(){super.connectedCallback?.(),this.syncAccessibility(),this.updateEmptyState()}updated(r){super.updated(r),r.has("label")&&this.syncAccessibility()}syncAccessibility(){this.label?(this.setAttribute("role","status"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}updateEmptyState(){this.toggleAttribute("empty",!this.textContent?.trim())}render(){return n`<span id="badge" part="badge"
82
82
  ><slot @slotchange=${this.updateEmptyState}></slot
83
- ></span>`}};e.styles=l,a([t({reflect:!0})],e.prototype,"color",2),a([t({reflect:!0})],e.prototype,"size",2),a([t()],e.prototype,"label",2),e=a([o(c)],e);export{e as EunomiaBadge,c as EunomiaBadgeTagName};
83
+ ></span>`}};e.styles=l,a([t({reflect:!0,useDefault:!0})],e.prototype,"color",2),a([t({reflect:!0,useDefault:!0})],e.prototype,"size",2),a([t()],e.prototype,"label",2),e=a([o(c)],e);export{e as EunomiaBadge,c as EunomiaBadgeTagName};
@@ -1 +1 @@
1
- import{a,b}from"./chunks/chunk-VYFR364B.js";import"./chunks/chunk-2Y2EU2CI.js";import"./chunks/chunk-RS7TWEMQ.js";import"./chunks/chunk-UP4M7TER.js";import"./chunks/chunk-3MTUVMM5.js";import"./chunks/chunk-5GKM5DIB.js";import"./chunks/chunk-PPCHQG7P.js";import"./chunks/chunk-LMVW522V.js";import"./chunks/chunk-KSZRQRN4.js";import"./chunks/chunk-YITWLCD3.js";export{b as EunomiaButton,a as EunomiaButtonTagName};
1
+ import{a,b}from"./chunks/chunk-DGI7TKCU.js";import"./chunks/chunk-Z3OFIE7S.js";import"./chunks/chunk-3BMACIDO.js";import"./chunks/chunk-UP4M7TER.js";import"./chunks/chunk-3MTUVMM5.js";import"./chunks/chunk-5GKM5DIB.js";import"./chunks/chunk-PPCHQG7P.js";import"./chunks/chunk-62RLISRD.js";import"./chunks/chunk-QL5GSW2A.js";import"./chunks/chunk-YITWLCD3.js";export{b as EunomiaButton,a as EunomiaButtonTagName};
@@ -1,4 +1,4 @@
1
- import{a as ce}from"./chunks/chunk-QZ5SHR3I.js";import{a as ue}from"./chunks/chunk-IJJ67C66.js";import{a as he}from"./chunks/chunk-BRSNQMCD.js";import{d as te,e as re,f as oe,g as ie,h as ne,i as ae,j as se,k as le,l as de}from"./chunks/chunk-647ISUF4.js";import{a as b}from"./chunks/chunk-22D3SRFR.js";import{a as B,c as R,d as ee,h as D,k as F,m as T,n as L,p as E,q as W,s as V}from"./chunks/chunk-MJ4RDZLL.js";import{a as k}from"./chunks/chunk-PD62MBOJ.js";import{b as Z}from"./chunks/chunk-BKZGTCMF.js";import{a as f}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as h,f as Q,h as M,j as g,k as H,l as U,p as d,u as J}from"./chunks/chunk-YITWLCD3.js";var ke=M`
1
+ import{a as ue}from"./chunks/chunk-IJJ67C66.js";import{a as ce}from"./chunks/chunk-J3SZBXM6.js";import{a as he}from"./chunks/chunk-BRSNQMCD.js";import{d as te,e as re,f as oe,g as ie,h as ne,i as ae,j as se,k as le,l as de}from"./chunks/chunk-647ISUF4.js";import{a as b}from"./chunks/chunk-22D3SRFR.js";import{a as B,c as R,d as ee,h as D,k as F,m as T,n as L,p as E,q as W,s as V}from"./chunks/chunk-MJ4RDZLL.js";import{a as k}from"./chunks/chunk-PD62MBOJ.js";import{b as Z}from"./chunks/chunk-BKZGTCMF.js";import{a as f}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as h,f as Q,h as M,j as g,k as H,l as U,p as d,u as J}from"./chunks/chunk-YITWLCD3.js";var ke=M`
2
2
  :host {
3
3
  display: block;
4
4
  box-sizing: border-box;
@@ -741,4 +741,4 @@ import{a as ce}from"./chunks/chunk-QZ5SHR3I.js";import{a as ue}from"./chunks/chu
741
741
  </button>
742
742
  `})}
743
743
  </div>
744
- `}};u.styles=[pe,ve,me,ge],h([g({attribute:!1})],u.prototype,"events",2),h([g({reflect:!0})],u.prototype,"view",2),h([g({attribute:!1})],u.prototype,"displayedDate",2),h([g({type:Number,attribute:"week-starts-on"})],u.prototype,"weekStartsOn",2),h([g({type:Number,attribute:"day-start-hour"})],u.prototype,"dayStartHour",2),h([g({type:Number,attribute:"day-end-hour"})],u.prototype,"dayEndHour",2),h([g({type:Number,attribute:"slot-duration"})],u.prototype,"slotDuration",2),h([g()],u.prototype,"locale",2),h([g({type:Boolean,reflect:!0})],u.prototype,"readonly",2),h([g({type:Boolean,reflect:!0,attribute:"no-animation"})],u.prototype,"noAnimation",2),h([g({attribute:"more-events-label"})],u.prototype,"moreEventsLabel",2),h([g({attribute:"event-appearance"})],u.prototype,"eventAppearance",2),h([H()],u.prototype,"focusedDate",2),h([H()],u.prototype,"selectedWeekDay",2),h([H()],u.prototype,"swipeDirection",2),h([H()],u.prototype,"isMobile",2),h([H()],u.prototype,"draggingEventId",2),h([U("#drag-ghost-layer")],u.prototype,"dragGhostLayerEl",2),h([H()],u.prototype,"monthMaxEventsPerCell",2),u=h([Q(ze)],u);export{u as EunomiaCalendar,ze as EunomiaCalendarTagName};
744
+ `}};u.styles=[pe,ve,me,ge],h([g({attribute:!1})],u.prototype,"events",2),h([g({reflect:!0,useDefault:!0})],u.prototype,"view",2),h([g({attribute:!1})],u.prototype,"displayedDate",2),h([g({type:Number,attribute:"week-starts-on"})],u.prototype,"weekStartsOn",2),h([g({type:Number,attribute:"day-start-hour"})],u.prototype,"dayStartHour",2),h([g({type:Number,attribute:"day-end-hour"})],u.prototype,"dayEndHour",2),h([g({type:Number,attribute:"slot-duration"})],u.prototype,"slotDuration",2),h([g()],u.prototype,"locale",2),h([g({type:Boolean,reflect:!0})],u.prototype,"readonly",2),h([g({type:Boolean,reflect:!0,attribute:"no-animation"})],u.prototype,"noAnimation",2),h([g({attribute:"more-events-label"})],u.prototype,"moreEventsLabel",2),h([g({attribute:"event-appearance"})],u.prototype,"eventAppearance",2),h([H()],u.prototype,"focusedDate",2),h([H()],u.prototype,"selectedWeekDay",2),h([H()],u.prototype,"swipeDirection",2),h([H()],u.prototype,"isMobile",2),h([H()],u.prototype,"draggingEventId",2),h([U("#drag-ghost-layer")],u.prototype,"dragGhostLayerEl",2),h([H()],u.prototype,"monthMaxEventsPerCell",2),u=h([Q(ze)],u);export{u as EunomiaCalendar,ze as EunomiaCalendarTagName};
@@ -1,4 +1,4 @@
1
- import{a as f,b as h}from"./chunks/chunk-XDPRWUKN.js";import{a as p}from"./chunks/chunk-3MTUVMM5.js";import{b as v}from"./chunks/chunk-5GKM5DIB.js";import{a as u}from"./chunks/chunk-PPCHQG7P.js";import"./chunks/chunk-LMVW522V.js";import"./chunks/chunk-KSZRQRN4.js";import{a as o,b as d,c as n,f as s,h as i,j as c,p as t,u as l}from"./chunks/chunk-YITWLCD3.js";var m=i`
1
+ import{a as f,b as h}from"./chunks/chunk-MQQJ6DID.js";import{a as p}from"./chunks/chunk-3MTUVMM5.js";import{b as v}from"./chunks/chunk-5GKM5DIB.js";import{a as u}from"./chunks/chunk-PPCHQG7P.js";import"./chunks/chunk-62RLISRD.js";import"./chunks/chunk-QL5GSW2A.js";import{a as o,b as d,c as n,f as s,h as i,j as c,p as t,u as l}from"./chunks/chunk-YITWLCD3.js";var m=i`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;
@@ -78,8 +78,8 @@ import{a as f,b as h}from"./chunks/chunk-XDPRWUKN.js";import{a as p}from"./chunk
78
78
  --_hoverBorderDefault: var(--eun-color-primary-500, #3d6fff);
79
79
  }
80
80
 
81
- :host([appearance="default"]) #card:hover,
82
- :host([appearance="default"]) #card:focus-visible {
81
+ :host(:is([appearance="default"], :not([appearance]))) #card:hover,
82
+ :host(:is([appearance="default"], :not([appearance]))) #card:focus-visible {
83
83
  transform: var(--card-hover-transform, var(--_hoverLift));
84
84
  background: var(
85
85
  --card-hover-background,
@@ -184,4 +184,4 @@ import{a as f,b as h}from"./chunks/chunk-XDPRWUKN.js";import{a as p}from"./chunk
184
184
  class=${u(this.hasSlottedAnchor?"slotted-link":void 0)}
185
185
  >
186
186
  ${a}
187
- </div>`}};e=new WeakMap,r.styles=[b,h],o([c({reflect:!0})],r.prototype,"appearance",2),r=o([s(x)],r);export{r as EunomiaCard,x as EunomiaCardTagName};
187
+ </div>`}};e=new WeakMap,r.styles=[b,h],o([c({reflect:!0,useDefault:!0})],r.prototype,"appearance",2),r=o([s(x)],r);export{r as EunomiaCard,x as EunomiaCardTagName};
@@ -1,4 +1,4 @@
1
- import{a as C}from"./chunks/chunk-SD2H5UDZ.js";import{a as x}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as T}from"./chunks/chunk-LMVW522V.js";import"./chunks/chunk-KSZRQRN4.js";import{a as r,f as w,h as S,j as s,k as o,l as g,n as I,p as u,r as d,u as P}from"./chunks/chunk-YITWLCD3.js";var f=class y extends Event{static{this.eventName="eunslidechange"}constructor(b){super(y.eventName,{bubbles:!0,composed:!1}),this.index=b.index,this.count=b.count}};var $=S`
1
+ import{a as E}from"./chunks/chunk-SD2H5UDZ.js";import{a as k}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as $}from"./chunks/chunk-62RLISRD.js";import"./chunks/chunk-QL5GSW2A.js";import{a,f as T,h as R,j as i,k as l,l as y,n as C,p as u,r as d,u as A}from"./chunks/chunk-YITWLCD3.js";var m=class w extends Event{static{this.eventName="eunslidechange"}constructor(g){super(w.eventName,{bubbles:!0,composed:!1}),this.index=g.index,this.count=g.count}};var B=R`
2
2
  :host {
3
3
  display: block;
4
4
  --_visibleCount: 1;
@@ -238,11 +238,14 @@ import{a as C}from"./chunks/chunk-SD2H5UDZ.js";import{a as x}from"./chunks/chunk
238
238
  .nav eun-icon {
239
239
  pointer-events: none;
240
240
  }
241
+ :host(:dir(rtl)) .nav eun-icon {
242
+ transform: scaleX(-1);
243
+ }
241
244
  #prev {
242
- left: var(--eun-space-s, 8px);
245
+ inset-inline-start: var(--eun-space-s, 8px);
243
246
  }
244
247
  #next {
245
- right: var(--eun-space-s, 8px);
248
+ inset-inline-end: var(--eun-space-s, 8px);
246
249
  }
247
250
  #viewport .nav {
248
251
  box-shadow: var(--carousel-nav-shadow, 0 2px 10px rgba(15, 23, 42, 0.18));
@@ -299,48 +302,48 @@ import{a as C}from"./chunks/chunk-SD2H5UDZ.js";import{a as x}from"./chunks/chunk
299
302
  transition: none;
300
303
  }
301
304
  }
302
- `,A=$;var L="eun-carousel",_="eun-carousel-active-slide",t=class extends T(P){constructor(){super(...arguments);this.layout="inline";this.navPlacement="end";this.responsiveBreakpoint=480;this.visibleSlides=1;this.fullSlides=!0;this.scrollStep=1;this.centerSnap=!1;this.edgeFade=!0;this.loop=!1;this.autoplay=!1;this.autoplayInterval=4e3;this.showArrows=!0;this.showDots=!0;this.currentIndex=0;this.slideCount=0;this.manuallyPaused=!1;this.announcement="";this.hasTitle=!1;this.narrow=!1;this.effectiveVisibleSlides=1;this.effectiveScrollStep=1;this.resizeObserver=new ResizeObserver(()=>{this.resizeRaf!==void 0&&cancelAnimationFrame(this.resizeRaf),this.resizeRaf=requestAnimationFrame(()=>{this.resizeRaf=void 0,this.syncCssOverrides(),this.updateFromScrollPosition(),this.updateCenterPadding(),this.updateNarrow()})});this.handleScroll=()=>{this.scrollRaf===void 0&&(this.scrollRaf=requestAnimationFrame(()=>{this.scrollRaf=void 0,this.updateFromScrollPosition()}))};this.scheduleAnnounce=C(()=>{this.announcement=this.buildAnnouncement(),this.dispatchEvent(new f({index:this.currentIndex,count:this.slideCount}))},200);this.maxIndex=0;this.handleTransientPause=()=>{this.stopAutoplay()};this.handleTransientResume=()=>{this.startAutoplay()}}connectedCallback(){super.connectedCallback?.(),this.addEventListener("mouseenter",this.handleTransientPause),this.addEventListener("mouseleave",this.handleTransientResume),this.addEventListener("focusin",this.handleTransientPause),this.addEventListener("focusout",this.handleTransientResume)}disconnectedCallback(){this.stopAutoplay(),this.resizeObserver.disconnect(),this.removeEventListener("mouseenter",this.handleTransientPause),this.removeEventListener("mouseleave",this.handleTransientResume),this.removeEventListener("focusin",this.handleTransientPause),this.removeEventListener("focusout",this.handleTransientResume),this.scrollRaf!==void 0&&cancelAnimationFrame(this.scrollRaf),this.resizeRaf!==void 0&&cancelAnimationFrame(this.resizeRaf),super.disconnectedCallback?.()}firstUpdated(e){super.firstUpdated(e),this.syncCssOverrides(),this.resizeObserver.observe(this)}updated(e){super.updated(e),e.has("visibleSlides")&&this.style.setProperty("--_visibleCount",String(Math.max(1,this.visibleSlides))),(e.has("visibleSlides")||e.has("scrollStep"))&&this.syncCssOverrides(),e.has("centerSnap")&&(this.style.setProperty("--_snapAlign",this.centerSnap?"center":"start"),this.updateCenterPadding(),this.updateFromScrollPosition()),e.has("autoplay")&&(this.autoplay?this.startAutoplay():this.stopAutoplay()),e.has("responsiveBreakpoint")&&this.updateNarrow()}previous(){this.step(-1)}next(){this.step(1)}goTo(e){this.goToIndex(e)}getCssPixelValue(e,a){let i=Number.parseFloat(getComputedStyle(this).getPropertyValue(e));return Number.isNaN(i)?a:i}getTrackInset(){return this.trackEl&&Number.parseFloat(getComputedStyle(this.trackEl).paddingLeft)||0}get pageCount(){return Math.ceil(this.maxIndex/this.effectiveScrollStep)+1}syncCssOverrides(){this.effectiveVisibleSlides=Math.max(1,Math.round(this.getCssPixelValue("--carousel-visible-slides",this.visibleSlides))),this.effectiveScrollStep=Math.max(1,Math.round(this.getCssPixelValue("--carousel-scroll-step",this.scrollStep)))}measureMaxIndex(){if(!this.trackEl||!this.slides.length)return 0;if(this.centerSnap)return this.slides.length-1;let e=this.trackEl,a=e.getBoundingClientRect(),i=Math.max(0,e.scrollWidth-e.clientWidth),n=this.getTrackInset(),l=0,h=1/0;return this.slides.forEach((m,p)=>{let v=m.getBoundingClientRect().left-a.left+e.scrollLeft-n,c=Math.abs(v-i);c<h&&(h=c,l=p)}),l}updateCenterPadding(){if(!this.centerSnap||!this.trackEl||!this.slides.length){this.style.setProperty("--_centerPadding","0px");return}let e=this.trackEl.clientWidth-2*this.getTrackInset(),a=this.slides[0].getBoundingClientRect().width,i=Math.max(0,(e-a)/2);this.style.setProperty("--_centerPadding",`${i}px`)}updateNarrow(){let e=this.getCssPixelValue("--carousel-responsive-breakpoint",this.responsiveBreakpoint);this.narrow=e>0&&this.getBoundingClientRect().width<e}handleSlotChange(){this.slideCount=this.slides.length,this.slides.forEach((e,a)=>{e.setAttribute("role","group"),e.setAttribute("aria-roledescription","slide"),e.setAttribute("aria-label",this.dictionary.carousel.ofTotal(a+1,this.slideCount))}),this.updateFromScrollPosition(),this.updateCenterPadding(),this.startAutoplay()}handleTitleSlotChange(){this.hasTitle=(this.titleSlotEl?.assignedNodes({flatten:!0}).length??0)>0}scrollBehavior(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"}goToIndex(e){if(!this.slides.length||!this.trackEl)return;let a=this.maxIndex,i=this.loop?(e%(a+1)+(a+1))%(a+1):Math.max(0,Math.min(e,a));if(!this.centerSnap&&i===a){this.trackEl.scrollTo({left:this.trackEl.scrollWidth-this.trackEl.clientWidth,behavior:this.scrollBehavior()});return}let n=this.slides[i];n&&n.scrollIntoView({behavior:this.scrollBehavior(),inline:this.centerSnap?"center":"start",block:"nearest"})}step(e){this.syncCssOverrides(),this.goToIndex(this.currentIndex+e*this.effectiveScrollStep)}startAutoplay(){this.autoplayTimer||!this.autoplay||this.manuallyPaused||this.maxIndex<=0||(this.autoplayTimer=setInterval(()=>this.step(1),this.autoplayInterval))}stopAutoplay(){clearInterval(this.autoplayTimer),this.autoplayTimer=void 0}pauseAutoplay(){this.manuallyPaused=!0,this.stopAutoplay()}resumeAutoplay(){this.manuallyPaused=!1,this.startAutoplay()}buildAnnouncement(){if(!this.slideCount)return"";let e=this.currentIndex+1,a=Math.max(1,Math.min(this.effectiveVisibleSlides,this.slideCount-this.currentIndex)),i=Math.min(e+a-1,this.slideCount);return i>e?`Showing slides ${e} to ${i} of ${this.slideCount}`:`Slide ${e} of ${this.slideCount}`}updateFromScrollPosition(){if(!this.trackEl||!this.slides.length)return;let e=this.trackEl.getBoundingClientRect(),a=this.centerSnap?e.left+e.width/2:e.left+this.getTrackInset(),i=0,n=1/0;this.slides.forEach((p,v)=>{let c=p.getBoundingClientRect(),R=this.centerSnap?c.left+c.width/2:c.left,k=Math.abs(R-a);k<n&&(n=k,i=v)}),this.maxIndex=this.measureMaxIndex(),i=Math.min(i,this.maxIndex),this.slides.forEach((p,v)=>{p.classList.toggle(_,v===i)});let l=i!==this.currentIndex;this.currentIndex=i;let{scrollLeft:h}=this.trackEl,m=this.trackEl.scrollWidth-this.trackEl.clientWidth;this.style.setProperty("--_showLeftFade",h>1?"1":"0"),this.style.setProperty("--_showRightFade",h<m-1?"1":"0"),l&&this.scheduleAnnounce()}handleKeydown(e){switch(e.key){case"ArrowLeft":e.preventDefault(),this.previous();break;case"ArrowRight":e.preventDefault(),this.next();break;case"Home":e.preventDefault(),this.goToIndex(0);break;case"End":e.preventDefault(),this.goToIndex(this.maxIndex);break;default:break}}renderDots(){if(!this.showDots||this.pageCount<=1)return d;let e=this.effectiveScrollStep,a=Math.round(this.currentIndex/e);return u`
305
+ `,M=B;var L="eun-carousel",N="eun-carousel-active-slide",t=class extends $(A){constructor(){super(...arguments);this.layout="inline";this.navPlacement="end";this.responsiveBreakpoint=480;this.visibleSlides=1;this.fullSlides=!0;this.scrollStep=1;this.centerSnap=!1;this.edgeFade=!0;this.loop=!1;this.autoplay=!1;this.autoplayInterval=4e3;this.showArrows=!0;this.showDots=!0;this.currentIndex=0;this.slideCount=0;this.manuallyPaused=!1;this.announcement="";this.hasTitle=!1;this.narrow=!1;this.effectiveVisibleSlides=1;this.effectiveScrollStep=1;this.resizeObserver=new ResizeObserver(()=>{this.resizeRaf!==void 0&&cancelAnimationFrame(this.resizeRaf),this.resizeRaf=requestAnimationFrame(()=>{this.resizeRaf=void 0,this.syncCssOverrides(),this.updateFromScrollPosition(),this.updateCenterPadding(),this.updateNarrow()})});this.handleScroll=()=>{this.scrollRaf===void 0&&(this.scrollRaf=requestAnimationFrame(()=>{this.scrollRaf=void 0,this.updateFromScrollPosition()}))};this.scheduleAnnounce=E(()=>{this.announcement=this.buildAnnouncement(),this.dispatchEvent(new m({index:this.currentIndex,count:this.slideCount}))},200);this.maxIndex=0;this.handleTransientPause=()=>{this.stopAutoplay()};this.handleTransientResume=()=>{this.startAutoplay()}}connectedCallback(){super.connectedCallback?.(),this.addEventListener("mouseenter",this.handleTransientPause),this.addEventListener("mouseleave",this.handleTransientResume),this.addEventListener("focusin",this.handleTransientPause),this.addEventListener("focusout",this.handleTransientResume)}disconnectedCallback(){this.stopAutoplay(),this.resizeObserver.disconnect(),this.removeEventListener("mouseenter",this.handleTransientPause),this.removeEventListener("mouseleave",this.handleTransientResume),this.removeEventListener("focusin",this.handleTransientPause),this.removeEventListener("focusout",this.handleTransientResume),this.scrollRaf!==void 0&&cancelAnimationFrame(this.scrollRaf),this.resizeRaf!==void 0&&cancelAnimationFrame(this.resizeRaf),super.disconnectedCallback?.()}firstUpdated(e){super.firstUpdated(e),this.syncCssOverrides(),this.resizeObserver.observe(this)}updated(e){super.updated(e),e.has("visibleSlides")&&this.style.setProperty("--_visibleCount",String(Math.max(1,this.visibleSlides))),(e.has("visibleSlides")||e.has("scrollStep"))&&this.syncCssOverrides(),e.has("centerSnap")&&(this.style.setProperty("--_snapAlign",this.centerSnap?"center":"start"),this.updateCenterPadding(),this.updateFromScrollPosition()),e.has("autoplay")&&(this.autoplay?this.startAutoplay():this.stopAutoplay()),e.has("responsiveBreakpoint")&&this.updateNarrow()}previous(){this.step(-1)}next(){this.step(1)}goTo(e){this.goToIndex(e)}getCssPixelValue(e,r){let s=Number.parseFloat(getComputedStyle(this).getPropertyValue(e));return Number.isNaN(s)?r:s}getTrackInset(){return this.trackEl&&Number.parseFloat(getComputedStyle(this.trackEl).paddingLeft)||0}isRtl(){return!!this.trackEl&&getComputedStyle(this.trackEl).direction==="rtl"}getScrollProgress(){return this.trackEl?Math.abs(this.trackEl.scrollLeft):0}getInlineStartOffset(e,r){return this.isRtl()?r.right-e.right:e.left-r.left}get pageCount(){return Math.ceil(this.maxIndex/this.effectiveScrollStep)+1}syncCssOverrides(){this.effectiveVisibleSlides=Math.max(1,Math.round(this.getCssPixelValue("--carousel-visible-slides",this.visibleSlides))),this.effectiveScrollStep=Math.max(1,Math.round(this.getCssPixelValue("--carousel-scroll-step",this.scrollStep)))}measureMaxIndex(){if(!this.trackEl||!this.slides.length)return 0;if(this.centerSnap)return this.slides.length-1;let e=this.trackEl,r=e.getBoundingClientRect(),s=Math.max(0,e.scrollWidth-e.clientWidth),n=this.getScrollProgress(),o=this.getTrackInset(),h=0,p=1/0;return this.slides.forEach((v,f)=>{let b=this.getInlineStartOffset(v.getBoundingClientRect(),r)+n-o,c=Math.abs(b-s);c<p&&(p=c,h=f)}),h}updateCenterPadding(){if(!this.centerSnap||!this.trackEl||!this.slides.length){this.style.setProperty("--_centerPadding","0px");return}let e=this.trackEl.clientWidth-2*this.getTrackInset(),r=this.slides[0].getBoundingClientRect().width,s=Math.max(0,(e-r)/2);this.style.setProperty("--_centerPadding",`${s}px`)}updateNarrow(){let e=this.getCssPixelValue("--carousel-responsive-breakpoint",this.responsiveBreakpoint);this.narrow=e>0&&this.getBoundingClientRect().width<e}handleSlotChange(){this.slideCount=this.slides.length,this.slides.forEach((e,r)=>{e.setAttribute("role","group"),e.setAttribute("aria-roledescription","slide"),e.setAttribute("aria-label",this.dictionary.carousel.ofTotal(r+1,this.slideCount))}),this.updateFromScrollPosition(),this.updateCenterPadding(),this.startAutoplay()}handleTitleSlotChange(){this.hasTitle=(this.titleSlotEl?.assignedNodes({flatten:!0}).length??0)>0}scrollBehavior(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"}goToIndex(e){if(!this.slides.length||!this.trackEl)return;let r=this.maxIndex,s=this.loop?(e%(r+1)+(r+1))%(r+1):Math.max(0,Math.min(e,r));if(!this.centerSnap&&s===r){let o=this.trackEl.scrollWidth-this.trackEl.clientWidth;this.trackEl.scrollTo({left:this.isRtl()?-o:o,behavior:this.scrollBehavior()});return}let n=this.slides[s];n&&n.scrollIntoView({behavior:this.scrollBehavior(),inline:this.centerSnap?"center":"start",block:"nearest"})}step(e){this.syncCssOverrides(),this.goToIndex(this.currentIndex+e*this.effectiveScrollStep)}startAutoplay(){this.autoplayTimer||!this.autoplay||this.manuallyPaused||this.maxIndex<=0||(this.autoplayTimer=setInterval(()=>this.step(1),this.autoplayInterval))}stopAutoplay(){clearInterval(this.autoplayTimer),this.autoplayTimer=void 0}pauseAutoplay(){this.manuallyPaused=!0,this.stopAutoplay()}resumeAutoplay(){this.manuallyPaused=!1,this.startAutoplay()}buildAnnouncement(){if(!this.slideCount)return"";let e=this.currentIndex+1,r=Math.max(1,Math.min(this.effectiveVisibleSlides,this.slideCount-this.currentIndex)),s=Math.min(e+r-1,this.slideCount);return s>e?`Showing slides ${e} to ${s} of ${this.slideCount}`:`Slide ${e} of ${this.slideCount}`}updateFromScrollPosition(){if(!this.trackEl||!this.slides.length)return;let e=this.trackEl.getBoundingClientRect(),r=this.centerSnap?e.width/2:this.getTrackInset(),s=0,n=1/0;this.slides.forEach((c,x)=>{let S=c.getBoundingClientRect(),I=this.getInlineStartOffset(S,e),_=this.centerSnap?I+S.width/2:I,P=Math.abs(_-r);P<n&&(n=P,s=x)}),this.maxIndex=this.measureMaxIndex(),s=Math.min(s,this.maxIndex),this.slides.forEach((c,x)=>{c.classList.toggle(N,x===s)});let o=s!==this.currentIndex;this.currentIndex=s;let h=this.getScrollProgress(),p=this.trackEl.scrollWidth-this.trackEl.clientWidth,v=h>1?"1":"0",f=h<p-1?"1":"0",b=this.isRtl();this.style.setProperty("--_showLeftFade",b?f:v),this.style.setProperty("--_showRightFade",b?v:f),o&&this.scheduleAnnounce()}handleKeydown(e){switch(e.key){case"ArrowLeft":e.preventDefault(),this.isRtl()?this.next():this.previous();break;case"ArrowRight":e.preventDefault(),this.isRtl()?this.previous():this.next();break;case"Home":e.preventDefault(),this.goToIndex(0);break;case"End":e.preventDefault(),this.goToIndex(this.maxIndex);break;default:break}}renderDots(){if(!this.showDots||this.pageCount<=1)return d;let e=this.effectiveScrollStep,r=Math.round(this.currentIndex/e);return u`
303
306
  <div
304
307
  id="dots"
305
308
  role="group"
306
309
  aria-label=${this.dictionary.carousel.slideNavigation}
307
310
  >
308
- ${Array.from({length:this.pageCount},(i,n)=>{let l=n===a;return u`
311
+ ${Array.from({length:this.pageCount},(s,n)=>{let o=n===r;return u`
309
312
  <button
310
313
  type="button"
311
- class=${x({dot:!0})}
312
- aria-current=${l?"true":d}
314
+ class=${k({dot:!0})}
315
+ aria-current=${o?"true":d}
313
316
  aria-label=${this.dictionary.carousel.goToSlide(n*e+1,this.slideCount)}
314
317
  @click=${()=>this.goTo(n*e)}
315
318
  ></button>
316
319
  `})}
317
320
  </div>
318
- `}renderNavButton(e){let a=e==="prev",i=!this.loop&&(a?this.currentIndex<=0:this.currentIndex>=this.maxIndex);return u`
321
+ `}renderNavButton(e){let r=e==="prev",s=!this.loop&&(r?this.currentIndex<=0:this.currentIndex>=this.maxIndex);return u`
319
322
  <button
320
323
  type="button"
321
324
  id=${e}
322
325
  class="nav"
323
- aria-label=${a?this.ariaLabelPrevious??this.dictionary.carousel.previous:this.ariaLabelNext??this.dictionary.carousel.next}
326
+ aria-label=${r?this.previousLabel??this.dictionary.carousel.previous:this.nextLabel??this.dictionary.carousel.next}
324
327
  aria-controls="track"
325
- ?disabled=${i}
326
- @click=${()=>a?this.previous():this.next()}
328
+ ?disabled=${s}
329
+ @click=${()=>r?this.previous():this.next()}
327
330
  >
328
331
  <eun-icon
329
- name=${a?"chevron_left":"chevron_right"}
332
+ name=${r?"chevron_left":"chevron_right"}
330
333
  size=${this.getCssPixelValue("--carousel-nav-icon-size",20)}
331
334
  ></eun-icon>
332
335
  </button>
333
- `}render(){let e=this.showDots&&this.pageCount>1,a=this.layout==="header"||this.layout==="inline"&&this.narrow,i=this.showArrows&&a&&this.pageCount>1,n=this.showArrows&&!a&&this.pageCount>1;return u`
336
+ `}render(){let e=this.showDots&&this.pageCount>1,r=this.layout==="header"||this.layout==="inline"&&this.narrow,s=this.showArrows&&r&&this.pageCount>1,n=this.showArrows&&!r&&this.pageCount>1;return u`
334
337
  <div
335
338
  id="carousel-header"
336
- class=${x({"nav-start":i&&this.navPlacement==="start","nav-center":i&&this.navPlacement==="center"})}
337
- ?hidden=${!(this.hasTitle||i)}
339
+ class=${k({"nav-start":s&&this.navPlacement==="start","nav-center":s&&this.navPlacement==="center"})}
340
+ ?hidden=${!(this.hasTitle||s)}
338
341
  >
339
342
  <slot
340
343
  name="title"
341
344
  @slotchange=${()=>this.handleTitleSlotChange()}
342
345
  ></slot>
343
- ${i?u`
346
+ ${s?u`
344
347
  <div id="header-nav">
345
348
  ${this.renderNavButton("prev")} ${this.renderNavButton("next")}
346
349
  </div>
@@ -355,7 +358,7 @@ import{a as C}from"./chunks/chunk-SD2H5UDZ.js";import{a as x}from"./chunks/chunk
355
358
  aria-label=${this.ariaLabel||"Carousel"}
356
359
  tabindex="0"
357
360
  @scroll=${this.handleScroll}
358
- @keydown=${l=>this.handleKeydown(l)}
361
+ @keydown=${o=>this.handleKeydown(o)}
359
362
  >
360
363
  <slot @slotchange=${()=>this.handleSlotChange()}></slot>
361
364
  </div>
@@ -365,4 +368,4 @@ import{a as C}from"./chunks/chunk-SD2H5UDZ.js";import{a as x}from"./chunks/chunk
365
368
  <span class="sr-only" role="status" aria-live="polite"
366
369
  >${this.announcement}</span
367
370
  >
368
- `}};t.styles=A,r([s({reflect:!0})],t.prototype,"layout",2),r([s({reflect:!0,attribute:"nav-placement"})],t.prototype,"navPlacement",2),r([s({type:Number,attribute:"responsive-breakpoint"})],t.prototype,"responsiveBreakpoint",2),r([s({type:Number,attribute:"visible-slides"})],t.prototype,"visibleSlides",2),r([s({type:Boolean,reflect:!0,attribute:"full-slides"})],t.prototype,"fullSlides",2),r([s({type:Number,attribute:"scroll-step"})],t.prototype,"scrollStep",2),r([s({type:Boolean,reflect:!0,attribute:"center-snap"})],t.prototype,"centerSnap",2),r([s({type:Boolean,reflect:!0,attribute:"edge-fade"})],t.prototype,"edgeFade",2),r([s({type:Boolean,reflect:!0})],t.prototype,"loop",2),r([s({type:Boolean})],t.prototype,"autoplay",2),r([s({type:Number,attribute:"autoplay-interval"})],t.prototype,"autoplayInterval",2),r([s({type:Boolean,attribute:"show-arrows"})],t.prototype,"showArrows",2),r([s({type:Boolean,attribute:"show-dots"})],t.prototype,"showDots",2),r([s({attribute:"aria-label-previous"})],t.prototype,"ariaLabelPrevious",2),r([s({attribute:"aria-label-next"})],t.prototype,"ariaLabelNext",2),r([o()],t.prototype,"currentIndex",2),r([o()],t.prototype,"slideCount",2),r([o()],t.prototype,"manuallyPaused",2),r([o()],t.prototype,"announcement",2),r([o()],t.prototype,"hasTitle",2),r([o()],t.prototype,"narrow",2),r([o()],t.prototype,"effectiveVisibleSlides",2),r([o()],t.prototype,"effectiveScrollStep",2),r([g("#track")],t.prototype,"trackEl",2),r([g('slot[name="title"]')],t.prototype,"titleSlotEl",2),r([I()],t.prototype,"slides",2),r([o()],t.prototype,"maxIndex",2),t=r([w(L)],t);export{t as EunomiaCarousel,L as EunomiaCarouselTagName};
371
+ `}};t.styles=M,a([i({reflect:!0,useDefault:!0})],t.prototype,"layout",2),a([i({reflect:!0,attribute:"nav-placement",useDefault:!0})],t.prototype,"navPlacement",2),a([i({type:Number,attribute:"responsive-breakpoint"})],t.prototype,"responsiveBreakpoint",2),a([i({type:Number,attribute:"visible-slides"})],t.prototype,"visibleSlides",2),a([i({type:Boolean,reflect:!0,attribute:"full-slides"})],t.prototype,"fullSlides",2),a([i({type:Number,attribute:"scroll-step"})],t.prototype,"scrollStep",2),a([i({type:Boolean,reflect:!0,attribute:"center-snap"})],t.prototype,"centerSnap",2),a([i({type:Boolean,reflect:!0,attribute:"edge-fade"})],t.prototype,"edgeFade",2),a([i({type:Boolean,reflect:!0})],t.prototype,"loop",2),a([i({type:Boolean})],t.prototype,"autoplay",2),a([i({type:Number,attribute:"autoplay-interval"})],t.prototype,"autoplayInterval",2),a([i({type:Boolean,attribute:"show-arrows"})],t.prototype,"showArrows",2),a([i({type:Boolean,attribute:"show-dots"})],t.prototype,"showDots",2),a([i({attribute:"previous-label"})],t.prototype,"previousLabel",2),a([i({attribute:"next-label"})],t.prototype,"nextLabel",2),a([l()],t.prototype,"currentIndex",2),a([l()],t.prototype,"slideCount",2),a([l()],t.prototype,"manuallyPaused",2),a([l()],t.prototype,"announcement",2),a([l()],t.prototype,"hasTitle",2),a([l()],t.prototype,"narrow",2),a([l()],t.prototype,"effectiveVisibleSlides",2),a([l()],t.prototype,"effectiveScrollStep",2),a([y("#track")],t.prototype,"trackEl",2),a([y('slot[name="title"]')],t.prototype,"titleSlotEl",2),a([C()],t.prototype,"slides",2),a([l()],t.prototype,"maxIndex",2),t=a([T(L)],t);export{t as EunomiaCarousel,L as EunomiaCarouselTagName};
@@ -1,4 +1,4 @@
1
- import{a as u}from"./chunks/chunk-FOILAXLL.js";import{b as s}from"./chunks/chunk-MQQ4BGVJ.js";import"./chunks/chunk-A3X4KD2X.js";import{f as o}from"./chunks/chunk-VOTRXBDS.js";import"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-RS7TWEMQ.js";import{a as l}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import"./chunks/chunk-KSZRQRN4.js";import{a as e,f as c,h as n,j as d,n as i,p as a,r as t}from"./chunks/chunk-YITWLCD3.js";var v=n`
1
+ import{a as u}from"./chunks/chunk-FOILAXLL.js";import{b as s}from"./chunks/chunk-TFTRCIIK.js";import"./chunks/chunk-AK2DIJX7.js";import{f as o}from"./chunks/chunk-TLBXTBMM.js";import"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-3BMACIDO.js";import{a as l}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import"./chunks/chunk-QL5GSW2A.js";import{a as e,f as c,h as n,j as d,n as i,p as a,r as t}from"./chunks/chunk-YITWLCD3.js";var v=n`
2
2
  :host {
3
3
  --_borderWidth: var(--check-card-border-width, 1px);
4
4
  --_borderColor: var(