@maggioli-design-system/magma 1.11.0 → 1.11.2

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 (302) hide show
  1. package/dist/cjs/index-de0ace0a.js +2 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/magma-components.cjs.js +1 -1
  4. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -36
  5. package/dist/cjs/mds-button_3.cjs.entry.js +1 -1
  6. package/dist/cjs/mds-details.cjs.entry.js +3 -4
  7. package/dist/cjs/mds-input-date-range.cjs.entry.js +67 -3
  8. package/dist/cjs/mds-input-date.cjs.entry.js +12 -3
  9. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-progress_2.cjs.entry.js +153 -0
  12. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  13. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
  24. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  29. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  32. package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  38. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  39. package/dist/collection/collection-manifest.json +1 -0
  40. package/dist/collection/components/mds-chip/mds-chip.js +3 -38
  41. package/dist/collection/components/mds-details/mds-details.css +4 -0
  42. package/dist/collection/components/mds-details/mds-details.js +4 -4
  43. package/dist/collection/components/mds-input-date/mds-input-date.js +25 -3
  44. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +85 -3
  45. package/dist/collection/components/mds-input-range/mds-input-range.js +20 -1
  46. package/dist/collection/components/mds-progress/mds-progress.css +10 -0
  47. package/dist/collection/components/mds-progress/mds-progress.js +39 -6
  48. package/dist/collection/components/mds-progress/meta/dictionary.js +1 -0
  49. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +27 -0
  50. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  51. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  52. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  53. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  54. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  55. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +125 -0
  56. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +171 -0
  57. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +38 -0
  58. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  59. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  60. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  61. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  62. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  63. package/dist/collection/components/mds-tab/mds-tab.js +3 -3
  64. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  65. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  66. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  67. package/dist/collection/components/mds-table/mds-table.js +1 -1
  68. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  69. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  70. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  71. package/dist/collection/components/mds-table-header/mds-table-header.js +2 -2
  72. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  73. package/dist/collection/components/mds-table-row/mds-table-row.js +6 -6
  74. package/dist/collection/components/mds-text/mds-text.js +1 -1
  75. package/dist/collection/components/mds-toast/mds-toast.js +3 -3
  76. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  77. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  78. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  79. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  80. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  81. package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
  82. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  83. package/dist/collection/dictionary/typography.js +5 -1
  84. package/dist/components/mds-accordion-timer-item.js +8 -2
  85. package/dist/components/mds-benchmark-bar.js +8 -2
  86. package/dist/components/mds-chip2.js +3 -37
  87. package/dist/components/mds-details.js +5 -5
  88. package/dist/components/mds-input-date-range.js +66 -4
  89. package/dist/components/mds-input-date.js +8 -4
  90. package/dist/components/mds-input-range.js +2 -1
  91. package/dist/components/mds-input-upload.js +18 -12
  92. package/dist/components/mds-progress2.js +24 -5
  93. package/dist/components/mds-push-notification-item.js +2 -2
  94. package/dist/components/mds-push-notification.js +1 -1
  95. package/dist/components/mds-quote.js +1 -1
  96. package/dist/components/mds-radial-menu-item.js +1 -1
  97. package/dist/components/mds-radial-menu.js +1 -1
  98. package/dist/components/mds-radial-progress.d.ts +11 -0
  99. package/dist/components/mds-radial-progress.js +6 -0
  100. package/dist/components/mds-radial-progress2.js +111 -0
  101. package/dist/components/mds-separator2.js +1 -1
  102. package/dist/components/mds-spinner2.js +1 -1
  103. package/dist/components/mds-status-bar.js +1 -1
  104. package/dist/components/mds-stepper-bar-item.js +13 -7
  105. package/dist/components/mds-stepper-bar.js +1 -1
  106. package/dist/components/mds-tab-bar-item.js +1 -1
  107. package/dist/components/mds-tab-bar.js +1 -1
  108. package/dist/components/mds-tab-item2.js +1 -1
  109. package/dist/components/mds-tab2.js +3 -3
  110. package/dist/components/mds-table-body.js +1 -1
  111. package/dist/components/mds-table-cell2.js +1 -1
  112. package/dist/components/mds-table-footer.js +1 -1
  113. package/dist/components/mds-table-header-cell2.js +1 -1
  114. package/dist/components/mds-table-header.js +2 -2
  115. package/dist/components/mds-table-row.js +6 -6
  116. package/dist/components/mds-table.js +1 -1
  117. package/dist/components/mds-text2.js +1 -1
  118. package/dist/components/mds-toast.js +3 -3
  119. package/dist/components/mds-tooltip2.js +1 -1
  120. package/dist/components/mds-tree-item.js +1 -1
  121. package/dist/components/mds-tree.js +1 -1
  122. package/dist/components/mds-url-view.js +1 -1
  123. package/dist/components/mds-usage.js +1 -1
  124. package/dist/components/mds-video-wall.js +3 -3
  125. package/dist/components/mds-zero.js +1 -1
  126. package/dist/documentation.json +335 -8
  127. package/dist/esm/index-7f153b9b.js +2 -2
  128. package/dist/esm/loader.js +1 -1
  129. package/dist/esm/magma-components.js +1 -1
  130. package/dist/esm/mds-banner_3.entry.js +3 -36
  131. package/dist/esm/mds-button_3.entry.js +1 -1
  132. package/dist/esm/mds-details.entry.js +3 -4
  133. package/dist/esm/mds-input-date-range.entry.js +67 -3
  134. package/dist/esm/mds-input-date.entry.js +12 -3
  135. package/dist/esm/mds-input-range.entry.js +1 -1
  136. package/dist/esm/mds-input-switch_2.entry.js +1 -1
  137. package/dist/esm/mds-progress_2.entry.js +148 -0
  138. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  139. package/dist/esm/mds-push-notification.entry.js +1 -1
  140. package/dist/esm/mds-quote.entry.js +1 -1
  141. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  142. package/dist/esm/mds-radial-menu.entry.js +1 -1
  143. package/dist/esm/mds-separator.entry.js +1 -1
  144. package/dist/esm/mds-status-bar.entry.js +1 -1
  145. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  146. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  147. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  148. package/dist/esm/mds-tab-bar.entry.js +1 -1
  149. package/dist/esm/mds-tab_2.entry.js +4 -4
  150. package/dist/esm/mds-table-body.entry.js +1 -1
  151. package/dist/esm/mds-table-footer.entry.js +1 -1
  152. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  153. package/dist/esm/mds-table-header.entry.js +2 -2
  154. package/dist/esm/mds-table-row.entry.js +6 -6
  155. package/dist/esm/mds-table.entry.js +1 -1
  156. package/dist/esm/mds-text.entry.js +1 -1
  157. package/dist/esm/mds-toast.entry.js +3 -3
  158. package/dist/esm/mds-tooltip.entry.js +1 -1
  159. package/dist/esm/mds-tree-item.entry.js +1 -1
  160. package/dist/esm/mds-tree.entry.js +1 -1
  161. package/dist/esm/mds-url-view.entry.js +1 -1
  162. package/dist/esm/mds-usage.entry.js +1 -1
  163. package/dist/esm/mds-video-wall.entry.js +3 -3
  164. package/dist/esm/mds-zero.entry.js +1 -1
  165. package/dist/esm-es5/index-7f153b9b.js +1 -1
  166. package/dist/esm-es5/loader.js +1 -1
  167. package/dist/esm-es5/magma-components.js +1 -1
  168. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  169. package/dist/esm-es5/mds-button_3.entry.js +1 -1
  170. package/dist/esm-es5/mds-details.entry.js +1 -1
  171. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  172. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  173. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  174. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  175. package/dist/esm-es5/mds-progress_2.entry.js +1 -0
  176. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  177. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  178. package/dist/esm-es5/mds-quote.entry.js +1 -1
  179. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  180. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  181. package/dist/esm-es5/mds-separator.entry.js +1 -1
  182. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  183. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  184. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  185. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  186. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  187. package/dist/esm-es5/mds-tab_2.entry.js +1 -1
  188. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  189. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  190. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  191. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  192. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  193. package/dist/esm-es5/mds-table.entry.js +1 -1
  194. package/dist/esm-es5/mds-text.entry.js +1 -1
  195. package/dist/esm-es5/mds-toast.entry.js +1 -1
  196. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  197. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  198. package/dist/esm-es5/mds-tree.entry.js +1 -1
  199. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  200. package/dist/esm-es5/mds-usage.entry.js +1 -1
  201. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  202. package/dist/esm-es5/mds-zero.entry.js +1 -1
  203. package/dist/hydrate/index.js +245 -100
  204. package/dist/hydrate/index.mjs +245 -100
  205. package/dist/magma-components/magma-components.esm.js +1 -1
  206. package/dist/magma-components/{p-5404d761.entry.js → p-00ac9a49.entry.js} +1 -1
  207. package/dist/magma-components/{p-2bb70401.system.entry.js → p-02c36d05.system.entry.js} +1 -1
  208. package/dist/magma-components/{p-8602cd5f.entry.js → p-073756e7.entry.js} +1 -1
  209. package/dist/magma-components/{p-919e9e50.system.entry.js → p-0a274718.system.entry.js} +1 -1
  210. package/dist/magma-components/{p-1623bffc.entry.js → p-127fe680.entry.js} +1 -1
  211. package/dist/magma-components/{p-688a84a8.system.entry.js → p-1aa6b055.system.entry.js} +1 -1
  212. package/dist/magma-components/{p-aa339bf0.entry.js → p-224f80f4.entry.js} +1 -1
  213. package/dist/magma-components/{p-281f3aec.entry.js → p-2577a204.entry.js} +1 -1
  214. package/dist/magma-components/{p-123dacd9.system.entry.js → p-2598109a.system.entry.js} +1 -1
  215. package/dist/magma-components/p-26cd6ec8.system.js +1 -1
  216. package/dist/magma-components/{p-5d1a04cb.entry.js → p-26d7b9f1.entry.js} +1 -1
  217. package/dist/magma-components/{p-10497384.entry.js → p-27059e0e.entry.js} +1 -1
  218. package/dist/magma-components/{p-df52149d.system.entry.js → p-27b7f933.system.entry.js} +1 -1
  219. package/dist/magma-components/p-28da1fee.entry.js +1 -0
  220. package/dist/magma-components/{p-d7959231.entry.js → p-3290bb60.entry.js} +1 -1
  221. package/dist/magma-components/{p-b0c2a3de.system.entry.js → p-35025ff8.system.entry.js} +1 -1
  222. package/dist/magma-components/{p-cfa396da.entry.js → p-3843cacc.entry.js} +1 -1
  223. package/dist/magma-components/{p-5fe92148.system.entry.js → p-3da97c74.system.entry.js} +1 -1
  224. package/dist/magma-components/{p-57847066.system.entry.js → p-405d78fa.system.entry.js} +1 -1
  225. package/dist/magma-components/{p-33fd2f72.entry.js → p-42b75f26.entry.js} +1 -1
  226. package/dist/magma-components/{p-6a27c827.entry.js → p-4422e4b7.entry.js} +1 -1
  227. package/dist/magma-components/{p-215bcb99.entry.js → p-4c387bc1.entry.js} +1 -1
  228. package/dist/magma-components/{p-de2a0262.entry.js → p-4d67a4ce.entry.js} +1 -1
  229. package/dist/magma-components/{p-b9a5bd34.system.entry.js → p-5014f1fb.system.entry.js} +1 -1
  230. package/dist/magma-components/{p-9690163f.system.entry.js → p-5089fade.system.entry.js} +1 -1
  231. package/dist/magma-components/{p-32ffc807.system.entry.js → p-50b07c72.system.entry.js} +1 -1
  232. package/dist/magma-components/{p-69b49b54.entry.js → p-5406ab26.entry.js} +1 -1
  233. package/dist/magma-components/p-580a3815.system.entry.js +1 -0
  234. package/dist/magma-components/p-597922cc.system.entry.js +1 -0
  235. package/dist/magma-components/{p-609d6a48.entry.js → p-5fb46df0.entry.js} +1 -1
  236. package/dist/magma-components/{p-c97b8910.system.entry.js → p-66830f00.system.entry.js} +1 -1
  237. package/dist/magma-components/{p-de94a1cb.system.entry.js → p-66e30ce8.system.entry.js} +1 -1
  238. package/dist/magma-components/{p-b2395445.entry.js → p-6cff9202.entry.js} +1 -1
  239. package/dist/magma-components/{p-8babd2fd.system.entry.js → p-6f119c68.system.entry.js} +1 -1
  240. package/dist/magma-components/{p-28ad0033.system.entry.js → p-71988372.system.entry.js} +1 -1
  241. package/dist/magma-components/{p-32e25258.system.entry.js → p-7262712f.system.entry.js} +1 -1
  242. package/dist/magma-components/{p-00cbf5e1.system.entry.js → p-7f71e011.system.entry.js} +1 -1
  243. package/dist/magma-components/{p-d5c9cff6.system.entry.js → p-8115a5c3.system.entry.js} +1 -1
  244. package/dist/magma-components/{p-e0048ba1.entry.js → p-82eaa4c9.entry.js} +1 -1
  245. package/dist/magma-components/{p-bfa0cb8a.system.entry.js → p-838d3f0c.system.entry.js} +1 -1
  246. package/dist/magma-components/{p-055be618.system.entry.js → p-8779f042.system.entry.js} +1 -1
  247. package/dist/magma-components/{p-36618607.system.entry.js → p-88a0f02c.system.entry.js} +1 -1
  248. package/dist/magma-components/p-987e1cd6.entry.js +1 -0
  249. package/dist/magma-components/{p-5bb36653.system.entry.js → p-996ba484.system.entry.js} +1 -1
  250. package/dist/magma-components/{p-b189abfc.entry.js → p-99d9ad4d.entry.js} +1 -1
  251. package/dist/magma-components/{p-2017a017.entry.js → p-9e61fa6b.entry.js} +1 -1
  252. package/dist/magma-components/{p-ee2e39e2.system.entry.js → p-b19dfe4f.system.entry.js} +1 -1
  253. package/dist/magma-components/{p-ffbf624f.system.entry.js → p-b1a9ea15.system.entry.js} +1 -1
  254. package/dist/magma-components/{p-6545aa5d.entry.js → p-b74a1b48.entry.js} +1 -1
  255. package/dist/magma-components/p-beeaec1c.entry.js +1 -0
  256. package/dist/magma-components/{p-596e72f0.system.entry.js → p-c0472e82.system.entry.js} +1 -1
  257. package/dist/magma-components/{p-bf571a60.entry.js → p-c7636e4c.entry.js} +1 -1
  258. package/dist/magma-components/{p-aa387559.system.entry.js → p-c7d99ad5.system.entry.js} +1 -1
  259. package/dist/magma-components/{p-1f323234.entry.js → p-cf09a880.entry.js} +1 -1
  260. package/dist/magma-components/{p-6c649eac.system.entry.js → p-cf3bab0a.system.entry.js} +1 -1
  261. package/dist/magma-components/{p-4fd25164.entry.js → p-d3833eb1.entry.js} +1 -1
  262. package/dist/magma-components/{p-e3e8fc52.system.entry.js → p-d5748fe8.system.entry.js} +1 -1
  263. package/dist/magma-components/{p-794c3bf1.system.entry.js → p-dc17f8bb.system.entry.js} +1 -1
  264. package/dist/magma-components/{p-9a188b5a.entry.js → p-dd08e161.entry.js} +1 -1
  265. package/dist/magma-components/p-e1f3cc6d.entry.js +1 -0
  266. package/dist/magma-components/{p-0209458d.system.entry.js → p-e9ade624.system.entry.js} +1 -1
  267. package/dist/magma-components/p-ecb4d569.entry.js +1 -0
  268. package/dist/magma-components/{p-143bf7f2.system.entry.js → p-ee7ccede.system.entry.js} +1 -1
  269. package/dist/magma-components/p-f09dc3fb.entry.js +1 -0
  270. package/dist/magma-components/{p-d317d332.entry.js → p-f0d1ec10.entry.js} +1 -1
  271. package/dist/magma-components/{p-0f18d2c0.system.entry.js → p-fad25aaf.system.entry.js} +1 -1
  272. package/dist/magma-components/{p-c4352871.system.entry.js → p-fb829b57.system.entry.js} +1 -1
  273. package/dist/magma-components/{p-5609e060.entry.js → p-fbc8d55b.entry.js} +1 -1
  274. package/dist/magma-components/{p-133e3649.entry.js → p-fe0446d4.entry.js} +1 -1
  275. package/dist/magma-components/{p-8ad8d7b0.entry.js → p-fe2f494e.entry.js} +1 -1
  276. package/dist/magma-components/{p-fba06d20.entry.js → p-ffa1a978.entry.js} +1 -1
  277. package/dist/stats.json +947 -363
  278. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -3
  279. package/dist/types/components/mds-details/mds-details.d.ts +1 -1
  280. package/dist/types/components/mds-input-date/mds-input-date.d.ts +5 -0
  281. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +12 -0
  282. package/dist/types/components/mds-input-range/mds-input-range.d.ts +4 -0
  283. package/dist/types/components/mds-progress/mds-progress.d.ts +7 -1
  284. package/dist/types/components/mds-progress/meta/types.d.ts +1 -1
  285. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +31 -0
  286. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +32 -0
  287. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +58 -0
  288. package/dist/types/components.d.ts +72 -3
  289. package/dist/types/dictionary/typography.d.ts +2 -1
  290. package/dist/types/type/typography.d.ts +1 -0
  291. package/package.json +1 -1
  292. package/dist/cjs/mds-progress.cjs.entry.js +0 -66
  293. package/dist/esm/mds-progress.entry.js +0 -62
  294. package/dist/esm-es5/mds-progress.entry.js +0 -1
  295. package/dist/magma-components/p-250aa238.entry.js +0 -1
  296. package/dist/magma-components/p-505e2c04.system.entry.js +0 -1
  297. package/dist/magma-components/p-6446a604.entry.js +0 -1
  298. package/dist/magma-components/p-99ac301a.entry.js +0 -1
  299. package/dist/magma-components/p-a818a6c0.entry.js +0 -1
  300. package/dist/magma-components/p-bffccf93.system.entry.js +0 -1
  301. package/dist/magma-components/p-c2c56d31.entry.js +0 -1
  302. package/dist/magma-components/p-f1857d6c.entry.js +0 -1
@@ -45,6 +45,13 @@ const MdsInputDateRange = class {
45
45
  index.registerInstance(this, hostRef);
46
46
  this.dateRangeSelected = index.createEvent(this, "mdsInputDateRangeSelect", 7);
47
47
  this.valueChanged = index.createEvent(this, "mdsInputDateRangeValueChange", 7);
48
+ if (hostRef.$hostElement$["s-ei"]) {
49
+ this.internals = hostRef.$hostElement$["s-ei"];
50
+ }
51
+ else {
52
+ this.internals = hostRef.$hostElement$.attachInternals();
53
+ hostRef.$hostElement$["s-ei"] = this.internals;
54
+ }
48
55
  this.calendarKey = 0;
49
56
  this.internalStartDate = '';
50
57
  this.internalEndDate = '';
@@ -82,12 +89,15 @@ const MdsInputDateRange = class {
82
89
  this.delay = 500;
83
90
  this.lastEmittedStartDate = null;
84
91
  this.lastEmittedEndDate = null;
92
+ this.initialStartDate = '';
93
+ this.initialEndDate = '';
85
94
  this.handleFocusOut = (event) => {
86
95
  if (!this.host.contains(event.relatedTarget)) {
87
96
  const startValid = luxon.DateTime_1.fromISO(this.internalStartDate).isValid;
88
97
  const endValid = luxon.DateTime_1.fromISO(this.internalEndDate).isValid;
89
98
  if (startValid && endValid) {
90
99
  this.validateDateRange();
100
+ this.syncFormValue();
91
101
  this.dateRangeSelected.emit({
92
102
  startDate: this.internalStartDate,
93
103
  endDate: this.internalEndDate,
@@ -128,10 +138,18 @@ const MdsInputDateRange = class {
128
138
  async updateLang() {
129
139
  this.language = this.t.lang(this.host);
130
140
  }
141
+ handleStartDateChange(newValue) {
142
+ this.syncExternalDate('start', newValue);
143
+ }
144
+ handleEndDateChange(newValue) {
145
+ this.syncExternalDate('end', newValue);
146
+ }
131
147
  componentWillLoad() {
132
148
  this.language = this.t.lang(this.host);
133
149
  this.internalStartDate = this.startDate;
134
150
  this.internalEndDate = this.endDate;
151
+ this.initialStartDate = this.startDate;
152
+ this.initialEndDate = this.endDate;
135
153
  // Se max è precedente a min, imposto max uguale a min
136
154
  if (this.min && this.max) {
137
155
  const minDate = luxon.DateTime_1.fromISO(this.min);
@@ -140,6 +158,7 @@ const MdsInputDateRange = class {
140
158
  this.max = this.min;
141
159
  }
142
160
  }
161
+ this.syncFormValue();
143
162
  }
144
163
  disconnectedCallback() {
145
164
  this.host.removeEventListener('focusout', this.handleFocusOut);
@@ -168,6 +187,7 @@ const MdsInputDateRange = class {
168
187
  this.internalEndDate = event.start;
169
188
  }
170
189
  this.updateInputValue('end', this.internalEndDate);
190
+ this.syncFormValue();
171
191
  const calendar = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('mds-calendar');
172
192
  if (calendar) {
173
193
  await calendar.updateCurrentDate(this.internalStartDate);
@@ -187,8 +207,35 @@ const MdsInputDateRange = class {
187
207
  this.updateInputListeners();
188
208
  this.updateInputValue('start', this.internalStartDate);
189
209
  this.updateInputValue('end', this.internalEndDate);
210
+ this.syncFormValue();
190
211
  this.host.addEventListener('focusout', this.handleFocusOut);
191
212
  }
213
+ formResetCallback() {
214
+ this.internalStartDate = this.initialStartDate;
215
+ this.internalEndDate = this.initialEndDate;
216
+ this.updateInputValue('start', this.internalStartDate);
217
+ this.updateInputValue('end', this.internalEndDate);
218
+ this.checkPreselections();
219
+ this.syncFormValue();
220
+ }
221
+ syncExternalDate(slotName, newValue) {
222
+ const normalizedValue = newValue !== null && newValue !== void 0 ? newValue : '';
223
+ if (slotName === 'start') {
224
+ if (normalizedValue === this.internalStartDate)
225
+ return;
226
+ this.internalStartDate = normalizedValue;
227
+ }
228
+ else {
229
+ if (normalizedValue === this.internalEndDate)
230
+ return;
231
+ this.internalEndDate = normalizedValue;
232
+ }
233
+ this.validateDateRange();
234
+ this.updateInputValue('start', this.internalStartDate);
235
+ this.updateInputValue('end', this.internalEndDate);
236
+ this.checkPreselections();
237
+ this.syncFormValue();
238
+ }
192
239
  updateInputValue(slotName, newValue) {
193
240
  var _a;
194
241
  const slot = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`slot[name="${slotName}"]`);
@@ -220,6 +267,7 @@ const MdsInputDateRange = class {
220
267
  else {
221
268
  this.internalEndDate = event.detail;
222
269
  }
270
+ this.syncFormValue();
223
271
  };
224
272
  }
225
273
  validateDateRange() {
@@ -252,15 +300,16 @@ const MdsInputDateRange = class {
252
300
  }
253
301
  }
254
302
  render() {
255
- return (index.h(index.Host, { key: '87bc93e3ba8c10014314fe59c88828b177b55987', onClick: this.focusDateInput }, index.h("div", { key: '2478b4872d46a1d33b599c801aa30873dffd3c25', class: "inputs" }, index.h("div", { key: '3f72fcd97352cf3888d5b587663800215667872d', class: "input-element" }, index.h("mds-text", { key: 'ba67d3289b98e14174ffd604ecd54f3b0c6833a5', class: "date-label", typography: "detail", onClick: this.focusStartDateInput }, this.t.get('from')), index.h("div", { key: 'c10c4bd3370718bc0dfb936975cd2dce81f9b7bc', class: "input-wrapper" }, index.h("slot", { key: 'e6a6b581dc39762dbc0e367210062f4f63c9478b', name: "start" }))), index.h("div", { key: '8658594956535092337cc51e26cd54993db8443b', class: "input-element" }, index.h("mds-text", { key: '107a4e93daa542fa29b6fe8f9f3e2e4defc5d56c', class: "date-label", typography: "detail", onClick: this.focusEndDateInput }, this.t.get('to')), index.h("div", { key: 'daf6119806dfa6a994decc07a5b1a099a4107718', class: "input-wrapper" }, index.h("slot", { key: '63a57af7769c024e3db1b94ed30e8f4dd2e481f2', name: "end" })))), index.h("mds-button", { key: '02257966418bbebcdcfb9bc9193ad04292b72310', class: "action-open-calendar", variant: "dark", tone: "quiet", icon: calendarToday.miBaselineCalendarToday, id: "calendar-dropdown", onClick: () => {
303
+ return (index.h(index.Host, { key: 'a0d2991f2840c21d10410d9a2759bea2140b5fb8', onClick: this.focusDateInput }, index.h("div", { key: '42a70b643de49c02a1db422e9f7e69c4c16b5df2', class: "inputs" }, index.h("div", { key: '9aaef7664e161099e93dcf09f70e8a12ac26cba5', class: "input-element" }, index.h("mds-text", { key: 'd7a2f85dbd2ad2d4f2dbeefcad2d23c7062fa193', class: "date-label", typography: "detail", onClick: this.focusStartDateInput }, this.t.get('from')), index.h("div", { key: 'c430288d5850666258269faf269934c9771b62bf', class: "input-wrapper" }, index.h("slot", { key: '3cfdeacc1c9b024ce7f5a2a306425eeaa51f1130', name: "start" }))), index.h("div", { key: 'e8543d95071704939d879f87790f0fc711a34046', class: "input-element" }, index.h("mds-text", { key: '125cb1e5b7fe872f353624555af070cad0da30b0', class: "date-label", typography: "detail", onClick: this.focusEndDateInput }, this.t.get('to')), index.h("div", { key: '35884f542a3ebd824dab00a514e3aec69c79ae11', class: "input-wrapper" }, index.h("slot", { key: '74f1b59daecc34daf576297c93fff43071dccabd', name: "end" })))), index.h("mds-button", { key: 'be0b0f4af844d95a82211330de00c3545b136da3', class: "action-open-calendar", variant: "dark", tone: "quiet", icon: calendarToday.miBaselineCalendarToday, id: "calendar-dropdown", onClick: () => {
256
304
  this.calendarKey += 1;
257
- } }), index.h("mds-dropdown", { key: 'fedd04f0c6ded367571785e494c3a7b2cdab72ff', ref: el => this.dropdownRef = el, target: "#calendar-dropdown", "auto-placement": false, placement: "bottom-end" }, index.h("mds-calendar", Object.assign({ lang: this.language, key: this.calendarKey, rangePicker: true, onMdsCalendarChange: ev => {
305
+ } }), index.h("mds-dropdown", { key: 'd7bd7782dbcb0f7647643d6054b5fec2947e81e9', ref: el => this.dropdownRef = el, target: "#calendar-dropdown", "auto-placement": false, placement: "bottom-end" }, index.h("mds-calendar", Object.assign({ lang: this.language, key: this.calendarKey, rangePicker: true, onMdsCalendarChange: ev => {
258
306
  this.internalStartDate = ev.detail.startDate;
259
307
  this.updateInputValue('start', this.internalStartDate);
260
308
  if (ev.detail.endDate) {
261
309
  this.internalEndDate = ev.detail.endDate;
262
310
  this.updateInputValue('end', this.internalEndDate);
263
311
  }
312
+ this.syncFormValue();
264
313
  if (this.internalStartDate && this.internalEndDate) {
265
314
  this.dateRangeSelected.emit({
266
315
  startDate: this.internalStartDate,
@@ -277,9 +326,24 @@ const MdsInputDateRange = class {
277
326
  }
278
327
  }, onMdsCalendarPreselect: () => {
279
328
  this.checkPreselections();
280
- }, startDate: this.internalStartDate, endDate: this.internalEndDate }, (this.min ? { min: this.min } : {}), (this.max ? { max: this.max } : {})), index.h("div", { key: 'b59bd0a9e8ccbdda2f92deeeb6a3a2beaa2df6c2', slot: "preselection", class: clsx.clsx('date-preselection', this.hasPreselection && 'date-preselection--has-preselection') }, index.h("slot", { key: '5afa6af4675eb6cb0da7d95582956852ff28bd69', name: "calendar-preselection" }))))));
329
+ }, startDate: this.internalStartDate, endDate: this.internalEndDate }, (this.min ? { min: this.min } : {}), (this.max ? { max: this.max } : {})), index.h("div", { key: '5f94b5fef9bdca001020776e18c79875015452c7', slot: "preselection", class: clsx.clsx('date-preselection', this.hasPreselection && 'date-preselection--has-preselection') }, index.h("slot", { key: '58524f199d07343671ffc752be0ed74d21c3f021', name: "calendar-preselection" }))))));
330
+ }
331
+ syncFormValue() {
332
+ var _a, _b, _c, _d;
333
+ const startDate = (_b = (_a = this.internalStartDate) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : '';
334
+ const endDate = (_d = (_c = this.internalEndDate) === null || _c === void 0 ? void 0 : _c.trim()) !== null && _d !== void 0 ? _d : '';
335
+ if (!startDate && !endDate) {
336
+ this.internals.setFormValue(null);
337
+ return;
338
+ }
339
+ this.internals.setFormValue(JSON.stringify({ startDate, endDate }));
281
340
  }
341
+ static get formAssociated() { return true; }
282
342
  get host() { return index.getElement(this); }
343
+ static get watchers() { return {
344
+ "startDate": ["handleStartDateChange"],
345
+ "endDate": ["handleEndDateChange"]
346
+ }; }
283
347
  };
284
348
  MdsInputDateRange.style = MdsInputDateRangeStyle0;
285
349
 
@@ -15,6 +15,13 @@ const MdsInputDate = class {
15
15
  constructor(hostRef) {
16
16
  index.registerInstance(this, hostRef);
17
17
  this.valueChange = index.createEvent(this, "mdsInputDateSelect", 7);
18
+ if (hostRef.$hostElement$["s-ei"]) {
19
+ this.internals = hostRef.$hostElement$["s-ei"];
20
+ }
21
+ else {
22
+ this.internals = hostRef.$hostElement$.attachInternals();
23
+ hostRef.$hostElement$["s-ei"] = this.internals;
24
+ }
18
25
  this.isSlotted = false;
19
26
  this.t = new locale.Locale({
20
27
  el: {},
@@ -84,6 +91,7 @@ const MdsInputDate = class {
84
91
  handleValue() {
85
92
  this.valueChange.emit(this.value);
86
93
  this.validateValue();
94
+ this.internals.setFormValue(this.value);
87
95
  }
88
96
  validateValue() {
89
97
  const date = luxon.DateTime_1.fromISO(this.value);
@@ -130,10 +138,10 @@ const MdsInputDate = class {
130
138
  this.validateValue();
131
139
  }
132
140
  render() {
133
- return (index.h(index.Host, { key: '919d453601a3562de46f9439d3dad1f1eaf3a5e1' }, index.h("input", { key: '8719aa7ed95ed718ec05dd8d9b52e890696692b0', value: this.value, id: "dateInput", class: "input", part: "input-date", type: "date", disabled: this.disabled, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.handleChange, onChange: this.handleChange }), !this.isSlotted && index.h("mds-button", { key: '82957882c6a88bbc3163d1d0f1cfec0352ce5822', id: "calendar-dropdown", class: "action-open-calendar", disabled: this.disabled, variant: "dark", tone: "quiet", icon: calendarToday.miBaselineCalendarToday, onClick: () => {
141
+ return (index.h(index.Host, { key: '5c8a9e0aa8f76679abfbdaa2c709ae11312ee46d' }, index.h("input", { key: '1f6dddc1ed8477f8b6160d90f7bf15c6d711ef95', value: this.value, id: "dateInput", class: "input", part: "input-date", type: "date", disabled: this.disabled, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.handleChange, onChange: this.handleChange }), !this.isSlotted && index.h("mds-button", { key: 'caefb1f5d8da17ea06dfc547902e19900cd02abf', id: "calendar-dropdown", class: "action-open-calendar", disabled: this.disabled, variant: "dark", tone: "quiet", icon: calendarToday.miBaselineCalendarToday, onClick: () => {
134
142
  this.calendarKey += 1;
135
- } }), index.h("mds-input-tip", { key: '7fddea55e6476b4d9ed66fcc2d9008b9887d8bd8', lang: this.language, position: "top", active: this.hasFocus }, this.disabled && index.h("mds-input-tip-item", { key: '6dadfde7538194e26a86558fe3f2ed912bd951c3', expanded: true, variant: "disabled" }), this.readonly && index.h("mds-input-tip-item", { key: 'b18b6d06a2ece4f74fdaa93081fe3761675c5337', expanded: true, variant: "readonly" }), this.required &&
136
- index.h("mds-input-tip-item", { key: 'b1bc792f3a3a6f3763d6616efccee124025b85ed', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' })), !this.isSlotted && index.h("mds-dropdown", { key: 'e8a3ce8caf29684848cf698d58c838bd5ce10e0b', placement: "bottom-end", "auto-placement": false, ref: el => this.dropdownRef = el, target: "#calendar-dropdown" }, index.h("mds-calendar", Object.assign({ key: this.calendarKey, rangePicker: false, lang: this.language, onMdsCalendarChange: ev => {
143
+ } }), index.h("mds-input-tip", { key: '3f60d0e56e101776b19c1564d92f361b3f0178d7', lang: this.language, position: "top", active: this.hasFocus }, this.disabled && index.h("mds-input-tip-item", { key: '25a86b26eb2bd743d0291ff1514828274d13ae17', expanded: true, variant: "disabled" }), this.readonly && index.h("mds-input-tip-item", { key: 'c63d2f830dec87f180bc828b16cebd8e8d8a7060', expanded: true, variant: "readonly" }), this.required &&
144
+ index.h("mds-input-tip-item", { key: '2d2e3f021e3e4ef8c99be55132edf4f99be3b900', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' })), !this.isSlotted && index.h("mds-dropdown", { key: '370a33a1f273a3eafc045c1e62c84db41ff52c23', placement: "bottom-end", "auto-placement": false, ref: el => this.dropdownRef = el, target: "#calendar-dropdown" }, index.h("mds-calendar", Object.assign({ key: this.calendarKey, rangePicker: false, lang: this.language, onMdsCalendarChange: ev => {
137
145
  this.value = ev.detail.startDate;
138
146
  if (this.delay === 0)
139
147
  return;
@@ -145,6 +153,7 @@ const MdsInputDate = class {
145
153
  }
146
154
  }, startDate: this.value }, this.min ? { min: this.min } : {}, this.max ? { max: this.max } : {})))));
147
155
  }
156
+ static get formAssociated() { return true; }
148
157
  get host() { return index.getElement(this); }
149
158
  static get watchers() { return {
150
159
  "value": ["handleValue"]
@@ -102,7 +102,7 @@ const MdsInputRange = class {
102
102
  }
103
103
  render() {
104
104
  var _a;
105
- return (index.h(index.Host, { key: '8ef3d8e91f513670ded2b54440c2cf59081ad043' }, index.h("header", { key: '0ae0ae287bd548ef2dd29175ea240e9509ea5e9f', class: "header", part: "header" }, index.h("mds-text", { key: '14b5aeb1730b78e6ef17926e5f4a155cde3cefc3', class: "label", typography: "label" }, index.h("slot", { key: '29c45883d11972044d4ff2ff2ea70e01bd168977' })), index.h("mds-text", { key: '2c65ae671adac27f48e6eef00826a1ef369f685b', class: "value", typography: "label" }, this.formatValue ? this.formatValue(this.value) : this.value)), index.h("div", { key: 'e5fdc71dbb6ba051112cef1ba5b17859754bcb72', class: "range" }, index.h("div", { key: '2bfc474aca9f677e848593d349c0c5dd052fb0f2', class: "track", part: "track" }, index.h("div", { key: '61b7bf624ef480a92b44c94733aad57f079ff0c4', class: "contrast-area" }), index.h("div", { key: '5ae1a21d4d86eae64971430b7cef2564e33ccbf1', class: "track-total" }, index.h("div", { key: '159bb9337266e815178539a9bdb54a251533549e', class: "track-progress", style: { '--mds-input-range-progress': `${(_a = this.progress) !== null && _a !== void 0 ? _a : 0}` } }))), index.h("input", { key: '90848f5d69e23f671250b61468cc8572f99f73cc', ref: el => this.inputElement = el, class: "field", "aria-label": this.label, disabled: this.disabled, max: this.max, min: this.min, onInput: this.onInput, step: this.step, type: "range", value: this.value }))));
105
+ return (index.h(index.Host, { key: '2d5f241c653b2c34225a94f3c0d782c9a8b34583' }, index.h("header", { key: 'ac46c16897c7a1d63b9887ca9580a8b33da77bb3', class: "header", part: "header" }, index.h("mds-text", { key: '0f93eec8872302990d9c42fd9a7f5a8d262f6112', class: "label", typography: "label" }, index.h("slot", { key: '7762eaa602de8d50af9a8184709fd147d44a38e9' })), index.h("mds-text", { key: '3f7d37ce1d04675bcf37602636c0ff8c6a8cc4ed', class: "value", typography: "label" }, this.formatValue ? this.formatValue(this.value) : this.value)), index.h("div", { key: 'c1f864c056a9bf9e533cee469fa4b65492c15573', class: "range" }, index.h("div", { key: '00af079b65bed2f361cc28ebb968c914a841ebe4', class: "track", part: "track" }, index.h("div", { key: 'de58f9fa9d557ce7878a899eb99f22d5594e30d9', class: "contrast-area" }), index.h("div", { key: '4a5f74d269710d7bc6e5c17cf5a76608c5d4efa7', class: "track-total" }, index.h("div", { key: '6622da98d34831538a686d8c08637e52df8a35b2', class: "track-progress", style: { '--mds-input-range-progress': `${(_a = this.progress) !== null && _a !== void 0 ? _a : 0}` } }))), index.h("input", { key: '6a41ec9f335ae724811adf9f6b274aa763e2bc0e', ref: el => this.inputElement = el, class: "field", "aria-label": this.label, disabled: this.disabled, max: this.max, min: this.min, onInput: this.onInput, step: this.step, type: "range", value: this.value, name: this.name }))));
106
106
  }
107
107
  static get formAssociated() { return true; }
108
108
  get element() { return index.getElement(this); }
@@ -237,7 +237,7 @@ const MdsTableCell = class {
237
237
  aria.setAttributeIfEmpty(this.host, 'role', 'cell');
238
238
  }
239
239
  render() {
240
- return (index.h(index.Host, { key: '28118ed5027924f87b53ef4b1a78eba93639abfe' }, index.h("slot", { key: 'a998951d7538ccca74947e05c933610f339df7e6' })));
240
+ return (index.h(index.Host, { key: 'e55a206ea01d0ffd28063339b2590b860e373800' }, index.h("slot", { key: 'd7d15eb91ee8e0d0045a658b05c9963de4b7bd72' })));
241
241
  }
242
242
  get host() { return index.getElement(this); }
243
243
  };
@@ -0,0 +1,153 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-de0ace0a.js');
6
+ const aria = require('./aria-0b8ae8a3.js');
7
+
8
+ const mdsProgressCss = "@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}:host([direction=\"radial\"]){aspect-ratio:1;background-color:transparent;height:auto}:host([direction=\"radial\"]) mds-radial-progress{width:inherit}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-05));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-05));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-05));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-05));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"ai\"]){--mds-progress-color:rgb(var(--variant-ai-05));--mds-progress-background:rgb(var(--variant-ai-09))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark):host([variant=\"primary\"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-theme-dark):host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system):host([variant=\"primary\"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-theme-system):host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant=\"primary\"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant=\"primary\"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
9
+ const MdsProgressStyle0 = mdsProgressCss;
10
+
11
+ const MdsProgress = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.stepsList = new Array();
15
+ /**
16
+ * A value between 0 and 1 that rapresents the status progress
17
+ */
18
+ this.progress = 0;
19
+ /**
20
+ * Specifies the direction of the progress bar, if horizonatl or vertical
21
+ */
22
+ this.direction = 'horizontal';
23
+ /**
24
+ * Sets the theme variant colors
25
+ */
26
+ this.variant = 'primary';
27
+ /**
28
+ * The typography of the component
29
+ */
30
+ this.typography = 'option';
31
+ /**
32
+ * Sets the steps that can be pronounced by accessibility technologies
33
+ */
34
+ this.steps = 'Inizio,Un quarto,Metà,Tre quarti,Fine';
35
+ }
36
+ componentWillLoad() {
37
+ this.stepsList = this.steps.split(',');
38
+ this.setProgress(this.progress);
39
+ }
40
+ componentDidLoad() {
41
+ aria.removeAttributesIf(this.element, 'aria-hidden', 'true', ['aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', 'role']);
42
+ }
43
+ setProgress(progress) {
44
+ if (this.steps) {
45
+ this.currentStep = this.stepsList[Math.round(progress * (this.stepsList.length - 1))];
46
+ if (!aria.ifAttribute(this.element, 'aria-hidden')) {
47
+ this.element.setAttribute('aria-valuetext', this.currentStep);
48
+ }
49
+ }
50
+ }
51
+ progressChanged(progress) {
52
+ this.setProgress(progress);
53
+ }
54
+ stepsChanged(steps) {
55
+ this.stepsList = steps.split(',');
56
+ }
57
+ render() {
58
+ return (index.h(index.Host, { key: '53b3a4c5d3470dc4c51bdde79cedbc88c8267675', "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": !aria.ifAttribute(this.element, 'aria-hidden') && Math.round(this.progress * 100), role: "progressbar" }, this.direction === 'radial'
59
+ ? index.h("mds-radial-progress", { progress: this.progress, part: "radial-progress", typography: this.typography, variant: this.variant })
60
+ : index.h("div", { class: "progress", part: "progress", style: this.direction === 'horizontal'
61
+ ? { flexGrow: `${this.progress}` }
62
+ : { flexGrow: `${this.progress}`, width: '100%' } })));
63
+ }
64
+ get element() { return index.getElement(this); }
65
+ static get watchers() { return {
66
+ "progress": ["progressChanged"],
67
+ "steps": ["stepsChanged"]
68
+ }; }
69
+ };
70
+ MdsProgress.style = MdsProgressStyle0;
71
+
72
+ const mdsRadialProgressCss = "@property --mds-radial-progress {\n inherits: false;\n initial-value: 0%;\n syntax: \"<length-percentage>\";\n}\n\n:host {\n --mds-radial-progress-background: rgb(var(--tone-neutral-09));\n --mds-radial-progress-color: rgb(var(--variant-primary-03));\n --mds-radial-progress-text-background-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-radial-progress-text-background: rgb(var(--tone-neutral));\n --mds-radial-progress-text-suffix: '%';\n --mds-radial-progress: 0%;\n\n -ms-flex-align: center;\n\n align-items: center;\n aspect-ratio: 1;\n background-color: var(--mds-radial-progress-background);\n background-image: conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress), transparent 0%);\n border-radius: calc(infinity * 1px);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n container-name: mds-radial-progress;\n container-type: inline-size;\n display: -ms-flexbox;\n display: flex;\n height: auto;\n -ms-flex-pack: center;\n justify-content: center;\n padding: 0.5rem;\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n transition-property: background-color, --mds-radial-progress-color, --mds-radial-progress;\n -webkit-transition-timing-function: ease-out;\n transition-timing-function: ease-out;\n width: 3rem;\n}\n\n.value-container {\n -ms-flex-align: center;\n align-items: center;\n aspect-ratio: 1;\n background-color: var(--mds-radial-progress-text-background);\n border-radius: inherit;\n -webkit-box-shadow: var(--mds-radial-progress-text-background-shadow);\n box-shadow: var(--mds-radial-progress-text-background-shadow);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n width: 100%;\n}\n\n.value {\n color: currentcolor;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n\n.value::after {\n content: var(--mds-radial-progress-text-suffix);\n}\n\n\n@container mds-radial-progress (max-width: 35px) {\n :host([typography=\"label\"]) .value {\n --mds-radial-progress-text-suffix: '';\n }\n}\n\n@container mds-radial-progress (max-width: 31px) {\n :host([typography=\"option\"]) .value {\n --mds-radial-progress-text-suffix: '';\n }\n}\n\n@container mds-radial-progress (max-width: 23px) {\n :host([typography=\"label\"]) .value {\n display: none;\n }\n}\n\n@container mds-radial-progress (max-width: 19px) {\n :host([typography=\"option\"]) .value {\n display: none;\n }\n}\n\n:host([variant=\"primary\"]) {\n --mds-radial-progress-color: rgb(var(--variant-primary-03));\n --mds-radial-progress-background: rgb(var(--tone-neutral-09));\n}\n\n:host([variant=\"secondary\"]) {\n --mds-radial-progress-color: rgb(var(--variant-secondary-03));\n --mds-radial-progress-background: rgb(var(--tone-neutral-09));\n}\n\n:host([variant=\"ai\"]) {\n --mds-radial-progress-color: rgb(var(--variant-ai-04));\n --mds-radial-progress-background: rgb(var(--variant-ai-09));\n}\n\n:host([variant=\"error\"]) {\n --mds-radial-progress-color: rgb(var(--status-error-05));\n --mds-radial-progress-background: rgb(var(--status-error-09));\n}\n\n:host([variant=\"warning\"]) {\n --mds-radial-progress-color: rgb(var(--status-warning-05));\n --mds-radial-progress-background: rgb(var(--status-warning-09));\n}\n\n:host([variant=\"success\"]) {\n --mds-radial-progress-color: rgb(var(--status-success-05));\n --mds-radial-progress-background: rgb(var(--status-success-09));\n}\n\n:host([variant=\"info\"]) {\n --mds-radial-progress-color: rgb(var(--status-info-05));\n --mds-radial-progress-background: rgb(var(--status-info-09));\n}\n\n:host([variant=\"light\"]) {\n --mds-radial-progress-color: rgb(var(--tone-neutral-03));\n --mds-radial-progress-background: rgb(var(--tone-neutral-09));\n}\n\n:host([variant=\"dark\"]) {\n --mds-radial-progress-color: rgb(var(--tone-neutral-09));\n --mds-radial-progress-background: rgb(var(--tone-neutral-02));\n --mds-radial-progress-text-background: rgb(var(--tone-neutral-04));\n\n color: rgb(var(--tone-neutral));\n}\n\n";
73
+ const MdsRadialProgressStyle0 = mdsRadialProgressCss;
74
+
75
+ const MdsRadialProgress = class {
76
+ constructor(hostRef) {
77
+ index.registerInstance(this, hostRef);
78
+ /**
79
+ * A value between 0 and 1 that rapresents the status progress
80
+ */
81
+ this.progress = 0;
82
+ this.animatedProgress = 0;
83
+ this.rafId = null;
84
+ /**
85
+ * The typography of the component
86
+ */
87
+ this.typography = 'option';
88
+ /**
89
+ * Sets the theme variant colors
90
+ */
91
+ this.variant = 'primary';
92
+ /**
93
+ * Returns the displayed progress percentage
94
+ * @returns {string} The progress percentage
95
+ */
96
+ this.progressPercentage = (value) => `${Math.round(value * 100)}`;
97
+ this.clampProgress = (value) => Math.min(1, Math.max(0, value));
98
+ this.prefersReducedMotion = () => {
99
+ var _a, _b;
100
+ return typeof window !== 'undefined' &&
101
+ ((_b = (_a = window.matchMedia) === null || _a === void 0 ? void 0 : _a.call(window, '(prefers-reduced-motion: reduce)')) === null || _b === void 0 ? void 0 : _b.matches) === true;
102
+ };
103
+ this.easeOutExpo = (t) => (t === 1 ? 1 : 1 - Math.pow(2, -10 * t));
104
+ this.stopAnimation = () => {
105
+ if (this.rafId !== null) {
106
+ cancelAnimationFrame(this.rafId);
107
+ this.rafId = null;
108
+ }
109
+ };
110
+ this.animateTo = (toRaw) => {
111
+ const to = this.clampProgress(toRaw);
112
+ const from = this.animatedProgress;
113
+ this.stopAnimation();
114
+ if (this.prefersReducedMotion()) {
115
+ this.animatedProgress = to;
116
+ return;
117
+ }
118
+ const durationMs = 500;
119
+ const start = performance.now();
120
+ const tick = (now) => {
121
+ const t = Math.min(1, (now - start) / durationMs);
122
+ const eased = this.easeOutExpo(t);
123
+ this.animatedProgress = from + (to - from) * eased;
124
+ if (t < 1)
125
+ this.rafId = requestAnimationFrame(tick);
126
+ else
127
+ this.rafId = null;
128
+ };
129
+ this.rafId = requestAnimationFrame(tick);
130
+ };
131
+ }
132
+ componentWillLoad() {
133
+ this.animatedProgress = this.clampProgress(this.progress);
134
+ }
135
+ disconnectedCallback() {
136
+ this.stopAnimation();
137
+ }
138
+ onProgressChange(nextValue) {
139
+ this.animateTo(nextValue);
140
+ }
141
+ render() {
142
+ const progressVar = `${(this.animatedProgress * 100).toFixed(2)}%`;
143
+ const progressText = this.progressPercentage(this.clampProgress(this.progress));
144
+ return (index.h(index.Host, { key: 'f443fbb71103539bf2174ceb8f060abfd183cd0f', style: { '--mds-radial-progress': progressVar }, role: "progressbar" }, index.h("div", { key: '345c6b6377fc035f5296ab1388d494ca878191cb', class: "value-container" }, index.h("mds-text", { key: '1990635a0abc795a1464d50c5c0df16d95eccb39', class: "value", typography: this.typography }, progressText))));
145
+ }
146
+ static get watchers() { return {
147
+ "progress": ["onProgressChange"]
148
+ }; }
149
+ };
150
+ MdsRadialProgress.style = MdsRadialProgressStyle0;
151
+
152
+ exports.mds_progress = MdsProgress;
153
+ exports.mds_radial_progress = MdsRadialProgress;
@@ -225,9 +225,9 @@ const MdsPushNotificationItem = class {
225
225
  }
226
226
  render() {
227
227
  var _a;
228
- return (index.h(index.Host, { key: 'ed592e291aa63912a7da2be23d5627f8d3ae75ba' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && index.h("mds-avatar", { key: '556833c9409fd8719720fed9d3a901b48a2923a5', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && index.h("mds-img", { key: '50fbffb85d12fecdfe4c733183590b1fbe41dec1', class: "picture", part: "picture", src: this.src }), index.h("div", { key: '74a2503e8a5be6d883fbd0f66fa4c6e316d319c2', class: "content", part: "content" }, index.h("div", { key: '572cdd73ed07d4b65245a13849ea0e93708b1604', class: "header" }, index.h("div", { key: 'bdfe28b95bf497c6b4747bfad024b91f2447d5ef', class: "infos" }, this.hasBadge && index.h("div", { key: '97a0614e35766bf6db5f56abd0ddb99a0a2e9ac9' }, index.h("slot", { key: '144e6be1ca5349594dcf1bb1f14f5cf351721ff8', name: "badge" })), this.subject && index.h("mds-text", { key: 'f5d6e3dca8472b129a4e89f2b360b748f7c64df1', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && index.h("mds-text", { key: '41084e419cdd728a718586ec9eed82a14ef8b37f', class: "time", typography: "option" }, this.dateFormat === 'timeago'
228
+ return (index.h(index.Host, { key: '16ea2ae6af9569ecc45f7ebe9905242a2cf29a0f' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && index.h("mds-avatar", { key: '246c730b06abbe092702adb853932e246f7dabb3', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && index.h("mds-img", { key: '16a5fbf5b3e159da642bd91a205541a2b0477df1', class: "picture", part: "picture", src: this.src }), index.h("div", { key: 'f89e689e9cb6a4b4b2d295de893c608f962b665f', class: "content", part: "content" }, index.h("div", { key: '8f4f0c2fbc5be17c7b9d28085017874ea2daea81', class: "header" }, index.h("div", { key: 'fa9f20f940567d9de0f498ac3528bdbf2057a78a', class: "infos" }, this.hasBadge && index.h("div", { key: '2c24f49b0750cd9b88696c7ae14eea5a33f495e3' }, index.h("slot", { key: '2812424fa6a9b6187717fdba2dc886f760f343b9', name: "badge" })), this.subject && index.h("mds-text", { key: '45b447e38d630b9d9979c231ff71372f9a13028f', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && index.h("mds-text", { key: '7f2f64e430fef6c43d7cd54f88cd51efba996315', class: "time", typography: "option" }, this.dateFormat === 'timeago'
229
229
  ? dayjs(this.datetime).fromNow()
230
- : dayjs(this.datetime).format(this.dateFormat))), index.h("mds-text", { key: '61d85223c1322e8f7ffeee245728f44107d0c7f2', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && index.h("div", { key: '3448b29279572ceda56ed9c6d8207aa00a138408', class: "actions", part: "actions" }, index.h("slot", { key: '094ca0fb30749755ec7f49b5b1fa8e0b77a33213', name: "action" }))), this.deletable && index.h("mds-button", { key: '4dff4153b07676ed2c14adb8ca28bf87dd40980d', class: "close-button", variant: "dark", tone: "quiet", title: this.t.get('dismiss'), icon: cancel.miBaselineCancel, onClick: this.onClickClose.bind(this) })));
230
+ : dayjs(this.datetime).format(this.dateFormat))), index.h("mds-text", { key: 'b2198729cb880522314bbfe7d4ee1c2ec81d4f5b', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && index.h("div", { key: '5a1dad3625be77bbf7d358b8ec0a7c5a6a03cffa', class: "actions", part: "actions" }, index.h("slot", { key: '5c971d0a7169f4da5a8e964317e23a0b36cc1a7d', name: "action" }))), this.deletable && index.h("mds-button", { key: 'a1194dc09ae8cfc8422eae0df0d1339f49da2696', class: "close-button", variant: "dark", tone: "quiet", title: this.t.get('dismiss'), icon: cancel.miBaselineCancel, onClick: this.onClickClose.bind(this) })));
231
231
  }
232
232
  get host() { return index.getElement(this); }
233
233
  static get watchers() { return {
@@ -140,7 +140,7 @@ const MdsPushNotification = class {
140
140
  this.visible = undefined;
141
141
  }
142
142
  render() {
143
- return (index.h(index.Host, { key: 'be723438f4a4f9d547ff62a00c788f0410109178' }, index.h("mds-button", { key: '338347d1abad90f7d1df48469516dc9de26779bd', variant: "dark", onClick: this.clear.bind(this) }, "Cancella notifiche"), index.h("div", { key: 'e1420f282cfa51f3f157d741d67ceb5644be40d2', class: "notifications", part: "notifications" }, index.h("slot", { key: '03520b82d6d4b978ab4277c3616a6d435caa423a', ref: el => this.slotNotifications = el }))));
143
+ return (index.h(index.Host, { key: 'f2f72487935c316b56a6a27bf7f3fdea8879c584' }, index.h("mds-button", { key: 'ce56d9ec3ae4bd7aaad6823f305cf388361a2ca5', variant: "dark", onClick: this.clear.bind(this) }, "Cancella notifiche"), index.h("div", { key: 'd6dd17590f0b93926254f5047e4d2f5862d3b881', class: "notifications", part: "notifications" }, index.h("slot", { key: 'd8fd14139306a95763ce2de98eaee8f3c89ba937', ref: el => this.slotNotifications = el }))));
144
144
  }
145
145
  get host() { return index.getElement(this); }
146
146
  static get watchers() { return {
@@ -20,7 +20,7 @@ const MdsQuote = class {
20
20
  this.tag = 'h3';
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: '846652ee8e8ee6aa57acb029e3521095f04ae299' }, index.h("mds-text", { key: '0729df36233e2868507ae53947bc330deed04f49', class: "open-quote", tag: "div", typography: this.typography }, index.h("span", { key: 'dd9bf005642259f9d002c04e45cb0a57c04cd74f' }, index.h("i", { key: 'dbe76cf1287918e8f841c8a0ffeedead2f5d2d39' }, "\u275D\u00A0"))), index.h("div", { key: '777530d32a146a982705cb573c5b669c4e6138de', class: "quote" }, index.h("mds-text", { key: '54a15d8074cd5fc955dbf44c288242badeb3b018', tag: this.tag, typography: this.typography }, index.h("i", { key: 'd040d2b0193e341fa37de3c5eb8450c862d0a807' }, index.h("slot", { key: '26a7b69e8332d2b5dae95dc40fb4a93b354140fc' }), index.h("span", { key: 'd0303cb8890fb176d4935ae244cefd142b2408b5' }, "\u00A0\u275E"))), index.h("slot", { key: '5f407bbbab168577cf447cab9ff4c2de760cb8b4', name: "author" }))));
23
+ return (index.h(index.Host, { key: '5025690b8788b21d6aba13eedaef50485067b942' }, index.h("mds-text", { key: '3241c2638ac6ad9e693b93b17eead25f6317e895', class: "open-quote", tag: "div", typography: this.typography }, index.h("span", { key: '2ec097a66fc817319e068cb0d2d5e0c47e2fbad9' }, index.h("i", { key: 'db63aa8a6a2c8c11f36356e7b7048655472f504f' }, "\u275D\u00A0"))), index.h("div", { key: 'fce2b87b1599ba8bd22e12d201d609c842afb545', class: "quote" }, index.h("mds-text", { key: '1e9239707face415026050ac392749fe374a5e53', tag: this.tag, typography: this.typography }, index.h("i", { key: '61ed9b58fb80096181dad6704ac3a1b1ed2df359' }, index.h("slot", { key: '3ffe7252c1cca270eeda09fccfca4ec622e041ee' }), index.h("span", { key: 'b9f30b09e1348a55efd29c0c5261b9d1799892fa' }, "\u00A0\u275E"))), index.h("slot", { key: '5ea1907d60d81f988a87695016999d922b00b0d0', name: "author" }))));
24
24
  }
25
25
  };
26
26
  MdsQuote.style = MdsQuoteStyle0;
@@ -21,7 +21,7 @@ const MdsRadialMenuItem = class {
21
21
  this.size = 'lg';
22
22
  }
23
23
  render() {
24
- return (index.h(index.Host, { key: '21f6c26dddc8b141bd279e092df90eefab9f34cd', slot: "item" }, index.h("mds-button", { key: '85a1ea7be20383aa0a5ab2b5b7d8cde238871fef', "aria-label": this.tooltip, class: 'button', icon: this.icon, variant: this.variant, tone: this.tone, size: this.size }), this.tooltip && index.h("mds-tooltip", { key: 'a21b9791c531244ceca651bee504b3ca4e288da7', class: "tooltip", target: ".button", placement: "top", autoPlacement: false }, this.tooltip)));
24
+ return (index.h(index.Host, { key: '43e58dcf8ba7a34adcde88bc79d3861a0693e9c5', slot: "item" }, index.h("mds-button", { key: 'beee9de2bc8efb49136a21cf3da1e9bcb92b76c7', "aria-label": this.tooltip, class: 'button', icon: this.icon, variant: this.variant, tone: this.tone, size: this.size }), this.tooltip && index.h("mds-tooltip", { key: '03dde7feb4dc16f74e12d535fd02c7006b42076b', class: "tooltip", target: ".button", placement: "top", autoPlacement: false }, this.tooltip)));
25
25
  }
26
26
  };
27
27
  MdsRadialMenuItem.style = MdsRadialMenuItemStyle0;
@@ -169,7 +169,7 @@ const MdsRadialMenu = class {
169
169
  this.handleBackdrop();
170
170
  }
171
171
  render() {
172
- return (index.h(index.Host, { key: '2b40085f128c8675a81a9ceda28b274aa190755f' }, index.h("mds-button", { key: '404b5b98ee9e9869c00294dae40d069747be8ca2', class: clsx.clsx('menu-button', this.interaction !== 'click' && 'menu-button--hidden'), icon: this.opened ? close.miBaselineClose : this.icon, tone: this.tone, variant: this.variant, size: this.size, onClick: this.toggleMenu }), index.h("div", { key: '8486b6df5deba7cd52e7b1dda833aa68becf7939', class: "radial-menu", part: "radial-menu" }, index.h("slot", { key: '6382d3029736628cd7370d6d59def63ed1e5a73a', name: "item", onSlotchange: this.updateItems })), index.h("div", { key: '9c8030182743dc1e9ceb98d547cabfb46aaeebc2', class: "disc" })));
172
+ return (index.h(index.Host, { key: 'f3dee0d16b40f264c7c4b61ec737f24890606c81' }, index.h("mds-button", { key: 'a1f456942a0faabfc3aaab23675f34531a29d763', class: clsx.clsx('menu-button', this.interaction !== 'click' && 'menu-button--hidden'), icon: this.opened ? close.miBaselineClose : this.icon, tone: this.tone, variant: this.variant, size: this.size, onClick: this.toggleMenu }), index.h("div", { key: '3d6686d097910b510835c0b3b08bbaef3e9232f4', class: "radial-menu", part: "radial-menu" }, index.h("slot", { key: '68aeb5711c6003cc9f7c80dc6404ca201d7127f8', name: "item", onSlotchange: this.updateItems })), index.h("div", { key: '834cd06173a8a9c8e84842b76cec7ddb262ee523', class: "disc" })));
173
173
  }
174
174
  get hostElement() { return index.getElement(this); }
175
175
  static get watchers() { return {
@@ -12,7 +12,7 @@ const MdsSeparator = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: '56c0aea49451fd97cce0f612329b28e307cd45d6' }));
15
+ return (index.h(index.Host, { key: '4f6a46ceb5abb3d9c3fefe23c0851006fa2b92fc' }));
16
16
  }
17
17
  };
18
18
  MdsSeparator.style = MdsSeparatorStyle0;
@@ -33,7 +33,7 @@ const MdsStatusBar = class {
33
33
  this.visible = undefined;
34
34
  }
35
35
  render() {
36
- return (index.h(index.Host, { key: 'a67f8be1237bfc3bdfb1870402b9dff7afa4f84d' }, index.h("mds-modal", { key: '240c12c7b2c3c20a0cbbc603c57c1b7fba64a927', class: "modal", opened: this.visible, position: this.position, animation: "custom", overflow: this.overflow }, index.h("div", { key: '824d332aeb8119c43af680591322cd762dd83a1c', class: "status-bar-area", part: "status-bar-area", slot: "window" }, index.h("div", { key: 'f23800e5605f2a2b383168fa3c109bc750e87a8b', class: "status-bar", part: "status-bar" }, this.description && index.h("mds-text", { key: 'bf5a6347fc36234a82544a4eab40b0a3cc1c711a', typography: 'caption', class: "description" }, this.description), index.h("div", { key: '9a7970f06d9cafd06fe4aaba594bbef60105bfd7', class: "actions", part: "actions" }, index.h("slot", { key: '0cf4536224f8322847e23c6163eeb19586de1390' })))))));
36
+ return (index.h(index.Host, { key: '7df7628c8fa89c0fc12b1bb1c0f47948a35fc3cf' }, index.h("mds-modal", { key: '564596d1f810483e952475e7968b644eb799df54', class: "modal", opened: this.visible, position: this.position, animation: "custom", overflow: this.overflow }, index.h("div", { key: '639b4c016989808668fd6d5911c5a50b4f3cf580', class: "status-bar-area", part: "status-bar-area", slot: "window" }, index.h("div", { key: '65a57f48f7ffbda0258d4ae9b08acd87e22b9a35', class: "status-bar", part: "status-bar" }, this.description && index.h("mds-text", { key: '873275d838df0d825142bb912585bd246b906f2d', typography: 'caption', class: "description" }, this.description), index.h("div", { key: '1b5794d8aae01dd661f3d4c7b83acf49fb6c84a4', class: "actions", part: "actions" }, index.h("slot", { key: 'd04eb5cd669cba460a75fa967e1cc5f6dcfc4f94' })))))));
37
37
  }
38
38
  get host() { return index.getElement(this); }
39
39
  static get watchers() { return {
@@ -119,7 +119,7 @@ const MdsStepperBarItem = class {
119
119
  this.isCurrent = newValue;
120
120
  }
121
121
  render() {
122
- return (index.h(index.Host, { key: '24fe02454115aebc52a5211a66580a50384c4899' }, index.h("div", { key: 'df50ca54bfbfacc4ef1723d6e8bb46b1879e245c', class: "header" }, index.h("mds-icon", { key: 'd4692ab87d220f445d9070a00740dddc03312842', class: "icon", name: clsx.clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), index.h("mds-progress", { key: 'd3ddf5d7f670a8521f65bb3331f55c9fcc72896b', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), index.h("div", { key: '72e15ab7a912d88a7451c9525b5dc45c2432bd47', class: "infos" }, this.step && index.h("mds-text", { key: '1a91c51e495563b0577edbe94753cfa36675df5f', class: "step", typography: "option" }, this.t.get('step', { index: this.index + 1 })), this.label && index.h("mds-text", { key: '76be13c8476883a91d79b6b0301d2ca615efc3c9', class: "text", typography: this.typography }, this.label), this.badge && index.h("div", { key: '9753a165078a6f1f063604673f94ab3e6dc3acb1', part: "badge" }, this.showBadge()))));
122
+ return (index.h(index.Host, { key: '4b23b66845a2f5614bdb8860e626bb1c5c3c3c4e' }, index.h("div", { key: '09ab9682ba7a1e1cabd51f0fed4b57b826b48a32', class: "header" }, index.h("mds-icon", { key: '374e0d4d285cfd8d493e6bed045bbe3adc73b3df', class: "icon", name: clsx.clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), index.h("mds-progress", { key: 'eae877fdc3c092a32ea52c4d548d9c32f17cbaf0', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), index.h("div", { key: '90b43fa8bbf42daee3782f9b4b6acd9ac3669919', class: "infos" }, this.step && index.h("mds-text", { key: '77cc9e868dfc6360c598e4bd9fcb3eab0912e908', class: "step", typography: "option" }, this.t.get('step', { index: this.index + 1 })), this.label && index.h("mds-text", { key: 'd9e368283923f2c804ac3b8b31f65e5a121368e3', class: "text", typography: this.typography }, this.label), this.badge && index.h("div", { key: '404c6eed3820d16c2aa49312a5693a7349448964', part: "badge" }, this.showBadge()))));
123
123
  }
124
124
  get host() { return index.getElement(this); }
125
125
  static get watchers() { return {
@@ -99,7 +99,7 @@ const MdsStepperBar = class {
99
99
  });
100
100
  }
101
101
  render() {
102
- return (index.h(index.Host, { key: '16f399b468ebb5d8746f1a3e078154e49a159245' }, index.h("div", { key: '53ecc6286c4121a4e4e3b497bc5489b2ccd6760c', class: "items", part: "items" }, index.h("slot", { key: 'a4b01060800f113514e7b5ef5e96596976a39f3c' })), index.h("div", { key: 'dc78a66712bc03e05a64dfdc2f87ea3e6d9492d4', class: "contents", part: "contents" }, index.h("slot", { key: 'ed2b4ac7cc3de772eb554397a90fc7cd3cefbbfa', name: "content" }))));
102
+ return (index.h(index.Host, { key: '84b2a708108a818a6f58559ed7c219dd3e796a23' }, index.h("div", { key: '67dc7395bc5ae14bc34fe3eab46e43809a1cd3db', class: "items", part: "items" }, index.h("slot", { key: '5478969abbd40f5fd4f1dd76df5dc4b77a0f5313' })), index.h("div", { key: 'b73d467a263701d943e3909d455ec0a1d9839405', class: "contents", part: "contents" }, index.h("slot", { key: '5ed880b3160b9b8038ce0ce77d71621abd0ca04c', name: "content" }))));
103
103
  }
104
104
  get element() { return index.getElement(this); }
105
105
  static get watchers() { return {
@@ -30,7 +30,7 @@ const MdsTabBarItem = class {
30
30
  this.isSelected = newValue;
31
31
  }
32
32
  render() {
33
- return (index.h(index.Host, { key: '4e75e5d6f1828f36261b5e3c5e5eb779e4b6df8c', onClick: this.select }, index.h("mds-icon", { key: '1d7e470cd1cccac760d09f7d863e006ec0bc4c11', name: this.icon }), index.h("mds-text", { key: '31192dd0b13d93ec6c2d8083a439441ddac09638', typography: this.typography }, index.h("slot", { key: 'f4092e5f913ed053dec40be7ce5302842a5de9f0' }))));
33
+ return (index.h(index.Host, { key: 'c80554140be9d1f2123f6e9b944a391f11fb4c96', onClick: this.select }, index.h("mds-icon", { key: '73915df7d55c59636de1759fea18e67e778f2b95', name: this.icon }), index.h("mds-text", { key: '97bd114b34506730f387ebfbcf20925e9dab7eaf', typography: this.typography }, index.h("slot", { key: '6d70386aa42912371be0834a5208c41a7878a406' }))));
34
34
  }
35
35
  get element() { return index.getElement(this); }
36
36
  static get watchers() { return {
@@ -27,7 +27,7 @@ const MdsTabBar = class {
27
27
  });
28
28
  }
29
29
  render() {
30
- return (index.h(index.Host, { key: '3b0513954533209ce3f1aa7b595f342ac9cea756' }, index.h("slot", { key: 'f565930592ca9492f2771fa790ed4922adb50650' })));
30
+ return (index.h(index.Host, { key: '9351167c42a9c9bbf31b12e824f18822b162449b' }, index.h("slot", { key: 'f2a200b8ef9c6a0e00ebc4fcbc862e7f6f13967a' })));
31
31
  }
32
32
  get element() { return index.getElement(this); }
33
33
  };
@@ -201,13 +201,13 @@ const MdsTab = class {
201
201
  });
202
202
  }
203
203
  render() {
204
- return (index.h(index.Host, { key: 'db8c96106bb4bc24b2a6333a7dc5681355c1b7e3' }, index.h("div", { key: '771a96db8cf66553c3bec4beb35036dac0398de9', class: clsx.clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill') }, this.overflow && index.h("div", { key: 'a5258e3c183d7409a143002c777a95a1704f444b', class: clsx.clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') }), this.overflow && index.h("div", { key: '1e9145a3bf97767fc175e209fb3d2af00fb4c6fb', class: clsx.clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') }), index.h("div", { key: '52104f172a8c9498649f3c120991336d34685c37', class: "tabs", part: "tabs", role: "tablist" }, index.h("slot", { key: '3e004c4fb2f5da0eb45184eb49e51215d32d5915' }), this.animation === 'slide' &&
205
- index.h("div", { key: 'e105c1005853cc1cc8a72c2393466159110fd435', class: "slider", part: "slider", style: {
204
+ return (index.h(index.Host, { key: '0cee35f7ed7d3673d76e9f87a81b620273b9859b' }, index.h("div", { key: 'e4e248908127fb334f72886b03469f94a3826c8c', class: clsx.clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill') }, this.overflow && index.h("div", { key: 'a8b1955806568e1e314ce23ec05563b23a12c7e7', class: clsx.clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') }), this.overflow && index.h("div", { key: '49ff85dddd8e56d4463f5f233e4d2f69397aca2b', class: clsx.clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') }), index.h("div", { key: '2f11ace6c2845b4048f413ed1df07775835dbe01', class: "tabs", part: "tabs", role: "tablist" }, index.h("slot", { key: '9ef816fbdc5008db20bbc0f702167e90ba471330' }), this.animation === 'slide' &&
205
+ index.h("div", { key: 'ceadac8b4b5f8891294573d60748fe9e9cdc323e', class: "slider", part: "slider", style: {
206
206
  '--mds-tab-slider-width': `${this.sliderWidth}px`,
207
207
  '--mds-tab-slider-height': `${this.sliderHeight}px`,
208
208
  '--mds-tab-slider-offset-x': `${this.sliderOffsetX}px`,
209
209
  '--mds-tab-slider-offset-y': `${this.sliderOffsetY}px`,
210
- } }))), index.h("div", { key: '56ec48904410470513975a4fefb080790e0059b7', class: "contents", part: "contents" }, index.h("slot", { key: 'f37f9cd48ef6973d529bb03a3eb3d6a144ffe142', name: "content", onSlotchange: this.updateContentItems }))));
210
+ } }))), index.h("div", { key: '38d88c11f4a33bb223ceecd40231ad33e5c6ad60', class: "contents", part: "contents" }, index.h("slot", { key: 'f04a15f918ecea307a07b72a07b26c2695406db0', name: "content", onSlotchange: this.updateContentItems }))));
211
211
  }
212
212
  get element() { return index.getElement(this); }
213
213
  static get watchers() { return {
@@ -264,7 +264,7 @@ const MdsTabItem = class {
264
264
  }
265
265
  render() {
266
266
  var _a;
267
- return (index.h(index.Host, { key: 'c5440030f2b55eb1cc108f348b492bd185d691cf' }, index.h("mds-button", { key: '41a00a5f2995c1c1a2b0b1fd5e66596bacd09a7f', class: clsx.clsx('button', this.selected ? 'selected' : ''), await: this.await, disabled: (_a = this.disabled) !== null && _a !== void 0 ? _a : undefined, href: this.href, icon: this.icon, iconPosition: this.iconPosition, onKeyDown: this.focus, onClick: this.toggle, part: "button", role: "tab", size: this.size, type: this.type }, this.hasText && index.h("slot", { key: 'b5268ca0fc807fffd00c67379eebc5e6c3718f0e' }))));
267
+ return (index.h(index.Host, { key: 'a903efdab2ba601a7391ee1859686cd60fa8c7e5' }, index.h("mds-button", { key: '25b65b618a26529ce5daa864742927ecfa1cf890', class: clsx.clsx('button', this.selected ? 'selected' : ''), await: this.await, disabled: (_a = this.disabled) !== null && _a !== void 0 ? _a : undefined, href: this.href, icon: this.icon, iconPosition: this.iconPosition, onKeyDown: this.focus, onClick: this.toggle, part: "button", role: "tab", size: this.size, type: this.type }, this.hasText && index.h("slot", { key: 'a406f686115822fa7d12e03838c8c05da1e4344a' }))));
268
268
  }
269
269
  get element() { return index.getElement(this); }
270
270
  static get watchers() { return {
@@ -12,7 +12,7 @@ const MdsTableBody = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: '122fe0652ccc9c279fe9511fb231c9a0be43e389', role: "rowgroup" }, index.h("slot", { key: 'd27f13add65b6e2ddc74aa93b51be92eb6b35093' })));
15
+ return (index.h(index.Host, { key: '2642e2a3623100b5826917367d46ef3a936c4e8e', role: "rowgroup" }, index.h("slot", { key: '5d4e8807a5b0b3e9774906fe8b0bee9c72913124' })));
16
16
  }
17
17
  };
18
18
  MdsTableBody.style = MdsTableBodyStyle0;
@@ -12,7 +12,7 @@ const MdsTableFooter = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: '7d149514d9997a692415b500257be9a80be56836', role: "row" }, index.h("slot", { key: '0ba142147e630ba55754cd6f03c6979a3842cb03' })));
15
+ return (index.h(index.Host, { key: '2da16f0233064ca5266768ab37a8ceab27b46281', role: "row" }, index.h("slot", { key: '82e357c7c498f08482e1ef9699f68197dfff2cfb' })));
16
16
  }
17
17
  };
18
18
  MdsTableFooter.style = MdsTableFooterStyle0;