@zanichelli/albe-web-components 19.2.6 → 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 (232) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/index-D_S5lGcb.js +4 -4
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/web-components-library.cjs.js +1 -1
  5. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/z-app-header_12.cjs.entry.js +126 -198
  7. package/dist/cjs/z-combobox.cjs.entry.js +5 -3
  8. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  10. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  11. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  12. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  14. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  15. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  16. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  17. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  18. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  19. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  20. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  21. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  22. package/dist/cjs/z-td.cjs.entry.js +3 -3
  23. package/dist/cjs/z-th.cjs.entry.js +5 -3
  24. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  25. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  26. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  27. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  28. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  29. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  30. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  31. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  32. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
  33. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  34. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  35. package/dist/collection/components/table/cells/z-th/styles.css +0 -72
  36. package/dist/collection/components/z-combobox/index.js +3 -3
  37. package/dist/collection/components/z-combobox/styles.css +0 -12
  38. package/dist/collection/components/z-input/index.js +3 -3
  39. package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
  40. package/dist/collection/components/z-input/styles-general.css +166 -0
  41. package/dist/collection/components/z-input/styles-text.css +87 -0
  42. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  43. package/dist/collection/components/z-searchbar/index.js +111 -193
  44. package/dist/collection/components/z-searchbar/index.stories.js +3 -16
  45. package/dist/collection/components/z-searchbar/styles.css +87 -201
  46. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  47. package/dist/collection/components/z-stepper/index.js +1 -1
  48. package/dist/collection/components/z-stepper-item/index.js +1 -1
  49. package/dist/collection/components/z-toast-notification/index.js +3 -3
  50. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  51. package/dist/collection/components/z-toggle-button/index.js +2 -2
  52. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  53. package/dist/collection/components/z-tool/index.js +2 -2
  54. package/dist/collection/components/z-toolbar/index.js +1 -1
  55. package/dist/collection/components/z-tooltip/index.js +1 -1
  56. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  57. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  58. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  59. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  60. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  61. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  62. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  63. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  64. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  65. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  66. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  67. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  68. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  69. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  70. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  71. package/dist/components/index13.js +1 -1
  72. package/dist/components/index22.js +1 -1
  73. package/dist/components/index23.js +1 -1
  74. package/dist/components/index24.js +1 -1
  75. package/dist/components/index25.js +1 -1
  76. package/dist/components/index26.js +1 -1
  77. package/dist/components/index27.js +1 -1
  78. package/dist/components/index4.js +1 -1
  79. package/dist/components/index7.js +1 -1
  80. package/dist/components/z-combobox.js +1 -1
  81. package/dist/components/z-myz-card-alert.js +1 -1
  82. package/dist/components/z-myz-card-dictionary.js +1 -1
  83. package/dist/components/z-myz-card-footer-sections.js +1 -1
  84. package/dist/components/z-myz-card-footer.js +1 -1
  85. package/dist/components/z-myz-card-icon.js +1 -1
  86. package/dist/components/z-myz-card-info.js +1 -1
  87. package/dist/components/z-myz-card-list.js +1 -1
  88. package/dist/components/z-myz-list.js +1 -1
  89. package/dist/components/z-otp.js +1 -1
  90. package/dist/components/z-skip-to-content.js +1 -1
  91. package/dist/components/z-stepper-item.js +1 -1
  92. package/dist/components/z-stepper.js +1 -1
  93. package/dist/components/z-td.js +1 -1
  94. package/dist/components/z-th.js +1 -1
  95. package/dist/components/z-toast-notification-list.js +1 -1
  96. package/dist/components/z-toast-notification.js +1 -1
  97. package/dist/components/z-toggle-button.js +1 -1
  98. package/dist/components/z-toggle-switch.js +1 -1
  99. package/dist/components/z-tool.js +1 -1
  100. package/dist/components/z-toolbar.js +1 -1
  101. package/dist/esm/index-DPdXlnVe.js +4 -4
  102. package/dist/esm/index.js +1 -1
  103. package/dist/esm/loader.js +1 -1
  104. package/dist/esm/{utils-0PByxJyN.js → utils-DYd3kO0P.js} +1 -1
  105. package/dist/esm/web-components-library.js +1 -1
  106. package/dist/esm/z-alert.entry.js +1 -1
  107. package/dist/esm/z-app-header_12.entry.js +128 -200
  108. package/dist/esm/z-book-card-deprecated.entry.js +1 -1
  109. package/dist/esm/z-breadcrumb.entry.js +1 -1
  110. package/dist/esm/z-color-picker.entry.js +1 -1
  111. package/dist/esm/z-combobox.entry.js +6 -4
  112. package/dist/esm/z-menu.entry.js +1 -1
  113. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  114. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  115. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  116. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  117. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  118. package/dist/esm/z-myz-card-info.entry.js +2 -2
  119. package/dist/esm/z-myz-card-list.entry.js +1 -1
  120. package/dist/esm/z-myz-card_4.entry.js +4 -4
  121. package/dist/esm/z-myz-list-item.entry.js +2 -2
  122. package/dist/esm/z-myz-list.entry.js +1 -1
  123. package/dist/esm/z-otp.entry.js +2 -2
  124. package/dist/esm/z-popover.entry.js +1 -1
  125. package/dist/esm/z-select.entry.js +1 -1
  126. package/dist/esm/z-skip-to-content.entry.js +2 -2
  127. package/dist/esm/z-slideshow.entry.js +1 -1
  128. package/dist/esm/z-stepper-item.entry.js +1 -1
  129. package/dist/esm/z-stepper.entry.js +1 -1
  130. package/dist/esm/z-table.entry.js +1 -1
  131. package/dist/esm/z-td.entry.js +3 -3
  132. package/dist/esm/z-th.entry.js +5 -3
  133. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  134. package/dist/esm/z-toast-notification.entry.js +3 -3
  135. package/dist/esm/z-toggle-button.entry.js +2 -2
  136. package/dist/esm/z-toggle-switch.entry.js +4 -4
  137. package/dist/esm/z-tool.entry.js +3 -3
  138. package/dist/esm/z-toolbar.entry.js +1 -1
  139. package/dist/esm/z-tooltip.entry.js +1 -1
  140. package/dist/esm/z-tr.entry.js +1 -1
  141. package/dist/types/components/z-searchbar/index.d.ts +24 -28
  142. package/dist/types/components.d.ts +14 -14
  143. package/dist/web-components-library/index.esm.js +1 -1
  144. package/dist/web-components-library/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
  145. package/dist/web-components-library/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
  146. package/dist/web-components-library/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
  147. package/dist/web-components-library/{p-eed4e897.entry.js → p-1d023220.entry.js} +1 -1
  148. package/{www/build/p-de0b7109.entry.js → dist/web-components-library/p-299f0f85.entry.js} +1 -1
  149. package/dist/web-components-library/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
  150. package/dist/web-components-library/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
  151. package/dist/web-components-library/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
  152. package/dist/web-components-library/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
  153. package/dist/web-components-library/p-41584e90.entry.js +1 -0
  154. package/dist/web-components-library/p-53670be4.entry.js +1 -0
  155. package/dist/web-components-library/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
  156. package/dist/web-components-library/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
  157. package/dist/web-components-library/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
  158. package/dist/web-components-library/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
  159. package/dist/web-components-library/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
  160. package/{www/build/p-4ae7df7f.entry.js → dist/web-components-library/p-83da1031.entry.js} +1 -1
  161. package/{www/build/p-c6920758.entry.js → dist/web-components-library/p-85cac60d.entry.js} +1 -1
  162. package/dist/web-components-library/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
  163. package/dist/web-components-library/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
  164. package/dist/web-components-library/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
  165. package/dist/web-components-library/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
  166. package/dist/web-components-library/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  167. package/dist/web-components-library/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
  168. package/dist/web-components-library/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
  169. package/dist/web-components-library/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
  170. package/dist/web-components-library/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
  171. package/{www/build/p-eadf2552.entry.js → dist/web-components-library/p-c4e7bd16.entry.js} +1 -1
  172. package/dist/web-components-library/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
  173. package/dist/web-components-library/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
  174. package/dist/web-components-library/p-d10e6b1a.entry.js +1 -0
  175. package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
  176. package/dist/web-components-library/p-e48497f0.entry.js +1 -0
  177. package/{www/build/p-19d3a16b.entry.js → dist/web-components-library/p-eddc2d19.entry.js} +1 -1
  178. package/dist/web-components-library/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
  179. package/dist/web-components-library/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
  180. package/dist/web-components-library/web-components-library.esm.js +1 -1
  181. package/package.json +1 -1
  182. package/www/build/index.esm.js +1 -1
  183. package/www/build/{p-5fa910e4.entry.js → p-13e7f751.entry.js} +1 -1
  184. package/www/build/{p-2ce3ac48.entry.js → p-14b804f9.entry.js} +1 -1
  185. package/www/build/{p-45866f64.entry.js → p-1580db58.entry.js} +1 -1
  186. package/www/build/{p-eed4e897.entry.js → p-1d023220.entry.js} +1 -1
  187. package/www/build/{p-804ab9a4.js → p-23143b48.js} +1 -1
  188. package/{dist/web-components-library/p-de0b7109.entry.js → www/build/p-299f0f85.entry.js} +1 -1
  189. package/www/build/{p-d11d39f5.entry.js → p-2c036e17.entry.js} +1 -1
  190. package/www/build/{p-5b9cacd7.entry.js → p-2df6d169.entry.js} +1 -1
  191. package/www/build/{p-550ee6c3.entry.js → p-37e84b71.entry.js} +1 -1
  192. package/www/build/{p-6fb8a984.entry.js → p-3ea03d34.entry.js} +1 -1
  193. package/www/build/p-41584e90.entry.js +1 -0
  194. package/www/build/p-53670be4.entry.js +1 -0
  195. package/www/build/{p-7d9477ed.entry.js → p-583b8152.entry.js} +1 -1
  196. package/www/build/{p-538a1bd2.entry.js → p-5d20fc3d.entry.js} +1 -1
  197. package/www/build/{p-364b0ca4.entry.js → p-658f022d.entry.js} +1 -1
  198. package/www/build/{p-f94c360f.entry.js → p-788eaac7.entry.js} +1 -1
  199. package/www/build/{p-a40ae683.entry.js → p-8261c869.entry.js} +1 -1
  200. package/{dist/web-components-library/p-4ae7df7f.entry.js → www/build/p-83da1031.entry.js} +1 -1
  201. package/{dist/web-components-library/p-c6920758.entry.js → www/build/p-85cac60d.entry.js} +1 -1
  202. package/www/build/{p-c6ae9241.entry.js → p-88a3ba7c.entry.js} +1 -1
  203. package/www/build/{p-e2d94c86.entry.js → p-8a8df4f4.entry.js} +1 -1
  204. package/www/build/{p-ab50e989.entry.js → p-8b026993.entry.js} +1 -1
  205. package/www/build/{p-8fd25c59.entry.js → p-9d15ecdf.entry.js} +1 -1
  206. package/www/build/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  207. package/www/build/{p-f5bbcaa6.entry.js → p-a4f673f8.entry.js} +1 -1
  208. package/www/build/{p-2d6a4515.entry.js → p-b6223d7e.entry.js} +1 -1
  209. package/www/build/{p-7835fdda.entry.js → p-b9343431.entry.js} +1 -1
  210. package/www/build/{p-c539ae57.entry.js → p-c42ddd93.entry.js} +1 -1
  211. package/{dist/web-components-library/p-eadf2552.entry.js → www/build/p-c4e7bd16.entry.js} +1 -1
  212. package/www/build/{p-3f996a63.entry.js → p-c944a943.entry.js} +1 -1
  213. package/www/build/{p-19f5fdd3.entry.js → p-cd33f4b1.entry.js} +1 -1
  214. package/www/build/p-d10e6b1a.entry.js +1 -0
  215. package/www/build/p-dc5ab2cc.entry.js +1 -0
  216. package/www/build/p-e48497f0.entry.js +1 -0
  217. package/{dist/web-components-library/p-19d3a16b.entry.js → www/build/p-eddc2d19.entry.js} +1 -1
  218. package/www/build/{p-91503030.entry.js → p-ef5018bb.entry.js} +1 -1
  219. package/www/build/{p-7a9d19b8.entry.js → p-f7e46ef2.entry.js} +1 -1
  220. package/www/build/web-components-library.esm.js +1 -1
  221. package/www/index.html +1 -1
  222. package/dist/collection/components/z-input/styles.css +0 -406
  223. package/dist/web-components-library/p-32440f4c.entry.js +0 -1
  224. package/dist/web-components-library/p-a9f848ef.entry.js +0 -1
  225. package/dist/web-components-library/p-ae69bb7d.entry.js +0 -1
  226. package/dist/web-components-library/p-f3436721.entry.js +0 -1
  227. package/dist/web-components-library/p-fc15a666.entry.js +0 -1
  228. package/www/build/p-32440f4c.entry.js +0 -1
  229. package/www/build/p-a9f848ef.entry.js +0 -1
  230. package/www/build/p-ae69bb7d.entry.js +0 -1
  231. package/www/build/p-f3436721.entry.js +0 -1
  232. 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"; }
@@ -182,10 +182,10 @@ export class ZTool {
182
182
  (_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
183
183
  }
184
184
  render() {
185
- 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,
185
+ 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,
186
186
  /* disable auto-close to prevent unwanted close behaviors on mobile,
187
187
  when the bound element is the main toolbar */
188
- closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: '85e016cb92ce6c7356afa7f93bbdd278ab3ff88e' })))));
188
+ closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'd151d02e38fb7a0941012ec969b6cea647721846' })))));
189
189
  }
190
190
  static get is() { return "z-tool"; }
191
191
  static get encapsulation() { return "shadow"; }
@@ -133,7 +133,7 @@ export class ZToolbar {
133
133
  }
134
134
  }
135
135
  render() {
136
- return (h(Host, { key: 'd766b9377953f92994c693221a9ea7c5104cd1c6', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: '37d3079836475575d0267725589798a39025a517', onSlotchange: () => {
136
+ return (h(Host, { key: '9f77e33a2a5e3566137ca23c4a41526b58b46515', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: 'a62af35ef54781baee92f865a969a8642ce58703', onSlotchange: () => {
137
137
  this.collectToolItems();
138
138
  this.updateTabIndexes();
139
139
  } })));
@@ -29,7 +29,7 @@ export class ZTooltip {
29
29
  this.open = this.popoverEl.open;
30
30
  }
31
31
  render() {
32
- 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' })));
32
+ 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' })));
33
33
  }
34
34
  static get is() { return "z-tooltip"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class ZMyzCardComponent {
33
33
  return elemClasses;
34
34
  }
35
35
  render() {
36
- return (h("div", { key: '2c0c85e0fcdc9f97ccdd48248df012b863fcba9d', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: 'fc337a050b59e77698d916bb17f8d83eb2631a52' })));
36
+ return (h("div", { key: 'b67a08f3b64765de8616a71391a1b6ca8c12b6a9', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: '9b5002efd87f6f829578802ebd4dfcf57a69e02f' })));
37
37
  }
38
38
  static get is() { return "z-myz-card"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class ZMyzCardAlert {
40
40
  }
41
41
  }
42
42
  render() {
43
- return (h("div", { key: '766dbdd4df6e60554732cf000e6366320f93d4a5', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: '9e398b2d0c588f8966d84a56e4bcbfda7510dba5', type: this.getAlertType() }, h("div", { key: 'c7d48f8660399d88321a6f18db86fa9b3c3fca22', class: "relative-container" }, h("z-icon", { key: 'be109142c6c763ed228fa7fe4e15c73690a92eb4', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'd1c1c2a371d4c4b2af1ed0a20348b0512d7834ec', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: '345c4193b1bf982311bdf0edc7662e60071061a8', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
43
+ return (h("div", { key: '4ca682b49ae42f644338b19e8e49e2f292c47d23', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: 'afcae73ad5db966ad66569171879d7f9c66bddbd', type: this.getAlertType() }, h("div", { key: '8f4afab9559bb5f792796c8ea1907148811890a9', class: "relative-container" }, h("z-icon", { key: '8070aad90c809d35822898c444fd5f81c1ac9146', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'eb0ea9fe673d279a5eead6568331a31eb91302e2', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'daae97d1758c457bb1f8c2143ac2c6efe999a7f9', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
44
44
  this.handleActionButtonClick(e);
45
45
  }, onKeyPress: (e) => {
46
46
  this.handleSpaceKeyPress(e);
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class ZMyzCardBody {
7
7
  render() {
8
- return (h("div", { key: '42a8b5cd164a26010f0a4f5b24111fce46734faf' }, h("slot", { key: 'c16fdc0b5b4903994c6806989fe0e08acda7de07', name: "alert" }), h("slot", { key: '37aa2d3560a4e4abcead0bcf5a242da3ef64a56d', name: "cover" })));
8
+ return (h("div", { key: '95ef1a2e8d5babdef3f5d89b532b6916cd1e2e4c' }, h("slot", { key: '96616fcb612f3ae7f1db129d50e5dbd0497870a9', name: "alert" }), h("slot", { key: '327613cfcfe1a9f96e66531629d0591b90717569', name: "cover" })));
9
9
  }
10
10
  static get is() { return "z-myz-card-body"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class ZMyzCardCover {
4
4
  this.img = this.defaultimg;
5
5
  }
6
6
  render() {
7
- return (h("img", { key: 'abaa6c16a6cb827834669e78332968bf741208c1', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
7
+ return (h("img", { key: '13e827933bb784fbe1e00c690048e2e9c3699313', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
8
8
  }
9
9
  static get is() { return "z-myz-card-cover"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class ZMyzCardDictionary {
23
23
  this.cardFlipped.emit(showBack);
24
24
  }
25
25
  render() {
26
- return (h("div", { key: '8dc932a6e2df1d2915aad71065214b8eedfb8228' }, h("z-myz-card", { key: '31ce51650d9999b46068d6427ec1e5f15d1f5020' }, h("z-myz-card-header", { key: '335d79eeb60cb1539bbd096b45c8a6ea67e486a7', titolo: this.name }), h("div", { key: 'c1a5d68eb72455705bb2dd15c8410e4d5171a827', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'a5a772278c40abe29f23844a1f700050ba4e0deb', class: "front" }, h("z-myz-card-body", { key: '9eaf2fcf34e74836420c03393d0a0e5d5c3a3b17' }, h("z-myz-card-cover", { key: 'e57ea2529cdf6df4dbe0a1b690180ff21d85f153', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: 'c5e156b14e708d542014d3f5340c34363863353c', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: 'e80acba3651fa2be23ee66ea312afe89362d9a59', class: "back" }, h("slot", { key: 'bd7f4bb1d2ec63d63460034e4ead0adc62651807', name: "info" }))), h("slot", { key: 'dfcf97a040d303261c1cf50dd10763e04eeec035' }))));
26
+ return (h("div", { key: 'fe6d9d8cc73aa0135e2874d0bee4b996cf83dc64' }, h("z-myz-card", { key: 'eee9c5a48f74a1bb5fb36ed0952a84260c37b79e' }, h("z-myz-card-header", { key: '0665c976a9a81efcc14f531585aeb01e29526896', titolo: this.name }), h("div", { key: 'c7ab52b273bdda1f32e016f0117844507159699e', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'c7b2b5cc7253ba6c73033afc1dfa375ed281fae2', class: "front" }, h("z-myz-card-body", { key: '954bc5ad14a460c65ab58a85b1e6f6d9568a76ab' }, h("z-myz-card-cover", { key: 'ce0762910761111896f04d2a8071910b556d9471', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: '385a8b63d361e250c2c3331e9e5222a2cd708ffe', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '115dfdbc6c12edbab647c0f8e1e16b197a0066fd', class: "back" }, h("slot", { key: '947dbf7463e16a9e1664df2390ec714a77d3b46a', name: "info" }))), h("slot", { key: 'bd851dc63c9a852237063f48b0c558363f1dd3f6' }))));
27
27
  }
28
28
  static get is() { return "z-myz-card-dictionary"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -56,7 +56,7 @@ export class ZMyzCardFooter {
56
56
  return this.host.querySelector("[slot=list] > li a");
57
57
  }
58
58
  render() {
59
- return (h("div", { key: 'd489e447e3e1d590098c6356f79afa453d829b14', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '736f759004879e45aaa87b4a37d94d335e5fdf38', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: '819e6055158bfa1f3e2a8d923c81e5e1430eee5f', class: "toggle" }, h("slot", { key: 'd0789e330d61dc5d0cf84fda39f360dc2e1846fe', name: "toggle" })), this.titolo && h("p", { key: '5047d003377297bbbe1bca0ab61405ecc0cb1c3b', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'ba5dca645b5b47564fc893773375a7588cf8e1fa', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: 'a461c381f6eee4cd10eb2768932d392a15c37c63' }, h("p", { key: '7ab6b9d45859070b33f16c00f8c0bf13ab28796a', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '039c7702d8d0cafaca6a680e1afc8e93835fc575', title: this.getTitleAuthors() }, h("span", { key: '9273775ede820fff9b15252e815830223ccdaa9b', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: '8f096c9282fb5c8a8d22c033876d2881992dafd4', class: "year-isbn" }, h("span", { key: '83ca26272ff2094e0461b0b4c16e7de47496270e', class: "isbn" }, h("span", { key: 'f988641ac031ade7be9e8c8531dab173da0d2fa9' }, h("span", { key: 'd777fd577873a0a4095ba99506826f64320f2f6f', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '3092066602cd6433d10b10c3aa8eef0b783545b4', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: '5fe266d544afca2b736cfeb4e5c38e611483cdc2', name: "list" })))), this.customContent && h("slot", { key: 'cd156338758dd3467dfc3232783494c703f15288', name: "content" })));
59
+ return (h("div", { key: '0836e7e0d6c360721019bc7674466345e3eaab74', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '0771eca0b6c8267a612f95800fc807096efd19eb', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'e9ca8f43d386ae14914d192a428698ecd9ee1082', class: "toggle" }, h("slot", { key: '4ffe0ee9635d343821a20d572217fd7f971a781f', name: "toggle" })), this.titolo && h("p", { key: '352cff28af1654d0676dcf0c184f42a5158bbbbe', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'a76925042afd579c30fc82faf96146718dd497c9', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: 'a3f2391f91e996b06d00a725a1b010f0df352551' }, h("p", { key: '4dfcf2de83492dd502eb69cc2525769c04430744', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: 'b0f06c214c88f38e477a0aacc824441160bf38fb', title: this.getTitleAuthors() }, h("span", { key: '6343877f00355d614d4a263d3615b5d6222ba795', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'b1f88556f9e2493e9070e71c72cc760f2f52738d', class: "year-isbn" }, h("span", { key: 'a934207b2ae734db3deca9d5a2544d86cb011117', class: "isbn" }, h("span", { key: '4a2d0fa9a603e63aa3443934d58f5df9350fbdf3' }, h("span", { key: '2668d24fe56de6eb660fc56a540347070ade4d92', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '6310cdec45297752f3035d975c3073acce3e2076', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: 'f949fe923fa112d79c6cf4fa7490dd03e7f9c772', name: "list" })))), this.customContent && h("slot", { key: 'b0479a7f0e890c03dfbdced57aa6162d38981eb9', name: "content" })));
60
60
  }
61
61
  static get is() { return "z-myz-card-footer"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class ZMyzCardFooterSections {
7
7
  render() {
8
- return (h("div", { key: '97d3727bac19ede546388a2b3a859087132579d9' }, h("footer", { key: '1a936af0a57164d76e12d39243553439e01acd59' }, h("div", { key: '5cfa3a09588303e958cb3e03fb4047e4ee940b25', class: "top" }, h("slot", { key: 'a94b5f1583dad8ab8b65ae6cf2666b2822669eda', name: "top" })), h("div", { key: '6915a0421bb342c7e1374aa92b49aa6836af0f38', class: "bottom" }, h("slot", { key: '9617f8e997b8c66d0cac543b191f73e4ce64c070', name: "bottom" })))));
8
+ return (h("div", { key: 'e03532734334f374789a31da73f15e32ee8c1679' }, h("footer", { key: '36bbfc8363d00503545aa9a1dd4de0e8b036c0e2' }, h("div", { key: '159b35a78ec38d541d6016fa4724effa00a66dd6', class: "top" }, h("slot", { key: '25c311436a817abf5d0d961a6e2f699fcea6f331', name: "top" })), h("div", { key: '248485fc69ef0c7c76ca086a86a5971ae3e3876f', class: "bottom" }, h("slot", { key: 'fe1b0f89936780d822328e13ce94564838f3c0d7', name: "bottom" })))));
9
9
  }
10
10
  static get is() { return "z-myz-card-footer-sections"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class ZMyzCardHeader {
27
27
  };
28
28
  }
29
29
  render() {
30
- return (h("header", { key: 'cb6d37eb3216830f6077ead88b023626ac70d533', class: this.retrieveClass() }, h("slot", { key: '3f75c5d25d0d7fb8c4d8fd4d1ef8579565cbff58', name: "aria-heading" }), h("span", { key: '450a394125795418318d6988826803831285a9c2', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '9aabb4daea8a2065290d5dc5d06fc7a61bc5a2ca', name: "icon" })));
30
+ return (h("header", { key: '671c26a2953f4ca84e9c0bc3b84e8f6cf3d442f7', class: this.retrieveClass() }, h("slot", { key: 'd59992fbe354f2c6c4934613ed8597e3673fa49b', name: "aria-heading" }), h("span", { key: 'b58bfc5c6ab9993c33b4e8fcfde411a537c5d0f3', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '3928815f962ffd84793775a964a2303a901eed06', name: "icon" })));
31
31
  }
32
32
  static get is() { return "z-myz-card-header"; }
33
33
  static get encapsulation() { return "shadow"; }