@eunomia/elements 1.0.0-beta.5 → 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 (516) hide show
  1. package/README.md +2 -2
  2. package/dist/breakpoints.d.ts +37 -10
  3. package/dist/breakpoints.js +38 -10
  4. package/dist/cdn/components/chunks/{chunk-MMLIPCOY.js → chunk-22D3SRFR.js} +1 -1
  5. package/dist/cdn/components/chunks/chunk-36KLGY6U.js +209 -0
  6. package/dist/cdn/components/chunks/chunk-3BMACIDO.js +1 -0
  7. package/dist/cdn/components/chunks/{chunk-IDKZKLJR.js → chunk-3PNGQEG4.js} +24 -11
  8. package/dist/cdn/components/chunks/{chunk-NBIENHLV.js → chunk-5XPOGBPL.js} +18 -18
  9. package/dist/cdn/components/chunks/chunk-624VJYNA.js +1 -0
  10. package/dist/cdn/components/chunks/chunk-62RLISRD.js +1 -0
  11. package/dist/cdn/components/chunks/{chunk-6ETDXUH2.js → chunk-6FYW5TQU.js} +7 -7
  12. package/dist/cdn/components/chunks/chunk-AK2DIJX7.js +1 -0
  13. package/dist/cdn/components/chunks/chunk-B5XMGWM7.js +10 -0
  14. package/dist/cdn/components/chunks/chunk-BKZGTCMF.js +1 -0
  15. package/dist/cdn/components/chunks/{chunk-GW3VP2L7.js → chunk-BO3JOEWM.js} +1 -1
  16. package/dist/cdn/components/chunks/chunk-BVASCT2V.js +109 -0
  17. package/dist/cdn/components/chunks/{chunk-DKOPI7QA.js → chunk-DGI7TKCU.js} +83 -68
  18. package/dist/cdn/components/chunks/chunk-EUWUDCBZ.js +1 -0
  19. package/dist/cdn/components/chunks/{chunk-P32B7BFD.js → chunk-FF3I7C3C.js} +15 -15
  20. package/dist/cdn/components/chunks/{chunk-74AOAB4X.js → chunk-FOILAXLL.js} +6 -5
  21. package/dist/cdn/components/chunks/{chunk-LGLQ36QB.js → chunk-GDBPWZN6.js} +1 -1
  22. package/dist/cdn/components/chunks/chunk-GVS6IUKC.js +1 -0
  23. package/dist/cdn/components/chunks/chunk-GWLD2I3P.js +8 -0
  24. package/dist/cdn/components/chunks/{chunk-JRGM3W7I.js → chunk-I4ERDXSM.js} +9 -4
  25. package/dist/cdn/components/chunks/{chunk-AIS3UICU.js → chunk-J3SZBXM6.js} +11 -7
  26. package/dist/cdn/components/chunks/{chunk-5XJGYXW7.js → chunk-LVKMAHMU.js} +11 -1
  27. package/dist/cdn/components/chunks/{chunk-SD2WHGPF.js → chunk-MQQJ6DID.js} +1 -1
  28. package/dist/cdn/components/chunks/{chunk-A4EQSU36.js → chunk-O7PHBLH2.js} +1 -1
  29. package/dist/cdn/components/chunks/chunk-PD62MBOJ.js +1 -0
  30. package/dist/cdn/components/chunks/{chunk-5EVP7YNE.js → chunk-PPCHQG7P.js} +1 -1
  31. package/dist/cdn/components/chunks/{chunk-MPQP4R54.js → chunk-PXF554MD.js} +10 -9
  32. package/dist/cdn/components/chunks/chunk-QL5GSW2A.js +1 -0
  33. package/dist/cdn/components/chunks/{chunk-5XJLIHAU.js → chunk-QXQ25SQS.js} +24 -20
  34. package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
  35. package/dist/cdn/components/chunks/{chunk-PED5ATYN.js → chunk-SVGWCKWT.js} +2 -2
  36. package/dist/cdn/components/chunks/{chunk-2XASWWKR.js → chunk-TFTRCIIK.js} +9 -8
  37. package/dist/cdn/components/chunks/chunk-TLBXTBMM.js +46 -0
  38. package/dist/cdn/components/chunks/chunk-UVHVQRPT.js +1 -0
  39. package/dist/cdn/components/chunks/{chunk-L65WUTXM.js → chunk-UYZR4JXZ.js} +12 -7
  40. package/dist/cdn/components/chunks/chunk-VG6NAAIV.js +1 -0
  41. package/dist/cdn/components/chunks/chunk-VJCNHMQZ.js +10 -0
  42. package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +1 -0
  43. package/dist/cdn/components/chunks/{chunk-XH6NREVZ.js → chunk-YITWLCD3.js} +1 -1
  44. package/dist/cdn/components/chunks/{chunk-OW7XKDCH.js → chunk-Z3OFIE7S.js} +16 -16
  45. package/dist/cdn/components/chunks/{chunk-BQHYZB2W.js → chunk-ZBN4HTWP.js} +1 -1
  46. package/dist/cdn/components/eun-alert.js +33 -18
  47. package/dist/cdn/components/eun-animate.js +14 -10
  48. package/dist/cdn/components/eun-badge.js +2 -2
  49. package/dist/cdn/components/eun-breadcrumb.js +25 -41
  50. package/dist/cdn/components/eun-button.js +1 -1
  51. package/dist/cdn/components/eun-calendar.js +67 -65
  52. package/dist/cdn/components/eun-card.js +34 -19
  53. package/dist/cdn/components/eun-carousel.js +76 -42
  54. package/dist/cdn/components/eun-check-card.js +13 -6
  55. package/dist/cdn/components/eun-checkbox-list.js +11 -8
  56. package/dist/cdn/components/eun-checkbox.js +1 -1
  57. package/dist/cdn/components/eun-chip.js +3 -3
  58. package/dist/cdn/components/eun-collapse.js +56 -27
  59. package/dist/cdn/components/eun-color-picker.js +79 -86
  60. package/dist/cdn/components/eun-counter.js +16 -15
  61. package/dist/cdn/components/eun-date-picker.js +71 -67
  62. package/dist/cdn/components/eun-description-list.js +152 -0
  63. package/dist/cdn/components/eun-divider.js +3 -3
  64. package/dist/cdn/components/eun-drawer.js +34 -20
  65. package/dist/cdn/components/eun-dropdown-button.js +1 -1
  66. package/dist/cdn/components/eun-dropdown-item.js +6 -5
  67. package/dist/cdn/components/eun-fab.js +17 -16
  68. package/dist/cdn/components/eun-icon.js +1 -1
  69. package/dist/cdn/components/eun-image-card.js +79 -22
  70. package/dist/cdn/components/eun-image-carousel.js +92 -47
  71. package/dist/cdn/components/eun-infinite-list.js +23 -11
  72. package/dist/cdn/components/eun-input-file.js +20 -19
  73. package/dist/cdn/components/eun-input-phone.js +17 -16
  74. package/dist/cdn/components/eun-input.js +1 -1
  75. package/dist/cdn/components/eun-label.js +4 -4
  76. package/dist/cdn/components/eun-link.js +78 -29
  77. package/dist/cdn/components/eun-loader.js +1 -1
  78. package/dist/cdn/components/eun-modal.js +27 -20
  79. package/dist/cdn/components/eun-pagination.js +24 -19
  80. package/dist/cdn/components/eun-password-strength.js +19 -11
  81. package/dist/cdn/components/eun-progress-bar.js +13 -5
  82. package/dist/cdn/components/eun-radio-card.js +16 -9
  83. package/dist/cdn/components/eun-radio-list.js +12 -9
  84. package/dist/cdn/components/eun-radio.js +1 -1
  85. package/dist/cdn/components/eun-rating.js +276 -0
  86. package/dist/cdn/components/eun-scheduler-event-editor.js +10 -10
  87. package/dist/cdn/components/eun-scheduler-event.js +1 -1
  88. package/dist/cdn/components/eun-scheduler.js +27 -27
  89. package/dist/cdn/components/eun-search.js +24 -25
  90. package/dist/cdn/components/eun-select.js +32 -31
  91. package/dist/cdn/components/eun-sidebar.js +40 -24
  92. package/dist/cdn/components/eun-skeleton.js +1 -1
  93. package/dist/cdn/components/eun-slider.js +15 -14
  94. package/dist/cdn/components/eun-sliding-card.js +8 -4
  95. package/dist/cdn/components/eun-step.js +22 -10
  96. package/dist/cdn/components/eun-stepper.js +41 -30
  97. package/dist/cdn/components/eun-switch.js +10 -8
  98. package/dist/cdn/components/eun-tab-group.js +24 -19
  99. package/dist/cdn/components/eun-tab-panel.js +11 -3
  100. package/dist/cdn/components/eun-tab.js +1 -1
  101. package/dist/cdn/components/eun-table-action-bar.js +1 -1
  102. package/dist/cdn/components/eun-table.js +572 -31
  103. package/dist/cdn/components/eun-tag.js +13 -7
  104. package/dist/cdn/components/eun-textarea.js +34 -29
  105. package/dist/cdn/components/eun-time-picker.js +24 -21
  106. package/dist/cdn/components/eun-toast.js +51 -22
  107. package/dist/cdn/components/eun-toggle-group.js +57 -36
  108. package/dist/cdn/components/eun-toggle-item.js +16 -15
  109. package/dist/cdn/components/eun-toggle.js +12 -10
  110. package/dist/cdn/components/eun-toolbar.js +64 -54
  111. package/dist/cdn/components/eun-tooltip.js +30 -14
  112. package/dist/cdn/styles/breakpoints.scss +8 -0
  113. package/dist/cdn/styles/eunomia-grid.scss +6 -0
  114. package/dist/cdn/styles/eunomia-themes.css +1 -1
  115. package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
  116. package/dist/cdn/styles/themes/eunomia-theme.scss +4 -3
  117. package/dist/cdn/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
  118. package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
  119. package/dist/cdn/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
  120. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
  121. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
  122. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
  123. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
  124. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
  125. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
  126. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
  127. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
  128. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
  129. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
  130. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
  131. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
  132. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
  133. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
  134. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
  135. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
  136. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
  137. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
  138. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
  139. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
  140. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
  141. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
  142. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
  143. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
  144. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
  145. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
  146. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
  147. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
  148. package/dist/cdn/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
  149. package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  150. package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
  151. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
  152. package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
  153. package/dist/cdn/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
  154. package/dist/cdn/styles/tools/variables/eunomia.breakpoints.scss +4 -0
  155. package/dist/components/action/button/button.d.ts +9 -3
  156. package/dist/components/action/button/button.js +10 -4
  157. package/dist/components/action/button/button.styles.js +61 -41
  158. package/dist/components/action/dropdown-button/dropdown-button.d.ts +2 -2
  159. package/dist/components/action/dropdown-button/dropdown-button.js +21 -15
  160. package/dist/components/action/dropdown-button/dropdown-button.styles.js +3 -2
  161. package/dist/components/action/dropdown-button/dropdown-item.js +5 -6
  162. package/dist/components/action/dropdown-button/dropdown-item.styles.js +3 -2
  163. package/dist/components/action/fab/fab.styles.js +14 -13
  164. package/dist/components/action/link/link.d.ts +7 -3
  165. package/dist/components/action/link/link.js +11 -7
  166. package/dist/components/action/link/link.styles.js +66 -15
  167. package/dist/components/action/shared-styles/button-palette.styles.js +15 -15
  168. package/dist/components/action/toggle/toggle-group.d.ts +2 -0
  169. package/dist/components/action/toggle/toggle-group.js +6 -4
  170. package/dist/components/action/toggle/toggle-group.styles.d.ts +2 -0
  171. package/dist/components/action/toggle/toggle-group.styles.js +46 -23
  172. package/dist/components/action/toggle/toggle-item.styles.js +13 -12
  173. package/dist/components/action/toggle/toggle.d.ts +2 -0
  174. package/dist/components/action/toggle/toggle.js +3 -1
  175. package/dist/components/action/toggle/toggle.styles.d.ts +2 -0
  176. package/dist/components/action/toggle/toggle.styles.js +12 -8
  177. package/dist/components/alert/alert/alert.d.ts +11 -7
  178. package/dist/components/alert/alert/alert.js +13 -14
  179. package/dist/components/alert/alert/alert.styles.js +32 -15
  180. package/dist/components/alert/drawer/drawer.d.ts +8 -6
  181. package/dist/components/alert/drawer/drawer.js +12 -14
  182. package/dist/components/alert/drawer/drawer.styles.js +26 -10
  183. package/dist/components/alert/modal/modal.d.ts +13 -11
  184. package/dist/components/alert/modal/modal.js +17 -27
  185. package/dist/components/alert/modal/modal.styles.js +16 -7
  186. package/dist/components/alert/toast/toast.d.ts +9 -5
  187. package/dist/components/alert/toast/toast.js +11 -13
  188. package/dist/components/alert/toast/toast.styles.js +49 -18
  189. package/dist/components/content/badge/badge.js +2 -2
  190. package/dist/components/content/card/card.d.ts +7 -3
  191. package/dist/components/content/card/card.js +8 -4
  192. package/dist/components/content/card/card.styles.js +28 -13
  193. package/dist/components/content/card/image-card.d.ts +60 -6
  194. package/dist/components/content/card/image-card.js +120 -11
  195. package/dist/components/content/card/image-card.styles.js +66 -15
  196. package/dist/components/content/card/sliding-card.d.ts +2 -0
  197. package/dist/components/content/card/sliding-card.js +2 -0
  198. package/dist/components/content/card/sliding-card.styles.js +5 -1
  199. package/dist/components/content/chip/chip.d.ts +4 -4
  200. package/dist/components/content/chip/chip.js +8 -8
  201. package/dist/components/content/collapse/collapse.d.ts +10 -1
  202. package/dist/components/content/collapse/collapse.js +12 -2
  203. package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
  204. package/dist/components/content/collapse/collapse.styles.js +56 -18
  205. package/dist/components/content/description-list/description-list.d.ts +87 -0
  206. package/dist/components/content/description-list/description-list.js +107 -0
  207. package/dist/components/content/description-list/description-list.styles.d.ts +1 -0
  208. package/dist/components/content/description-list/description-list.styles.js +185 -0
  209. package/dist/components/content/icon/icon.d.ts +5 -0
  210. package/dist/components/content/icon/icon.js +5 -0
  211. package/dist/components/content/icon/icon.style.d.ts +2 -0
  212. package/dist/components/content/icon/icon.style.js +8 -1
  213. package/dist/components/content/image-carousel/image-carousel.d.ts +30 -19
  214. package/dist/components/content/image-carousel/image-carousel.js +58 -55
  215. package/dist/components/content/image-carousel/image-carousel.styles.js +69 -30
  216. package/dist/components/content/password-strength/password-strength.d.ts +21 -6
  217. package/dist/components/content/password-strength/password-strength.js +37 -16
  218. package/dist/components/content/password-strength/password-strength.styles.js +9 -1
  219. package/dist/components/content/progress-bar/progress-bar.styles.js +12 -4
  220. package/dist/components/content/shared-styles/card-link.styles.js +4 -3
  221. package/dist/components/content/shared-styles/tone-surface.styles.d.ts +5 -0
  222. package/dist/components/content/shared-styles/tone-surface.styles.js +19 -14
  223. package/dist/components/content/tag/tag.d.ts +4 -0
  224. package/dist/components/content/tag/tag.js +6 -2
  225. package/dist/components/content/tag/tag.styles.js +14 -4
  226. package/dist/components/content/tooltip/tooltip.d.ts +3 -2
  227. package/dist/components/content/tooltip/tooltip.js +12 -19
  228. package/dist/components/content/tooltip/tooltip.styles.js +25 -7
  229. package/dist/components/form/checkbox/check-card.d.ts +5 -1
  230. package/dist/components/form/checkbox/check-card.js +5 -1
  231. package/dist/components/form/checkbox/check-card.styles.js +13 -4
  232. package/dist/components/form/checkbox/checkbox-list.d.ts +21 -1
  233. package/dist/components/form/checkbox/checkbox-list.js +50 -17
  234. package/dist/components/form/checkbox/checkbox.d.ts +5 -1
  235. package/dist/components/form/checkbox/checkbox.js +7 -2
  236. package/dist/components/form/checkbox/checkbox.styles.js +5 -4
  237. package/dist/components/form/color-picker/color-picker.d.ts +48 -29
  238. package/dist/components/form/color-picker/color-picker.js +85 -71
  239. package/dist/components/form/color-picker/color-picker.styles.js +7 -6
  240. package/dist/components/form/counter/counter.d.ts +26 -19
  241. package/dist/components/form/counter/counter.js +64 -63
  242. package/dist/components/form/counter/counter.styles.js +5 -4
  243. package/dist/components/form/date-picker/date-picker.d.ts +64 -39
  244. package/dist/components/form/date-picker/date-picker.js +107 -96
  245. package/dist/components/form/date-picker/date-picker.styles.js +8 -5
  246. package/dist/components/form/input/input.d.ts +45 -40
  247. package/dist/components/form/input/input.js +93 -111
  248. package/dist/components/form/input-file/input-file.d.ts +30 -14
  249. package/dist/components/form/input-file/input-file.js +43 -40
  250. package/dist/components/form/input-file/input-file.styles.js +7 -6
  251. package/dist/components/form/input-phone/input-phone.d.ts +30 -7
  252. package/dist/components/form/input-phone/input-phone.js +54 -30
  253. package/dist/components/form/input-phone/input-phone.styles.js +4 -4
  254. package/dist/components/form/label/label.styles.js +3 -3
  255. package/dist/components/form/radio/radio-card.d.ts +6 -2
  256. package/dist/components/form/radio/radio-card.js +6 -2
  257. package/dist/components/form/radio/radio-card.styles.js +14 -5
  258. package/dist/components/form/radio/radio-list.d.ts +28 -9
  259. package/dist/components/form/radio/radio-list.js +61 -32
  260. package/dist/components/form/radio/radio.d.ts +6 -2
  261. package/dist/components/form/radio/radio.js +6 -2
  262. package/dist/components/form/radio/radio.styles.js +4 -4
  263. package/dist/components/form/rating/rating.d.ts +349 -0
  264. package/dist/components/form/rating/rating.js +665 -0
  265. package/dist/components/form/rating/rating.styles.d.ts +1 -0
  266. package/dist/components/form/rating/rating.styles.js +213 -0
  267. package/dist/components/form/search/search.d.ts +10 -9
  268. package/dist/components/form/search/search.js +29 -56
  269. package/dist/components/form/search/search.styles.js +5 -4
  270. package/dist/components/form/select/select.d.ts +32 -12
  271. package/dist/components/form/select/select.js +74 -59
  272. package/dist/components/form/select/select.styles.js +3 -2
  273. package/dist/components/form/shared-styles/card.styles.js +5 -4
  274. package/dist/components/form/shared-styles/field.styles.js +16 -6
  275. package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
  276. package/dist/components/form/shared-styles/listbox.styles.js +10 -0
  277. package/dist/components/form/slider/slider.d.ts +11 -9
  278. package/dist/components/form/slider/slider.js +14 -14
  279. package/dist/components/form/slider/slider.styles.js +8 -7
  280. package/dist/components/form/switch/switch.d.ts +5 -1
  281. package/dist/components/form/switch/switch.js +5 -1
  282. package/dist/components/form/switch/switch.styles.js +7 -5
  283. package/dist/components/form/textarea/textarea.d.ts +96 -24
  284. package/dist/components/form/textarea/textarea.js +206 -51
  285. package/dist/components/form/time-picker/time-picker-columns.d.ts +2 -2
  286. package/dist/components/form/time-picker/time-picker-columns.js +8 -8
  287. package/dist/components/form/time-picker/time-picker-columns.styles.js +4 -2
  288. package/dist/components/form/time-picker/time-picker-list.styles.js +2 -1
  289. package/dist/components/form/time-picker/time-picker.d.ts +30 -10
  290. package/dist/components/form/time-picker/time-picker.js +81 -64
  291. package/dist/components/form/time-picker/time-picker.styles.js +4 -3
  292. package/dist/components/layout/animate/animate.d.ts +37 -15
  293. package/dist/components/layout/animate/animate.js +36 -16
  294. package/dist/components/layout/animate/animate.styles.js +11 -18
  295. package/dist/components/layout/divider/divider.js +1 -1
  296. package/dist/components/layout/divider/divider.styles.js +1 -1
  297. package/dist/components/layout/infinite-list/infinite-list.d.ts +33 -10
  298. package/dist/components/layout/infinite-list/infinite-list.js +115 -18
  299. package/dist/components/layout/infinite-list/infinite-list.styles.d.ts +3 -0
  300. package/dist/components/layout/infinite-list/infinite-list.styles.js +17 -5
  301. package/dist/components/loader/loader/loader.js +2 -2
  302. package/dist/components/loader/loader/loader.styles.js +17 -13
  303. package/dist/components/loader/skeleton/skeleton.js +1 -1
  304. package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +31 -45
  305. package/dist/components/navigation/breadcrumb/breadcrumb.js +111 -77
  306. package/dist/components/navigation/breadcrumb/breadcrumb.styles.d.ts +3 -0
  307. package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +22 -26
  308. package/dist/components/navigation/carousel/carousel.d.ts +55 -11
  309. package/dist/components/navigation/carousel/carousel.js +101 -43
  310. package/dist/components/navigation/carousel/carousel.styles.js +65 -22
  311. package/dist/components/navigation/pagination/pagination.d.ts +23 -21
  312. package/dist/components/navigation/pagination/pagination.js +30 -53
  313. package/dist/components/navigation/pagination/pagination.styles.js +8 -3
  314. package/dist/components/navigation/sidebar/sidebar.d.ts +17 -13
  315. package/dist/components/navigation/sidebar/sidebar.js +23 -33
  316. package/dist/components/navigation/sidebar/sidebar.styles.js +32 -14
  317. package/dist/components/navigation/stepper/step.js +9 -8
  318. package/dist/components/navigation/stepper/step.styles.js +16 -5
  319. package/dist/components/navigation/stepper/stepper.js +12 -5
  320. package/dist/components/navigation/stepper/stepper.styles.js +16 -5
  321. package/dist/components/navigation/tabs/tab/tab.d.ts +11 -0
  322. package/dist/components/navigation/tabs/tab/tab.js +11 -0
  323. package/dist/components/navigation/tabs/tab/tab.styles.js +22 -16
  324. package/dist/components/navigation/tabs/tab-group/tab-group.js +9 -10
  325. package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +21 -16
  326. package/dist/components/navigation/tabs/tab-panel/tab-panel.d.ts +4 -0
  327. package/dist/components/navigation/tabs/tab-panel/tab-panel.js +4 -0
  328. package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +18 -1
  329. package/dist/components/navigation/toolbar/toolbar.d.ts +30 -62
  330. package/dist/components/navigation/toolbar/toolbar.js +43 -105
  331. package/dist/components/navigation/toolbar/toolbar.styles.js +59 -36
  332. package/dist/events/table-row-click.event.d.ts +5 -4
  333. package/dist/events/table-row-click.event.js +10 -5
  334. package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
  335. package/dist/features/scheduler/calendar/calendar.js +7 -6
  336. package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
  337. package/dist/features/scheduler/scheduler/scheduler.d.ts +8 -8
  338. package/dist/features/scheduler/scheduler/scheduler.js +24 -47
  339. package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
  340. package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +2 -0
  341. package/dist/features/scheduler/scheduler-event/scheduler-event.js +5 -3
  342. package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +11 -5
  343. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +6 -4
  344. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +6 -7
  345. package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
  346. package/dist/features/scheduler/shared/scheduler-month-view.styles.js +2 -2
  347. package/dist/features/scheduler/shared/scheduler-year-view.styles.js +2 -2
  348. package/dist/features/table/table/table-native.styles.d.ts +28 -0
  349. package/dist/features/table/table/table-native.styles.js +502 -0
  350. package/dist/features/table/table/table.d.ts +342 -294
  351. package/dist/features/table/table/table.js +820 -546
  352. package/dist/features/table/table/table.styles.js +31 -17
  353. package/dist/features/table/table/table.types.d.ts +11 -20
  354. package/dist/features/table/table/table.utils.d.ts +6 -36
  355. package/dist/features/table/table/table.utils.js +16 -65
  356. package/dist/features/table/table-action-bar/table-action-bar.d.ts +33 -16
  357. package/dist/features/table/table-action-bar/table-action-bar.js +15 -22
  358. package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
  359. package/dist/i18n/en.d.ts +99 -0
  360. package/dist/i18n/en.js +99 -0
  361. package/dist/i18n/fr.js +103 -2
  362. package/dist/index.d.ts +6 -10
  363. package/dist/index.js +7 -10
  364. package/dist/mixins/button.mixin.js +3 -2
  365. package/dist/mixins/check.mixin.js +15 -15
  366. package/dist/mixins/disabled.mixin.d.ts +5 -0
  367. package/dist/mixins/disabled.mixin.js +21 -1
  368. package/dist/mixins/editable.mixin.js +28 -5
  369. package/dist/mixins/field-appearance.mixin.js +3 -2
  370. package/dist/mixins/form.mixin.d.ts +21 -1
  371. package/dist/mixins/form.mixin.js +156 -27
  372. package/dist/mixins/localizable.mixin.d.ts +1 -1
  373. package/dist/mixins/localizable.mixin.js +1 -1
  374. package/dist/mixins/radio.mixin.js +15 -15
  375. package/dist/mixins/readonly.mixin.d.ts +2 -1
  376. package/dist/mixins/readonly.mixin.js +10 -3
  377. package/dist/mixins/validators.mixin.d.ts +7 -1
  378. package/dist/mixins/validators.mixin.js +36 -17
  379. package/dist/ssr/alert-ssr.css +187 -0
  380. package/dist/ssr/animate-ssr.css +3 -2
  381. package/dist/ssr/badge-ssr.css +67 -0
  382. package/dist/ssr/breadcrumb-ssr.css +41 -0
  383. package/dist/ssr/button-ssr.css +319 -0
  384. package/dist/ssr/card-ssr.css +196 -0
  385. package/dist/ssr/carousel-ssr.css +238 -0
  386. package/dist/ssr/checkbox-ssr.css +67 -0
  387. package/dist/ssr/chip-ssr.css +242 -0
  388. package/dist/ssr/collapse-ssr.css +151 -0
  389. package/dist/ssr/description-list-ssr.css +150 -0
  390. package/dist/ssr/field-ssr.css +163 -0
  391. package/dist/ssr/icon-ssr.css +266 -0
  392. package/dist/ssr/image-carousel-ssr.css +24 -0
  393. package/dist/ssr/links-ssr.css +8 -2
  394. package/dist/ssr/pagination-ssr.css +4 -0
  395. package/dist/ssr/rating-ssr.css +254 -0
  396. package/dist/ssr/sidebar-ssr.css +9 -1
  397. package/dist/ssr/skeleton-ssr.css +63 -0
  398. package/dist/ssr/table-ssr.css +472 -0
  399. package/dist/ssr/tabs-ssr.css +129 -0
  400. package/dist/ssr/tag-ssr.css +197 -0
  401. package/dist/ssr/toggle-group-ssr.css +182 -0
  402. package/dist/ssr/toolbar-ssr.css +34 -1
  403. package/dist/utils/drag-drop.utils.js +18 -2
  404. package/dist/utils/dropdown-menu.utils.d.ts +2 -2
  405. package/dist/utils/dropdown-menu.utils.js +4 -14
  406. package/dist/utils/implicit-submission.utils.d.ts +18 -0
  407. package/dist/utils/implicit-submission.utils.js +79 -0
  408. package/dist/utils/light-dom-styles.utils.d.ts +14 -0
  409. package/dist/utils/light-dom-styles.utils.js +37 -0
  410. package/dist/utils/listbox-options.utils.d.ts +11 -0
  411. package/dist/utils/listbox-options.utils.js +41 -3
  412. package/dist/utils/media.styles.d.ts +19 -0
  413. package/dist/utils/media.styles.js +23 -0
  414. package/dist/utils/motion.utils.d.ts +40 -0
  415. package/dist/utils/motion.utils.js +51 -0
  416. package/dist/utils/theme-generator.utils.d.ts +6 -1
  417. package/dist/utils/theme-generator.utils.js +59 -20
  418. package/package.json +39 -31
  419. package/styles/breakpoints.scss +8 -0
  420. package/styles/eunomia-grid.scss +6 -0
  421. package/styles/themes/eunomia-theme.scss +4 -3
  422. package/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
  423. package/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
  424. package/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
  425. package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
  426. package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
  427. package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
  428. package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
  429. package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
  430. package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
  431. package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
  432. package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
  433. package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
  434. package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
  435. package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
  436. package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
  437. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
  438. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
  439. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
  440. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
  441. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
  442. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
  443. package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
  444. package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
  445. package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
  446. package/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
  447. package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  448. package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
  449. package/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
  450. package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
  451. package/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
  452. package/styles/tools/variables/eunomia.breakpoints.scss +4 -0
  453. package/dist/cdn/components/chunks/chunk-32DTNR52.js +0 -1
  454. package/dist/cdn/components/chunks/chunk-A6KGFALA.js +0 -132
  455. package/dist/cdn/components/chunks/chunk-CEDHJUUH.js +0 -1
  456. package/dist/cdn/components/chunks/chunk-D2M4BV5Y.js +0 -328
  457. package/dist/cdn/components/chunks/chunk-E4IS25H7.js +0 -1
  458. package/dist/cdn/components/chunks/chunk-E74CM7UG.js +0 -66
  459. package/dist/cdn/components/chunks/chunk-EAKYD33D.js +0 -110
  460. package/dist/cdn/components/chunks/chunk-EST3M4AO.js +0 -1
  461. package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +0 -1
  462. package/dist/cdn/components/chunks/chunk-KBH5PCUO.js +0 -3
  463. package/dist/cdn/components/chunks/chunk-KVYUNKUO.js +0 -27
  464. package/dist/cdn/components/chunks/chunk-LFCXUVDO.js +0 -1
  465. package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +0 -38
  466. package/dist/cdn/components/chunks/chunk-PCM7D3YF.js +0 -84
  467. package/dist/cdn/components/chunks/chunk-S2UCEWNG.js +0 -207
  468. package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +0 -1
  469. package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
  470. package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
  471. package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
  472. package/dist/cdn/components/eun-breadcrumb-item.js +0 -93
  473. package/dist/cdn/components/eun-table-cell.js +0 -1
  474. package/dist/cdn/components/eun-table-column.js +0 -1
  475. package/dist/cdn/components/eun-table-header.js +0 -1
  476. package/dist/cdn/components/eun-table-item.js +0 -1
  477. package/dist/cdn/components/eun-table-skeleton-row.js +0 -1
  478. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
  479. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
  480. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
  481. package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +0 -77
  482. package/dist/components/navigation/breadcrumb/breadcrumb-item.js +0 -130
  483. package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.d.ts +0 -6
  484. package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +0 -78
  485. package/dist/features/table/native-table.css +0 -276
  486. package/dist/features/table/shared-styles/table-row.styles.d.ts +0 -7
  487. package/dist/features/table/shared-styles/table-row.styles.js +0 -47
  488. package/dist/features/table/shared-styles/table-shared.styles.d.ts +0 -23
  489. package/dist/features/table/shared-styles/table-shared.styles.js +0 -33
  490. package/dist/features/table/table-cell/table-cell.d.ts +0 -59
  491. package/dist/features/table/table-cell/table-cell.js +0 -73
  492. package/dist/features/table/table-cell/table-cell.styles.d.ts +0 -1
  493. package/dist/features/table/table-cell/table-cell.styles.js +0 -46
  494. package/dist/features/table/table-column/table-column.d.ts +0 -73
  495. package/dist/features/table/table-column/table-column.js +0 -89
  496. package/dist/features/table/table-column/table-column.styles.d.ts +0 -1
  497. package/dist/features/table/table-column/table-column.styles.js +0 -51
  498. package/dist/features/table/table-header/table-header.d.ts +0 -102
  499. package/dist/features/table/table-header/table-header.js +0 -165
  500. package/dist/features/table/table-header/table-header.styles.d.ts +0 -1
  501. package/dist/features/table/table-header/table-header.styles.js +0 -147
  502. package/dist/features/table/table-item/table-item.d.ts +0 -179
  503. package/dist/features/table/table-item/table-item.js +0 -291
  504. package/dist/features/table/table-item/table-item.styles.d.ts +0 -1
  505. package/dist/features/table/table-item/table-item.styles.js +0 -404
  506. package/dist/features/table/table-managed/table-managed.d.ts +0 -19
  507. package/dist/features/table/table-managed/table-managed.js +0 -128
  508. package/dist/features/table/table-skeleton-row/table-skeleton-row.d.ts +0 -46
  509. package/dist/features/table/table-skeleton-row/table-skeleton-row.js +0 -110
  510. package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.d.ts +0 -12
  511. package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +0 -65
  512. package/dist/mixins/table-row.mixin.d.ts +0 -37
  513. package/dist/mixins/table-row.mixin.js +0 -103
  514. package/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
  515. package/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
  516. package/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
package/README.md CHANGED
@@ -63,11 +63,11 @@ list is just the map.
63
63
  - **Form:** `checkbox`/`checkbox-list`/`check-card`, `switch`, `input`,
64
64
  `date-picker`, `time-picker`, `counter`, `input-phone`, `textarea`,
65
65
  `form-label`, `radio`/`radio-list`/`radio-card`, `search`, `select`,
66
- `input-file`, `slider`
66
+ `input-file`, `slider`, `rating`
67
67
  - **Layout:** `animate`, `infinite-list`, `divider`
68
68
  - **Loader:** `loader`, `skeleton`
69
69
  - **Navigation:** `tab-group`/`tab`/`tab-panel`, `carousel`,
70
- `breadcrumb`/`breadcrumb-item`, `pagination`, `stepper`/`step`,
70
+ `breadcrumb`, `pagination`, `stepper`/`step`,
71
71
  `toolbar`, `sidebar`
72
72
  - **Scheduler:** `scheduler`, `calendar`, `scheduler-event-card`,
73
73
  `scheduler-event-editor`
@@ -1,15 +1,21 @@
1
1
  /**
2
- * Pixel-width breakpoints shared by every component's responsive `@media`
3
- * rule, so a single set of numbers backs each layout switch in the library
4
- * instead of every component hand-picking its own threshold. Exported so
5
- * consumers can align their own layout code with the same switch points
6
- * the components themselves react to.
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
- * This scale is independent from the Sass breakpoints under
9
- * `styles/tools/variables/eunomia.breakpoints.scss` (used by the docs site
10
- * build) — the two happen to share the `768`/`1024`/`1280` steps, but this
11
- * one exists for a single component's own internal layout, not a whole
12
- * page grid.
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;
@@ -1,15 +1,21 @@
1
1
  /**
2
- * Pixel-width breakpoints shared by every component's responsive `@media`
3
- * rule, so a single set of numbers backs each layout switch in the library
4
- * instead of every component hand-picking its own threshold. Exported so
5
- * consumers can align their own layout code with the same switch points
6
- * the components themselves react to.
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
- * This scale is independent from the Sass breakpoints under
9
- * `styles/tools/variables/eunomia.breakpoints.scss` (used by the docs site
10
- * build) — the two happen to share the `768`/`1024`/`1280` steps, but this
11
- * one exists for a single component's own internal layout, not a whole
12
- * page grid.
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{o as i}from"./chunk-XH6NREVZ.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};
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:
@@ -0,0 +1,209 @@
1
+ import{a as I}from"./chunk-VJCNHMQZ.js";import{a as O}from"./chunk-SD2H5UDZ.js";import{a as L}from"./chunk-O7PHBLH2.js";import{a as _,b as T,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 M(e){let t=B(e);return{hour:e%12===0?12:e%12,period:t}}function $(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}=M(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:$(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 P(e){return String(e).padStart(2,"0")}function C(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(I(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 D=new WeakMap,U=T(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=D.get(t);r===void 0&&(r=new WeakMap,D.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"?D.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?M(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:P(u),selected:u===l.hour});let h=[];for(let u=0;u<60;u+=Math.max(1,s))h.push({value:u,text:C(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
+ <div
3
+ class="tp-columns"
4
+ role="group"
5
+ aria-label=${e.ariaLabelGroup??"Time"}
6
+ >
7
+ ${S({kind:"hour",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelHour??"Hour",incrementLabel:e.incrementLabel??"Increase hour",decrementLabel:e.decrementLabel??"Decrease hour",min:f,max:a,current:l.hour,valueText:P(l.hour),items:m,onStep:b,onPick:u=>e.onHourChange(r===12?$(u,l.period):u)})}
8
+ ${S({kind:"minute",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelMinute??"Minute",incrementLabel:e.incrementLabel??"Increase minute",decrementLabel:e.decrementLabel??"Decrease minute",min:0,max:59,current:o,valueText:C(o),items:h,onStep:Z,onPick:u=>e.onMinuteChange(u)})}
9
+ ${r===12?S({kind:"period",visual:t,disabled:c,noAnimation:d,label:e.ariaLabelPeriod??"AM/PM",incrementLabel:e.incrementLabel??"Toggle AM/PM",decrementLabel:e.decrementLabel??"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
+ </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,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
+ <div class="tp-column" data-kind=${t}>
13
+ <button
14
+ type="button"
15
+ class="tp-arrow tp-arrow-up"
16
+ tabindex="-1"
17
+ aria-label=${e.incrementLabel}
18
+ ?disabled=${n}
19
+ @click=${()=>l(1)}
20
+ >
21
+ <svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true">
22
+ <path d="M8 4l5 6H3z" fill="currentColor" />
23
+ </svg>
24
+ </button>
25
+ ${r==="wheel"?ee(e):p`
26
+ <div
27
+ class="tp-value"
28
+ role="spinbutton"
29
+ tabindex=${n?"-1":"0"}
30
+ aria-label=${o}
31
+ aria-valuemin=${i}
32
+ aria-valuemax=${s}
33
+ aria-valuenow=${c}
34
+ aria-valuetext=${d}
35
+ aria-disabled=${n?"true":"false"}
36
+ @keydown=${f}
37
+ >
38
+ ${d}
39
+ </div>
40
+ `}
41
+ <button
42
+ type="button"
43
+ class="tp-arrow tp-arrow-down"
44
+ tabindex="-1"
45
+ aria-label=${e.decrementLabel}
46
+ ?disabled=${n}
47
+ @click=${()=>l(-1)}
48
+ >
49
+ <svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true">
50
+ <path d="M3 6h10l-5 6z" fill="currentColor" />
51
+ </svg>
52
+ </button>
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,f=O(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
+ <div
56
+ class="tp-wheel"
57
+ role="spinbutton"
58
+ tabindex=${s?"-1":"0"}
59
+ aria-label=${i}
60
+ aria-valuemin=${t}
61
+ aria-valuemax=${r}
62
+ aria-valuenow=${n}
63
+ aria-valuetext=${o}
64
+ aria-disabled=${s?"true":"false"}
65
+ @keydown=${d}
66
+ @scroll=${f}
67
+ ${U(a=>{let m=e.items.findIndex(h=>h.selected);l=m===-1?void 0:m,te(a,m,c)})}
68
+ >
69
+ <div class="tp-wheel-pad" aria-hidden="true"></div>
70
+ ${e.items.map(a=>p`
71
+ <button
72
+ type="button"
73
+ class=${L({"tp-wheel-item":!0,selected:a.selected})}
74
+ tabindex="-1"
75
+ aria-hidden="true"
76
+ @click=${()=>e.onPick(a.value)}
77
+ >
78
+ ${a.text}
79
+ </button>
80
+ `)}
81
+ <div class="tp-wheel-pad" aria-hidden="true"></div>
82
+ </div>
83
+ `}function te(e,t,r){if(t===-1||!(e instanceof HTMLElement))return;let n=t*z;if(Math.abs(e.scrollTop-n)<1)return;let o=typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;e.scrollTo({top:n,behavior:r||o?"instant":"smooth"})}var re=A`
84
+ .tp-columns {
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ gap: var(--eun-space-m, 16px);
89
+ padding: var(--eun-space-m, 16px);
90
+ }
91
+ .tp-column {
92
+ display: flex;
93
+ flex-direction: column;
94
+ align-items: center;
95
+ gap: var(--eun-space-xs, 4px);
96
+ }
97
+ .tp-arrow {
98
+ display: flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+ border: none;
102
+ border-radius: var(--eun-border-radius-s, 5px);
103
+ background: none;
104
+ padding: var(--eun-space-xxs, 1.6px);
105
+ color: var(--_iconColor, var(--eun-text-secondary, #484e61));
106
+ cursor: pointer;
107
+ transition: background-color var(--eun-duration-s, 150ms)
108
+ var(--eun-easing-default, ease);
109
+ }
110
+ .tp-arrow:hover:not(:disabled) {
111
+ background-color: var(
112
+ --time-picker-hover-background,
113
+ var(--eun-content-hover, #edeff0)
114
+ );
115
+ }
116
+ .tp-arrow:disabled {
117
+ cursor: not-allowed;
118
+ opacity: 0.4;
119
+ }
120
+ .tp-value,
121
+ .tp-wheel {
122
+ display: flex;
123
+ align-items: center;
124
+ justify-content: center;
125
+ min-width: 48px;
126
+ font-size: var(--eun-font-size-l, 24px);
127
+ font-weight: var(--eun-font-weight-m, 600);
128
+ color: var(--_textColor, var(--eun-text-color, #071621));
129
+ font-variant-numeric: tabular-nums;
130
+ }
131
+ .tp-value {
132
+ padding: var(--eun-space-xs, 4px);
133
+ border-radius: var(--eun-border-radius-s, 5px);
134
+ outline: 2px solid transparent;
135
+ outline-offset: 2px;
136
+ cursor: default;
137
+ }
138
+ .tp-value:focus-visible {
139
+ outline-color: var(
140
+ --field-focus-outline-color,
141
+ var(--eun-color-primary-500, #3d6fff)
142
+ );
143
+ }
144
+ .tp-wheel {
145
+ flex-direction: column;
146
+ height: 120px;
147
+ width: 56px;
148
+ overflow-y: auto;
149
+ scroll-snap-type: y mandatory;
150
+ scrollbar-width: none;
151
+ outline: 2px solid transparent;
152
+ outline-offset: 2px;
153
+ border-radius: var(--eun-border-radius-s, 5px);
154
+ }
155
+ .tp-wheel::-webkit-scrollbar {
156
+ display: none;
157
+ }
158
+ .tp-wheel:focus-visible {
159
+ outline-color: var(
160
+ --field-focus-outline-color,
161
+ var(--eun-color-primary-500, #3d6fff)
162
+ );
163
+ }
164
+ .tp-wheel-pad {
165
+ flex: none;
166
+ height: 40px;
167
+ }
168
+ .tp-wheel-item {
169
+ flex: none;
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ height: 40px;
174
+ scroll-snap-align: center;
175
+ border: none;
176
+ background: none;
177
+ padding: 0;
178
+ color: var(--_placeholderColor, var(--eun-color-grey-400, #c1c9d6));
179
+ font: inherit;
180
+ cursor: pointer;
181
+ transition: color var(--eun-duration-s, 150ms)
182
+ var(--eun-easing-default, ease);
183
+ }
184
+ .tp-wheel-item.selected {
185
+ color: var(--_textColor, var(--eun-text-color, #071621));
186
+ font-weight: var(--eun-font-weight-l, 700);
187
+ }
188
+ @media (prefers-reduced-motion: reduce) {
189
+ .tp-wheel {
190
+ scroll-behavior: auto;
191
+ }
192
+ }
193
+ `,Ge=re;export{ne as a,M as b,$ 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};
194
+ /*! Bundled license information:
195
+
196
+ lit-html/async-directive.js:
197
+ (**
198
+ * @license
199
+ * Copyright 2017 Google LLC
200
+ * SPDX-License-Identifier: BSD-3-Clause
201
+ *)
202
+
203
+ lit-html/directives/ref.js:
204
+ (**
205
+ * @license
206
+ * Copyright 2020 Google LLC
207
+ * SPDX-License-Identifier: BSD-3-Clause
208
+ *)
209
+ */
@@ -0,0 +1 @@
1
+ import{a as i,j as r}from"./chunk-YITWLCD3.js";var l=s=>{class e extends s{constructor(){super(...arguments);this.disabled=!1}get hostTabStop(){return!0}updated(t){super.updated(t),t.has("disabled")&&(this.disabled?this.setAttribute("tabindex","-1"):this.hostTabStop?this.setAttribute("tabindex","0"):this.removeAttribute("tabindex"),this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}return i([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),e};export{l as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";import{a,f as u,g as p,h as i,n,p as c,s as m}from"./chunk-XH6NREVZ.js";var r=class d extends Event{static{this.eventName="euntableaction"}constructor(b,e){super(d.eventName,{bubbles:!0,composed:!1}),this.key=b,this.optionKey=e}};var v=p`
1
+ import{a as f}from"./chunk-PD62MBOJ.js";import{a as o}from"./chunk-PPCHQG7P.js";import{a as h}from"./chunk-62RLISRD.js";import{a,f as u,h as p,j as i,p as r,r as c,u as m}from"./chunk-YITWLCD3.js";var n=class d extends Event{static{this.eventName="euntableaction"}constructor(b,e){super(d.eventName,{bubbles:!0,composed:!1}),this.key=b,this.optionKey=e}};var g=p`
2
2
  :host {
3
3
  position: fixed;
4
4
  bottom: var(--table-action-bar-offset-bottom, var(--eun-space-l, 32px));
@@ -7,7 +7,19 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
7
7
  z-index: var(--table-action-bar-z-index, 100);
8
8
  display: block;
9
9
  max-width: calc(100vw - var(--eun-space-l, 32px) * 2);
10
- animation: eun-table-action-bar-in 180ms ease both;
10
+ animation: eun-table-action-bar-in var(--eun-duration-m, 200ms)
11
+ var(--eun-easing-default, ease) both;
12
+ }
13
+
14
+ :host([popover]) {
15
+ top: auto;
16
+ right: auto;
17
+ margin: 0;
18
+ padding: 0;
19
+ border: none;
20
+ background: none;
21
+ overflow: visible;
22
+ color: inherit;
11
23
  }
12
24
 
13
25
  :host([hidden]) {
@@ -55,7 +67,7 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
55
67
  }
56
68
  }
57
69
 
58
- @media (max-width: ${f.mobile}px) {
70
+ @media ${f("mobile")} {
59
71
  :host {
60
72
  left: var(--eun-space-s, 8px);
61
73
  right: var(--eun-space-s, 8px);
@@ -112,7 +124,7 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
112
124
  animation: none;
113
125
  }
114
126
  }
115
- `,h=v;var x="eun-table-action-bar",t=class extends m{constructor(){super(...arguments);this.selectedCount=0;this.totalCount=0;this.actions=[];this.toolbarAriaLabel="Selection actions";this.selectedLabel="selected";this.selectAllLabel="Select all";this.deselectAllLabel="Deselect all";this.closeAriaLabel="Clear selection";this.handleSelectAllClick=()=>{this.onSelectAll?.()};this.handleCloseClick=()=>{this.onClose?.()}}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","region")}updated(e){super.updated(e),e.has("toolbarAriaLabel")&&this.setAttribute("aria-label",this.toolbarAriaLabel)}get allSelected(){return this.totalCount>0&&this.selectedCount===this.totalCount}handleActionClick(e){e.disabled||this.dispatchEvent(new r(e.key))}handleActionSelect(e,l){this.dispatchEvent(new r(e.key,l.key))}renderAction(e){let l=e.color==="critical";return e.dropdown?n`
127
+ `,v=g;var y="eun-table-action-bar",t=class extends h(m){constructor(){super(...arguments);this.selectedCount=0;this.totalCount=0;this.actions=[];this.handleSelectAllClick=()=>{this.onSelectAll?.()};this.handleCloseClick=()=>{this.onClose?.()}}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","region")}updated(e){super.updated(e),(e.has("toolbarAriaLabel")||e.has("locale"))&&this.setAttribute("aria-label",this.toolbarAriaLabel??this.dictionary.table.selectionActions)}get allSelected(){return this.totalCount>0&&this.selectedCount===this.totalCount}handleActionClick(e){e.disabled||this.dispatchEvent(new n(e.key))}handleActionSelect(e,l){this.dispatchEvent(new n(e.key,l.key))}renderAction(e){let l=e.color==="critical";return e.dropdown?r`
116
128
  <eun-dropdown-button
117
129
  label=${e.label}
118
130
  icon=${o(e.icon)}
@@ -122,14 +134,14 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
122
134
  ?disabled=${e.disabled}
123
135
  @eunselect=${s=>this.handleActionSelect(e,s)}
124
136
  >
125
- ${e.icon?n`<eun-icon
137
+ ${e.icon?r`<eun-icon
126
138
  slot="start"
127
139
  name=${e.icon}
128
140
  size="16"
129
141
  ></eun-icon>`:c}
130
142
  ${e.label}</eun-dropdown-button
131
143
  >
132
- `:n`
144
+ `:r`
133
145
  <eun-button
134
146
  color=${o(l?"critical":void 0)}
135
147
  label=${e.label}
@@ -137,18 +149,19 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
137
149
  ?disabled=${e.disabled}
138
150
  @click=${()=>this.handleActionClick(e)}
139
151
  >
140
- ${e.icon?n`<eun-icon
152
+ ${e.icon?r`<eun-icon
141
153
  slot="start"
142
154
  name=${e.icon}
143
155
  size="16"
144
156
  ></eun-icon>`:c}
145
157
  ${e.label}
146
158
  </eun-button>
147
- `}render(){let l=this.allSelected?this.deselectAllLabel:this.selectAllLabel;return n`
159
+ `}render(){let l=this.allSelected?this.deselectAllLabel??this.dictionary.table.deselectAll:this.selectAllLabel??this.dictionary.table.selectAll;return r`
148
160
  <div id="bar" part="bar">
149
161
  <div id="left">
150
162
  <eun-tag role="status"
151
- >${this.selectedCount} ${this.selectedLabel}</eun-tag
163
+ >${this.selectedCount}
164
+ ${this.selectedLabel??this.dictionary.table.selected}</eun-tag
152
165
  >
153
166
  <eun-button
154
167
  appearance="flat"
@@ -170,11 +183,11 @@ import{a as f}from"./chunk-VRGRCYIO.js";import{a as o}from"./chunk-5EVP7YNE.js";
170
183
  size="xs"
171
184
  rounded
172
185
  appearance="flat"
173
- aria-label=${this.closeAriaLabel}
186
+ aria-label=${this.closeAriaLabel??this.dictionary.table.clearSelection}
174
187
  @click=${this.handleCloseClick}
175
188
  >
176
189
  <eun-icon name="close" size="16"></eun-icon>
177
190
  </eun-button>
178
191
  </div>
179
192
  </div>
180
- `}};t.styles=h,a([i({type:Number,attribute:"selected-count"})],t.prototype,"selectedCount",2),a([i({type:Number,attribute:"total-count"})],t.prototype,"totalCount",2),a([i({attribute:!1})],t.prototype,"actions",2),a([i({attribute:"toolbar-aria-label"})],t.prototype,"toolbarAriaLabel",2),a([i({attribute:"selected-label"})],t.prototype,"selectedLabel",2),a([i({attribute:"select-all-label"})],t.prototype,"selectAllLabel",2),a([i({attribute:"deselect-all-label"})],t.prototype,"deselectAllLabel",2),a([i({attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",2),t=a([u(x)],t);export{r as a,x as b,t as c};
193
+ `}};t.styles=v,a([i({type:Number,attribute:"selected-count"})],t.prototype,"selectedCount",2),a([i({type:Number,attribute:"total-count"})],t.prototype,"totalCount",2),a([i({attribute:!1})],t.prototype,"actions",2),a([i({attribute:"toolbar-aria-label"})],t.prototype,"toolbarAriaLabel",2),a([i({attribute:"selected-label"})],t.prototype,"selectedLabel",2),a([i({attribute:"select-all-label"})],t.prototype,"selectAllLabel",2),a([i({attribute:"deselect-all-label"})],t.prototype,"deselectAllLabel",2),a([i({attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",2),t=a([u(y)],t);export{n as a,y as b,t as c};
@@ -1,4 +1,4 @@
1
- import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";import{a,f as s,g as n,h as o,l as r,n as i,p as d,s as l}from"./chunk-XH6NREVZ.js";var v=n`
1
+ import{a as b}from"./chunk-3BMACIDO.js";import{b as c}from"./chunk-PD62MBOJ.js";import{a,f as s,h as n,j as r,n as o,p as i,r as d,u as l}from"./chunk-YITWLCD3.js";var h=n`
2
2
  :host {
3
3
  --_textColor: var(--tab-text-color, var(--eun-text-color, #071621));
4
4
  --_textColor-hover: var(
@@ -12,14 +12,15 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
12
12
  --_background: var(--tab-background-color, transparent);
13
13
  --_padding: var(
14
14
  --tab-padding,
15
- var(--eun-space-s, 8px) var(--eun-space-m, 16px)
15
+ var(--tab-padding-block, var(--eun-space-s, 8px))
16
+ var(--tab-padding-inline, var(--eun-space-m, 16px))
16
17
  );
17
18
  --_border: var(--tab-border);
18
19
  --_border-radius: var(--tab-border-radius, 8px);
19
20
  --_pointerEvents: all;
20
- font-size: var(--eun-font-size-s, 14px);
21
- font-weight: var(--eun-font-weight-m, 500);
22
- outline: none;
21
+ font-size: var(--tab-font-size, var(--eun-font-size-s, 14px));
22
+ font-weight: var(--tab-font-weight, var(--eun-font-weight-m, 500));
23
+ outline: none !important;
23
24
  font-family: var(--eun-font-family, "Mulish", sans-serif);
24
25
  z-index: 1;
25
26
  }
@@ -59,16 +60,19 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
59
60
  border: var(--_border);
60
61
  border-radius: var(--_border-radius);
61
62
  background: var(--_background);
62
- outline: 2px solid transparent;
63
- outline-offset: -8px;
63
+ outline: var(--tab-focus-outline-width, 2px) solid transparent;
64
+ outline-offset: var(--tab-focus-outline-offset, -2px);
64
65
  user-select: none;
65
- transition: all 0.2s ease-out;
66
+ transition: all var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out);
66
67
  color: var(--_textColor);
67
68
  fill: var(--_textColor);
68
69
  }
69
70
  :host(:focus-visible) div {
70
- outline-offset: var(--tab-focus-outline-offset, -6px);
71
71
  outline-color: var(--_focusIndicator);
72
+ background: var(
73
+ --tab-focus-background-color,
74
+ var(--eun-color-primary-alpha-10, #3d6fff1a)
75
+ );
72
76
  }
73
77
  :host([badge]) div,
74
78
  div[has-badge] {
@@ -117,13 +121,12 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
117
121
  var(--eun-color-critical-100, #aa0014)
118
122
  );
119
123
  border-radius: var(--eun-border-radius-xl, 999px);
120
- transition: scale 0.2s cubic-bezier(0.35, 0.92, 0.65, 1.28);
124
+ transition: scale var(--eun-duration-m, 200ms)
125
+ cubic-bezier(0.35, 0.92, 0.65, 1.28);
121
126
  scale: 1;
122
127
  place-self: var(--_badge-place, start);
123
128
  translate: var(--_y-correction, 0 -2px);
124
129
  }
125
- /* A real slotted badge (slot="badge") takes priority over the plain
126
- dot indicator when both are present, rather than rendering both. */
127
130
  :host([badge]) div[has-badge]::after {
128
131
  display: none;
129
132
  }
@@ -142,10 +145,7 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
142
145
  }
143
146
  }
144
147
 
145
- @media (min-width: ${b.tablet}px) {
146
- :host {
147
- font-size: var(--eun-font-size-s, 14px);
148
- }
148
+ @media ${c("tablet")} {
149
149
  :host([badge]) div::after {
150
150
  --_y-correction: none;
151
151
  }
@@ -162,7 +162,7 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
162
162
  --_badge-place: start;
163
163
  }
164
164
  }
165
- `,h=v;var p="eun-tab",e=class extends c(l){constructor(){super(...arguments);this.active=!1;this.badge=!1;this.resizebserver=new ResizeObserver(()=>{this.closest("eun-tab-group")?.updateIndicator()})}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","tab"),this.hasAttribute("aria-controls")||this.setAttribute("aria-controls",this.panel),this.hasAttribute("id")||this.setAttribute("id",`tab-${this.panel}`),this.addEventListener("click",this.activateTab)}disconnectedCallback(){this.removeEventListener("click",this.activateTab),super.disconnectedCallback?.()}activateTab(){this.disabled||this.closest("eun-tab-group")?.activate(this)}firstUpdated(t){this.resizebserver.observe(this)}updated(t){super.updated(t),!(!t.has("active")||this.disabled)&&(this.setAttribute("aria-selected",String(this.active)),this.setAttribute("tabindex",this.active?"0":"-1"),this.active&&this.activateTab())}handleIconChange(){let t=this.shadowRoot.querySelector("div");t&&t.toggleAttribute("has-icon",!!this.slotIcon?.length)}handleBadgeSlotChange(){let t=this.shadowRoot.querySelector("div");t&&t.toggleAttribute("has-badge",!!this.slotBadge?.length)}render(){return i`
165
+ `,v=h;var u="eun-tab",e=class extends b(l){constructor(){super(...arguments);this.active=!1;this.badge=!1;this.resizebserver=new ResizeObserver(()=>{this.closest("eun-tab-group")?.updateIndicator()})}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","tab"),this.hasAttribute("aria-controls")||this.setAttribute("aria-controls",this.panel),this.hasAttribute("id")||this.setAttribute("id",`tab-${this.panel}`),this.addEventListener("click",this.activateTab)}disconnectedCallback(){this.removeEventListener("click",this.activateTab),super.disconnectedCallback?.()}activateTab(){this.disabled||this.closest("eun-tab-group")?.activate(this)}firstUpdated(t){this.resizebserver.observe(this)}updated(t){super.updated(t),!(!t.has("active")||this.disabled)&&(this.setAttribute("aria-selected",String(this.active)),this.setAttribute("tabindex",this.active?"0":"-1"),this.active&&this.activateTab())}handleIconChange(){let t=this.shadowRoot.querySelector("div");t&&t.toggleAttribute("has-icon",!!this.slotIcon?.length)}handleBadgeSlotChange(){let t=this.shadowRoot.querySelector("div");t&&t.toggleAttribute("has-badge",!!this.slotBadge?.length)}render(){return i`
166
166
  <div>
167
167
  <slot name="icon" @slotchange=${this.handleIconChange}>
168
168
  ${this.icon?i`<eun-icon name=${this.icon}></eun-icon>`:d}
@@ -170,4 +170,4 @@ import{a as c}from"./chunk-32DTNR52.js";import{a as b}from"./chunk-VRGRCYIO.js";
170
170
  <slot></slot>
171
171
  <slot name="badge" @slotchange=${this.handleBadgeSlotChange}></slot>
172
172
  </div>
173
- `}};e.styles=h,a([o({reflect:!0})],e.prototype,"panel",2),a([o({type:Boolean,reflect:!0})],e.prototype,"active",2),a([o({reflect:!0})],e.prototype,"icon",2),a([o({type:Boolean,reflect:!0})],e.prototype,"badge",2),a([r({slot:"icon"})],e.prototype,"slotIcon",2),a([r({slot:"badge"})],e.prototype,"slotBadge",2),e=a([s(p)],e);export{p as a,e as b};
173
+ `}};e.styles=v,a([r({reflect:!0})],e.prototype,"panel",2),a([r({type:Boolean,reflect:!0})],e.prototype,"active",2),a([r({reflect:!0})],e.prototype,"icon",2),a([r({type:Boolean,reflect:!0})],e.prototype,"badge",2),a([o({slot:"icon"})],e.prototype,"slotIcon",2),a([o({slot:"badge"})],e.prototype,"slotBadge",2),e=a([s(u)],e);export{u as a,e as b};
@@ -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};
@@ -0,0 +1 @@
1
+ import{a as i,b as t}from"./chunk-QL5GSW2A.js";import{a as r,j as o}from"./chunk-YITWLCD3.js";var f=n=>{class e extends n{get dictionary(){let c=this.locale??i();return t[c]??t.en}}return r([o({reflect:!0})],e.prototype,"locale",2),e};export{f as a};
@@ -1,4 +1,4 @@
1
- import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"./chunk-YYCEPZUN.js";import{a as u}from"./chunk-32DTNR52.js";import{a as o,f as d,g as s,h as a,n as l,s as c}from"./chunk-XH6NREVZ.js";var v=n=>{class r extends n{constructor(){super(...arguments);this.checked=!1;this.checkable=!0;this.buildCommonValidators=()=>this.required&&!this.checked?{validity:{valueMissing:!0},message:"Field value is missing"}:{validity:{}}}connectedCallback(){super.connectedCallback?.(),this.hasAttribute("role")||this.setAttribute("role","radio"),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()),(e.has("valid")||e.has("hideError")||e.has("disabled"))&&this.setAttribute("aria-invalid",String(!this.hideError&&!this.disabled&&!this.valid))}handleClick(e){this.handleChange(e)}handleChange(e){if(e.stopPropagation(),!(this.disabled||this.readonly||this.inert)&&(e.preventDefault(),!this.checked)){if(this.checked=!0,this.updateInternals(),this.checkValidity(this.checked),this.description){let k=this.description instanceof Array?this.description.join(","):this.description;this.setAttribute("aria-description",k)}else this.removeAttribute("aria-description");this.dispatchEvent(new h(this.checked))}}handleKeydown(e){e.key===" "&&(e.preventDefault(),this.handleChange(e))}updateInternals(){this.setFormValue(this.valueState)}}return o([a({type:Boolean,reflect:!0})],r.prototype,"checked",2),o([a({type:Boolean,attribute:"default-checked"})],r.prototype,"defaultChecked",2),r};var x=s`
1
+ import{b,c as p,d as f,e as v,f as i}from"./chunk-TLBXTBMM.js";import{a as h}from"./chunk-YYCEPZUN.js";import{a as u}from"./chunk-3BMACIDO.js";import{a as o,f as d,h as l,j as t,p as s,u as c}from"./chunk-YITWLCD3.js";var m=n=>{class r extends n{constructor(){super(...arguments);this.checked=!1;this.checkable=!0;this.descriptionOnHost=!0;this.errorOnChange=!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","radio"),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()),b(e)&&this.setAttribute("aria-invalid",String(this.showError))}handleClick(e){this.handleChange(e)}handleChange(e){e.stopPropagation(),!(this.disabled||this.readonly||this.inert)&&(e.preventDefault(),!this.checked&&(this.checked=!0,this.updateInternals(),this.checkValidity(this.checked),this.dispatchEvent(new h(this.checked))))}handleKeydown(e){e.key===" "&&(e.preventDefault(),this.handleChange(e))}updateInternals(){this.setFormValue(this.valueState)}}return o([t({type:Boolean,reflect:!0})],r.prototype,"checked",2),o([t({type:Boolean,attribute:"default-checked"})],r.prototype,"defaultChecked",2),r};var x=l`
2
2
  :host {
3
3
  --_borderColor: var(--radio-border-color, var(--eun-border-color, #dee0e7));
4
4
  --_background: var(--radio-background, transparent);
@@ -17,14 +17,14 @@ import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"
17
17
  --_roundGap: 2px;
18
18
  --_cursor: pointer;
19
19
  font-family: var(--eun-font-family, "Mulish", sans-serif);
20
- font-size: var(--eun-font-size-s, 14px);
20
+ font-size: var(--field-label-font-size, var(--eun-font-size-s, 14px));
21
21
  display: inline-flex;
22
22
  align-items: center;
23
23
  outline: none;
24
24
  }
25
25
 
26
26
  :host #radio {
27
- transition: all 0.2s ease-out;
27
+ transition: all var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out);
28
28
  }
29
29
 
30
30
  :host(:focus-visible) #radio {
@@ -130,7 +130,7 @@ import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"
130
130
  border-radius: 50%;
131
131
  display: inline-block;
132
132
  box-sizing: border-box;
133
- transition: all 0.2s ease;
133
+ transition: all var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
134
134
  outline: 2px solid transparent;
135
135
  }
136
136
 
@@ -140,7 +140,7 @@ import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"
140
140
  inset: 0;
141
141
  border-radius: 50%;
142
142
  background: var(--_background);
143
- transition: all ease 0.2s;
143
+ transition: all var(--eun-easing-default, ease) var(--eun-duration-m, 200ms);
144
144
  top: var(--_roundGap);
145
145
  bottom: var(--_roundGap);
146
146
  left: var(--_roundGap);
@@ -150,7 +150,7 @@ import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"
150
150
  slot {
151
151
  display: inline-block;
152
152
  }
153
- `,m=x;var y="eun-radio",_=v(b(p(u(f(c))))),t=class extends _{get defaultValue(){return super.defaultValue}set defaultValue(r){super.defaultValue=r}updated(r){super.updated?.(r),r.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}render(){return l`
153
+ `,k=x;var y="eun-radio",g=m(f(p(u(v(c))))),a=class extends g{get defaultValue(){return super.defaultValue}set defaultValue(r){super.defaultValue=r}updated(r){super.updated?.(r),r.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}render(){return s`
154
154
  <div>
155
155
  <div id="radio-component" @click=${this.handleClick}>
156
156
  <div id="radio"></div>
@@ -160,4 +160,4 @@ import{a as b,c as p,d as f,e as i}from"./chunk-OAULRKHQ.js";import{a as h}from"
160
160
  </div>
161
161
  ${this.renderDescription()}
162
162
  </div>
163
- `}};t.styles=[m,i.base,i.errorMessages,i.hintMessages],o([a()],t.prototype,"label",2),o([a({attribute:"default-value"})],t.prototype,"defaultValue",1),t=o([d(y)],t);export{y as a,t as b};
163
+ `}};a.styles=[k,i.base,i.errorMessages,i.hintMessages],o([t()],a.prototype,"label",2),o([t({attribute:"default-value"})],a.prototype,"defaultValue",1),a=o([d(y)],a);export{y as a,a as b};