@zanichelli/albe-web-components 2.41.0 → 2.41.1

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 (316) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/{index-dee3e21d.js → index-ec1433b8.js} +179 -88
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/web-components-library.cjs.js +2 -2
  5. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  7. package/dist/cjs/z-app-switcher_10.cjs.entry.js +1 -1
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  11. package/dist/cjs/z-button-filter_5.cjs.entry.js +1 -1
  12. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  13. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  14. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  15. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  16. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  17. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  18. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  19. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  20. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  21. package/dist/cjs/z-heading.cjs.entry.js +1 -1
  22. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  23. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  24. package/dist/cjs/z-list_3.cjs.entry.js +1 -1
  25. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +1 -1
  26. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  27. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  28. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  29. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  30. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  32. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  34. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  36. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  37. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  38. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  39. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  40. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  41. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  42. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  43. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  44. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  45. package/dist/cjs/z-pagination-bar.cjs.entry.js +1 -1
  46. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  47. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  48. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  49. package/dist/cjs/z-pocket_3.cjs.entry.js +1 -1
  50. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  51. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  52. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  53. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  54. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  55. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  56. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  57. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  58. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  59. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  60. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  61. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  62. package/dist/cjs/z-table-header.cjs.entry.js +1 -1
  63. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  64. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  65. package/dist/cjs/z-table.cjs.entry.js +1 -1
  66. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  67. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  68. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  69. package/dist/cjs/z-toggle-switch.cjs.entry.js +7 -11
  70. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  71. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  72. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  73. package/dist/collection/collection-manifest.json +2 -2
  74. package/dist/collection/components/buttons/z-button/index.js +2 -2
  75. package/dist/collection/components/buttons/z-toggle-switch/index.js +2 -4
  76. package/dist/collection/components/buttons/z-toggle-switch/styles.css +2 -2
  77. package/dist/collection/components/navigation/z-menu/index.js +4 -4
  78. package/dist/collection/components/notification/z-tooltip/index.js +2 -2
  79. package/dist/esm/{index-fa9e549c.js → index-1877eca4.js} +179 -88
  80. package/dist/esm/loader.js +2 -2
  81. package/dist/esm/polyfills/css-shim.js +1 -1
  82. package/dist/esm/web-components-library.js +2 -2
  83. package/dist/esm/z-alert.entry.js +1 -1
  84. package/dist/esm/z-app-header.entry.js +1 -1
  85. package/dist/esm/z-app-switcher_10.entry.js +1 -1
  86. package/dist/esm/z-aria-alert.entry.js +1 -1
  87. package/dist/esm/z-avatar.entry.js +1 -1
  88. package/dist/esm/z-body_2.entry.js +1 -1
  89. package/dist/esm/z-button-filter_5.entry.js +1 -1
  90. package/dist/esm/z-button-sort.entry.js +1 -1
  91. package/dist/esm/z-candybar.entry.js +1 -1
  92. package/dist/esm/z-chip.entry.js +1 -1
  93. package/dist/esm/z-combobox.entry.js +1 -1
  94. package/dist/esm/z-contextual-menu.entry.js +1 -1
  95. package/dist/esm/z-cookiebar.entry.js +1 -1
  96. package/dist/esm/z-footer-link_3.entry.js +1 -1
  97. package/dist/esm/z-footer.entry.js +1 -1
  98. package/dist/esm/z-ghost-loading.entry.js +1 -1
  99. package/dist/esm/z-heading.entry.js +1 -1
  100. package/dist/esm/z-icon-package.entry.js +1 -1
  101. package/dist/esm/z-info-box.entry.js +1 -1
  102. package/dist/esm/z-list_3.entry.js +1 -1
  103. package/dist/esm/z-menu-dropdown_2.entry.js +1 -1
  104. package/dist/esm/z-menu-section.entry.js +1 -1
  105. package/dist/esm/z-menu.entry.js +1 -1
  106. package/dist/esm/z-messages-pocket.entry.js +1 -1
  107. package/dist/esm/z-modal-login.entry.js +1 -1
  108. package/dist/esm/z-modal.entry.js +1 -1
  109. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  110. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  111. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  112. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  113. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  114. package/dist/esm/z-myz-card-info.entry.js +1 -1
  115. package/dist/esm/z-myz-card-list.entry.js +1 -1
  116. package/dist/esm/z-myz-card_4.entry.js +1 -1
  117. package/dist/esm/z-myz-list-item.entry.js +1 -1
  118. package/dist/esm/z-myz-topbar.entry.js +1 -1
  119. package/dist/esm/z-navigation-tab.entry.js +1 -1
  120. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  121. package/dist/esm/z-notification.entry.js +1 -1
  122. package/dist/esm/z-otp.entry.js +1 -1
  123. package/dist/esm/z-pagination-bar.entry.js +1 -1
  124. package/dist/esm/z-pagination-page.entry.js +1 -1
  125. package/dist/esm/z-panel-elem.entry.js +1 -1
  126. package/dist/esm/z-pocket-message.entry.js +1 -1
  127. package/dist/esm/z-pocket_3.entry.js +1 -1
  128. package/dist/esm/z-popover.entry.js +1 -1
  129. package/dist/esm/z-slideshow.entry.js +1 -1
  130. package/dist/esm/z-status-tag.entry.js +1 -1
  131. package/dist/esm/z-stepper-item.entry.js +1 -1
  132. package/dist/esm/z-stepper.entry.js +1 -1
  133. package/dist/esm/z-table-body.entry.js +1 -1
  134. package/dist/esm/z-table-cell.entry.js +1 -1
  135. package/dist/esm/z-table-empty-box.entry.js +1 -1
  136. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  137. package/dist/esm/z-table-footer.entry.js +1 -1
  138. package/dist/esm/z-table-head.entry.js +1 -1
  139. package/dist/esm/z-table-header-row.entry.js +1 -1
  140. package/dist/esm/z-table-header.entry.js +1 -1
  141. package/dist/esm/z-table-row.entry.js +1 -1
  142. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  143. package/dist/esm/z-table.entry.js +1 -1
  144. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  145. package/dist/esm/z-toast-notification.entry.js +1 -1
  146. package/dist/esm/z-toggle-button.entry.js +1 -1
  147. package/dist/esm/z-toggle-switch.entry.js +7 -11
  148. package/dist/esm/z-tooltip.entry.js +1 -1
  149. package/dist/esm/z-user-dropdown.entry.js +1 -1
  150. package/dist/esm/z-visually-hidden.entry.js +1 -1
  151. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +1 -1
  152. package/dist/types/stencil-public-runtime.d.ts +189 -186
  153. package/dist/web-components-library/{p-d6d19aeb.entry.js → p-0084ea9f.entry.js} +1 -1
  154. package/dist/web-components-library/{p-e1f1f39e.entry.js → p-0293d6c6.entry.js} +1 -1
  155. package/dist/web-components-library/{p-bc5e78a8.entry.js → p-02fa9e81.entry.js} +1 -1
  156. package/dist/web-components-library/{p-240834e2.entry.js → p-032bfb5c.entry.js} +1 -1
  157. package/dist/web-components-library/{p-4a414eb2.entry.js → p-04daa863.entry.js} +1 -1
  158. package/{www/build/p-b008639f.entry.js → dist/web-components-library/p-07938fc2.entry.js} +1 -1
  159. package/dist/web-components-library/{p-b9f91ea1.entry.js → p-0948e843.entry.js} +1 -1
  160. package/dist/web-components-library/{p-ac3bc4c2.entry.js → p-09ded8b4.entry.js} +1 -1
  161. package/dist/web-components-library/{p-250926fe.entry.js → p-0b6bd214.entry.js} +1 -1
  162. package/dist/web-components-library/{p-767c4094.entry.js → p-1584dfb4.entry.js} +1 -1
  163. package/dist/web-components-library/{p-698e18cf.entry.js → p-1bd60c44.entry.js} +1 -1
  164. package/dist/web-components-library/{p-4d35157e.entry.js → p-23c46ff2.entry.js} +1 -1
  165. package/dist/web-components-library/{p-2feaa8e1.entry.js → p-24a2ecc0.entry.js} +1 -1
  166. package/dist/web-components-library/{p-7af1b50c.entry.js → p-2c120632.entry.js} +1 -1
  167. package/dist/web-components-library/{p-1094e4de.entry.js → p-2cc0c93f.entry.js} +1 -1
  168. package/dist/web-components-library/{p-a1bb6af2.entry.js → p-3bbf16c8.entry.js} +1 -1
  169. package/dist/web-components-library/{p-b6ad7e23.entry.js → p-3ea930a5.entry.js} +1 -1
  170. package/dist/web-components-library/{p-b78fb152.entry.js → p-40e6d79d.entry.js} +1 -1
  171. package/dist/web-components-library/{p-74fb3d69.entry.js → p-45cbf885.entry.js} +1 -1
  172. package/dist/web-components-library/{p-f113a03a.entry.js → p-4b756d6a.entry.js} +1 -1
  173. package/dist/web-components-library/{p-b8770504.entry.js → p-4c7189d2.entry.js} +1 -1
  174. package/dist/web-components-library/{p-434512c4.entry.js → p-4e2763b2.entry.js} +1 -1
  175. package/dist/web-components-library/p-56640ea6.js +1 -0
  176. package/{www/build/p-c19e3c48.entry.js → dist/web-components-library/p-56fe8986.entry.js} +1 -1
  177. package/dist/web-components-library/{p-ebcad010.entry.js → p-57aaa3d2.entry.js} +1 -1
  178. package/{www/build/p-a7733104.entry.js → dist/web-components-library/p-5fb435ca.entry.js} +1 -1
  179. package/dist/web-components-library/{p-be40901d.entry.js → p-61d066ee.entry.js} +1 -1
  180. package/dist/web-components-library/{p-778c843f.entry.js → p-706eb92e.entry.js} +1 -1
  181. package/dist/web-components-library/{p-d4e409ba.entry.js → p-732213f9.entry.js} +1 -1
  182. package/dist/web-components-library/{p-0ce6293a.entry.js → p-761eb0ec.entry.js} +1 -1
  183. package/{www/build/p-8303fd88.entry.js → dist/web-components-library/p-77610e66.entry.js} +1 -1
  184. package/dist/web-components-library/{p-c7af96eb.entry.js → p-779bc51a.entry.js} +1 -1
  185. package/dist/web-components-library/{p-056f3b6a.entry.js → p-7bbf377b.entry.js} +1 -1
  186. package/dist/web-components-library/{p-140cc18f.entry.js → p-7d57c388.entry.js} +1 -1
  187. package/dist/web-components-library/{p-8edb6b65.entry.js → p-7e13c57d.entry.js} +1 -1
  188. package/dist/web-components-library/{p-6af9e8d7.entry.js → p-82b2c47c.entry.js} +1 -1
  189. package/dist/web-components-library/{p-6011c261.entry.js → p-8680baaf.entry.js} +1 -1
  190. package/dist/web-components-library/{p-2ea470c2.entry.js → p-8788a24f.entry.js} +1 -1
  191. package/dist/web-components-library/{p-4c1dc891.entry.js → p-8aa42057.entry.js} +1 -1
  192. package/dist/web-components-library/{p-2afdbac4.entry.js → p-8b780334.entry.js} +1 -1
  193. package/dist/web-components-library/{p-39f55fdd.entry.js → p-8b806916.entry.js} +1 -1
  194. package/dist/web-components-library/{p-c52df17b.entry.js → p-915f59a5.entry.js} +1 -1
  195. package/dist/web-components-library/{p-4665d79f.entry.js → p-979882a5.entry.js} +1 -1
  196. package/dist/web-components-library/{p-0dbee434.entry.js → p-9a764099.entry.js} +1 -1
  197. package/dist/web-components-library/{p-cf914ea7.entry.js → p-a56f935f.entry.js} +1 -1
  198. package/dist/web-components-library/{p-8deddec7.entry.js → p-a61ea96d.entry.js} +1 -1
  199. package/{www/build/p-f15ca066.entry.js → dist/web-components-library/p-ad105cb1.entry.js} +1 -1
  200. package/{www/build/p-fdfca9b7.entry.js → dist/web-components-library/p-af9c81d0.entry.js} +1 -1
  201. package/dist/web-components-library/{p-cb2acc2e.entry.js → p-b33f83f6.entry.js} +1 -1
  202. package/dist/web-components-library/{p-2805c574.entry.js → p-b4981c43.entry.js} +1 -1
  203. package/dist/web-components-library/{p-db5863cf.entry.js → p-b4bc83ea.entry.js} +1 -1
  204. package/dist/web-components-library/{p-aa0f7169.entry.js → p-b87c4984.entry.js} +1 -1
  205. package/dist/web-components-library/{p-5bbbc979.entry.js → p-bbc60b23.entry.js} +1 -1
  206. package/dist/web-components-library/{p-1c72783c.entry.js → p-bd8a9e22.entry.js} +1 -1
  207. package/dist/web-components-library/{p-48e0a763.entry.js → p-c273c377.entry.js} +1 -1
  208. package/{www/build/p-5558c49a.entry.js → dist/web-components-library/p-c932e698.entry.js} +1 -1
  209. package/dist/web-components-library/{p-71cc7ed0.entry.js → p-cdf09ad7.entry.js} +1 -1
  210. package/{www/build/p-007b2b1e.entry.js → dist/web-components-library/p-d0de0319.entry.js} +1 -1
  211. package/dist/web-components-library/{p-6583cbec.entry.js → p-d1d26026.entry.js} +1 -1
  212. package/dist/web-components-library/{p-4a1404e2.entry.js → p-d2848d7c.entry.js} +1 -1
  213. package/dist/web-components-library/{p-cfebc80e.entry.js → p-dbbae18b.entry.js} +1 -1
  214. package/dist/web-components-library/p-df58b251.entry.js +1 -0
  215. package/dist/web-components-library/{p-a85195a4.entry.js → p-e697181c.entry.js} +1 -1
  216. package/{www/build/p-02956254.entry.js → dist/web-components-library/p-e776d206.entry.js} +1 -1
  217. package/{www/build/p-cd6cfb85.entry.js → dist/web-components-library/p-f0913e02.entry.js} +1 -1
  218. package/dist/web-components-library/{p-3ee697e5.entry.js → p-f52fb47b.entry.js} +1 -1
  219. package/dist/web-components-library/{p-9af1322d.entry.js → p-f78ddbf1.entry.js} +1 -1
  220. package/dist/web-components-library/{p-5ed90426.entry.js → p-f9a31c55.entry.js} +1 -1
  221. package/dist/web-components-library/{p-483d10ba.entry.js → p-f9e401fa.entry.js} +1 -1
  222. package/dist/web-components-library/web-components-library.css +1 -1
  223. package/dist/web-components-library/web-components-library.esm.js +1 -1
  224. package/loader/index.d.ts +0 -1
  225. package/package.json +1 -1
  226. package/react/react-component-lib/createComponent.d.ts +1 -1
  227. package/react/react-component-lib/createComponent.js +42 -10
  228. package/react/react-component-lib/createComponent.js.map +1 -1
  229. package/react/react-component-lib/createOverlayComponent.d.ts +5 -4
  230. package/react/react-component-lib/createOverlayComponent.js +28 -8
  231. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  232. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  233. package/react/react-component-lib/utils/attachProps.js +14 -12
  234. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  235. package/react/react-component-lib/utils/index.d.ts +4 -1
  236. package/react/react-component-lib/utils/index.js +20 -5
  237. package/react/react-component-lib/utils/index.js.map +1 -1
  238. package/www/build/{p-d6d19aeb.entry.js → p-0084ea9f.entry.js} +1 -1
  239. package/www/build/{p-e1f1f39e.entry.js → p-0293d6c6.entry.js} +1 -1
  240. package/www/build/{p-bc5e78a8.entry.js → p-02fa9e81.entry.js} +1 -1
  241. package/www/build/{p-240834e2.entry.js → p-032bfb5c.entry.js} +1 -1
  242. package/www/build/{p-4a414eb2.entry.js → p-04daa863.entry.js} +1 -1
  243. package/{dist/web-components-library/p-b008639f.entry.js → www/build/p-07938fc2.entry.js} +1 -1
  244. package/www/build/{p-b9f91ea1.entry.js → p-0948e843.entry.js} +1 -1
  245. package/www/build/{p-ac3bc4c2.entry.js → p-09ded8b4.entry.js} +1 -1
  246. package/www/build/{p-250926fe.entry.js → p-0b6bd214.entry.js} +1 -1
  247. package/www/build/{p-767c4094.entry.js → p-1584dfb4.entry.js} +1 -1
  248. package/www/build/{p-698e18cf.entry.js → p-1bd60c44.entry.js} +1 -1
  249. package/www/build/{p-41964367.js → p-1ef0dee5.js} +13 -6
  250. package/www/build/{p-4d35157e.entry.js → p-23c46ff2.entry.js} +1 -1
  251. package/www/build/{p-2feaa8e1.entry.js → p-24a2ecc0.entry.js} +1 -1
  252. package/www/build/{p-7af1b50c.entry.js → p-2c120632.entry.js} +1 -1
  253. package/www/build/{p-1094e4de.entry.js → p-2cc0c93f.entry.js} +1 -1
  254. package/www/build/{p-a1bb6af2.entry.js → p-3bbf16c8.entry.js} +1 -1
  255. package/www/build/{p-b6ad7e23.entry.js → p-3ea930a5.entry.js} +1 -1
  256. package/www/build/{p-b78fb152.entry.js → p-40e6d79d.entry.js} +1 -1
  257. package/www/build/{p-74fb3d69.entry.js → p-45cbf885.entry.js} +1 -1
  258. package/www/build/{p-f113a03a.entry.js → p-4b756d6a.entry.js} +1 -1
  259. package/www/build/{p-b8770504.entry.js → p-4c7189d2.entry.js} +1 -1
  260. package/www/build/{p-434512c4.entry.js → p-4e2763b2.entry.js} +1 -1
  261. package/www/build/p-56640ea6.js +1 -0
  262. package/{dist/web-components-library/p-c19e3c48.entry.js → www/build/p-56fe8986.entry.js} +1 -1
  263. package/www/build/{p-ebcad010.entry.js → p-57aaa3d2.entry.js} +1 -1
  264. package/{dist/web-components-library/p-a7733104.entry.js → www/build/p-5fb435ca.entry.js} +1 -1
  265. package/www/build/{p-be40901d.entry.js → p-61d066ee.entry.js} +1 -1
  266. package/www/build/{p-778c843f.entry.js → p-706eb92e.entry.js} +1 -1
  267. package/www/build/{p-d4e409ba.entry.js → p-732213f9.entry.js} +1 -1
  268. package/www/build/{p-0ce6293a.entry.js → p-761eb0ec.entry.js} +1 -1
  269. package/{dist/web-components-library/p-8303fd88.entry.js → www/build/p-77610e66.entry.js} +1 -1
  270. package/www/build/{p-c7af96eb.entry.js → p-779bc51a.entry.js} +1 -1
  271. package/www/build/{p-056f3b6a.entry.js → p-7bbf377b.entry.js} +1 -1
  272. package/www/build/{p-140cc18f.entry.js → p-7d57c388.entry.js} +1 -1
  273. package/www/build/{p-8edb6b65.entry.js → p-7e13c57d.entry.js} +1 -1
  274. package/www/build/{p-6af9e8d7.entry.js → p-82b2c47c.entry.js} +1 -1
  275. package/www/build/{p-6011c261.entry.js → p-8680baaf.entry.js} +1 -1
  276. package/www/build/{p-2ea470c2.entry.js → p-8788a24f.entry.js} +1 -1
  277. package/www/build/{p-4c1dc891.entry.js → p-8aa42057.entry.js} +1 -1
  278. package/www/build/{p-2afdbac4.entry.js → p-8b780334.entry.js} +1 -1
  279. package/www/build/{p-39f55fdd.entry.js → p-8b806916.entry.js} +1 -1
  280. package/www/build/{p-c52df17b.entry.js → p-915f59a5.entry.js} +1 -1
  281. package/www/build/{p-4665d79f.entry.js → p-979882a5.entry.js} +1 -1
  282. package/www/build/{p-0dbee434.entry.js → p-9a764099.entry.js} +1 -1
  283. package/www/build/{p-cf914ea7.entry.js → p-a56f935f.entry.js} +1 -1
  284. package/www/build/{p-8deddec7.entry.js → p-a61ea96d.entry.js} +1 -1
  285. package/{dist/web-components-library/p-f15ca066.entry.js → www/build/p-ad105cb1.entry.js} +1 -1
  286. package/{dist/web-components-library/p-fdfca9b7.entry.js → www/build/p-af9c81d0.entry.js} +1 -1
  287. package/www/build/{p-cb2acc2e.entry.js → p-b33f83f6.entry.js} +1 -1
  288. package/www/build/{p-2805c574.entry.js → p-b4981c43.entry.js} +1 -1
  289. package/www/build/{p-db5863cf.entry.js → p-b4bc83ea.entry.js} +1 -1
  290. package/www/build/{p-aa0f7169.entry.js → p-b87c4984.entry.js} +1 -1
  291. package/www/build/{p-5bbbc979.entry.js → p-bbc60b23.entry.js} +1 -1
  292. package/www/build/{p-1c72783c.entry.js → p-bd8a9e22.entry.js} +1 -1
  293. package/www/build/{p-48e0a763.entry.js → p-c273c377.entry.js} +1 -1
  294. package/{dist/web-components-library/p-5558c49a.entry.js → www/build/p-c932e698.entry.js} +1 -1
  295. package/www/build/{p-71cc7ed0.entry.js → p-cdf09ad7.entry.js} +1 -1
  296. package/{dist/web-components-library/p-007b2b1e.entry.js → www/build/p-d0de0319.entry.js} +1 -1
  297. package/www/build/{p-6583cbec.entry.js → p-d1d26026.entry.js} +1 -1
  298. package/www/build/{p-4a1404e2.entry.js → p-d2848d7c.entry.js} +1 -1
  299. package/www/build/{p-cfebc80e.entry.js → p-dbbae18b.entry.js} +1 -1
  300. package/www/build/p-df58b251.entry.js +1 -0
  301. package/www/build/{p-a85195a4.entry.js → p-e697181c.entry.js} +1 -1
  302. package/{dist/web-components-library/p-02956254.entry.js → www/build/p-e776d206.entry.js} +1 -1
  303. package/{dist/web-components-library/p-cd6cfb85.entry.js → www/build/p-f0913e02.entry.js} +1 -1
  304. package/www/build/{p-3ee697e5.entry.js → p-f52fb47b.entry.js} +1 -1
  305. package/www/build/{p-9af1322d.entry.js → p-f78ddbf1.entry.js} +1 -1
  306. package/www/build/{p-5ed90426.entry.js → p-f9a31c55.entry.js} +1 -1
  307. package/www/build/{p-483d10ba.entry.js → p-f9e401fa.entry.js} +1 -1
  308. package/www/build/{p-97a11655.css → p-fcff1237.css} +24 -1
  309. package/www/build/web-components-library.css +1 -1
  310. package/www/build/web-components-library.esm.js +1 -1
  311. package/www/build/web-components-library.js +1 -1
  312. package/www/index.html +1 -1
  313. package/dist/web-components-library/p-904a85e4.js +0 -1
  314. package/dist/web-components-library/p-93c863d2.entry.js +0 -1
  315. package/www/build/p-904a85e4.js +0 -1
  316. package/www/build/p-93c863d2.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.41.1](https://github.com/ZanichelliEditore/design-system/compare/v2.41.0...v2.41.1) (2022-05-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fix storybook ([631db0a](https://github.com/ZanichelliEditore/design-system/commit/631db0a69ce5bb43a37918b2455919bb88d7c905))
11
+
5
12
  ## [2.41.0](https://github.com/ZanichelliEditore/design-system/compare/v2.40.1...v2.41.0) (2022-05-17)
6
13
 
7
14
 
@@ -35,8 +35,8 @@ const doc = win.document || { head: {} };
35
35
  const plt = {
36
36
  $flags$: 0,
37
37
  $resourcesUrl$: '',
38
- jmp: h => h(),
39
- raf: h => requestAnimationFrame(h),
38
+ jmp: (h) => h(),
39
+ raf: (h) => requestAnimationFrame(h),
40
40
  ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
41
41
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
42
42
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
@@ -45,7 +45,7 @@ const promiseResolve = (v) => Promise.resolve(v);
45
45
  const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
46
46
  try {
47
47
  new CSSStyleSheet();
48
- return typeof (new CSSStyleSheet()).replace === 'function';
48
+ return typeof new CSSStyleSheet().replace === 'function';
49
49
  }
50
50
  catch (e) { }
51
51
  return false;
@@ -248,7 +248,7 @@ const h = (nodeName, vnodeData, ...children) => {
248
248
  typeof classData !== 'object'
249
249
  ? classData
250
250
  : Object.keys(classData)
251
- .filter(k => classData[k])
251
+ .filter((k) => classData[k])
252
252
  .join(' ');
253
253
  }
254
254
  }
@@ -303,8 +303,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
303
303
  const classList = elm.classList;
304
304
  const oldClasses = parseClassList(oldValue);
305
305
  const newClasses = parseClassList(newValue);
306
- classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
307
- classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
306
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
307
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
308
308
  }
309
309
  else if (memberName === 'style') {
310
310
  // update style attribute, css properties and values
@@ -339,7 +339,9 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
339
339
  newValue(elm);
340
340
  }
341
341
  }
342
- else if ((!isProp ) && memberName[0] === 'o' && memberName[1] === 'n') {
342
+ else if ((!isProp ) &&
343
+ memberName[0] === 'o' &&
344
+ memberName[1] === 'n') {
343
345
  // Event Handlers
344
346
  // so if the member name starts with "on" and the 3rd characters is
345
347
  // a capital letter, and it's not already a member on the element,
@@ -386,7 +388,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
386
388
  // Workaround for Safari, moving the <input> caret when re-assigning the same valued
387
389
  if (memberName === 'list') {
388
390
  isProp = false;
389
- // tslint:disable-next-line: triple-equals
390
391
  }
391
392
  else if (oldValue == null || elm[memberName] != n) {
392
393
  elm[memberName] = n;
@@ -440,7 +441,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
440
441
  // if the element passed in is a shadow root, which is a document fragment
441
442
  // then we want to be adding attrs/props to the shadow root's "host" element
442
443
  // if it's not a shadow root, then we add attrs/props to the same element
443
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
444
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
445
+ ? newVnode.$elm$.host
446
+ : newVnode.$elm$;
444
447
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
445
448
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
446
449
  {
@@ -484,14 +487,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
484
487
  }
485
488
  else if (newVNode.$flags$ & 1 /* isSlotReference */) {
486
489
  // create a slot reference node
487
- elm = newVNode.$elm$ = doc.createTextNode('');
490
+ elm = newVNode.$elm$ =
491
+ doc.createTextNode('');
488
492
  }
489
493
  else {
490
494
  if (!isSvgMode) {
491
495
  isSvgMode = newVNode.$tag$ === 'svg';
492
496
  }
493
497
  // create element
494
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */ ? 'slot-fb' : newVNode.$tag$)
498
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
499
+ ? 'slot-fb'
500
+ : newVNode.$tag$)
495
501
  );
496
502
  if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
497
503
  isSvgMode = false;
@@ -858,7 +864,7 @@ const relocateSlotContent = (elm) => {
858
864
  // that is suppose to always represent the original content location
859
865
  if (isNodeLocatedInSlot(node, slotNameAttr)) {
860
866
  // it's possible we've already decided to relocate this node
861
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
867
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
862
868
  // made some changes to slots
863
869
  // let's make sure we also double check
864
870
  // fallbacks are correctly hidden or shown
@@ -877,9 +883,9 @@ const relocateSlotContent = (elm) => {
877
883
  });
878
884
  }
879
885
  if (node['s-sr']) {
880
- relocateNodes.map(relocateNode => {
886
+ relocateNodes.map((relocateNode) => {
881
887
  if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
882
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
888
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
883
889
  if (relocateNodeData && !relocateNode.$slotRefNode$) {
884
890
  relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
885
891
  }
@@ -887,7 +893,7 @@ const relocateSlotContent = (elm) => {
887
893
  });
888
894
  }
889
895
  }
890
- else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
896
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
891
897
  // so far this element does not have a slot home, not setting slotRefNode on purpose
892
898
  // if we never find a home for this element then we'll need to hide it
893
899
  relocateNodes.push({
@@ -967,7 +973,8 @@ const renderVdom = (hostRef, renderFnResults) => {
967
973
  if (!nodeToRelocate['s-ol']) {
968
974
  // add a reference node marking this node's original location
969
975
  // keep a reference to this node for later lookups
970
- orgLocationNode = doc.createTextNode('');
976
+ orgLocationNode =
977
+ doc.createTextNode('');
971
978
  orgLocationNode['s-nr'] = nodeToRelocate;
972
979
  nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
973
980
  }
@@ -991,7 +998,8 @@ const renderVdom = (hostRef, renderFnResults) => {
991
998
  }
992
999
  }
993
1000
  }
994
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) || nodeToRelocate.nextSibling !== insertBeforeNode) {
1001
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1002
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
995
1003
  // we've checked that it's worth while to relocate
996
1004
  // since that the node to relocate
997
1005
  // has a different next sibling or parent relocated
@@ -1037,6 +1045,13 @@ const createEvent = (ref, name, flags) => {
1037
1045
  },
1038
1046
  };
1039
1047
  };
1048
+ /**
1049
+ * Helper function to create & dispatch a custom Event on a provided target
1050
+ * @param elm the target of the Event
1051
+ * @param name the name to give the custom Event
1052
+ * @param opts options for configuring a custom Event
1053
+ * @returns the custom Event
1054
+ */
1040
1055
  const emitEvent = (elm, name, opts) => {
1041
1056
  const ev = plt.ce(name, opts);
1042
1057
  elm.dispatchEvent(ev);
@@ -1044,7 +1059,7 @@ const emitEvent = (elm, name, opts) => {
1044
1059
  };
1045
1060
  const attachToAncestor = (hostRef, ancestorComponent) => {
1046
1061
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1047
- ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
1062
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1048
1063
  }
1049
1064
  };
1050
1065
  const scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -1106,7 +1121,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1106
1121
  // ok, so turns out there are some child host elements
1107
1122
  // waiting on this parent element to load
1108
1123
  // let's fire off all update callbacks waiting
1109
- rc.map(cb => cb());
1124
+ rc.map((cb) => cb());
1110
1125
  elm['s-rc'] = undefined;
1111
1126
  }
1112
1127
  endRender();
@@ -1219,7 +1234,31 @@ const safeCall = (instance, method, arg) => {
1219
1234
  const then = (promise, thenFn) => {
1220
1235
  return promise && promise.then ? promise.then(thenFn) : thenFn();
1221
1236
  };
1222
- const addHydratedFlag = (elm) => (elm.classList.add('hydrated') );
1237
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1238
+ ;
1239
+ /**
1240
+ * Parse a new property value for a given property type.
1241
+ *
1242
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1243
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1244
+ * 1. `any`, the type given to `propValue` in the function signature
1245
+ * 2. the type stored from `propType`.
1246
+ *
1247
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1248
+ *
1249
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1250
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1251
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1252
+ * ```tsx
1253
+ * <my-cmp prop-val={0}></my-cmp>
1254
+ * ```
1255
+ *
1256
+ * HTML prop values on the other hand, will always a string
1257
+ *
1258
+ * @param propValue the new value to coerce to some type
1259
+ * @param propType the type of the prop, expressed as a binary number
1260
+ * @returns the parsed/coerced value
1261
+ */
1223
1262
  const parsePropertyValue = (propValue, propType) => {
1224
1263
  // ensure this value is of the correct prop type
1225
1264
  if (propValue != null && !isComplexType(propValue)) {
@@ -1253,7 +1292,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1253
1292
  const flags = hostRef.$flags$;
1254
1293
  const instance = hostRef.$lazyInstance$ ;
1255
1294
  newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1256
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
1295
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1296
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1297
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1298
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1257
1299
  // gadzooks! the property's value has changed!!
1258
1300
  // set our new value!
1259
1301
  hostRef.$instanceValues$.set(propName, newVal);
@@ -1263,7 +1305,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1263
1305
  const watchMethods = cmpMeta.$watchers$[propName];
1264
1306
  if (watchMethods) {
1265
1307
  // this instance is watching for when this property changed
1266
- watchMethods.map(watchMethodName => {
1308
+ watchMethods.map((watchMethodName) => {
1267
1309
  try {
1268
1310
  // fire off each of the watch methods that are watching this property
1269
1311
  instance[watchMethodName](newVal, oldVal, propName);
@@ -1293,7 +1335,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1293
1335
  const members = Object.entries(cmpMeta.$members$);
1294
1336
  const prototype = Cstr.prototype;
1295
1337
  members.map(([memberName, [memberFlags]]) => {
1296
- if ((memberFlags & 31 /* Prop */ || ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1338
+ if ((memberFlags & 31 /* Prop */ ||
1339
+ ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1297
1340
  // proxyComponent - prop
1298
1341
  Object.defineProperty(prototype, memberName, {
1299
1342
  get() {
@@ -1308,7 +1351,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1308
1351
  enumerable: true,
1309
1352
  });
1310
1353
  }
1311
- else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1354
+ else if (flags & 1 /* isElementConstructor */ &&
1355
+ memberFlags & 64 /* Method */) {
1312
1356
  // proxyComponent - method
1313
1357
  Object.defineProperty(prototype, memberName, {
1314
1358
  value(...args) {
@@ -1323,6 +1367,51 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1323
1367
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1324
1368
  plt.jmp(() => {
1325
1369
  const propName = attrNameToPropName.get(attrName);
1370
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1371
+ // in the case where an attribute was set inline.
1372
+ // ```html
1373
+ // <my-component some-attribute="some-value"></my-component>
1374
+ // ```
1375
+ //
1376
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1377
+ // programmatically changes it before it has been upgraded as shown below:
1378
+ //
1379
+ // ```html
1380
+ // <!-- this component has _not_ been upgraded yet -->
1381
+ // <my-component id="test" some-attribute="some-value"></my-component>
1382
+ // <script>
1383
+ // // grab non-upgraded component
1384
+ // el = document.querySelector("#test");
1385
+ // el.someAttribute = "another-value";
1386
+ // // upgrade component
1387
+ // customElements.define('my-component', MyComponent);
1388
+ // </script>
1389
+ // ```
1390
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1391
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1392
+ // to the value that was set inline i.e. "some-value" from above example. When
1393
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1394
+ //
1395
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1396
+ // by connectedCallback as this attributeChangedCallback will not fire.
1397
+ //
1398
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1399
+ //
1400
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1401
+ // properties here given that this goes against best practices outlined here
1402
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1403
+ if (this.hasOwnProperty(propName)) {
1404
+ newValue = this[propName];
1405
+ delete this[propName];
1406
+ }
1407
+ else if (prototype.hasOwnProperty(propName) &&
1408
+ typeof this[propName] === 'number' &&
1409
+ this[propName] == newValue) {
1410
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1411
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1412
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1413
+ return;
1414
+ }
1326
1415
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1327
1416
  });
1328
1417
  };
@@ -1359,7 +1448,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1359
1448
  endLoad();
1360
1449
  }
1361
1450
  if (!Cstr.isProxied) {
1362
- // we'eve never proxied this Constructor before
1451
+ // we've never proxied this Constructor before
1363
1452
  // let's add the getters/setters to its prototype before
1364
1453
  // the first time we create an instance of the implementation
1365
1454
  {
@@ -1408,7 +1497,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1408
1497
  const ancestorComponent = hostRef.$ancestorComponent$;
1409
1498
  const schedule = () => scheduleUpdate(hostRef, true);
1410
1499
  if (ancestorComponent && ancestorComponent['s-rc']) {
1411
- // this is the intial load and this component it has an ancestor component
1500
+ // this is the initial load and this component it has an ancestor component
1412
1501
  // but the ancestor component has NOT fired its will update lifecycle yet
1413
1502
  // so let's just cool our jets and wait for the ancestor to continue first
1414
1503
  // this will get fired off when the ancestor component
@@ -1493,7 +1582,7 @@ const disconnectedCallback = (elm) => {
1493
1582
  const instance = hostRef.$lazyInstance$ ;
1494
1583
  {
1495
1584
  if (hostRef.$rmListeners$) {
1496
- hostRef.$rmListeners$.map(rmListener => rmListener());
1585
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1497
1586
  hostRef.$rmListeners$ = undefined;
1498
1587
  }
1499
1588
  }
@@ -1515,71 +1604,73 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1515
1604
  let isBootstrapping = true;
1516
1605
  Object.assign(plt, options);
1517
1606
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1518
- lazyBundles.map(lazyBundle => lazyBundle[1].map(compactMeta => {
1519
- const cmpMeta = {
1520
- $flags$: compactMeta[0],
1521
- $tagName$: compactMeta[1],
1522
- $members$: compactMeta[2],
1523
- $listeners$: compactMeta[3],
1524
- };
1525
- {
1526
- cmpMeta.$members$ = compactMeta[2];
1527
- }
1528
- {
1529
- cmpMeta.$listeners$ = compactMeta[3];
1530
- }
1531
- {
1532
- cmpMeta.$attrsToReflect$ = [];
1533
- }
1534
- {
1535
- cmpMeta.$watchers$ = {};
1536
- }
1537
- const tagName = cmpMeta.$tagName$;
1538
- const HostElement = class extends HTMLElement {
1539
- // StencilLazyHost
1540
- constructor(self) {
1541
- // @ts-ignore
1542
- super(self);
1543
- self = this;
1544
- registerHost(self, cmpMeta);
1545
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1546
- // this component is using shadow dom
1547
- // and this browser supports shadow dom
1548
- // add the read-only property "shadowRoot" to the host element
1549
- // adding the shadow root build conditionals to minimize runtime
1550
- {
1607
+ lazyBundles.map((lazyBundle) => {
1608
+ lazyBundle[1].map((compactMeta) => {
1609
+ const cmpMeta = {
1610
+ $flags$: compactMeta[0],
1611
+ $tagName$: compactMeta[1],
1612
+ $members$: compactMeta[2],
1613
+ $listeners$: compactMeta[3],
1614
+ };
1615
+ {
1616
+ cmpMeta.$members$ = compactMeta[2];
1617
+ }
1618
+ {
1619
+ cmpMeta.$listeners$ = compactMeta[3];
1620
+ }
1621
+ {
1622
+ cmpMeta.$attrsToReflect$ = [];
1623
+ }
1624
+ {
1625
+ cmpMeta.$watchers$ = {};
1626
+ }
1627
+ const tagName = cmpMeta.$tagName$;
1628
+ const HostElement = class extends HTMLElement {
1629
+ // StencilLazyHost
1630
+ constructor(self) {
1631
+ // @ts-ignore
1632
+ super(self);
1633
+ self = this;
1634
+ registerHost(self, cmpMeta);
1635
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1636
+ // this component is using shadow dom
1637
+ // and this browser supports shadow dom
1638
+ // add the read-only property "shadowRoot" to the host element
1639
+ // adding the shadow root build conditionals to minimize runtime
1551
1640
  {
1552
- self.attachShadow({ mode: 'open' });
1641
+ {
1642
+ self.attachShadow({ mode: 'open' });
1643
+ }
1553
1644
  }
1554
1645
  }
1555
1646
  }
1556
- }
1557
- connectedCallback() {
1558
- if (appLoadFallback) {
1559
- clearTimeout(appLoadFallback);
1560
- appLoadFallback = null;
1647
+ connectedCallback() {
1648
+ if (appLoadFallback) {
1649
+ clearTimeout(appLoadFallback);
1650
+ appLoadFallback = null;
1651
+ }
1652
+ if (isBootstrapping) {
1653
+ // connectedCallback will be processed once all components have been registered
1654
+ deferredConnectedCallbacks.push(this);
1655
+ }
1656
+ else {
1657
+ plt.jmp(() => connectedCallback(this));
1658
+ }
1561
1659
  }
1562
- if (isBootstrapping) {
1563
- // connectedCallback will be processed once all components have been registered
1564
- deferredConnectedCallbacks.push(this);
1660
+ disconnectedCallback() {
1661
+ plt.jmp(() => disconnectedCallback(this));
1565
1662
  }
1566
- else {
1567
- plt.jmp(() => connectedCallback(this));
1663
+ componentOnReady() {
1664
+ return getHostRef(this).$onReadyPromise$;
1568
1665
  }
1666
+ };
1667
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1668
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1669
+ cmpTags.push(tagName);
1670
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1569
1671
  }
1570
- disconnectedCallback() {
1571
- plt.jmp(() => disconnectedCallback(this));
1572
- }
1573
- componentOnReady() {
1574
- return getHostRef(this).$onReadyPromise$;
1575
- }
1576
- };
1577
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1578
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1579
- cmpTags.push(tagName);
1580
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1581
- }
1582
- }));
1672
+ });
1673
+ });
1583
1674
  {
1584
1675
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1585
1676
  visibilityStyle.setAttribute('data-styles', '');
@@ -1588,7 +1679,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1588
1679
  // Process deferred connectedCallbacks now all components have been registered
1589
1680
  isBootstrapping = false;
1590
1681
  if (deferredConnectedCallbacks.length) {
1591
- deferredConnectedCallbacks.map(host => host.connectedCallback());
1682
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1592
1683
  }
1593
1684
  else {
1594
1685
  {
@@ -1609,10 +1700,10 @@ const registerHost = (elm, cmpMeta) => {
1609
1700
  $instanceValues$: new Map(),
1610
1701
  };
1611
1702
  {
1612
- hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
1703
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1613
1704
  }
1614
1705
  {
1615
- hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
1706
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1616
1707
  elm['s-p'] = [];
1617
1708
  elm['s-rc'] = [];
1618
1709
  }
@@ -1634,7 +1725,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1634
1725
  /* webpackInclude: /\.entry\.js$/ */
1635
1726
  /* webpackExclude: /\.system\.entry\.js$/ */
1636
1727
  /* webpackMode: "lazy" */
1637
- `./${bundleId}.entry.js${''}`)); }).then(importedModule => {
1728
+ `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
1638
1729
  {
1639
1730
  cmpModules.set(bundleId, importedModule);
1640
1731
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.15.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-dee3e21d.js');
3
+ const index = require('./index-ec1433b8.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.15.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('web-components-library.cjs.js', document.baseURI).href));
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
 
7
7
  const stylesCss = ":host{display:block;font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:14px;line-height:calc(var(--space-unit) * 2);color:var(--color-surface05);box-sizing:border-box}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{fill:var(--color-success01);background:var(--color-success-inverse)}:host>.warning{fill:var(--color-warning01);background:var(--color-warning-inverse)}:host>.error{fill:var(--color-error01);background:var(--color-error-inverse)}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
 
7
7
  const stylesCss = ":host{--app-header-height:auto;--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-top-offset:var(var(--app-header-top-offset), 0);--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:baseline;flex-shrink:0;flex-grow:0;width:100%;height:var(--app-header-height);padding:calc(var(--space-unit) * 2) var(--grid-mobile-margin);background:var(--app-header-bg)}:host(:empty) .heading-panel{padding:0}.heading-title{display:flex;flex-direction:row;align-items:center;max-width:100%}:host(:not([menu-length='0'])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}.heading-stucked{position:fixed;top:var(--app-header-top-offset);left:0;z-index:20;display:flex;flex-direction:row;width:100%;max-width:100%;color:var(--app-header-stucked-text-color);padding:var(--space-unit) var(--grid-mobile-margin);background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);animation:slideStuckedHeadingIn 250ms ease-out}.heading-stucked .heading-title,.heading-stucked .heading-title>*,.heading-stucked .heading-title ::slotted([slot='stucked-title']){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.heading-stucked .heading-title>*,::slotted([slot='title']),::slotted([slot='stucked-title']){margin:0;font-weight:700;font-family:'IBM Plex Serif', serif;font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot='title']){line-height:1}::slotted([slot='subtitle']){margin:var(--space-unit) 0 0;font-family:var(--font-family-sans);font-style:italic;font-weight:500;font-size:20px;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;max-width:100%;margin-right:auto}.menu-container{display:none;flex-direction:row;flex-wrap:wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{margin:0 calc(var(--space-unit) * 1.5) 0 0;padding:0;background:none;border:0;border-radius:0;color:inherit;appearance:none;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentColor}.drawer-container{position:fixed;top:var(--app-header-top-offset);left:0;width:100%;height:100%;z-index:100;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:block;background:var(--gray900);opacity:0;transition:opacity 400ms ease-out;pointer-events:none}.drawer-panel{position:absolute;top:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:375px;max-width:100%;height:100%;padding:calc(var(--space-unit) * 2) var(--space-unit);background:var(--color-white);color:var(--gray800);transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out;pointer-events:none}.drawer-content{display:flex;flex-direction:column;flex:1 auto;width:100%;padding:calc(var(--space-unit) * 0.5) var(--space-unit);overflow:auto}.drawer-content::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-track{background-color:transparent}.drawer-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.drawer-content ::slotted(z-menu){width:100%}.drawer-content ::slotted(z-menu:not(:last-of-type)){margin-bottom:calc(var(--space-unit) * 2.5)}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);margin:0 0 calc(var(--space-unit) * 2.5) var(--space-unit);padding:0;font-size:inherit;background:transparent;color:inherit;fill:currentColor;border:0;border-radius:0;appearance:none;cursor:pointer;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{transform:none;pointer-events:all}.hero-container{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu:not([open])){--color-surface05:var(--color-white)}:host([overlay]) .hero-container::after{content:'';position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;background:var(--color-black);opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media only screen and (min-width: 768px){.heading-panel{padding:calc(var(--space-unit) * 3) var(--grid-tablet-margin)}.heading-stucked{padding-left:var(--grid-tablet-margin);padding-right:var(--grid-tablet-margin)}:host(:not([flow='offcanvas'])) .heading-subtitle{padding-left:0}:host(:not([flow='offcanvas'])) .menu-container{display:flex}:host(:not([flow='offcanvas'])) .heading-container .drawer-trigger{display:none}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}::slotted([slot='title']){font-size:var(--app-header-typography-6-size);letter-spacing:var(--app-header-typography-6-tracking)}::slotted([slot='subtitle']){margin-top:calc(var(--space-unit) * 1.5)}}@media only screen and (min-width: 1152px){.heading-panel,.heading-stucked{padding-left:var(--grid-desktop-margin);padding-right:var(--grid-desktop-margin)}:host(:not([flow='stack'])) .heading-panel{flex-direction:row;flex-wrap:wrap}::slotted([slot='title']){font-size:var(--app-header-typography-7-size);letter-spacing:var(--app-header-typography-7-tracking);margin-right:var(--grid-desktop-gutter)}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media only screen and (min-width: 1366px){.heading-panel,.heading-stucked{padding-left:var(--grid-wide-margin);padding-right:var(--grid-wide-margin)}::slotted([slot='title']){font-size:var(--app-header-typography-9-size);letter-spacing:var(--app-header-typography-9-tracking);margin-right:var(--grid-wide-gutter)}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:0}}@keyframes slideStuckedHeadingIn{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
  const index$1 = require('./index-15dc9f49.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
  const index$2 = require('./index-9651dba8.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
  const index$1 = require('./index-15dc9f49.js');
7
7
 
8
8
  const ZAriaAlert = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
  const index$1 = require('./index-15dc9f49.js');
7
7
 
8
8
  const stylesCss = ":host{font-family:var(--font-family-sans);background-color:var(--bg-grey-700);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;text-transform:uppercase}:host(.small),:host(.small)>img{height:calc(var(--space-unit) * 3);width:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{height:calc(var(--space-unit) * 4);width:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{height:calc(var(--space-unit) * 5);width:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
 
7
7
  const ZBody = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
  const index$1 = require('./index-15dc9f49.js');
7
7
  const utils = require('./utils-50477402.js');
8
8
  require('./breakpoints-88c4fd6c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
  const breakpoints = require('./breakpoints-88c4fd6c.js');
7
7
 
8
8
  const stylesCss = ":host,button{max-width:100%}button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);outline:none;padding:0 var(--space-unit);cursor:pointer}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{cursor:pointer;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;display:flex;align-items:center}button>label>span.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;padding:0}button>label>span.counter{margin-left:calc(var(--space-unit) / 2);margin-right:calc(var(--space-unit) * 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;margin-right:calc(var(--space-unit) * 0.5)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-ec1433b8.js');
6
6
 
7
7
  const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center}:host>div{position:fixed;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;top:30vh;max-width:297px;height:fit-content;min-height:232px;z-index:1000;margin:auto;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * .5);box-shadow:0px -2px 4px 0px rgba(66, 69, 72, 0.4)}@media only screen and (min-width: 768px){:host>div{position:initial;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:stretch;position:fixed;top:auto;bottom:0;margin:0 auto;left:0;right:0;height:auto;min-height:138px;max-width:100%;border-radius:0px}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";
8
8