@zanichelli/albe-web-components 19.3.0-rc1 → 19.4.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 (1501) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +3 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  4. package/dist/cjs/breakpoints-B7vFm-3T.js +3 -0
  5. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  6. package/dist/cjs/iconset-Cz-UsfoU.js +1030 -0
  7. package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
  8. package/dist/cjs/index-CZz7uP-M.js +2727 -0
  9. package/dist/cjs/index-CZz7uP-M.js.map +1 -0
  10. package/dist/cjs/index-Cn7FFDHr.js +415 -0
  11. package/dist/cjs/index-Cn7FFDHr.js.map +1 -0
  12. package/dist/cjs/index.cjs.js +10 -3
  13. package/dist/cjs/index.cjs.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +5 -2
  15. package/dist/cjs/loader.cjs.js.map +1 -0
  16. package/dist/cjs/reactive-controller-BBJFF12W.js +1446 -0
  17. package/dist/cjs/reactive-controller-BBJFF12W.js.map +1 -0
  18. package/dist/cjs/utils-By4U4KkV.js +2721 -0
  19. package/dist/cjs/utils-By4U4KkV.js.map +1 -0
  20. package/dist/cjs/utils-kQZHfpti.js +919 -0
  21. package/dist/cjs/utils-kQZHfpti.js.map +1 -0
  22. package/dist/cjs/web-components-library.cjs.js +5 -2
  23. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  24. package/dist/cjs/z-accordion.cjs.entry.js +6 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.cjs.entry.js +5 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +7 -4
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +6 -3
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header_12.cjs.entry.js +101 -135
  33. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  34. package/dist/cjs/z-aria-alert.cjs.entry.js +6 -3
  35. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  36. package/dist/cjs/z-avatar.cjs.entry.js +7 -4
  37. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-book-card-app.cjs.entry.js +6 -3
  39. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +7 -4
  41. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-book-card.cjs.entry.js +6 -3
  43. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-cover.cjs.entry.js +5 -2
  45. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-breadcrumb.cjs.entry.js +8 -5
  47. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-button-sort.cjs.entry.js +5 -2
  49. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-card.cjs.entry.js +5 -2
  51. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-carousel.cjs.entry.js +6 -3
  53. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-chip.cjs.entry.js +7 -4
  55. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-color-picker.cjs.entry.js +7 -4
  57. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-combobox.cjs.entry.js +21 -15
  59. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-cover-hero.cjs.entry.js +7 -4
  61. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-date-picker.cjs.entry.js +7 -4
  63. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +25 -41
  65. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-file-upload.cjs.entry.js +7 -4
  67. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-file.cjs.entry.js +6 -3
  69. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-ghost-loading.cjs.entry.js +5 -2
  71. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-info-box.cjs.entry.js +5 -2
  73. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-info-reveal.cjs.entry.js +6 -3
  75. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-input-range.cjs.entry.js +145 -0
  77. package/dist/cjs/z-input-range.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-logo.cjs.entry.js +6 -3
  79. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-menu-deprecated.cjs.entry.js +6 -3
  81. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +5 -2
  83. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-menu-section.cjs.entry.js +6 -3
  85. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-menu.cjs.entry.js +6 -3
  87. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  89. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
  91. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +5 -2
  93. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
  95. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-myz-card-icon.cjs.entry.js +5 -2
  97. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-info.cjs.entry.js +7 -4
  99. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-list.cjs.entry.js +5 -2
  101. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -6
  103. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
  105. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-list.cjs.entry.js +5 -2
  107. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
  109. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-notification.cjs.entry.js +5 -2
  111. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-otp.cjs.entry.js +7 -4
  113. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-pagination.cjs.entry.js +5 -2
  115. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-panel-elem.cjs.entry.js +6 -3
  117. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-popover.cjs.entry.js +7 -4
  119. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-range-picker.cjs.entry.js +9 -6
  121. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-result-card.cjs.entry.js +5 -2
  123. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-section-title.cjs.entry.js +6 -3
  125. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-select.cjs.entry.js +13 -14
  127. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-skip-to-content.cjs.entry.js +7 -4
  129. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-slideshow.cjs.entry.js +6 -3
  131. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-stepper-item.cjs.entry.js +5 -2
  133. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-stepper.cjs.entry.js +5 -2
  135. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-table.cjs.entry.js +11 -6
  137. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-tbody.cjs.entry.js +9 -4
  139. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-td.cjs.entry.js +10 -5
  141. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-tfoot.cjs.entry.js +9 -4
  143. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-th.cjs.entry.js +11 -6
  145. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-thead.cjs.entry.js +9 -4
  147. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-toast-notification-list.cjs.entry.js +6 -3
  149. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-toast-notification.cjs.entry.js +8 -5
  151. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-toggle-button.cjs.entry.js +6 -3
  153. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-toggle-switch.cjs.entry.js +9 -6
  155. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-tool.cjs.entry.js +8 -5
  157. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toolbar.cjs.entry.js +6 -3
  159. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-tooltip.cjs.entry.js +6 -3
  161. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-tr.cjs.entry.js +13 -11
  163. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-tree-list.cjs.entry.js +6 -3
  165. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-visually-hidden.cjs.entry.js +5 -2
  167. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  168. package/dist/collection/beans/index.js +6 -0
  169. package/dist/collection/beans/index.js.map +1 -0
  170. package/dist/collection/collection-manifest.json +12 -11
  171. package/dist/collection/components/book-card/z-book-card/index.js +2 -8
  172. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  173. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  174. package/dist/collection/components/book-card/z-book-card-app/index.js +2 -3
  175. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  176. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  177. package/dist/collection/components/css-components/z-table/styles.css +79 -0
  178. package/dist/collection/components/date-picker/utils.js +1 -0
  179. package/dist/collection/components/date-picker/utils.js.map +1 -0
  180. package/dist/collection/components/date-picker/z-date-picker/index.js +2 -1
  181. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  182. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -3
  183. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  184. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +2 -54
  185. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  186. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  187. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +2 -5
  188. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  189. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  190. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +2 -2
  191. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  192. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  193. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +2 -1
  194. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  195. package/dist/collection/components/deprecated/z-section-title/index.js +2 -2
  196. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  197. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  198. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +3 -2
  199. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  200. package/dist/collection/components/file-upload/z-file/index.js +2 -1
  201. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  202. package/dist/collection/components/file-upload/z-file-upload/index.js +3 -2
  203. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  204. package/dist/collection/components/index.js +1 -0
  205. package/dist/collection/components/index.js.map +1 -0
  206. package/dist/collection/components/list/z-list/index.js +2 -1
  207. package/dist/collection/components/list/z-list/index.js.map +1 -0
  208. package/dist/collection/components/list/z-list-element/index.js +2 -1
  209. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  210. package/dist/collection/components/list/z-list-group/index.js +3 -2
  211. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  212. package/dist/collection/components/list/z-tree-list/index.js +2 -1
  213. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  214. package/dist/collection/components/table/cells/z-table-cells.css +0 -1
  215. package/dist/collection/components/table/cells/z-td/index.js +4 -3
  216. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  217. package/dist/collection/components/table/cells/z-th/index.js +4 -3
  218. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  219. package/dist/collection/components/table/cells/z-th/styles.css +0 -4
  220. package/dist/collection/components/table/z-table/index.js +4 -4
  221. package/dist/collection/components/table/z-table/index.js.map +1 -0
  222. package/dist/collection/components/table/z-table/styles.css +3 -6
  223. package/dist/collection/components/table/z-tbody/index.js +4 -3
  224. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  225. package/dist/collection/components/table/z-tfoot/index.js +4 -3
  226. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  227. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  228. package/dist/collection/components/table/z-thead/index.js +4 -3
  229. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  230. package/dist/collection/components/table/z-thead/styles.css +0 -4
  231. package/dist/collection/components/table/z-tr/index.js +6 -8
  232. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  233. package/dist/collection/components/table/z-tr/styles.css +13 -15
  234. package/dist/collection/components/z-accordion/index.js +4 -11
  235. package/dist/collection/components/z-accordion/index.js.map +1 -0
  236. package/dist/collection/components/z-accordion/styles.css +12 -0
  237. package/dist/collection/components/z-anchor-navigation/index.js +4 -3
  238. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  239. package/dist/collection/components/z-app-header/index.js +22 -8
  240. package/dist/collection/components/z-app-header/index.js.map +1 -0
  241. package/dist/collection/components/z-app-header/styles.css +12 -12
  242. package/dist/collection/components/z-aria-alert/index.js +2 -1
  243. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  244. package/dist/collection/components/z-avatar/index.js +3 -2
  245. package/dist/collection/components/z-avatar/index.js.map +1 -0
  246. package/dist/collection/components/z-book-cover/index.js +2 -5
  247. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  248. package/dist/collection/components/z-book-cover/styles.css +6 -0
  249. package/dist/collection/components/z-breadcrumb/index.js +3 -2
  250. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  251. package/dist/collection/components/z-button/index.js +3 -2
  252. package/dist/collection/components/z-button/index.js.map +1 -0
  253. package/dist/collection/components/z-button-sort/index.js +2 -1
  254. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  255. package/dist/collection/components/z-card/index.js +2 -8
  256. package/dist/collection/components/z-card/index.js.map +1 -0
  257. package/dist/collection/components/z-card/styles.css +9 -0
  258. package/dist/collection/components/z-carousel/index.js +1 -2
  259. package/dist/collection/components/z-carousel/index.js.map +1 -0
  260. package/dist/collection/components/z-carousel/styles.css +7 -3
  261. package/dist/collection/components/z-chip/index.js +3 -2
  262. package/dist/collection/components/z-chip/index.js.map +1 -0
  263. package/dist/collection/components/z-color-picker/index.js +2 -1
  264. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  265. package/dist/collection/components/z-combobox/index.js +17 -13
  266. package/dist/collection/components/z-combobox/index.js.map +1 -0
  267. package/dist/collection/components/z-cover-hero/index.js +3 -5
  268. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  269. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  270. package/dist/collection/components/z-divider/index.js +2 -1
  271. package/dist/collection/components/z-divider/index.js.map +1 -0
  272. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  273. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  274. package/dist/collection/components/z-icon/index.js +32 -2
  275. package/dist/collection/components/z-icon/index.js.map +1 -0
  276. package/dist/collection/components/z-info-box/index.js +2 -1
  277. package/dist/collection/components/z-info-box/index.js.map +1 -0
  278. package/dist/collection/components/z-info-reveal/index.js +2 -5
  279. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  280. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  281. package/dist/collection/components/z-input/index.js +51 -30
  282. package/dist/collection/components/z-input/index.js.map +1 -0
  283. package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -0
  284. package/dist/collection/components/z-input/styles-text.css +5 -0
  285. package/dist/collection/components/z-input-message/index.js +2 -1
  286. package/dist/collection/components/z-input-message/index.js.map +1 -0
  287. package/dist/collection/components/z-input-range/index.js +438 -0
  288. package/dist/collection/components/z-input-range/index.js.map +1 -0
  289. package/dist/collection/components/z-input-range/styles.css +262 -0
  290. package/dist/collection/components/z-logo/index.js +2 -1
  291. package/dist/collection/components/z-logo/index.js.map +1 -0
  292. package/dist/collection/components/z-logo/styles.css +5 -0
  293. package/dist/collection/components/z-menu/index.js +1 -1
  294. package/dist/collection/components/z-menu/index.js.map +1 -0
  295. package/dist/collection/components/z-menu/styles.css +3 -0
  296. package/dist/collection/components/z-menu-section/index.js +2 -1
  297. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  298. package/dist/collection/components/z-modal/index.js +17 -37
  299. package/dist/collection/components/z-modal/index.js.map +1 -0
  300. package/dist/collection/components/z-modal/styles.css +5 -2
  301. package/dist/collection/components/z-navigation-tabs/index.js +3 -4
  302. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  303. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  304. package/dist/collection/components/z-notification/index.js +2 -4
  305. package/dist/collection/components/z-notification/index.js.map +1 -0
  306. package/dist/collection/components/z-notification/styles.css +5 -0
  307. package/dist/collection/components/z-offcanvas/index.js +43 -119
  308. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  309. package/dist/collection/components/z-offcanvas/styles.css +6 -0
  310. package/dist/collection/components/z-pagination/index.js +1 -2
  311. package/dist/collection/components/z-pagination/index.js.map +1 -0
  312. package/dist/collection/components/z-pagination/styles.css +6 -0
  313. package/dist/collection/components/z-panel-elem/index.js +3 -2
  314. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  315. package/dist/collection/components/z-popover/index.js +2 -6
  316. package/dist/collection/components/z-popover/index.js.map +1 -0
  317. package/dist/collection/components/z-popover/styles.css +6 -0
  318. package/dist/collection/components/z-result-card/index.js +1 -0
  319. package/dist/collection/components/z-result-card/index.js.map +1 -0
  320. package/dist/collection/components/z-result-card/styles.css +8 -5
  321. package/dist/collection/components/z-searchbar/index.js +4 -8
  322. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  323. package/dist/collection/components/z-searchbar/styles.css +5 -0
  324. package/dist/collection/components/z-select/index.js +9 -12
  325. package/dist/collection/components/z-select/index.js.map +1 -0
  326. package/dist/collection/components/z-skip-to-content/index.js +2 -1
  327. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  328. package/dist/collection/components/z-stepper/index.js +2 -1
  329. package/dist/collection/components/z-stepper/index.js.map +1 -0
  330. package/dist/collection/components/z-stepper-item/index.js +2 -1
  331. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  332. package/dist/collection/components/z-tag/index.js +3 -4
  333. package/dist/collection/components/z-tag/index.js.map +1 -0
  334. package/dist/collection/components/z-tag/styles.css +5 -0
  335. package/dist/collection/components/z-toast-notification/index.js +4 -3
  336. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  337. package/dist/collection/components/z-toast-notification-list/index.js +2 -1
  338. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  339. package/dist/collection/components/z-toggle-button/index.js +3 -2
  340. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  341. package/dist/collection/components/z-toggle-switch/index.js +4 -3
  342. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  343. package/dist/collection/components/z-tool/index.js +4 -3
  344. package/dist/collection/components/z-tool/index.js.map +1 -0
  345. package/dist/collection/components/z-toolbar/index.js +2 -2
  346. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  347. package/dist/collection/components/z-toolbar/styles.css +4 -0
  348. package/dist/collection/components/z-tooltip/index.js +2 -5
  349. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  350. package/dist/collection/components/z-tooltip/styles.css +6 -0
  351. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  352. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  353. package/dist/collection/constants/breakpoints.js +1 -0
  354. package/dist/collection/constants/breakpoints.js.map +1 -0
  355. package/dist/collection/constants/icons.js +1 -0
  356. package/dist/collection/constants/icons.js.map +1 -0
  357. package/dist/collection/constants/iconset.js +7 -6
  358. package/dist/collection/constants/iconset.js.map +1 -0
  359. package/dist/collection/index.js +1 -0
  360. package/dist/collection/index.js.map +1 -0
  361. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +3 -2
  362. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  363. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +2 -1
  364. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  365. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  366. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  367. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +2 -1
  368. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  369. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -1
  370. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  371. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -1
  372. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  373. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  374. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  375. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +2 -1
  376. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  377. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
  378. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  379. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
  380. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  381. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
  382. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  383. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +2 -1
  384. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  385. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -1
  386. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  387. package/dist/collection/snowflakes/myz/z-alert/index.js +2 -1
  388. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  389. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -2
  390. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  391. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -0
  392. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  393. package/dist/collection/utils/focus-trap-controller.js +100 -0
  394. package/dist/collection/utils/focus-trap-controller.js.map +1 -0
  395. package/dist/collection/utils/reactive-controller.js +46 -0
  396. package/dist/collection/utils/reactive-controller.js.map +1 -0
  397. package/dist/collection/utils/storybook-utils.js +8 -0
  398. package/dist/collection/utils/storybook-utils.js.map +1 -0
  399. package/dist/collection/utils/utils.js +65 -1
  400. package/dist/collection/utils/utils.js.map +1 -0
  401. package/dist/components/_commonjsHelpers.js +2 -1
  402. package/dist/components/_commonjsHelpers.js.map +1 -0
  403. package/dist/components/breakpoints.js +2 -1
  404. package/dist/components/breakpoints.js.map +1 -0
  405. package/dist/components/iconset.js +2 -1
  406. package/dist/components/iconset.js.map +1 -0
  407. package/dist/components/index.d.ts +2 -0
  408. package/dist/components/index.js +2 -1
  409. package/dist/components/index.js.map +1 -0
  410. package/dist/components/index10.js +2 -1
  411. package/dist/components/index10.js.map +1 -0
  412. package/dist/components/index11.js +2 -1
  413. package/dist/components/index11.js.map +1 -0
  414. package/dist/components/index12.js +2 -1
  415. package/dist/components/index12.js.map +1 -0
  416. package/dist/components/index13.js +2 -1
  417. package/dist/components/index13.js.map +1 -0
  418. package/dist/components/index14.js +2 -1
  419. package/dist/components/index14.js.map +1 -0
  420. package/dist/components/index15.js +2 -1
  421. package/dist/components/index15.js.map +1 -0
  422. package/dist/components/index16.js +2 -1
  423. package/dist/components/index16.js.map +1 -0
  424. package/dist/components/index17.js +2 -1
  425. package/dist/components/index17.js.map +1 -0
  426. package/dist/components/index18.js +2 -1
  427. package/dist/components/index18.js.map +1 -0
  428. package/dist/components/index19.js +2 -1
  429. package/dist/components/index19.js.map +1 -0
  430. package/dist/components/index2.js +2 -1
  431. package/dist/components/index2.js.map +1 -0
  432. package/dist/components/index20.js +2 -1
  433. package/dist/components/index20.js.map +1 -0
  434. package/dist/components/index21.js +2 -1
  435. package/dist/components/index21.js.map +1 -0
  436. package/dist/components/index22.js +2 -1
  437. package/dist/components/index22.js.map +1 -0
  438. package/dist/components/index23.js +2 -1
  439. package/dist/components/index23.js.map +1 -0
  440. package/dist/components/index24.js +2 -1
  441. package/dist/components/index24.js.map +1 -0
  442. package/dist/components/index25.js +2 -1
  443. package/dist/components/index25.js.map +1 -0
  444. package/dist/components/index26.js +2 -1
  445. package/dist/components/index26.js.map +1 -0
  446. package/dist/components/index27.js +2 -1
  447. package/dist/components/index27.js.map +1 -0
  448. package/dist/components/index3.js +2 -1
  449. package/dist/components/index3.js.map +1 -0
  450. package/dist/components/index4.js +2 -1
  451. package/dist/components/index4.js.map +1 -0
  452. package/dist/components/index5.js +2 -1
  453. package/dist/components/index5.js.map +1 -0
  454. package/dist/components/index6.js +2 -1
  455. package/dist/components/index6.js.map +1 -0
  456. package/dist/components/index7.js +2 -1
  457. package/dist/components/index7.js.map +1 -0
  458. package/dist/components/index8.js +2 -1
  459. package/dist/components/index8.js.map +1 -0
  460. package/dist/components/index9.js +2 -1
  461. package/dist/components/index9.js.map +1 -0
  462. package/dist/components/reactive-controller.js +6 -0
  463. package/dist/components/reactive-controller.js.map +1 -0
  464. package/dist/components/utils.js +7 -1
  465. package/dist/components/utils.js.map +1 -0
  466. package/dist/components/utils2.js +2 -1
  467. package/dist/components/utils2.js.map +1 -0
  468. package/dist/components/z-accordion.js +2 -1
  469. package/dist/components/z-accordion.js.map +1 -0
  470. package/dist/components/z-alert.js +2 -1
  471. package/dist/components/z-alert.js.map +1 -0
  472. package/dist/components/z-anchor-navigation.js +2 -1
  473. package/dist/components/z-anchor-navigation.js.map +1 -0
  474. package/dist/components/z-app-header-deprecated.js +2 -1
  475. package/dist/components/z-app-header-deprecated.js.map +1 -0
  476. package/dist/components/z-app-header.js +2 -1
  477. package/dist/components/z-app-header.js.map +1 -0
  478. package/dist/components/z-aria-alert.js +2 -1
  479. package/dist/components/z-aria-alert.js.map +1 -0
  480. package/dist/components/z-avatar.js +2 -1
  481. package/dist/components/z-avatar.js.map +1 -0
  482. package/dist/components/z-book-card-app.js +2 -1
  483. package/dist/components/z-book-card-app.js.map +1 -0
  484. package/dist/components/z-book-card-deprecated.js +2 -1
  485. package/dist/components/z-book-card-deprecated.js.map +1 -0
  486. package/dist/components/z-book-card.js +2 -1
  487. package/dist/components/z-book-card.js.map +1 -0
  488. package/dist/components/z-book-cover.js +2 -1
  489. package/dist/components/z-book-cover.js.map +1 -0
  490. package/dist/components/z-breadcrumb.js +2 -1
  491. package/dist/components/z-breadcrumb.js.map +1 -0
  492. package/dist/components/z-button-sort.js +2 -1
  493. package/dist/components/z-button-sort.js.map +1 -0
  494. package/dist/components/z-button.js +2 -1
  495. package/dist/components/z-button.js.map +1 -0
  496. package/dist/components/z-card.js +2 -1
  497. package/dist/components/z-card.js.map +1 -0
  498. package/dist/components/z-carousel.js +2 -1
  499. package/dist/components/z-carousel.js.map +1 -0
  500. package/dist/components/z-chip.js +2 -1
  501. package/dist/components/z-chip.js.map +1 -0
  502. package/dist/components/z-color-picker.js +2 -1
  503. package/dist/components/z-color-picker.js.map +1 -0
  504. package/dist/components/z-combobox.js +2 -1
  505. package/dist/components/z-combobox.js.map +1 -0
  506. package/dist/components/z-cover-hero.js +2 -1
  507. package/dist/components/z-cover-hero.js.map +1 -0
  508. package/dist/components/z-date-picker.js +3 -2
  509. package/dist/components/z-date-picker.js.map +1 -0
  510. package/dist/components/z-divider.js +2 -1
  511. package/dist/components/z-divider.js.map +1 -0
  512. package/dist/components/z-dragdrop-area.js +2 -1
  513. package/dist/components/z-dragdrop-area.js.map +1 -0
  514. package/dist/components/z-file-upload.js +2 -1
  515. package/dist/components/z-file-upload.js.map +1 -0
  516. package/dist/components/z-file.js +2 -1
  517. package/dist/components/z-file.js.map +1 -0
  518. package/dist/components/z-ghost-loading.js +2 -1
  519. package/dist/components/z-ghost-loading.js.map +1 -0
  520. package/dist/components/z-icon.js +2 -1
  521. package/dist/components/z-icon.js.map +1 -0
  522. package/dist/components/z-info-box.js +2 -1
  523. package/dist/components/z-info-box.js.map +1 -0
  524. package/dist/components/z-info-reveal.js +2 -1
  525. package/dist/components/z-info-reveal.js.map +1 -0
  526. package/dist/components/z-input-message.js +2 -1
  527. package/dist/components/z-input-message.js.map +1 -0
  528. package/dist/components/z-input-range.d.ts +11 -0
  529. package/dist/components/z-input-range.js +2 -0
  530. package/dist/components/z-input-range.js.map +1 -0
  531. package/dist/components/z-input.js +2 -1
  532. package/dist/components/z-input.js.map +1 -0
  533. package/dist/components/z-list-element.js +2 -1
  534. package/dist/components/z-list-element.js.map +1 -0
  535. package/dist/components/z-list-group.js +2 -1
  536. package/dist/components/z-list-group.js.map +1 -0
  537. package/dist/components/z-list.js +2 -1
  538. package/dist/components/z-list.js.map +1 -0
  539. package/dist/components/z-logo.js +2 -1
  540. package/dist/components/z-logo.js.map +1 -0
  541. package/dist/components/z-menu-deprecated.js +2 -1
  542. package/dist/components/z-menu-deprecated.js.map +1 -0
  543. package/dist/components/z-menu-section-deprecated.js +2 -1
  544. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  545. package/dist/components/z-menu-section.js +2 -1
  546. package/dist/components/z-menu-section.js.map +1 -0
  547. package/dist/components/z-menu.js +2 -1
  548. package/dist/components/z-menu.js.map +1 -0
  549. package/dist/components/z-modal.js +2 -1
  550. package/dist/components/z-modal.js.map +1 -0
  551. package/dist/components/z-myz-card-alert.js +2 -1
  552. package/dist/components/z-myz-card-alert.js.map +1 -0
  553. package/dist/components/z-myz-card-body.js +2 -1
  554. package/dist/components/z-myz-card-body.js.map +1 -0
  555. package/dist/components/z-myz-card-cover.js +2 -1
  556. package/dist/components/z-myz-card-cover.js.map +1 -0
  557. package/dist/components/z-myz-card-dictionary.js +2 -1
  558. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  559. package/dist/components/z-myz-card-footer-sections.js +2 -1
  560. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  561. package/dist/components/z-myz-card-footer.js +2 -1
  562. package/dist/components/z-myz-card-footer.js.map +1 -0
  563. package/dist/components/z-myz-card-header.js +2 -1
  564. package/dist/components/z-myz-card-header.js.map +1 -0
  565. package/dist/components/z-myz-card-icon.js +2 -1
  566. package/dist/components/z-myz-card-icon.js.map +1 -0
  567. package/dist/components/z-myz-card-info.js +2 -1
  568. package/dist/components/z-myz-card-info.js.map +1 -0
  569. package/dist/components/z-myz-card-list.js +2 -1
  570. package/dist/components/z-myz-card-list.js.map +1 -0
  571. package/dist/components/z-myz-card.js +2 -1
  572. package/dist/components/z-myz-card.js.map +1 -0
  573. package/dist/components/z-myz-list-item.js +2 -1
  574. package/dist/components/z-myz-list-item.js.map +1 -0
  575. package/dist/components/z-myz-list.js +2 -1
  576. package/dist/components/z-myz-list.js.map +1 -0
  577. package/dist/components/z-navigation-tabs.js +2 -1
  578. package/dist/components/z-navigation-tabs.js.map +1 -0
  579. package/dist/components/z-notification.js +2 -1
  580. package/dist/components/z-notification.js.map +1 -0
  581. package/dist/components/z-offcanvas.js +2 -1
  582. package/dist/components/z-offcanvas.js.map +1 -0
  583. package/dist/components/z-otp.js +2 -1
  584. package/dist/components/z-otp.js.map +1 -0
  585. package/dist/components/z-pagination.js +2 -1
  586. package/dist/components/z-pagination.js.map +1 -0
  587. package/dist/components/z-panel-elem.js +2 -1
  588. package/dist/components/z-panel-elem.js.map +1 -0
  589. package/dist/components/z-popover.js +2 -1
  590. package/dist/components/z-popover.js.map +1 -0
  591. package/dist/components/z-range-picker.js +2 -1
  592. package/dist/components/z-range-picker.js.map +1 -0
  593. package/dist/components/z-result-card.js +2 -1
  594. package/dist/components/z-result-card.js.map +1 -0
  595. package/dist/components/z-searchbar.js +2 -1
  596. package/dist/components/z-searchbar.js.map +1 -0
  597. package/dist/components/z-section-title.js +2 -1
  598. package/dist/components/z-section-title.js.map +1 -0
  599. package/dist/components/z-select.js +2 -1
  600. package/dist/components/z-select.js.map +1 -0
  601. package/dist/components/z-skip-to-content.js +2 -1
  602. package/dist/components/z-skip-to-content.js.map +1 -0
  603. package/dist/components/z-slideshow.js +2 -1
  604. package/dist/components/z-slideshow.js.map +1 -0
  605. package/dist/components/z-stepper-item.js +2 -1
  606. package/dist/components/z-stepper-item.js.map +1 -0
  607. package/dist/components/z-stepper.js +2 -1
  608. package/dist/components/z-stepper.js.map +1 -0
  609. package/dist/components/z-table.js +2 -1
  610. package/dist/components/z-table.js.map +1 -0
  611. package/dist/components/z-tag.js +2 -1
  612. package/dist/components/z-tag.js.map +1 -0
  613. package/dist/components/z-tbody.js +2 -1
  614. package/dist/components/z-tbody.js.map +1 -0
  615. package/dist/components/z-td.js +2 -1
  616. package/dist/components/z-td.js.map +1 -0
  617. package/dist/components/z-tfoot.js +2 -1
  618. package/dist/components/z-tfoot.js.map +1 -0
  619. package/dist/components/z-th.js +2 -1
  620. package/dist/components/z-th.js.map +1 -0
  621. package/dist/components/z-thead.js +2 -1
  622. package/dist/components/z-thead.js.map +1 -0
  623. package/dist/components/z-toast-notification-list.js +2 -1
  624. package/dist/components/z-toast-notification-list.js.map +1 -0
  625. package/dist/components/z-toast-notification.js +8 -2
  626. package/dist/components/z-toast-notification.js.map +1 -0
  627. package/dist/components/z-toggle-button.js +2 -1
  628. package/dist/components/z-toggle-button.js.map +1 -0
  629. package/dist/components/z-toggle-switch.js +2 -1
  630. package/dist/components/z-toggle-switch.js.map +1 -0
  631. package/dist/components/z-tool.js +2 -1
  632. package/dist/components/z-tool.js.map +1 -0
  633. package/dist/components/z-toolbar.js +2 -1
  634. package/dist/components/z-toolbar.js.map +1 -0
  635. package/dist/components/z-tooltip.js +2 -1
  636. package/dist/components/z-tooltip.js.map +1 -0
  637. package/dist/components/z-tr.js +2 -1
  638. package/dist/components/z-tr.js.map +1 -0
  639. package/dist/components/z-tree-list.js +2 -1
  640. package/dist/components/z-tree-list.js.map +1 -0
  641. package/dist/components/z-visually-hidden.js +2 -1
  642. package/dist/components/z-visually-hidden.js.map +1 -0
  643. package/dist/esm/_commonjsHelpers-B85MJLTf.js +3 -0
  644. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  645. package/dist/esm/breakpoints-Q-tWjk7P.js +3 -0
  646. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  647. package/dist/esm/iconset-AwzX9V8L.js +1027 -0
  648. package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
  649. package/dist/esm/index-B3nR3-Jw.js +413 -0
  650. package/dist/esm/index-B3nR3-Jw.js.map +1 -0
  651. package/dist/esm/index-BcDWN4F1.js +2697 -0
  652. package/dist/esm/index-BcDWN4F1.js.map +1 -0
  653. package/dist/esm/index.js +6 -3
  654. package/dist/esm/index.js.map +1 -0
  655. package/dist/esm/loader.js +6 -3
  656. package/dist/esm/loader.js.map +1 -0
  657. package/dist/esm/reactive-controller--oxj7x8w.js +1443 -0
  658. package/dist/esm/reactive-controller--oxj7x8w.js.map +1 -0
  659. package/dist/esm/utils-C9lc3rtK.js +896 -0
  660. package/dist/esm/utils-C9lc3rtK.js.map +1 -0
  661. package/dist/esm/utils-DP4zBIll.js +2715 -0
  662. package/dist/esm/utils-DP4zBIll.js.map +1 -0
  663. package/dist/esm/web-components-library.js +6 -3
  664. package/dist/esm/web-components-library.js.map +1 -0
  665. package/dist/esm/z-accordion.entry.js +6 -3
  666. package/dist/esm/z-accordion.entry.js.map +1 -0
  667. package/dist/esm/z-alert.entry.js +5 -2
  668. package/dist/esm/z-alert.entry.js.map +1 -0
  669. package/dist/esm/z-anchor-navigation.entry.js +7 -4
  670. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  671. package/dist/esm/z-app-header-deprecated.entry.js +6 -3
  672. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  673. package/dist/esm/z-app-header_12.entry.js +101 -135
  674. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  675. package/dist/esm/z-aria-alert.entry.js +6 -3
  676. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  677. package/dist/esm/z-avatar.entry.js +7 -4
  678. package/dist/esm/z-avatar.entry.js.map +1 -0
  679. package/dist/esm/z-book-card-app.entry.js +6 -3
  680. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  681. package/dist/esm/z-book-card-deprecated.entry.js +7 -4
  682. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  683. package/dist/esm/z-book-card.entry.js +6 -3
  684. package/dist/esm/z-book-card.entry.js.map +1 -0
  685. package/dist/esm/z-book-cover.entry.js +5 -2
  686. package/dist/esm/z-book-cover.entry.js.map +1 -0
  687. package/dist/esm/z-breadcrumb.entry.js +8 -5
  688. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  689. package/dist/esm/z-button-sort.entry.js +5 -2
  690. package/dist/esm/z-button-sort.entry.js.map +1 -0
  691. package/dist/esm/z-card.entry.js +5 -2
  692. package/dist/esm/z-card.entry.js.map +1 -0
  693. package/dist/esm/z-carousel.entry.js +6 -3
  694. package/dist/esm/z-carousel.entry.js.map +1 -0
  695. package/dist/esm/z-chip.entry.js +7 -4
  696. package/dist/esm/z-chip.entry.js.map +1 -0
  697. package/dist/esm/z-color-picker.entry.js +7 -4
  698. package/dist/esm/z-color-picker.entry.js.map +1 -0
  699. package/dist/esm/z-combobox.entry.js +21 -15
  700. package/dist/esm/z-combobox.entry.js.map +1 -0
  701. package/dist/esm/z-cover-hero.entry.js +7 -4
  702. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  703. package/dist/esm/z-date-picker.entry.js +7 -4
  704. package/dist/esm/z-date-picker.entry.js.map +1 -0
  705. package/dist/esm/z-dragdrop-area_2.entry.js +25 -41
  706. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  707. package/dist/esm/z-file-upload.entry.js +7 -4
  708. package/dist/esm/z-file-upload.entry.js.map +1 -0
  709. package/dist/esm/z-file.entry.js +6 -3
  710. package/dist/esm/z-file.entry.js.map +1 -0
  711. package/dist/esm/z-ghost-loading.entry.js +5 -2
  712. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  713. package/dist/esm/z-info-box.entry.js +5 -2
  714. package/dist/esm/z-info-box.entry.js.map +1 -0
  715. package/dist/esm/z-info-reveal.entry.js +6 -3
  716. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  717. package/dist/esm/z-input-range.entry.js +143 -0
  718. package/dist/esm/z-input-range.entry.js.map +1 -0
  719. package/dist/esm/z-logo.entry.js +6 -3
  720. package/dist/esm/z-logo.entry.js.map +1 -0
  721. package/dist/esm/z-menu-deprecated.entry.js +6 -3
  722. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  723. package/dist/esm/z-menu-section-deprecated.entry.js +5 -2
  724. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  725. package/dist/esm/z-menu-section.entry.js +6 -3
  726. package/dist/esm/z-menu-section.entry.js.map +1 -0
  727. package/dist/esm/z-menu.entry.js +6 -3
  728. package/dist/esm/z-menu.entry.js.map +1 -0
  729. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  730. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  731. package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
  732. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  733. package/dist/esm/z-myz-card-footer-sections.entry.js +5 -2
  734. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  735. package/dist/esm/z-myz-card-footer.entry.js +6 -3
  736. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  737. package/dist/esm/z-myz-card-icon.entry.js +5 -2
  738. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  739. package/dist/esm/z-myz-card-info.entry.js +7 -4
  740. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  741. package/dist/esm/z-myz-card-list.entry.js +5 -2
  742. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  743. package/dist/esm/z-myz-card_4.entry.js +9 -6
  744. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  745. package/dist/esm/z-myz-list-item.entry.js +7 -4
  746. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  747. package/dist/esm/z-myz-list.entry.js +5 -2
  748. package/dist/esm/z-myz-list.entry.js.map +1 -0
  749. package/dist/esm/z-navigation-tabs.entry.js +7 -4
  750. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  751. package/dist/esm/z-notification.entry.js +5 -2
  752. package/dist/esm/z-notification.entry.js.map +1 -0
  753. package/dist/esm/z-otp.entry.js +7 -4
  754. package/dist/esm/z-otp.entry.js.map +1 -0
  755. package/dist/esm/z-pagination.entry.js +5 -2
  756. package/dist/esm/z-pagination.entry.js.map +1 -0
  757. package/dist/esm/z-panel-elem.entry.js +6 -3
  758. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  759. package/dist/esm/z-popover.entry.js +7 -4
  760. package/dist/esm/z-popover.entry.js.map +1 -0
  761. package/dist/esm/z-range-picker.entry.js +9 -6
  762. package/dist/esm/z-range-picker.entry.js.map +1 -0
  763. package/dist/esm/z-result-card.entry.js +5 -2
  764. package/dist/esm/z-result-card.entry.js.map +1 -0
  765. package/dist/esm/z-section-title.entry.js +6 -3
  766. package/dist/esm/z-section-title.entry.js.map +1 -0
  767. package/dist/esm/z-select.entry.js +13 -14
  768. package/dist/esm/z-select.entry.js.map +1 -0
  769. package/dist/esm/z-skip-to-content.entry.js +7 -4
  770. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  771. package/dist/esm/z-slideshow.entry.js +6 -3
  772. package/dist/esm/z-slideshow.entry.js.map +1 -0
  773. package/dist/esm/z-stepper-item.entry.js +5 -2
  774. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  775. package/dist/esm/z-stepper.entry.js +5 -2
  776. package/dist/esm/z-stepper.entry.js.map +1 -0
  777. package/dist/esm/z-table.entry.js +11 -6
  778. package/dist/esm/z-table.entry.js.map +1 -0
  779. package/dist/esm/z-tbody.entry.js +9 -4
  780. package/dist/esm/z-tbody.entry.js.map +1 -0
  781. package/dist/esm/z-td.entry.js +10 -5
  782. package/dist/esm/z-td.entry.js.map +1 -0
  783. package/dist/esm/z-tfoot.entry.js +9 -4
  784. package/dist/esm/z-tfoot.entry.js.map +1 -0
  785. package/dist/esm/z-th.entry.js +11 -6
  786. package/dist/esm/z-th.entry.js.map +1 -0
  787. package/dist/esm/z-thead.entry.js +9 -4
  788. package/dist/esm/z-thead.entry.js.map +1 -0
  789. package/dist/esm/z-toast-notification-list.entry.js +6 -3
  790. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  791. package/dist/esm/z-toast-notification.entry.js +8 -5
  792. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  793. package/dist/esm/z-toggle-button.entry.js +6 -3
  794. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  795. package/dist/esm/z-toggle-switch.entry.js +9 -6
  796. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  797. package/dist/esm/z-tool.entry.js +8 -5
  798. package/dist/esm/z-tool.entry.js.map +1 -0
  799. package/dist/esm/z-toolbar.entry.js +6 -3
  800. package/dist/esm/z-toolbar.entry.js.map +1 -0
  801. package/dist/esm/z-tooltip.entry.js +6 -3
  802. package/dist/esm/z-tooltip.entry.js.map +1 -0
  803. package/dist/esm/z-tr.entry.js +13 -11
  804. package/dist/esm/z-tr.entry.js.map +1 -0
  805. package/dist/esm/z-tree-list.entry.js +6 -3
  806. package/dist/esm/z-tree-list.entry.js.map +1 -0
  807. package/dist/esm/z-visually-hidden.entry.js +5 -2
  808. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  809. package/dist/types/beans/index.d.ts +4 -0
  810. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  811. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  812. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  813. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  814. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  815. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  816. package/dist/types/components/table/z-table/index.d.ts +0 -1
  817. package/dist/types/components/z-accordion/index.d.ts +2 -10
  818. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  819. package/dist/types/components/z-app-header/index.d.ts +4 -6
  820. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  821. package/dist/types/components/z-button/index.d.ts +1 -1
  822. package/dist/types/components/z-card/index.d.ts +1 -8
  823. package/dist/types/components/z-carousel/index.d.ts +0 -2
  824. package/dist/types/components/z-combobox/index.d.ts +1 -0
  825. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  826. package/dist/types/components/z-icon/index.d.ts +13 -0
  827. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  828. package/dist/types/components/z-input/index.d.ts +6 -4
  829. package/dist/types/components/z-input-range/index.d.ts +83 -0
  830. package/dist/types/components/z-menu/index.d.ts +0 -1
  831. package/dist/types/components/z-modal/index.d.ts +4 -11
  832. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  833. package/dist/types/components/z-notification/index.d.ts +0 -3
  834. package/dist/types/components/z-offcanvas/index.d.ts +12 -37
  835. package/dist/types/components/z-pagination/index.d.ts +0 -2
  836. package/dist/types/components/z-popover/index.d.ts +0 -5
  837. package/dist/types/components/z-searchbar/index.d.ts +0 -5
  838. package/dist/types/components/z-select/index.d.ts +0 -1
  839. package/dist/types/components/z-tag/index.d.ts +0 -2
  840. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  841. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  842. package/dist/types/components.d.ts +213 -606
  843. package/dist/types/constants/iconset.d.ts +4 -4
  844. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  845. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  846. package/dist/types/utils/focus-trap-controller.d.ts +53 -0
  847. package/dist/types/utils/reactive-controller.d.ts +39 -0
  848. package/dist/types/utils/storybook-utils.d.ts +7 -2
  849. package/dist/types/utils/utils.d.ts +12 -0
  850. package/dist/web-components-library/index.esm.js +2 -1
  851. package/dist/web-components-library/index.esm.js.map +1 -0
  852. package/dist/web-components-library/p-01d2d4e2.entry.js +2 -0
  853. package/dist/web-components-library/p-01d2d4e2.entry.js.map +1 -0
  854. package/dist/web-components-library/p-02a5c216.entry.js +2 -0
  855. package/dist/web-components-library/p-02a5c216.entry.js.map +1 -0
  856. package/dist/web-components-library/p-0673b282.entry.js +2 -0
  857. package/dist/web-components-library/p-0673b282.entry.js.map +1 -0
  858. package/dist/web-components-library/p-06aba4ff.entry.js +2 -0
  859. package/dist/web-components-library/p-06aba4ff.entry.js.map +1 -0
  860. package/dist/web-components-library/p-076d802a.entry.js +2 -0
  861. package/dist/web-components-library/p-076d802a.entry.js.map +1 -0
  862. package/dist/web-components-library/p-10ad3d7c.entry.js +2 -0
  863. package/dist/web-components-library/p-10ad3d7c.entry.js.map +1 -0
  864. package/dist/web-components-library/p-164b8342.entry.js +2 -0
  865. package/dist/web-components-library/p-164b8342.entry.js.map +1 -0
  866. package/dist/web-components-library/p-1ba5aa7a.entry.js +2 -0
  867. package/dist/web-components-library/p-1ba5aa7a.entry.js.map +1 -0
  868. package/dist/web-components-library/p-1c1f699b.entry.js +2 -0
  869. package/dist/web-components-library/p-1c1f699b.entry.js.map +1 -0
  870. package/dist/web-components-library/p-1c63269a.entry.js +2 -0
  871. package/dist/web-components-library/p-1c63269a.entry.js.map +1 -0
  872. package/dist/web-components-library/p-1e25b55b.entry.js +2 -0
  873. package/dist/web-components-library/p-1e25b55b.entry.js.map +1 -0
  874. package/dist/web-components-library/p-21b9ec81.entry.js +2 -0
  875. package/dist/web-components-library/p-21b9ec81.entry.js.map +1 -0
  876. package/dist/web-components-library/p-257be457.entry.js +2 -0
  877. package/dist/web-components-library/p-257be457.entry.js.map +1 -0
  878. package/dist/web-components-library/p-26788712.entry.js +2 -0
  879. package/dist/web-components-library/p-26788712.entry.js.map +1 -0
  880. package/dist/web-components-library/p-2adbfd30.entry.js +2 -0
  881. package/dist/web-components-library/p-2adbfd30.entry.js.map +1 -0
  882. package/dist/web-components-library/p-2fcbc1a1.entry.js +2 -0
  883. package/dist/web-components-library/p-2fcbc1a1.entry.js.map +1 -0
  884. package/dist/web-components-library/p-30579764.entry.js +8 -0
  885. package/dist/web-components-library/p-30579764.entry.js.map +1 -0
  886. package/dist/web-components-library/p-330486fc.entry.js +2 -0
  887. package/dist/web-components-library/p-330486fc.entry.js.map +1 -0
  888. package/dist/web-components-library/p-34d4ee45.entry.js +2 -0
  889. package/dist/web-components-library/p-34d4ee45.entry.js.map +1 -0
  890. package/dist/web-components-library/p-354abbd7.entry.js +2 -0
  891. package/dist/web-components-library/p-354abbd7.entry.js.map +1 -0
  892. package/dist/web-components-library/p-372e83b1.entry.js +2 -0
  893. package/dist/web-components-library/p-372e83b1.entry.js.map +1 -0
  894. package/dist/web-components-library/p-3b70a97c.entry.js +2 -0
  895. package/dist/web-components-library/p-3b70a97c.entry.js.map +1 -0
  896. package/dist/web-components-library/p-3f2658a0.entry.js +2 -0
  897. package/dist/web-components-library/p-3f2658a0.entry.js.map +1 -0
  898. package/dist/web-components-library/p-3f6ea914.entry.js +2 -0
  899. package/dist/web-components-library/p-3f6ea914.entry.js.map +1 -0
  900. package/dist/web-components-library/p-418a7ee5.entry.js +2 -0
  901. package/dist/web-components-library/p-418a7ee5.entry.js.map +1 -0
  902. package/dist/web-components-library/p-4730e9a5.entry.js +2 -0
  903. package/dist/web-components-library/p-4730e9a5.entry.js.map +1 -0
  904. package/dist/web-components-library/p-474493cc.entry.js +2 -0
  905. package/dist/web-components-library/p-474493cc.entry.js.map +1 -0
  906. package/dist/web-components-library/p-4954dd38.entry.js +2 -0
  907. package/dist/web-components-library/p-4954dd38.entry.js.map +1 -0
  908. package/dist/web-components-library/p-4c1b6c40.entry.js +2 -0
  909. package/dist/web-components-library/p-4c1b6c40.entry.js.map +1 -0
  910. package/dist/web-components-library/p-55468801.entry.js +2 -0
  911. package/dist/web-components-library/p-55468801.entry.js.map +1 -0
  912. package/dist/web-components-library/p-55f6d3fe.entry.js +2 -0
  913. package/dist/web-components-library/p-55f6d3fe.entry.js.map +1 -0
  914. package/dist/web-components-library/p-62485d56.entry.js +2 -0
  915. package/dist/web-components-library/p-62485d56.entry.js.map +1 -0
  916. package/dist/web-components-library/p-6a952697.entry.js +2 -0
  917. package/dist/web-components-library/p-6a952697.entry.js.map +1 -0
  918. package/dist/web-components-library/p-6c5937db.entry.js +2 -0
  919. package/dist/web-components-library/p-6c5937db.entry.js.map +1 -0
  920. package/dist/web-components-library/p-6f58880c.entry.js +2 -0
  921. package/dist/web-components-library/p-6f58880c.entry.js.map +1 -0
  922. package/dist/web-components-library/p-7056f90f.entry.js +2 -0
  923. package/dist/web-components-library/p-7056f90f.entry.js.map +1 -0
  924. package/dist/web-components-library/p-70fe7ed8.entry.js +2 -0
  925. package/dist/web-components-library/p-70fe7ed8.entry.js.map +1 -0
  926. package/dist/web-components-library/p-71ddff9a.entry.js +2 -0
  927. package/dist/web-components-library/p-71ddff9a.entry.js.map +1 -0
  928. package/dist/web-components-library/p-86d3a3da.entry.js +2 -0
  929. package/dist/web-components-library/p-86d3a3da.entry.js.map +1 -0
  930. package/dist/web-components-library/p-8751b09d.entry.js +2 -0
  931. package/dist/web-components-library/p-8751b09d.entry.js.map +1 -0
  932. package/dist/web-components-library/p-88e3fb55.entry.js +2 -0
  933. package/dist/web-components-library/p-88e3fb55.entry.js.map +1 -0
  934. package/dist/web-components-library/p-89e96cde.entry.js +2 -0
  935. package/dist/web-components-library/p-89e96cde.entry.js.map +1 -0
  936. package/dist/web-components-library/p-8a545910.entry.js +2 -0
  937. package/dist/web-components-library/p-8a545910.entry.js.map +1 -0
  938. package/dist/web-components-library/p-927d50ea.entry.js +2 -0
  939. package/dist/web-components-library/p-927d50ea.entry.js.map +1 -0
  940. package/dist/web-components-library/p-95c2e9b0.entry.js +2 -0
  941. package/dist/web-components-library/p-95c2e9b0.entry.js.map +1 -0
  942. package/dist/web-components-library/p-98089231.entry.js +2 -0
  943. package/dist/web-components-library/p-98089231.entry.js.map +1 -0
  944. package/dist/web-components-library/p-9b1deaa1.entry.js +2 -0
  945. package/dist/web-components-library/p-9b1deaa1.entry.js.map +1 -0
  946. package/dist/web-components-library/p-AwzX9V8L.js +2 -0
  947. package/dist/web-components-library/p-AwzX9V8L.js.map +1 -0
  948. package/dist/web-components-library/p-B3nR3-Jw.js +2 -0
  949. package/dist/web-components-library/p-B3nR3-Jw.js.map +1 -0
  950. package/dist/web-components-library/p-B85MJLTf.js +2 -1
  951. package/dist/web-components-library/p-B85MJLTf.js.map +1 -0
  952. package/dist/web-components-library/p-BcDWN4F1.js +3 -0
  953. package/dist/web-components-library/p-BcDWN4F1.js.map +1 -0
  954. package/dist/web-components-library/p-BeiZJJuW.js +6 -0
  955. package/dist/web-components-library/p-BeiZJJuW.js.map +1 -0
  956. package/dist/web-components-library/p-Bx6o9v2_.js +2 -0
  957. package/dist/web-components-library/p-Bx6o9v2_.js.map +1 -0
  958. package/dist/web-components-library/p-C8pbzcmM.js +7 -0
  959. package/dist/web-components-library/p-C8pbzcmM.js.map +1 -0
  960. package/dist/web-components-library/p-Q-tWjk7P.js +2 -1
  961. package/dist/web-components-library/p-Q-tWjk7P.js.map +1 -0
  962. package/dist/web-components-library/p-a0a84d24.entry.js +2 -0
  963. package/dist/web-components-library/p-a0a84d24.entry.js.map +1 -0
  964. package/dist/web-components-library/p-a238a3d0.entry.js +17 -0
  965. package/dist/web-components-library/p-a238a3d0.entry.js.map +1 -0
  966. package/dist/web-components-library/p-ab364ca1.entry.js +2 -0
  967. package/dist/web-components-library/p-ab364ca1.entry.js.map +1 -0
  968. package/dist/web-components-library/p-b38cacf2.entry.js +2 -0
  969. package/dist/web-components-library/p-b38cacf2.entry.js.map +1 -0
  970. package/dist/web-components-library/p-b565bff1.entry.js +2 -0
  971. package/dist/web-components-library/p-b565bff1.entry.js.map +1 -0
  972. package/dist/web-components-library/p-c5b3368c.entry.js +2 -0
  973. package/dist/web-components-library/p-c5b3368c.entry.js.map +1 -0
  974. package/dist/web-components-library/p-c64a8fd8.entry.js +2 -0
  975. package/dist/web-components-library/p-c64a8fd8.entry.js.map +1 -0
  976. package/dist/web-components-library/p-c7046a20.entry.js +2 -0
  977. package/dist/web-components-library/p-c7046a20.entry.js.map +1 -0
  978. package/dist/web-components-library/p-c7d65071.entry.js +2 -0
  979. package/dist/web-components-library/p-c7d65071.entry.js.map +1 -0
  980. package/dist/web-components-library/p-ccdfec00.entry.js +2 -0
  981. package/dist/web-components-library/p-ccdfec00.entry.js.map +1 -0
  982. package/dist/web-components-library/p-d15e7b4f.entry.js +2 -0
  983. package/dist/web-components-library/p-d15e7b4f.entry.js.map +1 -0
  984. package/dist/web-components-library/p-d639463e.entry.js +2 -0
  985. package/dist/web-components-library/p-d639463e.entry.js.map +1 -0
  986. package/dist/web-components-library/p-d866a2e1.entry.js +2 -0
  987. package/dist/web-components-library/p-d866a2e1.entry.js.map +1 -0
  988. package/dist/web-components-library/p-db1fa456.entry.js +2 -0
  989. package/dist/web-components-library/p-db1fa456.entry.js.map +1 -0
  990. package/dist/web-components-library/p-dc26eb78.entry.js +2 -0
  991. package/dist/web-components-library/p-dc26eb78.entry.js.map +1 -0
  992. package/dist/web-components-library/p-e5736b1f.entry.js +2 -0
  993. package/dist/web-components-library/p-e5736b1f.entry.js.map +1 -0
  994. package/dist/web-components-library/p-e8eb3bc5.entry.js +2 -0
  995. package/dist/web-components-library/p-e8eb3bc5.entry.js.map +1 -0
  996. package/dist/web-components-library/p-edbedacb.entry.js +2 -0
  997. package/dist/web-components-library/p-edbedacb.entry.js.map +1 -0
  998. package/dist/web-components-library/p-f0557dd9.entry.js +2 -0
  999. package/dist/web-components-library/p-f0557dd9.entry.js.map +1 -0
  1000. package/dist/web-components-library/p-f31f04b9.entry.js +2 -0
  1001. package/dist/web-components-library/p-f31f04b9.entry.js.map +1 -0
  1002. package/dist/web-components-library/p-f4b9e6f4.entry.js +2 -0
  1003. package/dist/web-components-library/p-f4b9e6f4.entry.js.map +1 -0
  1004. package/dist/web-components-library/p-f9c859dc.entry.js +2 -0
  1005. package/dist/web-components-library/p-f9c859dc.entry.js.map +1 -0
  1006. package/dist/web-components-library/p-f9e5a0aa.entry.js +2 -0
  1007. package/dist/web-components-library/p-f9e5a0aa.entry.js.map +1 -0
  1008. package/dist/web-components-library/p-fb8a0bda.entry.js +2 -0
  1009. package/dist/web-components-library/p-fb8a0bda.entry.js.map +1 -0
  1010. package/dist/web-components-library/p-ff89690a.entry.js +2 -0
  1011. package/dist/web-components-library/p-ff89690a.entry.js.map +1 -0
  1012. package/dist/web-components-library/web-components-library.css +80 -0
  1013. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1014. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1015. package/package.json +17 -17
  1016. package/react/components.d.ts +1 -0
  1017. package/react/components.js +3 -2
  1018. package/readme.md +8 -19
  1019. package/www/build/index.esm.js +2 -1
  1020. package/www/build/index.esm.js.map +1 -0
  1021. package/www/build/p-01d2d4e2.entry.js +2 -0
  1022. package/www/build/p-01d2d4e2.entry.js.map +1 -0
  1023. package/www/build/p-02a5c216.entry.js +2 -0
  1024. package/www/build/p-02a5c216.entry.js.map +1 -0
  1025. package/www/build/p-0673b282.entry.js +2 -0
  1026. package/www/build/p-0673b282.entry.js.map +1 -0
  1027. package/www/build/p-06aba4ff.entry.js +2 -0
  1028. package/www/build/p-06aba4ff.entry.js.map +1 -0
  1029. package/www/build/p-076d802a.entry.js +2 -0
  1030. package/www/build/p-076d802a.entry.js.map +1 -0
  1031. package/www/build/p-10ad3d7c.entry.js +2 -0
  1032. package/www/build/p-10ad3d7c.entry.js.map +1 -0
  1033. package/www/build/p-164b8342.entry.js +2 -0
  1034. package/www/build/p-164b8342.entry.js.map +1 -0
  1035. package/www/build/p-188d1101.css +2716 -0
  1036. package/www/build/p-1ba5aa7a.entry.js +2 -0
  1037. package/www/build/p-1ba5aa7a.entry.js.map +1 -0
  1038. package/www/build/p-1c1f699b.entry.js +2 -0
  1039. package/www/build/p-1c1f699b.entry.js.map +1 -0
  1040. package/www/build/p-1c63269a.entry.js +2 -0
  1041. package/www/build/p-1c63269a.entry.js.map +1 -0
  1042. package/www/build/p-1e25b55b.entry.js +2 -0
  1043. package/www/build/p-1e25b55b.entry.js.map +1 -0
  1044. package/www/build/p-21b9ec81.entry.js +2 -0
  1045. package/www/build/p-21b9ec81.entry.js.map +1 -0
  1046. package/www/build/p-257be457.entry.js +2 -0
  1047. package/www/build/p-257be457.entry.js.map +1 -0
  1048. package/www/build/p-26788712.entry.js +2 -0
  1049. package/www/build/p-26788712.entry.js.map +1 -0
  1050. package/www/build/p-2adbfd30.entry.js +2 -0
  1051. package/www/build/p-2adbfd30.entry.js.map +1 -0
  1052. package/www/build/p-2fcbc1a1.entry.js +2 -0
  1053. package/www/build/p-2fcbc1a1.entry.js.map +1 -0
  1054. package/www/build/p-30579764.entry.js +8 -0
  1055. package/www/build/p-30579764.entry.js.map +1 -0
  1056. package/www/build/p-330486fc.entry.js +2 -0
  1057. package/www/build/p-330486fc.entry.js.map +1 -0
  1058. package/www/build/p-34d4ee45.entry.js +2 -0
  1059. package/www/build/p-34d4ee45.entry.js.map +1 -0
  1060. package/www/build/p-354abbd7.entry.js +2 -0
  1061. package/www/build/p-354abbd7.entry.js.map +1 -0
  1062. package/www/build/p-372e83b1.entry.js +2 -0
  1063. package/www/build/p-372e83b1.entry.js.map +1 -0
  1064. package/www/build/p-3b70a97c.entry.js +2 -0
  1065. package/www/build/p-3b70a97c.entry.js.map +1 -0
  1066. package/www/build/p-3f2658a0.entry.js +2 -0
  1067. package/www/build/p-3f2658a0.entry.js.map +1 -0
  1068. package/www/build/p-3f6ea914.entry.js +2 -0
  1069. package/www/build/p-3f6ea914.entry.js.map +1 -0
  1070. package/www/build/p-418a7ee5.entry.js +2 -0
  1071. package/www/build/p-418a7ee5.entry.js.map +1 -0
  1072. package/www/build/p-4730e9a5.entry.js +2 -0
  1073. package/www/build/p-4730e9a5.entry.js.map +1 -0
  1074. package/www/build/p-474493cc.entry.js +2 -0
  1075. package/www/build/p-474493cc.entry.js.map +1 -0
  1076. package/www/build/p-4954dd38.entry.js +2 -0
  1077. package/www/build/p-4954dd38.entry.js.map +1 -0
  1078. package/www/build/p-4c1b6c40.entry.js +2 -0
  1079. package/www/build/p-4c1b6c40.entry.js.map +1 -0
  1080. package/www/build/p-55468801.entry.js +2 -0
  1081. package/www/build/p-55468801.entry.js.map +1 -0
  1082. package/www/build/p-55f6d3fe.entry.js +2 -0
  1083. package/www/build/p-55f6d3fe.entry.js.map +1 -0
  1084. package/www/build/p-62485d56.entry.js +2 -0
  1085. package/www/build/p-62485d56.entry.js.map +1 -0
  1086. package/www/build/p-6a952697.entry.js +2 -0
  1087. package/www/build/p-6a952697.entry.js.map +1 -0
  1088. package/www/build/p-6c5937db.entry.js +2 -0
  1089. package/www/build/p-6c5937db.entry.js.map +1 -0
  1090. package/www/build/p-6f58880c.entry.js +2 -0
  1091. package/www/build/p-6f58880c.entry.js.map +1 -0
  1092. package/www/build/p-7056f90f.entry.js +2 -0
  1093. package/www/build/p-7056f90f.entry.js.map +1 -0
  1094. package/www/build/p-70fe7ed8.entry.js +2 -0
  1095. package/www/build/p-70fe7ed8.entry.js.map +1 -0
  1096. package/www/build/p-71ddff9a.entry.js +2 -0
  1097. package/www/build/p-71ddff9a.entry.js.map +1 -0
  1098. package/www/build/p-86d3a3da.entry.js +2 -0
  1099. package/www/build/p-86d3a3da.entry.js.map +1 -0
  1100. package/www/build/p-8751b09d.entry.js +2 -0
  1101. package/www/build/p-8751b09d.entry.js.map +1 -0
  1102. package/www/build/p-88e3fb55.entry.js +2 -0
  1103. package/www/build/p-88e3fb55.entry.js.map +1 -0
  1104. package/www/build/p-89e96cde.entry.js +2 -0
  1105. package/www/build/p-89e96cde.entry.js.map +1 -0
  1106. package/www/build/p-8a545910.entry.js +2 -0
  1107. package/www/build/p-8a545910.entry.js.map +1 -0
  1108. package/www/build/p-927d50ea.entry.js +2 -0
  1109. package/www/build/p-927d50ea.entry.js.map +1 -0
  1110. package/www/build/p-95c2e9b0.entry.js +2 -0
  1111. package/www/build/p-95c2e9b0.entry.js.map +1 -0
  1112. package/www/build/p-98089231.entry.js +2 -0
  1113. package/www/build/p-98089231.entry.js.map +1 -0
  1114. package/www/build/p-9b1deaa1.entry.js +2 -0
  1115. package/www/build/p-9b1deaa1.entry.js.map +1 -0
  1116. package/www/build/p-AwzX9V8L.js +2 -0
  1117. package/www/build/p-AwzX9V8L.js.map +1 -0
  1118. package/www/build/p-B3nR3-Jw.js +2 -0
  1119. package/www/build/p-B3nR3-Jw.js.map +1 -0
  1120. package/www/build/p-B85MJLTf.js +2 -1
  1121. package/www/build/p-B85MJLTf.js.map +1 -0
  1122. package/www/build/p-BcDWN4F1.js +3 -0
  1123. package/www/build/p-BcDWN4F1.js.map +1 -0
  1124. package/www/build/p-BeiZJJuW.js +6 -0
  1125. package/www/build/p-BeiZJJuW.js.map +1 -0
  1126. package/www/build/p-Bx6o9v2_.js +2 -0
  1127. package/www/build/p-Bx6o9v2_.js.map +1 -0
  1128. package/www/build/p-C8pbzcmM.js +7 -0
  1129. package/www/build/p-C8pbzcmM.js.map +1 -0
  1130. package/www/build/p-Q-tWjk7P.js +2 -1
  1131. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1132. package/www/build/p-a0a84d24.entry.js +2 -0
  1133. package/www/build/p-a0a84d24.entry.js.map +1 -0
  1134. package/www/build/p-a238a3d0.entry.js +17 -0
  1135. package/www/build/p-a238a3d0.entry.js.map +1 -0
  1136. package/www/build/p-ab364ca1.entry.js +2 -0
  1137. package/www/build/p-ab364ca1.entry.js.map +1 -0
  1138. package/www/build/p-b38cacf2.entry.js +2 -0
  1139. package/www/build/p-b38cacf2.entry.js.map +1 -0
  1140. package/www/build/p-b565bff1.entry.js +2 -0
  1141. package/www/build/p-b565bff1.entry.js.map +1 -0
  1142. package/www/build/p-bcc5602c.js +2 -0
  1143. package/www/build/p-c5b3368c.entry.js +2 -0
  1144. package/www/build/p-c5b3368c.entry.js.map +1 -0
  1145. package/www/build/p-c64a8fd8.entry.js +2 -0
  1146. package/www/build/p-c64a8fd8.entry.js.map +1 -0
  1147. package/www/build/p-c7046a20.entry.js +2 -0
  1148. package/www/build/p-c7046a20.entry.js.map +1 -0
  1149. package/www/build/p-c7d65071.entry.js +2 -0
  1150. package/www/build/p-c7d65071.entry.js.map +1 -0
  1151. package/www/build/p-ccdfec00.entry.js +2 -0
  1152. package/www/build/p-ccdfec00.entry.js.map +1 -0
  1153. package/www/build/p-d15e7b4f.entry.js +2 -0
  1154. package/www/build/p-d15e7b4f.entry.js.map +1 -0
  1155. package/www/build/p-d639463e.entry.js +2 -0
  1156. package/www/build/p-d639463e.entry.js.map +1 -0
  1157. package/www/build/p-d866a2e1.entry.js +2 -0
  1158. package/www/build/p-d866a2e1.entry.js.map +1 -0
  1159. package/www/build/p-db1fa456.entry.js +2 -0
  1160. package/www/build/p-db1fa456.entry.js.map +1 -0
  1161. package/www/build/p-dc26eb78.entry.js +2 -0
  1162. package/www/build/p-dc26eb78.entry.js.map +1 -0
  1163. package/www/build/p-e5736b1f.entry.js +2 -0
  1164. package/www/build/p-e5736b1f.entry.js.map +1 -0
  1165. package/www/build/p-e8eb3bc5.entry.js +2 -0
  1166. package/www/build/p-e8eb3bc5.entry.js.map +1 -0
  1167. package/www/build/p-edbedacb.entry.js +2 -0
  1168. package/www/build/p-edbedacb.entry.js.map +1 -0
  1169. package/www/build/p-f0557dd9.entry.js +2 -0
  1170. package/www/build/p-f0557dd9.entry.js.map +1 -0
  1171. package/www/build/p-f31f04b9.entry.js +2 -0
  1172. package/www/build/p-f31f04b9.entry.js.map +1 -0
  1173. package/www/build/p-f4b9e6f4.entry.js +2 -0
  1174. package/www/build/p-f4b9e6f4.entry.js.map +1 -0
  1175. package/www/build/p-f9c859dc.entry.js +2 -0
  1176. package/www/build/p-f9c859dc.entry.js.map +1 -0
  1177. package/www/build/p-f9e5a0aa.entry.js +2 -0
  1178. package/www/build/p-f9e5a0aa.entry.js.map +1 -0
  1179. package/www/build/p-fb8a0bda.entry.js +2 -0
  1180. package/www/build/p-fb8a0bda.entry.js.map +1 -0
  1181. package/www/build/p-ff89690a.entry.js +2 -0
  1182. package/www/build/p-ff89690a.entry.js.map +1 -0
  1183. package/www/build/web-components-library.css +80 -0
  1184. package/www/build/web-components-library.esm.js +2 -1
  1185. package/www/build/web-components-library.esm.js.map +1 -0
  1186. package/www/index.html +1 -1
  1187. package/dist/cjs/iconset-oiCBBbd2.js +0 -1027
  1188. package/dist/cjs/index-D_S5lGcb.js +0 -2683
  1189. package/dist/cjs/index-wGaSHN1_.js +0 -407
  1190. package/dist/cjs/utils-C5_wGVkJ.js +0 -2718
  1191. package/dist/cjs/utils-Ctc6JP2n.js +0 -259
  1192. package/dist/collection/__mocks__/fileMock.js +0 -1
  1193. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  1194. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  1195. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  1196. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  1197. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  1198. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  1199. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  1200. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  1201. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  1202. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  1203. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  1204. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  1205. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  1206. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  1207. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  1208. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  1209. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  1210. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  1211. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  1212. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  1213. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  1214. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  1215. package/dist/collection/components/z-app-header/index.stories.js +0 -318
  1216. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  1217. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  1218. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  1219. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  1220. package/dist/collection/components/z-button/index.stories.js +0 -103
  1221. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  1222. package/dist/collection/components/z-card/index.stories.js +0 -302
  1223. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  1224. package/dist/collection/components/z-chip/index.stories.js +0 -69
  1225. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  1226. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  1227. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  1228. package/dist/collection/components/z-divider/index.stories.js +0 -44
  1229. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  1230. package/dist/collection/components/z-icon/index.stories.js +0 -70
  1231. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  1232. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  1233. package/dist/collection/components/z-input/index.stories.js +0 -293
  1234. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  1235. package/dist/collection/components/z-logo/index.stories.js +0 -25
  1236. package/dist/collection/components/z-menu/index.stories.js +0 -122
  1237. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  1238. package/dist/collection/components/z-modal/index.stories.js +0 -201
  1239. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  1240. package/dist/collection/components/z-notification/index.stories.js +0 -174
  1241. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  1242. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  1243. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  1244. package/dist/collection/components/z-popover/index.stories.js +0 -282
  1245. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  1246. package/dist/collection/components/z-searchbar/index.stories.js +0 -332
  1247. package/dist/collection/components/z-select/index.stories.js +0 -359
  1248. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  1249. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  1250. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  1251. package/dist/collection/components/z-tag/index.stories.js +0 -63
  1252. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  1253. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  1254. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  1255. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  1256. package/dist/collection/components/z-tool/index.stories.js +0 -146
  1257. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  1258. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  1259. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  1260. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  1261. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  1262. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  1263. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  1264. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  1265. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  1266. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  1267. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  1268. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  1269. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  1270. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  1271. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  1272. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  1273. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  1274. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  1275. package/dist/esm/iconset-CjHS9zeM.js +0 -1024
  1276. package/dist/esm/index-BKCj6NR2.js +0 -405
  1277. package/dist/esm/index-DPdXlnVe.js +0 -2653
  1278. package/dist/esm/utils-DYd3kO0P.js +0 -244
  1279. package/dist/esm/utils-DuuLzXZj.js +0 -2712
  1280. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  1281. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  1282. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  1283. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  1284. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  1285. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  1286. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  1287. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  1288. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  1289. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  1290. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  1291. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  1292. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  1293. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  1294. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  1295. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  1296. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  1297. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  1298. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  1299. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  1300. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  1301. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  1302. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  1303. package/dist/types/components/z-app-header/index.stories.d.ts +0 -128
  1304. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  1305. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  1306. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  1307. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  1308. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  1309. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  1310. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  1311. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  1312. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  1313. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  1314. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  1315. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  1316. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  1317. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  1318. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  1319. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  1320. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  1321. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  1322. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  1323. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  1324. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  1325. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  1326. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  1327. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  1328. package/dist/types/components/z-notification/index.stories.d.ts +0 -77
  1329. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  1330. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  1331. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  1332. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  1333. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  1334. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -163
  1335. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  1336. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  1337. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  1338. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  1339. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  1340. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  1341. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  1342. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  1343. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  1344. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  1345. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  1346. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  1347. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  1348. package/dist/web-components-library/p-087956fa.entry.js +0 -1
  1349. package/dist/web-components-library/p-10e5e16e.entry.js +0 -1
  1350. package/dist/web-components-library/p-13e7f751.entry.js +0 -1
  1351. package/dist/web-components-library/p-14b804f9.entry.js +0 -1
  1352. package/dist/web-components-library/p-1580db58.entry.js +0 -1
  1353. package/dist/web-components-library/p-15825811.entry.js +0 -1
  1354. package/dist/web-components-library/p-1993b0ad.entry.js +0 -1
  1355. package/dist/web-components-library/p-1a95491d.entry.js +0 -1
  1356. package/dist/web-components-library/p-1d023220.entry.js +0 -1
  1357. package/dist/web-components-library/p-21c85e04.entry.js +0 -1
  1358. package/dist/web-components-library/p-23b46642.entry.js +0 -1
  1359. package/dist/web-components-library/p-299f0f85.entry.js +0 -1
  1360. package/dist/web-components-library/p-29dde955.entry.js +0 -1
  1361. package/dist/web-components-library/p-2c036e17.entry.js +0 -1
  1362. package/dist/web-components-library/p-2d4c01c3.entry.js +0 -1
  1363. package/dist/web-components-library/p-2dabe353.entry.js +0 -1
  1364. package/dist/web-components-library/p-2df6d169.entry.js +0 -1
  1365. package/dist/web-components-library/p-2ef82e17.entry.js +0 -1
  1366. package/dist/web-components-library/p-324933f6.entry.js +0 -1
  1367. package/dist/web-components-library/p-37e84b71.entry.js +0 -1
  1368. package/dist/web-components-library/p-3c53e451.entry.js +0 -1
  1369. package/dist/web-components-library/p-3ea03d34.entry.js +0 -1
  1370. package/dist/web-components-library/p-41584e90.entry.js +0 -1
  1371. package/dist/web-components-library/p-50e10a10.entry.js +0 -1
  1372. package/dist/web-components-library/p-52899754.entry.js +0 -1
  1373. package/dist/web-components-library/p-53670be4.entry.js +0 -1
  1374. package/dist/web-components-library/p-583b8152.entry.js +0 -1
  1375. package/dist/web-components-library/p-5a05dc1e.entry.js +0 -1
  1376. package/dist/web-components-library/p-5d20fc3d.entry.js +0 -1
  1377. package/dist/web-components-library/p-622466f9.entry.js +0 -1
  1378. package/dist/web-components-library/p-658f022d.entry.js +0 -1
  1379. package/dist/web-components-library/p-6bd35edf.entry.js +0 -1
  1380. package/dist/web-components-library/p-7226f07a.entry.js +0 -1
  1381. package/dist/web-components-library/p-7371a543.entry.js +0 -2
  1382. package/dist/web-components-library/p-77bf39a4.entry.js +0 -1
  1383. package/dist/web-components-library/p-788eaac7.entry.js +0 -1
  1384. package/dist/web-components-library/p-7bf7539a.entry.js +0 -1
  1385. package/dist/web-components-library/p-81eb43fd.entry.js +0 -1
  1386. package/dist/web-components-library/p-8261c869.entry.js +0 -1
  1387. package/dist/web-components-library/p-83da1031.entry.js +0 -1
  1388. package/dist/web-components-library/p-85cac60d.entry.js +0 -1
  1389. package/dist/web-components-library/p-88a3ba7c.entry.js +0 -1
  1390. package/dist/web-components-library/p-8a8df4f4.entry.js +0 -1
  1391. package/dist/web-components-library/p-8b026993.entry.js +0 -1
  1392. package/dist/web-components-library/p-8d7e2e16.entry.js +0 -1
  1393. package/dist/web-components-library/p-8de064a4.entry.js +0 -1
  1394. package/dist/web-components-library/p-8f4a04aa.entry.js +0 -1
  1395. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1396. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1397. package/dist/web-components-library/p-CPsEG702.js +0 -1
  1398. package/dist/web-components-library/p-CjHS9zeM.js +0 -1
  1399. package/dist/web-components-library/p-DPdXlnVe.js +0 -2
  1400. package/dist/web-components-library/p-a4f673f8.entry.js +0 -1
  1401. package/dist/web-components-library/p-aa4fc3d3.entry.js +0 -1
  1402. package/dist/web-components-library/p-aa72d766.entry.js +0 -1
  1403. package/dist/web-components-library/p-ad2cd7fc.entry.js +0 -1
  1404. package/dist/web-components-library/p-b6223d7e.entry.js +0 -1
  1405. package/dist/web-components-library/p-b851f20b.entry.js +0 -1
  1406. package/dist/web-components-library/p-b9343431.entry.js +0 -1
  1407. package/dist/web-components-library/p-be354b22.entry.js +0 -1
  1408. package/dist/web-components-library/p-c42ddd93.entry.js +0 -1
  1409. package/dist/web-components-library/p-c4e7bd16.entry.js +0 -1
  1410. package/dist/web-components-library/p-c944a943.entry.js +0 -1
  1411. package/dist/web-components-library/p-cd33f4b1.entry.js +0 -1
  1412. package/dist/web-components-library/p-cdd88182.entry.js +0 -16
  1413. package/dist/web-components-library/p-d3053434.entry.js +0 -1
  1414. package/dist/web-components-library/p-d63665c1.entry.js +0 -1
  1415. package/dist/web-components-library/p-dabccb20.entry.js +0 -1
  1416. package/dist/web-components-library/p-dc5ab2cc.entry.js +0 -1
  1417. package/dist/web-components-library/p-dfd43710.entry.js +0 -1
  1418. package/dist/web-components-library/p-e1d0a6e3.entry.js +0 -1
  1419. package/dist/web-components-library/p-e48497f0.entry.js +0 -1
  1420. package/dist/web-components-library/p-ec4940ce.entry.js +0 -1
  1421. package/dist/web-components-library/p-eddc2d19.entry.js +0 -1
  1422. package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
  1423. package/dist/web-components-library/p-f7e46ef2.entry.js +0 -1
  1424. package/www/build/p-087956fa.entry.js +0 -1
  1425. package/www/build/p-10e5e16e.entry.js +0 -1
  1426. package/www/build/p-13e7f751.entry.js +0 -1
  1427. package/www/build/p-14b804f9.entry.js +0 -1
  1428. package/www/build/p-1580db58.entry.js +0 -1
  1429. package/www/build/p-15825811.entry.js +0 -1
  1430. package/www/build/p-1993b0ad.entry.js +0 -1
  1431. package/www/build/p-1a95491d.entry.js +0 -1
  1432. package/www/build/p-1d023220.entry.js +0 -1
  1433. package/www/build/p-21c85e04.entry.js +0 -1
  1434. package/www/build/p-23b46642.entry.js +0 -1
  1435. package/www/build/p-299f0f85.entry.js +0 -1
  1436. package/www/build/p-29dde955.entry.js +0 -1
  1437. package/www/build/p-2c036e17.entry.js +0 -1
  1438. package/www/build/p-2d4c01c3.entry.js +0 -1
  1439. package/www/build/p-2dabe353.entry.js +0 -1
  1440. package/www/build/p-2df6d169.entry.js +0 -1
  1441. package/www/build/p-2ef82e17.entry.js +0 -1
  1442. package/www/build/p-324933f6.entry.js +0 -1
  1443. package/www/build/p-37e84b71.entry.js +0 -1
  1444. package/www/build/p-3c53e451.entry.js +0 -1
  1445. package/www/build/p-3ea03d34.entry.js +0 -1
  1446. package/www/build/p-41584e90.entry.js +0 -1
  1447. package/www/build/p-50e10a10.entry.js +0 -1
  1448. package/www/build/p-52899754.entry.js +0 -1
  1449. package/www/build/p-53670be4.entry.js +0 -1
  1450. package/www/build/p-583b8152.entry.js +0 -1
  1451. package/www/build/p-5a05dc1e.entry.js +0 -1
  1452. package/www/build/p-5d20fc3d.entry.js +0 -1
  1453. package/www/build/p-622466f9.entry.js +0 -1
  1454. package/www/build/p-658f022d.entry.js +0 -1
  1455. package/www/build/p-6bd35edf.entry.js +0 -1
  1456. package/www/build/p-7226f07a.entry.js +0 -1
  1457. package/www/build/p-7371a543.entry.js +0 -2
  1458. package/www/build/p-77bf39a4.entry.js +0 -1
  1459. package/www/build/p-788eaac7.entry.js +0 -1
  1460. package/www/build/p-7bf7539a.entry.js +0 -1
  1461. package/www/build/p-81eb43fd.entry.js +0 -1
  1462. package/www/build/p-8261c869.entry.js +0 -1
  1463. package/www/build/p-83da1031.entry.js +0 -1
  1464. package/www/build/p-85cac60d.entry.js +0 -1
  1465. package/www/build/p-88a3ba7c.entry.js +0 -1
  1466. package/www/build/p-8a8df4f4.entry.js +0 -1
  1467. package/www/build/p-8b026993.entry.js +0 -1
  1468. package/www/build/p-8d7e2e16.entry.js +0 -1
  1469. package/www/build/p-8de064a4.entry.js +0 -1
  1470. package/www/build/p-8f4a04aa.entry.js +0 -1
  1471. package/www/build/p-B8WJfd4z.js +0 -1
  1472. package/www/build/p-BKCj6NR2.js +0 -1
  1473. package/www/build/p-CPsEG702.js +0 -1
  1474. package/www/build/p-CjHS9zeM.js +0 -1
  1475. package/www/build/p-DPdXlnVe.js +0 -2
  1476. package/www/build/p-a4f673f8.entry.js +0 -1
  1477. package/www/build/p-aa4fc3d3.entry.js +0 -1
  1478. package/www/build/p-aa72d766.entry.js +0 -1
  1479. package/www/build/p-ad2cd7fc.entry.js +0 -1
  1480. package/www/build/p-b6223d7e.entry.js +0 -1
  1481. package/www/build/p-b851f20b.entry.js +0 -1
  1482. package/www/build/p-b9343431.entry.js +0 -1
  1483. package/www/build/p-be354b22.entry.js +0 -1
  1484. package/www/build/p-c42ddd93.entry.js +0 -1
  1485. package/www/build/p-c4e7bd16.entry.js +0 -1
  1486. package/www/build/p-c5c5a64f.js +0 -1
  1487. package/www/build/p-c60c851a.css +0 -2636
  1488. package/www/build/p-c944a943.entry.js +0 -1
  1489. package/www/build/p-cd33f4b1.entry.js +0 -1
  1490. package/www/build/p-cdd88182.entry.js +0 -16
  1491. package/www/build/p-d3053434.entry.js +0 -1
  1492. package/www/build/p-d63665c1.entry.js +0 -1
  1493. package/www/build/p-dabccb20.entry.js +0 -1
  1494. package/www/build/p-dc5ab2cc.entry.js +0 -1
  1495. package/www/build/p-dfd43710.entry.js +0 -1
  1496. package/www/build/p-e1d0a6e3.entry.js +0 -1
  1497. package/www/build/p-e48497f0.entry.js +0 -1
  1498. package/www/build/p-ec4940ce.entry.js +0 -1
  1499. package/www/build/p-eddc2d19.entry.js +0 -1
  1500. package/www/build/p-ef5018bb.entry.js +0 -1
  1501. package/www/build/p-f7e46ef2.entry.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","typographyCss","ZBookCard","constructor","hostRef","this","variant","BookCardVariant","PORTRAIT","isbnLabel","linkTarget","hasMultipleCovers","emitEbookClick","ebookClick","emit","emitCoverClick","coverClick","emitTitleClick","titleClick","renderCover","CoverTag","ebookUrl","coverAttrs","href","onClick","target","h","Object","assign","class","cover","fallbackCover","multiple","name","slot","renderYear","year","renderAuthors","authors","LANDSCAPE","renderCtaSlot","renderOperaTitle","title","titleHtmlTag","operaTitle","innerHTML","renderVolumeTitle","volumeTitle","renderIsbn","isbn","renderEbook","size","ControlSize","X_SMALL","htmlrole","render","Host","key"],"sources":["src/components/book-card/z-book-card/styles.css?tag=z-book-card&encapsulation=shadow","src/tokens/typography.css?tag=z-book-card&encapsulation=shadow","src/components/css-components/z-link/styles.css?tag=z-book-card&encapsulation=shadow","src/components/book-card/z-book-card/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-book-card-portrait-cover-height: Set custom cover height for portrait variant - Default: `378px`\n * @prop --z-book-card-title-lines: Set title avilable lines - Default: `2`\n * @prop --z-book-card-title-word-break: Set title word-break rule - Default: `initial`\n * @prop --z-book-card-subtitle-lines: Set subtitle available lines - Default: `1`\n * @prop --z-book-card-subtitle-word-break: Set subtitle word-break rule - Default: `break-all`\n * @prop --z-book-card-authors-lines: Set authors available lines - Default: `1`\n * @prop --z-book-card-authors-word-break: Set authors word-break rule - Default: `break-all`\n */\n --z-book-card-portrait-cover-height: 378px;\n --z-book-card-title-lines: 2;\n --z-book-card-title-word-break: initial;\n --z-book-card-subtitle-lines: 1;\n --z-book-card-subtitle-word-break: break-all;\n --z-book-card-authors-lines: 1;\n --z-book-card-authors-word-break: break-all;\n\n display: flex;\n width: 304px;\n box-sizing: border-box;\n flex-direction: column;\n border: solid var(--border-size-medium) var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n.main-content {\n display: flex;\n height: 100%;\n flex-direction: column;\n padding: var(--space-unit);\n gap: var(--space-unit);\n}\n\n.main-content .cover {\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: flex-end;\n justify-content: center;\n border-radius: var(--border-radius);\n}\n\n.main-content .cover z-book-cover {\n --z-book-cover-height: var(--z-book-card-portrait-cover-height);\n}\n\n.main-content a.cover:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.main-content .card-info {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: space-between;\n gap: var(--space-unit);\n}\n\n.main-content .card-info .top {\n display: flex;\n flex-direction: column;\n gap: calc(var(--space-unit) * 2);\n}\n\n.main-content .card-info .top ::slotted([slot=\"tags\"]) {\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-unit);\n}\n\n.main-content .card-info .top ::slotted([slot=\"data\"]) {\n display: flex;\n justify-content: space-between;\n}\n\n.main-content .card-info .top .ellipsis {\n display: -webkit-box;\n overflow: hidden;\n height: 1.4rem;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n line-clamp: 1;\n line-height: 1.4rem;\n text-overflow: ellipsis;\n word-break: break-all;\n}\n\n.main-content .card-info .top .ellipsis.opera-title {\n height: auto;\n max-height: calc(1.5rem * var(--z-book-card-title-lines));\n -webkit-line-clamp: var(--z-book-card-title-lines);\n line-clamp: var(--z-book-card-title-lines);\n line-height: 1.5rem;\n word-break: var(--z-book-card-title-word-break);\n}\n\n.main-content .card-info .top .ellipsis.volume-title {\n height: auto;\n max-height: calc(1.4rem * var(--z-book-card-subtitle-lines));\n -webkit-line-clamp: var(--z-book-card-subtitle-lines);\n line-clamp: var(--z-book-card-subtitle-lines);\n line-height: 1.4rem;\n word-break: var(--z-book-card-subtitle-word-break);\n}\n\n.main-content .card-info .top .ellipsis.authors {\n height: auto;\n max-height: calc(1.4rem * var(--z-book-card-authors-lines));\n -webkit-line-clamp: var(--z-book-card-authors-lines);\n line-clamp: var(--z-book-card-authors-lines);\n line-height: 1.4rem;\n word-break: var(--z-book-card-authors-word-break);\n}\n\n.main-content .card-info .top .opera-title * {\n all: unset;\n}\n\n.main-content .cta-wrapper {\n display: flex;\n justify-content: space-between;\n gap: calc(var(--space-unit) / 2);\n}\n\n.main-content .card-info .top .link-chip-wrapper {\n display: flex;\n justify-content: space-between;\n}\n\n.main-content .card-info .bottom .ebook {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: var(--space-unit);\n background-color: var(--color-primary02);\n border-radius: var(--border-radius);\n gap: var(--space-unit);\n}\n\n.main-content .card-info .bottom .ebook .app-name {\n display: flex;\n align-items: center;\n padding: calc(var(--space-unit) / 2) 0;\n font-family: var(--font-family-serif);\n gap: calc(var(--space-unit) / 2);\n}\n\n.main-content .card-info .bottom .ebook .app-name .ebook-logo {\n width: 1.5rem;\n height: 1.5rem;\n content: url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");\n}\n\n:host([variant=\"landscape\"]) {\n width: 635px;\n min-height: max(332px, 20.75rem);\n padding: 0;\n}\n\n:host([variant=\"landscape\"]) .main-content {\n min-height: max(332px, 20.75rem);\n flex-direction: row;\n padding: calc(var(--space-unit) * 2);\n gap: calc(var(--space-unit) * 2);\n}\n\n:host([variant=\"landscape\"]) .main-content .cover z-book-cover {\n --z-book-cover-height: 300px;\n}\n\n:host([variant=\"landscape\"]) .main-content .card-info,\n:host([variant=\"landscape\"]) .main-content .card-info .top {\n gap: calc(var(--space-unit) / 2);\n}\n\n@media (max-width: 767px) {\n :host([variant=\"portrait\"]) {\n width: 100%;\n max-width: 400px;\n }\n}\n",":root {\n /* font-family */\n --font-family-sans: \"IBM Plex Sans\", sans-serif;\n --font-family-serif: \"IBM Plex Serif\", serif;\n\n /* font-weight */\n --font-lt: 300;\n --font-rg: 400;\n --font-sb: 600;\n --font-bd: 700;\n\n /* font-size type scale */\n --font-size-1: 0.75rem; /* 12px */\n --font-size-2: 0.875rem; /* 14px */\n --font-size-3: 1rem; /* assuming 16px */\n --font-size-4: 1.125rem; /* 18px */\n --font-size-5: 1.25rem; /* 20px */\n --font-size-6: 1.5rem; /* 24px */\n --font-size-7: 1.75rem; /* 28px */\n --font-size-8: 2rem; /* 32px */\n --font-size-9: 2.25rem; /* 36px */\n --font-size-10: 2.625rem; /* 42px */\n --font-size-11: 3rem; /* 48px */\n --font-size-12: 3.375rem; /* 54px */\n --font-size-13: 3.75rem; /* 60px */\n --font-size-14: 4.25rem; /* 68px */\n --font-size-15: 4.75rem; /* 76px */\n --font-size-16: 5.25rem; /* 84px */\n --font-size-17: 5.75rem; /* 92px */\n\n /* cssprops to use with `font` shorthand property */\n --section-title-1: var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);\n --section-title-2: var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);\n --section-title-3: var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);\n --section-title-4: var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);\n --section-title-5: var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);\n --section-title-6: var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif);\n}\n\n/* Typography classes */\n.heading-1,\n.heading-1-sb,\n.heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n}\n\n.heading-2,\n.heading-2-sb,\n.heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-3,\n.heading-3-sb,\n.heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-4,\n.heading-4-sb,\n.heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-1,\n.body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-2,\n.body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-3,\n.body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-4,\n.body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.body-5,\n.body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.interactive-1,\n.interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.interactive-2,\n.interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.interactive-3,\n.interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.helper,\n.helper-sb {\n font-size: var(--font-size-1);\n font-style: italic;\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n/* section title */\n.section-title-1 {\n font: var(--section-title-1);\n}\n\n.section-title-2 {\n font: var(--section-title-2);\n}\n\n.section-title-3 {\n font: var(--section-title-3);\n}\n\n.section-title-4 {\n font: var(--section-title-4);\n}\n\n.section-title-5 {\n font: var(--section-title-5);\n}\n\n.section-title-6 {\n font: var(--section-title-6);\n}\n\n/* heading-1/2 for desktop and wide viewports */\n@media (min-width: 1152px) {\n .heading-1,\n .heading-1-sb,\n .heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .heading-2,\n .heading-2-sb,\n .heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n}\n\n/* viewport classes */\n@media (max-width: 767px) {\n .mobile-heading-1,\n .mobile-heading-1-sb,\n .mobile-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .mobile-heading-2,\n .mobile-heading-2-sb,\n .mobile-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-3,\n .mobile-heading-3-sb,\n .mobile-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-4,\n .mobile-heading-4-sb,\n .mobile-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-1,\n .mobile-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-2,\n .mobile-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-3,\n .mobile-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-4,\n .mobile-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-body-5,\n .mobile-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-interactive-1,\n .mobile-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-interactive-2,\n .mobile-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-interactive-3,\n .mobile-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-section-title-1 {\n font: var(--section-title-1);\n }\n\n .mobile-section-title-2 {\n font: var(--section-title-2);\n }\n\n .mobile-section-title-3 {\n font: var(--section-title-3);\n }\n\n .mobile-section-title-4 {\n font: var(--section-title-4);\n }\n\n .mobile-section-title-5 {\n font: var(--section-title-5);\n }\n\n .mobile-section-title-6 {\n font: var(--section-title-6);\n }\n\n .mobile-heading-1-lt,\n .mobile-heading-2-lt,\n .mobile-heading-3-lt,\n .mobile-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .mobile-heading-1-sb,\n .mobile-heading-2-sb,\n .mobile-heading-3-sb,\n .mobile-heading-4-sb,\n .mobile-body-1-sb,\n .mobile-body-2-sb,\n .mobile-body-3-sb,\n .mobile-body-4-sb,\n .mobile-body-5-sb,\n .mobile-interactive-1-sb,\n .mobile-interactive-2-sb,\n .mobile-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 768px) and (max-width: 1151px) {\n .tablet-heading-1,\n .tablet-heading-1-sb,\n .tablet-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .tablet-heading-2,\n .tablet-heading-2-sb,\n .tablet-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-3,\n .tablet-heading-3-sb,\n .tablet-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-4,\n .tablet-heading-4-sb,\n .tablet-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-1,\n .tablet-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-2,\n .tablet-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-3,\n .tablet-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-4,\n .tablet-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-body-5,\n .tablet-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-interactive-1,\n .tablet-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-interactive-2,\n .tablet-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-interactive-3,\n .tablet-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-section-title-1 {\n font: var(--section-title-1);\n }\n\n .tablet-section-title-2 {\n font: var(--section-title-2);\n }\n\n .tablet-section-title-3 {\n font: var(--section-title-3);\n }\n\n .tablet-section-title-4 {\n font: var(--section-title-4);\n }\n\n .tablet-section-title-5 {\n font: var(--section-title-5);\n }\n\n .tablet-section-title-6 {\n font: var(--section-title-6);\n }\n\n .tablet-heading-1-lt,\n .tablet-heading-2-lt,\n .tablet-heading-3-lt,\n .tablet-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .tablet-heading-1-sb,\n .tablet-heading-2-sb,\n .tablet-heading-3-sb,\n .tablet-heading-4-sb,\n .tablet-body-1-sb,\n .tablet-body-2-sb,\n .tablet-body-3-sb,\n .tablet-body-4-sb,\n .tablet-body-5-sb,\n .tablet-interactive-1-sb,\n .tablet-interactive-2-sb,\n .tablet-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1152px) and (max-width: 1365px) {\n .desktop-heading-1,\n .desktop-heading-1-sb,\n .desktop-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .desktop-heading-2,\n .desktop-heading-2-sb,\n .desktop-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .desktop-heading-3,\n .desktop-heading-3-sb,\n .desktop-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .desktop-heading-4,\n .desktop-heading-4-sb,\n .desktop-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-1,\n .desktop-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-2,\n .desktop-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-3,\n .desktop-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-4,\n .desktop-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-body-5,\n .desktop-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-interactive-1,\n .desktop-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-interactive-2,\n .desktop-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-interactive-3,\n .desktop-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-section-title-1 {\n font: var(--section-title-1);\n }\n\n .desktop-section-title-2 {\n font: var(--section-title-2);\n }\n\n .desktop-section-title-3 {\n font: var(--section-title-3);\n }\n\n .desktop-section-title-4 {\n font: var(--section-title-4);\n }\n\n .desktop-section-title-5 {\n font: var(--section-title-5);\n }\n\n .desktop-section-title-6 {\n font: var(--section-title-6);\n }\n\n .desktop-heading-1-lt,\n .desktop-heading-2-lt,\n .desktop-heading-3-lt,\n .desktop-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .desktop-heading-1-sb,\n .desktop-heading-2-sb,\n .desktop-heading-3-sb,\n .desktop-heading-4-sb,\n .desktop-body-1-sb,\n .desktop-body-2-sb,\n .desktop-body-3-sb,\n .desktop-body-4-sb,\n .desktop-body-5-sb,\n .desktop-interactive-1-sb,\n .desktop-interactive-2-sb,\n .desktop-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1366px) {\n .wide-heading-1,\n .wide-heading-1-sb,\n .wide-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .wide-heading-2,\n .wide-heading-2-sb,\n .wide-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .wide-heading-3,\n .wide-heading-3-sb,\n .wide-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .wide-heading-4,\n .wide-heading-4-sb,\n .wide-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-1,\n .wide-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-2,\n .wide-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-3,\n .wide-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-4,\n .wide-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-body-5,\n .wide-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-interactive-1,\n .wide-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-interactive-2,\n .wide-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-interactive-3,\n .wide-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-section-title-1 {\n font: var(--section-title-1);\n }\n\n .wide-section-title-2 {\n font: var(--section-title-2);\n }\n\n .wide-section-title-3 {\n font: var(--section-title-3);\n }\n\n .wide-section-title-4 {\n font: var(--section-title-4);\n }\n\n .wide-section-title-5 {\n font: var(--section-title-5);\n }\n\n .wide-section-title-6 {\n font: var(--section-title-6);\n }\n\n .wide-heading-1-lt,\n .wide-heading-2-lt,\n .wide-heading-3-lt,\n .wide-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .wide-heading-1-sb,\n .wide-heading-2-sb,\n .wide-heading-3-sb,\n .wide-heading-4-sb,\n .wide-body-1-sb,\n .wide-body-2-sb,\n .wide-body-3-sb,\n .wide-body-4-sb,\n .wide-body-5-sb,\n .wide-interactive-1-sb,\n .wide-interactive-2-sb,\n .wide-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n/* font-weight variants */\n.heading-1-lt,\n.heading-2-lt,\n.heading-3-lt,\n.heading-4-lt {\n font-weight: var(--font-lt);\n}\n\n.heading-1-sb,\n.heading-2-sb,\n.heading-3-sb,\n.heading-4-sb,\n.body-1-sb,\n.body-2-sb,\n.body-3-sb,\n.body-4-sb,\n.body-5-sb,\n.interactive-1-sb,\n.interactive-2-sb,\n.interactive-3-sb,\n.helper-sb {\n font-weight: var(--font-sb);\n}\n","button.z-link {\n padding: 0;\n border: 0;\n margin: 0;\n background-color: transparent;\n}\n\na.z-link,\nbutton.z-link {\n display: inline-flex;\n cursor: pointer;\n font-family: var(--font-family-sans);\n line-height: inherit;\n text-decoration: none;\n}\n\na.z-link.z-link-icon,\nbutton.z-link.z-link-icon {\n --z-icon-width: 1.125em;\n --z-icon-height: 1.125em;\n\n align-items: center;\n column-gap: 0.5em;\n}\n\na.z-link.z-link-sb,\nbutton.z-link.z-link-sb {\n font-weight: var(--font-sb);\n}\n\na.z-link.z-link-underline,\nbutton.z-link.z-link-underline {\n text-decoration: underline;\n}\n\na.z-link:hover,\nbutton.z-link:hover,\na.z-link:focus-visible,\nbutton.z-link:focus-visible,\na.z-link:active,\nbutton.z-link:active {\n text-decoration: underline;\n}\n\na.z-link:focus-visible,\nbutton.z-link:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\na.z-link.z-link-disabled,\nbutton.z-link.z-link-disabled {\n box-shadow: none;\n color: var(--color-disabled03);\n cursor: default;\n fill: var(--color-disabled03);\n outline: none;\n pointer-events: none;\n text-decoration: none;\n}\n\na.z-link,\nbutton.z-link,\na.z-link.z-link-active,\nbutton.z-link.z-link-active,\na.z-link:hover,\nbutton.z-link:hover,\na.z-link.z-link-active:hover,\nbutton.z-link.z-link-active:hover,\na.z-link:focus-visible,\nbutton.z-link:focus-visible,\na.z-link.z-link-active:focus-visible,\nbutton.z-link.z-link-active:focus-visible,\na.z-link:active,\nbutton.z-link:active,\na.z-link.z-link-active:active,\nbutton.z-link.z-link-active:active,\na.z-link:visited,\nbutton.z-link:visited,\na.z-link.z-link-active:visited,\nbutton.z-link.z-link-active:visited {\n color: var(--color-text-link-default);\n fill: var(--color-text-link-default);\n}\n\na.z-link.z-link-blue,\nbutton.z-link.z-link-blue,\na.z-link.z-link-blue.z-link-active,\nbutton.z-link.z-link-blue.z-link-active {\n color: var(--color-text-link-blue);\n fill: var(--color-text-link-blue);\n}\n\na.z-link.z-link-red,\nbutton.z-link.z-link-red,\na.z-link.z-link-red.z-link-active,\nbutton.z-link.z-link-red.z-link-active {\n color: var(--color-text-link-red);\n fill: var(--color-text-link-red);\n}\n\na.z-link.z-link-inverse,\nbutton.z-link.z-link-inverse,\na.z-link.z-link-inverse.z-link-active,\nbutton.z-link.z-link-inverse.z-link-active {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:hover,\nbutton.z-link.z-link-blue:hover {\n color: var(--color-text-link-blue-hover);\n fill: var(--color-text-link-blue-hover);\n}\n\na.z-link.z-link-red:hover,\nbutton.z-link.z-link-red:hover {\n color: var(--color-text-link-red-hover);\n fill: var(--color-text-link-red-hover);\n}\n\na.z-link.z-link-inverse:hover,\nbutton.z-link.z-link-inverse:hover {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:active,\nbutton.z-link.z-link-blue:active,\na.z-link.z-link-blue:focus-visible,\nbutton.z-link.z-link-blue:focus-visible {\n color: var(--color-text-link-blue-active);\n fill: var(--color-text-link-blue-active);\n}\n\na.z-link.z-link-red:active,\nbutton.z-link.z-link-red:active,\na.z-link.z-link-red:focus-visible,\nbutton.z-link.z-link-red:focus-visible {\n color: var(--color-text-link-red-active);\n fill: var(--color-text-link-red-active);\n}\n\na.z-link.z-link-inverse:active,\nbutton.z-link.z-link-inverse:active,\na.z-link.z-link-inverse:focus-visible,\nbutton.z-link.z-link-inverse:focus-visible {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:visited,\nbutton.z-link.z-link-blue:visited {\n color: var(--color-text-link-blue-visited);\n fill: var(--color-text-link-blue-visited);\n}\n\na.z-link.z-link-red:visited,\nbutton.z-link.z-link-red:visited {\n color: var(--color-text-link-red-visited);\n fill: var(--color-text-link-red-visited);\n}\n\na.z-link.z-link-inverse:visited,\nbutton.z-link.z-link-inverse:visited {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n","import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {BookCardVariant, ControlSize} from \"../../../beans\";\n\n/**\n * @slot cta - Top right cta (e.g. bookmark icon)\n * @slot ebook - As default, it shows laZ ebook link\n * @slot tags - Tags section, default empty\n * @slot data - External link and pill, default empty\n * @slot apps - List of card-related apps, default empty\n * @slot coverOverlay - Content to be displayed in the `z-book-cover` component slot\n */\n@Component({\n tag: \"z-book-card\",\n styleUrls: [\"styles.css\", \"../../../tokens/typography.css\", \"../../css-components/z-link/styles.css\"],\n shadow: true,\n})\nexport class ZBookCard implements ComponentInterface {\n @Element() hostElement: HTMLZBookCardElement;\n\n /** Card variant: landscape, portrait */\n @Prop({reflect: true})\n variant: BookCardVariant = BookCardVariant.PORTRAIT;\n\n /** Cover URL */\n @Prop()\n cover: string;\n\n /** Opera title (card title) */\n @Prop()\n operaTitle: string;\n\n /** [optional] Volume title (card subvolume) */\n @Prop()\n volumeTitle?: string;\n\n /** [optional] Authors */\n @Prop()\n authors?: string;\n\n /** [optional] Main ISBN */\n @Prop()\n isbn?: string;\n\n /** [optional] ISBN label */\n @Prop()\n isbnLabel = \"\";\n\n /** [optional] year */\n @Prop()\n year?: string;\n\n /** [optional] Link to the ebook resource. Creates a link also around the cover and title. */\n @Prop()\n ebookUrl?: string;\n\n /** [optional] Value for the `target` attribute of the links created by `ebookUrl` prop. */\n @Prop()\n linkTarget = \"_blank\";\n\n /** [optional] Fallback cover URL. */\n @Prop()\n fallbackCover?: string;\n\n /** Whether to show a stack of covers to represent multiple books (only for `portrait` variant). */\n @Prop()\n hasMultipleCovers = false;\n\n /** [optional] Set a specific heading level as html tag for the title. */\n @Prop()\n titleHtmlTag?: string;\n\n /** click on ebook link */\n @Event()\n ebookClick: EventEmitter;\n\n /** click on cover link */\n @Event()\n coverClick: EventEmitter;\n\n /** click on title link */\n @Event()\n titleClick: EventEmitter;\n\n private emitEbookClick(): void {\n this.ebookClick.emit();\n }\n\n private emitCoverClick(): void {\n this.coverClick.emit();\n }\n\n private emitTitleClick(): void {\n this.titleClick.emit();\n }\n\n private renderCover(): HTMLDivElement {\n const CoverTag = this.ebookUrl ? \"a\" : \"div\";\n const coverAttrs = this.ebookUrl\n ? {\n href: this.ebookUrl,\n onClick: () => this.emitCoverClick(),\n target: this.linkTarget,\n }\n : {};\n\n return (\n <CoverTag\n class=\"cover\"\n {...coverAttrs}\n >\n <z-book-cover\n cover={this.cover}\n fallbackCover={this.fallbackCover}\n multiple={this.hasMultipleCovers && this.variant === BookCardVariant.PORTRAIT}\n >\n <slot\n name=\"coverOverlay\"\n slot=\"coverOverlay\"\n ></slot>\n </z-book-cover>\n </CoverTag>\n );\n }\n\n private renderYear(): null | HTMLDivElement {\n if (!this.year) {\n return null;\n }\n\n return (\n <div\n class=\"year ellipsis body-4\"\n aria-description=\"anno\"\n >\n {this.year}\n </div>\n );\n }\n\n private renderAuthors(): null | HTMLDivElement {\n if (!this.authors) {\n return null;\n }\n\n return (\n <div class=\"cta-wrapper\">\n <div\n class=\"authors ellipsis body-4\"\n aria-description=\"autori\"\n >\n {this.authors}\n </div>\n {this.variant === BookCardVariant.LANDSCAPE ? this.renderCtaSlot() : null}\n </div>\n );\n }\n\n private renderOperaTitle(): HTMLDivElement {\n const title = this.titleHtmlTag\n ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`\n : this.operaTitle;\n\n const operaTitle = (\n <div\n class=\"opera-title ellipsis body-2-sb\"\n innerHTML={title}\n />\n );\n\n return (\n <div class=\"cta-wrapper\">\n {this.ebookUrl ? (\n <a\n class=\"z-link\"\n href={this.ebookUrl}\n onClick={() => this.emitTitleClick()}\n target={this.linkTarget}\n >\n {operaTitle}\n </a>\n ) : (\n operaTitle\n )}\n {this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null}\n </div>\n );\n }\n\n private renderVolumeTitle(): null | HTMLDivElement {\n if (!this.volumeTitle) {\n return null;\n }\n\n return <div class=\"volume-title ellipsis body-4\">{this.volumeTitle}</div>;\n }\n\n private renderIsbn(): null | HTMLDivElement {\n if (!this.isbn) {\n return null;\n }\n\n return (\n <div\n class=\"isbn ellipsis body-4-sb\"\n aria-description={`isbn ${this.isbnLabel}`}\n >\n {this.isbn} {this.isbnLabel ? <span class=\"body-4\">{this.isbnLabel}</span> : null}\n </div>\n );\n }\n\n private renderEbook(): HTMLDivElement {\n return (\n <div class=\"ebook\">\n <div class=\"app-name\">\n <img\n class=\"ebook-logo\"\n aria-hidden=\"true\"\n />\n <div class=\"body-4-sb\">laZ Ebook</div>\n </div>\n <z-button\n size={ControlSize.X_SMALL}\n href={this.ebookUrl}\n target={this.linkTarget}\n onClick={() => this.emitEbookClick()}\n htmlrole=\"link\"\n aria-description={`leggi l'ebook ${this.operaTitle} su laZ Ebook`}\n >\n leggi ebook\n </z-button>\n </div>\n );\n }\n\n private renderCtaSlot(): HTMLSlotElement {\n return <slot name=\"cta\"></slot>;\n }\n\n render(): HTMLZBookCardElement {\n return (\n <Host>\n <div class=\"main-content\">\n {this.renderCover()}\n <div class=\"card-info\">\n <div class=\"top\">\n <div>\n {this.renderYear()}\n {this.renderAuthors()}\n {this.renderOperaTitle()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n <slot name=\"tags\"></slot>\n <slot name=\"data\"></slot>\n </div>\n <slot name=\"ebook\">{!!this.ebookUrl && <div class=\"bottom\">{this.renderEbook()}</div>}</slot>\n </div>\n </div>\n <slot name=\"apps\"></slot>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as s}from"./p-BcDWN4F1.js";import{h as a}from"./p-C8pbzcmM.js";import"./p-B3nR3-Jw.js";import"./p-Q-tWjk7P.js";const e=()=>`:host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--color-surface03)}:host li span:hover,a:hover{color:var(--color-primary01);fill:var(--color-primary01)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--color-primary01);fill:var(--color-primary01)}`;const o=class{emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}constructor(s){i(this,s);this.zListItemLinkClick=t(this,"zListItemLinkClick",7);this.zListItemClick=t(this,"zListItemClick",7);this.linktarget="_self";this.underlined=true;this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this);this.emitZListItemClick=this.emitZListItemClick.bind(this)}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{key:"5364c5d28f9c27c67edb4e0bdcb1149f82ced9b6",role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{key:"beb568968c53a442f27900b428f0fe5d0ac2703d",class:this.underlined&&"border"},this.icon&&s("z-icon",{key:"60bb559247dc40d349b83469baf081dcd1a23fae",name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",{key:"2c8731d7877f7675d388f8be3eb833a8fcc75bd0"})))}};o.style=e();export{o as z_myz_list_item};
2
+ //# sourceMappingURL=p-474493cc.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMyzListItem","emitZListItemLinkClick","e","linkId","this","zListItemLinkClick","emit","emitZListItemClick","listitemid","zListItemClick","constructor","hostRef","linktarget","underlined","bind","render","h","key","role","id","action","onClick","onKeyPress","ev","handleKeyboardSubmit","class","icon","name","link","href","target","tabindex","text","innerHTML"],"sources":["src/snowflakes/myz/list/z-myz-list-item/styles.css?tag=z-myz-list-item&encapsulation=shadow","src/snowflakes/myz/list/z-myz-list-item/index.tsx"],"sourcesContent":[":host li {\n all: unset;\n all: reset;\n width: 100%;\n line-height: 14px;\n list-style-type: none;\n}\n\n:host li > span {\n display: flex;\n padding: calc(var(--space-unit) * 2) 0;\n color: var(--color-default-text);\n fill: var(--color-default-icon);\n font-family: var(--font-family-sans);\n font-size: 16px;\n font-weight: var(--font-rg);\n letter-spacing: 0.23px;\n line-height: 14px;\n}\n\n:host(.small) li > span {\n padding: calc(var(--space-unit) * 1.5) 0;\n font-size: var(--font-size-2);\n}\n\n:host(.x-small) li > span {\n padding: var(--space-unit) 0;\n font-size: var(--font-size-2);\n}\n\n:host(.small) li > span > z-icon,\n:host(.x-small) li > span > z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n --z-icon-right-margin: calc(var(--space-unit) * 0.5);\n\n padding: 0;\n}\n\n:host li > span.border {\n border-bottom: 2px solid var(--color-surface03);\n}\n\n:host li span:hover,\na:hover {\n color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\na,\na:visited,\na:active {\n color: inherit;\n fill: inherit;\n text-decoration: none;\n}\n\n:host li span z-icon {\n width: calc(var(--space-unit) * 2);\n height: calc(var(--space-unit) * 2);\n padding: 0 calc(var(--space-unit) * 1.5) 0 0;\n background-repeat: no-repeat;\n background-size: contain;\n color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {handleKeyboardSubmit} from \"../../../../utils/utils\";\n\n@Component({\n tag: \"z-myz-list-item\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzListItem implements ComponentInterface {\n /** content text */\n @Prop()\n text: string;\n\n /** link url (optional) */\n @Prop()\n link?: string;\n\n /** link target (optional) */\n @Prop()\n linktarget?: string = \"_self\";\n\n /** icon name (optional) */\n @Prop()\n icon?: string;\n\n /** id (optional) */\n @Prop()\n listitemid?: string;\n\n /** data-action attribute (optional) */\n @Prop()\n action?: string;\n\n /** underlined style flag */\n @Prop()\n underlined = true;\n\n /** emitted on list item link click, returns linkId */\n @Event()\n zListItemLinkClick: EventEmitter;\n\n private emitZListItemLinkClick(e: MouseEvent, linkId): void {\n this.zListItemLinkClick.emit({e, linkId});\n }\n\n /** emitted on list item click, returns listitemid */\n @Event()\n zListItemClick: EventEmitter;\n\n private emitZListItemClick(e: MouseEvent, listitemid): void {\n this.zListItemClick.emit({e, listitemid});\n }\n\n constructor() {\n this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);\n this.emitZListItemClick = this.emitZListItemClick.bind(this);\n }\n\n render(): HTMLLIElement {\n const linkId = this.listitemid ? `link_${this.listitemid}` : \"\";\n\n return (\n <li\n role=\"button\"\n id={this.listitemid}\n data-action={this.action}\n onClick={(e: MouseEvent) => this.emitZListItemClick(e, this.listitemid)}\n onKeyPress={(ev: KeyboardEvent) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid)}\n >\n <span class={this.underlined && \"border\"}>\n {this.icon && <z-icon name={this.icon} />}\n {this.link ? (\n <a\n href={this.link ? this.link : null}\n target={this.linktarget}\n id={linkId}\n onClick={(e: MouseEvent) => this.emitZListItemLinkClick(e, linkId)}\n onKeyPress={(ev: KeyboardEvent) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId)}\n role={this.link ? \"link\" : \"button\"}\n tabindex=\"0\"\n >\n {this.text}\n </a>\n ) : (\n <span innerHTML={this.text}></span>\n )}\n <slot />\n </span>\n </li>\n );\n }\n}\n"],"mappings":"sIAAA,MAAMA,EAAY,IAAM,smC,MCQXC,EAAY,MAiCf,sBAAAC,CAAuBC,EAAeC,GAC5CC,KAAKC,mBAAmBC,KAAK,CAACJ,IAAGC,U,CAO3B,kBAAAI,CAAmBL,EAAeM,GACxCJ,KAAKK,eAAeH,KAAK,CAACJ,IAAGM,c,CAG/B,WAAAE,CAAAC,G,gHAlCAP,KAAAQ,WAAsB,QAgBtBR,KAAAS,WAAa,KAmBXT,KAAKH,uBAAyBG,KAAKH,uBAAuBa,KAAKV,MAC/DA,KAAKG,mBAAqBH,KAAKG,mBAAmBO,KAAKV,KACxD,CAED,MAAAW,GACE,MAAMZ,EAASC,KAAKI,WAAa,QAAQJ,KAAKI,aAAe,GAE7D,OACEQ,EAAA,MAAAC,IAAA,2CACEC,KAAK,SACLC,GAAIf,KAAKI,WAAU,cACNJ,KAAKgB,OAClBC,QAAUnB,GAAkBE,KAAKG,mBAAmBL,EAAGE,KAAKI,YAC5Dc,WAAaC,GAAsBC,EAAqBD,EAAInB,KAAKG,mBAAoBH,KAAKI,aAE1FQ,EAAA,QAAAC,IAAA,2CAAMQ,MAAOrB,KAAKS,YAAc,UAC7BT,KAAKsB,MAAQV,EAAA,UAAAC,IAAA,2CAAQU,KAAMvB,KAAKsB,OAChCtB,KAAKwB,KACJZ,EAAA,KACEa,KAAMzB,KAAKwB,KAAOxB,KAAKwB,KAAO,KAC9BE,OAAQ1B,KAAKQ,WACbO,GAAIhB,EACJkB,QAAUnB,GAAkBE,KAAKH,uBAAuBC,EAAGC,GAC3DmB,WAAaC,GAAsBC,EAAqBD,EAAInB,KAAKH,uBAAwBE,GACzFe,KAAMd,KAAKwB,KAAO,OAAS,SAC3BG,SAAS,KAER3B,KAAK4B,MAGRhB,EAAA,QAAMiB,UAAW7B,KAAK4B,OAExBhB,EAAA,QAAAC,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as i,d as o}from"./p-BcDWN4F1.js";import{y as s,D as r}from"./p-B3nR3-Jw.js";const a=()=>`:host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);font-weight:var(--font-sb);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}`;const l=class{constructor(e){t(this,e);this.dividerPosition=s.BEFORE;this.uppercase=true}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,{key:"020c1a41ff7fa0881464463322b54754e7664957"},e("slot",{key:"c6d7baf944465d1092749cf288636fcd502e659c",name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{key:"ea70a8579ed61ba8b1d6488566473b90c47540d1",size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{key:"4cf602491394aaf97cead51bbc7f9b2da299bef3",name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{key:"47275d6411b00769db2e244bad13032d43cc9144",size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};l.style=a();export{l as z_section_title};
2
+ //# sourceMappingURL=p-4954dd38.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZSectionTitle","constructor","hostRef","this","dividerPosition","ZSectionTitleDividerPosition","BEFORE","uppercase","componentWillRender","hasSecondaryTitle","host","querySelector","render","h","Host","key","name","size","DividerSize","LARGE","color","AFTER"],"sources":["src/components/deprecated/z-section-title/styles.css?tag=z-section-title&encapsulation=shadow","src/components/deprecated/z-section-title/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-section-title--divider-color: Color of the divider. Use a CSS prop string like `\"--red500\"`. Default is `\"--red500\"`.\n */\n --z-section-title--divider-color: var(--red500);\n\n display: flex;\n width: fit-content;\n flex-direction: column;\n align-items: flex-start;\n font-family: var(--font-family-sans);\n}\n\n:host,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n::slotted(*) {\n margin: 0;\n}\n\n::slotted([slot=\"secondary-title\"]) {\n padding-bottom: calc(var(--space-unit) / 2);\n border-bottom: var(--border-size-large) solid var(--z-section-title--divider-color);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5rem;\n text-transform: uppercase;\n}\n\n::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-6);\n font-weight: var(--font-sb);\n line-height: 2rem;\n}\n\n:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]) {\n text-transform: uppercase;\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n ::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-7);\n line-height: 2.25rem;\n }\n}\n","import {Component, ComponentInterface, Element, h, Host, Prop} from \"@stencil/core\";\nimport {DividerSize, ZSectionTitleDividerPosition} from \"../../../beans\";\n\n/**\n * Section title component.\n * An optional secondary title can be put over the primary one.\n *\n * @slot secondary-title - Slot for the secondary title. When present, the divider is always displayed under it,\n * following its width and removing the one for the primary title.\n * @slot primary-title - Slot for the primary title.\n */\n@Component({\n tag: \"z-section-title\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSectionTitle implements ComponentInterface {\n /**\n * Divider position for the primary title.\n * This prop only works if the secondary title is not set.\n */\n @Prop()\n dividerPosition: ZSectionTitleDividerPosition = ZSectionTitleDividerPosition.BEFORE;\n\n /**\n * Whether the primary title text is uppercase.\n */\n @Prop({reflect: true})\n uppercase = true;\n\n @Element() host: HTMLZSectionTitleElement;\n\n private hasSecondaryTitle: boolean;\n\n componentWillRender(): void {\n this.hasSecondaryTitle = !!this.host.querySelector(\"[slot=secondary-title]\");\n }\n\n render(): HTMLZSectionTitleElement {\n return (\n <Host>\n <slot name=\"secondary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n <slot name=\"primary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,IAAM,ozB,MCgBXC,EAAa,MAL1B,WAAAC,CAAAC,G,UAWEC,KAAAC,gBAAgDC,EAA6BC,OAM7EH,KAAAI,UAAY,IA8Bb,CAxBC,mBAAAC,GACEL,KAAKM,oBAAsBN,KAAKO,KAAKC,cAAc,yB,CAGrD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,qBACTb,KAAKM,mBAAqBN,KAAKC,kBAAoBC,EAA6BC,QAChFO,EAAA,aAAAE,IAAA,2CACEE,KAAMC,EAAYC,MAClBC,MAAM,mCAGVP,EAAA,QAAAE,IAAA,2CAAMC,KAAK,mBACTb,KAAKM,mBAAqBN,KAAKC,kBAAoBC,EAA6BgB,OAChFR,EAAA,aAAAE,IAAA,2CACEE,KAAMC,EAAYC,MAClBC,MAAM,mC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r,h as o}from"./p-BcDWN4F1.js";const a=()=>`:host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}`;const s=class{constructor(o){r(this,o)}render(){return o("div",{key:"9c6f254da9597c0142815fa229e084ad2e1faf5f",class:this.type},o("slot",{key:"80b6c9d8d20fa9a6ed7fca52d724871803cdf47a"}))}};s.style=a();export{s as z_alert};
2
+ //# sourceMappingURL=p-4c1b6c40.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZAlert","render","h","key","class","this","type"],"sources":["src/snowflakes/myz/z-alert/styles.css?tag=z-alert&encapsulation=shadow","src/snowflakes/myz/z-alert/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-rg);\n line-height: calc(var(--space-unit) * 2);\n}\n\n:host > div {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host > .success {\n background: var(--color-inverse-success);\n fill: var(--color-default-success);\n}\n\n:host > .warning {\n background: var(--color-inverse-warning);\n fill: var(--color-default-warning);\n}\n\n:host > .error {\n background: var(--color-inverse-error);\n fill: var(--color-default-error);\n}\n","import {Component, ComponentInterface, Prop, h} from \"@stencil/core\";\nimport {AlertType} from \"../../../beans/index\";\n\n/**\n * @slot - alert content\n */\n\n@Component({\n tag: \"z-alert\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAlert implements ComponentInterface {\n /** alert variant type */\n @Prop()\n type: AlertType;\n\n render(): HTMLDivElement {\n return (\n <div class={this.type}>\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAY,IAAM,mf,MCYXC,EAAM,M,yBAKjB,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAOC,KAAKC,MACfJ,EAAA,QAAAC,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as e,H as t}from"./p-BcDWN4F1.js";const i=()=>`:host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}`;const o=class{constructor(e){a(this,e)}render(){return e(t,{key:"8a2d0549f14aae5e0ff1cf1d0bb019a86bc1b8e1",role:"navigation"},e("slot",{key:"1ae9a9e7fec88737934d443d07b20eb354cfd4ae"}))}};o.style=i();export{o as z_stepper};
2
+ //# sourceMappingURL=p-55468801.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZStepper","render","h","Host","key","role"],"sources":["src/components/z-stepper/styles.css?tag=z-stepper&encapsulation=shadow","src/components/z-stepper/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n flex-direction: row;\n padding: 0;\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n list-style: none;\n}\n\n@media (min-width: 768px) {\n :host {\n padding: 0 calc(var(--space-unit) * 2);\n }\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * @slot - slot for `z-stepper-item`\n */\n@Component({\n tag: \"z-stepper\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZStepper implements ComponentInterface {\n render(): HTMLSlotElement {\n return (\n <Host role=\"navigation\">\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,IAAM,oR,MCUXC,EAAQ,M,yBACnB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,cACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,d as i}from"./p-BcDWN4F1.js";import{p as r}from"./p-B3nR3-Jw.js";import{j as s,g as o,h as n}from"./p-C8pbzcmM.js";import"./p-Q-tWjk7P.js";const a=()=>`:host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}`;function l(t){return Array.isArray(t)&&t.every((t=>typeof t==="string"))}const h=class{constructor(e){t(this,e);this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks();this.setDevice();window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice();this.setStyle()}parseLinks(){var t;switch(typeof this.data){case"string":{const e=(t=s(this.data))!==null&&t!==void 0?t:[];if(!l(e)){throw new Error("Passed data is invalid")}this.links=e;break}default:this.links=this.data;break}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t){return}const e=this.el.shadowRoot.querySelectorAll(".slide");const i=this.el.offsetWidth;const r=i*this.links.length;t.style.width=`${r}px`;t.style.transform=`translate(-${i*this.currentSlide}px)`;e.forEach((t=>{const e=t.querySelector("img");e.style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=false,r=this.currentSlide;if(t==="left"){i=this.currentSlide===0;r--}else if(t==="right"){i=this.currentSlide===this.links.length-1;r++}return e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{if(!i){this.setCurrentSlide(r)}},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){if(!this.links||!this.links.length){return e("div",null)}return e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter())}get el(){return i(this)}static get watchers(){return{data:[{watchData:0}]}}};h.style=a();export{h as z_slideshow};
2
+ //# sourceMappingURL=p-55f6d3fe.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","isStringArray","data","Array","isArray","every","datum","ZSlideshow","constructor","hostRef","this","currentSlide","watchData","parseLinks","componentWillLoad","setDevice","window","addEventListener","handleResize","bind","componentDidRender","setStyle","parsed","_a","convertJson","Error","links","refSlides","el","shadowRoot","querySelector","allImages","querySelectorAll","width","offsetWidth","fullwidth","length","style","transform","forEach","item","img","device","getDevice","setCurrentSlide","index","getBulletDimension","Device","MOBILE","TABLET","renderSlides","items","h","id","map","i","class","src","renderScroll","direction","disabled","nextSlide","height","name","onClick","onKeyUp","e","handleKeyboardSubmit","tabindex","role","renderSlideshowMain","renderBullet","renderSlideshowFooter","Object","keys","parseInt","render","slideshowid"],"sources":["src/snowflakes/myz/z-slideshow/styles.css?tag=z-slideshow&encapsulation=shadow","src/snowflakes/myz/z-slideshow/index.tsx"],"sourcesContent":[":host {\n display: block;\n width: inherit;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n display: flex;\n width: inherit;\n flex-direction: column;\n}\n\nmain {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n\nmain z-icon.scroll {\n position: absolute;\n z-index: 10;\n top: 50%;\n width: auto;\n margin: 0 var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01);\n transition: 0.6s ease;\n}\n\nmain .scroll.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n\nmain .scroll.right {\n right: 0;\n}\n\n#slides {\n display: flex;\n flex-wrap: wrap;\n line-height: 0px;\n overflow-y: hidden;\n transition: all 300ms;\n}\n\nfooter {\n display: grid;\n width: 100%;\n height: 56px;\n align-items: center;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 2 / 2;\n grid-template-areas: \"center center\" \"left right\";\n}\n\nfooter > div {\n width: 100%;\n align-items: center;\n}\n\nfooter .footer-center {\n grid-area: center;\n}\n\nfooter .footer-left {\n grid-area: left;\n}\n\nfooter .footer-right {\n grid-area: right;\n}\n\nfooter .bullet-container {\n display: flex;\n min-height: 60px;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n}\n\nfooter .bullet-container .bullet {\n width: 8px;\n height: 8px;\n margin: var(--space-unit) 2px;\n background-color: var(--gray200);\n border-radius: 50%;\n pointer-events: none;\n}\n\nfooter .bullet-container .bullet.selected {\n background-color: var(--gray400);\n}\n\nmain z-icon:focus,\nfooter .bullet-container .bullet:focus {\n border-radius: 50%;\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n/* Tablet breakpoint */\n\n@media only screen and (min-width: 768px) {\n footer {\n height: 76px;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 1 / 1fr 2fr 1fr;\n grid-template-areas: \"left center right\";\n }\n\n footer .bullet-container .bullet {\n width: 10px;\n height: 10px;\n margin: var(--space-unit) 3px;\n }\n}\n\n/* Desktop breakpoint */\n\n@media only screen and (min-width: 1025px) {\n main z-icon.scroll {\n margin: 0 10px;\n }\n\n footer .bullet-container .bullet {\n width: 16px;\n height: 16px;\n margin: var(--space-unit) calc(var(--space-unit) * 0.5);\n cursor: pointer;\n pointer-events: auto;\n }\n}\n","import {Component, ComponentInterface, Element, Prop, State, Watch, h} from \"@stencil/core\";\nimport {Device} from \"../../../beans\";\nimport {convertJson, getDevice, handleKeyboardSubmit} from \"../../../utils/utils\";\n\n/**\n * Check if data is an array of strings.\n * @param {unknown} data Data to check\n * @returns {boolean}\n */\nfunction isStringArray(data: unknown): data is string[] {\n return Array.isArray(data) && data.every((datum: unknown): datum is string => typeof datum === \"string\");\n}\n\n/**\n * @slot footer-right - right content slot in footer\n * @slot footer-left - left content slot in footer\n */\n@Component({\n tag: \"z-slideshow\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSlideshow implements ComponentInterface {\n @Element() el: HTMLZSlideshowElement;\n\n /** slideshow id */\n @Prop()\n slideshowid: string;\n\n /** array or JSON stringified images urls */\n @Prop()\n data: string[] | string;\n\n @State()\n device: Device;\n\n @State()\n currentSlide = 0;\n\n private links: string[];\n\n @Watch(\"data\")\n watchData(): void {\n this.parseLinks();\n }\n\n componentWillLoad(): void {\n this.parseLinks();\n\n this.setDevice();\n window.addEventListener(\"resize\", this.handleResize.bind(this));\n }\n\n componentDidRender(): void {\n this.setStyle();\n }\n\n private handleResize(): void {\n this.setDevice();\n this.setStyle();\n }\n\n private parseLinks(): void {\n switch (typeof this.data) {\n case \"string\": {\n const parsed = convertJson(this.data) ?? [];\n if (!isStringArray(parsed)) {\n throw new Error(\"Passed data is invalid\");\n }\n\n this.links = parsed;\n break;\n }\n default:\n this.links = this.data;\n break;\n }\n }\n\n private setStyle(): void {\n const refSlides = this.el.shadowRoot.querySelector(\"#slides\") as HTMLElement;\n if (!refSlides) {\n return;\n }\n\n const allImages = this.el.shadowRoot.querySelectorAll(\".slide\");\n const width = this.el.offsetWidth;\n const fullwidth = width * this.links.length;\n\n refSlides.style.width = `${fullwidth}px`;\n refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;\n allImages.forEach((item: HTMLElement) => {\n const img = item.querySelector(\"img\");\n img.style.width = `${width}px`;\n });\n }\n\n private setDevice(): void {\n this.device = getDevice();\n }\n\n private setCurrentSlide(index: number): void {\n this.currentSlide = index;\n }\n\n private getBulletDimension(): number {\n switch (this.device) {\n case Device.MOBILE:\n return 24;\n case Device.TABLET:\n return 32;\n default:\n return 40;\n }\n }\n\n private renderSlides(items: string[]): HTMLElement {\n return (\n <div id=\"slides\">\n {items.map((item: string, i: number) => (\n <div\n id={\"slide\" + i}\n class={`slide ${this.currentSlide !== i && \"hide\"}`}\n >\n <img src={item} />\n </div>\n ))}\n </div>\n );\n }\n\n private renderScroll(direction: \"left\" | \"right\"): HTMLZIconElement {\n let disabled = false,\n nextSlide = this.currentSlide;\n\n if (direction === \"left\") {\n disabled = this.currentSlide === 0;\n nextSlide--;\n } else if (direction === \"right\") {\n disabled = this.currentSlide === this.links.length - 1;\n nextSlide++;\n }\n\n return (\n <z-icon\n class={`scroll ${direction} ${disabled && \"disabled\"}`}\n width={this.getBulletDimension()}\n height={this.getBulletDimension()}\n name={`chevron-${direction}-circle`}\n onClick={() => {\n if (!disabled) {\n this.setCurrentSlide(nextSlide);\n }\n }}\n onKeyUp={(e: KeyboardEvent) =>\n !disabled &&\n handleKeyboardSubmit(e, () => {\n this.setCurrentSlide(nextSlide);\n })\n }\n tabindex={0}\n role=\"button\"\n />\n );\n }\n\n private renderSlideshowMain(): HTMLElement {\n return (\n <main>\n {this.renderScroll(\"left\")}\n {this.renderSlides(this.links)}\n {this.renderScroll(\"right\")}\n </main>\n );\n }\n\n private renderBullet(i: number): HTMLElement {\n return (\n <a\n class={`bullet ${this.currentSlide === i && \"selected\"}`}\n onClick={() => this.setCurrentSlide(i)}\n onKeyUp={(e: KeyboardEvent) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i))}\n tabindex={0}\n role=\"button\"\n ></a>\n );\n }\n\n private renderSlideshowFooter(): HTMLElement {\n return (\n <footer>\n <div class=\"footer-left\">\n <slot name=\"footer-left\" />\n </div>\n <div class=\"footer-center\">\n <div class=\"bullet-container\">{Object.keys(this.links).map((i) => this.renderBullet(parseInt(i)))}</div>\n </div>\n <div class=\"footer-right\">\n <slot name=\"footer-right\" />\n </div>\n </footer>\n );\n }\n\n render(): HTMLElement {\n if (!this.links || !this.links.length) {\n return <div />;\n }\n\n return (\n <div id={this.slideshowid}>\n {this.renderSlideshowMain()}\n {this.renderSlideshowFooter()}\n </div>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as o,d as r}from"./p-BcDWN4F1.js";const a=()=>`:host{--z-table--cells-background:var( --color-background );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}`;const l=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const b=class{constructor(e){t(this,e);this.sticky=false;this.isFocusable=false}render(){return e(o,{key:"0e43e10373817b9ee5e4f1574fb0d46b232c510d",role:"rowgroup",tabIndex:this.isFocusable?0:-1},e("slot",{key:"aefd2ed2698efb7deabd11284f3d6cae95800e50"}))}get host(){return r(this)}};b.style=a()+l();export{b as z_thead};
2
+ //# sourceMappingURL=p-62485d56.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZThead","constructor","hostRef","this","sticky","isFocusable","render","h","Host","key","role","tabIndex"],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n\n:host(:focus-visible) {\n box-shadow: none;\n outline: none;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAY,IAAM,+PCAxB,MAAMA,EAAY,IAAM,6sD,MCWXC,EAAM,MALnB,WAAAC,CAAAC,G,UAYEC,KAAAC,OAAS,MAMTD,KAAAE,YAAc,KAYf,CAVC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,WACLC,SAAUR,KAAKE,YAAc,GAAI,GAEjCE,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,H as s,d as o}from"./p-BcDWN4F1.js";import{g as n}from"./p-B3nR3-Jw.js";import{a}from"./p-C8pbzcmM.js";import"./p-Q-tWjk7P.js";const r=()=>`:host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;height:fit-content;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{position:relative;display:flex;width:100%;align-items:center;padding:0;border:0;border-bottom:var(--border-size-large) solid transparent;margin:0;background:transparent;border-radius:0;color:inherit;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-visible,div.menu-label:focus-within{box-shadow:var(--shadow-focus-primary)}:host(:is([active],[open])) .menu-label ::slotted(*),.menu-label:focus-visible ::slotted(*),div.menu-label:focus-within ::slotted(*){color:var(--color-primary01);font-weight:var(--font-bd)}:host([vertical-context]) .menu-label{padding:var(--space-unit) 0;border-width:var(--border-size-small);border-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label,.menu-label:hover,.menu-label:focus-visible,div.menu-label:focus-within{border-color:var(--color-primary01)}:host([vertical-context]:is([active],[open])) .menu-label::after,:host([vertical-context]) .menu-label:hover::after,:host([vertical-context]) .menu-label:focus-visible::after,:host([vertical-context]) div.menu-label:focus-within::after{position:absolute;bottom:calc(var(--border-size-small) * -1);left:0;width:100%;height:var(--border-size-large);background-color:var(--color-primary01);content:""}:host([vertical-context]) .menu-label ::slotted(*){padding:0}.menu-label ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;padding-bottom:2px;margin:0;appearance:none;color:var(--z-menu-label-color, var(--color-default-text));font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;line-height:1.5;white-space:nowrap}.menu-label z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon)}::slotted([data-text]:not([slot]))::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text]:not([slot]))::after{display:none}}::slotted([data-text]:not([slot])){display:inline-flex;flex-direction:column}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]:not([vertical-context])) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:0 calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface03)}:host(:not([vertical-context])) .items>::slotted([slot="item"]:last-child){border-bottom:0}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active),.items>::slotted([slot="item"][active]),.items>::slotted([slot="item"][data-active]){border-color:var(--color-primary01);font-weight:var(--font-bd)}`;const l=t=>(t===null||t===void 0?void 0:t.tagName)==="Z-MENU-SECTION";const h=class{get focusableItem(){return this.items.find((t=>l(t)?t.htmlTabindex===0:t.tabIndex===0))}toggle(){if(!this.hasContent){return}this.open=!this.open}onLabelSlotChange(t){const i=t.target.assignedElements()[0];i.dataset.text=i===null||i===void 0?void 0:i.textContent;this.setLabelA11yAttrs()}reflow(t=false){if(!this.floating){return}if(this.content&&this.hasContent){const{style:t}=this.content;const{left:i}=this.host.getBoundingClientRect();const e=getComputedStyle(this.content).width;const s=e?parseFloat(e.replace("px","")):375;const o=30;t.left=`${Math.min(window.innerWidth-i-s-o,0)}px`}if(t){this.raf=requestAnimationFrame(this.reflow.bind(this,t))}}checkContent(){this.hasHeader=!!this.host.querySelectorAll("[slot=header]").length;this.hasContent=!!this.host.querySelectorAll("[slot=item]").length||this.hasHeader}setItemTabindex(t,i){if(l(t)){t.htmlTabindex=i}else{t.tabIndex=i}}setItemsA11yAttrs(){this.items.forEach(((t,i)=>{const e=i===0?0:-1;this.setItemTabindex(t,e);if(!l(t)){t.setAttribute("role","menuitem")}}))}onItemsChange(){this.checkContent();this.items=Array.from(this.host.children).filter((({slot:t})=>t==="item"));this.setItemsA11yAttrs();this.items.forEach((t=>{if(!l(t)){t.dataset.text=t.textContent}}))}moveFocus(t,i){if(l(t)){t.setFocus()}else{t.tabIndex=0;setTimeout((()=>{t.focus()}),100)}if(!i){return}this.setItemTabindex(i,-1)}onLabelClick(){this.toggle();this.setFocus()}onLabelKeydown(t){if(t.key===n.ENTER||t.key===n.SPACE){t.preventDefault();t.stopPropagation();this.toggle();if(this.open){this.moveFocus(this.items[0])}return}if(!this.verticalContext){return}if(t.key===n.ARROW_RIGHT&&!this.open){t.preventDefault();t.stopPropagation();this.open=true;this.moveFocus(this.items[0])}}async setFocus(){this.htmlTabindex=0;const t=this.hasContent?this.labelButton:this.host.firstElementChild;t.focus()}async focusLastItem(){const t=this.items[this.items.length-1];if(l(t)&&t.open){t.focusLastItem();return}this.moveFocus(t)}onOpenChanged(){if(!this.open){cancelAnimationFrame(this.raf);this.closed.emit();this.items.forEach((t=>{if(l(t)&&t.open){t.open=false}}));return}this.setItemsA11yAttrs();this.opened.emit();if(this.floating){this.reflow(true)}}setLabelA11yAttrs(){if(this.hasContent&&this.labelButton){this.labelButton.tabIndex=this.htmlTabindex;return}const t=this.host.firstElementChild;t.role="menuitem";t.tabIndex=this.htmlTabindex}onItemClick(t){const i=this.items.find((i=>a(i,t.target)));if(i){this.items.forEach((t=>{if(t===i){return}if(l(t)){t.htmlTabindex=-1}else{t.tabIndex=-1}}))}}onKeyDown(t){var i;if(!this.hasContent){return}switch(t.key){case n.ESC:if(!this.open){break}t.stopPropagation();t.preventDefault();this.open=false;this.setFocus();break;case n.ARROW_DOWN:{if(document.activeElement===this.host){if(this.verticalContext&&!this.open){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[0]);break}const i=this.items.indexOf(this.focusableItem);if(this.verticalContext&&i===this.items.length-1){this.setItemTabindex(this.items[i],-1);this.htmlTabindex=0;break}t.stopPropagation();t.preventDefault();const e=this.items[i+1];this.moveFocus(e!==null&&e!==void 0?e:this.items[0],this.focusableItem);break}case n.ARROW_UP:{if(document.activeElement===this.host){if(this.verticalContext){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[this.items.length-1],this.focusableItem);break}t.stopPropagation();t.preventDefault();const e=this.items.indexOf(this.focusableItem);if(e===0&&this.verticalContext){this.setItemTabindex(this.focusableItem,-1);this.setFocus();break}const s=(i=this.items[e-1])!==null&&i!==void 0?i:this.items[this.items.length-1];if(l(s)&&s.open){this.setItemTabindex(this.focusableItem,-1);s.focusLastItem();break}this.moveFocus(s,this.focusableItem);break}case n.ARROW_LEFT:if(!this.open||!this.verticalContext){break}t.preventDefault();t.stopPropagation();this.open=false;this.setFocus()}}constructor(e){t(this,e);this.opened=i(this,"opened",7);this.closed=i(this,"closed",7);this.floating=true;this.open=false;this.verticalContext=false;this.htmlTabindex=-1;this.items=[];this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelClick=this.onLabelClick.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this)}componentWillLoad(){this.setLabelA11yAttrs();this.onItemsChange()}render(){if(!this.hasContent){return e("div",{class:"menu-label"},e("slot",{onSlotchange:this.onLabelSlotChange}))}return e(s,null,e("button",{ref:t=>this.labelButton=t,class:"menu-label","aria-expanded":`${!!this.open}`,"aria-haspopup":`${this.hasContent}`,"aria-label":this.open?"Chiudi menù":"Apri menù",role:"menuitem",tabIndex:this.htmlTabindex,onClick:this.onLabelClick,onKeyDown:this.onLabelKeydown},e("slot",{onSlotchange:this.onLabelSlotChange}),e("z-icon",{name:this.open?"chevron-up":"chevron-down"})),e("div",{class:"content",ref:t=>this.content=t},this.hasHeader&&e("header",{class:"header"},e("slot",{name:"header",onSlotchange:this.checkContent})),e("div",{class:"items",role:"menu"},e("slot",{name:"item",onSlotchange:this.onItemsChange}))))}get host(){return o(this)}static get watchers(){return{open:[{onOpenChanged:0}],htmlTabindex:[{setLabelA11yAttrs:0}]}}};h.style=r();export{h as z_menu};
2
+ //# sourceMappingURL=p-6a952697.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","isZMenuSection","el","tagName","ZMenu","focusableItem","this","items","find","item","htmlTabindex","tabIndex","toggle","hasContent","open","onLabelSlotChange","ev","labelElement","target","assignedElements","dataset","text","textContent","setLabelA11yAttrs","reflow","live","floating","content","style","left","host","getBoundingClientRect","widthPx","getComputedStyle","width","parseFloat","replace","safeScrollbarSpace","Math","min","window","innerWidth","raf","requestAnimationFrame","bind","checkContent","hasHeader","querySelectorAll","length","setItemTabindex","setItemsA11yAttrs","forEach","index","tabindex","setAttribute","onItemsChange","Array","from","children","filter","slot","moveFocus","receiver","current","setFocus","setTimeout","focus","onLabelClick","onLabelKeydown","key","KeyboardCode","ENTER","SPACE","preventDefault","stopPropagation","verticalContext","ARROW_RIGHT","label","labelButton","firstElementChild","focusLastItem","lastItem","onOpenChanged","cancelAnimationFrame","closed","emit","opened","slottedLabel","role","onItemClick","clickedItem","containsElement","onKeyDown","ESC","ARROW_DOWN","document","activeElement","currentIndex","indexOf","ARROW_UP","_a","ARROW_LEFT","constructor","hostRef","componentWillLoad","render","h","class","onSlotchange","Host","ref","onClick","name"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n /**\n * @prop --z-menu-label-color: Color of the label's text.\n */\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu implements ComponentInterface {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop({mutable: true})\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e}from"./p-BcDWN4F1.js";const o=()=>`:host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}`;const r=class{constructor(e){t(this,e)}render(){return e("slot",{key:"c0d4c33ff0e304a0e2c6b1f708fb48aaa3f45fc5"})}};r.style=o();export{r as z_visually_hidden};
2
+ //# sourceMappingURL=p-6c5937db.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZVisuallyHidden","render","h","key"],"sources":["src/components/z-visually-hidden/styles.css?tag=z-visually-hidden&encapsulation=shadow","src/components/z-visually-hidden/index.tsx"],"sourcesContent":[":host {\n position: absolute;\n overflow: hidden;\n width: 1px;\n height: 1px;\n padding: 0;\n border: 0;\n margin: 0 -1px -1px 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n}\n","import {Component, ComponentInterface, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-visually-hidden\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZVisuallyHidden implements ComponentInterface {\n render(): HTMLSlotElement {\n return <slot />;\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAY,IAAM,mK,MCOXC,EAAe,M,yBAC1B,MAAAC,GACE,OAAOC,EAAA,QAAAC,IAAA,4C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as i,h as e,H as t,d as o}from"./p-BcDWN4F1.js";const r=()=>`:host,*{box-sizing:border-box}:host{display:flex;overflow:hidden;min-width:0;min-height:11.125rem;padding:var(--space-unit);border:var(--border-size-medium) solid var(--color-surface02);background-color:var(--color-surface01);border-radius:var(--border-size-large);cursor:pointer;font-family:var(--font-family-sans);gap:calc(var(--space-unit) * 2)}z-book-cover{--z-book-cover-stack-shift-x:6px;--z-book-cover-stack-shift-y:8px;--z-book-cover-height:158px;--z-book-cover-border-radius:0}.info-container{display:flex;overflow:hidden;min-width:0;flex:1;flex-direction:column}.authors-label{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);text-overflow:ellipsis;white-space:nowrap}.card-title{display:-webkit-box;overflow:hidden;margin:0;-webkit-box-orient:vertical;font-size:var(--font-size-3);font-weight:var(--font-bd);-webkit-line-clamp:2;line-clamp:2;line-height:1.5;word-break:break-word}.card-subtitle{overflow:hidden;color:var(--color-default-text);line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.tags-container{display:flex;max-width:100%;flex-wrap:wrap;margin-top:calc(var(--space-unit) * 2);gap:var(--space-unit)}.volumes-label{display:flex;flex-grow:1;align-items:end;color:var(--color-default-text);font-size:var(--font-size-1)}:host(.info-card){height:5rem;gap:calc(var(--space-unit) * 1.5)}:host(.info-card) .info-icon-container{display:flex;align-items:center;align-self:flex-start;justify-content:center;padding:var(--space-unit);margin-bottom:calc(var(--space-unit) * 3);background-color:var(--gray50);border-radius:var(--border-size-large)}:host(.info-card) .info-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;fill:var(--color-default-icon)}:host(.info-card) .card-title{display:-webkit-box;overflow:hidden;min-width:0;max-width:100%;max-height:2.4em;margin-top:0;margin-bottom:calc(var(--space-unit) / 2);-webkit-box-orient:vertical;font-size:var(--font-size-3);font-weight:var(--font-bd);-webkit-line-clamp:1;line-clamp:1;line-height:1.2;word-break:break-word}:host(.info-card) .card-subtitle{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.2;white-space:normal;word-break:break-word}@media (max-width: 767px){.card-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.4;word-break:break-word}}`;const a=class{constructor(o){i(this,o);this.hasMultipleCovers=false;this.isInfoCard=false;this.resizeHandler=()=>{this.setTooltipTitle(this.authorsRef);this.setTooltipTitle(this.titleRef);this.setTooltipTitle(this.subtitleRef)};this.renderTitle=()=>{const i=this.titleHtmlTag||"div";return e(i,{class:"card-title",ref:i=>this.titleRef=i},this.cardTitle)};this.renderSubtitle=()=>e("span",{class:"card-subtitle",ref:i=>this.subtitleRef=i},this.cardSubtitle);this.renderOperaCard=()=>e(t,null,e("z-book-cover",{cover:this.cover,fallbackCover:this.fallbackCover,multiple:this.hasMultipleCovers,bordered:true}),e("div",{class:"info-container"},this.authors&&e("span",{class:"authors-label",ref:i=>this.authorsRef=i},this.authors),this.renderTitle(),this.renderSubtitle(),e("div",{class:"tags-container"},e("slot",{name:"tags"})),e("div",{class:"volumes-label"},e("slot",{name:"volumes"}))));this.renderInfoCard=()=>e(t,{class:"info-card"},e("div",{class:"info-icon-container"},e("z-icon",{class:"info-icon",name:"link"})),e("div",{class:"info-container"},this.renderTitle(),this.renderSubtitle()))}setTooltipTitle(i){if(!i){return}const e=window.getComputedStyle(i);const t=e.getPropertyValue("-webkit-line-clamp")!=="none";let o;if(t){const t=parseInt(e.lineHeight);const r=parseInt(e.getPropertyValue("-webkit-line-clamp"));const a=t*r;o=i.scrollHeight>a}else{o=i.scrollWidth>i.clientWidth||i.scrollHeight>i.clientHeight}if(o){i.setAttribute("title",i.textContent.trim())}else{i.removeAttribute("title")}}componentDidRender(){this.setTooltipTitle(this.authorsRef);this.setTooltipTitle(this.titleRef);this.setTooltipTitle(this.subtitleRef)}componentDidLoad(){window.addEventListener("resize",this.resizeHandler)}disconnectedCallback(){window.removeEventListener("resize",this.resizeHandler)}render(){return this.isInfoCard?this.renderInfoCard():this.renderOperaCard()}get hostElement(){return o(this)}};a.style=r();export{a as z_result_card};
2
+ //# sourceMappingURL=p-6f58880c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZResultCard","constructor","hostRef","this","hasMultipleCovers","isInfoCard","resizeHandler","setTooltipTitle","authorsRef","titleRef","subtitleRef","renderTitle","TitleTag","titleHtmlTag","h","class","ref","el","cardTitle","renderSubtitle","cardSubtitle","renderOperaCard","Host","cover","fallbackCover","multiple","bordered","authors","name","renderInfoCard","style","window","getComputedStyle","hasLineClamp","getPropertyValue","isTruncated","lineHeight","parseInt","maxLines","maxHeight","scrollHeight","scrollWidth","clientWidth","clientHeight","setAttribute","textContent","trim","removeAttribute","componentDidRender","componentDidLoad","addEventListener","disconnectedCallback","removeEventListener","render"],"sources":["src/components/z-result-card/styles.css?tag=z-result-card&encapsulation=shadow","src/components/z-result-card/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n:host {\n display: flex;\n overflow: hidden;\n min-width: 0;\n min-height: 11.125rem;\n padding: var(--space-unit);\n border: var(--border-size-medium) solid var(--color-surface02);\n background-color: var(--color-surface01);\n border-radius: var(--border-size-large);\n cursor: pointer;\n font-family: var(--font-family-sans);\n gap: calc(var(--space-unit) * 2);\n}\n\nz-book-cover {\n --z-book-cover-stack-shift-x: 6px;\n --z-book-cover-stack-shift-y: 8px;\n --z-book-cover-height: 158px;\n --z-book-cover-border-radius: 0;\n}\n\n.info-container {\n display: flex;\n overflow: hidden;\n min-width: 0;\n flex: 1;\n flex-direction: column;\n}\n\n.authors-label {\n overflow: hidden;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n display: -webkit-box;\n overflow: hidden;\n margin: 0;\n -webkit-box-orient: vertical;\n font-size: var(--font-size-3);\n font-weight: var(--font-bd);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n line-height: 1.5;\n word-break: break-word;\n}\n\n.card-subtitle {\n overflow: hidden;\n color: var(--color-default-text);\n line-height: 1.4;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.tags-container {\n display: flex;\n max-width: 100%;\n flex-wrap: wrap;\n margin-top: calc(var(--space-unit) * 2);\n gap: var(--space-unit);\n}\n\n.volumes-label {\n display: flex;\n flex-grow: 1;\n align-items: end;\n color: var(--color-default-text);\n font-size: var(--font-size-1);\n}\n\n/* info-card */\n:host(.info-card) {\n height: 5rem;\n gap: calc(var(--space-unit) * 1.5);\n}\n\n:host(.info-card) .info-icon-container {\n display: flex;\n align-items: center;\n align-self: flex-start;\n justify-content: center;\n padding: var(--space-unit);\n margin-bottom: calc(var(--space-unit) * 3);\n background-color: var(--gray50);\n border-radius: var(--border-size-large);\n}\n\n:host(.info-card) .info-icon {\n --z-icon-width: 1.125rem;\n --z-icon-height: 1.125rem;\n\n fill: var(--color-default-icon);\n}\n\n:host(.info-card) .card-title {\n display: -webkit-box;\n overflow: hidden;\n min-width: 0;\n max-width: 100%;\n max-height: 2.4em;\n margin-top: 0;\n margin-bottom: calc(var(--space-unit) / 2);\n -webkit-box-orient: vertical;\n font-size: var(--font-size-3);\n font-weight: var(--font-bd);\n -webkit-line-clamp: 1;\n line-clamp: 1;\n line-height: 1.2;\n word-break: break-word;\n}\n\n:host(.info-card) .card-subtitle {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n line-height: 1.2;\n white-space: normal;\n word-break: break-word;\n}\n\n@media (max-width: 767px) {\n .card-title {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n line-height: 1.4;\n word-break: break-word;\n }\n}\n","import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * @slot tags - slot containing the descriptors for the opera variant\n * @slot volumes - slot containing the volume count to be displayed in the opera variant\n */\n@Component({\n tag: \"z-result-card\",\n styleUrls: [\"styles.css\"],\n shadow: true,\n})\nexport class ZResultCard implements ComponentInterface {\n @Element() hostElement: HTMLZResultCardElement;\n\n /** The title of the card. */\n @Prop()\n cardTitle: string;\n\n /** The subtitle of the card. */\n @Prop()\n cardSubtitle: string;\n\n /** The authors of the opera. */\n @Prop()\n authors?: string;\n\n /** The URL of the cover image of the opera. */\n @Prop()\n cover?: string;\n\n /** [optional] Fallback cover URL. */\n @Prop()\n fallbackCover?: string;\n\n /** Whether to show a stack of covers to represent multiple books. */\n @Prop()\n hasMultipleCovers = false;\n\n /** Enables the \"info\" variant of the card. */\n @Prop()\n isInfoCard = false;\n\n /** [optional] Set a specific heading level as html tag for the title. */\n @Prop()\n titleHtmlTag?: string;\n\n private authorsRef: HTMLElement;\n\n private titleRef: HTMLElement;\n\n private subtitleRef: HTMLElement;\n\n private setTooltipTitle(el: HTMLElement): void {\n if (!el) {\n return;\n }\n\n // Check if element uses line-clamp\n const style = window.getComputedStyle(el);\n const hasLineClamp = style.getPropertyValue(\"-webkit-line-clamp\") !== \"none\";\n\n let isTruncated;\n if (hasLineClamp) {\n // For elements with line-clamp, check if content height exceeds line-clamp height\n const lineHeight = parseInt(style.lineHeight);\n const maxLines = parseInt(style.getPropertyValue(\"-webkit-line-clamp\"));\n const maxHeight = lineHeight * maxLines;\n\n isTruncated = el.scrollHeight > maxHeight;\n } else {\n // Original check for elements without line-clamp\n isTruncated = el.scrollWidth > el.clientWidth || el.scrollHeight > el.clientHeight;\n }\n\n if (isTruncated) {\n el.setAttribute(\"title\", el.textContent.trim());\n } else {\n el.removeAttribute(\"title\");\n }\n }\n\n componentDidRender(): void {\n this.setTooltipTitle(this.authorsRef);\n this.setTooltipTitle(this.titleRef);\n this.setTooltipTitle(this.subtitleRef);\n }\n\n private resizeHandler = (): void => {\n this.setTooltipTitle(this.authorsRef);\n this.setTooltipTitle(this.titleRef);\n this.setTooltipTitle(this.subtitleRef);\n };\n\n componentDidLoad(): void {\n window.addEventListener(\"resize\", this.resizeHandler);\n }\n\n disconnectedCallback(): void {\n window.removeEventListener(\"resize\", this.resizeHandler);\n }\n\n private renderTitle = (): HTMLElement => {\n const TitleTag = this.titleHtmlTag || \"div\";\n\n return (\n <TitleTag\n class=\"card-title\"\n ref={(el) => (this.titleRef = el as HTMLElement)}\n >\n {this.cardTitle}\n </TitleTag>\n );\n };\n\n private renderSubtitle = (): HTMLSpanElement => {\n return (\n <span\n class=\"card-subtitle\"\n ref={(el) => (this.subtitleRef = el as HTMLElement)}\n >\n {this.cardSubtitle}\n </span>\n );\n };\n\n private renderOperaCard = (): HTMLZResultCardElement => {\n return (\n <Host>\n <z-book-cover\n cover={this.cover}\n fallbackCover={this.fallbackCover}\n multiple={this.hasMultipleCovers}\n bordered={true}\n ></z-book-cover>\n <div class=\"info-container\">\n {this.authors && (\n <span\n class=\"authors-label\"\n ref={(el) => (this.authorsRef = el as HTMLElement)}\n >\n {this.authors}\n </span>\n )}\n {this.renderTitle()}\n {this.renderSubtitle()}\n <div class=\"tags-container\">\n <slot name=\"tags\"></slot>\n </div>\n <div class=\"volumes-label\">\n <slot name=\"volumes\"></slot>\n </div>\n </div>\n </Host>\n );\n };\n\n private renderInfoCard = (): HTMLZResultCardElement => {\n return (\n <Host class=\"info-card\">\n <div class=\"info-icon-container\">\n <z-icon\n class=\"info-icon\"\n name=\"link\"\n />\n </div>\n <div class=\"info-container\">\n {this.renderTitle()}\n {this.renderSubtitle()}\n </div>\n </Host>\n );\n };\n\n render(): HTMLZResultCardElement {\n return this.isInfoCard ? this.renderInfoCard() : this.renderOperaCard();\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAY,IAAM,k3E,MCWXC,EAAW,MALxB,WAAAC,CAAAC,G,UA8BEC,KAAAC,kBAAoB,MAIpBD,KAAAE,WAAa,MA+CLF,KAAAG,cAAgB,KACtBH,KAAKI,gBAAgBJ,KAAKK,YAC1BL,KAAKI,gBAAgBJ,KAAKM,UAC1BN,KAAKI,gBAAgBJ,KAAKO,YAAY,EAWhCP,KAAAQ,YAAc,KACpB,MAAMC,EAAWT,KAAKU,cAAgB,MAEtC,OACEC,EAACF,EAAQ,CACPG,MAAM,aACNC,IAAMC,GAAQd,KAAKM,SAAWQ,GAE7Bd,KAAKe,UACG,EAIPf,KAAAgB,eAAiB,IAErBL,EAAA,QACEC,MAAM,gBACNC,IAAMC,GAAQd,KAAKO,YAAcO,GAEhCd,KAAKiB,cAKJjB,KAAAkB,gBAAkB,IAEtBP,EAACQ,EAAI,KACHR,EAAA,gBACES,MAAOpB,KAAKoB,MACZC,cAAerB,KAAKqB,cACpBC,SAAUtB,KAAKC,kBACfsB,SAAU,OAEZZ,EAAA,OAAKC,MAAM,kBACRZ,KAAKwB,SACJb,EAAA,QACEC,MAAM,gBACNC,IAAMC,GAAQd,KAAKK,WAAaS,GAE/Bd,KAAKwB,SAGTxB,KAAKQ,cACLR,KAAKgB,iBACNL,EAAA,OAAKC,MAAM,kBACTD,EAAA,QAAMc,KAAK,UAEbd,EAAA,OAAKC,MAAM,iBACTD,EAAA,QAAMc,KAAK,eAObzB,KAAA0B,eAAiB,IAErBf,EAACQ,EAAI,CAACP,MAAM,aACVD,EAAA,OAAKC,MAAM,uBACTD,EAAA,UACEC,MAAM,YACNa,KAAK,UAGTd,EAAA,OAAKC,MAAM,kBACRZ,KAAKQ,cACLR,KAAKgB,kBASf,CA5HS,eAAAZ,CAAgBU,GACtB,IAAKA,EAAI,CACP,M,CAIF,MAAMa,EAAQC,OAAOC,iBAAiBf,GACtC,MAAMgB,EAAeH,EAAMI,iBAAiB,wBAA0B,OAEtE,IAAIC,EACJ,GAAIF,EAAc,CAEhB,MAAMG,EAAaC,SAASP,EAAMM,YAClC,MAAME,EAAWD,SAASP,EAAMI,iBAAiB,uBACjD,MAAMK,EAAYH,EAAaE,EAE/BH,EAAclB,EAAGuB,aAAeD,C,KAC3B,CAELJ,EAAclB,EAAGwB,YAAcxB,EAAGyB,aAAezB,EAAGuB,aAAevB,EAAG0B,Y,CAGxE,GAAIR,EAAa,CACflB,EAAG2B,aAAa,QAAS3B,EAAG4B,YAAYC,O,KACnC,CACL7B,EAAG8B,gBAAgB,Q,EAIvB,kBAAAC,GACE7C,KAAKI,gBAAgBJ,KAAKK,YAC1BL,KAAKI,gBAAgBJ,KAAKM,UAC1BN,KAAKI,gBAAgBJ,KAAKO,Y,CAS5B,gBAAAuC,GACElB,OAAOmB,iBAAiB,SAAU/C,KAAKG,c,CAGzC,oBAAA6C,GACEpB,OAAOqB,oBAAoB,SAAUjD,KAAKG,c,CA2E5C,MAAA+C,GACE,OAAOlD,KAAKE,WAAaF,KAAK0B,iBAAmB1B,KAAKkB,iB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,d as r}from"./p-BcDWN4F1.js";import{_ as a}from"./p-B3nR3-Jw.js";import{B as o}from"./p-Q-tWjk7P.js";import{r as s}from"./p-C8pbzcmM.js";const n=()=>`:host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot="header-cta"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-text-link-blue);cursor:pointer;fill:var(--color-text-link-blue);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}`;const c=class{constructor(i){t(this,i);this.ribbonClick=e(this,"ribbonClick",7);this.isbnLabel="";this.isMobile=false;this.hasResources=false;this.showResources=false}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${o.MOBILE}px)`);this.isMobile=t.matches;t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;if(this.variant!==a.EXPANDED||!this.isMobile){return}this.hasResources=((t=this.hostElement.querySelectorAll("[slot=resources]"))===null||t===void 0?void 0:t.length)>0}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case a.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case a.COMPACT:return this.renderCompactCard();case a.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},i("div",{class:"top"},i("div",{class:"info"},i("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),i("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),i("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&i("div",{class:{footer:true,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return i("div",{class:"wrapper-container"},i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return i("div",{class:"cover"},this.ribbon&&this.variant!==a.COMPACT&&this.renderRibbon(),i("div",{class:"img-wrapper"},i("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&i("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-inverse-icon"}),i("span",null,this.ribbon)];return this.ribbonInteractive?i("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):i("div",{class:"ribbon"},t)}renderOperaTitle(){const t=this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle;return i("div",{class:"title",innerHTML:t})}renderVolumeTitle(){return this.volumeTitle?i("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?i("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?i("div",{class:"isbn"},i("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?i("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return i("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",i("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return i("div",{class:"tags"},i("slot",{name:"tags"}))}renderHeaderCtaSlot(){return i("slot",{name:"header-cta"})}renderResourcesSlot(){return i("div",{id:`resources-${this.id}`,class:"resources"},i("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return i("div",{class:"action-container"},i("slot",{name:"footer-cta"}))}render(){return i("article",{key:"d603afa99fc5bdc0b6cb9ad1b22a309c4962c486",class:{[this.variant]:true,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};c.style=n();export{c as z_book_card_deprecated};
2
+ //# sourceMappingURL=p-7056f90f.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZBookCardDeprecated","constructor","hostRef","this","isbnLabel","isMobile","hasResources","showResources","emitRibbonClick","ribbonClick","emit","componentWillLoad","id","randomId","mobileMediaQuery","window","matchMedia","Breakpoints","MOBILE","matches","onchange","mql","componentDidLoad","handleResources","variant","BookCardDeprecatedVariant","EXPANDED","_a","hostElement","querySelectorAll","length","toggleResources","renderCard","renderMobileExpandedCard","renderExpandedCard","COMPACT","renderCompactCard","SEARCH","renderSearchCard","h","class","renderCover","renderAuthors","renderOperaTitle","renderVolumeTitle","renderIsbn","renderHeaderCtaSlot","renderTagsSlot","renderResourcesSlot","footer","open","close","renderShowResources","renderFooterCtaSlot","ribbon","renderRibbon","src","cover","onError","fallbackCover","content","ribbonIcon","name","width","height","fill","ribbonInteractive","onClick","title","operaTitleTag","operaTitle","innerHTML","volumeTitle","authors","isbn","toString","onSlotchange","render","key","borderless"],"sources":["src/components/deprecated/z-book-card-deprecated/styles.css?tag=z-book-card-deprecated&encapsulation=shadow","src/components/deprecated/z-book-card-deprecated/index.tsx"],"sourcesContent":["/* COMMON STYLES */\n\n:host {\n /**\n * @prop --z-book-card-ribbon-background-color: ribbon backgrund color\n * @prop --z-book-card-ribbon-shadow-color: ribbon shadow color\n * @prop --z-book-card-compact-width: compact card custom width\n * @prop --z-book-card-compact-height: compact card custom height\n */\n --z-book-card-ribbon-background-color: var(--avatar-C08);\n --z-book-card-ribbon-shadow-color: var(--green950);\n --z-book-card-compact-width: 262px;\n --z-book-card-compact-height: 568px;\n}\n\n:host > article {\n display: block;\n width: 100%;\n max-width: 360px;\n box-sizing: border-box;\n border: var(--border-size-medium) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > article div.cover {\n position: relative;\n}\n\n:host > article div.cover div.img-wrapper {\n display: flex;\n overflow: hidden;\n border: var(--border-size-small) solid var(--color-surface03);\n line-height: 0;\n}\n\n:host > article div.cover div.img-wrapper img {\n width: auto;\n max-width: 100%;\n height: auto;\n max-height: 100%;\n align-self: flex-end;\n}\n\n:host > article div.cover .ribbon {\n position: absolute;\n z-index: 10;\n top: calc(var(--space-unit) * 2);\n left: calc(var(--space-unit) * -2);\n display: flex;\n max-width: 100%;\n height: calc(var(--space-unit) * 4);\n box-sizing: border-box;\n align-items: center;\n padding: 0 calc(var(--space-unit) * 2);\n border: var(--border-size-medium) solid var(--color-surface01);\n background: var(--z-book-card-ribbon-background-color);\n border-radius: 0 var(--border-radius) var(--border-radius) 0;\n box-shadow: var(--shadow-2);\n color: var(--color-text-inverse);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-2);\n font-weight: var(--font-sb);\n line-height: initial;\n}\n\n:host > article div.cover .ribbon.interactive:hover {\n cursor: pointer;\n}\n\n:host > article div.cover .ribbon.interactive:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n:host > article div.cover .ribbon span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: nowrap;\n}\n\n:host > article div.cover .ribbon::before {\n position: absolute;\n bottom: -12px;\n left: -2px;\n width: 0;\n height: 0;\n border-top: 10px solid var(--z-book-card-ribbon-shadow-color);\n border-left: 16px solid transparent;\n content: \"\";\n}\n\n:host > article div.cover .ribbon z-icon {\n margin-right: var(--space-unit);\n}\n\n:host > article div.content {\n margin: var(--space-unit) 0;\n border-radius: var(--border-radius);\n}\n\n:host > article .title {\n display: flex;\n height: 100%;\n align-self: center;\n color: var(--color-default-text);\n font-size: var(--font-size-4);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n:host > article .title * {\n all: unset;\n}\n\n:host > article div.subtitle {\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n:host > article div.authors {\n color: var(--color-default-text);\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n line-height: 1.33;\n}\n\n:host > article div.isbn {\n overflow: hidden;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n line-height: 1.33;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: nowrap;\n}\n\n:host > article div.isbn > .code {\n font-weight: var(--font-sb);\n}\n\n:host > article div.tags {\n display: flex;\n overflow: hidden;\n max-height: 32px;\n flex-flow: row wrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: flex-start;\n gap: calc(var(--space-unit) / 2);\n}\n\n:host > article ::slotted([slot=\"tags\"]) {\n margin-bottom: var(--space-unit);\n}\n\n:host > article ::slotted([slot=\"header-cta\"]) {\n --z-icon-width: 20px;\n --z-icon-height: 20px;\n\n padding: var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01-icon);\n}\n\n:host > article ::slotted([slot=\"header-cta\"]:focus) {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n/* EXPANDED STYLES */\n\n:host > article.expanded {\n width: 100%;\n min-width: 328px;\n padding: calc(var(--space-unit) * 2);\n padding-bottom: 0;\n}\n\n:host > article.expanded div.header {\n display: flex;\n flex-flow: row nowrap;\n align-content: stretch;\n align-items: top;\n justify-content: space-between;\n margin-bottom: var(--space-unit);\n white-space: nowrap;\n}\n\n:host > article.expanded div.cover div.img-wrapper {\n border-radius: var(--border-radius);\n}\n\n:host > article.expanded div.cover div.img-wrapper img {\n width: 100%;\n}\n\n:host > article.expanded .title,\n:host > article.expanded .subtitle,\n:host > article.expanded .authors {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n white-space: initial;\n}\n\n:host > article.expanded div.footer {\n border-top: var(--border-size-small) solid var(--color-surface03);\n margin-bottom: calc(var(--space-unit) * 1.5);\n}\n\n:host > article.expanded div.footer.open {\n padding-top: calc(var(--space-unit) * 1.5);\n}\n\n:host > article.expanded div.footer.open div.resources {\n display: initial;\n}\n\n:host > article.expanded div.footer.close div.resources {\n display: none;\n}\n\n:host > article.expanded button.show-resources {\n --z-icon-height: 16px;\n --z-icon-width: 16px;\n\n all: unset;\n display: flex;\n width: 100%;\n flex-flow: row nowrap;\n align-content: center;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 1) 0;\n color: var(--color-text-link-blue);\n cursor: pointer;\n fill: var(--color-text-link-blue);\n font-size: var(--font-size-2);\n font-weight: var(--font-sb);\n gap: var(--space-unit);\n}\n\n:host > article.expanded button.show-resources:focus {\n box-shadow: var(--shadow-focus-primary);\n}\n\n/* SEARCH STYLES */\n\n:host > article.search {\n width: 262px;\n height: 616px;\n padding: calc(var(--space-unit) * 2);\n padding-bottom: 0;\n}\n\n:host > article.search .wrapper-container {\n display: flex;\n height: 100%;\n flex-direction: column;\n justify-content: space-between;\n}\n\n:host > article.search .wrapper-container .wrapper {\n height: 451px;\n}\n\n:host > article.search .wrapper-container .action-container {\n padding-bottom: calc(var(--space-unit) * 2);\n}\n\n:host > article.search div.header {\n display: flex;\n height: 24px;\n flex-flow: row nowrap;\n align-content: stretch;\n align-items: center;\n justify-content: space-between;\n margin-bottom: calc(var(--space-unit) * 1.5);\n white-space: nowrap;\n}\n\n:host > article.search div.cover div.img-wrapper {\n height: 314px;\n border-radius: var(--border-radius);\n}\n\n:host > article.search .title {\n display: block;\n height: initial;\n align-self: unset;\n font-size: var(--font-size-3);\n}\n\n:host > article.search .title,\n:host > article.search .subtitle,\n:host > article.search .authors {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* COMPACT STYLES */\n\n:host > article.compact {\n width: var(--z-book-card-compact-width);\n height: var(--z-book-card-compact-height);\n}\n\n:host > article.compact.borderless {\n border: none;\n}\n\n:host > article.compact div.cover div.img-wrapper {\n width: 100%;\n height: calc(var(--z-book-card-compact-width) * 1.36);\n box-sizing: border-box;\n border: none;\n background: var(--color-white);\n border-radius: var(--border-radius) var(--border-radius) 0 0;\n box-shadow: var(--shadow-2);\n}\n\n:host > article.compact div.wrapper {\n display: flex;\n height: 100%;\n flex-flow: column nowrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: flex-start;\n}\n\n:host > article.compact div.content {\n display: flex;\n box-sizing: border-box;\n flex-flow: column nowrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: space-between;\n padding: calc(var(--space-unit) * 2);\n padding-top: var(--space-unit);\n margin: 0;\n}\n\n:host > article.compact div.action-container {\n padding: calc(var(--space-unit) * 2);\n padding-top: 0;\n margin-top: auto;\n}\n\n:host > article.compact.borderless div.cover div.img-wrapper {\n width: var(--z-book-card-compact-width);\n}\n\n:host > article.compact.borderless div.content {\n padding: 0;\n padding-top: var(--space-unit);\n}\n\n:host > article.compact.borderless div.action-container {\n padding: 0;\n padding-bottom: calc(var(--space-unit) * 2);\n}\n\n:host > article.compact .title {\n display: block;\n height: initial;\n align-self: unset;\n}\n\n:host > article.compact .title,\n:host > article.compact .subtitle,\n:host > article.compact .authors {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n white-space: initial;\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host > article {\n width: 100%;\n max-width: initial;\n }\n\n :host > article .title {\n display: block;\n height: initial;\n align-self: unset;\n }\n\n /* EXPANDED STYLES */\n\n :host > article.expanded {\n width: 100%;\n min-width: initial;\n max-width: initial;\n height: 360px;\n padding: 0;\n border: 0;\n }\n\n :host > article.expanded div.wrapper {\n display: flex;\n flex-flow: row nowrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: flex-start;\n }\n\n :host > article.expanded div.cover div.img-wrapper {\n width: 262px;\n height: 356px;\n border: 0;\n border: var(--border-size-medium) solid var(--color-surface03);\n border-right: none;\n background: var(--color-surface01);\n border-radius: var(--border-radius) 0 0 var(--border-radius);\n }\n\n :host > article.expanded div.cover div.img-wrapper img {\n width: auto;\n border-radius: 0;\n }\n\n :host > article.expanded div.content {\n display: flex;\n overflow: hidden;\n width: 100%;\n height: 356px;\n flex-flow: column nowrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: space-between;\n border: var(--border-size-medium) solid var(--color-surface03);\n border-left: none;\n margin: 0;\n background: var(--color-surface01);\n border-radius: 0 var(--border-radius) var(--border-radius) 0;\n }\n\n :host > article.expanded div.content div.top {\n padding: calc(var(--space-unit) * 2);\n padding-bottom: 0;\n }\n\n :host > article.expanded div.content div.top div.info {\n display: flex;\n flex-flow: row nowrap;\n align-content: stretch;\n align-items: stretch;\n justify-content: space-between;\n margin-bottom: calc(var(--space-unit) / 2);\n }\n\n :host > article.expanded div.content div.top div.info > div.left {\n width: 100%;\n }\n\n :host > article.expanded div.content div.bottom {\n padding: calc(var(--space-unit) * 2);\n padding-bottom: 0;\n }\n}\n\n/* Desktop breakpoint */\n\n@media (min-width: 1152px) {\n :host > article {\n width: fit-content;\n max-width: initial;\n }\n}\n\n/* Wide breakpoint */\n@media (min-width: 1366px) {\n :host > article.expanded {\n width: 635px;\n }\n\n :host > article.expanded div.content {\n width: 369px;\n }\n}\n","import {Component, ComponentInterface, Element, Event, EventEmitter, Prop, State, h} from \"@stencil/core\";\nimport {BookCardDeprecatedVariant} from \"../../../beans\";\nimport {Breakpoints} from \"../../../constants/breakpoints\";\nimport {randomId} from \"../../../utils/utils\";\n\n/**\n * @slot resources - books resources (extended variant only)\n * @slot header-cta - header CTA (e.g. bookmark icon - extended and search variant only)\n * @slot tags - card tags (extended and search variant only)\n * @slot footer-cta - footer cta button (search and compact variant only)\n */\n@Component({\n tag: \"z-book-card-deprecated\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZBookCardDeprecated implements ComponentInterface {\n @Element() hostElement: HTMLZBookCardDeprecatedElement;\n\n /**\n * Card variant: expanded, compact, search\n */\n @Prop()\n variant: BookCardDeprecatedVariant;\n\n /**\n * Cover URL\n */\n @Prop()\n cover: string;\n\n /**\n * Card main title\n */\n @Prop()\n operaTitle: string;\n\n /**\n * [optional] Card subtitle\n */\n @Prop()\n volumeTitle?: string;\n\n /**\n * [optional] Authors\n */\n @Prop()\n authors?: string;\n\n /**\n * [optional] Main ISBN\n */\n @Prop()\n isbn?: string;\n\n /**\n * [optional] ISBN label\n */\n @Prop()\n isbnLabel = \"\";\n\n /**\n * [optional] Ribbon label - expanded and search variant only\n */\n @Prop()\n ribbon?: string;\n\n /**\n * [optional] Ribbon icon - expanded and search variant only\n */\n @Prop()\n ribbonIcon?: string;\n\n /**\n * [optional] Ribbon interactive - expanded and search variant only\n */\n @Prop()\n ribbonInteractive?: boolean;\n\n /**\n * [optional] Borderless card - compact variant only\n */\n @Prop()\n borderless?: boolean;\n\n /**\n * [optional] Fallback cover URL\n */\n @Prop()\n fallbackCover?: string;\n\n /**\n * [optional] [accessibility] Card title HTML tag\n */\n @Prop()\n operaTitleTag?: string;\n\n @State()\n isMobile = false;\n\n @State()\n hasResources = false;\n\n @State()\n showResources = false;\n\n /** click on interactive ribbon */\n @Event()\n ribbonClick: EventEmitter;\n\n private emitRibbonClick(): void {\n this.ribbonClick.emit();\n }\n\n private id: string;\n\n componentWillLoad(): void {\n this.id = `id-${randomId()}`;\n\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n this.isMobile = mobileMediaQuery.matches;\n mobileMediaQuery.onchange = (mql) => (this.isMobile = mql.matches);\n }\n\n componentDidLoad(): void {\n this.handleResources();\n }\n\n private handleResources(): void {\n if (this.variant !== BookCardDeprecatedVariant.EXPANDED || !this.isMobile) {\n return;\n }\n this.hasResources = this.hostElement.querySelectorAll(\"[slot=resources]\")?.length > 0;\n }\n\n private toggleResources(): void {\n this.showResources = !this.showResources;\n }\n\n private renderCard(): HTMLDivElement {\n switch (this.variant) {\n case BookCardDeprecatedVariant.EXPANDED:\n return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();\n case BookCardDeprecatedVariant.COMPACT:\n return this.renderCompactCard();\n case BookCardDeprecatedVariant.SEARCH:\n return this.renderSearchCard();\n }\n }\n\n private renderExpandedCard(): HTMLDivElement {\n return (\n <div class=\"wrapper\">\n {this.renderCover()}\n <div class=\"content\">\n <div class=\"top\">\n <div class=\"info\">\n <div class=\"left\">\n {this.renderAuthors()}\n {this.renderOperaTitle()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n <div class=\"right\">{this.renderHeaderCtaSlot()}</div>\n </div>\n {this.renderTagsSlot()}\n </div>\n <div class=\"bottom\">{this.renderResourcesSlot()}</div>\n </div>\n </div>\n );\n }\n\n private renderMobileExpandedCard(): HTMLDivElement {\n return (\n <div class=\"wrapper\">\n <div class=\"header\">\n {this.renderOperaTitle()}\n {this.renderHeaderCtaSlot()}\n </div>\n {this.renderCover()}\n <div class=\"content\">\n {this.renderTagsSlot()}\n {this.renderAuthors()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n {this.hasResources && (\n <div\n class={{\n footer: true,\n open: this.showResources,\n close: !this.showResources,\n }}\n >\n {!this.showResources && this.renderShowResources()}\n {this.renderResourcesSlot()}\n {this.showResources && this.renderShowResources()}\n </div>\n )}\n </div>\n );\n }\n\n private renderSearchCard(): HTMLDivElement {\n return (\n <div class=\"wrapper-container\">\n <div class=\"wrapper\">\n <div class=\"header\">\n {this.renderOperaTitle()}\n {this.renderHeaderCtaSlot()}\n </div>\n {this.renderCover()}\n <div class=\"content\">\n {this.renderTagsSlot()}\n {this.renderAuthors()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n </div>\n {this.renderFooterCtaSlot()}\n </div>\n );\n }\n\n private renderCompactCard(): HTMLDivElement {\n return (\n <div class=\"wrapper\">\n {this.renderCover()}\n <div class=\"content\">\n {this.renderAuthors()}\n {this.renderOperaTitle()}\n {this.renderVolumeTitle()}\n {this.renderIsbn()}\n </div>\n {this.renderFooterCtaSlot()}\n </div>\n );\n }\n\n private renderCover(): HTMLDivElement {\n return (\n <div class=\"cover\">\n {this.ribbon && this.variant !== BookCardDeprecatedVariant.COMPACT && this.renderRibbon()}\n <div class=\"img-wrapper\">\n <img\n src={this.cover}\n onError={() => {\n if (this.fallbackCover) {\n this.cover = this.fallbackCover;\n }\n }}\n aria-hidden=\"true\"\n />\n </div>\n </div>\n );\n }\n\n private renderRibbon(): HTMLElement {\n const content = [\n this.ribbonIcon && (\n <z-icon\n name={this.ribbonIcon}\n width={16}\n height={16}\n fill={\"color-inverse-icon\"}\n />\n ),\n <span>{this.ribbon}</span>,\n ];\n\n return this.ribbonInteractive ? (\n <button\n class=\"ribbon interactive\"\n onClick={() => this.emitRibbonClick()}\n >\n {content}\n </button>\n ) : (\n <div class=\"ribbon\">{content}</div>\n );\n }\n\n private renderOperaTitle(): HTMLDivElement {\n const title = this.operaTitleTag\n ? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`\n : this.operaTitle;\n\n return (\n <div\n class=\"title\"\n innerHTML={title}\n />\n );\n }\n\n private renderVolumeTitle(): null | HTMLDivElement {\n return this.volumeTitle ? <div class=\"subtitle\">{this.volumeTitle}</div> : null;\n }\n\n private renderAuthors(): null | HTMLDivElement {\n return this.authors ? (\n <div\n class=\"authors\"\n aria-description=\"Autori\"\n >\n {this.authors}\n </div>\n ) : null;\n }\n\n private renderIsbn(): null | HTMLDivElement {\n return this.isbn ? (\n <div class=\"isbn\">\n <span\n class=\"code\"\n aria-description={`ISBN ${this.isbnLabel}`}\n >\n {this.isbn}\n </span>\n {this.isbnLabel ? <span class=\"label\"> {this.isbnLabel}</span> : null}\n </div>\n ) : null;\n }\n\n private renderShowResources(): HTMLButtonElement {\n return (\n <button\n class=\"show-resources\"\n aria-label={`Risorse del libro ${this.operaTitle}`}\n aria-expanded={this.showResources.toString()}\n aria-controls={`resources-${this.id}`}\n onClick={() => this.toggleResources()}\n >\n {this.showResources ? \"Chiudi\" : \"Vedi tutto\"}\n <z-icon name={this.showResources ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n );\n }\n\n private renderTagsSlot(): HTMLDivElement {\n return (\n <div class=\"tags\">\n <slot name=\"tags\" />\n </div>\n );\n }\n\n private renderHeaderCtaSlot(): HTMLSlotElement {\n return <slot name=\"header-cta\" />;\n }\n\n private renderResourcesSlot(): HTMLDivElement {\n return (\n <div\n id={`resources-${this.id}`}\n class=\"resources\"\n >\n <slot\n name=\"resources\"\n onSlotchange={() => this.handleResources()}\n />\n </div>\n );\n }\n\n private renderFooterCtaSlot(): HTMLDivElement {\n return (\n <div class=\"action-container\">\n <slot name=\"footer-cta\" />\n </div>\n );\n }\n\n render(): HTMLZBookCardDeprecatedElement {\n return (\n <article\n class={{\n [this.variant]: true,\n borderless: !!this.borderless,\n }}\n >\n {this.renderCard()}\n </article>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}