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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/README.md +1 -1
  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-OW7XKDCH.js → chunk-2Y2EU2CI.js} +16 -16
  6. package/dist/cdn/components/chunks/{chunk-LFCXUVDO.js → chunk-4PI6RDUS.js} +1 -1
  7. package/dist/cdn/components/chunks/chunk-624VJYNA.js +1 -0
  8. package/dist/cdn/components/chunks/{chunk-5XJLIHAU.js → chunk-7KKWYPHY.js} +4 -2
  9. package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +1 -0
  10. package/dist/cdn/components/chunks/chunk-BKZGTCMF.js +1 -0
  11. package/dist/cdn/components/chunks/{chunk-GW3VP2L7.js → chunk-BO3JOEWM.js} +1 -1
  12. package/dist/cdn/components/chunks/{chunk-EAKYD33D.js → chunk-BQFJR2UP.js} +4 -4
  13. package/dist/cdn/components/chunks/chunk-EUWUDCBZ.js +1 -0
  14. package/dist/cdn/components/chunks/{chunk-P32B7BFD.js → chunk-FF3I7C3C.js} +15 -15
  15. package/dist/cdn/components/chunks/{chunk-74AOAB4X.js → chunk-FOILAXLL.js} +6 -5
  16. package/dist/cdn/components/chunks/{chunk-E4IS25H7.js → chunk-G5SBDQQ3.js} +1 -1
  17. package/dist/cdn/components/chunks/{chunk-LGLQ36QB.js → chunk-GDBPWZN6.js} +1 -1
  18. package/dist/cdn/components/chunks/{chunk-S2UCEWNG.js → chunk-JYIIWN2P.js} +13 -11
  19. package/dist/cdn/components/chunks/{chunk-IDKZKLJR.js → chunk-KDN4O5W2.js} +24 -11
  20. package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +1 -0
  21. package/dist/cdn/components/chunks/{chunk-PED5ATYN.js → chunk-L2ADCEN7.js} +1 -1
  22. package/dist/cdn/components/chunks/chunk-LMVW522V.js +1 -0
  23. package/dist/cdn/components/chunks/{chunk-5XJGYXW7.js → chunk-MOMYII3P.js} +1 -1
  24. package/dist/cdn/components/chunks/{chunk-2XASWWKR.js → chunk-MQQ4BGVJ.js} +5 -5
  25. package/dist/cdn/components/chunks/{chunk-A4EQSU36.js → chunk-O7PHBLH2.js} +1 -1
  26. package/dist/cdn/components/chunks/chunk-PD62MBOJ.js +1 -0
  27. package/dist/cdn/components/chunks/{chunk-KBH5PCUO.js → chunk-PE4DAXHQ.js} +1 -1
  28. package/dist/cdn/components/chunks/{chunk-6ETDXUH2.js → chunk-PMPSJG5V.js} +7 -7
  29. package/dist/cdn/components/chunks/{chunk-5EVP7YNE.js → chunk-PPCHQG7P.js} +1 -1
  30. package/dist/cdn/components/chunks/{chunk-AIS3UICU.js → chunk-QZ5SHR3I.js} +9 -5
  31. package/dist/cdn/components/chunks/{chunk-32DTNR52.js → chunk-RS7TWEMQ.js} +1 -1
  32. package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
  33. package/dist/cdn/components/chunks/{chunk-MPQP4R54.js → chunk-SZYEBMG6.js} +10 -9
  34. package/dist/cdn/components/chunks/{chunk-JRGM3W7I.js → chunk-UDVB4LAE.js} +5 -2
  35. package/dist/cdn/components/chunks/{chunk-L65WUTXM.js → chunk-UYZR4JXZ.js} +12 -7
  36. package/dist/cdn/components/chunks/chunk-VG6NAAIV.js +1 -0
  37. package/dist/cdn/components/chunks/chunk-VJCNHMQZ.js +10 -0
  38. package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +38 -0
  39. package/dist/cdn/components/chunks/{chunk-DKOPI7QA.js → chunk-VYFR364B.js} +73 -63
  40. package/dist/cdn/components/chunks/{chunk-SD2WHGPF.js → chunk-XDPRWUKN.js} +1 -1
  41. package/dist/cdn/components/chunks/{chunk-XH6NREVZ.js → chunk-YITWLCD3.js} +1 -1
  42. package/dist/cdn/components/chunks/{chunk-BQHYZB2W.js → chunk-ZBN4HTWP.js} +1 -1
  43. package/dist/cdn/components/chunks/{chunk-NBIENHLV.js → chunk-ZKZV2YG5.js} +18 -18
  44. package/dist/cdn/components/eun-alert.js +24 -16
  45. package/dist/cdn/components/eun-animate.js +12 -8
  46. package/dist/cdn/components/eun-badge.js +1 -1
  47. package/dist/cdn/components/eun-breadcrumb.js +25 -41
  48. package/dist/cdn/components/eun-button.js +1 -1
  49. package/dist/cdn/components/eun-calendar.js +67 -65
  50. package/dist/cdn/components/eun-card.js +32 -17
  51. package/dist/cdn/components/eun-carousel.js +66 -35
  52. package/dist/cdn/components/eun-check-card.js +13 -6
  53. package/dist/cdn/components/eun-checkbox-list.js +4 -4
  54. package/dist/cdn/components/eun-checkbox.js +1 -1
  55. package/dist/cdn/components/eun-chip.js +1 -1
  56. package/dist/cdn/components/eun-collapse.js +56 -27
  57. package/dist/cdn/components/eun-color-picker.js +53 -52
  58. package/dist/cdn/components/eun-counter.js +9 -8
  59. package/dist/cdn/components/eun-date-picker.js +59 -56
  60. package/dist/cdn/components/eun-description-list.js +152 -0
  61. package/dist/cdn/components/eun-divider.js +1 -1
  62. package/dist/cdn/components/eun-drawer.js +32 -18
  63. package/dist/cdn/components/eun-dropdown-button.js +1 -1
  64. package/dist/cdn/components/eun-dropdown-item.js +6 -5
  65. package/dist/cdn/components/eun-fab.js +17 -16
  66. package/dist/cdn/components/eun-icon.js +1 -1
  67. package/dist/cdn/components/eun-image-card.js +79 -22
  68. package/dist/cdn/components/eun-image-carousel.js +92 -47
  69. package/dist/cdn/components/eun-infinite-list.js +23 -11
  70. package/dist/cdn/components/eun-input-file.js +14 -13
  71. package/dist/cdn/components/eun-input-phone.js +15 -15
  72. package/dist/cdn/components/eun-input.js +1 -1
  73. package/dist/cdn/components/eun-label.js +4 -4
  74. package/dist/cdn/components/eun-link.js +78 -29
  75. package/dist/cdn/components/eun-loader.js +1 -1
  76. package/dist/cdn/components/eun-modal.js +17 -10
  77. package/dist/cdn/components/eun-pagination.js +17 -12
  78. package/dist/cdn/components/eun-password-strength.js +6 -2
  79. package/dist/cdn/components/eun-progress-bar.js +13 -5
  80. package/dist/cdn/components/eun-radio-card.js +16 -9
  81. package/dist/cdn/components/eun-radio-list.js +4 -4
  82. package/dist/cdn/components/eun-radio.js +1 -1
  83. package/dist/cdn/components/eun-scheduler-event-editor.js +1 -1
  84. package/dist/cdn/components/eun-scheduler-event.js +1 -1
  85. package/dist/cdn/components/eun-scheduler.js +36 -36
  86. package/dist/cdn/components/eun-search.js +11 -10
  87. package/dist/cdn/components/eun-select.js +12 -11
  88. package/dist/cdn/components/eun-sidebar.js +34 -20
  89. package/dist/cdn/components/eun-skeleton.js +1 -1
  90. package/dist/cdn/components/eun-slider.js +15 -14
  91. package/dist/cdn/components/eun-sliding-card.js +8 -4
  92. package/dist/cdn/components/eun-step.js +17 -6
  93. package/dist/cdn/components/eun-stepper.js +17 -6
  94. package/dist/cdn/components/eun-switch.js +10 -8
  95. package/dist/cdn/components/eun-tab-group.js +22 -17
  96. package/dist/cdn/components/eun-tab-panel.js +11 -3
  97. package/dist/cdn/components/eun-tab.js +1 -1
  98. package/dist/cdn/components/eun-table-action-bar.js +1 -1
  99. package/dist/cdn/components/eun-table.js +572 -31
  100. package/dist/cdn/components/eun-tag.js +13 -7
  101. package/dist/cdn/components/eun-textarea.js +23 -23
  102. package/dist/cdn/components/eun-time-picker.js +17 -15
  103. package/dist/cdn/components/eun-toast.js +36 -16
  104. package/dist/cdn/components/eun-toggle-group.js +53 -34
  105. package/dist/cdn/components/eun-toggle-item.js +16 -15
  106. package/dist/cdn/components/eun-toggle.js +12 -10
  107. package/dist/cdn/components/eun-toolbar.js +62 -52
  108. package/dist/cdn/components/eun-tooltip.js +30 -14
  109. package/dist/cdn/styles/breakpoints.scss +8 -0
  110. package/dist/cdn/styles/eunomia-grid.scss +6 -0
  111. package/dist/cdn/styles/eunomia-themes.css +1 -1
  112. package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
  113. package/dist/cdn/styles/themes/eunomia-theme.scss +4 -3
  114. package/dist/cdn/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
  115. package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
  116. package/dist/cdn/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
  117. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
  118. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
  119. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
  120. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
  121. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
  122. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
  123. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
  124. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
  125. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
  126. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
  127. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
  128. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
  129. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
  130. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
  131. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
  132. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
  133. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
  134. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
  135. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
  136. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
  137. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
  138. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
  139. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
  140. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
  141. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
  142. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
  143. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
  144. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
  145. package/dist/cdn/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
  146. package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  147. package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
  148. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
  149. package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
  150. package/dist/cdn/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
  151. package/dist/cdn/styles/tools/variables/eunomia.breakpoints.scss +4 -0
  152. package/dist/components/action/button/button.d.ts +7 -2
  153. package/dist/components/action/button/button.js +7 -2
  154. package/dist/components/action/button/button.styles.js +51 -36
  155. package/dist/components/action/dropdown-button/dropdown-button.d.ts +2 -2
  156. package/dist/components/action/dropdown-button/dropdown-button.js +11 -10
  157. package/dist/components/action/dropdown-button/dropdown-button.styles.js +3 -2
  158. package/dist/components/action/dropdown-button/dropdown-item.js +5 -6
  159. package/dist/components/action/dropdown-button/dropdown-item.styles.js +3 -2
  160. package/dist/components/action/fab/fab.styles.js +14 -13
  161. package/dist/components/action/link/link.d.ts +7 -3
  162. package/dist/components/action/link/link.js +11 -7
  163. package/dist/components/action/link/link.styles.js +66 -15
  164. package/dist/components/action/shared-styles/button-palette.styles.js +15 -15
  165. package/dist/components/action/toggle/toggle-group.d.ts +2 -0
  166. package/dist/components/action/toggle/toggle-group.js +5 -3
  167. package/dist/components/action/toggle/toggle-group.styles.d.ts +2 -0
  168. package/dist/components/action/toggle/toggle-group.styles.js +42 -21
  169. package/dist/components/action/toggle/toggle-item.styles.js +13 -12
  170. package/dist/components/action/toggle/toggle.d.ts +2 -0
  171. package/dist/components/action/toggle/toggle.js +2 -0
  172. package/dist/components/action/toggle/toggle.styles.d.ts +2 -0
  173. package/dist/components/action/toggle/toggle.styles.js +12 -8
  174. package/dist/components/alert/alert/alert.d.ts +2 -0
  175. package/dist/components/alert/alert/alert.js +2 -0
  176. package/dist/components/alert/alert/alert.styles.js +23 -13
  177. package/dist/components/alert/drawer/drawer.d.ts +3 -1
  178. package/dist/components/alert/drawer/drawer.js +4 -2
  179. package/dist/components/alert/drawer/drawer.styles.js +25 -9
  180. package/dist/components/alert/modal/modal.d.ts +3 -1
  181. package/dist/components/alert/modal/modal.js +4 -2
  182. package/dist/components/alert/modal/modal.styles.js +16 -7
  183. package/dist/components/alert/toast/toast.d.ts +2 -0
  184. package/dist/components/alert/toast/toast.js +2 -0
  185. package/dist/components/alert/toast/toast.styles.js +37 -15
  186. package/dist/components/content/card/card.d.ts +7 -3
  187. package/dist/components/content/card/card.js +7 -3
  188. package/dist/components/content/card/card.styles.js +26 -11
  189. package/dist/components/content/card/image-card.d.ts +60 -6
  190. package/dist/components/content/card/image-card.js +120 -11
  191. package/dist/components/content/card/image-card.styles.js +66 -15
  192. package/dist/components/content/card/sliding-card.d.ts +2 -0
  193. package/dist/components/content/card/sliding-card.js +2 -0
  194. package/dist/components/content/card/sliding-card.styles.js +5 -1
  195. package/dist/components/content/collapse/collapse.d.ts +10 -1
  196. package/dist/components/content/collapse/collapse.js +12 -2
  197. package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
  198. package/dist/components/content/collapse/collapse.styles.js +56 -18
  199. package/dist/components/content/description-list/description-list.d.ts +87 -0
  200. package/dist/components/content/description-list/description-list.js +107 -0
  201. package/dist/components/content/description-list/description-list.styles.d.ts +1 -0
  202. package/dist/components/content/description-list/description-list.styles.js +185 -0
  203. package/dist/components/content/icon/icon.d.ts +2 -0
  204. package/dist/components/content/icon/icon.js +2 -0
  205. package/dist/components/content/icon/icon.style.js +4 -1
  206. package/dist/components/content/image-carousel/image-carousel.d.ts +30 -19
  207. package/dist/components/content/image-carousel/image-carousel.js +48 -45
  208. package/dist/components/content/image-carousel/image-carousel.styles.js +69 -30
  209. package/dist/components/content/password-strength/password-strength.styles.js +5 -1
  210. package/dist/components/content/progress-bar/progress-bar.styles.js +12 -4
  211. package/dist/components/content/shared-styles/card-link.styles.js +4 -3
  212. package/dist/components/content/shared-styles/tone-surface.styles.d.ts +5 -0
  213. package/dist/components/content/shared-styles/tone-surface.styles.js +19 -14
  214. package/dist/components/content/tag/tag.d.ts +4 -0
  215. package/dist/components/content/tag/tag.js +4 -0
  216. package/dist/components/content/tag/tag.styles.js +14 -4
  217. package/dist/components/content/tooltip/tooltip.d.ts +3 -2
  218. package/dist/components/content/tooltip/tooltip.js +9 -16
  219. package/dist/components/content/tooltip/tooltip.styles.js +25 -7
  220. package/dist/components/form/checkbox/check-card.d.ts +4 -1
  221. package/dist/components/form/checkbox/check-card.js +4 -1
  222. package/dist/components/form/checkbox/check-card.styles.js +13 -4
  223. package/dist/components/form/checkbox/checkbox-list.d.ts +4 -1
  224. package/dist/components/form/checkbox/checkbox-list.js +11 -7
  225. package/dist/components/form/checkbox/checkbox.d.ts +4 -1
  226. package/dist/components/form/checkbox/checkbox.js +4 -1
  227. package/dist/components/form/checkbox/checkbox.styles.js +2 -2
  228. package/dist/components/form/color-picker/color-picker.d.ts +7 -1
  229. package/dist/components/form/color-picker/color-picker.js +19 -21
  230. package/dist/components/form/color-picker/color-picker.styles.js +6 -5
  231. package/dist/components/form/counter/counter.d.ts +4 -1
  232. package/dist/components/form/counter/counter.js +5 -2
  233. package/dist/components/form/counter/counter.styles.js +5 -4
  234. package/dist/components/form/date-picker/date-picker.d.ts +37 -33
  235. package/dist/components/form/date-picker/date-picker.js +32 -42
  236. package/dist/components/form/date-picker/date-picker.styles.js +8 -5
  237. package/dist/components/form/input/input.d.ts +7 -1
  238. package/dist/components/form/input/input.js +8 -2
  239. package/dist/components/form/input-file/input-file.d.ts +4 -1
  240. package/dist/components/form/input-file/input-file.js +8 -5
  241. package/dist/components/form/input-file/input-file.styles.js +3 -2
  242. package/dist/components/form/input-phone/input-phone.d.ts +8 -2
  243. package/dist/components/form/input-phone/input-phone.js +13 -17
  244. package/dist/components/form/input-phone/input-phone.styles.js +4 -4
  245. package/dist/components/form/label/label.styles.js +3 -3
  246. package/dist/components/form/radio/radio-card.d.ts +5 -2
  247. package/dist/components/form/radio/radio-card.js +5 -2
  248. package/dist/components/form/radio/radio-card.styles.js +14 -5
  249. package/dist/components/form/radio/radio-list.d.ts +5 -2
  250. package/dist/components/form/radio/radio-list.js +14 -10
  251. package/dist/components/form/radio/radio.d.ts +5 -2
  252. package/dist/components/form/radio/radio.js +5 -2
  253. package/dist/components/form/radio/radio.styles.js +4 -4
  254. package/dist/components/form/search/search.d.ts +2 -1
  255. package/dist/components/form/search/search.js +6 -15
  256. package/dist/components/form/search/search.styles.js +5 -4
  257. package/dist/components/form/select/select.d.ts +9 -2
  258. package/dist/components/form/select/select.js +15 -18
  259. package/dist/components/form/select/select.styles.js +3 -2
  260. package/dist/components/form/shared-styles/card.styles.js +5 -4
  261. package/dist/components/form/shared-styles/field.styles.js +16 -6
  262. package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
  263. package/dist/components/form/slider/slider.d.ts +4 -1
  264. package/dist/components/form/slider/slider.js +5 -2
  265. package/dist/components/form/slider/slider.styles.js +8 -7
  266. package/dist/components/form/switch/switch.d.ts +4 -1
  267. package/dist/components/form/switch/switch.js +4 -1
  268. package/dist/components/form/switch/switch.styles.js +7 -5
  269. package/dist/components/form/textarea/textarea.d.ts +7 -1
  270. package/dist/components/form/textarea/textarea.js +14 -8
  271. package/dist/components/form/time-picker/time-picker-columns.styles.js +4 -2
  272. package/dist/components/form/time-picker/time-picker-list.styles.js +2 -1
  273. package/dist/components/form/time-picker/time-picker.d.ts +6 -2
  274. package/dist/components/form/time-picker/time-picker.js +22 -26
  275. package/dist/components/form/time-picker/time-picker.styles.js +4 -3
  276. package/dist/components/layout/animate/animate.d.ts +37 -15
  277. package/dist/components/layout/animate/animate.js +35 -15
  278. package/dist/components/layout/animate/animate.styles.js +9 -16
  279. package/dist/components/layout/infinite-list/infinite-list.d.ts +33 -10
  280. package/dist/components/layout/infinite-list/infinite-list.js +115 -18
  281. package/dist/components/layout/infinite-list/infinite-list.styles.d.ts +3 -0
  282. package/dist/components/layout/infinite-list/infinite-list.styles.js +17 -5
  283. package/dist/components/loader/loader/loader.styles.js +3 -1
  284. package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +31 -45
  285. package/dist/components/navigation/breadcrumb/breadcrumb.js +111 -77
  286. package/dist/components/navigation/breadcrumb/breadcrumb.styles.d.ts +3 -0
  287. package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +22 -26
  288. package/dist/components/navigation/carousel/carousel.d.ts +30 -10
  289. package/dist/components/navigation/carousel/carousel.js +37 -18
  290. package/dist/components/navigation/carousel/carousel.styles.js +60 -20
  291. package/dist/components/navigation/pagination/pagination.styles.js +8 -3
  292. package/dist/components/navigation/sidebar/sidebar.d.ts +2 -0
  293. package/dist/components/navigation/sidebar/sidebar.js +2 -0
  294. package/dist/components/navigation/sidebar/sidebar.styles.js +27 -11
  295. package/dist/components/navigation/stepper/step.styles.js +16 -5
  296. package/dist/components/navigation/stepper/stepper.styles.js +16 -5
  297. package/dist/components/navigation/tabs/tab/tab.d.ts +11 -0
  298. package/dist/components/navigation/tabs/tab/tab.js +11 -0
  299. package/dist/components/navigation/tabs/tab/tab.styles.js +22 -16
  300. package/dist/components/navigation/tabs/tab-group/tab-group.js +7 -8
  301. package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +19 -14
  302. package/dist/components/navigation/tabs/tab-panel/tab-panel.d.ts +4 -0
  303. package/dist/components/navigation/tabs/tab-panel/tab-panel.js +4 -0
  304. package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +18 -1
  305. package/dist/components/navigation/toolbar/toolbar.d.ts +17 -49
  306. package/dist/components/navigation/toolbar/toolbar.js +23 -71
  307. package/dist/components/navigation/toolbar/toolbar.styles.js +59 -36
  308. package/dist/events/table-row-click.event.d.ts +5 -4
  309. package/dist/events/table-row-click.event.js +10 -5
  310. package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
  311. package/dist/features/scheduler/calendar/calendar.js +6 -5
  312. package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
  313. package/dist/features/scheduler/scheduler/scheduler.d.ts +1 -1
  314. package/dist/features/scheduler/scheduler/scheduler.js +9 -23
  315. package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
  316. package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +2 -0
  317. package/dist/features/scheduler/scheduler-event/scheduler-event.js +2 -0
  318. package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +10 -4
  319. package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
  320. package/dist/features/scheduler/shared/scheduler-month-view.styles.js +2 -2
  321. package/dist/features/scheduler/shared/scheduler-year-view.styles.js +2 -2
  322. package/dist/features/table/table/table-native.styles.d.ts +28 -0
  323. package/dist/features/table/table/table-native.styles.js +502 -0
  324. package/dist/features/table/table/table.d.ts +342 -294
  325. package/dist/features/table/table/table.js +820 -546
  326. package/dist/features/table/table/table.styles.js +31 -17
  327. package/dist/features/table/table/table.types.d.ts +11 -20
  328. package/dist/features/table/table/table.utils.d.ts +6 -36
  329. package/dist/features/table/table/table.utils.js +16 -65
  330. package/dist/features/table/table-action-bar/table-action-bar.d.ts +33 -16
  331. package/dist/features/table/table-action-bar/table-action-bar.js +15 -22
  332. package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
  333. package/dist/i18n/en.d.ts +31 -0
  334. package/dist/i18n/en.js +31 -0
  335. package/dist/i18n/fr.js +35 -0
  336. package/dist/index.d.ts +4 -10
  337. package/dist/index.js +6 -10
  338. package/dist/mixins/check.mixin.js +4 -5
  339. package/dist/mixins/form.mixin.d.ts +17 -1
  340. package/dist/mixins/form.mixin.js +80 -25
  341. package/dist/mixins/radio.mixin.js +4 -5
  342. package/dist/mixins/validators.mixin.d.ts +7 -1
  343. package/dist/mixins/validators.mixin.js +36 -17
  344. package/dist/ssr/animate-ssr.css +3 -2
  345. package/dist/ssr/button-ssr.css +319 -0
  346. package/dist/ssr/card-ssr.css +184 -0
  347. package/dist/ssr/description-list-ssr.css +150 -0
  348. package/dist/ssr/links-ssr.css +1 -1
  349. package/dist/ssr/table-ssr.css +472 -0
  350. package/dist/ssr/tag-ssr.css +197 -0
  351. package/dist/ssr/toolbar-ssr.css +5 -1
  352. package/dist/utils/drag-drop.utils.js +18 -2
  353. package/dist/utils/dropdown-menu.utils.d.ts +2 -2
  354. package/dist/utils/dropdown-menu.utils.js +4 -14
  355. package/dist/utils/light-dom-styles.utils.d.ts +14 -0
  356. package/dist/utils/light-dom-styles.utils.js +37 -0
  357. package/dist/utils/media.styles.d.ts +19 -0
  358. package/dist/utils/media.styles.js +23 -0
  359. package/dist/utils/motion.utils.d.ts +40 -0
  360. package/dist/utils/motion.utils.js +51 -0
  361. package/dist/utils/theme-generator.utils.d.ts +6 -1
  362. package/dist/utils/theme-generator.utils.js +59 -20
  363. package/package.json +17 -28
  364. package/styles/breakpoints.scss +8 -0
  365. package/styles/eunomia-grid.scss +6 -0
  366. package/styles/themes/eunomia-theme.scss +4 -3
  367. package/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
  368. package/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
  369. package/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
  370. package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
  371. package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
  372. package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
  373. package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
  374. package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
  375. package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
  376. package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
  377. package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
  378. package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
  379. package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
  380. package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
  381. package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
  382. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
  383. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
  384. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
  385. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
  386. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
  387. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
  388. package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
  389. package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
  390. package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
  391. package/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
  392. package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  393. package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
  394. package/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
  395. package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
  396. package/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
  397. package/styles/tools/variables/eunomia.breakpoints.scss +4 -0
  398. package/dist/cdn/components/chunks/chunk-A6KGFALA.js +0 -132
  399. package/dist/cdn/components/chunks/chunk-CEDHJUUH.js +0 -1
  400. package/dist/cdn/components/chunks/chunk-D2M4BV5Y.js +0 -328
  401. package/dist/cdn/components/chunks/chunk-E74CM7UG.js +0 -66
  402. package/dist/cdn/components/chunks/chunk-EST3M4AO.js +0 -1
  403. package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +0 -1
  404. package/dist/cdn/components/chunks/chunk-KVYUNKUO.js +0 -27
  405. package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +0 -38
  406. package/dist/cdn/components/chunks/chunk-PCM7D3YF.js +0 -84
  407. package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +0 -1
  408. package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
  409. package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
  410. package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
  411. package/dist/cdn/components/eun-breadcrumb-item.js +0 -93
  412. package/dist/cdn/components/eun-table-cell.js +0 -1
  413. package/dist/cdn/components/eun-table-column.js +0 -1
  414. package/dist/cdn/components/eun-table-header.js +0 -1
  415. package/dist/cdn/components/eun-table-item.js +0 -1
  416. package/dist/cdn/components/eun-table-skeleton-row.js +0 -1
  417. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
  418. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
  419. package/dist/cdn/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
  420. package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +0 -77
  421. package/dist/components/navigation/breadcrumb/breadcrumb-item.js +0 -130
  422. package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.d.ts +0 -6
  423. package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +0 -78
  424. package/dist/features/table/native-table.css +0 -276
  425. package/dist/features/table/shared-styles/table-row.styles.d.ts +0 -7
  426. package/dist/features/table/shared-styles/table-row.styles.js +0 -47
  427. package/dist/features/table/shared-styles/table-shared.styles.d.ts +0 -23
  428. package/dist/features/table/shared-styles/table-shared.styles.js +0 -33
  429. package/dist/features/table/table-cell/table-cell.d.ts +0 -59
  430. package/dist/features/table/table-cell/table-cell.js +0 -73
  431. package/dist/features/table/table-cell/table-cell.styles.d.ts +0 -1
  432. package/dist/features/table/table-cell/table-cell.styles.js +0 -46
  433. package/dist/features/table/table-column/table-column.d.ts +0 -73
  434. package/dist/features/table/table-column/table-column.js +0 -89
  435. package/dist/features/table/table-column/table-column.styles.d.ts +0 -1
  436. package/dist/features/table/table-column/table-column.styles.js +0 -51
  437. package/dist/features/table/table-header/table-header.d.ts +0 -102
  438. package/dist/features/table/table-header/table-header.js +0 -165
  439. package/dist/features/table/table-header/table-header.styles.d.ts +0 -1
  440. package/dist/features/table/table-header/table-header.styles.js +0 -147
  441. package/dist/features/table/table-item/table-item.d.ts +0 -179
  442. package/dist/features/table/table-item/table-item.js +0 -291
  443. package/dist/features/table/table-item/table-item.styles.d.ts +0 -1
  444. package/dist/features/table/table-item/table-item.styles.js +0 -404
  445. package/dist/features/table/table-managed/table-managed.d.ts +0 -19
  446. package/dist/features/table/table-managed/table-managed.js +0 -128
  447. package/dist/features/table/table-skeleton-row/table-skeleton-row.d.ts +0 -46
  448. package/dist/features/table/table-skeleton-row/table-skeleton-row.js +0 -110
  449. package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.d.ts +0 -12
  450. package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +0 -65
  451. package/dist/mixins/table-row.mixin.d.ts +0 -37
  452. package/dist/mixins/table-row.mixin.js +0 -103
  453. package/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
  454. package/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
  455. package/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
@@ -9,11 +9,16 @@ import { css } from "lit";
9
9
  * [--carousel-fade-display] - Set to `none` to hide the edge fades via pure CSS (e.g. in a container query), regardless of `edgeFade`
10
10
  * [--carousel-gap] - Set a custom gap between slides
11
11
  * [--carousel-track-padding] - Set a custom vertical padding on the track, giving slides' own effects that bleed outside their box (a hover shadow, `eun-sliding-card`'s bottom fade, ...) room to render before `overflow-y: hidden` clips them
12
+ * [--carousel-track-padding-top] - Set a custom top padding on the track, falling back to --carousel-track-padding
13
+ * [--carousel-track-padding-bottom] - Set a custom bottom padding on the track, falling back to --carousel-track-padding
14
+ * [--carousel-track-padding-inline] - Let the track bleed out of the carousel on both sides by this length, while slides stay aligned on the carousel's edges. Shows the next slide and the edge slides' shadows past the container
15
+ * [--carousel-slide-width] - Set a fixed width for every slide, overriding `visibleSlides`, `fullSlides` and --carousel-min-slide-width
12
16
  * [--carousel-min-slide-width] - Set a custom minimum slide width ; on a narrow viewport, this wins over `visibleSlides` so slides never get uncomfortably small — fewer of them just become scrollable off-screen instead
13
17
  * [--carousel-peek-size] - Set how much of the next slide peeks at the edge, when `fullSlides` is off
14
18
  * [--carousel-fade-width] - Set a custom width for the edge fades
15
19
  * [--carousel-fade-color] - Set a custom color for the edge fades (fades to transparent)
16
20
  * [--carousel-active-scale] - Set a custom scale applied to the active slide
21
+ * [--carousel-header-margin] - Set a custom space between the header and the track
17
22
  * [--carousel-header-gap] - Set a custom gap between the title slot and the header nav buttons
18
23
  * [--carousel-header-align] - Set a custom cross-axis alignment (`align-items`) between the title slot and the header nav buttons ; defaults to `baseline`, which keeps the nav buttons close to the track below regardless of how tall a multi-line title ends up
19
24
  * [--carousel-nav-display] - Set to `none` to hide the prev/next buttons via pure CSS (e.g. in a media query), regardless of `showArrows`
@@ -22,6 +27,10 @@ import { css } from "lit";
22
27
  * [--carousel-nav-color] - Set a custom icon color for the prev/next buttons
23
28
  * [--carousel-nav-background] - Set a custom background color for the prev/next buttons
24
29
  * [--carousel-nav-border-color] - Set a custom border color for the prev/next buttons
30
+ * [--carousel-nav-border-width] - Set a custom border width for the prev/next buttons
31
+ * [--carousel-nav-hover-background] - Set a custom background color for the prev/next buttons on hover
32
+ * [--carousel-nav-hover-color] - Set a custom icon color for the prev/next buttons on hover
33
+ * [--carousel-nav-hover-border-color] - Set a custom border color for the prev/next buttons on hover
25
34
  * [--carousel-nav-shadow] - Set a custom shadow for the `inline`-layout prev/next buttons, when enabled ; unset for `header`'s, and always unset while `disabled`
26
35
  * [--carousel-nav-disabled-background] - Set a custom background/border color for a disabled prev/next button
27
36
  * [--carousel-nav-disabled-color] - Set a custom icon color for a disabled prev/next button
@@ -42,6 +51,7 @@ const base = css `
42
51
  var(--_visibleCount)
43
52
  );
44
53
  --_snapAlign: start;
54
+ --_trackInline: var(--carousel-track-padding-inline, 0px);
45
55
  }
46
56
 
47
57
  .sr-only {
@@ -61,7 +71,7 @@ const base = css `
61
71
  align-items: var(--carousel-header-align, flex-end);
62
72
  justify-content: space-between;
63
73
  gap: var(--carousel-header-gap, var(--eun-space-m, 16px));
64
- margin-bottom: var(--eun-space-m, 16px);
74
+ margin-bottom: var(--carousel-header-margin, var(--eun-space-m, 16px));
65
75
  }
66
76
  #carousel-header[hidden] {
67
77
  display: none;
@@ -99,10 +109,11 @@ const base = css `
99
109
  width: var(--carousel-fade-width, 60px);
100
110
  z-index: 2;
101
111
  pointer-events: none;
102
- transition: opacity 0.3s ease;
112
+ transition: opacity var(--eun-duration-xl, 300ms)
113
+ var(--eun-easing-default, ease);
103
114
  }
104
115
  #viewport::before {
105
- left: 0;
116
+ left: calc(-1 * var(--_trackInline));
106
117
  opacity: var(--_showLeftFade, 0);
107
118
  background: linear-gradient(
108
119
  to right,
@@ -111,7 +122,7 @@ const base = css `
111
122
  );
112
123
  }
113
124
  #viewport::after {
114
- right: 0;
125
+ right: calc(-1 * var(--_trackInline));
115
126
  opacity: var(--_showRightFade, 0);
116
127
  background: linear-gradient(
117
128
  to left,
@@ -127,7 +138,17 @@ const base = css `
127
138
  #track {
128
139
  display: flex;
129
140
  gap: var(--carousel-gap, 16px);
130
- padding-block: var(--carousel-track-padding, 0);
141
+ padding-block: var(
142
+ --carousel-track-padding-top,
143
+ var(--carousel-track-padding, var(--eun-space-l))
144
+ )
145
+ var(
146
+ --carousel-track-padding-bottom,
147
+ var(--carousel-track-padding, var(--eun-space-l))
148
+ );
149
+ padding-inline: var(--_trackInline);
150
+ margin-inline: calc(-1 * var(--_trackInline));
151
+ scroll-padding-inline: var(--_trackInline);
131
152
  overflow-x: auto;
132
153
  overflow-y: hidden;
133
154
  scroll-snap-type: x mandatory;
@@ -135,7 +156,8 @@ const base = css `
135
156
  outline: 2px solid transparent;
136
157
  outline-offset: 8px;
137
158
  border-radius: var(--eun-border-radius-m);
138
- transition: outline 0.2s ease-out;
159
+ transition: outline var(--eun-duration-m, 200ms)
160
+ var(--eun-easing-out, ease-out);
139
161
  }
140
162
  #track::-webkit-scrollbar {
141
163
  display: none;
@@ -159,10 +181,11 @@ const base = css `
159
181
  flex-shrink: 0;
160
182
  scroll-snap-align: var(--_snapAlign, start);
161
183
  scroll-snap-stop: always;
162
- transition: transform 0.2s ease;
184
+ transition: transform var(--eun-duration-m, 200ms)
185
+ var(--eun-easing-default, ease);
163
186
  }
164
187
  :host([full-slides]) ::slotted(:not([slot])) {
165
- flex-basis: max(
188
+ --_slideBasis: max(
166
189
  var(--carousel-min-slide-width, 220px),
167
190
  calc(
168
191
  (
@@ -174,7 +197,7 @@ const base = css `
174
197
  );
175
198
  }
176
199
  :host(:not([full-slides])) ::slotted(:not([slot])) {
177
- flex-basis: max(
200
+ --_slideBasis: max(
178
201
  var(--carousel-min-slide-width, 220px),
179
202
  calc(
180
203
  (
@@ -185,6 +208,9 @@ const base = css `
185
208
  )
186
209
  );
187
210
  }
211
+ :host ::slotted(:not([slot])) {
212
+ flex-basis: var(--carousel-slide-width, var(--_slideBasis));
213
+ }
188
214
  ::slotted(.eun-carousel-active-slide) {
189
215
  transform: scale(var(--carousel-active-scale, 1));
190
216
  }
@@ -202,8 +228,8 @@ const base = css `
202
228
  align-items: center;
203
229
  justify-content: center;
204
230
  border-radius: 50%;
205
- border: var(--eun-border-width-s, 1px) solid
206
- var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7));
231
+ border: var(--carousel-nav-border-width, var(--eun-border-width-s, 1px))
232
+ solid var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7));
207
233
  background: var(
208
234
  --carousel-nav-background,
209
235
  var(--eun-surface-color, #ffffff)
@@ -211,14 +237,27 @@ const base = css `
211
237
  color: var(--carousel-nav-color, var(--eun-text-color, #071621));
212
238
  cursor: pointer;
213
239
  outline: 2px solid transparent;
214
- transition: outline 0.2s ease-out;
215
240
  transition:
216
- outline 0.2s ease-out,
217
- opacity 0.2s ease,
218
- background-color 0.2s ease;
241
+ outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
242
+ opacity var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
243
+ background-color var(--eun-duration-m, 200ms)
244
+ var(--eun-easing-default, ease),
245
+ color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
246
+ border-color var(--eun-duration-m, 200ms) var(--eun-easing-default, ease);
219
247
  }
220
248
  .nav:hover:not(:disabled) {
221
- background: var(--eun-content-hover, #edeff0);
249
+ background: var(
250
+ --carousel-nav-hover-background,
251
+ var(--eun-content-hover, #edeff0)
252
+ );
253
+ color: var(
254
+ --carousel-nav-hover-color,
255
+ var(--carousel-nav-color, var(--eun-text-color, #071621))
256
+ );
257
+ border-color: var(
258
+ --carousel-nav-hover-border-color,
259
+ var(--carousel-nav-border-color, var(--eun-border-color, #dee0e7))
260
+ );
222
261
  }
223
262
  .nav:focus-visible {
224
263
  outline-color: var(--eun-color-primary-500, #3d6fff);
@@ -273,10 +312,11 @@ const base = css `
273
312
  cursor: pointer;
274
313
  outline: 2px solid transparent;
275
314
  transition:
276
- width 0.2s ease,
277
- outline 0.2s ease-out,
278
- border-radius 0.2s ease,
279
- background-color 0.2s ease;
315
+ width var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
316
+ outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out),
317
+ border-radius var(--eun-duration-m, 200ms) var(--eun-easing-default, ease),
318
+ background-color var(--eun-duration-m, 200ms)
319
+ var(--eun-easing-default, ease);
280
320
  }
281
321
  .dot:focus-visible {
282
322
  outline-color: var(--eun-color-primary-500, #3d6fff);
@@ -79,9 +79,14 @@ export const paginationStyles = css `
79
79
  outline-offset: 2px;
80
80
  user-select: none;
81
81
  transition:
82
- background var(--pagination-transition-duration, 0.2s) ease-out,
83
- outline var(--pagination-transition-duration, 0.2s) ease-out,
84
- color var(--pagination-transition-duration, 0.2s) ease-out;
82
+ background
83
+ var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
84
+ var(--eun-easing-out, ease-out),
85
+ outline
86
+ var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
87
+ var(--eun-easing-out, ease-out),
88
+ color var(--pagination-transition-duration, var(--eun-duration-m, 200ms))
89
+ var(--eun-easing-out, ease-out);
85
90
  }
86
91
  button.control {
87
92
  cursor: pointer;
@@ -64,6 +64,8 @@ export type EunomiaSidebarTogglePlacement = "edge" | "inline";
64
64
  * @cssprop [--sidebar-color] - Sets the text color of the sidebar
65
65
  * @cssprop [--sidebar-border-color] - Sets the color of the sidebar's side border
66
66
  * @cssprop [--sidebar-padding] - Sets the padding of the header, body, and footer
67
+ * @cssprop [--sidebar-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
68
+ * @cssprop [--sidebar-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
67
69
  * @cssprop [--sidebar-gap] - Sets the gap inside the header and footer rows
68
70
  * @cssprop [--sidebar-transition-duration] - Sets the duration of the collapse and resize transition
69
71
  * @element eun-sidebar
@@ -61,6 +61,8 @@ export const EunomiaSidebarTagName = "eun-sidebar";
61
61
  * @cssprop [--sidebar-color] - Sets the text color of the sidebar
62
62
  * @cssprop [--sidebar-border-color] - Sets the color of the sidebar's side border
63
63
  * @cssprop [--sidebar-padding] - Sets the padding of the header, body, and footer
64
+ * @cssprop [--sidebar-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
65
+ * @cssprop [--sidebar-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
64
66
  * @cssprop [--sidebar-gap] - Sets the gap inside the header and footer rows
65
67
  * @cssprop [--sidebar-transition-duration] - Sets the duration of the collapse and resize transition
66
68
  * @element eun-sidebar
@@ -10,6 +10,8 @@ import { css } from "lit";
10
10
  * [--sidebar-color] - Set a custom text color to the sidebar (pair with --sidebar-background for contrast)
11
11
  * [--sidebar-border-color] - Set a custom color to the sidebar's side border
12
12
  * [--sidebar-padding] - Set a custom padding to the header/body/footer
13
+ * [--sidebar-padding-block] - Set a custom vertical padding, as one length applied to both sides. Ignored when --sidebar-padding is set
14
+ * [--sidebar-padding-inline] - Set a custom horizontal padding, as one length applied to both sides. Ignored when --sidebar-padding is set
13
15
  * [--sidebar-gap] - Set a custom gap inside the header/footer rows
14
16
  * [--sidebar-transition-duration] - Set a custom duration for the collapse/resize transition
15
17
  */
@@ -23,9 +25,19 @@ const base = css `
23
25
  --sidebar-border-color,
24
26
  var(--eun-border-color, #dee0e7)
25
27
  );
26
- --_padding: var(--sidebar-padding, var(--eun-space-m, 16px));
28
+ --_paddingBlock: var(
29
+ --sidebar-padding,
30
+ var(--sidebar-padding-block, var(--eun-space-m, 16px))
31
+ );
32
+ --_paddingInline: var(
33
+ --sidebar-padding,
34
+ var(--sidebar-padding-inline, var(--eun-space-m, 16px))
35
+ );
27
36
  --_gap: var(--sidebar-gap, var(--eun-space-m, 16px));
28
- --_transitionDuration: var(--sidebar-transition-duration, 0.25s);
37
+ --_transitionDuration: var(
38
+ --sidebar-transition-duration,
39
+ var(--eun-duration-l, 250ms)
40
+ );
29
41
  display: flex;
30
42
  position: sticky;
31
43
  top: 0;
@@ -33,7 +45,7 @@ const base = css `
33
45
  height: 100%;
34
46
  box-sizing: border-box;
35
47
  width: var(--_width);
36
- transition: width var(--_transitionDuration) ease;
48
+ transition: width var(--_transitionDuration) var(--eun-easing-default, ease);
37
49
  border-inline-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
38
50
  }
39
51
  :host([dragging]) {
@@ -41,7 +53,8 @@ const base = css `
41
53
  }
42
54
  :host([position="end"]) {
43
55
  border-inline-end: none;
44
- border-inline-start: var(--eun-border-width-s, 1px) solid var(--_borderColor);
56
+ border-inline-start: var(--eun-border-width-s, 1px) solid
57
+ var(--_borderColor);
45
58
  }
46
59
  :host([collapsed][collapse-mode="mini"]) {
47
60
  --_width: var(--_miniWidth);
@@ -76,7 +89,7 @@ const base = css `
76
89
  align-items: flex-start;
77
90
  justify-content: space-between;
78
91
  gap: var(--_gap);
79
- padding: var(--_padding) var(--_padding) 0;
92
+ padding: var(--_paddingBlock) var(--_paddingInline) 0;
80
93
  }
81
94
  #heading {
82
95
  margin: 0;
@@ -88,7 +101,7 @@ const base = css `
88
101
  flex: 1;
89
102
  min-height: 0;
90
103
  overflow-y: auto;
91
- padding: var(--_gap) var(--_padding);
104
+ padding: var(--_gap) var(--_paddingInline);
92
105
  font-size: var(--eun-font-size-s, 14px);
93
106
  }
94
107
  #footer {
@@ -96,7 +109,7 @@ const base = css `
96
109
  display: flex;
97
110
  justify-content: flex-end;
98
111
  gap: var(--eun-space-s, 8px);
99
- padding: var(--_padding);
112
+ padding: var(--_paddingBlock) var(--_paddingInline);
100
113
  }
101
114
 
102
115
  #resize-handle {
@@ -108,7 +121,8 @@ const base = css `
108
121
  cursor: ew-resize;
109
122
  touch-action: none;
110
123
  background: transparent;
111
- transition: background-color 0.15s ease;
124
+ transition: background-color var(--eun-duration-s, 150ms)
125
+ var(--eun-easing-default, ease);
112
126
  }
113
127
  :host([position="end"]) #resize-handle {
114
128
  inset-inline-end: auto;
@@ -143,7 +157,8 @@ const base = css `
143
157
  border-radius: var(--eun-border-radius-xl, 999px);
144
158
  color: var(--eun-text-secondary, #484e61);
145
159
  cursor: pointer;
146
- transition: background-color 0.15s ease;
160
+ transition: background-color var(--eun-duration-s, 150ms)
161
+ var(--eun-easing-default, ease);
147
162
  }
148
163
  :host([position="end"]) #collapse-toggle:not(.inline) {
149
164
  inset-inline-end: auto;
@@ -159,7 +174,7 @@ const base = css `
159
174
  align-items: center;
160
175
  gap: var(--eun-space-s, 8px);
161
176
  width: 100%;
162
- padding: var(--eun-space-s, 8px) var(--_padding);
177
+ padding: var(--eun-space-s, 8px) var(--_paddingInline);
163
178
  border: none;
164
179
  border-top: var(--eun-border-width-s, 1px) solid var(--_borderColor);
165
180
  border-radius: 0;
@@ -169,7 +184,8 @@ const base = css `
169
184
  font-size: var(--eun-font-size-s, 14px);
170
185
  text-align: start;
171
186
  cursor: pointer;
172
- transition: background-color 0.15s ease;
187
+ transition: background-color var(--eun-duration-s, 150ms)
188
+ var(--eun-easing-default, ease);
173
189
  }
174
190
  #collapse-toggle.inline:hover {
175
191
  background: var(--eun-content-hover, #edeff0);
@@ -107,14 +107,20 @@ export const stepStyles = css `
107
107
  var(--eun-content-hover, #edeff0)
108
108
  );
109
109
  color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
110
- font-size: var(--stepper-indicator-font-size, var(--eun-font-size-xs, 12px));
110
+ font-size: var(
111
+ --stepper-indicator-font-size,
112
+ var(--eun-font-size-xs, 12px)
113
+ );
111
114
  font-weight: var(
112
115
  --stepper-indicator-font-weight,
113
116
  var(--eun-font-weight-m, 500)
114
117
  );
115
118
  transition:
116
- background var(--stepper-transition-duration, 0.2s) ease-out,
117
- color var(--stepper-transition-duration, 0.2s) ease-out;
119
+ background
120
+ var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
121
+ var(--eun-easing-out, ease-out),
122
+ color var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
123
+ var(--eun-easing-out, ease-out);
118
124
  }
119
125
  .indicator eun-icon {
120
126
  pointer-events: none;
@@ -164,7 +170,10 @@ export const stepStyles = css `
164
170
  }
165
171
  .label {
166
172
  font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
167
- font-weight: var(--stepper-label-font-weight, var(--eun-font-weight-m, 500));
173
+ font-weight: var(
174
+ --stepper-label-font-weight,
175
+ var(--eun-font-weight-m, 500)
176
+ );
168
177
  color: var(--stepper-label-color, var(--eun-text-color, #071621));
169
178
  }
170
179
  :host([status="current"]) .label {
@@ -204,7 +213,9 @@ export const stepStyles = css `
204
213
  --stepper-connector-color-active,
205
214
  var(--eun-color-primary-200, #6f94ff)
206
215
  );
207
- transition: transform var(--stepper-transition-duration, 0.2s) ease-out;
216
+ transition: transform
217
+ var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
218
+ var(--eun-easing-out, ease-out);
208
219
  }
209
220
  :host(:not([orientation="vertical"])) .connector::after {
210
221
  transform: scaleX(0);
@@ -137,7 +137,9 @@ export const stepperStyles = css `
137
137
  --stepper-connector-color-active,
138
138
  var(--eun-color-primary-200, #6f94ff)
139
139
  );
140
- transition: transform var(--stepper-transition-duration, 0.2s) ease-out;
140
+ transition: transform
141
+ var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
142
+ var(--eun-easing-out, ease-out);
141
143
  }
142
144
  li.connector::after {
143
145
  transform: scaleX(0);
@@ -206,14 +208,20 @@ export const stepperStyles = css `
206
208
  var(--eun-content-hover, #edeff0)
207
209
  );
208
210
  color: var(--stepper-indicator-color, var(--eun-text-secondary, #484e61));
209
- font-size: var(--stepper-indicator-font-size, var(--eun-font-size-xs, 12px));
211
+ font-size: var(
212
+ --stepper-indicator-font-size,
213
+ var(--eun-font-size-xs, 12px)
214
+ );
210
215
  font-weight: var(
211
216
  --stepper-indicator-font-weight,
212
217
  var(--eun-font-weight-m, 500)
213
218
  );
214
219
  transition:
215
- background var(--stepper-transition-duration, 0.2s) ease-out,
216
- color var(--stepper-transition-duration, 0.2s) ease-out;
220
+ background
221
+ var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
222
+ var(--eun-easing-out, ease-out),
223
+ color var(--stepper-transition-duration, var(--eun-duration-m, 200ms))
224
+ var(--eun-easing-out, ease-out);
217
225
  }
218
226
  .indicator eun-icon {
219
227
  pointer-events: none;
@@ -305,7 +313,10 @@ export const stepperStyles = css `
305
313
  }
306
314
  .label {
307
315
  font-size: var(--stepper-label-font-size, var(--eun-font-size-s, 14px));
308
- font-weight: var(--stepper-label-font-weight, var(--eun-font-weight-m, 500));
316
+ font-weight: var(
317
+ --stepper-label-font-weight,
318
+ var(--eun-font-weight-m, 500)
319
+ );
309
320
  color: var(--stepper-label-color, var(--eun-text-color, #071621));
310
321
  }
311
322
  li.step[data-status="current"] .label {
@@ -9,6 +9,10 @@ declare const EunomiaTab_base: import("../../../../utils/constructor.type.js").C
9
9
  * Allows to control a tab panel by allowing to display it or not.
10
10
  * Note that the component must be used into a tab-group component.
11
11
  *
12
+ * The host itself takes focus, but draws its focus ring on its inner
13
+ * label box and forces its own `outline` to `none`, so a global
14
+ * `*:focus-visible` rule from the page never adds a second ring.
15
+ *
12
16
  * @slot [default] - The label of the tab
13
17
  * @slot [icon] - Used to set a custom icon different from Eunomia one
14
18
  * @slot [badge] - Positions slotted content (typically a `eun-badge`) into the same spot the boolean `badge` dot indicator occupies
@@ -16,14 +20,21 @@ declare const EunomiaTab_base: import("../../../../utils/constructor.type.js").C
16
20
  * @cssprop [--tab-background-color] - Set a custom background color for the tab
17
21
  * @cssprop [--tab-hover-background-color] - Set a custom background color for the tab in case of hover state
18
22
  * @cssprop [--tab-active-background-color] - Set a custom background color for the tab in case of active state
23
+ * @cssprop [--tab-focus-background-color] - Set a custom background color for the tab in case of keyboard focus
19
24
  * @cssprop [--tab-text-color] - Set a custom color for the tab label
20
25
  * @cssprop [--tab-hover-text-color] - Set a custom color to the tab label in case of hover state
21
26
  * @cssprop [--tab-active-text-color] - Srt a custom color to the tab label in case of active state
22
27
  * @cssprop [--tab-padding] - Set a custom padding into the tab.
28
+ * @cssprop [--tab-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tab-padding is set
29
+ * @cssprop [--tab-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tab-padding is set
23
30
  * @cssprop [--tab-border] - Set a custom border to the tab.
24
31
  * @cssprop [--tab-border-active] - Set a custom border to the tab on active state.
25
32
  * @cssprop [--tab-border-radius] - Set a custom border radius to the tab.
26
33
  * @cssprop [--tab-focus-outline] - Set a custom color to the focus outline
34
+ * @cssprop [--tab-focus-outline-width] - Set a custom width to the focus outline
35
+ * @cssprop [--tab-focus-outline-offset] - Set a custom offset to the focus outline
36
+ * @cssprop [--tab-font-size] - Set a custom font size to the tab label
37
+ * @cssprop [--tab-font-weight] - Set a custom font weight to the tab label
27
38
  * @cssprop [--tab-notification-color] - Set a custom color to the notification badge
28
39
  * @cssprop [--tab-disabled-display] - Set a custom `display` for a disabled tab, e.g. `none` to hide it entirely instead of showing it dimmed
29
40
  */
@@ -16,6 +16,10 @@ export const EunomiaTabTagName = "eun-tab";
16
16
  * Allows to control a tab panel by allowing to display it or not.
17
17
  * Note that the component must be used into a tab-group component.
18
18
  *
19
+ * The host itself takes focus, but draws its focus ring on its inner
20
+ * label box and forces its own `outline` to `none`, so a global
21
+ * `*:focus-visible` rule from the page never adds a second ring.
22
+ *
19
23
  * @slot [default] - The label of the tab
20
24
  * @slot [icon] - Used to set a custom icon different from Eunomia one
21
25
  * @slot [badge] - Positions slotted content (typically a `eun-badge`) into the same spot the boolean `badge` dot indicator occupies
@@ -23,14 +27,21 @@ export const EunomiaTabTagName = "eun-tab";
23
27
  * @cssprop [--tab-background-color] - Set a custom background color for the tab
24
28
  * @cssprop [--tab-hover-background-color] - Set a custom background color for the tab in case of hover state
25
29
  * @cssprop [--tab-active-background-color] - Set a custom background color for the tab in case of active state
30
+ * @cssprop [--tab-focus-background-color] - Set a custom background color for the tab in case of keyboard focus
26
31
  * @cssprop [--tab-text-color] - Set a custom color for the tab label
27
32
  * @cssprop [--tab-hover-text-color] - Set a custom color to the tab label in case of hover state
28
33
  * @cssprop [--tab-active-text-color] - Srt a custom color to the tab label in case of active state
29
34
  * @cssprop [--tab-padding] - Set a custom padding into the tab.
35
+ * @cssprop [--tab-padding-block] - Sets the vertical padding, as one length applied to both sides. Ignored when --tab-padding is set
36
+ * @cssprop [--tab-padding-inline] - Sets the horizontal padding, as one length applied to both sides. Ignored when --tab-padding is set
30
37
  * @cssprop [--tab-border] - Set a custom border to the tab.
31
38
  * @cssprop [--tab-border-active] - Set a custom border to the tab on active state.
32
39
  * @cssprop [--tab-border-radius] - Set a custom border radius to the tab.
33
40
  * @cssprop [--tab-focus-outline] - Set a custom color to the focus outline
41
+ * @cssprop [--tab-focus-outline-width] - Set a custom width to the focus outline
42
+ * @cssprop [--tab-focus-outline-offset] - Set a custom offset to the focus outline
43
+ * @cssprop [--tab-font-size] - Set a custom font size to the tab label
44
+ * @cssprop [--tab-font-weight] - Set a custom font weight to the tab label
34
45
  * @cssprop [--tab-notification-color] - Set a custom color to the notification badge
35
46
  * @cssprop [--tab-disabled-display] - Set a custom `display` for a disabled tab, e.g. `none` to hide it entirely instead of showing it dimmed
36
47
  */
@@ -1,5 +1,5 @@
1
1
  import { css } from "lit";
2
- import { EUNOMIA_BREAKPOINTS } from "../../../../breakpoints.js";
2
+ import { cssFrom } from "../../../../utils/media.styles.js";
3
3
  /**
4
4
  * Base style for the tab.
5
5
  *
@@ -7,15 +7,21 @@ import { EUNOMIA_BREAKPOINTS } from "../../../../breakpoints.js";
7
7
  * [--tab-background-color] - Set a custom background color for the tab
8
8
  * [--tab-hover-background-color] - Set a custom background color for the tab in case of hover state
9
9
  * [--tab-active-background-color] - Set a custom background color for the tab in case of active state
10
+ * [--tab-focus-background-color] - Set a custom background color for the tab in case of keyboard focus
10
11
  * [--tab-text-color] - Set a custom color for the tab label
11
12
  * [--tab-hover-text-color] - Set a custom color to the tab label in case of hover state
12
13
  * [--tab-active-text-color] - Set a custom color to the tab label in case of active state
13
14
  * [--tab-padding] - Set a custom padding into the tab
15
+ * [--tab-padding-block] - Set a custom vertical padding, as one length applied to both sides. Ignored when --tab-padding is set
16
+ * [--tab-padding-inline] - Set a custom horizontal padding, as one length applied to both sides. Ignored when --tab-padding is set
14
17
  * [--tab-border] - Set a custom border to the tab
15
18
  * [--tab-border-active] - Set a custom border to the tab on active state
16
19
  * [--tab-border-radius] - Set a custom border radius to the tab
17
20
  * [--tab-focus-outline] - Set a custom color to the focus outline
21
+ * [--tab-focus-outline-width] - Set a custom width to the focus outline
18
22
  * [--tab-focus-outline-offset] - Set a custom offset to the focus outline
23
+ * [--tab-font-size] - Set a custom font size to the tab label
24
+ * [--tab-font-weight] - Set a custom font weight to the tab label
19
25
  * [--tab-notification-color] - Set a custom color to the notification badge
20
26
  * [--tab-disabled-display] - Set a custom `display` for a disabled tab, e.g. `none` to hide it entirely instead of showing it dimmed
21
27
  */
@@ -33,14 +39,15 @@ const base = css `
33
39
  --_background: var(--tab-background-color, transparent);
34
40
  --_padding: var(
35
41
  --tab-padding,
36
- var(--eun-space-s, 8px) var(--eun-space-m, 16px)
42
+ var(--tab-padding-block, var(--eun-space-s, 8px))
43
+ var(--tab-padding-inline, var(--eun-space-m, 16px))
37
44
  );
38
45
  --_border: var(--tab-border);
39
46
  --_border-radius: var(--tab-border-radius, 8px);
40
47
  --_pointerEvents: all;
41
- font-size: var(--eun-font-size-s, 14px);
42
- font-weight: var(--eun-font-weight-m, 500);
43
- outline: none;
48
+ font-size: var(--tab-font-size, var(--eun-font-size-s, 14px));
49
+ font-weight: var(--tab-font-weight, var(--eun-font-weight-m, 500));
50
+ outline: none !important;
44
51
  font-family: var(--eun-font-family, "Mulish", sans-serif);
45
52
  z-index: 1;
46
53
  }
@@ -80,16 +87,19 @@ const base = css `
80
87
  border: var(--_border);
81
88
  border-radius: var(--_border-radius);
82
89
  background: var(--_background);
83
- outline: 2px solid transparent;
84
- outline-offset: -8px;
90
+ outline: var(--tab-focus-outline-width, 2px) solid transparent;
91
+ outline-offset: var(--tab-focus-outline-offset, -2px);
85
92
  user-select: none;
86
- transition: all 0.2s ease-out;
93
+ transition: all var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out);
87
94
  color: var(--_textColor);
88
95
  fill: var(--_textColor);
89
96
  }
90
97
  :host(:focus-visible) div {
91
- outline-offset: var(--tab-focus-outline-offset, -6px);
92
98
  outline-color: var(--_focusIndicator);
99
+ background: var(
100
+ --tab-focus-background-color,
101
+ var(--eun-color-primary-alpha-10, #3d6fff1a)
102
+ );
93
103
  }
94
104
  :host([badge]) div,
95
105
  div[has-badge] {
@@ -138,13 +148,12 @@ const base = css `
138
148
  var(--eun-color-critical-100, #aa0014)
139
149
  );
140
150
  border-radius: var(--eun-border-radius-xl, 999px);
141
- transition: scale 0.2s cubic-bezier(0.35, 0.92, 0.65, 1.28);
151
+ transition: scale var(--eun-duration-m, 200ms)
152
+ cubic-bezier(0.35, 0.92, 0.65, 1.28);
142
153
  scale: 1;
143
154
  place-self: var(--_badge-place, start);
144
155
  translate: var(--_y-correction, 0 -2px);
145
156
  }
146
- /* A real slotted badge (slot="badge") takes priority over the plain
147
- dot indicator when both are present, rather than rendering both. */
148
157
  :host([badge]) div[has-badge]::after {
149
158
  display: none;
150
159
  }
@@ -163,10 +172,7 @@ const base = css `
163
172
  }
164
173
  }
165
174
 
166
- @media (min-width: ${EUNOMIA_BREAKPOINTS.tablet}px) {
167
- :host {
168
- font-size: var(--eun-font-size-s, 14px);
169
- }
175
+ @media ${cssFrom("tablet")} {
170
176
  :host([badge]) div::after {
171
177
  --_y-correction: none;
172
178
  }
@@ -15,6 +15,7 @@ import { createSwipeGesture, } from "../../../../utils/swipe-gesture.utils.js";
15
15
  import { TabChangeEvent } from "../../../../events/tabchange.event.js";
16
16
  import { EunomiaTab } from "../tab/tab.js";
17
17
  import { tabGroupStyle } from "./tab-group.styles.js";
18
+ import { cssTimeToMs } from "../../../../utils/motion.utils.js";
18
19
  /**
19
20
  * Tag name of the tab group component.
20
21
  */
@@ -355,7 +356,7 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
355
356
  if (previousPanel) {
356
357
  this.dispatchEvent(new TabChangeEvent({ active: newTab.panel }));
357
358
  }
358
- this.updateComplete.then(this.debounceAnimation);
359
+ void this.updateComplete.then(this.debounceAnimation);
359
360
  }
360
361
  /**
361
362
  * Initialize the slide animation if initialized.
@@ -505,15 +506,15 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
505
506
  const edgeSign = this.dragDirection === DirectionFocus.NEXT ? 1 : -1;
506
507
  const activeFinal = commit ? `${-edgeSign * 100}%` : "0px";
507
508
  const targetFinal = commit ? "0px" : `${edgeSign * 100}%`;
508
- const duration = getComputedStyle(this).getPropertyValue("--_swipe-duration");
509
- const instant = Number.parseFloat(duration) <= 0;
509
+ const duration = cssTimeToMs(getComputedStyle(this).getPropertyValue("--_swipe-duration")) ?? 0;
510
+ const instant = duration <= 0;
510
511
  [activePanel, targetPanel].forEach((panel) => {
511
512
  if (!panel) {
512
513
  return;
513
514
  }
514
515
  panel.style.transition = instant
515
516
  ? "none"
516
- : "transform var(--_swipe-duration) ease-out";
517
+ : "transform var(--_swipe-duration) var(--eun-easing-out, ease-out)";
517
518
  });
518
519
  activePanel?.style.setProperty("transform", `translateX(${activeFinal})`);
519
520
  targetPanel?.style.setProperty("transform", `translateX(${targetFinal})`);
@@ -530,10 +531,8 @@ let EunomiaTabGroup = EunomiaTabGroup_1 = class EunomiaTabGroup extends Navigati
530
531
  this.finalizeDrag(commit);
531
532
  };
532
533
  activePanel?.addEventListener("transitionend", onSettled, { once: true });
533
- // Belt-and-braces : a panel with e.g. `display:none` sneaking in
534
- // through external code mid-drag would never fire `transitionend`.
535
- this.updateComplete.then(() => {
536
- window.setTimeout(onSettled, Number.parseFloat(duration) || 0);
534
+ void this.updateComplete.then(() => {
535
+ window.setTimeout(onSettled, duration);
537
536
  });
538
537
  }
539
538
  /**