@zanichelli/albe-web-components 5.0.1 → 5.3.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 (284) hide show
  1. package/CHANGELOG.md +1868 -0
  2. package/dist/cjs/{index-5c16dc2b.js → index-a8bdcb9c.js} +28 -13
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-64ac0753.js → utils-21d41d92.js} +17 -2
  6. package/dist/cjs/{utils-15c8b978.js → utils-eca6932d.js} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +1 -1
  8. package/dist/cjs/z-app-switcher_9.cjs.entry.js +244 -193
  9. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/z-button-deprecated.cjs.entry.js +1 -1
  12. package/dist/cjs/z-button.cjs.entry.js +1 -1
  13. package/dist/cjs/z-card.cjs.entry.js +1 -1
  14. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  16. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  17. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  18. package/dist/cjs/z-date-picker.cjs.entry.js +95 -26
  19. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  20. package/dist/cjs/z-file.cjs.entry.js +2 -2
  21. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  22. package/dist/cjs/z-info-reveal.cjs.entry.js +64 -0
  23. package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -2
  24. package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
  25. package/dist/cjs/z-list-group.cjs.entry.js +1 -1
  26. package/dist/cjs/z-list_2.cjs.entry.js +1 -1
  27. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
  28. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  29. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  32. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  34. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  35. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  36. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  37. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  38. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  39. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  40. package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
  41. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  42. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  43. package/dist/cjs/z-pagination.cjs.entry.js +9 -6
  44. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  45. package/dist/cjs/z-popover-deprecated.cjs.entry.js +2 -2
  46. package/dist/cjs/z-popover.cjs.entry.js +26 -29
  47. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  48. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  49. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  50. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  51. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  52. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  53. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  54. package/dist/cjs/z-table.cjs.entry.js +1 -1
  55. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  56. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  57. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  58. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +26 -26
  59. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  60. package/dist/collection/beans/index.js +28 -13
  61. package/dist/collection/collection-manifest.json +1 -0
  62. package/dist/collection/components/date-picker/styles.css +32 -26
  63. package/dist/collection/components/date-picker/utils.js +15 -1
  64. package/dist/collection/components/date-picker/z-date-picker/index.js +102 -27
  65. package/dist/collection/components/date-picker/z-range-picker/index.js +230 -207
  66. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  67. package/dist/collection/components/inputs/z-input/index.js +97 -4
  68. package/dist/collection/components/notification/z-tooltip/index.js +3 -3
  69. package/dist/collection/components/z-contextual-menu/index.js +3 -3
  70. package/dist/collection/components/z-info-reveal/index.js +143 -0
  71. package/dist/collection/components/z-info-reveal/styles.css +97 -0
  72. package/dist/collection/components/z-pagination/index.js +9 -6
  73. package/dist/collection/components/z-popover/index.js +30 -32
  74. package/dist/collection/components/z-table/z-table-header/index.js +1 -1
  75. package/dist/collection/deprecated/z-input-deprecated/index.js +1 -1
  76. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -27
  77. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  78. package/dist/esm/{index-3786a7ff.js → index-e5e2b27f.js} +29 -14
  79. package/dist/esm/index.js +2 -2
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/{utils-a9a836d2.js → utils-34c0d609.js} +17 -3
  82. package/dist/esm/{utils-d49ae9f0.js → utils-9fa9c37c.js} +1 -1
  83. package/dist/esm/web-components-library.js +1 -1
  84. package/dist/esm/z-app-switcher_9.entry.js +244 -193
  85. package/dist/esm/z-aria-alert.entry.js +1 -1
  86. package/dist/esm/z-avatar.entry.js +1 -1
  87. package/dist/esm/z-button-deprecated.entry.js +1 -1
  88. package/dist/esm/z-button.entry.js +1 -1
  89. package/dist/esm/z-card.entry.js +1 -1
  90. package/dist/esm/z-chip.entry.js +2 -2
  91. package/dist/esm/z-combobox.entry.js +2 -2
  92. package/dist/esm/z-contextual-menu.entry.js +2 -2
  93. package/dist/esm/z-cookiebar.entry.js +1 -1
  94. package/dist/esm/z-date-picker.entry.js +95 -26
  95. package/dist/esm/z-file-upload.entry.js +2 -2
  96. package/dist/esm/z-file.entry.js +2 -2
  97. package/dist/esm/z-footer.entry.js +1 -1
  98. package/dist/esm/z-info-reveal.entry.js +60 -0
  99. package/dist/esm/z-input-deprecated.entry.js +2 -2
  100. package/dist/esm/z-input-label_2.entry.js +2 -2
  101. package/dist/esm/z-list-group.entry.js +1 -1
  102. package/dist/esm/z-list_2.entry.js +1 -1
  103. package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
  104. package/dist/esm/z-messages-pocket.entry.js +1 -1
  105. package/dist/esm/z-modal-login.entry.js +1 -1
  106. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  107. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  108. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  109. package/dist/esm/z-myz-card-info.entry.js +3 -3
  110. package/dist/esm/z-myz-card_4.entry.js +1 -1
  111. package/dist/esm/z-myz-list-item.entry.js +2 -2
  112. package/dist/esm/z-myz-topbar.entry.js +1 -1
  113. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  114. package/dist/esm/z-navigation-tab.entry.js +1 -1
  115. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  116. package/dist/esm/z-offcanvas.entry.js +1 -1
  117. package/dist/esm/z-otp.entry.js +1 -1
  118. package/dist/esm/z-pagination-bar.entry.js +2 -2
  119. package/dist/esm/z-pagination.entry.js +9 -6
  120. package/dist/esm/z-pocket_3.entry.js +2 -2
  121. package/dist/esm/z-popover-deprecated.entry.js +2 -2
  122. package/dist/esm/z-popover.entry.js +26 -29
  123. package/dist/esm/z-section-title.entry.js +1 -1
  124. package/dist/esm/z-skip-to-content.entry.js +2 -2
  125. package/dist/esm/z-slideshow.entry.js +2 -2
  126. package/dist/esm/z-status-tag.entry.js +1 -1
  127. package/dist/esm/z-table-cell.entry.js +1 -1
  128. package/dist/esm/z-table-header.entry.js +3 -3
  129. package/dist/esm/z-table-row.entry.js +1 -1
  130. package/dist/esm/z-table.entry.js +1 -1
  131. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  132. package/dist/esm/z-toast-notification.entry.js +1 -1
  133. package/dist/esm/z-toggle-switch.entry.js +2 -2
  134. package/dist/esm/z-tooltip-deprecated.entry.js +26 -26
  135. package/dist/esm/z-tooltip.entry.js +2 -2
  136. package/dist/types/beans/index.d.ts +28 -14
  137. package/dist/types/components/date-picker/utils.d.ts +4 -3
  138. package/dist/types/components/date-picker/z-date-picker/index.d.ts +6 -1
  139. package/dist/types/components/date-picker/z-range-picker/index.d.ts +16 -15
  140. package/dist/types/components/inputs/z-input/index.d.ts +16 -0
  141. package/dist/types/components/z-info-reveal/index.d.ts +28 -0
  142. package/dist/types/components/z-popover/index.d.ts +3 -3
  143. package/dist/types/components.d.ts +70 -7
  144. package/dist/web-components-library/index.esm.js +1 -1
  145. package/dist/web-components-library/p-0146081c.entry.js +16 -0
  146. package/{www/build/p-6db40dac.entry.js → dist/web-components-library/p-040ea013.entry.js} +1 -1
  147. package/dist/web-components-library/{p-0610360b.entry.js → p-07ae4f7d.entry.js} +1 -1
  148. package/dist/web-components-library/p-0c3e7bc3.js +1 -0
  149. package/dist/web-components-library/p-1356eb90.entry.js +1 -0
  150. package/dist/web-components-library/{p-80044bc0.entry.js → p-1c790896.entry.js} +1 -1
  151. package/dist/web-components-library/{p-24f3a39e.entry.js → p-215adfd1.entry.js} +1 -1
  152. package/dist/web-components-library/p-223566d6.entry.js +1 -0
  153. package/{www/build/p-5c20338f.entry.js → dist/web-components-library/p-27666111.entry.js} +1 -1
  154. package/dist/web-components-library/{p-4a8fe1e0.entry.js → p-2ed37f62.entry.js} +1 -1
  155. package/dist/web-components-library/{p-60e042a0.entry.js → p-35573e0e.entry.js} +1 -1
  156. package/{www/build/p-9b563575.entry.js → dist/web-components-library/p-3700ad63.entry.js} +1 -1
  157. package/dist/web-components-library/{p-248e6c7d.entry.js → p-39dbb042.entry.js} +1 -1
  158. package/dist/web-components-library/p-3a991f9c.entry.js +1 -0
  159. package/dist/web-components-library/{p-49602979.entry.js → p-3ade68ff.entry.js} +1 -1
  160. package/dist/web-components-library/{p-fd404599.entry.js → p-3d748f0d.entry.js} +1 -1
  161. package/dist/web-components-library/p-47a55354.entry.js +1 -0
  162. package/dist/web-components-library/{p-1c2331a4.entry.js → p-4965b6db.entry.js} +1 -1
  163. package/dist/web-components-library/{p-d41ca4c3.js → p-5aa819f8.js} +1 -1
  164. package/dist/web-components-library/p-5e3b8207.entry.js +1 -0
  165. package/dist/web-components-library/{p-35f7cac2.entry.js → p-766eb9cf.entry.js} +1 -1
  166. package/dist/web-components-library/{p-fb7c83f6.js → p-7a5ecafb.js} +1 -1
  167. package/dist/web-components-library/{p-f9f5ab0b.entry.js → p-7e691a4e.entry.js} +1 -1
  168. package/dist/web-components-library/{p-4906f5a6.entry.js → p-7f48b622.entry.js} +1 -1
  169. package/dist/web-components-library/{p-287678e2.entry.js → p-80f26a20.entry.js} +1 -1
  170. package/dist/web-components-library/{p-18c0f701.entry.js → p-818c073b.entry.js} +1 -1
  171. package/dist/web-components-library/{p-2d93e9e9.entry.js → p-846f16e8.entry.js} +1 -1
  172. package/dist/web-components-library/{p-0bcc78d4.entry.js → p-8712d63f.entry.js} +1 -1
  173. package/{www/build/p-95414290.entry.js → dist/web-components-library/p-878e62e2.entry.js} +1 -1
  174. package/dist/web-components-library/{p-49f8c86b.entry.js → p-91cbf793.entry.js} +1 -1
  175. package/{www/build/p-5553f117.entry.js → dist/web-components-library/p-9504d075.entry.js} +1 -1
  176. package/dist/web-components-library/{p-5a2dd46c.entry.js → p-96bf5b15.entry.js} +1 -1
  177. package/dist/web-components-library/{p-987f1f8a.entry.js → p-977c81d3.entry.js} +1 -1
  178. package/{www/build/p-ec0c7a06.entry.js → dist/web-components-library/p-97d62d2a.entry.js} +1 -1
  179. package/dist/web-components-library/{p-9c81ed70.entry.js → p-a73195b6.entry.js} +1 -1
  180. package/dist/web-components-library/{p-a98ccf36.entry.js → p-aba00527.entry.js} +1 -1
  181. package/dist/web-components-library/{p-0487d5f1.entry.js → p-ac52264c.entry.js} +1 -1
  182. package/dist/web-components-library/{p-044edef0.entry.js → p-afed0692.entry.js} +1 -1
  183. package/{www/build/p-898e37bd.entry.js → dist/web-components-library/p-b369bf2f.entry.js} +1 -1
  184. package/dist/web-components-library/{p-286c4c99.entry.js → p-b621a765.entry.js} +1 -1
  185. package/dist/web-components-library/{p-25b1a634.entry.js → p-b6794d0f.entry.js} +1 -1
  186. package/{www/build/p-82217c76.entry.js → dist/web-components-library/p-ba76f52b.entry.js} +1 -1
  187. package/dist/web-components-library/{p-2c86d1ea.entry.js → p-cb3663e6.entry.js} +1 -1
  188. package/dist/web-components-library/{p-33120ebd.entry.js → p-cb4a854e.entry.js} +1 -1
  189. package/dist/web-components-library/{p-a88f4e49.entry.js → p-d4c5085b.entry.js} +1 -1
  190. package/dist/web-components-library/{p-0ccda54f.entry.js → p-d5e67db8.entry.js} +1 -1
  191. package/dist/web-components-library/{p-a4245c8a.entry.js → p-d986d368.entry.js} +1 -1
  192. package/dist/web-components-library/p-e4a2811a.entry.js +1 -0
  193. package/{www/build/p-e30a093f.entry.js → dist/web-components-library/p-e5eb1fa4.entry.js} +1 -1
  194. package/dist/web-components-library/{p-3dc21b58.entry.js → p-e6fb8b76.entry.js} +1 -1
  195. package/dist/web-components-library/p-e82cee27.entry.js +1 -0
  196. package/dist/web-components-library/{p-bf3ea7b5.entry.js → p-eddde828.entry.js} +1 -1
  197. package/dist/web-components-library/{p-99a76b4d.entry.js → p-f2962121.entry.js} +1 -1
  198. package/dist/web-components-library/{p-7407a0c3.entry.js → p-f5f15b8e.entry.js} +1 -1
  199. package/dist/web-components-library/p-faeb0c6e.entry.js +1 -0
  200. package/dist/web-components-library/web-components-library.esm.js +1 -1
  201. package/package.json +2 -2
  202. package/react/components.d.ts +1 -0
  203. package/react/components.js +4 -3
  204. package/react/components.js.map +1 -1
  205. package/src-react/index.ts +1 -0
  206. package/www/build/index.esm.js +1 -1
  207. package/www/build/p-0146081c.entry.js +16 -0
  208. package/{dist/web-components-library/p-6db40dac.entry.js → www/build/p-040ea013.entry.js} +1 -1
  209. package/www/build/{p-0610360b.entry.js → p-07ae4f7d.entry.js} +1 -1
  210. package/www/build/p-0c3e7bc3.js +1 -0
  211. package/www/build/p-1356eb90.entry.js +1 -0
  212. package/www/build/{p-80044bc0.entry.js → p-1c790896.entry.js} +1 -1
  213. package/www/build/{p-24f3a39e.entry.js → p-215adfd1.entry.js} +1 -1
  214. package/www/build/p-223566d6.entry.js +1 -0
  215. package/{dist/web-components-library/p-5c20338f.entry.js → www/build/p-27666111.entry.js} +1 -1
  216. package/www/build/{p-4a8fe1e0.entry.js → p-2ed37f62.entry.js} +1 -1
  217. package/www/build/{p-60e042a0.entry.js → p-35573e0e.entry.js} +1 -1
  218. package/{dist/web-components-library/p-9b563575.entry.js → www/build/p-3700ad63.entry.js} +1 -1
  219. package/www/build/p-388b2ac4.js +1 -0
  220. package/www/build/{p-248e6c7d.entry.js → p-39dbb042.entry.js} +1 -1
  221. package/www/build/p-3a991f9c.entry.js +1 -0
  222. package/www/build/{p-49602979.entry.js → p-3ade68ff.entry.js} +1 -1
  223. package/www/build/{p-fd404599.entry.js → p-3d748f0d.entry.js} +1 -1
  224. package/www/build/p-47a55354.entry.js +1 -0
  225. package/www/build/{p-1c2331a4.entry.js → p-4965b6db.entry.js} +1 -1
  226. package/www/build/{p-d41ca4c3.js → p-5aa819f8.js} +1 -1
  227. package/www/build/p-5e3b8207.entry.js +1 -0
  228. package/www/build/{p-35f7cac2.entry.js → p-766eb9cf.entry.js} +1 -1
  229. package/www/build/{p-fb7c83f6.js → p-7a5ecafb.js} +1 -1
  230. package/www/build/{p-f9f5ab0b.entry.js → p-7e691a4e.entry.js} +1 -1
  231. package/www/build/{p-4906f5a6.entry.js → p-7f48b622.entry.js} +1 -1
  232. package/www/build/{p-287678e2.entry.js → p-80f26a20.entry.js} +1 -1
  233. package/www/build/{p-18c0f701.entry.js → p-818c073b.entry.js} +1 -1
  234. package/www/build/{p-2d93e9e9.entry.js → p-846f16e8.entry.js} +1 -1
  235. package/www/build/{p-0bcc78d4.entry.js → p-8712d63f.entry.js} +1 -1
  236. package/{dist/web-components-library/p-95414290.entry.js → www/build/p-878e62e2.entry.js} +1 -1
  237. package/www/build/{p-4c9c83c0.css → p-88b56b6e.css} +1 -1
  238. package/www/build/{p-49f8c86b.entry.js → p-91cbf793.entry.js} +1 -1
  239. package/{dist/web-components-library/p-5553f117.entry.js → www/build/p-9504d075.entry.js} +1 -1
  240. package/www/build/{p-5a2dd46c.entry.js → p-96bf5b15.entry.js} +1 -1
  241. package/www/build/{p-987f1f8a.entry.js → p-977c81d3.entry.js} +1 -1
  242. package/{dist/web-components-library/p-ec0c7a06.entry.js → www/build/p-97d62d2a.entry.js} +1 -1
  243. package/www/build/{p-9c81ed70.entry.js → p-a73195b6.entry.js} +1 -1
  244. package/www/build/{p-a98ccf36.entry.js → p-aba00527.entry.js} +1 -1
  245. package/www/build/{p-0487d5f1.entry.js → p-ac52264c.entry.js} +1 -1
  246. package/www/build/{p-044edef0.entry.js → p-afed0692.entry.js} +1 -1
  247. package/{dist/web-components-library/p-898e37bd.entry.js → www/build/p-b369bf2f.entry.js} +1 -1
  248. package/www/build/{p-286c4c99.entry.js → p-b621a765.entry.js} +1 -1
  249. package/www/build/{p-25b1a634.entry.js → p-b6794d0f.entry.js} +1 -1
  250. package/{dist/web-components-library/p-82217c76.entry.js → www/build/p-ba76f52b.entry.js} +1 -1
  251. package/www/build/{p-2c86d1ea.entry.js → p-cb3663e6.entry.js} +1 -1
  252. package/www/build/{p-33120ebd.entry.js → p-cb4a854e.entry.js} +1 -1
  253. package/www/build/{p-a88f4e49.entry.js → p-d4c5085b.entry.js} +1 -1
  254. package/www/build/{p-0ccda54f.entry.js → p-d5e67db8.entry.js} +1 -1
  255. package/www/build/{p-a4245c8a.entry.js → p-d986d368.entry.js} +1 -1
  256. package/www/build/p-e4a2811a.entry.js +1 -0
  257. package/{dist/web-components-library/p-e30a093f.entry.js → www/build/p-e5eb1fa4.entry.js} +1 -1
  258. package/www/build/{p-3dc21b58.entry.js → p-e6fb8b76.entry.js} +1 -1
  259. package/www/build/p-e82cee27.entry.js +1 -0
  260. package/www/build/{p-bf3ea7b5.entry.js → p-eddde828.entry.js} +1 -1
  261. package/www/build/{p-99a76b4d.entry.js → p-f2962121.entry.js} +1 -1
  262. package/www/build/{p-7407a0c3.entry.js → p-f5f15b8e.entry.js} +1 -1
  263. package/www/build/p-faeb0c6e.entry.js +1 -0
  264. package/www/build/web-components-library.esm.js +1 -1
  265. package/www/index.html +1 -1
  266. package/dist/web-components-library/p-13174553.entry.js +0 -1
  267. package/dist/web-components-library/p-206e5b31.entry.js +0 -1
  268. package/dist/web-components-library/p-2e0885d6.entry.js +0 -16
  269. package/dist/web-components-library/p-45d4987c.entry.js +0 -1
  270. package/dist/web-components-library/p-6897ca8c.js +0 -1
  271. package/dist/web-components-library/p-71f19680.entry.js +0 -1
  272. package/dist/web-components-library/p-7ce57dfd.entry.js +0 -1
  273. package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
  274. package/dist/web-components-library/p-e9628876.entry.js +0 -1
  275. package/www/build/p-13174553.entry.js +0 -1
  276. package/www/build/p-206e5b31.entry.js +0 -1
  277. package/www/build/p-2e0885d6.entry.js +0 -16
  278. package/www/build/p-45d4987c.entry.js +0 -1
  279. package/www/build/p-58d420a2.js +0 -1
  280. package/www/build/p-6897ca8c.js +0 -1
  281. package/www/build/p-71f19680.entry.js +0 -1
  282. package/www/build/p-7ce57dfd.entry.js +0 -1
  283. package/www/build/p-99d7ab2f.entry.js +0 -1
  284. package/www/build/p-e9628876.entry.js +0 -1
@@ -108,12 +108,33 @@ export class ZInput {
108
108
  onInput: (e) => this.emitInputChange(e.target.value),
109
109
  };
110
110
  }
111
+ getNumberAttributes(type) {
112
+ if (type != InputTypeEnum.number)
113
+ return;
114
+ return {
115
+ min: this.min,
116
+ max: this.max,
117
+ step: this.step,
118
+ };
119
+ }
120
+ getPatternAttribute(type) {
121
+ if (type != InputTypeEnum.password &&
122
+ type != InputTypeEnum.text &&
123
+ type != InputTypeEnum.tel &&
124
+ type != InputTypeEnum.search &&
125
+ type != InputTypeEnum.url &&
126
+ type != InputTypeEnum.email)
127
+ return;
128
+ return {
129
+ pattern: this.pattern,
130
+ };
131
+ }
111
132
  renderInputText(type = InputTypeEnum.text) {
112
- const attr = this.getTextAttributes();
133
+ const attr = Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type));
113
134
  if (this.icon || type === InputTypeEnum.password) {
114
135
  attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
115
136
  }
116
- if (this.hasclearicon) {
137
+ if (this.hasclearicon && type != InputTypeEnum.number) {
117
138
  attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
118
139
  }
119
140
  return (h("div", { class: "textWrapper" },
@@ -145,7 +166,11 @@ export class ZInput {
145
166
  h("z-icon", { name: this.icon })));
146
167
  }
147
168
  renderResetIcon() {
148
- if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
169
+ if (!this.hasclearicon ||
170
+ !this.value ||
171
+ this.disabled ||
172
+ this.readonly ||
173
+ this.type == InputTypeEnum.number)
149
174
  return;
150
175
  return (h("button", { type: "button", class: "iconButton resetIcon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") },
151
176
  h("z-icon", { name: "multiply" })));
@@ -244,7 +269,7 @@ export class ZInput {
244
269
  "mutable": false,
245
270
  "complexType": {
246
271
  "original": "InputTypeBean",
247
- "resolved": "\"checkbox\" | \"email\" | \"number\" | \"password\" | \"radio\" | \"text\" | \"textarea\"",
272
+ "resolved": "\"checkbox\" | \"email\" | \"number\" | \"password\" | \"radio\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"url\"",
248
273
  "references": {
249
274
  "InputTypeBean": {
250
275
  "location": "import",
@@ -549,6 +574,74 @@ export class ZInput {
549
574
  },
550
575
  "attribute": "icon",
551
576
  "reflect": false
577
+ },
578
+ "min": {
579
+ "type": "number",
580
+ "mutable": false,
581
+ "complexType": {
582
+ "original": "number",
583
+ "resolved": "number",
584
+ "references": {}
585
+ },
586
+ "required": false,
587
+ "optional": true,
588
+ "docs": {
589
+ "tags": [],
590
+ "text": "min number value (optional): available for number"
591
+ },
592
+ "attribute": "min",
593
+ "reflect": false
594
+ },
595
+ "max": {
596
+ "type": "number",
597
+ "mutable": false,
598
+ "complexType": {
599
+ "original": "number",
600
+ "resolved": "number",
601
+ "references": {}
602
+ },
603
+ "required": false,
604
+ "optional": true,
605
+ "docs": {
606
+ "tags": [],
607
+ "text": "max number value (optional): available for number"
608
+ },
609
+ "attribute": "max",
610
+ "reflect": false
611
+ },
612
+ "step": {
613
+ "type": "number",
614
+ "mutable": false,
615
+ "complexType": {
616
+ "original": "number",
617
+ "resolved": "number",
618
+ "references": {}
619
+ },
620
+ "required": false,
621
+ "optional": true,
622
+ "docs": {
623
+ "tags": [],
624
+ "text": "step number value (optional): available for number"
625
+ },
626
+ "attribute": "step",
627
+ "reflect": false
628
+ },
629
+ "pattern": {
630
+ "type": "string",
631
+ "mutable": false,
632
+ "complexType": {
633
+ "original": "string",
634
+ "resolved": "string",
635
+ "references": {}
636
+ },
637
+ "required": false,
638
+ "optional": true,
639
+ "docs": {
640
+ "tags": [],
641
+ "text": "pattern value (optional): available for tel, text, search, url, email, password"
642
+ },
643
+ "attribute": "pattern",
644
+ "reflect": false
552
645
  }
553
646
  }; }
554
647
  static get states() { return {
@@ -11,7 +11,7 @@ import { PopoverPositions } from "../../../beans";
11
11
  export class ZTooltip {
12
12
  constructor() {
13
13
  /** Tooltip position. */
14
- this.position = PopoverPositions.AUTO;
14
+ this.position = PopoverPositions.auto;
15
15
  /** Enable tooltip dark mode. */
16
16
  this.dark = false;
17
17
  /**
@@ -40,7 +40,7 @@ export class ZTooltip {
40
40
  "mutable": true,
41
41
  "complexType": {
42
42
  "original": "PopoverPositions",
43
- "resolved": "PopoverPositions.AUTO | PopoverPositions.BOTTOM | PopoverPositions.BOTTOM_LEFT | PopoverPositions.BOTTOM_RIGHT | PopoverPositions.LEFT | PopoverPositions.LEFT_BOTTOM | PopoverPositions.LEFT_TOP | PopoverPositions.RIGHT | PopoverPositions.RIGHT_BOTTOM | PopoverPositions.RIGHT_TOP | PopoverPositions.TOP | PopoverPositions.TOP_LEFT | PopoverPositions.TOP_RIGHT",
43
+ "resolved": "PopoverPositions.auto | PopoverPositions.bottom | PopoverPositions.bottom_left | PopoverPositions.bottom_right | PopoverPositions.left | PopoverPositions.left_bottom | PopoverPositions.left_top | PopoverPositions.right | PopoverPositions.right_bottom | PopoverPositions.right_top | PopoverPositions.top | PopoverPositions.top_left | PopoverPositions.top_right",
44
44
  "references": {
45
45
  "PopoverPositions": {
46
46
  "location": "import",
@@ -56,7 +56,7 @@ export class ZTooltip {
56
56
  },
57
57
  "attribute": "position",
58
58
  "reflect": true,
59
- "defaultValue": "PopoverPositions.AUTO"
59
+ "defaultValue": "PopoverPositions.auto"
60
60
  },
61
61
  "dark": {
62
62
  "type": "boolean",
@@ -9,7 +9,7 @@ export class ZContextualMenu {
9
9
  /**
10
10
  * [optional] Sets the position of the popover
11
11
  */
12
- this.popoverPosition = PopoverPositions.BOTTOM_RIGHT;
12
+ this.popoverPosition = PopoverPositions.bottom_right;
13
13
  }
14
14
  componentWillRender() {
15
15
  if (this.elements) {
@@ -94,7 +94,7 @@ export class ZContextualMenu {
94
94
  "mutable": false,
95
95
  "complexType": {
96
96
  "original": "PopoverPositions",
97
- "resolved": "PopoverPositions.AUTO | PopoverPositions.BOTTOM | PopoverPositions.BOTTOM_LEFT | PopoverPositions.BOTTOM_RIGHT | PopoverPositions.LEFT | PopoverPositions.LEFT_BOTTOM | PopoverPositions.LEFT_TOP | PopoverPositions.RIGHT | PopoverPositions.RIGHT_BOTTOM | PopoverPositions.RIGHT_TOP | PopoverPositions.TOP | PopoverPositions.TOP_LEFT | PopoverPositions.TOP_RIGHT",
97
+ "resolved": "PopoverPositions.auto | PopoverPositions.bottom | PopoverPositions.bottom_left | PopoverPositions.bottom_right | PopoverPositions.left | PopoverPositions.left_bottom | PopoverPositions.left_top | PopoverPositions.right | PopoverPositions.right_bottom | PopoverPositions.right_top | PopoverPositions.top | PopoverPositions.top_left | PopoverPositions.top_right",
98
98
  "references": {
99
99
  "PopoverPositions": {
100
100
  "location": "import",
@@ -110,7 +110,7 @@ export class ZContextualMenu {
110
110
  },
111
111
  "attribute": "popover-position",
112
112
  "reflect": true,
113
- "defaultValue": "PopoverPositions.BOTTOM_RIGHT"
113
+ "defaultValue": "PopoverPositions.bottom_right"
114
114
  }
115
115
  }; }
116
116
  static get events() { return [{
@@ -0,0 +1,143 @@
1
+ import { Component, h, Prop, State, Watch, Element, Host, } from '@stencil/core';
2
+ import { InfoRevealPosition } from "../../beans";
3
+ /**
4
+ * Info reveal component.
5
+ *
6
+ * @slot - info to display in the info box. If more than one element has been slotted,
7
+ * by clicking on the panel it switches to the next info element.
8
+ * @cssprop --z-info-reveal-theme--surface - background color of the info reveal panel.
9
+ * @cssprop --z-info-reveal-theme--text - foreground color of the info reveal panel.
10
+ * @cssprop --z-info-reveal-shadow - shadow of the info reveal panel.
11
+ * @cssprop --z-info-reveal-max-width - max width of the info reveal panel.
12
+ */
13
+ export class ZInfoReveal {
14
+ constructor() {
15
+ /** Name of the icon for the open button */
16
+ this.icon = 'informationsource';
17
+ this.position = InfoRevealPosition.bottom_right;
18
+ /** Whether the info panel is open. */
19
+ this.open = false;
20
+ /** Current index for the info queue. */
21
+ this.currentIndex = null;
22
+ }
23
+ watchItems() {
24
+ Array.from(this.el.children).forEach((child, index) => {
25
+ if (this.currentIndex === index) {
26
+ child.setAttribute('data-current', '');
27
+ }
28
+ else {
29
+ child.removeAttribute('data-current');
30
+ }
31
+ });
32
+ }
33
+ /**
34
+ * Open the info box.
35
+ */
36
+ openInfoBox() {
37
+ this.currentIndex = 0;
38
+ this.open = true;
39
+ }
40
+ /**
41
+ * Close the info box.
42
+ */
43
+ closeInfoBox() {
44
+ this.open = false;
45
+ }
46
+ /**
47
+ * Navigate slotted info.
48
+ * It closes the info box after the last info has been navigated.
49
+ */
50
+ next() {
51
+ this.currentIndex = this.currentIndex + 1;
52
+ if (this.currentIndex === this.el.children.length) {
53
+ this.closeInfoBox();
54
+ }
55
+ }
56
+ render() {
57
+ return h(Host, { open: this.open },
58
+ h("button", { class: "z-info-reveal-trigger", onClick: this.openInfoBox.bind(this) },
59
+ this.label && h("span", { class: "z-info-reveal-label" }, this.label),
60
+ h("z-icon", { name: this.icon })),
61
+ this.open && h("div", { class: "info-box", onClick: this.next.bind(this), tabIndex: 0 },
62
+ h("slot", null),
63
+ h("button", { class: "z-info-reveal-close", onClick: this.closeInfoBox.bind(this) },
64
+ h("z-icon", { name: "close" }))));
65
+ }
66
+ static get is() { return "z-info-reveal"; }
67
+ static get encapsulation() { return "shadow"; }
68
+ static get originalStyleUrls() { return {
69
+ "$": ["styles.css"]
70
+ }; }
71
+ static get styleUrls() { return {
72
+ "$": ["styles.css"]
73
+ }; }
74
+ static get properties() { return {
75
+ "icon": {
76
+ "type": "string",
77
+ "mutable": false,
78
+ "complexType": {
79
+ "original": "string",
80
+ "resolved": "string",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": true,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": "Name of the icon for the open button"
88
+ },
89
+ "attribute": "icon",
90
+ "reflect": false,
91
+ "defaultValue": "'informationsource'"
92
+ },
93
+ "position": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "InfoRevealPositionBean",
98
+ "resolved": "\"bottom_left\" | \"bottom_right\" | \"top_left\" | \"top_right\"",
99
+ "references": {
100
+ "InfoRevealPositionBean": {
101
+ "location": "import",
102
+ "path": "../../beans"
103
+ }
104
+ }
105
+ },
106
+ "required": false,
107
+ "optional": true,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": ""
111
+ },
112
+ "attribute": "position",
113
+ "reflect": true,
114
+ "defaultValue": "InfoRevealPosition.bottom_right"
115
+ },
116
+ "label": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "string",
121
+ "resolved": "string",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": true,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": "Text that appears on closed panel next to the open button."
129
+ },
130
+ "attribute": "label",
131
+ "reflect": false
132
+ }
133
+ }; }
134
+ static get states() { return {
135
+ "open": {},
136
+ "currentIndex": {}
137
+ }; }
138
+ static get elementRef() { return "el"; }
139
+ static get watchers() { return [{
140
+ "propName": "currentIndex",
141
+ "methodName": "watchItems"
142
+ }]; }
143
+ }
@@ -0,0 +1,97 @@
1
+ :host {
2
+ --z-info-reveal-theme--surface: var(--color-black);
3
+ --z-info-reveal-theme--text: var(--color-white);
4
+ --z-info-reveal-shadow: var(--shadow-2);
5
+ --z-info-reveal-max-width: 375px; /* defaults to average width of mobile devices */
6
+
7
+ position: relative;
8
+ display: flex;
9
+ width: fit-content;
10
+ background-color: var(--z-info-reveal-theme--surface);
11
+ color: var(--z-info-reveal-theme--text);
12
+ font-size: var(--font-size-3);
13
+ font-weight: var(--font-rg);
14
+ line-height: 1.5;
15
+ letter-spacing: 0;
16
+ }
17
+
18
+ button {
19
+ padding: 0;
20
+ background-color: transparent;
21
+ cursor: pointer;
22
+ border: none;
23
+ border-radius: 0;
24
+ color: inherit;
25
+ fill: currentColor;
26
+ font-family: inherit;
27
+ font-size: inherit;
28
+ font-weight: inherit;
29
+ line-height: inherit;
30
+ letter-spacing: inherit;
31
+ }
32
+
33
+ z-icon {
34
+ --z-icon-width: calc(var(--space-unit) * 3);
35
+ --z-icon-height: calc(var(--space-unit) * 3);
36
+ display: flex;
37
+ }
38
+
39
+ .z-info-reveal-trigger {
40
+ display: flex;
41
+ align-items: center;
42
+ width: fit-content;
43
+ height: 100%;
44
+ column-gap: calc(var(--space-unit) / 2);
45
+ padding: calc(var(--space-unit) / 2);
46
+ box-shadow: var(--z-info-reveal-shadow);
47
+ }
48
+
49
+ :host([position="top_left"]) .z-info-reveal-trigger,
50
+ :host([position="bottom_left"]) .z-info-reveal-trigger {
51
+ flex-direction: row-reverse;
52
+ }
53
+
54
+ :host([open]) .z-info-reveal-trigger {
55
+ box-shadow: none;
56
+ }
57
+
58
+ .info-box {
59
+ position: absolute;
60
+ display: flex;
61
+ max-width: var(--z-info-reveal-max-width);
62
+ column-gap: calc(var(--space-unit) / 2);
63
+ padding: calc(var(--space-unit) / 2);
64
+ background-color: var(--z-info-reveal-theme--surface);
65
+ box-shadow: var(--z-info-reveal-shadow);
66
+ cursor: pointer;
67
+ }
68
+
69
+ :host([position="top_right"]) .info-box,
70
+ :host([position="bottom_right"]) .info-box {
71
+ right: 0;
72
+ }
73
+
74
+ :host([position="top_left"]) .info-box,
75
+ :host([position="bottom_left"]) .info-box {
76
+ left: 0;
77
+ flex-direction: row-reverse;
78
+ }
79
+
80
+ ::slotted(*) {
81
+ display: none;
82
+ width: max-content;
83
+ }
84
+
85
+ ::slotted([data-current]) {
86
+ display: block;
87
+ }
88
+
89
+ :host([position="top_left"]) .z-info-reveal-close,
90
+ :host([position="top_right"]) .z-info-reveal-close {
91
+ align-self: flex-start;
92
+ }
93
+
94
+ :host([position="bottom_left"]) .z-info-reveal-close,
95
+ :host([position="bottom_right"]) .z-info-reveal-close {
96
+ align-self: flex-end;
97
+ }
@@ -155,7 +155,8 @@ export class ZPagination {
155
155
  this.renderPage(this.totalPages),
156
156
  ];
157
157
  }
158
- if (this.currentPage > this.split * 2 + 2 && this.currentPage < this.totalPages - this.split * 2 - 1) {
158
+ if (this.currentPage > this.split * 2 + 2 &&
159
+ this.currentPage < this.totalPages - this.split * 2 - 1) {
159
160
  // Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
160
161
  return [
161
162
  this.renderPage(1),
@@ -192,7 +193,9 @@ export class ZPagination {
192
193
  ev.preventDefault();
193
194
  this.selectPage(this.goToPageValue);
194
195
  } },
195
- 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 }),
196
+ h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
197
+ this.goToPageValue = ev.target.value;
198
+ }, placeholder: this.currentPage.toString(), hasclearicon: false }),
196
199
  h("span", null, `/${this.totalPages}`))),
197
200
  this.renderForwardButton()),
198
201
  ];
@@ -219,9 +222,7 @@ export class ZPagination {
219
222
  "-",
220
223
  this.skip)),
221
224
  this.navArrows && this.renderBackButton(),
222
- h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ?
223
- this.renderSplitPages() :
224
- this.renderPages()),
225
+ h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()),
225
226
  this.navArrows && this.renderForwardButton(),
226
227
  this.skip < this.totalPages && this.skip > 1 && (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) },
227
228
  "+",
@@ -232,7 +233,9 @@ export class ZPagination {
232
233
  this.goToPage && (h("div", { class: "go-to-page" },
233
234
  h("span", { class: "label body-5-sb" }, "Vai a pagina:"),
234
235
  h("div", { class: "inputs" },
235
- 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) }),
236
+ h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
237
+ this.goToPageValue = ev.target.value;
238
+ }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }),
236
239
  h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
237
240
  ];
238
241
  }
@@ -1,6 +1,5 @@
1
1
  import { Component, Prop, h, Watch, Listen, Element, State, Event, } from "@stencil/core";
2
2
  import { PopoverPositions, KeyboardKeys } from "../../beans";
3
- import { getElementTree } from "../../utils/utils";
4
3
  const documentElement = document.documentElement;
5
4
  function getParentElement(element) {
6
5
  if (element.parentNode.host) {
@@ -99,7 +98,7 @@ function computeOffset(element, targetParentOffset) {
99
98
  export class ZPopover {
100
99
  constructor() {
101
100
  /** Popover position. */
102
- this.position = PopoverPositions.AUTO;
101
+ this.position = PopoverPositions.auto;
103
102
  /**
104
103
  * The open state of the popover.
105
104
  */
@@ -126,8 +125,7 @@ export class ZPopover {
126
125
  if (!this.closable) {
127
126
  return;
128
127
  }
129
- const tree = getElementTree(e.target);
130
- const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
128
+ const parent = e.path.find((elem) => elem === this.host);
131
129
  if (!parent) {
132
130
  this.open = false;
133
131
  this.positionChange.emit({ position: this.currentPosition });
@@ -135,8 +133,8 @@ export class ZPopover {
135
133
  }
136
134
  validatePosition(newValue) {
137
135
  if (newValue &&
138
- Object.values(PopoverPositions).every((position) => newValue !== position)) {
139
- this.position = PopoverPositions.AUTO;
136
+ !Object.values(PopoverPositions).includes(newValue)) {
137
+ this.position = PopoverPositions.auto;
140
138
  }
141
139
  this.currentPosition = this.position;
142
140
  this.positionChange.emit({ position: this.currentPosition });
@@ -210,28 +208,28 @@ export class ZPopover {
210
208
  const availableWidth = availableLeft + availableRight + boundingRect.width;
211
209
  let position = this.currentPosition;
212
210
  const positions = [];
213
- if (this.position === PopoverPositions.AUTO) {
211
+ if (this.position === PopoverPositions.auto) {
214
212
  /**
215
213
  * The `AUTO` position tries to place the popover in the 'safest' area,
216
214
  * where there's more space available.
217
215
  */
218
216
  if (availableLeft / availableWidth > 0.6) {
219
- positions.push(PopoverPositions.LEFT);
217
+ positions.push(PopoverPositions.left);
220
218
  }
221
219
  else if (availableLeft / availableWidth < 0.4) {
222
- positions.push(PopoverPositions.RIGHT);
220
+ positions.push(PopoverPositions.right);
223
221
  }
224
222
  if (availableTop / availableHeight > 0.9) {
225
- positions.unshift(PopoverPositions.TOP);
223
+ positions.unshift(PopoverPositions.top);
226
224
  }
227
225
  else if (availableTop / availableHeight > 0.6) {
228
- positions.push(PopoverPositions.TOP);
226
+ positions.push(PopoverPositions.top);
229
227
  }
230
228
  else if (availableTop / availableHeight < 0.1) {
231
- positions.unshift(PopoverPositions.BOTTOM);
229
+ positions.unshift(PopoverPositions.bottom);
232
230
  }
233
231
  else {
234
- positions.push(PopoverPositions.BOTTOM);
232
+ positions.push(PopoverPositions.bottom);
235
233
  }
236
234
  position = positions.join("_");
237
235
  }
@@ -243,18 +241,18 @@ export class ZPopover {
243
241
  const offsetLeft = boundingRect.left - relativeBoundingRect.left;
244
242
  const offsetModifier = this.center ? 0.5 : 0;
245
243
  const sizeModifier = this.center ? 0.5 : 0;
246
- if (position === PopoverPositions.TOP ||
247
- position === PopoverPositions.TOP_RIGHT) {
244
+ if (position === PopoverPositions.top ||
245
+ position === PopoverPositions.top_right) {
248
246
  style.top = "auto";
249
247
  style.right = "auto";
250
248
  style.bottom = `${offsetBottom + boundingRect.height}px`;
251
249
  style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
252
250
  style.maxHeight = `${availableTop}px`;
253
- if (position === PopoverPositions.TOP_RIGHT) {
251
+ if (position === PopoverPositions.top_right) {
254
252
  style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
255
253
  }
256
254
  }
257
- else if (position === PopoverPositions.TOP_LEFT) {
255
+ else if (position === PopoverPositions.top_left) {
258
256
  style.top = "auto";
259
257
  style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
260
258
  style.bottom = `${offsetBottom + boundingRect.height}px`;
@@ -262,18 +260,18 @@ export class ZPopover {
262
260
  style.maxWidth = `${availableLeft}px`;
263
261
  style.maxHeight = `${availableTop}px`;
264
262
  }
265
- else if (position === PopoverPositions.BOTTOM ||
266
- position === PopoverPositions.BOTTOM_RIGHT) {
263
+ else if (position === PopoverPositions.bottom ||
264
+ position === PopoverPositions.bottom_right) {
267
265
  style.top = `${offsetTop + boundingRect.height}px`;
268
266
  style.right = "auto";
269
267
  style.bottom = "auto";
270
268
  style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
271
269
  style.maxHeight = `${availableBottom}px`;
272
- if (position === PopoverPositions.BOTTOM_RIGHT) {
270
+ if (position === PopoverPositions.bottom_right) {
273
271
  style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
274
272
  }
275
273
  }
276
- else if (position === PopoverPositions.BOTTOM_LEFT) {
274
+ else if (position === PopoverPositions.bottom_left) {
277
275
  style.top = `${offsetTop + boundingRect.height}px`;
278
276
  style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
279
277
  style.bottom = "auto";
@@ -281,8 +279,8 @@ export class ZPopover {
281
279
  style.maxWidth = `${availableLeft}px`;
282
280
  style.maxHeight = `${availableBottom}px`;
283
281
  }
284
- else if (position === PopoverPositions.RIGHT ||
285
- position === PopoverPositions.RIGHT_BOTTOM) {
282
+ else if (position === PopoverPositions.right ||
283
+ position === PopoverPositions.right_bottom) {
286
284
  style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
287
285
  style.right = "auto";
288
286
  style.bottom = "auto";
@@ -290,7 +288,7 @@ export class ZPopover {
290
288
  style.maxWidth = `${availableRight}px`;
291
289
  style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
292
290
  }
293
- else if (position === PopoverPositions.RIGHT_TOP) {
291
+ else if (position === PopoverPositions.right_top) {
294
292
  style.top = "auto";
295
293
  style.right = "auto";
296
294
  style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
@@ -298,8 +296,8 @@ export class ZPopover {
298
296
  style.maxWidth = `${availableRight}px`;
299
297
  style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
300
298
  }
301
- else if (position === PopoverPositions.LEFT ||
302
- position === PopoverPositions.LEFT_BOTTOM) {
299
+ else if (position === PopoverPositions.left ||
300
+ position === PopoverPositions.left_bottom) {
303
301
  style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
304
302
  style.right = `${offsetRight + boundingRect.width}px`;
305
303
  style.bottom = "auto";
@@ -307,7 +305,7 @@ export class ZPopover {
307
305
  style.maxWidth = `${availableLeft}px`;
308
306
  style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
309
307
  }
310
- else if (position === PopoverPositions.LEFT_TOP) {
308
+ else if (position === PopoverPositions.left_top) {
311
309
  style.top = "auto";
312
310
  style.right = `${offsetRight + boundingRect.width}px`;
313
311
  style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
@@ -336,12 +334,12 @@ export class ZPopover {
336
334
  static get properties() { return {
337
335
  "position": {
338
336
  "type": "string",
339
- "mutable": true,
337
+ "mutable": false,
340
338
  "complexType": {
341
- "original": "PopoverPositions",
342
- "resolved": "PopoverPositions.AUTO | PopoverPositions.BOTTOM | PopoverPositions.BOTTOM_LEFT | PopoverPositions.BOTTOM_RIGHT | PopoverPositions.LEFT | PopoverPositions.LEFT_BOTTOM | PopoverPositions.LEFT_TOP | PopoverPositions.RIGHT | PopoverPositions.RIGHT_BOTTOM | PopoverPositions.RIGHT_TOP | PopoverPositions.TOP | PopoverPositions.TOP_LEFT | PopoverPositions.TOP_RIGHT",
339
+ "original": "PopoverPositionBean",
340
+ "resolved": "\"auto\" | \"bottom\" | \"bottom_left\" | \"bottom_right\" | \"left\" | \"left_bottom\" | \"left_top\" | \"right\" | \"right_bottom\" | \"right_top\" | \"top\" | \"top_left\" | \"top_right\"",
343
341
  "references": {
344
- "PopoverPositions": {
342
+ "PopoverPositionBean": {
345
343
  "location": "import",
346
344
  "path": "../../beans"
347
345
  }
@@ -355,7 +353,7 @@ export class ZPopover {
355
353
  },
356
354
  "attribute": "position",
357
355
  "reflect": true,
358
- "defaultValue": "PopoverPositions.AUTO"
356
+ "defaultValue": "PopoverPositions.auto"
359
357
  },
360
358
  "open": {
361
359
  "type": "boolean",
@@ -71,7 +71,7 @@ export class ZTableHeader {
71
71
  : "arrow-down", class: "arrow" }))),
72
72
  this.showButton && (h("div", { class: 'popover-container' },
73
73
  h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariantEnum["tertiary"], size: ButtonSizeEnum["x-small"], onClick: () => this.handleMenuClick() }),
74
- h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPositions.BOTTOM, center: true, bindTo: this.triggerButton },
74
+ h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPositions.bottom, center: true, bindTo: this.triggerButton },
75
75
  h("div", null,
76
76
  h("slot", { name: "contextual-menu" })))))));
77
77
  }
@@ -301,7 +301,7 @@ export class ZInputDeprecated {
301
301
  "mutable": false,
302
302
  "complexType": {
303
303
  "original": "InputTypeBean",
304
- "resolved": "\"checkbox\" | \"email\" | \"number\" | \"password\" | \"radio\" | \"text\" | \"textarea\"",
304
+ "resolved": "\"checkbox\" | \"email\" | \"number\" | \"password\" | \"radio\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"url\"",
305
305
  "references": {
306
306
  "InputTypeBean": {
307
307
  "location": "import",