@zanichelli/albe-web-components 20.0.2-RC → 20.0.3

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 (470) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/web-components-library.cjs.js +1 -1
  4. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  6. package/dist/cjs/z-app-header_12.cjs.entry.js +36 -19
  7. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  10. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  11. package/dist/cjs/z-book-card.cjs.entry.js +7 -7
  12. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  13. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  14. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  15. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  16. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  17. package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
  18. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  19. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  20. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  21. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +6 -6
  23. package/dist/cjs/z-file.cjs.entry.js +1 -1
  24. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  25. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  26. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  27. package/dist/cjs/z-input-range.cjs.entry.js +1 -1
  28. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  29. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  30. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  31. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  32. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  33. package/dist/cjs/z-range-picker.cjs.entry.js +3 -3
  34. package/dist/cjs/z-select.cjs.entry.js +5 -1
  35. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  36. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  37. package/dist/cjs/z-stepper-item.cjs.entry.js +7 -5
  38. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  40. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  41. package/dist/cjs/z-table.cjs.entry.js +1 -1
  42. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  43. package/dist/cjs/z-td.cjs.entry.js +1 -1
  44. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  45. package/dist/cjs/z-th.cjs.entry.js +1 -1
  46. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  47. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  48. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  49. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  50. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  51. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  52. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  53. package/dist/cjs/z-tr.cjs.entry.js +1 -1
  54. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  55. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  56. package/dist/collection/collection-manifest.json +1 -1
  57. package/dist/collection/components/book-card/z-book-card/index.js +6 -6
  58. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  59. package/dist/collection/components/book-card/z-book-card/styles.css +30 -6
  60. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  61. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  62. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  63. package/dist/collection/components/deprecated/table/cells/z-td/index.js +1 -1
  64. package/dist/collection/components/deprecated/table/cells/z-th/index.js +1 -1
  65. package/dist/collection/components/deprecated/table/z-table/index.js +1 -1
  66. package/dist/collection/components/deprecated/table/z-tbody/index.js +1 -1
  67. package/dist/collection/components/deprecated/table/z-tfoot/index.js +1 -1
  68. package/dist/collection/components/deprecated/table/z-thead/index.js +1 -1
  69. package/dist/collection/components/deprecated/table/z-tr/index.js +1 -1
  70. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  71. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  72. package/dist/collection/components/list/z-list/index.js +1 -1
  73. package/dist/collection/components/list/z-list-element/index.js +1 -1
  74. package/dist/collection/components/list/z-list-group/index.js +2 -2
  75. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  76. package/dist/collection/components/z-accordion/index.js +1 -1
  77. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  78. package/dist/collection/components/z-app-header/index.js +13 -2
  79. package/dist/collection/components/z-app-header/index.js.map +1 -1
  80. package/dist/collection/components/z-app-header/styles.css +32 -17
  81. package/dist/collection/components/z-aria-alert/index.js +1 -1
  82. package/dist/collection/components/z-avatar/index.js +2 -2
  83. package/dist/collection/components/z-book-cover/index.js +1 -1
  84. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  85. package/dist/collection/components/z-button-sort/index.js +1 -1
  86. package/dist/collection/components/z-chip/index.js +2 -2
  87. package/dist/collection/components/z-color-picker/index.js +1 -1
  88. package/dist/collection/components/z-combobox/index.js +2 -2
  89. package/dist/collection/components/z-combobox/index.js.map +1 -1
  90. package/dist/collection/components/z-combobox/styles.css +0 -8
  91. package/dist/collection/components/z-cover-hero/index.js +2 -2
  92. package/dist/collection/components/z-divider/index.js +1 -1
  93. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  94. package/dist/collection/components/z-icon/index.js +1 -1
  95. package/dist/collection/components/z-info-box/index.js +1 -1
  96. package/dist/collection/components/z-info-reveal/index.js +1 -1
  97. package/dist/collection/components/z-input/index.js +7 -1
  98. package/dist/collection/components/z-input/index.js.map +1 -1
  99. package/dist/collection/components/z-input/styles-general.css +3 -1
  100. package/dist/collection/components/z-input-message/index.js +1 -1
  101. package/dist/collection/components/z-input-range/index.js +1 -1
  102. package/dist/collection/components/z-logo/index.js +1 -1
  103. package/dist/collection/components/z-menu-section/index.js +1 -1
  104. package/dist/collection/components/z-modal/index.js +4 -4
  105. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  106. package/dist/collection/components/z-notification/index.js +1 -1
  107. package/dist/collection/components/z-offcanvas/index.js +2 -2
  108. package/dist/collection/components/z-popover/index.js +1 -1
  109. package/dist/collection/components/z-searchbar/index.js +3 -3
  110. package/dist/collection/components/z-select/index.js +5 -1
  111. package/dist/collection/components/z-select/index.js.map +1 -1
  112. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  113. package/dist/collection/components/z-stepper/index.js +1 -1
  114. package/dist/collection/components/z-stepper/index.js.map +1 -1
  115. package/dist/collection/components/z-stepper/styles.css +7 -8
  116. package/dist/collection/components/z-stepper-item/index.js +25 -4
  117. package/dist/collection/components/z-stepper-item/index.js.map +1 -1
  118. package/dist/collection/components/z-stepper-item/styles.css +89 -71
  119. package/dist/collection/components/z-tag/index.js +2 -2
  120. package/dist/collection/components/z-toast-notification/index.js +3 -3
  121. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  122. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  123. package/dist/collection/components/z-tool/index.js +2 -2
  124. package/dist/collection/components/z-toolbar/index.js +1 -1
  125. package/dist/collection/components/z-tooltip/index.js +1 -1
  126. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  127. package/dist/components/index10.js +1 -1
  128. package/dist/components/index11.js +1 -1
  129. package/dist/components/index12.js +1 -1
  130. package/dist/components/index13.js +1 -1
  131. package/dist/components/index14.js +1 -1
  132. package/dist/components/index15.js +1 -1
  133. package/dist/components/index16.js +1 -1
  134. package/dist/components/index17.js +1 -1
  135. package/dist/components/index18.js +1 -1
  136. package/dist/components/index19.js +1 -1
  137. package/dist/components/index20.js +1 -1
  138. package/dist/components/index21.js +1 -1
  139. package/dist/components/index3.js +1 -1
  140. package/dist/components/index5.js +1 -1
  141. package/dist/components/index6.js +1 -1
  142. package/dist/components/index6.js.map +1 -1
  143. package/dist/components/index7.js +1 -1
  144. package/dist/components/index8.js +1 -1
  145. package/dist/components/index9.js +1 -1
  146. package/dist/components/z-accordion.js +1 -1
  147. package/dist/components/z-anchor-navigation.js +1 -1
  148. package/dist/components/z-app-header.js +1 -1
  149. package/dist/components/z-app-header.js.map +1 -1
  150. package/dist/components/z-aria-alert.js +1 -1
  151. package/dist/components/z-avatar.js +1 -1
  152. package/dist/components/z-book-card-app.js +1 -1
  153. package/dist/components/z-book-card.js +1 -1
  154. package/dist/components/z-book-card.js.map +1 -1
  155. package/dist/components/z-breadcrumb.js +1 -1
  156. package/dist/components/z-button-sort.js +1 -1
  157. package/dist/components/z-color-picker.js +1 -1
  158. package/dist/components/z-combobox.js +1 -1
  159. package/dist/components/z-combobox.js.map +1 -1
  160. package/dist/components/z-cover-hero.js +1 -1
  161. package/dist/components/z-date-picker.js +1 -1
  162. package/dist/components/z-file.js +1 -1
  163. package/dist/components/z-info-box.js +1 -1
  164. package/dist/components/z-input-range.js +1 -1
  165. package/dist/components/z-logo.js +1 -1
  166. package/dist/components/z-menu-section.js +1 -1
  167. package/dist/components/z-navigation-tabs.js +1 -1
  168. package/dist/components/z-notification.js +1 -1
  169. package/dist/components/z-range-picker.js +1 -1
  170. package/dist/components/z-select.js +1 -1
  171. package/dist/components/z-select.js.map +1 -1
  172. package/dist/components/z-skip-to-content.js +1 -1
  173. package/dist/components/z-stepper-item.js +1 -1
  174. package/dist/components/z-stepper-item.js.map +1 -1
  175. package/dist/components/z-stepper.js +1 -1
  176. package/dist/components/z-stepper.js.map +1 -1
  177. package/dist/components/z-table.js +1 -1
  178. package/dist/components/z-tbody.js +1 -1
  179. package/dist/components/z-td.js +1 -1
  180. package/dist/components/z-tfoot.js +1 -1
  181. package/dist/components/z-th.js +1 -1
  182. package/dist/components/z-thead.js +1 -1
  183. package/dist/components/z-toast-notification-list.js +1 -1
  184. package/dist/components/z-toast-notification.js +3 -3
  185. package/dist/components/z-toggle-switch.js +1 -1
  186. package/dist/components/z-tool.js +1 -1
  187. package/dist/components/z-toolbar.js +1 -1
  188. package/dist/components/z-tr.js +1 -1
  189. package/dist/components/z-tree-list.js +1 -1
  190. package/dist/components/z-visually-hidden.js +1 -1
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/esm/web-components-library.js +1 -1
  193. package/dist/esm/z-accordion.entry.js +1 -1
  194. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  195. package/dist/esm/z-app-header_12.entry.js +36 -19
  196. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  197. package/dist/esm/z-aria-alert.entry.js +1 -1
  198. package/dist/esm/z-avatar.entry.js +2 -2
  199. package/dist/esm/z-book-card-app.entry.js +1 -1
  200. package/dist/esm/z-book-card.entry.js +7 -7
  201. package/dist/esm/z-book-card.entry.js.map +1 -1
  202. package/dist/esm/z-book-cover.entry.js +1 -1
  203. package/dist/esm/z-breadcrumb.entry.js +2 -2
  204. package/dist/esm/z-button-sort.entry.js +1 -1
  205. package/dist/esm/z-chip.entry.js +2 -2
  206. package/dist/esm/z-color-picker.entry.js +1 -1
  207. package/dist/esm/z-combobox.entry.js +3 -3
  208. package/dist/esm/z-combobox.entry.js.map +1 -1
  209. package/dist/esm/z-cover-hero.entry.js +2 -2
  210. package/dist/esm/z-date-picker.entry.js +1 -1
  211. package/dist/esm/z-dragdrop-area_2.entry.js +6 -6
  212. package/dist/esm/z-file.entry.js +1 -1
  213. package/dist/esm/z-ghost-loading.entry.js +1 -1
  214. package/dist/esm/z-info-box.entry.js +1 -1
  215. package/dist/esm/z-info-reveal.entry.js +1 -1
  216. package/dist/esm/z-input-range.entry.js +1 -1
  217. package/dist/esm/z-logo.entry.js +1 -1
  218. package/dist/esm/z-menu-section.entry.js +1 -1
  219. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  220. package/dist/esm/z-notification.entry.js +1 -1
  221. package/dist/esm/z-popover.entry.js +1 -1
  222. package/dist/esm/z-range-picker.entry.js +3 -3
  223. package/dist/esm/z-select.entry.js +5 -1
  224. package/dist/esm/z-select.entry.js.map +1 -1
  225. package/dist/esm/z-skip-to-content.entry.js +1 -1
  226. package/dist/esm/z-stepper-item.entry.js +7 -5
  227. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  228. package/dist/esm/z-stepper.entry.js +2 -2
  229. package/dist/esm/z-stepper.entry.js.map +1 -1
  230. package/dist/esm/z-table.entry.js +1 -1
  231. package/dist/esm/z-tbody.entry.js +1 -1
  232. package/dist/esm/z-td.entry.js +1 -1
  233. package/dist/esm/z-tfoot.entry.js +1 -1
  234. package/dist/esm/z-th.entry.js +1 -1
  235. package/dist/esm/z-thead.entry.js +1 -1
  236. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  237. package/dist/esm/z-toast-notification.entry.js +3 -3
  238. package/dist/esm/z-toggle-switch.entry.js +3 -3
  239. package/dist/esm/z-tool.entry.js +2 -2
  240. package/dist/esm/z-toolbar.entry.js +1 -1
  241. package/dist/esm/z-tooltip.entry.js +1 -1
  242. package/dist/esm/z-tr.entry.js +1 -1
  243. package/dist/esm/z-tree-list.entry.js +1 -1
  244. package/dist/esm/z-visually-hidden.entry.js +1 -1
  245. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -1
  246. package/dist/types/components/z-app-header/index.d.ts +2 -0
  247. package/dist/types/components/z-input/index.d.ts +1 -0
  248. package/dist/types/components/z-stepper/index.d.ts +1 -1
  249. package/dist/types/components/z-stepper-item/index.d.ts +4 -0
  250. package/dist/types/components.d.ts +9 -0
  251. package/dist/web-components-library/{p-c983da75.entry.js → p-04b6a9f8.entry.js} +2 -2
  252. package/dist/web-components-library/{p-08384d53.entry.js → p-09ac8cb2.entry.js} +2 -2
  253. package/dist/web-components-library/{p-e1d1445c.entry.js → p-10ffee06.entry.js} +2 -2
  254. package/dist/web-components-library/{p-eea18ea6.entry.js → p-13bc7433.entry.js} +2 -2
  255. package/dist/web-components-library/{p-fdafba48.entry.js → p-16423e69.entry.js} +2 -2
  256. package/{www/build/p-633d18e9.entry.js → dist/web-components-library/p-1702efd5.entry.js} +2 -2
  257. package/dist/web-components-library/p-1702efd5.entry.js.map +1 -0
  258. package/{www/build/p-886382a7.entry.js → dist/web-components-library/p-1fedbf42.entry.js} +2 -2
  259. package/{www/build/p-deed5153.entry.js → dist/web-components-library/p-248ff73f.entry.js} +2 -2
  260. package/{www/build/p-e2cdf19c.entry.js → dist/web-components-library/p-2f8bd98f.entry.js} +2 -2
  261. package/dist/web-components-library/{p-81c949eb.entry.js → p-320b05fc.entry.js} +2 -2
  262. package/dist/web-components-library/p-3e78dc0d.entry.js +2 -0
  263. package/dist/web-components-library/p-3e78dc0d.entry.js.map +1 -0
  264. package/dist/web-components-library/{p-0fb73edd.entry.js → p-41a3f231.entry.js} +2 -2
  265. package/{www/build/p-41966ee6.entry.js → dist/web-components-library/p-4362efeb.entry.js} +2 -2
  266. package/dist/web-components-library/p-484f3064.entry.js +2 -0
  267. package/dist/web-components-library/p-484f3064.entry.js.map +1 -0
  268. package/dist/web-components-library/{p-87be3ccc.entry.js → p-4bc9e06a.entry.js} +2 -2
  269. package/dist/web-components-library/{p-2780f6d9.entry.js → p-4c054dc5.entry.js} +2 -2
  270. package/dist/web-components-library/{p-d4e212cc.entry.js → p-4d6ea6b1.entry.js} +2 -2
  271. package/{www/build/p-06a196fb.entry.js → dist/web-components-library/p-57ba851d.entry.js} +2 -2
  272. package/dist/web-components-library/{p-350ea24f.entry.js → p-5ecdc465.entry.js} +2 -2
  273. package/dist/web-components-library/{p-95af0156.entry.js → p-6005c944.entry.js} +2 -2
  274. package/{www/build/p-a4f5e7e9.entry.js → dist/web-components-library/p-61b49075.entry.js} +2 -2
  275. package/dist/web-components-library/{p-2e4db422.entry.js → p-67a2f55e.entry.js} +2 -2
  276. package/dist/web-components-library/p-6ce99251.entry.js +2 -0
  277. package/dist/web-components-library/p-6ce99251.entry.js.map +1 -0
  278. package/dist/web-components-library/p-885472aa.entry.js +2 -0
  279. package/{www/build/p-ce98069e.entry.js.map → dist/web-components-library/p-885472aa.entry.js.map} +1 -1
  280. package/dist/web-components-library/{p-55c3310f.entry.js → p-9dc4d290.entry.js} +2 -2
  281. package/dist/web-components-library/p-a1f060c0.entry.js +2 -0
  282. package/dist/web-components-library/{p-e160889a.entry.js.map → p-a1f060c0.entry.js.map} +1 -1
  283. package/dist/web-components-library/p-a30b5538.entry.js +2 -0
  284. package/dist/web-components-library/p-a30b5538.entry.js.map +1 -0
  285. package/dist/web-components-library/{p-3574a17e.entry.js → p-a5e15158.entry.js} +2 -2
  286. package/dist/web-components-library/{p-42cfc136.entry.js → p-acd3b237.entry.js} +2 -2
  287. package/dist/web-components-library/p-ae51be93.entry.js +2 -0
  288. package/dist/web-components-library/{p-2a74e691.entry.js → p-b3d0d75c.entry.js} +2 -2
  289. package/dist/web-components-library/{p-5ae84959.entry.js → p-b5d18aae.entry.js} +2 -2
  290. package/dist/web-components-library/{p-2eaf4b9b.entry.js → p-bd1876f7.entry.js} +2 -2
  291. package/dist/web-components-library/{p-059963b6.entry.js → p-bd663d9d.entry.js} +2 -2
  292. package/dist/web-components-library/p-c00b8b6d.entry.js +2 -0
  293. package/dist/web-components-library/p-c00b8b6d.entry.js.map +1 -0
  294. package/dist/web-components-library/{p-ee5ff565.entry.js → p-ca2d01fd.entry.js} +2 -2
  295. package/dist/web-components-library/{p-47d4000c.entry.js → p-d4ad8db2.entry.js} +2 -2
  296. package/{www/build/p-d4eb997c.entry.js → dist/web-components-library/p-d70ab97a.entry.js} +2 -2
  297. package/dist/web-components-library/{p-668b9254.entry.js → p-d76c3418.entry.js} +2 -2
  298. package/dist/web-components-library/{p-bdd9c781.entry.js → p-de682f93.entry.js} +2 -2
  299. package/{www/build/p-6af7c34f.entry.js → dist/web-components-library/p-ea462d53.entry.js} +2 -2
  300. package/{www/build/p-c15267bc.entry.js → dist/web-components-library/p-eb2deba7.entry.js} +2 -2
  301. package/dist/web-components-library/{p-baa35a6e.entry.js → p-f074b98b.entry.js} +2 -2
  302. package/dist/web-components-library/{p-ea96790b.entry.js → p-f95adaa5.entry.js} +3 -3
  303. package/dist/web-components-library/{p-e972b9c2.entry.js → p-fa11fd2d.entry.js} +2 -2
  304. package/dist/web-components-library/{p-1b562386.entry.js → p-ffe7860b.entry.js} +2 -2
  305. package/dist/web-components-library/web-components-library.esm.js +1 -1
  306. package/package.json +2 -3
  307. package/www/build/{p-c983da75.entry.js → p-04b6a9f8.entry.js} +2 -2
  308. package/www/build/{p-08384d53.entry.js → p-09ac8cb2.entry.js} +2 -2
  309. package/www/build/{p-e1d1445c.entry.js → p-10ffee06.entry.js} +2 -2
  310. package/www/build/{p-eea18ea6.entry.js → p-13bc7433.entry.js} +2 -2
  311. package/www/build/{p-fdafba48.entry.js → p-16423e69.entry.js} +2 -2
  312. package/{dist/web-components-library/p-633d18e9.entry.js → www/build/p-1702efd5.entry.js} +2 -2
  313. package/www/build/p-1702efd5.entry.js.map +1 -0
  314. package/{dist/web-components-library/p-886382a7.entry.js → www/build/p-1fedbf42.entry.js} +2 -2
  315. package/{dist/web-components-library/p-deed5153.entry.js → www/build/p-248ff73f.entry.js} +2 -2
  316. package/{dist/web-components-library/p-e2cdf19c.entry.js → www/build/p-2f8bd98f.entry.js} +2 -2
  317. package/www/build/{p-81c949eb.entry.js → p-320b05fc.entry.js} +2 -2
  318. package/www/build/p-3e78dc0d.entry.js +2 -0
  319. package/www/build/p-3e78dc0d.entry.js.map +1 -0
  320. package/www/build/{p-0fb73edd.entry.js → p-41a3f231.entry.js} +2 -2
  321. package/{dist/web-components-library/p-41966ee6.entry.js → www/build/p-4362efeb.entry.js} +2 -2
  322. package/www/build/p-484f3064.entry.js +2 -0
  323. package/www/build/p-484f3064.entry.js.map +1 -0
  324. package/www/build/{p-87be3ccc.entry.js → p-4bc9e06a.entry.js} +2 -2
  325. package/www/build/{p-2780f6d9.entry.js → p-4c054dc5.entry.js} +2 -2
  326. package/www/build/{p-d4e212cc.entry.js → p-4d6ea6b1.entry.js} +2 -2
  327. package/www/build/{p-9a93e186.js → p-55885a66.js} +1 -1
  328. package/{dist/web-components-library/p-06a196fb.entry.js → www/build/p-57ba851d.entry.js} +2 -2
  329. package/www/build/{p-350ea24f.entry.js → p-5ecdc465.entry.js} +2 -2
  330. package/www/build/{p-95af0156.entry.js → p-6005c944.entry.js} +2 -2
  331. package/{dist/web-components-library/p-a4f5e7e9.entry.js → www/build/p-61b49075.entry.js} +2 -2
  332. package/www/build/{p-2e4db422.entry.js → p-67a2f55e.entry.js} +2 -2
  333. package/www/build/p-6ce99251.entry.js +2 -0
  334. package/www/build/p-6ce99251.entry.js.map +1 -0
  335. package/www/build/p-885472aa.entry.js +2 -0
  336. package/{dist/web-components-library/p-ce98069e.entry.js.map → www/build/p-885472aa.entry.js.map} +1 -1
  337. package/www/build/{p-55c3310f.entry.js → p-9dc4d290.entry.js} +2 -2
  338. package/www/build/p-a1f060c0.entry.js +2 -0
  339. package/www/build/{p-e160889a.entry.js.map → p-a1f060c0.entry.js.map} +1 -1
  340. package/www/build/p-a30b5538.entry.js +2 -0
  341. package/www/build/p-a30b5538.entry.js.map +1 -0
  342. package/www/build/{p-3574a17e.entry.js → p-a5e15158.entry.js} +2 -2
  343. package/www/build/{p-42cfc136.entry.js → p-acd3b237.entry.js} +2 -2
  344. package/www/build/p-ae51be93.entry.js +2 -0
  345. package/www/build/{p-2a74e691.entry.js → p-b3d0d75c.entry.js} +2 -2
  346. package/www/build/{p-5ae84959.entry.js → p-b5d18aae.entry.js} +2 -2
  347. package/www/build/{p-2eaf4b9b.entry.js → p-bd1876f7.entry.js} +2 -2
  348. package/www/build/{p-059963b6.entry.js → p-bd663d9d.entry.js} +2 -2
  349. package/www/build/p-c00b8b6d.entry.js +2 -0
  350. package/www/build/p-c00b8b6d.entry.js.map +1 -0
  351. package/www/build/{p-ee5ff565.entry.js → p-ca2d01fd.entry.js} +2 -2
  352. package/www/build/{p-47d4000c.entry.js → p-d4ad8db2.entry.js} +2 -2
  353. package/{dist/web-components-library/p-d4eb997c.entry.js → www/build/p-d70ab97a.entry.js} +2 -2
  354. package/www/build/{p-668b9254.entry.js → p-d76c3418.entry.js} +2 -2
  355. package/www/build/{p-bdd9c781.entry.js → p-de682f93.entry.js} +2 -2
  356. package/{dist/web-components-library/p-6af7c34f.entry.js → www/build/p-ea462d53.entry.js} +2 -2
  357. package/{dist/web-components-library/p-c15267bc.entry.js → www/build/p-eb2deba7.entry.js} +2 -2
  358. package/www/build/{p-baa35a6e.entry.js → p-f074b98b.entry.js} +2 -2
  359. package/www/build/{p-ea96790b.entry.js → p-f95adaa5.entry.js} +3 -3
  360. package/www/build/{p-e972b9c2.entry.js → p-fa11fd2d.entry.js} +2 -2
  361. package/www/build/{p-1b562386.entry.js → p-ffe7860b.entry.js} +2 -2
  362. package/www/build/web-components-library.esm.js +1 -1
  363. package/www/index.html +1 -1
  364. package/www/pages/stepper/stepper-1.html +127 -0
  365. package/www/pages/stepper/stepper-2.html +128 -0
  366. package/www/pages/stepper/stepper-3.html +153 -0
  367. package/dist/web-components-library/p-12305e05.entry.js +0 -2
  368. package/dist/web-components-library/p-12305e05.entry.js.map +0 -1
  369. package/dist/web-components-library/p-1fad41b2.entry.js +0 -2
  370. package/dist/web-components-library/p-1fad41b2.entry.js.map +0 -1
  371. package/dist/web-components-library/p-55693913.entry.js +0 -2
  372. package/dist/web-components-library/p-55693913.entry.js.map +0 -1
  373. package/dist/web-components-library/p-633d18e9.entry.js.map +0 -1
  374. package/dist/web-components-library/p-781d96de.entry.js +0 -2
  375. package/dist/web-components-library/p-781d96de.entry.js.map +0 -1
  376. package/dist/web-components-library/p-bc8eec12.entry.js +0 -2
  377. package/dist/web-components-library/p-ce98069e.entry.js +0 -2
  378. package/dist/web-components-library/p-e160889a.entry.js +0 -2
  379. package/dist/web-components-library/p-f7e11eab.entry.js +0 -2
  380. package/dist/web-components-library/p-f7e11eab.entry.js.map +0 -1
  381. package/www/build/p-12305e05.entry.js +0 -2
  382. package/www/build/p-12305e05.entry.js.map +0 -1
  383. package/www/build/p-1fad41b2.entry.js +0 -2
  384. package/www/build/p-1fad41b2.entry.js.map +0 -1
  385. package/www/build/p-55693913.entry.js +0 -2
  386. package/www/build/p-55693913.entry.js.map +0 -1
  387. package/www/build/p-633d18e9.entry.js.map +0 -1
  388. package/www/build/p-781d96de.entry.js +0 -2
  389. package/www/build/p-781d96de.entry.js.map +0 -1
  390. package/www/build/p-bc8eec12.entry.js +0 -2
  391. package/www/build/p-ce98069e.entry.js +0 -2
  392. package/www/build/p-e160889a.entry.js +0 -2
  393. package/www/build/p-f7e11eab.entry.js +0 -2
  394. package/www/build/p-f7e11eab.entry.js.map +0 -1
  395. /package/dist/web-components-library/{p-c983da75.entry.js.map → p-04b6a9f8.entry.js.map} +0 -0
  396. /package/dist/web-components-library/{p-08384d53.entry.js.map → p-09ac8cb2.entry.js.map} +0 -0
  397. /package/dist/web-components-library/{p-e1d1445c.entry.js.map → p-10ffee06.entry.js.map} +0 -0
  398. /package/dist/web-components-library/{p-eea18ea6.entry.js.map → p-13bc7433.entry.js.map} +0 -0
  399. /package/dist/web-components-library/{p-fdafba48.entry.js.map → p-16423e69.entry.js.map} +0 -0
  400. /package/dist/web-components-library/{p-886382a7.entry.js.map → p-1fedbf42.entry.js.map} +0 -0
  401. /package/dist/web-components-library/{p-deed5153.entry.js.map → p-248ff73f.entry.js.map} +0 -0
  402. /package/dist/web-components-library/{p-e2cdf19c.entry.js.map → p-2f8bd98f.entry.js.map} +0 -0
  403. /package/dist/web-components-library/{p-81c949eb.entry.js.map → p-320b05fc.entry.js.map} +0 -0
  404. /package/dist/web-components-library/{p-0fb73edd.entry.js.map → p-41a3f231.entry.js.map} +0 -0
  405. /package/dist/web-components-library/{p-41966ee6.entry.js.map → p-4362efeb.entry.js.map} +0 -0
  406. /package/dist/web-components-library/{p-87be3ccc.entry.js.map → p-4bc9e06a.entry.js.map} +0 -0
  407. /package/dist/web-components-library/{p-2780f6d9.entry.js.map → p-4c054dc5.entry.js.map} +0 -0
  408. /package/dist/web-components-library/{p-d4e212cc.entry.js.map → p-4d6ea6b1.entry.js.map} +0 -0
  409. /package/dist/web-components-library/{p-06a196fb.entry.js.map → p-57ba851d.entry.js.map} +0 -0
  410. /package/dist/web-components-library/{p-350ea24f.entry.js.map → p-5ecdc465.entry.js.map} +0 -0
  411. /package/dist/web-components-library/{p-95af0156.entry.js.map → p-6005c944.entry.js.map} +0 -0
  412. /package/dist/web-components-library/{p-a4f5e7e9.entry.js.map → p-61b49075.entry.js.map} +0 -0
  413. /package/dist/web-components-library/{p-2e4db422.entry.js.map → p-67a2f55e.entry.js.map} +0 -0
  414. /package/dist/web-components-library/{p-55c3310f.entry.js.map → p-9dc4d290.entry.js.map} +0 -0
  415. /package/dist/web-components-library/{p-3574a17e.entry.js.map → p-a5e15158.entry.js.map} +0 -0
  416. /package/dist/web-components-library/{p-42cfc136.entry.js.map → p-acd3b237.entry.js.map} +0 -0
  417. /package/dist/web-components-library/{p-bc8eec12.entry.js.map → p-ae51be93.entry.js.map} +0 -0
  418. /package/dist/web-components-library/{p-2a74e691.entry.js.map → p-b3d0d75c.entry.js.map} +0 -0
  419. /package/dist/web-components-library/{p-5ae84959.entry.js.map → p-b5d18aae.entry.js.map} +0 -0
  420. /package/dist/web-components-library/{p-2eaf4b9b.entry.js.map → p-bd1876f7.entry.js.map} +0 -0
  421. /package/dist/web-components-library/{p-059963b6.entry.js.map → p-bd663d9d.entry.js.map} +0 -0
  422. /package/dist/web-components-library/{p-ee5ff565.entry.js.map → p-ca2d01fd.entry.js.map} +0 -0
  423. /package/dist/web-components-library/{p-47d4000c.entry.js.map → p-d4ad8db2.entry.js.map} +0 -0
  424. /package/dist/web-components-library/{p-d4eb997c.entry.js.map → p-d70ab97a.entry.js.map} +0 -0
  425. /package/dist/web-components-library/{p-668b9254.entry.js.map → p-d76c3418.entry.js.map} +0 -0
  426. /package/dist/web-components-library/{p-bdd9c781.entry.js.map → p-de682f93.entry.js.map} +0 -0
  427. /package/dist/web-components-library/{p-6af7c34f.entry.js.map → p-ea462d53.entry.js.map} +0 -0
  428. /package/dist/web-components-library/{p-c15267bc.entry.js.map → p-eb2deba7.entry.js.map} +0 -0
  429. /package/dist/web-components-library/{p-baa35a6e.entry.js.map → p-f074b98b.entry.js.map} +0 -0
  430. /package/dist/web-components-library/{p-ea96790b.entry.js.map → p-f95adaa5.entry.js.map} +0 -0
  431. /package/dist/web-components-library/{p-e972b9c2.entry.js.map → p-fa11fd2d.entry.js.map} +0 -0
  432. /package/dist/web-components-library/{p-1b562386.entry.js.map → p-ffe7860b.entry.js.map} +0 -0
  433. /package/www/build/{p-c983da75.entry.js.map → p-04b6a9f8.entry.js.map} +0 -0
  434. /package/www/build/{p-08384d53.entry.js.map → p-09ac8cb2.entry.js.map} +0 -0
  435. /package/www/build/{p-e1d1445c.entry.js.map → p-10ffee06.entry.js.map} +0 -0
  436. /package/www/build/{p-eea18ea6.entry.js.map → p-13bc7433.entry.js.map} +0 -0
  437. /package/www/build/{p-fdafba48.entry.js.map → p-16423e69.entry.js.map} +0 -0
  438. /package/www/build/{p-886382a7.entry.js.map → p-1fedbf42.entry.js.map} +0 -0
  439. /package/www/build/{p-deed5153.entry.js.map → p-248ff73f.entry.js.map} +0 -0
  440. /package/www/build/{p-e2cdf19c.entry.js.map → p-2f8bd98f.entry.js.map} +0 -0
  441. /package/www/build/{p-81c949eb.entry.js.map → p-320b05fc.entry.js.map} +0 -0
  442. /package/www/build/{p-0fb73edd.entry.js.map → p-41a3f231.entry.js.map} +0 -0
  443. /package/www/build/{p-41966ee6.entry.js.map → p-4362efeb.entry.js.map} +0 -0
  444. /package/www/build/{p-87be3ccc.entry.js.map → p-4bc9e06a.entry.js.map} +0 -0
  445. /package/www/build/{p-2780f6d9.entry.js.map → p-4c054dc5.entry.js.map} +0 -0
  446. /package/www/build/{p-d4e212cc.entry.js.map → p-4d6ea6b1.entry.js.map} +0 -0
  447. /package/www/build/{p-06a196fb.entry.js.map → p-57ba851d.entry.js.map} +0 -0
  448. /package/www/build/{p-350ea24f.entry.js.map → p-5ecdc465.entry.js.map} +0 -0
  449. /package/www/build/{p-95af0156.entry.js.map → p-6005c944.entry.js.map} +0 -0
  450. /package/www/build/{p-a4f5e7e9.entry.js.map → p-61b49075.entry.js.map} +0 -0
  451. /package/www/build/{p-2e4db422.entry.js.map → p-67a2f55e.entry.js.map} +0 -0
  452. /package/www/build/{p-55c3310f.entry.js.map → p-9dc4d290.entry.js.map} +0 -0
  453. /package/www/build/{p-3574a17e.entry.js.map → p-a5e15158.entry.js.map} +0 -0
  454. /package/www/build/{p-42cfc136.entry.js.map → p-acd3b237.entry.js.map} +0 -0
  455. /package/www/build/{p-bc8eec12.entry.js.map → p-ae51be93.entry.js.map} +0 -0
  456. /package/www/build/{p-2a74e691.entry.js.map → p-b3d0d75c.entry.js.map} +0 -0
  457. /package/www/build/{p-5ae84959.entry.js.map → p-b5d18aae.entry.js.map} +0 -0
  458. /package/www/build/{p-2eaf4b9b.entry.js.map → p-bd1876f7.entry.js.map} +0 -0
  459. /package/www/build/{p-059963b6.entry.js.map → p-bd663d9d.entry.js.map} +0 -0
  460. /package/www/build/{p-ee5ff565.entry.js.map → p-ca2d01fd.entry.js.map} +0 -0
  461. /package/www/build/{p-47d4000c.entry.js.map → p-d4ad8db2.entry.js.map} +0 -0
  462. /package/www/build/{p-d4eb997c.entry.js.map → p-d70ab97a.entry.js.map} +0 -0
  463. /package/www/build/{p-668b9254.entry.js.map → p-d76c3418.entry.js.map} +0 -0
  464. /package/www/build/{p-bdd9c781.entry.js.map → p-de682f93.entry.js.map} +0 -0
  465. /package/www/build/{p-6af7c34f.entry.js.map → p-ea462d53.entry.js.map} +0 -0
  466. /package/www/build/{p-c15267bc.entry.js.map → p-eb2deba7.entry.js.map} +0 -0
  467. /package/www/build/{p-baa35a6e.entry.js.map → p-f074b98b.entry.js.map} +0 -0
  468. /package/www/build/{p-ea96790b.entry.js.map → p-f95adaa5.entry.js.map} +0 -0
  469. /package/www/build/{p-e972b9c2.entry.js.map → p-fa11fd2d.entry.js.map} +0 -0
  470. /package/www/build/{p-1b562386.entry.js.map → p-ffe7860b.entry.js.map} +0 -0
@@ -70,7 +70,7 @@ const ZTr = class {
70
70
  this.updateColumns();
71
71
  }
72
72
  render() {
73
- return (index.h(index.Host, { key: '158f25d1746e340981e4facebe0f7dfd2106222a', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, index.h("div", { key: '140ddc0aac009e9e254b5ee281e292dc19326527', class: "z-tr--focus-overlay", "aria-hidden": "true" }), index.h("div", { key: '8e5b3d3e72cfe09c1ee4f54ffab8805e0e83021c', class: "z-tr--expand-button-container" }, this.expandable && (index.h("button", { key: 'bd724740ff19d508d33527dbc657b932f73f4421', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, index.h("z-icon", { key: 'd88a988e00c240b85806e9d0ea8d090cb404fab4', name: this.expanded ? "minus-circled" : "plus-circled" })))), index.h("slot", { key: '83cada789cfd416d9c2062ede5c10b49ac56ae56', onSlotchange: this.updateColumns.bind(this) })));
73
+ return (index.h(index.Host, { key: '80423ab104796d4bc50e3dbeafd26a417a41594e', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, index.h("div", { key: 'd0ec5fa359865b1eb486d21a478f82b61a10bf18', class: "z-tr--focus-overlay", "aria-hidden": "true" }), index.h("div", { key: 'e1f4114f91e1ff59c0ff4b4880b74bceb1702cba', class: "z-tr--expand-button-container" }, this.expandable && (index.h("button", { key: 'bef3c43e06a20de50f2aacf88b6c80fc4822403a', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, index.h("z-icon", { key: '803c8640aacbd34ba3de287f519d934cb9d974ca', name: this.expanded ? "minus-circled" : "plus-circled" })))), index.h("slot", { key: 'bf8e10753f600ad984a06a710d19680e52507ab2', onSlotchange: this.updateColumns.bind(this) })));
74
74
  }
75
75
  get host() { return index.getElement(this); }
76
76
  static get watchers() { return {
@@ -100,7 +100,7 @@ const ZTreeList = class {
100
100
  }
101
101
  render() {
102
102
  const hasClickableItems = this.parsedItems.some((item) => !!item.url);
103
- return (index.h(index.Host, { key: 'd4f93f20f84ac193c4b291b0cc16d4a0e6838d49', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, index.h("div", { key: '4d0f11bb82855843beabb2eb0ddaa30ca39d8524', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
103
+ return (index.h(index.Host, { key: '8bc473fe54ef8e0cea9e2deeb85cc798a9201482', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, index.h("div", { key: 'da18ff5c34d384aa37ef1edbdb242a3f572f471b', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
104
104
  }
105
105
  get host() { return index.getElement(this); }
106
106
  static get watchers() { return {
@@ -9,7 +9,7 @@ const ZVisuallyHidden = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return index.h("slot", { key: '3378671bfdbab0bf278c0e8aeb3f8ea9bd555422' });
12
+ return index.h("slot", { key: 'e5b7767ebb02bdbed941d12f89f1be1ca715eb8c' });
13
13
  }
14
14
  };
15
15
  ZVisuallyHidden.style = stylesCss();
@@ -54,8 +54,8 @@
54
54
  "components/z-searchbar/index.js",
55
55
  "components/z-select/index.js",
56
56
  "components/z-skip-to-content/index.js",
57
- "components/z-stepper/index.js",
58
57
  "components/z-stepper-item/index.js",
58
+ "components/z-stepper/index.js",
59
59
  "components/z-tag/index.js",
60
60
  "components/z-toast-notification/index.js",
61
61
  "components/z-toast-notification-list/index.js",
@@ -53,14 +53,17 @@ export class ZBookCard {
53
53
  if (!this.authors) {
54
54
  return null;
55
55
  }
56
- return (h("div", { class: "cta-wrapper" }, h("div", { class: "authors ellipsis body-4", "aria-description": "autori" }, this.authors), this.variant === BookCardVariant.LANDSCAPE ? this.renderCtaSlot() : null));
56
+ return (h("div", { class: "authors ellipsis body-4", "aria-description": "autori" }, this.authors));
57
57
  }
58
58
  renderOperaTitle() {
59
59
  const title = this.titleHtmlTag
60
60
  ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`
61
61
  : this.operaTitle;
62
62
  const operaTitle = (h("div", { class: "opera-title ellipsis body-2-sb", innerHTML: title }));
63
- return (h("div", { class: "cta-wrapper" }, this.ebookUrl ? (h("a", { class: "z-link", href: this.ebookUrl, onClick: () => this.emitTitleClick(), target: this.linkTarget }, operaTitle)) : (operaTitle), this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null));
63
+ if (this.ebookUrl) {
64
+ return (h("a", { class: "z-link", href: this.ebookUrl, onClick: () => this.emitTitleClick(), target: this.linkTarget }, operaTitle));
65
+ }
66
+ return operaTitle;
64
67
  }
65
68
  renderVolumeTitle() {
66
69
  if (!this.volumeTitle) {
@@ -80,11 +83,8 @@ export class ZBookCard {
80
83
  }
81
84
  return (h("div", { class: "ebook" }, h("div", { class: "app-name" }, h("img", { class: "ebook-logo", "aria-hidden": "true" }), h("div", { class: "body-4-sb" }, "laZ Ebook")), h("z-button", { size: ControlSize.X_SMALL, href: this.ebookUrl, target: this.linkTarget, onClick: () => this.emitEbookClick(), htmlRole: "link", "aria-description": `leggi l'ebook ${this.operaTitle} su laZ Ebook` }, "leggi ebook")));
82
85
  }
83
- renderCtaSlot() {
84
- return h("slot", { name: "cta" });
85
- }
86
86
  render() {
87
- return (h(Host, { key: '5573698f16b8cbaa66e384f15295d3cf002691ad' }, h("div", { key: '9a4feacc4096179f39a28ba9ceeae0b8b70abfd9', class: "main-content" }, this.renderCover(), h("div", { key: '4a1717324377feae50f008f9d3e223a52924b0c2', class: "card-info" }, h("div", { key: '9fad9cdd4bca79ba03391cde396f3a9d635b65cc', class: "top" }, h("div", { key: 'dc4a9d24505230b467a4ffac482d118ec2e796e2' }, this.renderYear(), this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("slot", { key: 'd94d220dc51d3b89b3284f8f100d6fd32d82a7b6', name: "tags" }), h("slot", { key: '5b7f9e2e1aadb10dbc97b16aa2dd4501b1007e16', name: "data" })), h("slot", { key: 'a5619600c90bfb3fba040674a280ec4f5395437a', name: "ebook" }, this.renderEbook()))), h("slot", { key: '9a70dad88fa621eec9b3902f5893cdc0ac8fcd1a', name: "apps" })));
87
+ return (h(Host, { key: '391178b85e493465cb9804798e86d521d084b332' }, h("div", { key: '8b02be97182892375849f06bdb7c9f236cd4f948', class: "main-content" }, this.renderCover(), h("div", { key: 'c6e17c02fa0a0c734bfce5b46213e9a71bd94a32', class: "card-info" }, h("div", { key: 'ac5928ab7e841711079005c3d5493307794a7d78', class: "top" }, h("div", { key: '13eb36fef124a2ceb844750428a40158ce6fa99f' }, this.renderYear(), this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn(), h("div", { key: 'a5b6258a4b4b971866da61a3e89990fc1d3398ae', class: "cta-slot" }, h("slot", { key: 'ded0f03e6260f0214b22d1b0772ab68c6619e427', name: "cta" }))), h("slot", { key: '6993d539bbc14fecf710c39ad64300cc0f670c7d', name: "tags" }), h("slot", { key: 'cb8f5042550f977610ecd0a6163f659f6c59adb8', name: "data" })), h("slot", { key: '61e08af7dc7ef3599dc29cb19365bf1aab1f220d', name: "ebook" }, this.renderEbook()))), h("slot", { key: '4c096d7f0c06812981cd2405b984f0a76f457d74', name: "apps" })));
88
88
  }
89
89
  static get is() { return "z-book-card"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/book-card/z-book-card/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {BookCardVariant, ControlSize} from \"../../../beans\";\n\n/**\n * @slot cta - Top right cta (e.g. bookmark icon)\n * @slot ebook - As default, it shows laZ ebook link\n * @slot tags - Tags section, default empty\n * @slot data - External link and pill, default empty\n * @slot apps - List of card-related apps, default empty\n * @slot coverOverlay - Content to be displayed in the `z-book-cover` component slot\n */\n@Component({\n tag: \"z-book-card\",\n styleUrls: [\"styles.css\", \"../../../tokens/typography.css\", \"../../css-components/z-link/styles.css\"],\n shadow: true,\n})\nexport class ZBookCard implements ComponentInterface {\n @Element() hostElement: HTMLZBookCardElement;\n\n /** Card variant: landscape, portrait */\n @Prop({reflect: true})\n variant: BookCardVariant = BookCardVariant.PORTRAIT;\n\n /** Cover URL */\n @Prop()\n cover: string;\n\n /** Opera title (card title) */\n @Prop()\n operaTitle: string;\n\n /** [optional] Volume title (card subvolume) */\n @Prop()\n volumeTitle?: string;\n\n /** [optional] Authors */\n @Prop()\n authors?: string;\n\n /** [optional] Main ISBN */\n @Prop()\n isbn?: string;\n\n /** [optional] ISBN label */\n @Prop()\n isbnLabel = \"\";\n\n /** [optional] year */\n @Prop()\n year?: string;\n\n /** [optional] Link to the ebook resource. Creates a link also around the cover and title. */\n @Prop()\n ebookUrl?: string;\n\n /** [optional] Value for the `target` attribute of the links created by `ebookUrl` prop. */\n @Prop()\n linkTarget = \"_blank\";\n\n /** [optional] Fallback cover URL. */\n @Prop()\n fallbackCover?: string;\n\n /**\n * Whether to show a stack of covers to represent multiple books.\n * Only takes effect when `variant` is `portrait`: in `landscape` it is silently ignored and no\n * cover stack is rendered, regardless of its value.\n */\n @Prop()\n hasMultipleCovers = false;\n\n /** [optional] Set a specific heading level as html tag for the title. */\n @Prop()\n titleHtmlTag?: string;\n\n /** click on ebook link */\n @Event()\n ebookClick: EventEmitter;\n\n /** click on cover link */\n @Event()\n coverClick: EventEmitter;\n\n /** click on title link */\n @Event()\n titleClick: EventEmitter;\n\n private emitEbookClick(): void {\n this.ebookClick.emit();\n }\n\n private emitCoverClick(): void {\n this.coverClick.emit();\n }\n\n private emitTitleClick(): void {\n this.titleClick.emit();\n }\n\n private renderCover(): HTMLDivElement {\n const CoverTag = this.ebookUrl ? \"a\" : \"div\";\n const coverAttrs = this.ebookUrl\n ? {\n href: this.ebookUrl,\n onClick: () => this.emitCoverClick(),\n target: this.linkTarget,\n }\n : {};\n\n return (\n <CoverTag\n class=\"cover\"\n {...coverAttrs}\n >\n <z-book-cover\n cover={this.cover}\n fallbackCover={this.fallbackCover}\n multiple={this.hasMultipleCovers && this.variant === BookCardVariant.PORTRAIT}\n >\n <slot\n name=\"coverOverlay\"\n slot=\"coverOverlay\"\n ></slot>\n </z-book-cover>\n </CoverTag>\n );\n }\n\n private renderYear(): null | HTMLDivElement {\n if (!this.year) {\n return null;\n }\n\n return (\n <div\n class=\"year ellipsis body-4\"\n aria-description=\"anno\"\n >\n {this.year}\n </div>\n );\n }\n\n private renderAuthors(): null | HTMLDivElement {\n if (!this.authors) {\n return null;\n }\n\n return (\n <div class=\"cta-wrapper\">\n <div\n class=\"authors ellipsis body-4\"\n aria-description=\"autori\"\n >\n {this.authors}\n </div>\n {this.variant === BookCardVariant.LANDSCAPE ? this.renderCtaSlot() : null}\n </div>\n );\n }\n\n private renderOperaTitle(): HTMLDivElement {\n const title = this.titleHtmlTag\n ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`\n : this.operaTitle;\n\n const operaTitle = (\n <div\n class=\"opera-title ellipsis body-2-sb\"\n innerHTML={title}\n />\n );\n\n return (\n <div class=\"cta-wrapper\">\n {this.ebookUrl ? (\n <a\n class=\"z-link\"\n href={this.ebookUrl}\n onClick={() => this.emitTitleClick()}\n target={this.linkTarget}\n >\n {operaTitle}\n </a>\n ) : (\n operaTitle\n )}\n {this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null}\n </div>\n );\n }\n\n private renderVolumeTitle(): null | HTMLDivElement {\n if (!this.volumeTitle) {\n return null;\n }\n\n return <div class=\"volume-title ellipsis body-4\">{this.volumeTitle}</div>;\n }\n\n private renderIsbn(): null | HTMLDivElement {\n if (!this.isbn) {\n return null;\n }\n\n return (\n <div\n class=\"isbn ellipsis body-4-sb\"\n aria-description={`isbn ${this.isbnLabel}`}\n >\n {this.isbn} {this.isbnLabel ? <span class=\"body-4\">{this.isbnLabel}</span> : null}\n </div>\n );\n }\n\n private renderEbook(): null | HTMLDivElement {\n if (!this.ebookUrl) {\n return null;\n }\n\n return (\n <div class=\"ebook\">\n <div class=\"app-name\">\n <img\n class=\"ebook-logo\"\n aria-hidden=\"true\"\n />\n <div class=\"body-4-sb\">laZ Ebook</div>\n </div>\n <z-button\n size={ControlSize.X_SMALL}\n href={this.ebookUrl}\n target={this.linkTarget}\n onClick={() => this.emitEbookClick()}\n htmlRole=\"link\"\n aria-description={`leggi l'ebook ${this.operaTitle} su laZ Ebook`}\n >\n leggi ebook\n </z-button>\n </div>\n );\n }\n\n private renderCtaSlot(): HTMLSlotElement {\n return <slot name=\"cta\"></slot>;\n }\n\n render(): HTMLZBookCardElement {\n return (\n <Host>\n <div class=\"main-content\">\n {this.renderCover()}\n <div class=\"card-info\">\n <div class=\"top\">\n <div>\n {this.renderYear()}\n {this.renderAuthors()}\n {this.renderOperaTitle()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n <slot name=\"tags\"></slot>\n <slot name=\"data\"></slot>\n </div>\n <slot name=\"ebook\">{this.renderEbook()}</slot>\n </div>\n </div>\n <slot name=\"apps\"></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/book-card/z-book-card/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {BookCardVariant, ControlSize} from \"../../../beans\";\n\n/**\n * @slot cta - Top right cta (e.g. bookmark icon)\n * @slot ebook - As default, it shows laZ ebook link\n * @slot tags - Tags section, default empty\n * @slot data - External link and pill, default empty\n * @slot apps - List of card-related apps, default empty\n * @slot coverOverlay - Content to be displayed in the `z-book-cover` component slot\n */\n@Component({\n tag: \"z-book-card\",\n styleUrls: [\"styles.css\", \"../../../tokens/typography.css\", \"../../css-components/z-link/styles.css\"],\n shadow: true,\n})\nexport class ZBookCard implements ComponentInterface {\n @Element() hostElement: HTMLZBookCardElement;\n\n /** Card variant: landscape, portrait */\n @Prop({reflect: true})\n variant: BookCardVariant = BookCardVariant.PORTRAIT;\n\n /** Cover URL */\n @Prop()\n cover: string;\n\n /** Opera title (card title) */\n @Prop()\n operaTitle: string;\n\n /** [optional] Volume title (card subvolume) */\n @Prop()\n volumeTitle?: string;\n\n /** [optional] Authors */\n @Prop()\n authors?: string;\n\n /** [optional] Main ISBN */\n @Prop()\n isbn?: string;\n\n /** [optional] ISBN label */\n @Prop()\n isbnLabel = \"\";\n\n /** [optional] year */\n @Prop()\n year?: string;\n\n /** [optional] Link to the ebook resource. Creates a link also around the cover and title. */\n @Prop()\n ebookUrl?: string;\n\n /** [optional] Value for the `target` attribute of the links created by `ebookUrl` prop. */\n @Prop()\n linkTarget = \"_blank\";\n\n /** [optional] Fallback cover URL. */\n @Prop()\n fallbackCover?: string;\n\n /**\n * Whether to show a stack of covers to represent multiple books.\n * Only takes effect when `variant` is `portrait`: in `landscape` it is silently ignored and no\n * cover stack is rendered, regardless of its value.\n */\n @Prop()\n hasMultipleCovers = false;\n\n /** [optional] Set a specific heading level as html tag for the title. */\n @Prop()\n titleHtmlTag?: string;\n\n /** click on ebook link */\n @Event()\n ebookClick: EventEmitter;\n\n /** click on cover link */\n @Event()\n coverClick: EventEmitter;\n\n /** click on title link */\n @Event()\n titleClick: EventEmitter;\n\n private emitEbookClick(): void {\n this.ebookClick.emit();\n }\n\n private emitCoverClick(): void {\n this.coverClick.emit();\n }\n\n private emitTitleClick(): void {\n this.titleClick.emit();\n }\n\n private renderCover(): HTMLDivElement {\n const CoverTag = this.ebookUrl ? \"a\" : \"div\";\n const coverAttrs = this.ebookUrl\n ? {\n href: this.ebookUrl,\n onClick: () => this.emitCoverClick(),\n target: this.linkTarget,\n }\n : {};\n\n return (\n <CoverTag\n class=\"cover\"\n {...coverAttrs}\n >\n <z-book-cover\n cover={this.cover}\n fallbackCover={this.fallbackCover}\n multiple={this.hasMultipleCovers && this.variant === BookCardVariant.PORTRAIT}\n >\n <slot\n name=\"coverOverlay\"\n slot=\"coverOverlay\"\n ></slot>\n </z-book-cover>\n </CoverTag>\n );\n }\n\n private renderYear(): null | HTMLDivElement {\n if (!this.year) {\n return null;\n }\n\n return (\n <div\n class=\"year ellipsis body-4\"\n aria-description=\"anno\"\n >\n {this.year}\n </div>\n );\n }\n\n private renderAuthors(): null | HTMLDivElement {\n if (!this.authors) {\n return null;\n }\n\n return (\n <div\n class=\"authors ellipsis body-4\"\n aria-description=\"autori\"\n >\n {this.authors}\n </div>\n );\n }\n\n private renderOperaTitle(): HTMLDivElement {\n const title = this.titleHtmlTag\n ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`\n : this.operaTitle;\n\n const operaTitle = (\n <div\n class=\"opera-title ellipsis body-2-sb\"\n innerHTML={title}\n />\n );\n\n if (this.ebookUrl) {\n return (\n <a\n class=\"z-link\"\n href={this.ebookUrl}\n onClick={() => this.emitTitleClick()}\n target={this.linkTarget}\n >\n {operaTitle}\n </a>\n );\n }\n\n return operaTitle;\n }\n\n private renderVolumeTitle(): null | HTMLDivElement {\n if (!this.volumeTitle) {\n return null;\n }\n\n return <div class=\"volume-title ellipsis body-4\">{this.volumeTitle}</div>;\n }\n\n private renderIsbn(): null | HTMLDivElement {\n if (!this.isbn) {\n return null;\n }\n\n return (\n <div\n class=\"isbn ellipsis body-4-sb\"\n aria-description={`isbn ${this.isbnLabel}`}\n >\n {this.isbn} {this.isbnLabel ? <span class=\"body-4\">{this.isbnLabel}</span> : null}\n </div>\n );\n }\n\n private renderEbook(): null | HTMLDivElement {\n if (!this.ebookUrl) {\n return null;\n }\n\n return (\n <div class=\"ebook\">\n <div class=\"app-name\">\n <img\n class=\"ebook-logo\"\n aria-hidden=\"true\"\n />\n <div class=\"body-4-sb\">laZ Ebook</div>\n </div>\n <z-button\n size={ControlSize.X_SMALL}\n href={this.ebookUrl}\n target={this.linkTarget}\n onClick={() => this.emitEbookClick()}\n htmlRole=\"link\"\n aria-description={`leggi l'ebook ${this.operaTitle} su laZ Ebook`}\n >\n leggi ebook\n </z-button>\n </div>\n );\n }\n\n render(): HTMLZBookCardElement {\n return (\n <Host>\n <div class=\"main-content\">\n {this.renderCover()}\n <div class=\"card-info\">\n <div class=\"top\">\n <div>\n {this.renderYear()}\n {this.renderAuthors()}\n {this.renderOperaTitle()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n <div class=\"cta-slot\">\n <slot name=\"cta\"></slot>\n </div>\n </div>\n <slot name=\"tags\"></slot>\n <slot name=\"data\"></slot>\n </div>\n <slot name=\"ebook\">{this.renderEbook()}</slot>\n </div>\n </div>\n <slot name=\"apps\"></slot>\n </Host>\n );\n }\n}\n"]}
@@ -126,12 +126,6 @@
126
126
  all: unset;
127
127
  }
128
128
 
129
- .main-content .cta-wrapper {
130
- display: flex;
131
- justify-content: space-between;
132
- gap: calc(var(--space-unit) / 2);
133
- }
134
-
135
129
  .main-content .card-info .top .link-chip-wrapper {
136
130
  display: flex;
137
131
  justify-content: space-between;
@@ -158,6 +152,25 @@
158
152
  content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
159
153
  }
160
154
 
155
+ /* The CTA slot comes after all book metadata in the DOM so screen readers announce
156
+ author, title, volume and ISBN before the action, while the grid keeps the CTA in
157
+ its visual position: top-right for landscape, beside the title for portrait. */
158
+ .main-content .card-info .top > div {
159
+ display: grid;
160
+ column-gap: calc(var(--space-unit) / 2);
161
+ grid-template-columns: 1fr auto;
162
+ }
163
+
164
+ .main-content .card-info .top > div > * {
165
+ grid-column: 1;
166
+ }
167
+
168
+ .main-content .card-info .top > div > .cta-slot {
169
+ align-self: start;
170
+ grid-column: 2;
171
+ grid-row: 1;
172
+ }
173
+
161
174
  :host([variant="landscape"]) {
162
175
  width: 635px;
163
176
  min-height: max(332px, 20.75rem);
@@ -180,6 +193,17 @@
180
193
  gap: calc(var(--space-unit) / 2);
181
194
  }
182
195
 
196
+ /* In portrait the CTA sits beside the title, whose grid row shifts down when the
197
+ optional year and authors rows are rendered before it. */
198
+ :host([variant="portrait"]) .main-content .card-info .top > div > .year ~ .cta-slot,
199
+ :host([variant="portrait"]) .main-content .card-info .top > div > .authors ~ .cta-slot {
200
+ grid-row: 2;
201
+ }
202
+
203
+ :host([variant="portrait"]) .main-content .card-info .top > div > .year ~ .authors ~ .cta-slot {
204
+ grid-row: 3;
205
+ }
206
+
183
207
  @media (max-width: 767px) {
184
208
  :host([variant="portrait"]) {
185
209
  width: 100%;
@@ -20,7 +20,7 @@ export class ZBookCardApp {
20
20
  return null;
21
21
  }
22
22
  render() {
23
- return (h("div", { key: 'fce744f158319d3fb1564c75410098d042490579' }, h("a", { key: '9120ac9d00ffb3e4a638511ceb4ab4548ffeb556', class: "app z-link", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, this.logo && (h("img", { key: '9040bf4ba19a5f7627b7e5a317c814487bde3680', src: this.logo, alt: "" })), h("div", { key: 'aca3d44fb28ac31619357bcea89b36622f83cfc7', class: "name body-4-sb" }, this.renderLaz(), this.name)), this.info && (h("z-info-reveal", { key: 'b2f680fa53efcf6d2c44c4e4c273fb1f5bcffbec', icon: "info", size: ControlSize.X_SMALL, position: InfoRevealPosition.TOP_RIGHT, class: "info body-5" }, h("div", { key: '3171a9a277d1e7c09940f7dcb07e6ff3780a8071' }, this.info))), h("a", { key: '2b8b5e66b9184a075c7e6184ef48d63fe52f487c', class: "z-link z-link-icon", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, h("z-icon", { key: '19ee937a556f68ad1276eab43e4a35c46f4e87bd', name: "chevron-right", fill: "color-primary01-icon" }))));
23
+ return (h("div", { key: 'df6e36ce560d19caa7909a140c155626ba3b075c' }, h("a", { key: '43a40f7e69352ce0599ade0fb2385876c6d67fb8', class: "app z-link", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, this.logo && (h("img", { key: '42ecf20e3054786b1de8eb89fae35f9a0381a6cd', src: this.logo, alt: "" })), h("div", { key: '880f4dbfa603f437da2f6d8ff6c6f2c4651d5e35', class: "name body-4-sb" }, this.renderLaz(), this.name)), this.info && (h("z-info-reveal", { key: '1ba30f89e8b53ca4c58d91e2d717d2bf0c17a897', icon: "info", size: ControlSize.X_SMALL, position: InfoRevealPosition.TOP_RIGHT, class: "info body-5" }, h("div", { key: '8934cd2b015dc745028a388a60508120a0beeb7a' }, this.info))), h("a", { key: '4a1c5b0f3c595ae28a22fde9556965d287ea1f9c', class: "z-link z-link-icon", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, h("z-icon", { key: 'ca0eb78d1f7cb4a07cce7d8aa3a3c46dde19e00b', name: "chevron-right", fill: "color-primary01-icon" }))));
24
24
  }
25
25
  static get is() { return "z-book-card-app"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -170,7 +170,7 @@ export class ZDatePicker {
170
170
  } })));
171
171
  }
172
172
  render() {
173
- return (h("div", { key: 'a9e009476e255e0b7d08713e13f05f344d38b82b', class: {
173
+ return (h("div", { key: '9f272154dbb8e08907d661ec99ba232a8903818f', class: {
174
174
  "flatpickr-toggle-container": true,
175
175
  [this.flatpickrPosition]: true,
176
176
  [this.mode]: true,
@@ -337,14 +337,14 @@ export class ZRangePicker {
337
337
  onStopTyping: this.onStopTyping.bind(this),
338
338
  value: "",
339
339
  };
340
- return (h("div", { key: '4523d5064162ea6984b0c64dd4035f81b6908e7c', class: {
340
+ return (h("div", { key: 'fa7241109320cb88fa79df02971637766dba8e49', class: {
341
341
  ["range-pickers-container"]: true,
342
342
  [this.mode]: true,
343
343
  [this.activeInput]: true,
344
344
  [this.flatpickrPosition]: true,
345
- } }, h("div", { key: 'f7072a89e4cca123a3b89a01f2b45c06477241c2', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: 'd9e2e55356671cfd1b266b14a054d15fbb0af64c', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: 'acfca5557a45a205f7c6835c6d51faf43f926153' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
345
+ } }, h("div", { key: '3d8d7990ea5da6a605383a66ad70e29f5cc7dda2', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: 'd2a16543b850c6d8ad83c229157cf86e006192bd', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: '9b130929755ff282cecc69a1809965c06e374de3' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
346
346
  this.firstInputError = false;
347
- } })))), h("div", { key: 'd416470bfc3792ed75819358bc2e184afb2f513e', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: '7479622363768dc67c8d21ed1671938bb8595274', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: '2cb2232b8abf95ba126034956ef3d183d7b193aa' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
347
+ } })))), h("div", { key: 'cc4aba8fccc21bf025d45df37c50952efb69406e', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: '2536ab861e8322ee43f0a94b7cb2a7fb45069249', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: 'c9d5df59beb159efd5036d1e4f65f4791ff78809' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
348
348
  this.lastInputError = false;
349
349
  } }))))));
350
350
  }
@@ -42,7 +42,7 @@ export class ZTd {
42
42
  this.updateColspan();
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '4ea61b4c4d2e924b925e7b8f579e6827e0ee22c8', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '98db4baee9fbf028c36f201b1fca8959bf955eb8', class: "cell--content" }, h("slot", { key: '633725c94623d66b2e4c2820bfb0453d500b6ac6' }), this.showMenu && (h("div", { key: '61f2fb0cc589bc32acd0e51b7ddae92be78d18f0', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '86132a5a7762b97d0646071d54339930269d1ce3', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'bf2d2b8f0114562d49cd4a88b895b2b9dca22389', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'f3512195bf82945f0fca0ca3c3c389d04b5d98c0', name: "contextual-menu" })))))));
45
+ return (h(Host, { key: '6f49c2168c28a2acd1eb77401b6664a909770330', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'dca80731605efa309f88f6c4e5b3e05fc1b6f2d8', class: "cell--content" }, h("slot", { key: '980d81d5d5296f41f535488dcad732e5d5eb58ce' }), this.showMenu && (h("div", { key: 'f58e65a67d7a897be2bcbec22b50b8efb4d82995', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '3d701ae5ba5af6372fad70bc0582a46ac48b75c2', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '5d5f94967a72ffdb7384c071d965e90abfb8ea0b', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'fef55973f37e93062c6e3229fdbdd5311d0f2920', name: "contextual-menu" })))))));
46
46
  }
47
47
  static get is() { return "z-td"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class ZTh {
70
70
  this.updateColspan();
71
71
  }
72
72
  render() {
73
- return (h(Host, { key: 'd677564cf6d2351a9188098d58b98e4bf9ffbf9e', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '267fd4a41682a6a1475ba74739ff148957dc6626', class: "cell--content" }, h("slot", { key: 'a77588e6dd5645f6b384a7564a06cffae72bed4e' }), this.showSorting && (h("button", { key: '8a565667e7bdbd223d38efe7be5128c69947577c', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'a527e6e217f5cbabf1baac1c292111ab406aa792', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '396eb46a6aa10d47419cd437412ce69d797f2047', class: "cell--menu-container" }, h("z-button", { key: '6e014d9922c15041950772ee0c377b9f31d4d743', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '11a7861d3151f616c9d9761709611bac37a02ec6', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '99545a1fb846906941ce882d6f21676de1fa7fb2', name: "contextual-menu" })))))));
73
+ return (h(Host, { key: 'db3a788009481e7bf625db4787850ddfc9b65203', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: 'b9e3d66c8b74bd054257deccf64575bad12166b4', class: "cell--content" }, h("slot", { key: 'b9297277121a0798491644ca9e7fd86e99766975' }), this.showSorting && (h("button", { key: 'e2fa7f525d8138c95540ce5216e7d0df9fecdfd4', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '3c8b5d576386da794abdbc4ea48e9d9bab2ad1c9', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '38a8b3f1cd7dd75c90953179c8527484f2c17fc7', class: "cell--menu-container" }, h("z-button", { key: 'f5ce6e168efba6c456a6fedad8a0103e37130d13', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'c989b847fa08f6b9f7a87a645c52a1163191b406', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'aac102b6bbc90923ce404a1b6499cf58c7277a00', name: "contextual-menu" })))))));
74
74
  }
75
75
  static get is() { return "z-th"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class ZTable {
41
41
  (_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '07719fd45b5b0cc2e5d5798f397048b4e233ce88', expandable: this.expandable }, h("div", { key: 'f333241ac885ebdaeed659b2aeb1f6af811fa0ec', class: "table", role: "table" }, h("slot", { key: 'e9072d50375eb35757b393ec5a843459dafd4cc2' }))));
44
+ return (h(Host, { key: '2accba3d35c252853a9b19b15528855070165077', expandable: this.expandable }, h("div", { key: 'bdd3382b246e669c8600d116cda8a6ebc11f530d', class: "table", role: "table" }, h("slot", { key: 'c3cbdb04a91f0cd4301d8ba73578878864e0c3a1' }))));
45
45
  }
46
46
  static get is() { return "z-table"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  */
6
6
  export class ZTbody {
7
7
  render() {
8
- return (h(Host, { key: '5dab686ef543637640d464ad532250d642f73508', role: "rowgroup" }, h("slot", { key: '36c4272ae7ba5eee71ffc682ca0d086c1a6cdc07' })));
8
+ return (h(Host, { key: '9cae384882eb06e5e0ec93393ac6849e22da48c5', role: "rowgroup" }, h("slot", { key: '64c4e7e784638e3f7319783429b29f1e2a38b584' })));
9
9
  }
10
10
  static get is() { return "z-tbody"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class ZTfoot {
11
11
  this.sticky = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'a5e96868b6f2f28cd25fe134b8346f0f9d800de1', role: "rowgroup", tabIndex: -1 }, h("slot", { key: 'bbb1478d0fdd700bf4e9601eb7d008f54ff02cb3' })));
14
+ return (h(Host, { key: '760c32f2385aff5e84785bc1415b5cf29fd063da', role: "rowgroup", tabIndex: -1 }, h("slot", { key: 'c36cf634b18c1216cfc6f31abe07b53600305737' })));
15
15
  }
16
16
  static get is() { return "z-tfoot"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class ZThead {
15
15
  this.isFocusable = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '7344ed54861bf06e14d98898db49edb576668e9b', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: '72be057fd58c9da5280dee692324cb5192865dba' })));
18
+ return (h(Host, { key: 'daa59cf6627acea2cbd48f1b56910a22146f90f3', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'ba7897a89465398dff471d7eb9d7a0d276599269' })));
19
19
  }
20
20
  static get is() { return "z-thead"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class ZTr {
65
65
  this.updateColumns();
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: '158f25d1746e340981e4facebe0f7dfd2106222a', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '140ddc0aac009e9e254b5ee281e292dc19326527', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '8e5b3d3e72cfe09c1ee4f54ffab8805e0e83021c', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'bd724740ff19d508d33527dbc657b932f73f4421', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'd88a988e00c240b85806e9d0ea8d090cb404fab4', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '83cada789cfd416d9c2062ede5c10b49ac56ae56', onSlotchange: this.updateColumns.bind(this) })));
68
+ return (h(Host, { key: '80423ab104796d4bc50e3dbeafd26a417a41594e', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: 'd0ec5fa359865b1eb486d21a478f82b61a10bf18', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: 'e1f4114f91e1ff59c0ff4b4880b74bceb1702cba', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'bef3c43e06a20de50f2aacf88b6c80fc4822403a', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '803c8640aacbd34ba3de287f519d934cb9d974ca', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'bf8e10753f600ad984a06a710d19680e52507ab2', onSlotchange: this.updateColumns.bind(this) })));
69
69
  }
70
70
  static get is() { return "z-tr"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -12,12 +12,12 @@ export class ZDragdropArea {
12
12
  }
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '66f5fb3bcc31650e3d290af5ab076988238c4a4d', class: { dragover: this.dragging }, onDragOver: (e) => {
15
+ return (h(Host, { key: '82abca2596010f327e84e26f467f97335530bf6a', class: { dragover: this.dragging }, onDragOver: (e) => {
16
16
  e.preventDefault();
17
17
  this.dragging = true;
18
18
  }, onDragLeave: () => {
19
19
  this.dragging = false;
20
- }, onDrop: this.onDrop.bind(this) }, h("div", { key: 'e5cdaacb8a2083d4b20203b5722a99e0fd8abd5b', class: "dragover-container" }, h("z-button", { key: '59c8a32ac1df38991840b53cbf5dcaf0ca687e9c' }, this.dragAndDropLabel)), h("slot", { key: 'f9e8745147fdd87c620c3ad5037b401abdf42e2d' })));
20
+ }, onDrop: this.onDrop.bind(this) }, h("div", { key: '4cbbe1e986341df2960c366019a0d952fdcf011f', class: "dragover-container" }, h("z-button", { key: 'e5dfdbc943876a9f618083594d1f4f148a084052' }, this.dragAndDropLabel)), h("slot", { key: '87b3bbaa60996d169f7e220da1c3306de5237357' })));
21
21
  }
22
22
  static get is() { return "z-dragdrop-area"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class ZFile {
30
30
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '28f55431def45d56efe917e949de7dedc05a7989' }, this.allowPopover && (h("z-popover", { key: '80116f0fa1b80d746fe957ab3aa88495684c6592', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'aefa6fcad0a69e109e5215154b839b0e07d34f99', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: 'd29cda7f421bd066b5082a1ff7999a6eae3a09f2', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: '8a57b7285f555807923aee45b9651965bae4254d', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
33
+ return (h(Host, { key: '0ea8fc72fc1e2bb96439e4a3d3074f140fafbdca' }, this.allowPopover && (h("z-popover", { key: '3c1408c93d61d6afaf69ef5b10294beaea3a572f', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: '8a13796d5fdd792fa8da51b81363fd4c11072edd', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: '76a5d9cdc0932dbf9269e83d6f94950f5a459397', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: '75a118f774dbca2867629be4b437e18c1ebad1ba', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
34
34
  }
35
35
  static get is() { return "z-file"; }
36
36
  static get encapsulation() { return "scoped"; }
@@ -26,7 +26,7 @@ export class ZList {
26
26
  });
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'aeaf7ef699223b8f5da68f49d8eb6ea5ea5cebb1', role: this.htmlRole }, h("slot", { key: '942882c5e4f03ef9dd64ec255b4cd8b8c5c2c107' })));
29
+ return (h(Host, { key: '98a78ca75d510f3a1d804bbb2e2fc33d815b74b1', role: this.htmlRole }, h("slot", { key: '6bfc24a0ed5dfc13cffc47eb20ad4475ba598c20' })));
30
30
  }
31
31
  static get is() { return "z-list"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -153,7 +153,7 @@ export class ZListElement {
153
153
  }
154
154
  }
155
155
  render() {
156
- return (h(Host, { key: '08ed403eb2e275906b9cce38cd09d8ad26683efc', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.htmlRole }, h("div", { key: '64c3b6826652d98b557f32098ab87b3eccabed93', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '222187f25d69dd2fb6128ce6a0c5c81dd6a05b31', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '1ff298c5fc086f1e303194b69de2324e5448508f', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
156
+ return (h(Host, { key: '6309a4608286747636c1bc81a1783e31224b0ce7', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.htmlRole }, h("div", { key: '362e834bcc4b561e9a90c74bb41a3dcd3bf4c3ad', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '9b4bc30d2200b4eb3c9da3030acef0222c690734', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '09a6e380faaefce03873bc1976bec917c60fd9b9', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
157
157
  }
158
158
  static get is() { return "z-list-element"; }
159
159
  static get encapsulation() { return "shadow"; }
@@ -45,11 +45,11 @@ export class ZListGroup {
45
45
  this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '6c87868fe2ef8cb8cba06bea94d4eaca25c3f0e7', role: this.htmlRole }, h("div", { key: 'bf277438554dd56b141040c8af5e2171eeedfdb7', class: {
48
+ return (h(Host, { key: '2c550cf5604ca7c80621970c7b9046b81aee0826', role: this.htmlRole }, h("div", { key: '7042a6519c28bfa39a1914ddadb811a1e8469fcf', class: {
49
49
  "z-list-group-header-container": true,
50
50
  "has-header": this.hasHeader && !this.hasTreeItems,
51
51
  "grouped-tree-list-header": this.hasTreeItems,
52
- } }, h("slot", { key: 'c3bf82239b5f0418e10bffbc4e1e26e4c3172dab', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '7127f3a0d6f501f305431d57068da428ccf8b90b', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: '7dfc72c7992c5f28fce1a204ebabfa2a012b7708' })));
52
+ } }, h("slot", { key: 'fe5be90d287663bcdf69a6763012d9a364a7ff50', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '0717918b0003188cfef8e35de12ba54f79b43bc3', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: 'd4362b569458fad45835fae90d29f294baea0f75' })));
53
53
  }
54
54
  static get is() { return "z-list-group"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -93,7 +93,7 @@ export class ZTreeList {
93
93
  }
94
94
  render() {
95
95
  const hasClickableItems = this.parsedItems.some((item) => !!item.url);
96
- return (h(Host, { key: 'd4f93f20f84ac193c4b291b0cc16d4a0e6838d49', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '4d0f11bb82855843beabb2eb0ddaa30ca39d8524', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
96
+ return (h(Host, { key: '8bc473fe54ef8e0cea9e2deeb85cc798a9201482', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: 'da18ff5c34d384aa37ef1edbdb242a3f572f471b', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
97
97
  }
98
98
  static get is() { return "z-tree-list"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class ZAccordion {
63
63
  this.checkSlottedTags();
64
64
  }
65
65
  render() {
66
- return (h("details", { key: '9dbc24c1558cb8dd8278224d4721a173dc6050f3', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '191e306e811898c6e199664af41746a7f7fc6885', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '8562f6af8717ec125a8be1def19816c67437a3d0', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '0a863e554c09d43fe7c778fb15266232c45e5c8c', class: "z-accordion-label" }, this.label), this.hasSlottedTags && (h("span", { key: 'ec62cf2331385b745e9abde47b763c4f76291cc7', class: "z-accordion-tags" }, h("slot", { key: 'f4e709e2eeb465595e96fe24b4a0bda02f6eaa84', name: "tag", onSlotchange: () => this.checkSlottedTags() }))), h("z-icon", { key: 'dec4e49f0d1fee8f59d38b9d97f98aad3affd8aa', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '21a60ab43db780e601d886f6d7ab3a63e2e102a8', class: "z-accordion-content", part: "content" }, h("slot", { key: '8a43604d836c04288661b83fc479cec799143cfc' })))));
66
+ return (h("details", { key: '343e80da7b2d5d3e0a8928eac232c7fe74978c70', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '405a4cbf6bc51db034ee78af9441f4e5b4702441', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '65cc760624c249b2bb1edb3a717f055c0c1580c8', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '0f6e2bbf5a34de3b926896b5ab3a876c436a8b8b', class: "z-accordion-label" }, this.label), this.hasSlottedTags && (h("span", { key: '54e5c4cad8217cbe41c4869af2b6ae7f973ec8ba', class: "z-accordion-tags" }, h("slot", { key: '8460e87ed7cc4fc77149b024be0d74b7f744e042', name: "tag", onSlotchange: () => this.checkSlottedTags() }))), h("z-icon", { key: '472e3ade3c1931ebc8ccf08c2be93d4159580c82', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '9324498fbfc6c99841580e9f504c3a825438849b', class: "z-accordion-content", part: "content" }, h("slot", { key: 'c276b70da9ea8692479b3eda272aa0cd36edafec' })))));
67
67
  }
68
68
  static get is() { return "z-accordion"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class ZAnchorNavigation {
71
71
  window.removeEventListener("hashchange", this.setCurrent);
72
72
  }
73
73
  render() {
74
- return (h(Host, { key: '89751109cccb5d8bef38667bbfdfdc28e1a1febf', collapsed: this.collapsed, class: "z-scrollbar" }, h("z-button", { key: '2b5cbb4358af217a87d52c52a24326c316dbc56b', class: "toggle", size: ControlSize.SMALL, variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: '3f5560712a71aaa112b1258b2177efcbb260487d', ref: (el) => (this.nav = el) }, h("slot", { key: 'da9a478eb5667533ffc14e3ea7f4c28aba30218a' }))));
74
+ return (h(Host, { key: '011b87db007cf01c52321e35439e10331efbc792', collapsed: this.collapsed, class: "z-scrollbar" }, h("z-button", { key: '29af3c3ba5b6706aebb7ac269a4004a98d3f0dd9', class: "toggle", size: ControlSize.SMALL, variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: 'a6f0dd31673d81f822cd65ad024434f58a1e1fa3', ref: (el) => (this.nav = el) }, h("slot", { key: '8488115014b8e3d1a81930c9dedf8dce1d08975e' }))));
75
75
  }
76
76
  static get is() { return "z-anchor-navigation"; }
77
77
  static get originalStyleUrls() {
@@ -192,7 +192,12 @@ export class ZAppHeader {
192
192
  if (this.searchPageUrl && (this.isMobile || this.isTablet)) {
193
193
  return (h("z-button", { class: "search-page-button", variant: ButtonVariant.SECONDARY, href: this.searchPageUrl, icon: "search", size: ControlSize.X_SMALL }));
194
194
  }
195
- return (h("z-searchbar", { class: { "has-label": !!this.searchLabel }, value: this.searchString, placeholder: this.searchPlaceholder, label: this.searchLabel, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, searchButtonLabel: this.isMobile || this.isTablet ? undefined : this.searchButtonLabel, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
195
+ return (h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, htmlAriaLabel: this.searchLabel, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, searchButtonLabel: this.isMobile || this.isTablet ? undefined : this.searchButtonLabel, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
196
+ }
197
+ renderSearchLabel() {
198
+ if (this.searchLabel && !this.isMobile && !this.isTablet && !this.enableOffcanvas) {
199
+ return h("label", { class: "z-label" }, this.searchLabel);
200
+ }
196
201
  }
197
202
  renderProductLogos() {
198
203
  return (h(Fragment, null, this.enableZLogo && (h("span", { class: "z-logo" }, h("img", { alt: "Logo Zanichelli" }))), this.hostElement.querySelector("[slot='product-logo']") && (h("span", { class: "product-logo" }, h("slot", { name: "product-logo" })))));
@@ -272,9 +277,15 @@ export class ZAppHeader {
272
277
  var _a;
273
278
  (_a = this.menuResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
274
279
  }
280
+ renderTopSubtitle() {
281
+ if (!this.hasSlot("top-subtitle") || (this.enableSearch && this.isMobile)) {
282
+ return;
283
+ }
284
+ return (h("div", { class: { "top-subtitle": true, "has-product-logo": this.hasSlot("product-logo") } }, h("slot", { name: "top-subtitle" })));
285
+ }
275
286
  render() {
276
287
  const hasTopSubtitle = this.hasSlot("top-subtitle");
277
- return (h(Host, { key: 'a464234ec0ce538282727aa83c43d30b5ea23ffa', "menu-length": this.menuLength }, h("div", { key: '0f41b7571c5e1acf4298910ab415ca986616a40e', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '9b9d45789be83c2db23e035a72b60cd4910b68b2', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'bd1196659bc19936603de3994011b82ea7649147', class: { "top-subtitle": true, "has-product-logo": hasTopSubtitle && this.hasSlot("product-logo") } }, h("slot", { key: '5d50957c5b91c138ad21efb849fdd371e93057ae', name: "top-subtitle" }))), h("div", { key: '47a21fe5a5b508fe23cf4e185813743e8dce0fab', class: "heading-title" }, h("slot", { key: '1c027312231d68cb2ebc625b6aeed177d2e22cf4', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), h("slot", { key: '6917fa59229dc3d80b5c3ca472bd14b671be9e27', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: 'e3ac84ff0933a8955fa7433f8ea0ae94e5eec080', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '1f3461f8b2b99d8515774265c07ddcb850ed7757', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'eda425c16602287225554fcca0c65661b46e0366', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
288
+ return (h(Host, { key: 'b2b9e7ca77504392b37f3d77b1266df7818cb0cf', "menu-length": this.menuLength }, h("div", { key: '9e6b112e27f30445a34f1adbe4287ab226421de0', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '44c38afdf95c506ba2d1241b88f86fe9ed2113b7', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, h("div", { key: 'c061f870b799b52b089be972709793ab471a3d98', class: "heading-block" }, h("div", { key: '77b4f385458a41751e6d2363d9c07aa19e3888fc', class: "heading-title" }, h("slot", { key: 'eff35b8f35ee97e91dbcc24acc87a28f0b3268d9', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), h("div", { key: '9db36b58de99fe7e08d50e81c6483705108f2975', class: "title-container" }, !this.isMobile && this.renderTopSubtitle(), h("slot", { key: 'c6b537b48e4486a1ddc5f5dae27639f91d71ac0b', name: "title" })), h("div", { key: '416324b5ea6f9a6a3f27212d02710a70953ff0d7', class: "search-slot" }, this.renderSearchLabel(), this.enableSearch && !this.isMobile && this.renderSeachbar())), this.isMobile && this.renderTopSubtitle()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: 'c7019897ca741018b24fa29bb9bd2e01c20f3de5', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '77c54b43e038bc4f79d213934303801be87ff0ff', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'bde1fc4c59b536c7cee2acd2177c8f8f3615ffe0', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
278
289
  }
279
290
  static get is() { return "z-app-header"; }
280
291
  static get encapsulation() { return "shadow"; }