@zanichelli/albe-web-components 5.5.1 → 5.5.2

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 (705) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/{index-438f76bc.js → index-3dd0f9bd.js} +10 -0
  3. package/dist/cjs/index.cjs.js +14 -2
  4. package/dist/cjs/loader.cjs.js +2 -18
  5. package/dist/cjs/{utils-69e42a14.js → utils-29f9ccf5.js} +4 -26
  6. package/dist/cjs/{utils-8cc414c9.js → utils-4a419726.js} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +4 -116
  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-range-picker.cjs.entry.js → z-app-switcher_9.cjs.entry.js} +443 -14
  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-button-deprecated.cjs.entry.js +4 -4
  14. package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
  15. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  16. package/dist/cjs/z-button.cjs.entry.js +2 -2
  17. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  18. package/dist/cjs/z-card.cjs.entry.js +2 -2
  19. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  20. package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
  21. package/dist/cjs/z-chip.cjs.entry.js +5 -5
  22. package/dist/cjs/z-combobox.cjs.entry.js +4 -4
  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-cover-hero.cjs.entry.js +39 -0
  26. package/dist/cjs/z-date-picker.cjs.entry.js +8 -14
  27. package/dist/cjs/z-file-upload.cjs.entry.js +26 -12
  28. package/dist/cjs/z-file.cjs.entry.js +4 -4
  29. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  30. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  31. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  33. package/dist/cjs/z-info-reveal.cjs.entry.js +3 -3
  34. package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
  35. package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
  36. package/dist/cjs/z-list-group.cjs.entry.js +2 -2
  37. package/dist/cjs/z-list_2.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
  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 +1 -1
  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-link.cjs.entry.js +2 -2
  55. package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
  56. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  57. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  58. package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
  59. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  60. package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -7
  61. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  62. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  63. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  64. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  65. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  66. package/dist/cjs/z-popover-deprecated.cjs.entry.js +5 -5
  67. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  68. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  69. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  70. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  71. package/dist/cjs/z-status-tag.cjs.entry.js +4 -4
  72. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  73. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  75. package/dist/cjs/z-table-cell.cjs.entry.js +4 -4
  76. package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -3
  77. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  79. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-header.cjs.entry.js +5 -5
  82. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  83. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table.cjs.entry.js +2 -2
  85. package/dist/cjs/z-tag.cjs.entry.js +1 -1
  86. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  87. package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
  88. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  89. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  90. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
  91. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  92. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  93. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  94. package/dist/collection/beans/index.js +10 -0
  95. package/dist/collection/collection-manifest.json +1 -0
  96. package/dist/collection/components/buttons/z-chip/index.js +1 -1
  97. package/dist/collection/components/buttons/z-chip/styles.css +2 -9
  98. package/dist/collection/components/file-upload/z-file/index.js +19 -3
  99. package/dist/collection/components/file-upload/z-file-upload/index.js +46 -11
  100. package/dist/collection/components/inputs/z-combobox/styles.css +1 -2
  101. package/dist/collection/components/z-cover-hero/index.js +103 -0
  102. package/dist/collection/components/z-cover-hero/styles.css +77 -0
  103. package/dist/collection/components/z-info-reveal/styles.css +5 -0
  104. package/dist/{web-components-library/index-3ee81524.js → esm/index-3c2d757b.js} +11 -1
  105. package/dist/esm/index.js +2 -2
  106. package/dist/esm/loader.js +2 -18
  107. package/dist/esm/{utils-5d5963ef.js → utils-57be09c8.js} +2 -2
  108. package/dist/esm/{utils-1e801ac0.js → utils-729724da.js} +4 -26
  109. package/dist/esm/web-components-library.js +4 -116
  110. package/dist/esm/z-alert.entry.js +1 -1
  111. package/dist/esm/z-app-header.entry.js +1 -1
  112. package/dist/{web-components-library/z-range-picker.entry.js → esm/z-app-switcher_9.entry.js} +426 -5
  113. package/dist/esm/z-aria-alert.entry.js +2 -2
  114. package/dist/esm/z-avatar.entry.js +2 -2
  115. package/dist/esm/z-button-deprecated.entry.js +4 -4
  116. package/dist/esm/z-button-filter.entry.js +1 -1
  117. package/dist/esm/z-button-sort.entry.js +1 -1
  118. package/dist/esm/z-button.entry.js +2 -2
  119. package/dist/esm/z-candybar.entry.js +1 -1
  120. package/dist/esm/z-card.entry.js +2 -2
  121. package/dist/esm/z-carousel.entry.js +1 -1
  122. package/dist/esm/z-chip-deprecated.entry.js +1 -1
  123. package/dist/esm/z-chip.entry.js +5 -5
  124. package/dist/esm/z-combobox.entry.js +4 -4
  125. package/dist/esm/z-contextual-menu.entry.js +2 -2
  126. package/dist/esm/z-cookiebar.entry.js +2 -2
  127. package/dist/esm/z-cover-hero.entry.js +35 -0
  128. package/dist/esm/z-date-picker.entry.js +8 -14
  129. package/dist/esm/z-file-upload.entry.js +26 -12
  130. package/dist/esm/z-file.entry.js +4 -4
  131. package/dist/esm/z-footer.entry.js +2 -2
  132. package/dist/esm/z-ghost-loading.entry.js +1 -1
  133. package/dist/esm/z-icon-package.entry.js +1 -1
  134. package/dist/esm/z-info-box.entry.js +1 -1
  135. package/dist/esm/z-info-reveal.entry.js +3 -3
  136. package/dist/esm/z-input-deprecated.entry.js +3 -3
  137. package/dist/esm/z-input-label_2.entry.js +2 -2
  138. package/dist/esm/z-list-group.entry.js +2 -2
  139. package/dist/esm/z-list_2.entry.js +1 -1
  140. package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
  141. package/dist/esm/z-menu-section.entry.js +1 -1
  142. package/dist/esm/z-menu.entry.js +1 -1
  143. package/dist/esm/z-messages-pocket.entry.js +2 -2
  144. package/dist/esm/z-modal-login.entry.js +2 -2
  145. package/dist/esm/z-modal.entry.js +1 -1
  146. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  147. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  148. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  149. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  150. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  151. package/dist/esm/z-myz-card-info.entry.js +3 -3
  152. package/dist/esm/z-myz-card-list.entry.js +1 -1
  153. package/dist/esm/z-myz-card_4.entry.js +1 -1
  154. package/dist/esm/z-myz-list-item.entry.js +3 -3
  155. package/dist/esm/z-myz-topbar.entry.js +2 -2
  156. package/dist/esm/z-navigation-tab-link.entry.js +2 -2
  157. package/dist/esm/z-navigation-tab.entry.js +2 -2
  158. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  159. package/dist/esm/z-notification.entry.js +1 -1
  160. package/dist/esm/z-offcanvas.entry.js +2 -2
  161. package/dist/esm/z-otp.entry.js +2 -2
  162. package/dist/esm/z-pagination-bar.entry.js +5 -7
  163. package/dist/esm/z-pagination-page.entry.js +1 -1
  164. package/dist/esm/z-pagination.entry.js +1 -1
  165. package/dist/esm/z-panel-elem.entry.js +1 -1
  166. package/dist/esm/z-pocket-message.entry.js +1 -1
  167. package/dist/esm/z-pocket_3.entry.js +2 -2
  168. package/dist/esm/z-popover-deprecated.entry.js +5 -5
  169. package/dist/esm/z-popover.entry.js +2 -2
  170. package/dist/esm/z-section-title.entry.js +2 -2
  171. package/dist/esm/z-skip-to-content.entry.js +3 -3
  172. package/dist/esm/z-slideshow.entry.js +3 -3
  173. package/dist/esm/z-status-tag.entry.js +4 -4
  174. package/dist/esm/z-stepper-item.entry.js +1 -1
  175. package/dist/esm/z-stepper.entry.js +1 -1
  176. package/dist/esm/z-table-body.entry.js +1 -1
  177. package/dist/esm/z-table-cell.entry.js +4 -4
  178. package/dist/esm/z-table-empty-box.entry.js +3 -3
  179. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  180. package/dist/esm/z-table-footer.entry.js +1 -1
  181. package/dist/esm/z-table-head.entry.js +1 -1
  182. package/dist/esm/z-table-header-row.entry.js +1 -1
  183. package/dist/esm/z-table-header.entry.js +5 -5
  184. package/dist/esm/z-table-row.entry.js +2 -2
  185. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  186. package/dist/esm/z-table.entry.js +2 -2
  187. package/dist/esm/z-tag.entry.js +1 -1
  188. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  189. package/dist/esm/z-toast-notification.entry.js +4 -4
  190. package/dist/esm/z-toggle-button.entry.js +1 -1
  191. package/dist/esm/z-toggle-switch.entry.js +3 -3
  192. package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
  193. package/dist/esm/z-tooltip.entry.js +2 -2
  194. package/dist/esm/z-user-dropdown.entry.js +1 -1
  195. package/dist/esm/z-visually-hidden.entry.js +1 -1
  196. package/dist/types/beans/index.d.ts +8 -0
  197. package/dist/types/components/file-upload/z-file/index.d.ts +2 -0
  198. package/dist/types/components/file-upload/z-file-upload/index.d.ts +5 -3
  199. package/dist/types/components/z-cover-hero/index.d.ts +29 -0
  200. package/dist/types/components.d.ts +42 -1
  201. package/dist/web-components-library/index.esm.js +1 -9
  202. package/dist/web-components-library/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
  203. package/dist/web-components-library/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
  204. package/dist/web-components-library/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
  205. package/dist/web-components-library/p-0ab1b40f.entry.js +1 -0
  206. package/dist/web-components-library/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
  207. package/dist/web-components-library/p-1906915c.entry.js +1 -0
  208. package/dist/web-components-library/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
  209. package/dist/web-components-library/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
  210. package/dist/web-components-library/p-1ff7bde5.entry.js +1 -0
  211. package/dist/web-components-library/p-223566d6.entry.js +1 -0
  212. package/dist/web-components-library/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
  213. package/{www/build/p-9074e1a5.entry.js → dist/web-components-library/p-46a6341a.entry.js} +1 -1
  214. package/dist/web-components-library/p-51130281.entry.js +1 -0
  215. package/dist/web-components-library/p-5789bbe7.entry.js +1 -0
  216. package/{www/build/p-7c6d4440.entry.js → dist/web-components-library/p-596da333.entry.js} +1 -1
  217. package/{www/build/p-0a0aee35.entry.js → dist/web-components-library/p-71034a6f.entry.js} +1 -1
  218. package/dist/web-components-library/p-710cec6d.entry.js +1 -0
  219. package/dist/web-components-library/p-7171717f.entry.js +1 -0
  220. package/dist/web-components-library/p-79408b00.entry.js +1 -0
  221. package/dist/web-components-library/p-7b054eb2.entry.js +1 -0
  222. package/dist/web-components-library/p-7d37e4a8.entry.js +16 -0
  223. package/{www/build/p-dffdf60a.entry.js → dist/web-components-library/p-8468d87e.entry.js} +1 -1
  224. package/dist/web-components-library/p-8cf3798f.entry.js +1 -0
  225. package/{www/build/p-43329b81.entry.js → dist/web-components-library/p-8e4d7f5d.entry.js} +1 -1
  226. package/dist/web-components-library/p-8f030e78.entry.js +1 -0
  227. package/dist/web-components-library/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
  228. package/{www/build/p-5be162d5.entry.js → dist/web-components-library/p-953a07d5.entry.js} +1 -1
  229. package/dist/web-components-library/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
  230. package/{www/build/p-57d1acdc.entry.js → dist/web-components-library/p-a5232d04.entry.js} +1 -1
  231. package/dist/web-components-library/p-a54ef821.entry.js +1 -0
  232. package/{www/build/p-8fbc2ce9.entry.js → dist/web-components-library/p-a93d5b8c.entry.js} +1 -1
  233. package/dist/web-components-library/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
  234. package/dist/web-components-library/p-ae784c71.entry.js +1 -0
  235. package/dist/web-components-library/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
  236. package/{www/build/p-e2102da3.entry.js → dist/web-components-library/p-aed2a8cf.entry.js} +1 -1
  237. package/{www/build/p-3edbd35c.entry.js → dist/web-components-library/p-b543005a.entry.js} +1 -1
  238. package/dist/web-components-library/p-bb20020b.entry.js +1 -0
  239. package/dist/web-components-library/p-bbeb6b3c.entry.js +1 -0
  240. package/dist/web-components-library/p-bd772b8a.entry.js +1 -0
  241. package/dist/web-components-library/{p-b9da171f.js → p-bfa3593e.js} +1 -1
  242. package/{www/build/p-9a5ee6c2.entry.js → dist/web-components-library/p-c066ddf1.entry.js} +1 -1
  243. package/dist/web-components-library/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
  244. package/dist/web-components-library/p-c730a93d.entry.js +1 -0
  245. package/dist/web-components-library/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
  246. package/dist/web-components-library/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
  247. package/dist/web-components-library/p-cf35d3cd.entry.js +1 -0
  248. package/dist/web-components-library/p-cf73af9a.entry.js +1 -0
  249. package/dist/web-components-library/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
  250. package/dist/web-components-library/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
  251. package/dist/web-components-library/p-d79f69f2.js +1 -0
  252. package/dist/web-components-library/p-e293f91e.entry.js +1 -0
  253. package/{www/build/p-55ddbfe9.entry.js → dist/web-components-library/p-e6ac4dc4.entry.js} +1 -1
  254. package/dist/web-components-library/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
  255. package/dist/web-components-library/p-ed05dc6b.entry.js +1 -0
  256. package/dist/web-components-library/p-f0d90cc2.entry.js +1 -0
  257. package/dist/web-components-library/p-f31b8e83.js +1 -0
  258. package/{www/build/p-df4e963b.entry.js → dist/web-components-library/p-f6da32c4.entry.js} +1 -1
  259. package/{www/build/p-bfe5693d.entry.js → dist/web-components-library/p-fd2338b2.entry.js} +1 -1
  260. package/{www/build/p-4af112a7.entry.js → dist/web-components-library/p-fea2c39a.entry.js} +1 -1
  261. package/dist/web-components-library/web-components-library.css +1 -812
  262. package/dist/web-components-library/web-components-library.esm.js +1 -129
  263. package/package.json +1 -1
  264. package/react/components.d.ts +5 -0
  265. package/react/components.js +8 -3
  266. package/react/components.js.map +1 -1
  267. package/readme.md +8 -0
  268. package/www/build/index.esm.js +1 -9
  269. package/www/build/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
  270. package/www/build/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
  271. package/www/build/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
  272. package/www/build/p-0ab1b40f.entry.js +1 -0
  273. package/www/build/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
  274. package/www/build/p-1906915c.entry.js +1 -0
  275. package/www/build/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
  276. package/www/build/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
  277. package/www/build/p-1ff7bde5.entry.js +1 -0
  278. package/www/build/p-223566d6.entry.js +1 -0
  279. package/www/build/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
  280. package/www/build/p-36091078.js +1 -0
  281. package/{dist/web-components-library/p-9074e1a5.entry.js → www/build/p-46a6341a.entry.js} +1 -1
  282. package/www/build/{p-88b56b6e.css → p-4c9c83c0.css} +1 -1
  283. package/www/build/p-51130281.entry.js +1 -0
  284. package/www/build/p-5789bbe7.entry.js +1 -0
  285. package/{dist/web-components-library/p-7c6d4440.entry.js → www/build/p-596da333.entry.js} +1 -1
  286. package/{dist/web-components-library/p-0a0aee35.entry.js → www/build/p-71034a6f.entry.js} +1 -1
  287. package/www/build/p-710cec6d.entry.js +1 -0
  288. package/www/build/p-7171717f.entry.js +1 -0
  289. package/www/build/p-79408b00.entry.js +1 -0
  290. package/www/build/p-7b054eb2.entry.js +1 -0
  291. package/www/build/p-7d37e4a8.entry.js +16 -0
  292. package/{dist/web-components-library/p-dffdf60a.entry.js → www/build/p-8468d87e.entry.js} +1 -1
  293. package/www/build/p-8cf3798f.entry.js +1 -0
  294. package/{dist/web-components-library/p-43329b81.entry.js → www/build/p-8e4d7f5d.entry.js} +1 -1
  295. package/www/build/p-8f030e78.entry.js +1 -0
  296. package/www/build/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
  297. package/{dist/web-components-library/p-5be162d5.entry.js → www/build/p-953a07d5.entry.js} +1 -1
  298. package/www/build/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
  299. package/{dist/web-components-library/p-57d1acdc.entry.js → www/build/p-a5232d04.entry.js} +1 -1
  300. package/www/build/p-a54ef821.entry.js +1 -0
  301. package/{dist/web-components-library/p-8fbc2ce9.entry.js → www/build/p-a93d5b8c.entry.js} +1 -1
  302. package/www/build/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
  303. package/www/build/p-ae784c71.entry.js +1 -0
  304. package/www/build/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
  305. package/{dist/web-components-library/p-e2102da3.entry.js → www/build/p-aed2a8cf.entry.js} +1 -1
  306. package/{dist/web-components-library/p-3edbd35c.entry.js → www/build/p-b543005a.entry.js} +1 -1
  307. package/www/build/p-bb20020b.entry.js +1 -0
  308. package/www/build/p-bbeb6b3c.entry.js +1 -0
  309. package/www/build/p-bd772b8a.entry.js +1 -0
  310. package/www/build/{p-b9da171f.js → p-bfa3593e.js} +1 -1
  311. package/{dist/web-components-library/p-9a5ee6c2.entry.js → www/build/p-c066ddf1.entry.js} +1 -1
  312. package/www/build/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
  313. package/www/build/p-c730a93d.entry.js +1 -0
  314. package/www/build/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
  315. package/www/build/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
  316. package/www/build/p-cf35d3cd.entry.js +1 -0
  317. package/www/build/p-cf73af9a.entry.js +1 -0
  318. package/www/build/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
  319. package/www/build/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
  320. package/www/build/p-d79f69f2.js +1 -0
  321. package/www/build/p-e293f91e.entry.js +1 -0
  322. package/{dist/web-components-library/p-55ddbfe9.entry.js → www/build/p-e6ac4dc4.entry.js} +1 -1
  323. package/www/build/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
  324. package/www/build/p-ed05dc6b.entry.js +1 -0
  325. package/www/build/p-f0d90cc2.entry.js +1 -0
  326. package/www/build/p-f31b8e83.js +1 -0
  327. package/{dist/web-components-library/p-df4e963b.entry.js → www/build/p-f6da32c4.entry.js} +1 -1
  328. package/{dist/web-components-library/p-bfe5693d.entry.js → www/build/p-fd2338b2.entry.js} +1 -1
  329. package/{dist/web-components-library/p-4af112a7.entry.js → www/build/p-fea2c39a.entry.js} +1 -1
  330. package/www/build/web-components-library.css +1 -812
  331. package/www/build/web-components-library.esm.js +1 -129
  332. package/www/index.html +2 -11
  333. package/www/pages/file-upload.html +97 -54
  334. package/dist/cjs/_commonjsHelpers-10109b76.js +0 -48
  335. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  336. package/dist/cjs/css-shim-f1391d35.js +0 -6
  337. package/dist/cjs/dom-5345ed9a.js +0 -75
  338. package/dist/cjs/hammer-0741ba49.js +0 -2651
  339. package/dist/cjs/index-545547ad.js +0 -66
  340. package/dist/cjs/index-6b6a3299.js +0 -315
  341. package/dist/cjs/index-a8bdcb9c.js +0 -334
  342. package/dist/cjs/index-fcbe2d6e.js +0 -3093
  343. package/dist/cjs/shadow-css-42acdd0e.js +0 -390
  344. package/dist/cjs/utils-0a978fe0.js +0 -118
  345. package/dist/cjs/utils-56c20ead.js +0 -118
  346. package/dist/cjs/utils-aca0a0b6.js +0 -2742
  347. package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
  348. package/dist/cjs/z-app-switcher_11.cjs.entry.js +0 -377
  349. package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
  350. package/dist/cjs/z-body.cjs.entry.js +0 -17
  351. package/dist/cjs/z-divider.cjs.entry.js +0 -26
  352. package/dist/cjs/z-dragdrop-area.cjs.entry.js +0 -37
  353. package/dist/cjs/z-footer-link.cjs.entry.js +0 -19
  354. package/dist/cjs/z-footer-section.cjs.entry.js +0 -23
  355. package/dist/cjs/z-footer-social.cjs.entry.js +0 -19
  356. package/dist/cjs/z-heading.cjs.entry.js +0 -17
  357. package/dist/cjs/z-icon.cjs.entry.js +0 -28
  358. package/dist/cjs/z-input-label.cjs.entry.js +0 -21
  359. package/dist/cjs/z-input-message.cjs.entry.js +0 -24
  360. package/dist/cjs/z-input.cjs.entry.js +0 -235
  361. package/dist/cjs/z-input_2.cjs.entry.js +0 -228
  362. package/dist/cjs/z-link.cjs.entry.js +0 -71
  363. package/dist/cjs/z-list-element.cjs.entry.js +0 -154
  364. package/dist/cjs/z-list.cjs.entry.js +0 -34
  365. package/dist/cjs/z-logo.cjs.entry.js +0 -28
  366. package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -60
  367. package/dist/cjs/z-myz-card-body.cjs.entry.js +0 -19
  368. package/dist/cjs/z-myz-card-cover.cjs.entry.js +0 -22
  369. package/dist/cjs/z-myz-card-header.cjs.entry.js +0 -39
  370. package/dist/cjs/z-myz-card.cjs.entry.js +0 -43
  371. package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
  372. package/dist/cjs/z-pocket-body.cjs.entry.js +0 -27
  373. package/dist/cjs/z-pocket-header.cjs.entry.js +0 -40
  374. package/dist/cjs/z-pocket.cjs.entry.js +0 -72
  375. package/dist/cjs/z-select.cjs.entry.js +0 -257
  376. package/dist/cjs/z-typography.cjs.entry.js +0 -29
  377. package/dist/collection/components/z-date-picker/index.js +0 -284
  378. package/dist/collection/components/z-date-picker/styles.css +0 -525
  379. package/dist/esm/_commonjsHelpers-8fe71198.js +0 -44
  380. package/dist/esm/app-globals-0f993ce5.js +0 -3
  381. package/dist/esm/css-shim-10e6e2ae.js +0 -4
  382. package/dist/esm/dom-7cd9cf71.js +0 -73
  383. package/dist/esm/hammer-782a2043.js +0 -2649
  384. package/dist/esm/index-3b53c63e.js +0 -334
  385. package/dist/esm/index-3ee81524.js +0 -334
  386. package/dist/esm/index-46ca649a.js +0 -315
  387. package/dist/esm/index-51f075dd.js +0 -64
  388. package/dist/esm/index-81176684.js +0 -3057
  389. package/dist/esm/shadow-css-38a1326b.js +0 -388
  390. package/dist/esm/utils-43f2cad8.js +0 -2736
  391. package/dist/esm/utils-a3134cfb.js +0 -109
  392. package/dist/esm/utils-e5940345.js +0 -109
  393. package/dist/esm/z-app-switcher.entry.js +0 -25
  394. package/dist/esm/z-app-switcher_11.entry.js +0 -363
  395. package/dist/esm/z-app-topbar.entry.js +0 -37
  396. package/dist/esm/z-body.entry.js +0 -13
  397. package/dist/esm/z-divider.entry.js +0 -22
  398. package/dist/esm/z-dragdrop-area.entry.js +0 -33
  399. package/dist/esm/z-footer-link.entry.js +0 -15
  400. package/dist/esm/z-footer-section.entry.js +0 -19
  401. package/dist/esm/z-footer-social.entry.js +0 -15
  402. package/dist/esm/z-heading.entry.js +0 -13
  403. package/dist/esm/z-icon.entry.js +0 -24
  404. package/dist/esm/z-input-label.entry.js +0 -17
  405. package/dist/esm/z-input-message.entry.js +0 -20
  406. package/dist/esm/z-input.entry.js +0 -231
  407. package/dist/esm/z-input_2.entry.js +0 -223
  408. package/dist/esm/z-link.entry.js +0 -67
  409. package/dist/esm/z-list-element.entry.js +0 -150
  410. package/dist/esm/z-list.entry.js +0 -30
  411. package/dist/esm/z-logo.entry.js +0 -24
  412. package/dist/esm/z-menu-dropdown.entry.js +0 -56
  413. package/dist/esm/z-myz-card-body.entry.js +0 -15
  414. package/dist/esm/z-myz-card-cover.entry.js +0 -18
  415. package/dist/esm/z-myz-card-header.entry.js +0 -35
  416. package/dist/esm/z-myz-card.entry.js +0 -39
  417. package/dist/esm/z-myz-list.entry.js +0 -31
  418. package/dist/esm/z-pocket-body.entry.js +0 -23
  419. package/dist/esm/z-pocket-header.entry.js +0 -36
  420. package/dist/esm/z-pocket.entry.js +0 -68
  421. package/dist/esm/z-range-picker.entry.js +0 -354
  422. package/dist/esm/z-select.entry.js +0 -253
  423. package/dist/esm/z-typography.entry.js +0 -25
  424. package/dist/types/components/z-date-picker/index.d.ts +0 -30
  425. package/dist/web-components-library/_commonjsHelpers-8fe71198.js +0 -44
  426. package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
  427. package/dist/web-components-library/breakpoints-c386984e.js +0 -4
  428. package/dist/web-components-library/css-shim-10e6e2ae.js +0 -4
  429. package/dist/web-components-library/dom-7cd9cf71.js +0 -73
  430. package/dist/web-components-library/hammer-782a2043.js +0 -2649
  431. package/dist/web-components-library/icons-92a7dcde.js +0 -511
  432. package/dist/web-components-library/index-3b53c63e.js +0 -334
  433. package/dist/web-components-library/index-51f075dd.js +0 -64
  434. package/dist/web-components-library/index-81176684.js +0 -3057
  435. package/dist/web-components-library/p-0d29d851.entry.js +0 -1
  436. package/dist/web-components-library/p-0e408871.entry.js +0 -1
  437. package/dist/web-components-library/p-0ef6c549.entry.js +0 -1
  438. package/dist/web-components-library/p-1f73a6d8.entry.js +0 -1
  439. package/dist/web-components-library/p-20d62443.entry.js +0 -1
  440. package/dist/web-components-library/p-3c111c2a.entry.js +0 -1
  441. package/dist/web-components-library/p-562e2d52.entry.js +0 -1
  442. package/dist/web-components-library/p-5eacbfc7.entry.js +0 -1
  443. package/dist/web-components-library/p-6218514a.entry.js +0 -1
  444. package/dist/web-components-library/p-71accd8e.entry.js +0 -1
  445. package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
  446. package/dist/web-components-library/p-9f5d707a.js +0 -1
  447. package/dist/web-components-library/p-a8875b97.entry.js +0 -16
  448. package/dist/web-components-library/p-d39c0372.entry.js +0 -1
  449. package/dist/web-components-library/p-d995d9dc.entry.js +0 -1
  450. package/dist/web-components-library/p-e2431b92.entry.js +0 -1
  451. package/dist/web-components-library/p-edb8d2ab.entry.js +0 -1
  452. package/dist/web-components-library/shadow-css-38a1326b.js +0 -388
  453. package/dist/web-components-library/utils-1e801ac0.js +0 -2736
  454. package/dist/web-components-library/utils-43f2cad8.js +0 -2736
  455. package/dist/web-components-library/utils-a3134cfb.js +0 -109
  456. package/dist/web-components-library/utils-e5940345.js +0 -109
  457. package/dist/web-components-library/z-alert.entry.js +0 -15
  458. package/dist/web-components-library/z-app-header.entry.js +0 -127
  459. package/dist/web-components-library/z-app-switcher.entry.js +0 -25
  460. package/dist/web-components-library/z-app-topbar.entry.js +0 -37
  461. package/dist/web-components-library/z-aria-alert.entry.js +0 -14
  462. package/dist/web-components-library/z-avatar.entry.js +0 -39
  463. package/dist/web-components-library/z-body.entry.js +0 -13
  464. package/dist/web-components-library/z-button-deprecated.entry.js +0 -34
  465. package/dist/web-components-library/z-button-filter.entry.js +0 -45
  466. package/dist/web-components-library/z-button-sort.entry.js +0 -50
  467. package/dist/web-components-library/z-button.entry.js +0 -38
  468. package/dist/web-components-library/z-candybar.entry.js +0 -15
  469. package/dist/web-components-library/z-card.entry.js +0 -65
  470. package/dist/web-components-library/z-carousel.entry.js +0 -20
  471. package/dist/web-components-library/z-chip-deprecated.entry.js +0 -20
  472. package/dist/web-components-library/z-chip.entry.js +0 -33
  473. package/dist/web-components-library/z-combobox.entry.js +0 -166
  474. package/dist/web-components-library/z-contextual-menu.entry.js +0 -47
  475. package/dist/web-components-library/z-cookiebar.entry.js +0 -38
  476. package/dist/web-components-library/z-date-picker.entry.js +0 -484
  477. package/dist/web-components-library/z-divider.entry.js +0 -22
  478. package/dist/web-components-library/z-dragdrop-area.entry.js +0 -33
  479. package/dist/web-components-library/z-file-upload.entry.js +0 -168
  480. package/dist/web-components-library/z-file.entry.js +0 -44
  481. package/dist/web-components-library/z-footer-link.entry.js +0 -15
  482. package/dist/web-components-library/z-footer-section.entry.js +0 -19
  483. package/dist/web-components-library/z-footer-social.entry.js +0 -15
  484. package/dist/web-components-library/z-footer.entry.js +0 -103
  485. package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
  486. package/dist/web-components-library/z-heading.entry.js +0 -13
  487. package/dist/web-components-library/z-icon-package.entry.js +0 -19
  488. package/dist/web-components-library/z-icon.entry.js +0 -24
  489. package/dist/web-components-library/z-info-box.entry.js +0 -21
  490. package/dist/web-components-library/z-info-reveal.entry.js +0 -60
  491. package/dist/web-components-library/z-input-deprecated.entry.js +0 -267
  492. package/dist/web-components-library/z-input-label.entry.js +0 -17
  493. package/dist/web-components-library/z-input-message.entry.js +0 -20
  494. package/dist/web-components-library/z-input.entry.js +0 -231
  495. package/dist/web-components-library/z-link.entry.js +0 -67
  496. package/dist/web-components-library/z-list-element.entry.js +0 -150
  497. package/dist/web-components-library/z-list-group.entry.js +0 -50
  498. package/dist/web-components-library/z-list.entry.js +0 -30
  499. package/dist/web-components-library/z-logo.entry.js +0 -24
  500. package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
  501. package/dist/web-components-library/z-menu-section.entry.js +0 -42
  502. package/dist/web-components-library/z-menu.entry.js +0 -106
  503. package/dist/web-components-library/z-messages-pocket.entry.js +0 -42
  504. package/dist/web-components-library/z-modal-login.entry.js +0 -78
  505. package/dist/web-components-library/z-modal.entry.js +0 -32
  506. package/dist/web-components-library/z-myz-card-alert.entry.js +0 -59
  507. package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
  508. package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
  509. package/dist/web-components-library/z-myz-card-dictionary.entry.js +0 -32
  510. package/dist/web-components-library/z-myz-card-footer-sections.entry.js +0 -15
  511. package/dist/web-components-library/z-myz-card-footer.entry.js +0 -52
  512. package/dist/web-components-library/z-myz-card-header.entry.js +0 -35
  513. package/dist/web-components-library/z-myz-card-icon.entry.js +0 -17
  514. package/dist/web-components-library/z-myz-card-info.entry.js +0 -115
  515. package/dist/web-components-library/z-myz-card-list.entry.js +0 -33
  516. package/dist/web-components-library/z-myz-card.entry.js +0 -39
  517. package/dist/web-components-library/z-myz-list-item.entry.js +0 -33
  518. package/dist/web-components-library/z-myz-list.entry.js +0 -31
  519. package/dist/web-components-library/z-myz-topbar.entry.js +0 -190
  520. package/dist/web-components-library/z-navigation-tab-link.entry.js +0 -67
  521. package/dist/web-components-library/z-navigation-tab.entry.js +0 -69
  522. package/dist/web-components-library/z-navigation-tabs.entry.js +0 -122
  523. package/dist/web-components-library/z-notification.entry.js +0 -42
  524. package/dist/web-components-library/z-offcanvas.entry.js +0 -59
  525. package/dist/web-components-library/z-otp.entry.js +0 -37
  526. package/dist/web-components-library/z-pagination-bar.entry.js +0 -126
  527. package/dist/web-components-library/z-pagination-page.entry.js +0 -21
  528. package/dist/web-components-library/z-pagination.entry.js +0 -228
  529. package/dist/web-components-library/z-panel-elem.entry.js +0 -26
  530. package/dist/web-components-library/z-pocket-body.entry.js +0 -23
  531. package/dist/web-components-library/z-pocket-header.entry.js +0 -36
  532. package/dist/web-components-library/z-pocket-message.entry.js +0 -15
  533. package/dist/web-components-library/z-pocket.entry.js +0 -68
  534. package/dist/web-components-library/z-popover-deprecated.entry.js +0 -128
  535. package/dist/web-components-library/z-popover.entry.js +0 -332
  536. package/dist/web-components-library/z-section-title.entry.js +0 -38
  537. package/dist/web-components-library/z-select.entry.js +0 -253
  538. package/dist/web-components-library/z-skip-to-content.entry.js +0 -64
  539. package/dist/web-components-library/z-slideshow.entry.js +0 -108
  540. package/dist/web-components-library/z-status-tag.entry.js +0 -25
  541. package/dist/web-components-library/z-stepper-item.entry.js +0 -18
  542. package/dist/web-components-library/z-stepper.entry.js +0 -15
  543. package/dist/web-components-library/z-table-body.entry.js +0 -20
  544. package/dist/web-components-library/z-table-cell.entry.js +0 -32
  545. package/dist/web-components-library/z-table-empty-box.entry.js +0 -28
  546. package/dist/web-components-library/z-table-expanded-row.entry.js +0 -15
  547. package/dist/web-components-library/z-table-footer.entry.js +0 -19
  548. package/dist/web-components-library/z-table-head.entry.js +0 -19
  549. package/dist/web-components-library/z-table-header-row.entry.js +0 -18
  550. package/dist/web-components-library/z-table-header.entry.js +0 -81
  551. package/dist/web-components-library/z-table-row.entry.js +0 -39
  552. package/dist/web-components-library/z-table-sticky-footer.entry.js +0 -15
  553. package/dist/web-components-library/z-table.entry.js +0 -78
  554. package/dist/web-components-library/z-tag.entry.js +0 -18
  555. package/dist/web-components-library/z-toast-notification-list.entry.js +0 -52
  556. package/dist/web-components-library/z-toast-notification.entry.js +0 -199
  557. package/dist/web-components-library/z-toggle-button.entry.js +0 -32
  558. package/dist/web-components-library/z-toggle-switch.entry.js +0 -45
  559. package/dist/web-components-library/z-tooltip-deprecated.entry.js +0 -270
  560. package/dist/web-components-library/z-tooltip.entry.js +0 -27
  561. package/dist/web-components-library/z-typography.entry.js +0 -25
  562. package/dist/web-components-library/z-user-dropdown.entry.js +0 -91
  563. package/dist/web-components-library/z-visually-hidden.entry.js +0 -15
  564. package/www/build/_commonjsHelpers-8fe71198.js +0 -44
  565. package/www/build/app-globals-0f993ce5.js +0 -3
  566. package/www/build/breakpoints-c386984e.js +0 -4
  567. package/www/build/css-shim-10e6e2ae.js +0 -4
  568. package/www/build/dom-7cd9cf71.js +0 -73
  569. package/www/build/hammer-782a2043.js +0 -2649
  570. package/www/build/icons-92a7dcde.js +0 -511
  571. package/www/build/index-3b53c63e.js +0 -334
  572. package/www/build/index-3ee81524.js +0 -334
  573. package/www/build/index-51f075dd.js +0 -64
  574. package/www/build/index-81176684.js +0 -3057
  575. package/www/build/p-0d29d851.entry.js +0 -1
  576. package/www/build/p-0e408871.entry.js +0 -1
  577. package/www/build/p-0ef6c549.entry.js +0 -1
  578. package/www/build/p-1f73a6d8.entry.js +0 -1
  579. package/www/build/p-20d62443.entry.js +0 -1
  580. package/www/build/p-3c111c2a.entry.js +0 -1
  581. package/www/build/p-562e2d52.entry.js +0 -1
  582. package/www/build/p-5eacbfc7.entry.js +0 -1
  583. package/www/build/p-6218514a.entry.js +0 -1
  584. package/www/build/p-71accd8e.entry.js +0 -1
  585. package/www/build/p-7a92487a.js +0 -1
  586. package/www/build/p-99d7ab2f.entry.js +0 -1
  587. package/www/build/p-9f5d707a.js +0 -1
  588. package/www/build/p-a8875b97.entry.js +0 -16
  589. package/www/build/p-d39c0372.entry.js +0 -1
  590. package/www/build/p-d995d9dc.entry.js +0 -1
  591. package/www/build/p-e2431b92.entry.js +0 -1
  592. package/www/build/p-edb8d2ab.entry.js +0 -1
  593. package/www/build/shadow-css-38a1326b.js +0 -388
  594. package/www/build/utils-1e801ac0.js +0 -2736
  595. package/www/build/utils-43f2cad8.js +0 -2736
  596. package/www/build/utils-a3134cfb.js +0 -109
  597. package/www/build/utils-e5940345.js +0 -109
  598. package/www/build/z-alert.entry.js +0 -15
  599. package/www/build/z-app-header.entry.js +0 -127
  600. package/www/build/z-app-switcher.entry.js +0 -25
  601. package/www/build/z-app-topbar.entry.js +0 -37
  602. package/www/build/z-aria-alert.entry.js +0 -14
  603. package/www/build/z-avatar.entry.js +0 -39
  604. package/www/build/z-body.entry.js +0 -13
  605. package/www/build/z-button-deprecated.entry.js +0 -34
  606. package/www/build/z-button-filter.entry.js +0 -45
  607. package/www/build/z-button-sort.entry.js +0 -50
  608. package/www/build/z-button.entry.js +0 -38
  609. package/www/build/z-candybar.entry.js +0 -15
  610. package/www/build/z-card.entry.js +0 -65
  611. package/www/build/z-carousel.entry.js +0 -20
  612. package/www/build/z-chip-deprecated.entry.js +0 -20
  613. package/www/build/z-chip.entry.js +0 -33
  614. package/www/build/z-combobox.entry.js +0 -166
  615. package/www/build/z-contextual-menu.entry.js +0 -47
  616. package/www/build/z-cookiebar.entry.js +0 -38
  617. package/www/build/z-date-picker.entry.js +0 -484
  618. package/www/build/z-divider.entry.js +0 -22
  619. package/www/build/z-dragdrop-area.entry.js +0 -33
  620. package/www/build/z-file-upload.entry.js +0 -168
  621. package/www/build/z-file.entry.js +0 -44
  622. package/www/build/z-footer-link.entry.js +0 -15
  623. package/www/build/z-footer-section.entry.js +0 -19
  624. package/www/build/z-footer-social.entry.js +0 -15
  625. package/www/build/z-footer.entry.js +0 -103
  626. package/www/build/z-ghost-loading.entry.js +0 -15
  627. package/www/build/z-heading.entry.js +0 -13
  628. package/www/build/z-icon-package.entry.js +0 -19
  629. package/www/build/z-icon.entry.js +0 -24
  630. package/www/build/z-info-box.entry.js +0 -21
  631. package/www/build/z-info-reveal.entry.js +0 -60
  632. package/www/build/z-input-deprecated.entry.js +0 -267
  633. package/www/build/z-input-label.entry.js +0 -17
  634. package/www/build/z-input-message.entry.js +0 -20
  635. package/www/build/z-input.entry.js +0 -231
  636. package/www/build/z-link.entry.js +0 -67
  637. package/www/build/z-list-element.entry.js +0 -150
  638. package/www/build/z-list-group.entry.js +0 -50
  639. package/www/build/z-list.entry.js +0 -30
  640. package/www/build/z-logo.entry.js +0 -24
  641. package/www/build/z-menu-dropdown.entry.js +0 -56
  642. package/www/build/z-menu-section.entry.js +0 -42
  643. package/www/build/z-menu.entry.js +0 -106
  644. package/www/build/z-messages-pocket.entry.js +0 -42
  645. package/www/build/z-modal-login.entry.js +0 -78
  646. package/www/build/z-modal.entry.js +0 -32
  647. package/www/build/z-myz-card-alert.entry.js +0 -59
  648. package/www/build/z-myz-card-body.entry.js +0 -15
  649. package/www/build/z-myz-card-cover.entry.js +0 -18
  650. package/www/build/z-myz-card-dictionary.entry.js +0 -32
  651. package/www/build/z-myz-card-footer-sections.entry.js +0 -15
  652. package/www/build/z-myz-card-footer.entry.js +0 -52
  653. package/www/build/z-myz-card-header.entry.js +0 -35
  654. package/www/build/z-myz-card-icon.entry.js +0 -17
  655. package/www/build/z-myz-card-info.entry.js +0 -115
  656. package/www/build/z-myz-card-list.entry.js +0 -33
  657. package/www/build/z-myz-card.entry.js +0 -39
  658. package/www/build/z-myz-list-item.entry.js +0 -33
  659. package/www/build/z-myz-list.entry.js +0 -31
  660. package/www/build/z-myz-topbar.entry.js +0 -190
  661. package/www/build/z-navigation-tab-link.entry.js +0 -67
  662. package/www/build/z-navigation-tab.entry.js +0 -69
  663. package/www/build/z-navigation-tabs.entry.js +0 -122
  664. package/www/build/z-notification.entry.js +0 -42
  665. package/www/build/z-offcanvas.entry.js +0 -59
  666. package/www/build/z-otp.entry.js +0 -37
  667. package/www/build/z-pagination-bar.entry.js +0 -126
  668. package/www/build/z-pagination-page.entry.js +0 -21
  669. package/www/build/z-pagination.entry.js +0 -228
  670. package/www/build/z-panel-elem.entry.js +0 -26
  671. package/www/build/z-pocket-body.entry.js +0 -23
  672. package/www/build/z-pocket-header.entry.js +0 -36
  673. package/www/build/z-pocket-message.entry.js +0 -15
  674. package/www/build/z-pocket.entry.js +0 -68
  675. package/www/build/z-popover-deprecated.entry.js +0 -128
  676. package/www/build/z-popover.entry.js +0 -332
  677. package/www/build/z-range-picker.entry.js +0 -354
  678. package/www/build/z-section-title.entry.js +0 -38
  679. package/www/build/z-select.entry.js +0 -253
  680. package/www/build/z-skip-to-content.entry.js +0 -64
  681. package/www/build/z-slideshow.entry.js +0 -108
  682. package/www/build/z-status-tag.entry.js +0 -25
  683. package/www/build/z-stepper-item.entry.js +0 -18
  684. package/www/build/z-stepper.entry.js +0 -15
  685. package/www/build/z-table-body.entry.js +0 -20
  686. package/www/build/z-table-cell.entry.js +0 -32
  687. package/www/build/z-table-empty-box.entry.js +0 -28
  688. package/www/build/z-table-expanded-row.entry.js +0 -15
  689. package/www/build/z-table-footer.entry.js +0 -19
  690. package/www/build/z-table-head.entry.js +0 -19
  691. package/www/build/z-table-header-row.entry.js +0 -18
  692. package/www/build/z-table-header.entry.js +0 -81
  693. package/www/build/z-table-row.entry.js +0 -39
  694. package/www/build/z-table-sticky-footer.entry.js +0 -15
  695. package/www/build/z-table.entry.js +0 -78
  696. package/www/build/z-tag.entry.js +0 -18
  697. package/www/build/z-toast-notification-list.entry.js +0 -52
  698. package/www/build/z-toast-notification.entry.js +0 -199
  699. package/www/build/z-toggle-button.entry.js +0 -32
  700. package/www/build/z-toggle-switch.entry.js +0 -45
  701. package/www/build/z-tooltip-deprecated.entry.js +0 -270
  702. package/www/build/z-tooltip.entry.js +0 -27
  703. package/www/build/z-typography.entry.js +0 -25
  704. package/www/build/z-user-dropdown.entry.js +0 -91
  705. package/www/build/z-visually-hidden.entry.js +0 -15
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
-
7
- const ZHeading = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.variant = "regular";
11
- }
12
- render() {
13
- return (index.h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, index.h("slot", null)));
14
- }
15
- };
16
-
17
- exports.z_heading = ZHeading;
@@ -1,28 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
- const icons = require('./icons-9fc3ff30.js');
7
-
8
- const stylesCss = ":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
9
-
10
- const ZIcon = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- selectPathOrPolygon(iconName) {
15
- if (iconName && iconName.startsWith("M")) {
16
- return index.h("path", { d: icons.icons[this.name] });
17
- }
18
- else {
19
- return index.h("polygon", { points: icons.icons[this.name] });
20
- }
21
- }
22
- render() {
23
- return (index.h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(icons.icons[this.name])));
24
- }
25
- };
26
- ZIcon.style = stylesCss;
27
-
28
- exports.z_icon = ZIcon;
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
-
7
- const stylesCss = "label{display:block;margin:var(--space-unit) 0;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);line-height:1.33;letter-spacing:0.32px;text-transform:uppercase;text-align:left}label.disabled{color:var(--color-disabled02)}";
8
-
9
- const ZInputLabel = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- /** the label is disabled */
13
- this.disabled = false;
14
- }
15
- render() {
16
- return index.h("label", { htmlFor: this.htmlfor, class: { disabled: this.disabled } }, this.value);
17
- }
18
- };
19
- ZInputLabel.style = stylesCss;
20
-
21
- exports.z_input_label = ZInputLabel;
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
-
7
- const stylesCss = ":host{display:flex;align-items:start;min-height:calc(var(--space-unit) * 2);margin-top:var(--space-unit);color:var(--color-text05);fill:currentColor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status='success']){color:var(--color-text-success)}:host([status='error']){color:var(--color-text-error)}:host([status='warning']){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:calc(var(--space-unit) / 3) var(--space-unit) 0 0}";
8
-
9
- const ZInputMessage = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.statusIcons = {
13
- success: "checkmark-circle",
14
- error: "multiply-circled",
15
- warning: "exclamation-circle",
16
- };
17
- }
18
- render() {
19
- return (index.h(index.Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && (index.h("z-icon", { name: this.statusIcons[this.status] })), index.h("span", { innerHTML: this.message })));
20
- }
21
- };
22
- ZInputMessage.style = stylesCss;
23
-
24
- exports.z_input_message = ZInputMessage;
@@ -1,235 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
- const index$1 = require('./index-438f76bc.js');
7
- const utils = require('./utils-0a978fe0.js');
8
- require('./breakpoints-88c4fd6c.js');
9
-
10
- const stylesCss = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
11
-
12
- const ZInput = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.inputChange = index.createEvent(this, "inputChange", 7);
16
- this.startTyping = index.createEvent(this, "startTyping", 7);
17
- this.stopTyping = index.createEvent(this, "stopTyping", 7);
18
- this.inputCheck = index.createEvent(this, "inputCheck", 7);
19
- /** the id of the input element */
20
- this.htmlid = `id-${utils.randomId()}`;
21
- /** the input is disabled */
22
- this.disabled = false;
23
- /** the input is readonly */
24
- this.readonly = false;
25
- /** the input is required (optional): available for text, password, number, email, textarea, checkbox */
26
- this.required = false;
27
- /** checked: available for checkbox, radio */
28
- this.checked = false;
29
- /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
30
- this.message = true;
31
- /** the input label position: available for checkbox, radio */
32
- this.labelPosition = index$1.LabelPositions.right;
33
- /** render clear icon when typing (optional): available for text */
34
- this.hasclearicon = true;
35
- this.isTyping = false;
36
- this.passwordHidden = true;
37
- this.typingtimeout = 300;
38
- }
39
- inputCheckListener(e) {
40
- const data = e.detail;
41
- switch (this.type) {
42
- case index$1.InputTypeEnum.radio:
43
- if (data.type === index$1.InputTypeEnum.radio &&
44
- data.name === this.name &&
45
- data.id !== this.htmlid) {
46
- this.checked = false;
47
- }
48
- default:
49
- return;
50
- }
51
- }
52
- /** get checked status */
53
- async isChecked() {
54
- switch (this.type) {
55
- case index$1.InputTypeEnum.checkbox:
56
- case index$1.InputTypeEnum.radio:
57
- return this.checked;
58
- default:
59
- console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
60
- return false;
61
- }
62
- }
63
- emitInputChange(value) {
64
- if (!this.isTyping)
65
- this.emitStartTyping();
66
- let validity = {};
67
- if (this.type === index$1.InputTypeEnum.textarea) {
68
- validity = this.getValidity("textarea");
69
- }
70
- else {
71
- validity = this.getValidity("input");
72
- }
73
- this.value = value;
74
- this.inputChange.emit({ value, validity });
75
- clearTimeout(this.timer);
76
- this.timer = setTimeout(() => {
77
- this.emitStopTyping(this.value, validity);
78
- }, this.typingtimeout);
79
- }
80
- emitStartTyping() {
81
- this.isTyping = true;
82
- this.startTyping.emit();
83
- }
84
- emitStopTyping(value, validity) {
85
- this.isTyping = false;
86
- this.stopTyping.emit({
87
- value: value,
88
- validity: validity,
89
- });
90
- }
91
- emitInputCheck(checked) {
92
- this.inputCheck.emit({
93
- id: this.htmlid,
94
- checked: checked,
95
- type: this.type,
96
- name: this.name,
97
- value: this.value,
98
- validity: this.getValidity("input"),
99
- });
100
- }
101
- getValidity(type) {
102
- const input = this.hostElement.querySelector(type);
103
- return input.validity;
104
- }
105
- /* START text/password/email/number */
106
- getTextAttributes() {
107
- return {
108
- id: this.htmlid,
109
- name: this.name,
110
- placeholder: this.placeholder,
111
- value: this.value,
112
- disabled: this.disabled,
113
- readonly: this.readonly,
114
- required: this.required,
115
- title: this.htmltitle,
116
- class: {
117
- [`input_${this.status || "default"}`]: true,
118
- filled: !!this.value,
119
- },
120
- autocomplete: this.autocomplete,
121
- onInput: (e) => this.emitInputChange(e.target.value),
122
- };
123
- }
124
- getNumberAttributes(type) {
125
- if (type != index$1.InputTypeEnum.number)
126
- return;
127
- return {
128
- min: this.min,
129
- max: this.max,
130
- step: this.step,
131
- };
132
- }
133
- getPatternAttribute(type) {
134
- if (type != index$1.InputTypeEnum.password &&
135
- type != index$1.InputTypeEnum.text &&
136
- type != index$1.InputTypeEnum.tel &&
137
- type != index$1.InputTypeEnum.search &&
138
- type != index$1.InputTypeEnum.url &&
139
- type != index$1.InputTypeEnum.email)
140
- return;
141
- return {
142
- pattern: this.pattern,
143
- };
144
- }
145
- renderInputText(type = index$1.InputTypeEnum.text) {
146
- const attr = Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type));
147
- if (this.icon || type === index$1.InputTypeEnum.password) {
148
- attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
149
- }
150
- if (this.hasclearicon && type != index$1.InputTypeEnum.number) {
151
- attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
152
- }
153
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputTypeEnum.password && !this.passwordHidden
154
- ? index$1.InputTypeEnum.text
155
- : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
156
- }
157
- renderLabel() {
158
- if (!this.label)
159
- return;
160
- return (index.h("label", { class: "inputLabel body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid, "aria-label": this.label }, this.label));
161
- }
162
- renderIcons() {
163
- return (index.h("span", { class: "iconsWrapper" }, this.renderResetIcon(), this.renderIcon()));
164
- }
165
- renderIcon() {
166
- if (this.type === index$1.InputTypeEnum.password) {
167
- return this.renderShowHidePassword();
168
- }
169
- if (!this.icon)
170
- return;
171
- return (index.h("button", { type: "button", class: "iconButton inputIcon", tabIndex: -1 }, index.h("z-icon", { name: this.icon })));
172
- }
173
- renderResetIcon() {
174
- if (!this.hasclearicon ||
175
- !this.value ||
176
- this.disabled ||
177
- this.readonly ||
178
- this.type == index$1.InputTypeEnum.number)
179
- return;
180
- return (index.h("button", { type: "button", class: "iconButton resetIcon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, index.h("z-icon", { name: "multiply" })));
181
- }
182
- renderShowHidePassword() {
183
- return (index.h("button", { type: "button", class: "iconButton showHidePasswordIcon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, index.h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
184
- }
185
- renderMessage() {
186
- if (utils.boolean(this.message) === false)
187
- return;
188
- return (index.h("z-input-message", { message: utils.boolean(this.message) === true ? undefined : this.message, status: this.status }));
189
- }
190
- /* END text/password/email/number */
191
- /* START textarea */
192
- renderTextarea() {
193
- const attributes = this.getTextAttributes();
194
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", { class: Object.assign(Object.assign({}, attributes.class), { textareaWrapper: true, readonly: attributes.readonly }) }, index.h("textarea", Object.assign({}, attributes, { "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
195
- }
196
- /* END textarea */
197
- handleCheck(ev) {
198
- this.checked = ev.target.checked;
199
- this.emitInputCheck(this.checked);
200
- }
201
- /* START checkbox */
202
- renderCheckbox() {
203
- return (index.h("div", { class: "checkboxWrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
204
- checkboxLabel: true,
205
- after: this.labelPosition === index$1.LabelPositions.right,
206
- before: this.labelPosition === index$1.LabelPositions.left,
207
- } }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
208
- }
209
- /* END checkbox */
210
- /* START radio */
211
- renderRadio() {
212
- return (index.h("div", { class: "radioWrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
213
- radioLabel: true,
214
- after: this.labelPosition === index$1.LabelPositions.right,
215
- before: this.labelPosition === index$1.LabelPositions.left,
216
- } }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
217
- }
218
- /* END radio */
219
- render() {
220
- switch (this.type) {
221
- case index$1.InputTypeEnum.textarea:
222
- return this.renderTextarea();
223
- case index$1.InputTypeEnum.checkbox:
224
- return this.renderCheckbox();
225
- case index$1.InputTypeEnum.radio:
226
- return this.renderRadio();
227
- default:
228
- return this.renderInputText(this.type);
229
- }
230
- }
231
- get hostElement() { return index.getElement(this); }
232
- };
233
- ZInput.style = stylesCss;
234
-
235
- exports.z_input = ZInput;
@@ -1,228 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-6b6a3299.js');
7
- const utils = require('./utils-8cc414c9.js');
8
- require('./breakpoints-88c4fd6c.js');
9
-
10
- const stylesCss$1 = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
11
-
12
- const ZInput = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.inputChange = index.createEvent(this, "inputChange", 7);
16
- this.startTyping = index.createEvent(this, "startTyping", 7);
17
- this.stopTyping = index.createEvent(this, "stopTyping", 7);
18
- this.inputCheck = index.createEvent(this, "inputCheck", 7);
19
- /** the id of the input element */
20
- this.htmlid = `id-${utils.randomId()}`;
21
- /** the input is disabled */
22
- this.disabled = false;
23
- /** the input is readonly */
24
- this.readonly = false;
25
- /** the input is required (optional): available for text, password, number, email, textarea, checkbox */
26
- this.required = false;
27
- /** checked: available for checkbox, radio */
28
- this.checked = false;
29
- /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
30
- this.message = true;
31
- /** the input label position: available for checkbox, radio */
32
- this.labelPosition = index$1.LabelPositions.right;
33
- /** render clear icon when typing (optional): available for text */
34
- this.hasclearicon = true;
35
- this.isTyping = false;
36
- this.passwordHidden = true;
37
- this.typingtimeout = 300;
38
- }
39
- inputCheckListener(e) {
40
- const data = e.detail;
41
- switch (this.type) {
42
- case index$1.InputTypeEnum.radio:
43
- if (data.type === index$1.InputTypeEnum.radio &&
44
- data.name === this.name &&
45
- data.id !== this.htmlid) {
46
- this.checked = false;
47
- }
48
- default:
49
- return;
50
- }
51
- }
52
- /** get checked status */
53
- async isChecked() {
54
- switch (this.type) {
55
- case index$1.InputTypeEnum.checkbox:
56
- case index$1.InputTypeEnum.radio:
57
- return this.checked;
58
- default:
59
- console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
60
- return false;
61
- }
62
- }
63
- emitInputChange(value) {
64
- if (!this.isTyping)
65
- this.emitStartTyping();
66
- let validity = {};
67
- if (this.type === index$1.InputTypeEnum.textarea) {
68
- validity = this.getValidity("textarea");
69
- }
70
- else {
71
- validity = this.getValidity("input");
72
- }
73
- this.value = value;
74
- this.inputChange.emit({ value, validity });
75
- clearTimeout(this.timer);
76
- this.timer = setTimeout(() => {
77
- this.emitStopTyping(this.value, validity);
78
- }, this.typingtimeout);
79
- }
80
- emitStartTyping() {
81
- this.isTyping = true;
82
- this.startTyping.emit();
83
- }
84
- emitStopTyping(value, validity) {
85
- this.isTyping = false;
86
- this.stopTyping.emit({
87
- value: value,
88
- validity: validity,
89
- });
90
- }
91
- emitInputCheck(checked) {
92
- this.inputCheck.emit({
93
- id: this.htmlid,
94
- checked: checked,
95
- type: this.type,
96
- name: this.name,
97
- value: this.value,
98
- validity: this.getValidity("input"),
99
- });
100
- }
101
- getValidity(type) {
102
- const input = this.hostElement.querySelector(type);
103
- return input.validity;
104
- }
105
- /* START text/password/email/number */
106
- getTextAttributes() {
107
- return {
108
- id: this.htmlid,
109
- name: this.name,
110
- placeholder: this.placeholder,
111
- value: this.value,
112
- disabled: this.disabled,
113
- readonly: this.readonly,
114
- required: this.required,
115
- title: this.htmltitle,
116
- class: {
117
- [`input_${this.status || "default"}`]: true,
118
- filled: !!this.value,
119
- },
120
- autocomplete: this.autocomplete,
121
- onInput: (e) => this.emitInputChange(e.target.value),
122
- };
123
- }
124
- renderInputText(type = index$1.InputTypeEnum.text) {
125
- const attr = this.getTextAttributes();
126
- if (this.icon || type === index$1.InputTypeEnum.password) {
127
- attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
128
- }
129
- if (this.hasclearicon) {
130
- attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
131
- }
132
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputTypeEnum.password && !this.passwordHidden
133
- ? index$1.InputTypeEnum.text
134
- : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
135
- }
136
- renderLabel() {
137
- if (!this.label)
138
- return;
139
- return (index.h("label", { class: "inputLabel body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid, "aria-label": this.label }, this.label));
140
- }
141
- renderIcons() {
142
- return (index.h("span", { class: "iconsWrapper" }, this.renderResetIcon(), this.renderIcon()));
143
- }
144
- renderIcon() {
145
- if (this.type === index$1.InputTypeEnum.password) {
146
- return this.renderShowHidePassword();
147
- }
148
- if (!this.icon)
149
- return;
150
- return (index.h("button", { type: "button", class: "iconButton inputIcon", tabIndex: -1 }, index.h("z-icon", { name: this.icon })));
151
- }
152
- renderResetIcon() {
153
- if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
154
- return;
155
- return (index.h("button", { type: "button", class: "iconButton resetIcon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, index.h("z-icon", { name: "multiply" })));
156
- }
157
- renderShowHidePassword() {
158
- return (index.h("button", { type: "button", class: "iconButton showHidePasswordIcon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, index.h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
159
- }
160
- renderMessage() {
161
- if (utils.boolean(this.message) === false)
162
- return;
163
- return (index.h("z-input-message", { message: utils.boolean(this.message) === true ? undefined : this.message, status: this.status }));
164
- }
165
- /* END text/password/email/number */
166
- /* START textarea */
167
- renderTextarea() {
168
- const attributes = this.getTextAttributes();
169
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", { class: Object.assign(Object.assign({}, attributes.class), { textareaWrapper: true, readonly: attributes.readonly }) }, index.h("textarea", Object.assign({}, attributes, { "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
170
- }
171
- /* END textarea */
172
- handleCheck(ev) {
173
- this.checked = ev.target.checked;
174
- this.emitInputCheck(this.checked);
175
- }
176
- /* START checkbox */
177
- renderCheckbox() {
178
- return (index.h("div", { class: "checkboxWrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
179
- checkboxLabel: true,
180
- after: this.labelPosition === index$1.LabelPositions.right,
181
- before: this.labelPosition === index$1.LabelPositions.left,
182
- } }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
183
- }
184
- /* END checkbox */
185
- /* START radio */
186
- renderRadio() {
187
- return (index.h("div", { class: "radioWrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
188
- radioLabel: true,
189
- after: this.labelPosition === index$1.LabelPositions.right,
190
- before: this.labelPosition === index$1.LabelPositions.left,
191
- } }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
192
- }
193
- /* END radio */
194
- render() {
195
- switch (this.type) {
196
- case index$1.InputTypeEnum.textarea:
197
- return this.renderTextarea();
198
- case index$1.InputTypeEnum.checkbox:
199
- return this.renderCheckbox();
200
- case index$1.InputTypeEnum.radio:
201
- return this.renderRadio();
202
- default:
203
- return this.renderInputText(this.type);
204
- }
205
- }
206
- get hostElement() { return index.getElement(this); }
207
- };
208
- ZInput.style = stylesCss$1;
209
-
210
- const stylesCss = ":host{display:flex;align-items:start;min-height:calc(var(--space-unit) * 2);margin-top:var(--space-unit);color:var(--color-text05);fill:currentColor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status='success']){color:var(--color-text-success)}:host([status='error']){color:var(--color-text-error)}:host([status='warning']){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:calc(var(--space-unit) / 3) var(--space-unit) 0 0}";
211
-
212
- const ZInputMessage = class {
213
- constructor(hostRef) {
214
- index.registerInstance(this, hostRef);
215
- this.statusIcons = {
216
- success: "checkmark-circle",
217
- error: "multiply-circled",
218
- warning: "exclamation-circle",
219
- };
220
- }
221
- render() {
222
- return (index.h(index.Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && (index.h("z-icon", { name: this.statusIcons[this.status] })), index.h("span", { innerHTML: this.message })));
223
- }
224
- };
225
- ZInputMessage.style = stylesCss;
226
-
227
- exports.z_input = ZInput;
228
- exports.z_input_message = ZInputMessage;
@@ -1,71 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fcbe2d6e.js');
6
-
7
- const stylesCss = ":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";
8
-
9
- const ZLink = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.zLinkClick = index.createEvent(this, "zLinkClick", 7);
13
- /** link target (optional) */
14
- this.target = "_self";
15
- /** tabindex link attribute (optional) */
16
- this.htmltabindex = 0;
17
- /** disable link flag (optional) */
18
- this.isdisabled = false;
19
- /** active link flag (optional) */
20
- this.isactive = false;
21
- /** white variant flag (optional) */
22
- this.iswhite = false;
23
- /** link text variant (optional) */
24
- this.textcolor = "primary";
25
- /** big link version */
26
- this.big = false;
27
- /** link icon position (optional) */
28
- this.iconposition = "left";
29
- /** draw underline on text (optional) */
30
- this.underline = false;
31
- this.iconSize = 18;
32
- this.emitZLinkClick = this.emitZLinkClick.bind(this);
33
- this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
34
- }
35
- componentWillRender() {
36
- if (this.iswhite) {
37
- console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
38
- }
39
- if (this.big) {
40
- console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
41
- }
42
- }
43
- emitZLinkClick(e, linkId) {
44
- this.emitZLinkInteraction(e, linkId);
45
- }
46
- emitZLinkInteraction(e, linkId) {
47
- this.zLinkClick.emit({ e, linkId });
48
- }
49
- componentDidRender() {
50
- if (this.icon) {
51
- const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
52
- const currentSize = this.big ? 18 : Math.round(height * 1.125);
53
- if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
54
- this.iconSize = currentSize;
55
- }
56
- }
57
- }
58
- render() {
59
- const style = this.big ? { "--font-size-link": "16px", "--font-weight-link": "600" } : {};
60
- return (index.h(index.Host, { style: style }, index.h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled ? "disabled" : ""}
61
- ${this.isactive ? "active" : ""}
62
- ${this.textcolor}
63
- ${this.iswhite ? "white" : ""}
64
- ${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && index.h("slot", null), this.icon &&
65
- index.h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && index.h("slot", null))));
66
- }
67
- get hostElement() { return index.getElement(this); }
68
- };
69
- ZLink.style = stylesCss;
70
-
71
- exports.z_link = ZLink;