@zanichelli/albe-web-components 12.1.4-rc → 12.2.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 (814) hide show
  1. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  2. package/dist/cjs/breakpoints-ebe1a437.js +9 -0
  3. package/dist/cjs/hammer-4f20813e.js +2650 -0
  4. package/dist/cjs/icons-d385b990.js +862 -0
  5. package/dist/cjs/index-00b6f6ba.js +20 -0
  6. package/dist/cjs/index-115387e6.js +17 -0
  7. package/dist/cjs/index-195ca522.js +2326 -0
  8. package/dist/cjs/index-20f305f7.js +17 -0
  9. package/dist/cjs/index-23ca3837.js +53 -0
  10. package/dist/cjs/index-270a4cf7.js +22 -0
  11. package/dist/cjs/index-2b0eb1f0.js +34 -0
  12. package/dist/cjs/index-4e41767c.js +21 -0
  13. package/dist/cjs/index-53c72420.js +79 -0
  14. package/dist/cjs/index-544902f0.js +21 -0
  15. package/dist/cjs/index-bb84dc1c.js +21 -0
  16. package/dist/cjs/index-cf9497bc.js +344 -0
  17. package/dist/cjs/index-d30158ef.js +67 -0
  18. package/dist/cjs/index-df08bc63.js +29 -0
  19. package/dist/cjs/index-e3bf75bc.js +41 -0
  20. package/dist/cjs/index-e78caf11.js +74 -0
  21. package/dist/cjs/index-f64e5dfe.js +17 -0
  22. package/dist/cjs/index-f6910e7f.js +21 -0
  23. package/dist/cjs/index.cjs.js +331 -0
  24. package/dist/cjs/loader.cjs.js +21 -0
  25. package/dist/cjs/utils-8335dca3.js +2706 -0
  26. package/dist/cjs/utils-ee86db4f.js +110 -0
  27. package/dist/cjs/web-components-library.cjs.js +19 -0
  28. package/dist/cjs/z-accordion.cjs.entry.js +67 -0
  29. package/dist/cjs/z-alert.cjs.entry.js +19 -0
  30. package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
  31. package/dist/cjs/z-app-header_11.cjs.entry.js +1077 -0
  32. package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
  33. package/dist/cjs/z-avatar.cjs.entry.js +44 -0
  34. package/dist/cjs/z-book-card.cjs.entry.js +126 -0
  35. package/dist/cjs/z-breadcrumb.cjs.entry.js +232 -0
  36. package/dist/cjs/z-button-sort.cjs.entry.js +53 -0
  37. package/dist/cjs/z-card.cjs.entry.js +53 -0
  38. package/dist/cjs/z-carousel.cjs.entry.js +150 -0
  39. package/dist/cjs/z-chip.cjs.entry.js +32 -0
  40. package/dist/cjs/z-combobox.cjs.entry.js +201 -0
  41. package/dist/cjs/z-contextual-menu.cjs.entry.js +46 -0
  42. package/dist/cjs/z-cover-hero.cjs.entry.js +57 -0
  43. package/dist/cjs/z-date-picker.cjs.entry.js +477 -0
  44. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1016 -0
  45. package/dist/cjs/z-file-upload.cjs.entry.js +185 -0
  46. package/dist/cjs/z-file.cjs.entry.js +48 -0
  47. package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
  48. package/dist/cjs/z-info-box.cjs.entry.js +25 -0
  49. package/dist/cjs/z-info-reveal.cjs.entry.js +65 -0
  50. package/dist/cjs/z-link.cjs.entry.js +74 -0
  51. package/dist/cjs/z-logo.cjs.entry.js +26 -0
  52. package/dist/cjs/z-menu-section.cjs.entry.js +54 -0
  53. package/dist/cjs/z-menu.cjs.entry.js +119 -0
  54. package/dist/cjs/z-messages-pocket.cjs.entry.js +46 -0
  55. package/dist/cjs/z-myz-card-alert.cjs.entry.js +63 -0
  56. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +36 -0
  57. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +19 -0
  58. package/dist/cjs/z-myz-card-footer.cjs.entry.js +69 -0
  59. package/dist/cjs/z-myz-card-icon.cjs.entry.js +23 -0
  60. package/dist/cjs/z-myz-card-info.cjs.entry.js +129 -0
  61. package/dist/cjs/z-myz-card-list.cjs.entry.js +38 -0
  62. package/dist/cjs/z-myz-card_4.cjs.entry.js +108 -0
  63. package/dist/cjs/z-myz-list-item.cjs.entry.js +37 -0
  64. package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
  65. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +74 -0
  66. package/dist/cjs/z-navigation-tab.cjs.entry.js +73 -0
  67. package/dist/cjs/z-navigation-tabs.cjs.entry.js +229 -0
  68. package/dist/cjs/z-notification.cjs.entry.js +41 -0
  69. package/dist/cjs/z-otp.cjs.entry.js +41 -0
  70. package/dist/cjs/z-pagination.cjs.entry.js +229 -0
  71. package/dist/cjs/z-panel-elem.cjs.entry.js +34 -0
  72. package/dist/cjs/z-pocket-message.cjs.entry.js +19 -0
  73. package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
  74. package/dist/cjs/z-popover.cjs.entry.js +328 -0
  75. package/dist/cjs/z-range-picker.cjs.entry.js +361 -0
  76. package/dist/cjs/z-section-title.cjs.entry.js +33 -0
  77. package/dist/cjs/z-select.cjs.entry.js +336 -0
  78. package/dist/cjs/z-skip-to-content.cjs.entry.js +74 -0
  79. package/dist/cjs/z-slideshow.cjs.entry.js +129 -0
  80. package/dist/cjs/z-stepper-item.cjs.entry.js +22 -0
  81. package/dist/cjs/z-stepper.cjs.entry.js +19 -0
  82. package/dist/cjs/z-table-body.cjs.entry.js +10 -0
  83. package/dist/cjs/z-table-cell.cjs.entry.js +11 -0
  84. package/dist/cjs/z-table-deprecated.cjs.entry.js +91 -0
  85. package/dist/cjs/z-table-empty-box.cjs.entry.js +10 -0
  86. package/dist/cjs/z-table-expanded-row.cjs.entry.js +10 -0
  87. package/dist/cjs/z-table-footer.cjs.entry.js +10 -0
  88. package/dist/cjs/z-table-head.cjs.entry.js +10 -0
  89. package/dist/cjs/z-table-header-row.cjs.entry.js +10 -0
  90. package/dist/cjs/z-table-header.cjs.entry.js +13 -0
  91. package/dist/cjs/z-table-row.cjs.entry.js +11 -0
  92. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +10 -0
  93. package/dist/cjs/z-table.cjs.entry.js +58 -0
  94. package/dist/cjs/z-tag.cjs.entry.js +22 -0
  95. package/dist/cjs/z-tbody.cjs.entry.js +10 -0
  96. package/dist/cjs/z-td.cjs.entry.js +11 -0
  97. package/dist/cjs/z-tfoot.cjs.entry.js +10 -0
  98. package/dist/cjs/z-th.cjs.entry.js +11 -0
  99. package/dist/cjs/z-thead.cjs.entry.js +10 -0
  100. package/dist/cjs/z-toast-notification-list.cjs.entry.js +56 -0
  101. package/dist/cjs/z-toast-notification.cjs.entry.js +200 -0
  102. package/dist/cjs/z-toggle-button.cjs.entry.js +36 -0
  103. package/dist/cjs/z-toggle-switch.cjs.entry.js +51 -0
  104. package/dist/cjs/z-tooltip.cjs.entry.js +37 -0
  105. package/dist/cjs/z-tr.cjs.entry.js +15 -0
  106. package/dist/cjs/z-visually-hidden.cjs.entry.js +19 -0
  107. package/dist/collection/beans/index.js +342 -0
  108. package/dist/collection/collection-manifest.json +106 -0
  109. package/dist/collection/components/buttons/z-button/index.js +262 -0
  110. package/dist/collection/components/buttons/z-button/styles.css +149 -0
  111. package/dist/collection/components/buttons/z-button-sort/index.js +220 -0
  112. package/dist/collection/components/buttons/z-button-sort/styles.css +84 -0
  113. package/dist/collection/components/buttons/z-chip/index.js +147 -0
  114. package/dist/collection/components/buttons/z-chip/styles.css +122 -0
  115. package/dist/collection/components/buttons/z-toggle-button/index.js +146 -0
  116. package/dist/collection/components/buttons/z-toggle-button/styles.css +60 -0
  117. package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -0
  118. package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -0
  119. package/dist/collection/components/date-picker/styles.css +565 -0
  120. package/dist/collection/components/date-picker/utils.js +76 -0
  121. package/dist/collection/components/date-picker/z-date-picker/index.js +295 -0
  122. package/dist/collection/components/date-picker/z-range-picker/index.js +593 -0
  123. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -0
  124. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -0
  125. package/dist/collection/components/file-upload/z-file/index.js +131 -0
  126. package/dist/collection/components/file-upload/z-file/styles.css +23 -0
  127. package/dist/collection/components/file-upload/z-file-upload/index.js +363 -0
  128. package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -0
  129. package/dist/collection/components/icons/icons.js +858 -0
  130. package/dist/collection/components/icons/z-icon/index.js +114 -0
  131. package/dist/collection/components/icons/z-icon/styles.css +14 -0
  132. package/dist/collection/components/index.js +8 -0
  133. package/dist/collection/components/indicators/z-stepper/index.js +21 -0
  134. package/dist/collection/components/indicators/z-stepper/styles.css +19 -0
  135. package/dist/collection/components/indicators/z-stepper-item/index.js +93 -0
  136. package/dist/collection/components/indicators/z-stepper-item/styles.css +114 -0
  137. package/dist/collection/components/inputs/z-combobox/index.js +570 -0
  138. package/dist/collection/components/inputs/z-combobox/styles.css +194 -0
  139. package/dist/collection/components/inputs/z-input/index.js +899 -0
  140. package/dist/collection/components/inputs/z-input/styles.css +397 -0
  141. package/dist/collection/components/inputs/z-input-message/index.js +89 -0
  142. package/dist/collection/components/inputs/z-input-message/styles.css +48 -0
  143. package/dist/collection/components/inputs/z-searchbar/index.js +599 -0
  144. package/dist/collection/components/inputs/z-searchbar/styles.css +185 -0
  145. package/dist/collection/components/inputs/z-select/index.js +767 -0
  146. package/dist/collection/components/inputs/z-select/styles.css +123 -0
  147. package/dist/collection/components/list/z-list/index.js +113 -0
  148. package/dist/collection/components/list/z-list/styles.css +6 -0
  149. package/dist/collection/components/list/z-list-element/index.js +545 -0
  150. package/dist/collection/components/list/z-list-element/styles.css +121 -0
  151. package/dist/collection/components/list/z-list-group/index.js +175 -0
  152. package/dist/collection/components/list/z-list-group/styles.css +21 -0
  153. package/dist/collection/components/list/z-toast-notification-list/index.js +105 -0
  154. package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -0
  155. package/dist/collection/components/logo/z-logo/index.js +131 -0
  156. package/dist/collection/components/logo/z-logo/styles.css +29 -0
  157. package/dist/collection/components/modal/z-modal/index.js +351 -0
  158. package/dist/collection/components/modal/z-modal/styles.css +251 -0
  159. package/dist/collection/components/navigation/z-app-header/index.js +449 -0
  160. package/dist/collection/components/navigation/z-app-header/index.stories.js +393 -0
  161. package/dist/collection/components/navigation/z-app-header/styles.css +441 -0
  162. package/dist/collection/components/navigation/z-menu/index.js +250 -0
  163. package/dist/collection/components/navigation/z-menu/styles.css +217 -0
  164. package/dist/collection/components/navigation/z-menu-section/index.js +125 -0
  165. package/dist/collection/components/navigation/z-menu-section/styles.css +123 -0
  166. package/dist/collection/components/navigation/z-navigation-tabs/index.js +367 -0
  167. package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +12 -0
  168. package/dist/collection/components/navigation/z-navigation-tabs/styles.css +212 -0
  169. package/dist/collection/components/notification/z-info-box/index.js +85 -0
  170. package/dist/collection/components/notification/z-info-box/styles.css +23 -0
  171. package/dist/collection/components/notification/z-notification/index.js +195 -0
  172. package/dist/collection/components/notification/z-notification/styles.css +114 -0
  173. package/dist/collection/components/notification/z-toast-notification/index.js +399 -0
  174. package/dist/collection/components/notification/z-toast-notification/styles.css +254 -0
  175. package/dist/collection/components/notification/z-tooltip/index.js +157 -0
  176. package/dist/collection/components/notification/z-tooltip/styles.css +17 -0
  177. package/dist/collection/components/panel/z-panel-elem/index.js +197 -0
  178. package/dist/collection/components/panel/z-panel-elem/styles.css +46 -0
  179. package/dist/collection/components/table/cells/z-td/index.js +147 -0
  180. package/dist/collection/components/table/cells/z-td/styles.css +59 -0
  181. package/dist/collection/components/table/cells/z-th/index.js +209 -0
  182. package/dist/collection/components/table/cells/z-th/styles.css +88 -0
  183. package/dist/collection/components/table/z-table/index.js +86 -0
  184. package/dist/collection/components/table/z-table/styles.css +22 -0
  185. package/dist/collection/components/table/z-tbody/index.js +22 -0
  186. package/dist/collection/components/table/z-tbody/styles.css +4 -0
  187. package/dist/collection/components/table/z-tfoot/index.js +50 -0
  188. package/dist/collection/components/table/z-tfoot/styles.css +13 -0
  189. package/dist/collection/components/table/z-thead/index.js +50 -0
  190. package/dist/collection/components/table/z-thead/styles.css +19 -0
  191. package/dist/collection/components/table/z-tr/index.js +133 -0
  192. package/dist/collection/components/table/z-tr/styles.css +87 -0
  193. package/dist/collection/components/z-accordion/index.js +255 -0
  194. package/dist/collection/components/z-accordion/styles.css +255 -0
  195. package/dist/collection/components/z-anchor-navigation/index.js +95 -0
  196. package/dist/collection/components/z-anchor-navigation/styles.css +128 -0
  197. package/dist/collection/components/z-aria-alert/index.js +39 -0
  198. package/dist/collection/components/z-avatar/index.js +142 -0
  199. package/dist/collection/components/z-avatar/styles.css +32 -0
  200. package/dist/collection/components/z-book-card/index.js +392 -0
  201. package/dist/collection/components/z-book-card/styles.css +476 -0
  202. package/dist/collection/components/z-breadcrumb/index.js +392 -0
  203. package/dist/collection/components/z-breadcrumb/styles.css +146 -0
  204. package/dist/collection/components/z-card/index.js +148 -0
  205. package/dist/collection/components/z-card/styles.css +213 -0
  206. package/dist/collection/components/z-carousel/index.js +304 -0
  207. package/dist/collection/components/z-carousel/styles.css +129 -0
  208. package/dist/collection/components/z-contextual-menu/index.js +126 -0
  209. package/dist/collection/components/z-contextual-menu/styles.css +60 -0
  210. package/dist/collection/components/z-cover-hero/index.js +146 -0
  211. package/dist/collection/components/z-cover-hero/styles.css +93 -0
  212. package/dist/collection/components/z-divider/index.js +95 -0
  213. package/dist/collection/components/z-divider/styles.css +37 -0
  214. package/dist/collection/components/z-ghost-loading/index.js +18 -0
  215. package/dist/collection/components/z-ghost-loading/styles.css +34 -0
  216. package/dist/collection/components/z-info-reveal/index.js +147 -0
  217. package/dist/collection/components/z-info-reveal/styles.css +103 -0
  218. package/dist/collection/components/z-offcanvas/index.js +162 -0
  219. package/dist/collection/components/z-offcanvas/styles.css +182 -0
  220. package/dist/collection/components/z-pagination/index.js +435 -0
  221. package/dist/collection/components/z-pagination/styles.css +199 -0
  222. package/dist/collection/components/z-popover/index.js +513 -0
  223. package/dist/collection/components/z-popover/styles.css +147 -0
  224. package/dist/collection/components/z-section-title/index.js +88 -0
  225. package/dist/collection/components/z-section-title/styles.css +45 -0
  226. package/dist/collection/components/z-skip-to-content/index.js +147 -0
  227. package/dist/collection/components/z-skip-to-content/styles.css +81 -0
  228. package/dist/collection/components/z-tag/index.js +65 -0
  229. package/dist/collection/components/z-tag/styles.css +46 -0
  230. package/dist/collection/components/z-visually-hidden/index.js +18 -0
  231. package/dist/collection/components/z-visually-hidden/styles.css +12 -0
  232. package/dist/collection/constants/breakpoints.js +4 -0
  233. package/dist/collection/constants/icons.js +6 -0
  234. package/dist/collection/deprecated/navigation-tab.css +138 -0
  235. package/dist/collection/deprecated/z-link/index.js +318 -0
  236. package/dist/collection/deprecated/z-link/styles.css +167 -0
  237. package/dist/collection/deprecated/z-navigation-tab/index.js +290 -0
  238. package/dist/collection/deprecated/z-navigation-tab-link/index.js +313 -0
  239. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +26 -0
  240. package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +9 -0
  241. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +84 -0
  242. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +58 -0
  243. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +363 -0
  244. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +115 -0
  245. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +75 -0
  246. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +38 -0
  247. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +42 -0
  248. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +9 -0
  249. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +25 -0
  250. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +5 -0
  251. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +25 -0
  252. package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +5 -0
  253. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +226 -0
  254. package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +71 -0
  255. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +44 -0
  256. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +13 -0
  257. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +95 -0
  258. package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +45 -0
  259. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +22 -0
  260. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +11 -0
  261. package/dist/collection/index.js +7 -0
  262. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -0
  263. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
  264. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -0
  265. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
  266. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +22 -0
  267. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
  268. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +93 -0
  269. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
  270. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -0
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +72 -0
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +219 -0
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +181 -0
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -0
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -0
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -0
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -0
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
  280. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -0
  281. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
  282. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -0
  283. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -0
  284. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +78 -0
  285. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
  286. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -0
  287. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -0
  288. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -0
  289. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -0
  290. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -0
  291. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -0
  292. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -0
  293. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -0
  294. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -0
  295. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -0
  296. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -0
  297. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -0
  298. package/dist/collection/snowflakes/myz/z-alert/index.js +47 -0
  299. package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
  300. package/dist/collection/snowflakes/myz/z-otp/index.js +120 -0
  301. package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
  302. package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -0
  303. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -0
  304. package/dist/collection/utils/storybook-utils.js +76 -0
  305. package/dist/collection/utils/utils.js +115 -0
  306. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  307. package/dist/esm/breakpoints-9b81eb1b.js +5 -0
  308. package/dist/esm/hammer-c3266b17.js +2648 -0
  309. package/dist/esm/icons-e3232103.js +860 -0
  310. package/dist/esm/index-0a587f24.js +51 -0
  311. package/dist/esm/index-0cdc998f.js +19 -0
  312. package/dist/esm/index-361b27f9.js +15 -0
  313. package/dist/esm/index-47f23745.js +344 -0
  314. package/dist/esm/index-4968ce56.js +2298 -0
  315. package/dist/esm/index-4d1853ea.js +77 -0
  316. package/dist/esm/index-531501d7.js +15 -0
  317. package/dist/esm/index-6161978d.js +27 -0
  318. package/dist/esm/index-772a7413.js +20 -0
  319. package/dist/esm/index-816801e5.js +18 -0
  320. package/dist/esm/index-85dc8bc0.js +32 -0
  321. package/dist/esm/index-88a23895.js +19 -0
  322. package/dist/esm/index-8f7fd43f.js +19 -0
  323. package/dist/esm/index-af5c6b4c.js +15 -0
  324. package/dist/esm/index-dc50a9ae.js +72 -0
  325. package/dist/esm/index-e6ee76f0.js +39 -0
  326. package/dist/esm/index-fac1fe6c.js +19 -0
  327. package/dist/esm/index-fb19ca57.js +65 -0
  328. package/dist/esm/index.js +9 -0
  329. package/dist/esm/loader.js +17 -0
  330. package/dist/esm/polyfills/core-js.js +11 -0
  331. package/dist/esm/polyfills/css-shim.js +1 -0
  332. package/dist/esm/polyfills/dom.js +79 -0
  333. package/dist/esm/polyfills/es5-html-element.js +1 -0
  334. package/dist/esm/polyfills/index.js +34 -0
  335. package/dist/esm/polyfills/system.js +6 -0
  336. package/dist/esm/utils-2a4ef29d.js +100 -0
  337. package/dist/esm/utils-8e0bd81d.js +2700 -0
  338. package/dist/esm/web-components-library.js +17 -0
  339. package/dist/esm/z-accordion.entry.js +63 -0
  340. package/dist/esm/z-alert.entry.js +15 -0
  341. package/dist/esm/z-anchor-navigation.entry.js +49 -0
  342. package/dist/esm/z-app-header_11.entry.js +1063 -0
  343. package/dist/esm/z-aria-alert.entry.js +15 -0
  344. package/dist/esm/z-avatar.entry.js +40 -0
  345. package/dist/esm/z-book-card.entry.js +122 -0
  346. package/dist/esm/z-breadcrumb.entry.js +228 -0
  347. package/dist/esm/z-button-sort.entry.js +49 -0
  348. package/dist/esm/z-card.entry.js +49 -0
  349. package/dist/esm/z-carousel.entry.js +146 -0
  350. package/dist/esm/z-chip.entry.js +28 -0
  351. package/dist/esm/z-combobox.entry.js +197 -0
  352. package/dist/esm/z-contextual-menu.entry.js +42 -0
  353. package/dist/esm/z-cover-hero.entry.js +53 -0
  354. package/dist/esm/z-date-picker.entry.js +473 -0
  355. package/dist/esm/z-dragdrop-area_2.entry.js +1011 -0
  356. package/dist/esm/z-file-upload.entry.js +181 -0
  357. package/dist/esm/z-file.entry.js +44 -0
  358. package/dist/esm/z-ghost-loading.entry.js +15 -0
  359. package/dist/esm/z-info-box.entry.js +21 -0
  360. package/dist/esm/z-info-reveal.entry.js +61 -0
  361. package/dist/esm/z-link.entry.js +70 -0
  362. package/dist/esm/z-logo.entry.js +22 -0
  363. package/dist/esm/z-menu-section.entry.js +50 -0
  364. package/dist/esm/z-menu.entry.js +115 -0
  365. package/dist/esm/z-messages-pocket.entry.js +42 -0
  366. package/dist/esm/z-myz-card-alert.entry.js +59 -0
  367. package/dist/esm/z-myz-card-dictionary.entry.js +32 -0
  368. package/dist/esm/z-myz-card-footer-sections.entry.js +15 -0
  369. package/dist/esm/z-myz-card-footer.entry.js +65 -0
  370. package/dist/esm/z-myz-card-icon.entry.js +19 -0
  371. package/dist/esm/z-myz-card-info.entry.js +125 -0
  372. package/dist/esm/z-myz-card-list.entry.js +34 -0
  373. package/dist/esm/z-myz-card_4.entry.js +101 -0
  374. package/dist/esm/z-myz-list-item.entry.js +33 -0
  375. package/dist/esm/z-myz-list.entry.js +31 -0
  376. package/dist/esm/z-navigation-tab-link.entry.js +70 -0
  377. package/dist/esm/z-navigation-tab.entry.js +69 -0
  378. package/dist/esm/z-navigation-tabs.entry.js +225 -0
  379. package/dist/esm/z-notification.entry.js +37 -0
  380. package/dist/esm/z-otp.entry.js +37 -0
  381. package/dist/esm/z-pagination.entry.js +225 -0
  382. package/dist/esm/z-panel-elem.entry.js +30 -0
  383. package/dist/esm/z-pocket-message.entry.js +15 -0
  384. package/dist/esm/z-pocket_3.entry.js +119 -0
  385. package/dist/esm/z-popover.entry.js +324 -0
  386. package/dist/esm/z-range-picker.entry.js +357 -0
  387. package/dist/esm/z-section-title.entry.js +29 -0
  388. package/dist/esm/z-select.entry.js +332 -0
  389. package/dist/esm/z-skip-to-content.entry.js +70 -0
  390. package/dist/esm/z-slideshow.entry.js +125 -0
  391. package/dist/esm/z-stepper-item.entry.js +18 -0
  392. package/dist/esm/z-stepper.entry.js +15 -0
  393. package/dist/esm/z-table-body.entry.js +2 -0
  394. package/dist/esm/z-table-cell.entry.js +3 -0
  395. package/dist/esm/z-table-deprecated.entry.js +87 -0
  396. package/dist/esm/z-table-empty-box.entry.js +2 -0
  397. package/dist/esm/z-table-expanded-row.entry.js +2 -0
  398. package/dist/esm/z-table-footer.entry.js +2 -0
  399. package/dist/esm/z-table-head.entry.js +2 -0
  400. package/dist/esm/z-table-header-row.entry.js +2 -0
  401. package/dist/esm/z-table-header.entry.js +5 -0
  402. package/dist/esm/z-table-row.entry.js +3 -0
  403. package/dist/esm/z-table-sticky-footer.entry.js +2 -0
  404. package/dist/esm/z-table.entry.js +54 -0
  405. package/dist/esm/z-tag.entry.js +18 -0
  406. package/dist/esm/z-tbody.entry.js +2 -0
  407. package/dist/esm/z-td.entry.js +3 -0
  408. package/dist/esm/z-tfoot.entry.js +2 -0
  409. package/dist/esm/z-th.entry.js +3 -0
  410. package/dist/esm/z-thead.entry.js +2 -0
  411. package/dist/esm/z-toast-notification-list.entry.js +52 -0
  412. package/dist/esm/z-toast-notification.entry.js +196 -0
  413. package/dist/esm/z-toggle-button.entry.js +32 -0
  414. package/dist/esm/z-toggle-switch.entry.js +47 -0
  415. package/dist/esm/z-tooltip.entry.js +33 -0
  416. package/dist/esm/z-tr.entry.js +7 -0
  417. package/dist/esm/z-visually-hidden.entry.js +15 -0
  418. package/dist/index.cjs.js +1 -0
  419. package/dist/index.js +1 -0
  420. package/dist/types/beans/index.d.ts +398 -0
  421. package/dist/types/components/buttons/z-button/index.d.ts +31 -0
  422. package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -0
  423. package/dist/types/components/buttons/z-chip/index.d.ts +18 -0
  424. package/dist/types/components/buttons/z-toggle-button/index.d.ts +17 -0
  425. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +17 -0
  426. package/dist/types/components/date-picker/utils.d.ts +4 -0
  427. package/dist/types/components/date-picker/z-date-picker/index.d.ts +29 -0
  428. package/dist/types/components/date-picker/z-range-picker/index.d.ts +52 -0
  429. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
  430. package/dist/types/components/file-upload/z-file/index.d.ts +22 -0
  431. package/dist/types/components/file-upload/z-file-upload/index.d.ts +52 -0
  432. package/dist/types/components/icons/icons.d.ts +1549 -0
  433. package/dist/types/components/icons/z-icon/index.d.ts +14 -0
  434. package/dist/types/components/index.d.ts +0 -0
  435. package/dist/types/components/indicators/z-stepper/index.d.ts +6 -0
  436. package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -0
  437. package/dist/types/components/inputs/z-combobox/index.d.ts +71 -0
  438. package/dist/types/components/inputs/z-input/index.d.ts +103 -0
  439. package/dist/types/components/inputs/z-input-message/index.d.ts +12 -0
  440. package/dist/types/components/inputs/z-searchbar/index.d.ts +73 -0
  441. package/dist/types/components/inputs/z-select/index.d.ts +84 -0
  442. package/dist/types/components/list/z-list/index.d.ts +19 -0
  443. package/dist/types/components/list/z-list-element/index.d.ts +101 -0
  444. package/dist/types/components/list/z-list-group/index.d.ts +28 -0
  445. package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -0
  446. package/dist/types/components/logo/z-logo/index.d.ts +15 -0
  447. package/dist/types/components/modal/z-modal/index.d.ts +49 -0
  448. package/dist/types/components/navigation/z-app-header/index.d.ts +149 -0
  449. package/dist/types/components/navigation/z-menu/index.d.ts +61 -0
  450. package/dist/types/components/navigation/z-menu-section/index.d.ts +31 -0
  451. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +114 -0
  452. package/dist/types/components/notification/z-info-box/index.d.ts +14 -0
  453. package/dist/types/components/notification/z-notification/index.d.ts +32 -0
  454. package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -0
  455. package/dist/types/components/notification/z-tooltip/index.d.ts +32 -0
  456. package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -0
  457. package/dist/types/components/table/cells/z-td/index.d.ts +37 -0
  458. package/dist/types/components/table/cells/z-th/index.d.ts +56 -0
  459. package/dist/types/components/table/z-table/index.d.ts +28 -0
  460. package/dist/types/components/table/z-tbody/index.d.ts +7 -0
  461. package/dist/types/components/table/z-tfoot/index.d.ts +11 -0
  462. package/dist/types/components/table/z-thead/index.d.ts +11 -0
  463. package/dist/types/components/table/z-tr/index.d.ts +41 -0
  464. package/dist/types/components/z-accordion/index.d.ts +65 -0
  465. package/dist/types/components/z-anchor-navigation/index.d.ts +39 -0
  466. package/dist/types/components/z-aria-alert/index.d.ts +6 -0
  467. package/dist/types/components/z-avatar/index.d.ts +16 -0
  468. package/dist/types/components/z-book-card/index.d.ts +95 -0
  469. package/dist/types/components/z-breadcrumb/index.d.ts +56 -0
  470. package/dist/types/components/z-card/index.d.ts +38 -0
  471. package/dist/types/components/z-carousel/index.d.ts +63 -0
  472. package/dist/types/components/z-contextual-menu/index.d.ts +26 -0
  473. package/dist/types/components/z-cover-hero/index.d.ts +41 -0
  474. package/dist/types/components/z-divider/index.d.ts +10 -0
  475. package/dist/types/components/z-ghost-loading/index.d.ts +3 -0
  476. package/dist/types/components/z-info-reveal/index.d.ts +29 -0
  477. package/dist/types/components/z-offcanvas/index.d.ts +27 -0
  478. package/dist/types/components/z-pagination/index.d.ts +109 -0
  479. package/dist/types/components/z-popover/index.d.ts +69 -0
  480. package/dist/types/components/z-section-title/index.d.ts +25 -0
  481. package/dist/types/components/z-skip-to-content/index.d.ts +21 -0
  482. package/dist/types/components/z-tag/index.d.ts +13 -0
  483. package/dist/types/components/z-visually-hidden/index.d.ts +3 -0
  484. package/dist/types/components.d.ts +5258 -0
  485. package/dist/types/constants/breakpoints.d.ts +4 -0
  486. package/dist/types/constants/icons.d.ts +6 -0
  487. package/dist/types/deprecated/z-link/index.d.ts +41 -0
  488. package/dist/types/deprecated/z-navigation-tab/index.d.ts +69 -0
  489. package/dist/types/deprecated/z-navigation-tab-link/index.d.ts +77 -0
  490. package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +8 -0
  491. package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +14 -0
  492. package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +59 -0
  493. package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +15 -0
  494. package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +8 -0
  495. package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +8 -0
  496. package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +8 -0
  497. package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +31 -0
  498. package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +9 -0
  499. package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +16 -0
  500. package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +7 -0
  501. package/dist/types/index.d.ts +7 -0
  502. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -0
  503. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +19 -0
  504. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -0
  505. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -0
  506. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -0
  507. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -0
  508. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -0
  509. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +19 -0
  510. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -0
  511. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -0
  512. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +9 -0
  513. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -0
  514. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -0
  515. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -0
  516. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -0
  517. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -0
  518. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -0
  519. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -0
  520. package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -0
  521. package/dist/types/snowflakes/myz/z-otp/index.d.ts +17 -0
  522. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -0
  523. package/dist/types/stencil-public-runtime.d.ts +1576 -0
  524. package/dist/types/utils/storybook-utils.d.ts +50 -0
  525. package/dist/types/utils/utils.d.ts +24 -0
  526. package/dist/web-components-library/index.esm.js +1 -0
  527. package/dist/web-components-library/p-01e2e8d4.entry.js +1 -0
  528. package/dist/web-components-library/p-035fbb3e.entry.js +1 -0
  529. package/dist/web-components-library/p-03b13390.entry.js +1 -0
  530. package/dist/web-components-library/p-04b2ab0d.entry.js +1 -0
  531. package/dist/web-components-library/p-05ba9739.entry.js +1 -0
  532. package/dist/web-components-library/p-06c94384.entry.js +1 -0
  533. package/dist/web-components-library/p-100207d8.entry.js +1 -0
  534. package/dist/web-components-library/p-1086a0fa.entry.js +1 -0
  535. package/dist/web-components-library/p-112455b1.js +1 -0
  536. package/dist/web-components-library/p-138bc87e.entry.js +1 -0
  537. package/dist/web-components-library/p-13fc4378.js +1 -0
  538. package/dist/web-components-library/p-15a606ce.entry.js +1 -0
  539. package/dist/web-components-library/p-19876b0d.entry.js +1 -0
  540. package/dist/web-components-library/p-1d805413.entry.js +1 -0
  541. package/dist/web-components-library/p-29fa362c.entry.js +1 -0
  542. package/dist/web-components-library/p-2cb45213.entry.js +1 -0
  543. package/dist/web-components-library/p-3327e5f0.entry.js +1 -0
  544. package/dist/web-components-library/p-33305cc8.entry.js +1 -0
  545. package/dist/web-components-library/p-3636078a.entry.js +1 -0
  546. package/dist/web-components-library/p-376f2928.entry.js +1 -0
  547. package/dist/web-components-library/p-392899e9.entry.js +1 -0
  548. package/dist/web-components-library/p-39b7ad4f.entry.js +1 -0
  549. package/dist/web-components-library/p-3bb2d909.entry.js +1 -0
  550. package/dist/web-components-library/p-485fd3db.entry.js +1 -0
  551. package/dist/web-components-library/p-49f4e9a0.entry.js +1 -0
  552. package/dist/web-components-library/p-4d0d5d93.entry.js +1 -0
  553. package/dist/web-components-library/p-50f78a81.entry.js +1 -0
  554. package/dist/web-components-library/p-51bfa8ba.entry.js +1 -0
  555. package/dist/web-components-library/p-5338cc37.entry.js +1 -0
  556. package/dist/web-components-library/p-571b55dc.js +1 -0
  557. package/dist/web-components-library/p-57c6d414.entry.js +1 -0
  558. package/dist/web-components-library/p-5944a8f2.entry.js +1 -0
  559. package/dist/web-components-library/p-5c177ba5.entry.js +1 -0
  560. package/dist/web-components-library/p-5d274fcc.entry.js +1 -0
  561. package/dist/web-components-library/p-5f202970.entry.js +1 -0
  562. package/dist/web-components-library/p-5fd3ed9c.entry.js +1 -0
  563. package/dist/web-components-library/p-61c00383.entry.js +1 -0
  564. package/dist/web-components-library/p-68410ea2.js +1 -0
  565. package/dist/web-components-library/p-6a4403c6.entry.js +1 -0
  566. package/dist/web-components-library/p-6ed0aaab.entry.js +1 -0
  567. package/dist/web-components-library/p-7426f322.js +1 -0
  568. package/dist/web-components-library/p-7588fbf0.js +1 -0
  569. package/dist/web-components-library/p-7907bdf7.entry.js +1 -0
  570. package/dist/web-components-library/p-7b990086.js +1 -0
  571. package/dist/web-components-library/p-7c5ddeb0.entry.js +1 -0
  572. package/dist/web-components-library/p-80e52459.js +1 -0
  573. package/dist/web-components-library/p-81006561.js +2 -0
  574. package/dist/web-components-library/p-86758f78.entry.js +1 -0
  575. package/dist/web-components-library/p-8a45ae2a.entry.js +1 -0
  576. package/dist/web-components-library/p-8c31e60b.entry.js +1 -0
  577. package/dist/web-components-library/p-9021c92a.js +1 -0
  578. package/dist/web-components-library/p-94afe4dd.entry.js +1 -0
  579. package/dist/web-components-library/p-9508cd3e.js +1 -0
  580. package/dist/web-components-library/p-95370f75.js +1 -0
  581. package/dist/web-components-library/p-96fc8078.entry.js +1 -0
  582. package/dist/web-components-library/p-98204840.entry.js +1 -0
  583. package/dist/web-components-library/p-98badafc.js +1 -0
  584. package/dist/web-components-library/p-9b0bcd43.entry.js +1 -0
  585. package/dist/web-components-library/p-9c1ed1e8.entry.js +1 -0
  586. package/dist/web-components-library/p-9ff2fc8e.entry.js +1 -0
  587. package/dist/web-components-library/p-a01baa71.js +1 -0
  588. package/dist/web-components-library/p-a1663ab1.entry.js +1 -0
  589. package/dist/web-components-library/p-a3587fd6.entry.js +16 -0
  590. package/dist/web-components-library/p-a4502b1e.entry.js +1 -0
  591. package/dist/web-components-library/p-a48e5c46.entry.js +1 -0
  592. package/dist/web-components-library/p-a50262e8.entry.js +1 -0
  593. package/dist/web-components-library/p-a862a070.entry.js +1 -0
  594. package/dist/web-components-library/p-a9d2edee.entry.js +1 -0
  595. package/dist/web-components-library/p-acb89afa.entry.js +1 -0
  596. package/dist/web-components-library/p-b2527ca1.entry.js +1 -0
  597. package/dist/web-components-library/p-b497e33e.js +1 -0
  598. package/dist/web-components-library/p-b99039ed.js +1 -0
  599. package/dist/web-components-library/p-c298cb2f.js +1 -0
  600. package/dist/web-components-library/p-c44d87bd.entry.js +1 -0
  601. package/dist/web-components-library/p-c6e7991f.entry.js +1 -0
  602. package/dist/web-components-library/p-c9bc5148.js +1 -0
  603. package/dist/web-components-library/p-ca472d1c.entry.js +1 -0
  604. package/dist/web-components-library/p-cbb670c5.js +1 -0
  605. package/dist/web-components-library/p-cc009af8.entry.js +1 -0
  606. package/dist/web-components-library/p-cd561d69.js +1 -0
  607. package/dist/web-components-library/p-d2946762.entry.js +1 -0
  608. package/dist/web-components-library/p-db0a64af.js +1 -0
  609. package/dist/web-components-library/p-dd4fc386.entry.js +1 -0
  610. package/dist/web-components-library/p-de5688e9.entry.js +1 -0
  611. package/dist/web-components-library/p-decbd59d.entry.js +1 -0
  612. package/dist/web-components-library/p-e43e61ac.js +7 -0
  613. package/dist/web-components-library/p-e54d4ef9.entry.js +1 -0
  614. package/dist/web-components-library/p-e7c6d651.entry.js +1 -0
  615. package/dist/web-components-library/p-ed42ceca.entry.js +1 -0
  616. package/dist/web-components-library/p-f058316f.entry.js +1 -0
  617. package/dist/web-components-library/p-f14105c6.entry.js +1 -0
  618. package/dist/web-components-library/p-f3cc3f27.entry.js +1 -0
  619. package/dist/web-components-library/p-f46fa177.entry.js +1 -0
  620. package/dist/web-components-library/p-f4e2e76b.entry.js +1 -0
  621. package/dist/web-components-library/p-f5ae1514.entry.js +1 -0
  622. package/dist/web-components-library/p-f5bc7dda.entry.js +1 -0
  623. package/dist/web-components-library/p-f8383e14.entry.js +1 -0
  624. package/dist/web-components-library/p-f976f29f.js +1 -0
  625. package/dist/web-components-library/p-f9873cb9.entry.js +1 -0
  626. package/dist/web-components-library/p-fd58b7a2.entry.js +1 -0
  627. package/dist/web-components-library/p-fde82dc3.js +1 -0
  628. package/dist/web-components-library/p-ff5a6e34.entry.js +1 -0
  629. package/dist/web-components-library/p-ffde06d1.entry.js +1 -0
  630. package/dist/web-components-library/web-components-library.css +3 -0
  631. package/dist/web-components-library/web-components-library.esm.js +1 -0
  632. package/loader/cdn.js +3 -0
  633. package/loader/index.cjs.js +3 -0
  634. package/loader/index.d.ts +12 -0
  635. package/loader/index.es2017.js +3 -0
  636. package/loader/index.js +4 -0
  637. package/loader/package.json +11 -0
  638. package/package.json +2 -2
  639. package/react/components.d.ts +97 -0
  640. package/react/components.js +104 -0
  641. package/react/components.js.map +1 -0
  642. package/react/index.js +14 -0
  643. package/react/index.js.map +1 -0
  644. package/react/react-component-lib/createComponent.d.ts +10 -0
  645. package/react/react-component-lib/createComponent.js +98 -0
  646. package/react/react-component-lib/createComponent.js.map +1 -0
  647. package/react/react-component-lib/createOverlayComponent.d.ts +21 -0
  648. package/react/react-component-lib/createOverlayComponent.js +116 -0
  649. package/react/react-component-lib/createOverlayComponent.js.map +1 -0
  650. package/react/react-component-lib/index.d.ts +2 -0
  651. package/react/react-component-lib/index.js +8 -0
  652. package/react/react-component-lib/index.js.map +1 -0
  653. package/react/react-component-lib/interfaces.d.ts +29 -0
  654. package/react/react-component-lib/interfaces.js +3 -0
  655. package/react/react-component-lib/interfaces.js.map +1 -0
  656. package/react/react-component-lib/utils/attachProps.d.ts +12 -0
  657. package/react/react-component-lib/utils/attachProps.js +105 -0
  658. package/react/react-component-lib/utils/attachProps.js.map +1 -0
  659. package/react/react-component-lib/utils/case.d.ts +2 -0
  660. package/react/react-component-lib/utils/case.js +12 -0
  661. package/react/react-component-lib/utils/case.js.map +1 -0
  662. package/react/react-component-lib/utils/dev.d.ts +2 -0
  663. package/react/react-component-lib/utils/dev.js +18 -0
  664. package/react/react-component-lib/utils/dev.js.map +1 -0
  665. package/react/react-component-lib/utils/index.d.ts +10 -0
  666. package/react/react-component-lib/utils/index.js +54 -0
  667. package/react/react-component-lib/utils/index.js.map +1 -0
  668. package/www/assets/favicon.png +0 -0
  669. package/www/assets/images/png/arrowDown.png +0 -0
  670. package/www/assets/images/png/arrowUp.png +0 -0
  671. package/www/assets/images/png/back-button.png +0 -0
  672. package/www/assets/images/png/bovolenta-logo.png +0 -0
  673. package/www/assets/images/png/cart-icon.png +0 -0
  674. package/www/assets/images/png/cea-logo.png +0 -0
  675. package/www/assets/images/png/clitt-logo.png +0 -0
  676. package/www/assets/images/png/down-arrow.png +0 -0
  677. package/www/assets/images/png/download.png +0 -0
  678. package/www/assets/images/png/facebook.png +0 -0
  679. package/www/assets/images/png/gruoss.png +0 -0
  680. package/www/assets/images/png/instagram.png +0 -0
  681. package/www/assets/images/png/lucisano-logo.png +0 -0
  682. package/www/assets/images/png/myzanichelli-logo.png +0 -0
  683. package/www/assets/images/png/question-mark.png +0 -0
  684. package/www/assets/images/png/suitcase-icon.png +0 -0
  685. package/www/assets/images/png/twitter.png +0 -0
  686. package/www/assets/images/png/up-arrow.png +0 -0
  687. package/www/assets/images/png/user.png +0 -0
  688. package/www/assets/images/png/user_transparent.png +0 -0
  689. package/www/assets/images/png/youtube.png +0 -0
  690. package/www/assets/images/png/zanichelli-add-book-gray@8x.png +0 -0
  691. package/www/assets/images/png/zanichelli-book-remove-gray@8x.png +0 -0
  692. package/www/assets/images/png/zanichelli-error-image.png +0 -0
  693. package/www/assets/images/png/zanichelli-external-link-2@8x.png +0 -0
  694. package/www/assets/images/png/zanichelli-external-link-3@8x.png +0 -0
  695. package/www/assets/images/png/zanichelli-external-link@8x.png +0 -0
  696. package/www/assets/images/png/zanichelli-logo-2.png +0 -0
  697. package/www/assets/images/png/zanichelli-logo-footer.png +0 -0
  698. package/www/assets/images/png/zanichelli-logo.png +0 -0
  699. package/www/build/index.esm.js +1 -0
  700. package/www/build/p-01e2e8d4.entry.js +1 -0
  701. package/www/build/p-035fbb3e.entry.js +1 -0
  702. package/www/build/p-03b13390.entry.js +1 -0
  703. package/www/build/p-04b2ab0d.entry.js +1 -0
  704. package/www/build/p-05ba9739.entry.js +1 -0
  705. package/www/build/p-06c94384.entry.js +1 -0
  706. package/www/build/p-100207d8.entry.js +1 -0
  707. package/www/build/p-1086a0fa.entry.js +1 -0
  708. package/www/build/p-112455b1.js +1 -0
  709. package/www/build/p-138bc87e.entry.js +1 -0
  710. package/www/build/p-13fc4378.js +1 -0
  711. package/www/build/p-15a606ce.entry.js +1 -0
  712. package/www/build/p-19876b0d.entry.js +1 -0
  713. package/www/build/p-1d805413.entry.js +1 -0
  714. package/www/build/p-21a94605.css +3 -0
  715. package/www/build/p-29fa362c.entry.js +1 -0
  716. package/www/build/p-2cb45213.entry.js +1 -0
  717. package/www/build/p-3327e5f0.entry.js +1 -0
  718. package/www/build/p-33305cc8.entry.js +1 -0
  719. package/www/build/p-3636078a.entry.js +1 -0
  720. package/www/build/p-376f2928.entry.js +1 -0
  721. package/www/build/p-392899e9.entry.js +1 -0
  722. package/www/build/p-39b7ad4f.entry.js +1 -0
  723. package/www/build/p-3bb2d909.entry.js +1 -0
  724. package/www/build/p-485fd3db.entry.js +1 -0
  725. package/www/build/p-49f4e9a0.entry.js +1 -0
  726. package/www/build/p-4acb5cef.js +1 -0
  727. package/www/build/p-4d0d5d93.entry.js +1 -0
  728. package/www/build/p-50f78a81.entry.js +1 -0
  729. package/www/build/p-51bfa8ba.entry.js +1 -0
  730. package/www/build/p-5338cc37.entry.js +1 -0
  731. package/www/build/p-571b55dc.js +1 -0
  732. package/www/build/p-57c6d414.entry.js +1 -0
  733. package/www/build/p-5944a8f2.entry.js +1 -0
  734. package/www/build/p-5c177ba5.entry.js +1 -0
  735. package/www/build/p-5d274fcc.entry.js +1 -0
  736. package/www/build/p-5f202970.entry.js +1 -0
  737. package/www/build/p-5fd3ed9c.entry.js +1 -0
  738. package/www/build/p-61c00383.entry.js +1 -0
  739. package/www/build/p-68410ea2.js +1 -0
  740. package/www/build/p-6a4403c6.entry.js +1 -0
  741. package/www/build/p-6ed0aaab.entry.js +1 -0
  742. package/www/build/p-7426f322.js +1 -0
  743. package/www/build/p-7588fbf0.js +1 -0
  744. package/www/build/p-7907bdf7.entry.js +1 -0
  745. package/www/build/p-7b990086.js +1 -0
  746. package/www/build/p-7c5ddeb0.entry.js +1 -0
  747. package/www/build/p-80e52459.js +1 -0
  748. package/www/build/p-81006561.js +2 -0
  749. package/www/build/p-86758f78.entry.js +1 -0
  750. package/www/build/p-8a45ae2a.entry.js +1 -0
  751. package/www/build/p-8c31e60b.entry.js +1 -0
  752. package/www/build/p-9021c92a.js +1 -0
  753. package/www/build/p-94afe4dd.entry.js +1 -0
  754. package/www/build/p-9508cd3e.js +1 -0
  755. package/www/build/p-95370f75.js +1 -0
  756. package/www/build/p-96fc8078.entry.js +1 -0
  757. package/www/build/p-98204840.entry.js +1 -0
  758. package/www/build/p-98badafc.js +1 -0
  759. package/www/build/p-9b0bcd43.entry.js +1 -0
  760. package/www/build/p-9c1ed1e8.entry.js +1 -0
  761. package/www/build/p-9ff2fc8e.entry.js +1 -0
  762. package/www/build/p-a01baa71.js +1 -0
  763. package/www/build/p-a1663ab1.entry.js +1 -0
  764. package/www/build/p-a3587fd6.entry.js +16 -0
  765. package/www/build/p-a4502b1e.entry.js +1 -0
  766. package/www/build/p-a48e5c46.entry.js +1 -0
  767. package/www/build/p-a50262e8.entry.js +1 -0
  768. package/www/build/p-a862a070.entry.js +1 -0
  769. package/www/build/p-a9d2edee.entry.js +1 -0
  770. package/www/build/p-acb89afa.entry.js +1 -0
  771. package/www/build/p-b2527ca1.entry.js +1 -0
  772. package/www/build/p-b497e33e.js +1 -0
  773. package/www/build/p-b99039ed.js +1 -0
  774. package/www/build/p-c298cb2f.js +1 -0
  775. package/www/build/p-c44d87bd.entry.js +1 -0
  776. package/www/build/p-c6e7991f.entry.js +1 -0
  777. package/www/build/p-c9bc5148.js +1 -0
  778. package/www/build/p-ca472d1c.entry.js +1 -0
  779. package/www/build/p-cbb670c5.js +1 -0
  780. package/www/build/p-cc009af8.entry.js +1 -0
  781. package/www/build/p-cd561d69.js +1 -0
  782. package/www/build/p-d2946762.entry.js +1 -0
  783. package/www/build/p-db0a64af.js +1 -0
  784. package/www/build/p-dd4fc386.entry.js +1 -0
  785. package/www/build/p-de5688e9.entry.js +1 -0
  786. package/www/build/p-decbd59d.entry.js +1 -0
  787. package/www/build/p-e43e61ac.js +7 -0
  788. package/www/build/p-e54d4ef9.entry.js +1 -0
  789. package/www/build/p-e7c6d651.entry.js +1 -0
  790. package/www/build/p-ed42ceca.entry.js +1 -0
  791. package/www/build/p-f058316f.entry.js +1 -0
  792. package/www/build/p-f14105c6.entry.js +1 -0
  793. package/www/build/p-f3cc3f27.entry.js +1 -0
  794. package/www/build/p-f46fa177.entry.js +1 -0
  795. package/www/build/p-f4e2e76b.entry.js +1 -0
  796. package/www/build/p-f5ae1514.entry.js +1 -0
  797. package/www/build/p-f5bc7dda.entry.js +1 -0
  798. package/www/build/p-f8383e14.entry.js +1 -0
  799. package/www/build/p-f976f29f.js +1 -0
  800. package/www/build/p-f9873cb9.entry.js +1 -0
  801. package/www/build/p-fd58b7a2.entry.js +1 -0
  802. package/www/build/p-fde82dc3.js +1 -0
  803. package/www/build/p-ff5a6e34.entry.js +1 -0
  804. package/www/build/p-ffde06d1.entry.js +1 -0
  805. package/www/build/web-components-library.css +3 -0
  806. package/www/build/web-components-library.esm.js +1 -0
  807. package/www/build/web-components-library.js +33 -0
  808. package/www/host.config.json +15 -0
  809. package/www/index.html +1 -0
  810. package/www/pages/book-cards.html +595 -0
  811. package/www/pages/file-upload.html +258 -0
  812. package/www/pages/notification.html +299 -0
  813. package/CHANGELOG.md +0 -2844
  814. /package/{src-react/index.ts → react/index.d.ts} +0 -0
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-4968ce56.js';
2
+ import { u as ZAriaAlertMode } from './index-47f23745.js';
3
+
4
+ const ZAriaAlert = class {
5
+ constructor(hostRef) {
6
+ registerInstance(this, hostRef);
7
+ /** Aria live mode */
8
+ this.mode = ZAriaAlertMode.POLITE;
9
+ }
10
+ render() {
11
+ return (h(Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", null)));
12
+ }
13
+ };
14
+
15
+ export { ZAriaAlert as z_aria_alert };
@@ -0,0 +1,40 @@
1
+ import { r as registerInstance, h, H as Host } from './index-4968ce56.js';
2
+ import { A as AvatarSize } from './index-47f23745.js';
3
+
4
+ const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
5
+
6
+ const ZAvatar = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ var _a, _b;
10
+ /** [optional] Avatar size */
11
+ this.size = AvatarSize.MEDIUM;
12
+ /** [optional] Avatar text color */
13
+ this.textColor = "color-white";
14
+ /** [optional] Avatar background color */
15
+ this.backgroundColor = "gray700";
16
+ if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
17
+ console.warn("z-avatar must contain at least one prop between text and image");
18
+ }
19
+ }
20
+ getTextSize() {
21
+ if (this.size === AvatarSize.SMALL) {
22
+ return "5";
23
+ }
24
+ else if (this.size === AvatarSize.MEDIUM) {
25
+ return "4";
26
+ }
27
+ else if (this.size === AvatarSize.LARGE) {
28
+ return "2";
29
+ }
30
+ }
31
+ render() {
32
+ return (h(Host, { class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
33
+ color: `var(--${this.textColor})`,
34
+ backgroundColor: `var(--${this.backgroundColor})`,
35
+ } }, this.text && !this.image && h("span", null, this.text.substring(0, 2)), this.image && (h("img", { src: this.image, onError: () => (this.image = "") }))));
36
+ }
37
+ };
38
+ ZAvatar.style = stylesCss;
39
+
40
+ export { ZAvatar as z_avatar };
@@ -0,0 +1,122 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
2
+ import { Y as BookCardVariant } from './index-47f23745.js';
3
+ import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
4
+ import { r as randomId } from './utils-2a4ef29d.js';
5
+
6
+ const stylesCss = ":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-text04);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 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-text02);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-text02);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-text02);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-text02);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-icon01)}: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-link-primary);cursor:pointer;fill:var(--color-link-primary);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}}";
7
+
8
+ const ZBookCard = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.ribbonClick = createEvent(this, "ribbonClick", 7);
12
+ /**
13
+ * [optional] ISBN label
14
+ */
15
+ this.isbnLabel = "";
16
+ this.isMobile = false;
17
+ this.hasResources = false;
18
+ this.showResources = false;
19
+ }
20
+ emitRibbonClick() {
21
+ this.ribbonClick.emit();
22
+ }
23
+ componentWillLoad() {
24
+ this.id = `id-${randomId()}`;
25
+ const mobileMediaQuery = window.matchMedia(`(max-width: ${mobileBreakpoint}px)`);
26
+ this.isMobile = mobileMediaQuery.matches;
27
+ mobileMediaQuery.onchange = (mql) => (this.isMobile = mql.matches);
28
+ }
29
+ componentDidLoad() {
30
+ this.handleResources();
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
+ }
42
+ renderCard() {
43
+ switch (this.variant) {
44
+ case BookCardVariant.EXPANDED:
45
+ return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
46
+ case BookCardVariant.COMPACT:
47
+ return this.renderCompactCard();
48
+ case BookCardVariant.SEARCH:
49
+ return this.renderSearchCard();
50
+ }
51
+ }
52
+ renderExpandedCard() {
53
+ 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()))));
54
+ }
55
+ renderMobileExpandedCard() {
56
+ 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: {
57
+ footer: true,
58
+ open: this.showResources,
59
+ close: !this.showResources,
60
+ } }, !this.showResources && this.renderShowResources(), this.renderResourcesSlot(), this.showResources && this.renderShowResources()))));
61
+ }
62
+ renderSearchCard() {
63
+ 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()));
64
+ }
65
+ renderCompactCard() {
66
+ return (h("div", { class: "wrapper" }, this.renderCover(), h("div", { class: "content" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), this.renderFooterCtaSlot()));
67
+ }
68
+ renderCover() {
69
+ return (h("div", { class: "cover" }, this.ribbon && this.variant !== BookCardVariant.COMPACT && this.renderRibbon(), h("div", { class: "img-wrapper" }, h("img", { src: this.cover, onError: () => {
70
+ if (this.fallbackCover) {
71
+ this.cover = this.fallbackCover;
72
+ }
73
+ }, "aria-hidden": "true" }))));
74
+ }
75
+ renderRibbon() {
76
+ const content = [
77
+ this.ribbonIcon && (h("z-icon", { name: this.ribbonIcon, width: 16, height: 16, fill: "color-icon03" })),
78
+ h("span", null, this.ribbon),
79
+ ];
80
+ return this.ribbonInteractive ? (h("button", { class: "ribbon interactive", onClick: () => this.emitRibbonClick() }, content)) : (h("div", { class: "ribbon" }, content));
81
+ }
82
+ renderOperaTitle() {
83
+ const title = this.operaTitleTag
84
+ ? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
85
+ : this.operaTitle;
86
+ return (h("div", { class: "title", innerHTML: title }));
87
+ }
88
+ renderVolumeTitle() {
89
+ return this.volumeTitle ? h("div", { class: "subtitle" }, this.volumeTitle) : null;
90
+ }
91
+ renderAuthors() {
92
+ return this.authors ? (h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
93
+ }
94
+ renderIsbn() {
95
+ return this.isbn ? (h("div", { class: "isbn" }, h("span", { class: "code", "aria-description": `ISBN ${this.isbnLabel}` }, this.isbn), this.isbnLabel ? h("span", { class: "label" }, " ", this.isbnLabel) : null)) : null;
96
+ }
97
+ renderShowResources() {
98
+ return (h("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", h("z-icon", { name: this.showResources ? "chevron-up" : "chevron-down" })));
99
+ }
100
+ renderTagsSlot() {
101
+ return (h("div", { class: "tags" }, h("slot", { name: "tags" })));
102
+ }
103
+ renderHeaderCtaSlot() {
104
+ return h("slot", { name: "header-cta" });
105
+ }
106
+ renderResourcesSlot() {
107
+ return (h("div", { id: `resources-${this.id}`, class: "resources" }, h("slot", { name: "resources", onSlotchange: () => this.handleResources() })));
108
+ }
109
+ renderFooterCtaSlot() {
110
+ return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
111
+ }
112
+ render() {
113
+ return (h("article", { class: {
114
+ [this.variant]: true,
115
+ borderless: !!this.borderless,
116
+ } }, this.renderCard()));
117
+ }
118
+ get hostElement() { return getElement(this); }
119
+ };
120
+ ZBookCard.style = stylesCss;
121
+
122
+ export { ZBookCard as z_book_card };
@@ -0,0 +1,228 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
2
+ import { V as BreadcrumbPathStyle, W as BreadcrumbHomepageVariant, p as Device, P as PopoverPosition, g as KeyboardCode, i as ListSize } from './index-47f23745.js';
3
+ import { g as getDevice, a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
4
+ import './breakpoints-9b81eb1b.js';
5
+
6
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;height:30px;align-items:center;padding-left:calc(var(--space-unit) / 2);overflow-x:hidden}li{display:flex;align-items:baseline}:host a:focus,:host button:focus{box-shadow:var(--shadow-focus-primary);outline:0}:host a{color:var(--color-link-primary);font-size:var(--font-size-2);text-decoration:none;white-space:nowrap}:host a.homepage-icon{display:list-item}:host a.homepage-text{display:initial;margin-top:calc(var(--space-unit) / 4);margin-right:var(--space-unit)}:host a.missing-path{color:var(--color-text01)}:host a.text-ellipsis{display:-webkit-box !important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:normal}:host ol{display:flex;padding:0;margin:0;list-style-type:none}:host ol>li:not(:first-child,:last-child){margin-right:var(--space-unit)}nav.underlined>ol>li a:not(.missing-path),nav.underlined>ol>li button{text-decoration:underline}nav.semibold>ol>li a:not(.missing-path),nav.semibold>ol>li button{font-weight:var(--font-sb)}:host z-icon{margin-right:var(--space-unit);--z-icon-width:12px;--z-icon-height:12px}:host button.dots{display:inline-block;color:var(--color-link-primary);cursor:pointer}:host .hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}:host .hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}:host .hidden-paths-popover{--z-popover-theme--surface:var(--color-surface02);--z-popover-padding:0}:host .hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}:host .full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}:host .tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){:host ol>li+li::before{display:inline-block;width:10px;height:10px;flex:1;margin-right:2px;color:var(--color-disabled03);content:\"\\203A\"}:host a.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover)}}";
7
+
8
+ const ZBreadcrumb = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.clickOnNode = createEvent(this, "clickOnNode", 7);
12
+ /** [optional] Sets the path style */
13
+ this.pathStyle = BreadcrumbPathStyle.UNDERLINED;
14
+ /** [optional] Variant of first node */
15
+ this.homepageVariant = BreadcrumbHomepageVariant.ICON;
16
+ /** [optional] Sets max number of element to show */
17
+ this.maxNodesToShow = 5;
18
+ /** [optional] Controls the behaviour on <a> tag click/enter */
19
+ this.preventFollowUrl = false;
20
+ /** [optional] Sets max number of row for each path inside the popover. Zero equals unlimited */
21
+ this.overflowMenuItemRows = 0;
22
+ /** [optional] Sets the maximun number of chars per single node */
23
+ this.truncateChar = 30;
24
+ /** Detect whether the length of the nodes shown exceeds the container length */
25
+ this.hasOverflow = false;
26
+ this.popoverEllipsisOpen = false;
27
+ this.collapsedElements = [];
28
+ this.currentIndex = 0;
29
+ this.truncatePosition = null;
30
+ }
31
+ handleResize() {
32
+ this.viewPortWidth = getDevice();
33
+ if (this.viewPortWidth !== Device.MOBILE &&
34
+ this.wrapElement &&
35
+ this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {
36
+ this.hasOverflow = true;
37
+ }
38
+ }
39
+ // eslint-disable-next-line lines-between-class-members
40
+ handlePropChange() {
41
+ this.initializeBreadcrumb(this.viewPortWidth === Device.MOBILE);
42
+ }
43
+ handleResizeUp(newValue, oldValue) {
44
+ if (newValue === Device.MOBILE ||
45
+ (oldValue === Device.MOBILE && newValue === Device.TABLET) ||
46
+ (oldValue === Device.MOBILE && newValue === Device.DESKTOP) ||
47
+ (oldValue === Device.MOBILE && newValue === Device.DESKTOP_WIDE) ||
48
+ (oldValue === Device.TABLET && newValue === Device.DESKTOP) ||
49
+ (oldValue === Device.TABLET && newValue === Device.DESKTOP_WIDE) ||
50
+ (oldValue === Device.DESKTOP && newValue === Device.DESKTOP_WIDE)) {
51
+ this.initializeBreadcrumb(this.viewPortWidth === Device.MOBILE);
52
+ }
53
+ }
54
+ componentWillLoad() {
55
+ this.viewPortWidth = getDevice();
56
+ this.initializeBreadcrumb(this.viewPortWidth === Device.MOBILE);
57
+ }
58
+ componentWillRender() {
59
+ if (this.viewPortWidth !== Device.MOBILE && this.hasOverflow) {
60
+ this.checkEllipsisOrOverflowMenu();
61
+ this.hasOverflow = false;
62
+ }
63
+ }
64
+ componentDidRender() {
65
+ if (this.collapsedElementsRef) {
66
+ this.anchorElements = Array.from(this.hostElement.shadowRoot.querySelectorAll("z-list-group a"));
67
+ }
68
+ if (this.viewPortWidth !== Device.MOBILE && this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {
69
+ this.hasOverflow = true;
70
+ }
71
+ }
72
+ initializeBreadcrumb(isMobile) {
73
+ if (isMobile) {
74
+ this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);
75
+ }
76
+ else {
77
+ this.pathsList = this.getPathsItemsList();
78
+ }
79
+ this.totalLenght = this.pathsList.length;
80
+ this.homepageNode = this.pathsList.shift();
81
+ this.pathListCopy = JSON.parse(JSON.stringify(this.pathsList));
82
+ this.collapsedElements = [];
83
+ if (this.totalLenght > this.maxNodesToShow) {
84
+ this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);
85
+ }
86
+ }
87
+ checkEllipsisOrOverflowMenu() {
88
+ if (this.pathListCopy.length > 0) {
89
+ for (let i = 0; i < this.pathsList.length; i++) {
90
+ if (this.pathsList[i].text.length > this.truncateChar) {
91
+ if (this.truncatePosition !== null) {
92
+ if (this.truncatePosition > 0) {
93
+ const arrayToPush = this.pathListCopy.splice(0, this.truncatePosition);
94
+ arrayToPush.forEach((item) => {
95
+ this.collapsedElements.push(item);
96
+ });
97
+ this.pathsList.splice(0, this.truncatePosition);
98
+ this.truncatePosition = 0;
99
+ return;
100
+ }
101
+ if (this.truncatePosition === 0) {
102
+ const arrayToPush = this.pathListCopy.splice(0, this.truncatePosition + 1);
103
+ this.collapsedElements.push(...arrayToPush);
104
+ this.pathsList.splice(0, this.truncatePosition + 1);
105
+ this.truncatePosition = null;
106
+ return;
107
+ }
108
+ }
109
+ if (i !== this.pathsList.length - 1) {
110
+ const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);
111
+ this.currentEllipsisText = this.pathsList[i].text;
112
+ this.pathsList[i].text = truncatedString;
113
+ this.pathsList[i].hasTooltip = true;
114
+ this.truncatePosition = i;
115
+ return;
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ truncateWithEllipsis(str, length) {
122
+ const ending = "&mldr;";
123
+ if (str.length > length) {
124
+ return str.substring(0, length - 1) + ending;
125
+ }
126
+ return str;
127
+ }
128
+ getPathsItemsList() {
129
+ return Array.from(this.hostElement.children).map((item) => {
130
+ return {
131
+ text: item.textContent,
132
+ path: item.href,
133
+ hasTooltip: false,
134
+ };
135
+ });
136
+ }
137
+ renderMobileBreadcrumb() {
138
+ const lastPath = this.pathsList[this.pathsList.length - 1];
139
+ return (h("nav", { "aria-label": "Breadcrumb", class: {
140
+ underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
141
+ semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
142
+ } }, h("ol", null, this.renderNode(lastPath, true))));
143
+ }
144
+ renderHomepageNode(item) {
145
+ return (h("li", null, h("a", { class: {
146
+ "homepage-icon": this.homepageVariant === BreadcrumbHomepageVariant.ICON,
147
+ "homepage-text": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,
148
+ }, href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item) }, this.homepageVariant === BreadcrumbHomepageVariant.ICON ? (h("z-icon", { name: "home", fill: "color-link-primary", height: 16, width: 16 })) : ("Home"))));
149
+ }
150
+ renderNode(item, mobile) {
151
+ return (h("li", null, item.hasTooltip && (h("z-popover", { class: "full-path-tooltip", "bind-to": this.triggerEllipsis, open: this.popoverEllipsisOpen, position: PopoverPosition.BOTTOM_RIGHT, closable: false, showArrow: true }, h("span", { class: "tooltip-content" }, this.currentEllipsisText))), h("a", { class: {
152
+ "missing-path": !item.path,
153
+ "text-ellipsis": mobile,
154
+ }, ref: (val) => (this.triggerEllipsis = val), "aria-current": item.path ? undefined : "page", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onMouseOver: () => {
155
+ if (item.hasTooltip) {
156
+ this.popoverEllipsisOpen = true;
157
+ }
158
+ }, onMouseLeave: () => {
159
+ if (item.hasTooltip) {
160
+ this.popoverEllipsisOpen = false;
161
+ }
162
+ }, innerHTML: mobile ? `<z-icon fill="color-link-primary" name="chevron-left"></z-icon>${item.text}` : item.text })));
163
+ }
164
+ renderBreadcrumb() {
165
+ return (h("nav", { ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
166
+ underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
167
+ semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
168
+ } }, h("ol", null, this.renderHomepageNode(this.homepageNode), this.collapsedElements.length ? this.renderOverflowMenu() : "", this.pathsList.map((item) => this.renderNode(item, false)))));
169
+ }
170
+ togglePopover() {
171
+ if (!this.collapsedElementsRef.open) {
172
+ this.collapsedElementsRef.open = true;
173
+ }
174
+ }
175
+ handlePreventFollowUrl(e, item) {
176
+ if (this.preventFollowUrl) {
177
+ e.preventDefault();
178
+ this.clickOnNode.emit(item.path);
179
+ }
180
+ }
181
+ handleOverflowMenuAccessibility(e) {
182
+ const anchorElementsLenght = this.anchorElements.length;
183
+ if (e.key === KeyboardCode.TAB) {
184
+ e.preventDefault();
185
+ return;
186
+ }
187
+ e.stopPropagation();
188
+ const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];
189
+ if (arrows.includes(e.key)) {
190
+ e.preventDefault();
191
+ if (e.key === KeyboardCode.ARROW_DOWN) {
192
+ this.currentIndex = anchorElementsLenght === this.currentIndex + 1 ? 0 : this.currentIndex + 1;
193
+ }
194
+ if (e.key === KeyboardCode.ARROW_UP) {
195
+ this.currentIndex = this.currentIndex <= 0 ? anchorElementsLenght - 1 : this.currentIndex - 1;
196
+ }
197
+ this.anchorElements[this.currentIndex].focus();
198
+ }
199
+ if (e.key === KeyboardCode.ESC) {
200
+ this.triggerButton.focus();
201
+ }
202
+ }
203
+ renderOverflowMenu() {
204
+ if (this.collapsedElements.length) {
205
+ return (h("li", null, h("z-popover", { class: "hidden-paths-popover", ref: (val) => (this.collapsedElementsRef = val), "bind-to": this.triggerButton, position: PopoverPosition.BOTTOM_RIGHT, closable: true, showArrow: true }, h("div", { class: "popover-content" }, h("z-list", null, h("z-list-group", { size: ListSize.SMALL }, this.collapsedElements.map((item, index, array) => {
206
+ return (h("div", null, h("z-list-element", { clickable: true }, h("a", { class: "text-ellipsis", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onKeyDown: (e) => this.handleOverflowMenuAccessibility(e) }, item.text)), index < array.length - 1 && h("z-divider", { color: "color-surface03" })));
207
+ }))))), h("button", { "aria-label": "Mostra pi\u00F9 breadcrumb", "aria-haspopup": "true", ref: (el) => (this.triggerButton = el), class: "dots", onClick: () => {
208
+ this.togglePopover();
209
+ }, onKeyDown: (e) => {
210
+ handleKeyboardSubmit(e, this.togglePopover.bind(this));
211
+ setTimeout(() => {
212
+ this.anchorElements[0].focus();
213
+ }, 100);
214
+ } }, "...")));
215
+ }
216
+ }
217
+ render() {
218
+ return (h(Host, { style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, this.viewPortWidth === Device.MOBILE ? this.renderMobileBreadcrumb() : this.renderBreadcrumb()));
219
+ }
220
+ get hostElement() { return getElement(this); }
221
+ static get watchers() { return {
222
+ "maxNodesToShow": ["handlePropChange"],
223
+ "viewPortWidth": ["handleResizeUp"]
224
+ }; }
225
+ };
226
+ ZBreadcrumb.style = stylesCss;
227
+
228
+ export { ZBreadcrumb as z_breadcrumb };
@@ -0,0 +1,49 @@
1
+ import { r as registerInstance, c as createEvent, h } from './index-4968ce56.js';
2
+ import { t as tabletBreakpoint } from './breakpoints-9b81eb1b.js';
3
+
4
+ const stylesCss = "button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button.selected{border-color:var(--color-active-primary);background-color:var(--color-active-primary);color:var(--color-text-inverse);fill:var(--color-text-inverse)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";
5
+
6
+ const ZButtonSort = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.buttonSortClick = createEvent(this, "buttonSortClick", 7);
10
+ /** sort label content (ascending) (optional) */
11
+ this.sortlabelasc = "A-Z";
12
+ /** sort label content (descending) (optional) */
13
+ this.sortlabeldesc = "Z-A";
14
+ /** selected flag (optional) */
15
+ this.isselected = false;
16
+ /** sortable flag (optional) */
17
+ this.sortasc = true;
18
+ this.allowTooltip = false;
19
+ }
20
+ emitButtonSortClick() {
21
+ if (!this.isselected) {
22
+ this.isselected = true;
23
+ }
24
+ else {
25
+ this.sortasc = !this.sortasc;
26
+ }
27
+ this.buttonSortClick.emit({
28
+ buttonid: this.buttonid,
29
+ sortAsc: this.sortasc,
30
+ });
31
+ }
32
+ componentDidLoad() {
33
+ if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint) {
34
+ this.allowTooltip = true;
35
+ }
36
+ }
37
+ setButtonTitle() {
38
+ return this.allowTooltip ? `${this.sortasc ? this.label : this.desclabel}` : "";
39
+ }
40
+ elementHasEllipsis() {
41
+ return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
42
+ }
43
+ render() {
44
+ return (h("button", { title: this.setButtonTitle(), id: this.buttonid, class: this.isselected && "selected", onClick: () => this.emitButtonSortClick() }, h("span", { ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { class: "counter" }, this.counter && ` (${this.counter})`), h("span", { class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { name: "caret-up-down", width: 16, height: 16 })));
45
+ }
46
+ };
47
+ ZButtonSort.style = stylesCss;
48
+
49
+ export { ZButtonSort as z_button_sort };
@@ -0,0 +1,49 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4968ce56.js';
2
+ import { C as CardVariant } from './index-47f23745.js';
3
+
4
+ const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"title\"])::before{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:\"\"}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;color:inherit;font-size:inherit;font-weight:var(--font-sb);-webkit-line-clamp:2;text-decoration:none}::slotted([slot=\"text\"]){margin:0;-webkit-line-clamp:3}.actions{position:relative;z-index:2;display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 2)}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible)::before{box-shadow:var(--shadow-focus-primary)}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:none !important;outline:none !important}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([show-shadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:var(--z-card--text-padding)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([show-shadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][show-shadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][show-shadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][show-shadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
5
+
6
+ const ZCard = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ /** Enable shadow. Default: false. */
10
+ this.showShadow = false;
11
+ /** Enable 'clickable' style like hover and focus style. */
12
+ this.clickable = false;
13
+ }
14
+ componentWillLoad() {
15
+ this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
16
+ }
17
+ /**
18
+ * Template for a card without image cover.
19
+ * A colored background replaces the image and some data is moved over it.
20
+ */
21
+ renderColorCoverCard() {
22
+ return [
23
+ h("div", { class: "cover-container" }, h("div", { class: "color-cover" }, h("div", { class: "cover-content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" })))),
24
+ h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))),
25
+ ];
26
+ }
27
+ /**
28
+ * Template for the content div.
29
+ */
30
+ renderContentDiv() {
31
+ return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
32
+ }
33
+ render() {
34
+ if (this.variant === CardVariant.TEXT) {
35
+ return h(Host, null, this.renderContentDiv());
36
+ }
37
+ if (this.variant === CardVariant.OVERLAY || this.hasCoverImage) {
38
+ return (h(Host, null, h("div", { class: "cover-container" }, this.hasCoverImage && [
39
+ h("slot", { name: "cover" }),
40
+ this.variant !== CardVariant.OVERLAY && this.coverIcon && h("z-icon", { name: this.coverIcon }),
41
+ ], !this.hasCoverImage && h("div", { class: "color-cover" })), this.renderContentDiv()));
42
+ }
43
+ return h(Host, null, this.renderColorCoverCard());
44
+ }
45
+ get host() { return getElement(this); }
46
+ };
47
+ ZCard.style = stylesCss;
48
+
49
+ export { ZCard as z_card };