@maggioli-design-system/magma 1.11.7 → 1.12.0

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 (301) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/magma-components.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  5. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  6. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  8. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  13. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-bibliography.cjs.entry.js +7 -7
  15. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-button_3.cjs.entry.js +2 -2
  20. package/dist/cjs/mds-calendar_2.cjs.entry.js +246 -128
  21. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  30. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  32. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  35. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-input-date-range.cjs.entry.js +197 -55
  39. package/dist/cjs/mds-input-date.cjs.entry.js +16 -10
  40. package/dist/cjs/mds-input.cjs.entry.js +9 -9
  41. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  42. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +1 -1
  43. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  44. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
  45. package/dist/collection/components/mds-author/mds-author.js +2 -2
  46. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  47. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  48. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  49. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  50. package/dist/collection/components/mds-banner/mds-banner.js +2 -2
  51. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  52. package/dist/collection/components/mds-bibliography/mds-bibliography.js +7 -7
  53. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -2
  54. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  55. package/dist/collection/components/mds-button/mds-button.js +1 -1
  56. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  57. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  58. package/dist/collection/components/mds-calendar/mds-calendar.css +50 -7
  59. package/dist/collection/components/mds-calendar/mds-calendar.js +413 -128
  60. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  61. package/dist/collection/components/mds-card/mds-card.js +1 -1
  62. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  63. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  64. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  65. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  66. package/dist/collection/components/mds-chip/mds-chip.js +3 -3
  67. package/dist/collection/components/mds-details/mds-details.js +1 -1
  68. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  69. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  70. package/dist/collection/components/mds-entity/mds-entity.js +4 -4
  71. package/dist/collection/components/mds-file/mds-file.js +3 -3
  72. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  73. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  74. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  75. package/dist/collection/components/mds-header/mds-header.js +2 -2
  76. package/dist/collection/components/mds-header-bar/mds-header-bar.js +3 -3
  77. package/dist/collection/components/mds-help/mds-help.js +1 -1
  78. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  79. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  80. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  81. package/dist/collection/components/mds-input/mds-input.js +9 -9
  82. package/dist/collection/components/mds-input-date/mds-input-date.js +19 -11
  83. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +33 -1
  84. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +220 -70
  85. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
  86. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  87. package/dist/components/mds-accordion-item.js +1 -1
  88. package/dist/components/mds-accordion-timer-item.js +1 -1
  89. package/dist/components/mds-accordion-timer.js +1 -1
  90. package/dist/components/mds-accordion.js +1 -1
  91. package/dist/components/mds-author.js +2 -2
  92. package/dist/components/mds-avatar-stack-item2.js +1 -1
  93. package/dist/components/mds-avatar-stack.js +1 -1
  94. package/dist/components/mds-avatar2.js +1 -1
  95. package/dist/components/mds-badge2.js +1 -1
  96. package/dist/components/mds-banner2.js +2 -2
  97. package/dist/components/mds-benchmark-bar.js +1 -1
  98. package/dist/components/mds-bibliography.js +7 -7
  99. package/dist/components/mds-breadcrumb-item.js +1 -1
  100. package/dist/components/mds-breadcrumb.js +2 -2
  101. package/dist/components/mds-button-dropdown.js +1 -1
  102. package/dist/components/mds-button-group.js +1 -1
  103. package/dist/components/mds-button2.js +1 -1
  104. package/dist/components/mds-calendar-cell2.js +1 -1
  105. package/dist/components/mds-calendar2.js +256 -128
  106. package/dist/components/mds-card-content.js +1 -1
  107. package/dist/components/mds-card-footer.js +1 -1
  108. package/dist/components/mds-card-header.js +1 -1
  109. package/dist/components/mds-card-media.js +1 -1
  110. package/dist/components/mds-card.js +1 -1
  111. package/dist/components/mds-chip2.js +3 -3
  112. package/dist/components/mds-details.js +1 -1
  113. package/dist/components/mds-dropdown2.js +2 -2
  114. package/dist/components/mds-emoji.js +1 -1
  115. package/dist/components/mds-entity.js +4 -4
  116. package/dist/components/mds-file-preview2.js +2 -2
  117. package/dist/components/mds-file.js +3 -3
  118. package/dist/components/mds-filter-item2.js +1 -1
  119. package/dist/components/mds-filter.js +1 -1
  120. package/dist/components/mds-header-bar.js +3 -3
  121. package/dist/components/mds-header.js +2 -2
  122. package/dist/components/mds-help2.js +1 -1
  123. package/dist/components/mds-horizontal-scroll.js +1 -1
  124. package/dist/components/mds-hr.js +1 -1
  125. package/dist/components/mds-icon2.js +1 -1
  126. package/dist/components/mds-input-date-range.js +199 -55
  127. package/dist/components/mds-input-date.js +17 -10
  128. package/dist/components/mds-input2.js +9 -9
  129. package/dist/documentation.json +238 -32
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/magma-components.js +1 -1
  132. package/dist/esm/mds-accordion-item.entry.js +1 -1
  133. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  134. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  135. package/dist/esm/mds-accordion.entry.js +1 -1
  136. package/dist/esm/mds-author.entry.js +2 -2
  137. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  138. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  139. package/dist/esm/mds-avatar.entry.js +1 -1
  140. package/dist/esm/mds-badge.entry.js +1 -1
  141. package/dist/esm/mds-banner_3.entry.js +6 -6
  142. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  143. package/dist/esm/mds-bibliography.entry.js +7 -7
  144. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  145. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  146. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  147. package/dist/esm/mds-button-group.entry.js +1 -1
  148. package/dist/esm/mds-button_3.entry.js +2 -2
  149. package/dist/esm/mds-calendar_2.entry.js +246 -128
  150. package/dist/esm/mds-card-content.entry.js +1 -1
  151. package/dist/esm/mds-card-footer.entry.js +1 -1
  152. package/dist/esm/mds-card-header.entry.js +1 -1
  153. package/dist/esm/mds-card-media.entry.js +1 -1
  154. package/dist/esm/mds-card.entry.js +1 -1
  155. package/dist/esm/mds-details.entry.js +1 -1
  156. package/dist/esm/mds-dropdown.entry.js +2 -2
  157. package/dist/esm/mds-emoji.entry.js +1 -1
  158. package/dist/esm/mds-entity.entry.js +4 -4
  159. package/dist/esm/mds-file-preview.entry.js +2 -2
  160. package/dist/esm/mds-file.entry.js +3 -3
  161. package/dist/esm/mds-filter-item.entry.js +1 -1
  162. package/dist/esm/mds-filter.entry.js +1 -1
  163. package/dist/esm/mds-header-bar.entry.js +3 -3
  164. package/dist/esm/mds-header.entry.js +2 -2
  165. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  166. package/dist/esm/mds-hr.entry.js +1 -1
  167. package/dist/esm/mds-input-date-range.entry.js +197 -55
  168. package/dist/esm/mds-input-date.entry.js +16 -10
  169. package/dist/esm/mds-input.entry.js +9 -9
  170. package/dist/esm-es5/loader.js +1 -1
  171. package/dist/esm-es5/magma-components.js +1 -1
  172. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  173. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  174. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  175. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  176. package/dist/esm-es5/mds-author.entry.js +1 -1
  177. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  178. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  179. package/dist/esm-es5/mds-avatar.entry.js +1 -1
  180. package/dist/esm-es5/mds-badge.entry.js +1 -1
  181. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  182. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  183. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  184. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  185. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  186. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  187. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  188. package/dist/esm-es5/mds-button_3.entry.js +1 -1
  189. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  190. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  191. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  192. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  193. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  194. package/dist/esm-es5/mds-card.entry.js +1 -1
  195. package/dist/esm-es5/mds-details.entry.js +1 -1
  196. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  197. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  198. package/dist/esm-es5/mds-entity.entry.js +1 -1
  199. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  200. package/dist/esm-es5/mds-file.entry.js +1 -1
  201. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  202. package/dist/esm-es5/mds-filter.entry.js +1 -1
  203. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  204. package/dist/esm-es5/mds-header.entry.js +1 -1
  205. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  206. package/dist/esm-es5/mds-hr.entry.js +1 -1
  207. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  208. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  209. package/dist/esm-es5/mds-input.entry.js +1 -1
  210. package/dist/hydrate/index.js +539 -262
  211. package/dist/hydrate/index.mjs +539 -262
  212. package/dist/magma-components/magma-components.esm.js +1 -1
  213. package/dist/magma-components/{p-e3b0adb8.entry.js → p-02c9dffb.entry.js} +1 -1
  214. package/dist/magma-components/{p-e8626e7a.system.entry.js → p-03b5bdae.system.entry.js} +1 -1
  215. package/dist/magma-components/{p-fec5168f.entry.js → p-09b27f6e.entry.js} +1 -1
  216. package/dist/magma-components/p-09cbad84.system.entry.js +1 -0
  217. package/dist/magma-components/{p-0c3b813d.entry.js → p-0a9db9fc.entry.js} +1 -1
  218. package/dist/magma-components/{p-beeaec1c.entry.js → p-10957e40.entry.js} +1 -1
  219. package/dist/magma-components/{p-42f5037a.entry.js → p-14cad758.entry.js} +1 -1
  220. package/dist/magma-components/{p-35d85970.entry.js → p-188c906e.entry.js} +1 -1
  221. package/dist/magma-components/{p-91e16169.system.entry.js → p-191e79c8.system.entry.js} +1 -1
  222. package/dist/magma-components/{p-1a8d42d1.system.entry.js → p-1c37f4ce.system.entry.js} +1 -1
  223. package/dist/magma-components/{p-30648e76.system.entry.js → p-1cd6c3fe.system.entry.js} +1 -1
  224. package/dist/magma-components/{p-c3ae9ba7.system.entry.js → p-1f52a479.system.entry.js} +1 -1
  225. package/dist/magma-components/p-20e0f9e3.entry.js +1 -0
  226. package/dist/magma-components/p-26cd6ec8.system.js +1 -1
  227. package/dist/magma-components/{p-237d60e2.system.entry.js → p-2910fa0c.system.entry.js} +1 -1
  228. package/dist/magma-components/{p-d95c9d2e.system.entry.js → p-2d947462.system.entry.js} +1 -1
  229. package/dist/magma-components/{p-0b25be9f.entry.js → p-342a07c7.entry.js} +1 -1
  230. package/dist/magma-components/{p-b228a186.system.entry.js → p-39d9f24d.system.entry.js} +1 -1
  231. package/dist/magma-components/{p-27cb23f6.entry.js → p-3a57f53d.entry.js} +1 -1
  232. package/dist/magma-components/{p-0689710c.system.entry.js → p-3b267a52.system.entry.js} +1 -1
  233. package/dist/magma-components/{p-224f80f4.entry.js → p-3bf7d52c.entry.js} +1 -1
  234. package/dist/magma-components/{p-2de8157b.system.entry.js → p-432be440.system.entry.js} +1 -1
  235. package/dist/magma-components/{p-5eca660e.system.entry.js → p-43a2f192.system.entry.js} +1 -1
  236. package/dist/magma-components/{p-eaf4805a.entry.js → p-48a2e8e4.entry.js} +1 -1
  237. package/dist/magma-components/{p-ff674ef9.entry.js → p-4ab9c985.entry.js} +1 -1
  238. package/dist/magma-components/{p-40eeffe8.entry.js → p-4b76248b.entry.js} +1 -1
  239. package/dist/magma-components/{p-11df77b3.entry.js → p-4cf97724.entry.js} +1 -1
  240. package/dist/magma-components/{p-0e2b6dd3.system.entry.js → p-5359bf5e.system.entry.js} +1 -1
  241. package/dist/magma-components/{p-536b4c16.entry.js → p-5619ed51.entry.js} +1 -1
  242. package/dist/magma-components/{p-d738a403.system.entry.js → p-5edd2f30.system.entry.js} +1 -1
  243. package/dist/magma-components/{p-033e85f1.entry.js → p-606cd4bb.entry.js} +1 -1
  244. package/dist/magma-components/{p-e9ade624.system.entry.js → p-61c35e05.system.entry.js} +1 -1
  245. package/dist/magma-components/{p-6e680417.system.entry.js → p-68a7d370.system.entry.js} +1 -1
  246. package/dist/magma-components/{p-409c9518.system.entry.js → p-7244ca7a.system.entry.js} +1 -1
  247. package/dist/magma-components/{p-a9d6984e.entry.js → p-726cd93c.entry.js} +1 -1
  248. package/dist/magma-components/{p-c2798c9a.system.entry.js → p-7359e097.system.entry.js} +1 -1
  249. package/dist/magma-components/{p-723fbfb0.entry.js → p-78088de2.entry.js} +1 -1
  250. package/dist/magma-components/{p-83b2ee17.entry.js → p-7ae676db.entry.js} +1 -1
  251. package/dist/magma-components/{p-6d3ea2b6.entry.js → p-7b788f04.entry.js} +1 -1
  252. package/dist/magma-components/{p-b727c3a6.system.entry.js → p-80518658.system.entry.js} +1 -1
  253. package/dist/magma-components/{p-f6ef6105.entry.js → p-8314f381.entry.js} +1 -1
  254. package/dist/magma-components/{p-86f45462.entry.js → p-8469b603.entry.js} +1 -1
  255. package/dist/magma-components/{p-09aaa62b.system.entry.js → p-855f1617.system.entry.js} +1 -1
  256. package/dist/magma-components/{p-cae0e727.entry.js → p-89757b16.entry.js} +1 -1
  257. package/dist/magma-components/{p-60342fa8.system.entry.js → p-8bc52935.system.entry.js} +1 -1
  258. package/dist/magma-components/{p-6b4bf0df.entry.js → p-8f091ceb.entry.js} +1 -1
  259. package/dist/magma-components/{p-8859d528.entry.js → p-94fb14aa.entry.js} +1 -1
  260. package/dist/magma-components/{p-755dff75.system.entry.js → p-9b7e1f4b.system.entry.js} +1 -1
  261. package/dist/magma-components/{p-dfdc83ab.entry.js → p-9d5ab31c.entry.js} +1 -1
  262. package/dist/magma-components/{p-ddd59ddb.system.entry.js → p-9d86dd4c.system.entry.js} +1 -1
  263. package/dist/magma-components/{p-9e08e8f1.system.entry.js → p-a776c78c.system.entry.js} +1 -1
  264. package/dist/magma-components/{p-854848ca.entry.js → p-aacb6b47.entry.js} +1 -1
  265. package/dist/magma-components/{p-bdc49c99.entry.js → p-b4bad440.entry.js} +1 -1
  266. package/dist/magma-components/{p-3095eab8.system.entry.js → p-b7aae63a.system.entry.js} +1 -1
  267. package/dist/magma-components/{p-03cadeb4.system.entry.js → p-b7b0f420.system.entry.js} +1 -1
  268. package/dist/magma-components/{p-788e95ce.entry.js → p-ba8142cf.entry.js} +1 -1
  269. package/dist/magma-components/{p-84cf6604.system.entry.js → p-be5a7e23.system.entry.js} +1 -1
  270. package/dist/magma-components/{p-61e3603c.system.entry.js → p-c3304189.system.entry.js} +1 -1
  271. package/dist/magma-components/{p-a201cbab.entry.js → p-c372fe03.entry.js} +1 -1
  272. package/dist/magma-components/{p-b4baf323.entry.js → p-c5730248.entry.js} +1 -1
  273. package/dist/magma-components/{p-3e50c4ab.entry.js → p-c5d2cd00.entry.js} +1 -1
  274. package/dist/magma-components/p-c6785782.entry.js +1 -0
  275. package/dist/magma-components/p-ca4ee5b5.system.entry.js +1 -0
  276. package/dist/magma-components/p-d7cf7569.entry.js +1 -0
  277. package/dist/magma-components/{p-6d1ce884.system.entry.js → p-d98a34dc.system.entry.js} +1 -1
  278. package/dist/magma-components/{p-2b3517af.system.entry.js → p-d99f38a7.system.entry.js} +1 -1
  279. package/dist/magma-components/{p-3c2df04e.system.entry.js → p-dd7b9422.system.entry.js} +1 -1
  280. package/dist/magma-components/{p-58b77d4f.entry.js → p-e0bd7509.entry.js} +1 -1
  281. package/dist/magma-components/{p-a786264e.system.entry.js → p-e32a0ec8.system.entry.js} +1 -1
  282. package/dist/magma-components/{p-12527b99.system.entry.js → p-ef488f9f.system.entry.js} +1 -1
  283. package/dist/magma-components/{p-70223843.system.entry.js → p-f250731c.system.entry.js} +1 -1
  284. package/dist/magma-components/{p-8de607ef.entry.js → p-f2e7d2f0.entry.js} +1 -1
  285. package/dist/magma-components/{p-a9c9e071.system.entry.js → p-f349e728.system.entry.js} +1 -1
  286. package/dist/magma-components/{p-1c2b1a44.system.entry.js → p-f584c1d7.system.entry.js} +1 -1
  287. package/dist/magma-components/{p-f5f97018.entry.js → p-fd25f69a.entry.js} +1 -1
  288. package/dist/magma-components/{p-977d3bf0.entry.js → p-fe3879f3.entry.js} +1 -1
  289. package/dist/magma-components/{p-50b07c72.system.entry.js → p-ff8d8818.system.entry.js} +1 -1
  290. package/dist/stats.json +790 -377
  291. package/dist/types/components/mds-calendar/mds-calendar.d.ts +43 -1
  292. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  293. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +23 -4
  294. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
  295. package/dist/types/components.d.ts +94 -6
  296. package/package.json +4 -4
  297. package/dist/magma-components/p-3da97c74.system.entry.js +0 -1
  298. package/dist/magma-components/p-643fd688.entry.js +0 -1
  299. package/dist/magma-components/p-80b11d2e.entry.js +0 -1
  300. package/dist/magma-components/p-e1f3cc6d.entry.js +0 -1
  301. package/dist/magma-components/p-ead9e4c4.system.entry.js +0 -1
@@ -8650,7 +8650,7 @@ luxon.SystemZone = SystemZone;
8650
8650
  luxon.VERSION = VERSION;
8651
8651
  luxon.Zone = Zone;
8652
8652
 
8653
- const mdsCalendarCss = ":host{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01));--mds-calendar-cell-gap:0.125rem;--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:0.5rem;--mds-calendar-background:rgb(var(--tone-neutral));--mds-calendar-padding:1rem;background-color:rgb(var(--tone-neutral-09));border-radius:var(--mds-calendar-border-radius);cursor:auto;display:-ms-inline-flexbox;display:inline-flex;max-width:380px;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background);border-radius:inherit;display:grid;padding:var(--mds-calendar-padding)}.calendar-preselection{display:none;gap:0.125rem;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;padding:var(--mds-calendar-padding)}.calendar-preselection--has-preselection{display:grid}nav{display:-ms-flexbox;display:flex;gap:0.5rem;-ms-flex-pack:justify;justify-content:space-between}.action{padding-left:0.5rem;padding-right:0.5rem;-ms-flex-pack:left;justify-content:left;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content}.action-back,.action-forward{-ms-flex-negative:0;flex-shrink:0}.select-month-or-year{background-color:rgb(var(--tone-neutral-09));border-radius:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:space-evenly;justify-content:space-evenly}.action-month,.action-year{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1}.week-day-name{-ms-flex-align:center;align-items:center;aspect-ratio:1;min-height:auto;padding:0}.month-view{display:grid}.month-view__days-names,.month-view__cells{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7, minmax(1px, 100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3, minmax(1px, 100%));min-width:0}";
8653
+ const mdsCalendarCss = ":host{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01));--mds-calendar-cell-gap:0.125rem;--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:0.5rem;--mds-calendar-background:rgb(var(--tone-neutral));--mds-calendar-padding:1rem;--mds-calendar-select-month-or-year-height:2.25rem;--mds-calendar-select-month-or-year-width:14rem;background-color:rgb(var(--tone-neutral-09));border-radius:var(--mds-calendar-border-radius);cursor:auto;display:-ms-inline-flexbox;display:inline-flex;max-width:380px;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background);border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--mds-calendar-padding)}.calendar-preselection{display:none;gap:0.125rem;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;padding:var(--mds-calendar-padding)}.calendar-preselection--has-preselection{display:grid}nav{display:-ms-flexbox;display:flex;gap:0.5rem;-ms-flex-pack:justify;justify-content:space-between;min-width:0}.action{padding-left:0.5rem;padding-right:0.5rem;-ms-flex-pack:left;justify-content:left;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content}.action-back,.action-forward{-ms-flex-negative:0;flex-shrink:0}.select-month-or-year{-ms-flex-align:stretch;align-items:stretch;background-color:rgb(var(--tone-neutral-09));block-size:var(--mds-calendar-select-month-or-year-height);border-radius:var(--mds-calendar-border-radius);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width);flex:0 0 var(--mds-calendar-select-month-or-year-width);height:var(--mds-calendar-select-month-or-year-height);-ms-flex-pack:start;justify-content:flex-start;inline-size:var(--mds-calendar-select-month-or-year-width);max-block-size:var(--mds-calendar-select-month-or-year-height);max-height:var(--mds-calendar-select-month-or-year-height);max-inline-size:var(--mds-calendar-select-month-or-year-width);min-block-size:var(--mds-calendar-select-month-or-year-height);min-height:var(--mds-calendar-select-month-or-year-height);min-inline-size:var(--mds-calendar-select-month-or-year-width);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;-ms-flex-item-align:stretch;align-self:stretch;block-size:100%;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:0.5rem;padding-right:0.5rem}.action-month{-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.action-year{-ms-flex:0 0 4.5rem;flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{-ms-flex-align:center;align-items:center;aspect-ratio:1;min-height:auto;padding:0}.month-view{display:grid}.month-view__days-names,.month-view__cells{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7, minmax(1px, 100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3, minmax(1px, 100%));min-width:0}";
8654
8654
  const MdsCalendarStyle0 = mdsCalendarCss;
8655
8655
 
8656
8656
  const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends HTMLElement {
@@ -8659,6 +8659,8 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8659
8659
  this.__registerHost();
8660
8660
  this.__attachShadow();
8661
8661
  this.datesEmitter = createEvent(this, "mdsCalendarChange", 7);
8662
+ this.navigationEmitter = createEvent(this, "mdsCalendarNavigate", 7);
8663
+ this.hoverEmitter = createEvent(this, "mdsCalendarHover", 7);
8662
8664
  this.checkPreselectionsEmitter = createEvent(this, "mdsCalendarPreselect", 7);
8663
8665
  this.hasPreselection = false;
8664
8666
  this.currentDate = DateTime_1.now();
@@ -8676,6 +8678,34 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8676
8678
  el: {},
8677
8679
  });
8678
8680
  this.rangePicker = true;
8681
+ /**
8682
+ * Shows the previous navigation button in the calendar header.
8683
+ */
8684
+ this.showPreviousButton = true;
8685
+ /**
8686
+ * Shows the next navigation button in the calendar header.
8687
+ */
8688
+ this.showNextButton = true;
8689
+ /**
8690
+ * Disables switching to month or year selection views from the calendar header.
8691
+ */
8692
+ this.disableMonthYearSelection = false;
8693
+ /**
8694
+ * Shows the preselection area above the calendar view.
8695
+ */
8696
+ this.showPreselection = false;
8697
+ /**
8698
+ * Specifies the date used to determine the visible month without changing the selection.
8699
+ * @description It's in ISO format (YYYY-MM-DD).
8700
+ * @example '2023-10-01'
8701
+ */
8702
+ this.viewDate = null;
8703
+ /**
8704
+ * Specifies the date used to preview the range selection across multiple visible calendars.
8705
+ * @description It's in ISO format (YYYY-MM-DD).
8706
+ * @example '2023-10-15'
8707
+ */
8708
+ this.hoverDate = null;
8679
8709
  /**
8680
8710
  * Specifies the start date of the selection
8681
8711
  * @description It's in ISO format (YYYY-MM-DD).
@@ -8704,6 +8734,47 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8704
8734
  this.internalEndDate = this.endDate;
8705
8735
  this.currentMonth = '';
8706
8736
  this.currentYear = '';
8737
+ this.handleMouseOver = (event) => {
8738
+ const target = event.target;
8739
+ if (!target.matches('mds-calendar-cell') ||
8740
+ !this.rangePicker ||
8741
+ !this.internalStartDate ||
8742
+ this.internalEndDate) {
8743
+ return;
8744
+ }
8745
+ const hoverDate = target.getAttribute('date');
8746
+ if (hoverDate) {
8747
+ this.hoverEmitter.emit({ hoverDate });
8748
+ }
8749
+ };
8750
+ this.handleMouseLeave = () => {
8751
+ if (!this.rangePicker || !this.internalStartDate || this.internalEndDate || !this.hoverDate) {
8752
+ return;
8753
+ }
8754
+ this.hoverEmitter.emit({ hoverDate: null });
8755
+ };
8756
+ this.handleMonthActionClick = (event) => {
8757
+ event.stopPropagation();
8758
+ if (this.disableMonthYearSelection) {
8759
+ event.preventDefault();
8760
+ return;
8761
+ }
8762
+ this.currentView = this.currentView === 'months' ? 'calendar' : 'months';
8763
+ requestAnimationFrame(() => {
8764
+ this.updateCalendar().then(() => this.setDates());
8765
+ });
8766
+ };
8767
+ this.handleYearActionClick = (event) => {
8768
+ event.stopPropagation();
8769
+ if (this.disableMonthYearSelection) {
8770
+ event.preventDefault();
8771
+ return;
8772
+ }
8773
+ this.currentView = this.currentView === 'years' ? 'calendar' : 'years';
8774
+ requestAnimationFrame(() => {
8775
+ this.updateCalendar().then(() => this.setDates());
8776
+ });
8777
+ };
8707
8778
  }
8708
8779
  async updateLang() {
8709
8780
  this.language = this.t.lang(this.host);
@@ -8711,14 +8782,25 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8711
8782
  handleStartDate(newValue) {
8712
8783
  if (newValue !== null && newValue !== '') {
8713
8784
  this.internalStartDate = sanitizeISO8601Date(newValue === null || newValue === void 0 ? void 0 : newValue.toString());
8785
+ this.startDateTime = DateTime_1.fromISO(this.internalStartDate);
8786
+ this.startDateIdentifier = this.startDateTime.toISODate();
8714
8787
  if (this.internalEndDate) {
8715
- const startDateTime = DateTime_1.fromISO(this.internalStartDate);
8716
8788
  const endDateTime = DateTime_1.fromISO(this.internalEndDate);
8717
- if (startDateTime > endDateTime) {
8789
+ if (this.startDateTime > endDateTime) {
8718
8790
  console.warn('startDate is after endDate, swapping values');
8719
8791
  return;
8720
8792
  }
8721
8793
  }
8794
+ else if (this.rangePicker) {
8795
+ this.isFirstClick = false;
8796
+ }
8797
+ this.updateDates();
8798
+ }
8799
+ else if (newValue === null || newValue === '') {
8800
+ this.internalStartDate = null;
8801
+ this.startDateIdentifier = null;
8802
+ this.startDateTime = null;
8803
+ this.isFirstClick = true;
8722
8804
  this.updateDates();
8723
8805
  }
8724
8806
  }
@@ -8729,21 +8811,48 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8729
8811
  }
8730
8812
  else if (newValue !== null && newValue !== '') {
8731
8813
  this.internalEndDate = sanitizeISO8601Date(newValue === null || newValue === void 0 ? void 0 : newValue.toString());
8814
+ this.endDateTime = DateTime_1.fromISO(this.internalEndDate);
8815
+ this.endDateIdentifier = this.endDateTime.toISODate();
8732
8816
  if (this.internalStartDate) {
8733
8817
  const startDateTime = DateTime_1.fromISO(this.internalStartDate);
8734
- const endDateTime = DateTime_1.fromISO(this.internalEndDate);
8735
- if (startDateTime > endDateTime) {
8818
+ if (startDateTime > this.endDateTime) {
8736
8819
  console.warn('startDate is after endDate, swapping values');
8737
8820
  return;
8738
8821
  }
8739
8822
  }
8740
8823
  this.updateDates();
8741
8824
  }
8825
+ else if (newValue === null || newValue === '') {
8826
+ this.internalEndDate = null;
8827
+ this.endDateIdentifier = null;
8828
+ this.endDateTime = null;
8829
+ this.updateDates();
8830
+ }
8831
+ }
8832
+ handleViewDate(newValue) {
8833
+ if (newValue !== null && newValue !== '') {
8834
+ const viewDate = DateTime_1.fromISO(newValue.toString());
8835
+ if (viewDate.isValid) {
8836
+ this.currentDate = viewDate;
8837
+ this.updateCalendar().then(() => {
8838
+ requestAnimationFrame(() => this.setDates());
8839
+ });
8840
+ }
8841
+ }
8842
+ }
8843
+ handleHoverDate() {
8844
+ requestAnimationFrame(() => this.setDates());
8742
8845
  }
8743
8846
  componentWillLoad() {
8744
8847
  var _a, _b;
8745
8848
  this.language = this.t.lang(this.host);
8746
- if (this.internalStartDate) {
8849
+ if (this.viewDate) {
8850
+ const viewDate = DateTime_1.fromISO(this.viewDate.toString());
8851
+ if (viewDate.isValid) {
8852
+ this.currentDate = viewDate;
8853
+ }
8854
+ }
8855
+ else if (this.internalStartDate) {
8747
8856
  this.internalStartDate = sanitizeISO8601Date((_a = this.internalStartDate) === null || _a === void 0 ? void 0 : _a.toString());
8748
8857
  this.startDateTime = DateTime_1.fromISO(this.internalStartDate);
8749
8858
  if (this.startDateTime.isValid) {
@@ -8757,40 +8866,33 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8757
8866
  this.updateCalendar();
8758
8867
  }
8759
8868
  componentDidLoad() {
8760
- var _a, _b, _c;
8761
- this.hasPreselection = ((_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelector('.date-preselection--has-preselection')) !== null;
8762
- (_c = (_b = this.host) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.addEventListener('mouseover', event => {
8763
- const target = event.target;
8764
- if (target.matches('mds-calendar-cell') && this.startDateIdentifier && this.rangePicker) {
8765
- this.handleHover(target);
8766
- }
8767
- });
8869
+ var _a, _b, _c, _d, _e;
8870
+ this.hasPreselection =
8871
+ ((_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelector('.date-preselection--has-preselection')) !== null;
8872
+ (_c = (_b = this.host) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.addEventListener('mouseover', this.handleMouseOver);
8873
+ (_e = (_d = this.host) === null || _d === void 0 ? void 0 : _d.shadowRoot) === null || _e === void 0 ? void 0 : _e.addEventListener('mouseleave', this.handleMouseLeave);
8768
8874
  this.setDates();
8769
8875
  }
8770
8876
  disconnectedCallback() {
8771
- var _a, _b;
8772
- (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseover', event => {
8773
- const target = event.target;
8774
- if (target.matches('mds-calendar-cell') && this.startDateIdentifier && this.rangePicker) {
8775
- this.handleHover(target);
8776
- }
8777
- });
8877
+ var _a, _b, _c, _d;
8878
+ (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseover', this.handleMouseOver);
8879
+ (_d = (_c = this.host) === null || _c === void 0 ? void 0 : _c.shadowRoot) === null || _d === void 0 ? void 0 : _d.removeEventListener('mouseleave', this.handleMouseLeave);
8778
8880
  }
8779
8881
  async updateCurrentDate(date) {
8780
8882
  this.currentDate = DateTime_1.fromISO(date);
8883
+ await this.updateCalendar();
8884
+ await new Promise(resolve => {
8885
+ requestAnimationFrame(() => {
8886
+ this.setDates();
8887
+ resolve();
8888
+ });
8889
+ });
8781
8890
  return Promise.resolve();
8782
8891
  }
8783
8892
  updateDates() {
8784
- if (this.internalStartDate && this.internalEndDate && this.rangePicker) {
8785
- this.updateCalendar().then(() => {
8786
- requestAnimationFrame(() => this.setDates());
8787
- });
8788
- }
8789
- else if (this.internalStartDate && !this.rangePicker) {
8790
- this.updateCalendar().then(() => {
8791
- requestAnimationFrame(() => this.setDates());
8792
- });
8793
- }
8893
+ this.updateCalendar().then(() => {
8894
+ requestAnimationFrame(() => this.setDates());
8895
+ });
8794
8896
  }
8795
8897
  async updateCalendar() {
8796
8898
  try {
@@ -8812,25 +8914,45 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8812
8914
  const { shadowRoot } = calendar;
8813
8915
  if (!shadowRoot)
8814
8916
  return;
8815
- const calendarCells = shadowRoot.querySelectorAll('mds-calendar-cell[selection]');
8816
- if (this.isFirstClick) {
8817
- if (this.rangePicker) {
8818
- this.setRangeSelection(calendarCells, shadowRoot);
8917
+ const calendarCells = shadowRoot.querySelectorAll('mds-calendar-cell[selection], mds-calendar-cell[preview]');
8918
+ if (this.rangePicker) {
8919
+ if (this.hoverDate && !this.internalEndDate) {
8920
+ this.setHoverSelection(calendarCells, shadowRoot);
8819
8921
  }
8820
8922
  else {
8821
- this.setSingleSelection(calendarCells, shadowRoot);
8923
+ this.setRangeSelection(calendarCells, shadowRoot);
8822
8924
  }
8823
8925
  }
8926
+ else {
8927
+ this.setSingleSelection(calendarCells, shadowRoot);
8928
+ }
8824
8929
  }
8825
- setRangeSelection(calendarCells, shadowRoot) {
8930
+ clearSelectionState(calendarCells) {
8826
8931
  calendarCells.forEach(day => {
8827
8932
  day.removeAttribute('selection');
8828
8933
  day.removeAttribute('preview');
8829
8934
  });
8830
- if (!this.internalStartDate || !this.internalEndDate)
8935
+ }
8936
+ setRangeSelection(calendarCells, shadowRoot) {
8937
+ this.clearSelectionState(calendarCells);
8938
+ if (!this.internalStartDate)
8831
8939
  return;
8832
8940
  this.startDateTime = DateTime_1.fromISO(this.internalStartDate.toString());
8941
+ if (!this.internalEndDate) {
8942
+ this.startDateIdentifier = this.startDateTime.toISODate();
8943
+ this.isFirstClick = false;
8944
+ const cells = shadowRoot.querySelectorAll('mds-calendar-cell');
8945
+ cells.forEach(cell => {
8946
+ if (cell.getAttribute('date') === this.startDateTime.toFormat('yyyy-MM-dd')) {
8947
+ cell.setAttribute('selection', 'single');
8948
+ cell.setAttribute('preview', 'true');
8949
+ }
8950
+ });
8951
+ return;
8952
+ }
8833
8953
  this.endDateTime = DateTime_1.fromISO(this.internalEndDate.toString());
8954
+ this.startDateIdentifier = this.startDateTime.toISODate();
8955
+ this.endDateIdentifier = this.endDateTime.toISODate();
8834
8956
  const cells = shadowRoot.querySelectorAll('mds-calendar-cell');
8835
8957
  if (cells) {
8836
8958
  let isBetweenDates;
@@ -8857,10 +8979,48 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8857
8979
  }
8858
8980
  }
8859
8981
  }
8860
- setSingleSelection(calendarCells, shadowRoot) {
8861
- calendarCells.forEach(cell => {
8862
- cell.removeAttribute('selection');
8982
+ setHoverSelection(calendarCells, shadowRoot) {
8983
+ this.clearSelectionState(calendarCells);
8984
+ if (!this.internalStartDate || !this.hoverDate) {
8985
+ this.setRangeSelection(calendarCells, shadowRoot);
8986
+ return;
8987
+ }
8988
+ const startDate = DateTime_1.fromISO(this.internalStartDate);
8989
+ const hoverDate = DateTime_1.fromISO(this.hoverDate);
8990
+ if (!startDate.isValid || !hoverDate.isValid) {
8991
+ this.setRangeSelection(calendarCells, shadowRoot);
8992
+ return;
8993
+ }
8994
+ const isForwardSelection = startDate <= hoverDate;
8995
+ const cells = Array.from(shadowRoot.querySelectorAll('mds-calendar-cell'));
8996
+ cells.forEach(cell => {
8997
+ const cellDateString = cell.getAttribute('date');
8998
+ if (!cellDateString)
8999
+ return;
9000
+ const cellDate = DateTime_1.fromISO(cellDateString);
9001
+ if (!cellDate.isValid)
9002
+ return;
9003
+ const isInRange = isForwardSelection
9004
+ ? cellDate >= startDate && cellDate <= hoverDate
9005
+ : cellDate >= hoverDate && cellDate <= startDate;
9006
+ if (!isInRange)
9007
+ return;
9008
+ cell.setAttribute('preview', 'true');
9009
+ let selectionType = 'middle';
9010
+ if (startDate.equals(hoverDate) && cellDate.equals(startDate)) {
9011
+ selectionType = 'single';
9012
+ }
9013
+ else if (cellDate.equals(startDate)) {
9014
+ selectionType = isForwardSelection ? 'start' : 'end';
9015
+ }
9016
+ else if (cellDate.equals(hoverDate)) {
9017
+ selectionType = isForwardSelection ? 'end' : 'start';
9018
+ }
9019
+ cell.setAttribute('selection', selectionType);
8863
9020
  });
9021
+ }
9022
+ setSingleSelection(calendarCells, shadowRoot) {
9023
+ this.clearSelectionState(calendarCells);
8864
9024
  if (!this.internalStartDate)
8865
9025
  return;
8866
9026
  this.startDateTime = DateTime_1.fromISO(this.internalStartDate.toString());
@@ -8882,6 +9042,10 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8882
9042
  this.updateCalendar().then(() => {
8883
9043
  requestAnimationFrame(() => this.setDates());
8884
9044
  });
9045
+ this.navigationEmitter.emit({
9046
+ currentDate: this.currentDate.toISODate(),
9047
+ delta,
9048
+ });
8885
9049
  }
8886
9050
  calculateWeekDaysInMonth() {
8887
9051
  const startOfMonth = this.currentDate.startOf('month');
@@ -8906,6 +9070,17 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8906
9070
  }
8907
9071
  handleRange(element, dayInfo) {
8908
9072
  var _a, _b;
9073
+ const pendingStartDate = this.startDate || this.host.getAttribute('start-date');
9074
+ if (this.rangePicker &&
9075
+ pendingStartDate &&
9076
+ !this.endDate &&
9077
+ !this.internalEndDate &&
9078
+ this.isFirstClick) {
9079
+ this.internalStartDate = sanitizeISO8601Date(pendingStartDate.toString());
9080
+ this.startDateTime = DateTime_1.fromISO(this.internalStartDate);
9081
+ this.startDateIdentifier = this.startDateTime.toISODate();
9082
+ this.isFirstClick = false;
9083
+ }
8909
9084
  const resetSelection = () => {
8910
9085
  this.internalStartDate = null;
8911
9086
  this.internalEndDate = null;
@@ -8942,14 +9117,16 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8942
9117
  element.setAttribute('selection', 'single');
8943
9118
  element.setAttribute('preview', 'true');
8944
9119
  });
9120
+ this.datesEmitter.emit({ startDate: this.internalStartDate });
8945
9121
  return;
8946
9122
  }
8947
9123
  const calendar = this.host;
8948
9124
  const mdsCalendarCellElements = (_a = calendar === null || calendar === void 0 ? void 0 : calendar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('mds-calendar-cell');
8949
- const startDateElementIndex = Array.from(mdsCalendarCellElements !== null && mdsCalendarCellElements !== void 0 ? mdsCalendarCellElements : [])
8950
- .findIndex((cell) => cell.getAttribute('date') === this.startDateIdentifier);
9125
+ const startDateElementIndex = Array.from(mdsCalendarCellElements !== null && mdsCalendarCellElements !== void 0 ? mdsCalendarCellElements : []).findIndex((cell) => cell.getAttribute('date') === this.startDateIdentifier);
8951
9126
  const elementIndex = Array.from(mdsCalendarCellElements !== null && mdsCalendarCellElements !== void 0 ? mdsCalendarCellElements : []).indexOf(element);
8952
- if (this.startDateIdentifier && DateTime_1.fromISO(this.startDateIdentifier) < DateTime_1.fromISO(element.getAttribute('date'))) {
9127
+ if (this.startDateIdentifier &&
9128
+ DateTime_1.fromISO(this.startDateIdentifier) <
9129
+ DateTime_1.fromISO(element.getAttribute('date'))) {
8953
9130
  this.endDateIdentifier = element.getAttribute('date');
8954
9131
  this.endDateTime = dayInfo;
8955
9132
  this.internalEndDate = this.endDateTime.toISO().split('T')[0];
@@ -8975,66 +9152,6 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
8975
9152
  this.checkPreselectionsEmitter.emit();
8976
9153
  }
8977
9154
  }
8978
- handleHover(element) {
8979
- var _a, _b;
8980
- const typedElement = element;
8981
- const startDate = DateTime_1.fromISO(this.internalStartDate);
8982
- if (!startDate.isValid || this.endDateIdentifier !== null)
8983
- return;
8984
- const calendar = this.host;
8985
- const mdsCalendarCellElements = Array.from((_b = (_a = calendar === null || calendar === void 0 ? void 0 : calendar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('mds-calendar-cell')) !== null && _b !== void 0 ? _b : []);
8986
- const hoveredDateStr = typedElement.getAttribute('date');
8987
- if (!hoveredDateStr)
8988
- return;
8989
- const hoveredDate = DateTime_1.fromISO(hoveredDateStr);
8990
- if (!hoveredDate.isValid)
8991
- return;
8992
- const startTypedElement = mdsCalendarCellElements.find(cell => cell.getAttribute('date') === this.internalStartDate);
8993
- mdsCalendarCellElements.forEach(cell => {
8994
- cell.removeAttribute('preview');
8995
- cell.removeAttribute('selection');
8996
- });
8997
- typedElement.setAttribute('preview', 'true');
8998
- const typedDateStr = typedElement.getAttribute('date');
8999
- if (typedDateStr) {
9000
- const typedDate = DateTime_1.fromISO(typedDateStr);
9001
- if (typedDate.isValid && startTypedElement) {
9002
- if (startDate < typedDate) {
9003
- startTypedElement.setAttribute('selection', 'start');
9004
- }
9005
- else if (startDate > typedDate) {
9006
- startTypedElement.setAttribute('selection', 'end');
9007
- typedElement.setAttribute('selection', 'start');
9008
- }
9009
- else {
9010
- typedElement.setAttribute('selection', 'single');
9011
- }
9012
- }
9013
- }
9014
- if (startDate.equals(hoveredDate)) {
9015
- typedElement.setAttribute('selection', 'single');
9016
- }
9017
- else {
9018
- const [start, end] = startDate < hoveredDate ? [startDate, hoveredDate] : [hoveredDate, startDate];
9019
- mdsCalendarCellElements.forEach(cell => {
9020
- const cellDateStr = cell.getAttribute('date');
9021
- if (!cellDateStr)
9022
- return;
9023
- const cellDate = DateTime_1.fromISO(cellDateStr);
9024
- if (!cellDate.isValid)
9025
- return;
9026
- if (cellDate >= start && cellDate <= end) {
9027
- cell.setAttribute('preview', 'true');
9028
- let selectionType = 'middle';
9029
- if (cellDate.equals(start))
9030
- selectionType = 'start';
9031
- if (cellDate.equals(end))
9032
- selectionType = 'end';
9033
- cell.setAttribute('selection', selectionType);
9034
- }
9035
- });
9036
- }
9037
- }
9038
9155
  handleSingleSelection(element, dayInfo) {
9039
9156
  var _a;
9040
9157
  const calendar = this.host;
@@ -9051,7 +9168,8 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9051
9168
  }
9052
9169
  }
9053
9170
  render() {
9054
- return (h(Host, { key: 'f8c99b009fa780f683430e40a3f9e5a0b46b30d7' }, h("div", { key: 'ef190bc2d84e08c6214cf8ed3143e93fb39dd8e8', class: clsx('calendar-preselection', this.hasPreselection && 'calendar-preselection--has-preselection') }, h("slot", { key: '80bc77b47e0aee093314222aa3c147ac57e0f494', name: "preselection" })), h("div", { key: '0f9a115dc3cbd9632a9b87e94ffdab78a61e9ef8', class: "calendar-view" }, h("nav", { key: 'cdec70c0d9263e0a7404976b1b9c9b1460f4760a' }, h("mds-button", { key: '19cb046b6c4a3b0935b9dc50e38a99fd98c2fe56', class: "action-back", icon: miBaselineBackIosNew, variant: "dark", tone: "quiet", onClick: event => {
9171
+ return (h(Host, { key: '271209054e3f86d3c167ab6f2d84c801619f7fdb' }, h("div", { key: '084902141f92f15f4b62ec34fc826b939f0ff05b', class: clsx('calendar-preselection', (this.showPreselection || this.hasPreselection) &&
9172
+ 'calendar-preselection--has-preselection') }, h("slot", { key: '986c1168978cc658b3a7409adafac5651cae7c77', name: "preselection" })), h("div", { key: 'bbb9882d52d1fd89758704604c3a52016535561e', class: "calendar-view" }, h("nav", { key: '9f993a0c44e484303716cef6530d9d95e84226a1' }, this.showPreviousButton && (h("mds-button", { key: 'f78027217275a9f0896fdfaa2ed99fd10064f581', class: "action-back", icon: miBaselineBackIosNew, variant: "dark", tone: "quiet", onClick: event => {
9055
9173
  if (this.currentView === 'calendar') {
9056
9174
  event.stopPropagation();
9057
9175
  this.changeMonth(-1);
@@ -9063,19 +9181,7 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9063
9181
  else {
9064
9182
  event.stopPropagation();
9065
9183
  }
9066
- } }), h("div", { key: '04e4e1ca98ea00d4513f88131cae65f8f3d368ae', class: "select-month-or-year" }, (this.currentView === 'calendar' || this.currentView === 'months') && h("mds-button", { key: 'd6995e7c68177356e60a1c77aff3649848f91275', class: "action-month", variant: "dark", tone: "quiet", onClick: event => {
9067
- event.stopPropagation();
9068
- this.currentView = this.currentView === 'months' ? 'calendar' : 'months';
9069
- requestAnimationFrame(() => {
9070
- this.updateCalendar().then(() => this.setDates());
9071
- });
9072
- } }, this.currentMonth), (this.currentView === 'calendar' || this.currentView === 'years') && h("mds-button", { key: 'd79d4de0219d05724b173290fa39a034324d950b', class: "action-year", variant: "dark", tone: "quiet", onClick: event => {
9073
- event.stopPropagation();
9074
- this.currentView = this.currentView === 'years' ? 'calendar' : 'years';
9075
- requestAnimationFrame(() => {
9076
- this.updateCalendar().then(() => this.setDates());
9077
- });
9078
- } }, this.currentYear)), h("mds-button", { key: '596683e3960b61627fbe8d774db076e2297cd99a', class: "action-forward", icon: miBaselineForwardIos, variant: "dark", tone: "quiet", onClick: event => {
9184
+ } })), h("div", { key: 'e2916642b7072db24f8e800fb033260a9c2a3dcd', class: "select-month-or-year" }, (this.currentView === 'calendar' || this.currentView === 'months') && (h("mds-button", { key: '112c7d69205f2c57587a4ba12ecd7b445ef66170', class: "action-month", truncate: "none", variant: "dark", tone: "quiet", onClick: this.handleMonthActionClick }, this.currentMonth)), (this.currentView === 'calendar' || this.currentView === 'years') && (h("mds-button", { key: '91f990cfdafb34e3983f7e375e695dce5fde11fd', class: "action-year", truncate: "none", variant: "dark", tone: "quiet", onClick: this.handleYearActionClick }, this.currentYear))), this.showNextButton && (h("mds-button", { key: 'd297451100785c186b8ae054fa0203007f218cb7', class: "action-forward", icon: miBaselineForwardIos, variant: "dark", tone: "quiet", onClick: event => {
9079
9185
  if (this.currentView === 'calendar') {
9080
9186
  event.stopPropagation();
9081
9187
  this.changeMonth(1);
@@ -9087,11 +9193,15 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9087
9193
  else {
9088
9194
  event.stopPropagation();
9089
9195
  }
9090
- } })), this.currentView === 'calendar' && (h("section", { key: '2bac904c98af5bd276fbc3f1587655bea71dd138', class: "month-view" }, h("header", { key: 'eaf5ace7f5a3f822bf860f3ec3cceb01582fbe93', class: "month-view__days-names" }, this.weekdays.map(day => (h("mds-button", { class: "week-day-name", variant: "dark", tone: "quiet" }, day)))), h("div", { key: 'ae14ce81225094dea1b082398901496ed77868eb', class: "month-view__cells" }, this.weekDaysinMonth.map((dayInfo, index) => (h("mds-calendar-cell", { key: index, today: DateTime_1.now().toFormat('yyyy-MM-dd') === dayInfo.date.toFormat('yyyy-MM-dd'), date: dayInfo.date.toFormat('yyyy-MM-dd'), month: dayInfo.isCurrentMonth ? 'current' : 'other', disabled: (() => {
9091
- if (this.min && this.min !== '' && dayInfo.date < DateTime_1.fromISO(this.min)) {
9196
+ } }))), this.currentView === 'calendar' && (h("section", { key: 'bf8eba9f66065c91d0f4feac4ddbc93c1fc63ad4', class: "month-view" }, h("header", { key: 'c90bf7ed93129ab8bfc3ecaab99fb2d012adab39', class: "month-view__days-names" }, this.weekdays.map(day => (h("mds-button", { class: "week-day-name", variant: "dark", tone: "quiet" }, day)))), h("div", { key: '6b5fb95ad179b38fefe0986b48a3a12a287ccf61', class: "month-view__cells" }, this.weekDaysinMonth.map((dayInfo, index) => (h("mds-calendar-cell", { key: index, today: DateTime_1.now().toFormat('yyyy-MM-dd') === dayInfo.date.toFormat('yyyy-MM-dd'), date: dayInfo.date.toFormat('yyyy-MM-dd'), month: dayInfo.isCurrentMonth ? 'current' : 'other', disabled: (() => {
9197
+ if (this.min &&
9198
+ this.min !== '' &&
9199
+ dayInfo.date < DateTime_1.fromISO(this.min)) {
9092
9200
  return true;
9093
9201
  }
9094
- if (this.max && this.max !== '' && dayInfo.date > DateTime_1.fromISO(this.max)) {
9202
+ if (this.max &&
9203
+ this.max !== '' &&
9204
+ dayInfo.date > DateTime_1.fromISO(this.max)) {
9095
9205
  return true;
9096
9206
  }
9097
9207
  return undefined;
@@ -9102,9 +9212,15 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9102
9212
  this.handleRange(target, dayInfo.date);
9103
9213
  else
9104
9214
  this.handleSingleSelection(target, dayInfo.date);
9105
- } }, dayInfo.date.toFormat('dd'))))))), this.currentView === 'months' && (h("section", { key: 'd85ff88559bac8c6999e939cfd317e78e67bdcdb', class: "month-selection" }, h("header", { key: 'ed18653752d8d403c86dd8e78ff4cd182d8ec435', class: "month-view__month-names" }, Array.from({ length: 12 }).map((_, index) => {
9106
- const monthName = DateTime_1.local().set({ month: index + 1 }).setLocale(this.language).toFormat('MMMM');
9107
- return (h("mds-button", { class: 'action', variant: 'dark', tone: 'quiet', onClick: event => {
9215
+ }, title: dayInfo.date
9216
+ .setLocale(this.language)
9217
+ .toFormat('cccc d LLLL')
9218
+ .replace(/^./, char => char.toUpperCase()) }, dayInfo.date.toFormat('dd'))))))), this.currentView === 'months' && (h("section", { key: '5353ed4497b33fb5260cf6c2d1f087b228a0cda3', class: "month-selection" }, h("header", { key: '70247928e4a74589900b0acd3b8d02686e41a4d1', class: "month-view__month-names" }, Array.from({ length: 12 }).map((_, index) => {
9219
+ const monthName = DateTime_1.local()
9220
+ .set({ month: index + 1 })
9221
+ .setLocale(this.language)
9222
+ .toFormat('MMMM');
9223
+ return (h("mds-button", { class: "action", variant: "dark", tone: "quiet", onClick: event => {
9108
9224
  event.stopPropagation();
9109
9225
  this.currentDate = this.currentDate.set({ month: index + 1 });
9110
9226
  this.currentMonth = this.currentDate.toFormat('MMMM');
@@ -9113,9 +9229,9 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9113
9229
  requestAnimationFrame(() => this.setDates());
9114
9230
  });
9115
9231
  } }, monthName));
9116
- })))), this.currentView === 'years' && (h("section", { key: 'a9473ac1c4027e4e25635217a665aadd924d055a', class: "year-selection" }, h("header", { key: 'adc5de34d23fbb299aa8ab5debb1b210c7cb4bb0', class: "month-view__years" }, Array.from({ length: 12 }).map((_, index) => {
9232
+ })))), this.currentView === 'years' && (h("section", { key: '99dca1c5f3ce083cb3bb117ce8bb705faa83e19c', class: "year-selection" }, h("header", { key: '7d479a8c05815560306486bf0825a521c971a6e4', class: "month-view__years" }, Array.from({ length: 12 }).map((_, index) => {
9117
9233
  const year = this.selectedYear + index;
9118
- return (h("mds-button", { class: 'action', variant: 'dark', tone: 'quiet', onClick: event => {
9234
+ return (h("mds-button", { class: "action", variant: "dark", tone: "quiet", onClick: event => {
9119
9235
  event.stopPropagation();
9120
9236
  this.currentDate = this.currentDate.set({ year });
9121
9237
  this.currentYear = year.toString();
@@ -9129,11 +9245,19 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9129
9245
  get host() { return this; }
9130
9246
  static get watchers() { return {
9131
9247
  "startDate": ["handleStartDate"],
9132
- "endDate": ["handleEndDate"]
9248
+ "endDate": ["handleEndDate"],
9249
+ "viewDate": ["handleViewDate"],
9250
+ "hoverDate": ["handleHoverDate"]
9133
9251
  }; }
9134
9252
  static get style() { return MdsCalendarStyle0; }
9135
9253
  }, [1, "mds-calendar", {
9136
9254
  "rangePicker": [4, "range-picker"],
9255
+ "showPreviousButton": [4, "show-previous-button"],
9256
+ "showNextButton": [4, "show-next-button"],
9257
+ "disableMonthYearSelection": [4, "disable-month-year-selection"],
9258
+ "showPreselection": [4, "show-preselection"],
9259
+ "viewDate": [513, "view-date"],
9260
+ "hoverDate": [513, "hover-date"],
9137
9261
  "startDate": [513, "start-date"],
9138
9262
  "endDate": [513, "end-date"],
9139
9263
  "min": [513],
@@ -9150,11 +9274,15 @@ const MdsCalendar = /*@__PURE__*/ proxyCustomElement(class MdsCalendar extends H
9150
9274
  "language": [32],
9151
9275
  "internalStartDate": [32],
9152
9276
  "internalEndDate": [32],
9277
+ "currentMonth": [32],
9278
+ "currentYear": [32],
9153
9279
  "updateLang": [64],
9154
9280
  "updateCurrentDate": [64]
9155
9281
  }, undefined, {
9156
9282
  "startDate": ["handleStartDate"],
9157
- "endDate": ["handleEndDate"]
9283
+ "endDate": ["handleEndDate"],
9284
+ "viewDate": ["handleViewDate"],
9285
+ "hoverDate": ["handleHoverDate"]
9158
9286
  }]);
9159
9287
  function defineCustomElement() {
9160
9288
  if (typeof customElements === "undefined") {
@@ -10,7 +10,7 @@ const MdsCardContent$1 = /*@__PURE__*/ proxyCustomElement(class MdsCardContent e
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '8de5ceb7de6678a21046301b7196928cb175b564', slot: "content" }, h("slot", { key: '6972425a51436a791af1b998e1ca15c42621d714' })));
13
+ return (h(Host, { key: '6d999f7edd0c6a6f9600ba642c7701c76cb2e652', slot: "content" }, h("slot", { key: 'd8261aefdf99a1e04ce0759351c4b112c14db22e' })));
14
14
  }
15
15
  static get style() { return MdsCardContentStyle0; }
16
16
  }, [1, "mds-card-content"]);
@@ -10,7 +10,7 @@ const MdsCardFooter$1 = /*@__PURE__*/ proxyCustomElement(class MdsCardFooter ext
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '13aafa37390afd856908699e092b4aa16fcf5baa', slot: "footer" }, h("slot", { key: 'ff5ecf333902f504868c8864d92678193309c6f7' })));
13
+ return (h(Host, { key: '27d1cfe59341aec8873e3e58b67ff878447b4e7e', slot: "footer" }, h("slot", { key: '1f77196c1c48afe232aaa1062d77100da3e34964' })));
14
14
  }
15
15
  static get style() { return MdsCardFooterStyle0; }
16
16
  }, [1, "mds-card-footer"]);
@@ -13,7 +13,7 @@ const MdsCardHeader$1 = /*@__PURE__*/ proxyCustomElement(class MdsCardHeader ext
13
13
  this.actions = this.hostElement.querySelector(':scope > [slot="action"]') !== null;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '53ef37e50436502fe28105d350de8b6df68f2b3c', slot: "header" }, h("slot", { key: '8195415abd27fbeee184d43cdb9b41e37d3e30fc' }), this.actions && h("div", { key: 'bf1441236c3e9faa0a6736c49ae7faad502ab279', class: "actions" }, h("slot", { key: 'fd6f9ddc41d48ea581e35ae969907067f5602708', name: "action" }))));
16
+ return (h(Host, { key: '37517cc5fa13e59e5cb3288b2df8e443959ac589', slot: "header" }, h("slot", { key: '4cf693704f94b775346e6b132cbfb186e7092ae4' }), this.actions && h("div", { key: '737f4ec0b6c3f003836d6cbe7fdb3b29f38518d9', class: "actions" }, h("slot", { key: '57bef676061685715167d387ff65bc48ab1a48c9', name: "action" }))));
17
17
  }
18
18
  get hostElement() { return this; }
19
19
  static get style() { return MdsCardHeaderStyle0; }
@@ -10,7 +10,7 @@ const MdsCardMedia$1 = /*@__PURE__*/ proxyCustomElement(class MdsCardMedia exten
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '0e6711a21bb20b2c78e84050847aeb60b8720eef', slot: "media" }, h("div", { key: 'ea2e66573e2004697e6d060e698ff7e3445761ce', class: "content", part: "content" }, h("slot", { key: '136f60814119eb31f927d0387dee74384faab5ef', name: "content" })), h("slot", { key: 'b229336c1e680bab67be617dfab80161d5162bdf' })));
13
+ return (h(Host, { key: 'ede4755f4ed976be4a2aaefa0ef107a42cd3ea42', slot: "media" }, h("div", { key: '2dd85585b36b5568fd5b6b60639fbc16dae54f8f', class: "content", part: "content" }, h("slot", { key: 'f1236d9047acd846d270ee17a402e87d4bda1178', name: "content" })), h("slot", { key: '59ecffc8eb3e1b748fbe009a8664b799f05703e1' })));
14
14
  }
15
15
  static get style() { return MdsCardMediaStyle0; }
16
16
  }, [1, "mds-card-media"]);
@@ -29,7 +29,7 @@ const MdsCard$1 = /*@__PURE__*/ proxyCustomElement(class MdsCard extends HTMLEle
29
29
  .reduce((prev, curr) => prev + curr.charAt(0), '');
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '40b6bd3b0fcce50d1540f3d2356bcf8ebc37657b' }, h("div", { key: 'a5163fe1dab6d69dcd4e2f4e9f569870bb8ff869', class: clsx('layout', this.layout && `layout--${this.layout}`, !this.autoGrid ? 'layout--disabled' : ''), part: "container" }, h("slot", { key: '14ee70fd226453020ee665d4b766a2673823f1a4', name: "media" }), h("slot", { key: 'f21ae3c26a15aec44754b06da5f19f0dc695e840', name: "header" }), h("slot", { key: 'e0065f50b72e5f8b1cf29236666a855b4b02e41b', name: "content" }), h("slot", { key: '76c9a427fb0522067df3ff671241ec25179c2a5f', name: "footer" }))));
32
+ return (h(Host, { key: '1f56ae14eee21319d1285d8ed70b8318ccd623ea' }, h("div", { key: '9c1b326adc15a6572d1e711090a31f6af81d301c', class: clsx('layout', this.layout && `layout--${this.layout}`, !this.autoGrid ? 'layout--disabled' : ''), part: "container" }, h("slot", { key: 'c07c48068d7227f652ad577c58b388880f930729', name: "media" }), h("slot", { key: '84121684f7f9298396da6c61c0281d4fad7e9d71', name: "header" }), h("slot", { key: '807c82b31bcd779562ead67476e6b8aa6ec4c2f6', name: "content" }), h("slot", { key: 'd05eb58fc0d39cac5ce38676fa2062e87b0f4ea5', name: "footer" }))));
33
33
  }
34
34
  get host() { return this; }
35
35
  static get style() { return MdsCardStyle0; }