@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,7 +1,7 @@
1
1
  :host {
2
2
  --z-searchbar-tag-text-color: var(--color-primary03);
3
3
  --z-searchbar-tag-bg: var(--color-hover-primary);
4
- --z-searchbar-item-height: 44px;
4
+ --z-searchbar-item-height: 2.75rem;
5
5
 
6
6
  z-index: 15;
7
7
  display: flex;
@@ -11,16 +11,12 @@
11
11
  }
12
12
 
13
13
  :host,
14
- * {
14
+ *,
15
+ ::after,
16
+ ::before {
15
17
  box-sizing: border-box;
16
18
  }
17
19
 
18
- :host::part(list-item-container) {
19
- display: block;
20
- min-height: unset;
21
- padding: 0;
22
- }
23
-
24
20
  .input-container {
25
21
  position: relative;
26
22
  display: flex;
@@ -28,199 +24,151 @@
28
24
  flex-direction: column;
29
25
  }
30
26
 
31
- .results-wrapper {
32
- position: absolute;
33
- top: calc(100% - 1px);
34
- left: 0;
35
- width: 100%;
36
- padding: calc(var(--space-unit) / 4);
37
- border: var(--border-size-small) solid var(--color-surface03);
38
- border-top: none;
39
- background: var(--color-surface01);
27
+ .input-container z-input {
28
+ z-index: 1;
40
29
  }
41
30
 
42
31
  .results {
32
+ --item-icon-size: 1rem;
33
+ --z-icon-height: var(--item-icon-size);
34
+ --z-icon-width: var(--item-icon-size);
35
+ --item-inline-padding: calc(var(--space-unit) * 1.5);
36
+ --item-col-gap: var(--space-unit);
37
+
38
+ position: absolute;
39
+ top: calc(100% - 1px);
40
+ left: 0;
43
41
  overflow: auto;
42
+ width: 100%;
44
43
  max-height: var(--z-searchbar-results-height, 540px);
45
- padding: calc(var(--space-unit) / 2) calc(var(--space-unit) * 1.5);
46
- }
47
-
48
- .results::-webkit-scrollbar {
49
- width: 6px;
50
- background: linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px);
51
- }
52
-
53
- .results::-webkit-scrollbar-thumb {
54
- background-color: var(--color-primary01);
55
- }
56
-
57
- .results::-webkit-scrollbar-thumb:hover {
58
- background-color: var(--color-hover-primary);
59
- }
60
-
61
- /* Firefox scrollbar */
62
- @supports not selector(.results::-webkit-scrollbar-track) {
63
- .results {
64
- scrollbar-color: var(--color-primary01) transparent;
65
- }
44
+ border: var(--border-size-small) solid var(--color-form-surface03);
45
+ border-top: none;
46
+ background: var(--color-form-background);
66
47
  }
67
48
 
68
- .results .category-heading {
69
- display: block;
70
- font-size: var(--font-size-2);
71
- font-weight: var(--font-rg);
72
- line-height: var(--font-size-3);
73
- }
49
+ .results z-list-element {
50
+ --background-color-list-element: var(--color-form-background);
74
51
 
75
- .results .category-heading > * {
52
+ position: relative;
76
53
  display: block;
77
54
  }
78
55
 
79
- .results .category-heading > .category {
80
- color: var(--color-text05);
81
- font-style: italic;
56
+ .results > z-list > z-list-element::part(list-item-container) {
57
+ padding: 0 var(--item-inline-padding);
82
58
  }
83
59
 
84
- .results .category-heading > .subcategory {
85
- margin-top: var(--space-unit);
86
- color: var(--color-default-text);
87
- text-transform: uppercase;
88
- }
89
-
90
- .results z-list-element {
60
+ .results z-list-element > .list-item {
91
61
  position: relative;
92
- display: block;
93
- }
94
-
95
- z-list-element > .item-search {
96
- padding: var(--space-unit) 0;
62
+ display: flex;
63
+ align-items: center;
64
+ padding: calc(var(--space-unit) * 1.25) calc(var(--space-unit) / 4);
65
+ background-color: transparent;
66
+ color: var(--color-form-default-text);
67
+ fill: var(--color-form-default-icon);
68
+ gap: var(--item-col-gap);
97
69
  }
98
70
 
99
- z-list z-list-element::before {
100
- position: absolute;
101
- z-index: 100;
102
- top: 5px;
103
- left: -20px;
104
- width: 8px;
105
- height: 1em;
106
- border-bottom: 1px solid var(--color-disabled01-icon);
107
- border-left: 1px solid var(--color-disabled01-icon);
108
- content: "";
71
+ .results z-list-element > .list-item:hover {
72
+ background-color: var(--gray100); /* TODO: use correct form-related token when available */
109
73
  cursor: pointer;
110
74
  }
111
75
 
112
- z-list z-list-element::after {
113
- position: absolute;
114
- z-index: 100;
115
- top: 5px;
116
- left: -20px;
117
- width: 8px;
118
- height: 100%;
119
- border-left: 1px solid var(--color-disabled01-icon);
120
- content: "";
121
- cursor: pointer;
76
+ .results z-list-element > .list-item:focus-visible {
77
+ z-index: 1;
78
+ box-shadow: var(--shadow-focus-primary);
79
+ outline: none;
122
80
  }
123
81
 
124
- z-list z-list-element:last-child::after {
125
- display: none;
82
+ /* list elements separator */
83
+ .results > z-list > z-list-element:not(:last-child) > .list-item,
84
+ .results z-list-group:not(:last-child) > z-list-element:not(.category-heading) {
85
+ border-bottom: 1px solid var(--color-form-surface03);
126
86
  }
127
87
 
128
- z-list > z-list-element::before,
129
- z-list > z-list-element::after,
130
- z-list > z-list-group > z-list-element::before,
131
- z-list > z-list-group > z-list-element::after {
132
- display: none;
88
+ .results z-list-group {
89
+ padding: 0 var(--item-inline-padding);
133
90
  }
134
91
 
135
- z-list > div.children-node {
136
- padding-left: calc(var(--space-unit) * 3);
92
+ .results z-list-group > z-list-element::part(list-item-container) {
93
+ padding: 0;
137
94
  }
138
95
 
139
- .results z-list-element > .list-element {
140
- display: flex;
141
- justify-content: space-between;
142
- padding: calc(var(--space-unit) * 1.25) 0;
143
- cursor: pointer;
96
+ .results .sub-list {
97
+ padding-left: calc(var(--item-icon-size) + var(--item-col-gap));
144
98
  }
145
99
 
146
- .results z-list-element > .list-element:focus-visible {
147
- box-shadow: var(--shadow-focus-primary);
148
- outline: none;
100
+ .results .sub-list z-list-element::part(list-item-container) {
101
+ padding: 0;
149
102
  }
150
103
 
151
- .results z-list-element > .list-element .item.ellipsis {
152
- overflow: hidden;
104
+ .results .sub-list z-list-element > .list-item {
105
+ position: relative;
153
106
  }
154
107
 
155
- .results z-list-element .list-element::after {
108
+ /* tree indicators */
109
+ .results .sub-list > z-list-element:not(:last-child)::before,
110
+ .results .sub-list > z-list-element > .list-item::before {
156
111
  position: absolute;
157
112
  top: 0;
158
- right: 0;
159
- display: block;
160
- width: 100%;
161
- height: 44px;
113
+ left: calc(0px - var(--item-col-gap) - var(--item-icon-size) / 2 + 1px);
114
+ border-left: 1px solid var(--color-form-surface03);
162
115
  content: "";
163
- transform: translateX(-100%);
164
116
  }
165
117
 
166
- .results z-list-element .list-element.focused.hovered::after {
167
- padding-left: 6px;
118
+ /* "|" tree indicator */
119
+ .results .sub-list > z-list-element:not(:last-child)::before {
120
+ top: -4px;
121
+ height: calc(100% + 4px);
168
122
  }
169
123
 
170
- .results z-list-element > .list-element:hover,
171
- .results z-list-element > .list-element:hover::after {
172
- background-color: var(--color-background);
173
- cursor: pointer;
124
+ /* "—" tree indicator */
125
+ .results .sub-list z-list-element > .list-item::before {
126
+ width: 14px;
127
+ height: calc(var(--z-searchbar-item-height) / 2);
128
+ border-bottom: 1px solid var(--color-form-surface03);
174
129
  }
175
130
 
176
- .results z-list-element > .list-element > z-tag {
177
- border: 1px solid var(--gray800);
178
- font-size: var(--font-size-1);
179
- font-weight: var(--font-sb);
180
-
181
- --z-tag-bg: var(--z-searchbar-tag-bg);
182
- --z-tag-text-color: var(--z-searchbar-tag-text-color);
131
+ .results .category-heading > .category {
132
+ font-style: italic;
183
133
  }
184
134
 
185
- .results .item {
186
- --z-icon-height: 12px;
187
- --z-icon-width: 12px;
135
+ .results .category-heading > .subcategory {
136
+ text-transform: uppercase;
137
+ }
188
138
 
189
- display: flex;
190
- flex-flow: row nowrap;
191
- align-items: center;
192
- justify-content: flex-start;
193
- color: var(--color-default-text);
194
- column-gap: calc(var(--space-unit) * 1.5);
195
- fill: var(--color-default-icon);
196
- font-size: var(--font-size-2);
197
- line-height: var(--font-size-6);
139
+ .results z-list-element > .list-item .ellipsis {
140
+ overflow: hidden;
198
141
  }
199
142
 
200
- .results .item.ellipsis > .item-label {
143
+ .results .ellipsis > .item-label {
201
144
  overflow: hidden;
202
145
  text-overflow: ellipsis;
203
146
  white-space: nowrap;
204
147
  }
205
148
 
206
- .results .item > .item-label mark {
149
+ .results .item-label mark {
207
150
  background: var(--color-primary03);
151
+ color: var(--color-default-text);
208
152
  }
209
153
 
210
- .results .item.item-search {
211
- --z-icon-height: 16px;
212
- --z-icon-width: 16px;
154
+ .results .list-item > z-tag {
155
+ --z-tag-bg: var(--z-searchbar-tag-bg);
156
+ --z-tag-text-color: var(--z-searchbar-tag-text-color);
157
+
158
+ margin-left: auto;
159
+ white-space: nowrap;
213
160
  }
214
161
 
215
162
  .results .item-show-all {
163
+ width: 100%;
164
+ color: var(--color-primary01);
165
+ cursor: pointer;
216
166
  text-align: center;
217
167
  }
218
168
 
219
169
  .results .item-no-results {
220
170
  display: block;
221
- font-size: var(--font-size-2);
222
171
  font-style: italic;
223
- line-height: var(--font-size-5);
224
172
  }
225
173
 
226
174
  .results .item-no-results > ul {
@@ -228,70 +176,8 @@ z-list > div.children-node {
228
176
  margin: var(--space-unit);
229
177
  }
230
178
 
231
- /* Tablet breakpoint */
232
179
  @media (min-width: 768px) {
233
- .results .category-heading {
234
- font-size: var(--font-size-3);
235
- line-height: var(--font-size-6);
236
- }
237
-
238
- .results .item {
239
- font-size: var(--font-size-3);
240
- line-height: var(--font-size-6);
241
- }
242
-
243
- .results .item.item-search {
244
- --z-icon-height: 18px;
245
- --z-icon-width: 18px;
246
- }
247
-
248
- .results .item.ellipsis > .item-label {
249
- height: 1.5rem;
250
- }
251
-
252
- .results z-list-element > .list-element > z-tag {
253
- min-width: max-content;
254
- }
255
- }
256
-
257
- /* Desktop breakpoint */
258
- @media (min-width: 1152px) {
259
- .results .item {
260
- cursor: pointer;
261
- }
262
-
263
- .results .item-no-results {
264
- cursor: default;
265
- font-size: var(--font-size-3);
266
- line-height: var(--font-size-6);
180
+ .results {
181
+ --item-icon-size: 1.125rem;
267
182
  }
268
183
  }
269
-
270
- :host([size="small"]) .results :is(.item, .category-heading),
271
- :host([size="x-small"]) .results :is(.item, .category-heading) {
272
- font-size: var(--font-size-2);
273
- }
274
-
275
- :host([size="small"]) .results .item:not(.has-category),
276
- :host([size="x-small"]) .results .item:not(.has-category) {
277
- --z-icon-height: 16px;
278
- --z-icon-width: 16px;
279
- }
280
-
281
- :host([size="small"]) z-list-element > .list-element,
282
- :host([size="small"]) z-list-element > .item-search {
283
- padding: calc(var(--space-unit) * 0.75) 0;
284
- }
285
-
286
- :host([size="x-small"]) z-list-element > .list-element,
287
- :host([size="x-small"]) z-list-element > .item-search {
288
- padding: calc(var(--space-unit) / 2) 0;
289
- }
290
-
291
- :host([size="small"]) z-list-element .list-element::after {
292
- height: 36px;
293
- }
294
-
295
- :host([size="x-small"]) z-list-element .list-element::after {
296
- height: 32px;
297
- }
@@ -45,7 +45,7 @@ export class ZSkipToContent {
45
45
  this.visible = false;
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '453b88d07dba674089b87d0e203154d57967ae20', class: {
48
+ return (h(Host, { key: 'b0c2efcd257373ca8473d2f8135dc5c5d69e6d8f', class: {
49
49
  [this.variant]: true,
50
50
  "skip-to-content-visible": this.visible,
51
51
  } }, this.links.map((link, i) => {
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
4
4
  */
5
5
  export class ZStepper {
6
6
  render() {
7
- return (h(Host, { key: 'ebb63998048529b08157000dd0b6e444732ccb28', role: "navigation" }, h("slot", { key: '14743c8ee6a293c944b32b522ff78e763be263c2' })));
7
+ return (h(Host, { key: '31e5a5533c2aa92a12e0799f0fe576eb0e22d75e', role: "navigation" }, h("slot", { key: '7851acea6ba207cec933a7565542c5793104ece2' })));
8
8
  }
9
9
  static get is() { return "z-stepper"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class ZStepperItem {
8
8
  return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '7aa1de5d716837aadddf7f403322ff3cd296848e', role: "listitem" }, h("button", Object.assign({ key: 'beb11602a3c794d7a745ab82a58d033b6e0752e5', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '892e9dc3c317594f13616a6f3581ad2451721cf1', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '4e91ebaf7ed054394482485c8a67c973a783ed48' }, h("slot", { key: '7faef9a6f126d000f742e4e8a58d6b37cdf48504' })))));
11
+ return (h(Host, { key: '0cb2bcffcfb910b70307e5a7b04492e7203887f9', role: "listitem" }, h("button", Object.assign({ key: '01af9b8559a9fb830cb4ff5e9b5af414c518e720', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '94ef13762bc9ce63b8bfdb98c39a720a2037efa7', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '2bb267586d494bf4dcecdcfe3efd11586a3457b3' }, h("slot", { key: 'f8b3457eeb4addc3188c09e3b6fdd4817064158b' })))));
12
12
  }
13
13
  static get is() { return "z-stepper-item"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -151,19 +151,19 @@ export class ZToastNotification {
151
151
  }
152
152
  }
153
153
  render() {
154
- return (h(Host, { key: 'e0a58f45156d16fb3ec1cac2e4a13e6bdaf719b7', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
154
+ return (h(Host, { key: '6d582aa79426417081842e17e0ccb61fffec81a0', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
155
155
  if (this.autoclose && e.animationName.includes("slidein")) {
156
156
  this.startClosingTimeout(this.autoclose);
157
157
  }
158
158
  if (e.animationName.includes("slideout")) {
159
159
  this.hostElement.parentNode.removeChild(this.hostElement);
160
160
  }
161
- } }, h("div", { key: 'dc37f25eddcc763014c01766f43fba82ed54eb64', class: "toast-notification-container" }, h("div", { key: '3b832ddf285d2f203a5172ea20c221d7c5fecf8b', class: "toast-notification-content" }, h("div", { key: 'b701ba1ea667e98092b858cd31275f8beb1cf89a', class: "toast-notification-text" }, this.heading && h("span", { key: '643748547bf51bbb5ffeae968e9a6f5fb1f8db1e', class: "title" }, this.heading), h("span", { key: '2c1d2f616dc9c34b847732af066a0750e1ea49a2', class: "message" }, h("slot", { key: 'fea0d0b716ff11a64eeb98d2013da6887eeb5c99', name: "message" }, this.message && h("span", { key: '5867861be21564191c97f7cabace3c33645b4cd2', innerHTML: DOMPurify.sanitize(this.message) })))), h("div", { key: '3405e83126816b47017f59da2bd95a8195c30a25', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: '821f8f8ce998969cf16323c72c151c5dc0a72d62', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: 'c3e84a06feaf5632d0733971786dc824b2fa3ab6', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
161
+ } }, h("div", { key: '3b509ad43470b3bd5ceec401d28ce887a7f1de10', class: "toast-notification-container" }, h("div", { key: '7caaa8f330f15214c827eb89666ea2fdbbde3920', class: "toast-notification-content" }, h("div", { key: '49ad47ccf665b0bbcdbf94430cc2dab1e05219ab', class: "toast-notification-text" }, this.heading && h("span", { key: 'c2ea1e161d8c6bbefc9cff2ff27eadc713f5c133', class: "title" }, this.heading), h("span", { key: 'f93072a79ae141440445746ad654de84b50d2441', class: "message" }, h("slot", { key: '09d8108c415599d93b67925496fd52416fac4907', name: "message" }, this.message && h("span", { key: '011e00ae54cee5a33059cef9760576781c63f737', innerHTML: DOMPurify.sanitize(this.message) })))), h("div", { key: '67bde6f049f31a6b4e7d84c720b036f974bedba7', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: 'c92a7087e89012ee690c8e41577ccee412be112f', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: '41198c2a426c339046948b8969d3002aee7607c3', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
162
162
  if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
163
163
  e.preventDefault();
164
164
  this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true);
165
165
  }
166
- } }, h("z-icon", { key: '67397c893a19e479e6f76e5c1428ce301f12416e', name: "multiply-circled" }))))));
166
+ } }, h("z-icon", { key: '3316d0e9e999039cd99eb96faa37c81219e5617b', name: "multiply-circled" }))))));
167
167
  }
168
168
  static get is() { return "z-toast-notification"; }
169
169
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class ZToastNotificationList {
39
39
  }
40
40
  }
41
41
  render() {
42
- return h("slot", { key: '9c4418dc9b3f94c7fb935bc5544338c54a974910', name: "toasts" });
42
+ return h("slot", { key: '8219e6e96e73aee72df4e2d8d2e0e9155e8f7a2e', name: "toasts" });
43
43
  }
44
44
  static get is() { return "z-toast-notification-list"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -16,10 +16,10 @@ export class ZToggleButton {
16
16
  this.toggleClick.emit(this.opened);
17
17
  }
18
18
  render() {
19
- return (h("button", { key: '246d3cb54f0af334717c38005e7494388420e2fd', tabindex: this.avoidclick ? "-1" : "0", class: {
19
+ return (h("button", { key: '3448d665412b78c55f77951e408df8abaa158803', tabindex: this.avoidclick ? "-1" : "0", class: {
20
20
  "isopen": this.opened,
21
21
  "avoid-clicks": this.avoidclick,
22
- }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: 'a971c5521659db9d407f39592907e9ad9e755cf5', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
22
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '4514f07522fc6ecfced03793a5bc58e7c8f185e8', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
23
23
  }
24
24
  static get is() { return "z-toggle-button"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -26,14 +26,14 @@ export class ZToggleSwitch {
26
26
  this.emitToggleClick();
27
27
  }
28
28
  render() {
29
- 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: {
29
+ 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: {
30
30
  [this.labelPosition]: true,
31
31
  disabled: this.disabled,
32
- } }, h("span", { key: 'c3a9dc659fee0c089799a011568b2df707f62c34' }, h("slot", { key: '68be5cec64b7d973bd40d59be54580170bd7ec5e' })), h("span", { key: '206640ff4c480d2923f8c99b80093b8bf08ee68a', class: {
32
+ } }, h("span", { key: 'b46cb8e359cdb11e696a116661659c9872d49a1e' }, h("slot", { key: '42fc26c0ced09c5fdda062735fe543b8cb57a658' })), h("span", { key: 'b55f0fbd2ff23f01c1ac0b845c6af5571d81c13f', class: {
33
33
  container: true,
34
34
  disabled: this.disabled,
35
35
  checked: this.checked,
36
- } }, h("span", { key: '31d158040dfc2cb2e605ee5271cd1b992016c1e2', class: "circle" }, this.checked && (h("z-icon", { key: '2d45f7c22746d2db091e0ee2096b3f580064e8aa', width: 12, height: 12, name: "checkmark" })))))));
36
+ } }, h("span", { key: '87bc69be905d84458fec5384f756348a94e446fe', class: "circle" }, this.checked && (h("z-icon", { key: '4464b2bf8aa91a7c0c5c9e2bff26e84ff7c34be2', width: 12, height: 12, name: "checkmark" })))))));
37
37
  }
38
38
  static get is() { return "z-toggle-switch"; }
39
39
  static get encapsulation() { return "scoped"; }