@zanichelli/albe-web-components 19.2.6-RC2 → 19.2.7

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 (250) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-oiCBBbd2.js} +15 -3
  3. package/dist/cjs/index-D_S5lGcb.js +4 -4
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-app-header_12.cjs.entry.js +127 -199
  9. package/dist/cjs/z-combobox.cjs.entry.js +5 -3
  10. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  12. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  13. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  14. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  15. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  16. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  17. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  18. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  19. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  20. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  21. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  22. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  23. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  24. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  25. package/dist/cjs/z-td.cjs.entry.js +3 -3
  26. package/dist/cjs/z-th.cjs.entry.js +5 -3
  27. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  28. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  29. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  30. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  31. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  32. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  33. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  34. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  35. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
  36. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  37. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  38. package/dist/collection/components/table/cells/z-th/styles.css +0 -72
  39. package/dist/collection/components/z-combobox/index.js +3 -3
  40. package/dist/collection/components/z-combobox/styles.css +0 -12
  41. package/dist/collection/components/z-input/index.js +3 -3
  42. package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
  43. package/dist/collection/components/z-input/styles-general.css +166 -0
  44. package/dist/collection/components/z-input/styles-text.css +87 -0
  45. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  46. package/dist/collection/components/z-pagination/index.js +2 -2
  47. package/dist/collection/components/z-searchbar/index.js +111 -193
  48. package/dist/collection/components/z-searchbar/index.stories.js +3 -16
  49. package/dist/collection/components/z-searchbar/styles.css +87 -201
  50. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  51. package/dist/collection/components/z-stepper/index.js +1 -1
  52. package/dist/collection/components/z-stepper-item/index.js +1 -1
  53. package/dist/collection/components/z-toast-notification/index.js +3 -3
  54. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  55. package/dist/collection/components/z-toggle-button/index.js +2 -2
  56. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  57. package/dist/collection/components/z-tool/index.js +3 -3
  58. package/dist/collection/components/z-toolbar/index.js +1 -1
  59. package/dist/collection/components/z-tooltip/index.js +1 -1
  60. package/dist/collection/constants/iconset.js +15 -3
  61. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  62. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  63. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  64. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  65. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  66. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  67. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  68. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  69. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  70. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  71. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  72. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  73. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  74. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  75. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  76. package/dist/components/iconset.js +1 -1
  77. package/dist/components/index13.js +1 -1
  78. package/dist/components/index22.js +1 -1
  79. package/dist/components/index23.js +1 -1
  80. package/dist/components/index24.js +1 -1
  81. package/dist/components/index25.js +1 -1
  82. package/dist/components/index26.js +1 -1
  83. package/dist/components/index27.js +1 -1
  84. package/dist/components/index4.js +1 -1
  85. package/dist/components/index7.js +1 -1
  86. package/dist/components/z-combobox.js +1 -1
  87. package/dist/components/z-myz-card-alert.js +1 -1
  88. package/dist/components/z-myz-card-dictionary.js +1 -1
  89. package/dist/components/z-myz-card-footer-sections.js +1 -1
  90. package/dist/components/z-myz-card-footer.js +1 -1
  91. package/dist/components/z-myz-card-icon.js +1 -1
  92. package/dist/components/z-myz-card-info.js +1 -1
  93. package/dist/components/z-myz-card-list.js +1 -1
  94. package/dist/components/z-myz-list.js +1 -1
  95. package/dist/components/z-otp.js +1 -1
  96. package/dist/components/z-pagination.js +1 -1
  97. package/dist/components/z-skip-to-content.js +1 -1
  98. package/dist/components/z-stepper-item.js +1 -1
  99. package/dist/components/z-stepper.js +1 -1
  100. package/dist/components/z-td.js +1 -1
  101. package/dist/components/z-th.js +1 -1
  102. package/dist/components/z-toast-notification-list.js +1 -1
  103. package/dist/components/z-toast-notification.js +1 -1
  104. package/dist/components/z-toggle-button.js +1 -1
  105. package/dist/components/z-toggle-switch.js +1 -1
  106. package/dist/components/z-tool.js +1 -1
  107. package/dist/components/z-toolbar.js +1 -1
  108. package/dist/esm/{iconset-BanpkIXZ.js → iconset-CjHS9zeM.js} +15 -3
  109. package/dist/esm/index-DPdXlnVe.js +4 -4
  110. package/dist/esm/index.js +2 -2
  111. package/dist/esm/loader.js +1 -1
  112. package/dist/esm/{utils-0PByxJyN.js → utils-DYd3kO0P.js} +1 -1
  113. package/dist/esm/web-components-library.js +1 -1
  114. package/dist/esm/z-alert.entry.js +1 -1
  115. package/dist/esm/z-app-header_12.entry.js +129 -201
  116. package/dist/esm/z-book-card-deprecated.entry.js +1 -1
  117. package/dist/esm/z-breadcrumb.entry.js +1 -1
  118. package/dist/esm/z-color-picker.entry.js +1 -1
  119. package/dist/esm/z-combobox.entry.js +6 -4
  120. package/dist/esm/z-menu.entry.js +1 -1
  121. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  122. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  123. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  124. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  125. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  126. package/dist/esm/z-myz-card-info.entry.js +2 -2
  127. package/dist/esm/z-myz-card-list.entry.js +1 -1
  128. package/dist/esm/z-myz-card_4.entry.js +4 -4
  129. package/dist/esm/z-myz-list-item.entry.js +2 -2
  130. package/dist/esm/z-myz-list.entry.js +1 -1
  131. package/dist/esm/z-otp.entry.js +2 -2
  132. package/dist/esm/z-pagination.entry.js +2 -2
  133. package/dist/esm/z-popover.entry.js +1 -1
  134. package/dist/esm/z-select.entry.js +1 -1
  135. package/dist/esm/z-skip-to-content.entry.js +2 -2
  136. package/dist/esm/z-slideshow.entry.js +1 -1
  137. package/dist/esm/z-stepper-item.entry.js +1 -1
  138. package/dist/esm/z-stepper.entry.js +1 -1
  139. package/dist/esm/z-table.entry.js +1 -1
  140. package/dist/esm/z-td.entry.js +3 -3
  141. package/dist/esm/z-th.entry.js +5 -3
  142. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  143. package/dist/esm/z-toast-notification.entry.js +3 -3
  144. package/dist/esm/z-toggle-button.entry.js +2 -2
  145. package/dist/esm/z-toggle-switch.entry.js +4 -4
  146. package/dist/esm/z-tool.entry.js +3 -3
  147. package/dist/esm/z-toolbar.entry.js +1 -1
  148. package/dist/esm/z-tooltip.entry.js +1 -1
  149. package/dist/esm/z-tr.entry.js +1 -1
  150. package/dist/types/components/z-searchbar/index.d.ts +24 -28
  151. package/dist/types/components.d.ts +14 -14
  152. package/dist/types/constants/iconset.d.ts +30 -6
  153. package/dist/web-components-library/index.esm.js +1 -1
  154. package/dist/web-components-library/p-087956fa.entry.js +1 -0
  155. package/dist/web-components-library/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
  156. package/dist/web-components-library/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
  157. package/dist/web-components-library/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
  158. package/{www/build/p-eed4e897.entry.js → dist/web-components-library/p-1d023220.entry.js} +1 -1
  159. package/dist/web-components-library/{p-de0b7109.entry.js → p-299f0f85.entry.js} +1 -1
  160. package/dist/web-components-library/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
  161. package/dist/web-components-library/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
  162. package/dist/web-components-library/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
  163. package/dist/web-components-library/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
  164. package/dist/web-components-library/p-41584e90.entry.js +1 -0
  165. package/dist/web-components-library/p-53670be4.entry.js +1 -0
  166. package/dist/web-components-library/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
  167. package/dist/web-components-library/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
  168. package/dist/web-components-library/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
  169. package/dist/web-components-library/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
  170. package/dist/web-components-library/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
  171. package/{www/build/p-4ae7df7f.entry.js → dist/web-components-library/p-83da1031.entry.js} +1 -1
  172. package/{www/build/p-c6920758.entry.js → dist/web-components-library/p-85cac60d.entry.js} +1 -1
  173. package/dist/web-components-library/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
  174. package/dist/web-components-library/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
  175. package/dist/web-components-library/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
  176. package/dist/web-components-library/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
  177. package/dist/web-components-library/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  178. package/dist/web-components-library/p-CjHS9zeM.js +1 -0
  179. package/dist/web-components-library/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
  180. package/dist/web-components-library/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
  181. package/dist/web-components-library/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
  182. package/dist/web-components-library/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
  183. package/{www/build/p-eadf2552.entry.js → dist/web-components-library/p-c4e7bd16.entry.js} +1 -1
  184. package/dist/web-components-library/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
  185. package/dist/web-components-library/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
  186. package/dist/web-components-library/p-d10e6b1a.entry.js +1 -0
  187. package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
  188. package/dist/web-components-library/p-e48497f0.entry.js +1 -0
  189. package/dist/web-components-library/{p-19d3a16b.entry.js → p-eddc2d19.entry.js} +1 -1
  190. package/dist/web-components-library/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
  191. package/dist/web-components-library/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
  192. package/dist/web-components-library/web-components-library.esm.js +1 -1
  193. package/package.json +2 -3
  194. package/www/build/index.esm.js +1 -1
  195. package/www/build/p-087956fa.entry.js +1 -0
  196. package/www/build/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
  197. package/www/build/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
  198. package/www/build/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
  199. package/{dist/web-components-library/p-eed4e897.entry.js → www/build/p-1d023220.entry.js} +1 -1
  200. package/www/build/{p-38f551b0.js → p-23143b48.js} +1 -1
  201. package/www/build/{p-de0b7109.entry.js → p-299f0f85.entry.js} +1 -1
  202. package/www/build/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
  203. package/www/build/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
  204. package/www/build/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
  205. package/www/build/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
  206. package/www/build/p-41584e90.entry.js +1 -0
  207. package/www/build/p-53670be4.entry.js +1 -0
  208. package/www/build/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
  209. package/www/build/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
  210. package/www/build/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
  211. package/www/build/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
  212. package/www/build/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
  213. package/{dist/web-components-library/p-4ae7df7f.entry.js → www/build/p-83da1031.entry.js} +1 -1
  214. package/{dist/web-components-library/p-c6920758.entry.js → www/build/p-85cac60d.entry.js} +1 -1
  215. package/www/build/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
  216. package/www/build/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
  217. package/www/build/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
  218. package/www/build/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
  219. package/www/build/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  220. package/www/build/p-CjHS9zeM.js +1 -0
  221. package/www/build/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
  222. package/www/build/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
  223. package/www/build/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
  224. package/www/build/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
  225. package/{dist/web-components-library/p-eadf2552.entry.js → www/build/p-c4e7bd16.entry.js} +1 -1
  226. package/www/build/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
  227. package/www/build/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
  228. package/www/build/p-d10e6b1a.entry.js +1 -0
  229. package/www/build/p-dc5ab2cc.entry.js +1 -0
  230. package/www/build/p-e48497f0.entry.js +1 -0
  231. package/www/build/{p-19d3a16b.entry.js → p-eddc2d19.entry.js} +1 -1
  232. package/www/build/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
  233. package/www/build/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
  234. package/www/build/web-components-library.esm.js +1 -1
  235. package/www/index.html +1 -1
  236. package/dist/collection/components/z-input/styles.css +0 -406
  237. package/dist/web-components-library/p-2b7ceab2.entry.js +0 -1
  238. package/dist/web-components-library/p-BanpkIXZ.js +0 -1
  239. package/dist/web-components-library/p-a9d90b04.entry.js +0 -1
  240. package/dist/web-components-library/p-a9f848ef.entry.js +0 -1
  241. package/dist/web-components-library/p-ae69bb7d.entry.js +0 -1
  242. package/dist/web-components-library/p-f3436721.entry.js +0 -1
  243. package/dist/web-components-library/p-fc15a666.entry.js +0 -1
  244. package/www/build/p-2b7ceab2.entry.js +0 -1
  245. package/www/build/p-BanpkIXZ.js +0 -1
  246. package/www/build/p-a9d90b04.entry.js +0 -1
  247. package/www/build/p-a9f848ef.entry.js +0 -1
  248. package/www/build/p-ae69bb7d.entry.js +0 -1
  249. package/www/build/p-f3436721.entry.js +0 -1
  250. package/www/build/p-fc15a666.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-DPdXlnVe.js';
2
2
  import { k as LabelPosition } from './index-BKCj6NR2.js';
3
- import { r as randomId } from './utils-0PByxJyN.js';
3
+ import { r as randomId } from './utils-DYd3kO0P.js';
4
4
  import './breakpoints-Q-tWjk7P.js';
5
5
 
6
6
  const stylesCss = () => `.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}`;
@@ -32,14 +32,14 @@ const ZToggleSwitch = class {
32
32
  this.emitToggleClick();
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: 'a71496b0436b37aaf6b0af879bae53be6a627efa' }, h("input", { key: '716eec97479d25139fe00b144a58d26941ded2a3', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '8907147d34ed7b1c944936e1c3e73519ef77f00b', htmlFor: this.htmlid, class: {
35
+ return (h(Host, { key: 'd31f156ba646f113f8f2509afdaee3e79fdb33f7' }, h("input", { key: '48a3963dd555c00867816af0169ed677dc4ccc68', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '3872377775f759727b62288794555cd84e60b12c', htmlFor: this.htmlid, class: {
36
36
  [this.labelPosition]: true,
37
37
  disabled: this.disabled,
38
- } }, h("span", { key: 'c3a9dc659fee0c089799a011568b2df707f62c34' }, h("slot", { key: '68be5cec64b7d973bd40d59be54580170bd7ec5e' })), h("span", { key: '206640ff4c480d2923f8c99b80093b8bf08ee68a', class: {
38
+ } }, h("span", { key: 'b46cb8e359cdb11e696a116661659c9872d49a1e' }, h("slot", { key: '42fc26c0ced09c5fdda062735fe543b8cb57a658' })), h("span", { key: 'b55f0fbd2ff23f01c1ac0b845c6af5571d81c13f', class: {
39
39
  container: true,
40
40
  disabled: this.disabled,
41
41
  checked: this.checked,
42
- } }, h("span", { key: '31d158040dfc2cb2e605ee5271cd1b992016c1e2', class: "circle" }, this.checked && (h("z-icon", { key: '2d45f7c22746d2db091e0ee2096b3f580064e8aa', width: 12, height: 12, name: "checkmark" })))))));
42
+ } }, h("span", { key: '87bc69be905d84458fec5384f756348a94e446fe', class: "circle" }, this.checked && (h("z-icon", { key: '4464b2bf8aa91a7c0c5c9e2bff26e84ff7c34be2', width: 12, height: 12, name: "checkmark" })))))));
43
43
  }
44
44
  };
45
45
  ZToggleSwitch.style = stylesCss();
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
2
2
  import { P as PopoverPosition, g as KeyboardCode } from './index-BKCj6NR2.js';
3
- import { a as containsElement } from './utils-0PByxJyN.js';
3
+ import { a as containsElement } from './utils-DYd3kO0P.js';
4
4
  import './breakpoints-Q-tWjk7P.js';
5
5
 
6
6
  const stylesCss = () => `:host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}`;
@@ -187,10 +187,10 @@ const ZTool = class {
187
187
  (_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
188
188
  }
189
189
  render() {
190
- return (h(Host, { key: '1a87f70e20dca23bc4207f03aa1cd933c5fa668e', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: 'df7f4ad8a47dee955b9c4c249354fa114410409d', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: '43bd668b9d58377caa755e7eeaf68e3381b036f0', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: 'a86766b86ee4cf878f5a48f48e135b8cd3092f3a', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: '91ddd32599a6a6a3b4fbf34fb69fdabff0dbbda9', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: 'ec7b937f451db4a1b206b386d6f199b5cf71117d', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
190
+ return (h(Host, { key: 'f5da5cd309607dc94dd12a28596b2ea02d28ba4c', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: 'be63d078b5035ba1f08c480c8c08f365b3115191', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: 'a08b5432871a1522374633050a835bb18001a6d6', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: '9e0fa11a43662f333404543e315b097aa96ab08c', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: 'bfc2be83824830ed05b70f423e9f044015624f49', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: '717697756e5333f066f96c96695cd9741b006e93', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
191
191
  /* disable auto-close to prevent unwanted close behaviors on mobile,
192
192
  when the bound element is the main toolbar */
193
- closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: '85e016cb92ce6c7356afa7f93bbdd278ab3ff88e' })))));
193
+ closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'd151d02e38fb7a0941012ec969b6cea647721846' })))));
194
194
  }
195
195
  get hostElement() { return getElement(this); }
196
196
  static get watchers() { return {
@@ -129,7 +129,7 @@ const ZToolbar = class {
129
129
  }
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: 'd766b9377953f92994c693221a9ea7c5104cd1c6', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: '37d3079836475575d0267725589798a39025a517', onSlotchange: () => {
132
+ return (h(Host, { key: '9f77e33a2a5e3566137ca23c4a41526b58b46515', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: 'a62af35ef54781baee92f865a969a8642ce58703', onSlotchange: () => {
133
133
  this.collectToolItems();
134
134
  this.updateTabIndexes();
135
135
  } })));
@@ -26,7 +26,7 @@ const ZTooltip = class {
26
26
  this.open = this.popoverEl.open;
27
27
  }
28
28
  render() {
29
- return (h("z-popover", { key: '21236ca0162a4ce1c7d1c6adfd052332e8a566b8', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: 'fb78016230d9246043c60bd22e1ed7c6baa4d78d' })));
29
+ return (h("z-popover", { key: '0cc1e8ea0e6896f5031309a5984c09df4b095d8b', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: 'a0548343b099fe7986066d821a455f1092428b38' })));
30
30
  }
31
31
  };
32
32
  ZTooltip.style = stylesCss();
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
2
- import { r as randomId } from './utils-0PByxJyN.js';
2
+ import { r as randomId } from './utils-DYd3kO0P.js';
3
3
  import './z-td.entry.js';
4
4
  import './z-th.entry.js';
5
5
  import './index-BKCj6NR2.js';
@@ -6,13 +6,14 @@ import { ButtonVariant, ControlSize, SearchbarItem } from "../../beans";
6
6
  * @cssprop --z-searchbar-tag-bg - Color of tag's background (default --color-hover-primary);
7
7
  */
8
8
  export declare class ZSearchbar implements ComponentInterface {
9
- /** the id of the searchbar element */
9
+ host: HTMLZSearchbarElement;
10
+ /** The id of the searchbar element */
10
11
  htmlid: string;
11
12
  /** Prevent submit action */
12
13
  preventSubmit?: boolean;
13
- /** the input label */
14
+ /** The input label */
14
15
  label?: string;
15
- /** the input aria-label */
16
+ /** The input aria-label */
16
17
  htmlAriaLabel?: string;
17
18
  /** Input search string */
18
19
  value?: string;
@@ -22,7 +23,7 @@ export declare class ZSearchbar implements ComponentInterface {
22
23
  autocomplete?: boolean;
23
24
  /** Minimun number of characters to dispatch typing event */
24
25
  autocompleteMinChars?: number;
25
- /** Number of results shown - default all */
26
+ /** Number of results shown. Default: all */
26
27
  resultsCount?: number;
27
28
  /** Search helper text */
28
29
  searchHelperLabel?: string;
@@ -32,55 +33,50 @@ export declare class ZSearchbar implements ComponentInterface {
32
33
  sortResultsItems?: boolean;
33
34
  /** Show submit button */
34
35
  showSearchButton?: boolean;
35
- /** Set button icon without label*/
36
+ /** Hide the label of the submit button, showing only the icon */
36
37
  searchButtonIconOnly?: boolean;
37
- /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
38
+ /** Size of the `z-input` and submit `z-button` */
38
39
  size?: ControlSize;
39
- /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
40
+ /** Submit `z-button` variant */
40
41
  variant?: ButtonVariant;
41
42
  searchString: string;
42
- currResultsCount: number;
43
+ currResultsCount: number | undefined;
43
44
  showResults: boolean;
44
45
  isMobile: boolean;
45
46
  selectedItem?: SearchbarItem;
46
- element: HTMLZSearchbarElement;
47
47
  private resultsItemsList;
48
48
  private inputRef;
49
- private resizeObserver;
50
- private items;
49
+ /** Media query list for detecting mobile view. */
50
+ private mql?;
51
+ /** Listener for changes in the mobile view media query. */
52
+ private onMobileViewChange?;
51
53
  /** Emitted on search submit, return search string */
52
54
  searchSubmit: EventEmitter<string>;
53
- private emitSearchSubmit;
54
55
  /** Emitted on search typing, return search string */
55
56
  searchTyping: EventEmitter<string>;
56
- private emitSearchTyping;
57
57
  /** Emitted on search result click, return item */
58
58
  searchItemClick: EventEmitter<SearchbarItem>;
59
59
  private emitSearchItemClick;
60
+ private emitSearchSubmit;
60
61
  watchItems(): void;
61
62
  watchResultsCount(): void;
62
63
  watchValue(): void;
63
64
  watchSearchString(): void;
64
- watchShowResults(): void;
65
- disconnectedCallback(): void;
66
- componentDidLoad(): void;
67
- componentWillLoad(): void;
68
65
  private getResultsItemsList;
69
66
  private getGroupedItems;
70
- private checkResultsCount;
67
+ private onListItemKeyDown;
68
+ private onSearchHelperKeyDown;
69
+ private handleArrowsNavigation;
71
70
  private handleStopTyping;
72
71
  private handleSubmit;
73
72
  private handleOutsideClick;
74
- private renderInput;
75
- private renderButton;
76
- private renderResults;
77
- private renderResultsList;
78
- private renderItems;
79
- private handleArrowsNavigation;
80
- private renderItem;
73
+ componentWillLoad(): void;
74
+ disconnectedCallback(): void;
81
75
  private renderItemLabel;
82
- private renderItemCategory;
83
- private renderSearchHelper;
84
- private renderShowAllResults;
76
+ private renderItem;
77
+ /**
78
+ * Renders the item grouped by category and subcategory. If `resultsCount` is set, it limits the number of rendered items.
79
+ */
80
+ private renderItemGroups;
85
81
  render(): HTMLZSearchbarElement;
86
82
  }
@@ -2100,16 +2100,16 @@ export namespace Components {
2100
2100
  */
2101
2101
  "autocompleteMinChars"?: number;
2102
2102
  /**
2103
- * the input aria-label
2103
+ * The input aria-label
2104
2104
  */
2105
2105
  "htmlAriaLabel"?: string;
2106
2106
  /**
2107
- * the id of the searchbar element
2107
+ * The id of the searchbar element
2108
2108
  * @default `searchbar-${randomId()}`
2109
2109
  */
2110
2110
  "htmlid": string;
2111
2111
  /**
2112
- * the input label
2112
+ * The input label
2113
2113
  */
2114
2114
  "label"?: string;
2115
2115
  /**
@@ -2122,7 +2122,7 @@ export namespace Components {
2122
2122
  */
2123
2123
  "preventSubmit"?: boolean;
2124
2124
  /**
2125
- * Number of results shown - default all
2125
+ * Number of results shown. Default: all
2126
2126
  */
2127
2127
  "resultsCount"?: number;
2128
2128
  /**
@@ -2130,7 +2130,7 @@ export namespace Components {
2130
2130
  */
2131
2131
  "resultsItems"?: SearchbarItem[] | string;
2132
2132
  /**
2133
- * Set button icon without label
2133
+ * Hide the label of the submit button, showing only the icon
2134
2134
  * @default false
2135
2135
  */
2136
2136
  "searchButtonIconOnly"?: boolean;
@@ -2145,7 +2145,7 @@ export namespace Components {
2145
2145
  */
2146
2146
  "showSearchButton"?: boolean;
2147
2147
  /**
2148
- * Available sizes: `big`, `small` and `x-small`. Defaults to `big`.
2148
+ * Size of the `z-input` and submit `z-button`
2149
2149
  * @default ControlSize.BIG
2150
2150
  */
2151
2151
  "size"?: ControlSize;
@@ -2159,7 +2159,7 @@ export namespace Components {
2159
2159
  */
2160
2160
  "value"?: string;
2161
2161
  /**
2162
- * Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`.
2162
+ * Submit `z-button` variant
2163
2163
  * @default ButtonVariant.PRIMARY
2164
2164
  */
2165
2165
  "variant"?: ButtonVariant;
@@ -6519,16 +6519,16 @@ declare namespace LocalJSX {
6519
6519
  */
6520
6520
  "autocompleteMinChars"?: number;
6521
6521
  /**
6522
- * the input aria-label
6522
+ * The input aria-label
6523
6523
  */
6524
6524
  "htmlAriaLabel"?: string;
6525
6525
  /**
6526
- * the id of the searchbar element
6526
+ * The id of the searchbar element
6527
6527
  * @default `searchbar-${randomId()}`
6528
6528
  */
6529
6529
  "htmlid"?: string;
6530
6530
  /**
6531
- * the input label
6531
+ * The input label
6532
6532
  */
6533
6533
  "label"?: string;
6534
6534
  /**
@@ -6553,7 +6553,7 @@ declare namespace LocalJSX {
6553
6553
  */
6554
6554
  "preventSubmit"?: boolean;
6555
6555
  /**
6556
- * Number of results shown - default all
6556
+ * Number of results shown. Default: all
6557
6557
  */
6558
6558
  "resultsCount"?: number;
6559
6559
  /**
@@ -6561,7 +6561,7 @@ declare namespace LocalJSX {
6561
6561
  */
6562
6562
  "resultsItems"?: SearchbarItem[] | string;
6563
6563
  /**
6564
- * Set button icon without label
6564
+ * Hide the label of the submit button, showing only the icon
6565
6565
  * @default false
6566
6566
  */
6567
6567
  "searchButtonIconOnly"?: boolean;
@@ -6576,7 +6576,7 @@ declare namespace LocalJSX {
6576
6576
  */
6577
6577
  "showSearchButton"?: boolean;
6578
6578
  /**
6579
- * Available sizes: `big`, `small` and `x-small`. Defaults to `big`.
6579
+ * Size of the `z-input` and submit `z-button`
6580
6580
  * @default ControlSize.BIG
6581
6581
  */
6582
6582
  "size"?: ControlSize;
@@ -6590,7 +6590,7 @@ declare namespace LocalJSX {
6590
6590
  */
6591
6591
  "value"?: string;
6592
6592
  /**
6593
- * Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`.
6593
+ * Submit `z-button` variant
6594
6594
  * @default ButtonVariant.PRIMARY
6595
6595
  */
6596
6596
  "variant"?: ButtonVariant;