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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/components/chunks/{chunk-EAGGN3ZI.js → chunk-2XASWWKR.js} +9 -9
  3. package/dist/cdn/components/chunks/chunk-32DTNR52.js +1 -0
  4. package/dist/cdn/components/chunks/chunk-3MTUVMM5.js +1 -0
  5. package/dist/cdn/components/chunks/chunk-5GKM5DIB.js +1 -0
  6. package/dist/cdn/components/chunks/{chunk-32KRPOPV.js → chunk-5XJGYXW7.js} +6 -6
  7. package/dist/cdn/components/chunks/{chunk-O2HNWH65.js → chunk-5XJLIHAU.js} +7 -7
  8. package/dist/cdn/components/chunks/{chunk-TBKKTJOX.js → chunk-6ETDXUH2.js} +3 -3
  9. package/dist/cdn/components/chunks/{chunk-5GF2Q3NR.js → chunk-74AOAB4X.js} +1 -1
  10. package/dist/cdn/components/chunks/{chunk-WYMBUIKX.js → chunk-A6KGFALA.js} +4 -4
  11. package/dist/cdn/components/chunks/{chunk-NEYBPT3D.js → chunk-AIS3UICU.js} +9 -9
  12. package/dist/cdn/components/chunks/{chunk-LJYTHDZP.js → chunk-D2M4BV5Y.js} +6 -6
  13. package/dist/cdn/components/chunks/chunk-DKOPI7QA.js +415 -0
  14. package/dist/cdn/components/chunks/{chunk-53QH6MPM.js → chunk-EAKYD33D.js} +3 -3
  15. package/dist/cdn/components/chunks/chunk-EST3M4AO.js +1 -0
  16. package/dist/cdn/components/chunks/{chunk-BYBUXKXC.js → chunk-IDKZKLJR.js} +7 -7
  17. package/dist/cdn/components/chunks/chunk-JRGM3W7I.js +53 -0
  18. package/dist/cdn/components/chunks/{chunk-RWONCXTF.js → chunk-KVYUNKUO.js} +2 -2
  19. package/dist/cdn/components/chunks/{chunk-6UPI7GHJ.js → chunk-L65WUTXM.js} +12 -12
  20. package/dist/cdn/components/chunks/chunk-LFCXUVDO.js +1 -0
  21. package/dist/cdn/components/chunks/chunk-LGLQ36QB.js +16 -0
  22. package/dist/cdn/components/chunks/chunk-MPQP4R54.js +263 -0
  23. package/dist/cdn/components/chunks/{chunk-ON42P6FI.js → chunk-NBIENHLV.js} +6 -6
  24. package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +38 -0
  25. package/dist/cdn/components/chunks/chunk-OW7XKDCH.js +124 -0
  26. package/dist/cdn/components/chunks/chunk-P32B7BFD.js +118 -0
  27. package/dist/cdn/components/chunks/{chunk-ZPFHTJSS.js → chunk-PCM7D3YF.js} +1 -1
  28. package/dist/cdn/components/chunks/{chunk-ABYEBP57.js → chunk-PED5ATYN.js} +11 -8
  29. package/dist/cdn/components/chunks/{chunk-5C7YND22.js → chunk-S2UCEWNG.js} +8 -8
  30. package/dist/cdn/components/chunks/{chunk-5RCCZVFZ.js → chunk-SD2WHGPF.js} +7 -6
  31. package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +1 -0
  32. package/dist/cdn/components/chunks/{chunk-6IILPCSQ.js → chunk-X2AUBZD2.js} +3 -3
  33. package/dist/cdn/components/eun-alert.js +65 -45
  34. package/dist/cdn/components/eun-animate.js +5 -3
  35. package/dist/cdn/components/eun-badge.js +8 -8
  36. package/dist/cdn/components/eun-breadcrumb-item.js +14 -10
  37. package/dist/cdn/components/eun-breadcrumb.js +11 -7
  38. package/dist/cdn/components/eun-button.js +1 -1
  39. package/dist/cdn/components/eun-calendar.js +20 -20
  40. package/dist/cdn/components/eun-card.js +61 -13
  41. package/dist/cdn/components/eun-carousel.js +35 -27
  42. package/dist/cdn/components/eun-check-card.js +3 -3
  43. package/dist/cdn/components/eun-checkbox-list.js +3 -3
  44. package/dist/cdn/components/eun-checkbox.js +1 -1
  45. package/dist/cdn/components/eun-chip.js +45 -207
  46. package/dist/cdn/components/eun-collapse.js +49 -29
  47. package/dist/cdn/components/eun-color-picker.js +13 -13
  48. package/dist/cdn/components/eun-counter.js +15 -15
  49. package/dist/cdn/components/eun-date-picker.js +62 -62
  50. package/dist/cdn/components/eun-drawer.js +12 -12
  51. package/dist/cdn/components/eun-dropdown-button.js +1 -1
  52. package/dist/cdn/components/eun-dropdown-item.js +6 -6
  53. package/dist/cdn/components/eun-fab.js +31 -53
  54. package/dist/cdn/components/eun-icon.js +1 -1
  55. package/dist/cdn/components/eun-image-card.js +18 -11
  56. package/dist/cdn/components/eun-image-carousel.js +18 -18
  57. package/dist/cdn/components/eun-infinite-list.js +1 -1
  58. package/dist/cdn/components/eun-input-file.js +12 -12
  59. package/dist/cdn/components/eun-input-phone.js +28 -28
  60. package/dist/cdn/components/eun-input.js +1 -1
  61. package/dist/cdn/components/eun-label.js +4 -4
  62. package/dist/cdn/components/eun-link.js +134 -18
  63. package/dist/cdn/components/eun-loader.js +1 -1
  64. package/dist/cdn/components/eun-modal.js +21 -21
  65. package/dist/cdn/components/eun-pagination.js +3 -3
  66. package/dist/cdn/components/eun-password-strength.js +9 -6
  67. package/dist/cdn/components/eun-progress-bar.js +13 -13
  68. package/dist/cdn/components/eun-radio-card.js +2 -2
  69. package/dist/cdn/components/eun-radio-list.js +1 -1
  70. package/dist/cdn/components/eun-radio.js +1 -1
  71. package/dist/cdn/components/eun-scheduler-event-editor.js +9 -9
  72. package/dist/cdn/components/eun-scheduler-event.js +1 -1
  73. package/dist/cdn/components/eun-scheduler.js +26 -26
  74. package/dist/cdn/components/eun-search.js +21 -21
  75. package/dist/cdn/components/eun-select.js +10 -10
  76. package/dist/cdn/components/eun-sidebar.js +9 -9
  77. package/dist/cdn/components/eun-skeleton.js +1 -1
  78. package/dist/cdn/components/eun-slider.js +8 -8
  79. package/dist/cdn/components/eun-sliding-card.js +4 -3
  80. package/dist/cdn/components/eun-step.js +8 -8
  81. package/dist/cdn/components/eun-stepper.js +8 -8
  82. package/dist/cdn/components/eun-switch.js +10 -10
  83. package/dist/cdn/components/eun-tab-group.js +19 -11
  84. package/dist/cdn/components/eun-tab-panel.js +1 -1
  85. package/dist/cdn/components/eun-tab.js +1 -1
  86. package/dist/cdn/components/eun-table-action-bar.js +1 -1
  87. package/dist/cdn/components/eun-table-cell.js +1 -1
  88. package/dist/cdn/components/eun-table-column.js +1 -1
  89. package/dist/cdn/components/eun-table-header.js +1 -1
  90. package/dist/cdn/components/eun-table-item.js +1 -1
  91. package/dist/cdn/components/eun-table-skeleton-row.js +1 -1
  92. package/dist/cdn/components/eun-table.js +3 -3
  93. package/dist/cdn/components/eun-tag.js +34 -126
  94. package/dist/cdn/components/eun-textarea.js +23 -23
  95. package/dist/cdn/components/eun-time-picker.js +32 -32
  96. package/dist/cdn/components/eun-toast.js +40 -36
  97. package/dist/cdn/components/eun-toggle-group.js +213 -72
  98. package/dist/cdn/components/eun-toggle-item.js +49 -30
  99. package/dist/cdn/components/eun-toggle.js +12 -9
  100. package/dist/cdn/components/eun-toolbar.js +15 -8
  101. package/dist/cdn/components/eun-tooltip.js +122 -87
  102. package/dist/cdn/styles/eunomia-themes.css +1 -1
  103. package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
  104. package/dist/cdn/styles/themes/eunomia-theme.scss +1 -0
  105. package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
  106. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
  107. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
  108. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
  109. package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
  110. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
  111. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
  112. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
  113. package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +2 -0
  114. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
  115. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
  116. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
  117. package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +2 -0
  118. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
  119. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
  120. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
  121. package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +2 -0
  122. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
  123. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
  124. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
  125. package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +2 -0
  126. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
  127. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
  128. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
  129. package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +2 -0
  130. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
  131. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
  132. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
  133. package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +2 -0
  134. package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  135. package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
  136. package/dist/cdn/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
  137. package/dist/cdn/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
  138. package/dist/cdn/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
  139. package/dist/components/action/button/button.d.ts +44 -15
  140. package/dist/components/action/button/button.js +100 -20
  141. package/dist/components/action/button/button.styles.js +179 -393
  142. package/dist/components/action/dropdown-button/dropdown-button.d.ts +13 -6
  143. package/dist/components/action/dropdown-button/dropdown-button.js +16 -5
  144. package/dist/components/action/dropdown-button/dropdown-button.styles.js +8 -8
  145. package/dist/components/action/dropdown-button/dropdown-item.styles.js +6 -6
  146. package/dist/components/action/fab/fab.d.ts +7 -4
  147. package/dist/components/action/fab/fab.js +11 -6
  148. package/dist/components/action/fab/fab.styles.js +26 -49
  149. package/dist/components/action/link/link.d.ts +115 -6
  150. package/dist/components/action/link/link.js +245 -21
  151. package/dist/components/action/link/link.styles.js +105 -3
  152. package/dist/components/action/shared-styles/button-palette.styles.d.ts +27 -0
  153. package/dist/components/action/shared-styles/button-palette.styles.js +151 -0
  154. package/dist/components/action/toggle/toggle-group.d.ts +55 -11
  155. package/dist/components/action/toggle/toggle-group.js +193 -52
  156. package/dist/components/action/toggle/toggle-group.styles.d.ts +7 -5
  157. package/dist/components/action/toggle/toggle-group.styles.js +166 -41
  158. package/dist/components/action/toggle/toggle-item.d.ts +4 -4
  159. package/dist/components/action/toggle/toggle-item.js +2 -2
  160. package/dist/components/action/toggle/toggle-item.styles.js +45 -26
  161. package/dist/components/action/toggle/toggle.d.ts +1 -1
  162. package/dist/components/action/toggle/toggle.js +1 -1
  163. package/dist/components/action/toggle/toggle.styles.d.ts +2 -2
  164. package/dist/components/action/toggle/toggle.styles.js +13 -10
  165. package/dist/components/alert/alert/alert.d.ts +4 -3
  166. package/dist/components/alert/alert/alert.js +4 -3
  167. package/dist/components/alert/alert/alert.styles.js +57 -36
  168. package/dist/components/alert/drawer/drawer.js +1 -1
  169. package/dist/components/alert/drawer/drawer.styles.js +3 -3
  170. package/dist/components/alert/modal/modal.d.ts +8 -8
  171. package/dist/components/alert/modal/modal.js +11 -11
  172. package/dist/components/alert/modal/modal.styles.js +6 -6
  173. package/dist/components/alert/toast/toast.d.ts +4 -3
  174. package/dist/components/alert/toast/toast.js +4 -3
  175. package/dist/components/alert/toast/toast.styles.js +41 -36
  176. package/dist/components/content/badge/badge.d.ts +6 -6
  177. package/dist/components/content/badge/badge.js +4 -4
  178. package/dist/components/content/badge/badge.styles.js +5 -5
  179. package/dist/components/content/card/card.d.ts +36 -8
  180. package/dist/components/content/card/card.js +68 -8
  181. package/dist/components/content/card/card.styles.js +52 -11
  182. package/dist/components/content/card/image-card.d.ts +3 -2
  183. package/dist/components/content/card/image-card.js +2 -1
  184. package/dist/components/content/card/image-card.styles.js +17 -10
  185. package/dist/components/content/card/sliding-card.d.ts +2 -1
  186. package/dist/components/content/card/sliding-card.js +1 -0
  187. package/dist/components/content/card/sliding-card.styles.js +3 -2
  188. package/dist/components/content/chip/chip.d.ts +16 -7
  189. package/dist/components/content/chip/chip.js +18 -6
  190. package/dist/components/content/chip/chip.styles.d.ts +1 -1
  191. package/dist/components/content/chip/chip.styles.js +43 -207
  192. package/dist/components/content/collapse/collapse.d.ts +29 -11
  193. package/dist/components/content/collapse/collapse.js +53 -23
  194. package/dist/components/content/collapse/collapse.styles.js +23 -9
  195. package/dist/components/content/icon/icon.d.ts +12 -2
  196. package/dist/components/content/icon/icon.js +52 -22
  197. package/dist/components/content/icon/icon.style.d.ts +2 -0
  198. package/dist/components/content/icon/icon.style.js +5 -2
  199. package/dist/components/content/image-carousel/image-carousel.styles.js +14 -14
  200. package/dist/components/content/password-strength/password-strength.styles.js +7 -4
  201. package/dist/components/content/progress-bar/progress-bar.styles.js +9 -9
  202. package/dist/components/content/shared-styles/card-link.styles.js +1 -0
  203. package/dist/components/content/shared-styles/tone-surface.styles.d.ts +31 -0
  204. package/dist/components/content/shared-styles/tone-surface.styles.js +149 -0
  205. package/dist/components/content/tag/tag.d.ts +16 -6
  206. package/dist/components/content/tag/tag.js +19 -6
  207. package/dist/components/content/tag/tag.styles.d.ts +1 -1
  208. package/dist/components/content/tag/tag.styles.js +40 -125
  209. package/dist/components/content/tooltip/tooltip.d.ts +15 -4
  210. package/dist/components/content/tooltip/tooltip.js +21 -4
  211. package/dist/components/content/tooltip/tooltip.styles.js +115 -79
  212. package/dist/components/form/checkbox/check-card.styles.js +2 -2
  213. package/dist/components/form/checkbox/checkbox-list.d.ts +1 -1
  214. package/dist/components/form/checkbox/checkbox.d.ts +1 -1
  215. package/dist/components/form/checkbox/checkbox.styles.js +6 -6
  216. package/dist/components/form/color-picker/color-picker.d.ts +3 -3
  217. package/dist/components/form/color-picker/color-picker.js +4 -4
  218. package/dist/components/form/color-picker/color-picker.styles.js +7 -7
  219. package/dist/components/form/counter/counter.d.ts +3 -3
  220. package/dist/components/form/counter/counter.js +3 -3
  221. package/dist/components/form/counter/counter.styles.js +12 -12
  222. package/dist/components/form/date-picker/date-picker-day-grid.styles.js +2 -2
  223. package/dist/components/form/date-picker/date-picker-grid.styles.js +15 -15
  224. package/dist/components/form/date-picker/date-picker-month-grid.styles.js +1 -1
  225. package/dist/components/form/date-picker/date-picker-year-grid.styles.js +1 -1
  226. package/dist/components/form/date-picker/date-picker.d.ts +3 -3
  227. package/dist/components/form/date-picker/date-picker.js +3 -3
  228. package/dist/components/form/date-picker/date-picker.styles.js +17 -17
  229. package/dist/components/form/input/input.d.ts +3 -3
  230. package/dist/components/form/input/input.js +4 -4
  231. package/dist/components/form/input-file/input-file.d.ts +1 -1
  232. package/dist/components/form/input-file/input-file.styles.js +9 -9
  233. package/dist/components/form/input-phone/input-phone.d.ts +3 -3
  234. package/dist/components/form/input-phone/input-phone.js +3 -3
  235. package/dist/components/form/input-phone/input-phone.styles.js +19 -19
  236. package/dist/components/form/label/label.styles.js +4 -4
  237. package/dist/components/form/radio/radio-card.styles.js +1 -1
  238. package/dist/components/form/radio/radio-list.d.ts +1 -1
  239. package/dist/components/form/radio/radio.d.ts +1 -1
  240. package/dist/components/form/radio/radio.styles.js +2 -2
  241. package/dist/components/form/search/search.styles.js +9 -9
  242. package/dist/components/form/select/select.d.ts +3 -3
  243. package/dist/components/form/select/select.js +3 -3
  244. package/dist/components/form/select/select.styles.js +6 -6
  245. package/dist/components/form/shared-styles/card.styles.js +1 -1
  246. package/dist/components/form/shared-styles/field.styles.js +12 -12
  247. package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
  248. package/dist/components/form/shared-styles/listbox.styles.js +6 -6
  249. package/dist/components/form/slider/slider.d.ts +1 -1
  250. package/dist/components/form/slider/slider.styles.js +6 -6
  251. package/dist/components/form/switch/switch.d.ts +1 -1
  252. package/dist/components/form/switch/switch.styles.js +8 -8
  253. package/dist/components/form/textarea/textarea.d.ts +3 -3
  254. package/dist/components/form/textarea/textarea.js +4 -4
  255. package/dist/components/form/textarea/textarea.styles.js +6 -6
  256. package/dist/components/form/time-picker/time-picker-columns.styles.js +6 -6
  257. package/dist/components/form/time-picker/time-picker-list.styles.js +2 -2
  258. package/dist/components/form/time-picker/time-picker.d.ts +3 -3
  259. package/dist/components/form/time-picker/time-picker.js +3 -3
  260. package/dist/components/form/time-picker/time-picker.styles.js +13 -13
  261. package/dist/components/layout/animate/animate.d.ts +8 -0
  262. package/dist/components/layout/animate/animate.js +20 -8
  263. package/dist/components/loader/loader/loader.styles.js +2 -2
  264. package/dist/components/loader/skeleton/skeleton.styles.js +8 -5
  265. package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +7 -0
  266. package/dist/components/navigation/breadcrumb/breadcrumb-item.js +15 -1
  267. package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +3 -3
  268. package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +1 -0
  269. package/dist/components/navigation/breadcrumb/breadcrumb.js +7 -1
  270. package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +3 -3
  271. package/dist/components/navigation/carousel/carousel.d.ts +40 -6
  272. package/dist/components/navigation/carousel/carousel.js +61 -12
  273. package/dist/components/navigation/carousel/carousel.styles.js +19 -7
  274. package/dist/components/navigation/pagination/pagination.styles.js +3 -3
  275. package/dist/components/navigation/sidebar/sidebar.styles.js +9 -9
  276. package/dist/components/navigation/stepper/step.styles.js +8 -8
  277. package/dist/components/navigation/stepper/stepper.styles.js +8 -8
  278. package/dist/components/navigation/tabs/tab/tab.styles.js +5 -5
  279. package/dist/components/navigation/tabs/tab-group/tab-group.d.ts +9 -0
  280. package/dist/components/navigation/tabs/tab-group/tab-group.js +19 -2
  281. package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +12 -4
  282. package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +1 -1
  283. package/dist/components/navigation/toolbar/toolbar.d.ts +2 -0
  284. package/dist/components/navigation/toolbar/toolbar.js +2 -0
  285. package/dist/components/navigation/toolbar/toolbar.styles.js +16 -7
  286. package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
  287. package/dist/features/scheduler/calendar/calendar.js +10 -10
  288. package/dist/features/scheduler/calendar/calendar.styles.js +3 -3
  289. package/dist/features/scheduler/scheduler/scheduler.d.ts +6 -6
  290. package/dist/features/scheduler/scheduler/scheduler.js +13 -13
  291. package/dist/features/scheduler/scheduler/scheduler.styles.js +2 -2
  292. package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +10 -8
  293. package/dist/features/scheduler/scheduler-event/scheduler-event.js +7 -7
  294. package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +8 -8
  295. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +5 -5
  296. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +2 -2
  297. package/dist/features/scheduler/shared/scheduler-event-popover.js +2 -2
  298. package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +4 -4
  299. package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +2 -2
  300. package/dist/features/scheduler/shared/scheduler-hour-grid.js +3 -3
  301. package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +1 -1
  302. package/dist/features/scheduler/shared/scheduler-month-view.d.ts +3 -3
  303. package/dist/features/scheduler/shared/scheduler-month-view.js +2 -2
  304. package/dist/features/scheduler/shared/scheduler-month-view.styles.js +1 -1
  305. package/dist/features/scheduler/shared/scheduler-year-view.styles.js +1 -1
  306. package/dist/features/table/native-table.css +11 -11
  307. package/dist/features/table/table/table.styles.js +2 -2
  308. package/dist/features/table/table/table.types.d.ts +7 -3
  309. package/dist/features/table/table-action-bar/table-action-bar.js +3 -3
  310. package/dist/features/table/table-action-bar/table-action-bar.styles.js +2 -2
  311. package/dist/features/table/table-cell/table-cell.styles.js +2 -2
  312. package/dist/features/table/table-column/table-column.styles.js +3 -3
  313. package/dist/features/table/table-header/table-header.styles.js +4 -4
  314. package/dist/features/table/table-item/table-item.styles.js +6 -6
  315. package/dist/features/table/table-managed/table-managed.js +2 -2
  316. package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +1 -1
  317. package/dist/i18n/en.d.ts +3 -0
  318. package/dist/i18n/en.js +3 -0
  319. package/dist/i18n/fr.js +3 -0
  320. package/dist/index.d.ts +7 -7
  321. package/dist/index.js +5 -2
  322. package/dist/jsx.d.ts +19 -6
  323. package/dist/mixins/button.mixin.d.ts +11 -9
  324. package/dist/mixins/button.mixin.js +23 -5
  325. package/dist/mixins/card-link.mixin.d.ts +3 -2
  326. package/dist/mixins/card-link.mixin.js +12 -5
  327. package/dist/mixins/check.mixin.d.ts +1 -1
  328. package/dist/mixins/disabled.mixin.d.ts +3 -3
  329. package/dist/mixins/disabled.mixin.js +10 -5
  330. package/dist/mixins/editable.mixin.d.ts +1 -1
  331. package/dist/mixins/field-appearance.mixin.d.ts +19 -0
  332. package/dist/mixins/{field-variant.mixin.js → field-appearance.mixin.js} +11 -11
  333. package/dist/mixins/form.mixin.d.ts +5 -1
  334. package/dist/mixins/form.mixin.js +32 -12
  335. package/dist/mixins/overflow-navigation.mixin.js +2 -1
  336. package/dist/mixins/radio.mixin.d.ts +1 -1
  337. package/dist/mixins/validators.mixin.d.ts +9 -3
  338. package/dist/ssr/animate-ssr.css +26 -72
  339. package/dist/ssr/links-ssr.css +35 -0
  340. package/dist/ssr/overlay-ssr.css +0 -41
  341. package/dist/ssr/rich-text.css +38 -0
  342. package/dist/ssr/sidebar-ssr.css +0 -38
  343. package/dist/ssr/toolbar-ssr.css +73 -39
  344. package/dist/types/variant.type.d.ts +26 -10
  345. package/dist/utils/navigation.utils.d.ts +14 -0
  346. package/dist/utils/navigation.utils.js +33 -0
  347. package/dist/utils/new-tab-anchor.controller.d.ts +44 -0
  348. package/dist/utils/new-tab-anchor.controller.js +102 -0
  349. package/dist/utils/rich-text.utils.d.ts +33 -0
  350. package/dist/utils/rich-text.utils.js +140 -49
  351. package/dist/utils/severity-icon.utils.d.ts +1 -1
  352. package/dist/utils/severity-icon.utils.js +1 -1
  353. package/dist/utils/theme-generator.utils.d.ts +26 -3
  354. package/dist/utils/theme-generator.utils.js +68 -21
  355. package/package.json +13 -2
  356. package/styles/themes/eunomia-theme.scss +1 -0
  357. package/styles/themes/mixins/eunomia-neutrals.mixin.scss +71 -0
  358. package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +3 -13
  359. package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +3 -13
  360. package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +2 -0
  361. package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +3 -13
  362. package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +3 -13
  363. package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +2 -0
  364. package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +3 -13
  365. package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +3 -13
  366. package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +2 -0
  367. package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +3 -13
  368. package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +3 -13
  369. package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +2 -0
  370. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +3 -13
  371. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +3 -13
  372. package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +2 -0
  373. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +3 -13
  374. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +3 -13
  375. package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +2 -0
  376. package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +3 -13
  377. package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +3 -13
  378. package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +2 -0
  379. package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
  380. package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +39 -0
  381. package/styles/tools/mixins/settings/eunomia-border.mixin.scss +3 -3
  382. package/styles/tools/mixins/settings/eunomia-font.mixin.scss +12 -12
  383. package/styles/tools/mixins/settings/eunomia-radius.mixin.scss +4 -4
  384. package/dist/cdn/components/chunks/chunk-3LMI7KUA.js +0 -48
  385. package/dist/cdn/components/chunks/chunk-5TH3P53V.js +0 -16
  386. package/dist/cdn/components/chunks/chunk-ATH2OAMU.js +0 -1
  387. package/dist/cdn/components/chunks/chunk-BKHD4S57.js +0 -1
  388. package/dist/cdn/components/chunks/chunk-KNM5QHDK.js +0 -38
  389. package/dist/cdn/components/chunks/chunk-MBF52GEL.js +0 -1
  390. package/dist/cdn/components/chunks/chunk-T7WABJEJ.js +0 -1
  391. package/dist/cdn/components/chunks/chunk-XSMCT4DF.js +0 -1
  392. package/dist/cdn/components/chunks/chunk-Z6PJYSC3.js +0 -622
  393. package/dist/cdn/components/chunks/chunk-ZKPCO5RB.js +0 -262
  394. package/dist/mixins/field-variant.mixin.d.ts +0 -22
@@ -17,9 +17,11 @@ export const tooltipHostStyles = css `
17
17
  * [--tooltip-viewport-gap] - Set a custom minimum distance kept from the viewport edge, so the panel never runs off-screen
18
18
  * [--tooltip-min-width] - Set a custom minimum width
19
19
  * [--tooltip-max-width] - Set a custom maximum width
20
- * [--tooltip-background-color] - Set a custom background color when `severity` is unset
21
- * [--tooltip-color] - Set a custom heading color when `severity` is unset
22
- * [--tooltip-content-color] - Set a custom color for the description content
20
+ * [--tooltip-background-color] - Set a custom background color, for every appearance, color and severity
21
+ * [--tooltip-color] - Set a custom heading (and link) color, for every appearance, color and severity
22
+ * [--tooltip-content-color] - Set a custom color for the description content, for every appearance, color and severity
23
+ * [--tooltip-border-color] - Set a custom border color, for every appearance, color and severity
24
+ * [--tooltip-border-width] - Set a custom border width, for every appearance. Defaults to 1px, only drawn (in a color) by outline, or when --tooltip-border-color is set
23
25
  * [--tooltip-font-weight] - Set a custom font weight for the description content (not the heading, and not richText, which stays at its own normal weight)
24
26
  * [--tooltip-border-radius] - Set a custom border radius
25
27
  * [--tooltip-padding] - Set a custom padding
@@ -28,62 +30,124 @@ export const tooltipHostStyles = css `
28
30
  * [--tooltip-transition-duration] - Set a custom duration for the open/close transition
29
31
  */
30
32
  const panel = css `
31
- .eun-tooltip-panel:not([data-severity]) {
32
- --_accent: var(--tooltip-color, var(--eun-text-color, #071621));
33
- --_borderColor: var(--eun-color-grey-300, #dee0e7);
34
- --_backgroundFilled: var(--eun-color-grey-700, #484e61);
33
+ /*
34
+ * Step 1 : the palette (severity, else color) fills --_solid (strong
35
+ * color), --_onSolid (text on it) and --_accent (text on a pale or neutral
36
+ * surface). Step 2 : the appearance reads them into --_bg, --_head (the
37
+ * heading and links), --_body (the description) and --_bd (the border).
38
+ * The --tooltip-* custom properties are applied last, on the panel, so they
39
+ * win over every combination.
40
+ */
41
+ .eun-tooltip-panel {
42
+ --_solid: var(--eun-color-primary-500, #3d6fff);
43
+ --_onSolid: var(--eun-color-on-primary-500, #ffffff);
44
+ --_accent: var(--eun-color-primary-500, #3d6fff);
35
45
  }
36
46
  .eun-tooltip-panel[data-severity="info"] {
47
+ --_solid: var(--eun-color-info-100, #097faf);
37
48
  --_accent: var(--eun-color-info-100, #097faf);
38
- --_borderColor: var(--eun-color-info-100, #097faf);
39
- --_backgroundFilled: var(--eun-color-info-100, #097faf);
40
49
  }
41
50
  .eun-tooltip-panel[data-severity="success"] {
51
+ --_solid: var(--eun-color-success-100, #1a9948);
42
52
  --_accent: var(--eun-color-success-100, #1a9948);
43
- --_borderColor: var(--eun-color-success-100, #1a9948);
44
- --_backgroundFilled: var(--eun-color-success-100, #1a9948);
45
53
  }
46
54
  .eun-tooltip-panel[data-severity="warning"] {
55
+ --_solid: var(--eun-color-warning-100, #c85207);
47
56
  --_accent: var(--eun-color-warning-100, #c85207);
48
- --_borderColor: var(--eun-color-warning-100, #c85207);
49
- --_backgroundFilled: var(--eun-color-warning-100, #c85207);
50
57
  }
51
58
  .eun-tooltip-panel[data-severity="critical"] {
59
+ --_solid: var(--eun-color-critical-100, #aa0014);
52
60
  --_accent: var(--eun-color-critical-100, #aa0014);
53
- --_borderColor: var(--eun-color-critical-100, #aa0014);
54
- --_backgroundFilled: var(--eun-color-critical-100, #aa0014);
55
61
  }
56
62
  .eun-tooltip-panel[data-severity="neutral"] {
63
+ --_onSolid: var(--eun-color-grey-0, #ffffff);
64
+ --_solid: var(--eun-color-grey-700, #484e61);
57
65
  --_accent: var(--eun-color-grey-700, #484e61);
58
- --_borderColor: var(--eun-color-grey-700, #484e61);
59
- --_backgroundFilled: var(--eun-color-grey-700, #484e61);
60
- }
61
- .eun-tooltip-panel:not([data-severity])[data-color="primary"] {
62
- --_accent: var(--eun-color-primary-500, #3d6fff);
63
- --_borderColor: var(--eun-color-primary-500, #3d6fff);
64
- --_backgroundFilled: var(--eun-color-primary-500, #3d6fff);
65
66
  }
66
67
  .eun-tooltip-panel:not([data-severity])[data-color="secondary"] {
68
+ --_onSolid: var(--eun-color-on-secondary-500, #000000de);
69
+ --_solid: var(--eun-color-secondary-500, #e5a030);
67
70
  --_accent: var(--eun-color-secondary-500, #e5a030);
68
- --_borderColor: var(--eun-color-secondary-500, #e5a030);
69
- --_backgroundFilled: var(--eun-color-secondary-500, #e5a030);
70
- }
71
- .eun-tooltip-panel:not([data-severity])[data-color="light"] {
72
- --_accent: var(--eun-color-grey-600, #666e8a);
73
- --_borderColor: var(--eun-color-grey-300, #dee0e7);
74
- --_backgroundFilled: var(--eun-color-grey-0, #ffffff);
75
71
  }
76
72
  .eun-tooltip-panel:not([data-severity])[data-color="medium"] {
73
+ --_onSolid: var(--eun-color-grey-0, #ffffff);
74
+ --_solid: var(--eun-color-grey-700, #484e61);
77
75
  --_accent: var(--eun-color-grey-900, #000000);
78
- --_borderColor: var(--eun-color-grey-300, #dee0e7);
79
- --_backgroundFilled: var(--eun-color-grey-700, #484e61);
80
76
  }
77
+
78
+ /*
79
+ * light and dark are absolute colors : white and black whatever the
80
+ * appearance. The panel is always opaque, so there's no pale wash and no
81
+ * transparent outline : default is as solid as fill, and outline is the
82
+ * color as border and text over a surface of the opposite tone. flat is
83
+ * the same neutral surface as every other palette. By default they follow
84
+ * the grey scale, which flips with the active theme ; fixed-color pins
85
+ * them to the light theme's white and black.
86
+ */
87
+ .eun-tooltip-panel:not([data-severity])[data-color="light"] {
88
+ --_solid: var(--eun-color-grey-0, #ffffff);
89
+ --_onSolid: var(--eun-color-grey-900, #000000);
90
+ --_opposite: var(--eun-color-grey-800, #071621);
91
+ }
92
+ .eun-tooltip-panel:not([data-severity])[data-color="light"][data-fixed-color] {
93
+ --_solid: #ffffff;
94
+ --_onSolid: #000000;
95
+ --_opposite: #071621;
96
+ }
97
+ .eun-tooltip-panel:not([data-severity])[data-color="dark"] {
98
+ --_solid: var(--eun-color-grey-800, #071621);
99
+ --_onSolid: var(--eun-color-grey-0, #ffffff);
100
+ --_opposite: var(--eun-color-grey-0, #ffffff);
101
+ }
102
+ .eun-tooltip-panel:not([data-severity])[data-color="dark"][data-fixed-color] {
103
+ --_solid: #071621;
104
+ --_onSolid: #ffffff;
105
+ --_opposite: #ffffff;
106
+ }
107
+ .eun-tooltip-panel:not([data-severity])[data-color="light"],
81
108
  .eun-tooltip-panel:not([data-severity])[data-color="dark"] {
82
- --_accent: var(--eun-color-grey-800, #071621);
83
- --_borderColor: var(--eun-color-grey-800, #071621);
84
- --_backgroundFilled: var(--eun-color-grey-800, #071621);
85
- --_defaultBackground: var(--_accent);
86
- --_defaultText: var(--eun-color-grey-0, #ffffff);
109
+ --_accent: var(--eun-text-color, #071621);
110
+ }
111
+
112
+ .eun-tooltip-panel[data-appearance="default"] {
113
+ --_bg: color-mix(
114
+ in srgb,
115
+ var(--_accent) 12%,
116
+ var(--eun-surface-color, #ffffff)
117
+ );
118
+ --_head: var(--_accent);
119
+ --_body: var(--_accent);
120
+ --_bd: transparent;
121
+ }
122
+ .eun-tooltip-panel[data-appearance="flat"] {
123
+ --_bg: var(--eun-color-grey-100, #f7f8fa);
124
+ --_head: var(--_accent);
125
+ --_body: var(--eun-text-color, #071621);
126
+ --_bd: transparent;
127
+ }
128
+ .eun-tooltip-panel[data-appearance="outline"] {
129
+ --_bg: var(--eun-color-grey-100, #f7f8fa);
130
+ --_head: var(--_accent);
131
+ --_body: var(--eun-text-color, #071621);
132
+ --_bd: var(--_solid);
133
+ }
134
+ .eun-tooltip-panel[data-appearance="fill"] {
135
+ --_bg: var(--_solid);
136
+ --_head: var(--_onSolid);
137
+ --_body: var(--_onSolid);
138
+ --_bd: transparent;
139
+ }
140
+ .eun-tooltip-panel:not([data-severity])[data-color="light"][data-appearance="default"],
141
+ .eun-tooltip-panel:not([data-severity])[data-color="dark"][data-appearance="default"] {
142
+ --_bg: var(--_solid);
143
+ --_head: var(--_onSolid);
144
+ --_body: var(--_onSolid);
145
+ }
146
+ .eun-tooltip-panel:not([data-severity])[data-color="light"][data-appearance="outline"],
147
+ .eun-tooltip-panel:not([data-severity])[data-color="dark"][data-appearance="outline"] {
148
+ --_bg: var(--_opposite);
149
+ --_head: var(--_solid);
150
+ --_body: var(--_solid);
87
151
  }
88
152
 
89
153
  .eun-tooltip-panel {
@@ -100,13 +164,20 @@ const panel = css `
100
164
  max-width: var(--tooltip-max-width, 280px);
101
165
  padding: var(
102
166
  --tooltip-padding,
103
- var(--eun-space-s, 8px) var(--eun-space-m, 16px)
167
+ max(0px, calc(var(--eun-space-s, 8px) - var(--_bw)))
168
+ max(0px, calc(var(--eun-space-m, 16px) - var(--_bw)))
104
169
  );
105
170
  border-radius: var(
106
171
  --tooltip-border-radius,
107
- var(--eun-borderRadius-m, 10px)
172
+ var(--eun-border-radius-m, 10px)
108
173
  );
109
- color: var(--tooltip-content-color, var(--eun-text-color, #071621));
174
+ --_bw: var(--tooltip-border-width, var(--eun-border-width-s, 1px));
175
+ background: var(--tooltip-background-color, var(--_bg));
176
+ color: var(--tooltip-content-color, var(--_body));
177
+ /* Every appearance carries the same border box (transparent unless
178
+ drawn), taken out of the padding, so switching appearance or adding a
179
+ --tooltip-border-* never changes the panel's size. */
180
+ border: var(--_bw) solid var(--tooltip-border-color, var(--_bd));
110
181
  box-shadow: var(
111
182
  --tooltip-shadow,
112
183
  var(
@@ -116,15 +187,9 @@ const panel = css `
116
187
  )
117
188
  );
118
189
  font-family: var(--eun-font-family, "Mulish", sans-serif);
119
- font-size: var(--eun-fontSize-s, 14px);
190
+ font-size: var(--eun-font-size-s, 14px);
120
191
  opacity: 0;
121
192
  scale: 0.96;
122
- --_defaultBackground: color-mix(
123
- in srgb,
124
- var(--_accent) 12%,
125
- var(--eun-surface-color, #ffffff)
126
- );
127
- --_defaultText: var(--_accent);
128
193
  }
129
194
  .eun-tooltip-panel.no-heading {
130
195
  row-gap: 0;
@@ -137,35 +202,9 @@ const panel = css `
137
202
  scale: 1;
138
203
  }
139
204
 
140
- .eun-tooltip-panel[data-appearance="default"] {
141
- background: var(--tooltip-background-color, var(--_defaultBackground));
142
- color: var(--tooltip-content-color, var(--_defaultText));
143
- }
144
- .eun-tooltip-panel[data-appearance="flat"] {
145
- background: var(
146
- --tooltip-background-color,
147
- var(--eun-color-grey-100, #f7f8fa)
148
- );
149
- }
150
- .eun-tooltip-panel[data-appearance="outline"] {
151
- background: var(
152
- --tooltip-background-color,
153
- var(--eun-color-grey-100, #f7f8fa)
154
- );
155
- border: var(--eun-borderWidth-s, 1px) solid var(--_borderColor);
156
- }
157
- .eun-tooltip-panel[data-appearance="fill"] {
158
- background: var(--tooltip-background-color, var(--_backgroundFilled));
159
- --_accent: var(--tooltip-color, #fff);
160
- color: var(--tooltip-content-color, #fff);
161
- }
162
-
163
205
  .eun-tooltip-heading {
164
- color: var(--_accent);
165
- font-weight: var(--eun-fontWeight-l, 700);
166
- }
167
- .eun-tooltip-panel[data-appearance="default"] .eun-tooltip-heading {
168
- color: var(--tooltip-color, var(--_defaultText));
206
+ color: var(--tooltip-color, var(--_head));
207
+ font-weight: var(--eun-font-weight-l, 700);
169
208
  }
170
209
  .eun-tooltip-heading-mirror,
171
210
  .eun-tooltip-description-mirror {
@@ -176,7 +215,7 @@ const panel = css `
176
215
  }
177
216
  .eun-tooltip-description {
178
217
  color: var(--tooltip-content-color, inherit);
179
- font-weight: var(--tooltip-font-weight, var(--eun-fontWeight-s, 300));
218
+ font-weight: var(--tooltip-font-weight, var(--eun-font-weight-s, 300));
180
219
  }
181
220
  .eun-tooltip-description.hidden {
182
221
  display: none;
@@ -191,10 +230,7 @@ const panel = css `
191
230
  margin-block-end: 0;
192
231
  }
193
232
  .eun-tooltip-rich-text a {
194
- color: var(--_accent);
195
- }
196
- .eun-tooltip-panel[data-appearance="default"] .eun-tooltip-rich-text a {
197
- color: var(--tooltip-color, var(--_defaultText));
233
+ color: var(--tooltip-color, var(--_head));
198
234
  }
199
235
  .eun-tooltip-description ::slotted(*) {
200
236
  margin: 0;
@@ -50,7 +50,7 @@ const base = css `
50
50
  --_padding: var(--check-card-padding, var(--eun-space-m, 16px));
51
51
  --_borderRadius: var(
52
52
  --check-card-border-radius,
53
- var(--eun-borderRadius-m, 10px)
53
+ var(--eun-border-radius-m, 10px)
54
54
  );
55
55
  --_indicatorBackground: transparent;
56
56
  --_indicatorBorder: var(--_borderColor);
@@ -134,7 +134,7 @@ const base = css `
134
134
  align-items: center;
135
135
  justify-content: center;
136
136
  border: 1px solid var(--_indicatorBorder);
137
- border-radius: var(--eun-borderRadius-s, 5px);
137
+ border-radius: var(--eun-border-radius-s, 5px);
138
138
  background: var(--_indicatorBackground);
139
139
  color: var(--_indicatorIcon);
140
140
  transition: all 0.15s ease;
@@ -4,7 +4,7 @@ import type { EunomiaCheckbox } from "./checkbox.js";
4
4
  * Tag name of the checkbox list component.
5
5
  */
6
6
  export declare const EunomiaCheckboxListTagName = "eun-checkbox-list";
7
- declare const EunomiaCheckboxList_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form-label.mixin.js").FormLabelMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/readonly.mixin.js").ReadonlyMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form.mixin.js").FormMixinInterface<string[]>> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/validators.mixin.js").ValidatorsMixinInterface> & typeof LitElement;
7
+ declare const EunomiaCheckboxList_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form-label.mixin.js").FormLabelMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/readonly.mixin.js").ReadonlyMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/form.mixin.js").FormMixinInterface<string[]>> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/disabled.mixin.js").DisabledMixinInterface> & import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/validators.mixin.js").ValidatorsMixinInterface<string[]>> & typeof LitElement;
8
8
  /**
9
9
  * Groups checkbox children into a select some of many list, wrapped so
10
10
  * the group has a single accessible name and reads as one unit to
@@ -13,7 +13,7 @@ export declare const EunomiaCheckboxTagName = "eun-checkbox";
13
13
  * Type of the checkbox base used to declare every necessary Mixin interface elements.
14
14
  * @internal
15
15
  */
16
- type EunomiaCheckboxBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & CheckMixinInterface;
16
+ type EunomiaCheckboxBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<boolean> & FormMixinInterface<string> & CheckMixinInterface;
17
17
  /**
18
18
  * Base class with composed mixins used to handle component extends elements type
19
19
  * @internal
@@ -25,7 +25,7 @@ const base = css `
25
25
  );
26
26
  --_boxBackground: var(
27
27
  --checkbox-background,
28
- var(--eun-color-grey-200, #ecedf0)
28
+ var(--eun-surface-sunken, #ecedf0)
29
29
  );
30
30
  --_errorColor: var(
31
31
  --checkbox-error-color,
@@ -42,7 +42,7 @@ const base = css `
42
42
  );
43
43
  --_icon: transparent;
44
44
  font-family: var(--eun-font-family, "Mulish", sans-serif);
45
- font-size: var(--eun-fontSize-s, 14px);
45
+ font-size: var(--eun-font-size-s, 14px);
46
46
  display: inline-flex;
47
47
  align-items: center;
48
48
  outline: none;
@@ -74,7 +74,7 @@ const base = css `
74
74
  );
75
75
  --_boxBackground: var(
76
76
  --checkbox-background-hover,
77
- var(--eun-content-hover, #edeff0)
77
+ var(--eun-surface-sunken-hover, #edeff0)
78
78
  );
79
79
  }
80
80
  :host(
@@ -89,7 +89,7 @@ const base = css `
89
89
  );
90
90
  --_boxBackground: var(
91
91
  --checkbox-background-pressed,
92
- var(--eun-content-pressed, #e4e6e8)
92
+ var(--eun-surface-sunken-pressed, #e4e6e8)
93
93
  );
94
94
  }
95
95
 
@@ -158,10 +158,10 @@ const base = css `
158
158
  height: var(--_boxSize);
159
159
  width: var(--_boxSize);
160
160
  background: var(--_boxBackground);
161
- border: var(--eun-borderWidth-s, 1px) solid var(--_boxBorder);
161
+ border: var(--eun-border-width-s, 1px) solid var(--_boxBorder);
162
162
  border-radius: var(
163
163
  --checkbox-border-radius,
164
- var(--eun-borderRadius-s, 5px)
164
+ var(--eun-border-radius-s, 5px)
165
165
  );
166
166
  display: inline-flex;
167
167
  align-items: center;
@@ -5,7 +5,7 @@ import { ValidatorsMixinInterface } from "../../../mixins/validators.mixin.js";
5
5
  import { FormMixinInterface } from "../../../mixins/form.mixin.js";
6
6
  import { FormLabelMixinInterface } from "../../../mixins/form-label.mixin.js";
7
7
  import { EditableMixinInterface } from "../../../mixins/editable.mixin.js";
8
- import { FieldVariantMixinInterface } from "../../../mixins/field-variant.mixin.js";
8
+ import { FieldAppearanceMixinInterface } from "../../../mixins/field-appearance.mixin.js";
9
9
  import { AnchorPositionMixinInterface } from "../../../mixins/anchor-position.mixin.js";
10
10
  import { Constructor } from "../../../utils/constructor.type.js";
11
11
  /**
@@ -17,7 +17,7 @@ export declare const EunomiaColorPickerTagName = "eun-color-picker";
17
17
  * interface elements.
18
18
  * @internal
19
19
  */
20
- type EunomiaColorPickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldVariantMixinInterface & AnchorPositionMixinInterface;
20
+ type EunomiaColorPickerBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<string> & FormMixinInterface<string> & EditableMixinInterface & FormLabelMixinInterface & FieldAppearanceMixinInterface & AnchorPositionMixinInterface;
21
21
  declare const EunomiaColorPickerMixinBase: Constructor<EunomiaColorPickerBase>;
22
22
  /**
23
23
  * A field for picking a color, as a `#rrggbb` hex string. Declare preset
@@ -54,7 +54,7 @@ declare const EunomiaColorPickerMixinBase: Constructor<EunomiaColorPickerBase>;
54
54
  * @prop {string} value - The current color, as a `#rrggbb` hex string
55
55
  * @prop {string} defaultValue - The default value applied when the field connects, and restored on form reset
56
56
  * @attr {string} [default-value] - The default value
57
- * @prop {'outline' | 'fill' | 'underline'} [variant='outline'] - The visual variant to apply to the field
57
+ * @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
58
58
  * @prop {string} label - The title label of the field, rendered through the label component
59
59
  * @prop {string} instructions - Instructions displayed below the label
60
60
  * @prop {string} name - The field name
@@ -15,7 +15,7 @@ import { ValidatorsMixin, } from "../../../mixins/validators.mixin.js";
15
15
  import { FormMixin } from "../../../mixins/form.mixin.js";
16
16
  import { FormLabelMixin, } from "../../../mixins/form-label.mixin.js";
17
17
  import { EditableMixin, } from "../../../mixins/editable.mixin.js";
18
- import { FieldVariantMixin, } from "../../../mixins/field-variant.mixin.js";
18
+ import { FieldAppearanceMixin, } from "../../../mixins/field-appearance.mixin.js";
19
19
  import { AnchorPositionMixin, } from "../../../mixins/anchor-position.mixin.js";
20
20
  import { ChangeEvent } from "../../../events/change.event.js";
21
21
  import { formLabelsStyles } from "../shared-styles/form-labels.styles.js";
@@ -32,7 +32,7 @@ export const EunomiaColorPickerTagName = "eun-color-picker";
32
32
  * @internal
33
33
  */
34
34
  const Base = DisabledMixin(ValidatorsMixin(LitElement));
35
- const EunomiaColorPickerMixinBase = AnchorPositionMixin(FieldVariantMixin(FormLabelMixin(ReadonlyMixin(EditableMixin(FormMixin(Base))))));
35
+ const EunomiaColorPickerMixinBase = AnchorPositionMixin(FieldAppearanceMixin(FormLabelMixin(ReadonlyMixin(EditableMixin(FormMixin(Base))))));
36
36
  /**
37
37
  * A field for picking a color, as a `#rrggbb` hex string. Declare preset
38
38
  * swatches as light DOM `option` children, exactly like `eun-select` does
@@ -68,7 +68,7 @@ const EunomiaColorPickerMixinBase = AnchorPositionMixin(FieldVariantMixin(FormLa
68
68
  * @prop {string} value - The current color, as a `#rrggbb` hex string
69
69
  * @prop {string} defaultValue - The default value applied when the field connects, and restored on form reset
70
70
  * @attr {string} [default-value] - The default value
71
- * @prop {'outline' | 'fill' | 'underline'} [variant='outline'] - The visual variant to apply to the field
71
+ * @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
72
72
  * @prop {string} label - The title label of the field, rendered through the label component
73
73
  * @prop {string} instructions - Instructions displayed below the label
74
74
  * @prop {string} name - The field name
@@ -649,7 +649,7 @@ let EunomiaColorPicker = class EunomiaColorPicker extends EunomiaColorPickerMixi
649
649
  <eun-button
650
650
  class="confirm"
651
651
  size="s"
652
- variant="primary"
652
+ color="primary"
653
653
  appearance="default"
654
654
  rounded
655
655
  type="button"
@@ -44,7 +44,7 @@ const colorPicker = css `
44
44
  #field-arrow {
45
45
  flex: 0 0 auto;
46
46
  color: var(--_iconColor);
47
- font-size: var(--eun-fontSize-s, 14px);
47
+ font-size: var(--eun-font-size-s, 14px);
48
48
  transition: transform 0.15s ease;
49
49
  }
50
50
  #field-arrow.open {
@@ -55,8 +55,8 @@ const colorPicker = css `
55
55
  display: inline-block;
56
56
  width: var(--color-picker-swatch-size, 20px);
57
57
  height: var(--color-picker-swatch-size, 20px);
58
- border-radius: var(--eun-borderRadius-xl, 999px);
59
- border: var(--eun-borderWidth-m, 1.5px) solid var(--_borderColor);
58
+ border-radius: var(--eun-border-radius-xl, 999px);
59
+ border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
60
60
  background-color: var(--_swatchColor, transparent);
61
61
  outline: 2px solid transparent;
62
62
  transition:
@@ -81,8 +81,8 @@ const colorPicker = css `
81
81
  #swatches-label,
82
82
  #custom-label {
83
83
  display: block;
84
- font-size: var(--eun-fontSize-xs, 12px);
85
- font-weight: var(--eun-fontWeight-l, 700);
84
+ font-size: var(--eun-font-size-xs, 12px);
85
+ font-weight: var(--eun-font-weight-l, 700);
86
86
  color: var(--_placeholderColor);
87
87
  text-transform: uppercase;
88
88
  margin: 0 0 var(--eun-space-xs, 4px);
@@ -106,7 +106,7 @@ const colorPicker = css `
106
106
  }
107
107
  .swatch-button[aria-checked="true"] .swatch {
108
108
  border-color: var(--eun-color-primary-500, #3d6fff);
109
- border-width: calc(var(--eun-borderWidth-m, 1.5px) * 2);
109
+ border-width: calc(var(--eun-border-width-m, 1.5px) * 2);
110
110
  }
111
111
  .swatch-button:focus-visible .swatch {
112
112
  outline-color: var(--_focusIndicator);
@@ -147,7 +147,7 @@ const colorPicker = css `
147
147
  font: inherit;
148
148
  color: var(--_textColor);
149
149
  background-color: var(--_background);
150
- border: var(--eun-borderWidth-m, 1.5px) solid var(--_borderColor);
150
+ border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
151
151
  border-radius: var(--_borderRadius);
152
152
  padding: var(--_padding);
153
153
  box-sizing: border-box;
@@ -4,7 +4,7 @@ import { ReadonlyMixinInterface } from "../../../mixins/readonly.mixin.js";
4
4
  import { ValidatorsMixinInterface, Validity } from "../../../mixins/validators.mixin.js";
5
5
  import { FormMixinInterface } from "../../../mixins/form.mixin.js";
6
6
  import { FormLabelMixinInterface } from "../../../mixins/form-label.mixin.js";
7
- import { FieldVariantMixinInterface } from "../../../mixins/field-variant.mixin.js";
7
+ import { FieldAppearanceMixinInterface } from "../../../mixins/field-appearance.mixin.js";
8
8
  import { Constructor } from "../../../utils/constructor.type.js";
9
9
  /**
10
10
  * Tag name of the counter component.
@@ -14,13 +14,13 @@ export declare const EunomiaCounterTagName = "eun-counter";
14
14
  * Type of the counter base used to declare every necessary Mixin interface elements.
15
15
  * @internal
16
16
  */
17
- type EunomiaCounterBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface & FormMixinInterface<number> & FormLabelMixinInterface & FieldVariantMixinInterface;
17
+ type EunomiaCounterBase = LitElement & DisabledMixinInterface & ReadonlyMixinInterface & ValidatorsMixinInterface<number> & FormMixinInterface<number> & FormLabelMixinInterface & FieldAppearanceMixinInterface;
18
18
  declare const EunomiaCounterMixinBase: Constructor<EunomiaCounterBase>;
19
19
  /**
20
20
  * A numeric field with increment and decrement buttons, built on a native
21
21
  * number input.
22
22
  *
23
- * @prop {'outline' | 'fill' | 'underline'} [variant='outline'] - The visual variant to apply to the field
23
+ * @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
24
24
  * @prop {string} label - The title label of the field, rendered through the label component
25
25
  * @prop {string} instructions - Instructions displayed below the label
26
26
  * @prop {string} name - The field name
@@ -12,7 +12,7 @@ import { ReadonlyMixin, } from "../../../mixins/readonly.mixin.js";
12
12
  import { ValidatorsMixin, } from "../../../mixins/validators.mixin.js";
13
13
  import { FormMixin } from "../../../mixins/form.mixin.js";
14
14
  import { FormLabelMixin, } from "../../../mixins/form-label.mixin.js";
15
- import { FieldVariantMixin, } from "../../../mixins/field-variant.mixin.js";
15
+ import { FieldAppearanceMixin, } from "../../../mixins/field-appearance.mixin.js";
16
16
  import { ChangeEvent } from "../../../events/change.event.js";
17
17
  import { formLabelsStyles } from "../shared-styles/form-labels.styles.js";
18
18
  import { counterStyles } from "./counter.styles.js";
@@ -26,12 +26,12 @@ export const EunomiaCounterTagName = "eun-counter";
26
26
  * @internal
27
27
  */
28
28
  const Base = DisabledMixin(ValidatorsMixin(LitElement));
29
- const EunomiaCounterMixinBase = FieldVariantMixin(FormLabelMixin(ReadonlyMixin(FormMixin(Base))));
29
+ const EunomiaCounterMixinBase = FieldAppearanceMixin(FormLabelMixin(ReadonlyMixin(FormMixin(Base))));
30
30
  /**
31
31
  * A numeric field with increment and decrement buttons, built on a native
32
32
  * number input.
33
33
  *
34
- * @prop {'outline' | 'fill' | 'underline'} [variant='outline'] - The visual variant to apply to the field
34
+ * @prop {'outline' | 'flat' | 'underline'} [appearance='outline'] - How the field's surface is drawn: a bordered box, a muted background with no border, or a bottom border only
35
35
  * @prop {string} label - The title label of the field, rendered through the label component
36
36
  * @prop {string} instructions - Instructions displayed below the label
37
37
  * @prop {string} name - The field name
@@ -39,11 +39,11 @@ const base = css `
39
39
  );
40
40
  --_borderRadius: var(
41
41
  --counter-border-radius,
42
- var(--eun-borderRadius-m, 8px)
42
+ var(--eun-border-radius-m, 8px)
43
43
  );
44
44
  --_fieldWidth: var(--counter-field-width, 3.5rem);
45
45
  font-family: var(--eun-font-family, "Mulish", sans-serif);
46
- font-size: var(--eun-fontSize-s, 14px);
46
+ font-size: var(--eun-font-size-s, 14px);
47
47
  display: block;
48
48
  width: fit-content;
49
49
  max-width: 100%;
@@ -61,7 +61,7 @@ const base = css `
61
61
  display: inline-flex;
62
62
  align-items: stretch;
63
63
  background-color: var(--_background);
64
- border: var(--eun-borderWidth-m, 1.5px) solid var(--_borderColor);
64
+ border: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
65
65
  border-radius: var(--_borderRadius);
66
66
  outline: 1px solid transparent;
67
67
  box-sizing: border-box;
@@ -122,11 +122,11 @@ const base = css `
122
122
  }
123
123
 
124
124
  #decrement {
125
- border-inline-end: var(--eun-borderWidth-s, 1px) solid var(--_borderColor);
125
+ border-inline-end: var(--eun-border-width-s, 1px) solid var(--_borderColor);
126
126
  }
127
127
 
128
128
  #increment {
129
- border-inline-start: var(--eun-borderWidth-s, 1px) solid var(--_borderColor);
129
+ border-inline-start: var(--eun-border-width-s, 1px) solid var(--_borderColor);
130
130
  }
131
131
 
132
132
  #decrement:hover:not(:disabled),
@@ -180,22 +180,22 @@ const base = css `
180
180
  cursor: default;
181
181
  }
182
182
 
183
- :host([variant="fill"]) {
183
+ :host([appearance="flat"]) {
184
184
  --_background: var(--counter-background, var(--eun-content-hover, #edeff0));
185
185
  }
186
- :host([variant="fill"]) #field-wrapper:not(:focus-within) {
186
+ :host([appearance="flat"]) #field-wrapper:not(:focus-within) {
187
187
  border-color: transparent;
188
188
  }
189
- :host([variant="fill"]) #field-wrapper:has(#field[aria-invalid="true"]) {
190
- box-shadow: inset 0 0 0 var(--eun-borderWidth-m, 1.5px) var(--_errorColor);
189
+ :host([appearance="flat"]) #field-wrapper:has(#field[aria-invalid="true"]) {
190
+ box-shadow: inset 0 0 0 var(--eun-border-width-m, 1.5px) var(--_errorColor);
191
191
  }
192
- :host([variant="underline"]) #field-wrapper {
192
+ :host([appearance="underline"]) #field-wrapper {
193
193
  border: none;
194
194
  outline: none;
195
195
  border-radius: 0;
196
- border-bottom: var(--eun-borderWidth-m, 1.5px) solid var(--_borderColor);
196
+ border-bottom: var(--eun-border-width-m, 1.5px) solid var(--_borderColor);
197
197
  }
198
- :host([variant="underline"]) #field-wrapper:focus-within {
198
+ :host([appearance="underline"]) #field-wrapper:focus-within {
199
199
  outline: none;
200
200
  }
201
201
  `;
@@ -13,7 +13,7 @@ export const datePickerDayGridStyles = css `
13
13
  }
14
14
  #calendar-weekdays span {
15
15
  color: var(--date-picker-weekday-color, var(--eun-text-secondary, #484e61));
16
- font-size: var(--eun-fontSize-xxs, 10px);
16
+ font-size: var(--eun-font-size-xxs, 10px);
17
17
  text-align: center;
18
18
  text-transform: uppercase;
19
19
  }
@@ -26,7 +26,7 @@ export const datePickerDayGridStyles = css `
26
26
  grid-template-columns: repeat(5, 1fr);
27
27
  }
28
28
  .grid-cell.cell-day {
29
- --_cellRadius: var(--eun-borderRadius-full, 999px);
29
+ --_cellRadius: var(--eun-border-radius-full, 999px);
30
30
  aspect-ratio: 1;
31
31
  border-radius: var(--_cellRadius);
32
32
  }