@zanichelli/albe-web-components 2.39.0 → 2.40.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 (410) hide show
  1. package/CHANGELOG.md +1368 -0
  2. package/dist/cjs/{index-dcab1bda.js → index-25206491.js} +10 -0
  3. package/dist/cjs/{index-ec1433b8.js → index-e826b4ad.js} +91 -179
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/{utils-971854fc.js → utils-6410fc7d.js} +3 -3
  7. package/dist/cjs/web-components-library.cjs.js +3 -3
  8. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-switcher.cjs.entry.js +2 -2
  11. package/dist/cjs/z-app-topbar.cjs.entry.js +2 -2
  12. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  13. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  14. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  15. package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
  16. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  17. package/dist/cjs/z-button.cjs.entry.js +4 -3
  18. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  19. package/dist/cjs/z-card.cjs.entry.js +2 -2
  20. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  21. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  22. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  23. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  24. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  25. package/dist/cjs/z-divider.cjs.entry.js +2 -2
  26. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +49 -0
  27. package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
  28. package/dist/cjs/z-file.cjs.entry.js +53 -0
  29. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  30. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  32. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  33. package/dist/cjs/z-icon.cjs.entry.js +1 -1
  34. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  35. package/dist/cjs/z-link.cjs.entry.js +1 -1
  36. package/dist/cjs/z-list_3.cjs.entry.js +2 -2
  37. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  39. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  40. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  42. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  43. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  46. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  50. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  51. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  52. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  53. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  54. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  56. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  57. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  58. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  59. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  60. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  61. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  62. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  63. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  64. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  65. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  66. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  67. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  68. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  69. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  70. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  71. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  72. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  73. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  75. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  76. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  77. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table.cjs.entry.js +2 -2
  79. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  80. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  81. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  82. package/dist/cjs/z-toggle-switch.cjs.entry.js +42 -0
  83. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  84. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  85. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  86. package/dist/collection/beans/index.js +10 -0
  87. package/dist/collection/collection-manifest.json +6 -2
  88. package/dist/collection/components/buttons/z-button/index.js +4 -3
  89. package/dist/collection/components/buttons/z-toggle-switch/index.js +136 -0
  90. package/dist/collection/components/buttons/z-toggle-switch/styles.css +115 -0
  91. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
  92. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
  93. package/dist/collection/components/file-upload/z-file/index.js +108 -0
  94. package/dist/collection/components/file-upload/z-file/styles.css +61 -0
  95. package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
  96. package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
  97. package/dist/collection/components/navigation/z-menu/index.js +4 -4
  98. package/dist/collection/components/notification/z-tooltip/index.js +2 -2
  99. package/dist/collection/utils/utils.js +2 -2
  100. package/dist/esm/{index-1877eca4.js → index-8782dff4.js} +91 -179
  101. package/dist/esm/{index-6b86a3f1.js → index-cca2b0d2.js} +11 -1
  102. package/dist/esm/index.js +2 -2
  103. package/dist/esm/loader.js +3 -3
  104. package/dist/esm/polyfills/css-shim.js +1 -1
  105. package/dist/esm/{utils-351595e0.js → utils-cdd5a909.js} +3 -3
  106. package/dist/esm/web-components-library.js +3 -3
  107. package/dist/esm/z-alert.entry.js +1 -1
  108. package/dist/esm/z-app-header.entry.js +1 -1
  109. package/dist/esm/z-app-switcher.entry.js +2 -2
  110. package/dist/esm/z-app-topbar.entry.js +2 -2
  111. package/dist/esm/z-aria-alert.entry.js +2 -2
  112. package/dist/esm/z-avatar.entry.js +2 -2
  113. package/dist/esm/z-body_2.entry.js +1 -1
  114. package/dist/esm/z-button-filter_5.entry.js +3 -3
  115. package/dist/esm/z-button-sort.entry.js +1 -1
  116. package/dist/esm/z-button.entry.js +4 -3
  117. package/dist/esm/z-candybar.entry.js +1 -1
  118. package/dist/esm/z-card.entry.js +2 -2
  119. package/dist/esm/z-carousel.entry.js +1 -1
  120. package/dist/esm/z-chip.entry.js +2 -2
  121. package/dist/esm/z-combobox.entry.js +3 -3
  122. package/dist/esm/z-contextual-menu.entry.js +2 -2
  123. package/dist/esm/z-cookiebar.entry.js +2 -2
  124. package/dist/esm/z-divider.entry.js +2 -2
  125. package/dist/esm/z-dragdrop-area_2.entry.js +44 -0
  126. package/dist/esm/z-file-upload.entry.js +165 -0
  127. package/dist/esm/z-file.entry.js +49 -0
  128. package/dist/esm/z-footer-link_3.entry.js +1 -1
  129. package/dist/esm/z-footer.entry.js +2 -2
  130. package/dist/esm/z-ghost-loading.entry.js +1 -1
  131. package/dist/esm/z-icon-package.entry.js +1 -1
  132. package/dist/esm/z-icon.entry.js +1 -1
  133. package/dist/esm/z-info-box.entry.js +1 -1
  134. package/dist/esm/z-link.entry.js +1 -1
  135. package/dist/esm/z-list_3.entry.js +2 -2
  136. package/dist/esm/z-logo.entry.js +1 -1
  137. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  138. package/dist/esm/z-menu-section.entry.js +1 -1
  139. package/dist/esm/z-menu.entry.js +1 -1
  140. package/dist/esm/z-messages-pocket.entry.js +2 -2
  141. package/dist/esm/z-modal-login.entry.js +2 -2
  142. package/dist/esm/z-modal.entry.js +1 -1
  143. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  144. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  145. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  146. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  147. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  148. package/dist/esm/z-myz-card-info.entry.js +3 -3
  149. package/dist/esm/z-myz-card-list.entry.js +1 -1
  150. package/dist/esm/z-myz-card_4.entry.js +2 -2
  151. package/dist/esm/z-myz-list-item.entry.js +3 -3
  152. package/dist/esm/z-myz-topbar.entry.js +2 -2
  153. package/dist/esm/z-navigation-tab.entry.js +1 -1
  154. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  155. package/dist/esm/z-notification.entry.js +2 -2
  156. package/dist/esm/z-otp.entry.js +2 -2
  157. package/dist/esm/z-pagination-bar.entry.js +3 -3
  158. package/dist/esm/z-pagination-page.entry.js +1 -1
  159. package/dist/esm/z-panel-elem.entry.js +1 -1
  160. package/dist/esm/z-pocket-message.entry.js +1 -1
  161. package/dist/esm/z-pocket_3.entry.js +3 -3
  162. package/dist/esm/z-popover.entry.js +3 -3
  163. package/dist/esm/z-slideshow.entry.js +3 -3
  164. package/dist/esm/z-status-tag.entry.js +2 -2
  165. package/dist/esm/z-stepper-item.entry.js +1 -1
  166. package/dist/esm/z-stepper.entry.js +1 -1
  167. package/dist/esm/z-table-body.entry.js +1 -1
  168. package/dist/esm/z-table-cell.entry.js +2 -2
  169. package/dist/esm/z-table-empty-box.entry.js +1 -1
  170. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  171. package/dist/esm/z-table-footer.entry.js +1 -1
  172. package/dist/esm/z-table-head.entry.js +1 -1
  173. package/dist/esm/z-table-header-row.entry.js +1 -1
  174. package/dist/esm/z-table-header.entry.js +3 -3
  175. package/dist/esm/z-table-row.entry.js +2 -2
  176. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  177. package/dist/esm/z-table.entry.js +2 -2
  178. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  179. package/dist/esm/z-toast-notification.entry.js +2 -2
  180. package/dist/esm/z-toggle-button.entry.js +1 -1
  181. package/dist/esm/z-toggle-switch.entry.js +38 -0
  182. package/dist/esm/z-tooltip.entry.js +2 -2
  183. package/dist/esm/z-user-dropdown.entry.js +1 -1
  184. package/dist/esm/z-visually-hidden.entry.js +1 -1
  185. package/dist/types/beans/index.d.ts +8 -0
  186. package/dist/types/components/buttons/z-button/index.d.ts +2 -1
  187. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +12 -0
  188. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
  189. package/dist/types/components/file-upload/z-file/index.d.ts +17 -0
  190. package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
  191. package/dist/types/components.d.ts +124 -1
  192. package/dist/types/stencil-public-runtime.d.ts +186 -189
  193. package/dist/web-components-library/index.esm.js +1 -1
  194. package/{www/build/p-8f26022a.entry.js → dist/web-components-library/p-006a91ce.entry.js} +1 -1
  195. package/dist/web-components-library/{p-cdf09ad7.entry.js → p-016c1fd4.entry.js} +1 -1
  196. package/dist/web-components-library/{p-f8a4f737.entry.js → p-031de7f3.entry.js} +1 -1
  197. package/dist/web-components-library/p-0e7fe7c1.js +1 -0
  198. package/dist/web-components-library/{p-c118e071.entry.js → p-117c6e89.entry.js} +1 -1
  199. package/dist/web-components-library/p-11d4e9b7.entry.js +1 -0
  200. package/dist/web-components-library/{p-b3e1e83b.entry.js → p-13a0a93a.entry.js} +1 -1
  201. package/dist/web-components-library/{p-41517a90.entry.js → p-13abb76e.entry.js} +1 -1
  202. package/dist/web-components-library/{p-89949594.entry.js → p-152f95de.entry.js} +1 -1
  203. package/dist/web-components-library/{p-0293d6c6.entry.js → p-18d36e2e.entry.js} +1 -1
  204. package/dist/web-components-library/{p-779bc51a.entry.js → p-1a6b8d43.entry.js} +1 -1
  205. package/dist/web-components-library/p-1acbd992.js +1 -0
  206. package/dist/web-components-library/{p-83e0e68a.entry.js → p-1c66e50c.entry.js} +1 -1
  207. package/dist/web-components-library/{p-49d7eb82.entry.js → p-1c7ed895.entry.js} +1 -1
  208. package/dist/web-components-library/{p-2c324620.entry.js → p-1f439216.entry.js} +1 -1
  209. package/dist/web-components-library/{p-f78ddbf1.entry.js → p-22e61c79.entry.js} +1 -1
  210. package/dist/web-components-library/{p-e7539b9d.entry.js → p-277f19e8.entry.js} +1 -1
  211. package/dist/web-components-library/{p-b4bc83ea.entry.js → p-2d45e45e.entry.js} +1 -1
  212. package/dist/web-components-library/{p-d1d26026.entry.js → p-335768cc.entry.js} +1 -1
  213. package/dist/web-components-library/{p-57aaa3d2.entry.js → p-3504da90.entry.js} +1 -1
  214. package/dist/web-components-library/{p-1bd60c44.entry.js → p-3830db49.entry.js} +1 -1
  215. package/dist/web-components-library/{p-b87c4984.entry.js → p-39a787af.entry.js} +1 -1
  216. package/dist/web-components-library/p-42d64757.js +1 -0
  217. package/dist/web-components-library/{p-0b6bd214.entry.js → p-431d0295.entry.js} +1 -1
  218. package/dist/web-components-library/p-4ce434aa.entry.js +1 -0
  219. package/dist/web-components-library/{p-9df8c36c.entry.js → p-51957070.entry.js} +1 -1
  220. package/dist/web-components-library/p-5ff0b130.entry.js +1 -0
  221. package/dist/web-components-library/{p-d8b37ea2.entry.js → p-6043d78f.entry.js} +1 -1
  222. package/dist/web-components-library/{p-ba6d55cb.entry.js → p-621a7fac.entry.js} +1 -1
  223. package/dist/web-components-library/{p-2cc0c93f.entry.js → p-68fab13e.entry.js} +1 -1
  224. package/dist/web-components-library/{p-feef02c7.entry.js → p-6a4dfee8.entry.js} +1 -1
  225. package/dist/web-components-library/p-7076e9fd.entry.js +1 -0
  226. package/{www/build/p-91d423bd.entry.js → dist/web-components-library/p-70c7f657.entry.js} +1 -1
  227. package/dist/web-components-library/p-73e8c323.entry.js +1 -0
  228. package/dist/web-components-library/{p-7d57c388.entry.js → p-7dcda694.entry.js} +1 -1
  229. package/dist/web-components-library/{p-c7584987.entry.js → p-7f866d57.entry.js} +1 -1
  230. package/{www/build/p-f0a75232.entry.js → dist/web-components-library/p-823cbb37.entry.js} +1 -1
  231. package/dist/web-components-library/{p-1189fec8.entry.js → p-824875b4.entry.js} +1 -1
  232. package/dist/web-components-library/{p-a56f935f.entry.js → p-836d2cb2.entry.js} +1 -1
  233. package/dist/web-components-library/{p-7e13c57d.entry.js → p-8497f556.entry.js} +1 -1
  234. package/dist/web-components-library/p-84f934a8.entry.js +1 -0
  235. package/dist/web-components-library/{p-4c25dc1d.entry.js → p-8741a278.entry.js} +1 -1
  236. package/dist/web-components-library/{p-17859c28.entry.js → p-8c298051.entry.js} +1 -1
  237. package/dist/web-components-library/p-8ed29309.entry.js +1 -0
  238. package/dist/web-components-library/{p-4b756d6a.entry.js → p-8fe1b60c.entry.js} +1 -1
  239. package/dist/web-components-library/{p-c3ef3d38.entry.js → p-95b95a4c.entry.js} +1 -1
  240. package/dist/web-components-library/{p-bbc60b23.entry.js → p-97c04e0c.entry.js} +1 -1
  241. package/{www/build/p-5fb435ca.entry.js → dist/web-components-library/p-99f59836.entry.js} +1 -1
  242. package/dist/web-components-library/{p-761eb0ec.entry.js → p-99f91860.entry.js} +1 -1
  243. package/{www/build/p-684530fa.entry.js → dist/web-components-library/p-9b4f979f.entry.js} +1 -1
  244. package/{www/build/p-c32cfd08.entry.js → dist/web-components-library/p-a0fef4f3.entry.js} +1 -1
  245. package/dist/web-components-library/{p-f1b20cc1.entry.js → p-a3792cf0.entry.js} +1 -1
  246. package/dist/web-components-library/{p-7047472a.entry.js → p-a3820e7d.entry.js} +1 -1
  247. package/dist/web-components-library/p-a4b2df38.entry.js +1 -0
  248. package/dist/web-components-library/{p-552b4f1d.entry.js → p-a5460f1e.entry.js} +1 -1
  249. package/dist/web-components-library/{p-7359f441.entry.js → p-a73f0693.entry.js} +1 -1
  250. package/dist/web-components-library/{p-dbbae18b.entry.js → p-b0027b69.entry.js} +1 -1
  251. package/dist/web-components-library/p-b10f1aaa.entry.js +1 -0
  252. package/dist/web-components-library/{p-af9c81d0.entry.js → p-b1e3a655.entry.js} +1 -1
  253. package/dist/web-components-library/{p-09ded8b4.entry.js → p-b1e6a2ae.entry.js} +1 -1
  254. package/dist/web-components-library/{p-b240dbda.entry.js → p-c1a7b740.entry.js} +1 -1
  255. package/{www/build/p-04daa863.entry.js → dist/web-components-library/p-c277d035.entry.js} +1 -1
  256. package/dist/web-components-library/{p-bd8a9e22.entry.js → p-cddc1de0.entry.js} +1 -1
  257. package/dist/web-components-library/{p-45cbf885.entry.js → p-d1432a24.entry.js} +1 -1
  258. package/dist/web-components-library/{p-979882a5.entry.js → p-d1a0cb4c.entry.js} +1 -1
  259. package/dist/web-components-library/{p-8aa42057.entry.js → p-d338e5a9.entry.js} +1 -1
  260. package/dist/web-components-library/{p-620511a7.entry.js → p-d943ee16.entry.js} +1 -1
  261. package/dist/web-components-library/{p-12143979.entry.js → p-d950fcf8.entry.js} +1 -1
  262. package/dist/web-components-library/{p-73049484.entry.js → p-d9a14771.entry.js} +1 -1
  263. package/dist/web-components-library/{p-045609ec.entry.js → p-daec8d7f.entry.js} +1 -1
  264. package/dist/web-components-library/{p-3135d14b.entry.js → p-db1508ed.entry.js} +1 -1
  265. package/dist/web-components-library/p-db38494e.entry.js +1 -0
  266. package/dist/web-components-library/{p-ebbd95f1.entry.js → p-e4739505.entry.js} +1 -1
  267. package/dist/web-components-library/{p-f59db8b2.entry.js → p-e5c89d9f.entry.js} +1 -1
  268. package/dist/web-components-library/{p-40e6d79d.entry.js → p-e8305a91.entry.js} +1 -1
  269. package/dist/web-components-library/p-e88726bc.entry.js +1 -0
  270. package/dist/web-components-library/{p-b9da6425.entry.js → p-ee19d602.entry.js} +1 -1
  271. package/dist/web-components-library/{p-0b4b058a.entry.js → p-ee432245.entry.js} +1 -1
  272. package/dist/web-components-library/{p-d2848d7c.entry.js → p-f4062940.entry.js} +1 -1
  273. package/dist/web-components-library/{p-a61ea96d.entry.js → p-f6bfde21.entry.js} +1 -1
  274. package/dist/web-components-library/{p-96675782.entry.js → p-fc23b15f.entry.js} +1 -1
  275. package/dist/web-components-library/web-components-library.css +1 -1
  276. package/dist/web-components-library/web-components-library.esm.js +1 -1
  277. package/loader/index.d.ts +1 -0
  278. package/package.json +1 -1
  279. package/react/components.d.ts +4 -0
  280. package/react/components.js +6 -2
  281. package/react/components.js.map +1 -1
  282. package/react/react-component-lib/createComponent.d.ts +1 -1
  283. package/react/react-component-lib/createComponent.js +10 -42
  284. package/react/react-component-lib/createComponent.js.map +1 -1
  285. package/react/react-component-lib/createOverlayComponent.d.ts +4 -5
  286. package/react/react-component-lib/createOverlayComponent.js +8 -28
  287. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  288. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  289. package/react/react-component-lib/utils/attachProps.js +12 -14
  290. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  291. package/react/react-component-lib/utils/index.d.ts +1 -4
  292. package/react/react-component-lib/utils/index.js +5 -20
  293. package/react/react-component-lib/utils/index.js.map +1 -1
  294. package/src-react/index.ts +1 -0
  295. package/www/build/index.esm.js +1 -1
  296. package/{dist/web-components-library/p-8f26022a.entry.js → www/build/p-006a91ce.entry.js} +1 -1
  297. package/www/build/{p-cdf09ad7.entry.js → p-016c1fd4.entry.js} +1 -1
  298. package/www/build/{p-f8a4f737.entry.js → p-031de7f3.entry.js} +1 -1
  299. package/www/build/p-0e7fe7c1.js +1 -0
  300. package/www/build/{p-c118e071.entry.js → p-117c6e89.entry.js} +1 -1
  301. package/www/build/p-11d4e9b7.entry.js +1 -0
  302. package/www/build/{p-b3e1e83b.entry.js → p-13a0a93a.entry.js} +1 -1
  303. package/www/build/{p-41517a90.entry.js → p-13abb76e.entry.js} +1 -1
  304. package/www/build/{p-89949594.entry.js → p-152f95de.entry.js} +1 -1
  305. package/www/build/{p-0293d6c6.entry.js → p-18d36e2e.entry.js} +1 -1
  306. package/www/build/{p-779bc51a.entry.js → p-1a6b8d43.entry.js} +1 -1
  307. package/www/build/p-1acbd992.js +1 -0
  308. package/www/build/{p-83e0e68a.entry.js → p-1c66e50c.entry.js} +1 -1
  309. package/www/build/{p-49d7eb82.entry.js → p-1c7ed895.entry.js} +1 -1
  310. package/www/build/{p-2c324620.entry.js → p-1f439216.entry.js} +1 -1
  311. package/www/build/{p-f78ddbf1.entry.js → p-22e61c79.entry.js} +1 -1
  312. package/www/build/{p-e7539b9d.entry.js → p-277f19e8.entry.js} +1 -1
  313. package/www/build/{p-b4bc83ea.entry.js → p-2d45e45e.entry.js} +1 -1
  314. package/www/build/{p-d1d26026.entry.js → p-335768cc.entry.js} +1 -1
  315. package/www/build/{p-57aaa3d2.entry.js → p-3504da90.entry.js} +1 -1
  316. package/www/build/{p-1bd60c44.entry.js → p-3830db49.entry.js} +1 -1
  317. package/www/build/{p-b87c4984.entry.js → p-39a787af.entry.js} +1 -1
  318. package/www/build/p-42d64757.js +1 -0
  319. package/www/build/{p-0b6bd214.entry.js → p-431d0295.entry.js} +1 -1
  320. package/www/build/p-4ce434aa.entry.js +1 -0
  321. package/www/build/{p-9df8c36c.entry.js → p-51957070.entry.js} +1 -1
  322. package/www/build/p-5ff0b130.entry.js +1 -0
  323. package/www/build/{p-d8b37ea2.entry.js → p-6043d78f.entry.js} +1 -1
  324. package/www/build/{p-ba6d55cb.entry.js → p-621a7fac.entry.js} +1 -1
  325. package/www/build/{p-2cc0c93f.entry.js → p-68fab13e.entry.js} +1 -1
  326. package/www/build/{p-feef02c7.entry.js → p-6a4dfee8.entry.js} +1 -1
  327. package/www/build/p-7076e9fd.entry.js +1 -0
  328. package/{dist/web-components-library/p-91d423bd.entry.js → www/build/p-70c7f657.entry.js} +1 -1
  329. package/www/build/p-73e8c323.entry.js +1 -0
  330. package/www/build/{p-7d57c388.entry.js → p-7dcda694.entry.js} +1 -1
  331. package/www/build/{p-c7584987.entry.js → p-7f866d57.entry.js} +1 -1
  332. package/www/build/p-7fab4941.js +122 -0
  333. package/{dist/web-components-library/p-f0a75232.entry.js → www/build/p-823cbb37.entry.js} +1 -1
  334. package/www/build/{p-1189fec8.entry.js → p-824875b4.entry.js} +1 -1
  335. package/www/build/{p-a56f935f.entry.js → p-836d2cb2.entry.js} +1 -1
  336. package/www/build/{p-7e13c57d.entry.js → p-8497f556.entry.js} +1 -1
  337. package/www/build/p-84f934a8.entry.js +1 -0
  338. package/www/build/{p-4c25dc1d.entry.js → p-8741a278.entry.js} +1 -1
  339. package/www/build/{p-17859c28.entry.js → p-8c298051.entry.js} +1 -1
  340. package/www/build/p-8ed29309.entry.js +1 -0
  341. package/www/build/{p-4b756d6a.entry.js → p-8fe1b60c.entry.js} +1 -1
  342. package/www/build/{p-c3ef3d38.entry.js → p-95b95a4c.entry.js} +1 -1
  343. package/www/build/p-97a11655.css +789 -0
  344. package/www/build/{p-bbc60b23.entry.js → p-97c04e0c.entry.js} +1 -1
  345. package/{dist/web-components-library/p-5fb435ca.entry.js → www/build/p-99f59836.entry.js} +1 -1
  346. package/www/build/{p-761eb0ec.entry.js → p-99f91860.entry.js} +1 -1
  347. package/{dist/web-components-library/p-684530fa.entry.js → www/build/p-9b4f979f.entry.js} +1 -1
  348. package/{dist/web-components-library/p-c32cfd08.entry.js → www/build/p-a0fef4f3.entry.js} +1 -1
  349. package/www/build/{p-f1b20cc1.entry.js → p-a3792cf0.entry.js} +1 -1
  350. package/www/build/{p-7047472a.entry.js → p-a3820e7d.entry.js} +1 -1
  351. package/www/build/p-a4b2df38.entry.js +1 -0
  352. package/www/build/{p-552b4f1d.entry.js → p-a5460f1e.entry.js} +1 -1
  353. package/www/build/{p-7359f441.entry.js → p-a73f0693.entry.js} +1 -1
  354. package/www/build/{p-dbbae18b.entry.js → p-b0027b69.entry.js} +1 -1
  355. package/www/build/p-b10f1aaa.entry.js +1 -0
  356. package/www/build/{p-af9c81d0.entry.js → p-b1e3a655.entry.js} +1 -1
  357. package/www/build/{p-09ded8b4.entry.js → p-b1e6a2ae.entry.js} +1 -1
  358. package/www/build/{p-b240dbda.entry.js → p-c1a7b740.entry.js} +1 -1
  359. package/{dist/web-components-library/p-04daa863.entry.js → www/build/p-c277d035.entry.js} +1 -1
  360. package/www/build/{p-bd8a9e22.entry.js → p-cddc1de0.entry.js} +1 -1
  361. package/www/build/{p-45cbf885.entry.js → p-d1432a24.entry.js} +1 -1
  362. package/www/build/{p-979882a5.entry.js → p-d1a0cb4c.entry.js} +1 -1
  363. package/www/build/{p-8aa42057.entry.js → p-d338e5a9.entry.js} +1 -1
  364. package/www/build/{p-620511a7.entry.js → p-d943ee16.entry.js} +1 -1
  365. package/www/build/{p-12143979.entry.js → p-d950fcf8.entry.js} +1 -1
  366. package/www/build/{p-73049484.entry.js → p-d9a14771.entry.js} +1 -1
  367. package/www/build/{p-045609ec.entry.js → p-daec8d7f.entry.js} +1 -1
  368. package/www/build/{p-3135d14b.entry.js → p-db1508ed.entry.js} +1 -1
  369. package/www/build/p-db38494e.entry.js +1 -0
  370. package/www/build/{p-ebbd95f1.entry.js → p-e4739505.entry.js} +1 -1
  371. package/www/build/{p-f59db8b2.entry.js → p-e5c89d9f.entry.js} +1 -1
  372. package/www/build/{p-40e6d79d.entry.js → p-e8305a91.entry.js} +1 -1
  373. package/www/build/p-e88726bc.entry.js +1 -0
  374. package/www/build/{p-b9da6425.entry.js → p-ee19d602.entry.js} +1 -1
  375. package/www/build/{p-0b4b058a.entry.js → p-ee432245.entry.js} +1 -1
  376. package/www/build/{p-d2848d7c.entry.js → p-f4062940.entry.js} +1 -1
  377. package/www/build/{p-a61ea96d.entry.js → p-f6bfde21.entry.js} +1 -1
  378. package/www/build/{p-96675782.entry.js → p-fc23b15f.entry.js} +1 -1
  379. package/www/build/web-components-library.css +1 -1
  380. package/www/build/web-components-library.esm.js +1 -1
  381. package/www/build/web-components-library.js +1 -1
  382. package/www/index.html +1 -1
  383. package/www/pages/file-upload.html +236 -0
  384. package/dist/cjs/z-heading.cjs.entry.js +0 -17
  385. package/dist/esm/z-heading.entry.js +0 -13
  386. package/dist/web-components-library/p-1e16738e.entry.js +0 -1
  387. package/dist/web-components-library/p-2e29b4b0.entry.js +0 -1
  388. package/dist/web-components-library/p-3bbf16c8.entry.js +0 -1
  389. package/dist/web-components-library/p-474972e4.entry.js +0 -1
  390. package/dist/web-components-library/p-56640ea6.js +0 -1
  391. package/dist/web-components-library/p-6934ea47.js +0 -1
  392. package/dist/web-components-library/p-8c708c19.entry.js +0 -1
  393. package/dist/web-components-library/p-c273c377.entry.js +0 -1
  394. package/dist/web-components-library/p-d945c8d2.js +0 -1
  395. package/dist/web-components-library/p-f9e401fa.entry.js +0 -1
  396. package/dist/web-components-library/p-ffa7d612.entry.js +0 -1
  397. package/www/assets/favicon.png +0 -0
  398. package/www/build/p-1e16738e.entry.js +0 -1
  399. package/www/build/p-2e29b4b0.entry.js +0 -1
  400. package/www/build/p-3bbf16c8.entry.js +0 -1
  401. package/www/build/p-474972e4.entry.js +0 -1
  402. package/www/build/p-56640ea6.js +0 -1
  403. package/www/build/p-6934ea47.js +0 -1
  404. package/www/build/p-88b56b6e.css +0 -1
  405. package/www/build/p-8c708c19.entry.js +0 -1
  406. package/www/build/p-c273c377.entry.js +0 -1
  407. package/www/build/p-d945c8d2.js +0 -1
  408. package/www/build/p-d967336b.js +0 -1
  409. package/www/build/p-f9e401fa.entry.js +0 -1
  410. package/www/build/p-ffa7d612.entry.js +0 -1
@@ -13,8 +13,8 @@ const doc = win.document || { head: {} };
13
13
  const plt = {
14
14
  $flags$: 0,
15
15
  $resourcesUrl$: '',
16
- jmp: (h) => h(),
17
- raf: (h) => requestAnimationFrame(h),
16
+ jmp: h => h(),
17
+ raf: h => requestAnimationFrame(h),
18
18
  ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
19
19
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
20
20
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
@@ -23,7 +23,7 @@ const promiseResolve = (v) => Promise.resolve(v);
23
23
  const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
24
24
  try {
25
25
  new CSSStyleSheet();
26
- return typeof new CSSStyleSheet().replace === 'function';
26
+ return typeof (new CSSStyleSheet()).replace === 'function';
27
27
  }
28
28
  catch (e) { }
29
29
  return false;
@@ -226,7 +226,7 @@ const h = (nodeName, vnodeData, ...children) => {
226
226
  typeof classData !== 'object'
227
227
  ? classData
228
228
  : Object.keys(classData)
229
- .filter((k) => classData[k])
229
+ .filter(k => classData[k])
230
230
  .join(' ');
231
231
  }
232
232
  }
@@ -281,8 +281,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
281
281
  const classList = elm.classList;
282
282
  const oldClasses = parseClassList(oldValue);
283
283
  const newClasses = parseClassList(newValue);
284
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
285
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
284
+ classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
285
+ classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
286
286
  }
287
287
  else if (memberName === 'style') {
288
288
  // update style attribute, css properties and values
@@ -317,9 +317,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
317
317
  newValue(elm);
318
318
  }
319
319
  }
320
- else if ((!isProp ) &&
321
- memberName[0] === 'o' &&
322
- memberName[1] === 'n') {
320
+ else if ((!isProp ) && memberName[0] === 'o' && memberName[1] === 'n') {
323
321
  // Event Handlers
324
322
  // so if the member name starts with "on" and the 3rd characters is
325
323
  // a capital letter, and it's not already a member on the element,
@@ -366,6 +364,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
366
364
  // Workaround for Safari, moving the <input> caret when re-assigning the same valued
367
365
  if (memberName === 'list') {
368
366
  isProp = false;
367
+ // tslint:disable-next-line: triple-equals
369
368
  }
370
369
  else if (oldValue == null || elm[memberName] != n) {
371
370
  elm[memberName] = n;
@@ -419,9 +418,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
419
418
  // if the element passed in is a shadow root, which is a document fragment
420
419
  // then we want to be adding attrs/props to the shadow root's "host" element
421
420
  // if it's not a shadow root, then we add attrs/props to the same element
422
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
423
- ? newVnode.$elm$.host
424
- : newVnode.$elm$;
421
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
425
422
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
426
423
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
427
424
  {
@@ -465,17 +462,14 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
465
462
  }
466
463
  else if (newVNode.$flags$ & 1 /* isSlotReference */) {
467
464
  // create a slot reference node
468
- elm = newVNode.$elm$ =
469
- doc.createTextNode('');
465
+ elm = newVNode.$elm$ = doc.createTextNode('');
470
466
  }
471
467
  else {
472
468
  if (!isSvgMode) {
473
469
  isSvgMode = newVNode.$tag$ === 'svg';
474
470
  }
475
471
  // create element
476
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
477
- ? 'slot-fb'
478
- : newVNode.$tag$)
472
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */ ? 'slot-fb' : newVNode.$tag$)
479
473
  );
480
474
  if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
481
475
  isSvgMode = false;
@@ -842,7 +836,7 @@ const relocateSlotContent = (elm) => {
842
836
  // that is suppose to always represent the original content location
843
837
  if (isNodeLocatedInSlot(node, slotNameAttr)) {
844
838
  // it's possible we've already decided to relocate this node
845
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
839
+ relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
846
840
  // made some changes to slots
847
841
  // let's make sure we also double check
848
842
  // fallbacks are correctly hidden or shown
@@ -861,9 +855,9 @@ const relocateSlotContent = (elm) => {
861
855
  });
862
856
  }
863
857
  if (node['s-sr']) {
864
- relocateNodes.map((relocateNode) => {
858
+ relocateNodes.map(relocateNode => {
865
859
  if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
866
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
860
+ relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
867
861
  if (relocateNodeData && !relocateNode.$slotRefNode$) {
868
862
  relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
869
863
  }
@@ -871,7 +865,7 @@ const relocateSlotContent = (elm) => {
871
865
  });
872
866
  }
873
867
  }
874
- else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
868
+ else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
875
869
  // so far this element does not have a slot home, not setting slotRefNode on purpose
876
870
  // if we never find a home for this element then we'll need to hide it
877
871
  relocateNodes.push({
@@ -951,8 +945,7 @@ const renderVdom = (hostRef, renderFnResults) => {
951
945
  if (!nodeToRelocate['s-ol']) {
952
946
  // add a reference node marking this node's original location
953
947
  // keep a reference to this node for later lookups
954
- orgLocationNode =
955
- doc.createTextNode('');
948
+ orgLocationNode = doc.createTextNode('');
956
949
  orgLocationNode['s-nr'] = nodeToRelocate;
957
950
  nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
958
951
  }
@@ -976,8 +969,7 @@ const renderVdom = (hostRef, renderFnResults) => {
976
969
  }
977
970
  }
978
971
  }
979
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
980
- nodeToRelocate.nextSibling !== insertBeforeNode) {
972
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) || nodeToRelocate.nextSibling !== insertBeforeNode) {
981
973
  // we've checked that it's worth while to relocate
982
974
  // since that the node to relocate
983
975
  // has a different next sibling or parent relocated
@@ -1023,13 +1015,6 @@ const createEvent = (ref, name, flags) => {
1023
1015
  },
1024
1016
  };
1025
1017
  };
1026
- /**
1027
- * Helper function to create & dispatch a custom Event on a provided target
1028
- * @param elm the target of the Event
1029
- * @param name the name to give the custom Event
1030
- * @param opts options for configuring a custom Event
1031
- * @returns the custom Event
1032
- */
1033
1018
  const emitEvent = (elm, name, opts) => {
1034
1019
  const ev = plt.ce(name, opts);
1035
1020
  elm.dispatchEvent(ev);
@@ -1037,7 +1022,7 @@ const emitEvent = (elm, name, opts) => {
1037
1022
  };
1038
1023
  const attachToAncestor = (hostRef, ancestorComponent) => {
1039
1024
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1040
- ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1025
+ ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
1041
1026
  }
1042
1027
  };
1043
1028
  const scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -1099,7 +1084,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1099
1084
  // ok, so turns out there are some child host elements
1100
1085
  // waiting on this parent element to load
1101
1086
  // let's fire off all update callbacks waiting
1102
- rc.map((cb) => cb());
1087
+ rc.map(cb => cb());
1103
1088
  elm['s-rc'] = undefined;
1104
1089
  }
1105
1090
  endRender();
@@ -1169,6 +1154,9 @@ const postUpdateComponent = (hostRef) => {
1169
1154
  }
1170
1155
  }
1171
1156
  else {
1157
+ {
1158
+ safeCall(instance, 'componentDidUpdate');
1159
+ }
1172
1160
  endPostUpdate();
1173
1161
  }
1174
1162
  {
@@ -1212,31 +1200,7 @@ const safeCall = (instance, method, arg) => {
1212
1200
  const then = (promise, thenFn) => {
1213
1201
  return promise && promise.then ? promise.then(thenFn) : thenFn();
1214
1202
  };
1215
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1216
- ;
1217
- /**
1218
- * Parse a new property value for a given property type.
1219
- *
1220
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1221
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1222
- * 1. `any`, the type given to `propValue` in the function signature
1223
- * 2. the type stored from `propType`.
1224
- *
1225
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1226
- *
1227
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1228
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1229
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1230
- * ```tsx
1231
- * <my-cmp prop-val={0}></my-cmp>
1232
- * ```
1233
- *
1234
- * HTML prop values on the other hand, will always a string
1235
- *
1236
- * @param propValue the new value to coerce to some type
1237
- * @param propType the type of the prop, expressed as a binary number
1238
- * @returns the parsed/coerced value
1239
- */
1203
+ const addHydratedFlag = (elm) => (elm.classList.add('hydrated') );
1240
1204
  const parsePropertyValue = (propValue, propType) => {
1241
1205
  // ensure this value is of the correct prop type
1242
1206
  if (propValue != null && !isComplexType(propValue)) {
@@ -1270,10 +1234,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1270
1234
  const flags = hostRef.$flags$;
1271
1235
  const instance = hostRef.$lazyInstance$ ;
1272
1236
  newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1273
- // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1274
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1275
- const didValueChange = newVal !== oldVal && !areBothNaN;
1276
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1237
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
1277
1238
  // gadzooks! the property's value has changed!!
1278
1239
  // set our new value!
1279
1240
  hostRef.$instanceValues$.set(propName, newVal);
@@ -1283,7 +1244,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1283
1244
  const watchMethods = cmpMeta.$watchers$[propName];
1284
1245
  if (watchMethods) {
1285
1246
  // this instance is watching for when this property changed
1286
- watchMethods.map((watchMethodName) => {
1247
+ watchMethods.map(watchMethodName => {
1287
1248
  try {
1288
1249
  // fire off each of the watch methods that are watching this property
1289
1250
  instance[watchMethodName](newVal, oldVal, propName);
@@ -1313,8 +1274,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1313
1274
  const members = Object.entries(cmpMeta.$members$);
1314
1275
  const prototype = Cstr.prototype;
1315
1276
  members.map(([memberName, [memberFlags]]) => {
1316
- if ((memberFlags & 31 /* Prop */ ||
1317
- ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1277
+ if ((memberFlags & 31 /* Prop */ || ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1318
1278
  // proxyComponent - prop
1319
1279
  Object.defineProperty(prototype, memberName, {
1320
1280
  get() {
@@ -1329,8 +1289,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1329
1289
  enumerable: true,
1330
1290
  });
1331
1291
  }
1332
- else if (flags & 1 /* isElementConstructor */ &&
1333
- memberFlags & 64 /* Method */) {
1292
+ else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1334
1293
  // proxyComponent - method
1335
1294
  Object.defineProperty(prototype, memberName, {
1336
1295
  value(...args) {
@@ -1345,51 +1304,6 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1345
1304
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1346
1305
  plt.jmp(() => {
1347
1306
  const propName = attrNameToPropName.get(attrName);
1348
- // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1349
- // in the case where an attribute was set inline.
1350
- // ```html
1351
- // <my-component some-attribute="some-value"></my-component>
1352
- // ```
1353
- //
1354
- // There is an edge case where a developer sets the attribute inline on a custom element and then
1355
- // programmatically changes it before it has been upgraded as shown below:
1356
- //
1357
- // ```html
1358
- // <!-- this component has _not_ been upgraded yet -->
1359
- // <my-component id="test" some-attribute="some-value"></my-component>
1360
- // <script>
1361
- // // grab non-upgraded component
1362
- // el = document.querySelector("#test");
1363
- // el.someAttribute = "another-value";
1364
- // // upgrade component
1365
- // customElements.define('my-component', MyComponent);
1366
- // </script>
1367
- // ```
1368
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1369
- // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1370
- // to the value that was set inline i.e. "some-value" from above example. When
1371
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1372
- //
1373
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1374
- // by connectedCallback as this attributeChangedCallback will not fire.
1375
- //
1376
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1377
- //
1378
- // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1379
- // properties here given that this goes against best practices outlined here
1380
- // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1381
- if (this.hasOwnProperty(propName)) {
1382
- newValue = this[propName];
1383
- delete this[propName];
1384
- }
1385
- else if (prototype.hasOwnProperty(propName) &&
1386
- typeof this[propName] === 'number' &&
1387
- this[propName] == newValue) {
1388
- // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1389
- // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1390
- // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1391
- return;
1392
- }
1393
1307
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1394
1308
  });
1395
1309
  };
@@ -1426,7 +1340,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1426
1340
  endLoad();
1427
1341
  }
1428
1342
  if (!Cstr.isProxied) {
1429
- // we've never proxied this Constructor before
1343
+ // we'eve never proxied this Constructor before
1430
1344
  // let's add the getters/setters to its prototype before
1431
1345
  // the first time we create an instance of the implementation
1432
1346
  {
@@ -1475,7 +1389,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1475
1389
  const ancestorComponent = hostRef.$ancestorComponent$;
1476
1390
  const schedule = () => scheduleUpdate(hostRef, true);
1477
1391
  if (ancestorComponent && ancestorComponent['s-rc']) {
1478
- // this is the initial load and this component it has an ancestor component
1392
+ // this is the intial load and this component it has an ancestor component
1479
1393
  // but the ancestor component has NOT fired its will update lifecycle yet
1480
1394
  // so let's just cool our jets and wait for the ancestor to continue first
1481
1395
  // this will get fired off when the ancestor component
@@ -1560,7 +1474,7 @@ const disconnectedCallback = (elm) => {
1560
1474
  const instance = hostRef.$lazyInstance$ ;
1561
1475
  {
1562
1476
  if (hostRef.$rmListeners$) {
1563
- hostRef.$rmListeners$.map((rmListener) => rmListener());
1477
+ hostRef.$rmListeners$.map(rmListener => rmListener());
1564
1478
  hostRef.$rmListeners$ = undefined;
1565
1479
  }
1566
1480
  }
@@ -1582,73 +1496,71 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1582
1496
  let isBootstrapping = true;
1583
1497
  Object.assign(plt, options);
1584
1498
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1585
- lazyBundles.map((lazyBundle) => {
1586
- lazyBundle[1].map((compactMeta) => {
1587
- const cmpMeta = {
1588
- $flags$: compactMeta[0],
1589
- $tagName$: compactMeta[1],
1590
- $members$: compactMeta[2],
1591
- $listeners$: compactMeta[3],
1592
- };
1593
- {
1594
- cmpMeta.$members$ = compactMeta[2];
1595
- }
1596
- {
1597
- cmpMeta.$listeners$ = compactMeta[3];
1598
- }
1599
- {
1600
- cmpMeta.$attrsToReflect$ = [];
1601
- }
1602
- {
1603
- cmpMeta.$watchers$ = {};
1604
- }
1605
- const tagName = cmpMeta.$tagName$;
1606
- const HostElement = class extends HTMLElement {
1607
- // StencilLazyHost
1608
- constructor(self) {
1609
- // @ts-ignore
1610
- super(self);
1611
- self = this;
1612
- registerHost(self, cmpMeta);
1613
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1614
- // this component is using shadow dom
1615
- // and this browser supports shadow dom
1616
- // add the read-only property "shadowRoot" to the host element
1617
- // adding the shadow root build conditionals to minimize runtime
1499
+ lazyBundles.map(lazyBundle => lazyBundle[1].map(compactMeta => {
1500
+ const cmpMeta = {
1501
+ $flags$: compactMeta[0],
1502
+ $tagName$: compactMeta[1],
1503
+ $members$: compactMeta[2],
1504
+ $listeners$: compactMeta[3],
1505
+ };
1506
+ {
1507
+ cmpMeta.$members$ = compactMeta[2];
1508
+ }
1509
+ {
1510
+ cmpMeta.$listeners$ = compactMeta[3];
1511
+ }
1512
+ {
1513
+ cmpMeta.$attrsToReflect$ = [];
1514
+ }
1515
+ {
1516
+ cmpMeta.$watchers$ = {};
1517
+ }
1518
+ const tagName = cmpMeta.$tagName$;
1519
+ const HostElement = class extends HTMLElement {
1520
+ // StencilLazyHost
1521
+ constructor(self) {
1522
+ // @ts-ignore
1523
+ super(self);
1524
+ self = this;
1525
+ registerHost(self, cmpMeta);
1526
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1527
+ // this component is using shadow dom
1528
+ // and this browser supports shadow dom
1529
+ // add the read-only property "shadowRoot" to the host element
1530
+ // adding the shadow root build conditionals to minimize runtime
1531
+ {
1618
1532
  {
1619
- {
1620
- self.attachShadow({ mode: 'open' });
1621
- }
1533
+ self.attachShadow({ mode: 'open' });
1622
1534
  }
1623
1535
  }
1624
1536
  }
1625
- connectedCallback() {
1626
- if (appLoadFallback) {
1627
- clearTimeout(appLoadFallback);
1628
- appLoadFallback = null;
1629
- }
1630
- if (isBootstrapping) {
1631
- // connectedCallback will be processed once all components have been registered
1632
- deferredConnectedCallbacks.push(this);
1633
- }
1634
- else {
1635
- plt.jmp(() => connectedCallback(this));
1636
- }
1537
+ }
1538
+ connectedCallback() {
1539
+ if (appLoadFallback) {
1540
+ clearTimeout(appLoadFallback);
1541
+ appLoadFallback = null;
1637
1542
  }
1638
- disconnectedCallback() {
1639
- plt.jmp(() => disconnectedCallback(this));
1543
+ if (isBootstrapping) {
1544
+ // connectedCallback will be processed once all components have been registered
1545
+ deferredConnectedCallbacks.push(this);
1640
1546
  }
1641
- componentOnReady() {
1642
- return getHostRef(this).$onReadyPromise$;
1547
+ else {
1548
+ plt.jmp(() => connectedCallback(this));
1643
1549
  }
1644
- };
1645
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1646
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1647
- cmpTags.push(tagName);
1648
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1649
1550
  }
1650
- });
1651
- });
1551
+ disconnectedCallback() {
1552
+ plt.jmp(() => disconnectedCallback(this));
1553
+ }
1554
+ componentOnReady() {
1555
+ return getHostRef(this).$onReadyPromise$;
1556
+ }
1557
+ };
1558
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1559
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1560
+ cmpTags.push(tagName);
1561
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1562
+ }
1563
+ }));
1652
1564
  {
1653
1565
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1654
1566
  visibilityStyle.setAttribute('data-styles', '');
@@ -1657,7 +1569,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1657
1569
  // Process deferred connectedCallbacks now all components have been registered
1658
1570
  isBootstrapping = false;
1659
1571
  if (deferredConnectedCallbacks.length) {
1660
- deferredConnectedCallbacks.map((host) => host.connectedCallback());
1572
+ deferredConnectedCallbacks.map(host => host.connectedCallback());
1661
1573
  }
1662
1574
  else {
1663
1575
  {
@@ -1678,10 +1590,10 @@ const registerHost = (elm, cmpMeta) => {
1678
1590
  $instanceValues$: new Map(),
1679
1591
  };
1680
1592
  {
1681
- hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1593
+ hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
1682
1594
  }
1683
1595
  {
1684
- hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1596
+ hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
1685
1597
  elm['s-p'] = [];
1686
1598
  elm['s-rc'] = [];
1687
1599
  }
@@ -1703,7 +1615,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1703
1615
  /* webpackInclude: /\.entry\.js$/ */
1704
1616
  /* webpackExclude: /\.system\.entry\.js$/ */
1705
1617
  /* webpackMode: "lazy" */
1706
- `./${bundleId}.entry.js${''}`).then((importedModule) => {
1618
+ `./${bundleId}.entry.js${''}`).then(importedModule => {
1707
1619
  {
1708
1620
  cmpModules.set(bundleId, importedModule);
1709
1621
  }
@@ -183,6 +183,11 @@ var ExpandableListButtonAlign;
183
183
  ExpandableListButtonAlign["right"] = "right";
184
184
  ExpandableListButtonAlign["left"] = "left";
185
185
  })(ExpandableListButtonAlign || (ExpandableListButtonAlign = {}));
186
+ var ZtoggleSwitchPositionEnum;
187
+ (function (ZtoggleSwitchPositionEnum) {
188
+ ZtoggleSwitchPositionEnum["right"] = "right";
189
+ ZtoggleSwitchPositionEnum["left"] = "left";
190
+ })(ZtoggleSwitchPositionEnum || (ZtoggleSwitchPositionEnum = {}));
186
191
  var ListDividerType;
187
192
  (function (ListDividerType) {
188
193
  ListDividerType["none"] = "none";
@@ -253,10 +258,15 @@ var ZAriaAlertMode;
253
258
  ZAriaAlertMode["polite"] = "polite";
254
259
  ZAriaAlertMode["assertive"] = "assertive";
255
260
  })(ZAriaAlertMode || (ZAriaAlertMode = {}));
261
+ var ZFileUploadTypeEnum;
262
+ (function (ZFileUploadTypeEnum) {
263
+ ZFileUploadTypeEnum["default"] = "default";
264
+ ZFileUploadTypeEnum["dragdrop"] = "dragdrop";
265
+ })(ZFileUploadTypeEnum || (ZFileUploadTypeEnum = {}));
256
266
  var ZChipType;
257
267
  (function (ZChipType) {
258
268
  ZChipType["default"] = "default";
259
269
  ZChipType["mini"] = "mini";
260
270
  })(ZChipType || (ZChipType = {}));
261
271
 
262
- export { AvatarSize as A, ButtonVariantEnum as B, CardVariants as C, DeviceEnum as D, ExpandableListButtonAlign as E, InputTypeEnum as I, KeyboardKeys as K, LicenseTypeEnum as L, NotificationType as N, PopoverPosition as P, StatusTagStatus as S, ThemeVariant as T, ZAriaAlertMode as Z, DividerOrientation as a, ZChipType as b, ButtonSizeEnum as c, PocketStatusEnum as d, InputStatusEnum as e, AlertTypesEnum as f, TooltipPosition as g, TabOrientationEnum as h, TabSizeEnum as i, ZTableRowExpandedType as j, keybordKeyCodeEnum as k, ToastNotificationTransitionsEnum as l, ToastNotificationPositionsEnum as m, ListSize as n, ListDividerType as o, DividerSize as p, ExpandableListStyle as q, Size as r, SortDirectionEnum as s, PopoverBorderRadius as t, PopoverShadow as u, ButtonTypeEnum as v };
272
+ export { AvatarSize as A, ButtonVariantEnum as B, CardVariants as C, DeviceEnum as D, ExpandableListButtonAlign as E, InputTypeEnum as I, KeyboardKeys as K, LicenseTypeEnum as L, NotificationType as N, PopoverPosition as P, StatusTagStatus as S, ThemeVariant as T, ZAriaAlertMode as Z, DividerOrientation as a, ZChipType as b, TooltipPosition as c, ZFileUploadTypeEnum as d, DividerSize as e, ButtonSizeEnum as f, PocketStatusEnum as g, InputStatusEnum as h, AlertTypesEnum as i, TabOrientationEnum as j, keybordKeyCodeEnum as k, TabSizeEnum as l, ZTableRowExpandedType as m, ToastNotificationTransitionsEnum as n, ToastNotificationPositionsEnum as o, ZtoggleSwitchPositionEnum as p, ListSize as q, ListDividerType as r, ExpandableListStyle as s, Size as t, SortDirectionEnum as u, PopoverBorderRadius as v, PopoverShadow as w, ButtonTypeEnum as x };
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as colorFromId } from './utils-351595e0.js';
2
- import './index-6b86a3f1.js';
1
+ import { c as colorFromId } from './utils-cdd5a909.js';
2
+ import './index-cca2b0d2.js';
3
3
  import './breakpoints-c386984e.js';
4
4
 
5
5
  const Utils = {