@zanichelli/albe-web-components 2.40.1 → 2.42.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 (367) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/dist/cjs/{index-dee3e21d.js → index-84b7063a.js} +182 -88
  3. package/dist/cjs/{index-6b11e272.js → index-ef6dc2ee.js} +10 -0
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/{utils-428c57eb.js → utils-d3a23e75.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_10.cjs.entry.js +2 -2
  11. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  12. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  13. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
  15. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  16. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  17. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  18. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  19. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  20. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  21. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +49 -0
  22. package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
  23. package/dist/cjs/z-file.cjs.entry.js +53 -0
  24. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  25. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  26. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  27. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  28. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  29. package/dist/cjs/z-list_3.cjs.entry.js +2 -2
  30. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  31. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  32. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  33. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  34. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  35. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  37. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  38. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  39. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  40. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  42. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  43. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  45. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  46. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  47. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  48. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  49. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  50. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  51. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  52. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  53. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  54. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  55. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  56. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  57. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  58. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  59. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  60. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  61. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  62. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  63. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  64. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  65. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  66. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  67. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  68. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  69. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  70. package/dist/cjs/z-table.cjs.entry.js +2 -2
  71. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  72. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  73. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  74. package/dist/cjs/z-toggle-switch.cjs.entry.js +49 -0
  75. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  76. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  77. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  78. package/dist/collection/beans/index.js +10 -0
  79. package/dist/collection/collection-manifest.json +6 -2
  80. package/dist/collection/components/buttons/z-button/index.js +2 -2
  81. package/dist/collection/components/buttons/z-toggle-switch/index.js +143 -0
  82. package/dist/collection/components/buttons/z-toggle-switch/styles.css +106 -0
  83. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
  84. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
  85. package/dist/collection/components/file-upload/z-file/index.js +109 -0
  86. package/dist/collection/components/file-upload/z-file/styles.css +61 -0
  87. package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
  88. package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
  89. package/dist/collection/components/navigation/z-menu/index.js +4 -4
  90. package/dist/collection/components/notification/z-tooltip/index.js +2 -2
  91. package/dist/collection/utils/utils.js +2 -2
  92. package/dist/esm/{index-fa9e549c.js → index-90e18641.js} +182 -88
  93. package/dist/esm/{index-9d70864c.js → index-cda2110a.js} +11 -1
  94. package/dist/esm/index.js +2 -2
  95. package/dist/esm/loader.js +3 -3
  96. package/dist/esm/polyfills/css-shim.js +1 -1
  97. package/dist/esm/{utils-347de6f5.js → utils-436360f5.js} +3 -3
  98. package/dist/esm/web-components-library.js +3 -3
  99. package/dist/esm/z-alert.entry.js +1 -1
  100. package/dist/esm/z-app-header.entry.js +1 -1
  101. package/dist/esm/z-app-switcher_10.entry.js +2 -2
  102. package/dist/esm/z-aria-alert.entry.js +2 -2
  103. package/dist/esm/z-avatar.entry.js +2 -2
  104. package/dist/esm/z-body_2.entry.js +1 -1
  105. package/dist/esm/z-button-filter_5.entry.js +3 -3
  106. package/dist/esm/z-button-sort.entry.js +1 -1
  107. package/dist/esm/z-candybar.entry.js +1 -1
  108. package/dist/esm/z-chip.entry.js +2 -2
  109. package/dist/esm/z-combobox.entry.js +3 -3
  110. package/dist/esm/z-contextual-menu.entry.js +2 -2
  111. package/dist/esm/z-cookiebar.entry.js +2 -2
  112. package/dist/esm/z-dragdrop-area_2.entry.js +44 -0
  113. package/dist/esm/z-file-upload.entry.js +165 -0
  114. package/dist/esm/z-file.entry.js +49 -0
  115. package/dist/esm/z-footer-link_3.entry.js +1 -1
  116. package/dist/esm/z-footer.entry.js +2 -2
  117. package/dist/esm/z-ghost-loading.entry.js +1 -1
  118. package/dist/esm/z-icon-package.entry.js +1 -1
  119. package/dist/esm/z-info-box.entry.js +1 -1
  120. package/dist/esm/z-list_3.entry.js +2 -2
  121. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  122. package/dist/esm/z-menu-section.entry.js +1 -1
  123. package/dist/esm/z-menu.entry.js +1 -1
  124. package/dist/esm/z-messages-pocket.entry.js +2 -2
  125. package/dist/esm/z-modal-login.entry.js +2 -2
  126. package/dist/esm/z-modal.entry.js +1 -1
  127. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  128. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  129. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  130. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  131. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  132. package/dist/esm/z-myz-card-info.entry.js +3 -3
  133. package/dist/esm/z-myz-card-list.entry.js +1 -1
  134. package/dist/esm/z-myz-card_4.entry.js +2 -2
  135. package/dist/esm/z-myz-list-item.entry.js +3 -3
  136. package/dist/esm/z-myz-topbar.entry.js +2 -2
  137. package/dist/esm/z-navigation-tab.entry.js +1 -1
  138. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  139. package/dist/esm/z-notification.entry.js +2 -2
  140. package/dist/esm/z-otp.entry.js +2 -2
  141. package/dist/esm/z-pagination-bar.entry.js +3 -3
  142. package/dist/esm/z-pagination-page.entry.js +1 -1
  143. package/dist/esm/z-panel-elem.entry.js +1 -1
  144. package/dist/esm/z-pocket-message.entry.js +1 -1
  145. package/dist/esm/z-pocket_3.entry.js +3 -3
  146. package/dist/esm/z-popover.entry.js +3 -3
  147. package/dist/esm/z-slideshow.entry.js +3 -3
  148. package/dist/esm/z-status-tag.entry.js +2 -2
  149. package/dist/esm/z-stepper-item.entry.js +1 -1
  150. package/dist/esm/z-stepper.entry.js +1 -1
  151. package/dist/esm/z-table-body.entry.js +1 -1
  152. package/dist/esm/z-table-cell.entry.js +2 -2
  153. package/dist/esm/z-table-empty-box.entry.js +1 -1
  154. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  155. package/dist/esm/z-table-footer.entry.js +1 -1
  156. package/dist/esm/z-table-head.entry.js +1 -1
  157. package/dist/esm/z-table-header-row.entry.js +1 -1
  158. package/dist/esm/z-table-header.entry.js +3 -3
  159. package/dist/esm/z-table-row.entry.js +2 -2
  160. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  161. package/dist/esm/z-table.entry.js +2 -2
  162. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  163. package/dist/esm/z-toast-notification.entry.js +2 -2
  164. package/dist/esm/z-toggle-button.entry.js +1 -1
  165. package/dist/esm/z-toggle-switch.entry.js +45 -0
  166. package/dist/esm/z-tooltip.entry.js +2 -2
  167. package/dist/esm/z-user-dropdown.entry.js +1 -1
  168. package/dist/esm/z-visually-hidden.entry.js +1 -1
  169. package/dist/types/beans/index.d.ts +8 -0
  170. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +12 -0
  171. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
  172. package/dist/types/components/file-upload/z-file/index.d.ts +18 -0
  173. package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
  174. package/dist/types/components.d.ts +124 -1
  175. package/dist/types/stencil-public-runtime.d.ts +189 -186
  176. package/dist/web-components-library/index.esm.js +1 -1
  177. package/dist/web-components-library/{p-cf914ea7.entry.js → p-02474663.entry.js} +1 -1
  178. package/{www/build/p-4a414eb2.entry.js → dist/web-components-library/p-104b70e5.entry.js} +1 -1
  179. package/dist/web-components-library/{p-8deddec7.entry.js → p-105b82a6.entry.js} +1 -1
  180. package/dist/web-components-library/{p-3552098c.entry.js → p-21a85d4f.entry.js} +1 -1
  181. package/dist/web-components-library/{p-29df410a.entry.js → p-24d62d5d.entry.js} +1 -1
  182. package/{www/build/p-74200866.entry.js → dist/web-components-library/p-26286e79.entry.js} +1 -1
  183. package/dist/web-components-library/{p-9af1322d.entry.js → p-2c836d42.entry.js} +1 -1
  184. package/dist/web-components-library/{p-698e18cf.entry.js → p-2c8e542b.entry.js} +1 -1
  185. package/dist/web-components-library/{p-f1cc3489.entry.js → p-2d74660a.entry.js} +1 -1
  186. package/{www/build/p-ca136ef7.entry.js → dist/web-components-library/p-2edeb36b.entry.js} +1 -1
  187. package/dist/web-components-library/{p-a025a565.entry.js → p-32fbc96b.entry.js} +1 -1
  188. package/dist/web-components-library/{p-d9917511.entry.js → p-3371604c.entry.js} +1 -1
  189. package/dist/web-components-library/{p-e1f1f39e.entry.js → p-3fc438b7.entry.js} +1 -1
  190. package/dist/web-components-library/{p-cfebc80e.entry.js → p-41c5beec.entry.js} +1 -1
  191. package/dist/web-components-library/{p-8ef035ce.entry.js → p-49fd1045.entry.js} +1 -1
  192. package/dist/web-components-library/{p-4a1404e2.entry.js → p-4aaf3433.entry.js} +1 -1
  193. package/dist/web-components-library/{p-4665d79f.entry.js → p-4d9667dc.entry.js} +1 -1
  194. package/{www/build/p-c2dfaef9.entry.js → dist/web-components-library/p-5590d187.entry.js} +1 -1
  195. package/dist/web-components-library/p-5651167f.entry.js +1 -0
  196. package/dist/web-components-library/{p-15b45bd6.entry.js → p-5683fb4a.entry.js} +1 -1
  197. package/dist/web-components-library/{p-ebcad010.entry.js → p-5789bbe7.entry.js} +1 -1
  198. package/dist/web-components-library/{p-140cc18f.entry.js → p-578a5ad1.entry.js} +1 -1
  199. package/{www/build/p-45a41bff.entry.js → dist/web-components-library/p-5dfad268.entry.js} +1 -1
  200. package/dist/web-components-library/{p-f113a03a.entry.js → p-5e41c6c2.entry.js} +1 -1
  201. package/dist/web-components-library/{p-6583cbec.entry.js → p-6375f662.entry.js} +1 -1
  202. package/dist/web-components-library/{p-01a920d1.entry.js → p-654c1830.entry.js} +1 -1
  203. package/dist/web-components-library/{p-4c1dc891.entry.js → p-6baa8e33.entry.js} +1 -1
  204. package/dist/web-components-library/{p-1094e4de.entry.js → p-6bb8de3e.entry.js} +1 -1
  205. package/dist/web-components-library/{p-250926fe.entry.js → p-71e8c2af.entry.js} +1 -1
  206. package/dist/web-components-library/{p-bbbdb48a.entry.js → p-729a98ab.entry.js} +1 -1
  207. package/dist/web-components-library/{p-71cc7ed0.entry.js → p-78e26102.entry.js} +1 -1
  208. package/dist/web-components-library/{p-3c5e84f2.entry.js → p-7a3c0d01.entry.js} +1 -1
  209. package/dist/web-components-library/{p-b78fb152.entry.js → p-7ebb03d8.entry.js} +1 -1
  210. package/dist/web-components-library/{p-aa0f7169.entry.js → p-7f2fa336.entry.js} +1 -1
  211. package/dist/web-components-library/{p-5c860beb.entry.js → p-83dda293.entry.js} +1 -1
  212. package/dist/web-components-library/{p-1231efbf.entry.js → p-8537e37d.entry.js} +1 -1
  213. package/dist/web-components-library/{p-be15a83a.entry.js → p-889bcfab.entry.js} +1 -1
  214. package/dist/web-components-library/{p-fa0e0402.entry.js → p-8ddeda29.entry.js} +1 -1
  215. package/dist/web-components-library/{p-0ce6293a.entry.js → p-9260abad.entry.js} +1 -1
  216. package/dist/web-components-library/{p-ac3bc4c2.entry.js → p-9352da73.entry.js} +1 -1
  217. package/dist/web-components-library/{p-b52459fd.entry.js → p-9409540b.entry.js} +1 -1
  218. package/dist/web-components-library/{p-2df6d015.entry.js → p-96da0513.entry.js} +1 -1
  219. package/dist/web-components-library/p-98268a57.js +1 -0
  220. package/{www/build/p-017ddee6.entry.js → dist/web-components-library/p-98e15cf2.entry.js} +1 -1
  221. package/{www/build/p-a7733104.entry.js → dist/web-components-library/p-9c7cf598.entry.js} +1 -1
  222. package/dist/web-components-library/p-9dc8fdb1.entry.js +1 -0
  223. package/dist/web-components-library/{p-1879f46c.entry.js → p-a61ee49c.entry.js} +1 -1
  224. package/dist/web-components-library/{p-c7af96eb.entry.js → p-a759ab46.entry.js} +1 -1
  225. package/dist/web-components-library/p-a785ff38.entry.js +1 -0
  226. package/dist/web-components-library/p-a90d876c.entry.js +1 -0
  227. package/dist/web-components-library/{p-db5863cf.entry.js → p-a9eea65b.entry.js} +1 -1
  228. package/dist/web-components-library/{p-9cb6848c.entry.js → p-b359a48a.entry.js} +1 -1
  229. package/dist/web-components-library/{p-9d3ea635.entry.js → p-b48105a4.entry.js} +1 -1
  230. package/dist/web-components-library/{p-f34a707c.entry.js → p-b68c2b06.entry.js} +1 -1
  231. package/dist/web-components-library/{p-eadaf008.entry.js → p-bc4df198.entry.js} +1 -1
  232. package/dist/web-components-library/{p-24a2786b.js → p-c17b64f1.js} +1 -1
  233. package/dist/web-components-library/{p-1c72783c.entry.js → p-c284139b.entry.js} +1 -1
  234. package/dist/web-components-library/p-c9c7071f.entry.js +1 -0
  235. package/dist/web-components-library/{p-f7f9db16.entry.js → p-caa452fc.entry.js} +1 -1
  236. package/dist/web-components-library/{p-5bbbc979.entry.js → p-cb13d050.entry.js} +1 -1
  237. package/dist/web-components-library/{p-fa1e086f.entry.js → p-cf00f379.entry.js} +1 -1
  238. package/dist/web-components-library/{p-fdfca9b7.entry.js → p-d39c0372.entry.js} +1 -1
  239. package/dist/web-components-library/{p-8edb6b65.entry.js → p-d4927410.entry.js} +1 -1
  240. package/dist/web-components-library/{p-5aff6913.entry.js → p-d59d1090.entry.js} +1 -1
  241. package/dist/web-components-library/p-d64c6f56.entry.js +1 -0
  242. package/dist/web-components-library/{p-6847ed50.entry.js → p-d97dd15a.entry.js} +1 -1
  243. package/dist/web-components-library/{p-74fb3d69.entry.js → p-e2560604.entry.js} +1 -1
  244. package/dist/web-components-library/p-e5602e1b.js +1 -0
  245. package/dist/web-components-library/p-f6a11970.entry.js +1 -0
  246. package/dist/web-components-library/{p-4e896ed8.entry.js → p-fc2043f7.entry.js} +1 -1
  247. package/{www/build/p-b171474c.entry.js → dist/web-components-library/p-fc5bb8d5.entry.js} +1 -1
  248. package/{www/build/p-f333967e.entry.js → dist/web-components-library/p-fd167bfb.entry.js} +1 -1
  249. package/dist/web-components-library/p-febe0261.entry.js +1 -0
  250. package/dist/web-components-library/web-components-library.css +1 -1
  251. package/dist/web-components-library/web-components-library.esm.js +1 -1
  252. package/loader/index.d.ts +0 -1
  253. package/package.json +2 -2
  254. package/react/components.d.ts +4 -0
  255. package/react/components.js +6 -2
  256. package/react/components.js.map +1 -1
  257. package/react/react-component-lib/createComponent.d.ts +1 -1
  258. package/react/react-component-lib/createComponent.js +42 -10
  259. package/react/react-component-lib/createComponent.js.map +1 -1
  260. package/react/react-component-lib/createOverlayComponent.d.ts +5 -4
  261. package/react/react-component-lib/createOverlayComponent.js +28 -8
  262. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  263. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  264. package/react/react-component-lib/utils/attachProps.js +14 -12
  265. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  266. package/react/react-component-lib/utils/index.d.ts +4 -1
  267. package/react/react-component-lib/utils/index.js +20 -5
  268. package/react/react-component-lib/utils/index.js.map +1 -1
  269. package/www/build/index.esm.js +1 -1
  270. package/www/build/{p-cf914ea7.entry.js → p-02474663.entry.js} +1 -1
  271. package/{dist/web-components-library/p-4a414eb2.entry.js → www/build/p-104b70e5.entry.js} +1 -1
  272. package/www/build/{p-8deddec7.entry.js → p-105b82a6.entry.js} +1 -1
  273. package/www/build/{p-3552098c.entry.js → p-21a85d4f.entry.js} +1 -1
  274. package/www/build/{p-29df410a.entry.js → p-24d62d5d.entry.js} +1 -1
  275. package/{dist/web-components-library/p-74200866.entry.js → www/build/p-26286e79.entry.js} +1 -1
  276. package/www/build/{p-9af1322d.entry.js → p-2c836d42.entry.js} +1 -1
  277. package/www/build/{p-698e18cf.entry.js → p-2c8e542b.entry.js} +1 -1
  278. package/www/build/{p-f1cc3489.entry.js → p-2d74660a.entry.js} +1 -1
  279. package/{dist/web-components-library/p-ca136ef7.entry.js → www/build/p-2edeb36b.entry.js} +1 -1
  280. package/www/build/{p-a025a565.entry.js → p-32fbc96b.entry.js} +1 -1
  281. package/www/build/{p-d9917511.entry.js → p-3371604c.entry.js} +1 -1
  282. package/www/build/{p-e1f1f39e.entry.js → p-3fc438b7.entry.js} +1 -1
  283. package/www/build/{p-cfebc80e.entry.js → p-41c5beec.entry.js} +1 -1
  284. package/www/build/{p-8ef035ce.entry.js → p-49fd1045.entry.js} +1 -1
  285. package/www/build/{p-4a1404e2.entry.js → p-4aaf3433.entry.js} +1 -1
  286. package/www/build/{p-4665d79f.entry.js → p-4d9667dc.entry.js} +1 -1
  287. package/{dist/web-components-library/p-c2dfaef9.entry.js → www/build/p-5590d187.entry.js} +1 -1
  288. package/www/build/p-5651167f.entry.js +1 -0
  289. package/www/build/{p-15b45bd6.entry.js → p-5683fb4a.entry.js} +1 -1
  290. package/www/build/{p-ebcad010.entry.js → p-5789bbe7.entry.js} +1 -1
  291. package/www/build/{p-140cc18f.entry.js → p-578a5ad1.entry.js} +1 -1
  292. package/{dist/web-components-library/p-45a41bff.entry.js → www/build/p-5dfad268.entry.js} +1 -1
  293. package/www/build/{p-f113a03a.entry.js → p-5e41c6c2.entry.js} +1 -1
  294. package/www/build/{p-6583cbec.entry.js → p-6375f662.entry.js} +1 -1
  295. package/www/build/{p-01a920d1.entry.js → p-654c1830.entry.js} +1 -1
  296. package/www/build/{p-4c1dc891.entry.js → p-6baa8e33.entry.js} +1 -1
  297. package/www/build/{p-1094e4de.entry.js → p-6bb8de3e.entry.js} +1 -1
  298. package/www/build/{p-250926fe.entry.js → p-71e8c2af.entry.js} +1 -1
  299. package/www/build/{p-bbbdb48a.entry.js → p-729a98ab.entry.js} +1 -1
  300. package/www/build/{p-71cc7ed0.entry.js → p-78e26102.entry.js} +1 -1
  301. package/www/build/{p-3c5e84f2.entry.js → p-7a3c0d01.entry.js} +1 -1
  302. package/www/build/{p-b78fb152.entry.js → p-7ebb03d8.entry.js} +1 -1
  303. package/www/build/{p-aa0f7169.entry.js → p-7f2fa336.entry.js} +1 -1
  304. package/www/build/{p-5c860beb.entry.js → p-83dda293.entry.js} +1 -1
  305. package/www/build/{p-1231efbf.entry.js → p-8537e37d.entry.js} +1 -1
  306. package/www/build/{p-be15a83a.entry.js → p-889bcfab.entry.js} +1 -1
  307. package/www/build/{p-fa0e0402.entry.js → p-8ddeda29.entry.js} +1 -1
  308. package/www/build/{p-0ce6293a.entry.js → p-9260abad.entry.js} +1 -1
  309. package/www/build/{p-ac3bc4c2.entry.js → p-9352da73.entry.js} +1 -1
  310. package/www/build/{p-b52459fd.entry.js → p-9409540b.entry.js} +1 -1
  311. package/www/build/{p-2df6d015.entry.js → p-96da0513.entry.js} +1 -1
  312. package/www/build/p-98268a57.js +1 -0
  313. package/{dist/web-components-library/p-017ddee6.entry.js → www/build/p-98e15cf2.entry.js} +1 -1
  314. package/{dist/web-components-library/p-a7733104.entry.js → www/build/p-9c7cf598.entry.js} +1 -1
  315. package/www/build/p-9dc8fdb1.entry.js +1 -0
  316. package/www/build/{p-1879f46c.entry.js → p-a61ee49c.entry.js} +1 -1
  317. package/www/build/{p-c7af96eb.entry.js → p-a759ab46.entry.js} +1 -1
  318. package/www/build/p-a785ff38.entry.js +1 -0
  319. package/www/build/p-a90d876c.entry.js +1 -0
  320. package/www/build/{p-db5863cf.entry.js → p-a9eea65b.entry.js} +1 -1
  321. package/www/build/{p-9cb6848c.entry.js → p-b359a48a.entry.js} +1 -1
  322. package/www/build/{p-9d3ea635.entry.js → p-b48105a4.entry.js} +1 -1
  323. package/www/build/{p-f34a707c.entry.js → p-b68c2b06.entry.js} +1 -1
  324. package/www/build/{p-eadaf008.entry.js → p-bc4df198.entry.js} +1 -1
  325. package/www/build/{p-24a2786b.js → p-c17b64f1.js} +1 -1
  326. package/www/build/{p-1c72783c.entry.js → p-c284139b.entry.js} +1 -1
  327. package/www/build/p-c9c7071f.entry.js +1 -0
  328. package/www/build/{p-f7f9db16.entry.js → p-caa452fc.entry.js} +1 -1
  329. package/www/build/{p-5bbbc979.entry.js → p-cb13d050.entry.js} +1 -1
  330. package/www/build/{p-fa1e086f.entry.js → p-cf00f379.entry.js} +1 -1
  331. package/www/build/{p-fdfca9b7.entry.js → p-d39c0372.entry.js} +1 -1
  332. package/www/build/{p-8edb6b65.entry.js → p-d4927410.entry.js} +1 -1
  333. package/www/build/{p-5aff6913.entry.js → p-d59d1090.entry.js} +1 -1
  334. package/www/build/p-d64c6f56.entry.js +1 -0
  335. package/www/build/{p-6847ed50.entry.js → p-d97dd15a.entry.js} +1 -1
  336. package/www/build/{p-74fb3d69.entry.js → p-e2560604.entry.js} +1 -1
  337. package/www/build/p-e5602e1b.js +1 -0
  338. package/www/build/p-f6a11970.entry.js +1 -0
  339. package/www/build/{p-4e896ed8.entry.js → p-fc2043f7.entry.js} +1 -1
  340. package/{dist/web-components-library/p-b171474c.entry.js → www/build/p-fc5bb8d5.entry.js} +1 -1
  341. package/www/build/p-fcff1237.css +812 -0
  342. package/{dist/web-components-library/p-f333967e.entry.js → www/build/p-fd167bfb.entry.js} +1 -1
  343. package/www/build/p-fe32c7fa.js +129 -0
  344. package/www/build/p-febe0261.entry.js +1 -0
  345. package/www/build/web-components-library.css +1 -1
  346. package/www/build/web-components-library.esm.js +1 -1
  347. package/www/build/web-components-library.js +1 -1
  348. package/www/index.html +1 -1
  349. package/www/pages/file-upload.html +236 -0
  350. package/dist/cjs/z-heading.cjs.entry.js +0 -17
  351. package/dist/esm/z-heading.entry.js +0 -13
  352. package/dist/web-components-library/p-3b3cd128.js +0 -1
  353. package/dist/web-components-library/p-483d10ba.entry.js +0 -1
  354. package/dist/web-components-library/p-48e0a763.entry.js +0 -1
  355. package/dist/web-components-library/p-8a061b5b.entry.js +0 -1
  356. package/dist/web-components-library/p-904a85e4.js +0 -1
  357. package/dist/web-components-library/p-a1bb6af2.entry.js +0 -1
  358. package/dist/web-components-library/p-e60c2a06.entry.js +0 -1
  359. package/www/build/p-3b3cd128.js +0 -1
  360. package/www/build/p-483d10ba.entry.js +0 -1
  361. package/www/build/p-48e0a763.entry.js +0 -1
  362. package/www/build/p-8a061b5b.entry.js +0 -1
  363. package/www/build/p-8af945c2.js +0 -1
  364. package/www/build/p-904a85e4.js +0 -1
  365. package/www/build/p-a1bb6af2.entry.js +0 -1
  366. package/www/build/p-e60c2a06.entry.js +0 -1
  367. package/www/build/p-ea943cbd.css +0 -1
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
5
+ const index = require('./index-84b7063a.js');
6
6
  const hammer = require('./hammer-54230951.js');
7
- const utils = require('./utils-428c57eb.js');
7
+ const utils = require('./utils-d3a23e75.js');
8
8
  require('./_commonjsHelpers-119ffc74.js');
9
- require('./index-6b11e272.js');
9
+ require('./index-ef6dc2ee.js');
10
10
  require('./breakpoints-88c4fd6c.js');
11
11
 
12
12
  const stylesCss = ":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);fill:var(--color-primary01)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--color-disabled01);fill:var(--color-disabled01)}";
@@ -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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-sb);display:inline-block}:host>button{cursor:pointer;outline:none;display:inline-block;box-sizing:border-box;margin:0;height:48px;line-height:48px;text-align:center;border:none;border-bottom:var(--border-size-large) solid transparent;color:var(--color-primary01);font-size:var(--font-size-2);font-family:var(--font-family-sans);font-weight:inherit;background:transparent;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease;min-width:56px}:host>button[disabled]{pointer-events:none;cursor:default;color:var(--color-disabled02)}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);box-shadow:var(--shadow-focus-primary);background-color:var(--color-background);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);width:inherit}.panel-elem-container{width:100%}.panel-elem-icon{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon img{display:block;object-fit:contain;max-width:96px;height:32px;margin:auto}.panel-elem-link{border-radius:var(--border-no-radius);margin:var(--space-unit) auto 0;text-align:center;font-size:12px}.panel-elem-link>z-link{font-weight:var(--font-sb)}.panel-elem-desc{letter-spacing:0.16px;text-align:center;margin:0;padding-top:var(--space-unit)}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";
8
8
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
7
- const utils = require('./utils-428c57eb.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
+ const utils = require('./utils-d3a23e75.js');
8
8
  const hammer = require('./hammer-54230951.js');
9
9
  require('./breakpoints-88c4fd6c.js');
10
10
  require('./_commonjsHelpers-119ffc74.js');
@@ -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-84b7063a.js');
6
6
  const index$2 = require('./index-9651dba8.js');
7
- const index$1 = require('./index-6b11e272.js');
8
- const utils = require('./utils-428c57eb.js');
7
+ const index$1 = require('./index-ef6dc2ee.js');
8
+ const utils = require('./utils-d3a23e75.js');
9
9
  require('./_commonjsHelpers-119ffc74.js');
10
10
  require('./breakpoints-88c4fd6c.js');
11
11
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
7
- const utils = require('./utils-428c57eb.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
+ const utils = require('./utils-d3a23e75.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
  const index$2 = require('./index-9651dba8.js');
8
8
  require('./_commonjsHelpers-119ffc74.js');
9
9
 
@@ -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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;top:calc(var(--space-unit) * 4);left:calc(var(--space-unit) * 3);right:calc(var(--space-unit) * 2);z-index:1;content:'';display:block;width:auto;margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);border-bottom:solid 2px var(--bg-grey-700)}.stepper-item{display:flex;flex-direction:column;align-items:center;width:calc(var(--space-unit) * 5);padding:0;color:inherit;font-family:inherit;font-size:18px;text-decoration:none;line-height:28px;background:transparent;border:0;outline:0;appearance:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{content:counter(stepper);box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);margin:calc(var(--space-unit) * 2);font-size:14px;font-weight:var(--font-sb);line-height:1;color:var(--myz-blue);background:var(--bg-white);border:2px solid var(--myz-blue);border-radius:50%}:host([pressed]:not([disabled])) .indicator{color:var(--text-white);background:var(--myz-blue-dark);border-color:var(--myz-blue-dark)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0px 0px 2px 2px var(--accent-dark)}:host([disabled]) .indicator{color:var(--text-grey-700);background:var(--bg-grey-200);border-color:currentColor}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{box-sizing:border-box;position:relative;display:flex;flex-direction:row;width:100%;max-width:100%;margin:0;padding:0;font-family:var(--dashboard-font);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
  const index$2 = require('./index-9651dba8.js');
8
8
  require('./_commonjsHelpers-119ffc74.js');
9
9
 
@@ -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-84b7063a.js');
6
6
  const index$1 = require('./index-9651dba8.js');
7
7
  require('./_commonjsHelpers-119ffc74.js');
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{background-color:var(--gray50);display:none}:host>td>div.content-container{box-shadow:var(--shadow-2);margin-bottom:calc(var(--space-unit) / 2)}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
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-84b7063a.js');
6
6
 
7
7
  const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;user-select:none;box-sizing:border-box}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
8
8
 
@@ -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-84b7063a.js');
6
6
  const index$2 = require('./index-9651dba8.js');
7
- const index$1 = require('./index-6b11e272.js');
8
- const utils = require('./utils-428c57eb.js');
7
+ const index$1 = require('./index-ef6dc2ee.js');
8
+ const utils = require('./utils-d3a23e75.js');
9
9
  require('./_commonjsHelpers-119ffc74.js');
10
10
  require('./breakpoints-88c4fd6c.js');
11
11
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
 
8
8
  const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
9
9
 
@@ -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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ".sc-z-table-sticky-footer-h{display:block;position:sticky;left:0;padding:var(--basex2);background-color:var(--bg-white);border-style:solid;border-color:var(--gray200);border-width:var(--border-size-small) 0 var(--border-base);font-weight:var(--font-rg)}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
 
9
9
  const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
 
8
8
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
  const hammer = require('./hammer-54230951.js');
9
9
  require('./_commonjsHelpers-119ffc74.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-84b7063a.js');
6
6
 
7
7
  const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{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:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
8
8
 
@@ -0,0 +1,49 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-84b7063a.js');
6
+ const utils = require('./utils-d3a23e75.js');
7
+ const index$1 = require('./index-ef6dc2ee.js');
8
+ require('./breakpoints-88c4fd6c.js');
9
+
10
+ const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
11
+
12
+ const ZToggleSwitch = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.toggleClick = index.createEvent(this, "toggleClick", 7);
16
+ this.disabled = false;
17
+ this.labelPosition = index$1.ZtoggleSwitchPositionEnum.left;
18
+ this.checked = false;
19
+ this.htmlid = `toggle-switch-id-${utils.randomId()}`;
20
+ }
21
+ emitToggleClick() {
22
+ this.toggleClick.emit({
23
+ id: this.htmlid,
24
+ checked: this.checked,
25
+ });
26
+ }
27
+ handleClick(ev) {
28
+ if (this.disabled)
29
+ return;
30
+ this.checked = ev.target.checked;
31
+ this.emitToggleClick();
32
+ }
33
+ render() {
34
+ return [
35
+ index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
36
+ index.h("label", { htmlFor: this.htmlid, class: {
37
+ [this.labelPosition]: true,
38
+ disabled: this.disabled,
39
+ } }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
40
+ container: true,
41
+ disabled: this.disabled,
42
+ checked: this.checked,
43
+ } }, index.h("span", { class: "circle" }, this.checked && (index.h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
44
+ ];
45
+ }
46
+ };
47
+ ZToggleSwitch.style = stylesCss;
48
+
49
+ exports.z_toggle_switch = ZToggleSwitch;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-6b11e272.js');
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-ef6dc2ee.js');
7
7
 
8
8
  const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
9
9
 
@@ -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-84b7063a.js');
6
6
  const breakpoints = require('./breakpoints-88c4fd6c.js');
7
7
 
8
8
  const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
@@ -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-84b7063a.js');
6
6
 
7
7
  const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
8
8
 
@@ -183,6 +183,11 @@ export var ExpandableListButtonAlign;
183
183
  ExpandableListButtonAlign["right"] = "right";
184
184
  ExpandableListButtonAlign["left"] = "left";
185
185
  })(ExpandableListButtonAlign || (ExpandableListButtonAlign = {}));
186
+ export var ZtoggleSwitchPositionEnum;
187
+ (function (ZtoggleSwitchPositionEnum) {
188
+ ZtoggleSwitchPositionEnum["right"] = "right";
189
+ ZtoggleSwitchPositionEnum["left"] = "left";
190
+ })(ZtoggleSwitchPositionEnum || (ZtoggleSwitchPositionEnum = {}));
186
191
  export var ListDividerType;
187
192
  (function (ListDividerType) {
188
193
  ListDividerType["none"] = "none";
@@ -263,6 +268,11 @@ export var OffCanvasVariantsEnum;
263
268
  OffCanvasVariantsEnum["overlay"] = "overlay";
264
269
  OffCanvasVariantsEnum["pushcontent"] = "pushcontent";
265
270
  })(OffCanvasVariantsEnum || (OffCanvasVariantsEnum = {}));
271
+ export var ZFileUploadTypeEnum;
272
+ (function (ZFileUploadTypeEnum) {
273
+ ZFileUploadTypeEnum["default"] = "default";
274
+ ZFileUploadTypeEnum["dragdrop"] = "dragdrop";
275
+ })(ZFileUploadTypeEnum || (ZFileUploadTypeEnum = {}));
266
276
  export var ZChipType;
267
277
  (function (ZChipType) {
268
278
  ZChipType["default"] = "default";
@@ -6,6 +6,10 @@
6
6
  "./components/buttons/z-button-sort/index.js",
7
7
  "./components/buttons/z-chip/index.js",
8
8
  "./components/buttons/z-toggle-button/index.js",
9
+ "./components/buttons/z-toggle-switch/index.js",
10
+ "./components/file-upload/z-dragdrop-area/index.js",
11
+ "./components/file-upload/z-file/index.js",
12
+ "./components/file-upload/z-file-upload/index.js",
9
13
  "./components/footer/z-footer/index.js",
10
14
  "./components/footer/z-footer-link/index.js",
11
15
  "./components/footer/z-footer-section/index.js",
@@ -94,8 +98,8 @@
94
98
  ],
95
99
  "compiler": {
96
100
  "name": "@stencil/core",
97
- "version": "2.6.0",
98
- "typescriptVersion": "4.2.3"
101
+ "version": "2.15.1",
102
+ "typescriptVersion": "4.5.4"
99
103
  },
100
104
  "collections": [],
101
105
  "bundles": []
@@ -186,8 +186,8 @@ export class ZButton {
186
186
  "optional": true,
187
187
  "docs": {
188
188
  "tags": [{
189
- "text": "Use `size` prop.",
190
- "name": "deprecated"
189
+ "name": "deprecated",
190
+ "text": "Use `size` prop."
191
191
  }],
192
192
  "text": "Reduce button size (deprecated)."
193
193
  },
@@ -0,0 +1,143 @@
1
+ import { Component, Prop, h, Event } from "@stencil/core";
2
+ import { randomId } from "../../../utils/utils";
3
+ import { ZtoggleSwitchPositionEnum } from "../../../beans";
4
+ export class ZToggleSwitch {
5
+ constructor() {
6
+ this.disabled = false;
7
+ this.labelPosition = ZtoggleSwitchPositionEnum.left;
8
+ this.checked = false;
9
+ this.htmlid = `toggle-switch-id-${randomId()}`;
10
+ }
11
+ emitToggleClick() {
12
+ this.toggleClick.emit({
13
+ id: this.htmlid,
14
+ checked: this.checked,
15
+ });
16
+ }
17
+ handleClick(ev) {
18
+ if (this.disabled)
19
+ return;
20
+ this.checked = ev.target.checked;
21
+ this.emitToggleClick();
22
+ }
23
+ render() {
24
+ return [
25
+ h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
26
+ h("label", { htmlFor: this.htmlid, class: {
27
+ [this.labelPosition]: true,
28
+ disabled: this.disabled,
29
+ } },
30
+ h("span", null,
31
+ h("slot", null)),
32
+ h("span", { class: {
33
+ container: true,
34
+ disabled: this.disabled,
35
+ checked: this.checked,
36
+ } },
37
+ h("span", { class: "circle" }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
38
+ ];
39
+ }
40
+ static get is() { return "z-toggle-switch"; }
41
+ static get encapsulation() { return "scoped"; }
42
+ static get originalStyleUrls() { return {
43
+ "$": ["styles.css"]
44
+ }; }
45
+ static get styleUrls() { return {
46
+ "$": ["styles.css"]
47
+ }; }
48
+ static get properties() { return {
49
+ "disabled": {
50
+ "type": "boolean",
51
+ "mutable": false,
52
+ "complexType": {
53
+ "original": "boolean",
54
+ "resolved": "boolean",
55
+ "references": {}
56
+ },
57
+ "required": false,
58
+ "optional": true,
59
+ "docs": {
60
+ "tags": [],
61
+ "text": ""
62
+ },
63
+ "attribute": "disabled",
64
+ "reflect": true,
65
+ "defaultValue": "false"
66
+ },
67
+ "labelPosition": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "ZtoggleSwitchPositionEnum",
72
+ "resolved": "ZtoggleSwitchPositionEnum.left | ZtoggleSwitchPositionEnum.right",
73
+ "references": {
74
+ "ZtoggleSwitchPositionEnum": {
75
+ "location": "import",
76
+ "path": "../../../beans"
77
+ }
78
+ }
79
+ },
80
+ "required": false,
81
+ "optional": true,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": ""
85
+ },
86
+ "attribute": "label-position",
87
+ "reflect": true,
88
+ "defaultValue": "ZtoggleSwitchPositionEnum.left"
89
+ },
90
+ "checked": {
91
+ "type": "boolean",
92
+ "mutable": true,
93
+ "complexType": {
94
+ "original": "boolean",
95
+ "resolved": "boolean",
96
+ "references": {}
97
+ },
98
+ "required": false,
99
+ "optional": true,
100
+ "docs": {
101
+ "tags": [],
102
+ "text": ""
103
+ },
104
+ "attribute": "checked",
105
+ "reflect": false,
106
+ "defaultValue": "false"
107
+ },
108
+ "htmlid": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "string",
113
+ "resolved": "string",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": ""
121
+ },
122
+ "attribute": "htmlid",
123
+ "reflect": false,
124
+ "defaultValue": "`toggle-switch-id-${randomId()}`"
125
+ }
126
+ }; }
127
+ static get events() { return [{
128
+ "method": "toggleClick",
129
+ "name": "toggleClick",
130
+ "bubbles": true,
131
+ "cancelable": true,
132
+ "composed": true,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": ""
136
+ },
137
+ "complexType": {
138
+ "original": "any",
139
+ "resolved": "any",
140
+ "references": {}
141
+ }
142
+ }]; }
143
+ }