@zanichelli/albe-web-components 19.3.0-RC5 → 19.3.0-RC6

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 (770) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-Cz-UsfoU.js} +19 -7
  3. package/dist/cjs/{index-2H1EJ2Tl.js → index-DnscebL4.js} +9 -9
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-Ctc6JP2n.js → utils-BY7xrW7W.js} +6 -0
  7. package/dist/cjs/web-components-library.cjs.js +2 -2
  8. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  9. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  10. package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
  11. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  12. package/dist/cjs/z-app-header_12.cjs.entry.js +192 -229
  13. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  14. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  15. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  16. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  17. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  18. package/dist/cjs/z-book-cover.cjs.entry.js +2 -2
  19. package/dist/cjs/z-breadcrumb.cjs.entry.js +7 -7
  20. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  21. package/dist/cjs/z-card.cjs.entry.js +1 -1
  22. package/dist/cjs/z-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  24. package/dist/cjs/z-color-picker.cjs.entry.js +3 -3
  25. package/dist/cjs/z-combobox.cjs.entry.js +21 -16
  26. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  27. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  28. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
  29. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  30. package/dist/cjs/z-file.cjs.entry.js +2 -2
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  32. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  33. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  34. package/dist/cjs/z-logo.cjs.entry.js +3 -3
  35. package/dist/cjs/z-menu-deprecated.cjs.entry.js +3 -3
  36. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +2 -2
  37. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  38. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  39. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  40. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  41. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  42. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  45. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  46. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  47. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  48. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  49. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  50. package/dist/cjs/z-notification.cjs.entry.js +3 -3
  51. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  52. package/dist/cjs/z-pagination.cjs.entry.js +3 -3
  53. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  54. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  55. package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
  56. package/dist/cjs/z-result-card.cjs.entry.js +2 -2
  57. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  58. package/dist/cjs/z-select.cjs.entry.js +5 -9
  59. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  60. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  61. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  62. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  63. package/dist/cjs/z-table.cjs.entry.js +7 -5
  64. package/dist/cjs/z-tbody.cjs.entry.js +6 -4
  65. package/dist/cjs/z-td.cjs.entry.js +6 -4
  66. package/dist/cjs/z-tfoot.cjs.entry.js +6 -4
  67. package/dist/cjs/z-th.cjs.entry.js +8 -4
  68. package/dist/cjs/z-thead.cjs.entry.js +6 -4
  69. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  70. package/dist/cjs/z-toast-notification.cjs.entry.js +96 -35
  71. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  72. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  73. package/dist/cjs/z-tool.cjs.entry.js +4 -4
  74. package/dist/cjs/z-toolbar.cjs.entry.js +2 -2
  75. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  76. package/dist/cjs/z-tr.cjs.entry.js +7 -5
  77. package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
  78. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  79. package/dist/collection/collection-manifest.json +11 -11
  80. package/dist/collection/components/book-card/z-book-card/index.js +1 -8
  81. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  82. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -3
  83. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  84. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  85. package/dist/collection/components/css-components/z-table/styles.css +61 -0
  86. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  87. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  88. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -54
  89. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  90. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -5
  91. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  92. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -2
  93. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  94. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  95. package/dist/collection/components/deprecated/z-section-title/index.js +1 -2
  96. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  97. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  98. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  99. package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
  100. package/dist/collection/components/list/z-list/index.js +1 -1
  101. package/dist/collection/components/list/z-list-element/index.js +1 -1
  102. package/dist/collection/components/list/z-list-group/index.js +2 -2
  103. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  104. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -2
  105. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  106. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  107. package/dist/collection/components/table/cells/z-th/styles.css +2 -74
  108. package/dist/collection/components/table/z-table/index.js +3 -4
  109. package/dist/collection/components/table/z-table/styles.css +3 -6
  110. package/dist/collection/components/table/z-tbody/index.js +3 -3
  111. package/dist/collection/components/table/z-tfoot/index.js +3 -3
  112. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  113. package/dist/collection/components/table/z-thead/index.js +3 -3
  114. package/dist/collection/components/table/z-thead/styles.css +0 -4
  115. package/dist/collection/components/table/z-tr/index.js +3 -3
  116. package/dist/collection/components/table/z-tr/styles.css +5 -11
  117. package/dist/collection/components/z-accordion/index.js +3 -11
  118. package/dist/collection/components/z-accordion/styles.css +12 -0
  119. package/dist/collection/components/z-anchor-navigation/index.js +3 -3
  120. package/dist/collection/components/z-app-header/index.js +40 -8
  121. package/dist/collection/components/z-app-header/styles.css +12 -12
  122. package/dist/collection/components/z-aria-alert/index.js +1 -1
  123. package/dist/collection/components/z-avatar/index.js +2 -2
  124. package/dist/collection/components/z-book-cover/index.js +1 -5
  125. package/dist/collection/components/z-book-cover/styles.css +6 -0
  126. package/dist/collection/components/z-breadcrumb/index.js +5 -5
  127. package/dist/collection/components/z-button/index.js +7 -4
  128. package/dist/collection/components/z-button-sort/index.js +1 -1
  129. package/dist/collection/components/z-card/index.js +1 -8
  130. package/dist/collection/components/z-card/styles.css +9 -0
  131. package/dist/collection/components/z-carousel/index.js +0 -2
  132. package/dist/collection/components/z-carousel/styles.css +7 -3
  133. package/dist/collection/components/z-chip/index.js +2 -2
  134. package/dist/collection/components/z-color-picker/index.js +1 -1
  135. package/dist/collection/components/z-combobox/index.js +18 -15
  136. package/dist/collection/components/z-combobox/styles.css +0 -12
  137. package/dist/collection/components/z-cover-hero/index.js +2 -5
  138. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  139. package/dist/collection/components/z-divider/index.js +1 -1
  140. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  141. package/dist/collection/components/z-icon/index.js +31 -2
  142. package/dist/collection/components/z-info-box/index.js +1 -1
  143. package/dist/collection/components/z-info-reveal/index.js +1 -5
  144. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  145. package/dist/collection/components/z-input/index.js +52 -32
  146. package/dist/collection/components/z-input/styles-checkbox-radio.css +132 -0
  147. package/dist/collection/components/z-input/styles-general.css +166 -0
  148. package/dist/collection/components/z-input/styles-text.css +92 -0
  149. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  150. package/dist/collection/components/z-input-message/index.js +1 -1
  151. package/dist/collection/components/z-logo/index.js +1 -1
  152. package/dist/collection/components/z-logo/styles.css +5 -0
  153. package/dist/collection/components/z-menu/index.js +0 -1
  154. package/dist/collection/components/z-menu/styles.css +3 -0
  155. package/dist/collection/components/z-menu-section/index.js +1 -1
  156. package/dist/collection/components/z-modal/index.js +4 -5
  157. package/dist/collection/components/z-modal/styles.css +5 -2
  158. package/dist/collection/components/z-navigation-tabs/index.js +2 -4
  159. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  160. package/dist/collection/components/z-notification/index.js +1 -3
  161. package/dist/collection/components/z-notification/styles.css +13 -6
  162. package/dist/collection/components/z-offcanvas/index.js +2 -5
  163. package/dist/collection/components/z-offcanvas/styles.css +5 -0
  164. package/dist/collection/components/z-pagination/index.js +2 -4
  165. package/dist/collection/components/z-pagination/styles.css +6 -0
  166. package/dist/collection/components/z-panel-elem/index.js +2 -2
  167. package/dist/collection/components/z-popover/index.js +1 -6
  168. package/dist/collection/components/z-popover/styles.css +6 -0
  169. package/dist/collection/components/z-result-card/styles.css +8 -5
  170. package/dist/collection/components/z-searchbar/index.js +133 -198
  171. package/dist/collection/components/z-searchbar/styles.css +92 -201
  172. package/dist/collection/components/z-select/index.js +4 -8
  173. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  174. package/dist/collection/components/z-stepper/index.js +1 -1
  175. package/dist/collection/components/z-stepper-item/index.js +1 -1
  176. package/dist/collection/components/z-tag/index.js +2 -4
  177. package/dist/collection/components/z-tag/styles.css +5 -0
  178. package/dist/collection/components/z-toast-notification/index.js +3 -3
  179. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  180. package/dist/collection/components/z-toggle-button/index.js +2 -2
  181. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  182. package/dist/collection/components/z-tool/index.js +3 -3
  183. package/dist/collection/components/z-toolbar/index.js +1 -2
  184. package/dist/collection/components/z-toolbar/styles.css +4 -0
  185. package/dist/collection/components/z-tooltip/index.js +1 -5
  186. package/dist/collection/components/z-tooltip/styles.css +6 -0
  187. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  188. package/dist/collection/constants/iconset.js +19 -7
  189. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
  190. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  191. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  198. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -2
  199. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  200. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  201. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  202. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  203. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  204. package/dist/collection/utils/storybook-utils.js +7 -0
  205. package/dist/collection/utils/utils.js +5 -0
  206. package/dist/components/iconset.js +1 -1
  207. package/dist/components/index10.js +1 -1
  208. package/dist/components/index11.js +1 -1
  209. package/dist/components/index12.js +1 -1
  210. package/dist/components/index13.js +1 -1
  211. package/dist/components/index14.js +1 -1
  212. package/dist/components/index15.js +1 -1
  213. package/dist/components/index16.js +1 -1
  214. package/dist/components/index17.js +1 -1
  215. package/dist/components/index18.js +1 -1
  216. package/dist/components/index19.js +1 -1
  217. package/dist/components/index20.js +1 -1
  218. package/dist/components/index21.js +1 -1
  219. package/dist/components/index22.js +1 -1
  220. package/dist/components/index23.js +1 -1
  221. package/dist/components/index24.js +1 -1
  222. package/dist/components/index25.js +1 -1
  223. package/dist/components/index26.js +1 -1
  224. package/dist/components/index27.js +1 -1
  225. package/dist/components/index3.js +1 -1
  226. package/dist/components/index4.js +1 -1
  227. package/dist/components/index5.js +1 -1
  228. package/dist/components/index6.js +1 -1
  229. package/dist/components/index7.js +1 -1
  230. package/dist/components/index8.js +1 -1
  231. package/dist/components/index9.js +1 -1
  232. package/dist/components/utils.js +1 -1
  233. package/dist/components/z-accordion.js +1 -1
  234. package/dist/components/z-anchor-navigation.js +1 -1
  235. package/dist/components/z-app-header-deprecated.js +1 -1
  236. package/dist/components/z-app-header.js +1 -1
  237. package/dist/components/z-aria-alert.js +1 -1
  238. package/dist/components/z-avatar.js +1 -1
  239. package/dist/components/z-book-card-app.js +1 -1
  240. package/dist/components/z-book-card-deprecated.js +1 -1
  241. package/dist/components/z-book-card.js +1 -1
  242. package/dist/components/z-breadcrumb.js +1 -1
  243. package/dist/components/z-button-sort.js +1 -1
  244. package/dist/components/z-carousel.js +1 -1
  245. package/dist/components/z-color-picker.js +1 -1
  246. package/dist/components/z-combobox.js +1 -1
  247. package/dist/components/z-cover-hero.js +1 -1
  248. package/dist/components/z-date-picker.js +1 -1
  249. package/dist/components/z-file-upload.js +1 -1
  250. package/dist/components/z-file.js +1 -1
  251. package/dist/components/z-info-box.js +1 -1
  252. package/dist/components/z-logo.js +1 -1
  253. package/dist/components/z-menu-deprecated.js +1 -1
  254. package/dist/components/z-menu-section-deprecated.js +1 -1
  255. package/dist/components/z-menu-section.js +1 -1
  256. package/dist/components/z-myz-card-alert.js +1 -1
  257. package/dist/components/z-myz-card-dictionary.js +1 -1
  258. package/dist/components/z-myz-card-footer-sections.js +1 -1
  259. package/dist/components/z-myz-card-footer.js +1 -1
  260. package/dist/components/z-myz-card-icon.js +1 -1
  261. package/dist/components/z-myz-card-info.js +1 -1
  262. package/dist/components/z-myz-card-list.js +1 -1
  263. package/dist/components/z-myz-list.js +1 -1
  264. package/dist/components/z-navigation-tabs.js +1 -1
  265. package/dist/components/z-notification.js +1 -1
  266. package/dist/components/z-otp.js +1 -1
  267. package/dist/components/z-pagination.js +1 -1
  268. package/dist/components/z-panel-elem.js +1 -1
  269. package/dist/components/z-range-picker.js +1 -1
  270. package/dist/components/z-result-card.js +1 -1
  271. package/dist/components/z-section-title.js +1 -1
  272. package/dist/components/z-select.js +1 -1
  273. package/dist/components/z-skip-to-content.js +1 -1
  274. package/dist/components/z-slideshow.js +1 -1
  275. package/dist/components/z-stepper-item.js +1 -1
  276. package/dist/components/z-stepper.js +1 -1
  277. package/dist/components/z-table.js +1 -1
  278. package/dist/components/z-tbody.js +1 -1
  279. package/dist/components/z-td.js +1 -1
  280. package/dist/components/z-tfoot.js +1 -1
  281. package/dist/components/z-th.js +1 -1
  282. package/dist/components/z-thead.js +1 -1
  283. package/dist/components/z-toast-notification-list.js +1 -1
  284. package/dist/components/z-toast-notification.js +1 -1
  285. package/dist/components/z-toggle-button.js +1 -1
  286. package/dist/components/z-toggle-switch.js +1 -1
  287. package/dist/components/z-tool.js +1 -1
  288. package/dist/components/z-toolbar.js +1 -1
  289. package/dist/components/z-tr.js +1 -1
  290. package/dist/components/z-tree-list.js +1 -1
  291. package/dist/components/z-visually-hidden.js +1 -1
  292. package/dist/esm/{iconset-BanpkIXZ.js → iconset-AwzX9V8L.js} +19 -7
  293. package/dist/esm/{index-ByN2sYu6.js → index-fIt9Ytc6.js} +9 -9
  294. package/dist/esm/index.js +2 -2
  295. package/dist/esm/loader.js +3 -3
  296. package/dist/esm/{utils-0PByxJyN.js → utils-BEzZQwOB.js} +7 -2
  297. package/dist/esm/web-components-library.js +3 -3
  298. package/dist/esm/z-accordion.entry.js +2 -2
  299. package/dist/esm/z-alert.entry.js +2 -2
  300. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  301. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  302. package/dist/esm/z-app-header_12.entry.js +193 -230
  303. package/dist/esm/z-aria-alert.entry.js +2 -2
  304. package/dist/esm/z-avatar.entry.js +3 -3
  305. package/dist/esm/z-book-card-app.entry.js +2 -2
  306. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  307. package/dist/esm/z-book-card.entry.js +2 -2
  308. package/dist/esm/z-book-cover.entry.js +2 -2
  309. package/dist/esm/z-breadcrumb.entry.js +7 -7
  310. package/dist/esm/z-button-sort.entry.js +2 -2
  311. package/dist/esm/z-card.entry.js +1 -1
  312. package/dist/esm/z-carousel.entry.js +2 -2
  313. package/dist/esm/z-chip.entry.js +3 -3
  314. package/dist/esm/z-color-picker.entry.js +3 -3
  315. package/dist/esm/z-combobox.entry.js +21 -16
  316. package/dist/esm/z-cover-hero.entry.js +3 -3
  317. package/dist/esm/z-date-picker.entry.js +2 -2
  318. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  319. package/dist/esm/z-file-upload.entry.js +3 -3
  320. package/dist/esm/z-file.entry.js +2 -2
  321. package/dist/esm/z-ghost-loading.entry.js +2 -2
  322. package/dist/esm/z-info-box.entry.js +2 -2
  323. package/dist/esm/z-info-reveal.entry.js +2 -2
  324. package/dist/esm/z-logo.entry.js +3 -3
  325. package/dist/esm/z-menu-deprecated.entry.js +3 -3
  326. package/dist/esm/z-menu-section-deprecated.entry.js +2 -2
  327. package/dist/esm/z-menu-section.entry.js +2 -2
  328. package/dist/esm/z-menu.entry.js +2 -2
  329. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  330. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  331. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  332. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  333. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  334. package/dist/esm/z-myz-card-info.entry.js +3 -3
  335. package/dist/esm/z-myz-card-list.entry.js +2 -2
  336. package/dist/esm/z-myz-card_4.entry.js +5 -5
  337. package/dist/esm/z-myz-list-item.entry.js +3 -3
  338. package/dist/esm/z-myz-list.entry.js +2 -2
  339. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  340. package/dist/esm/z-notification.entry.js +3 -3
  341. package/dist/esm/z-otp.entry.js +3 -3
  342. package/dist/esm/z-pagination.entry.js +3 -3
  343. package/dist/esm/z-panel-elem.entry.js +3 -3
  344. package/dist/esm/z-popover.entry.js +3 -3
  345. package/dist/esm/z-range-picker.entry.js +4 -4
  346. package/dist/esm/z-result-card.entry.js +2 -2
  347. package/dist/esm/z-section-title.entry.js +2 -2
  348. package/dist/esm/z-select.entry.js +5 -9
  349. package/dist/esm/z-skip-to-content.entry.js +3 -3
  350. package/dist/esm/z-slideshow.entry.js +2 -2
  351. package/dist/esm/z-stepper-item.entry.js +2 -2
  352. package/dist/esm/z-stepper.entry.js +2 -2
  353. package/dist/esm/z-table.entry.js +7 -5
  354. package/dist/esm/z-tbody.entry.js +6 -4
  355. package/dist/esm/z-td.entry.js +6 -4
  356. package/dist/esm/z-tfoot.entry.js +6 -4
  357. package/dist/esm/z-th.entry.js +8 -4
  358. package/dist/esm/z-thead.entry.js +6 -4
  359. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  360. package/dist/esm/z-toast-notification.entry.js +96 -35
  361. package/dist/esm/z-toggle-button.entry.js +3 -3
  362. package/dist/esm/z-toggle-switch.entry.js +5 -5
  363. package/dist/esm/z-tool.entry.js +4 -4
  364. package/dist/esm/z-toolbar.entry.js +2 -2
  365. package/dist/esm/z-tooltip.entry.js +2 -2
  366. package/dist/esm/z-tr.entry.js +7 -5
  367. package/dist/esm/z-tree-list.entry.js +2 -2
  368. package/dist/esm/z-visually-hidden.entry.js +2 -2
  369. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  370. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  371. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  372. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  373. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  374. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  375. package/dist/types/components/table/z-table/index.d.ts +0 -1
  376. package/dist/types/components/z-accordion/index.d.ts +2 -10
  377. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  378. package/dist/types/components/z-app-header/index.d.ts +8 -6
  379. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  380. package/dist/types/components/z-button/index.d.ts +1 -1
  381. package/dist/types/components/z-card/index.d.ts +1 -8
  382. package/dist/types/components/z-carousel/index.d.ts +0 -2
  383. package/dist/types/components/z-combobox/index.d.ts +1 -0
  384. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  385. package/dist/types/components/z-icon/index.d.ts +13 -0
  386. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  387. package/dist/types/components/z-input/index.d.ts +6 -4
  388. package/dist/types/components/z-menu/index.d.ts +0 -1
  389. package/dist/types/components/z-modal/index.d.ts +0 -1
  390. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  391. package/dist/types/components/z-notification/index.d.ts +0 -2
  392. package/dist/types/components/z-offcanvas/index.d.ts +0 -3
  393. package/dist/types/components/z-pagination/index.d.ts +0 -2
  394. package/dist/types/components/z-popover/index.d.ts +0 -5
  395. package/dist/types/components/z-searchbar/index.d.ts +26 -33
  396. package/dist/types/components/z-select/index.d.ts +0 -1
  397. package/dist/types/components/z-tag/index.d.ts +0 -2
  398. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  399. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  400. package/dist/types/components.d.ts +60 -610
  401. package/dist/types/constants/iconset.d.ts +30 -6
  402. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  403. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  404. package/dist/types/utils/storybook-utils.d.ts +7 -2
  405. package/dist/types/utils/utils.d.ts +2 -0
  406. package/dist/web-components-library/index.esm.js +1 -1
  407. package/dist/web-components-library/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
  408. package/dist/web-components-library/p-071d2a57.entry.js +1 -0
  409. package/dist/web-components-library/p-0e9e73ed.entry.js +1 -0
  410. package/dist/web-components-library/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
  411. package/dist/web-components-library/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
  412. package/dist/web-components-library/p-1418f4d2.entry.js +1 -0
  413. package/dist/web-components-library/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
  414. package/dist/web-components-library/p-150171da.entry.js +1 -0
  415. package/dist/web-components-library/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
  416. package/dist/web-components-library/p-17276ae7.entry.js +1 -0
  417. package/dist/web-components-library/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
  418. package/dist/web-components-library/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
  419. package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-2621b31f.entry.js} +1 -1
  420. package/{www/build/p-a3a7c406.entry.js → dist/web-components-library/p-263b4960.entry.js} +1 -1
  421. package/dist/web-components-library/p-2f79d3fd.entry.js +1 -0
  422. package/dist/web-components-library/p-3aa12417.entry.js +1 -0
  423. package/dist/web-components-library/p-4170d86b.entry.js +1 -0
  424. package/dist/web-components-library/p-41edfbd3.entry.js +1 -0
  425. package/dist/web-components-library/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
  426. package/dist/web-components-library/p-473594e3.entry.js +1 -0
  427. package/dist/web-components-library/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
  428. package/{www/build/p-ad2ed505.entry.js → dist/web-components-library/p-50a15c76.entry.js} +2 -2
  429. package/dist/web-components-library/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
  430. package/{www/build/p-1b851174.entry.js → dist/web-components-library/p-733ddcca.entry.js} +1 -1
  431. package/dist/web-components-library/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
  432. package/dist/web-components-library/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
  433. package/dist/web-components-library/p-7b4ca721.entry.js +1 -0
  434. package/dist/web-components-library/p-7fa3211f.entry.js +2 -0
  435. package/{www/build/p-8745878e.entry.js → dist/web-components-library/p-80eb4ada.entry.js} +1 -1
  436. package/dist/web-components-library/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
  437. package/dist/web-components-library/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
  438. package/dist/web-components-library/p-90a25f58.entry.js +1 -0
  439. package/dist/web-components-library/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
  440. package/dist/web-components-library/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
  441. package/dist/web-components-library/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
  442. package/{www/build/p-366d2553.entry.js → dist/web-components-library/p-99d355d6.entry.js} +1 -1
  443. package/dist/web-components-library/p-9b2589a6.entry.js +1 -0
  444. package/{www/build/p-631f111d.entry.js → dist/web-components-library/p-9f9b9b8e.entry.js} +1 -1
  445. package/dist/web-components-library/p-AwzX9V8L.js +1 -0
  446. package/dist/web-components-library/p-B0bOjMSb.js +1 -0
  447. package/dist/web-components-library/p-a0675e97.entry.js +1 -0
  448. package/dist/web-components-library/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
  449. package/dist/web-components-library/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
  450. package/dist/web-components-library/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
  451. package/dist/web-components-library/p-acd32089.entry.js +1 -0
  452. package/{www/build/p-6ece59b5.entry.js → dist/web-components-library/p-addac0e0.entry.js} +1 -1
  453. package/{www/build/p-1e984688.entry.js → dist/web-components-library/p-b127d150.entry.js} +1 -1
  454. package/dist/web-components-library/p-b64dd64c.entry.js +1 -0
  455. package/dist/web-components-library/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
  456. package/dist/web-components-library/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
  457. package/dist/web-components-library/p-b7907578.entry.js +1 -0
  458. package/dist/web-components-library/p-bb319405.entry.js +1 -0
  459. package/dist/web-components-library/p-c3a6159b.entry.js +1 -0
  460. package/{www/build/p-0ca6e928.entry.js → dist/web-components-library/p-ca89f8e8.entry.js} +1 -1
  461. package/dist/web-components-library/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
  462. package/dist/web-components-library/p-d0c0e9f1.entry.js +1 -0
  463. package/dist/web-components-library/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
  464. package/dist/web-components-library/p-d756e131.entry.js +1 -0
  465. package/{www/build/p-41b55222.entry.js → dist/web-components-library/p-d79a7787.entry.js} +1 -1
  466. package/dist/web-components-library/p-d7fc390f.entry.js +1 -0
  467. package/{www/build/p-f5e7fa96.entry.js → dist/web-components-library/p-d9998674.entry.js} +1 -1
  468. package/dist/web-components-library/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
  469. package/dist/web-components-library/p-da977942.entry.js +1 -0
  470. package/dist/web-components-library/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
  471. package/{www/build/p-1afd69ba.entry.js → dist/web-components-library/p-eb093728.entry.js} +1 -1
  472. package/{www/build/p-d57c5efc.entry.js → dist/web-components-library/p-ebd8c113.entry.js} +1 -1
  473. package/dist/web-components-library/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
  474. package/dist/web-components-library/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
  475. package/dist/web-components-library/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
  476. package/dist/web-components-library/p-f4082ec2.entry.js +1 -0
  477. package/dist/web-components-library/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
  478. package/dist/web-components-library/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
  479. package/dist/web-components-library/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
  480. package/{www/build/p-0a819ab4.entry.js → dist/web-components-library/p-fea76ac6.entry.js} +1 -1
  481. package/dist/web-components-library/web-components-library.css +63 -1
  482. package/dist/web-components-library/web-components-library.esm.js +1 -1
  483. package/package.json +15 -15
  484. package/readme.md +8 -19
  485. package/www/build/index.esm.js +1 -1
  486. package/www/build/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
  487. package/www/build/p-071d2a57.entry.js +1 -0
  488. package/www/build/p-0e9e73ed.entry.js +1 -0
  489. package/www/build/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
  490. package/www/build/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
  491. package/www/build/p-1418f4d2.entry.js +1 -0
  492. package/www/build/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
  493. package/www/build/p-150171da.entry.js +1 -0
  494. package/www/build/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
  495. package/www/build/p-17276ae7.entry.js +1 -0
  496. package/www/build/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
  497. package/www/build/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
  498. package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-2621b31f.entry.js} +1 -1
  499. package/{dist/web-components-library/p-a3a7c406.entry.js → www/build/p-263b4960.entry.js} +1 -1
  500. package/www/build/p-2f79d3fd.entry.js +1 -0
  501. package/www/build/p-3aa12417.entry.js +1 -0
  502. package/www/build/{p-ea2cbe37.js → p-40eed148.js} +1 -1
  503. package/www/build/p-4170d86b.entry.js +1 -0
  504. package/www/build/p-41edfbd3.entry.js +1 -0
  505. package/www/build/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
  506. package/www/build/p-473594e3.entry.js +1 -0
  507. package/www/build/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
  508. package/{dist/web-components-library/p-ad2ed505.entry.js → www/build/p-50a15c76.entry.js} +2 -2
  509. package/www/build/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
  510. package/{dist/web-components-library/p-1b851174.entry.js → www/build/p-733ddcca.entry.js} +1 -1
  511. package/www/build/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
  512. package/www/build/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
  513. package/www/build/p-7b4ca721.entry.js +1 -0
  514. package/www/build/p-7fa3211f.entry.js +2 -0
  515. package/{dist/web-components-library/p-8745878e.entry.js → www/build/p-80eb4ada.entry.js} +1 -1
  516. package/www/build/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
  517. package/www/build/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
  518. package/www/build/p-90a25f58.entry.js +1 -0
  519. package/www/build/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
  520. package/www/build/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
  521. package/www/build/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
  522. package/{dist/web-components-library/p-366d2553.entry.js → www/build/p-99d355d6.entry.js} +1 -1
  523. package/www/build/p-9b2589a6.entry.js +1 -0
  524. package/{dist/web-components-library/p-631f111d.entry.js → www/build/p-9f9b9b8e.entry.js} +1 -1
  525. package/www/build/p-AwzX9V8L.js +1 -0
  526. package/www/build/p-B0bOjMSb.js +1 -0
  527. package/www/build/p-a0675e97.entry.js +1 -0
  528. package/www/build/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
  529. package/www/build/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
  530. package/www/build/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
  531. package/www/build/p-acd32089.entry.js +1 -0
  532. package/{dist/web-components-library/p-6ece59b5.entry.js → www/build/p-addac0e0.entry.js} +1 -1
  533. package/{dist/web-components-library/p-1e984688.entry.js → www/build/p-b127d150.entry.js} +1 -1
  534. package/www/build/p-b64dd64c.entry.js +1 -0
  535. package/www/build/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
  536. package/www/build/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
  537. package/www/build/p-b7907578.entry.js +1 -0
  538. package/www/build/p-bb319405.entry.js +1 -0
  539. package/www/build/p-c3a6159b.entry.js +1 -0
  540. package/www/build/{p-813bd63b.css → p-c9523ede.css} +63 -1
  541. package/{dist/web-components-library/p-0ca6e928.entry.js → www/build/p-ca89f8e8.entry.js} +1 -1
  542. package/www/build/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
  543. package/www/build/p-d0c0e9f1.entry.js +1 -0
  544. package/www/build/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
  545. package/www/build/p-d756e131.entry.js +1 -0
  546. package/{dist/web-components-library/p-41b55222.entry.js → www/build/p-d79a7787.entry.js} +1 -1
  547. package/www/build/p-d7fc390f.entry.js +1 -0
  548. package/{dist/web-components-library/p-f5e7fa96.entry.js → www/build/p-d9998674.entry.js} +1 -1
  549. package/www/build/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
  550. package/www/build/p-da977942.entry.js +1 -0
  551. package/www/build/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
  552. package/{dist/web-components-library/p-1afd69ba.entry.js → www/build/p-eb093728.entry.js} +1 -1
  553. package/{dist/web-components-library/p-d57c5efc.entry.js → www/build/p-ebd8c113.entry.js} +1 -1
  554. package/www/build/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
  555. package/www/build/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
  556. package/www/build/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
  557. package/www/build/p-f4082ec2.entry.js +1 -0
  558. package/www/build/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
  559. package/www/build/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
  560. package/www/build/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
  561. package/{dist/web-components-library/p-0a819ab4.entry.js → www/build/p-fea76ac6.entry.js} +1 -1
  562. package/www/build/web-components-library.css +63 -1
  563. package/www/build/web-components-library.esm.js +1 -1
  564. package/www/index.html +1 -1
  565. package/dist/collection/__mocks__/fileMock.js +0 -1
  566. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  567. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  568. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  569. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  570. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  571. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  572. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  573. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  574. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  575. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  576. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  577. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  578. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  579. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  580. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  581. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  582. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  583. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  584. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  585. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  586. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  587. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  588. package/dist/collection/components/z-app-header/index.stories.js +0 -302
  589. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  590. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  591. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  592. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  593. package/dist/collection/components/z-button/index.stories.js +0 -103
  594. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  595. package/dist/collection/components/z-card/index.stories.js +0 -302
  596. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  597. package/dist/collection/components/z-chip/index.stories.js +0 -69
  598. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  599. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  600. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  601. package/dist/collection/components/z-divider/index.stories.js +0 -44
  602. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  603. package/dist/collection/components/z-icon/index.stories.js +0 -70
  604. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  605. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  606. package/dist/collection/components/z-input/index.stories.js +0 -293
  607. package/dist/collection/components/z-input/styles.css +0 -406
  608. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  609. package/dist/collection/components/z-logo/index.stories.js +0 -25
  610. package/dist/collection/components/z-menu/index.stories.js +0 -122
  611. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  612. package/dist/collection/components/z-modal/index.stories.js +0 -201
  613. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  614. package/dist/collection/components/z-notification/index.stories.js +0 -172
  615. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  616. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  617. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  618. package/dist/collection/components/z-popover/index.stories.js +0 -282
  619. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  620. package/dist/collection/components/z-searchbar/index.stories.js +0 -336
  621. package/dist/collection/components/z-select/index.stories.js +0 -359
  622. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  623. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  624. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  625. package/dist/collection/components/z-tag/index.stories.js +0 -63
  626. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  627. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  628. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  629. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  630. package/dist/collection/components/z-tool/index.stories.js +0 -146
  631. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  632. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  633. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  634. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  635. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  636. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  637. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  638. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  639. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  640. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  641. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  642. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  643. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  644. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  645. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  646. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  647. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  648. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  649. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  650. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  651. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  652. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  653. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  654. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  655. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  656. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  657. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  658. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  659. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  660. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  661. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  662. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  663. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  664. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  665. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  666. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  667. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  668. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  669. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  670. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  671. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  672. package/dist/types/components/z-app-header/index.stories.d.ts +0 -121
  673. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  674. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  675. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  676. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  677. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  678. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  679. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  680. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  681. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  682. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  683. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  684. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  685. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  686. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  687. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  688. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  689. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  690. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  691. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  692. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  693. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  694. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  695. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  696. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  697. package/dist/types/components/z-notification/index.stories.d.ts +0 -72
  698. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  699. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  700. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  701. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  702. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  703. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -159
  704. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  705. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  706. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  707. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  708. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  709. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  710. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  711. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  712. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  713. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  714. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  715. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  716. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  717. package/dist/web-components-library/p-02e588b4.entry.js +0 -1
  718. package/dist/web-components-library/p-040fbd28.entry.js +0 -1
  719. package/dist/web-components-library/p-062ba668.entry.js +0 -1
  720. package/dist/web-components-library/p-0eb7baa4.entry.js +0 -1
  721. package/dist/web-components-library/p-1c5bbea1.entry.js +0 -1
  722. package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
  723. package/dist/web-components-library/p-27f93251.entry.js +0 -1
  724. package/dist/web-components-library/p-314302ce.entry.js +0 -1
  725. package/dist/web-components-library/p-3c861d49.entry.js +0 -1
  726. package/dist/web-components-library/p-50b59012.entry.js +0 -1
  727. package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
  728. package/dist/web-components-library/p-58933ba5.entry.js +0 -1
  729. package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
  730. package/dist/web-components-library/p-7a55d688.entry.js +0 -2
  731. package/dist/web-components-library/p-8042aaf7.entry.js +0 -1
  732. package/dist/web-components-library/p-BanpkIXZ.js +0 -1
  733. package/dist/web-components-library/p-D4yqZKyM.js +0 -1
  734. package/dist/web-components-library/p-a1127213.entry.js +0 -1
  735. package/dist/web-components-library/p-a336c241.entry.js +0 -1
  736. package/dist/web-components-library/p-a9534450.entry.js +0 -1
  737. package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
  738. package/dist/web-components-library/p-afab22fc.entry.js +0 -1
  739. package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
  740. package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
  741. package/dist/web-components-library/p-db0a60fc.entry.js +0 -1
  742. package/dist/web-components-library/p-eb722234.entry.js +0 -1
  743. package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
  744. package/www/build/p-02e588b4.entry.js +0 -1
  745. package/www/build/p-040fbd28.entry.js +0 -1
  746. package/www/build/p-062ba668.entry.js +0 -1
  747. package/www/build/p-0eb7baa4.entry.js +0 -1
  748. package/www/build/p-1c5bbea1.entry.js +0 -1
  749. package/www/build/p-2294f1b0.entry.js +0 -1
  750. package/www/build/p-27f93251.entry.js +0 -1
  751. package/www/build/p-314302ce.entry.js +0 -1
  752. package/www/build/p-3c861d49.entry.js +0 -1
  753. package/www/build/p-50b59012.entry.js +0 -1
  754. package/www/build/p-5883dbc1.entry.js +0 -1
  755. package/www/build/p-58933ba5.entry.js +0 -1
  756. package/www/build/p-5fc4048b.entry.js +0 -1
  757. package/www/build/p-7a55d688.entry.js +0 -2
  758. package/www/build/p-8042aaf7.entry.js +0 -1
  759. package/www/build/p-BanpkIXZ.js +0 -1
  760. package/www/build/p-D4yqZKyM.js +0 -1
  761. package/www/build/p-a1127213.entry.js +0 -1
  762. package/www/build/p-a336c241.entry.js +0 -1
  763. package/www/build/p-a9534450.entry.js +0 -1
  764. package/www/build/p-aabb5aea.entry.js +0 -1
  765. package/www/build/p-afab22fc.entry.js +0 -1
  766. package/www/build/p-afcabf3b.entry.js +0 -1
  767. package/www/build/p-b38d52e5.entry.js +0 -1
  768. package/www/build/p-db0a60fc.entry.js +0 -1
  769. package/www/build/p-eb722234.entry.js +0 -1
  770. package/www/build/p-ecea3d09.entry.js +0 -1
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-2H1EJ2Tl.js');
3
+ var index$1 = require('./index-DnscebL4.js');
4
4
  var index = require('./index-wGaSHN1_.js');
5
5
  var breakpoints = require('./breakpoints-B7vFm-3T.js');
6
- var utils = require('./utils-Ctc6JP2n.js');
7
- var iconset = require('./iconset-Bcbz2MS1.js');
6
+ var utils = require('./utils-BY7xrW7W.js');
7
+ var iconset = require('./iconset-Cz-UsfoU.js');
8
8
 
9
- const stylesCss$c = () => `:host{position:relative;display:block;box-shadow:var(--shadow-2)}:host,*{box-sizing:border-box}.heading-panel{--title-line-height:1.333;--title-font-size:var(--font-size-6);position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width, 100%);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:calc(var(--space-unit) * 2);margin:0 auto;background:var(--app-header-bg, var(--color-surface01))}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-panel.has-menubar{padding-bottom:0}.heading-panel .heading-container{flex-direction:column-reverse}:host([enable-search]) .heading-panel .heading-container{flex-direction:column}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:row}.heading-title{display:flex;width:100%;flex-direction:row;align-items:flex-start}.heading-title:not(:last-child){margin-right:var(--space-unit)}.z-logo,.search-page-button{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.z-logo img{height:24px;margin:0 var(--space-unit) 0 0;content:url('data:image/svg+xml,<svg width="61" height="32" viewBox="0 0 61 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z" fill="%23E2011A"/><path d="M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z" fill="white"/><path d="M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z" fill="%23E2011A"/><path d="M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z" fill="white"/><path d="M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z" fill="white"/></svg>')}.product-logo{display:none}.product-logo ::slotted([slot="product-logo"]){width:32px;height:32px;margin-right:var(--space-unit)}.product-logo ::slotted([slot="product-logo"]) img{width:100%;height:100%;object-fit:cover}::slotted([slot="title"]),::slotted([slot="stucked-title"]),.stucked-title{margin:0;color:var(--app-header-text-color, var(--color-default-text));font-family:var(--font-family-serif);font-weight:var(--font-sb)}::slotted([slot="title"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:var(--title-font-size);-webkit-line-clamp:2;line-clamp:2;line-height:var(--title-line-height);text-overflow:ellipsis}::slotted(a:is([slot="title"],[slot="stucked-title"])){text-decoration:none}:host([enable-search]) ::slotted([slot="title"])+*{margin-left:calc(var(--space-unit) * 2)}:host([enable-offcanvas]:not([menu-length="0"])) .top-subtitle{padding-left:calc(var(--space-unit) * 4 + var(--space-unit))}::slotted([slot="top-subtitle"]){display:-webkit-box;overflow:hidden;max-width:80%;margin:0;-webkit-box-orient:vertical;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-style:italic;font-weight:var(--font-rg);-webkit-line-clamp:2;line-clamp:2}.search-page-button{margin-left:auto}.menu-container{display:flex;flex:1 auto;column-gap:calc(var(--space-unit) * 4)}.menu-container:focus:focus-visible{outline:none}:host([menu-length="0"]) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted([slot="menu"]:not(:last-child))::after{position:absolute;top:calc(1.5em / 2);right:calc(var(--space-unit) * -2);width:var(--border-size-small);height:1em;background-color:var(--color-default-icon);content:"";font-size:var(--font-size-3);transform:translateY(-50%)}z-searchbar{z-index:0;display:flex;width:100%;align-items:center}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset, 48px);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg, var(--color-surface01));box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color, var(--color-default-text))}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width, 100%);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title{--title-font-size:var(--font-size-5);--title-line-height:1.4;overflow:hidden;align-items:center}.heading-stuck .stucked-title{overflow:hidden;font-size:var(--title-font-size);line-height:var(--title-line-height);text-overflow:ellipsis;white-space:nowrap}.drawer-trigger,::slotted([slot="menu-button"]){display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center;padding:0;border:0;margin-right:var(--space-unit);appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer;outline:none}.drawer-trigger:focus:focus-visible z-icon{box-shadow:var(--shadow-focus-primary)}.drawer-trigger z-icon{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.drawer-content{display:none}z-offcanvas{--z-offcanvas--top-space:var(--app-header-top-offset)}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;cursor:pointer;outline:none}.drawer-close z-icon{fill:var(--color-default-icon)}.drawer-close:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}@media (max-width: 767px){:host([enable-search]) .heading-panel .heading-container{row-gap:calc(var(--space-unit) * 1.5)}}@media (min-width: 768px){.heading-panel{--title-font-size:var(--font-size-9);padding:calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25)}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:column}.heading-panel .heading-container{flex-direction:column;margin-right:auto}.z-logo img{height:32px}.product-logo{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.has-top-subtitle .z-logo{display:none}.top-subtitle.has-product-logo{padding-left:calc(32px + var(--space-unit))}z-searchbar{width:30%;height:calc(var(--title-font-size) * var(--title-line-height));margin-left:auto}.menu-container{flex:initial}.menu-container>[role="menubar"]{display:contents}:host(:not([enable-offcanvas])) .menu-container{margin-top:calc((var(--space-unit) * 1.75))}:host(:not([enable-offcanvas])) .heading-container .drawer-trigger{display:none}.heading-stuck .heading-title{--title-font-size:var(--font-size-8);--title-line-height:1.5}.heading-stuck-content{padding:6px var(--grid-margin)}:host(:not([enable-offcanvas],[menu-length="0"])){padding-left:0}}@media (min-width: 1152px){z-searchbar{min-width:calc(var(--space-unit) * 45)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}`;
9
+ const stylesCss$c = () => `:host{position:relative;display:block;box-shadow:var(--shadow-2)}:host,*{box-sizing:border-box}.heading-panel{--title-line-height:1.333;--title-font-size:var(--font-size-6);position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width, 100%);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:calc(var(--space-unit) * 2);margin:0 auto;background:var(--app-header-bg, var(--color-surface01))}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-panel.has-menubar{padding-bottom:0}.heading-panel .heading-container{flex-direction:column-reverse}:host([enable-search]) .heading-panel .heading-container{flex-direction:column}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:row}.heading-title{display:flex;width:100%;flex-direction:row;align-items:flex-start}.heading-title:not(:last-child){margin-right:var(--space-unit)}.z-logo,.search-page-button{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.z-logo img{height:24px;margin:0 var(--space-unit) 0 0;content:url('data:image/svg+xml,<svg width="61" height="32" viewBox="0 0 61 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z" fill="%23E2011A"/><path d="M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z" fill="white"/><path d="M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z" fill="%23E2011A"/><path d="M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z" fill="white"/><path d="M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z" fill="white"/></svg>')}.product-logo{display:none}.product-logo ::slotted([slot="product-logo"]){width:32px;height:32px;margin-right:var(--space-unit)}.product-logo ::slotted([slot="product-logo"]) img{width:100%;height:100%;object-fit:cover}::slotted([slot="title"]),::slotted([slot="stucked-title"]),.stucked-title{margin:0;color:var(--app-header-text-color, var(--color-default-text));font-family:var(--font-family-serif);font-weight:var(--font-sb)}::slotted([slot="title"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:var(--title-font-size);-webkit-line-clamp:2;line-clamp:2;line-height:var(--title-line-height);text-overflow:ellipsis}::slotted(a:is([slot="title"],[slot="stucked-title"])){text-decoration:none}:host([enable-search]) ::slotted([slot="title"])+*{margin-left:calc(var(--space-unit) * 2)}:host([enable-offcanvas]:not([menu-length="0"])) .top-subtitle{padding-left:calc(var(--space-unit) * 4 + var(--space-unit))}::slotted([slot="top-subtitle"]){display:-webkit-box;overflow:hidden;max-width:80%;margin:0;-webkit-box-orient:vertical;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-style:italic;font-weight:var(--font-rg);-webkit-line-clamp:2;line-clamp:2}.search-page-button{margin-left:auto}.menu-container{display:flex;flex:1 auto;column-gap:calc(var(--space-unit) * 4)}.menu-container:focus:focus-visible{outline:none}:host([menu-length="0"]) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted([slot="menu"]:not(:last-child))::after{position:absolute;top:calc(1.5em / 2);right:calc(var(--space-unit) * -2);width:var(--border-size-small);height:1em;background-color:var(--color-default-icon);content:"";font-size:var(--font-size-3);transform:translateY(-50%)}z-searchbar{z-index:0;display:flex;width:100%;align-items:center}z-searchbar.has-label{align-items:flex-end}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset, 48px);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg, var(--color-surface01));box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color, var(--color-default-text))}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width, 100%);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title{--title-font-size:var(--font-size-5);--title-line-height:1.4;overflow:hidden;align-items:center}.heading-stuck .stucked-title{overflow:hidden;font-size:var(--title-font-size);line-height:var(--title-line-height);text-overflow:ellipsis;white-space:nowrap}.drawer-trigger,::slotted([slot="menu-button"]){display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center;padding:0;border:0;margin-right:var(--space-unit);appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer;outline:none}.drawer-trigger:focus:focus-visible z-icon{box-shadow:var(--shadow-focus-primary)}.drawer-trigger z-icon{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.drawer-content{display:none}z-offcanvas{--z-offcanvas--top-space:var(--app-header-top-offset)}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;cursor:pointer;outline:none}.drawer-close z-icon{fill:var(--color-default-icon)}.drawer-close:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}@media (max-width: 767px){:host([enable-search]) .heading-panel .heading-container{row-gap:calc(var(--space-unit) * 1.5)}}@media (min-width: 768px){.heading-panel{--title-font-size:var(--font-size-9);padding:calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25)}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:column}.heading-panel .heading-container{flex-direction:column;margin-right:auto}.z-logo img{height:32px}.product-logo{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.has-top-subtitle .z-logo{display:none}.top-subtitle.has-product-logo{padding-left:calc(32px + var(--space-unit))}z-searchbar{width:30%;height:calc(var(--title-font-size) * var(--title-line-height));margin-left:auto}.menu-container{flex:initial}.menu-container>[role="menubar"]{display:contents}:host(:not([enable-offcanvas])) .menu-container{margin-top:calc((var(--space-unit) * 1.75))}:host(:not([enable-offcanvas])) .heading-container .drawer-trigger{display:none}.heading-stuck .heading-title{--title-font-size:var(--font-size-8);--title-line-height:1.5}.heading-stuck-content{padding:6px var(--grid-margin)}:host(:not([enable-offcanvas],[menu-length="0"])){padding-left:0}}@media (min-width: 1152px){z-searchbar{min-width:calc(var(--space-unit) * 45)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}`;
10
10
 
11
11
  const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined";
12
12
  const ZAppHeader = class {
@@ -191,7 +191,7 @@ const ZAppHeader = class {
191
191
  if (this.searchPageUrl && (this.isMobile || this.isTablet)) {
192
192
  return (index$1.h("z-button", { class: "search-page-button", variant: index.ButtonVariant.SECONDARY, href: this.searchPageUrl, icon: "search", size: index.ControlSize.X_SMALL }));
193
193
  }
194
- return (index$1.h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, size: index.ControlSize.X_SMALL, variant: index.ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
194
+ return (index$1.h("z-searchbar", { class: { "has-label": !!this.searchLabel }, value: this.searchString, placeholder: this.searchPlaceholder, label: this.searchLabel, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, searchButtonLabel: this.isMobile || this.isTablet ? undefined : this.searchButtonLabel, size: index.ControlSize.X_SMALL, variant: index.ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
195
195
  }
196
196
  renderProductLogos() {
197
197
  return (index$1.h(index$1.Fragment, null, this.enableZLogo && (index$1.h("span", { class: "z-logo" }, index$1.h("img", { alt: "Logo Zanichelli" }))), this.hostElement.querySelector("[slot='product-logo']") && (index$1.h("span", { class: "product-logo" }, index$1.h("slot", { name: "product-logo" })))));
@@ -275,7 +275,7 @@ const ZAppHeader = class {
275
275
  }
276
276
  render() {
277
277
  const hasTopSubtitle = this.hasSlot("top-subtitle");
278
- return (index$1.h(index$1.Host, { key: 'dc030db81c271ed36850fb287d29ace79851d4a1', "menu-length": this.menuLength }, index$1.h("div", { key: '49d34b66c216a92c80eb9216fa52e48add4cee0a', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, index$1.h("div", { key: '29639ab6d0620491c69651139ddf8311e2177122', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (index$1.h("div", { key: 'bc685fb828a89777bec6dcc5bc754534f83361cd', class: { "top-subtitle": true, "has-product-logo": hasTopSubtitle && this.hasSlot("product-logo") } }, index$1.h("slot", { key: 'cb2b1468f4b34d11dbf444f2cde0c7cce86cbd1e', name: "top-subtitle" }))), index$1.h("div", { key: '80036c45fcbd3d490b85f653efb35010b1639b6f', class: "heading-title" }, index$1.h("slot", { key: 'bc4a0397893534c0dac99e081ef0ba5d6db2ecd3', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), index$1.h("slot", { key: 'a72c2c657ae430e0cc6b134e843fec1c983e7777', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), index$1.h("nav", { key: 'b620b02b62b99b13e6b4c0c1be0997d3af448aeb', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (index$1.h("div", { key: '6c1887c703734a0e1ab4b77b821dad2e9bc0c3df', role: "menubar", "aria-label": this.title || undefined }, index$1.h("slot", { key: '2daaf3501852cab84cf2b3a85a770553dc70a101', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
278
+ return (index$1.h(index$1.Host, { key: 'a48e907303247432d294871a6810e996cc6f48f4', "menu-length": this.menuLength }, index$1.h("div", { key: '094aee9d0964cdcec17acde3ec7eaa1767b8ae31', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, index$1.h("div", { key: '0635f1f529b2f3e25db7bfc55579c3c3bd8995cb', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (index$1.h("div", { key: 'a2104e8dd013fca97b2af2e57e95e108b423ecbd', class: { "top-subtitle": true, "has-product-logo": hasTopSubtitle && this.hasSlot("product-logo") } }, index$1.h("slot", { key: 'a6a7899aba37a27e24982567bc1b7242f4b9bf1b', name: "top-subtitle" }))), index$1.h("div", { key: 'e47339a0a8d9aaee0bd87c0cdf1434e553051030', class: "heading-title" }, index$1.h("slot", { key: '1212a43bb3d52591a53aea6fb587723750204578', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), index$1.h("slot", { key: '9166a624ad670c914d630b3b5bb46877d46883c8', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), index$1.h("nav", { key: 'a39bc8d9020b6243e4b6ce885f0cfc52d8bd8d95', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (index$1.h("div", { key: 'b58bbc10d6385c6b9404a47c512e912c22650d85', role: "menubar", "aria-label": this.title || undefined }, index$1.h("slot", { key: 'c50f81c40e06360ca293172752095155f2f574d4', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
279
279
  }
280
280
  get hostElement() { return index$1.getElement(this); }
281
281
  static get watchers() { return {
@@ -300,7 +300,7 @@ const ZButton = class {
300
300
  /** defines a string value that labels the internal interactive element. Used for accessibility. */
301
301
  this.ariaLabel = undefined;
302
302
  /**
303
- * **Deprecated:** Use `htmlrole` instead.
303
+ * Use `htmlrole` instead.
304
304
  * @deprecated This prop has been deprecated in favor of `htmlrole` for better accessibility.
305
305
  */
306
306
  this.role = "";
@@ -333,10 +333,13 @@ const ZButton = class {
333
333
  return this.icon && index$1.h("z-icon", { name: this.icon });
334
334
  }
335
335
  render() {
336
+ var _a, _b;
337
+ const normalizedAriaLabel = ((_a = this.ariaLabel) === null || _a === void 0 ? void 0 : _a.trim()) || undefined;
338
+ const normalizedRole = this.htmlrole || ((_b = this.role) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
336
339
  if (this.href) {
337
- return (index$1.h("a", Object.assign({}, this.attributes, { "aria-label": this.ariaLabel || undefined, href: this.href, target: this.target }), this.renderIcon(), index$1.h("slot", null)));
340
+ return (index$1.h("a", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, href: this.href, target: this.target }), this.renderIcon(), index$1.h("slot", null)));
338
341
  }
339
- return (index$1.h("button", Object.assign({}, this.attributes, { "aria-label": this.ariaLabel || undefined, name: this.name, type: this.type, disabled: this.disabled, role: this.htmlrole || this.role || undefined }), this.renderIcon(), index$1.h("slot", null)));
342
+ return (index$1.h("button", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, name: this.name, type: this.type, disabled: this.disabled, role: normalizedRole }), this.renderIcon(), index$1.h("slot", null)));
340
343
  }
341
344
  get hostElement() { return index$1.getElement(this); }
342
345
  };
@@ -355,13 +358,15 @@ const ZDivider = class {
355
358
  this.orientation = index.DividerOrientation.HORIZONTAL;
356
359
  }
357
360
  render() {
358
- return (index$1.h(index$1.Host, { key: '2be45be46ca78f9c49d78bb39d88a49a3e226074', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
361
+ return (index$1.h(index$1.Host, { key: 'ad8d9a15195becf87ba4a03e73a279ecee4d4b93', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
359
362
  }
360
363
  };
361
364
  ZDivider.style = stylesCss$a();
362
365
 
363
366
  const stylesCss$9 = () => `:host{display:inline;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}.icon-wrapper{position:relative;z-index:0;display:inline-block}svg:not([width]){width:var(--z-icon-width, 1.125rem)}svg:not([height]){height:var(--z-icon-height, 1.125rem)}.icon-wrapper svg.color-indicator{position:absolute;z-index:-1;bottom:0;left:0}`;
364
367
 
368
+ // https://regex101.com/r/ZnoZQ5/3
369
+ const ICON_NAME_SUFFIX_REGEX = /^(.+?)(-transparent)?(-filled|-button)?$/;
365
370
  const ZIcon = class {
366
371
  constructor(hostRef) {
367
372
  index$1.registerInstance(this, hostRef);
@@ -376,16 +381,49 @@ const ZIcon = class {
376
381
  }
377
382
  return index$1.h("polygon", { points: iconValue });
378
383
  }
384
+ get hasColorIndicator() {
385
+ return iconset.COLOR_INDICATOR_ICONS.includes(this.name);
386
+ }
387
+ get needsTransparentIndicator() {
388
+ var _a;
389
+ return ["transparent", "#ffffff00"].includes((_a = this.indicatorColor) === null || _a === void 0 ? void 0 : _a.toLowerCase());
390
+ }
391
+ /**
392
+ * For icons with a color indicator, if `indicatorColor` is set to transparent, use a specific icon version without the color indicator.
393
+ * Using the icon without the color indicator prevents visual ambiguity between a transparent indicator and one filled with the background color.
394
+ * @returns The name of the corresponding icon without the indicator, or the original icon name if no transparent version is needed or available.
395
+ */
396
+ getTransparentIndicatorIconIfNeeded() {
397
+ var _a;
398
+ const transparentIconName = (_a = this.name) === null || _a === void 0 ? void 0 : _a.replace(ICON_NAME_SUFFIX_REGEX, "$1-transparent$3");
399
+ if (!this.hasColorIndicator || !this.needsTransparentIndicator || !iconset.ICONS[transparentIconName]) {
400
+ return this.name;
401
+ }
402
+ return transparentIconName;
403
+ }
404
+ /**
405
+ * Render the icon with the color indicator.
406
+ * The indicator is rendered as a separate SVG element behind the main icon, filled with the `indicatorColor`.
407
+ */
408
+ renderColorIndicator() {
409
+ return (index$1.h("svg", { class: "color-indicator", fill: this.indicatorColor || "#FFFFFF00", viewBox: "0 0 1000 1000", width: this.width, height: this.height, "aria-hidden": "true" }, this.selectPathOrPolygon(iconset.ICONS["picker-color"])));
410
+ }
379
411
  renderBaseIcon() {
380
- return (index$1.h("svg", { id: this.iconid || undefined, fill: this.fill ? `var(--${this.fill})` : undefined, viewBox: "0 0 1000 1000", width: this.width, height: this.height }, this.selectPathOrPolygon(iconset.ICONS[this.name])));
412
+ return (index$1.h("svg", { id: this.iconid || undefined, fill: this.fill ? `var(--${this.fill})` : undefined, viewBox: "0 0 1000 1000", width: this.width, height: this.height, "aria-hidden": "true" }, this.selectPathOrPolygon(iconset.ICONS[this.getTransparentIndicatorIconIfNeeded()])));
381
413
  }
382
414
  render() {
383
- return (index$1.h(index$1.Host, { key: '65da13cefdf22f1935d9e1dbc171522955b24f1b', "aria-hidden": "true" }, iconset.COLOR_INDICATOR_ICONS.includes(this.name) ? (index$1.h("div", { class: "icon-wrapper" }, index$1.h("svg", { class: "color-indicator", fill: this.indicatorColor || "#FFFFFF00", viewBox: "0 0 1000 1000", width: this.width, height: this.height }, this.selectPathOrPolygon(iconset.ICONS["picker-color"])), this.renderBaseIcon())) : (this.renderBaseIcon())));
415
+ return (index$1.h(index$1.Host, { key: 'a25f6701cc68dc9fbf9d14b4e8747d4ead9ee44b', "aria-hidden": "true" }, this.hasColorIndicator && !this.needsTransparentIndicator ? (index$1.h("div", { class: "icon-wrapper" }, this.renderColorIndicator(), this.renderBaseIcon())) : (this.renderBaseIcon())));
384
416
  }
385
417
  };
386
418
  ZIcon.style = stylesCss$9();
387
419
 
388
- const stylesCss$8 = () => `.sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}input[type="search"].sc-z-input::-webkit-search-decoration,input[type="search"].sc-z-input::-webkit-search-cancel-button,input[type="search"].sc-z-input::-webkit-search-results-button,input[type="search"].sc-z-input::-webkit-search-results-decoration{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly="true"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}[disabled].sc-z-input-h:not([disabled="false"]) label.z-label.sc-z-input{color:var(--color-disabled03)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5)}.textarea-wrapper.sc-z-input:not(.input-error,.input-success.sc-z-input,.input-warning).sc-z-input{background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-default-text);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled03)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}`;
420
+ const stylesGeneralCss = () => `.sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}input[type="search"].sc-z-input::-webkit-search-decoration,input[type="search"].sc-z-input::-webkit-search-cancel-button,input[type="search"].sc-z-input::-webkit-search-results-button,input[type="search"].sc-z-input::-webkit-search-results-decoration{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly="true"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}[disabled].sc-z-input-h:not([disabled="false"]) label.z-label.sc-z-input{color:var(--color-disabled03)}`;
421
+
422
+ const stylesTextCss = () => `.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{display:flex;min-width:24px;min-height:24px;align-items:center;justify-content:center;cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}`;
423
+
424
+ const stylesTextareaCss = () => `.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5)}.textarea-wrapper.sc-z-input:not(.input-error,.input-success.sc-z-input,.input-warning).sc-z-input{background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}`;
425
+
426
+ const stylesCheckboxRadioCss = () => `.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-default-text);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;min-height:24px;align-items:center;padding:3px 0;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled03)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}`;
389
427
 
390
428
  const ZInput = class {
391
429
  constructor(hostRef) {
@@ -537,16 +575,16 @@ const ZInput = class {
537
575
  pattern: this.pattern,
538
576
  };
539
577
  }
540
- getRoleAttribute() {
541
- return this.role ? { role: this.role } : {};
542
- }
543
578
  inputHasMessage() {
544
579
  if (utils.boolean(this.message) === false || utils.boolean(this.message) === true) {
545
580
  return false;
546
581
  }
547
582
  return true;
548
583
  }
549
- getAriaAttrubutes() {
584
+ getAriaAttributes() {
585
+ return Object.assign(Object.assign(Object.assign({}, (this.role ? { role: this.role } : {})), (this.htmlAriaDescribedBy ? { "aria-describedby": this.htmlAriaDescribedBy } : {})), (this.htmlAriaLabelledby ? { "aria-labelledby": this.htmlAriaLabelledby } : {}));
586
+ }
587
+ getTextAriaAttributes() {
550
588
  const expanded = this.htmlAriaExpanded ? { "aria-expanded": this.htmlAriaExpanded } : {};
551
589
  const controls = this.htmlAriaControls ? { "aria-controls": this.htmlAriaControls } : {};
552
590
  const autocomplete = this.htmlAriaAutocomplete ? { "aria-autocomplete": this.htmlAriaAutocomplete } : {};
@@ -557,7 +595,7 @@ const ZInput = class {
557
595
  ? { "aria-describedby": this.htmlAriaDescribedBy || `${this.htmlid}-message` }
558
596
  : {};
559
597
  const ariaInvalid = this.status === index.InputStatus.ERROR ? { "aria-invalid": "true" } : {};
560
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, expanded), controls), autocomplete), activedescendant), ariaDescribedby), ariaInvalid);
598
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getAriaAttributes()), expanded), controls), autocomplete), activedescendant), ariaDescribedby), ariaInvalid);
561
599
  }
562
600
  getFocusBlurAttributes() {
563
601
  return {
@@ -567,7 +605,7 @@ const ZInput = class {
567
605
  }
568
606
  renderInputText(type = index.InputType.TEXT) {
569
607
  const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
570
- 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());
608
+ 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());
571
609
  if (this.icon || type === index.InputType.PASSWORD) {
572
610
  Object.assign(attr.class, { "has-icon": true });
573
611
  }
@@ -602,6 +640,7 @@ const ZInput = class {
602
640
  return (index$1.h("button", { type: "button", class: { "reset-icon": true, "input-icon": true, hidden }, "aria-label": "cancella il contenuto dell'input", onClick: () => {
603
641
  this.inputRef.value = "";
604
642
  this.emitInputChange("");
643
+ this.inputRef.focus();
605
644
  } }, index$1.h("z-icon", { name: "multiply", class: this.size })));
606
645
  }
607
646
  renderShowHidePassword() {
@@ -617,8 +656,8 @@ const ZInput = class {
617
656
  /* START textarea */
618
657
  renderTextarea() {
619
658
  const attributes = this.getTextAttributes();
620
- const ariaAttributes = this.getAriaAttrubutes();
621
- return (index$1.h(index$1.Fragment, null, this.renderLabel(), index$1.h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": !!attributes.readonly }) }, index$1.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()));
659
+ const ariaAttributes = this.getTextAriaAttributes();
660
+ return (index$1.h(index$1.Fragment, null, this.renderLabel(), index$1.h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": !!attributes.readonly }) }, index$1.h("textarea", Object.assign({}, attributes, ariaAttributes, { class: Object.assign(Object.assign({}, attributes.class), { "z-scrollbar": true }), "aria-label": this.ariaLabel || undefined }))), this.renderMessage()));
622
661
  }
623
662
  /* END textarea */
624
663
  handleCheck(ev) {
@@ -627,7 +666,7 @@ const ZInput = class {
627
666
  }
628
667
  /* START checkbox */
629
668
  renderCheckbox() {
630
- return (index$1.h("div", { class: "checkbox-wrapper" }, index$1.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())), index$1.h("label", { htmlFor: this.htmlid, class: {
669
+ return (index$1.h("div", { class: "checkbox-wrapper" }, index$1.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())), index$1.h("label", { htmlFor: this.htmlid, class: {
631
670
  "checkbox-label": true,
632
671
  "after": this.labelPosition === index.LabelPosition.RIGHT,
633
672
  "before": this.labelPosition === index.LabelPosition.LEFT,
@@ -636,7 +675,7 @@ const ZInput = class {
636
675
  /* END checkbox */
637
676
  /* START radio */
638
677
  renderRadio() {
639
- return (index$1.h("div", { class: "radio-wrapper" }, index$1.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())), index$1.h("label", { htmlFor: this.htmlid, class: {
678
+ return (index$1.h("div", { class: "radio-wrapper" }, index$1.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())), index$1.h("label", { htmlFor: this.htmlid, class: {
640
679
  "radio-label": true,
641
680
  "after": this.labelPosition === index.LabelPosition.RIGHT,
642
681
  "before": this.labelPosition === index.LabelPosition.LEFT,
@@ -658,13 +697,13 @@ const ZInput = class {
658
697
  default:
659
698
  input = this.renderInputText(this.type);
660
699
  }
661
- return index$1.h(index$1.Host, { key: 'e3f830979b2d6306b19c5a0357ca48b42d142a74' }, input);
700
+ return index$1.h(index$1.Host, { key: '2536f6387f2325190522fc8cc4f788147bead800' }, input);
662
701
  }
663
702
  get hostElement() { return index$1.getElement(this); }
664
703
  };
665
- ZInput.style = stylesCss$8();
704
+ ZInput.style = stylesGeneralCss() + (stylesTextCss() + (stylesTextareaCss() + stylesCheckboxRadioCss()));
666
705
 
667
- const stylesCss$7 = () => `:host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-hover-success)}:host([status="error"]){color:var(--color-hover-error)}:host([status="warning"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}`;
706
+ const stylesCss$8 = () => `:host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-hover-success)}:host([status="error"]){color:var(--color-hover-error)}:host([status="warning"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}`;
668
707
 
669
708
  const ZInputMessage = class {
670
709
  constructor(hostRef) {
@@ -687,7 +726,7 @@ const ZInputMessage = class {
687
726
  this.onMessageChange();
688
727
  }
689
728
  render() {
690
- return (index$1.h(index$1.Host, Object.assign({ key: '2a344b237779b36f3c6fcbd41d1b96c71c08d286' }, this.statusRole), this.statusIcons[this.status] && this.message && index$1.h("z-icon", { key: 'dbd6314657659bc49619393ae30a1fbfd8051635', name: this.statusIcons[this.status] }), index$1.h("span", { key: 'fe39967aedc46a55bff2719881f793d0c0e9283b', id: this.htmlId, innerHTML: this.message })));
729
+ return (index$1.h(index$1.Host, Object.assign({ key: '575ca29cba9f2d617b8b2c65bb054204e7aa411c' }, this.statusRole), this.statusIcons[this.status] && this.message && index$1.h("z-icon", { key: '6b9a19626fac468cdf5773aebd66cba90489eaa3', name: this.statusIcons[this.status] }), index$1.h("span", { key: 'c951a0146f5fe8def8428aee39ce923b24aa23bb', id: this.htmlId, innerHTML: this.message })));
691
730
  }
692
731
  static get watchers() { return {
693
732
  "message": [{
@@ -701,9 +740,9 @@ const ZInputMessage = class {
701
740
  }]
702
741
  }; }
703
742
  };
704
- ZInputMessage.style = stylesCss$7();
743
+ ZInputMessage.style = stylesCss$8();
705
744
 
706
- const stylesCss$6 = () => `:host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}`;
745
+ const stylesCss$7 = () => `:host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}`;
707
746
 
708
747
  const ZList = class {
709
748
  constructor(hostRef) {
@@ -733,13 +772,13 @@ const ZList = class {
733
772
  this.setChildrenSizeType();
734
773
  }
735
774
  render() {
736
- return (index$1.h(index$1.Host, { key: 'f34729eb14ef690bf0aeb7da4b406e955a66fbf7' }, index$1.h("slot", { key: '82b4a9c72937797bb8f7e4141f7a4c609908c702' })));
775
+ return (index$1.h(index$1.Host, { key: '2aac86dccac20cc21ec7c1341a99298f8523af49' }, index$1.h("slot", { key: '207231c63243efcd61917a9b4aa3394e22379bbd' })));
737
776
  }
738
777
  get host() { return index$1.getElement(this); }
739
778
  };
740
- ZList.style = stylesCss$6();
779
+ ZList.style = stylesCss$7();
741
780
 
742
- const stylesCss$5 = () => `:host{outline:none}:host>.container{display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;background-color:var(--background-color-list-element, var(--color-surface01));font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="medium"])>.tree-element-container{padding-top:0;padding-bottom:0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([clickable])>.container{cursor:pointer}:host([expandable]:hover)>.container,:host([clickable]:hover)>.container{background-color:var(--background-hover-color-list-element, var(--color-background))}:host([expandable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container{position:relative;z-index:1;box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([clickable]:active)>.container{background-color:var(--background-active-color-list-element, var(--color-background))}:host([align-button="left"][expandable])>.container>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded{display:block}.z-list-content-container{display:flex;align-items:center}:host .z-tree-list-divider{position:absolute;z-index:100;left:0}:host([disabled])>.container{color:var(--color-form-disabled03);cursor:default}`;
781
+ const stylesCss$6 = () => `:host{outline:none}:host>.container{display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;background-color:var(--background-color-list-element, var(--color-surface01));font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="medium"])>.tree-element-container{padding-top:0;padding-bottom:0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([clickable])>.container{cursor:pointer}:host([expandable]:hover)>.container,:host([clickable]:hover)>.container{background-color:var(--background-hover-color-list-element, var(--color-background))}:host([expandable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container{position:relative;z-index:1;box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([clickable]:active)>.container{background-color:var(--background-active-color-list-element, var(--color-background))}:host([align-button="left"][expandable])>.container>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded{display:block}.z-list-content-container{display:flex;align-items:center}:host .z-tree-list-divider{position:absolute;z-index:100;left:0}:host([disabled])>.container{color:var(--color-form-disabled03);cursor:default}`;
743
782
 
744
783
  const ZListElement = class {
745
784
  accessibleFocusHandler(e) {
@@ -900,13 +939,13 @@ const ZListElement = class {
900
939
  }
901
940
  }
902
941
  render() {
903
- return (index$1.h(index$1.Host, { key: '565d88705b517e78e6b9c05f5923903704472751', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.role }, index$1.h("div", { key: '6a1ccb7af0b9455e52e4b0b7699722a2f2e98f01', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, index$1.h("div", { key: '64a7d40c04afdb7cd9fc1f090926d7de10341ef4', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === index.ListDividerType.ELEMENT && (index$1.h("z-divider", { key: 'e781e6f655bd4a7d0987fef33d8b426caa7ed0aa', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
942
+ return (index$1.h(index$1.Host, { key: '9a06293fba7e3b74fe169d1d3e927a4abd7b17f1', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.role }, index$1.h("div", { key: 'c962c30a71313bd84b1075ad03a96e4b5de77a42', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, index$1.h("div", { key: 'ccca86019dec23767ae7bcf5af988c7f2366d850', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === index.ListDividerType.ELEMENT && (index$1.h("z-divider", { key: 'f8f1b6053d0fe0415b520c4f1deaba92e24019b8', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
904
943
  }
905
944
  get host() { return index$1.getElement(this); }
906
945
  };
907
- ZListElement.style = stylesCss$5();
946
+ ZListElement.style = stylesCss$6();
908
947
 
909
- const stylesCss$4 = () => `:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}:host>.grouped-tree-list-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}`;
948
+ const stylesCss$5 = () => `:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}:host>.grouped-tree-list-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}`;
910
949
 
911
950
  const ZListGroup = class {
912
951
  constructor(hostRef) {
@@ -953,17 +992,17 @@ const ZListGroup = class {
953
992
  this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
954
993
  }
955
994
  render() {
956
- return (index$1.h(index$1.Host, { key: 'a2b30a3071d35ba28d8e485ff92a88e537a85290' }, index$1.h("div", { key: '528f17bfa6de4ccb252e86ec424b388f3d6d4ff0', class: {
995
+ return (index$1.h(index$1.Host, { key: 'cd9bd738252e44011edad7b468ad711a2ef83f12' }, index$1.h("div", { key: 'd2c2e41d50b4884b438ae7b25e9e2b06260df6ac', class: {
957
996
  "z-list-group-header-container": true,
958
997
  "has-header": this.hasHeader && !this.hasTreeItems,
959
998
  "grouped-tree-list-header": this.hasTreeItems,
960
- } }, index$1.h("slot", { key: '318ed932865eef9943a0f7ff7ae87e02a2ce968e', name: "header-title" }), this.dividerType === index.ListDividerType.HEADER && (index$1.h("z-divider", { key: '3d6d1ea46c42420c86b4f5f22bf5d5bcb1c5268f', color: this.dividerColor, size: this.dividerSize }))), index$1.h("slot", { key: 'f02a9b862b895d421be12ba4eb9625269f086e03' })));
999
+ } }, index$1.h("slot", { key: 'c47a8ea2508c87bbd0688248dcae0350d159350a', name: "header-title" }), this.dividerType === index.ListDividerType.HEADER && (index$1.h("z-divider", { key: 'c0586eee517b42aaf76507286bd086abaecb8013', color: this.dividerColor, size: this.dividerSize }))), index$1.h("slot", { key: '5f558529f5de2f4b62403d239e8424eea6259fd3' })));
961
1000
  }
962
1001
  get host() { return index$1.getElement(this); }
963
1002
  };
964
- ZListGroup.style = stylesCss$4();
1003
+ ZListGroup.style = stylesCss$5();
965
1004
 
966
- const stylesCss$3 = () => `.sc-z-offcanvas-h{font-family:var(--font-family-sans);font-weight:var(--font-rg)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){overflow:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:hidden;min-width:100%;height:100%;background:var(--color-surface01);transform:translateX(0);transition:transform 0.4s ease-out}.sc-z-offcanvas-h>*.sc-z-offcanvas{position:fixed;top:var(--z-offcanvas--top-space, 0);right:0;bottom:0;left:0}[open].sc-z-offcanvas-h>*.sc-z-offcanvas{height:calc(100% - var(--z-offcanvas--top-space, 0px))}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(100%)}[open][transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[open][transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(0)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{top:auto;bottom:0;height:var(--z-offcanvas--container-height, 90%);transform:translateY(100%)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1001}[open][transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateY(0)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"])>.canvas-container.sc-z-offcanvas{position:relative;height:100%}[variant="pushcontent"].sc-z-offcanvas-h:not([open]){display:none}[skip-animation].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transition:none}.backdrop.sc-z-offcanvas{z-index:1000;width:100%;height:100%;background-color:var(--gray900);opacity:0;pointer-events:none;transition:opacity 0.4s ease-out}[open].sc-z-offcanvas-h>.backdrop.sc-z-offcanvas{opacity:0.7;pointer-events:unset}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:hidden auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}@media (min-width: 768px){[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){flex:none}.canvas-container.sc-z-offcanvas{width:var(--z-offcanvas--container-width, 375px);min-width:var(--z-offcanvas--container-width, 375px)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{width:100%}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:auto;left:0}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:0;left:auto}}`;
1005
+ const stylesCss$4 = () => `.sc-z-offcanvas-h{font-family:var(--font-family-sans);font-weight:var(--font-rg)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){overflow:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:hidden;min-width:100%;height:100%;background:var(--color-surface01);transform:translateX(0);transition:transform 0.4s ease-out}.sc-z-offcanvas-h>*.sc-z-offcanvas{position:fixed;top:var(--z-offcanvas--top-space, 0);right:0;bottom:0;left:0}[open].sc-z-offcanvas-h>*.sc-z-offcanvas{height:calc(100% - var(--z-offcanvas--top-space, 0px))}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(100%)}[open][transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[open][transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(0)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{top:auto;bottom:0;height:var(--z-offcanvas--container-height, 90%);transform:translateY(100%)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1001}[open][transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateY(0)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"])>.canvas-container.sc-z-offcanvas{position:relative;height:100%}[variant="pushcontent"].sc-z-offcanvas-h:not([open]){display:none}[skip-animation].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transition:none}.backdrop.sc-z-offcanvas{z-index:1000;width:100%;height:100%;background-color:var(--gray900);opacity:0;pointer-events:none;transition:opacity 0.4s ease-out}[open].sc-z-offcanvas-h>.backdrop.sc-z-offcanvas{opacity:0.7;pointer-events:unset}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:hidden auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}@media (min-width: 768px){[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){flex:none}.canvas-container.sc-z-offcanvas{width:var(--z-offcanvas--container-width, 375px);min-width:var(--z-offcanvas--container-width, 375px)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{width:100%}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:auto;left:0}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:0;left:auto}}`;
967
1006
 
968
1007
  const ZOffcanvas = class {
969
1008
  constructor(hostRef) {
@@ -1120,8 +1159,8 @@ const ZOffcanvas = class {
1120
1159
  this.open = false;
1121
1160
  }
1122
1161
  render() {
1123
- return (index$1.h(index$1.Host, { key: '4a7d050590730574ccb25ecd1f93032fac113549', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, index$1.h("div", { key: '4507bf74ea9c8b097173ed048cd52af0704b8fb6', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, index$1.h("div", { key: '79c69732bcdf90d5dc25713bdec66034b595f75d', class: "canvas-content z-scrollbar", role: "presentation", ref: (el) => (this.canvasContent = el) }, index$1.h("slot", { key: 'f133b7048d147138f4db154f2591070b5c74bd8a', name: "canvasContent" }))), (this.variant == index.OffCanvasVariant.OVERLAY || this.transitiondirection === index.TransitionDirection.UP) &&
1124
- this.showBackdrop && (index$1.h("div", { key: '885eeed8b2ebd31467366f208c5f66eace44ad0c', class: "backdrop", onClick: () => (this.open = false) }))));
1162
+ return (index$1.h(index$1.Host, { key: '8775a7fea17fac8ddcf69a1a1001b69aa1d29ae7', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, index$1.h("div", { key: '4ca1eae5425dc05fe71d1bc171481ad22b90d0b7', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, index$1.h("div", { key: 'b22cbee1928706351f03099ab860957403f529a7', class: "canvas-content z-scrollbar", role: "presentation", ref: (el) => (this.canvasContent = el) }, index$1.h("slot", { key: '96e1701e1e400dbe09c7625debcb79ec06fe91fb', name: "canvasContent" }))), (this.variant == index.OffCanvasVariant.OVERLAY || this.transitiondirection === index.TransitionDirection.UP) &&
1163
+ this.showBackdrop && (index$1.h("div", { key: 'bf842940be8987308e745bdda6b9254171045a62', class: "backdrop", onClick: () => (this.open = false) }))));
1125
1164
  }
1126
1165
  static get watchers() { return {
1127
1166
  "variant": [{
@@ -1132,11 +1171,15 @@ const ZOffcanvas = class {
1132
1171
  }]
1133
1172
  }; }
1134
1173
  };
1135
- ZOffcanvas.style = stylesCss$3();
1174
+ ZOffcanvas.style = stylesCss$4();
1136
1175
 
1137
- const stylesCss$2 = () => `:host{--z-searchbar-tag-text-color:var(--color-primary03);--z-searchbar-tag-bg:var(--color-hover-primary);--z-searchbar-item-height:44px;z-index:15;display:flex;column-gap:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}:host::part(list-item-container){display:block;min-height:unset;padding:0}.input-container{position:relative;display:flex;width:100%;flex-direction:column}.results-wrapper{position:absolute;top:calc(100% - 1px);left:0;width:100%;padding:calc(var(--space-unit) / 4);border:var(--border-size-small) solid var(--color-surface03);border-top:none;background:var(--color-surface01)}.results{overflow:auto;max-height:var(--z-searchbar-results-height, 540px);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 1.5)}.results::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}.results::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}.results::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}@supports not selector(.results::-webkit-scrollbar-track){.results{scrollbar-color:var(--color-primary01) transparent}}.results .category-heading{display:block;font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:var(--font-size-3)}.results .category-heading>*{display:block}.results .category-heading>.category{color:var(--color-text05);font-style:italic}.results .category-heading>.subcategory{margin-top:var(--space-unit);color:var(--color-default-text);text-transform:uppercase}.results z-list-element{position:relative;display:block}z-list-element>.item-search{padding:var(--space-unit) 0}z-list z-list-element::before{position:absolute;z-index:100;top:5px;left:-20px;width:8px;height:1em;border-bottom:1px solid var(--color-disabled01-icon);border-left:1px solid var(--color-disabled01-icon);content:"";cursor:pointer}z-list z-list-element::after{position:absolute;z-index:100;top:5px;left:-20px;width:8px;height:100%;border-left:1px solid var(--color-disabled01-icon);content:"";cursor:pointer}z-list z-list-element:last-child::after{display:none}z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 3)}.results z-list-element>.list-element{display:flex;justify-content:space-between;padding:calc(var(--space-unit) * 1.25) 0;cursor:pointer}.results z-list-element>.list-element:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.results z-list-element>.list-element .item.ellipsis{overflow:hidden}.results z-list-element .list-element::after{position:absolute;top:0;right:0;display:block;width:100%;height:44px;content:"";transform:translateX(-100%)}.results z-list-element .list-element.focused.hovered::after{padding-left:6px}.results z-list-element>.list-element:hover,.results z-list-element>.list-element:hover::after{background-color:var(--color-background);cursor:pointer}.results z-list-element>.list-element>z-tag{border:1px solid var(--gray800);font-size:var(--font-size-1);font-weight:var(--font-sb);--z-tag-bg:var(--z-searchbar-tag-bg);--z-tag-text-color:var(--z-searchbar-tag-text-color)}.results .item{--z-icon-height:12px;--z-icon-width:12px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;color:var(--color-default-text);column-gap:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon);font-size:var(--font-size-2);line-height:var(--font-size-6)}.results .item.ellipsis>.item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .item>.item-label mark{background:var(--color-primary03)}.results .item.item-search{--z-icon-height:16px;--z-icon-width:16px}.results .item-show-all{text-align:center}.results .item-no-results{display:block;font-size:var(--font-size-2);font-style:italic;line-height:var(--font-size-5)}.results .item-no-results>ul{padding-left:calc(var(--space-unit) * 2);margin:var(--space-unit)}@media (min-width: 768px){.results .category-heading{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item.item-search{--z-icon-height:18px;--z-icon-width:18px}.results .item.ellipsis>.item-label{height:1.5rem}.results z-list-element>.list-element>z-tag{min-width:max-content}}@media (min-width: 1152px){.results .item{cursor:pointer}.results .item-no-results{cursor:default;font-size:var(--font-size-3);line-height:var(--font-size-6)}}:host([size="small"]) .results :is(.item,.category-heading),:host([size="x-small"]) .results :is(.item,.category-heading){font-size:var(--font-size-2)}:host([size="small"]) .results .item:not(.has-category),:host([size="x-small"]) .results .item:not(.has-category){--z-icon-height:16px;--z-icon-width:16px}:host([size="small"]) z-list-element>.list-element,:host([size="small"]) z-list-element>.item-search{padding:calc(var(--space-unit) * 0.75) 0}:host([size="x-small"]) z-list-element>.list-element,:host([size="x-small"]) z-list-element>.item-search{padding:calc(var(--space-unit) / 2) 0}:host([size="small"]) z-list-element .list-element::after{height:36px}:host([size="x-small"]) z-list-element .list-element::after{height:32px}`;
1176
+ const stylesCss$3 = () => `:host{--z-searchbar-tag-text-color:var(--color-primary03);--z-searchbar-tag-bg:var(--color-hover-primary);--z-searchbar-item-height:2.75rem;z-index:15;display:flex;column-gap:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*,::after,::before{box-sizing:border-box}.input-container{position:relative;display:flex;width:100%;flex-direction:column}.input-container z-input{z-index:1}.results{--item-icon-size:1rem;--z-icon-height:var(--item-icon-size);--z-icon-width:var(--item-icon-size);--item-inline-padding:calc(var(--space-unit) * 1.5);--item-col-gap:var(--space-unit);position:absolute;top:calc(100% - 1px);left:0;overflow:auto;width:100%;max-height:var(--z-searchbar-results-height, 540px);border:var(--border-size-small) solid var(--color-form-surface03);border-top:none;background:var(--color-form-background)}.results z-list-element{--background-color-list-element:var(--color-form-background);position:relative;display:block}.results>z-list>z-list-element::part(list-item-container){padding:0 var(--item-inline-padding)}.results z-list-element>.list-item{position:relative;display:flex;align-items:center;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) / 4);background-color:transparent;color:var(--color-form-default-text);fill:var(--color-form-default-icon);gap:var(--item-col-gap)}.results z-list-element>.list-item:hover{background-color:var(--gray100);cursor:pointer}.results z-list-element>.list-item:focus-visible{z-index:1;box-shadow:var(--shadow-focus-primary);outline:none}.results>z-list>z-list-element:not(:last-child)>.list-item,.results z-list-group:not(:last-child)>z-list-element:not(.category-heading){border-bottom:1px solid var(--color-form-surface03)}.results z-list-group{padding:0 var(--item-inline-padding)}.results z-list-group>z-list-element::part(list-item-container){padding:0}.results .sub-list{padding-left:calc(var(--item-icon-size) + var(--item-col-gap))}.results .sub-list z-list-element::part(list-item-container){padding:0}.results .sub-list z-list-element>.list-item{position:relative}.results .sub-list>z-list-element:not(:last-child)::before,.results .sub-list>z-list-element>.list-item::before{position:absolute;top:0;left:calc(0px - var(--item-col-gap) - var(--item-icon-size) / 2 + 1px);border-left:1px solid var(--color-form-surface03);content:""}.results .sub-list>z-list-element:not(:last-child)::before{top:-4px;height:calc(100% + 4px)}.results .sub-list z-list-element>.list-item::before{width:14px;height:calc(var(--z-searchbar-item-height) / 2);border-bottom:1px solid var(--color-form-surface03)}.results .category-heading>.category{font-style:italic}.results .category-heading>.subcategory{text-transform:uppercase}.results z-list-element>.list-item .ellipsis{overflow:hidden}.results .ellipsis>.item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .item-label mark{background:var(--color-primary03);color:var(--color-default-text)}.results .list-item>z-tag{--z-tag-bg:var(--z-searchbar-tag-bg);--z-tag-text-color:var(--z-searchbar-tag-text-color);margin-left:auto;white-space:nowrap}.results .item-show-all{width:100%;color:var(--color-primary01);cursor:pointer;text-align:center}.results .item-no-results{display:block;font-style:italic}.results .item-no-results>ul{padding-left:calc(var(--space-unit) * 2);margin:var(--space-unit)}@media (min-width: 768px){.results{--item-icon-size:1.125rem}}`;
1138
1177
 
1139
- const stylesCss$1 = () => `.z-label{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}`;
1178
+ const stylesCss$2 = () => `.z-label{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}`;
1179
+
1180
+ const stylesCss$1 = () => `.z-scrollbar::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}.z-scrollbar::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}.z-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}:host([theme="dark"]) .z-scrollbar,.z-scrollbar--dark{--z-scrollbar-track-gradient:linear-gradient( to right, transparent 0 1px, var(--gray600) 1px 5px, transparent 5px 6px );--z-scrollbar-track-color:var(--gray600);--z-scrollbar-thumb-color:var(--color-primary03);--z-scrollbar-thumb-hover-color:var(--color-hover-primary);--z-scrollbar-corner-color:transparent}@supports not selector(.z-scrollbar::-webkit-scrollbar-track){.z-scrollbar{scrollbar-color:var(--color-primary01) transparent}:host([theme="dark"]) .z-scrollbar,.z-scrollbar--dark{scrollbar-color:var(--z-scrollbar-thumb-color, var(--color-primary03)) var(--z-scrollbar-track-color, var(--gray600))}}`;
1181
+
1182
+ const typographyCss = () => `:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}`;
1140
1183
 
1141
1184
  const ZSearchbar = class {
1142
1185
  constructor(hostRef) {
@@ -1144,7 +1187,7 @@ const ZSearchbar = class {
1144
1187
  this.searchSubmit = index$1.createEvent(this, "searchSubmit", 7);
1145
1188
  this.searchTyping = index$1.createEvent(this, "searchTyping", 7);
1146
1189
  this.searchItemClick = index$1.createEvent(this, "searchItemClick", 7);
1147
- /** the id of the searchbar element */
1190
+ /** The id of the searchbar element */
1148
1191
  this.htmlid = `searchbar-${utils.randomId()}`;
1149
1192
  /** Prevent submit action */
1150
1193
  this.preventSubmit = false;
@@ -1158,30 +1201,28 @@ const ZSearchbar = class {
1158
1201
  this.sortResultsItems = false;
1159
1202
  /** Show submit button */
1160
1203
  this.showSearchButton = false;
1161
- /** Set button icon without label*/
1204
+ /** Hide the label of the submit button, showing only the icon */
1162
1205
  this.searchButtonIconOnly = false;
1163
- /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
1206
+ /** The label of the submit button */
1207
+ this.searchButtonLabel = "CERCA";
1208
+ /** Size of the `z-input` and submit `z-button` */
1164
1209
  this.size = index.ControlSize.BIG;
1165
- /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
1210
+ /** Submit `z-button` variant */
1166
1211
  this.variant = index.ButtonVariant.PRIMARY;
1167
1212
  this.searchString = this.value;
1168
- this.currResultsCount = 0;
1213
+ this.currResultsCount = this.resultsCount;
1169
1214
  this.showResults = false;
1170
1215
  this.isMobile = false;
1171
1216
  this.resultsItemsList = null;
1172
- this.items = [];
1173
- }
1174
- emitSearchSubmit() {
1175
- this.searchSubmit.emit(this.inputRef.value);
1176
- }
1177
- emitSearchTyping(search) {
1178
- this.searchTyping.emit(search);
1179
1217
  }
1180
1218
  emitSearchItemClick(item) {
1181
1219
  this.searchItemClick.emit(item);
1182
1220
  this.selectedItem = item;
1183
1221
  this.searchString = "";
1184
1222
  }
1223
+ emitSearchSubmit() {
1224
+ this.searchSubmit.emit(this.inputRef.value);
1225
+ }
1185
1226
  watchItems() {
1186
1227
  this.resultsItemsList = this.getResultsItemsList();
1187
1228
  }
@@ -1192,42 +1233,17 @@ const ZSearchbar = class {
1192
1233
  this.searchString = this.value;
1193
1234
  }
1194
1235
  watchSearchString() {
1195
- this.emitSearchTyping(this.searchString);
1196
- this.items = [];
1236
+ this.searchTyping.emit(this.searchString);
1197
1237
  if (!this.searchString) {
1198
1238
  this.currResultsCount = this.resultsCount;
1199
1239
  }
1200
1240
  }
1201
- watchShowResults() {
1202
- if (!this.showResults) {
1203
- this.items = [];
1204
- }
1205
- }
1206
- disconnectedCallback() {
1207
- var _a;
1208
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
1209
- }
1210
- componentDidLoad() {
1211
- this.resizeObserver = new ResizeObserver(() => {
1212
- if (utils.getDevice() === index.Device.MOBILE && !this.isMobile) {
1213
- this.isMobile = true;
1214
- }
1215
- if (utils.getDevice() !== index.Device.MOBILE && this.isMobile) {
1216
- this.isMobile = false;
1217
- }
1218
- });
1219
- this.resizeObserver.observe(this.element);
1220
- }
1221
- componentWillLoad() {
1222
- this.resultsItemsList = this.getResultsItemsList();
1223
- this.currResultsCount = this.resultsCount;
1224
- }
1225
1241
  getResultsItemsList() {
1226
1242
  return typeof this.resultsItems === "string" ? JSON.parse(this.resultsItems) : this.resultsItems;
1227
1243
  }
1228
- getGroupedItems(items) {
1244
+ getGroupedItems() {
1229
1245
  const groupedItems = {};
1230
- items.forEach((item) => {
1246
+ this.resultsItemsList.forEach((item) => {
1231
1247
  var _a;
1232
1248
  const key = `${item === null || item === void 0 ? void 0 : item.category}${item === null || item === void 0 ? void 0 : item.subcategory}`;
1233
1249
  groupedItems[key] = (_a = groupedItems[key]) !== null && _a !== void 0 ? _a : {
@@ -1257,148 +1273,77 @@ const ZSearchbar = class {
1257
1273
  }
1258
1274
  return groupedItems;
1259
1275
  }
1260
- checkResultsCount(counter) {
1261
- if (!this.currResultsCount || counter < this.currResultsCount) {
1262
- return true;
1263
- }
1264
- return false;
1265
- }
1266
- handleStopTyping(e) {
1267
- e.stopPropagation();
1268
- this.searchString = e.detail.value;
1269
- if (this.selectedItem) {
1270
- this.selectedItem = undefined;
1271
- }
1272
- }
1273
- handleSubmit() {
1274
- if (this.preventSubmit) {
1276
+ onListItemKeyDown(e, item) {
1277
+ if (e.key === index.KeyboardCode.ENTER) {
1278
+ e.preventDefault();
1279
+ this.emitSearchItemClick(item);
1275
1280
  return;
1276
1281
  }
1277
- this.emitSearchSubmit();
1282
+ this.handleArrowsNavigation(e);
1278
1283
  }
1279
- handleOutsideClick(e) {
1280
- const cp = e.composedPath();
1281
- const searchbar = cp.find((elem) => elem.nodeName === "Z-SEARCHBAR");
1282
- if (!searchbar || searchbar.htmlid !== this.htmlid) {
1283
- this.showResults = false;
1284
- return;
1285
- }
1286
- if (cp.find((elem) => { var _a; return (elem === null || elem === void 0 ? void 0 : elem.nodeName) === "Z-INPUT" || ((_a = elem === null || elem === void 0 ? void 0 : elem.classList) === null || _a === void 0 ? void 0 : _a.contains("results")); })) {
1287
- this.showResults = true;
1284
+ onSearchHelperKeyDown(e) {
1285
+ if (e.key === index.KeyboardCode.ENTER) {
1286
+ e.preventDefault();
1287
+ this.emitSearchSubmit();
1288
1288
  return;
1289
1289
  }
1290
- this.showResults = false;
1291
- }
1292
- renderInput() {
1293
- var _a;
1294
- return (index$1.h("z-input", { ref: (val) => {
1295
- this.inputRef = val;
1296
- }, htmlid: `input-${this.htmlid}`, message: false, placeholder: this.placeholder, onStopTyping: (e) => this.handleStopTyping(e), onKeyUp: (e) => {
1297
- utils.handleEnterKeydSubmit(e, () => this.handleSubmit());
1298
- this.handleArrowsNavigation(e);
1299
- }, value: this.searchString || ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.label), size: this.size, label: this.label, "aria-label": this.htmlAriaLabel || this.placeholder }));
1300
- }
1301
- renderButton() {
1302
- if (!this.showSearchButton) {
1303
- return null;
1304
- }
1305
- const iconProp = this.searchButtonIconOnly ? { icon: "search" } : null;
1306
- const buttonLabel = this.searchButtonIconOnly ? "" : "CERCA";
1307
- const ariaLabel = this.searchButtonIconOnly ? { "aria-label": "CERCA" } : null;
1308
- const defaultProps = Object.assign(Object.assign({ disabled: this.preventSubmit, variant: this.variant, size: this.size, onClick: () => this.handleSubmit() }, iconProp), ariaLabel);
1309
- return index$1.h("z-button", Object.assign({}, defaultProps), buttonLabel);
1310
- }
1311
- renderResults() {
1312
- if (!this.showResults ||
1313
- !this.autocomplete ||
1314
- !this.searchString ||
1315
- this.searchString.length < this.autocompleteMinChars ||
1316
- !this.resultsItemsList) {
1317
- return null;
1318
- }
1319
- return (index$1.h("div", { class: "results-wrapper" }, index$1.h("div", { class: "results" }, this.renderResultsList())));
1320
- }
1321
- renderResultsList() {
1322
- var _a, _b;
1323
- if (this.preventSubmit && !((_a = this.resultsItemsList) === null || _a === void 0 ? void 0 : _a.length)) {
1324
- return (index$1.h("span", { class: "item item-no-results" }, "Non abbiamo trovato risultati per ", index$1.h("b", null, this.searchString), index$1.h("br", null), index$1.h("br", null), "Cosa puoi fare?", index$1.h("ul", null, index$1.h("li", null, "Verificare di aver scritto bene"), index$1.h("li", null, "Provare a cercare un'altra parola"), index$1.h("li", null, "Provare a cercare qualcosa di pi\u00F9 generico"))));
1325
- }
1326
- return (index$1.h("z-list", { role: "listbox", id: `list-${this.htmlid}`, "aria-label": this.htmlAriaLabel || this.label }, this.renderSearchHelper(!!((_b = this.resultsItemsList) === null || _b === void 0 ? void 0 : _b.length)), this.renderItems(), this.renderShowAllResults()));
1327
- }
1328
- renderItems() {
1329
- var _a;
1330
- if (!((_a = this.resultsItemsList) === null || _a === void 0 ? void 0 : _a.length)) {
1331
- return [];
1332
- }
1333
- const groupedItems = this.getGroupedItems(this.resultsItemsList);
1334
- const listGroups = [];
1335
- let counter = 0;
1336
- Object.values(groupedItems).forEach((groupItem, index$2, array) => {
1337
- if (this.checkResultsCount(counter)) {
1338
- const listGroupsElements = [];
1339
- groupItem.items.forEach((item, subindex, subarray) => {
1340
- if (this.checkResultsCount(counter)) {
1341
- const isLast = index$2 === array.length - 1 && subindex === subarray.length - 1;
1342
- listGroupsElements.push(this.renderItem(item, subindex, !isLast));
1343
- }
1344
- counter++;
1345
- });
1346
- if (listGroupsElements.length) {
1347
- listGroups.push(index$1.h("z-list-group", { "divider-type": index.ListDividerType.ELEMENT }, this.renderItemCategory(groupItem), listGroupsElements));
1348
- }
1349
- }
1350
- });
1351
- return listGroups;
1290
+ this.handleArrowsNavigation(e);
1352
1291
  }
1353
1292
  handleArrowsNavigation(e) {
1354
- const currentElement = e.target;
1355
- const arrows = [index.KeyboardCode.ARROW_DOWN, index.KeyboardCode.ARROW_UP];
1356
- if (!arrows.includes(e.key)) {
1357
- e.preventDefault();
1293
+ var _a, _b, _c, _d, _e, _f;
1294
+ if (![index.KeyboardCode.ARROW_DOWN, index.KeyboardCode.ARROW_UP].includes(e.key)) {
1358
1295
  return;
1359
1296
  }
1360
- if (!this.items.length) {
1361
- const list = this.element.shadowRoot.querySelector("z-list");
1362
- if (!list) {
1363
- return;
1364
- }
1365
- this.items = Array.from(list.querySelectorAll(".list-element"));
1366
- }
1367
- this.items.forEach((item) => {
1368
- item.classList.toggle("focused", false);
1369
- });
1370
- const currentIndex = this.items.indexOf(currentElement);
1297
+ const currentElement = e.target;
1298
+ const items = Array.from((_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("z-list .list-item")) !== null && _b !== void 0 ? _b : []);
1299
+ const currentIndex = items.indexOf(currentElement);
1371
1300
  if (e.key === index.KeyboardCode.ARROW_DOWN) {
1372
1301
  e.preventDefault();
1373
1302
  const nextIndex = currentIndex + 1;
1374
- if (nextIndex < this.items.length) {
1375
- this.items[nextIndex].focus();
1376
- this.items[nextIndex].classList.add("focused");
1303
+ if (nextIndex < items.length) {
1304
+ items[nextIndex].focus();
1377
1305
  }
1378
1306
  }
1379
1307
  if (e.key === index.KeyboardCode.ARROW_UP) {
1380
1308
  e.preventDefault();
1381
1309
  const prevIndex = currentIndex - 1;
1382
1310
  if (prevIndex < 0) {
1383
- this.element.shadowRoot.querySelector("input").focus();
1384
- this.element.shadowRoot
1385
- .querySelector("input")
1386
- .setSelectionRange(this.inputRef.value.length, this.inputRef.value.length);
1311
+ (_d = (_c = this.host.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector("input")) === null || _d === void 0 ? void 0 : _d.focus();
1312
+ (_f = (_e = this.host.shadowRoot) === null || _e === void 0 ? void 0 : _e.querySelector("input")) === null || _f === void 0 ? void 0 : _f.setSelectionRange(this.inputRef.value.length, this.inputRef.value.length);
1387
1313
  }
1388
1314
  if (prevIndex >= 0) {
1389
- this.items[prevIndex].focus();
1390
- this.items[prevIndex].classList.add("focused");
1315
+ items[prevIndex].focus();
1391
1316
  }
1392
1317
  }
1393
1318
  }
1394
- renderItem(item, key, divider) {
1395
- return (index$1.h("z-list-element", { id: `list-item-${this.htmlid}-${key}`, tabIndex: 0, role: "option", dividerType: divider ? index.ListDividerType.ELEMENT : undefined, onKeyDown: (e) => this.handleArrowsNavigation(e) }, index$1.h("div", { class: "list-element", tabIndex: 0, onClick: () => this.emitSearchItemClick(item), onKeyDown: (e) => utils.handleEnterKeydSubmit(e, () => this.emitSearchItemClick(item)), onMouseEnter: (e) => {
1396
- const currentElement = e.target;
1397
- currentElement.classList.add("hovered");
1398
- }, onMouseLeave: (e) => {
1399
- const currentElement = e.target;
1400
- currentElement.classList.toggle("hovered", false);
1401
- } }, index$1.h("span", { class: "item ellipsis" }, (item === null || item === void 0 ? void 0 : item.icon) && (index$1.h("z-icon", { class: "item-icon", name: item.icon })), index$1.h("span", { class: "item-label", title: item.label, innerHTML: this.renderItemLabel(item.label) })), (item === null || item === void 0 ? void 0 : item.tag) && index$1.h("z-tag", { icon: item.tag.icon }, !this.isMobile ? item.tag.text : "")), item.children && item.children.length > 0 ? (index$1.h("z-list", null, index$1.h("div", { class: "children-node" }, item.children.map((child, index) => this.renderItem(child, index, false))))) : null));
1319
+ handleStopTyping(e) {
1320
+ e.stopPropagation();
1321
+ this.searchString = e.detail.value;
1322
+ this.selectedItem = undefined;
1323
+ }
1324
+ handleSubmit() {
1325
+ if (this.preventSubmit) {
1326
+ return;
1327
+ }
1328
+ this.emitSearchSubmit();
1329
+ }
1330
+ handleOutsideClick(e) {
1331
+ const cp = e.composedPath();
1332
+ if (cp.includes(this.host)) {
1333
+ return;
1334
+ }
1335
+ this.showResults = false;
1336
+ }
1337
+ componentWillLoad() {
1338
+ this.resultsItemsList = this.getResultsItemsList();
1339
+ this.mql = matchMedia("(max-width: 767px)");
1340
+ this.onMobileViewChange = (e) => (this.isMobile = e.matches);
1341
+ this.mql.addEventListener("change", this.onMobileViewChange);
1342
+ this.isMobile = this.mql.matches;
1343
+ }
1344
+ disconnectedCallback() {
1345
+ var _a;
1346
+ (_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
1402
1347
  }
1403
1348
  renderItemLabel(label) {
1404
1349
  if (!this.searchString) {
@@ -1406,32 +1351,53 @@ const ZSearchbar = class {
1406
1351
  }
1407
1352
  return label.replace(new RegExp(this.searchString.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gmi"), (found) => `<mark>${found}</mark>`);
1408
1353
  }
1409
- renderItemCategory(groupItem) {
1410
- if (!(groupItem === null || groupItem === void 0 ? void 0 : groupItem.category)) {
1411
- return null;
1412
- }
1413
- return (index$1.h("span", { class: "category-heading", slot: "header-title" }, index$1.h("span", { class: "category" }, groupItem.category), (groupItem === null || groupItem === void 0 ? void 0 : groupItem.subcategory) && index$1.h("span", { class: "subcategory" }, groupItem.subcategory)));
1354
+ renderItem(item, index) {
1355
+ var _a;
1356
+ return (index$1.h("z-list-element", { id: `list-item-${this.htmlid}-${index}`, role: "presentation", htmlTabindex: -1, onKeyDown: (e) => this.onListItemKeyDown(e, item), onClick: () => this.emitSearchItemClick(item) }, index$1.h("div", { class: "list-item ellipsis", role: "option", tabindex: 0 }, !!(item === null || item === void 0 ? void 0 : item.icon) && (index$1.h("z-icon", { class: "item-icon", name: item.icon })), index$1.h("div", { class: "item-label body-3 mobile-body-4", title: item.label, innerHTML: this.renderItemLabel(item.label) }), !!(item === null || item === void 0 ? void 0 : item.tag) && index$1.h("z-tag", { icon: item.tag.icon }, !this.isMobile ? item.tag.text : "")), !!((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) && (index$1.h("z-list", { class: "sub-list", role: "group", "aria-label": item.label || undefined }, item.children.map((child, index) => this.renderItem(child, index))))));
1414
1357
  }
1415
- renderSearchHelper(hasDivider = true) {
1416
- if (!this.autocomplete || this.preventSubmit || !this.searchString) {
1417
- return null;
1358
+ /**
1359
+ * Renders the item grouped by category and subcategory. If `resultsCount` is set, it limits the number of rendered items.
1360
+ */
1361
+ renderItemGroups() {
1362
+ var _a;
1363
+ if (!((_a = this.resultsItemsList) === null || _a === void 0 ? void 0 : _a.length)) {
1364
+ return;
1418
1365
  }
1419
- return (index$1.h("z-list-element", { role: "option", dividerType: hasDivider ? index.ListDividerType.ELEMENT : undefined, id: `list-item-${this.htmlid}-search`, onKeyDown: (e) => this.handleArrowsNavigation(e) }, index$1.h("div", { tabindex: 0, onClick: () => this.emitSearchSubmit(), onKeyDown: (e) => utils.handleEnterKeydSubmit(e, () => this.emitSearchSubmit()), class: "list-element" }, index$1.h("span", { class: "item item-search" }, index$1.h("z-icon", { class: "search-icon", name: "left-magnifying-glass" }), index$1.h("span", { class: "item-label", innerHTML: this.searchHelperLabel.replace("{searchString}", `<mark>${this.searchString}</mark>`) })))));
1420
- }
1421
- renderShowAllResults() {
1422
- var _a, _b;
1423
- if (!this.currResultsCount ||
1424
- !this.searchString ||
1425
- !((_a = this.resultsItemsList) === null || _a === void 0 ? void 0 : _a.length) ||
1426
- this.currResultsCount >= ((_b = this.resultsItemsList) === null || _b === void 0 ? void 0 : _b.length)) {
1427
- return null;
1366
+ const groupedItems = Object.values(this.getGroupedItems());
1367
+ const listGroups = [];
1368
+ const hasResultsLimit = !!this.currResultsCount;
1369
+ let renderedCount = 0;
1370
+ for (const groupItem of groupedItems) {
1371
+ const remaining = hasResultsLimit ? this.currResultsCount - renderedCount : groupItem.items.length;
1372
+ if (remaining <= 0) {
1373
+ break;
1374
+ }
1375
+ const visibleItems = groupItem.items.slice(0, remaining);
1376
+ const listGroupsElements = visibleItems.map((item, subindex) => this.renderItem(item, subindex));
1377
+ renderedCount += listGroupsElements.length;
1378
+ if (!listGroupsElements.length) {
1379
+ continue;
1380
+ }
1381
+ const ariaLabel = [groupItem.category, groupItem.subcategory].filter(Boolean).join(" ");
1382
+ listGroups.push(index$1.h("z-list-group", { "aria-label": ariaLabel || undefined }, groupItem.category && (index$1.h("z-list-element", { class: "category-heading body-3 mobile-body-4", slot: "header-title", role: "presentation", htmlTabindex: -1 }, index$1.h("div", { class: "category" }, groupItem.category), groupItem.subcategory && index$1.h("div", { class: "subcategory" }, groupItem.subcategory))), listGroupsElements));
1428
1383
  }
1429
- return (index$1.h("z-list-element", { role: "option", tabindex: 0, clickable: true, id: `list-item-${this.htmlid}-show-all`, onClickItem: () => (this.currResultsCount = 0), color: "color-primary01" }, index$1.h("div", { class: "item-show-all" }, "Vedi tutti i risultati")));
1384
+ return listGroups;
1430
1385
  }
1431
1386
  render() {
1432
- return (index$1.h(index$1.Host, { key: '6ccdb51d39d0e211de9b79cbbed90f4597b2c25b', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": this.showSearchButton, "has-results": this.autocomplete } }, index$1.h("div", { key: '90e51c50fe4b06429aad4d222cb26e5789183c30', class: "input-container" }, this.renderInput(), this.renderResults()), this.renderButton()));
1387
+ var _a, _b, _c, _d, _e;
1388
+ return (index$1.h(index$1.Host, { key: 'a08d7cbf665fc71a412f13ce8e6d0424ceeb929d', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": !!this.showSearchButton, "has-results": !!this.autocomplete } }, index$1.h("div", { key: 'd5987d36585f496b8eebc3eeda36815d629c0b2a', class: "input-container" }, index$1.h("z-input", { key: 'cb54997fa4598f8b746c8f0685c283facb8545a6', ref: (el) => (this.inputRef = el), htmlid: `input-${this.htmlid}`, message: false, placeholder: this.placeholder, onStopTyping: (e) => this.handleStopTyping(e), onKeyUp: (e) => {
1389
+ utils.handleEnterKeydSubmit(e, () => this.handleSubmit());
1390
+ this.handleArrowsNavigation(e);
1391
+ }, onFocus: () => (this.showResults = true), value: this.searchString || ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.label), size: this.size, label: this.label, "aria-label": this.htmlAriaLabel || this.placeholder || undefined }), !!(this.showResults &&
1392
+ this.autocomplete &&
1393
+ this.searchString &&
1394
+ this.searchString.length >= this.autocompleteMinChars &&
1395
+ this.resultsItemsList) && (index$1.h("div", { key: 'e872905bfe52aef6fa6c49579c7d12e1ebc66bb9', class: "results z-scrollbar" }, this.preventSubmit && !((_b = this.resultsItemsList) === null || _b === void 0 ? void 0 : _b.length) ? (index$1.h("div", { class: "item-no-results body-3 mobile-body-4" }, "Non abbiamo trovato risultati per ", index$1.h("b", null, this.searchString), index$1.h("br", null), index$1.h("br", null), "Cosa puoi fare?", index$1.h("ul", null, index$1.h("li", null, "Verificare di aver scritto bene"), index$1.h("li", null, "Provare a cercare un'altra parola"), index$1.h("li", null, "Provare a cercare qualcosa di pi\u00F9 generico")))) : (index$1.h("z-list", { role: "listbox", id: `list-${this.htmlid}`, "aria-label": this.htmlAriaLabel || this.label || undefined }, this.autocomplete && !this.preventSubmit && !!this.searchString && (index$1.h("z-list-element", { role: "presentation", htmlTabindex: -1, id: `list-item-${this.htmlid}-search`, onKeyDown: (e) => this.onSearchHelperKeyDown(e), onClick: () => this.emitSearchSubmit() }, index$1.h("div", { class: "list-item item-search", role: "option", tabindex: 0 }, index$1.h("z-icon", { class: "search-icon", name: "left-magnifying-glass" }), index$1.h("div", { class: "item-label body-3 mobile-body-4", innerHTML: (_c = this.searchHelperLabel) === null || _c === void 0 ? void 0 : _c.replace("{searchString}", `<mark>${this.searchString}</mark>`) })))), this.renderItemGroups(), !!(this.searchString &&
1396
+ ((_d = this.resultsItemsList) === null || _d === void 0 ? void 0 : _d.length) &&
1397
+ this.currResultsCount &&
1398
+ this.currResultsCount < ((_e = this.resultsItemsList) === null || _e === void 0 ? void 0 : _e.length)) && (index$1.h("z-list-element", { role: "presentation", htmlTabindex: -1, id: `list-item-${this.htmlid}-show-all` }, index$1.h("div", { role: "option", class: "item-show-all body-3 mobile-body-4", tabindex: 0, onClick: () => (this.currResultsCount = undefined) }, "Vedi tutti i risultati")))))))), this.showSearchButton && (index$1.h("z-button", { key: '5fcbf61d74fd3294f1de8ae9a2a7432ddd894bd4', icon: this.searchButtonIconOnly ? "search" : undefined, "aria-label": this.searchButtonIconOnly ? this.searchButtonLabel.trim() || "CERCA" : undefined, disabled: !!this.preventSubmit, variant: this.variant, size: this.size, onClick: () => this.handleSubmit() }, this.searchButtonIconOnly ? "" : this.searchButtonLabel.trim() || "CERCA"))));
1433
1399
  }
1434
- get element() { return index$1.getElement(this); }
1400
+ get host() { return index$1.getElement(this); }
1435
1401
  static get watchers() { return {
1436
1402
  "resultsItems": [{
1437
1403
  "watchItems": 0
@@ -1444,13 +1410,10 @@ const ZSearchbar = class {
1444
1410
  }],
1445
1411
  "searchString": [{
1446
1412
  "watchSearchString": 0
1447
- }],
1448
- "showResults": [{
1449
- "watchShowResults": 0
1450
1413
  }]
1451
1414
  }; }
1452
1415
  };
1453
- ZSearchbar.style = stylesCss$2() + stylesCss$1();
1416
+ ZSearchbar.style = stylesCss$3() + (stylesCss$2() + (stylesCss$1() + typographyCss()));
1454
1417
 
1455
1418
  const stylesCss = () => `.sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;align-items:flex-start;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg, var(--color-hover-primary));border-radius:var(--border-radius);color:var(--z-tag-text-color, var(--color-text-inverse));fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.has-text.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag{margin-right:var(--space-unit)}.has-text.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}`;
1456
1419
 
@@ -1459,10 +1422,10 @@ const ZTag = class {
1459
1422
  index$1.registerInstance(this, hostRef);
1460
1423
  }
1461
1424
  render() {
1462
- return (index$1.h(index$1.Host, { key: '79058b7bd9a1c161e6bc55fc0a737e6f2f3c8a06', class: {
1425
+ return (index$1.h(index$1.Host, { key: 'eafe79f7342455535bc2d0550819506bb5f2417d', class: {
1463
1426
  "expandable": this.expandable && !!this.icon,
1464
1427
  "has-text": !!this.host.textContent.trim(),
1465
- } }, this.icon && index$1.h("z-icon", { key: 'ac25c974cbb40a04bb83adabe53011bb4dd89dd3', name: this.icon }), index$1.h("div", { key: '4150a1f6301110f690a595c5e2b5169d90aa4802' }, index$1.h("slot", { key: 'd3f2e88bf2635ec142a71c5752f264cd9e0077f7' }))));
1428
+ } }, this.icon && index$1.h("z-icon", { key: 'a0cb672be061f30da008e60acf3d8104faf00e9d', name: this.icon }), index$1.h("div", { key: '688919faeafac3d13f92a7a24d0f1a4c54570d79' }, index$1.h("slot", { key: '129f3625ee07bfb97a1c23e65b6014427a5d8232' }))));
1466
1429
  }
1467
1430
  get host() { return index$1.getElement(this); }
1468
1431
  };