@zanichelli/albe-web-components 3.2.0 → 4.0.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 (271) hide show
  1. package/CHANGELOG.md +1692 -0
  2. package/dist/cjs/{index-b1289f95.js → index-6b6a3299.js} +27 -29
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-33df2456.js → utils-8cc414c9.js} +28 -2
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/z-app-switcher_12.cjs.entry.js +12 -14
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
  11. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/z-combobox.cjs.entry.js +5 -5
  13. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  14. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  15. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1
  17. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  18. package/dist/cjs/z-file.cjs.entry.js +1 -2
  19. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  20. package/dist/cjs/z-input-deprecated.cjs.entry.js +271 -0
  21. package/dist/cjs/z-input-label_2.cjs.entry.js +272 -0
  22. package/dist/cjs/z-input_2.cjs.entry.js +228 -0
  23. package/dist/cjs/z-list-group.cjs.entry.js +54 -0
  24. package/dist/cjs/{z-list_3.cjs.entry.js → z-list_2.cjs.entry.js} +5 -52
  25. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +4 -4
  26. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  27. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  32. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  34. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  35. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  36. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  37. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  38. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  39. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  40. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  42. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  43. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  44. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  45. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  46. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  47. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  48. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  49. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  50. package/dist/cjs/z-table.cjs.entry.js +1 -1
  51. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  52. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  53. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  54. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  55. package/dist/collection/beans/index.js +27 -29
  56. package/dist/collection/collection-manifest.json +2 -1
  57. package/dist/collection/components/buttons/z-button/index.js +12 -15
  58. package/dist/collection/components/buttons/z-button/styles.css +27 -31
  59. package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -6
  60. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -1
  61. package/dist/collection/components/file-upload/z-file/index.js +0 -1
  62. package/dist/collection/components/inputs/z-combobox/index.js +4 -4
  63. package/dist/collection/components/inputs/z-input/index.js +58 -234
  64. package/dist/collection/components/inputs/z-input/styles.css +61 -34
  65. package/dist/collection/components/inputs/z-input-message/index.js +1 -1
  66. package/dist/collection/components/inputs/z-select/index.js +69 -134
  67. package/dist/collection/components/inputs/z-select/styles.css +16 -58
  68. package/dist/collection/components/modal/z-modal-login/index.js +1 -1
  69. package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -4
  70. package/dist/collection/components/z-date-picker/index.js +35 -1
  71. package/dist/collection/components/z-pagination/index.js +2 -2
  72. package/dist/collection/deprecated/z-input-deprecated/index.js +824 -0
  73. package/dist/collection/deprecated/z-input-deprecated/styles.css +296 -0
  74. package/dist/collection/{components/inputs → deprecated}/z-input-label/index.js +0 -0
  75. package/dist/collection/{components/inputs → deprecated}/z-input-label/styles.css +0 -0
  76. package/dist/collection/snowflakes/myz/z-otp/index.js +1 -1
  77. package/dist/collection/utils/utils.js +27 -2
  78. package/dist/esm/{index-7424c64c.js → index-46ca649a.js} +28 -30
  79. package/dist/esm/index.js +2 -2
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/{utils-93d2b922.js → utils-5d5963ef.js} +28 -3
  82. package/dist/esm/web-components-library.js +1 -1
  83. package/dist/esm/z-app-switcher_12.entry.js +12 -14
  84. package/dist/esm/z-aria-alert.entry.js +1 -1
  85. package/dist/esm/z-avatar.entry.js +1 -1
  86. package/dist/esm/z-button-filter.entry.js +45 -0
  87. package/dist/esm/z-chip.entry.js +2 -2
  88. package/dist/esm/z-combobox.entry.js +5 -5
  89. package/dist/esm/z-contextual-menu.entry.js +1 -1
  90. package/dist/esm/z-cookiebar.entry.js +1 -1
  91. package/dist/esm/z-date-picker.entry.js +2 -2
  92. package/dist/esm/z-dragdrop-area_2.entry.js +0 -1
  93. package/dist/esm/z-file-upload.entry.js +2 -2
  94. package/dist/esm/z-file.entry.js +1 -2
  95. package/dist/esm/z-footer.entry.js +1 -1
  96. package/dist/esm/z-input-deprecated.entry.js +267 -0
  97. package/dist/esm/z-input-label_2.entry.js +267 -0
  98. package/dist/esm/z-input_2.entry.js +223 -0
  99. package/dist/esm/z-list-group.entry.js +50 -0
  100. package/dist/esm/z-list_2.entry.js +174 -0
  101. package/dist/esm/z-menu-dropdown_2.entry.js +4 -4
  102. package/dist/esm/z-messages-pocket.entry.js +1 -1
  103. package/dist/esm/z-modal-login.entry.js +1 -1
  104. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  105. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  106. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  107. package/dist/esm/z-myz-card-info.entry.js +2 -2
  108. package/dist/esm/z-myz-card_4.entry.js +1 -1
  109. package/dist/esm/z-myz-list-item.entry.js +2 -2
  110. package/dist/esm/z-myz-topbar.entry.js +1 -1
  111. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  112. package/dist/esm/z-navigation-tab.entry.js +1 -1
  113. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  114. package/dist/esm/z-otp.entry.js +1 -1
  115. package/dist/esm/z-pagination-bar.entry.js +2 -2
  116. package/dist/esm/z-pagination.entry.js +2 -2
  117. package/dist/esm/z-pocket_3.entry.js +2 -2
  118. package/dist/esm/z-popover.entry.js +2 -2
  119. package/dist/esm/z-section-title.entry.js +1 -1
  120. package/dist/esm/z-skip-to-content.entry.js +2 -2
  121. package/dist/esm/z-slideshow.entry.js +2 -2
  122. package/dist/esm/z-status-tag.entry.js +1 -1
  123. package/dist/esm/z-table-cell.entry.js +1 -1
  124. package/dist/esm/z-table-header.entry.js +2 -2
  125. package/dist/esm/z-table-row.entry.js +1 -1
  126. package/dist/esm/z-table.entry.js +1 -1
  127. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  128. package/dist/esm/z-toast-notification.entry.js +1 -1
  129. package/dist/esm/z-toggle-switch.entry.js +3 -3
  130. package/dist/esm/z-tooltip.entry.js +1 -1
  131. package/dist/types/beans/index.d.ts +6 -7
  132. package/dist/types/components/buttons/z-button/index.d.ts +6 -4
  133. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
  134. package/dist/types/components/inputs/z-input/index.d.ts +16 -29
  135. package/dist/types/components/inputs/z-select/index.d.ts +11 -17
  136. package/dist/types/components/z-date-picker/index.d.ts +4 -0
  137. package/dist/types/components.d.ts +209 -32
  138. package/dist/types/deprecated/z-input-deprecated/index.d.ts +102 -0
  139. package/dist/types/{components/inputs → deprecated}/z-input-label/index.d.ts +0 -0
  140. package/dist/types/utils/utils.d.ts +5 -0
  141. package/dist/web-components-library/index.esm.js +1 -1
  142. package/{www/build/p-e9b90127.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
  143. package/dist/web-components-library/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
  144. package/{www/build/p-e4b4b2e4.entry.js → dist/web-components-library/p-0a0aee35.entry.js} +1 -1
  145. package/dist/web-components-library/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  146. package/dist/web-components-library/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  147. package/dist/web-components-library/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  148. package/dist/web-components-library/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  149. package/dist/web-components-library/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  150. package/dist/web-components-library/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  151. package/dist/web-components-library/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  152. package/dist/web-components-library/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  153. package/dist/web-components-library/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  154. package/dist/web-components-library/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  155. package/dist/web-components-library/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  156. package/dist/web-components-library/p-562e2d52.entry.js +1 -0
  157. package/dist/web-components-library/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  158. package/dist/web-components-library/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  159. package/{www/build/p-7e71d9b0.entry.js → dist/web-components-library/p-5eacbfc7.entry.js} +1 -1
  160. package/dist/web-components-library/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  161. package/dist/web-components-library/p-69ef6ddc.entry.js +1 -0
  162. package/dist/web-components-library/p-71accd8e.entry.js +1 -0
  163. package/dist/web-components-library/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  164. package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
  165. package/dist/web-components-library/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  166. package/dist/web-components-library/p-9f5d707a.js +1 -0
  167. package/dist/web-components-library/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  168. package/dist/web-components-library/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  169. package/dist/web-components-library/{p-bbb0e7a7.entry.js → p-a8875b97.entry.js} +2 -2
  170. package/dist/web-components-library/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  171. package/dist/web-components-library/p-b574d5f6.entry.js +1 -0
  172. package/dist/web-components-library/p-b9da171f.js +1 -0
  173. package/dist/web-components-library/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  174. package/dist/web-components-library/p-bd886dd5.entry.js +1 -0
  175. package/dist/web-components-library/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  176. package/dist/web-components-library/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  177. package/dist/web-components-library/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  178. package/dist/web-components-library/p-cd8950d2.entry.js +1 -0
  179. package/dist/web-components-library/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  180. package/dist/web-components-library/p-d8069dab.entry.js +1 -0
  181. package/dist/web-components-library/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  182. package/dist/web-components-library/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  183. package/dist/web-components-library/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  184. package/dist/web-components-library/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  185. package/dist/web-components-library/p-e2102da3.entry.js +1 -0
  186. package/dist/web-components-library/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  187. package/dist/web-components-library/p-edb8d2ab.entry.js +1 -0
  188. package/dist/web-components-library/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  189. package/dist/web-components-library/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  190. package/{www/build/p-dcf4d1b6.entry.js → dist/web-components-library/p-fa925198.entry.js} +1 -1
  191. package/dist/web-components-library/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  192. package/dist/web-components-library/web-components-library.esm.js +1 -1
  193. package/package.json +1 -1
  194. package/react/components.d.ts +1 -0
  195. package/react/components.js +4 -3
  196. package/react/components.js.map +1 -1
  197. package/src-react/index.ts +1 -0
  198. package/www/build/index.esm.js +1 -1
  199. package/{dist/web-components-library/p-e9b90127.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
  200. package/www/build/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
  201. package/{dist/web-components-library/p-e4b4b2e4.entry.js → www/build/p-0a0aee35.entry.js} +1 -1
  202. package/www/build/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  203. package/www/build/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  204. package/www/build/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  205. package/www/build/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  206. package/www/build/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  207. package/www/build/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  208. package/www/build/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  209. package/www/build/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  210. package/www/build/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  211. package/www/build/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  212. package/www/build/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  213. package/www/build/p-562e2d52.entry.js +1 -0
  214. package/www/build/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  215. package/www/build/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  216. package/{dist/web-components-library/p-7e71d9b0.entry.js → www/build/p-5eacbfc7.entry.js} +1 -1
  217. package/www/build/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  218. package/www/build/p-69ef6ddc.entry.js +1 -0
  219. package/www/build/p-71accd8e.entry.js +1 -0
  220. package/www/build/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  221. package/www/build/p-99d7ab2f.entry.js +1 -0
  222. package/www/build/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  223. package/www/build/p-9f5d707a.js +1 -0
  224. package/www/build/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  225. package/www/build/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  226. package/www/build/{p-bbb0e7a7.entry.js → p-a8875b97.entry.js} +2 -2
  227. package/www/build/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  228. package/www/build/p-b574d5f6.entry.js +1 -0
  229. package/www/build/p-b9da171f.js +1 -0
  230. package/www/build/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  231. package/www/build/p-bd886dd5.entry.js +1 -0
  232. package/www/build/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  233. package/www/build/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  234. package/www/build/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  235. package/www/build/p-cd8950d2.entry.js +1 -0
  236. package/www/build/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  237. package/www/build/p-d8069dab.entry.js +1 -0
  238. package/www/build/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  239. package/www/build/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  240. package/www/build/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  241. package/www/build/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  242. package/www/build/p-e2102da3.entry.js +1 -0
  243. package/www/build/p-e76afdbc.js +1 -0
  244. package/www/build/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  245. package/www/build/p-edb8d2ab.entry.js +1 -0
  246. package/www/build/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  247. package/www/build/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  248. package/{dist/web-components-library/p-dcf4d1b6.entry.js → www/build/p-fa925198.entry.js} +1 -1
  249. package/www/build/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  250. package/www/build/web-components-library.esm.js +1 -1
  251. package/www/index.html +1 -1
  252. package/dist/cjs/z-button-filter_5.cjs.entry.js +0 -620
  253. package/dist/esm/z-button-filter_5.entry.js +0 -612
  254. package/dist/esm/z-list_3.entry.js +0 -220
  255. package/dist/web-components-library/p-14c9344f.entry.js +0 -1
  256. package/dist/web-components-library/p-57270965.entry.js +0 -1
  257. package/dist/web-components-library/p-70be81b6.entry.js +0 -1
  258. package/dist/web-components-library/p-80369bb8.entry.js +0 -1
  259. package/dist/web-components-library/p-80a3e18a.js +0 -1
  260. package/dist/web-components-library/p-a785ff38.entry.js +0 -1
  261. package/dist/web-components-library/p-d3723aa7.entry.js +0 -1
  262. package/dist/web-components-library/p-fea5b98f.js +0 -1
  263. package/www/build/p-14c9344f.entry.js +0 -1
  264. package/www/build/p-57270965.entry.js +0 -1
  265. package/www/build/p-70be81b6.entry.js +0 -1
  266. package/www/build/p-80369bb8.entry.js +0 -1
  267. package/www/build/p-80a3e18a.js +0 -1
  268. package/www/build/p-9ebf28f8.js +0 -1
  269. package/www/build/p-a785ff38.entry.js +0 -1
  270. package/www/build/p-d3723aa7.entry.js +0 -1
  271. package/www/build/p-fea5b98f.js +0 -1
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
6
  const hammer = require('./hammer-4f20813e.js');
7
- const utils = require('./utils-33df2456.js');
7
+ const utils = require('./utils-8cc414c9.js');
8
8
  require('./_commonjsHelpers-537d719a.js');
9
- require('./index-b1289f95.js');
9
+ require('./index-6b6a3299.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)}";
@@ -192,7 +192,7 @@ const ZPagination = class {
192
192
  pagesChunks.map((chunk) => (index.h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (index.h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
193
193
  ev.preventDefault();
194
194
  this.selectPage(this.goToPageValue);
195
- } }, index.h("z-input", { class: "go-to-page-input", type: "number", hasmessage: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, placeholder: this.currentPage.toString(), hasclearicon: false }), index.h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
195
+ } }, index.h("z-input", { class: "go-to-page-input", type: "number", message: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, placeholder: this.currentPage.toString(), hasclearicon: false }), index.h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
196
196
  ];
197
197
  }
198
198
  componentDidLoad() {
@@ -213,7 +213,7 @@ const ZPagination = class {
213
213
  index.h("div", { class: "pagination-bar" }, this.label && index.h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (index.h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), index.h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ?
214
214
  this.renderSplitPages() :
215
215
  this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
216
- this.goToPage && (index.h("div", { class: "go-to-page" }, index.h("span", { class: "label body-5-sb" }, "Vai a pagina:"), index.h("div", { class: "inputs" }, index.h("z-input", { class: "go-to-page-input", type: "number", hasmessage: false, placeholder: "2", hasclearicon: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), index.h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
216
+ this.goToPage && (index.h("div", { class: "go-to-page" }, index.h("span", { class: "label body-5-sb" }, "Vai a pagina:"), index.h("div", { class: "inputs" }, index.h("z-input", { class: "go-to-page-input", type: "number", message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), index.h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
217
217
  ];
218
218
  }
219
219
  get host() { return index.getElement(this); }
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
7
- const utils = require('./utils-33df2456.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
+ const utils = require('./utils-8cc414c9.js');
8
8
  const hammer = require('./hammer-4f20813e.js');
9
9
  require('./breakpoints-88c4fd6c.js');
10
10
  require('./_commonjsHelpers-537d719a.js');
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
6
  const index$2 = require('./index-1fda0714.js');
7
- const index$1 = require('./index-b1289f95.js');
8
- const utils = require('./utils-33df2456.js');
7
+ const index$1 = require('./index-6b6a3299.js');
8
+ const utils = require('./utils-8cc414c9.js');
9
9
  require('./_commonjsHelpers-537d719a.js');
10
10
  require('./breakpoints-88c4fd6c.js');
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
 
8
8
  const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;flex-direction:column;align-items:flex-start;width:fit-content;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);text-transform:uppercase;font-size:var(--font-size-3);line-height:1.5rem}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
9
9
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const utils = require('./utils-33df2456.js');
7
- const index$1 = require('./index-b1289f95.js');
6
+ const utils = require('./utils-8cc414c9.js');
7
+ const index$1 = require('./index-6b6a3299.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ".sc-z-skip-to-content-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:absolute;left:-100%;background-color:#24f4ff;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);height:60px;box-sizing:border-box}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:0;width:0;overflow:hidden}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{height:initial;width:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{background-color:var(--bg-white);color:var(--text-grey-800);border:2px solid var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:initial;width:initial;overflow:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{border-right:none;padding-right:0}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
7
- const utils = require('./utils-33df2456.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
+ const utils = require('./utils-8cc414c9.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}}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
  const index$2 = require('./index-1fda0714.js');
8
8
  require('./_commonjsHelpers-537d719a.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
  const index$2 = require('./index-1fda0714.js');
8
8
  require('./_commonjsHelpers-537d719a.js');
9
9
 
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
6
  const index$2 = require('./index-1fda0714.js');
7
- const index$1 = require('./index-b1289f95.js');
8
- const utils = require('./utils-33df2456.js');
7
+ const index$1 = require('./index-6b6a3299.js');
8
+ const utils = require('./utils-8cc414c9.js');
9
9
  require('./_commonjsHelpers-537d719a.js');
10
10
  require('./breakpoints-88c4fd6c.js');
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.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
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.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}}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.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
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
  const hammer = require('./hammer-4f20813e.js');
9
9
  require('./_commonjsHelpers-537d719a.js');
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const utils = require('./utils-33df2456.js');
7
- const index$1 = require('./index-b1289f95.js');
6
+ const utils = require('./utils-8cc414c9.js');
7
+ const index$1 = require('./index-6b6a3299.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}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}";
@@ -14,7 +14,7 @@ const ZToggleSwitch = class {
14
14
  index.registerInstance(this, hostRef);
15
15
  this.toggleClick = index.createEvent(this, "toggleClick", 7);
16
16
  this.disabled = false;
17
- this.labelPosition = index$1.ZtoggleSwitchPositionEnum.left;
17
+ this.labelPosition = index$1.LabelPositions.left;
18
18
  this.checked = false;
19
19
  this.htmlid = `toggle-switch-id-${utils.randomId()}`;
20
20
  }
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.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
 
@@ -50,14 +50,12 @@ export var InputTypeEnum;
50
50
  InputTypeEnum["textarea"] = "textarea";
51
51
  InputTypeEnum["checkbox"] = "checkbox";
52
52
  InputTypeEnum["radio"] = "radio";
53
- InputTypeEnum["select"] = "select";
54
53
  })(InputTypeEnum || (InputTypeEnum = {}));
55
54
  export var InputStatusEnum;
56
55
  (function (InputStatusEnum) {
57
56
  InputStatusEnum["success"] = "success";
58
57
  InputStatusEnum["error"] = "error";
59
58
  InputStatusEnum["warning"] = "warning";
60
- InputStatusEnum["selecting"] = "selecting";
61
59
  })(InputStatusEnum || (InputStatusEnum = {}));
62
60
  export var TooltipPosition;
63
61
  (function (TooltipPosition) {
@@ -71,28 +69,28 @@ export var TooltipPosition;
71
69
  TooltipPosition["BOTTOM_RIGHT"] = "bottom_right";
72
70
  TooltipPosition["BOTTOM_LEFT"] = "bottom_left";
73
71
  })(TooltipPosition || (TooltipPosition = {}));
74
- export var keybordKeyCodeEnum;
75
- (function (keybordKeyCodeEnum) {
76
- keybordKeyCodeEnum[keybordKeyCodeEnum["TAB"] = 9] = "TAB";
77
- keybordKeyCodeEnum[keybordKeyCodeEnum["SPACE"] = 32] = "SPACE";
78
- keybordKeyCodeEnum[keybordKeyCodeEnum["ESC"] = 27] = "ESC";
79
- keybordKeyCodeEnum[keybordKeyCodeEnum["ENTER"] = 13] = "ENTER";
80
- keybordKeyCodeEnum[keybordKeyCodeEnum["ARROW_UP"] = 38] = "ARROW_UP";
81
- keybordKeyCodeEnum[keybordKeyCodeEnum["ARROW_DOWN"] = 40] = "ARROW_DOWN";
82
- keybordKeyCodeEnum[keybordKeyCodeEnum["BACKSPACE"] = 8] = "BACKSPACE";
83
- keybordKeyCodeEnum[keybordKeyCodeEnum["DELETE"] = 46] = "DELETE";
84
- })(keybordKeyCodeEnum || (keybordKeyCodeEnum = {}));
85
- export var keybordCodeEnum;
86
- (function (keybordCodeEnum) {
87
- keybordCodeEnum["TAB"] = "Tab";
88
- keybordCodeEnum["SPACE"] = "Space";
89
- keybordCodeEnum["ESC"] = "Escape";
90
- keybordCodeEnum["ENTER"] = "Enter";
91
- keybordCodeEnum["ARROW_UP"] = "ArrowUp";
92
- keybordCodeEnum["ARROW_DOWN"] = "ArrowDown";
93
- keybordCodeEnum["BACKSPACE"] = "Backspace";
94
- keybordCodeEnum["DELETE"] = "Delete";
95
- })(keybordCodeEnum || (keybordCodeEnum = {}));
72
+ export var KeyboardKeyCodeEnum;
73
+ (function (KeyboardKeyCodeEnum) {
74
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["TAB"] = 9] = "TAB";
75
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["SPACE"] = 32] = "SPACE";
76
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["ESC"] = 27] = "ESC";
77
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["ENTER"] = 13] = "ENTER";
78
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["ARROW_UP"] = 38] = "ARROW_UP";
79
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["ARROW_DOWN"] = 40] = "ARROW_DOWN";
80
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["BACKSPACE"] = 8] = "BACKSPACE";
81
+ KeyboardKeyCodeEnum[KeyboardKeyCodeEnum["DELETE"] = 46] = "DELETE";
82
+ })(KeyboardKeyCodeEnum || (KeyboardKeyCodeEnum = {}));
83
+ export var KeyboardCodeEnum;
84
+ (function (KeyboardCodeEnum) {
85
+ KeyboardCodeEnum["TAB"] = "Tab";
86
+ KeyboardCodeEnum["SPACE"] = "Space";
87
+ KeyboardCodeEnum["ESC"] = "Escape";
88
+ KeyboardCodeEnum["ENTER"] = "Enter";
89
+ KeyboardCodeEnum["ARROW_UP"] = "ArrowUp";
90
+ KeyboardCodeEnum["ARROW_DOWN"] = "ArrowDown";
91
+ KeyboardCodeEnum["BACKSPACE"] = "Backspace";
92
+ KeyboardCodeEnum["DELETE"] = "Delete";
93
+ })(KeyboardCodeEnum || (KeyboardCodeEnum = {}));
96
94
  export var KeyboardKeys;
97
95
  (function (KeyboardKeys) {
98
96
  KeyboardKeys["ARROW_DOWN"] = "ArrowDown";
@@ -187,11 +185,11 @@ export var ExpandableListButtonAlign;
187
185
  ExpandableListButtonAlign["right"] = "right";
188
186
  ExpandableListButtonAlign["left"] = "left";
189
187
  })(ExpandableListButtonAlign || (ExpandableListButtonAlign = {}));
190
- export var ZtoggleSwitchPositionEnum;
191
- (function (ZtoggleSwitchPositionEnum) {
192
- ZtoggleSwitchPositionEnum["right"] = "right";
193
- ZtoggleSwitchPositionEnum["left"] = "left";
194
- })(ZtoggleSwitchPositionEnum || (ZtoggleSwitchPositionEnum = {}));
188
+ export var LabelPositions;
189
+ (function (LabelPositions) {
190
+ LabelPositions["right"] = "right";
191
+ LabelPositions["left"] = "left";
192
+ })(LabelPositions || (LabelPositions = {}));
195
193
  export var ListDividerType;
196
194
  (function (ListDividerType) {
197
195
  ListDividerType["none"] = "none";
@@ -19,7 +19,6 @@
19
19
  "./components/indicators/z-stepper-item/index.js",
20
20
  "./components/inputs/z-input/index.js",
21
21
  "./components/inputs/z-combobox/index.js",
22
- "./components/inputs/z-input-label/index.js",
23
22
  "./components/inputs/z-input-message/index.js",
24
23
  "./components/inputs/z-select/index.js",
25
24
  "./components/list/z-list/index.js",
@@ -80,6 +79,8 @@
80
79
  "./deprecated/z-button-deprecated/index.js",
81
80
  "./deprecated/z-button-filter/index.js",
82
81
  "./deprecated/z-chip-deprecated/index.js",
82
+ "./deprecated/z-input-deprecated/index.js",
83
+ "./deprecated/z-input-label/index.js",
83
84
  "./deprecated/z-status-tag/index.js",
84
85
  "./snowflakes/myz/card/z-myz-card/index.js",
85
86
  "./snowflakes/myz/card/z-myz-card-alert/index.js",
@@ -1,5 +1,4 @@
1
1
  import { Component, Prop, h, Element } from "@stencil/core";
2
- import classNames from "classnames";
3
2
  import { ButtonVariantEnum, ButtonTypeEnum, ButtonSizeEnum, } from "../../../beans";
4
3
  /**
5
4
  * @slot - button label
@@ -18,24 +17,22 @@ export class ZButton {
18
17
  getAttributes() {
19
18
  return {
20
19
  id: this.htmlid,
21
- class: classNames(this.variant, this.size),
22
20
  "aria-label": this.ariaLabel,
21
+ class: {
22
+ container: true,
23
+ [this.variant]: true,
24
+ [this.size]: true,
25
+ "has-text": !!this.hostElement.textContent
26
+ }
23
27
  };
24
28
  }
25
- componentDidLoad() {
26
- if (this.hostElement.innerText) {
27
- this.hostElement.classList.add("with-text");
28
- }
29
- }
30
- componentWillRender() {
31
- this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
32
- }
33
29
  render() {
34
- if (this.href)
35
- return (h("a", Object.assign({ href: this.href, target: this.target }, this.getAttributes()),
30
+ if (this.href) {
31
+ return (h("a", Object.assign({}, this.getAttributes(), { href: this.href, target: this.target }),
36
32
  this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }),
37
33
  h("slot", null)));
38
- return (h("button", Object.assign({ name: this.name, type: this.type, disabled: this.disabled }, this.getAttributes()),
34
+ }
35
+ return (h("button", Object.assign({}, this.getAttributes(), { name: this.name, type: this.type, disabled: this.disabled }),
39
36
  this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }),
40
37
  h("slot", null)));
41
38
  }
@@ -77,7 +74,7 @@ export class ZButton {
77
74
  "optional": true,
78
75
  "docs": {
79
76
  "tags": [],
80
- "text": "HTML a href attribute. If it is set, it renders an HTML a tag."
77
+ "text": "HTML <a> href attribute. If it is set, it renders an HTML <a> tag."
81
78
  },
82
79
  "attribute": "href",
83
80
  "reflect": true
@@ -211,7 +208,7 @@ export class ZButton {
211
208
  "text": "`z-icon` name to use (optional)."
212
209
  },
213
210
  "attribute": "icon",
214
- "reflect": false
211
+ "reflect": true
215
212
  },
216
213
  "size": {
217
214
  "type": "string",
@@ -3,21 +3,20 @@
3
3
  --z-icon-width: 16px;
4
4
  --z-icon-height: 16px;
5
5
  --z-icon-right-margin: 0;
6
- --rgb-white: 240, 240, 240;
7
6
  }
8
7
 
9
- button:disabled,
10
- a:disabled {
8
+ :host([disabled]:not([disabled="false"])) {
11
9
  pointer-events: none;
12
10
  }
13
11
 
14
- button,
15
- a {
12
+ :host .container {
16
13
  box-sizing: border-box;
17
14
  display: inline-flex;
18
15
  align-items: center;
19
16
  justify-content: center;
20
- font-family: var(--dashboard-font);
17
+ width: 100%;
18
+ padding: 0;
19
+ font-family: var(--font-family-sans);
21
20
  font-weight: var(--font-sb);
22
21
  font-size: 14px;
23
22
  line-height: 1;
@@ -28,124 +27,121 @@ a {
28
27
  text-transform: uppercase;
29
28
  text-decoration: none;
30
29
  cursor: pointer;
31
- width: 100%;
32
30
  white-space: nowrap;
33
31
  outline: none;
34
32
  fill: currentColor;
35
33
  }
36
34
 
37
- :host.with-text z-icon {
38
- --z-icon-right-margin: var(--space-unit);
39
- }
40
-
41
- :host.with-text button,
42
- :host.with-text a {
35
+ :host .container.has-text {
43
36
  min-width: calc(var(--space-unit) * 8);
44
37
  padding: 0 calc(var(--space-unit) * 2);
45
38
  }
46
39
 
47
- .big {
40
+ :host .container.has-text z-icon {
41
+ --z-icon-right-margin: var(--space-unit);
42
+ }
43
+
44
+ :host .big {
48
45
  height: 44px;
49
46
  min-width: 44px;
50
47
  }
51
48
 
52
- .small {
49
+ :host .small {
53
50
  height: 36px;
54
51
  min-width: 36px;
55
52
  }
56
53
 
57
- .x-small {
54
+ :host .x-small {
58
55
  height: 32px;
59
56
  min-width: 32px;
60
57
  }
61
58
 
62
- .primary {
59
+ :host .primary {
63
60
  background-color: var(--color-primary01);
64
61
  border-color: var(--color-primary01);
65
62
  color: var(--color-text-inverse);
66
63
  }
67
64
 
68
65
  @media (hover: hover) {
69
- .primary:hover {
66
+ :host .primary:hover {
70
67
  background-color: var(--color-hover-primary);
71
68
  border-color: var(--color-hover-primary);
72
69
  color: var(--color-text-inverse);
73
70
  }
74
71
  }
75
72
 
76
- button:focus:focus-visible,
77
- a:focus:focus-visible {
73
+ :host .container:focus:focus-visible {
78
74
  box-shadow: var(--shadow-focus-primary);
79
75
  }
80
76
 
81
- .primary:active {
77
+ :host .primary:active {
82
78
  background-color: var(--color-pressed-primary);
83
79
  border-color: var(--color-pressed-primary);
84
80
  color: var(--color-text-inverse);
85
81
  box-shadow: var(--shadow-2);
86
82
  }
87
83
 
88
- .primary:disabled {
84
+ :host([disabled]:not([disabled="false"])) .primary {
89
85
  background-color: var(--color-disabled01);
90
86
  border-color: var(--color-disabled01);
91
87
  color: var(--color-disabled02);
92
88
  }
93
89
 
94
- .secondary {
90
+ :host .secondary {
95
91
  background-color: var(--color-surface01);
96
92
  border-color: var(--color-primary01);
97
93
  color: var(--color-primary01);
98
94
  }
99
95
 
100
96
  @media (hover: hover) {
101
- .secondary:hover {
97
+ :host .secondary:hover {
102
98
  background-color: var(--color-surface01);
103
99
  border-color: var(--color-hover-primary);
104
100
  color: var(--color-hover-primary);
105
101
  }
106
102
  }
107
103
 
108
- .secondary:active {
104
+ :host .secondary:active {
109
105
  background-color: var(--color-surface01);
110
106
  border-color: var(--color-pressed-primary);
111
107
  color: var(--color-pressed-primary);
112
108
  box-shadow: var(--shadow-2);
113
109
  }
114
110
 
115
- .secondary:disabled {
111
+ :host([disabled]:not([disabled="false"])) .secondary {
116
112
  background-color: var(--color-surface01);
117
113
  border-color: var(--color-disabled01);
118
114
  color: var(--color-disabled02);
119
115
  }
120
116
 
121
- .tertiary {
117
+ :host .tertiary {
122
118
  background-color: transparent;
123
119
  border-color: transparent;
124
120
  color: var(--color-primary01);
125
121
  }
126
122
 
127
123
  @media (hover: hover) {
128
- .tertiary:hover {
124
+ :host .tertiary:hover {
129
125
  background-color: var(--color-primary03);
130
126
  border-color: var(--color-primary03);
131
127
  color: var(--color-hover-primary);
132
128
  }
133
129
  }
134
130
 
135
- .tertiary:focus:focus-visible {
131
+ :host .tertiary:focus:focus-visible {
136
132
  background-color: var(--color-surface01);
137
133
  border-color: var(--color-surface01);
138
134
  color: var(--color-primary01);
139
135
  }
140
136
 
141
- .tertiary:active {
137
+ :host .tertiary:active {
142
138
  background-color: var(--color-surface01);
143
139
  border-color: var(--color-surface01);
144
140
  color: var(--color-primary01);
145
141
  box-shadow: var(--shadow-2);
146
142
  }
147
143
 
148
- .tertiary:disabled {
144
+ :host([disabled]:not([disabled="false"])) .tertiary {
149
145
  background-color: transparent;
150
146
  border-color: transparent;
151
147
  color: var(--color-disabled02);
@@ -1,10 +1,10 @@
1
1
  import { Component, Prop, h, Event } from "@stencil/core";
2
2
  import { randomId } from "../../../utils/utils";
3
- import { ZtoggleSwitchPositionEnum } from "../../../beans";
3
+ import { LabelPositions } from "../../../beans";
4
4
  export class ZToggleSwitch {
5
5
  constructor() {
6
6
  this.disabled = false;
7
- this.labelPosition = ZtoggleSwitchPositionEnum.left;
7
+ this.labelPosition = LabelPositions.left;
8
8
  this.checked = false;
9
9
  this.htmlid = `toggle-switch-id-${randomId()}`;
10
10
  }
@@ -68,10 +68,10 @@ export class ZToggleSwitch {
68
68
  "type": "string",
69
69
  "mutable": false,
70
70
  "complexType": {
71
- "original": "ZtoggleSwitchPositionEnum",
72
- "resolved": "ZtoggleSwitchPositionEnum.left | ZtoggleSwitchPositionEnum.right",
71
+ "original": "LabelPosition",
72
+ "resolved": "\"left\" | \"right\"",
73
73
  "references": {
74
- "ZtoggleSwitchPositionEnum": {
74
+ "LabelPosition": {
75
75
  "location": "import",
76
76
  "path": "../../../beans"
77
77
  }
@@ -85,7 +85,7 @@ export class ZToggleSwitch {
85
85
  },
86
86
  "attribute": "label-position",
87
87
  "reflect": true,
88
- "defaultValue": "ZtoggleSwitchPositionEnum.left"
88
+ "defaultValue": "LabelPositions.left"
89
89
  },
90
90
  "checked": {
91
91
  "type": "boolean",
@@ -10,7 +10,6 @@ export class ZDragdropArea {
10
10
  }
11
11
  render() {
12
12
  return (h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
13
- console.log(e);
14
13
  e.preventDefault();
15
14
  this.dragDropContainer.classList.add("dragover");
16
15
  }, onDragLeave: () => {
@@ -27,7 +27,6 @@ export class ZFile {
27
27
  (_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
28
28
  }
29
29
  elementHasEllipsis() {
30
- console.log(this.ellipsis, this.ellipsis.offsetWidth, this.ellipsis.scrollWidth);
31
30
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
32
31
  }
33
32
  render() {