@zanichelli/albe-web-components 19.3.0-rc1 → 19.4.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 (1501) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +3 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  4. package/dist/cjs/breakpoints-B7vFm-3T.js +3 -0
  5. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  6. package/dist/cjs/iconset-Cz-UsfoU.js +1030 -0
  7. package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
  8. package/dist/cjs/index-CZz7uP-M.js +2727 -0
  9. package/dist/cjs/index-CZz7uP-M.js.map +1 -0
  10. package/dist/cjs/index-Cn7FFDHr.js +415 -0
  11. package/dist/cjs/index-Cn7FFDHr.js.map +1 -0
  12. package/dist/cjs/index.cjs.js +10 -3
  13. package/dist/cjs/index.cjs.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +5 -2
  15. package/dist/cjs/loader.cjs.js.map +1 -0
  16. package/dist/cjs/reactive-controller-BBJFF12W.js +1446 -0
  17. package/dist/cjs/reactive-controller-BBJFF12W.js.map +1 -0
  18. package/dist/cjs/utils-By4U4KkV.js +2721 -0
  19. package/dist/cjs/utils-By4U4KkV.js.map +1 -0
  20. package/dist/cjs/utils-kQZHfpti.js +919 -0
  21. package/dist/cjs/utils-kQZHfpti.js.map +1 -0
  22. package/dist/cjs/web-components-library.cjs.js +5 -2
  23. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  24. package/dist/cjs/z-accordion.cjs.entry.js +6 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.cjs.entry.js +5 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +7 -4
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +6 -3
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header_12.cjs.entry.js +101 -135
  33. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  34. package/dist/cjs/z-aria-alert.cjs.entry.js +6 -3
  35. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  36. package/dist/cjs/z-avatar.cjs.entry.js +7 -4
  37. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-book-card-app.cjs.entry.js +6 -3
  39. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +7 -4
  41. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-book-card.cjs.entry.js +6 -3
  43. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-cover.cjs.entry.js +5 -2
  45. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-breadcrumb.cjs.entry.js +8 -5
  47. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-button-sort.cjs.entry.js +5 -2
  49. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-card.cjs.entry.js +5 -2
  51. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-carousel.cjs.entry.js +6 -3
  53. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-chip.cjs.entry.js +7 -4
  55. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-color-picker.cjs.entry.js +7 -4
  57. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-combobox.cjs.entry.js +21 -15
  59. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-cover-hero.cjs.entry.js +7 -4
  61. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-date-picker.cjs.entry.js +7 -4
  63. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +25 -41
  65. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-file-upload.cjs.entry.js +7 -4
  67. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-file.cjs.entry.js +6 -3
  69. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-ghost-loading.cjs.entry.js +5 -2
  71. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-info-box.cjs.entry.js +5 -2
  73. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-info-reveal.cjs.entry.js +6 -3
  75. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-input-range.cjs.entry.js +145 -0
  77. package/dist/cjs/z-input-range.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-logo.cjs.entry.js +6 -3
  79. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-menu-deprecated.cjs.entry.js +6 -3
  81. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +5 -2
  83. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-menu-section.cjs.entry.js +6 -3
  85. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-menu.cjs.entry.js +6 -3
  87. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  89. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
  91. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +5 -2
  93. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
  95. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-myz-card-icon.cjs.entry.js +5 -2
  97. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-info.cjs.entry.js +7 -4
  99. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-list.cjs.entry.js +5 -2
  101. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -6
  103. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
  105. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-list.cjs.entry.js +5 -2
  107. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
  109. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-notification.cjs.entry.js +5 -2
  111. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-otp.cjs.entry.js +7 -4
  113. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-pagination.cjs.entry.js +5 -2
  115. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-panel-elem.cjs.entry.js +6 -3
  117. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-popover.cjs.entry.js +7 -4
  119. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-range-picker.cjs.entry.js +9 -6
  121. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-result-card.cjs.entry.js +5 -2
  123. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-section-title.cjs.entry.js +6 -3
  125. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-select.cjs.entry.js +13 -14
  127. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-skip-to-content.cjs.entry.js +7 -4
  129. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-slideshow.cjs.entry.js +6 -3
  131. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-stepper-item.cjs.entry.js +5 -2
  133. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-stepper.cjs.entry.js +5 -2
  135. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-table.cjs.entry.js +11 -6
  137. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-tbody.cjs.entry.js +9 -4
  139. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-td.cjs.entry.js +10 -5
  141. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-tfoot.cjs.entry.js +9 -4
  143. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-th.cjs.entry.js +11 -6
  145. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-thead.cjs.entry.js +9 -4
  147. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-toast-notification-list.cjs.entry.js +6 -3
  149. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-toast-notification.cjs.entry.js +8 -5
  151. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-toggle-button.cjs.entry.js +6 -3
  153. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-toggle-switch.cjs.entry.js +9 -6
  155. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-tool.cjs.entry.js +8 -5
  157. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toolbar.cjs.entry.js +6 -3
  159. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-tooltip.cjs.entry.js +6 -3
  161. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-tr.cjs.entry.js +13 -11
  163. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-tree-list.cjs.entry.js +6 -3
  165. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-visually-hidden.cjs.entry.js +5 -2
  167. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  168. package/dist/collection/beans/index.js +6 -0
  169. package/dist/collection/beans/index.js.map +1 -0
  170. package/dist/collection/collection-manifest.json +12 -11
  171. package/dist/collection/components/book-card/z-book-card/index.js +2 -8
  172. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  173. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  174. package/dist/collection/components/book-card/z-book-card-app/index.js +2 -3
  175. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  176. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  177. package/dist/collection/components/css-components/z-table/styles.css +79 -0
  178. package/dist/collection/components/date-picker/utils.js +1 -0
  179. package/dist/collection/components/date-picker/utils.js.map +1 -0
  180. package/dist/collection/components/date-picker/z-date-picker/index.js +2 -1
  181. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  182. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -3
  183. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  184. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +2 -54
  185. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  186. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  187. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +2 -5
  188. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  189. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  190. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +2 -2
  191. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  192. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  193. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +2 -1
  194. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  195. package/dist/collection/components/deprecated/z-section-title/index.js +2 -2
  196. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  197. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  198. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +3 -2
  199. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  200. package/dist/collection/components/file-upload/z-file/index.js +2 -1
  201. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  202. package/dist/collection/components/file-upload/z-file-upload/index.js +3 -2
  203. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  204. package/dist/collection/components/index.js +1 -0
  205. package/dist/collection/components/index.js.map +1 -0
  206. package/dist/collection/components/list/z-list/index.js +2 -1
  207. package/dist/collection/components/list/z-list/index.js.map +1 -0
  208. package/dist/collection/components/list/z-list-element/index.js +2 -1
  209. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  210. package/dist/collection/components/list/z-list-group/index.js +3 -2
  211. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  212. package/dist/collection/components/list/z-tree-list/index.js +2 -1
  213. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  214. package/dist/collection/components/table/cells/z-table-cells.css +0 -1
  215. package/dist/collection/components/table/cells/z-td/index.js +4 -3
  216. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  217. package/dist/collection/components/table/cells/z-th/index.js +4 -3
  218. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  219. package/dist/collection/components/table/cells/z-th/styles.css +0 -4
  220. package/dist/collection/components/table/z-table/index.js +4 -4
  221. package/dist/collection/components/table/z-table/index.js.map +1 -0
  222. package/dist/collection/components/table/z-table/styles.css +3 -6
  223. package/dist/collection/components/table/z-tbody/index.js +4 -3
  224. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  225. package/dist/collection/components/table/z-tfoot/index.js +4 -3
  226. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  227. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  228. package/dist/collection/components/table/z-thead/index.js +4 -3
  229. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  230. package/dist/collection/components/table/z-thead/styles.css +0 -4
  231. package/dist/collection/components/table/z-tr/index.js +6 -8
  232. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  233. package/dist/collection/components/table/z-tr/styles.css +13 -15
  234. package/dist/collection/components/z-accordion/index.js +4 -11
  235. package/dist/collection/components/z-accordion/index.js.map +1 -0
  236. package/dist/collection/components/z-accordion/styles.css +12 -0
  237. package/dist/collection/components/z-anchor-navigation/index.js +4 -3
  238. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  239. package/dist/collection/components/z-app-header/index.js +22 -8
  240. package/dist/collection/components/z-app-header/index.js.map +1 -0
  241. package/dist/collection/components/z-app-header/styles.css +12 -12
  242. package/dist/collection/components/z-aria-alert/index.js +2 -1
  243. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  244. package/dist/collection/components/z-avatar/index.js +3 -2
  245. package/dist/collection/components/z-avatar/index.js.map +1 -0
  246. package/dist/collection/components/z-book-cover/index.js +2 -5
  247. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  248. package/dist/collection/components/z-book-cover/styles.css +6 -0
  249. package/dist/collection/components/z-breadcrumb/index.js +3 -2
  250. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  251. package/dist/collection/components/z-button/index.js +3 -2
  252. package/dist/collection/components/z-button/index.js.map +1 -0
  253. package/dist/collection/components/z-button-sort/index.js +2 -1
  254. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  255. package/dist/collection/components/z-card/index.js +2 -8
  256. package/dist/collection/components/z-card/index.js.map +1 -0
  257. package/dist/collection/components/z-card/styles.css +9 -0
  258. package/dist/collection/components/z-carousel/index.js +1 -2
  259. package/dist/collection/components/z-carousel/index.js.map +1 -0
  260. package/dist/collection/components/z-carousel/styles.css +7 -3
  261. package/dist/collection/components/z-chip/index.js +3 -2
  262. package/dist/collection/components/z-chip/index.js.map +1 -0
  263. package/dist/collection/components/z-color-picker/index.js +2 -1
  264. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  265. package/dist/collection/components/z-combobox/index.js +17 -13
  266. package/dist/collection/components/z-combobox/index.js.map +1 -0
  267. package/dist/collection/components/z-cover-hero/index.js +3 -5
  268. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  269. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  270. package/dist/collection/components/z-divider/index.js +2 -1
  271. package/dist/collection/components/z-divider/index.js.map +1 -0
  272. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  273. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  274. package/dist/collection/components/z-icon/index.js +32 -2
  275. package/dist/collection/components/z-icon/index.js.map +1 -0
  276. package/dist/collection/components/z-info-box/index.js +2 -1
  277. package/dist/collection/components/z-info-box/index.js.map +1 -0
  278. package/dist/collection/components/z-info-reveal/index.js +2 -5
  279. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  280. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  281. package/dist/collection/components/z-input/index.js +51 -30
  282. package/dist/collection/components/z-input/index.js.map +1 -0
  283. package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -0
  284. package/dist/collection/components/z-input/styles-text.css +5 -0
  285. package/dist/collection/components/z-input-message/index.js +2 -1
  286. package/dist/collection/components/z-input-message/index.js.map +1 -0
  287. package/dist/collection/components/z-input-range/index.js +438 -0
  288. package/dist/collection/components/z-input-range/index.js.map +1 -0
  289. package/dist/collection/components/z-input-range/styles.css +262 -0
  290. package/dist/collection/components/z-logo/index.js +2 -1
  291. package/dist/collection/components/z-logo/index.js.map +1 -0
  292. package/dist/collection/components/z-logo/styles.css +5 -0
  293. package/dist/collection/components/z-menu/index.js +1 -1
  294. package/dist/collection/components/z-menu/index.js.map +1 -0
  295. package/dist/collection/components/z-menu/styles.css +3 -0
  296. package/dist/collection/components/z-menu-section/index.js +2 -1
  297. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  298. package/dist/collection/components/z-modal/index.js +17 -37
  299. package/dist/collection/components/z-modal/index.js.map +1 -0
  300. package/dist/collection/components/z-modal/styles.css +5 -2
  301. package/dist/collection/components/z-navigation-tabs/index.js +3 -4
  302. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  303. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  304. package/dist/collection/components/z-notification/index.js +2 -4
  305. package/dist/collection/components/z-notification/index.js.map +1 -0
  306. package/dist/collection/components/z-notification/styles.css +5 -0
  307. package/dist/collection/components/z-offcanvas/index.js +43 -119
  308. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  309. package/dist/collection/components/z-offcanvas/styles.css +6 -0
  310. package/dist/collection/components/z-pagination/index.js +1 -2
  311. package/dist/collection/components/z-pagination/index.js.map +1 -0
  312. package/dist/collection/components/z-pagination/styles.css +6 -0
  313. package/dist/collection/components/z-panel-elem/index.js +3 -2
  314. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  315. package/dist/collection/components/z-popover/index.js +2 -6
  316. package/dist/collection/components/z-popover/index.js.map +1 -0
  317. package/dist/collection/components/z-popover/styles.css +6 -0
  318. package/dist/collection/components/z-result-card/index.js +1 -0
  319. package/dist/collection/components/z-result-card/index.js.map +1 -0
  320. package/dist/collection/components/z-result-card/styles.css +8 -5
  321. package/dist/collection/components/z-searchbar/index.js +4 -8
  322. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  323. package/dist/collection/components/z-searchbar/styles.css +5 -0
  324. package/dist/collection/components/z-select/index.js +9 -12
  325. package/dist/collection/components/z-select/index.js.map +1 -0
  326. package/dist/collection/components/z-skip-to-content/index.js +2 -1
  327. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  328. package/dist/collection/components/z-stepper/index.js +2 -1
  329. package/dist/collection/components/z-stepper/index.js.map +1 -0
  330. package/dist/collection/components/z-stepper-item/index.js +2 -1
  331. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  332. package/dist/collection/components/z-tag/index.js +3 -4
  333. package/dist/collection/components/z-tag/index.js.map +1 -0
  334. package/dist/collection/components/z-tag/styles.css +5 -0
  335. package/dist/collection/components/z-toast-notification/index.js +4 -3
  336. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  337. package/dist/collection/components/z-toast-notification-list/index.js +2 -1
  338. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  339. package/dist/collection/components/z-toggle-button/index.js +3 -2
  340. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  341. package/dist/collection/components/z-toggle-switch/index.js +4 -3
  342. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  343. package/dist/collection/components/z-tool/index.js +4 -3
  344. package/dist/collection/components/z-tool/index.js.map +1 -0
  345. package/dist/collection/components/z-toolbar/index.js +2 -2
  346. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  347. package/dist/collection/components/z-toolbar/styles.css +4 -0
  348. package/dist/collection/components/z-tooltip/index.js +2 -5
  349. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  350. package/dist/collection/components/z-tooltip/styles.css +6 -0
  351. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  352. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  353. package/dist/collection/constants/breakpoints.js +1 -0
  354. package/dist/collection/constants/breakpoints.js.map +1 -0
  355. package/dist/collection/constants/icons.js +1 -0
  356. package/dist/collection/constants/icons.js.map +1 -0
  357. package/dist/collection/constants/iconset.js +7 -6
  358. package/dist/collection/constants/iconset.js.map +1 -0
  359. package/dist/collection/index.js +1 -0
  360. package/dist/collection/index.js.map +1 -0
  361. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +3 -2
  362. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  363. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +2 -1
  364. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  365. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  366. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  367. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +2 -1
  368. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  369. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -1
  370. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  371. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -1
  372. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  373. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  374. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  375. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +2 -1
  376. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  377. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
  378. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  379. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
  380. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  381. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
  382. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  383. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +2 -1
  384. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  385. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -1
  386. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  387. package/dist/collection/snowflakes/myz/z-alert/index.js +2 -1
  388. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  389. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -2
  390. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  391. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -0
  392. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  393. package/dist/collection/utils/focus-trap-controller.js +100 -0
  394. package/dist/collection/utils/focus-trap-controller.js.map +1 -0
  395. package/dist/collection/utils/reactive-controller.js +46 -0
  396. package/dist/collection/utils/reactive-controller.js.map +1 -0
  397. package/dist/collection/utils/storybook-utils.js +8 -0
  398. package/dist/collection/utils/storybook-utils.js.map +1 -0
  399. package/dist/collection/utils/utils.js +65 -1
  400. package/dist/collection/utils/utils.js.map +1 -0
  401. package/dist/components/_commonjsHelpers.js +2 -1
  402. package/dist/components/_commonjsHelpers.js.map +1 -0
  403. package/dist/components/breakpoints.js +2 -1
  404. package/dist/components/breakpoints.js.map +1 -0
  405. package/dist/components/iconset.js +2 -1
  406. package/dist/components/iconset.js.map +1 -0
  407. package/dist/components/index.d.ts +2 -0
  408. package/dist/components/index.js +2 -1
  409. package/dist/components/index.js.map +1 -0
  410. package/dist/components/index10.js +2 -1
  411. package/dist/components/index10.js.map +1 -0
  412. package/dist/components/index11.js +2 -1
  413. package/dist/components/index11.js.map +1 -0
  414. package/dist/components/index12.js +2 -1
  415. package/dist/components/index12.js.map +1 -0
  416. package/dist/components/index13.js +2 -1
  417. package/dist/components/index13.js.map +1 -0
  418. package/dist/components/index14.js +2 -1
  419. package/dist/components/index14.js.map +1 -0
  420. package/dist/components/index15.js +2 -1
  421. package/dist/components/index15.js.map +1 -0
  422. package/dist/components/index16.js +2 -1
  423. package/dist/components/index16.js.map +1 -0
  424. package/dist/components/index17.js +2 -1
  425. package/dist/components/index17.js.map +1 -0
  426. package/dist/components/index18.js +2 -1
  427. package/dist/components/index18.js.map +1 -0
  428. package/dist/components/index19.js +2 -1
  429. package/dist/components/index19.js.map +1 -0
  430. package/dist/components/index2.js +2 -1
  431. package/dist/components/index2.js.map +1 -0
  432. package/dist/components/index20.js +2 -1
  433. package/dist/components/index20.js.map +1 -0
  434. package/dist/components/index21.js +2 -1
  435. package/dist/components/index21.js.map +1 -0
  436. package/dist/components/index22.js +2 -1
  437. package/dist/components/index22.js.map +1 -0
  438. package/dist/components/index23.js +2 -1
  439. package/dist/components/index23.js.map +1 -0
  440. package/dist/components/index24.js +2 -1
  441. package/dist/components/index24.js.map +1 -0
  442. package/dist/components/index25.js +2 -1
  443. package/dist/components/index25.js.map +1 -0
  444. package/dist/components/index26.js +2 -1
  445. package/dist/components/index26.js.map +1 -0
  446. package/dist/components/index27.js +2 -1
  447. package/dist/components/index27.js.map +1 -0
  448. package/dist/components/index3.js +2 -1
  449. package/dist/components/index3.js.map +1 -0
  450. package/dist/components/index4.js +2 -1
  451. package/dist/components/index4.js.map +1 -0
  452. package/dist/components/index5.js +2 -1
  453. package/dist/components/index5.js.map +1 -0
  454. package/dist/components/index6.js +2 -1
  455. package/dist/components/index6.js.map +1 -0
  456. package/dist/components/index7.js +2 -1
  457. package/dist/components/index7.js.map +1 -0
  458. package/dist/components/index8.js +2 -1
  459. package/dist/components/index8.js.map +1 -0
  460. package/dist/components/index9.js +2 -1
  461. package/dist/components/index9.js.map +1 -0
  462. package/dist/components/reactive-controller.js +6 -0
  463. package/dist/components/reactive-controller.js.map +1 -0
  464. package/dist/components/utils.js +7 -1
  465. package/dist/components/utils.js.map +1 -0
  466. package/dist/components/utils2.js +2 -1
  467. package/dist/components/utils2.js.map +1 -0
  468. package/dist/components/z-accordion.js +2 -1
  469. package/dist/components/z-accordion.js.map +1 -0
  470. package/dist/components/z-alert.js +2 -1
  471. package/dist/components/z-alert.js.map +1 -0
  472. package/dist/components/z-anchor-navigation.js +2 -1
  473. package/dist/components/z-anchor-navigation.js.map +1 -0
  474. package/dist/components/z-app-header-deprecated.js +2 -1
  475. package/dist/components/z-app-header-deprecated.js.map +1 -0
  476. package/dist/components/z-app-header.js +2 -1
  477. package/dist/components/z-app-header.js.map +1 -0
  478. package/dist/components/z-aria-alert.js +2 -1
  479. package/dist/components/z-aria-alert.js.map +1 -0
  480. package/dist/components/z-avatar.js +2 -1
  481. package/dist/components/z-avatar.js.map +1 -0
  482. package/dist/components/z-book-card-app.js +2 -1
  483. package/dist/components/z-book-card-app.js.map +1 -0
  484. package/dist/components/z-book-card-deprecated.js +2 -1
  485. package/dist/components/z-book-card-deprecated.js.map +1 -0
  486. package/dist/components/z-book-card.js +2 -1
  487. package/dist/components/z-book-card.js.map +1 -0
  488. package/dist/components/z-book-cover.js +2 -1
  489. package/dist/components/z-book-cover.js.map +1 -0
  490. package/dist/components/z-breadcrumb.js +2 -1
  491. package/dist/components/z-breadcrumb.js.map +1 -0
  492. package/dist/components/z-button-sort.js +2 -1
  493. package/dist/components/z-button-sort.js.map +1 -0
  494. package/dist/components/z-button.js +2 -1
  495. package/dist/components/z-button.js.map +1 -0
  496. package/dist/components/z-card.js +2 -1
  497. package/dist/components/z-card.js.map +1 -0
  498. package/dist/components/z-carousel.js +2 -1
  499. package/dist/components/z-carousel.js.map +1 -0
  500. package/dist/components/z-chip.js +2 -1
  501. package/dist/components/z-chip.js.map +1 -0
  502. package/dist/components/z-color-picker.js +2 -1
  503. package/dist/components/z-color-picker.js.map +1 -0
  504. package/dist/components/z-combobox.js +2 -1
  505. package/dist/components/z-combobox.js.map +1 -0
  506. package/dist/components/z-cover-hero.js +2 -1
  507. package/dist/components/z-cover-hero.js.map +1 -0
  508. package/dist/components/z-date-picker.js +3 -2
  509. package/dist/components/z-date-picker.js.map +1 -0
  510. package/dist/components/z-divider.js +2 -1
  511. package/dist/components/z-divider.js.map +1 -0
  512. package/dist/components/z-dragdrop-area.js +2 -1
  513. package/dist/components/z-dragdrop-area.js.map +1 -0
  514. package/dist/components/z-file-upload.js +2 -1
  515. package/dist/components/z-file-upload.js.map +1 -0
  516. package/dist/components/z-file.js +2 -1
  517. package/dist/components/z-file.js.map +1 -0
  518. package/dist/components/z-ghost-loading.js +2 -1
  519. package/dist/components/z-ghost-loading.js.map +1 -0
  520. package/dist/components/z-icon.js +2 -1
  521. package/dist/components/z-icon.js.map +1 -0
  522. package/dist/components/z-info-box.js +2 -1
  523. package/dist/components/z-info-box.js.map +1 -0
  524. package/dist/components/z-info-reveal.js +2 -1
  525. package/dist/components/z-info-reveal.js.map +1 -0
  526. package/dist/components/z-input-message.js +2 -1
  527. package/dist/components/z-input-message.js.map +1 -0
  528. package/dist/components/z-input-range.d.ts +11 -0
  529. package/dist/components/z-input-range.js +2 -0
  530. package/dist/components/z-input-range.js.map +1 -0
  531. package/dist/components/z-input.js +2 -1
  532. package/dist/components/z-input.js.map +1 -0
  533. package/dist/components/z-list-element.js +2 -1
  534. package/dist/components/z-list-element.js.map +1 -0
  535. package/dist/components/z-list-group.js +2 -1
  536. package/dist/components/z-list-group.js.map +1 -0
  537. package/dist/components/z-list.js +2 -1
  538. package/dist/components/z-list.js.map +1 -0
  539. package/dist/components/z-logo.js +2 -1
  540. package/dist/components/z-logo.js.map +1 -0
  541. package/dist/components/z-menu-deprecated.js +2 -1
  542. package/dist/components/z-menu-deprecated.js.map +1 -0
  543. package/dist/components/z-menu-section-deprecated.js +2 -1
  544. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  545. package/dist/components/z-menu-section.js +2 -1
  546. package/dist/components/z-menu-section.js.map +1 -0
  547. package/dist/components/z-menu.js +2 -1
  548. package/dist/components/z-menu.js.map +1 -0
  549. package/dist/components/z-modal.js +2 -1
  550. package/dist/components/z-modal.js.map +1 -0
  551. package/dist/components/z-myz-card-alert.js +2 -1
  552. package/dist/components/z-myz-card-alert.js.map +1 -0
  553. package/dist/components/z-myz-card-body.js +2 -1
  554. package/dist/components/z-myz-card-body.js.map +1 -0
  555. package/dist/components/z-myz-card-cover.js +2 -1
  556. package/dist/components/z-myz-card-cover.js.map +1 -0
  557. package/dist/components/z-myz-card-dictionary.js +2 -1
  558. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  559. package/dist/components/z-myz-card-footer-sections.js +2 -1
  560. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  561. package/dist/components/z-myz-card-footer.js +2 -1
  562. package/dist/components/z-myz-card-footer.js.map +1 -0
  563. package/dist/components/z-myz-card-header.js +2 -1
  564. package/dist/components/z-myz-card-header.js.map +1 -0
  565. package/dist/components/z-myz-card-icon.js +2 -1
  566. package/dist/components/z-myz-card-icon.js.map +1 -0
  567. package/dist/components/z-myz-card-info.js +2 -1
  568. package/dist/components/z-myz-card-info.js.map +1 -0
  569. package/dist/components/z-myz-card-list.js +2 -1
  570. package/dist/components/z-myz-card-list.js.map +1 -0
  571. package/dist/components/z-myz-card.js +2 -1
  572. package/dist/components/z-myz-card.js.map +1 -0
  573. package/dist/components/z-myz-list-item.js +2 -1
  574. package/dist/components/z-myz-list-item.js.map +1 -0
  575. package/dist/components/z-myz-list.js +2 -1
  576. package/dist/components/z-myz-list.js.map +1 -0
  577. package/dist/components/z-navigation-tabs.js +2 -1
  578. package/dist/components/z-navigation-tabs.js.map +1 -0
  579. package/dist/components/z-notification.js +2 -1
  580. package/dist/components/z-notification.js.map +1 -0
  581. package/dist/components/z-offcanvas.js +2 -1
  582. package/dist/components/z-offcanvas.js.map +1 -0
  583. package/dist/components/z-otp.js +2 -1
  584. package/dist/components/z-otp.js.map +1 -0
  585. package/dist/components/z-pagination.js +2 -1
  586. package/dist/components/z-pagination.js.map +1 -0
  587. package/dist/components/z-panel-elem.js +2 -1
  588. package/dist/components/z-panel-elem.js.map +1 -0
  589. package/dist/components/z-popover.js +2 -1
  590. package/dist/components/z-popover.js.map +1 -0
  591. package/dist/components/z-range-picker.js +2 -1
  592. package/dist/components/z-range-picker.js.map +1 -0
  593. package/dist/components/z-result-card.js +2 -1
  594. package/dist/components/z-result-card.js.map +1 -0
  595. package/dist/components/z-searchbar.js +2 -1
  596. package/dist/components/z-searchbar.js.map +1 -0
  597. package/dist/components/z-section-title.js +2 -1
  598. package/dist/components/z-section-title.js.map +1 -0
  599. package/dist/components/z-select.js +2 -1
  600. package/dist/components/z-select.js.map +1 -0
  601. package/dist/components/z-skip-to-content.js +2 -1
  602. package/dist/components/z-skip-to-content.js.map +1 -0
  603. package/dist/components/z-slideshow.js +2 -1
  604. package/dist/components/z-slideshow.js.map +1 -0
  605. package/dist/components/z-stepper-item.js +2 -1
  606. package/dist/components/z-stepper-item.js.map +1 -0
  607. package/dist/components/z-stepper.js +2 -1
  608. package/dist/components/z-stepper.js.map +1 -0
  609. package/dist/components/z-table.js +2 -1
  610. package/dist/components/z-table.js.map +1 -0
  611. package/dist/components/z-tag.js +2 -1
  612. package/dist/components/z-tag.js.map +1 -0
  613. package/dist/components/z-tbody.js +2 -1
  614. package/dist/components/z-tbody.js.map +1 -0
  615. package/dist/components/z-td.js +2 -1
  616. package/dist/components/z-td.js.map +1 -0
  617. package/dist/components/z-tfoot.js +2 -1
  618. package/dist/components/z-tfoot.js.map +1 -0
  619. package/dist/components/z-th.js +2 -1
  620. package/dist/components/z-th.js.map +1 -0
  621. package/dist/components/z-thead.js +2 -1
  622. package/dist/components/z-thead.js.map +1 -0
  623. package/dist/components/z-toast-notification-list.js +2 -1
  624. package/dist/components/z-toast-notification-list.js.map +1 -0
  625. package/dist/components/z-toast-notification.js +8 -2
  626. package/dist/components/z-toast-notification.js.map +1 -0
  627. package/dist/components/z-toggle-button.js +2 -1
  628. package/dist/components/z-toggle-button.js.map +1 -0
  629. package/dist/components/z-toggle-switch.js +2 -1
  630. package/dist/components/z-toggle-switch.js.map +1 -0
  631. package/dist/components/z-tool.js +2 -1
  632. package/dist/components/z-tool.js.map +1 -0
  633. package/dist/components/z-toolbar.js +2 -1
  634. package/dist/components/z-toolbar.js.map +1 -0
  635. package/dist/components/z-tooltip.js +2 -1
  636. package/dist/components/z-tooltip.js.map +1 -0
  637. package/dist/components/z-tr.js +2 -1
  638. package/dist/components/z-tr.js.map +1 -0
  639. package/dist/components/z-tree-list.js +2 -1
  640. package/dist/components/z-tree-list.js.map +1 -0
  641. package/dist/components/z-visually-hidden.js +2 -1
  642. package/dist/components/z-visually-hidden.js.map +1 -0
  643. package/dist/esm/_commonjsHelpers-B85MJLTf.js +3 -0
  644. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  645. package/dist/esm/breakpoints-Q-tWjk7P.js +3 -0
  646. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  647. package/dist/esm/iconset-AwzX9V8L.js +1027 -0
  648. package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
  649. package/dist/esm/index-B3nR3-Jw.js +413 -0
  650. package/dist/esm/index-B3nR3-Jw.js.map +1 -0
  651. package/dist/esm/index-BcDWN4F1.js +2697 -0
  652. package/dist/esm/index-BcDWN4F1.js.map +1 -0
  653. package/dist/esm/index.js +6 -3
  654. package/dist/esm/index.js.map +1 -0
  655. package/dist/esm/loader.js +6 -3
  656. package/dist/esm/loader.js.map +1 -0
  657. package/dist/esm/reactive-controller--oxj7x8w.js +1443 -0
  658. package/dist/esm/reactive-controller--oxj7x8w.js.map +1 -0
  659. package/dist/esm/utils-C9lc3rtK.js +896 -0
  660. package/dist/esm/utils-C9lc3rtK.js.map +1 -0
  661. package/dist/esm/utils-DP4zBIll.js +2715 -0
  662. package/dist/esm/utils-DP4zBIll.js.map +1 -0
  663. package/dist/esm/web-components-library.js +6 -3
  664. package/dist/esm/web-components-library.js.map +1 -0
  665. package/dist/esm/z-accordion.entry.js +6 -3
  666. package/dist/esm/z-accordion.entry.js.map +1 -0
  667. package/dist/esm/z-alert.entry.js +5 -2
  668. package/dist/esm/z-alert.entry.js.map +1 -0
  669. package/dist/esm/z-anchor-navigation.entry.js +7 -4
  670. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  671. package/dist/esm/z-app-header-deprecated.entry.js +6 -3
  672. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  673. package/dist/esm/z-app-header_12.entry.js +101 -135
  674. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  675. package/dist/esm/z-aria-alert.entry.js +6 -3
  676. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  677. package/dist/esm/z-avatar.entry.js +7 -4
  678. package/dist/esm/z-avatar.entry.js.map +1 -0
  679. package/dist/esm/z-book-card-app.entry.js +6 -3
  680. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  681. package/dist/esm/z-book-card-deprecated.entry.js +7 -4
  682. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  683. package/dist/esm/z-book-card.entry.js +6 -3
  684. package/dist/esm/z-book-card.entry.js.map +1 -0
  685. package/dist/esm/z-book-cover.entry.js +5 -2
  686. package/dist/esm/z-book-cover.entry.js.map +1 -0
  687. package/dist/esm/z-breadcrumb.entry.js +8 -5
  688. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  689. package/dist/esm/z-button-sort.entry.js +5 -2
  690. package/dist/esm/z-button-sort.entry.js.map +1 -0
  691. package/dist/esm/z-card.entry.js +5 -2
  692. package/dist/esm/z-card.entry.js.map +1 -0
  693. package/dist/esm/z-carousel.entry.js +6 -3
  694. package/dist/esm/z-carousel.entry.js.map +1 -0
  695. package/dist/esm/z-chip.entry.js +7 -4
  696. package/dist/esm/z-chip.entry.js.map +1 -0
  697. package/dist/esm/z-color-picker.entry.js +7 -4
  698. package/dist/esm/z-color-picker.entry.js.map +1 -0
  699. package/dist/esm/z-combobox.entry.js +21 -15
  700. package/dist/esm/z-combobox.entry.js.map +1 -0
  701. package/dist/esm/z-cover-hero.entry.js +7 -4
  702. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  703. package/dist/esm/z-date-picker.entry.js +7 -4
  704. package/dist/esm/z-date-picker.entry.js.map +1 -0
  705. package/dist/esm/z-dragdrop-area_2.entry.js +25 -41
  706. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  707. package/dist/esm/z-file-upload.entry.js +7 -4
  708. package/dist/esm/z-file-upload.entry.js.map +1 -0
  709. package/dist/esm/z-file.entry.js +6 -3
  710. package/dist/esm/z-file.entry.js.map +1 -0
  711. package/dist/esm/z-ghost-loading.entry.js +5 -2
  712. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  713. package/dist/esm/z-info-box.entry.js +5 -2
  714. package/dist/esm/z-info-box.entry.js.map +1 -0
  715. package/dist/esm/z-info-reveal.entry.js +6 -3
  716. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  717. package/dist/esm/z-input-range.entry.js +143 -0
  718. package/dist/esm/z-input-range.entry.js.map +1 -0
  719. package/dist/esm/z-logo.entry.js +6 -3
  720. package/dist/esm/z-logo.entry.js.map +1 -0
  721. package/dist/esm/z-menu-deprecated.entry.js +6 -3
  722. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  723. package/dist/esm/z-menu-section-deprecated.entry.js +5 -2
  724. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  725. package/dist/esm/z-menu-section.entry.js +6 -3
  726. package/dist/esm/z-menu-section.entry.js.map +1 -0
  727. package/dist/esm/z-menu.entry.js +6 -3
  728. package/dist/esm/z-menu.entry.js.map +1 -0
  729. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  730. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  731. package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
  732. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  733. package/dist/esm/z-myz-card-footer-sections.entry.js +5 -2
  734. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  735. package/dist/esm/z-myz-card-footer.entry.js +6 -3
  736. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  737. package/dist/esm/z-myz-card-icon.entry.js +5 -2
  738. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  739. package/dist/esm/z-myz-card-info.entry.js +7 -4
  740. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  741. package/dist/esm/z-myz-card-list.entry.js +5 -2
  742. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  743. package/dist/esm/z-myz-card_4.entry.js +9 -6
  744. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  745. package/dist/esm/z-myz-list-item.entry.js +7 -4
  746. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  747. package/dist/esm/z-myz-list.entry.js +5 -2
  748. package/dist/esm/z-myz-list.entry.js.map +1 -0
  749. package/dist/esm/z-navigation-tabs.entry.js +7 -4
  750. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  751. package/dist/esm/z-notification.entry.js +5 -2
  752. package/dist/esm/z-notification.entry.js.map +1 -0
  753. package/dist/esm/z-otp.entry.js +7 -4
  754. package/dist/esm/z-otp.entry.js.map +1 -0
  755. package/dist/esm/z-pagination.entry.js +5 -2
  756. package/dist/esm/z-pagination.entry.js.map +1 -0
  757. package/dist/esm/z-panel-elem.entry.js +6 -3
  758. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  759. package/dist/esm/z-popover.entry.js +7 -4
  760. package/dist/esm/z-popover.entry.js.map +1 -0
  761. package/dist/esm/z-range-picker.entry.js +9 -6
  762. package/dist/esm/z-range-picker.entry.js.map +1 -0
  763. package/dist/esm/z-result-card.entry.js +5 -2
  764. package/dist/esm/z-result-card.entry.js.map +1 -0
  765. package/dist/esm/z-section-title.entry.js +6 -3
  766. package/dist/esm/z-section-title.entry.js.map +1 -0
  767. package/dist/esm/z-select.entry.js +13 -14
  768. package/dist/esm/z-select.entry.js.map +1 -0
  769. package/dist/esm/z-skip-to-content.entry.js +7 -4
  770. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  771. package/dist/esm/z-slideshow.entry.js +6 -3
  772. package/dist/esm/z-slideshow.entry.js.map +1 -0
  773. package/dist/esm/z-stepper-item.entry.js +5 -2
  774. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  775. package/dist/esm/z-stepper.entry.js +5 -2
  776. package/dist/esm/z-stepper.entry.js.map +1 -0
  777. package/dist/esm/z-table.entry.js +11 -6
  778. package/dist/esm/z-table.entry.js.map +1 -0
  779. package/dist/esm/z-tbody.entry.js +9 -4
  780. package/dist/esm/z-tbody.entry.js.map +1 -0
  781. package/dist/esm/z-td.entry.js +10 -5
  782. package/dist/esm/z-td.entry.js.map +1 -0
  783. package/dist/esm/z-tfoot.entry.js +9 -4
  784. package/dist/esm/z-tfoot.entry.js.map +1 -0
  785. package/dist/esm/z-th.entry.js +11 -6
  786. package/dist/esm/z-th.entry.js.map +1 -0
  787. package/dist/esm/z-thead.entry.js +9 -4
  788. package/dist/esm/z-thead.entry.js.map +1 -0
  789. package/dist/esm/z-toast-notification-list.entry.js +6 -3
  790. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  791. package/dist/esm/z-toast-notification.entry.js +8 -5
  792. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  793. package/dist/esm/z-toggle-button.entry.js +6 -3
  794. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  795. package/dist/esm/z-toggle-switch.entry.js +9 -6
  796. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  797. package/dist/esm/z-tool.entry.js +8 -5
  798. package/dist/esm/z-tool.entry.js.map +1 -0
  799. package/dist/esm/z-toolbar.entry.js +6 -3
  800. package/dist/esm/z-toolbar.entry.js.map +1 -0
  801. package/dist/esm/z-tooltip.entry.js +6 -3
  802. package/dist/esm/z-tooltip.entry.js.map +1 -0
  803. package/dist/esm/z-tr.entry.js +13 -11
  804. package/dist/esm/z-tr.entry.js.map +1 -0
  805. package/dist/esm/z-tree-list.entry.js +6 -3
  806. package/dist/esm/z-tree-list.entry.js.map +1 -0
  807. package/dist/esm/z-visually-hidden.entry.js +5 -2
  808. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  809. package/dist/types/beans/index.d.ts +4 -0
  810. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  811. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  812. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  813. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  814. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  815. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  816. package/dist/types/components/table/z-table/index.d.ts +0 -1
  817. package/dist/types/components/z-accordion/index.d.ts +2 -10
  818. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  819. package/dist/types/components/z-app-header/index.d.ts +4 -6
  820. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  821. package/dist/types/components/z-button/index.d.ts +1 -1
  822. package/dist/types/components/z-card/index.d.ts +1 -8
  823. package/dist/types/components/z-carousel/index.d.ts +0 -2
  824. package/dist/types/components/z-combobox/index.d.ts +1 -0
  825. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  826. package/dist/types/components/z-icon/index.d.ts +13 -0
  827. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  828. package/dist/types/components/z-input/index.d.ts +6 -4
  829. package/dist/types/components/z-input-range/index.d.ts +83 -0
  830. package/dist/types/components/z-menu/index.d.ts +0 -1
  831. package/dist/types/components/z-modal/index.d.ts +4 -11
  832. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  833. package/dist/types/components/z-notification/index.d.ts +0 -3
  834. package/dist/types/components/z-offcanvas/index.d.ts +12 -37
  835. package/dist/types/components/z-pagination/index.d.ts +0 -2
  836. package/dist/types/components/z-popover/index.d.ts +0 -5
  837. package/dist/types/components/z-searchbar/index.d.ts +0 -5
  838. package/dist/types/components/z-select/index.d.ts +0 -1
  839. package/dist/types/components/z-tag/index.d.ts +0 -2
  840. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  841. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  842. package/dist/types/components.d.ts +213 -606
  843. package/dist/types/constants/iconset.d.ts +4 -4
  844. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  845. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  846. package/dist/types/utils/focus-trap-controller.d.ts +53 -0
  847. package/dist/types/utils/reactive-controller.d.ts +39 -0
  848. package/dist/types/utils/storybook-utils.d.ts +7 -2
  849. package/dist/types/utils/utils.d.ts +12 -0
  850. package/dist/web-components-library/index.esm.js +2 -1
  851. package/dist/web-components-library/index.esm.js.map +1 -0
  852. package/dist/web-components-library/p-01d2d4e2.entry.js +2 -0
  853. package/dist/web-components-library/p-01d2d4e2.entry.js.map +1 -0
  854. package/dist/web-components-library/p-02a5c216.entry.js +2 -0
  855. package/dist/web-components-library/p-02a5c216.entry.js.map +1 -0
  856. package/dist/web-components-library/p-0673b282.entry.js +2 -0
  857. package/dist/web-components-library/p-0673b282.entry.js.map +1 -0
  858. package/dist/web-components-library/p-06aba4ff.entry.js +2 -0
  859. package/dist/web-components-library/p-06aba4ff.entry.js.map +1 -0
  860. package/dist/web-components-library/p-076d802a.entry.js +2 -0
  861. package/dist/web-components-library/p-076d802a.entry.js.map +1 -0
  862. package/dist/web-components-library/p-10ad3d7c.entry.js +2 -0
  863. package/dist/web-components-library/p-10ad3d7c.entry.js.map +1 -0
  864. package/dist/web-components-library/p-164b8342.entry.js +2 -0
  865. package/dist/web-components-library/p-164b8342.entry.js.map +1 -0
  866. package/dist/web-components-library/p-1ba5aa7a.entry.js +2 -0
  867. package/dist/web-components-library/p-1ba5aa7a.entry.js.map +1 -0
  868. package/dist/web-components-library/p-1c1f699b.entry.js +2 -0
  869. package/dist/web-components-library/p-1c1f699b.entry.js.map +1 -0
  870. package/dist/web-components-library/p-1c63269a.entry.js +2 -0
  871. package/dist/web-components-library/p-1c63269a.entry.js.map +1 -0
  872. package/dist/web-components-library/p-1e25b55b.entry.js +2 -0
  873. package/dist/web-components-library/p-1e25b55b.entry.js.map +1 -0
  874. package/dist/web-components-library/p-21b9ec81.entry.js +2 -0
  875. package/dist/web-components-library/p-21b9ec81.entry.js.map +1 -0
  876. package/dist/web-components-library/p-257be457.entry.js +2 -0
  877. package/dist/web-components-library/p-257be457.entry.js.map +1 -0
  878. package/dist/web-components-library/p-26788712.entry.js +2 -0
  879. package/dist/web-components-library/p-26788712.entry.js.map +1 -0
  880. package/dist/web-components-library/p-2adbfd30.entry.js +2 -0
  881. package/dist/web-components-library/p-2adbfd30.entry.js.map +1 -0
  882. package/dist/web-components-library/p-2fcbc1a1.entry.js +2 -0
  883. package/dist/web-components-library/p-2fcbc1a1.entry.js.map +1 -0
  884. package/dist/web-components-library/p-30579764.entry.js +8 -0
  885. package/dist/web-components-library/p-30579764.entry.js.map +1 -0
  886. package/dist/web-components-library/p-330486fc.entry.js +2 -0
  887. package/dist/web-components-library/p-330486fc.entry.js.map +1 -0
  888. package/dist/web-components-library/p-34d4ee45.entry.js +2 -0
  889. package/dist/web-components-library/p-34d4ee45.entry.js.map +1 -0
  890. package/dist/web-components-library/p-354abbd7.entry.js +2 -0
  891. package/dist/web-components-library/p-354abbd7.entry.js.map +1 -0
  892. package/dist/web-components-library/p-372e83b1.entry.js +2 -0
  893. package/dist/web-components-library/p-372e83b1.entry.js.map +1 -0
  894. package/dist/web-components-library/p-3b70a97c.entry.js +2 -0
  895. package/dist/web-components-library/p-3b70a97c.entry.js.map +1 -0
  896. package/dist/web-components-library/p-3f2658a0.entry.js +2 -0
  897. package/dist/web-components-library/p-3f2658a0.entry.js.map +1 -0
  898. package/dist/web-components-library/p-3f6ea914.entry.js +2 -0
  899. package/dist/web-components-library/p-3f6ea914.entry.js.map +1 -0
  900. package/dist/web-components-library/p-418a7ee5.entry.js +2 -0
  901. package/dist/web-components-library/p-418a7ee5.entry.js.map +1 -0
  902. package/dist/web-components-library/p-4730e9a5.entry.js +2 -0
  903. package/dist/web-components-library/p-4730e9a5.entry.js.map +1 -0
  904. package/dist/web-components-library/p-474493cc.entry.js +2 -0
  905. package/dist/web-components-library/p-474493cc.entry.js.map +1 -0
  906. package/dist/web-components-library/p-4954dd38.entry.js +2 -0
  907. package/dist/web-components-library/p-4954dd38.entry.js.map +1 -0
  908. package/dist/web-components-library/p-4c1b6c40.entry.js +2 -0
  909. package/dist/web-components-library/p-4c1b6c40.entry.js.map +1 -0
  910. package/dist/web-components-library/p-55468801.entry.js +2 -0
  911. package/dist/web-components-library/p-55468801.entry.js.map +1 -0
  912. package/dist/web-components-library/p-55f6d3fe.entry.js +2 -0
  913. package/dist/web-components-library/p-55f6d3fe.entry.js.map +1 -0
  914. package/dist/web-components-library/p-62485d56.entry.js +2 -0
  915. package/dist/web-components-library/p-62485d56.entry.js.map +1 -0
  916. package/dist/web-components-library/p-6a952697.entry.js +2 -0
  917. package/dist/web-components-library/p-6a952697.entry.js.map +1 -0
  918. package/dist/web-components-library/p-6c5937db.entry.js +2 -0
  919. package/dist/web-components-library/p-6c5937db.entry.js.map +1 -0
  920. package/dist/web-components-library/p-6f58880c.entry.js +2 -0
  921. package/dist/web-components-library/p-6f58880c.entry.js.map +1 -0
  922. package/dist/web-components-library/p-7056f90f.entry.js +2 -0
  923. package/dist/web-components-library/p-7056f90f.entry.js.map +1 -0
  924. package/dist/web-components-library/p-70fe7ed8.entry.js +2 -0
  925. package/dist/web-components-library/p-70fe7ed8.entry.js.map +1 -0
  926. package/dist/web-components-library/p-71ddff9a.entry.js +2 -0
  927. package/dist/web-components-library/p-71ddff9a.entry.js.map +1 -0
  928. package/dist/web-components-library/p-86d3a3da.entry.js +2 -0
  929. package/dist/web-components-library/p-86d3a3da.entry.js.map +1 -0
  930. package/dist/web-components-library/p-8751b09d.entry.js +2 -0
  931. package/dist/web-components-library/p-8751b09d.entry.js.map +1 -0
  932. package/dist/web-components-library/p-88e3fb55.entry.js +2 -0
  933. package/dist/web-components-library/p-88e3fb55.entry.js.map +1 -0
  934. package/dist/web-components-library/p-89e96cde.entry.js +2 -0
  935. package/dist/web-components-library/p-89e96cde.entry.js.map +1 -0
  936. package/dist/web-components-library/p-8a545910.entry.js +2 -0
  937. package/dist/web-components-library/p-8a545910.entry.js.map +1 -0
  938. package/dist/web-components-library/p-927d50ea.entry.js +2 -0
  939. package/dist/web-components-library/p-927d50ea.entry.js.map +1 -0
  940. package/dist/web-components-library/p-95c2e9b0.entry.js +2 -0
  941. package/dist/web-components-library/p-95c2e9b0.entry.js.map +1 -0
  942. package/dist/web-components-library/p-98089231.entry.js +2 -0
  943. package/dist/web-components-library/p-98089231.entry.js.map +1 -0
  944. package/dist/web-components-library/p-9b1deaa1.entry.js +2 -0
  945. package/dist/web-components-library/p-9b1deaa1.entry.js.map +1 -0
  946. package/dist/web-components-library/p-AwzX9V8L.js +2 -0
  947. package/dist/web-components-library/p-AwzX9V8L.js.map +1 -0
  948. package/dist/web-components-library/p-B3nR3-Jw.js +2 -0
  949. package/dist/web-components-library/p-B3nR3-Jw.js.map +1 -0
  950. package/dist/web-components-library/p-B85MJLTf.js +2 -1
  951. package/dist/web-components-library/p-B85MJLTf.js.map +1 -0
  952. package/dist/web-components-library/p-BcDWN4F1.js +3 -0
  953. package/dist/web-components-library/p-BcDWN4F1.js.map +1 -0
  954. package/dist/web-components-library/p-BeiZJJuW.js +6 -0
  955. package/dist/web-components-library/p-BeiZJJuW.js.map +1 -0
  956. package/dist/web-components-library/p-Bx6o9v2_.js +2 -0
  957. package/dist/web-components-library/p-Bx6o9v2_.js.map +1 -0
  958. package/dist/web-components-library/p-C8pbzcmM.js +7 -0
  959. package/dist/web-components-library/p-C8pbzcmM.js.map +1 -0
  960. package/dist/web-components-library/p-Q-tWjk7P.js +2 -1
  961. package/dist/web-components-library/p-Q-tWjk7P.js.map +1 -0
  962. package/dist/web-components-library/p-a0a84d24.entry.js +2 -0
  963. package/dist/web-components-library/p-a0a84d24.entry.js.map +1 -0
  964. package/dist/web-components-library/p-a238a3d0.entry.js +17 -0
  965. package/dist/web-components-library/p-a238a3d0.entry.js.map +1 -0
  966. package/dist/web-components-library/p-ab364ca1.entry.js +2 -0
  967. package/dist/web-components-library/p-ab364ca1.entry.js.map +1 -0
  968. package/dist/web-components-library/p-b38cacf2.entry.js +2 -0
  969. package/dist/web-components-library/p-b38cacf2.entry.js.map +1 -0
  970. package/dist/web-components-library/p-b565bff1.entry.js +2 -0
  971. package/dist/web-components-library/p-b565bff1.entry.js.map +1 -0
  972. package/dist/web-components-library/p-c5b3368c.entry.js +2 -0
  973. package/dist/web-components-library/p-c5b3368c.entry.js.map +1 -0
  974. package/dist/web-components-library/p-c64a8fd8.entry.js +2 -0
  975. package/dist/web-components-library/p-c64a8fd8.entry.js.map +1 -0
  976. package/dist/web-components-library/p-c7046a20.entry.js +2 -0
  977. package/dist/web-components-library/p-c7046a20.entry.js.map +1 -0
  978. package/dist/web-components-library/p-c7d65071.entry.js +2 -0
  979. package/dist/web-components-library/p-c7d65071.entry.js.map +1 -0
  980. package/dist/web-components-library/p-ccdfec00.entry.js +2 -0
  981. package/dist/web-components-library/p-ccdfec00.entry.js.map +1 -0
  982. package/dist/web-components-library/p-d15e7b4f.entry.js +2 -0
  983. package/dist/web-components-library/p-d15e7b4f.entry.js.map +1 -0
  984. package/dist/web-components-library/p-d639463e.entry.js +2 -0
  985. package/dist/web-components-library/p-d639463e.entry.js.map +1 -0
  986. package/dist/web-components-library/p-d866a2e1.entry.js +2 -0
  987. package/dist/web-components-library/p-d866a2e1.entry.js.map +1 -0
  988. package/dist/web-components-library/p-db1fa456.entry.js +2 -0
  989. package/dist/web-components-library/p-db1fa456.entry.js.map +1 -0
  990. package/dist/web-components-library/p-dc26eb78.entry.js +2 -0
  991. package/dist/web-components-library/p-dc26eb78.entry.js.map +1 -0
  992. package/dist/web-components-library/p-e5736b1f.entry.js +2 -0
  993. package/dist/web-components-library/p-e5736b1f.entry.js.map +1 -0
  994. package/dist/web-components-library/p-e8eb3bc5.entry.js +2 -0
  995. package/dist/web-components-library/p-e8eb3bc5.entry.js.map +1 -0
  996. package/dist/web-components-library/p-edbedacb.entry.js +2 -0
  997. package/dist/web-components-library/p-edbedacb.entry.js.map +1 -0
  998. package/dist/web-components-library/p-f0557dd9.entry.js +2 -0
  999. package/dist/web-components-library/p-f0557dd9.entry.js.map +1 -0
  1000. package/dist/web-components-library/p-f31f04b9.entry.js +2 -0
  1001. package/dist/web-components-library/p-f31f04b9.entry.js.map +1 -0
  1002. package/dist/web-components-library/p-f4b9e6f4.entry.js +2 -0
  1003. package/dist/web-components-library/p-f4b9e6f4.entry.js.map +1 -0
  1004. package/dist/web-components-library/p-f9c859dc.entry.js +2 -0
  1005. package/dist/web-components-library/p-f9c859dc.entry.js.map +1 -0
  1006. package/dist/web-components-library/p-f9e5a0aa.entry.js +2 -0
  1007. package/dist/web-components-library/p-f9e5a0aa.entry.js.map +1 -0
  1008. package/dist/web-components-library/p-fb8a0bda.entry.js +2 -0
  1009. package/dist/web-components-library/p-fb8a0bda.entry.js.map +1 -0
  1010. package/dist/web-components-library/p-ff89690a.entry.js +2 -0
  1011. package/dist/web-components-library/p-ff89690a.entry.js.map +1 -0
  1012. package/dist/web-components-library/web-components-library.css +80 -0
  1013. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1014. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1015. package/package.json +17 -17
  1016. package/react/components.d.ts +1 -0
  1017. package/react/components.js +3 -2
  1018. package/readme.md +8 -19
  1019. package/www/build/index.esm.js +2 -1
  1020. package/www/build/index.esm.js.map +1 -0
  1021. package/www/build/p-01d2d4e2.entry.js +2 -0
  1022. package/www/build/p-01d2d4e2.entry.js.map +1 -0
  1023. package/www/build/p-02a5c216.entry.js +2 -0
  1024. package/www/build/p-02a5c216.entry.js.map +1 -0
  1025. package/www/build/p-0673b282.entry.js +2 -0
  1026. package/www/build/p-0673b282.entry.js.map +1 -0
  1027. package/www/build/p-06aba4ff.entry.js +2 -0
  1028. package/www/build/p-06aba4ff.entry.js.map +1 -0
  1029. package/www/build/p-076d802a.entry.js +2 -0
  1030. package/www/build/p-076d802a.entry.js.map +1 -0
  1031. package/www/build/p-10ad3d7c.entry.js +2 -0
  1032. package/www/build/p-10ad3d7c.entry.js.map +1 -0
  1033. package/www/build/p-164b8342.entry.js +2 -0
  1034. package/www/build/p-164b8342.entry.js.map +1 -0
  1035. package/www/build/p-188d1101.css +2716 -0
  1036. package/www/build/p-1ba5aa7a.entry.js +2 -0
  1037. package/www/build/p-1ba5aa7a.entry.js.map +1 -0
  1038. package/www/build/p-1c1f699b.entry.js +2 -0
  1039. package/www/build/p-1c1f699b.entry.js.map +1 -0
  1040. package/www/build/p-1c63269a.entry.js +2 -0
  1041. package/www/build/p-1c63269a.entry.js.map +1 -0
  1042. package/www/build/p-1e25b55b.entry.js +2 -0
  1043. package/www/build/p-1e25b55b.entry.js.map +1 -0
  1044. package/www/build/p-21b9ec81.entry.js +2 -0
  1045. package/www/build/p-21b9ec81.entry.js.map +1 -0
  1046. package/www/build/p-257be457.entry.js +2 -0
  1047. package/www/build/p-257be457.entry.js.map +1 -0
  1048. package/www/build/p-26788712.entry.js +2 -0
  1049. package/www/build/p-26788712.entry.js.map +1 -0
  1050. package/www/build/p-2adbfd30.entry.js +2 -0
  1051. package/www/build/p-2adbfd30.entry.js.map +1 -0
  1052. package/www/build/p-2fcbc1a1.entry.js +2 -0
  1053. package/www/build/p-2fcbc1a1.entry.js.map +1 -0
  1054. package/www/build/p-30579764.entry.js +8 -0
  1055. package/www/build/p-30579764.entry.js.map +1 -0
  1056. package/www/build/p-330486fc.entry.js +2 -0
  1057. package/www/build/p-330486fc.entry.js.map +1 -0
  1058. package/www/build/p-34d4ee45.entry.js +2 -0
  1059. package/www/build/p-34d4ee45.entry.js.map +1 -0
  1060. package/www/build/p-354abbd7.entry.js +2 -0
  1061. package/www/build/p-354abbd7.entry.js.map +1 -0
  1062. package/www/build/p-372e83b1.entry.js +2 -0
  1063. package/www/build/p-372e83b1.entry.js.map +1 -0
  1064. package/www/build/p-3b70a97c.entry.js +2 -0
  1065. package/www/build/p-3b70a97c.entry.js.map +1 -0
  1066. package/www/build/p-3f2658a0.entry.js +2 -0
  1067. package/www/build/p-3f2658a0.entry.js.map +1 -0
  1068. package/www/build/p-3f6ea914.entry.js +2 -0
  1069. package/www/build/p-3f6ea914.entry.js.map +1 -0
  1070. package/www/build/p-418a7ee5.entry.js +2 -0
  1071. package/www/build/p-418a7ee5.entry.js.map +1 -0
  1072. package/www/build/p-4730e9a5.entry.js +2 -0
  1073. package/www/build/p-4730e9a5.entry.js.map +1 -0
  1074. package/www/build/p-474493cc.entry.js +2 -0
  1075. package/www/build/p-474493cc.entry.js.map +1 -0
  1076. package/www/build/p-4954dd38.entry.js +2 -0
  1077. package/www/build/p-4954dd38.entry.js.map +1 -0
  1078. package/www/build/p-4c1b6c40.entry.js +2 -0
  1079. package/www/build/p-4c1b6c40.entry.js.map +1 -0
  1080. package/www/build/p-55468801.entry.js +2 -0
  1081. package/www/build/p-55468801.entry.js.map +1 -0
  1082. package/www/build/p-55f6d3fe.entry.js +2 -0
  1083. package/www/build/p-55f6d3fe.entry.js.map +1 -0
  1084. package/www/build/p-62485d56.entry.js +2 -0
  1085. package/www/build/p-62485d56.entry.js.map +1 -0
  1086. package/www/build/p-6a952697.entry.js +2 -0
  1087. package/www/build/p-6a952697.entry.js.map +1 -0
  1088. package/www/build/p-6c5937db.entry.js +2 -0
  1089. package/www/build/p-6c5937db.entry.js.map +1 -0
  1090. package/www/build/p-6f58880c.entry.js +2 -0
  1091. package/www/build/p-6f58880c.entry.js.map +1 -0
  1092. package/www/build/p-7056f90f.entry.js +2 -0
  1093. package/www/build/p-7056f90f.entry.js.map +1 -0
  1094. package/www/build/p-70fe7ed8.entry.js +2 -0
  1095. package/www/build/p-70fe7ed8.entry.js.map +1 -0
  1096. package/www/build/p-71ddff9a.entry.js +2 -0
  1097. package/www/build/p-71ddff9a.entry.js.map +1 -0
  1098. package/www/build/p-86d3a3da.entry.js +2 -0
  1099. package/www/build/p-86d3a3da.entry.js.map +1 -0
  1100. package/www/build/p-8751b09d.entry.js +2 -0
  1101. package/www/build/p-8751b09d.entry.js.map +1 -0
  1102. package/www/build/p-88e3fb55.entry.js +2 -0
  1103. package/www/build/p-88e3fb55.entry.js.map +1 -0
  1104. package/www/build/p-89e96cde.entry.js +2 -0
  1105. package/www/build/p-89e96cde.entry.js.map +1 -0
  1106. package/www/build/p-8a545910.entry.js +2 -0
  1107. package/www/build/p-8a545910.entry.js.map +1 -0
  1108. package/www/build/p-927d50ea.entry.js +2 -0
  1109. package/www/build/p-927d50ea.entry.js.map +1 -0
  1110. package/www/build/p-95c2e9b0.entry.js +2 -0
  1111. package/www/build/p-95c2e9b0.entry.js.map +1 -0
  1112. package/www/build/p-98089231.entry.js +2 -0
  1113. package/www/build/p-98089231.entry.js.map +1 -0
  1114. package/www/build/p-9b1deaa1.entry.js +2 -0
  1115. package/www/build/p-9b1deaa1.entry.js.map +1 -0
  1116. package/www/build/p-AwzX9V8L.js +2 -0
  1117. package/www/build/p-AwzX9V8L.js.map +1 -0
  1118. package/www/build/p-B3nR3-Jw.js +2 -0
  1119. package/www/build/p-B3nR3-Jw.js.map +1 -0
  1120. package/www/build/p-B85MJLTf.js +2 -1
  1121. package/www/build/p-B85MJLTf.js.map +1 -0
  1122. package/www/build/p-BcDWN4F1.js +3 -0
  1123. package/www/build/p-BcDWN4F1.js.map +1 -0
  1124. package/www/build/p-BeiZJJuW.js +6 -0
  1125. package/www/build/p-BeiZJJuW.js.map +1 -0
  1126. package/www/build/p-Bx6o9v2_.js +2 -0
  1127. package/www/build/p-Bx6o9v2_.js.map +1 -0
  1128. package/www/build/p-C8pbzcmM.js +7 -0
  1129. package/www/build/p-C8pbzcmM.js.map +1 -0
  1130. package/www/build/p-Q-tWjk7P.js +2 -1
  1131. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1132. package/www/build/p-a0a84d24.entry.js +2 -0
  1133. package/www/build/p-a0a84d24.entry.js.map +1 -0
  1134. package/www/build/p-a238a3d0.entry.js +17 -0
  1135. package/www/build/p-a238a3d0.entry.js.map +1 -0
  1136. package/www/build/p-ab364ca1.entry.js +2 -0
  1137. package/www/build/p-ab364ca1.entry.js.map +1 -0
  1138. package/www/build/p-b38cacf2.entry.js +2 -0
  1139. package/www/build/p-b38cacf2.entry.js.map +1 -0
  1140. package/www/build/p-b565bff1.entry.js +2 -0
  1141. package/www/build/p-b565bff1.entry.js.map +1 -0
  1142. package/www/build/p-bcc5602c.js +2 -0
  1143. package/www/build/p-c5b3368c.entry.js +2 -0
  1144. package/www/build/p-c5b3368c.entry.js.map +1 -0
  1145. package/www/build/p-c64a8fd8.entry.js +2 -0
  1146. package/www/build/p-c64a8fd8.entry.js.map +1 -0
  1147. package/www/build/p-c7046a20.entry.js +2 -0
  1148. package/www/build/p-c7046a20.entry.js.map +1 -0
  1149. package/www/build/p-c7d65071.entry.js +2 -0
  1150. package/www/build/p-c7d65071.entry.js.map +1 -0
  1151. package/www/build/p-ccdfec00.entry.js +2 -0
  1152. package/www/build/p-ccdfec00.entry.js.map +1 -0
  1153. package/www/build/p-d15e7b4f.entry.js +2 -0
  1154. package/www/build/p-d15e7b4f.entry.js.map +1 -0
  1155. package/www/build/p-d639463e.entry.js +2 -0
  1156. package/www/build/p-d639463e.entry.js.map +1 -0
  1157. package/www/build/p-d866a2e1.entry.js +2 -0
  1158. package/www/build/p-d866a2e1.entry.js.map +1 -0
  1159. package/www/build/p-db1fa456.entry.js +2 -0
  1160. package/www/build/p-db1fa456.entry.js.map +1 -0
  1161. package/www/build/p-dc26eb78.entry.js +2 -0
  1162. package/www/build/p-dc26eb78.entry.js.map +1 -0
  1163. package/www/build/p-e5736b1f.entry.js +2 -0
  1164. package/www/build/p-e5736b1f.entry.js.map +1 -0
  1165. package/www/build/p-e8eb3bc5.entry.js +2 -0
  1166. package/www/build/p-e8eb3bc5.entry.js.map +1 -0
  1167. package/www/build/p-edbedacb.entry.js +2 -0
  1168. package/www/build/p-edbedacb.entry.js.map +1 -0
  1169. package/www/build/p-f0557dd9.entry.js +2 -0
  1170. package/www/build/p-f0557dd9.entry.js.map +1 -0
  1171. package/www/build/p-f31f04b9.entry.js +2 -0
  1172. package/www/build/p-f31f04b9.entry.js.map +1 -0
  1173. package/www/build/p-f4b9e6f4.entry.js +2 -0
  1174. package/www/build/p-f4b9e6f4.entry.js.map +1 -0
  1175. package/www/build/p-f9c859dc.entry.js +2 -0
  1176. package/www/build/p-f9c859dc.entry.js.map +1 -0
  1177. package/www/build/p-f9e5a0aa.entry.js +2 -0
  1178. package/www/build/p-f9e5a0aa.entry.js.map +1 -0
  1179. package/www/build/p-fb8a0bda.entry.js +2 -0
  1180. package/www/build/p-fb8a0bda.entry.js.map +1 -0
  1181. package/www/build/p-ff89690a.entry.js +2 -0
  1182. package/www/build/p-ff89690a.entry.js.map +1 -0
  1183. package/www/build/web-components-library.css +80 -0
  1184. package/www/build/web-components-library.esm.js +2 -1
  1185. package/www/build/web-components-library.esm.js.map +1 -0
  1186. package/www/index.html +1 -1
  1187. package/dist/cjs/iconset-oiCBBbd2.js +0 -1027
  1188. package/dist/cjs/index-D_S5lGcb.js +0 -2683
  1189. package/dist/cjs/index-wGaSHN1_.js +0 -407
  1190. package/dist/cjs/utils-C5_wGVkJ.js +0 -2718
  1191. package/dist/cjs/utils-Ctc6JP2n.js +0 -259
  1192. package/dist/collection/__mocks__/fileMock.js +0 -1
  1193. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  1194. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  1195. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  1196. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  1197. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  1198. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  1199. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  1200. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  1201. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  1202. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  1203. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  1204. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  1205. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  1206. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  1207. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  1208. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  1209. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  1210. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  1211. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  1212. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  1213. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  1214. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  1215. package/dist/collection/components/z-app-header/index.stories.js +0 -318
  1216. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  1217. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  1218. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  1219. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  1220. package/dist/collection/components/z-button/index.stories.js +0 -103
  1221. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  1222. package/dist/collection/components/z-card/index.stories.js +0 -302
  1223. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  1224. package/dist/collection/components/z-chip/index.stories.js +0 -69
  1225. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  1226. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  1227. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  1228. package/dist/collection/components/z-divider/index.stories.js +0 -44
  1229. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  1230. package/dist/collection/components/z-icon/index.stories.js +0 -70
  1231. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  1232. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  1233. package/dist/collection/components/z-input/index.stories.js +0 -293
  1234. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  1235. package/dist/collection/components/z-logo/index.stories.js +0 -25
  1236. package/dist/collection/components/z-menu/index.stories.js +0 -122
  1237. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  1238. package/dist/collection/components/z-modal/index.stories.js +0 -201
  1239. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  1240. package/dist/collection/components/z-notification/index.stories.js +0 -174
  1241. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  1242. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  1243. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  1244. package/dist/collection/components/z-popover/index.stories.js +0 -282
  1245. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  1246. package/dist/collection/components/z-searchbar/index.stories.js +0 -332
  1247. package/dist/collection/components/z-select/index.stories.js +0 -359
  1248. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  1249. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  1250. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  1251. package/dist/collection/components/z-tag/index.stories.js +0 -63
  1252. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  1253. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  1254. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  1255. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  1256. package/dist/collection/components/z-tool/index.stories.js +0 -146
  1257. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  1258. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  1259. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  1260. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  1261. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  1262. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  1263. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  1264. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  1265. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  1266. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  1267. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  1268. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  1269. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  1270. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  1271. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  1272. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  1273. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  1274. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  1275. package/dist/esm/iconset-CjHS9zeM.js +0 -1024
  1276. package/dist/esm/index-BKCj6NR2.js +0 -405
  1277. package/dist/esm/index-DPdXlnVe.js +0 -2653
  1278. package/dist/esm/utils-DYd3kO0P.js +0 -244
  1279. package/dist/esm/utils-DuuLzXZj.js +0 -2712
  1280. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  1281. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  1282. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  1283. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  1284. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  1285. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  1286. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  1287. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  1288. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  1289. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  1290. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  1291. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  1292. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  1293. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  1294. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  1295. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  1296. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  1297. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  1298. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  1299. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  1300. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  1301. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  1302. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  1303. package/dist/types/components/z-app-header/index.stories.d.ts +0 -128
  1304. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  1305. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  1306. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  1307. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  1308. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  1309. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  1310. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  1311. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  1312. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  1313. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  1314. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  1315. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  1316. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  1317. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  1318. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  1319. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  1320. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  1321. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  1322. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  1323. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  1324. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  1325. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  1326. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  1327. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  1328. package/dist/types/components/z-notification/index.stories.d.ts +0 -77
  1329. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  1330. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  1331. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  1332. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  1333. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  1334. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -163
  1335. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  1336. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  1337. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  1338. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  1339. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  1340. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  1341. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  1342. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  1343. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  1344. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  1345. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  1346. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  1347. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  1348. package/dist/web-components-library/p-087956fa.entry.js +0 -1
  1349. package/dist/web-components-library/p-10e5e16e.entry.js +0 -1
  1350. package/dist/web-components-library/p-13e7f751.entry.js +0 -1
  1351. package/dist/web-components-library/p-14b804f9.entry.js +0 -1
  1352. package/dist/web-components-library/p-1580db58.entry.js +0 -1
  1353. package/dist/web-components-library/p-15825811.entry.js +0 -1
  1354. package/dist/web-components-library/p-1993b0ad.entry.js +0 -1
  1355. package/dist/web-components-library/p-1a95491d.entry.js +0 -1
  1356. package/dist/web-components-library/p-1d023220.entry.js +0 -1
  1357. package/dist/web-components-library/p-21c85e04.entry.js +0 -1
  1358. package/dist/web-components-library/p-23b46642.entry.js +0 -1
  1359. package/dist/web-components-library/p-299f0f85.entry.js +0 -1
  1360. package/dist/web-components-library/p-29dde955.entry.js +0 -1
  1361. package/dist/web-components-library/p-2c036e17.entry.js +0 -1
  1362. package/dist/web-components-library/p-2d4c01c3.entry.js +0 -1
  1363. package/dist/web-components-library/p-2dabe353.entry.js +0 -1
  1364. package/dist/web-components-library/p-2df6d169.entry.js +0 -1
  1365. package/dist/web-components-library/p-2ef82e17.entry.js +0 -1
  1366. package/dist/web-components-library/p-324933f6.entry.js +0 -1
  1367. package/dist/web-components-library/p-37e84b71.entry.js +0 -1
  1368. package/dist/web-components-library/p-3c53e451.entry.js +0 -1
  1369. package/dist/web-components-library/p-3ea03d34.entry.js +0 -1
  1370. package/dist/web-components-library/p-41584e90.entry.js +0 -1
  1371. package/dist/web-components-library/p-50e10a10.entry.js +0 -1
  1372. package/dist/web-components-library/p-52899754.entry.js +0 -1
  1373. package/dist/web-components-library/p-53670be4.entry.js +0 -1
  1374. package/dist/web-components-library/p-583b8152.entry.js +0 -1
  1375. package/dist/web-components-library/p-5a05dc1e.entry.js +0 -1
  1376. package/dist/web-components-library/p-5d20fc3d.entry.js +0 -1
  1377. package/dist/web-components-library/p-622466f9.entry.js +0 -1
  1378. package/dist/web-components-library/p-658f022d.entry.js +0 -1
  1379. package/dist/web-components-library/p-6bd35edf.entry.js +0 -1
  1380. package/dist/web-components-library/p-7226f07a.entry.js +0 -1
  1381. package/dist/web-components-library/p-7371a543.entry.js +0 -2
  1382. package/dist/web-components-library/p-77bf39a4.entry.js +0 -1
  1383. package/dist/web-components-library/p-788eaac7.entry.js +0 -1
  1384. package/dist/web-components-library/p-7bf7539a.entry.js +0 -1
  1385. package/dist/web-components-library/p-81eb43fd.entry.js +0 -1
  1386. package/dist/web-components-library/p-8261c869.entry.js +0 -1
  1387. package/dist/web-components-library/p-83da1031.entry.js +0 -1
  1388. package/dist/web-components-library/p-85cac60d.entry.js +0 -1
  1389. package/dist/web-components-library/p-88a3ba7c.entry.js +0 -1
  1390. package/dist/web-components-library/p-8a8df4f4.entry.js +0 -1
  1391. package/dist/web-components-library/p-8b026993.entry.js +0 -1
  1392. package/dist/web-components-library/p-8d7e2e16.entry.js +0 -1
  1393. package/dist/web-components-library/p-8de064a4.entry.js +0 -1
  1394. package/dist/web-components-library/p-8f4a04aa.entry.js +0 -1
  1395. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1396. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1397. package/dist/web-components-library/p-CPsEG702.js +0 -1
  1398. package/dist/web-components-library/p-CjHS9zeM.js +0 -1
  1399. package/dist/web-components-library/p-DPdXlnVe.js +0 -2
  1400. package/dist/web-components-library/p-a4f673f8.entry.js +0 -1
  1401. package/dist/web-components-library/p-aa4fc3d3.entry.js +0 -1
  1402. package/dist/web-components-library/p-aa72d766.entry.js +0 -1
  1403. package/dist/web-components-library/p-ad2cd7fc.entry.js +0 -1
  1404. package/dist/web-components-library/p-b6223d7e.entry.js +0 -1
  1405. package/dist/web-components-library/p-b851f20b.entry.js +0 -1
  1406. package/dist/web-components-library/p-b9343431.entry.js +0 -1
  1407. package/dist/web-components-library/p-be354b22.entry.js +0 -1
  1408. package/dist/web-components-library/p-c42ddd93.entry.js +0 -1
  1409. package/dist/web-components-library/p-c4e7bd16.entry.js +0 -1
  1410. package/dist/web-components-library/p-c944a943.entry.js +0 -1
  1411. package/dist/web-components-library/p-cd33f4b1.entry.js +0 -1
  1412. package/dist/web-components-library/p-cdd88182.entry.js +0 -16
  1413. package/dist/web-components-library/p-d3053434.entry.js +0 -1
  1414. package/dist/web-components-library/p-d63665c1.entry.js +0 -1
  1415. package/dist/web-components-library/p-dabccb20.entry.js +0 -1
  1416. package/dist/web-components-library/p-dc5ab2cc.entry.js +0 -1
  1417. package/dist/web-components-library/p-dfd43710.entry.js +0 -1
  1418. package/dist/web-components-library/p-e1d0a6e3.entry.js +0 -1
  1419. package/dist/web-components-library/p-e48497f0.entry.js +0 -1
  1420. package/dist/web-components-library/p-ec4940ce.entry.js +0 -1
  1421. package/dist/web-components-library/p-eddc2d19.entry.js +0 -1
  1422. package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
  1423. package/dist/web-components-library/p-f7e46ef2.entry.js +0 -1
  1424. package/www/build/p-087956fa.entry.js +0 -1
  1425. package/www/build/p-10e5e16e.entry.js +0 -1
  1426. package/www/build/p-13e7f751.entry.js +0 -1
  1427. package/www/build/p-14b804f9.entry.js +0 -1
  1428. package/www/build/p-1580db58.entry.js +0 -1
  1429. package/www/build/p-15825811.entry.js +0 -1
  1430. package/www/build/p-1993b0ad.entry.js +0 -1
  1431. package/www/build/p-1a95491d.entry.js +0 -1
  1432. package/www/build/p-1d023220.entry.js +0 -1
  1433. package/www/build/p-21c85e04.entry.js +0 -1
  1434. package/www/build/p-23b46642.entry.js +0 -1
  1435. package/www/build/p-299f0f85.entry.js +0 -1
  1436. package/www/build/p-29dde955.entry.js +0 -1
  1437. package/www/build/p-2c036e17.entry.js +0 -1
  1438. package/www/build/p-2d4c01c3.entry.js +0 -1
  1439. package/www/build/p-2dabe353.entry.js +0 -1
  1440. package/www/build/p-2df6d169.entry.js +0 -1
  1441. package/www/build/p-2ef82e17.entry.js +0 -1
  1442. package/www/build/p-324933f6.entry.js +0 -1
  1443. package/www/build/p-37e84b71.entry.js +0 -1
  1444. package/www/build/p-3c53e451.entry.js +0 -1
  1445. package/www/build/p-3ea03d34.entry.js +0 -1
  1446. package/www/build/p-41584e90.entry.js +0 -1
  1447. package/www/build/p-50e10a10.entry.js +0 -1
  1448. package/www/build/p-52899754.entry.js +0 -1
  1449. package/www/build/p-53670be4.entry.js +0 -1
  1450. package/www/build/p-583b8152.entry.js +0 -1
  1451. package/www/build/p-5a05dc1e.entry.js +0 -1
  1452. package/www/build/p-5d20fc3d.entry.js +0 -1
  1453. package/www/build/p-622466f9.entry.js +0 -1
  1454. package/www/build/p-658f022d.entry.js +0 -1
  1455. package/www/build/p-6bd35edf.entry.js +0 -1
  1456. package/www/build/p-7226f07a.entry.js +0 -1
  1457. package/www/build/p-7371a543.entry.js +0 -2
  1458. package/www/build/p-77bf39a4.entry.js +0 -1
  1459. package/www/build/p-788eaac7.entry.js +0 -1
  1460. package/www/build/p-7bf7539a.entry.js +0 -1
  1461. package/www/build/p-81eb43fd.entry.js +0 -1
  1462. package/www/build/p-8261c869.entry.js +0 -1
  1463. package/www/build/p-83da1031.entry.js +0 -1
  1464. package/www/build/p-85cac60d.entry.js +0 -1
  1465. package/www/build/p-88a3ba7c.entry.js +0 -1
  1466. package/www/build/p-8a8df4f4.entry.js +0 -1
  1467. package/www/build/p-8b026993.entry.js +0 -1
  1468. package/www/build/p-8d7e2e16.entry.js +0 -1
  1469. package/www/build/p-8de064a4.entry.js +0 -1
  1470. package/www/build/p-8f4a04aa.entry.js +0 -1
  1471. package/www/build/p-B8WJfd4z.js +0 -1
  1472. package/www/build/p-BKCj6NR2.js +0 -1
  1473. package/www/build/p-CPsEG702.js +0 -1
  1474. package/www/build/p-CjHS9zeM.js +0 -1
  1475. package/www/build/p-DPdXlnVe.js +0 -2
  1476. package/www/build/p-a4f673f8.entry.js +0 -1
  1477. package/www/build/p-aa4fc3d3.entry.js +0 -1
  1478. package/www/build/p-aa72d766.entry.js +0 -1
  1479. package/www/build/p-ad2cd7fc.entry.js +0 -1
  1480. package/www/build/p-b6223d7e.entry.js +0 -1
  1481. package/www/build/p-b851f20b.entry.js +0 -1
  1482. package/www/build/p-b9343431.entry.js +0 -1
  1483. package/www/build/p-be354b22.entry.js +0 -1
  1484. package/www/build/p-c42ddd93.entry.js +0 -1
  1485. package/www/build/p-c4e7bd16.entry.js +0 -1
  1486. package/www/build/p-c5c5a64f.js +0 -1
  1487. package/www/build/p-c60c851a.css +0 -2636
  1488. package/www/build/p-c944a943.entry.js +0 -1
  1489. package/www/build/p-cd33f4b1.entry.js +0 -1
  1490. package/www/build/p-cdd88182.entry.js +0 -16
  1491. package/www/build/p-d3053434.entry.js +0 -1
  1492. package/www/build/p-d63665c1.entry.js +0 -1
  1493. package/www/build/p-dabccb20.entry.js +0 -1
  1494. package/www/build/p-dc5ab2cc.entry.js +0 -1
  1495. package/www/build/p-dfd43710.entry.js +0 -1
  1496. package/www/build/p-e1d0a6e3.entry.js +0 -1
  1497. package/www/build/p-e48497f0.entry.js +0 -1
  1498. package/www/build/p-ec4940ce.entry.js +0 -1
  1499. package/www/build/p-eddc2d19.entry.js +0 -1
  1500. package/www/build/p-ef5018bb.entry.js +0 -1
  1501. package/www/build/p-f7e46ef2.entry.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-info-reveal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAE5D;;;;GAIG;AAMH,MAAM,OAAO,WAAW;IALxB;QAME,8CAA8C;QAE9C,SAAI,GAAI,mBAAmB,CAAC;QAE5B;;;;WAIG;QAEH,aAAQ,GAAwB,kBAAkB,CAAC,YAAY,CAAC;QAMhE,yFAAyF;QAEzF,cAAS,GAAG,4BAA4B,CAAC;QAEzC,iCAAiC;QAEjC,SAAI,GAAiB,WAAW,CAAC,GAAG,CAAC;QAErC,sCAAsC;QAEtC,SAAI,GAAG,KAAK,CAAC;KAiFd;IA3EC;;OAEG;IAIH,mBAAmB;QACjB,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAC9B,OAAO;QACT,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC/C,MAAM,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,gBAAgB,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9G,MAAM,SAAS,GAAG,QAAQ,CAAC,eAAe,CAAC,WAAW,CAAC;QACvD,yGAAyG;QACzG,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAC/B,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,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,EAC9B,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI;gBAElB,8DAAa;gBACb,+DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBACxB,8BAA8B;oBAEzC,+DAAQ,IAAI,EAAC,UAAU,GAAG,CACnB,CACL,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../beans\";\n\n/**\n * Info reveal component.\n *\n * @slot - content of the info panel.\n */\n@Component({\n tag: \"z-info-reveal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoReveal implements ComponentInterface {\n /** Name of the icon for the trigger button */\n @Prop()\n icon? = \"informationsource\";\n\n /**\n * The position of the z-info-reveal in the page. This helps to correctly place the info panel.\n * The panel will grow in the opposite direction of the position.\n * For example, with the default position `BOTTOM_RIGHT`, the panel will grow vertically upwards and horizontally to the left.\n */\n @Prop({reflect: true})\n position?: InfoRevealPosition = InfoRevealPosition.BOTTOM_RIGHT;\n\n /** Label of the trigger button. */\n @Prop()\n label?: string;\n\n /** Aria label of the trigger button. It will be only used when `label` prop is empty. */\n @Prop()\n ariaLabel = \"Apri pannello informazioni\";\n\n /** Size of the trigger button */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n /** Whether the info panel is open. */\n @State()\n open = false;\n\n @Element() host: HTMLZInfoRevealElement;\n\n private panel: HTMLDivElement;\n\n /**\n * Adjust the position of the info panel to prevent exiting the viewport.\n */\n @Watch(\"position\")\n @Watch(\"open\")\n @Listen(\"resize\", {target: \"window\", passive: true})\n adjustPanelPosition(): void {\n if (!this.open || !this.panel) {\n return;\n }\n\n const rect = this.host.getBoundingClientRect();\n const gridMargin = parseInt(getComputedStyle(document.documentElement).getPropertyValue(\"--grid-margin\"), 10);\n const pageWidth = document.documentElement.offsetWidth;\n // Available space for the info panel to grow towards the edge of the page, based on the `position` prop.\n const availableSpace = Math.round(\n (this.position.includes(\"left\") ? pageWidth - rect.left : rect.right) - gridMargin\n );\n this.panel.style.maxWidth = `${availableSpace}px`;\n }\n\n /**\n * Toggle the open state of the info panel.\n */\n private togglePanel(): void {\n this.open = !this.open;\n }\n\n /**\n * Close the info panel.\n */\n private closePanel(): void {\n this.open = false;\n }\n\n @Listen(\"keydown\", {target: \"window\", capture: true})\n handleEscapeKey(event: KeyboardEvent): void {\n if (event.key === \"Escape\" && this.open) {\n this.closePanel();\n }\n }\n\n render(): HTMLZInfoRevealElement {\n return (\n <Host open={this.open}>\n <button\n class=\"z-info-reveal-trigger\"\n type=\"button\"\n onClick={this.togglePanel.bind(this)}\n aria-label={!this.label ? this.ariaLabel : undefined}\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-controls=\"z-info-reveal-panel\"\n >\n {this.icon && <z-icon name={this.icon} />}\n {this.label && <span class=\"z-info-reveal-label\">{this.label}</span>}\n </button>\n <div\n class=\"z-info-reveal-panel\"\n id=\"z-info-reveal-panel\"\n ref={(el) => (this.panel = el)}\n hidden={!this.open}\n >\n <slot></slot>\n <button\n class=\"z-info-reveal-close\"\n type=\"button\"\n onClick={this.closePanel.bind(this)}\n aria-label=\"Chiudi pannello informazioni\"\n >\n <z-icon name=\"multiply\" />\n </button>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,5 +1,11 @@
1
1
  :host {
2
- --z-info-reveal-panel-width: 384px; /* defaults half the size of the mobile breakpoint */
2
+ /**
3
+ * @prop --z-info-reveal-panel-width: Width of the info panel.
4
+ * @prop --trigger-icon-size: Size of the trigger icon for big size.
5
+ * @prop --trigger-icon-size-small: Size of the trigger icon for small size.
6
+ * @prop --trigger-icon-size-x-small: Size of the trigger icon for x-small size.
7
+ */
8
+ --z-info-reveal-panel-width: 384px; /* defaults to half the maximum size of the mobile breakpoint */
3
9
  --trigger-size: 44px;
4
10
 
5
11
  position: relative;
@@ -145,16 +145,16 @@ export class ZInput {
145
145
  pattern: this.pattern,
146
146
  };
147
147
  }
148
- getRoleAttribute() {
149
- return this.role ? { role: this.role } : {};
150
- }
151
148
  inputHasMessage() {
152
149
  if (boolean(this.message) === false || boolean(this.message) === true) {
153
150
  return false;
154
151
  }
155
152
  return true;
156
153
  }
157
- getAriaAttrubutes() {
154
+ getAriaAttributes() {
155
+ return Object.assign(Object.assign(Object.assign({}, (this.role ? { role: this.role } : {})), (this.htmlAriaDescribedBy ? { "aria-describedby": this.htmlAriaDescribedBy } : {})), (this.htmlAriaLabelledby ? { "aria-labelledby": this.htmlAriaLabelledby } : {}));
156
+ }
157
+ getTextAriaAttributes() {
158
158
  const expanded = this.htmlAriaExpanded ? { "aria-expanded": this.htmlAriaExpanded } : {};
159
159
  const controls = this.htmlAriaControls ? { "aria-controls": this.htmlAriaControls } : {};
160
160
  const autocomplete = this.htmlAriaAutocomplete ? { "aria-autocomplete": this.htmlAriaAutocomplete } : {};
@@ -165,7 +165,7 @@ export class ZInput {
165
165
  ? { "aria-describedby": this.htmlAriaDescribedBy || `${this.htmlid}-message` }
166
166
  : {};
167
167
  const ariaInvalid = this.status === InputStatus.ERROR ? { "aria-invalid": "true" } : {};
168
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, expanded), controls), autocomplete), activedescendant), ariaDescribedby), ariaInvalid);
168
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getAriaAttributes()), expanded), controls), autocomplete), activedescendant), ariaDescribedby), ariaInvalid);
169
169
  }
170
170
  getFocusBlurAttributes() {
171
171
  return {
@@ -175,7 +175,7 @@ export class ZInput {
175
175
  }
176
176
  renderInputText(type = InputType.TEXT) {
177
177
  const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
178
- const attr = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type)), ariaLabel), this.getRoleAttribute()), this.getAriaAttrubutes()), this.getFocusBlurAttributes());
178
+ const attr = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type)), ariaLabel), this.getTextAriaAttributes()), this.getFocusBlurAttributes());
179
179
  if (this.icon || type === InputType.PASSWORD) {
180
180
  Object.assign(attr.class, { "has-icon": true });
181
181
  }
@@ -210,6 +210,7 @@ export class ZInput {
210
210
  return (h("button", { type: "button", class: { "reset-icon": true, "input-icon": true, hidden }, "aria-label": "cancella il contenuto dell'input", onClick: () => {
211
211
  this.inputRef.value = "";
212
212
  this.emitInputChange("");
213
+ this.inputRef.focus();
213
214
  } }, h("z-icon", { name: "multiply", class: this.size })));
214
215
  }
215
216
  renderShowHidePassword() {
@@ -225,8 +226,8 @@ export class ZInput {
225
226
  /* START textarea */
226
227
  renderTextarea() {
227
228
  const attributes = this.getTextAttributes();
228
- const ariaAttributes = this.getAriaAttrubutes();
229
- return (h(Fragment, null, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": !!attributes.readonly }) }, h("textarea", Object.assign({}, attributes, ariaAttributes, { class: Object.assign(Object.assign({}, attributes.class), { "z-scrollbar": true }), "aria-label": this.ariaLabel || undefined }, this.getRoleAttribute()))), this.renderMessage()));
229
+ const ariaAttributes = this.getTextAriaAttributes();
230
+ return (h(Fragment, null, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": !!attributes.readonly }) }, h("textarea", Object.assign({}, attributes, ariaAttributes, { class: Object.assign(Object.assign({}, attributes.class), { "z-scrollbar": true }), "aria-label": this.ariaLabel || undefined }))), this.renderMessage()));
230
231
  }
231
232
  /* END textarea */
232
233
  handleCheck(ev) {
@@ -235,7 +236,7 @@ export class ZInput {
235
236
  }
236
237
  /* START checkbox */
237
238
  renderCheckbox() {
238
- return (h("div", { class: "checkbox-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }, this.getRoleAttribute(), this.getFocusBlurAttributes())), h("label", { htmlFor: this.htmlid, class: {
239
+ return (h("div", { class: "checkbox-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }, this.getAriaAttributes(), this.getFocusBlurAttributes())), h("label", { htmlFor: this.htmlid, class: {
239
240
  "checkbox-label": true,
240
241
  "after": this.labelPosition === LabelPosition.RIGHT,
241
242
  "before": this.labelPosition === LabelPosition.LEFT,
@@ -244,7 +245,7 @@ export class ZInput {
244
245
  /* END checkbox */
245
246
  /* START radio */
246
247
  renderRadio() {
247
- return (h("div", { class: "radio-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }, this.getRoleAttribute(), this.getFocusBlurAttributes())), h("label", { htmlFor: this.htmlid, class: {
248
+ return (h("div", { class: "radio-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }, this.getAriaAttributes(), this.getFocusBlurAttributes())), h("label", { htmlFor: this.htmlid, class: {
248
249
  "radio-label": true,
249
250
  "after": this.labelPosition === LabelPosition.RIGHT,
250
251
  "before": this.labelPosition === LabelPosition.LEFT,
@@ -266,7 +267,7 @@ export class ZInput {
266
267
  default:
267
268
  input = this.renderInputText(this.type);
268
269
  }
269
- return h(Host, { key: '0b363c20732600ca303b84a78e36bdc710c411e2' }, input);
270
+ return h(Host, { key: '2536f6387f2325190522fc8cc4f788147bead800' }, input);
270
271
  }
271
272
  static get is() { return "z-input"; }
272
273
  static get encapsulation() { return "scoped"; }
@@ -463,6 +464,44 @@ export class ZInput {
463
464
  "reflect": false,
464
465
  "attribute": "html-aria-activedescendant"
465
466
  },
467
+ "htmlAriaDescribedBy": {
468
+ "type": "string",
469
+ "mutable": false,
470
+ "complexType": {
471
+ "original": "string",
472
+ "resolved": "string",
473
+ "references": {}
474
+ },
475
+ "required": false,
476
+ "optional": true,
477
+ "docs": {
478
+ "tags": [],
479
+ "text": "the input aria-describedby (optional)"
480
+ },
481
+ "getter": false,
482
+ "setter": false,
483
+ "reflect": false,
484
+ "attribute": "html-aria-described-by"
485
+ },
486
+ "htmlAriaLabelledby": {
487
+ "type": "string",
488
+ "mutable": false,
489
+ "complexType": {
490
+ "original": "string",
491
+ "resolved": "string",
492
+ "references": {}
493
+ },
494
+ "required": false,
495
+ "optional": true,
496
+ "docs": {
497
+ "tags": [],
498
+ "text": "the input aria-labelledby (optional)"
499
+ },
500
+ "getter": false,
501
+ "setter": false,
502
+ "reflect": false,
503
+ "attribute": "html-aria-labelledby"
504
+ },
466
505
  "value": {
467
506
  "type": "string",
468
507
  "mutable": true,
@@ -646,25 +685,6 @@ export class ZInput {
646
685
  "attribute": "message",
647
686
  "defaultValue": "true"
648
687
  },
649
- "htmlAriaDescribedBy": {
650
- "type": "string",
651
- "mutable": false,
652
- "complexType": {
653
- "original": "string",
654
- "resolved": "string",
655
- "references": {}
656
- },
657
- "required": false,
658
- "optional": true,
659
- "docs": {
660
- "tags": [],
661
- "text": "input helper message id (optional): available for text, password, number, email, textarea - if set, it will be used to populate the aria-describedby attribute, otherwise the attribute (if present) will be populated with an auto-generated value"
662
- },
663
- "getter": false,
664
- "setter": false,
665
- "reflect": false,
666
- "attribute": "html-aria-described-by"
667
- },
668
688
  "labelPosition": {
669
689
  "type": "string",
670
690
  "mutable": false,
@@ -1044,3 +1064,4 @@ export class ZInput {
1044
1064
  }];
1045
1065
  }
1046
1066
  }
1067
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAU,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAC/E,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAQpD,MAAM,OAAO,MAAM;IANnB;QASE,kCAAkC;QAElC,WAAM,GAAG,MAAM,QAAQ,EAAE,EAAE,CAAC;QAc5B,2BAA2B;QAE3B,cAAS,GAAG,EAAE,CAAC;QAEf,0EAA0E;QAE1E,qBAAgB,GAAG,EAAE,CAAC;QA0BtB,4BAA4B;QAE5B,aAAQ,GAAa,KAAK,CAAC;QAE3B,4BAA4B;QAE5B,aAAQ,GAAa,KAAK,CAAC;QAE3B,wGAAwG;QAExG,aAAQ,GAAa,KAAK,CAAC;QAE3B,6CAA6C;QAE7C,YAAO,GAAa,KAAK,CAAC;QAc1B,4IAA4I;QAE5I,YAAO,GAAsB,IAAI,CAAC;QAElC,8DAA8D;QAE9D,kBAAa,GAAmB,aAAa,CAAC,KAAK,CAAC;QAMpD,qBAAqB;QAErB,SAAI,GAAG,EAAE,CAAC;QAEV,mEAAmE;QAEnE,iBAAY,GAAa,IAAI,CAAC;QA8B9B,wEAAwE;QAExE,SAAI,GAAiB,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CAAC,CAAC;QAC5C,CAAC;QAED,OAAO,EAAC,IAAI,uDAAE,KAAK,CAAQ,CAAC;IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Listen,\n Method,\n Prop,\n State,\n h,\n} from \"@stencil/core\";\nimport {Fragment, Host, JSXBase} from \"@stencil/core/internal\";\nimport {ControlSize, InputStatus, InputType, LabelPosition} from \"../../beans\";\nimport {boolean, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input\",\n styleUrls: [\"styles-general.css\", \"styles-text.css\", \"styles-textarea.css\", \"styles-checkbox-radio.css\"],\n shadow: false,\n scoped: true,\n})\nexport class ZInput implements ComponentInterface {\n @Element() hostElement: HTMLZInputElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** input types */\n @Prop()\n type: InputType;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input aria-expaded: available for text, password, number, email */\n @Prop()\n htmlAriaExpanded = \"\";\n\n /** the input aria-controls (optional): available for text, password, number, email */\n @Prop()\n htmlAriaControls?: string;\n\n /** the input aria-autocomplete (optional): available for text, password, number, email */\n @Prop()\n htmlAriaAutocomplete?: string;\n\n /** the input aria-activedescendant (optional): available for text, password, number, email */\n @Prop()\n htmlAriaActivedescendant?: string;\n\n /** the input aria-describedby (optional) */\n @Prop()\n htmlAriaDescribedBy?: string;\n\n /** the input aria-labelledby (optional) */\n @Prop()\n htmlAriaLabelledby?: string;\n\n /** the input value */\n @Prop({mutable: true})\n value?: string;\n\n /** the input is disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input is required (optional): available for text, password, number, email, textarea, checkbox */\n @Prop()\n required?: boolean = false;\n\n /** checked: available for checkbox, radio */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional): available for text, password, number, email, textarea */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input label position: available for checkbox, radio */\n @Prop()\n labelPosition?: LabelPosition = LabelPosition.RIGHT;\n\n /** the input has autocomplete option (optional): available for text, password, number, email */\n @Prop()\n autocomplete?: string;\n\n /** the input role */\n @Prop()\n role = \"\";\n\n /** render clear icon when typing (optional): available for text */\n @Prop()\n hasclearicon?: boolean = true;\n\n /** render icon (optional): available for text */\n @Prop()\n icon?: string;\n\n /** min number value (optional): available for number */\n @Prop()\n min?: number;\n\n /** Min length value (optional): available for text */\n @Prop()\n minlength?: number;\n\n /** max number value (optional): available for number */\n @Prop()\n max?: number;\n\n /** Max length value (optional): available for text */\n @Prop()\n maxlength?: number;\n\n /** step number value (optional): available for number */\n @Prop()\n step?: number;\n\n /** pattern value (optional): available for tel, text, search, url, email, password*/\n @Prop()\n pattern?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isTyping = false;\n\n @State()\n passwordHidden = true;\n\n private timer;\n\n private typingtimeout = 300;\n\n private inputRef: HTMLInputElement;\n\n @Listen(\"inputCheck\", {target: \"document\"})\n inputCheckListener(e: CustomEvent): void {\n const data = e.detail;\n switch (this.type) {\n case InputType.RADIO:\n if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {\n this.checked = false;\n }\n break;\n }\n }\n\n /** get checked status */\n @Method()\n async isChecked(): Promise<boolean> {\n switch (this.type) {\n case InputType.CHECKBOX:\n case InputType.RADIO:\n return this.checked;\n default:\n console.warn(\"`isChecked` method is only available for type `checkbox` and `radio`\");\n\n return false;\n }\n }\n\n /** Emitted on input value change, returns value, validity */\n @Event()\n inputChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n if (!this.isTyping) {\n this.emitStartTyping();\n }\n\n let validity: ValidityState;\n if (this.type === InputType.TEXTAREA) {\n validity = this.getValidity(\"textarea\");\n } else {\n validity = this.getValidity(\"input\");\n }\n this.value = value;\n this.inputChange.emit({value, validity});\n\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.emitStopTyping(this.value, validity);\n }, this.typingtimeout);\n }\n\n /** Emitted when user starts typing */\n @Event()\n startTyping: EventEmitter;\n\n private emitStartTyping(): void {\n this.isTyping = true;\n this.startTyping.emit();\n }\n\n /** Emitted when user stops typing, returns value, validity */\n @Event()\n stopTyping: EventEmitter;\n\n private emitStopTyping(value: string, validity: ValidityState): void {\n this.isTyping = false;\n this.stopTyping.emit({\n value: value,\n validity: validity,\n });\n }\n\n /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */\n @Event()\n inputCheck: EventEmitter;\n\n private emitInputCheck(checked: boolean): void {\n this.inputCheck.emit({\n id: this.htmlid,\n checked: checked,\n type: this.type,\n name: this.name,\n value: this.value,\n validity: this.getValidity(\"input\"),\n });\n }\n\n /** Emitted on input focus */\n @Event()\n inputFocus: EventEmitter;\n\n private emitInputFocus(): void {\n this.inputFocus.emit({id: this.htmlid});\n }\n\n /** Emitted on input blur */\n @Event()\n inputBlur: EventEmitter;\n\n private emitInputBlur(): void {\n this.inputBlur.emit({id: this.htmlid});\n }\n\n private getValidity(type: string): ValidityState {\n const input = this.hostElement.querySelector(type) as HTMLInputElement;\n\n return input.validity;\n }\n\n /* START text/password/email/number */\n\n private getTextAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n id: this.htmlid,\n name: this.name,\n placeholder: this.placeholder,\n value: this.value,\n disabled: this.disabled,\n readonly: this.readonly,\n required: this.required,\n title: this.htmltitle,\n minlength: this.minlength,\n maxlength: this.maxlength,\n class: {\n [`input-${this.status}`]: !!this.status,\n },\n autocomplete: this.autocomplete,\n onInput: (e: InputEvent) => this.emitInputChange((e.target as HTMLInputElement).value),\n };\n }\n\n private getNumberAttributes(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (type != InputType.NUMBER) {\n return;\n }\n\n return {\n min: this.min,\n max: this.max,\n step: this.step,\n };\n }\n\n private getPatternAttribute(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (\n type != InputType.PASSWORD &&\n type != InputType.TEXT &&\n type != InputType.TEL &&\n type != InputType.SEARCH &&\n type != InputType.URL &&\n type != InputType.EMAIL\n ) {\n return;\n }\n\n return {\n pattern: this.pattern,\n };\n }\n\n private inputHasMessage(): boolean {\n if (boolean(this.message) === false || boolean(this.message) === true) {\n return false;\n }\n\n return true;\n }\n\n private getAriaAttributes(): Record<string, unknown> {\n return {\n ...(this.role ? {role: this.role} : {}),\n ...(this.htmlAriaDescribedBy ? {\"aria-describedby\": this.htmlAriaDescribedBy} : {}),\n ...(this.htmlAriaLabelledby ? {\"aria-labelledby\": this.htmlAriaLabelledby} : {}),\n };\n }\n\n private getTextAriaAttributes(): Record<string, unknown> {\n const expanded = this.htmlAriaExpanded ? {\"aria-expanded\": this.htmlAriaExpanded} : {};\n const controls = this.htmlAriaControls ? {\"aria-controls\": this.htmlAriaControls} : {};\n const autocomplete = this.htmlAriaAutocomplete ? {\"aria-autocomplete\": this.htmlAriaAutocomplete} : {};\n const activedescendant = this.htmlAriaActivedescendant\n ? {\"aria-activedescendant\": this.htmlAriaActivedescendant}\n : {};\n const ariaDescribedby =\n this.htmlAriaDescribedBy || this.inputHasMessage()\n ? {\"aria-describedby\": this.htmlAriaDescribedBy || `${this.htmlid}-message`}\n : {};\n\n const ariaInvalid = this.status === InputStatus.ERROR ? {\"aria-invalid\": \"true\"} : {};\n\n return {\n ...this.getAriaAttributes(),\n ...expanded,\n ...controls,\n ...autocomplete,\n ...activedescendant,\n ...ariaDescribedby,\n ...ariaInvalid,\n };\n }\n\n private getFocusBlurAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n onFocus: () => this.emitInputFocus(),\n onBlur: () => this.emitInputBlur(),\n };\n }\n\n private renderInputText(type: InputType = InputType.TEXT): HTMLDivElement {\n const ariaLabel = this.ariaLabel ? {\"aria-label\": this.ariaLabel} : {};\n const attr = {\n ...this.getTextAttributes(),\n ...this.getNumberAttributes(type),\n ...this.getPatternAttribute(type),\n ...ariaLabel,\n ...this.getTextAriaAttributes(),\n ...this.getFocusBlurAttributes(),\n };\n if (this.icon || type === InputType.PASSWORD) {\n Object.assign(attr.class, {\"has-icon\": true});\n }\n if (this.hasclearicon && type != InputType.NUMBER) {\n Object.assign(attr.class, {\"has-clear-icon\": true});\n }\n\n return (\n <div class=\"text-wrapper\">\n {this.renderLabel()}\n <div>\n <input\n type={type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type}\n {...attr}\n ref={(el) => (this.inputRef = el)}\n />\n {this.renderIcons()}\n </div>\n {this.renderMessage()}\n </div>\n );\n }\n\n private renderLabel(): HTMLLabelElement {\n if (!this.label) {\n return;\n }\n\n return (\n <label\n class=\"z-label body-5-sb\"\n id={`${this.htmlid}_label`}\n htmlFor={this.htmlid}\n >\n {this.label}\n </label>\n );\n }\n\n private renderIcons(): HTMLSpanElement {\n return (\n <span class=\"icons-wrapper\">\n {this.renderResetIcon()}\n {this.renderIcon()}\n </span>\n );\n }\n\n private renderIcon(): HTMLButtonElement {\n if (this.type === InputType.PASSWORD) {\n return this.renderShowHidePassword();\n }\n\n if (!this.icon) {\n return;\n }\n\n return (\n <z-icon\n name={this.icon}\n class={{[this.size]: true, \"input-icon\": true}}\n />\n );\n }\n\n private renderResetIcon(): HTMLButtonElement {\n let hidden = false;\n if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {\n hidden = true;\n }\n\n return (\n <button\n type=\"button\"\n class={{\"reset-icon\": true, \"input-icon\": true, hidden}}\n aria-label=\"cancella il contenuto dell'input\"\n onClick={() => {\n this.inputRef.value = \"\";\n this.emitInputChange(\"\");\n this.inputRef.focus();\n }}\n >\n <z-icon\n name=\"multiply\"\n class={this.size}\n />\n </button>\n );\n }\n\n private renderShowHidePassword(): HTMLButtonElement {\n return (\n <button\n type=\"button\"\n class=\"input-icon toggle-password-icon\"\n disabled={this.disabled}\n aria-label={this.passwordHidden ? \"mostra password\" : \"nascondi password\"}\n onClick={() => (this.passwordHidden = !this.passwordHidden)}\n >\n <z-icon\n name={this.passwordHidden ? \"view-filled\" : \"view-off-filled\"}\n class={this.size}\n />\n </button>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n html-id={`${this.htmlid}-message`}\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n disabled={this.disabled}\n />\n );\n }\n\n /* END text/password/email/number */\n\n /* START textarea */\n\n private renderTextarea(): HTMLDivElement {\n const attributes = this.getTextAttributes();\n const ariaAttributes = this.getTextAriaAttributes();\n\n return (\n <Fragment>\n {this.renderLabel()}\n <div\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"textarea-wrapper\": true,\n \"readonly\": !!attributes.readonly,\n }}\n >\n <textarea\n {...attributes}\n {...ariaAttributes}\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"z-scrollbar\": true,\n }}\n aria-label={this.ariaLabel || undefined}\n ></textarea>\n </div>\n {this.renderMessage()}\n </Fragment>\n );\n }\n\n /* END textarea */\n\n private handleCheck(ev: Event): void {\n this.checked = (ev.target as HTMLInputElement).checked;\n this.emitInputCheck(this.checked);\n }\n\n /* START checkbox */\n private renderCheckbox(): HTMLDivElement {\n return (\n <div class=\"checkbox-wrapper\">\n <input\n id={this.htmlid}\n type=\"checkbox\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"checkbox-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"checkbox-checked\" : \"checkbox\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label}></span>}\n </label>\n </div>\n );\n }\n\n /* END checkbox */\n\n /* START radio */\n private renderRadio(): HTMLDivElement {\n return (\n <div class=\"radio-wrapper\">\n <input\n id={this.htmlid}\n type=\"radio\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"radio-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"radio-button-checked\" : \"radio-button\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label} />}\n </label>\n </div>\n );\n }\n /* END radio */\n\n render(): HTMLInputElement | HTMLDivElement {\n let input;\n switch (this.type) {\n case InputType.TEXTAREA:\n input = this.renderTextarea();\n break;\n case InputType.CHECKBOX:\n input = this.renderCheckbox();\n break;\n case InputType.RADIO:\n input = this.renderRadio();\n break;\n default:\n input = this.renderInputText(this.type);\n }\n\n return <Host>{input}</Host>;\n }\n}\n"]}
@@ -26,7 +26,9 @@
26
26
  .radio-wrapper .radio-label,
27
27
  .checkbox-wrapper .checkbox-label {
28
28
  display: inline-flex;
29
+ min-height: 24px;
29
30
  align-items: center;
31
+ padding: 3px 0;
30
32
  margin: 0;
31
33
  color: inherit;
32
34
  font-family: inherit;
@@ -59,6 +59,11 @@
59
59
 
60
60
  .text-wrapper .icons-wrapper > button.reset-icon,
61
61
  .text-wrapper .icons-wrapper > button.toggle-password-icon {
62
+ display: flex;
63
+ min-width: 24px;
64
+ min-height: 24px;
65
+ align-items: center;
66
+ justify-content: center;
62
67
  cursor: pointer;
63
68
  }
64
69
 
@@ -20,7 +20,7 @@ export class ZInputMessage {
20
20
  this.onMessageChange();
21
21
  }
22
22
  render() {
23
- return (h(Host, Object.assign({ key: '2a344b237779b36f3c6fcbd41d1b96c71c08d286' }, this.statusRole), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'dbd6314657659bc49619393ae30a1fbfd8051635', name: this.statusIcons[this.status] }), h("span", { key: 'fe39967aedc46a55bff2719881f793d0c0e9283b', id: this.htmlId, innerHTML: this.message })));
23
+ return (h(Host, Object.assign({ key: '575ca29cba9f2d617b8b2c65bb054204e7aa411c' }, this.statusRole), this.statusIcons[this.status] && this.message && h("z-icon", { key: '6b9a19626fac468cdf5773aebd66cba90489eaa3', name: this.statusIcons[this.status] }), h("span", { key: 'c951a0146f5fe8def8428aee39ce923b24aa23bb', id: this.htmlId, innerHTML: this.message })));
24
24
  }
25
25
  static get is() { return "z-input-message"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -160,3 +160,4 @@ export class ZInputMessage {
160
160
  }];
161
161
  }
162
162
  }
163
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-input-message/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACzF,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAO3C,MAAM,OAAO,aAAa;IAL1B;QAUE,8CAA8C;QAE9C,WAAM,GAAI,MAAM,QAAQ,EAAE,EAAE,CAAC;QAE7B,mFAAmF;QAEnF,aAAQ,GAAkB,OAAO,CAAC;QAU1B,gBAAW,GAAG;YACpB,OAAO,EAAE,kBAAkB;YAC3B,KAAK,EAAE,kBAAkB;YACzB,OAAO,EAAE,oBAAoB;SAC9B,CAAC;QAGF,eAAU,GAAG,EAAE,CAAC;KAwBjB;IAnBC,eAAe;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9F,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qEAAK,IAAI,CAAC,UAAU;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,GAAW;YACxG,6DACE,EAAE,EAAE,IAAI,CAAC,MAAM,EACf,SAAS,EAAE,IAAI,CAAC,OAAO,GACvB,CACG,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {InputStatus} from \"../../beans\";\nimport {randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input-message\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInputMessage implements ComponentInterface {\n /** input helper message */\n @Prop()\n message: string;\n\n /** the id of the message element (optional)*/\n @Prop()\n htmlId? = `id-${randomId()}`;\n\n /** the role to set when both the message and the status are populated (optional)*/\n @Prop()\n htmlRole: null | string = \"alert\";\n\n /** input status (optional) */\n @Prop({reflect: true})\n status?: InputStatus;\n\n /** input disabled status (optional) */\n @Prop({reflect: true})\n disabled?: boolean;\n\n private statusIcons = {\n success: \"checkmark-circle\",\n error: \"multiply-circled\",\n warning: \"exclamation-circle\",\n };\n\n @State()\n statusRole = {};\n\n @Watch(\"message\")\n @Watch(\"status\")\n @Watch(\"htmlRole\")\n onMessageChange(): void {\n this.statusRole = this.htmlRole && this.message && this.status ? {role: this.htmlRole} : {};\n }\n\n componentWillLoad(): void {\n this.onMessageChange();\n }\n\n render(): HTMLZInputMessageElement {\n return (\n <Host {...this.statusRole}>\n {this.statusIcons[this.status] && this.message && <z-icon name={this.statusIcons[this.status]}></z-icon>}\n <span\n id={this.htmlId}\n innerHTML={this.message}\n />\n </Host>\n );\n }\n}\n"]}