@zanichelli/albe-web-components 17.3.0-RC1 → 18.0.0

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 (884) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/cjs/{index-a6593d82.js → index-0cb5e57a.js} +2 -2
  3. package/dist/cjs/{index-a6593d82.js.map → index-0cb5e57a.js.map} +1 -1
  4. package/dist/cjs/{index-4e2d222e.js → index-1c3f7a64.js} +2 -2
  5. package/dist/cjs/{index-4e2d222e.js.map → index-1c3f7a64.js.map} +1 -1
  6. package/dist/cjs/{index-117cd3b0.js → index-24b23a97.js} +5 -5
  7. package/dist/cjs/{index-117cd3b0.js.map → index-24b23a97.js.map} +1 -1
  8. package/dist/cjs/{index-7191c0cc.js → index-41d3dc9e.js} +2 -2
  9. package/dist/cjs/{index-7191c0cc.js.map → index-41d3dc9e.js.map} +1 -1
  10. package/dist/cjs/{index-9b8b105e.js → index-48540995.js} +3 -3
  11. package/dist/cjs/{index-9b8b105e.js.map → index-48540995.js.map} +1 -1
  12. package/dist/cjs/{index-a465bca8.js → index-4f18c0e2.js} +1 -6
  13. package/{www/build/p-2b309f57.js.map → dist/cjs/index-4f18c0e2.js.map} +1 -1
  14. package/dist/cjs/{index-d6c4fda2.js → index-f9fe3768.js} +3 -3
  15. package/dist/cjs/{index-d6c4fda2.js.map → index-f9fe3768.js.map} +1 -1
  16. package/dist/cjs/index.cjs.js +2 -8
  17. package/dist/cjs/index.cjs.js.map +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/{utils-873dd0ae.js → utils-67ea6e35.js} +2 -2
  20. package/dist/cjs/{utils-873dd0ae.js.map → utils-67ea6e35.js.map} +1 -1
  21. package/dist/cjs/{utils-ee8e5b38.js → utils-a6d8a0b7.js} +2 -2
  22. package/dist/cjs/{utils-ee8e5b38.js.map → utils-a6d8a0b7.js.map} +1 -1
  23. package/dist/cjs/web-components-library.cjs.js +1 -1
  24. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  26. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -1
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  31. package/dist/cjs/z-app-header_12.cjs.entry.js +19 -19
  32. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  34. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  35. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  37. package/dist/cjs/z-book-card.cjs.entry.js +44 -90
  38. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
  40. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  41. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  42. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  43. package/dist/cjs/z-card.cjs.entry.js +2 -2
  44. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/z-carousel.cjs.entry.js +3 -3
  46. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  47. package/dist/cjs/z-chip.cjs.entry.js +4 -4
  48. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-combobox.cjs.entry.js +6 -6
  50. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  51. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  52. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  53. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
  54. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  55. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  56. package/dist/cjs/z-file.cjs.entry.js +2 -2
  57. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  58. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -1
  59. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  60. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  61. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  62. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  63. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  64. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  65. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  66. package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
  67. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  69. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  70. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  71. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  72. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  73. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  75. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  76. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  77. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  78. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  79. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  80. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  81. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  82. package/dist/cjs/z-otp.cjs.entry.js +4 -4
  83. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  85. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  86. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  87. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  88. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  89. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  90. package/dist/cjs/z-select.cjs.entry.js +4 -4
  91. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  92. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  93. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  94. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  95. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  96. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  97. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  98. package/dist/cjs/z-table.cjs.entry.js +9 -9
  99. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  100. package/dist/cjs/z-td.cjs.entry.js +2 -2
  101. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  102. package/dist/cjs/z-th.cjs.entry.js +2 -2
  103. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  104. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  105. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  106. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  107. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  108. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  110. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  111. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  112. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  113. package/dist/collection/beans/index.js +0 -5
  114. package/dist/collection/beans/index.js.map +1 -1
  115. package/dist/collection/collection-manifest.json +1 -1
  116. package/dist/collection/components/book-card/z-book-card/index.js +72 -267
  117. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  118. package/dist/collection/components/book-card/z-book-card/index.stories.js +100 -106
  119. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -1
  120. package/dist/collection/components/book-card/z-book-card/styles.css +76 -140
  121. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  122. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +2 -2
  123. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -1
  124. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  125. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  126. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  127. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  128. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -14
  129. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -1
  130. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  131. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  132. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  133. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  134. package/dist/collection/components/list/z-list/index.js +1 -1
  135. package/dist/collection/components/list/z-list-element/index.js +1 -1
  136. package/dist/collection/components/list/z-list-element/styles.css +6 -5
  137. package/dist/collection/components/list/z-list-group/index.js +2 -2
  138. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  139. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  140. package/dist/collection/components/table/z-table/index.js +1 -1
  141. package/dist/collection/components/table/z-tbody/index.js +1 -1
  142. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  143. package/dist/collection/components/table/z-thead/index.js +1 -1
  144. package/dist/collection/components/table/z-tr/index.js +1 -1
  145. package/dist/collection/components/z-accordion/index.js +1 -1
  146. package/dist/collection/components/z-accordion/styles.css +1 -1
  147. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  148. package/dist/collection/components/z-anchor-navigation/styles.css +3 -2
  149. package/dist/collection/components/z-app-header/index.js +1 -1
  150. package/dist/collection/components/z-app-header/styles.css +1 -1
  151. package/dist/collection/components/z-aria-alert/index.js +1 -1
  152. package/dist/collection/components/z-avatar/index.js +2 -2
  153. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  154. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -1
  155. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  156. package/dist/collection/components/z-breadcrumb/styles.css +2 -0
  157. package/dist/collection/components/z-button-sort/index.js +1 -1
  158. package/dist/collection/components/z-button-sort/styles.css +5 -5
  159. package/dist/collection/components/z-card/index.stories.js +2 -2
  160. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  161. package/dist/collection/components/z-card/styles.css +1 -2
  162. package/dist/collection/components/z-carousel/index.js +2 -2
  163. package/dist/collection/components/z-carousel/index.js.map +1 -1
  164. package/dist/collection/components/z-chip/index.js +2 -2
  165. package/dist/collection/components/z-chip/styles.css +4 -8
  166. package/dist/collection/components/z-combobox/index.js +3 -3
  167. package/dist/collection/components/z-combobox/index.js.map +1 -1
  168. package/dist/collection/components/z-combobox/styles.css +35 -18
  169. package/dist/collection/components/z-cover-hero/index.js +2 -2
  170. package/dist/collection/components/z-divider/index.js +1 -1
  171. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  172. package/dist/collection/components/z-ghost-loading/styles.css +3 -3
  173. package/dist/collection/components/z-icon/index.js +1 -1
  174. package/dist/collection/components/z-info-box/index.js +1 -1
  175. package/dist/collection/components/z-info-reveal/index.js +1 -1
  176. package/dist/collection/components/z-input/index.js +1 -1
  177. package/dist/collection/components/z-input/styles.css +9 -6
  178. package/dist/collection/components/z-input-message/index.js +1 -1
  179. package/dist/collection/components/z-input-message/styles.css +1 -1
  180. package/dist/collection/components/z-logo/index.js +1 -1
  181. package/dist/collection/components/z-menu-section/index.js +1 -1
  182. package/dist/collection/components/z-modal/index.js +7 -7
  183. package/dist/collection/components/z-modal/index.js.map +1 -1
  184. package/dist/collection/components/z-modal/index.stories.js +1 -1
  185. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  186. package/dist/collection/components/z-modal/styles.css +5 -6
  187. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  188. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  189. package/dist/collection/components/z-notification/index.js +1 -1
  190. package/dist/collection/components/z-notification/styles.css +6 -6
  191. package/dist/collection/components/z-offcanvas/index.js +1 -1
  192. package/dist/collection/components/z-pagination/styles.css +1 -1
  193. package/dist/collection/components/z-panel-elem/index.js +2 -2
  194. package/dist/collection/components/z-popover/index.js +1 -1
  195. package/dist/collection/components/z-popover/index.stories.js +2 -1
  196. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  197. package/dist/collection/components/z-searchbar/index.js +1 -1
  198. package/dist/collection/components/z-section-title/index.js +1 -1
  199. package/dist/collection/components/z-select/index.js +1 -1
  200. package/dist/collection/components/z-select/styles.css +14 -8
  201. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  202. package/dist/collection/components/z-stepper/index.js +1 -1
  203. package/dist/collection/components/z-stepper/index.stories.js +42 -12
  204. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-stepper/styles.css +1 -1
  206. package/dist/collection/components/z-stepper-item/index.js +1 -1
  207. package/dist/collection/components/z-stepper-item/styles.css +6 -6
  208. package/dist/collection/components/z-tag/index.js +2 -2
  209. package/dist/collection/components/z-toast-notification/index.js +1 -1
  210. package/dist/collection/components/z-toast-notification/styles.css +5 -5
  211. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  212. package/dist/collection/components/z-toggle-button/index.js +2 -2
  213. package/dist/collection/components/z-toggle-button/styles.css +1 -1
  214. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  215. package/dist/collection/components/z-tooltip/index.js +1 -1
  216. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  217. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  218. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  219. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +2 -2
  220. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  221. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  222. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  223. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  224. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  225. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  226. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  227. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  228. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
  229. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  230. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  231. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  232. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  233. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  234. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  235. package/dist/collection/snowflakes/myz/z-otp/styles.css +2 -2
  236. package/dist/components/index.js +1 -1
  237. package/dist/components/index10.js +1 -1
  238. package/dist/components/index11.js +2 -2
  239. package/dist/components/index11.js.map +1 -1
  240. package/dist/components/index12.js +2 -2
  241. package/dist/components/index12.js.map +1 -1
  242. package/dist/components/index13.js +1 -1
  243. package/dist/components/index14.js +2 -2
  244. package/dist/components/index14.js.map +1 -1
  245. package/dist/components/index15.js +2 -2
  246. package/dist/components/index16.js +5 -5
  247. package/dist/components/index16.js.map +1 -1
  248. package/dist/components/index17.js +1 -1
  249. package/dist/components/index18.js +1 -1
  250. package/dist/components/index19.js +1 -1
  251. package/dist/components/index2.js +1 -6
  252. package/dist/components/index2.js.map +1 -1
  253. package/dist/components/index20.js +1 -1
  254. package/dist/components/index21.js +1 -1
  255. package/dist/components/index22.js +1 -1
  256. package/dist/components/index23.js +1 -1
  257. package/dist/components/index24.js +1 -1
  258. package/dist/components/index25.js +2 -2
  259. package/dist/components/index3.js +2 -2
  260. package/dist/components/index3.js.map +1 -1
  261. package/dist/components/index5.js +3 -3
  262. package/dist/components/index5.js.map +1 -1
  263. package/dist/components/index6.js +1 -1
  264. package/dist/components/index7.js +2 -2
  265. package/dist/components/index8.js +2 -2
  266. package/dist/components/index8.js.map +1 -1
  267. package/dist/components/index9.js +1 -1
  268. package/dist/components/z-accordion.js +3 -3
  269. package/dist/components/z-accordion.js.map +1 -1
  270. package/dist/components/z-anchor-navigation.js +2 -2
  271. package/dist/components/z-anchor-navigation.js.map +1 -1
  272. package/dist/components/z-app-header-deprecated.js +1 -1
  273. package/dist/components/z-app-header.js +2 -2
  274. package/dist/components/z-app-header.js.map +1 -1
  275. package/dist/components/z-aria-alert.js +1 -1
  276. package/dist/components/z-avatar.js +2 -2
  277. package/dist/components/z-book-card-app.js +1 -1
  278. package/dist/components/z-book-card-deprecated.js +1 -1
  279. package/dist/components/z-book-card.js +53 -117
  280. package/dist/components/z-book-card.js.map +1 -1
  281. package/dist/components/z-breadcrumb.js +3 -3
  282. package/dist/components/z-breadcrumb.js.map +1 -1
  283. package/dist/components/z-button-sort.js +2 -2
  284. package/dist/components/z-button-sort.js.map +1 -1
  285. package/dist/components/z-card.js +1 -1
  286. package/dist/components/z-card.js.map +1 -1
  287. package/dist/components/z-carousel.js +2 -2
  288. package/dist/components/z-carousel.js.map +1 -1
  289. package/dist/components/z-combobox.js +16 -22
  290. package/dist/components/z-combobox.js.map +1 -1
  291. package/dist/components/z-cover-hero.js +2 -2
  292. package/dist/components/z-date-picker.js +1 -1
  293. package/dist/components/z-file.js +1 -1
  294. package/dist/components/z-info-box.js +1 -1
  295. package/dist/components/z-logo.js +1 -1
  296. package/dist/components/z-menu-deprecated.js +1 -1
  297. package/dist/components/z-menu-section-deprecated.js +1 -1
  298. package/dist/components/z-menu-section.js +1 -1
  299. package/dist/components/z-myz-card-alert.js +2 -2
  300. package/dist/components/z-myz-card-alert.js.map +1 -1
  301. package/dist/components/z-myz-card-dictionary.js +1 -1
  302. package/dist/components/z-myz-card-footer-sections.js +1 -1
  303. package/dist/components/z-myz-card-footer.js +1 -1
  304. package/dist/components/z-myz-card-icon.js +1 -1
  305. package/dist/components/z-myz-card-info.js +2 -2
  306. package/dist/components/z-myz-card-info.js.map +1 -1
  307. package/dist/components/z-myz-card-list.js +1 -1
  308. package/dist/components/z-myz-list.js +1 -1
  309. package/dist/components/z-navigation-tabs.js +3 -3
  310. package/dist/components/z-navigation-tabs.js.map +1 -1
  311. package/dist/components/z-notification.js +2 -2
  312. package/dist/components/z-notification.js.map +1 -1
  313. package/dist/components/z-otp.js +3 -3
  314. package/dist/components/z-otp.js.map +1 -1
  315. package/dist/components/z-pagination.js +1 -1
  316. package/dist/components/z-pagination.js.map +1 -1
  317. package/dist/components/z-panel-elem.js +2 -2
  318. package/dist/components/z-range-picker.js +3 -3
  319. package/dist/components/z-section-title.js +1 -1
  320. package/dist/components/z-select.js +2 -2
  321. package/dist/components/z-select.js.map +1 -1
  322. package/dist/components/z-skip-to-content.js +1 -1
  323. package/dist/components/z-stepper-item.js +2 -2
  324. package/dist/components/z-stepper-item.js.map +1 -1
  325. package/dist/components/z-stepper.js +2 -2
  326. package/dist/components/z-stepper.js.map +1 -1
  327. package/dist/components/z-table.js +1 -1
  328. package/dist/components/z-tbody.js +1 -1
  329. package/dist/components/z-td.js +1 -1
  330. package/dist/components/z-tfoot.js +1 -1
  331. package/dist/components/z-th.js +1 -1
  332. package/dist/components/z-thead.js +1 -1
  333. package/dist/components/z-toast-notification-list.js +1 -1
  334. package/dist/components/z-toast-notification.js +2 -2
  335. package/dist/components/z-toast-notification.js.map +1 -1
  336. package/dist/components/z-toggle-button.js +3 -3
  337. package/dist/components/z-toggle-button.js.map +1 -1
  338. package/dist/components/z-toggle-switch.js +3 -3
  339. package/dist/components/z-tooltip.js +1 -1
  340. package/dist/components/z-tr.js +1 -1
  341. package/dist/components/z-visually-hidden.js +1 -1
  342. package/dist/docs/themes/index.stories.js +7 -15
  343. package/dist/docs/themes/index.stories.js.map +1 -1
  344. package/dist/esm/{index-5dff449e.js → index-0ebe53c2.js} +2 -2
  345. package/dist/esm/{index-5dff449e.js.map → index-0ebe53c2.js.map} +1 -1
  346. package/dist/esm/{index-678ea09c.js → index-7ff7476c.js} +5 -5
  347. package/dist/esm/{index-678ea09c.js.map → index-7ff7476c.js.map} +1 -1
  348. package/dist/esm/{index-04335eea.js → index-8965837f.js} +2 -2
  349. package/dist/esm/{index-04335eea.js.map → index-8965837f.js.map} +1 -1
  350. package/dist/esm/{index-9adfcd0d.js → index-dfd97928.js} +2 -2
  351. package/dist/esm/{index-9adfcd0d.js.map → index-dfd97928.js.map} +1 -1
  352. package/dist/esm/{index-dac83244.js → index-f75609c5.js} +3 -3
  353. package/dist/esm/{index-dac83244.js.map → index-f75609c5.js.map} +1 -1
  354. package/dist/esm/{index-5c567adb.js → index-f87879d9.js} +3 -3
  355. package/dist/esm/{index-5c567adb.js.map → index-f87879d9.js.map} +1 -1
  356. package/dist/esm/{index-c9fd4a10.js → index-fe87283d.js} +2 -7
  357. package/dist/esm/index-fe87283d.js.map +1 -0
  358. package/dist/esm/index.js +2 -2
  359. package/dist/esm/loader.js +1 -1
  360. package/dist/esm/{utils-1a6a53d2.js → utils-ae56fbe5.js} +2 -2
  361. package/dist/esm/{utils-1a6a53d2.js.map → utils-ae56fbe5.js.map} +1 -1
  362. package/dist/esm/{utils-cd97a95b.js → utils-c7062cf7.js} +2 -2
  363. package/dist/esm/{utils-cd97a95b.js.map → utils-c7062cf7.js.map} +1 -1
  364. package/dist/esm/web-components-library.js +1 -1
  365. package/dist/esm/z-accordion.entry.js +3 -3
  366. package/dist/esm/z-accordion.entry.js.map +1 -1
  367. package/dist/esm/z-alert.entry.js +2 -2
  368. package/dist/esm/z-alert.entry.js.map +1 -1
  369. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  370. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  371. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  372. package/dist/esm/z-app-header_12.entry.js +19 -19
  373. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  374. package/dist/esm/z-aria-alert.entry.js +2 -2
  375. package/dist/esm/z-avatar.entry.js +3 -3
  376. package/dist/esm/z-book-card-app.entry.js +2 -2
  377. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  378. package/dist/esm/z-book-card.entry.js +45 -91
  379. package/dist/esm/z-book-card.entry.js.map +1 -1
  380. package/dist/esm/z-breadcrumb.entry.js +5 -5
  381. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  382. package/dist/esm/z-button-sort.entry.js +2 -2
  383. package/dist/esm/z-button-sort.entry.js.map +1 -1
  384. package/dist/esm/z-card.entry.js +2 -2
  385. package/dist/esm/z-card.entry.js.map +1 -1
  386. package/dist/esm/z-carousel.entry.js +3 -3
  387. package/dist/esm/z-carousel.entry.js.map +1 -1
  388. package/dist/esm/z-chip.entry.js +4 -4
  389. package/dist/esm/z-chip.entry.js.map +1 -1
  390. package/dist/esm/z-combobox.entry.js +6 -6
  391. package/dist/esm/z-combobox.entry.js.map +1 -1
  392. package/dist/esm/z-cover-hero.entry.js +3 -3
  393. package/dist/esm/z-date-picker.entry.js +3 -3
  394. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  395. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  396. package/dist/esm/z-file-upload.entry.js +1 -1
  397. package/dist/esm/z-file.entry.js +2 -2
  398. package/dist/esm/z-ghost-loading.entry.js +2 -2
  399. package/dist/esm/z-ghost-loading.entry.js.map +1 -1
  400. package/dist/esm/z-info-box.entry.js +1 -1
  401. package/dist/esm/z-info-reveal.entry.js +2 -2
  402. package/dist/esm/z-logo.entry.js +1 -1
  403. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  404. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  405. package/dist/esm/z-menu-section.entry.js +2 -2
  406. package/dist/esm/z-menu.entry.js +2 -2
  407. package/dist/esm/z-myz-card-alert.entry.js +3 -3
  408. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  409. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  410. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  411. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  412. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  413. package/dist/esm/z-myz-card-info.entry.js +4 -4
  414. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  415. package/dist/esm/z-myz-card-list.entry.js +1 -1
  416. package/dist/esm/z-myz-card_4.entry.js +5 -5
  417. package/dist/esm/z-myz-list-item.entry.js +3 -3
  418. package/dist/esm/z-myz-list.entry.js +1 -1
  419. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  420. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  421. package/dist/esm/z-notification.entry.js +2 -2
  422. package/dist/esm/z-notification.entry.js.map +1 -1
  423. package/dist/esm/z-otp.entry.js +4 -4
  424. package/dist/esm/z-otp.entry.js.map +1 -1
  425. package/dist/esm/z-pagination.entry.js +2 -2
  426. package/dist/esm/z-pagination.entry.js.map +1 -1
  427. package/dist/esm/z-panel-elem.entry.js +2 -2
  428. package/dist/esm/z-popover.entry.js +2 -2
  429. package/dist/esm/z-range-picker.entry.js +5 -5
  430. package/dist/esm/z-section-title.entry.js +2 -2
  431. package/dist/esm/z-select.entry.js +4 -4
  432. package/dist/esm/z-select.entry.js.map +1 -1
  433. package/dist/esm/z-skip-to-content.entry.js +3 -3
  434. package/dist/esm/z-slideshow.entry.js +2 -2
  435. package/dist/esm/z-stepper-item.entry.js +2 -2
  436. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  437. package/dist/esm/z-stepper.entry.js +2 -2
  438. package/dist/esm/z-stepper.entry.js.map +1 -1
  439. package/dist/esm/z-table.entry.js +9 -9
  440. package/dist/esm/z-tbody.entry.js +1 -1
  441. package/dist/esm/z-td.entry.js +2 -2
  442. package/dist/esm/z-tfoot.entry.js +1 -1
  443. package/dist/esm/z-th.entry.js +2 -2
  444. package/dist/esm/z-thead.entry.js +1 -1
  445. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  446. package/dist/esm/z-toast-notification.entry.js +3 -3
  447. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  448. package/dist/esm/z-toggle-button.entry.js +3 -3
  449. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  450. package/dist/esm/z-toggle-switch.entry.js +5 -5
  451. package/dist/esm/z-tooltip.entry.js +2 -2
  452. package/dist/esm/z-tr.entry.js +5 -5
  453. package/dist/esm/z-visually-hidden.entry.js +1 -1
  454. package/dist/types/beans/index.d.ts +0 -12
  455. package/dist/types/components/book-card/z-book-card/index.d.ts +28 -42
  456. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +35 -32
  457. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +1 -1
  458. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +1 -10
  459. package/dist/types/components/z-breadcrumb/index.stories.d.ts +1 -1
  460. package/dist/types/components/z-card/index.stories.d.ts +1 -1
  461. package/dist/types/components/z-modal/index.d.ts +3 -3
  462. package/dist/types/components/z-popover/index.stories.d.ts +5 -2
  463. package/dist/types/components/z-stepper/index.stories.d.ts +3 -0
  464. package/dist/types/components.d.ts +57 -76
  465. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -12
  466. package/dist/web-components-library/index.esm.js +1 -1
  467. package/dist/web-components-library/index.esm.js.map +1 -1
  468. package/{www/build/p-b22d3c7d.js → dist/web-components-library/p-00e88046.js} +2 -2
  469. package/dist/web-components-library/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  470. package/dist/web-components-library/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  471. package/{www/build/p-c3c99202.js → dist/web-components-library/p-0d9f1574.js} +2 -2
  472. package/dist/web-components-library/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  473. package/dist/web-components-library/p-1bbf185c.js +2 -0
  474. package/dist/web-components-library/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  475. package/{www/build/p-5b6dd467.entry.js → dist/web-components-library/p-1cbc1b08.entry.js} +2 -2
  476. package/dist/web-components-library/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  477. package/dist/web-components-library/p-1ece11f1.entry.js +2 -0
  478. package/dist/web-components-library/p-1ece11f1.entry.js.map +1 -0
  479. package/dist/web-components-library/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  480. package/{www/build/p-2dde9b84.entry.js.map → dist/web-components-library/p-2467913e.entry.js.map} +1 -1
  481. package/dist/web-components-library/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  482. package/dist/web-components-library/p-28c972c6.entry.js +2 -0
  483. package/dist/web-components-library/p-301b56f1.entry.js +2 -0
  484. package/dist/web-components-library/p-301b56f1.entry.js.map +1 -0
  485. package/dist/web-components-library/p-30677b5c.entry.js +2 -0
  486. package/dist/web-components-library/p-30677b5c.entry.js.map +1 -0
  487. package/{www/build/p-31c5b39d.entry.js → dist/web-components-library/p-37a34984.entry.js} +2 -2
  488. package/dist/web-components-library/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  489. package/dist/web-components-library/p-3a42612f.entry.js +2 -0
  490. package/dist/web-components-library/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  491. package/dist/web-components-library/p-431f5871.js +2 -0
  492. package/{www/build/p-6230c432.entry.js → dist/web-components-library/p-4de706ad.entry.js} +2 -2
  493. package/dist/web-components-library/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  494. package/dist/web-components-library/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  495. package/{www/build/p-c7df6a63.entry.js → dist/web-components-library/p-5a24e268.entry.js} +2 -2
  496. package/dist/web-components-library/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  497. package/dist/web-components-library/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  498. package/dist/web-components-library/p-61a83529.entry.js +2 -0
  499. package/dist/web-components-library/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  500. package/dist/web-components-library/p-6a573d57.entry.js +2 -0
  501. package/dist/web-components-library/p-6a573d57.entry.js.map +1 -0
  502. package/dist/web-components-library/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  503. package/dist/web-components-library/p-7b13eeff.entry.js +2 -0
  504. package/dist/web-components-library/p-7b13eeff.entry.js.map +1 -0
  505. package/dist/web-components-library/p-7ce5ca87.entry.js +2 -0
  506. package/dist/web-components-library/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  507. package/dist/web-components-library/p-7df942c9.entry.js +2 -0
  508. package/dist/web-components-library/p-7df942c9.entry.js.map +1 -0
  509. package/{www/build/p-c2af9a71.entry.js → dist/web-components-library/p-816fd6dc.entry.js} +2 -2
  510. package/dist/web-components-library/p-838b298b.entry.js +2 -0
  511. package/dist/web-components-library/p-838b298b.entry.js.map +1 -0
  512. package/dist/web-components-library/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  513. package/dist/web-components-library/p-8d043fc0.entry.js +7 -0
  514. package/dist/web-components-library/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  515. package/dist/web-components-library/p-8eb94125.entry.js +2 -0
  516. package/{www/build/p-8e544914.entry.js.map → dist/web-components-library/p-8eb94125.entry.js.map} +1 -1
  517. package/dist/web-components-library/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  518. package/{www/build/p-d29f9574.entry.js.map → dist/web-components-library/p-8fa23b47.entry.js.map} +1 -1
  519. package/dist/web-components-library/p-8fdf9453.entry.js +2 -0
  520. package/dist/web-components-library/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  521. package/{www/build/p-29a297ed.entry.js → dist/web-components-library/p-996446e2.entry.js} +2 -2
  522. package/dist/web-components-library/p-996446e2.entry.js.map +1 -0
  523. package/{www/build/p-96be6eae.entry.js → dist/web-components-library/p-99a6c92f.entry.js} +2 -2
  524. package/dist/web-components-library/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  525. package/dist/web-components-library/p-9bad1dbc.entry.js +2 -0
  526. package/dist/web-components-library/p-9bad1dbc.entry.js.map +1 -0
  527. package/dist/web-components-library/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  528. package/{www/build/p-6337614a.entry.js.map → dist/web-components-library/p-9fcc8e5d.entry.js.map} +1 -1
  529. package/dist/web-components-library/p-aaab7f44.entry.js +2 -0
  530. package/dist/web-components-library/p-abc08ea3.entry.js +2 -0
  531. package/{www/build/p-475a2ba2.entry.js → dist/web-components-library/p-abd3b914.entry.js} +2 -2
  532. package/dist/web-components-library/p-acee5500.entry.js +2 -0
  533. package/dist/web-components-library/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  534. package/{www/build/p-0d60cc5e.entry.js.map → dist/web-components-library/p-adb5caab.entry.js.map} +1 -1
  535. package/dist/web-components-library/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  536. package/{www/build/p-cc775eee.entry.js → dist/web-components-library/p-b1cbb20d.entry.js} +2 -2
  537. package/dist/web-components-library/p-b4018dab.entry.js +2 -0
  538. package/dist/web-components-library/p-b4018dab.entry.js.map +1 -0
  539. package/dist/web-components-library/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  540. package/dist/web-components-library/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  541. package/dist/web-components-library/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  542. package/dist/web-components-library/p-bc71a934.entry.js +2 -0
  543. package/dist/web-components-library/p-bc71a934.entry.js.map +1 -0
  544. package/dist/web-components-library/p-cfbef2c3.entry.js +2 -0
  545. package/dist/web-components-library/p-d20df54b.entry.js +2 -0
  546. package/dist/web-components-library/p-d20df54b.entry.js.map +1 -0
  547. package/{www/build/p-bd5b0bce.entry.js → dist/web-components-library/p-d8d7db0e.entry.js} +2 -2
  548. package/dist/web-components-library/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  549. package/{www/build/p-8e6760d9.entry.js → dist/web-components-library/p-df97df54.entry.js} +2 -2
  550. package/dist/web-components-library/p-df9f25a1.entry.js +2 -0
  551. package/dist/web-components-library/p-df9f25a1.entry.js.map +1 -0
  552. package/dist/web-components-library/p-dfcf9936.js +2 -0
  553. package/dist/web-components-library/p-dfcf9936.js.map +1 -0
  554. package/dist/web-components-library/p-e5ce98e0.entry.js +2 -0
  555. package/dist/web-components-library/p-e5ce98e0.entry.js.map +1 -0
  556. package/dist/web-components-library/p-e7eedf8b.entry.js +2 -0
  557. package/dist/web-components-library/p-e7eedf8b.entry.js.map +1 -0
  558. package/dist/web-components-library/p-ec8f8ac8.entry.js +2 -0
  559. package/dist/web-components-library/p-ec8f8ac8.entry.js.map +1 -0
  560. package/dist/web-components-library/{p-e087f05f.js → p-f3145212.js} +2 -2
  561. package/dist/web-components-library/p-f73d8a87.entry.js +2 -0
  562. package/dist/web-components-library/p-f73d8a87.entry.js.map +1 -0
  563. package/dist/web-components-library/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  564. package/dist/web-components-library/p-f8d49a59.entry.js +2 -0
  565. package/dist/web-components-library/p-f9f98130.entry.js +2 -0
  566. package/dist/web-components-library/p-f9f98130.entry.js.map +1 -0
  567. package/dist/web-components-library/p-fad6ea09.entry.js +2 -0
  568. package/dist/web-components-library/p-fad6ea09.entry.js.map +1 -0
  569. package/dist/web-components-library/web-components-library.css +142 -175
  570. package/dist/web-components-library/web-components-library.esm.js +1 -1
  571. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  572. package/package.json +2 -1
  573. package/www/build/index.esm.js +1 -1
  574. package/www/build/index.esm.js.map +1 -1
  575. package/{dist/web-components-library/p-b22d3c7d.js → www/build/p-00e88046.js} +2 -2
  576. package/www/build/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  577. package/www/build/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  578. package/{dist/web-components-library/p-c3c99202.js → www/build/p-0d9f1574.js} +2 -2
  579. package/www/build/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  580. package/www/build/p-1bbf185c.js +2 -0
  581. package/www/build/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  582. package/{dist/web-components-library/p-5b6dd467.entry.js → www/build/p-1cbc1b08.entry.js} +2 -2
  583. package/www/build/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  584. package/www/build/p-1ece11f1.entry.js +2 -0
  585. package/www/build/p-1ece11f1.entry.js.map +1 -0
  586. package/www/build/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  587. package/{dist/web-components-library/p-2dde9b84.entry.js.map → www/build/p-2467913e.entry.js.map} +1 -1
  588. package/www/build/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  589. package/www/build/p-28c972c6.entry.js +2 -0
  590. package/www/build/p-301b56f1.entry.js +2 -0
  591. package/www/build/p-301b56f1.entry.js.map +1 -0
  592. package/www/build/p-30677b5c.entry.js +2 -0
  593. package/www/build/p-30677b5c.entry.js.map +1 -0
  594. package/{dist/web-components-library/p-31c5b39d.entry.js → www/build/p-37a34984.entry.js} +2 -2
  595. package/www/build/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  596. package/www/build/p-3a42612f.entry.js +2 -0
  597. package/www/build/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  598. package/www/build/p-431f5871.js +2 -0
  599. package/{dist/web-components-library/p-6230c432.entry.js → www/build/p-4de706ad.entry.js} +2 -2
  600. package/www/build/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  601. package/www/build/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  602. package/{dist/web-components-library/p-c7df6a63.entry.js → www/build/p-5a24e268.entry.js} +2 -2
  603. package/www/build/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  604. package/www/build/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  605. package/www/build/p-61a83529.entry.js +2 -0
  606. package/www/build/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  607. package/www/build/p-6a573d57.entry.js +2 -0
  608. package/www/build/p-6a573d57.entry.js.map +1 -0
  609. package/www/build/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  610. package/www/build/p-7b13eeff.entry.js +2 -0
  611. package/www/build/p-7b13eeff.entry.js.map +1 -0
  612. package/www/build/p-7ce5ca87.entry.js +2 -0
  613. package/www/build/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  614. package/www/build/p-7df942c9.entry.js +2 -0
  615. package/www/build/p-7df942c9.entry.js.map +1 -0
  616. package/{dist/web-components-library/p-c2af9a71.entry.js → www/build/p-816fd6dc.entry.js} +2 -2
  617. package/www/build/p-838b298b.entry.js +2 -0
  618. package/www/build/p-838b298b.entry.js.map +1 -0
  619. package/www/build/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  620. package/www/build/p-8d043fc0.entry.js +7 -0
  621. package/www/build/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  622. package/www/build/p-8eb94125.entry.js +2 -0
  623. package/{dist/web-components-library/p-8e544914.entry.js.map → www/build/p-8eb94125.entry.js.map} +1 -1
  624. package/www/build/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  625. package/{dist/web-components-library/p-d29f9574.entry.js.map → www/build/p-8fa23b47.entry.js.map} +1 -1
  626. package/www/build/p-8fdf9453.entry.js +2 -0
  627. package/www/build/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  628. package/{dist/web-components-library/p-29a297ed.entry.js → www/build/p-996446e2.entry.js} +2 -2
  629. package/www/build/p-996446e2.entry.js.map +1 -0
  630. package/{dist/web-components-library/p-96be6eae.entry.js → www/build/p-99a6c92f.entry.js} +2 -2
  631. package/www/build/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  632. package/www/build/p-9bad1dbc.entry.js +2 -0
  633. package/www/build/p-9bad1dbc.entry.js.map +1 -0
  634. package/www/build/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  635. package/{dist/web-components-library/p-6337614a.entry.js.map → www/build/p-9fcc8e5d.entry.js.map} +1 -1
  636. package/www/build/{p-5fcad73f.css → p-a69c66e4.css} +142 -175
  637. package/www/build/p-aaab7f44.entry.js +2 -0
  638. package/www/build/p-abc08ea3.entry.js +2 -0
  639. package/{dist/web-components-library/p-475a2ba2.entry.js → www/build/p-abd3b914.entry.js} +2 -2
  640. package/www/build/p-acee5500.entry.js +2 -0
  641. package/www/build/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  642. package/{dist/web-components-library/p-0d60cc5e.entry.js.map → www/build/p-adb5caab.entry.js.map} +1 -1
  643. package/www/build/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  644. package/{dist/web-components-library/p-cc775eee.entry.js → www/build/p-b1cbb20d.entry.js} +2 -2
  645. package/www/build/p-b4018dab.entry.js +2 -0
  646. package/www/build/p-b4018dab.entry.js.map +1 -0
  647. package/www/build/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  648. package/www/build/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  649. package/www/build/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  650. package/www/build/p-bc71a934.entry.js +2 -0
  651. package/www/build/p-bc71a934.entry.js.map +1 -0
  652. package/www/build/p-cfbef2c3.entry.js +2 -0
  653. package/www/build/p-d20df54b.entry.js +2 -0
  654. package/www/build/p-d20df54b.entry.js.map +1 -0
  655. package/{dist/web-components-library/p-bd5b0bce.entry.js → www/build/p-d8d7db0e.entry.js} +2 -2
  656. package/www/build/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  657. package/{dist/web-components-library/p-8e6760d9.entry.js → www/build/p-df97df54.entry.js} +2 -2
  658. package/www/build/p-df9f25a1.entry.js +2 -0
  659. package/www/build/p-df9f25a1.entry.js.map +1 -0
  660. package/www/build/p-dfcf9936.js +2 -0
  661. package/www/build/p-dfcf9936.js.map +1 -0
  662. package/www/build/p-e5ce98e0.entry.js +2 -0
  663. package/www/build/p-e5ce98e0.entry.js.map +1 -0
  664. package/www/build/p-e7eedf8b.entry.js +2 -0
  665. package/www/build/p-e7eedf8b.entry.js.map +1 -0
  666. package/www/build/p-e98541af.js +2 -0
  667. package/www/build/p-ec8f8ac8.entry.js +2 -0
  668. package/www/build/p-ec8f8ac8.entry.js.map +1 -0
  669. package/www/build/{p-e087f05f.js → p-f3145212.js} +2 -2
  670. package/www/build/p-f73d8a87.entry.js +2 -0
  671. package/www/build/p-f73d8a87.entry.js.map +1 -0
  672. package/www/build/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  673. package/www/build/p-f8d49a59.entry.js +2 -0
  674. package/www/build/p-f9f98130.entry.js +2 -0
  675. package/www/build/p-f9f98130.entry.js.map +1 -0
  676. package/www/build/p-fad6ea09.entry.js +2 -0
  677. package/www/build/p-fad6ea09.entry.js.map +1 -0
  678. package/www/build/web-components-library.css +142 -175
  679. package/www/build/web-components-library.esm.js +1 -1
  680. package/www/build/web-components-library.esm.js.map +1 -1
  681. package/www/index.html +1 -1
  682. package/www/pages/book-cards.html +251 -250
  683. package/dist/cjs/index-a465bca8.js.map +0 -1
  684. package/dist/esm/index-c9fd4a10.js.map +0 -1
  685. package/dist/web-components-library/p-011fa0c8.entry.js +0 -2
  686. package/dist/web-components-library/p-011fa0c8.entry.js.map +0 -1
  687. package/dist/web-components-library/p-035807e3.entry.js +0 -2
  688. package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
  689. package/dist/web-components-library/p-08d8f935.entry.js +0 -2
  690. package/dist/web-components-library/p-0e3ec0b2.entry.js +0 -2
  691. package/dist/web-components-library/p-0e3ec0b2.entry.js.map +0 -1
  692. package/dist/web-components-library/p-0fce007b.entry.js +0 -2
  693. package/dist/web-components-library/p-20e4a601.entry.js +0 -2
  694. package/dist/web-components-library/p-20e4a601.entry.js.map +0 -1
  695. package/dist/web-components-library/p-29a297ed.entry.js.map +0 -1
  696. package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
  697. package/dist/web-components-library/p-2b309f57.js +0 -2
  698. package/dist/web-components-library/p-2b309f57.js.map +0 -1
  699. package/dist/web-components-library/p-2c5f77f2.entry.js +0 -7
  700. package/dist/web-components-library/p-3243015c.entry.js +0 -2
  701. package/dist/web-components-library/p-384baa02.entry.js +0 -2
  702. package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
  703. package/dist/web-components-library/p-3a6f069c.entry.js +0 -2
  704. package/dist/web-components-library/p-3a6f069c.entry.js.map +0 -1
  705. package/dist/web-components-library/p-4df7de6b.entry.js +0 -2
  706. package/dist/web-components-library/p-4df7de6b.entry.js.map +0 -1
  707. package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
  708. package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
  709. package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
  710. package/dist/web-components-library/p-7095262b.entry.js +0 -2
  711. package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
  712. package/dist/web-components-library/p-7779ebce.entry.js +0 -2
  713. package/dist/web-components-library/p-78626225.entry.js +0 -2
  714. package/dist/web-components-library/p-78626225.entry.js.map +0 -1
  715. package/dist/web-components-library/p-898fcd66.entry.js +0 -2
  716. package/dist/web-components-library/p-898fcd66.entry.js.map +0 -1
  717. package/dist/web-components-library/p-8e544914.entry.js +0 -2
  718. package/dist/web-components-library/p-9ec778dc.entry.js +0 -2
  719. package/dist/web-components-library/p-9ec778dc.entry.js.map +0 -1
  720. package/dist/web-components-library/p-a4ddeb5f.entry.js +0 -2
  721. package/dist/web-components-library/p-b38be247.entry.js +0 -2
  722. package/dist/web-components-library/p-b539c9be.entry.js +0 -2
  723. package/dist/web-components-library/p-b659f139.entry.js +0 -2
  724. package/dist/web-components-library/p-b659f139.entry.js.map +0 -1
  725. package/dist/web-components-library/p-b7cf2442.entry.js +0 -2
  726. package/dist/web-components-library/p-b7cf2442.entry.js.map +0 -1
  727. package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
  728. package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
  729. package/dist/web-components-library/p-c13ef624.js +0 -2
  730. package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
  731. package/dist/web-components-library/p-dbcc4906.entry.js +0 -2
  732. package/dist/web-components-library/p-dbcc4906.entry.js.map +0 -1
  733. package/dist/web-components-library/p-ea36d666.entry.js +0 -2
  734. package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
  735. package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
  736. package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
  737. package/dist/web-components-library/p-feb84d36.js +0 -2
  738. package/www/build/p-011fa0c8.entry.js +0 -2
  739. package/www/build/p-011fa0c8.entry.js.map +0 -1
  740. package/www/build/p-035807e3.entry.js +0 -2
  741. package/www/build/p-035807e3.entry.js.map +0 -1
  742. package/www/build/p-08d8f935.entry.js +0 -2
  743. package/www/build/p-0e3ec0b2.entry.js +0 -2
  744. package/www/build/p-0e3ec0b2.entry.js.map +0 -1
  745. package/www/build/p-0fce007b.entry.js +0 -2
  746. package/www/build/p-20e4a601.entry.js +0 -2
  747. package/www/build/p-20e4a601.entry.js.map +0 -1
  748. package/www/build/p-29a297ed.entry.js.map +0 -1
  749. package/www/build/p-2aeb2a94.entry.js +0 -2
  750. package/www/build/p-2b309f57.js +0 -2
  751. package/www/build/p-2c5f77f2.entry.js +0 -7
  752. package/www/build/p-3243015c.entry.js +0 -2
  753. package/www/build/p-384baa02.entry.js +0 -2
  754. package/www/build/p-384baa02.entry.js.map +0 -1
  755. package/www/build/p-3a6f069c.entry.js +0 -2
  756. package/www/build/p-3a6f069c.entry.js.map +0 -1
  757. package/www/build/p-4df7de6b.entry.js +0 -2
  758. package/www/build/p-4df7de6b.entry.js.map +0 -1
  759. package/www/build/p-5f04d9eb.entry.js +0 -2
  760. package/www/build/p-5f04d9eb.entry.js.map +0 -1
  761. package/www/build/p-6e1ba2f0.entry.js +0 -2
  762. package/www/build/p-7095262b.entry.js +0 -2
  763. package/www/build/p-7095262b.entry.js.map +0 -1
  764. package/www/build/p-7779ebce.entry.js +0 -2
  765. package/www/build/p-78626225.entry.js +0 -2
  766. package/www/build/p-78626225.entry.js.map +0 -1
  767. package/www/build/p-898fcd66.entry.js +0 -2
  768. package/www/build/p-898fcd66.entry.js.map +0 -1
  769. package/www/build/p-8e544914.entry.js +0 -2
  770. package/www/build/p-9ec778dc.entry.js +0 -2
  771. package/www/build/p-9ec778dc.entry.js.map +0 -1
  772. package/www/build/p-a0155994.js +0 -2
  773. package/www/build/p-a4ddeb5f.entry.js +0 -2
  774. package/www/build/p-b38be247.entry.js +0 -2
  775. package/www/build/p-b539c9be.entry.js +0 -2
  776. package/www/build/p-b659f139.entry.js +0 -2
  777. package/www/build/p-b659f139.entry.js.map +0 -1
  778. package/www/build/p-b7cf2442.entry.js +0 -2
  779. package/www/build/p-b7cf2442.entry.js.map +0 -1
  780. package/www/build/p-bbd492d3.entry.js +0 -2
  781. package/www/build/p-bbd492d3.entry.js.map +0 -1
  782. package/www/build/p-c13ef624.js +0 -2
  783. package/www/build/p-cb8aec27.entry.js +0 -2
  784. package/www/build/p-dbcc4906.entry.js +0 -2
  785. package/www/build/p-dbcc4906.entry.js.map +0 -1
  786. package/www/build/p-ea36d666.entry.js +0 -2
  787. package/www/build/p-ea36d666.entry.js.map +0 -1
  788. package/www/build/p-fb06a5d8.entry.js +0 -2
  789. package/www/build/p-fb06a5d8.entry.js.map +0 -1
  790. package/www/build/p-feb84d36.js +0 -2
  791. /package/dist/web-components-library/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  792. /package/dist/web-components-library/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  793. /package/dist/web-components-library/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  794. /package/dist/web-components-library/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  795. /package/dist/web-components-library/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  796. /package/dist/web-components-library/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  797. /package/dist/web-components-library/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  798. /package/dist/web-components-library/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  799. /package/dist/web-components-library/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  800. /package/dist/web-components-library/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  801. /package/dist/web-components-library/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  802. /package/dist/web-components-library/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  803. /package/dist/web-components-library/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  804. /package/dist/web-components-library/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  805. /package/dist/web-components-library/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  806. /package/dist/web-components-library/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  807. /package/dist/web-components-library/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  808. /package/dist/web-components-library/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  809. /package/dist/web-components-library/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  810. /package/dist/web-components-library/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  811. /package/dist/web-components-library/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  812. /package/dist/web-components-library/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  813. /package/dist/web-components-library/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  814. /package/dist/web-components-library/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  815. /package/dist/web-components-library/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  816. /package/dist/web-components-library/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  817. /package/dist/web-components-library/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  818. /package/dist/web-components-library/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  819. /package/dist/web-components-library/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  820. /package/dist/web-components-library/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  821. /package/dist/web-components-library/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  822. /package/dist/web-components-library/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  823. /package/dist/web-components-library/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  824. /package/dist/web-components-library/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  825. /package/dist/web-components-library/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  826. /package/dist/web-components-library/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  827. /package/dist/web-components-library/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  828. /package/dist/web-components-library/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  829. /package/dist/web-components-library/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  830. /package/dist/web-components-library/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  831. /package/dist/web-components-library/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  832. /package/dist/web-components-library/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  833. /package/dist/web-components-library/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  834. /package/dist/web-components-library/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  835. /package/dist/web-components-library/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  836. /package/dist/web-components-library/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  837. /package/dist/web-components-library/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
  838. /package/www/build/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  839. /package/www/build/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  840. /package/www/build/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  841. /package/www/build/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  842. /package/www/build/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  843. /package/www/build/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  844. /package/www/build/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  845. /package/www/build/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  846. /package/www/build/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  847. /package/www/build/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  848. /package/www/build/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  849. /package/www/build/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  850. /package/www/build/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  851. /package/www/build/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  852. /package/www/build/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  853. /package/www/build/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  854. /package/www/build/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  855. /package/www/build/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  856. /package/www/build/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  857. /package/www/build/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  858. /package/www/build/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  859. /package/www/build/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  860. /package/www/build/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  861. /package/www/build/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  862. /package/www/build/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  863. /package/www/build/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  864. /package/www/build/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  865. /package/www/build/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  866. /package/www/build/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  867. /package/www/build/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  868. /package/www/build/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  869. /package/www/build/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  870. /package/www/build/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  871. /package/www/build/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  872. /package/www/build/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  873. /package/www/build/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  874. /package/www/build/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  875. /package/www/build/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  876. /package/www/build/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  877. /package/www/build/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  878. /package/www/build/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  879. /package/www/build/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  880. /package/www/build/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  881. /package/www/build/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  882. /package/www/build/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  883. /package/www/build/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  884. /package/www/build/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"z-app-header.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,+sPAA+sP,CAAC;AACluP,yBAAe,SAAS;;ACIxB,MAAM,6BAA6B,GAAG,OAAO,oBAAoB,KAAK,WAAW,CAAC;MAmBrEA,YAAU;IAoGrB,OAAO;QACL,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QACvC,IAAI,CAAC,YAA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,MAAM,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC,IAElC,4DAAK,KAAK,EAAC,mBAAmB,IAC3B,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,QAAQ,MACvD,4DAAK,KAAK,EAAC,cAAc,IACvB,6DAAM,IAAI,EAAC,cAAc,GAAG,CACxB,CACP,EACD,4DAAK,KAAK,EAAC,eAAe,IACvB,IAAI,CAAC,gBAAgB,EAAE,EACvB,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,kBAAkB,EAAE,EAC7D,6DAAM,IAAI,EAAC,OAAO,GAAG,EACpB,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CACzD,EACL,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CACxD,EAEN,4DACE,KAAK,EAAC,gBAAgB,gBACV,IAAI,CAAC,KAAK,IAAI,SAAS,IAElC,IAAI,CAAC,WAAW,KACf,4DACE,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,KAAK,IAAI,SAAS,IAEnC,6DACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,mBAAmB,GACtC,CACE,CACP,CACG,CACF,EACL,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,CAC7B,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAppHeader"],"sources":["src/components/z-app-header/styles.css?tag=z-app-header&encapsulation=shadow","src/components/z-app-header/index.tsx"],"sourcesContent":[":host {\n --app-header-content-max-width: ;\n\n /* Variable to set stuck header and drawer's top offset.\n Useful when something is absolutely positioned above the header. */\n --app-header-top-offset: ;\n\n /* Variable to customize header background color. */\n --app-header-bg: ;\n\n /* Variable to customize text and icon color. */\n --app-header-text-color: ;\n\n /* Variable to customize stuck header background color. */\n --app-header-stucked-bg: ;\n\n /* Variable to customize stuck header's text and icon color. */\n --app-header-stucked-text-color: ;\n\n position: relative;\n display: block;\n box-shadow: var(--shadow-2);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n.heading-panel {\n /* Title's line height. */\n --title-line-height: 1.333;\n --title-font-size: var(--font-size-6);\n\n position: relative;\n display: flex;\n width: 100%;\n max-width: var(--app-header-content-max-width, 100%);\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n align-items: baseline;\n padding: calc(var(--space-unit) * 2);\n margin: 0 auto;\n background: var(--app-header-bg, var(--color-surface01));\n}\n\n:host(:empty) .heading-panel {\n padding: 0;\n}\n\n.heading-container {\n position: relative;\n z-index: 1;\n display: flex;\n width: 100%;\n max-width: 100%;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n}\n\n.heading-panel.has-menubar {\n padding-bottom: 0;\n}\n\n.heading-panel .heading-container {\n flex-direction: column-reverse;\n}\n\n:host([enable-search]) .heading-panel .heading-container {\n flex-direction: column;\n}\n\n:host([enable-search][search-page-url]) .heading-panel .heading-container {\n flex-direction: row;\n}\n\n.heading-title {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: flex-start;\n}\n\n.heading-title:not(:last-child) {\n margin-right: var(--space-unit);\n}\n\n.z-logo,\n.search-page-button {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n}\n\n.z-logo img {\n height: 24px;\n margin: 0 var(--space-unit) 0 0;\n content: url('data:image/svg+xml,<svg width=\"61\" height=\"32\" viewBox=\"0 0 61 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z\" fill=\"%23E2011A\"/><path d=\"M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z\" fill=\"white\"/><path d=\"M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z\" fill=\"%23E2011A\"/><path d=\"M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z\" fill=\"white\"/><path d=\"M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z\" fill=\"white\"/></svg>');\n}\n\n.product-logo {\n display: none;\n}\n\n.product-logo ::slotted([slot=\"product-logo\"]) {\n width: 32px;\n height: 32px;\n margin-right: var(--space-unit);\n}\n\n.product-logo ::slotted([slot=\"product-logo\"]) img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n::slotted([slot=\"title\"]),\n::slotted([slot=\"stucked-title\"]),\n.stucked-title {\n margin: 0;\n color: var(--app-header-text-color, var(--color-default-text));\n font-family: var(--font-family-serif);\n font-weight: var(--font-sb);\n}\n\n::slotted([slot=\"title\"]) {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n font-size: var(--title-font-size);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n line-height: var(--title-line-height);\n text-overflow: ellipsis;\n}\n\n::slotted(a:is([slot=\"title\"], [slot=\"stucked-title\"])) {\n text-decoration: none;\n}\n\n:host([enable-search]) ::slotted([slot=\"title\"]) + * {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n:host([enable-offcanvas]:not([menu-length=\"0\"])) .top-subtitle {\n padding-left: calc(var(--space-unit) * 4 + var(--space-unit));\n}\n\n::slotted([slot=\"top-subtitle\"]) {\n display: -webkit-box;\n overflow: hidden;\n max-width: 80%;\n margin: 0;\n -webkit-box-orient: vertical;\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-2);\n font-style: italic;\n font-weight: var(--font-rg);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n}\n\n.search-page-button {\n margin-left: auto;\n}\n\n.menu-container {\n display: flex;\n flex: 1 auto;\n column-gap: calc(var(--space-unit) * 4);\n}\n\n.menu-container:focus:focus-visible {\n outline: none;\n}\n\n:host([menu-length=\"0\"]) .menu-container,\n.menu-container:empty {\n display: none;\n}\n\n.menu-container ::slotted([open]) {\n position: relative;\n z-index: 3;\n}\n\n.menu-container ::slotted([slot=\"menu\"]:not(:last-child))::after {\n position: absolute;\n top: calc(1.5em / 2); /* half the line-height of the label */\n right: calc(var(--space-unit) * -2);\n width: var(--border-size-small);\n height: 1em;\n background-color: currentcolor;\n content: \"\";\n font-size: var(--font-size-3);\n transform: translateY(-50%);\n}\n\nz-searchbar {\n z-index: 0;\n display: flex;\n width: 100%;\n align-items: center;\n}\n\n.heading-stuck {\n position: fixed;\n z-index: 20;\n top: var(--app-header-top-offset, 48px);\n left: 0;\n width: 100%;\n max-width: 100%;\n animation: slide-stuck-heading-in 250ms ease-out;\n background: var(--app-header-stucked-bg, var(--color-surface01));\n box-shadow: var(--shadow-2);\n color: var(--app-header-stucked-text-color, var(--color-default-text));\n}\n\n.heading-stuck-content {\n display: flex;\n max-width: var(--app-header-content-max-width, 100%);\n align-items: center;\n padding: var(--space-unit) var(--grid-margin);\n margin: 0 auto;\n}\n\n.heading-stuck .heading-title {\n --title-font-size: var(--font-size-5);\n --title-line-height: 1.4;\n\n overflow: hidden;\n align-items: center;\n}\n\n.heading-stuck .stucked-title {\n overflow: hidden;\n font-size: var(--title-font-size);\n line-height: var(--title-line-height);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.drawer-trigger {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n padding: 0;\n border: 0;\n margin-right: var(--space-unit);\n appearance: none;\n background: none;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n outline: none;\n}\n\n.drawer-trigger:focus:focus-visible z-icon {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.drawer-trigger z-icon {\n --z-icon-width: calc(var(--space-unit) * 4);\n --z-icon-height: calc(var(--space-unit) * 4);\n\n fill: var(--color-default-icon);\n}\n\n.drawer-content {\n display: none;\n}\n\nz-offcanvas {\n --z-offcanvas--top-space: var(--app-header-top-offset);\n}\n\nz-offcanvas[open] .drawer-content {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-direction: column;\n}\n\nz-offcanvas[open] .drawer-content ::slotted(z-menu) {\n width: 100%;\n}\n\n.drawer-close {\n --z-icon-width: calc(var(--space-unit) * 4);\n --z-icon-height: calc(var(--space-unit) * 4);\n\n padding: 0;\n border: 0;\n margin: var(--space-unit) 0 calc(var(--space-unit) * 2.5);\n appearance: none;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n outline: none;\n}\n\n.drawer-close z-icon {\n fill: var(--color-default-icon);\n}\n\n.drawer-close:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\n@media (max-width: 767px) {\n :host([enable-search]) .heading-panel .heading-container {\n row-gap: calc(var(--space-unit) * 1.5);\n }\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n .heading-panel {\n --title-font-size: var(--font-size-9);\n\n padding: calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25);\n }\n\n :host([enable-search][search-page-url]) .heading-panel .heading-container {\n flex-direction: column;\n }\n\n .heading-panel .heading-container {\n flex-direction: column;\n margin-right: auto;\n }\n\n .z-logo img {\n height: 32px;\n }\n\n .product-logo {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n }\n\n z-searchbar {\n width: 30%;\n height: calc(var(--title-font-size) * var(--title-line-height));\n margin-left: auto;\n }\n\n .menu-container {\n flex: initial;\n }\n\n .menu-container > [role=\"menubar\"] {\n display: contents;\n }\n\n :host(:not([enable-offcanvas])) .menu-container {\n margin-top: calc((var(--space-unit) * 1.75));\n }\n\n :host(:not([enable-offcanvas])) .heading-container .drawer-trigger {\n display: none;\n }\n\n .heading-stuck .heading-title {\n --title-font-size: var(--font-size-8);\n --title-line-height: 1.5;\n }\n\n .heading-stuck-content {\n padding: 6px var(--grid-margin);\n }\n\n :host(:not([enable-offcanvas], [menu-length=\"0\"])) {\n padding-left: 0;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n z-searchbar {\n min-width: calc(var(--space-unit) * 45);\n }\n}\n\n@keyframes slide-stuck-heading-in {\n 0% {\n transform: translate3d(0, -100%, 0);\n }\n\n 100% {\n transform: none;\n }\n}\n","import {Component, Element, Event, EventEmitter, Fragment, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, KeyboardCode, OffCanvasVariant, TransitionDirection} from \"../../beans\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== \"undefined\";\n\n/**\n * @slot title - Slot for the main title\n * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.\n * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.\n * @slot product-logo - To insert the product logo, it should be used with an img tag.\n * @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.\n * @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).\n * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-text-color - Header text color. Defaults to `--color-default-text`.\n * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.\n */\n@Component({\n tag: \"z-app-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAppHeader {\n @Element() hostElement: HTMLZAppHeaderElement;\n\n /**\n * Stuck mode for the header.\n * You can programmatically set it using an IntersectionObserver.\n */\n @Prop({reflect: true})\n stuck = false;\n\n /**\n * When enabled, the menu bar is not displayed and a burger icon appears to open the offcanvas menu. Automatically enabled on mobile and when the menu items overflow the container.\n */\n @Prop({reflect: true, mutable: true})\n enableOffcanvas = false;\n\n /**\n * Enable the search bar.\n */\n @Prop({reflect: true})\n enableSearch = false;\n\n /**\n * Placeholder text for the search bar.\n */\n @Prop()\n searchPlaceholder = \"Cerca\";\n\n /**\n * Search string for the search bar.\n */\n @Prop({mutable: true})\n searchString = \"\";\n\n /**\n * Url to the search page.\n * Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\n * The link will also appear on the sticky header.\n */\n @Prop()\n searchPageUrl: string;\n\n /**\n * Enable laZ logo.\n */\n @Prop({reflect: true})\n enableZLogo = true;\n\n /**\n * The opening state of the drawer.\n */\n @Prop({mutable: true})\n drawerOpen = false;\n\n /**\n * Emitted when the `stuck` state of the header changes\n */\n @Event()\n sticking: EventEmitter;\n\n /**\n * The stuck state of the bar.\n */\n @State()\n private _stuck = false;\n\n /**\n * Current count of menu items.\n */\n @State()\n private menuLength: number;\n\n @State()\n private isMobile = true;\n\n @State()\n private isTablet = false;\n\n private container?: HTMLDivElement;\n\n private menuElements: HTMLZMenuElement[] = [];\n\n private menuWidth: number;\n\n private closeDrawerButton: HTMLButtonElement;\n\n private burgerButton: HTMLButtonElement;\n\n private menuResizeObserver: ResizeObserver;\n\n private stuckIntersecObserver?: IntersectionObserver = SUPPORT_INTERSECTION_OBSERVER\n ? new IntersectionObserver(\n ([entry]) => {\n this._stuck = !entry.isIntersecting;\n },\n {threshold: 0.5}\n )\n : undefined;\n\n @Watch(\"_stuck\")\n onStuck(): void {\n const scrollParent = this.scrollParent;\n if (!scrollParent) {\n return;\n }\n\n this.sticking.emit(this._stuck);\n }\n\n @Watch(\"drawerOpen\")\n setMenuFloatingMode(): void {\n if (this.menuElements.length === 0) {\n return;\n }\n\n this.menuElements.forEach((element) => {\n element.open = false;\n element.verticalContext = this.drawerOpen;\n });\n }\n\n @Watch(\"stuck\")\n onStuckChange(): void {\n if (!this.container) {\n return;\n }\n\n if (this.stuck) {\n this.stuckIntersecObserver?.observe(this.container);\n } else {\n this._stuck = false;\n this.stuckIntersecObserver?.unobserve(this.container);\n }\n }\n\n private get title(): string {\n return this.hostElement.querySelector('[slot=\"title\"]')?.textContent.trim();\n }\n\n private get scrollParent(): Window | Element {\n const parent = this.hostElement.offsetParent;\n if (parent === document.body || parent === document.documentElement) {\n return window;\n }\n\n return parent;\n }\n\n private get canShowMenu(): boolean {\n return !this.enableOffcanvas && this.menuElements.length > 0 && !this.isMobile && !this.drawerOpen;\n }\n\n private get focusableMenu(): HTMLZMenuElement {\n return this.menuElements.find((el) => el.htmlTabindex === 0);\n }\n\n private openDrawer(): void {\n this.drawerOpen = true;\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n setTimeout(() => this.menuElements[0].setFocus(), 400); /* wait for the 400ms offcanvas transition */\n }\n\n private closeDrawer(): void {\n this.drawerOpen = false;\n setTimeout(() => this.burgerButton.focus(), 100);\n }\n\n private collectMenuElements(): void {\n this.menuElements = Array.from(this.hostElement.querySelectorAll('[slot=\"menu\"]'));\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n this.menuLength = this.menuElements.length;\n if (!this.enableOffcanvas) {\n this.menuWidth =\n this.menuElements.reduce((acc, el) => acc + el.getBoundingClientRect().width, 0) +\n (this.menuLength - 1) * 32 /* 32px is the gap between each menu item */;\n }\n this.setMenuFloatingMode();\n }\n\n /** Automatically use offcanvas mode when the menubar doesn't fit in the header. */\n private setupMenuResizeObserver(): void {\n if (this.enableOffcanvas) {\n return;\n }\n\n this.menuResizeObserver = new ResizeObserver((entries) => {\n if (this.isMobile) {\n this.enableOffcanvas = true;\n\n return;\n }\n\n const containerWidth = entries[0].contentBoxSize[0].inlineSize;\n if (this.menuWidth === 0) {\n return;\n }\n\n if (this.menuWidth > containerWidth && !this.enableOffcanvas) {\n this.enableOffcanvas = true;\n } else if (this.menuWidth <= containerWidth && this.enableOffcanvas) {\n this.enableOffcanvas = false;\n }\n });\n this.menuResizeObserver.observe(this.container);\n }\n\n private hasSlot(slotName: string): boolean {\n return this.hostElement.querySelector(`[slot=\"${slotName}\"]`) !== null;\n }\n\n private moveFocus(current: HTMLZMenuElement, receiver: HTMLZMenuElement): void {\n current.htmlTabindex = -1;\n receiver.setFocus();\n }\n\n private onOffcanvasKeydown(ev: KeyboardEvent): void {\n if (ev.key !== KeyboardCode.TAB || !this.drawerOpen) {\n return;\n }\n\n const closestMenu = (ev.target as HTMLElement).closest(\"z-menu\");\n if (closestMenu) {\n ev.preventDefault();\n ev.stopPropagation();\n // restore tabindex to the zmenu containing the focused element\n closestMenu.htmlTabindex = 0;\n this.closeDrawerButton.focus();\n } else if (ev.target === this.closeDrawerButton) {\n ev.preventDefault();\n ev.stopPropagation();\n if (ev.shiftKey) {\n // give focus to the last open menu if any or the last menu otherwhise\n (this.menuElements.filter((menu) => menu.open).pop() ?? this.menuElements[this.menuLength - 1]).setFocus();\n } else {\n // give focus to the first open menu if any or the first menu otherwhise\n (this.menuElements.find((menu) => menu.open) ?? this.menuElements[0]).setFocus();\n }\n }\n }\n\n /** Close each menu except the one receiving focus/click, if any */\n @Listen(\"focusin\", {target: \"document\", passive: true})\n @Listen(\"click\", {target: \"document\", passive: true})\n manageMenus(ev: FocusEvent | PointerEvent): void {\n const targetMenu = this.menuElements.find((menu) => containsElement(menu, ev.target as Element));\n if (targetMenu) {\n this.menuElements.forEach((menu) => {\n if (menu === targetMenu) {\n return;\n }\n\n menu.htmlTabindex = -1;\n if (!this.drawerOpen) {\n menu.open = false;\n }\n });\n } else if (!this.drawerOpen) {\n this.menuElements.forEach((menu) => {\n menu.open = false;\n });\n }\n }\n\n @Listen(\"keydown\", {passive: true})\n handleKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ESC && this.drawerOpen) {\n this.closeDrawer();\n\n return;\n }\n\n if (!this.menuElements.some((elem) => elem.contains(ev.target as HTMLElement))) {\n return;\n }\n\n const current = this.focusableMenu;\n const currentIndex = this.menuElements.indexOf(current);\n let receiver: HTMLZMenuElement;\n if (\n (ev.key === KeyboardCode.ARROW_RIGHT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_DOWN && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex + 1] ?? this.menuElements[0];\n } else if (\n (ev.key === KeyboardCode.ARROW_LEFT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_UP && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex - 1] ?? this.menuElements[this.menuLength - 1];\n }\n if (!receiver) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_UP && current.verticalContext) {\n if (receiver.open) {\n current.htmlTabindex = -1;\n receiver.focusLastItem();\n\n return;\n }\n }\n\n this.moveFocus(current, receiver);\n }\n\n private renderSeachbar(): HTMLZButtonElement | HTMLZSearchbarElement | undefined {\n if (this.isMobile && !this.searchPageUrl && this._stuck) {\n return;\n }\n\n if (this.searchPageUrl && (this.isMobile || this.isTablet)) {\n return (\n <z-button\n class=\"search-page-button\"\n variant={ButtonVariant.SECONDARY}\n href={this.searchPageUrl}\n icon=\"search\"\n size={ControlSize.X_SMALL}\n />\n );\n }\n\n return (\n <z-searchbar\n value={this.searchString}\n placeholder={this.searchPlaceholder}\n showSearchButton={true}\n searchButtonIconOnly={this.isMobile || this.isTablet}\n size={ControlSize.X_SMALL}\n variant={ButtonVariant.SECONDARY}\n preventSubmit={this.searchString.length < 3}\n onSearchTyping={(e) => (this.searchString = e.detail)}\n />\n );\n }\n\n private renderProductLogos(): HTMLElement | null {\n return (\n <Fragment>\n {this.enableZLogo && (\n <span class=\"z-logo\">\n <img alt=\"Logo Zanichelli\" />\n </span>\n )}\n {this.hostElement.querySelector(\"[slot='product-logo']\") && (\n <span class=\"product-logo\">\n <slot name=\"product-logo\" />\n </span>\n )}\n </Fragment>\n );\n }\n\n private renderMenuButton(): HTMLButtonElement {\n return (\n this.menuLength > 0 &&\n (this.enableOffcanvas || this._stuck || this.isMobile) && (\n <button\n ref={(el) => (this.burgerButton = el as HTMLButtonElement)}\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n aria-haspopup=\"menu\"\n aria-expanded={`${this.drawerOpen}`}\n aria-controls=\"offcanvas-menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\" />\n </button>\n )\n );\n }\n\n private renderOffcanvas(): HTMLZOffcanvasElement {\n return (\n <z-offcanvas\n id=\"offcanvas-menu\"\n variant={OffCanvasVariant.OVERLAY}\n transitiondirection={TransitionDirection.RIGHT}\n open={this.drawerOpen}\n onCanvasOpenStatusChanged={(ev) => (this.drawerOpen = ev.detail)}\n onKeyDown={this.onOffcanvasKeydown}\n >\n <div slot=\"canvasContent\">\n <button\n ref={(el) => (this.closeDrawerButton = el)}\n class=\"drawer-close\"\n aria-label=\"Chiudi menu\"\n onClick={this.closeDrawer}\n aria-hidden={`${!this.drawerOpen}`}\n disabled={!this.drawerOpen}\n >\n <z-icon name=\"close\" />\n </button>\n\n <div\n class=\"drawer-content\"\n aria-hidden={`${!this.drawerOpen}`}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n </div>\n </z-offcanvas>\n );\n }\n\n private renderStuck(): HTMLElement {\n return (\n <div class=\"heading-stuck\">\n <div class=\"heading-stuck-content\">\n {this.renderMenuButton()}\n <div class=\"heading-title\">\n {this.renderProductLogos()}\n <div class=\"stucked-title\">\n <slot name=\"stucked-title\">{this.title}</slot>\n </div>\n </div>\n {this.enableSearch && this.renderSeachbar()}\n </div>\n </div>\n );\n }\n\n constructor() {\n this.openDrawer = this.openDrawer.bind(this);\n this.closeDrawer = this.closeDrawer.bind(this);\n this.collectMenuElements = this.collectMenuElements.bind(this);\n this.onOffcanvasKeydown = this.onOffcanvasKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.collectMenuElements();\n\n // mobile and tablet media queries listeners\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n this.isMobile = mobileMediaQuery.matches;\n mobileMediaQuery.addEventListener(\"change\", (e) => (this.isMobile = e.matches));\n const tabletMediaQuery = window.matchMedia(\n `(min-width: ${Breakpoints.MOBILE + 1}px) and (max-width: ${Breakpoints.TABLET}px)`\n );\n this.isTablet = tabletMediaQuery.matches;\n tabletMediaQuery.addEventListener(\"change\", (e) => (this.isTablet = e.matches));\n }\n\n componentDidLoad(): void {\n this.onStuckChange();\n this.setupMenuResizeObserver();\n }\n\n disconnectedCallback(): void {\n this.menuResizeObserver?.disconnect();\n }\n\n render(): HTMLZAppHeaderElement {\n const hasTopSubtitle = this.hasSlot(\"top-subtitle\");\n\n return (\n <Host menu-length={this.menuLength}>\n <div\n class={{\"heading-panel\": true, \"has-menubar\": this.menuLength > 0 && !this.enableOffcanvas}}\n ref={(el) => (this.container = el)}\n >\n <div class=\"heading-container\">\n {((!this.enableSearch && this.isMobile) || !this.isMobile) && (\n <div class=\"top-subtitle\">\n <slot name=\"top-subtitle\" />\n </div>\n )}\n <div class=\"heading-title\">\n {this.renderMenuButton()}\n {!hasTopSubtitle && !this._stuck && this.renderProductLogos()}\n <slot name=\"title\" />\n {this.enableSearch && !this.isMobile && this.renderSeachbar()}\n </div>\n {this.enableSearch && this.isMobile && this.renderSeachbar()}\n </div>\n\n <nav\n class=\"menu-container\"\n aria-label={this.title || undefined}\n >\n {this.canShowMenu && (\n <div\n role=\"menubar\"\n aria-label={this.title || undefined}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n )}\n </nav>\n </div>\n {this.renderOffcanvas()}\n {this._stuck && this.renderStuck()}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-app-header.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,4tPAA4tP,CAAC;AAC/uP,yBAAe,SAAS;;ACIxB,MAAM,6BAA6B,GAAG,OAAO,oBAAoB,KAAK,WAAW,CAAC;MAmBrEA,YAAU;IAoGrB,OAAO;QACL,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QACvC,IAAI,CAAC,YAAY,EAAE;YACjB,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACjC;IAGD,mBAAmB;QACjB,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;YAClC,OAAO;SACR;QAED,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,OAAO;YAChC,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC;YACrB,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC;SAC3C,CAAC,CAAC;KACJ;IAGD,aAAa;;QACX,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAO;SACR;QAED,IAAI,IAAI,CA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Y,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CACzD,EACL,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CACxD,EAEN,4DACE,KAAK,EAAC,gBAAgB,gBACV,IAAI,CAAC,KAAK,IAAI,SAAS,IAElC,IAAI,CAAC,WAAW,KACf,4DACE,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,KAAK,IAAI,SAAS,IAEnC,6DACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,mBAAmB,GACtC,CACE,CACP,CACG,CACF,EACL,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,CAC7B,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAppHeader"],"sources":["src/components/z-app-header/styles.css?tag=z-app-header&encapsulation=shadow","src/components/z-app-header/index.tsx"],"sourcesContent":[":host {\n --app-header-content-max-width: ;\n\n /* Variable to set stuck header and drawer's top offset.\n Useful when something is absolutely positioned above the header. */\n --app-header-top-offset: ;\n\n /* Variable to customize header background color. */\n --app-header-bg: ;\n\n /* Variable to customize text and icon color. */\n --app-header-text-color: ;\n\n /* Variable to customize stuck header background color. */\n --app-header-stucked-bg: ;\n\n /* Variable to customize stuck header's text and icon color. */\n --app-header-stucked-text-color: ;\n\n position: relative;\n display: block;\n box-shadow: var(--shadow-2);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n.heading-panel {\n /* Title's line height. */\n --title-line-height: 1.333;\n --title-font-size: var(--font-size-6);\n\n position: relative;\n display: flex;\n width: 100%;\n max-width: var(--app-header-content-max-width, 100%);\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n align-items: baseline;\n padding: calc(var(--space-unit) * 2);\n margin: 0 auto;\n background: var(--app-header-bg, var(--color-surface01));\n}\n\n:host(:empty) .heading-panel {\n padding: 0;\n}\n\n.heading-container {\n position: relative;\n z-index: 1;\n display: flex;\n width: 100%;\n max-width: 100%;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n}\n\n.heading-panel.has-menubar {\n padding-bottom: 0;\n}\n\n.heading-panel .heading-container {\n flex-direction: column-reverse;\n}\n\n:host([enable-search]) .heading-panel .heading-container {\n flex-direction: column;\n}\n\n:host([enable-search][search-page-url]) .heading-panel .heading-container {\n flex-direction: row;\n}\n\n.heading-title {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: flex-start;\n}\n\n.heading-title:not(:last-child) {\n margin-right: var(--space-unit);\n}\n\n.z-logo,\n.search-page-button {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n}\n\n.z-logo img {\n height: 24px;\n margin: 0 var(--space-unit) 0 0;\n content: url('data:image/svg+xml,<svg width=\"61\" height=\"32\" viewBox=\"0 0 61 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z\" fill=\"%23E2011A\"/><path d=\"M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z\" fill=\"white\"/><path d=\"M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z\" fill=\"%23E2011A\"/><path d=\"M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z\" fill=\"white\"/><path d=\"M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z\" fill=\"white\"/></svg>');\n}\n\n.product-logo {\n display: none;\n}\n\n.product-logo ::slotted([slot=\"product-logo\"]) {\n width: 32px;\n height: 32px;\n margin-right: var(--space-unit);\n}\n\n.product-logo ::slotted([slot=\"product-logo\"]) img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n::slotted([slot=\"title\"]),\n::slotted([slot=\"stucked-title\"]),\n.stucked-title {\n margin: 0;\n color: var(--app-header-text-color, var(--color-default-text));\n font-family: var(--font-family-serif);\n font-weight: var(--font-sb);\n}\n\n::slotted([slot=\"title\"]) {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n font-size: var(--title-font-size);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n line-height: var(--title-line-height);\n text-overflow: ellipsis;\n}\n\n::slotted(a:is([slot=\"title\"], [slot=\"stucked-title\"])) {\n text-decoration: none;\n}\n\n:host([enable-search]) ::slotted([slot=\"title\"]) + * {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n:host([enable-offcanvas]:not([menu-length=\"0\"])) .top-subtitle {\n padding-left: calc(var(--space-unit) * 4 + var(--space-unit));\n}\n\n::slotted([slot=\"top-subtitle\"]) {\n display: -webkit-box;\n overflow: hidden;\n max-width: 80%;\n margin: 0;\n -webkit-box-orient: vertical;\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-2);\n font-style: italic;\n font-weight: var(--font-rg);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n}\n\n.search-page-button {\n margin-left: auto;\n}\n\n.menu-container {\n display: flex;\n flex: 1 auto;\n column-gap: calc(var(--space-unit) * 4);\n}\n\n.menu-container:focus:focus-visible {\n outline: none;\n}\n\n:host([menu-length=\"0\"]) .menu-container,\n.menu-container:empty {\n display: none;\n}\n\n.menu-container ::slotted([open]) {\n position: relative;\n z-index: 3;\n}\n\n.menu-container ::slotted([slot=\"menu\"]:not(:last-child))::after {\n position: absolute;\n top: calc(1.5em / 2); /* half the line-height of the label */\n right: calc(var(--space-unit) * -2);\n width: var(--border-size-small);\n height: 1em;\n background-color: var(--color-default-icon);\n content: \"\";\n font-size: var(--font-size-3);\n transform: translateY(-50%);\n}\n\nz-searchbar {\n z-index: 0;\n display: flex;\n width: 100%;\n align-items: center;\n}\n\n.heading-stuck {\n position: fixed;\n z-index: 20;\n top: var(--app-header-top-offset, 48px);\n left: 0;\n width: 100%;\n max-width: 100%;\n animation: slide-stuck-heading-in 250ms ease-out;\n background: var(--app-header-stucked-bg, var(--color-surface01));\n box-shadow: var(--shadow-2);\n color: var(--app-header-stucked-text-color, var(--color-default-text));\n}\n\n.heading-stuck-content {\n display: flex;\n max-width: var(--app-header-content-max-width, 100%);\n align-items: center;\n padding: var(--space-unit) var(--grid-margin);\n margin: 0 auto;\n}\n\n.heading-stuck .heading-title {\n --title-font-size: var(--font-size-5);\n --title-line-height: 1.4;\n\n overflow: hidden;\n align-items: center;\n}\n\n.heading-stuck .stucked-title {\n overflow: hidden;\n font-size: var(--title-font-size);\n line-height: var(--title-line-height);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.drawer-trigger {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n padding: 0;\n border: 0;\n margin-right: var(--space-unit);\n appearance: none;\n background: none;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n outline: none;\n}\n\n.drawer-trigger:focus:focus-visible z-icon {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.drawer-trigger z-icon {\n --z-icon-width: calc(var(--space-unit) * 4);\n --z-icon-height: calc(var(--space-unit) * 4);\n\n fill: var(--color-default-icon);\n}\n\n.drawer-content {\n display: none;\n}\n\nz-offcanvas {\n --z-offcanvas--top-space: var(--app-header-top-offset);\n}\n\nz-offcanvas[open] .drawer-content {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-direction: column;\n}\n\nz-offcanvas[open] .drawer-content ::slotted(z-menu) {\n width: 100%;\n}\n\n.drawer-close {\n --z-icon-width: calc(var(--space-unit) * 4);\n --z-icon-height: calc(var(--space-unit) * 4);\n\n padding: 0;\n border: 0;\n margin: var(--space-unit) 0 calc(var(--space-unit) * 2.5);\n appearance: none;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n outline: none;\n}\n\n.drawer-close z-icon {\n fill: var(--color-default-icon);\n}\n\n.drawer-close:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\n@media (max-width: 767px) {\n :host([enable-search]) .heading-panel .heading-container {\n row-gap: calc(var(--space-unit) * 1.5);\n }\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n .heading-panel {\n --title-font-size: var(--font-size-9);\n\n padding: calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25);\n }\n\n :host([enable-search][search-page-url]) .heading-panel .heading-container {\n flex-direction: column;\n }\n\n .heading-panel .heading-container {\n flex-direction: column;\n margin-right: auto;\n }\n\n .z-logo img {\n height: 32px;\n }\n\n .product-logo {\n display: flex;\n height: calc(var(--title-font-size) * var(--title-line-height));\n align-items: center;\n }\n\n z-searchbar {\n width: 30%;\n height: calc(var(--title-font-size) * var(--title-line-height));\n margin-left: auto;\n }\n\n .menu-container {\n flex: initial;\n }\n\n .menu-container > [role=\"menubar\"] {\n display: contents;\n }\n\n :host(:not([enable-offcanvas])) .menu-container {\n margin-top: calc((var(--space-unit) * 1.75));\n }\n\n :host(:not([enable-offcanvas])) .heading-container .drawer-trigger {\n display: none;\n }\n\n .heading-stuck .heading-title {\n --title-font-size: var(--font-size-8);\n --title-line-height: 1.5;\n }\n\n .heading-stuck-content {\n padding: 6px var(--grid-margin);\n }\n\n :host(:not([enable-offcanvas], [menu-length=\"0\"])) {\n padding-left: 0;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n z-searchbar {\n min-width: calc(var(--space-unit) * 45);\n }\n}\n\n@keyframes slide-stuck-heading-in {\n 0% {\n transform: translate3d(0, -100%, 0);\n }\n\n 100% {\n transform: none;\n }\n}\n","import {Component, Element, Event, EventEmitter, Fragment, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, KeyboardCode, OffCanvasVariant, TransitionDirection} from \"../../beans\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== \"undefined\";\n\n/**\n * @slot title - Slot for the main title\n * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.\n * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.\n * @slot product-logo - To insert the product logo, it should be used with an img tag.\n * @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.\n * @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).\n * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-text-color - Header text color. Defaults to `--color-default-text`.\n * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.\n */\n@Component({\n tag: \"z-app-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAppHeader {\n @Element() hostElement: HTMLZAppHeaderElement;\n\n /**\n * Stuck mode for the header.\n * You can programmatically set it using an IntersectionObserver.\n */\n @Prop({reflect: true})\n stuck = false;\n\n /**\n * When enabled, the menu bar is not displayed and a burger icon appears to open the offcanvas menu. Automatically enabled on mobile and when the menu items overflow the container.\n */\n @Prop({reflect: true, mutable: true})\n enableOffcanvas = false;\n\n /**\n * Enable the search bar.\n */\n @Prop({reflect: true})\n enableSearch = false;\n\n /**\n * Placeholder text for the search bar.\n */\n @Prop()\n searchPlaceholder = \"Cerca\";\n\n /**\n * Search string for the search bar.\n */\n @Prop({mutable: true})\n searchString = \"\";\n\n /**\n * Url to the search page.\n * Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\n * The link will also appear on the sticky header.\n */\n @Prop()\n searchPageUrl: string;\n\n /**\n * Enable laZ logo.\n */\n @Prop({reflect: true})\n enableZLogo = true;\n\n /**\n * The opening state of the drawer.\n */\n @Prop({mutable: true})\n drawerOpen = false;\n\n /**\n * Emitted when the `stuck` state of the header changes\n */\n @Event()\n sticking: EventEmitter;\n\n /**\n * The stuck state of the bar.\n */\n @State()\n private _stuck = false;\n\n /**\n * Current count of menu items.\n */\n @State()\n private menuLength: number;\n\n @State()\n private isMobile = true;\n\n @State()\n private isTablet = false;\n\n private container?: HTMLDivElement;\n\n private menuElements: HTMLZMenuElement[] = [];\n\n private menuWidth: number;\n\n private closeDrawerButton: HTMLButtonElement;\n\n private burgerButton: HTMLButtonElement;\n\n private menuResizeObserver: ResizeObserver;\n\n private stuckIntersecObserver?: IntersectionObserver = SUPPORT_INTERSECTION_OBSERVER\n ? new IntersectionObserver(\n ([entry]) => {\n this._stuck = !entry.isIntersecting;\n },\n {threshold: 0.5}\n )\n : undefined;\n\n @Watch(\"_stuck\")\n onStuck(): void {\n const scrollParent = this.scrollParent;\n if (!scrollParent) {\n return;\n }\n\n this.sticking.emit(this._stuck);\n }\n\n @Watch(\"drawerOpen\")\n setMenuFloatingMode(): void {\n if (this.menuElements.length === 0) {\n return;\n }\n\n this.menuElements.forEach((element) => {\n element.open = false;\n element.verticalContext = this.drawerOpen;\n });\n }\n\n @Watch(\"stuck\")\n onStuckChange(): void {\n if (!this.container) {\n return;\n }\n\n if (this.stuck) {\n this.stuckIntersecObserver?.observe(this.container);\n } else {\n this._stuck = false;\n this.stuckIntersecObserver?.unobserve(this.container);\n }\n }\n\n private get title(): string {\n return this.hostElement.querySelector('[slot=\"title\"]')?.textContent.trim();\n }\n\n private get scrollParent(): Window | Element {\n const parent = this.hostElement.offsetParent;\n if (parent === document.body || parent === document.documentElement) {\n return window;\n }\n\n return parent;\n }\n\n private get canShowMenu(): boolean {\n return !this.enableOffcanvas && this.menuElements.length > 0 && !this.isMobile && !this.drawerOpen;\n }\n\n private get focusableMenu(): HTMLZMenuElement {\n return this.menuElements.find((el) => el.htmlTabindex === 0);\n }\n\n private openDrawer(): void {\n this.drawerOpen = true;\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n setTimeout(() => this.menuElements[0].setFocus(), 400); /* wait for the 400ms offcanvas transition */\n }\n\n private closeDrawer(): void {\n this.drawerOpen = false;\n setTimeout(() => this.burgerButton.focus(), 100);\n }\n\n private collectMenuElements(): void {\n this.menuElements = Array.from(this.hostElement.querySelectorAll('[slot=\"menu\"]'));\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n this.menuLength = this.menuElements.length;\n if (!this.enableOffcanvas) {\n this.menuWidth =\n this.menuElements.reduce((acc, el) => acc + el.getBoundingClientRect().width, 0) +\n (this.menuLength - 1) * 32 /* 32px is the gap between each menu item */;\n }\n this.setMenuFloatingMode();\n }\n\n /** Automatically use offcanvas mode when the menubar doesn't fit in the header. */\n private setupMenuResizeObserver(): void {\n if (this.enableOffcanvas) {\n return;\n }\n\n this.menuResizeObserver = new ResizeObserver((entries) => {\n if (this.isMobile) {\n this.enableOffcanvas = true;\n\n return;\n }\n\n const containerWidth = entries[0].contentBoxSize[0].inlineSize;\n if (this.menuWidth === 0) {\n return;\n }\n\n if (this.menuWidth > containerWidth && !this.enableOffcanvas) {\n this.enableOffcanvas = true;\n } else if (this.menuWidth <= containerWidth && this.enableOffcanvas) {\n this.enableOffcanvas = false;\n }\n });\n this.menuResizeObserver.observe(this.container);\n }\n\n private hasSlot(slotName: string): boolean {\n return this.hostElement.querySelector(`[slot=\"${slotName}\"]`) !== null;\n }\n\n private moveFocus(current: HTMLZMenuElement, receiver: HTMLZMenuElement): void {\n current.htmlTabindex = -1;\n receiver.setFocus();\n }\n\n private onOffcanvasKeydown(ev: KeyboardEvent): void {\n if (ev.key !== KeyboardCode.TAB || !this.drawerOpen) {\n return;\n }\n\n const closestMenu = (ev.target as HTMLElement).closest(\"z-menu\");\n if (closestMenu) {\n ev.preventDefault();\n ev.stopPropagation();\n // restore tabindex to the zmenu containing the focused element\n closestMenu.htmlTabindex = 0;\n this.closeDrawerButton.focus();\n } else if (ev.target === this.closeDrawerButton) {\n ev.preventDefault();\n ev.stopPropagation();\n if (ev.shiftKey) {\n // give focus to the last open menu if any or the last menu otherwhise\n (this.menuElements.filter((menu) => menu.open).pop() ?? this.menuElements[this.menuLength - 1]).setFocus();\n } else {\n // give focus to the first open menu if any or the first menu otherwhise\n (this.menuElements.find((menu) => menu.open) ?? this.menuElements[0]).setFocus();\n }\n }\n }\n\n /** Close each menu except the one receiving focus/click, if any */\n @Listen(\"focusin\", {target: \"document\", passive: true})\n @Listen(\"click\", {target: \"document\", passive: true})\n manageMenus(ev: FocusEvent | PointerEvent): void {\n const targetMenu = this.menuElements.find((menu) => containsElement(menu, ev.target as Element));\n if (targetMenu) {\n this.menuElements.forEach((menu) => {\n if (menu === targetMenu) {\n return;\n }\n\n menu.htmlTabindex = -1;\n if (!this.drawerOpen) {\n menu.open = false;\n }\n });\n } else if (!this.drawerOpen) {\n this.menuElements.forEach((menu) => {\n menu.open = false;\n });\n }\n }\n\n @Listen(\"keydown\", {passive: true})\n handleKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ESC && this.drawerOpen) {\n this.closeDrawer();\n\n return;\n }\n\n if (!this.menuElements.some((elem) => elem.contains(ev.target as HTMLElement))) {\n return;\n }\n\n const current = this.focusableMenu;\n const currentIndex = this.menuElements.indexOf(current);\n let receiver: HTMLZMenuElement;\n if (\n (ev.key === KeyboardCode.ARROW_RIGHT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_DOWN && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex + 1] ?? this.menuElements[0];\n } else if (\n (ev.key === KeyboardCode.ARROW_LEFT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_UP && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex - 1] ?? this.menuElements[this.menuLength - 1];\n }\n if (!receiver) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_UP && current.verticalContext) {\n if (receiver.open) {\n current.htmlTabindex = -1;\n receiver.focusLastItem();\n\n return;\n }\n }\n\n this.moveFocus(current, receiver);\n }\n\n private renderSeachbar(): HTMLZButtonElement | HTMLZSearchbarElement | undefined {\n if (this.isMobile && !this.searchPageUrl && this._stuck) {\n return;\n }\n\n if (this.searchPageUrl && (this.isMobile || this.isTablet)) {\n return (\n <z-button\n class=\"search-page-button\"\n variant={ButtonVariant.SECONDARY}\n href={this.searchPageUrl}\n icon=\"search\"\n size={ControlSize.X_SMALL}\n />\n );\n }\n\n return (\n <z-searchbar\n value={this.searchString}\n placeholder={this.searchPlaceholder}\n showSearchButton={true}\n searchButtonIconOnly={this.isMobile || this.isTablet}\n size={ControlSize.X_SMALL}\n variant={ButtonVariant.SECONDARY}\n preventSubmit={this.searchString.length < 3}\n onSearchTyping={(e) => (this.searchString = e.detail)}\n />\n );\n }\n\n private renderProductLogos(): HTMLElement | null {\n return (\n <Fragment>\n {this.enableZLogo && (\n <span class=\"z-logo\">\n <img alt=\"Logo Zanichelli\" />\n </span>\n )}\n {this.hostElement.querySelector(\"[slot='product-logo']\") && (\n <span class=\"product-logo\">\n <slot name=\"product-logo\" />\n </span>\n )}\n </Fragment>\n );\n }\n\n private renderMenuButton(): HTMLButtonElement {\n return (\n this.menuLength > 0 &&\n (this.enableOffcanvas || this._stuck || this.isMobile) && (\n <button\n ref={(el) => (this.burgerButton = el as HTMLButtonElement)}\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n aria-haspopup=\"menu\"\n aria-expanded={`${this.drawerOpen}`}\n aria-controls=\"offcanvas-menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\" />\n </button>\n )\n );\n }\n\n private renderOffcanvas(): HTMLZOffcanvasElement {\n return (\n <z-offcanvas\n id=\"offcanvas-menu\"\n variant={OffCanvasVariant.OVERLAY}\n transitiondirection={TransitionDirection.RIGHT}\n open={this.drawerOpen}\n onCanvasOpenStatusChanged={(ev) => (this.drawerOpen = ev.detail)}\n onKeyDown={this.onOffcanvasKeydown}\n >\n <div slot=\"canvasContent\">\n <button\n ref={(el) => (this.closeDrawerButton = el)}\n class=\"drawer-close\"\n aria-label=\"Chiudi menu\"\n onClick={this.closeDrawer}\n aria-hidden={`${!this.drawerOpen}`}\n disabled={!this.drawerOpen}\n >\n <z-icon name=\"close\" />\n </button>\n\n <div\n class=\"drawer-content\"\n aria-hidden={`${!this.drawerOpen}`}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n </div>\n </z-offcanvas>\n );\n }\n\n private renderStuck(): HTMLElement {\n return (\n <div class=\"heading-stuck\">\n <div class=\"heading-stuck-content\">\n {this.renderMenuButton()}\n <div class=\"heading-title\">\n {this.renderProductLogos()}\n <div class=\"stucked-title\">\n <slot name=\"stucked-title\">{this.title}</slot>\n </div>\n </div>\n {this.enableSearch && this.renderSeachbar()}\n </div>\n </div>\n );\n }\n\n constructor() {\n this.openDrawer = this.openDrawer.bind(this);\n this.closeDrawer = this.closeDrawer.bind(this);\n this.collectMenuElements = this.collectMenuElements.bind(this);\n this.onOffcanvasKeydown = this.onOffcanvasKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.collectMenuElements();\n\n // mobile and tablet media queries listeners\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n this.isMobile = mobileMediaQuery.matches;\n mobileMediaQuery.addEventListener(\"change\", (e) => (this.isMobile = e.matches));\n const tabletMediaQuery = window.matchMedia(\n `(min-width: ${Breakpoints.MOBILE + 1}px) and (max-width: ${Breakpoints.TABLET}px)`\n );\n this.isTablet = tabletMediaQuery.matches;\n tabletMediaQuery.addEventListener(\"change\", (e) => (this.isTablet = e.matches));\n }\n\n componentDidLoad(): void {\n this.onStuckChange();\n this.setupMenuResizeObserver();\n }\n\n disconnectedCallback(): void {\n this.menuResizeObserver?.disconnect();\n }\n\n render(): HTMLZAppHeaderElement {\n const hasTopSubtitle = this.hasSlot(\"top-subtitle\");\n\n return (\n <Host menu-length={this.menuLength}>\n <div\n class={{\"heading-panel\": true, \"has-menubar\": this.menuLength > 0 && !this.enableOffcanvas}}\n ref={(el) => (this.container = el)}\n >\n <div class=\"heading-container\">\n {((!this.enableSearch && this.isMobile) || !this.isMobile) && (\n <div class=\"top-subtitle\">\n <slot name=\"top-subtitle\" />\n </div>\n )}\n <div class=\"heading-title\">\n {this.renderMenuButton()}\n {!hasTopSubtitle && !this._stuck && this.renderProductLogos()}\n <slot name=\"title\" />\n {this.enableSearch && !this.isMobile && this.renderSeachbar()}\n </div>\n {this.enableSearch && this.isMobile && this.renderSeachbar()}\n </div>\n\n <nav\n class=\"menu-container\"\n aria-label={this.title || undefined}\n >\n {this.canShowMenu && (\n <div\n role=\"menubar\"\n aria-label={this.title || undefined}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n )}\n </nav>\n </div>\n {this.renderOffcanvas()}\n {this._stuck && this.renderStuck()}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -8,7 +8,7 @@ const ZAriaAlert$1 = /*@__PURE__*/ proxyCustomElement(class ZAriaAlert extends H
8
8
  this.mode = ZAriaAlertMode.POLITE;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'dc1e0e9c0c7647c5a31dca6356c6ab016b2a07cf', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '3b1bcd618c4f1b45e2ae7e717a3c7e223d4faec6' })));
11
+ return (h(Host, { key: 'dba84aee69431be780e76cab58cb3aef34d0d22e', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: 'fdb6f5f6f4ef2f424a589b44ab97db436928141b' })));
12
12
  }
13
13
  }, [4, "z-aria-alert", {
14
14
  "mode": [1]
@@ -31,10 +31,10 @@ const ZAvatar$1 = /*@__PURE__*/ proxyCustomElement(class ZAvatar extends HTMLEle
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '77ef834dbf6ba1e73562dea4e1011196d8decee4', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
34
+ return (h(Host, { key: '688337d77c969d1bd766c9c49229b02f72188132', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
35
35
  color: `var(--${this.textColor})`,
36
36
  backgroundColor: `var(--${this.backgroundColor})`,
37
- } }, this.text && !this.image && h("span", { key: '41eab447479aa532c45f39aae303d7388928aedf' }, this.text.substring(0, 2)), this.image && (h("img", { key: 'e6ebedad5e2bf6c73107b174dad478ba0dd4c9d2', src: this.image, onError: () => (this.image = "") }))));
37
+ } }, this.text && !this.image && h("span", { key: 'b3a2ec4a0f2cade4ab74d6a03e02d9c1382ed7c7' }, this.text.substring(0, 2)), this.image && (h("img", { key: '9b68953eebce40ec9f423d3c30f85e4fe665882b', src: this.image, onError: () => (this.image = "") }))));
38
38
  }
39
39
  static get style() { return ZAvatarStyle0; }
40
40
  }, [1, "z-avatar", {
@@ -34,7 +34,7 @@ const ZBookCardApp$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCardApp exten
34
34
  return null;
35
35
  }
36
36
  render() {
37
- return (h("div", { key: 'e2bac004a35f7e5959ff55345a348d5abb02904f' }, h("a", { key: '42e4a549cf32b1ebe08ab73d79a2d61a3d90e66d', 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: '4c7add8e362fc0cc2e6dfac9e705bfd3fa15b85c', src: this.logo, alt: "" })), h("div", { key: 'ce6a811f5688a04a3881612c731edbc02ab76a3f', class: "name body-4-sb" }, this.renderLaz(), this.name)), this.info && (h("z-info-reveal", { key: '5c560813db506113ceb38eb629a95dc98a757920', icon: "info", size: ControlSize.X_SMALL, position: InfoRevealPosition.TOP_RIGHT, class: "info body-5" }, h("div", { key: 'adffe6242bc25944d92e996952afe11ff8888c35' }, this.info))), h("a", { key: '816c5fdc2e3506f7f7b10e3e7bf35d38b1ba4857', 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: '4ee25aca2744712aa70fba66d0487111acea3776', name: "chevron-right", width: 16, height: 16, fill: "color-primary01-icon" }))));
37
+ return (h("div", { key: 'a6e90497110df5b731c4b71ab7c0c377fc3c5532' }, h("a", { key: '50ba4a41e2f0bd50b78989b60e8f1a4dfe68ef2c', 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: '4c743902416ff0d2822ba9f8689bcf0eceb87b44', src: this.logo, alt: "" })), h("div", { key: 'c0e84f7a7d964c7bf6c437338ed074c2e02b1112', class: "name body-4-sb" }, this.renderLaz(), this.name)), this.info && (h("z-info-reveal", { key: '722c3d99a3865573528739b9ed51b7bfd0a425d6', icon: "info", size: ControlSize.X_SMALL, position: InfoRevealPosition.TOP_RIGHT, class: "info body-5" }, h("div", { key: '14a00ee6607d044a04054fc2cdffafe8f76098a2' }, this.info))), h("a", { key: 'd145887f5110de5c654833a1b4f9bdf3a99a6fef', 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: 'd144f3a2003e41297351416fe4f4f87e2966953c', name: "chevron-right", width: 16, height: 16, fill: "color-primary01-icon" }))));
38
38
  }
39
39
  get hostElement() { return this; }
40
40
  static get style() { return ZBookCardAppStyle0 + (ZBookCardAppStyle1 + ZBookCardAppStyle2); }
@@ -123,7 +123,7 @@ const ZBookCardDeprecated$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCardDe
123
123
  return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
124
124
  }
125
125
  render() {
126
- return (h("article", { key: 'a2248d9206aec07d317dddb8cb8d6061eccc7a53', class: {
126
+ return (h("article", { key: '237f8f14bccc2e44371b1a9f4cb08904802f1d2d', class: {
127
127
  [this.variant]: true,
128
128
  borderless: !!this.borderless,
129
129
  } }, this.renderCard()));
@@ -1,160 +1,101 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { X as BookCardVariant, _ as BookCardTagStatus, e as ControlSize } from './index2.js';
3
- import { d as defineCustomElement$4 } from './index4.js';
4
- import { d as defineCustomElement$3 } from './index9.js';
5
- import { d as defineCustomElement$2 } from './index25.js';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { X as BookCardVariant, e as ControlSize } from './index2.js';
3
+ import { d as defineCustomElement$3 } from './index4.js';
4
+ import { d as defineCustomElement$2 } from './index9.js';
6
5
 
7
- const stylesCss$1 = ":host{display:block;max-width:fit-content;border-radius:var(--border-radius)}:host>article{width:304px;min-height:686px;box-sizing:border-box;padding:var(--space-unit) 0;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host>article .main-content{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host>article .main-content .cover{position:relative;display:flex;overflow:hidden;height:378px;margin:0 var(--space-unit);border-radius:var(--border-radius)}:host>article .main-content .cover img{max-width:100%;max-height:100%;align-self:end}::slotted([slot=\"coverOverlay\"]){position:absolute;bottom:0;overflow:hidden;width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--avatar-C19);color:var(--color-white)}:host>article .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:336px}:host>article .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:calc(var(--space-unit) * 2)}:host>article .main-content .card-info .book-data{display:flex;flex:1;flex-direction:column;justify-content:space-between;margin:0 var(--space-unit);gap:var(--space-unit)}:host>article .main-content .card-info .book-data .authors-title-cta-section{display:grid;column-gap:var(--space-unit);grid-template-areas:\"authors authors\"\n \"title cta\";grid-template-columns:auto 24px}:host>article .main-content .card-info .book-data .authors-title-cta-section .authors{display:-webkit-box;overflow:hidden;height:20px;margin-bottom:calc(var(--space-unit) / 2);-webkit-box-orient:vertical;grid-area:authors;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .authors-title-cta-section .opera-title{display:-webkit-box;overflow:hidden;height:54px;-webkit-box-orient:vertical;grid-area:title;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis}:host>article .main-content .card-info .book-data .authors-title-cta-section .opera-title *{all:unset}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section{margin-bottom:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .volume-title{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .isbn{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags{display:flex;overflow:hidden;height:22px;flex-flow:wrap;align-items:center;padding:var(--space-unit);margin:calc(calc(var(--space-unit) / 2) * -1) calc(var(--space-unit) * -1) 0;gap:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.active{--z-tag-bg:var(--color-primary03);--z-tag-text-color:var(--color-default-text)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.disabled{--z-tag-bg:var(--color-surface03);--z-tag-text-color:var(--color-default-text)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.interactive{cursor:pointer}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag:focus{box-shadow:var(--shadow-focus-primary);outline:none}:host>article .main-content .card-info .book-data .isbn-tags-link-section .link-section{display:flex;height:24px;align-items:center;justify-content:space-between;gap:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .link-section .adoption-tag{padding:calc(var(--space-unit) / 2) var(--space-unit);background-color:var(--green100);border-radius:100px;text-transform:uppercase}:host>article .main-content .card-info .ebook-container{height:64px}:host>article .main-content .card-info .ebook-container .ebook{display:flex;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 2) var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host>article .main-content .card-info .ebook-container .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host>article .main-content .card-info .ebook-container .ebook .app-name .ebook-logo{content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%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\")}:host>article .main-content .card-info .ebook-container .ebook .app-name .laz{color:var(--red500)}::slotted([slot=\"cta\"]){grid-area:cta}:host>article.landscape{width:635px;min-height:332px;max-height:428px;padding:0}:host>article.landscape .main-content{height:296px;flex-direction:row;padding:calc(var(--space-unit) * 2)}:host>article.landscape .main-content .cover{display:flex;overflow:hidden;width:221px;height:auto;margin:0}:host>article.landscape .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:256px}:host>article.landscape .main-content .card-info .book-data{margin:0;gap:unset}:host>article.landscape .main-content .card-info .book-data .authors-title-cta-section{column-gap:calc(var(--space-unit) * 2);grid-template-areas:\"authors cta\"\n \"title title\"}:host>article.landscape .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags{margin:calc(calc(var(--space-unit) / 2) * -1) calc(var(--space-unit) * -1)}:host>article.landscape .main-content .card-info .ebook-container{height:76px}:host>article.landscape .main-content .card-info .ebook-container .ebook{height:60px;padding:var(--space-unit)}";
8
- const ZBookCardStyle0 = stylesCss$1;
9
-
10
- const stylesCss = "button.z-link{padding:0;border:0;margin:0;background-color:transparent}a.z-link,button.z-link{display:inline-flex;cursor:pointer;font-family:var(--font-family-sans);line-height:inherit;text-decoration:none}a.z-link.z-link-icon,button.z-link.z-link-icon{--z-icon-width:1.125em;--z-icon-height:1.125em;align-items:center;column-gap:0.5em}a.z-link.z-link-sb,button.z-link.z-link-sb{font-weight:var(--font-sb)}a.z-link.z-link-underline,button.z-link.z-link-underline{text-decoration:underline}a.z-link:hover,button.z-link:hover,a.z-link:focus,button.z-link:focus,a.z-link:active,button.z-link:active{text-decoration:underline}a.z-link:focus,button.z-link:focus{box-shadow:var(--shadow-focus-primary);outline:none}a.z-link.z-link-disabled,button.z-link.z-link-disabled{box-shadow:none;color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);outline:none;pointer-events:none;text-decoration:none}a.z-link,button.z-link,a.z-link.z-link-active,button.z-link.z-link-active,a.z-link:hover,button.z-link:hover,a.z-link.z-link-active:hover,button.z-link.z-link-active:hover,a.z-link:focus,button.z-link:focus,a.z-link.z-link-active:focus,button.z-link.z-link-active:focus,a.z-link:active,button.z-link:active,a.z-link.z-link-active:active,button.z-link.z-link-active:active,a.z-link:visited,button.z-link:visited,a.z-link.z-link-active:visited,button.z-link.z-link-active:visited{color:var(--color-text-link-default);fill:var(--color-text-link-default)}a.z-link.z-link-blue,button.z-link.z-link-blue,a.z-link.z-link-blue.z-link-active,button.z-link.z-link-blue.z-link-active{color:var(--color-text-link-blue);fill:var(--color-text-link-blue)}a.z-link.z-link-red,button.z-link.z-link-red,a.z-link.z-link-red.z-link-active,button.z-link.z-link-red.z-link-active{color:var(--color-text-link-red);fill:var(--color-text-link-red)}a.z-link.z-link-inverse,button.z-link.z-link-inverse,a.z-link.z-link-inverse.z-link-active,button.z-link.z-link-inverse.z-link-active{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:hover,button.z-link.z-link-blue:hover{color:var(--color-text-link-blue-hover);fill:var(--color-text-link-blue-hover)}a.z-link.z-link-red:hover,button.z-link.z-link-red:hover{color:var(--color-text-link-red-hover);fill:var(--color-text-link-red-hover)}a.z-link.z-link-inverse:hover,button.z-link.z-link-inverse:hover{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:active,button.z-link.z-link-blue:active,a.z-link.z-link-blue:focus,button.z-link.z-link-blue:focus{color:var(--color-text-link-blue-active);fill:var(--color-text-link-blue-active)}a.z-link.z-link-red:active,button.z-link.z-link-red:active,a.z-link.z-link-red:focus,button.z-link.z-link-red:focus{color:var(--color-text-link-red-active);fill:var(--color-text-link-red-active)}a.z-link.z-link-inverse:active,button.z-link.z-link-inverse:active,a.z-link.z-link-inverse:focus,button.z-link.z-link-inverse:focus{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:visited,button.z-link.z-link-blue:visited{color:var(--color-text-link-blue-visited);fill:var(--color-text-link-blue-visited)}a.z-link.z-link-red:visited,button.z-link.z-link-red:visited{color:var(--color-text-link-red-visited);fill:var(--color-text-link-red-visited)}a.z-link.z-link-inverse:visited,button.z-link.z-link-inverse:visited{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}";
11
- const ZBookCardStyle1 = stylesCss;
6
+ const stylesCss = ":host{--z-book-card-portrait-cover-height:378px;--z-book-card-title-lines:2;--z-book-card-title-word-break:initial;--z-book-card-subtitle-lines:1;--z-book-card-subtitle-word-break:break-all;--z-book-card-authors-lines:1;--z-book-card-authors-word-break:break-all;display:flex;width:304px;box-sizing:border-box;flex-direction:column;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host .main-content{display:flex;height:100%;box-sizing:border-box;flex-direction:column;padding:var(--space-unit);gap:var(--space-unit)}:host .main-content .cover{position:relative;display:flex;overflow:hidden;height:var(--z-book-card-portrait-cover-height);background:var(--color-white);border-radius:var(--border-radius)}:host .main-content .cover img{max-width:100%;max-height:100%;align-self:end}::slotted([slot=\"coverOverlay\"]){position:absolute;bottom:0;overflow:hidden;width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--avatar-C19);color:var(--color-white)}:host .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:336px}:host .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:calc(var(--space-unit) * 2)}:host .main-content .card-info .top{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host .main-content .card-info .top ::slotted([slot=\"tags\"]){display:flex;flex-wrap:wrap;gap:var(--space-unit)}:host .main-content .card-info .top ::slotted([slot=\"data\"]){display:flex;justify-content:space-between}:host .main-content .card-info .top .ellipsis{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;line-height:20px;text-overflow:ellipsis;word-break:break-all}:host .main-content .card-info .top .ellipsis.opera-title{height:calc(24 * var(--z-book-card-title-lines));-webkit-line-clamp:var(--z-book-card-title-lines);line-clamp:var(--z-book-card-title-lines);line-height:24px;word-break:var(--z-book-card-title-word-break)}:host .main-content .card-info .top .ellipsis.volume-title{height:calc(20 * var(--z-book-card-subtitle-lines));-webkit-line-clamp:var(--z-book-card-subtitle-lines);line-clamp:var(--z-book-card-subtitle-lines);line-height:20px;word-break:var(--z-book-card-subtitle-word-break)}:host .main-content .card-info .top .ellipsis.authors{height:calc(20 * var(--z-book-card-authors-lines));-webkit-line-clamp:var(--z-book-card-authors-lines);line-clamp:var(--z-book-card-authors-lines);line-height:20px;word-break:var(--z-book-card-authors-word-break)}:host .main-content .card-info .top .opera-title *{all:unset}:host .main-content .cta-wrapper{display:flex;justify-content:space-between;gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .top .link-chip-wrapper{display:flex;justify-content:space-between}:host .main-content .card-info .bottom .ebook{display:flex;align-items:center;justify-content:space-between;padding:var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host .main-content .card-info .bottom .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .bottom .ebook .app-name .ebook-logo{content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%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\")}:host .main-content .card-info .bottom .ebook .app-name .laz{color:var(--red500)}:host([variant=\"landscape\"]){width:635px;min-height:332px;max-height:432px;padding:0}:host([variant=\"landscape\"]) .main-content{height:332px;box-sizing:border-box;flex-direction:row;padding:calc(var(--space-unit) * 2);gap:calc(var(--space-unit) * 2)}:host([variant=\"landscape\"]) .main-content .cover{display:flex;overflow:hidden;width:221px;height:auto;margin:0}:host([variant=\"landscape\"]) .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:256px}:host([variant=\"landscape\"]) .main-content .card-info .top{gap:var(--space-unit)}@media (max-width: 767px){:host([variant=\"portrait\"]){width:100%;max-width:400px}}";
7
+ const ZBookCardStyle0 = stylesCss;
12
8
 
13
9
  const typographyCss = ":root{--font-family-sans:\"IBM Plex Sans\", sans-serif;--font-family-serif:\"IBM Plex Serif\", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 0.9166 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.1904 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}";
14
- const ZBookCardStyle2 = typographyCss;
10
+ const ZBookCardStyle1 = typographyCss;
15
11
 
16
12
  const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTMLElement {
17
13
  constructor() {
18
14
  super();
19
15
  this.__registerHost();
20
16
  this.__attachShadow();
21
- this.tagClick = createEvent(this, "tagClick", 7);
22
- this.catalogClick = createEvent(this, "catalogClick", 7);
23
17
  this.ebookClick = createEvent(this, "ebookClick", 7);
24
- this.immersiveReaderClick = createEvent(this, "immersiveReaderClick", 7);
25
18
  this.variant = BookCardVariant.PORTRAIT;
26
19
  this.cover = undefined;
27
- this.authors = undefined;
28
20
  this.operaTitle = undefined;
29
21
  this.volumeTitle = undefined;
22
+ this.authors = undefined;
30
23
  this.isbn = undefined;
31
24
  this.isbnLabel = "";
32
- this.edi = undefined;
33
- this.annotated = undefined;
34
- this.teacherVersion = undefined;
35
- this.reflowable = false;
36
- this.adoption = false;
37
- this.catalogUrl = undefined;
25
+ this.year = undefined;
38
26
  this.ebookUrl = undefined;
39
27
  this.fallbackCover = undefined;
40
- this.operaTitleHtmlTag = undefined;
41
- this.ediTag = undefined;
42
- this.annotatedTag = undefined;
43
- this.teacherVersionTag = undefined;
44
- }
45
- watchEdi() {
46
- this.ediTag = typeof this.edi === "string" ? JSON.parse(this.edi) : this.edi;
47
- }
48
- watchAnnotated() {
49
- this.annotatedTag = typeof this.annotated === "string" ? JSON.parse(this.annotated) : this.annotated;
50
- }
51
- watchTeacherVersion() {
52
- this.teacherVersionTag =
53
- typeof this.teacherVersion === "string" ? JSON.parse(this.teacherVersion) : this.teacherVersion;
54
- }
55
- componentWillLoad() {
56
- this.watchEdi();
57
- this.watchAnnotated();
58
- this.watchTeacherVersion();
59
- }
60
- emitTagClick(e) {
61
- this.tagClick.emit(e);
62
- }
63
- emitCatalogClick() {
64
- this.catalogClick.emit();
28
+ this.titleHtmlTag = undefined;
65
29
  }
66
30
  emitEbookClick() {
67
31
  this.ebookClick.emit();
68
32
  }
69
- emitImmersiveReaderClick() {
70
- this.immersiveReaderClick.emit();
33
+ renderCover() {
34
+ return (h("div", { class: "cover" }, h("img", { src: this.cover, onError: () => {
35
+ if (this.fallbackCover) {
36
+ this.cover = this.fallbackCover;
37
+ }
38
+ }, "aria-hidden": "true" }), h("slot", { name: "coverOverlay" })));
71
39
  }
72
- renderOperaTitle() {
73
- const title = this.operaTitleHtmlTag
74
- ? `<${this.operaTitleHtmlTag}>${this.operaTitle}</${this.operaTitleHtmlTag}>`
75
- : this.operaTitle;
76
- return (h("div", { class: "opera-title body-2-sb", innerHTML: title }));
40
+ renderYear() {
41
+ if (!this.year) {
42
+ return null;
43
+ }
44
+ return (h("div", { class: "year ellipsis body-4", "aria-description": "anno" }, this.year));
77
45
  }
78
- renderIsbnLabel() {
79
- return this.isbnLabel ? h("span", { class: "body-4" }, this.isbnLabel) : null;
46
+ renderAuthors() {
47
+ if (!this.authors) {
48
+ return null;
49
+ }
50
+ 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));
80
51
  }
81
- renderTag(label, tag, id) {
82
- return (h("z-tag", { class: { [tag.status]: true, interactive: tag.interactive }, role: tag.interactive ? "button" : undefined, tabIndex: tag.interactive ? 0 : undefined, onClick: () => tag.interactive &&
83
- this.emitTagClick({
84
- tag: id,
85
- state: tag.status,
86
- }), onKeyUp: (e) => tag.interactive &&
87
- e.key === "Enter" &&
88
- this.emitTagClick({
89
- tag: id,
90
- state: tag.status,
91
- }) }, label));
52
+ renderOperaTitle() {
53
+ const title = this.titleHtmlTag
54
+ ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`
55
+ : this.operaTitle;
56
+ return (h("div", { class: "cta-wrapper" }, h("div", { class: "opera-title ellipsis body-2-sb", innerHTML: title }), this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null));
92
57
  }
93
- renderTags() {
94
- const tags = [];
95
- if (this.edi && Object.values(BookCardTagStatus).includes(this.ediTag.status)) {
96
- tags.push(this.renderTag("edi", this.ediTag, "edi"));
97
- }
98
- if (this.annotated && Object.values(BookCardTagStatus).includes(this.annotatedTag.status)) {
99
- tags.push(this.renderTag("annotata", this.annotatedTag, "annotated"));
58
+ renderVolumeTitle() {
59
+ if (!this.volumeTitle) {
60
+ return null;
100
61
  }
101
- if (this.teacherVersion && Object.values(BookCardTagStatus).includes(this.teacherVersionTag.status)) {
102
- tags.push(this.renderTag("versione insegnante", this.teacherVersionTag, "teacherVersion"));
103
- }
104
- if (tags.length > 0) {
105
- return tags;
62
+ return h("div", { class: "volume-title ellipsis body-4" }, this.volumeTitle);
63
+ }
64
+ renderIsbn() {
65
+ if (!this.isbn) {
66
+ return null;
106
67
  }
107
- return null;
68
+ return (h("div", { class: "isbn ellipsis body-4-sb", "aria-description": `isbn ${this.isbnLabel}` }, this.isbn, " ", this.isbnLabel ? h("span", { class: "body-4" }, this.isbnLabel) : null));
108
69
  }
109
- renderCover() {
110
- return (h("div", { class: "cover" }, h("img", { src: this.cover, onError: () => {
111
- if (this.fallbackCover) {
112
- this.cover = this.fallbackCover;
113
- }
114
- }, "aria-hidden": "true" }), h("slot", { name: "coverOverlay" })));
70
+ renderEbook() {
71
+ return (h("div", { class: "ebook" }, h("div", null, h("div", { class: "app-name" }, h("img", { class: "ebook-logo", "aria-hidden": "true" }), h("div", { class: "body-4-sb" }, h("span", { class: "laz" }, "laZ"), " Ebook"))), h("z-button", { size: ControlSize.X_SMALL, href: this.ebookUrl, target: "_blank", onClick: () => this.emitEbookClick(), role: "link", "aria-description": `leggi l'ebook ${this.operaTitle} su laZ Ebook` }, "leggi ebook")));
72
+ }
73
+ renderCtaSlot() {
74
+ return h("slot", { name: "cta" });
115
75
  }
116
76
  render() {
117
- return (h("article", { key: '13051546589fda9fcc9473c4cb9262f3eb5f95b0', class: {
118
- [this.variant]: true,
119
- } }, h("div", { key: 'dba92cf4600bab824ffb1ee39439b0214cf13b38', class: "main-content" }, this.renderCover(), h("div", { key: '535eae1f34126ede676922007509a3c31d4b42c0', class: "card-info" }, h("div", { key: '717a9960dbad2547521fc4bafa2b1eea86989fd3', class: "book-data" }, h("div", { key: 'fa2863dca2d2ec8ccdedac26854d2c8437443443', class: "authors-title-cta-section" }, h("div", { key: 'd3a6d0f75bf5eaf8f43e4a51c4fba31026bbf085', class: "authors body-4", "aria-description": "autori" }, this.authors), this.renderOperaTitle(), h("slot", { key: '2ee1c51b0482a0e804068b32aa8710cdb585df40', name: "cta" })), h("div", { key: 'b2323c4742bb74592f4654b1fb6c9449afe1af76', class: "isbn-tags-link-section" }, h("div", { key: '02bfde7c8a1899bfec2901abb8ee5b38eda8044e', class: "isbn-tags-section" }, h("div", { key: 'e7822b708482616d9b3099889aea44bc878aaed6', class: "volume-title body-4" }, this.volumeTitle), h("div", { key: '6344260b6978818a05adaa60b0cf79203df7464b', class: "isbn body-4-sb", "aria-description": `isbn ${this.isbnLabel}` }, this.isbn, " ", this.renderIsbnLabel()), h("div", { key: '806f9c4b0b31bde86cb7c7d41f6405821f05142e', class: "tags" }, this.renderTags())), h("div", { key: '92501f1d76a77dc12566b13ff711f178ab8a5960', class: "link-section" }, h("div", { key: '2be97ae73ab2afbce260c3bda794270cf54bd5d4', class: "catalog-link" }, this.catalogUrl && (h("a", { key: 'bed68b842b47b54739e51b7a20da8d8855210339', href: this.catalogUrl, target: "_blank", class: "z-link z-link-blue z-link-icon body-4-sb", onClick: () => this.emitCatalogClick() }, "Scheda catalogo", h("z-icon", { key: '6fc6ad52486883219057553442e8f1395d8ccc84', name: "arrow-quad-north-east", height: 16, width: 16, fill: "color-primary01-icon" })))), this.adoption && h("div", { key: '14388b5ec14198be6972d3ee7d13b4ef1b2b0351', class: "adoption-tag body-5-sb" }, "adottato")))), h("div", { key: '0e800aafe750dddfae01931f577ff308ff163ce6', class: "ebook-container" }, h("slot", { key: 'e809821621d4a4e19ecae19b36f1c531cac8ea6a', name: "ebook" }, this.ebookUrl && (h("div", { key: '4a691bd904e2240358f5d1e1f25ed8e005331c17', class: "ebook" }, h("div", { key: 'd954f88d29c847b952898be868cb7423acc9d294' }, h("div", { key: '9f2cb4d73e4bb302b6640e666c7d2453255dc466', class: "app-name" }, h("img", { key: 'df3a1c3aec6ab3d478c124072417970ac4e41a5f', class: "ebook-logo", "aria-hidden": "true" }), h("div", { key: '062ef63c27bbe3dbb8bb5a12d9bdd9bdfdf34591', class: "body-4-sb" }, h("span", { key: 'e72e7fe23792b000837f111ef0cbc77d60925084', class: "laz" }, "laZ"), " Ebook")), this.variant === BookCardVariant.LANDSCAPE && this.reflowable && (h("div", { key: 'c9c844c55420c5907fe5393bf0ebd3bbd09c9bc0', class: "body-5" }, "Anche nella versione libro liquido con", " ", h("button", { key: '0f5d5b5d9c316b301c66ba99bb3f4c3c3653fcd9', class: "body-5-sb immersive-reader z-link", onClick: () => this.emitImmersiveReaderClick(), tabIndex: 0 }, "strumento di lettura immersiva")))), h("z-button", { key: '72d564135363013a5b5863f91f389140de649b90', size: ControlSize.X_SMALL, href: this.ebookUrl, target: "_blank", onClick: () => this.emitEbookClick(), role: "link", "aria-description": `leggi l'ebook ${this.operaTitle} su laZ Ebook` }, "leggi ebook"))))))), h("slot", { key: '9c1b63d295c462ed284475e60f14411757fcb15b', name: "apps" })));
77
+ return (h(Host, { key: '8a95e47fed3ec07a21c4ec299ed369bcb847d8de' }, h("div", { key: '150689ecc968704d0003b8219e87e6f5a11e609e', class: "main-content" }, this.renderCover(), h("div", { key: 'a985f8ceb5f6874144e78708ec56c219147a65d2', class: "card-info" }, h("div", { key: 'a32abd5ee5b048e9fccf17658e703085a9e18d67', class: "top" }, h("div", { key: 'cbc49e3b3bc092ba91ee338bf69c9198984f6b13' }, this.renderYear(), this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("slot", { key: '23de135849dacd241dfe3f663d2551a402b8c8c5', name: "tags" }), h("slot", { key: '916a151550af8a9f127e98a56c0873af378e31a7', name: "data" })), h("slot", { key: '857e6ab78c682c5a69bda4813cd7b6e8d7dec9b5', name: "ebook" }, !!this.ebookUrl && h("div", { key: 'cf66d08534008a027fa6ede485959d18bc6bad15', class: "bottom" }, this.renderEbook())))), h("slot", { key: '67c4a67f866a35a688076dd3aad5d4fe9e682ad2', name: "apps" })));
120
78
  }
121
79
  get hostElement() { return this; }
122
- static get watchers() { return {
123
- "edi": ["watchEdi"],
124
- "annotated": ["watchAnnotated"],
125
- "teacherVersion": ["watchTeacherVersion"]
126
- }; }
127
- static get style() { return ZBookCardStyle0 + (ZBookCardStyle1 + ZBookCardStyle2); }
80
+ static get style() { return ZBookCardStyle0 + ZBookCardStyle1; }
128
81
  }, [1, "z-book-card", {
129
- "variant": [1],
82
+ "variant": [513],
130
83
  "cover": [1],
131
- "authors": [1],
132
84
  "operaTitle": [1, "opera-title"],
133
85
  "volumeTitle": [1, "volume-title"],
86
+ "authors": [1],
134
87
  "isbn": [1],
135
88
  "isbnLabel": [1, "isbn-label"],
136
- "edi": [1],
137
- "annotated": [1],
138
- "teacherVersion": [1, "teacher-version"],
139
- "reflowable": [4],
140
- "adoption": [4],
141
- "catalogUrl": [1, "catalog-url"],
89
+ "year": [1],
142
90
  "ebookUrl": [1, "ebook-url"],
143
91
  "fallbackCover": [1, "fallback-cover"],
144
- "operaTitleHtmlTag": [1, "opera-title-html-tag"],
145
- "ediTag": [32],
146
- "annotatedTag": [32],
147
- "teacherVersionTag": [32]
148
- }, undefined, {
149
- "edi": ["watchEdi"],
150
- "annotated": ["watchAnnotated"],
151
- "teacherVersion": ["watchTeacherVersion"]
92
+ "titleHtmlTag": [1, "title-html-tag"]
152
93
  }]);
153
94
  function defineCustomElement$1() {
154
95
  if (typeof customElements === "undefined") {
155
96
  return;
156
97
  }
157
- const components = ["z-book-card", "z-button", "z-icon", "z-tag"];
98
+ const components = ["z-book-card", "z-button", "z-icon"];
158
99
  components.forEach(tagName => { switch (tagName) {
159
100
  case "z-book-card":
160
101
  if (!customElements.get(tagName)) {
@@ -162,16 +103,11 @@ function defineCustomElement$1() {
162
103
  }
163
104
  break;
164
105
  case "z-button":
165
- if (!customElements.get(tagName)) {
166
- defineCustomElement$4();
167
- }
168
- break;
169
- case "z-icon":
170
106
  if (!customElements.get(tagName)) {
171
107
  defineCustomElement$3();
172
108
  }
173
109
  break;
174
- case "z-tag":
110
+ case "z-icon":
175
111
  if (!customElements.get(tagName)) {
176
112
  defineCustomElement$2();
177
113
  }