@zanichelli/albe-web-components 7.6.0-RC1 → 8.0.1-RC-DebugSafari

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 (331) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/{index-10e0d8b7.js → index-b7c319f2.js} +0 -6
  3. package/dist/cjs/index-e3299e0a.js +4 -8
  4. package/dist/cjs/index.cjs.js +2 -8
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{utils-dd90aed2.js → utils-38f8555a.js} +1 -1
  7. package/dist/cjs/{utils-3b4947cd.js → utils-938e5834.js} +1 -1
  8. package/dist/cjs/web-components-library.cjs.js +1 -1
  9. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-header_11.cjs.entry.js +6 -5
  11. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  12. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  13. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  14. package/dist/cjs/z-card.cjs.entry.js +1 -1
  15. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  16. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  17. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  18. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  19. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  20. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  21. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  22. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  23. package/dist/cjs/z-file.cjs.entry.js +1 -1
  24. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  25. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  26. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  27. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  30. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  32. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  33. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  34. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  35. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  36. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  37. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  38. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  39. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  40. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  41. package/dist/cjs/z-select.cjs.entry.js +2 -2
  42. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  43. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  44. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  45. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  46. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  47. package/dist/cjs/z-table.cjs.entry.js +1 -1
  48. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  49. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  50. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  51. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  52. package/dist/collection/beans/index.js +0 -6
  53. package/dist/collection/collection-manifest.json +0 -1
  54. package/dist/collection/components/inputs/z-input/index.js +3 -2
  55. package/dist/collection/components/inputs/z-input/styles.css +4 -0
  56. package/dist/esm/{index-c53ca6bc.js → index-7e4df1be.js} +1 -7
  57. package/dist/esm/index-a2ca4b97.js +4 -8
  58. package/dist/esm/index.js +2 -2
  59. package/dist/esm/loader.js +1 -1
  60. package/dist/esm/{utils-4db4ed1f.js → utils-825aed23.js} +1 -1
  61. package/dist/esm/{utils-412ebe25.js → utils-af924ea4.js} +1 -1
  62. package/dist/esm/web-components-library.js +1 -1
  63. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  64. package/dist/esm/z-app-header_11.entry.js +6 -5
  65. package/dist/esm/z-aria-alert.entry.js +1 -1
  66. package/dist/esm/z-avatar.entry.js +1 -1
  67. package/dist/esm/z-breadcrumb.entry.js +2 -2
  68. package/dist/esm/z-card.entry.js +1 -1
  69. package/dist/esm/z-carousel.entry.js +1 -1
  70. package/dist/esm/z-chip.entry.js +2 -2
  71. package/dist/esm/z-combobox.entry.js +2 -2
  72. package/dist/esm/z-contextual-menu.entry.js +1 -1
  73. package/dist/esm/z-cover-hero.entry.js +1 -1
  74. package/dist/esm/z-date-picker.entry.js +2 -2
  75. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  76. package/dist/esm/z-file-upload.entry.js +2 -2
  77. package/dist/esm/z-file.entry.js +1 -1
  78. package/dist/esm/z-info-reveal.entry.js +1 -1
  79. package/dist/esm/z-messages-pocket.entry.js +1 -1
  80. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  81. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  82. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  83. package/dist/esm/z-myz-card-info.entry.js +2 -2
  84. package/dist/esm/z-myz-card_4.entry.js +1 -1
  85. package/dist/esm/z-myz-list-item.entry.js +2 -2
  86. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  87. package/dist/esm/z-navigation-tab.entry.js +1 -1
  88. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  89. package/dist/esm/z-otp.entry.js +1 -1
  90. package/dist/esm/z-pagination.entry.js +1 -1
  91. package/dist/esm/z-pocket_3.entry.js +2 -2
  92. package/dist/esm/z-popover.entry.js +1 -1
  93. package/dist/esm/z-range-picker.entry.js +2 -2
  94. package/dist/esm/z-section-title.entry.js +1 -1
  95. package/dist/esm/z-select.entry.js +2 -2
  96. package/dist/esm/z-skip-to-content.entry.js +2 -2
  97. package/dist/esm/z-slideshow.entry.js +2 -2
  98. package/dist/esm/z-table-cell.entry.js +1 -1
  99. package/dist/esm/z-table-header.entry.js +2 -2
  100. package/dist/esm/z-table-row.entry.js +1 -1
  101. package/dist/esm/z-table.entry.js +1 -1
  102. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  103. package/dist/esm/z-toast-notification.entry.js +1 -1
  104. package/dist/esm/z-toggle-switch.entry.js +2 -2
  105. package/dist/esm/z-tooltip.entry.js +1 -1
  106. package/dist/types/beans/index.d.ts +0 -5
  107. package/dist/types/components/buttons/z-button/index.d.ts +0 -0
  108. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -0
  109. package/dist/types/components/buttons/z-chip/index.d.ts +0 -0
  110. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -0
  111. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -0
  112. package/dist/types/components/date-picker/utils.d.ts +0 -0
  113. package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -0
  114. package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -0
  115. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -0
  116. package/dist/types/components/file-upload/z-file/index.d.ts +0 -0
  117. package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -0
  118. package/dist/types/components/icons/icons.d.ts +0 -0
  119. package/dist/types/components/icons/z-icon/index.d.ts +0 -0
  120. package/dist/types/components/index.d.ts +0 -0
  121. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -0
  122. package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -0
  123. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -0
  124. package/dist/types/components/inputs/z-input/index.d.ts +0 -0
  125. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -0
  126. package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -0
  127. package/dist/types/components/inputs/z-select/index.d.ts +0 -0
  128. package/dist/types/components/list/z-list/index.d.ts +0 -0
  129. package/dist/types/components/list/z-list-element/index.d.ts +0 -0
  130. package/dist/types/components/list/z-list-group/index.d.ts +0 -0
  131. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -0
  132. package/dist/types/components/logo/z-logo/index.d.ts +0 -0
  133. package/dist/types/components/modal/z-modal/index.d.ts +0 -0
  134. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +0 -0
  135. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +0 -0
  136. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +0 -0
  137. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -0
  138. package/dist/types/components/navigation/z-link/index.d.ts +0 -0
  139. package/dist/types/components/navigation/z-menu/index.d.ts +0 -0
  140. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -0
  141. package/dist/types/components/notification/z-info-box/index.d.ts +0 -0
  142. package/dist/types/components/notification/z-notification/index.d.ts +0 -0
  143. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -0
  144. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -0
  145. package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -0
  146. package/dist/types/components/z-anchor-navigation/index.d.ts +0 -0
  147. package/dist/types/components/z-aria-alert/index.d.ts +0 -0
  148. package/dist/types/components/z-avatar/index.d.ts +0 -0
  149. package/dist/types/components/z-card/index.d.ts +0 -0
  150. package/dist/types/components/z-carousel/index.d.ts +0 -0
  151. package/dist/types/components/z-contextual-menu/index.d.ts +0 -0
  152. package/dist/types/components/z-cover-hero/index.d.ts +0 -0
  153. package/dist/types/components/z-divider/index.d.ts +0 -0
  154. package/dist/types/components/z-ghost-loading/index.d.ts +0 -0
  155. package/dist/types/components/z-info-reveal/index.d.ts +0 -0
  156. package/dist/types/components/z-offcanvas/index.d.ts +0 -0
  157. package/dist/types/components/z-pagination/index.d.ts +0 -0
  158. package/dist/types/components/z-popover/index.d.ts +0 -0
  159. package/dist/types/components/z-section-title/index.d.ts +0 -0
  160. package/dist/types/components/z-skip-to-content/index.d.ts +0 -0
  161. package/dist/types/components/z-table/z-table/index.d.ts +0 -0
  162. package/dist/types/components/z-table/z-table-body/index.d.ts +0 -0
  163. package/dist/types/components/z-table/z-table-cell/index.d.ts +0 -0
  164. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +0 -0
  165. package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +0 -0
  166. package/dist/types/components/z-table/z-table-footer/index.d.ts +0 -0
  167. package/dist/types/components/z-table/z-table-head/index.d.ts +0 -0
  168. package/dist/types/components/z-table/z-table-header/index.d.ts +0 -0
  169. package/dist/types/components/z-table/z-table-header-row/index.d.ts +0 -0
  170. package/dist/types/components/z-table/z-table-row/index.d.ts +0 -0
  171. package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +0 -0
  172. package/dist/types/components/z-tag/index.d.ts +0 -0
  173. package/dist/types/components/z-visually-hidden/index.d.ts +0 -0
  174. package/dist/types/components.d.ts +1 -86
  175. package/dist/types/constants/breakpoints.d.ts +0 -0
  176. package/dist/types/constants/icons.d.ts +0 -0
  177. package/dist/types/index.d.ts +0 -0
  178. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -0
  179. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -0
  180. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -0
  181. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -0
  182. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -0
  183. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -0
  184. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -0
  185. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -0
  186. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -0
  187. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -0
  188. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -0
  189. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -0
  190. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -0
  191. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -0
  192. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -0
  193. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -0
  194. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -0
  195. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -0
  196. package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -0
  197. package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -0
  198. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -0
  199. package/dist/types/stencil-public-runtime.d.ts +0 -0
  200. package/dist/types/utils/utils.d.ts +0 -0
  201. package/dist/web-components-library/index.esm.js +1 -1
  202. package/dist/web-components-library/{p-e4d78452.entry.js → p-022854df.entry.js} +1 -1
  203. package/dist/web-components-library/{p-0aa025fa.entry.js → p-0418f9fb.entry.js} +1 -1
  204. package/dist/web-components-library/{p-47c095c2.entry.js → p-073f24c9.entry.js} +1 -1
  205. package/dist/web-components-library/{p-29426408.entry.js → p-079357ba.entry.js} +1 -1
  206. package/dist/web-components-library/{p-dd515f64.entry.js → p-0b822ad0.entry.js} +1 -1
  207. package/dist/web-components-library/{p-fed42db6.entry.js → p-0b942851.entry.js} +1 -1
  208. package/{www/build/p-d8ea70ed.entry.js → dist/web-components-library/p-0c0735e5.entry.js} +1 -1
  209. package/dist/web-components-library/{p-661905c0.entry.js → p-0eb7cb35.entry.js} +1 -1
  210. package/dist/web-components-library/p-14c2c56c.js +1 -0
  211. package/dist/web-components-library/p-1cc1a418.js +1 -0
  212. package/dist/web-components-library/{p-89d048ff.entry.js → p-227667b6.entry.js} +1 -1
  213. package/dist/web-components-library/{p-b0141c4d.entry.js → p-27100ea1.entry.js} +1 -1
  214. package/dist/web-components-library/p-2d339a33.entry.js +1 -0
  215. package/{www/build/p-78c5f1a4.entry.js → dist/web-components-library/p-2e7da553.entry.js} +1 -1
  216. package/{www/build/p-c59c6c78.entry.js → dist/web-components-library/p-2f547970.entry.js} +1 -1
  217. package/dist/web-components-library/{p-3ea868e0.entry.js → p-39595f7a.entry.js} +1 -1
  218. package/dist/web-components-library/{p-81e6e4c8.entry.js → p-39863e41.entry.js} +1 -1
  219. package/dist/web-components-library/{p-8ff9de86.entry.js → p-447a7c51.entry.js} +1 -1
  220. package/dist/web-components-library/{p-03ee7c14.entry.js → p-4610db36.entry.js} +1 -1
  221. package/dist/web-components-library/{p-a0345d42.entry.js → p-4b9882b3.entry.js} +1 -1
  222. package/dist/web-components-library/{p-0f8f488c.entry.js → p-5825ef19.entry.js} +1 -1
  223. package/dist/web-components-library/{p-5aee5484.entry.js → p-613d6de7.entry.js} +1 -1
  224. package/dist/web-components-library/{p-e7c7ac3d.entry.js → p-6be6a2f4.entry.js} +1 -1
  225. package/{www/build/p-bee6bf99.entry.js → dist/web-components-library/p-7ac431a5.entry.js} +1 -1
  226. package/dist/web-components-library/{p-aa228ddb.entry.js → p-8f7680ef.entry.js} +1 -1
  227. package/dist/web-components-library/{p-64fa04a0.entry.js → p-910ca14c.entry.js} +1 -1
  228. package/dist/web-components-library/p-98dcf178.entry.js +1 -0
  229. package/dist/web-components-library/{p-757c4b4d.entry.js → p-98df8460.entry.js} +1 -1
  230. package/dist/web-components-library/{p-482c478a.entry.js → p-9a1b8000.entry.js} +1 -1
  231. package/{www/build/p-d00cf0ff.entry.js → dist/web-components-library/p-9e400a11.entry.js} +1 -1
  232. package/dist/web-components-library/{p-9b4b0fbb.entry.js → p-9fee86aa.entry.js} +1 -1
  233. package/dist/web-components-library/{p-0e92e0d9.entry.js → p-a19a70a0.entry.js} +1 -1
  234. package/{www/build/p-e663af8b.entry.js → dist/web-components-library/p-b44030d0.entry.js} +1 -1
  235. package/dist/web-components-library/{p-ab1799fe.entry.js → p-cd456854.entry.js} +1 -1
  236. package/dist/web-components-library/{p-d4afc10f.entry.js → p-cfc9cf52.entry.js} +1 -1
  237. package/{www/build/p-856c6f33.entry.js → dist/web-components-library/p-d966a1b9.entry.js} +1 -1
  238. package/dist/web-components-library/{p-800ca36a.entry.js → p-d98d3cf1.entry.js} +1 -1
  239. package/dist/web-components-library/{p-374d6f57.entry.js → p-dcad3493.entry.js} +1 -1
  240. package/dist/web-components-library/{p-d9c76001.entry.js → p-e606b019.entry.js} +1 -1
  241. package/dist/web-components-library/{p-6a459468.entry.js → p-ec5242da.entry.js} +1 -1
  242. package/{www/build/p-c18b8fb3.js → dist/web-components-library/p-ee918c17.js} +1 -1
  243. package/{www/build/p-f3fce575.entry.js → dist/web-components-library/p-f5a247b9.entry.js} +1 -1
  244. package/dist/web-components-library/{p-e4e5a652.entry.js → p-f8f862f9.entry.js} +1 -1
  245. package/{www/build/p-a2d11471.entry.js → dist/web-components-library/p-fa7a11fd.entry.js} +1 -1
  246. package/dist/web-components-library/{p-e41e28f7.entry.js → p-fd8eae32.entry.js} +1 -1
  247. package/dist/web-components-library/{p-d96d4f30.entry.js → p-ff838f90.entry.js} +1 -1
  248. package/dist/web-components-library/web-components-library.css +0 -0
  249. package/dist/web-components-library/web-components-library.esm.js +1 -1
  250. package/loader/cdn.js +0 -0
  251. package/loader/index.cjs.js +0 -0
  252. package/loader/index.d.ts +0 -0
  253. package/loader/index.es2017.js +0 -0
  254. package/loader/index.js +0 -0
  255. package/loader/package.json +0 -0
  256. package/package.json +1 -1
  257. package/react/components.d.ts +0 -1
  258. package/react/components.js +2 -3
  259. package/react/components.js.map +1 -1
  260. package/www/build/index.esm.js +1 -1
  261. package/www/build/{p-e4d78452.entry.js → p-022854df.entry.js} +1 -1
  262. package/www/build/{p-0aa025fa.entry.js → p-0418f9fb.entry.js} +1 -1
  263. package/www/build/{p-47c095c2.entry.js → p-073f24c9.entry.js} +1 -1
  264. package/www/build/{p-29426408.entry.js → p-079357ba.entry.js} +1 -1
  265. package/www/build/{p-dd515f64.entry.js → p-0b822ad0.entry.js} +1 -1
  266. package/www/build/{p-fed42db6.entry.js → p-0b942851.entry.js} +1 -1
  267. package/{dist/web-components-library/p-d8ea70ed.entry.js → www/build/p-0c0735e5.entry.js} +1 -1
  268. package/www/build/{p-661905c0.entry.js → p-0eb7cb35.entry.js} +1 -1
  269. package/www/build/p-14c2c56c.js +1 -0
  270. package/www/build/p-1cc1a418.js +1 -0
  271. package/www/build/{p-89d048ff.entry.js → p-227667b6.entry.js} +1 -1
  272. package/www/build/{p-b0141c4d.entry.js → p-27100ea1.entry.js} +1 -1
  273. package/www/build/p-2d339a33.entry.js +1 -0
  274. package/{dist/web-components-library/p-78c5f1a4.entry.js → www/build/p-2e7da553.entry.js} +1 -1
  275. package/{dist/web-components-library/p-c59c6c78.entry.js → www/build/p-2f547970.entry.js} +1 -1
  276. package/www/build/{p-3ea868e0.entry.js → p-39595f7a.entry.js} +1 -1
  277. package/www/build/{p-81e6e4c8.entry.js → p-39863e41.entry.js} +1 -1
  278. package/www/build/{p-8ff9de86.entry.js → p-447a7c51.entry.js} +1 -1
  279. package/www/build/{p-03ee7c14.entry.js → p-4610db36.entry.js} +1 -1
  280. package/www/build/{p-a0345d42.entry.js → p-4b9882b3.entry.js} +1 -1
  281. package/www/build/{p-0f8f488c.entry.js → p-5825ef19.entry.js} +1 -1
  282. package/www/build/{p-5aee5484.entry.js → p-613d6de7.entry.js} +1 -1
  283. package/www/build/{p-e7c7ac3d.entry.js → p-6be6a2f4.entry.js} +1 -1
  284. package/{dist/web-components-library/p-bee6bf99.entry.js → www/build/p-7ac431a5.entry.js} +1 -1
  285. package/www/build/{p-aa228ddb.entry.js → p-8f7680ef.entry.js} +1 -1
  286. package/www/build/{p-64fa04a0.entry.js → p-910ca14c.entry.js} +1 -1
  287. package/www/build/p-98dcf178.entry.js +1 -0
  288. package/www/build/{p-757c4b4d.entry.js → p-98df8460.entry.js} +1 -1
  289. package/www/build/{p-482c478a.entry.js → p-9a1b8000.entry.js} +1 -1
  290. package/{dist/web-components-library/p-d00cf0ff.entry.js → www/build/p-9e400a11.entry.js} +1 -1
  291. package/www/build/{p-9b4b0fbb.entry.js → p-9fee86aa.entry.js} +1 -1
  292. package/www/build/{p-0e92e0d9.entry.js → p-a19a70a0.entry.js} +1 -1
  293. package/{dist/web-components-library/p-e663af8b.entry.js → www/build/p-b44030d0.entry.js} +1 -1
  294. package/www/build/p-bfc6ed6c.js +1 -0
  295. package/www/build/{p-ab1799fe.entry.js → p-cd456854.entry.js} +1 -1
  296. package/www/build/{p-d4afc10f.entry.js → p-cfc9cf52.entry.js} +1 -1
  297. package/{dist/web-components-library/p-856c6f33.entry.js → www/build/p-d966a1b9.entry.js} +1 -1
  298. package/www/build/{p-800ca36a.entry.js → p-d98d3cf1.entry.js} +1 -1
  299. package/www/build/{p-374d6f57.entry.js → p-dcad3493.entry.js} +1 -1
  300. package/www/build/{p-d9c76001.entry.js → p-e606b019.entry.js} +1 -1
  301. package/www/build/{p-6a459468.entry.js → p-ec5242da.entry.js} +1 -1
  302. package/{dist/web-components-library/p-c18b8fb3.js → www/build/p-ee918c17.js} +1 -1
  303. package/www/build/p-f39bb490.css +2 -0
  304. package/{dist/web-components-library/p-f3fce575.entry.js → www/build/p-f5a247b9.entry.js} +1 -1
  305. package/www/build/{p-e4e5a652.entry.js → p-f8f862f9.entry.js} +1 -1
  306. package/{dist/web-components-library/p-a2d11471.entry.js → www/build/p-fa7a11fd.entry.js} +1 -1
  307. package/www/build/{p-e41e28f7.entry.js → p-fd8eae32.entry.js} +1 -1
  308. package/www/build/{p-d96d4f30.entry.js → p-ff838f90.entry.js} +1 -1
  309. package/www/build/web-components-library.css +0 -0
  310. package/www/build/web-components-library.esm.js +1 -1
  311. package/www/build/web-components-library.js +0 -0
  312. package/www/host.config.json +0 -0
  313. package/www/index.html +1 -1
  314. package/dist/cjs/z-book-card.cjs.entry.js +0 -115
  315. package/dist/collection/components/z-book-card/index.js +0 -308
  316. package/dist/collection/components/z-book-card/styles.css +0 -337
  317. package/dist/esm/z-book-card.entry.js +0 -111
  318. package/dist/types/components/z-book-card/index.d.ts +0 -75
  319. package/dist/web-components-library/p-095ce6ef.entry.js +0 -1
  320. package/dist/web-components-library/p-8c3eeb55.js +0 -1
  321. package/dist/web-components-library/p-e0fb4e05.entry.js +0 -1
  322. package/dist/web-components-library/p-e936bf5f.entry.js +0 -1
  323. package/dist/web-components-library/p-f0cd78f2.js +0 -1
  324. package/www/build/p-095ce6ef.entry.js +0 -1
  325. package/www/build/p-8c3eeb55.js +0 -1
  326. package/www/build/p-9e1e6212.js +0 -129
  327. package/www/build/p-bc2bd463.css +0 -1617
  328. package/www/build/p-e0fb4e05.entry.js +0 -1
  329. package/www/build/p-e936bf5f.entry.js +0 -1
  330. package/www/build/p-f0cd78f2.js +0 -1
  331. package/www/pages/book-cards.html +0 -269
@@ -1,337 +0,0 @@
1
- /* stylelint-disable value-no-vendor-prefix */
2
-
3
- /* COMMON STYLES */
4
-
5
- :host {
6
- --z-book-card-ribbon-background-color: var(--avatar-C08);
7
- --z-book-card-ribbon-shadow-color: var(--green950);
8
-
9
- display: block;
10
- width: 100%;
11
- max-width: 360px;
12
- font-family: var(--font-family-sans);
13
- font-weight: var(--font-rg);
14
- }
15
-
16
- :host > article {
17
- box-sizing: border-box;
18
- border: var(--border-size-medium) solid var(--color-surface03);
19
- background-color: var(--color-surface01);
20
- border-radius: var(--border-radius);
21
- }
22
-
23
- :host div.cover {
24
- position: relative;
25
- display: flex;
26
- }
27
-
28
- :host div.cover img {
29
- width: auto;
30
- max-width: 100%;
31
- height: auto;
32
- max-height: 100%;
33
- align-self: flex-end;
34
- }
35
-
36
- :host div.cover div.ribbon {
37
- position: absolute;
38
- top: calc(var(--space-unit) * 2);
39
- display: flex;
40
- height: calc(var(--space-unit) * 4);
41
- box-sizing: border-box;
42
- align-items: center;
43
- padding: 0 calc(var(--space-unit) * 2);
44
- border: var(--border-size-medium) solid var(--color-surface01);
45
- margin-left: calc(var(--space-unit) * -2);
46
- background: var(--z-book-card-ribbon-background-color);
47
- border-radius: 0 var(--border-radius) var(--border-radius) 0;
48
- color: var(--color-text04);
49
- font-size: var(--font-size-2);
50
- font-weight: var(--font-sb);
51
- line-height: initial;
52
- }
53
-
54
- :host div.cover div.ribbon::before {
55
- position: absolute;
56
- bottom: -12px;
57
- left: 0;
58
- width: 0;
59
- height: 0;
60
- border-top: 10px solid var(--z-book-card-ribbon-shadow-color);
61
- border-left: 14px solid transparent;
62
- content: "";
63
- }
64
-
65
- :host div.title {
66
- color: var(--color-text01);
67
- font-size: var(--font-size-4);
68
- font-weight: var(--font-sb);
69
- line-height: 1.5;
70
- }
71
-
72
- :host div.title * {
73
- all: unset;
74
- }
75
-
76
- :host div.subtitle {
77
- color: var(--color-text01);
78
- font-size: var(--font-size-2);
79
- font-weight: var(--font-rg);
80
- line-height: 1.4;
81
- }
82
-
83
- :host div.authors {
84
- color: var(--color-text01);
85
- font-size: var(--font-size-1);
86
- font-weight: var(--font-rg);
87
- line-height: 1.33;
88
- }
89
-
90
- :host div.isbn {
91
- color: var(--color-text01);
92
- font-size: var(--font-size-2);
93
- line-height: 1.33;
94
- }
95
-
96
- :host div.isbn > .code {
97
- font-weight: var(--font-sb);
98
- }
99
-
100
- :host div.tags {
101
- display: flex;
102
- overflow: hidden;
103
- max-height: 32px;
104
- flex-flow: row wrap;
105
- align-content: stretch;
106
- align-items: stretch;
107
- justify-content: flex-start;
108
- gap: calc(var(--space-unit) / 2);
109
- }
110
-
111
- :host ::slotted([slot="tags"]) {
112
- margin-bottom: var(--space-unit);
113
- }
114
-
115
- :host ::slotted([slot="header-cta"]) {
116
- --z-icon-width: 20px;
117
- --z-icon-height: 20px;
118
-
119
- padding: var(--space-unit);
120
- cursor: pointer;
121
- fill: var(--color-icon01);
122
- }
123
-
124
- :host > article.expanded div.content,
125
- :host > article.search div.content {
126
- margin: var(--space-unit) 0;
127
- }
128
-
129
- :host > article.expanded div.cover,
130
- :host > article.search div.cover {
131
- border: var(--border-size-small) solid var(--color-surface03);
132
- border-radius: var(--border-radius);
133
- line-height: 0;
134
- }
135
-
136
- /* EXPANDED STYLES */
137
-
138
- :host > article.expanded {
139
- width: 100%;
140
- min-width: 328px;
141
- padding: calc(var(--space-unit) * 2);
142
- padding-bottom: 0;
143
- }
144
-
145
- :host > article.expanded div.header {
146
- display: flex;
147
- flex-flow: row nowrap;
148
- align-content: stretch;
149
- align-items: top;
150
- justify-content: space-between;
151
- margin-bottom: var(--space-unit);
152
- white-space: nowrap;
153
- }
154
-
155
- :host > article.expanded div.cover img {
156
- width: 100%;
157
- }
158
-
159
- :host > article.expanded .title,
160
- :host > article.expanded .subtitle,
161
- :host > article.expanded .authors {
162
- display: -webkit-box;
163
- overflow: hidden;
164
- -webkit-box-orient: vertical;
165
- -webkit-line-clamp: 2;
166
- white-space: initial;
167
- }
168
-
169
- :host > article.expanded div.footer {
170
- border-top: var(--border-size-small) solid var(--color-surface03);
171
- margin-bottom: calc(var(--space-unit) * 1.5);
172
- }
173
-
174
- :host > article.expanded div.footer.open {
175
- padding-top: calc(var(--space-unit) * 1.5);
176
- }
177
-
178
- :host > article.expanded div.footer.open div.resources {
179
- display: initial;
180
- }
181
-
182
- :host > article.expanded div.footer.close div.resources {
183
- display: none;
184
- }
185
-
186
- :host > article.expanded z-link.show-resources {
187
- --font-size-link: var(--font-size-2);
188
- --font-weight-link: var(--font-sb);
189
-
190
- display: flex;
191
- width: 100%;
192
- flex-flow: row nowrap;
193
- align-content: center;
194
- align-items: center;
195
- justify-content: center;
196
- padding-top: var(--space-unit);
197
- }
198
-
199
- /* SEARCH STYLES */
200
-
201
- :host > article.search {
202
- width: 262px;
203
- height: 536px;
204
- padding: calc(var(--space-unit) * 2);
205
- padding-bottom: 0;
206
- }
207
-
208
- :host > article.search .wrapper-container {
209
- display: flex;
210
- height: 100%;
211
- flex-direction: column;
212
- justify-content: space-between;
213
- }
214
-
215
- :host > article.search .wrapper-container .wrapper {
216
- height: 451px;
217
- }
218
-
219
- :host > article.search .wrapper-container .action-container {
220
- padding-bottom: calc(var(--space-unit) * 2);
221
- margin: auto;
222
- margin-bottom: 0;
223
- }
224
-
225
- :host > article.search div.header {
226
- display: flex;
227
- height: 24px;
228
- flex-flow: row nowrap;
229
- align-content: stretch;
230
- align-items: center;
231
- justify-content: space-between;
232
- margin-bottom: calc(var(--space-unit) * 1.5);
233
- white-space: nowrap;
234
- }
235
-
236
- :host > article.search div.cover {
237
- height: 314px;
238
- }
239
-
240
- :host > article.search div.title {
241
- font-size: var(--font-size-3);
242
- }
243
-
244
- :host > article.search .title,
245
- :host > article.search .subtitle,
246
- :host > article.search .authors {
247
- overflow: hidden;
248
- text-overflow: ellipsis;
249
- white-space: nowrap;
250
- word-wrap: nowrap;
251
- }
252
-
253
- /* Tablet breakpoint */
254
- @media (min-width: 768px) {
255
- :host {
256
- width: initial;
257
- max-width: initial;
258
- }
259
-
260
- /* EXPANDED STYLES */
261
-
262
- :host > article.expanded {
263
- width: 635px;
264
- min-width: initial;
265
- max-width: initial;
266
- height: 360px;
267
- padding: 0;
268
- }
269
-
270
- :host > article.expanded div.wrapper {
271
- display: flex;
272
- flex-flow: row nowrap;
273
- align-content: stretch;
274
- align-items: stretch;
275
- justify-content: flex-start;
276
- }
277
-
278
- :host > article.expanded div.cover {
279
- width: 262px;
280
- height: 356px;
281
- border: 0;
282
- background: var(--color-surface01);
283
- border-radius: 0;
284
- }
285
-
286
- :host > article.expanded div.cover img {
287
- width: auto;
288
- }
289
-
290
- :host > article.expanded div.cover div.ribbon::before {
291
- border-left: 12px solid transparent;
292
- }
293
-
294
- :host > article.expanded div.content {
295
- display: flex;
296
- overflow: hidden;
297
- width: 369px;
298
- height: 356px;
299
- flex-flow: column nowrap;
300
- align-content: stretch;
301
- align-items: stretch;
302
- justify-content: space-between;
303
- margin: 0;
304
- background: var(--color-surface01);
305
- }
306
-
307
- :host > article.expanded div.content div.top {
308
- padding: calc(var(--space-unit) * 2);
309
- padding-bottom: 0;
310
- }
311
-
312
- :host > article.expanded div.content div.top div.info {
313
- display: flex;
314
- flex-flow: row nowrap;
315
- align-content: stretch;
316
- align-items: stretch;
317
- justify-content: space-between;
318
- margin-bottom: calc(var(--space-unit) / 2);
319
- }
320
-
321
- :host > article.expanded div.content div.top div.info > div.left {
322
- width: 100%;
323
- }
324
-
325
- :host > article.expanded div.content div.bottom {
326
- padding: calc(var(--space-unit) * 2);
327
- padding-bottom: 0;
328
- }
329
- }
330
-
331
- /* Desktop breakpoint
332
- @media (min-width: 1152px) {}
333
- */
334
-
335
- /* Wide breakpoint
336
- @media (min-width: 1366px) {}
337
- */
@@ -1,111 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
2
- import { Y as BookCardVariant } from './index-c53ca6bc.js';
3
- import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
4
- import { r as randomId, h as handleEnterKeydSubmit } from './utils-4db4ed1f.js';
5
-
6
- const stylesCss = ":host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);display:block;width:100%;max-width:360px;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article{box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}:host div.cover{position:relative;display:flex}:host div.cover img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host div.cover div.ribbon{position:absolute;top:calc(var(--space-unit) * 2);display:flex;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);margin-left:calc(var(--space-unit) * -2);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;color:var(--color-text04);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host div.cover div.ribbon::before{position:absolute;bottom:-12px;left:0;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:14px solid transparent;content:\"\"}:host div.title{color:var(--color-text01);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host div.title *{all:unset}:host div.subtitle{color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host div.authors{color:var(--color-text01);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host div.isbn{color:var(--color-text01);font-size:var(--font-size-2);line-height:1.33}:host div.isbn>.code{font-weight:var(--font-sb)}:host 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 ::slotted([slot=\"tags\"]){margin-bottom:var(--space-unit)}:host ::slotted([slot=\"header-cta\"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}:host>article.expanded div.content,:host>article.search div.content{margin:var(--space-unit) 0}:host>article.expanded div.cover,:host>article.search div.cover{border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius);line-height:0}: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 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 z-link.show-resources{--font-size-link:var(--font-size-2);--font-weight-link:var(--font-sb);display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding-top:var(--space-unit)}:host>article.search{width:262px;height:536px;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);margin:auto;margin-bottom:0}: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{height:314px}:host>article.search div.title{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;word-wrap:nowrap}@media (min-width: 768px){:host{width:initial;max-width:initial}:host>article.expanded{width:635px;min-width:initial;max-width:initial;height:360px;padding: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{width:262px;height:356px;border:0;background:var(--color-surface01);border-radius:0}:host>article.expanded div.cover img{width:auto}:host>article.expanded div.cover div.ribbon::before{border-left:12px solid transparent}:host>article.expanded div.content{display:flex;overflow:hidden;width:369px;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin:0;background:var(--color-surface01)}: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}}";
7
-
8
- const ZBookCard = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.isMobile = false;
12
- this.hasResources = false;
13
- this.showResources = false;
14
- this.moveFocusToResources = false;
15
- }
16
- handleResize() {
17
- this.isMobile = window.innerWidth <= mobileBreakpoint;
18
- }
19
- componentWillLoad() {
20
- this.id = `id-${randomId()}`;
21
- this.handleResize();
22
- }
23
- componentWillRender() {
24
- this.handleResources();
25
- }
26
- componentDidRender() {
27
- if (this.moveFocusToResources) {
28
- this.resourcesWrapper.focus();
29
- this.moveFocusToResources = false;
30
- }
31
- }
32
- handleResources() {
33
- var _a;
34
- if (this.variant !== BookCardVariant.EXPANDED || !this.isMobile) {
35
- return;
36
- }
37
- this.hasResources = ((_a = this.hostElement.querySelectorAll("[slot=resources]")) === null || _a === void 0 ? void 0 : _a.length) > 0;
38
- }
39
- toggleResources() {
40
- this.showResources = !this.showResources;
41
- if (this.showResources) {
42
- this.moveFocusToResources = true;
43
- }
44
- }
45
- renderCard() {
46
- switch (this.variant) {
47
- case BookCardVariant.EXPANDED:
48
- return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
49
- case BookCardVariant.COMPACT:
50
- return h("div", null);
51
- case BookCardVariant.SEARCH:
52
- return this.renderSearchCard();
53
- }
54
- }
55
- renderExpandedCard() {
56
- return (h("div", { class: "wrapper" }, this.renderCover(), h("div", { class: "content" }, h("div", { class: "top" }, h("div", { class: "info" }, h("div", { class: "left" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("div", { class: "right" }, this.renderHeaderCtaSlot())), this.renderTagsSlot()), h("div", { class: "bottom" }, this.renderResourcesSlot()))));
57
- }
58
- renderMobileExpandedCard() {
59
- return (h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn()), this.hasResources && (h("div", { class: `footer ${this.showResources ? "open" : "close"}` }, this.renderResourcesSlot(), this.renderShowResources()))));
60
- }
61
- renderSearchCard() {
62
- return (h("div", { class: "wrapper-container" }, h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn())), this.renderFooterCtaSlot()));
63
- }
64
- renderCover() {
65
- return (h("div", { class: "cover" }, this.ribbon && this.variant !== BookCardVariant.COMPACT && (h("div", { class: "ribbon" }, h("span", null, this.ribbon))), h("img", { src: this.cover, onError: () => {
66
- if (this.fallbackCover) {
67
- this.cover = this.fallbackCover;
68
- }
69
- }, "aria-hidden": "true" })));
70
- }
71
- renderOperaTitle() {
72
- const title = this.operaTitleTag
73
- ? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
74
- : this.operaTitle;
75
- return (h("div", { class: "title", innerHTML: title }));
76
- }
77
- renderVolumeTitle() {
78
- return this.volumeTitle ? h("div", { class: "subtitle" }, this.volumeTitle) : null;
79
- }
80
- renderAuthors() {
81
- return this.authors ? (h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
82
- }
83
- renderIsbn() {
84
- if (!this.isbn) {
85
- return null;
86
- }
87
- return (h("div", { class: "isbn" }, h("span", { class: "code", "aria-description": "ISBN edizione cartacea" }, this.isbn), h("span", { class: "label" }, " (ed. cartacea)")));
88
- }
89
- renderShowResources() {
90
- return (h("z-link", { icon: this.showResources ? "chevron-up" : "chevron-down", iconposition: "right", role: "button", class: "show-resources", "aria-label": `Risorse del libro ${this.operaTitle}`, "aria-expanded": this.showResources.toString(), "aria-haspopup": "menu", "aria-controls": `resources-${this.id}`, onClick: () => this.toggleResources(), onKeyUp: (e) => handleEnterKeydSubmit(e, this.toggleResources.bind(this)) }, this.showResources ? "Chiudi" : "Vedi tutto"));
91
- }
92
- renderTagsSlot() {
93
- return (h("div", { class: "tags" }, h("slot", { name: "tags" })));
94
- }
95
- renderHeaderCtaSlot() {
96
- return h("slot", { name: "header-cta" });
97
- }
98
- renderResourcesSlot() {
99
- return (h("div", { id: `resources-${this.id}`, class: "resources", tabIndex: this.showResources ? 0 : -1, ref: (el) => (this.resourcesWrapper = el) }, h("slot", { name: "resources" })));
100
- }
101
- renderFooterCtaSlot() {
102
- return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
103
- }
104
- render() {
105
- return h("article", { class: `${this.variant}` }, this.renderCard());
106
- }
107
- get hostElement() { return getElement(this); }
108
- };
109
- ZBookCard.style = stylesCss;
110
-
111
- export { ZBookCard as z_book_card };
@@ -1,75 +0,0 @@
1
- import { BookCardVariant } from "../../beans";
2
- /**
3
- * @slot resources - books resources (extended variant only)
4
- * @slot header-cta - header CTA (e.g. bookmark icon)
5
- * @slot tags - card tags
6
- * @slot footer-cta - footer cta button (search variant only)
7
- * @cssprop --z-book-card-ribbon-background-color - ribbon backgrund color
8
- * @cssprop --z-book-card-ribbon-shadow-color - ribbon shadow color
9
- */
10
- export declare class ZBookCard {
11
- hostElement: HTMLZBookCardElement;
12
- /**
13
- * Card variant: expanded, compact, search
14
- */
15
- variant: BookCardVariant;
16
- /**
17
- * Cover URL
18
- */
19
- cover: string;
20
- /**
21
- * Card main title
22
- */
23
- operaTitle: string;
24
- /**
25
- * [optional] Card subtitle
26
- */
27
- volumeTitle?: string;
28
- /**
29
- * [optional] Authors
30
- */
31
- authors?: string;
32
- /**
33
- * [optional] Main ISBN
34
- */
35
- isbn?: string;
36
- /**
37
- * [optional] Ribbon label
38
- */
39
- ribbon?: string;
40
- /**
41
- * [optional] Fallback cover URL
42
- */
43
- fallbackCover?: string;
44
- /**
45
- * [optional] [accessibility] Card title HTML tag
46
- */
47
- operaTitleTag?: string;
48
- isMobile: boolean;
49
- hasResources: boolean;
50
- showResources: boolean;
51
- private id;
52
- private moveFocusToResources;
53
- private resourcesWrapper;
54
- handleResize(): void;
55
- componentWillLoad(): void;
56
- componentWillRender(): void;
57
- componentDidRender(): void;
58
- private handleResources;
59
- private toggleResources;
60
- private renderCard;
61
- private renderExpandedCard;
62
- private renderMobileExpandedCard;
63
- private renderSearchCard;
64
- private renderCover;
65
- private renderOperaTitle;
66
- private renderVolumeTitle;
67
- private renderAuthors;
68
- private renderIsbn;
69
- private renderShowResources;
70
- private renderTagsSlot;
71
- private renderHeaderCtaSlot;
72
- private renderResourcesSlot;
73
- private renderFooterCtaSlot;
74
- render(): HTMLZBookCardElement;
75
- }