@maggioli-design-system/magma 1.1.0 → 1.2.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 (805) hide show
  1. package/dist/cjs/{index-4656e44f.js → index-a8e44913.js} +270 -165
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/magma-components.cjs.js +3 -3
  4. package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
  5. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  6. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  7. package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  9. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  10. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  11. package/dist/cjs/mds-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  14. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  15. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  16. package/dist/cjs/mds-button_3.cjs.entry.js +13 -5
  17. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  22. package/dist/cjs/mds-chip.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  26. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  27. package/dist/cjs/mds-file.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
  29. package/dist/cjs/mds-filter.cjs.entry.js +2 -2
  30. package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-help.cjs.entry.js +2 -2
  33. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  34. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  38. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-input-switch_2.cjs.entry.js +22 -6
  40. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  41. package/dist/cjs/mds-input-upload.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  43. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  45. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  46. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-label.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-modal.cjs.entry.js +2 -2
  51. package/dist/cjs/mds-note.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-notification.cjs.entry.js +2 -2
  53. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
  56. package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-pref-theme.cjs.entry.js +2 -2
  61. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  67. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  68. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-progress.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-push-notifications.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  73. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  76. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  77. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-tab_2.cjs.entry.js +8 -6
  79. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  80. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  82. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
  84. package/dist/cjs/mds-table.cjs.entry.js +2 -2
  85. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  86. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  89. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-url-view.cjs.entry.js +3 -3
  91. package/dist/cjs/mds-usage.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  94. package/dist/collection/collection-manifest.json +1 -1
  95. package/dist/collection/components/mds-accordion/mds-accordion.css +14 -42
  96. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +26 -55
  97. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +5 -18
  98. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -18
  99. package/dist/collection/components/mds-author/mds-author.css +2 -5
  100. package/dist/collection/components/mds-avatar/mds-avatar.css +64 -121
  101. package/dist/collection/components/mds-badge/mds-badge.css +373 -711
  102. package/dist/collection/components/mds-banner/mds-banner.css +48 -111
  103. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.css +0 -2
  104. package/dist/collection/components/mds-bibliography/mds-bibliography.css +0 -2
  105. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -15
  106. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +3 -8
  107. package/dist/collection/components/mds-button/mds-button.css +911 -1204
  108. package/dist/collection/components/mds-button/mds-button.js +2 -2
  109. package/dist/collection/components/mds-card/mds-card.css +13 -28
  110. package/dist/collection/components/mds-card/mds-card.js +15 -6
  111. package/dist/collection/components/mds-card/test/mds-card.stories.js +10 -10
  112. package/dist/collection/components/mds-chip/mds-chip.css +29 -59
  113. package/dist/collection/components/mds-details/mds-details.css +11 -29
  114. package/dist/collection/components/mds-dropdown/mds-dropdown.css +29 -71
  115. package/dist/collection/components/mds-entity/mds-entity.css +23 -60
  116. package/dist/collection/components/mds-file/mds-file.css +26 -59
  117. package/dist/collection/components/mds-file-preview/mds-file-preview.css +142 -241
  118. package/dist/collection/components/mds-filter/mds-filter.css +53 -84
  119. package/dist/collection/components/mds-filter-item/mds-filter-item.css +35 -54
  120. package/dist/collection/components/mds-header/mds-header.css +19 -46
  121. package/dist/collection/components/mds-header-bar/mds-header-bar.css +23 -61
  122. package/dist/collection/components/mds-help/mds-help.css +0 -9
  123. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +9 -27
  124. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +3 -1
  125. package/dist/collection/components/mds-hr/mds-hr.css +6 -14
  126. package/dist/collection/components/mds-icon/mds-icon.css +0 -2
  127. package/dist/collection/components/mds-img/mds-img.css +0 -1
  128. package/dist/collection/components/mds-img/meta/storybook.js +6 -6
  129. package/dist/collection/components/mds-input/mds-input.css +80 -163
  130. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -25
  131. package/dist/collection/components/mds-input-range/mds-input-range.css +23 -49
  132. package/dist/collection/components/mds-input-select/mds-input-select.css +50 -87
  133. package/dist/collection/components/mds-input-switch/mds-input-switch.css +42 -18
  134. package/dist/collection/components/mds-input-switch/mds-input-switch.js +22 -2
  135. package/dist/collection/components/mds-input-tip/mds-input-tip.css +7 -22
  136. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +7 -30
  137. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -34
  138. package/dist/collection/components/mds-keyboard/mds-keyboard.css +31 -47
  139. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +0 -4
  140. package/dist/collection/components/mds-kpi/mds-kpi.css +0 -3
  141. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +51 -101
  142. package/dist/collection/components/mds-label/mds-label.css +76 -181
  143. package/dist/collection/components/mds-list-item/mds-list-item.css +5 -20
  144. package/dist/collection/components/mds-modal/mds-modal.css +48 -74
  145. package/dist/collection/components/mds-note/mds-note.css +132 -185
  146. package/dist/collection/components/mds-notification/mds-notification.css +20 -36
  147. package/dist/collection/components/mds-paginator/mds-paginator.css +37 -73
  148. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +20 -38
  149. package/dist/collection/components/mds-pref/mds-pref.css +0 -2
  150. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +10 -23
  151. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +27 -50
  152. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +8 -19
  153. package/dist/collection/components/mds-pref-language/mds-pref-language.css +2 -6
  154. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +27 -47
  155. package/dist/collection/components/mds-price-table/mds-price-table.css +0 -2
  156. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +14 -42
  157. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +23 -57
  158. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +17 -45
  159. package/dist/collection/components/mds-price-table-header/mds-price-table-header.css +0 -2
  160. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +25 -43
  161. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +0 -10
  162. package/dist/collection/components/mds-progress/mds-progress.css +55 -75
  163. package/dist/collection/components/mds-push-notification/mds-push-notification.css +99 -190
  164. package/dist/collection/components/mds-push-notifications/mds-push-notifications.css +1 -5
  165. package/dist/collection/components/mds-quote/mds-quote.css +6 -13
  166. package/dist/collection/components/mds-separator/mds-separator.css +9 -29
  167. package/dist/collection/components/mds-spinner/mds-spinner.css +20 -45
  168. package/dist/collection/components/mds-spinner/mds-spinner.js +13 -2
  169. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +20 -37
  170. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +16 -42
  171. package/dist/collection/components/mds-tab/mds-tab.css +23 -59
  172. package/dist/collection/components/mds-tab/mds-tab.js +5 -3
  173. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +14 -35
  174. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +16 -42
  175. package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -30
  176. package/dist/collection/components/mds-table/mds-table.css +123 -173
  177. package/dist/collection/components/mds-table-body/mds-table-body.css +6 -17
  178. package/dist/collection/components/mds-table-cell/mds-table-cell.css +46 -51
  179. package/dist/collection/components/mds-table-footer/mds-table-footer.css +25 -32
  180. package/dist/collection/components/mds-table-header/mds-table-header.css +33 -39
  181. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +5 -11
  182. package/dist/collection/components/mds-table-row/mds-table-row.css +114 -132
  183. package/dist/collection/components/mds-text/mds-text.css +86 -227
  184. package/dist/collection/components/mds-toast/mds-toast.css +33 -89
  185. package/dist/collection/components/mds-tooltip/mds-tooltip.css +19 -83
  186. package/dist/collection/components/mds-tree/mds-tree.css +0 -3
  187. package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -33
  188. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  189. package/dist/collection/components/mds-url-view/mds-url-view.css +17 -43
  190. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  191. package/dist/collection/components/mds-usage/mds-usage.css +43 -89
  192. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  193. package/dist/collection/components/mds-video-wall/mds-video-wall.css +6 -16
  194. package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
  195. package/dist/collection/components/mds-zero/mds-zero.css +17 -47
  196. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  197. package/dist/components/mds-accordion-item.js +1 -1
  198. package/dist/components/mds-accordion-timer-item.js +1 -1
  199. package/dist/components/mds-accordion-timer.js +1 -1
  200. package/dist/components/mds-accordion.js +1 -1
  201. package/dist/components/mds-author.js +1 -1
  202. package/dist/components/mds-avatar2.js +1 -1
  203. package/dist/components/mds-badge2.js +1 -1
  204. package/dist/components/mds-banner.js +1 -1
  205. package/dist/components/mds-bibliography.js +1 -1
  206. package/dist/components/mds-breadcrumb-item.js +1 -1
  207. package/dist/components/mds-breadcrumb.js +1 -1
  208. package/dist/components/mds-button2.js +3 -3
  209. package/dist/components/mds-card.js +2 -2
  210. package/dist/components/mds-chip.js +1 -1
  211. package/dist/components/mds-details.js +1 -1
  212. package/dist/components/mds-dropdown2.js +1 -1
  213. package/dist/components/mds-entity.js +1 -1
  214. package/dist/components/mds-file-preview2.js +1 -1
  215. package/dist/components/mds-file.js +1 -1
  216. package/dist/components/mds-filter-item2.js +1 -1
  217. package/dist/components/mds-filter.js +1 -1
  218. package/dist/components/mds-header-bar.js +1 -1
  219. package/dist/components/mds-header.js +1 -1
  220. package/dist/components/mds-help.js +1 -1
  221. package/dist/components/mds-horizontal-scroll.js +2 -2
  222. package/dist/components/mds-hr.js +1 -1
  223. package/dist/components/mds-img2.js +1 -1
  224. package/dist/components/mds-input-field.js +1 -1
  225. package/dist/components/mds-input-range.js +1 -1
  226. package/dist/components/mds-input-select.js +1 -1
  227. package/dist/components/mds-input-switch2.js +23 -5
  228. package/dist/components/mds-input-tip-item2.js +1 -1
  229. package/dist/components/mds-input-tip2.js +1 -1
  230. package/dist/components/mds-input-upload.js +1 -1
  231. package/dist/components/mds-input2.js +1 -1
  232. package/dist/components/mds-keyboard.js +1 -1
  233. package/dist/components/mds-kpi-item.js +1 -1
  234. package/dist/components/mds-label.js +1 -1
  235. package/dist/components/mds-list-item.js +1 -1
  236. package/dist/components/mds-modal2.js +1 -1
  237. package/dist/components/mds-note.js +1 -1
  238. package/dist/components/mds-notification.js +1 -1
  239. package/dist/components/mds-paginator-item2.js +1 -1
  240. package/dist/components/mds-paginator.js +1 -1
  241. package/dist/components/mds-pref-animation.js +1 -1
  242. package/dist/components/mds-pref-consumption.js +1 -1
  243. package/dist/components/mds-pref-contrast.js +1 -1
  244. package/dist/components/mds-pref-language.js +1 -1
  245. package/dist/components/mds-pref-theme.js +1 -1
  246. package/dist/components/mds-price-table-features-cell.js +1 -1
  247. package/dist/components/mds-price-table-features-row.js +1 -1
  248. package/dist/components/mds-price-table-features.js +1 -1
  249. package/dist/components/mds-price-table-list-item.js +1 -1
  250. package/dist/components/mds-price-table-list.js +1 -1
  251. package/dist/components/mds-progress2.js +1 -1
  252. package/dist/components/mds-push-notification.js +1 -1
  253. package/dist/components/mds-quote.js +1 -1
  254. package/dist/components/mds-separator2.js +1 -1
  255. package/dist/components/mds-spinner2.js +13 -3
  256. package/dist/components/mds-stepper-bar-item.js +1 -1
  257. package/dist/components/mds-stepper-bar.js +1 -1
  258. package/dist/components/mds-tab-bar-item.js +1 -1
  259. package/dist/components/mds-tab-bar.js +1 -1
  260. package/dist/components/mds-tab-item2.js +1 -1
  261. package/dist/components/mds-tab2.js +6 -4
  262. package/dist/components/mds-table-body.js +1 -1
  263. package/dist/components/mds-table-cell2.js +1 -1
  264. package/dist/components/mds-table-footer.js +1 -1
  265. package/dist/components/mds-table-header-cell2.js +1 -1
  266. package/dist/components/mds-table-header.js +1 -1
  267. package/dist/components/mds-table-row.js +1 -1
  268. package/dist/components/mds-table.js +1 -1
  269. package/dist/components/mds-text2.js +1 -1
  270. package/dist/components/mds-toast.js +1 -1
  271. package/dist/components/mds-tooltip2.js +1 -1
  272. package/dist/components/mds-tree-item.js +2 -2
  273. package/dist/components/mds-url-view.js +2 -2
  274. package/dist/components/mds-usage.js +2 -2
  275. package/dist/components/mds-video-wall.js +4 -4
  276. package/dist/components/mds-zero.js +2 -2
  277. package/dist/documentation.json +50 -5
  278. package/dist/esm/{index-ca5b2d32.js → index-096df1f7.js} +270 -165
  279. package/dist/esm/loader.js +3 -3
  280. package/dist/esm/magma-components.js +4 -4
  281. package/dist/esm/mds-accordion-item.entry.js +2 -2
  282. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  283. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  284. package/dist/esm/mds-accordion.entry.js +2 -2
  285. package/dist/esm/mds-author.entry.js +2 -2
  286. package/dist/esm/mds-avatar.entry.js +2 -2
  287. package/dist/esm/mds-badge.entry.js +2 -2
  288. package/dist/esm/mds-banner.entry.js +2 -2
  289. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  290. package/dist/esm/mds-bibliography.entry.js +2 -2
  291. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  292. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  293. package/dist/esm/mds-button_3.entry.js +13 -5
  294. package/dist/esm/mds-card-content.entry.js +1 -1
  295. package/dist/esm/mds-card-footer.entry.js +1 -1
  296. package/dist/esm/mds-card-header.entry.js +1 -1
  297. package/dist/esm/mds-card-media.entry.js +1 -1
  298. package/dist/esm/mds-card.entry.js +3 -3
  299. package/dist/esm/mds-chip.entry.js +2 -2
  300. package/dist/esm/mds-details.entry.js +2 -2
  301. package/dist/esm/mds-dropdown.entry.js +2 -2
  302. package/dist/esm/mds-entity.entry.js +2 -2
  303. package/dist/esm/mds-file-preview.entry.js +2 -2
  304. package/dist/esm/mds-file.entry.js +2 -2
  305. package/dist/esm/mds-filter-item.entry.js +2 -2
  306. package/dist/esm/mds-filter.entry.js +2 -2
  307. package/dist/esm/mds-header-bar.entry.js +2 -2
  308. package/dist/esm/mds-header.entry.js +2 -2
  309. package/dist/esm/mds-help.entry.js +2 -2
  310. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  311. package/dist/esm/mds-hr.entry.js +2 -2
  312. package/dist/esm/mds-img.entry.js +2 -2
  313. package/dist/esm/mds-input-field.entry.js +2 -2
  314. package/dist/esm/mds-input-range.entry.js +2 -2
  315. package/dist/esm/mds-input-select.entry.js +2 -2
  316. package/dist/esm/mds-input-switch_2.entry.js +22 -6
  317. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  318. package/dist/esm/mds-input-upload.entry.js +2 -2
  319. package/dist/esm/mds-input.entry.js +2 -2
  320. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  321. package/dist/esm/mds-keyboard.entry.js +2 -2
  322. package/dist/esm/mds-kpi-item.entry.js +2 -2
  323. package/dist/esm/mds-kpi.entry.js +1 -1
  324. package/dist/esm/mds-label.entry.js +2 -2
  325. package/dist/esm/mds-list-item.entry.js +2 -2
  326. package/dist/esm/mds-list.entry.js +1 -1
  327. package/dist/esm/mds-modal.entry.js +2 -2
  328. package/dist/esm/mds-note.entry.js +2 -2
  329. package/dist/esm/mds-notification.entry.js +2 -2
  330. package/dist/esm/mds-paginator-item.entry.js +2 -2
  331. package/dist/esm/mds-paginator.entry.js +2 -2
  332. package/dist/esm/mds-pref-animation.entry.js +2 -2
  333. package/dist/esm/mds-pref-consumption.entry.js +2 -2
  334. package/dist/esm/mds-pref-contrast.entry.js +2 -2
  335. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  336. package/dist/esm/mds-pref-language.entry.js +2 -2
  337. package/dist/esm/mds-pref-theme.entry.js +2 -2
  338. package/dist/esm/mds-pref.entry.js +1 -1
  339. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  340. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  341. package/dist/esm/mds-price-table-features.entry.js +2 -2
  342. package/dist/esm/mds-price-table-header.entry.js +1 -1
  343. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  344. package/dist/esm/mds-price-table-list.entry.js +2 -2
  345. package/dist/esm/mds-price-table.entry.js +1 -1
  346. package/dist/esm/mds-progress.entry.js +2 -2
  347. package/dist/esm/mds-push-notification.entry.js +2 -2
  348. package/dist/esm/mds-push-notifications.entry.js +1 -1
  349. package/dist/esm/mds-quote.entry.js +2 -2
  350. package/dist/esm/mds-separator.entry.js +2 -2
  351. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  352. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  353. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  354. package/dist/esm/mds-tab-bar.entry.js +2 -2
  355. package/dist/esm/mds-tab_2.entry.js +8 -6
  356. package/dist/esm/mds-table-body.entry.js +2 -2
  357. package/dist/esm/mds-table-footer.entry.js +2 -2
  358. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  359. package/dist/esm/mds-table-header.entry.js +2 -2
  360. package/dist/esm/mds-table-row.entry.js +2 -2
  361. package/dist/esm/mds-table.entry.js +2 -2
  362. package/dist/esm/mds-text.entry.js +2 -2
  363. package/dist/esm/mds-toast.entry.js +2 -2
  364. package/dist/esm/mds-tooltip.entry.js +2 -2
  365. package/dist/esm/mds-tree-item.entry.js +3 -3
  366. package/dist/esm/mds-tree.entry.js +1 -1
  367. package/dist/esm/mds-url-view.entry.js +3 -3
  368. package/dist/esm/mds-usage.entry.js +3 -3
  369. package/dist/esm/mds-video-wall.entry.js +5 -5
  370. package/dist/esm/mds-zero.entry.js +3 -3
  371. package/dist/esm-es5/index-096df1f7.js +1 -0
  372. package/dist/esm-es5/loader.js +1 -1
  373. package/dist/esm-es5/magma-components.js +1 -1
  374. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  375. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  376. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  377. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  378. package/dist/esm-es5/mds-author.entry.js +1 -1
  379. package/dist/esm-es5/mds-avatar.entry.js +1 -1
  380. package/dist/esm-es5/mds-badge.entry.js +1 -1
  381. package/dist/esm-es5/mds-banner.entry.js +1 -1
  382. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  383. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  384. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  385. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  386. package/dist/esm-es5/mds-button_3.entry.js +1 -1
  387. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  388. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  389. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  390. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  391. package/dist/esm-es5/mds-card.entry.js +1 -1
  392. package/dist/esm-es5/mds-chip.entry.js +1 -1
  393. package/dist/esm-es5/mds-details.entry.js +1 -1
  394. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  395. package/dist/esm-es5/mds-entity.entry.js +1 -1
  396. package/dist/esm-es5/mds-file-preview.entry.js +2 -2
  397. package/dist/esm-es5/mds-file.entry.js +3 -3
  398. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  399. package/dist/esm-es5/mds-filter.entry.js +1 -1
  400. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  401. package/dist/esm-es5/mds-header.entry.js +1 -1
  402. package/dist/esm-es5/mds-help.entry.js +1 -1
  403. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  404. package/dist/esm-es5/mds-hr.entry.js +1 -1
  405. package/dist/esm-es5/mds-img.entry.js +1 -1
  406. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  407. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  408. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  409. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  410. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  411. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  412. package/dist/esm-es5/mds-input.entry.js +1 -1
  413. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  414. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  415. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  416. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  417. package/dist/esm-es5/mds-label.entry.js +1 -1
  418. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  419. package/dist/esm-es5/mds-list.entry.js +1 -1
  420. package/dist/esm-es5/mds-modal.entry.js +1 -1
  421. package/dist/esm-es5/mds-note.entry.js +1 -1
  422. package/dist/esm-es5/mds-notification.entry.js +1 -1
  423. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  424. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  425. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  426. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  427. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  428. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  429. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  430. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  431. package/dist/esm-es5/mds-pref.entry.js +1 -1
  432. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  433. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  434. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  435. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  436. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  437. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  438. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  439. package/dist/esm-es5/mds-progress.entry.js +1 -1
  440. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  441. package/dist/esm-es5/mds-push-notifications.entry.js +1 -1
  442. package/dist/esm-es5/mds-quote.entry.js +1 -1
  443. package/dist/esm-es5/mds-separator.entry.js +1 -1
  444. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  445. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  446. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  447. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  448. package/dist/esm-es5/mds-tab_2.entry.js +1 -1
  449. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  450. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  451. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  452. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  453. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  454. package/dist/esm-es5/mds-table.entry.js +1 -1
  455. package/dist/esm-es5/mds-text.entry.js +1 -1
  456. package/dist/esm-es5/mds-toast.entry.js +1 -1
  457. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  458. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  459. package/dist/esm-es5/mds-tree.entry.js +1 -1
  460. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  461. package/dist/esm-es5/mds-usage.entry.js +1 -1
  462. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  463. package/dist/esm-es5/mds-zero.entry.js +1 -1
  464. package/dist/hydrate/index.d.ts +22 -5
  465. package/dist/hydrate/index.js +976 -435
  466. package/dist/hydrate/index.mjs +976 -435
  467. package/dist/magma-components/magma-components.esm.js +1 -1
  468. package/dist/magma-components/magma-components.js +1 -1
  469. package/dist/magma-components/p-01c1b80d.entry.js +1 -0
  470. package/dist/magma-components/p-0348b810.entry.js +1 -0
  471. package/dist/magma-components/{p-d28edb8b.system.entry.js → p-055869e8.system.entry.js} +1 -1
  472. package/dist/magma-components/p-05a8bc29.entry.js +1 -0
  473. package/dist/magma-components/{p-7254e4c1.system.entry.js → p-05bd618c.system.entry.js} +1 -1
  474. package/dist/magma-components/p-07be22b9.system.entry.js +1 -0
  475. package/dist/magma-components/p-08599ccd.system.entry.js +1 -0
  476. package/dist/magma-components/p-088d9de7.system.entry.js +1 -0
  477. package/dist/magma-components/p-0c87cbc2.js +2 -0
  478. package/dist/magma-components/p-0c9098b4.entry.js +1 -0
  479. package/dist/magma-components/p-0cba33b3.entry.js +1 -0
  480. package/dist/magma-components/p-0cd243e5.system.entry.js +1 -0
  481. package/dist/magma-components/{p-690d2b61.system.entry.js → p-0e585001.system.entry.js} +1 -1
  482. package/dist/magma-components/{p-faa9a038.system.entry.js → p-0eca572f.system.entry.js} +1 -1
  483. package/dist/magma-components/p-131e109a.system.entry.js +1 -0
  484. package/dist/magma-components/p-14a416a7.system.entry.js +1 -0
  485. package/dist/magma-components/p-15db15a2.system.entry.js +1 -0
  486. package/dist/magma-components/p-16e0f6d0.system.entry.js +1 -0
  487. package/dist/magma-components/p-196d960f.system.entry.js +1 -0
  488. package/dist/magma-components/p-1a569638.system.entry.js +1 -0
  489. package/dist/magma-components/p-1aac9ed0.entry.js +1 -0
  490. package/dist/magma-components/p-1c06f27d.entry.js +1 -0
  491. package/dist/magma-components/p-1d8c8ee9.system.entry.js +1 -0
  492. package/dist/magma-components/p-1e13c5f3.system.entry.js +1 -0
  493. package/dist/magma-components/p-2041aa90.entry.js +1 -0
  494. package/dist/magma-components/p-242baecb.system.entry.js +1 -0
  495. package/dist/magma-components/p-2626b76f.entry.js +1 -0
  496. package/dist/magma-components/p-274ca444.system.entry.js +1 -0
  497. package/dist/magma-components/p-2a08a663.system.entry.js +1 -0
  498. package/dist/magma-components/p-2a1f1bc3.entry.js +1 -0
  499. package/dist/magma-components/p-305f85ed.system.entry.js +1 -0
  500. package/dist/magma-components/p-3334ed9d.system.entry.js +1 -0
  501. package/dist/magma-components/p-33c48614.system.entry.js +9 -0
  502. package/dist/magma-components/p-35c5541e.system.entry.js +1 -0
  503. package/dist/magma-components/p-38e02869.entry.js +1 -0
  504. package/dist/magma-components/p-39162bcb.system.entry.js +1 -0
  505. package/dist/magma-components/p-3a68743a.entry.js +1 -0
  506. package/dist/magma-components/p-3b4634ed.system.entry.js +1 -0
  507. package/dist/magma-components/p-3b909d4e.entry.js +1 -0
  508. package/dist/magma-components/p-3c2dec67.entry.js +1 -0
  509. package/dist/magma-components/p-3cb700f5.entry.js +1 -0
  510. package/dist/magma-components/p-3d90fb9f.entry.js +1 -0
  511. package/dist/magma-components/{p-c8c00bf3.entry.js → p-41b21f95.entry.js} +1 -1
  512. package/dist/magma-components/p-437ab797.entry.js +1 -0
  513. package/dist/magma-components/p-44bf7140.system.entry.js +1 -0
  514. package/dist/magma-components/p-47e4da50.entry.js +1 -0
  515. package/dist/magma-components/p-4aa6e80d.entry.js +1 -0
  516. package/dist/magma-components/{p-d026627a.entry.js → p-4b4d1929.entry.js} +1 -1
  517. package/dist/magma-components/p-4c2da3f6.entry.js +1 -0
  518. package/dist/magma-components/p-4c522ba5.entry.js +1 -0
  519. package/dist/magma-components/p-4f118ca1.entry.js +1 -0
  520. package/dist/magma-components/p-52cdf2fb.system.entry.js +1 -0
  521. package/dist/magma-components/{p-f795c137.entry.js → p-52e7a80d.entry.js} +1 -1
  522. package/dist/magma-components/p-53b3777e.entry.js +1 -0
  523. package/dist/magma-components/{p-a078a8d4.system.entry.js → p-54c6e254.system.entry.js} +1 -1
  524. package/dist/magma-components/p-56194e40.system.entry.js +1 -0
  525. package/dist/magma-components/p-56554d58.system.entry.js +1 -0
  526. package/dist/magma-components/p-575ca0e2.system.entry.js +1 -0
  527. package/dist/magma-components/p-5835dcba.entry.js +1 -0
  528. package/dist/magma-components/p-5981a837.system.entry.js +1 -0
  529. package/dist/magma-components/{p-58233d62.entry.js → p-59ca8073.entry.js} +1 -1
  530. package/dist/magma-components/p-5a24b83a.system.entry.js +1 -0
  531. package/dist/magma-components/p-5c6c3258.entry.js +1 -0
  532. package/dist/magma-components/p-5d19ae2b.entry.js +1 -0
  533. package/dist/magma-components/p-5faad9ce.system.entry.js +1 -0
  534. package/dist/magma-components/p-61ad7e64.entry.js +1 -0
  535. package/dist/magma-components/{p-0cdb12f0.entry.js → p-622d4df1.entry.js} +1 -1
  536. package/dist/magma-components/p-630dba01.system.entry.js +1 -0
  537. package/dist/magma-components/p-6a663d47.entry.js +1 -0
  538. package/dist/magma-components/p-6b70996c.entry.js +1 -0
  539. package/dist/magma-components/p-6ba32ff9.entry.js +1 -0
  540. package/dist/magma-components/p-6cfa8878.entry.js +1 -0
  541. package/dist/magma-components/p-6d091a45.system.entry.js +1 -0
  542. package/dist/magma-components/p-6e56aab6.entry.js +1 -0
  543. package/dist/magma-components/{p-eb92ca6d.entry.js → p-7103d580.entry.js} +1 -1
  544. package/dist/magma-components/p-71c08d04.system.entry.js +1 -0
  545. package/dist/magma-components/p-72140354.entry.js +1 -0
  546. package/dist/magma-components/p-731562a2.system.entry.js +1 -0
  547. package/dist/magma-components/p-73f7c30d.entry.js +1 -0
  548. package/dist/magma-components/p-740de613.entry.js +1 -0
  549. package/dist/magma-components/p-748250d0.system.entry.js +1 -0
  550. package/dist/magma-components/p-77f4d22a.system.entry.js +1 -0
  551. package/dist/magma-components/p-7a7edf57.system.entry.js +1 -0
  552. package/dist/magma-components/p-7d07558a.system.entry.js +1 -0
  553. package/dist/magma-components/{p-ff50de38.entry.js → p-7ecb0659.entry.js} +1 -1
  554. package/dist/magma-components/p-80a4616c.system.entry.js +1 -0
  555. package/dist/magma-components/p-80ab7da4.entry.js +1 -0
  556. package/dist/magma-components/p-81501ac1.system.entry.js +1 -0
  557. package/dist/magma-components/p-82274dc1.system.entry.js +1 -0
  558. package/dist/magma-components/p-840fc251.system.entry.js +18 -0
  559. package/dist/magma-components/p-852a1615.entry.js +1 -0
  560. package/dist/magma-components/p-858bdcb1.system.entry.js +1 -0
  561. package/dist/magma-components/p-859f2191.system.entry.js +1 -0
  562. package/dist/magma-components/p-8632e8ae.system.entry.js +1 -0
  563. package/dist/magma-components/p-87538445.entry.js +1 -0
  564. package/dist/magma-components/p-89010816.system.entry.js +1 -0
  565. package/dist/magma-components/{p-05c441ae.entry.js → p-8975b440.entry.js} +1 -1
  566. package/dist/magma-components/{p-6178fdd7.system.entry.js → p-8acc0182.system.entry.js} +1 -1
  567. package/dist/magma-components/p-8dd62a9f.entry.js +1 -0
  568. package/dist/magma-components/{p-0f467d18.entry.js → p-8f956f40.system.entry.js} +1 -1
  569. package/dist/magma-components/p-9045c8d9.system.entry.js +1 -0
  570. package/dist/magma-components/p-90a48202.entry.js +1 -0
  571. package/dist/magma-components/p-91c0fb58.system.entry.js +1 -0
  572. package/dist/magma-components/{p-7eebe157.system.entry.js → p-9319d55a.system.entry.js} +1 -1
  573. package/dist/magma-components/p-93817b74.entry.js +1 -0
  574. package/dist/magma-components/p-93b8ea27.system.entry.js +1 -0
  575. package/dist/magma-components/{p-c5c1104b.system.entry.js → p-94c73b6b.system.entry.js} +1 -1
  576. package/dist/magma-components/p-95ab80f9.entry.js +1 -0
  577. package/dist/magma-components/{p-1d1f1518.entry.js → p-95d98449.entry.js} +1 -1
  578. package/dist/magma-components/p-97311613.entry.js +1 -0
  579. package/dist/magma-components/p-9a36c1d0.system.entry.js +1 -0
  580. package/dist/magma-components/p-9bae51a5.system.entry.js +1 -0
  581. package/dist/magma-components/p-9cab774b.system.js +1 -0
  582. package/dist/magma-components/p-9d240644.entry.js +1 -0
  583. package/dist/magma-components/p-a245583a.entry.js +18 -0
  584. package/dist/magma-components/p-a2941a45.entry.js +1 -0
  585. package/dist/magma-components/p-a394454a.entry.js +1 -0
  586. package/dist/magma-components/p-a66c9041.entry.js +1 -0
  587. package/dist/magma-components/p-a7b2beba.entry.js +1 -0
  588. package/dist/magma-components/{p-9716fb92.system.entry.js → p-ab448b58.system.entry.js} +1 -1
  589. package/dist/magma-components/p-aeee2ae7.entry.js +1 -0
  590. package/dist/magma-components/p-af1e89c8.entry.js +1 -0
  591. package/dist/magma-components/{p-3c480fe8.system.entry.js → p-b2677420.system.entry.js} +1 -1
  592. package/dist/magma-components/p-b39ed647.entry.js +1 -0
  593. package/dist/magma-components/p-b3fd7c43.entry.js +1 -0
  594. package/dist/magma-components/{p-a33f1fe7.system.entry.js → p-b52b5193.system.entry.js} +1 -1
  595. package/dist/magma-components/p-b5eda482.system.entry.js +1 -0
  596. package/dist/magma-components/p-bd0a23b6.system.entry.js +1 -0
  597. package/dist/magma-components/p-c1343e1d.system.entry.js +1 -0
  598. package/dist/magma-components/p-c62c8ffb.system.entry.js +1 -0
  599. package/dist/magma-components/p-c6a32e33.entry.js +1 -0
  600. package/dist/magma-components/p-c73f019e.entry.js +1 -0
  601. package/dist/magma-components/p-c76c4385.system.js +2 -0
  602. package/dist/magma-components/p-c9724199.system.entry.js +1 -0
  603. package/dist/magma-components/p-c97802f8.entry.js +1 -0
  604. package/dist/magma-components/{p-3593ec63.system.entry.js → p-ca675a7c.system.entry.js} +1 -1
  605. package/dist/magma-components/p-caefcbe1.system.entry.js +1 -0
  606. package/dist/magma-components/p-cd554f70.system.entry.js +1 -0
  607. package/dist/magma-components/p-cd6c7c3c.system.entry.js +1 -0
  608. package/dist/magma-components/{p-f1282576.entry.js → p-cee52013.system.entry.js} +1 -1
  609. package/dist/magma-components/p-cef00082.system.entry.js +1 -0
  610. package/dist/magma-components/p-d2a7bd4b.entry.js +1 -0
  611. package/dist/magma-components/p-d318711b.entry.js +1 -0
  612. package/dist/magma-components/{p-cab1d6cf.system.entry.js → p-d360bfa6.system.entry.js} +1 -1
  613. package/dist/magma-components/p-d6348683.system.entry.js +1 -0
  614. package/dist/magma-components/p-d669bfc1.system.entry.js +1 -0
  615. package/dist/magma-components/p-d922abbf.system.entry.js +1 -0
  616. package/dist/magma-components/p-d950c1f2.entry.js +1 -0
  617. package/dist/magma-components/p-da86019b.system.entry.js +1 -0
  618. package/dist/magma-components/p-dad0aba1.entry.js +1 -0
  619. package/dist/magma-components/{p-4e006d22.system.entry.js → p-db350f54.system.entry.js} +1 -1
  620. package/dist/magma-components/p-dc386398.system.entry.js +1 -0
  621. package/dist/magma-components/p-dce80779.entry.js +1 -0
  622. package/dist/magma-components/p-dd9788f1.system.entry.js +1 -0
  623. package/dist/magma-components/p-e065cb90.system.entry.js +1 -0
  624. package/dist/magma-components/p-e2ba951c.entry.js +1 -0
  625. package/dist/magma-components/p-e36ace29.entry.js +1 -0
  626. package/dist/magma-components/p-e455fb11.entry.js +1 -0
  627. package/dist/magma-components/{p-8b83adc9.system.entry.js → p-e4d452b4.system.entry.js} +1 -1
  628. package/dist/magma-components/{p-61e4615c.system.entry.js → p-e4df2069.entry.js} +1 -1
  629. package/dist/magma-components/p-e4ef9ebb.system.entry.js +1 -0
  630. package/dist/magma-components/{p-0ffeb9ea.system.entry.js → p-e62e3d70.system.entry.js} +1 -1
  631. package/dist/magma-components/p-e62f44f7.entry.js +1 -0
  632. package/dist/magma-components/{p-e49b97cc.entry.js → p-e770b53e.entry.js} +1 -1
  633. package/dist/magma-components/p-e7b96a75.entry.js +1 -0
  634. package/dist/magma-components/p-eb7055b5.system.entry.js +1 -0
  635. package/dist/magma-components/p-ed66979b.system.entry.js +1 -0
  636. package/dist/magma-components/{p-084416ca.entry.js → p-edc849d7.entry.js} +1 -1
  637. package/dist/magma-components/p-f30fdf93.entry.js +1 -0
  638. package/dist/magma-components/p-f49d23b5.entry.js +8 -0
  639. package/dist/magma-components/p-f4c5634e.system.entry.js +1 -0
  640. package/dist/magma-components/{p-4bda615f.entry.js → p-f53abc3e.entry.js} +1 -1
  641. package/dist/magma-components/{p-582a1418.entry.js → p-f63f4d1e.entry.js} +1 -1
  642. package/dist/magma-components/p-f709fc0a.entry.js +1 -0
  643. package/dist/magma-components/{p-9c3cb410.entry.js → p-f772b7e0.entry.js} +1 -1
  644. package/dist/magma-components/{p-6f27d156.entry.js → p-f784ee3c.entry.js} +1 -1
  645. package/dist/magma-components/{p-78d697d0.system.entry.js → p-f8be4a88.system.entry.js} +1 -1
  646. package/dist/magma-components/p-fc6889b2.entry.js +1 -0
  647. package/dist/magma-components/p-fd0bc09b.entry.js +1 -0
  648. package/dist/magma-components/p-fd387fb0.entry.js +1 -0
  649. package/dist/magma-components/p-fe7dd794.entry.js +1 -0
  650. package/dist/magma-components/{p-37f1bf7a.entry.js → p-fedd1743.entry.js} +1 -1
  651. package/dist/magma-components/p-ffbcf424.system.entry.js +1 -0
  652. package/dist/stats.json +1749 -1758
  653. package/dist/types/components/mds-card/mds-card.d.ts +14 -5
  654. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +5 -3
  655. package/dist/types/components/mds-spinner/mds-spinner.d.ts +2 -1
  656. package/dist/types/components.d.ts +40 -0
  657. package/package.json +5 -4
  658. package/dist/esm-es5/index-ca5b2d32.js +0 -1
  659. package/dist/magma-components/p-002bd1c2.system.entry.js +0 -1
  660. package/dist/magma-components/p-017a0f65.js +0 -2
  661. package/dist/magma-components/p-01d52d7c.system.entry.js +0 -1
  662. package/dist/magma-components/p-038b2c64.entry.js +0 -1
  663. package/dist/magma-components/p-05b69f15.system.entry.js +0 -1
  664. package/dist/magma-components/p-07c859bc.entry.js +0 -1
  665. package/dist/magma-components/p-0c72b82c.system.entry.js +0 -1
  666. package/dist/magma-components/p-0d052168.entry.js +0 -1
  667. package/dist/magma-components/p-0dc1c247.system.entry.js +0 -1
  668. package/dist/magma-components/p-0e0c7e8a.entry.js +0 -1
  669. package/dist/magma-components/p-0ec6f425.entry.js +0 -1
  670. package/dist/magma-components/p-0f364e73.entry.js +0 -1
  671. package/dist/magma-components/p-0f6b77ce.system.entry.js +0 -1
  672. package/dist/magma-components/p-0fcde47c.system.entry.js +0 -1
  673. package/dist/magma-components/p-13d58914.system.entry.js +0 -1
  674. package/dist/magma-components/p-1408ac8e.system.entry.js +0 -1
  675. package/dist/magma-components/p-17096d22.system.entry.js +0 -1
  676. package/dist/magma-components/p-19ea59c2.entry.js +0 -1
  677. package/dist/magma-components/p-1ae79df8.system.entry.js +0 -1
  678. package/dist/magma-components/p-1b1ebf77.system.entry.js +0 -1
  679. package/dist/magma-components/p-1c37c5ff.entry.js +0 -1
  680. package/dist/magma-components/p-1cb992c4.system.js +0 -2
  681. package/dist/magma-components/p-1d47ea4c.entry.js +0 -1
  682. package/dist/magma-components/p-227c5f25.entry.js +0 -1
  683. package/dist/magma-components/p-22d6c002.entry.js +0 -1
  684. package/dist/magma-components/p-25dc7f3b.system.entry.js +0 -1
  685. package/dist/magma-components/p-26ea6d65.system.entry.js +0 -1
  686. package/dist/magma-components/p-2d0041fb.entry.js +0 -1
  687. package/dist/magma-components/p-2d5afcc3.system.entry.js +0 -1
  688. package/dist/magma-components/p-32630a6b.system.entry.js +0 -1
  689. package/dist/magma-components/p-343453de.entry.js +0 -1
  690. package/dist/magma-components/p-3520e60d.entry.js +0 -1
  691. package/dist/magma-components/p-3907518f.entry.js +0 -1
  692. package/dist/magma-components/p-393b1dd5.entry.js +0 -1
  693. package/dist/magma-components/p-393d89ac.system.entry.js +0 -1
  694. package/dist/magma-components/p-3971b21f.entry.js +0 -1
  695. package/dist/magma-components/p-3ad3c0e5.entry.js +0 -1
  696. package/dist/magma-components/p-3ae486bd.entry.js +0 -1
  697. package/dist/magma-components/p-3bffe6eb.entry.js +0 -1
  698. package/dist/magma-components/p-3de9ee5a.entry.js +0 -1
  699. package/dist/magma-components/p-3ea1f3d5.entry.js +0 -1
  700. package/dist/magma-components/p-3edd15ee.entry.js +0 -1
  701. package/dist/magma-components/p-41cbe355.system.entry.js +0 -1
  702. package/dist/magma-components/p-423d4e89.system.entry.js +0 -1
  703. package/dist/magma-components/p-43fd11fb.system.entry.js +0 -1
  704. package/dist/magma-components/p-445d5eba.entry.js +0 -1
  705. package/dist/magma-components/p-44ff6f5f.entry.js +0 -1
  706. package/dist/magma-components/p-47f620f7.system.entry.js +0 -1
  707. package/dist/magma-components/p-4b14f497.entry.js +0 -1
  708. package/dist/magma-components/p-4c89eddb.system.entry.js +0 -1
  709. package/dist/magma-components/p-4ca535f8.entry.js +0 -1
  710. package/dist/magma-components/p-4cdc6056.system.entry.js +0 -1
  711. package/dist/magma-components/p-4e9bb389.system.entry.js +0 -1
  712. package/dist/magma-components/p-4fcbaadd.system.entry.js +0 -1
  713. package/dist/magma-components/p-5235954d.system.entry.js +0 -1
  714. package/dist/magma-components/p-526ce00c.system.entry.js +0 -1
  715. package/dist/magma-components/p-58771d15.entry.js +0 -1
  716. package/dist/magma-components/p-5abb2b3a.system.entry.js +0 -1
  717. package/dist/magma-components/p-5c10d9b3.entry.js +0 -1
  718. package/dist/magma-components/p-5e3f4417.system.entry.js +0 -1
  719. package/dist/magma-components/p-601ce45e.entry.js +0 -1
  720. package/dist/magma-components/p-6100280c.entry.js +0 -1
  721. package/dist/magma-components/p-63486c31.entry.js +0 -1
  722. package/dist/magma-components/p-646e518c.entry.js +0 -1
  723. package/dist/magma-components/p-64908221.entry.js +0 -1
  724. package/dist/magma-components/p-64f00236.system.entry.js +0 -1
  725. package/dist/magma-components/p-662655cf.entry.js +0 -1
  726. package/dist/magma-components/p-6aafce79.entry.js +0 -1
  727. package/dist/magma-components/p-6bd7f4dc.system.js +0 -1
  728. package/dist/magma-components/p-6cc3a72b.system.entry.js +0 -1
  729. package/dist/magma-components/p-6d774677.entry.js +0 -1
  730. package/dist/magma-components/p-726f55f4.system.entry.js +0 -1
  731. package/dist/magma-components/p-733ab9a2.system.entry.js +0 -1
  732. package/dist/magma-components/p-73e8c16a.entry.js +0 -1
  733. package/dist/magma-components/p-74a8916b.system.entry.js +0 -1
  734. package/dist/magma-components/p-75a88b97.system.entry.js +0 -1
  735. package/dist/magma-components/p-78e647be.entry.js +0 -1
  736. package/dist/magma-components/p-79ad327a.entry.js +0 -1
  737. package/dist/magma-components/p-7f974a2f.entry.js +0 -1
  738. package/dist/magma-components/p-82606c1e.system.entry.js +0 -1
  739. package/dist/magma-components/p-84e9e451.entry.js +0 -1
  740. package/dist/magma-components/p-85a71539.system.entry.js +0 -1
  741. package/dist/magma-components/p-85c21c1a.system.entry.js +0 -1
  742. package/dist/magma-components/p-87f5560f.system.entry.js +0 -1
  743. package/dist/magma-components/p-88265631.entry.js +0 -1
  744. package/dist/magma-components/p-8cfee0b2.system.entry.js +0 -1
  745. package/dist/magma-components/p-8d8ea029.system.entry.js +0 -1
  746. package/dist/magma-components/p-8db6f119.system.entry.js +0 -1
  747. package/dist/magma-components/p-8efee8a5.system.entry.js +0 -1
  748. package/dist/magma-components/p-90b339db.system.entry.js +0 -18
  749. package/dist/magma-components/p-91a59954.system.entry.js +0 -1
  750. package/dist/magma-components/p-932424b7.system.entry.js +0 -1
  751. package/dist/magma-components/p-94077151.entry.js +0 -1
  752. package/dist/magma-components/p-98ad39f9.entry.js +0 -1
  753. package/dist/magma-components/p-9ca71cc0.entry.js +0 -1
  754. package/dist/magma-components/p-9d05bfe0.system.entry.js +0 -1
  755. package/dist/magma-components/p-9dac50d0.system.entry.js +0 -1
  756. package/dist/magma-components/p-9f1c257d.entry.js +0 -1
  757. package/dist/magma-components/p-a0b49ad6.system.entry.js +0 -1
  758. package/dist/magma-components/p-a3946949.entry.js +0 -1
  759. package/dist/magma-components/p-a42d9f13.entry.js +0 -1
  760. package/dist/magma-components/p-a48e7d2c.system.entry.js +0 -1
  761. package/dist/magma-components/p-a58b8014.entry.js +0 -8
  762. package/dist/magma-components/p-a770f3db.entry.js +0 -1
  763. package/dist/magma-components/p-b2464766.entry.js +0 -1
  764. package/dist/magma-components/p-b2d2cb81.entry.js +0 -1
  765. package/dist/magma-components/p-b5e1f76e.system.entry.js +0 -1
  766. package/dist/magma-components/p-b60931bf.system.entry.js +0 -1
  767. package/dist/magma-components/p-b7d43cad.entry.js +0 -1
  768. package/dist/magma-components/p-bb99eee5.entry.js +0 -1
  769. package/dist/magma-components/p-bd24b234.entry.js +0 -1
  770. package/dist/magma-components/p-be11b10f.system.entry.js +0 -1
  771. package/dist/magma-components/p-c01ccabf.entry.js +0 -1
  772. package/dist/magma-components/p-c36ab07a.system.entry.js +0 -1
  773. package/dist/magma-components/p-c8412d81.entry.js +0 -1
  774. package/dist/magma-components/p-c86a11f0.system.entry.js +0 -1
  775. package/dist/magma-components/p-c8bc19ef.entry.js +0 -1
  776. package/dist/magma-components/p-c9c11657.entry.js +0 -1
  777. package/dist/magma-components/p-caa4042e.system.entry.js +0 -1
  778. package/dist/magma-components/p-ceb921da.entry.js +0 -1
  779. package/dist/magma-components/p-d14f07b7.entry.js +0 -1
  780. package/dist/magma-components/p-d2a1fc73.system.entry.js +0 -9
  781. package/dist/magma-components/p-d2b8e55a.entry.js +0 -1
  782. package/dist/magma-components/p-d3d33844.entry.js +0 -1
  783. package/dist/magma-components/p-d4a9e454.system.entry.js +0 -1
  784. package/dist/magma-components/p-d57c62d0.system.entry.js +0 -1
  785. package/dist/magma-components/p-dad4b6b8.system.entry.js +0 -1
  786. package/dist/magma-components/p-dcc2ea2a.system.entry.js +0 -1
  787. package/dist/magma-components/p-dd66a124.system.entry.js +0 -1
  788. package/dist/magma-components/p-ddeb6c6e.entry.js +0 -1
  789. package/dist/magma-components/p-dfb912eb.system.entry.js +0 -1
  790. package/dist/magma-components/p-e0b4dd68.system.entry.js +0 -1
  791. package/dist/magma-components/p-e5bc312d.entry.js +0 -1
  792. package/dist/magma-components/p-e677b6db.system.entry.js +0 -1
  793. package/dist/magma-components/p-e6e74de3.system.entry.js +0 -1
  794. package/dist/magma-components/p-ea9d6620.system.entry.js +0 -1
  795. package/dist/magma-components/p-ec9b3698.system.entry.js +0 -1
  796. package/dist/magma-components/p-ed0feaf6.entry.js +0 -1
  797. package/dist/magma-components/p-ee211b78.system.entry.js +0 -1
  798. package/dist/magma-components/p-ef05f047.system.entry.js +0 -1
  799. package/dist/magma-components/p-f55035e6.entry.js +0 -1
  800. package/dist/magma-components/p-f6251692.entry.js +0 -18
  801. package/dist/magma-components/p-f93aa809.system.entry.js +0 -1
  802. package/dist/magma-components/p-fa3a0e4b.entry.js +0 -1
  803. package/dist/magma-components/p-faf15156.entry.js +0 -1
  804. package/dist/magma-components/p-fcc9b82c.entry.js +0 -1
  805. package/dist/magma-components/p-fe1ff5f4.system.entry.js +0 -1
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'magma-components';
24
- const BUILD = /* magma-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* magma-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -33,10 +33,15 @@ var __export = (target, all) => {
33
33
  };
34
34
 
35
35
  // src/client/client-host-ref.ts
36
- var hostRefs = /* @__PURE__ */ new WeakMap();
37
- var getHostRef = (ref) => hostRefs.get(ref);
36
+ var getHostRef = (ref) => {
37
+ if (ref.__stencil__getHostRef) {
38
+ return ref.__stencil__getHostRef();
39
+ }
40
+ return void 0;
41
+ };
38
42
  var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
43
+ lazyInstance.__stencil__getHostRef = () => hostRef;
44
+ hostRef.$lazyInstance$ = lazyInstance;
40
45
  };
41
46
  var registerHost = (hostElement, cmpMeta) => {
42
47
  const hostRef = {
@@ -53,7 +58,8 @@ var registerHost = (hostElement, cmpMeta) => {
53
58
  hostElement["s-p"] = [];
54
59
  hostElement["s-rc"] = [];
55
60
  }
56
- const ref = hostRefs.set(hostElement, hostRef);
61
+ const ref = hostRef;
62
+ hostElement.__stencil__getHostRef = () => ref;
57
63
  return ref;
58
64
  };
59
65
  var isMemberInElement = (elm, memberName) => memberName in elm;
@@ -481,7 +487,6 @@ var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
481
487
  "formStateRestoreCallback"
482
488
  ];
483
489
  var win = typeof window !== "undefined" ? window : {};
484
- var doc = win.document || { head: {} };
485
490
  var plt = {
486
491
  $flags$: 0,
487
492
  $resourcesUrl$: "",
@@ -492,9 +497,10 @@ var plt = {
492
497
  ce: (eventName, opts) => new CustomEvent(eventName, opts)
493
498
  };
494
499
  var supportsListenerOptions = /* @__PURE__ */ (() => {
500
+ var _a;
495
501
  let supportsListenerOptions2 = false;
496
502
  try {
497
- doc.addEventListener(
503
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
498
504
  "e",
499
505
  null,
500
506
  Object.defineProperty({}, "passive", {
@@ -557,9 +563,9 @@ var isComplexType = (o) => {
557
563
  };
558
564
 
559
565
  // src/utils/query-nonce-meta-tag-content.ts
560
- function queryNonceMetaTagContent(doc2) {
566
+ function queryNonceMetaTagContent(doc) {
561
567
  var _a, _b, _c;
562
- return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
568
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
563
569
  }
564
570
 
565
571
  // src/utils/result.ts
@@ -610,38 +616,82 @@ var unwrapErr = (result) => {
610
616
  throw result.value;
611
617
  }
612
618
  };
619
+ var getSlottedChildNodes = (childNodes) => {
620
+ const result = [];
621
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
622
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
623
+ if (slottedNode && slottedNode.isConnected) {
624
+ result.push(slottedNode);
625
+ }
626
+ }
627
+ return result;
628
+ };
613
629
  var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
614
- let slottedNodeLocation;
615
630
  if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
616
- slottedNodeLocation = newChild["s-ol"];
617
- } else {
618
- slottedNodeLocation = document.createTextNode("");
619
- slottedNodeLocation["s-nr"] = newChild;
631
+ return;
620
632
  }
633
+ const slottedNodeLocation = document.createTextNode("");
634
+ slottedNodeLocation["s-nr"] = newChild;
621
635
  if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
622
636
  const parent = slotNode["s-cr"].parentNode;
623
- const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
637
+ const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
624
638
  if (typeof position !== "undefined") {
625
- {
626
- slottedNodeLocation["s-oo"] = position;
627
- const childNodes = parent.__childNodes || parent.childNodes;
628
- const slotRelocateNodes = [slottedNodeLocation];
629
- childNodes.forEach((n) => {
630
- if (n["s-nr"]) slotRelocateNodes.push(n);
631
- });
632
- slotRelocateNodes.sort((a, b) => {
633
- if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
634
- else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
635
- return 0;
636
- });
637
- slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
638
- }
639
+ slottedNodeLocation["s-oo"] = position;
640
+ const childNodes = internalCall(parent, "childNodes");
641
+ const slotRelocateNodes = [slottedNodeLocation];
642
+ childNodes.forEach((n) => {
643
+ if (n["s-nr"]) slotRelocateNodes.push(n);
644
+ });
645
+ slotRelocateNodes.sort((a, b) => {
646
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
647
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
648
+ return 0;
649
+ });
650
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
639
651
  } else {
640
652
  appendMethod.call(parent, slottedNodeLocation);
641
653
  }
642
654
  newChild["s-ol"] = slottedNodeLocation;
643
655
  newChild["s-sh"] = slotNode["s-hn"];
644
656
  };
657
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
658
+ function patchSlotNode(node) {
659
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
660
+ const assignedFactory = (elementsOnly) => (function(opts) {
661
+ const toReturn = [];
662
+ const slotName = this["s-sn"];
663
+ if (opts == null ? void 0 : opts.flatten) {
664
+ console.error(`
665
+ Flattening is not supported for Stencil non-shadow slots.
666
+ You can use \`.childNodes\` to nested slot fallback content.
667
+ If you have a particular use case, please open an issue on the Stencil repo.
668
+ `);
669
+ }
670
+ const parent = this["s-cr"].parentElement;
671
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
672
+ slottedNodes.forEach((n) => {
673
+ if (slotName === getSlotName(n)) {
674
+ toReturn.push(n);
675
+ }
676
+ });
677
+ if (elementsOnly) {
678
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
679
+ }
680
+ return toReturn;
681
+ }).bind(node);
682
+ node.assignedElements = assignedFactory(true);
683
+ node.assignedNodes = assignedFactory(false);
684
+ }
685
+ function internalCall(node, method) {
686
+ if ("__" + method in node) {
687
+ const toReturn = node["__" + method];
688
+ if (typeof toReturn !== "function") return toReturn;
689
+ return toReturn.bind(node);
690
+ } else {
691
+ if (typeof node[method] !== "function") return node[method];
692
+ return node[method].bind(node);
693
+ }
694
+ }
645
695
  var createTime = (fnName, tagName = "") => {
646
696
  {
647
697
  return () => {
@@ -768,8 +818,8 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
768
818
  const shadowRootNodes = shadowRoot ? [] : null;
769
819
  const vnode = newVNode(tagName, null);
770
820
  vnode.$elm$ = hostElm;
771
- if (!plt.$orgLocNodes$) {
772
- initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
821
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
822
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
773
823
  }
774
824
  hostElm[HYDRATE_ID] = hostId;
775
825
  hostElm.removeAttribute(HYDRATE_ID);
@@ -798,6 +848,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
798
848
  }
799
849
  }
800
850
  if (childRenderNode.$tag$ === "slot") {
851
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
801
852
  if (childRenderNode.$children$) {
802
853
  childRenderNode.$flags$ |= 2 /* isSlotFallback */;
803
854
  if (!childRenderNode.$elm$.childNodes.length) {
@@ -853,18 +904,25 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
853
904
  }
854
905
  }
855
906
  }
856
- if (shadowRoot) {
907
+ if (shadowRoot && !shadowRoot.childNodes.length) {
857
908
  let rnIdex = 0;
858
909
  const rnLen = shadowRootNodes.length;
859
- for (rnIdex; rnIdex < rnLen; rnIdex++) {
860
- shadowRoot.appendChild(shadowRootNodes[rnIdex]);
910
+ if (rnLen) {
911
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
912
+ shadowRoot.appendChild(shadowRootNodes[rnIdex]);
913
+ }
914
+ Array.from(hostElm.childNodes).forEach((node) => {
915
+ if (typeof node["s-sn"] !== "string") {
916
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
917
+ node.removeAttribute("hidden");
918
+ } else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
919
+ node.parentNode.removeChild(node);
920
+ }
921
+ }
922
+ });
861
923
  }
862
- Array.from(hostElm.childNodes).forEach((node) => {
863
- if (node.nodeType === 8 /* CommentNode */ && typeof node["s-sn"] !== "string") {
864
- node.parentNode.removeChild(node);
865
- }
866
- });
867
924
  }
925
+ plt.$orgLocNodes$.delete(hostElm["s-id"]);
868
926
  hostRef.$hostElement$ = hostElm;
869
927
  endHydrate();
870
928
  };
@@ -967,7 +1025,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
967
1025
  $text$: null
968
1026
  });
969
1027
  if (childNodeType === TEXT_NODE_ID) {
970
- childVNode.$elm$ = node.nextSibling;
1028
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
971
1029
  if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
972
1030
  childVNode.$text$ = childVNode.$elm$.textContent;
973
1031
  childRenderNodes.push(childVNode);
@@ -983,7 +1041,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
983
1041
  }
984
1042
  }
985
1043
  } else if (childNodeType === COMMENT_NODE_ID) {
986
- childVNode.$elm$ = node.nextSibling;
1044
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
987
1045
  if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
988
1046
  childRenderNodes.push(childVNode);
989
1047
  node.remove();
@@ -1014,6 +1072,10 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1014
1072
  vnode.$elm$ = node;
1015
1073
  vnode.$index$ = "0";
1016
1074
  parentVNode.$children$ = [vnode];
1075
+ } else {
1076
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1077
+ node.remove();
1078
+ }
1017
1079
  }
1018
1080
  return parentVNode;
1019
1081
  };
@@ -1064,8 +1126,8 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1064
1126
  childVNode.$name$ = slotName || null;
1065
1127
  childVNode.$tag$ = "slot";
1066
1128
  const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1067
- if (shadowRootNodes) {
1068
- const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
1129
+ if (shadowRootNodes && win.document) {
1130
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
1069
1131
  if (childVNode.$name$) {
1070
1132
  childVNode.$elm$.setAttribute("name", slotName);
1071
1133
  }
@@ -1083,6 +1145,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1083
1145
  const slot = childVNode.$elm$;
1084
1146
  const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1085
1147
  addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1148
+ patchSlotNode(node);
1086
1149
  if (shouldMove) {
1087
1150
  parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1088
1151
  }
@@ -1103,6 +1166,13 @@ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) =>
1103
1166
  slottedNode = slottedNode.nextSibling;
1104
1167
  }
1105
1168
  };
1169
+ var findCorrespondingNode = (node, type) => {
1170
+ let sibling = node;
1171
+ do {
1172
+ sibling = sibling.nextSibling;
1173
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
1174
+ return sibling;
1175
+ };
1106
1176
  var parsePropertyValue = (propValue, propType) => {
1107
1177
  if (propValue != null && !isComplexType(propValue)) {
1108
1178
  if (propType & 4 /* Boolean */) {
@@ -1158,7 +1228,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1158
1228
  var _a;
1159
1229
  const scopeId2 = getScopeId(cmpMeta);
1160
1230
  const style = styles.get(scopeId2);
1161
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
1231
+ if (!win.document) {
1232
+ return scopeId2;
1233
+ }
1234
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1162
1235
  if (style) {
1163
1236
  if (typeof style === "string") {
1164
1237
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -1171,9 +1244,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1171
1244
  if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1172
1245
  styleElm.innerHTML = style;
1173
1246
  } else {
1174
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
1247
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
1175
1248
  styleElm.innerHTML = style;
1176
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1249
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1177
1250
  if (nonce != null) {
1178
1251
  styleElm.setAttribute("nonce", nonce);
1179
1252
  }
@@ -1202,7 +1275,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1202
1275
  styleContainerNode.append(styleElm);
1203
1276
  }
1204
1277
  }
1205
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
1278
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1206
1279
  styleContainerNode.insertBefore(styleElm, null);
1207
1280
  }
1208
1281
  }
@@ -1227,108 +1300,120 @@ var attachStyles = (hostRef) => {
1227
1300
  const scopeId2 = addStyle(
1228
1301
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1229
1302
  cmpMeta);
1230
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
1303
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
1231
1304
  elm["s-sc"] = scopeId2;
1232
1305
  elm.classList.add(scopeId2 + "-h");
1233
1306
  }
1234
1307
  endAttachStyles();
1235
1308
  };
1236
1309
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1310
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1311
+ var hydrateScopedToShadow = () => {
1312
+ if (!win.document) {
1313
+ return;
1314
+ }
1315
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1316
+ let i2 = 0;
1317
+ for (; i2 < styles2.length; i2++) {
1318
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1319
+ }
1320
+ };
1237
1321
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1238
- if (oldValue !== newValue) {
1239
- let isProp = isMemberInElement(elm, memberName);
1240
- let ln = memberName.toLowerCase();
1241
- if (memberName === "class") {
1242
- const classList = elm.classList;
1243
- const oldClasses = parseClassList(oldValue);
1244
- let newClasses = parseClassList(newValue);
1245
- if (elm["s-si"] && initialRender) {
1246
- newClasses.push(elm["s-si"]);
1247
- oldClasses.forEach((c) => {
1248
- if (c.startsWith(elm["s-si"])) newClasses.push(c);
1249
- });
1250
- newClasses = [...new Set(newClasses)];
1251
- classList.add(...newClasses);
1252
- } else {
1253
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
1254
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
1255
- }
1256
- } else if (memberName === "style") {
1257
- {
1258
- for (const prop in oldValue) {
1259
- if (!newValue || newValue[prop] == null) {
1260
- if (prop.includes("-")) {
1261
- elm.style.removeProperty(prop);
1262
- } else {
1263
- elm.style[prop] = "";
1264
- }
1265
- }
1266
- }
1267
- }
1268
- for (const prop in newValue) {
1269
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
1322
+ if (oldValue === newValue) {
1323
+ return;
1324
+ }
1325
+ let isProp = isMemberInElement(elm, memberName);
1326
+ let ln = memberName.toLowerCase();
1327
+ if (memberName === "class") {
1328
+ const classList = elm.classList;
1329
+ const oldClasses = parseClassList(oldValue);
1330
+ let newClasses = parseClassList(newValue);
1331
+ if (elm["s-si"] && initialRender) {
1332
+ newClasses.push(elm["s-si"]);
1333
+ oldClasses.forEach((c) => {
1334
+ if (c.startsWith(elm["s-si"])) newClasses.push(c);
1335
+ });
1336
+ newClasses = [...new Set(newClasses)];
1337
+ classList.add(...newClasses);
1338
+ } else {
1339
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
1340
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
1341
+ }
1342
+ } else if (memberName === "style") {
1343
+ {
1344
+ for (const prop in oldValue) {
1345
+ if (!newValue || newValue[prop] == null) {
1270
1346
  if (prop.includes("-")) {
1271
- elm.style.setProperty(prop, newValue[prop]);
1347
+ elm.style.removeProperty(prop);
1272
1348
  } else {
1273
- elm.style[prop] = newValue[prop];
1349
+ elm.style[prop] = "";
1274
1350
  }
1275
1351
  }
1276
1352
  }
1277
- } else if (memberName === "key") ; else if (memberName === "ref") {
1278
- if (newValue) {
1279
- newValue(elm);
1280
- }
1281
- } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
1282
- if (memberName[2] === "-") {
1283
- memberName = memberName.slice(3);
1284
- } else if (isMemberInElement(win, ln)) {
1285
- memberName = ln.slice(2);
1286
- } else {
1287
- memberName = ln[2] + memberName.slice(3);
1288
- }
1289
- if (oldValue || newValue) {
1290
- const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
1291
- memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
1292
- if (oldValue) {
1293
- plt.rel(elm, memberName, oldValue, capture);
1294
- }
1295
- if (newValue) {
1296
- plt.ael(elm, memberName, newValue, capture);
1353
+ }
1354
+ for (const prop in newValue) {
1355
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
1356
+ if (prop.includes("-")) {
1357
+ elm.style.setProperty(prop, newValue[prop]);
1358
+ } else {
1359
+ elm.style[prop] = newValue[prop];
1297
1360
  }
1298
1361
  }
1362
+ }
1363
+ } else if (memberName === "key") ; else if (memberName === "ref") {
1364
+ if (newValue) {
1365
+ newValue(elm);
1366
+ }
1367
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
1368
+ if (memberName[2] === "-") {
1369
+ memberName = memberName.slice(3);
1370
+ } else if (isMemberInElement(win, ln)) {
1371
+ memberName = ln.slice(2);
1299
1372
  } else {
1300
- const isComplex = isComplexType(newValue);
1301
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
1302
- try {
1303
- if (!elm.tagName.includes("-")) {
1304
- const n = newValue == null ? "" : newValue;
1305
- if (memberName === "list") {
1306
- isProp = false;
1307
- } else if (oldValue == null || elm[memberName] != n) {
1308
- if (typeof elm.__lookupSetter__(memberName) === "function") {
1309
- elm[memberName] = n;
1310
- } else {
1311
- elm.setAttribute(memberName, n);
1312
- }
1373
+ memberName = ln[2] + memberName.slice(3);
1374
+ }
1375
+ if (oldValue || newValue) {
1376
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
1377
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
1378
+ if (oldValue) {
1379
+ plt.rel(elm, memberName, oldValue, capture);
1380
+ }
1381
+ if (newValue) {
1382
+ plt.ael(elm, memberName, newValue, capture);
1383
+ }
1384
+ }
1385
+ } else {
1386
+ const isComplex = isComplexType(newValue);
1387
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
1388
+ try {
1389
+ if (!elm.tagName.includes("-")) {
1390
+ const n = newValue == null ? "" : newValue;
1391
+ if (memberName === "list") {
1392
+ isProp = false;
1393
+ } else if (oldValue == null || elm[memberName] != n) {
1394
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
1395
+ elm[memberName] = n;
1396
+ } else {
1397
+ elm.setAttribute(memberName, n);
1313
1398
  }
1314
- } else if (elm[memberName] !== newValue) {
1315
- elm[memberName] = newValue;
1316
1399
  }
1317
- } catch (e) {
1400
+ } else if (elm[memberName] !== newValue) {
1401
+ elm[memberName] = newValue;
1318
1402
  }
1403
+ } catch (e) {
1319
1404
  }
1320
- if (newValue == null || newValue === false) {
1321
- if (newValue !== false || elm.getAttribute(memberName) === "") {
1322
- {
1323
- elm.removeAttribute(memberName);
1324
- }
1325
- }
1326
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
1327
- newValue = newValue === true ? "" : newValue;
1405
+ }
1406
+ if (newValue == null || newValue === false) {
1407
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
1328
1408
  {
1329
- elm.setAttribute(memberName, newValue);
1409
+ elm.removeAttribute(memberName);
1330
1410
  }
1331
1411
  }
1412
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
1413
+ newValue = newValue === true ? "" : newValue;
1414
+ {
1415
+ elm.setAttribute(memberName, newValue);
1416
+ }
1332
1417
  }
1333
1418
  }
1334
1419
  };
@@ -1395,9 +1480,14 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
1395
1480
  let elm;
1396
1481
  let childNode;
1397
1482
  if (newVNode2.$text$ !== null) {
1398
- elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
1483
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
1399
1484
  } else {
1400
- elm = newVNode2.$elm$ = doc.createElement(
1485
+ if (!win.document) {
1486
+ throw new Error(
1487
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
1488
+ );
1489
+ }
1490
+ elm = newVNode2.$elm$ = win.document.createElement(
1401
1491
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
1402
1492
  );
1403
1493
  {
@@ -1543,13 +1633,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1543
1633
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
1544
1634
  const oldChildren = oldVNode.$children$;
1545
1635
  const newChildren = newVNode2.$children$;
1546
- const tag = newVNode2.$tag$;
1547
1636
  const text = newVNode2.$text$;
1548
1637
  if (text === null) {
1549
1638
  {
1550
- if (tag === "slot" && !useNativeShadowDom) ; else {
1551
- updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1552
- }
1639
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1553
1640
  }
1554
1641
  if (oldChildren !== null && newChildren !== null) {
1555
1642
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -1602,7 +1689,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1602
1689
  rootVnode.$flags$ |= 4 /* isHost */;
1603
1690
  hostRef.$vnode$ = rootVnode;
1604
1691
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1605
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1692
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1606
1693
  patch(oldVNode, rootVnode, isInitialLoad);
1607
1694
  };
1608
1695
 
@@ -1649,13 +1736,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1649
1736
  hostRef.$queuedListeners$ = void 0;
1650
1737
  }
1651
1738
  }
1652
- {
1653
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1654
- }
1655
- }
1656
- {
1657
- maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1739
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1740
+ } else {
1741
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1658
1742
  }
1743
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1659
1744
  endSchedule();
1660
1745
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1661
1746
  };
@@ -1721,17 +1806,13 @@ var postUpdateComponent = (hostRef) => {
1721
1806
  const endPostUpdate = createTime("postUpdate", tagName);
1722
1807
  const instance = hostRef.$lazyInstance$ ;
1723
1808
  const ancestorComponent = hostRef.$ancestorComponent$;
1724
- {
1725
- safeCall(instance, "componentDidRender", void 0, elm);
1726
- }
1809
+ safeCall(instance, "componentDidRender", void 0, elm);
1727
1810
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1728
1811
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1729
1812
  {
1730
1813
  addHydratedFlag(elm);
1731
1814
  }
1732
- {
1733
- safeCall(instance, "componentDidLoad", void 0, elm);
1734
- }
1815
+ safeCall(instance, "componentDidLoad", void 0, elm);
1735
1816
  endPostUpdate();
1736
1817
  {
1737
1818
  hostRef.$onReadyResolve$(elm);
@@ -1740,9 +1821,7 @@ var postUpdateComponent = (hostRef) => {
1740
1821
  }
1741
1822
  }
1742
1823
  } else {
1743
- {
1744
- safeCall(instance, "componentDidUpdate", void 0, elm);
1745
- }
1824
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1746
1825
  endPostUpdate();
1747
1826
  }
1748
1827
  {
@@ -1760,9 +1839,6 @@ var postUpdateComponent = (hostRef) => {
1760
1839
  }
1761
1840
  };
1762
1841
  var appDidLoad = (who) => {
1763
- {
1764
- addHydratedFlag(doc.documentElement);
1765
- }
1766
1842
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1767
1843
  };
1768
1844
  var safeCall = (instance, method, arg, elm) => {
@@ -1786,7 +1862,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1786
1862
  const hostRef = getHostRef(ref);
1787
1863
  if (!hostRef) {
1788
1864
  throw new Error(
1789
- `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
1865
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
1790
1866
  );
1791
1867
  }
1792
1868
  const elm = hostRef.$hostElement$ ;
@@ -1812,6 +1888,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1812
1888
  }
1813
1889
  }
1814
1890
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1891
+ if (instance.componentShouldUpdate) {
1892
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1893
+ return;
1894
+ }
1895
+ }
1815
1896
  scheduleUpdate(hostRef, false);
1816
1897
  }
1817
1898
  }
@@ -1981,7 +2062,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1981
2062
  let Cstr;
1982
2063
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1983
2064
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1984
- {
2065
+ const bundleId = cmpMeta.$lazyBundleId$;
2066
+ if (bundleId) {
1985
2067
  const CstrImport = loadModule(cmpMeta, hostRef);
1986
2068
  if (CstrImport && "then" in CstrImport) {
1987
2069
  const endLoad = uniqueTime();
@@ -2016,6 +2098,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2016
2098
  hostRef.$flags$ |= 128 /* isWatchReady */;
2017
2099
  }
2018
2100
  endNewInstance();
2101
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
2102
+ } else {
2103
+ Cstr = elm.constructor;
2104
+ const cmpTag = elm.localName;
2105
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
2019
2106
  }
2020
2107
  if (Cstr && Cstr.style) {
2021
2108
  let style;
@@ -2039,6 +2126,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2039
2126
  }
2040
2127
  };
2041
2128
  var fireConnectedCallback = (instance, elm) => {
2129
+ {
2130
+ safeCall(instance, "connectedCallback", void 0, elm);
2131
+ }
2042
2132
  };
2043
2133
 
2044
2134
  // src/runtime/connected-callback.ts
@@ -2083,8 +2173,10 @@ var connectedCallback = (elm) => {
2083
2173
  }
2084
2174
  } else {
2085
2175
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2086
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
2087
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
2176
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
2177
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
2178
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
2179
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
2088
2180
  }
2089
2181
  }
2090
2182
  endConnected();
@@ -2121,21 +2213,28 @@ var disconnectedCallback = async (elm) => {
2121
2213
  // src/runtime/bootstrap-lazy.ts
2122
2214
  var bootstrapLazy = (lazyBundles, options = {}) => {
2123
2215
  var _a;
2216
+ if (!win.document) {
2217
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
2218
+ return;
2219
+ }
2124
2220
  const endBootstrap = createTime();
2125
2221
  const cmpTags = [];
2126
2222
  const exclude = options.exclude || [];
2127
2223
  const customElements2 = win.customElements;
2128
- const head = doc.head;
2224
+ const head = win.document.head;
2129
2225
  const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
2130
- const dataStyles = /* @__PURE__ */ doc.createElement("style");
2226
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
2131
2227
  const deferredConnectedCallbacks = [];
2132
2228
  let appLoadFallback;
2133
2229
  let isBootstrapping = true;
2134
2230
  Object.assign(plt, options);
2135
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
2231
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
2136
2232
  {
2137
2233
  plt.$flags$ |= 2 /* appLoaded */;
2138
2234
  }
2235
+ {
2236
+ hydrateScopedToShadow();
2237
+ }
2139
2238
  let hasSlotRelocation = false;
2140
2239
  lazyBundles.map((lazyBundle) => {
2141
2240
  lazyBundle[1].map((compactMeta) => {
@@ -2206,6 +2305,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2206
2305
  plt.raf(() => {
2207
2306
  var _a3;
2208
2307
  const hostRef = getHostRef(this);
2308
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
2309
+ if (i2 > -1) {
2310
+ deferredConnectedCallbacks.splice(i2, 1);
2311
+ }
2209
2312
  if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
2210
2313
  delete hostRef.$vnode$.$elm$;
2211
2314
  }
@@ -2237,7 +2340,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2237
2340
  }
2238
2341
  if (dataStyles.innerHTML.length) {
2239
2342
  dataStyles.setAttribute("data-styles", "");
2240
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
2343
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
2241
2344
  if (nonce != null) {
2242
2345
  dataStyles.setAttribute("nonce", nonce);
2243
2346
  }
@@ -2255,9 +2358,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2255
2358
  endBootstrap();
2256
2359
  };
2257
2360
  var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2258
- if (listeners) {
2361
+ if (listeners && win.document) {
2259
2362
  listeners.map(([flags, name, method]) => {
2260
- const target = getHostListenerTarget(elm, flags) ;
2363
+ const target = getHostListenerTarget(win.document, elm, flags) ;
2261
2364
  const handler = hostListenerProxy(hostRef, method);
2262
2365
  const opts = hostListenerOpts(flags);
2263
2366
  plt.ael(target, name, handler, opts);
@@ -2279,8 +2382,10 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
2279
2382
  consoleError(e, hostRef.$hostElement$);
2280
2383
  }
2281
2384
  };
2282
- var getHostListenerTarget = (elm, flags) => {
2283
- if (flags & 4 /* TargetDocument */) return doc;
2385
+ var getHostListenerTarget = (doc, elm, flags) => {
2386
+ if (flags & 4 /* TargetDocument */) {
2387
+ return doc;
2388
+ }
2284
2389
  return elm;
2285
2390
  };
2286
2391
  var hostListenerOpts = (flags) => supportsListenerOptions ? {