@zanichelli/albe-web-components 12.1.2 → 12.1.4-rc

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 (813) hide show
  1. package/package.json +1 -1
  2. package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
  3. package/dist/cjs/breakpoints-ebe1a437.js +0 -9
  4. package/dist/cjs/hammer-4f20813e.js +0 -2650
  5. package/dist/cjs/icons-d385b990.js +0 -862
  6. package/dist/cjs/index-00b6f6ba.js +0 -20
  7. package/dist/cjs/index-115387e6.js +0 -17
  8. package/dist/cjs/index-195ca522.js +0 -2326
  9. package/dist/cjs/index-20f305f7.js +0 -17
  10. package/dist/cjs/index-23ca3837.js +0 -53
  11. package/dist/cjs/index-270a4cf7.js +0 -22
  12. package/dist/cjs/index-2b0eb1f0.js +0 -34
  13. package/dist/cjs/index-4e41767c.js +0 -21
  14. package/dist/cjs/index-53c72420.js +0 -79
  15. package/dist/cjs/index-544902f0.js +0 -21
  16. package/dist/cjs/index-bb84dc1c.js +0 -21
  17. package/dist/cjs/index-cf9497bc.js +0 -344
  18. package/dist/cjs/index-d30158ef.js +0 -67
  19. package/dist/cjs/index-df08bc63.js +0 -29
  20. package/dist/cjs/index-e3bf75bc.js +0 -41
  21. package/dist/cjs/index-e78caf11.js +0 -74
  22. package/dist/cjs/index-f64e5dfe.js +0 -17
  23. package/dist/cjs/index-f6910e7f.js +0 -21
  24. package/dist/cjs/index.cjs.js +0 -331
  25. package/dist/cjs/loader.cjs.js +0 -21
  26. package/dist/cjs/utils-8335dca3.js +0 -2706
  27. package/dist/cjs/utils-ee86db4f.js +0 -110
  28. package/dist/cjs/web-components-library.cjs.js +0 -19
  29. package/dist/cjs/z-accordion.cjs.entry.js +0 -67
  30. package/dist/cjs/z-alert.cjs.entry.js +0 -19
  31. package/dist/cjs/z-anchor-navigation.cjs.entry.js +0 -53
  32. package/dist/cjs/z-app-header_11.cjs.entry.js +0 -1058
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +0 -19
  34. package/dist/cjs/z-avatar.cjs.entry.js +0 -44
  35. package/dist/cjs/z-book-card.cjs.entry.js +0 -126
  36. package/dist/cjs/z-breadcrumb.cjs.entry.js +0 -232
  37. package/dist/cjs/z-button-sort.cjs.entry.js +0 -53
  38. package/dist/cjs/z-card.cjs.entry.js +0 -53
  39. package/dist/cjs/z-carousel.cjs.entry.js +0 -150
  40. package/dist/cjs/z-chip.cjs.entry.js +0 -32
  41. package/dist/cjs/z-combobox.cjs.entry.js +0 -201
  42. package/dist/cjs/z-contextual-menu.cjs.entry.js +0 -46
  43. package/dist/cjs/z-cover-hero.cjs.entry.js +0 -57
  44. package/dist/cjs/z-date-picker.cjs.entry.js +0 -477
  45. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1016
  46. package/dist/cjs/z-file-upload.cjs.entry.js +0 -185
  47. package/dist/cjs/z-file.cjs.entry.js +0 -48
  48. package/dist/cjs/z-ghost-loading.cjs.entry.js +0 -19
  49. package/dist/cjs/z-info-box.cjs.entry.js +0 -25
  50. package/dist/cjs/z-info-reveal.cjs.entry.js +0 -65
  51. package/dist/cjs/z-link.cjs.entry.js +0 -74
  52. package/dist/cjs/z-logo.cjs.entry.js +0 -26
  53. package/dist/cjs/z-menu-section.cjs.entry.js +0 -54
  54. package/dist/cjs/z-menu.cjs.entry.js +0 -119
  55. package/dist/cjs/z-messages-pocket.cjs.entry.js +0 -46
  56. package/dist/cjs/z-myz-card-alert.cjs.entry.js +0 -63
  57. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +0 -36
  58. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -19
  59. package/dist/cjs/z-myz-card-footer.cjs.entry.js +0 -69
  60. package/dist/cjs/z-myz-card-icon.cjs.entry.js +0 -23
  61. package/dist/cjs/z-myz-card-info.cjs.entry.js +0 -129
  62. package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -38
  63. package/dist/cjs/z-myz-card_4.cjs.entry.js +0 -108
  64. package/dist/cjs/z-myz-list-item.cjs.entry.js +0 -37
  65. package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
  66. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +0 -74
  67. package/dist/cjs/z-navigation-tab.cjs.entry.js +0 -73
  68. package/dist/cjs/z-navigation-tabs.cjs.entry.js +0 -229
  69. package/dist/cjs/z-notification.cjs.entry.js +0 -41
  70. package/dist/cjs/z-otp.cjs.entry.js +0 -41
  71. package/dist/cjs/z-pagination.cjs.entry.js +0 -229
  72. package/dist/cjs/z-panel-elem.cjs.entry.js +0 -34
  73. package/dist/cjs/z-pocket-message.cjs.entry.js +0 -19
  74. package/dist/cjs/z-pocket_3.cjs.entry.js +0 -125
  75. package/dist/cjs/z-popover.cjs.entry.js +0 -328
  76. package/dist/cjs/z-range-picker.cjs.entry.js +0 -361
  77. package/dist/cjs/z-section-title.cjs.entry.js +0 -33
  78. package/dist/cjs/z-select.cjs.entry.js +0 -332
  79. package/dist/cjs/z-skip-to-content.cjs.entry.js +0 -74
  80. package/dist/cjs/z-slideshow.cjs.entry.js +0 -129
  81. package/dist/cjs/z-stepper-item.cjs.entry.js +0 -22
  82. package/dist/cjs/z-stepper.cjs.entry.js +0 -19
  83. package/dist/cjs/z-table-body.cjs.entry.js +0 -10
  84. package/dist/cjs/z-table-cell.cjs.entry.js +0 -11
  85. package/dist/cjs/z-table-deprecated.cjs.entry.js +0 -91
  86. package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -10
  87. package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -10
  88. package/dist/cjs/z-table-footer.cjs.entry.js +0 -10
  89. package/dist/cjs/z-table-head.cjs.entry.js +0 -10
  90. package/dist/cjs/z-table-header-row.cjs.entry.js +0 -10
  91. package/dist/cjs/z-table-header.cjs.entry.js +0 -13
  92. package/dist/cjs/z-table-row.cjs.entry.js +0 -11
  93. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +0 -10
  94. package/dist/cjs/z-table.cjs.entry.js +0 -58
  95. package/dist/cjs/z-tag.cjs.entry.js +0 -22
  96. package/dist/cjs/z-tbody.cjs.entry.js +0 -10
  97. package/dist/cjs/z-td.cjs.entry.js +0 -11
  98. package/dist/cjs/z-tfoot.cjs.entry.js +0 -10
  99. package/dist/cjs/z-th.cjs.entry.js +0 -11
  100. package/dist/cjs/z-thead.cjs.entry.js +0 -10
  101. package/dist/cjs/z-toast-notification-list.cjs.entry.js +0 -56
  102. package/dist/cjs/z-toast-notification.cjs.entry.js +0 -200
  103. package/dist/cjs/z-toggle-button.cjs.entry.js +0 -36
  104. package/dist/cjs/z-toggle-switch.cjs.entry.js +0 -51
  105. package/dist/cjs/z-tooltip.cjs.entry.js +0 -37
  106. package/dist/cjs/z-tr.cjs.entry.js +0 -15
  107. package/dist/cjs/z-visually-hidden.cjs.entry.js +0 -19
  108. package/dist/collection/beans/index.js +0 -342
  109. package/dist/collection/collection-manifest.json +0 -106
  110. package/dist/collection/components/buttons/z-button/index.js +0 -262
  111. package/dist/collection/components/buttons/z-button/styles.css +0 -149
  112. package/dist/collection/components/buttons/z-button-sort/index.js +0 -220
  113. package/dist/collection/components/buttons/z-button-sort/styles.css +0 -84
  114. package/dist/collection/components/buttons/z-chip/index.js +0 -147
  115. package/dist/collection/components/buttons/z-chip/styles.css +0 -122
  116. package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
  117. package/dist/collection/components/buttons/z-toggle-button/styles.css +0 -60
  118. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -144
  119. package/dist/collection/components/buttons/z-toggle-switch/styles.css +0 -104
  120. package/dist/collection/components/date-picker/styles.css +0 -565
  121. package/dist/collection/components/date-picker/utils.js +0 -76
  122. package/dist/collection/components/date-picker/z-date-picker/index.js +0 -295
  123. package/dist/collection/components/date-picker/z-range-picker/index.js +0 -593
  124. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -53
  125. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +0 -51
  126. package/dist/collection/components/file-upload/z-file/index.js +0 -131
  127. package/dist/collection/components/file-upload/z-file/styles.css +0 -23
  128. package/dist/collection/components/file-upload/z-file-upload/index.js +0 -363
  129. package/dist/collection/components/file-upload/z-file-upload/styles.css +0 -84
  130. package/dist/collection/components/icons/icons.js +0 -858
  131. package/dist/collection/components/icons/z-icon/index.js +0 -114
  132. package/dist/collection/components/icons/z-icon/styles.css +0 -14
  133. package/dist/collection/components/index.js +0 -8
  134. package/dist/collection/components/indicators/z-stepper/index.js +0 -21
  135. package/dist/collection/components/indicators/z-stepper/styles.css +0 -19
  136. package/dist/collection/components/indicators/z-stepper-item/index.js +0 -93
  137. package/dist/collection/components/indicators/z-stepper-item/styles.css +0 -114
  138. package/dist/collection/components/inputs/z-combobox/index.js +0 -570
  139. package/dist/collection/components/inputs/z-combobox/styles.css +0 -194
  140. package/dist/collection/components/inputs/z-input/index.js +0 -804
  141. package/dist/collection/components/inputs/z-input/styles.css +0 -397
  142. package/dist/collection/components/inputs/z-input-message/index.js +0 -89
  143. package/dist/collection/components/inputs/z-input-message/styles.css +0 -48
  144. package/dist/collection/components/inputs/z-searchbar/index.js +0 -599
  145. package/dist/collection/components/inputs/z-searchbar/styles.css +0 -185
  146. package/dist/collection/components/inputs/z-select/index.js +0 -753
  147. package/dist/collection/components/inputs/z-select/styles.css +0 -123
  148. package/dist/collection/components/list/z-list/index.js +0 -91
  149. package/dist/collection/components/list/z-list/styles.css +0 -6
  150. package/dist/collection/components/list/z-list-element/index.js +0 -508
  151. package/dist/collection/components/list/z-list-element/styles.css +0 -121
  152. package/dist/collection/components/list/z-list-group/index.js +0 -175
  153. package/dist/collection/components/list/z-list-group/styles.css +0 -21
  154. package/dist/collection/components/list/z-toast-notification-list/index.js +0 -105
  155. package/dist/collection/components/list/z-toast-notification-list/styles.css +0 -100
  156. package/dist/collection/components/logo/z-logo/index.js +0 -131
  157. package/dist/collection/components/logo/z-logo/styles.css +0 -29
  158. package/dist/collection/components/modal/z-modal/index.js +0 -351
  159. package/dist/collection/components/modal/z-modal/styles.css +0 -251
  160. package/dist/collection/components/navigation/z-app-header/index.js +0 -449
  161. package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
  162. package/dist/collection/components/navigation/z-app-header/styles.css +0 -441
  163. package/dist/collection/components/navigation/z-menu/index.js +0 -250
  164. package/dist/collection/components/navigation/z-menu/styles.css +0 -217
  165. package/dist/collection/components/navigation/z-menu-section/index.js +0 -125
  166. package/dist/collection/components/navigation/z-menu-section/styles.css +0 -123
  167. package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -367
  168. package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
  169. package/dist/collection/components/navigation/z-navigation-tabs/styles.css +0 -212
  170. package/dist/collection/components/notification/z-info-box/index.js +0 -85
  171. package/dist/collection/components/notification/z-info-box/styles.css +0 -23
  172. package/dist/collection/components/notification/z-notification/index.js +0 -195
  173. package/dist/collection/components/notification/z-notification/styles.css +0 -114
  174. package/dist/collection/components/notification/z-toast-notification/index.js +0 -399
  175. package/dist/collection/components/notification/z-toast-notification/styles.css +0 -254
  176. package/dist/collection/components/notification/z-tooltip/index.js +0 -157
  177. package/dist/collection/components/notification/z-tooltip/styles.css +0 -17
  178. package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
  179. package/dist/collection/components/panel/z-panel-elem/styles.css +0 -46
  180. package/dist/collection/components/table/cells/z-td/index.js +0 -147
  181. package/dist/collection/components/table/cells/z-td/styles.css +0 -59
  182. package/dist/collection/components/table/cells/z-th/index.js +0 -209
  183. package/dist/collection/components/table/cells/z-th/styles.css +0 -88
  184. package/dist/collection/components/table/z-table/index.js +0 -86
  185. package/dist/collection/components/table/z-table/styles.css +0 -22
  186. package/dist/collection/components/table/z-tbody/index.js +0 -22
  187. package/dist/collection/components/table/z-tbody/styles.css +0 -4
  188. package/dist/collection/components/table/z-tfoot/index.js +0 -50
  189. package/dist/collection/components/table/z-tfoot/styles.css +0 -13
  190. package/dist/collection/components/table/z-thead/index.js +0 -50
  191. package/dist/collection/components/table/z-thead/styles.css +0 -19
  192. package/dist/collection/components/table/z-tr/index.js +0 -133
  193. package/dist/collection/components/table/z-tr/styles.css +0 -87
  194. package/dist/collection/components/z-accordion/index.js +0 -255
  195. package/dist/collection/components/z-accordion/styles.css +0 -255
  196. package/dist/collection/components/z-anchor-navigation/index.js +0 -95
  197. package/dist/collection/components/z-anchor-navigation/styles.css +0 -128
  198. package/dist/collection/components/z-aria-alert/index.js +0 -39
  199. package/dist/collection/components/z-avatar/index.js +0 -142
  200. package/dist/collection/components/z-avatar/styles.css +0 -32
  201. package/dist/collection/components/z-book-card/index.js +0 -392
  202. package/dist/collection/components/z-book-card/styles.css +0 -476
  203. package/dist/collection/components/z-breadcrumb/index.js +0 -392
  204. package/dist/collection/components/z-breadcrumb/styles.css +0 -146
  205. package/dist/collection/components/z-card/index.js +0 -148
  206. package/dist/collection/components/z-card/styles.css +0 -213
  207. package/dist/collection/components/z-carousel/index.js +0 -304
  208. package/dist/collection/components/z-carousel/styles.css +0 -129
  209. package/dist/collection/components/z-contextual-menu/index.js +0 -126
  210. package/dist/collection/components/z-contextual-menu/styles.css +0 -60
  211. package/dist/collection/components/z-cover-hero/index.js +0 -146
  212. package/dist/collection/components/z-cover-hero/styles.css +0 -93
  213. package/dist/collection/components/z-divider/index.js +0 -95
  214. package/dist/collection/components/z-divider/styles.css +0 -37
  215. package/dist/collection/components/z-ghost-loading/index.js +0 -18
  216. package/dist/collection/components/z-ghost-loading/styles.css +0 -34
  217. package/dist/collection/components/z-info-reveal/index.js +0 -147
  218. package/dist/collection/components/z-info-reveal/styles.css +0 -103
  219. package/dist/collection/components/z-offcanvas/index.js +0 -162
  220. package/dist/collection/components/z-offcanvas/styles.css +0 -182
  221. package/dist/collection/components/z-pagination/index.js +0 -435
  222. package/dist/collection/components/z-pagination/styles.css +0 -199
  223. package/dist/collection/components/z-popover/index.js +0 -513
  224. package/dist/collection/components/z-popover/styles.css +0 -147
  225. package/dist/collection/components/z-section-title/index.js +0 -88
  226. package/dist/collection/components/z-section-title/styles.css +0 -45
  227. package/dist/collection/components/z-skip-to-content/index.js +0 -147
  228. package/dist/collection/components/z-skip-to-content/styles.css +0 -81
  229. package/dist/collection/components/z-tag/index.js +0 -65
  230. package/dist/collection/components/z-tag/styles.css +0 -46
  231. package/dist/collection/components/z-visually-hidden/index.js +0 -18
  232. package/dist/collection/components/z-visually-hidden/styles.css +0 -12
  233. package/dist/collection/constants/breakpoints.js +0 -4
  234. package/dist/collection/constants/icons.js +0 -6
  235. package/dist/collection/deprecated/navigation-tab.css +0 -138
  236. package/dist/collection/deprecated/z-link/index.js +0 -318
  237. package/dist/collection/deprecated/z-link/styles.css +0 -167
  238. package/dist/collection/deprecated/z-navigation-tab/index.js +0 -290
  239. package/dist/collection/deprecated/z-navigation-tab-link/index.js +0 -313
  240. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +0 -26
  241. package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +0 -9
  242. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +0 -84
  243. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +0 -58
  244. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +0 -363
  245. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +0 -115
  246. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +0 -75
  247. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +0 -38
  248. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +0 -42
  249. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +0 -9
  250. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +0 -25
  251. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +0 -5
  252. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +0 -25
  253. package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +0 -5
  254. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +0 -226
  255. package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +0 -71
  256. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +0 -44
  257. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +0 -13
  258. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +0 -95
  259. package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +0 -45
  260. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +0 -22
  261. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +0 -11
  262. package/dist/collection/index.js +0 -7
  263. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -129
  264. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -44
  265. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -151
  266. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
  267. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -22
  268. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
  269. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -93
  270. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -177
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -72
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -219
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -181
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -22
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -20
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -109
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -59
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -81
  280. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -69
  281. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -199
  282. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -93
  283. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -60
  284. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -41
  285. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -78
  286. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
  287. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -192
  288. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -66
  289. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +0 -120
  290. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +0 -102
  291. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +0 -191
  292. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +0 -44
  293. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +0 -84
  294. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +0 -41
  295. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -93
  296. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +0 -27
  297. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +0 -22
  298. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +0 -44
  299. package/dist/collection/snowflakes/myz/z-alert/index.js +0 -47
  300. package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
  301. package/dist/collection/snowflakes/myz/z-otp/index.js +0 -120
  302. package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -47
  303. package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -180
  304. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -127
  305. package/dist/collection/utils/storybook-utils.js +0 -76
  306. package/dist/collection/utils/utils.js +0 -115
  307. package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
  308. package/dist/esm/breakpoints-9b81eb1b.js +0 -5
  309. package/dist/esm/hammer-c3266b17.js +0 -2648
  310. package/dist/esm/icons-e3232103.js +0 -860
  311. package/dist/esm/index-0a587f24.js +0 -51
  312. package/dist/esm/index-0cdc998f.js +0 -19
  313. package/dist/esm/index-361b27f9.js +0 -15
  314. package/dist/esm/index-47f23745.js +0 -344
  315. package/dist/esm/index-4968ce56.js +0 -2298
  316. package/dist/esm/index-4d1853ea.js +0 -77
  317. package/dist/esm/index-531501d7.js +0 -15
  318. package/dist/esm/index-6161978d.js +0 -27
  319. package/dist/esm/index-772a7413.js +0 -20
  320. package/dist/esm/index-816801e5.js +0 -18
  321. package/dist/esm/index-85dc8bc0.js +0 -32
  322. package/dist/esm/index-88a23895.js +0 -19
  323. package/dist/esm/index-8f7fd43f.js +0 -19
  324. package/dist/esm/index-af5c6b4c.js +0 -15
  325. package/dist/esm/index-dc50a9ae.js +0 -72
  326. package/dist/esm/index-e6ee76f0.js +0 -39
  327. package/dist/esm/index-fac1fe6c.js +0 -19
  328. package/dist/esm/index-fb19ca57.js +0 -65
  329. package/dist/esm/index.js +0 -9
  330. package/dist/esm/loader.js +0 -17
  331. package/dist/esm/polyfills/core-js.js +0 -11
  332. package/dist/esm/polyfills/css-shim.js +0 -1
  333. package/dist/esm/polyfills/dom.js +0 -79
  334. package/dist/esm/polyfills/es5-html-element.js +0 -1
  335. package/dist/esm/polyfills/index.js +0 -34
  336. package/dist/esm/polyfills/system.js +0 -6
  337. package/dist/esm/utils-2a4ef29d.js +0 -100
  338. package/dist/esm/utils-8e0bd81d.js +0 -2700
  339. package/dist/esm/web-components-library.js +0 -17
  340. package/dist/esm/z-accordion.entry.js +0 -63
  341. package/dist/esm/z-alert.entry.js +0 -15
  342. package/dist/esm/z-anchor-navigation.entry.js +0 -49
  343. package/dist/esm/z-app-header_11.entry.js +0 -1044
  344. package/dist/esm/z-aria-alert.entry.js +0 -15
  345. package/dist/esm/z-avatar.entry.js +0 -40
  346. package/dist/esm/z-book-card.entry.js +0 -122
  347. package/dist/esm/z-breadcrumb.entry.js +0 -228
  348. package/dist/esm/z-button-sort.entry.js +0 -49
  349. package/dist/esm/z-card.entry.js +0 -49
  350. package/dist/esm/z-carousel.entry.js +0 -146
  351. package/dist/esm/z-chip.entry.js +0 -28
  352. package/dist/esm/z-combobox.entry.js +0 -197
  353. package/dist/esm/z-contextual-menu.entry.js +0 -42
  354. package/dist/esm/z-cover-hero.entry.js +0 -53
  355. package/dist/esm/z-date-picker.entry.js +0 -473
  356. package/dist/esm/z-dragdrop-area_2.entry.js +0 -1011
  357. package/dist/esm/z-file-upload.entry.js +0 -181
  358. package/dist/esm/z-file.entry.js +0 -44
  359. package/dist/esm/z-ghost-loading.entry.js +0 -15
  360. package/dist/esm/z-info-box.entry.js +0 -21
  361. package/dist/esm/z-info-reveal.entry.js +0 -61
  362. package/dist/esm/z-link.entry.js +0 -70
  363. package/dist/esm/z-logo.entry.js +0 -22
  364. package/dist/esm/z-menu-section.entry.js +0 -50
  365. package/dist/esm/z-menu.entry.js +0 -115
  366. package/dist/esm/z-messages-pocket.entry.js +0 -42
  367. package/dist/esm/z-myz-card-alert.entry.js +0 -59
  368. package/dist/esm/z-myz-card-dictionary.entry.js +0 -32
  369. package/dist/esm/z-myz-card-footer-sections.entry.js +0 -15
  370. package/dist/esm/z-myz-card-footer.entry.js +0 -65
  371. package/dist/esm/z-myz-card-icon.entry.js +0 -19
  372. package/dist/esm/z-myz-card-info.entry.js +0 -125
  373. package/dist/esm/z-myz-card-list.entry.js +0 -34
  374. package/dist/esm/z-myz-card_4.entry.js +0 -101
  375. package/dist/esm/z-myz-list-item.entry.js +0 -33
  376. package/dist/esm/z-myz-list.entry.js +0 -31
  377. package/dist/esm/z-navigation-tab-link.entry.js +0 -70
  378. package/dist/esm/z-navigation-tab.entry.js +0 -69
  379. package/dist/esm/z-navigation-tabs.entry.js +0 -225
  380. package/dist/esm/z-notification.entry.js +0 -37
  381. package/dist/esm/z-otp.entry.js +0 -37
  382. package/dist/esm/z-pagination.entry.js +0 -225
  383. package/dist/esm/z-panel-elem.entry.js +0 -30
  384. package/dist/esm/z-pocket-message.entry.js +0 -15
  385. package/dist/esm/z-pocket_3.entry.js +0 -119
  386. package/dist/esm/z-popover.entry.js +0 -324
  387. package/dist/esm/z-range-picker.entry.js +0 -357
  388. package/dist/esm/z-section-title.entry.js +0 -29
  389. package/dist/esm/z-select.entry.js +0 -328
  390. package/dist/esm/z-skip-to-content.entry.js +0 -70
  391. package/dist/esm/z-slideshow.entry.js +0 -125
  392. package/dist/esm/z-stepper-item.entry.js +0 -18
  393. package/dist/esm/z-stepper.entry.js +0 -15
  394. package/dist/esm/z-table-body.entry.js +0 -2
  395. package/dist/esm/z-table-cell.entry.js +0 -3
  396. package/dist/esm/z-table-deprecated.entry.js +0 -87
  397. package/dist/esm/z-table-empty-box.entry.js +0 -2
  398. package/dist/esm/z-table-expanded-row.entry.js +0 -2
  399. package/dist/esm/z-table-footer.entry.js +0 -2
  400. package/dist/esm/z-table-head.entry.js +0 -2
  401. package/dist/esm/z-table-header-row.entry.js +0 -2
  402. package/dist/esm/z-table-header.entry.js +0 -5
  403. package/dist/esm/z-table-row.entry.js +0 -3
  404. package/dist/esm/z-table-sticky-footer.entry.js +0 -2
  405. package/dist/esm/z-table.entry.js +0 -54
  406. package/dist/esm/z-tag.entry.js +0 -18
  407. package/dist/esm/z-tbody.entry.js +0 -2
  408. package/dist/esm/z-td.entry.js +0 -3
  409. package/dist/esm/z-tfoot.entry.js +0 -2
  410. package/dist/esm/z-th.entry.js +0 -3
  411. package/dist/esm/z-thead.entry.js +0 -2
  412. package/dist/esm/z-toast-notification-list.entry.js +0 -52
  413. package/dist/esm/z-toast-notification.entry.js +0 -196
  414. package/dist/esm/z-toggle-button.entry.js +0 -32
  415. package/dist/esm/z-toggle-switch.entry.js +0 -47
  416. package/dist/esm/z-tooltip.entry.js +0 -33
  417. package/dist/esm/z-tr.entry.js +0 -7
  418. package/dist/esm/z-visually-hidden.entry.js +0 -15
  419. package/dist/index.cjs.js +0 -1
  420. package/dist/index.js +0 -1
  421. package/dist/types/beans/index.d.ts +0 -398
  422. package/dist/types/components/buttons/z-button/index.d.ts +0 -31
  423. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
  424. package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
  425. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
  426. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
  427. package/dist/types/components/date-picker/utils.d.ts +0 -4
  428. package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -29
  429. package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -52
  430. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -9
  431. package/dist/types/components/file-upload/z-file/index.d.ts +0 -22
  432. package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -52
  433. package/dist/types/components/icons/icons.d.ts +0 -1549
  434. package/dist/types/components/icons/z-icon/index.d.ts +0 -14
  435. package/dist/types/components/index.d.ts +0 -0
  436. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
  437. package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -19
  438. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -71
  439. package/dist/types/components/inputs/z-input/index.d.ts +0 -91
  440. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
  441. package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -73
  442. package/dist/types/components/inputs/z-select/index.d.ts +0 -82
  443. package/dist/types/components/list/z-list/index.d.ts +0 -15
  444. package/dist/types/components/list/z-list-element/index.d.ts +0 -95
  445. package/dist/types/components/list/z-list-group/index.d.ts +0 -28
  446. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
  447. package/dist/types/components/logo/z-logo/index.d.ts +0 -15
  448. package/dist/types/components/modal/z-modal/index.d.ts +0 -49
  449. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
  450. package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
  451. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
  452. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
  453. package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
  454. package/dist/types/components/notification/z-notification/index.d.ts +0 -32
  455. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
  456. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
  457. package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -25
  458. package/dist/types/components/table/cells/z-td/index.d.ts +0 -37
  459. package/dist/types/components/table/cells/z-th/index.d.ts +0 -56
  460. package/dist/types/components/table/z-table/index.d.ts +0 -28
  461. package/dist/types/components/table/z-tbody/index.d.ts +0 -7
  462. package/dist/types/components/table/z-tfoot/index.d.ts +0 -11
  463. package/dist/types/components/table/z-thead/index.d.ts +0 -11
  464. package/dist/types/components/table/z-tr/index.d.ts +0 -41
  465. package/dist/types/components/z-accordion/index.d.ts +0 -65
  466. package/dist/types/components/z-anchor-navigation/index.d.ts +0 -39
  467. package/dist/types/components/z-aria-alert/index.d.ts +0 -6
  468. package/dist/types/components/z-avatar/index.d.ts +0 -16
  469. package/dist/types/components/z-book-card/index.d.ts +0 -95
  470. package/dist/types/components/z-breadcrumb/index.d.ts +0 -56
  471. package/dist/types/components/z-card/index.d.ts +0 -38
  472. package/dist/types/components/z-carousel/index.d.ts +0 -63
  473. package/dist/types/components/z-contextual-menu/index.d.ts +0 -26
  474. package/dist/types/components/z-cover-hero/index.d.ts +0 -41
  475. package/dist/types/components/z-divider/index.d.ts +0 -10
  476. package/dist/types/components/z-ghost-loading/index.d.ts +0 -3
  477. package/dist/types/components/z-info-reveal/index.d.ts +0 -29
  478. package/dist/types/components/z-offcanvas/index.d.ts +0 -27
  479. package/dist/types/components/z-pagination/index.d.ts +0 -109
  480. package/dist/types/components/z-popover/index.d.ts +0 -69
  481. package/dist/types/components/z-section-title/index.d.ts +0 -25
  482. package/dist/types/components/z-skip-to-content/index.d.ts +0 -21
  483. package/dist/types/components/z-tag/index.d.ts +0 -13
  484. package/dist/types/components/z-visually-hidden/index.d.ts +0 -3
  485. package/dist/types/components.d.ts +0 -5198
  486. package/dist/types/constants/breakpoints.d.ts +0 -4
  487. package/dist/types/constants/icons.d.ts +0 -6
  488. package/dist/types/deprecated/z-link/index.d.ts +0 -41
  489. package/dist/types/deprecated/z-navigation-tab/index.d.ts +0 -69
  490. package/dist/types/deprecated/z-navigation-tab-link/index.d.ts +0 -77
  491. package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +0 -8
  492. package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +0 -14
  493. package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +0 -59
  494. package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +0 -15
  495. package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +0 -8
  496. package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +0 -8
  497. package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +0 -8
  498. package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +0 -31
  499. package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +0 -9
  500. package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +0 -16
  501. package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +0 -7
  502. package/dist/types/index.d.ts +0 -7
  503. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -16
  504. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -19
  505. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -7
  506. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -12
  507. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -24
  508. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -34
  509. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -7
  510. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -19
  511. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -9
  512. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -36
  513. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -9
  514. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -11
  515. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -25
  516. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -16
  517. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -25
  518. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -12
  519. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -18
  520. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -7
  521. package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -9
  522. package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -17
  523. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -30
  524. package/dist/types/stencil-public-runtime.d.ts +0 -1576
  525. package/dist/types/utils/storybook-utils.d.ts +0 -50
  526. package/dist/types/utils/utils.d.ts +0 -24
  527. package/dist/web-components-library/index.esm.js +0 -1
  528. package/dist/web-components-library/p-01e2e8d4.entry.js +0 -1
  529. package/dist/web-components-library/p-035fbb3e.entry.js +0 -1
  530. package/dist/web-components-library/p-03b13390.entry.js +0 -1
  531. package/dist/web-components-library/p-04b2ab0d.entry.js +0 -1
  532. package/dist/web-components-library/p-05ba9739.entry.js +0 -1
  533. package/dist/web-components-library/p-06c94384.entry.js +0 -1
  534. package/dist/web-components-library/p-100207d8.entry.js +0 -1
  535. package/dist/web-components-library/p-1086a0fa.entry.js +0 -1
  536. package/dist/web-components-library/p-112455b1.js +0 -1
  537. package/dist/web-components-library/p-138bc87e.entry.js +0 -1
  538. package/dist/web-components-library/p-13fc4378.js +0 -1
  539. package/dist/web-components-library/p-15a606ce.entry.js +0 -1
  540. package/dist/web-components-library/p-19876b0d.entry.js +0 -1
  541. package/dist/web-components-library/p-1d805413.entry.js +0 -1
  542. package/dist/web-components-library/p-29fa362c.entry.js +0 -1
  543. package/dist/web-components-library/p-2cb45213.entry.js +0 -1
  544. package/dist/web-components-library/p-33305cc8.entry.js +0 -1
  545. package/dist/web-components-library/p-3636078a.entry.js +0 -1
  546. package/dist/web-components-library/p-376f2928.entry.js +0 -1
  547. package/dist/web-components-library/p-392899e9.entry.js +0 -1
  548. package/dist/web-components-library/p-39a446ec.entry.js +0 -1
  549. package/dist/web-components-library/p-39b7ad4f.entry.js +0 -1
  550. package/dist/web-components-library/p-3bb2d909.entry.js +0 -1
  551. package/dist/web-components-library/p-417482b0.entry.js +0 -1
  552. package/dist/web-components-library/p-485fd3db.entry.js +0 -1
  553. package/dist/web-components-library/p-49f4e9a0.entry.js +0 -1
  554. package/dist/web-components-library/p-4d0d5d93.entry.js +0 -1
  555. package/dist/web-components-library/p-50f78a81.entry.js +0 -1
  556. package/dist/web-components-library/p-5338cc37.entry.js +0 -1
  557. package/dist/web-components-library/p-571b55dc.js +0 -1
  558. package/dist/web-components-library/p-57c6d414.entry.js +0 -1
  559. package/dist/web-components-library/p-5944a8f2.entry.js +0 -1
  560. package/dist/web-components-library/p-5c177ba5.entry.js +0 -1
  561. package/dist/web-components-library/p-5d274fcc.entry.js +0 -1
  562. package/dist/web-components-library/p-5f202970.entry.js +0 -1
  563. package/dist/web-components-library/p-5fd3ed9c.entry.js +0 -1
  564. package/dist/web-components-library/p-61c00383.entry.js +0 -1
  565. package/dist/web-components-library/p-68410ea2.js +0 -1
  566. package/dist/web-components-library/p-6a4403c6.entry.js +0 -1
  567. package/dist/web-components-library/p-6ed0aaab.entry.js +0 -1
  568. package/dist/web-components-library/p-7426f322.js +0 -1
  569. package/dist/web-components-library/p-7588fbf0.js +0 -1
  570. package/dist/web-components-library/p-7907bdf7.entry.js +0 -1
  571. package/dist/web-components-library/p-7b990086.js +0 -1
  572. package/dist/web-components-library/p-7c5ddeb0.entry.js +0 -1
  573. package/dist/web-components-library/p-80e52459.js +0 -1
  574. package/dist/web-components-library/p-81006561.js +0 -2
  575. package/dist/web-components-library/p-86758f78.entry.js +0 -1
  576. package/dist/web-components-library/p-8a45ae2a.entry.js +0 -1
  577. package/dist/web-components-library/p-8c31e60b.entry.js +0 -1
  578. package/dist/web-components-library/p-9021c92a.js +0 -1
  579. package/dist/web-components-library/p-94afe4dd.entry.js +0 -1
  580. package/dist/web-components-library/p-9508cd3e.js +0 -1
  581. package/dist/web-components-library/p-95370f75.js +0 -1
  582. package/dist/web-components-library/p-96fc8078.entry.js +0 -1
  583. package/dist/web-components-library/p-98204840.entry.js +0 -1
  584. package/dist/web-components-library/p-98badafc.js +0 -1
  585. package/dist/web-components-library/p-9b0bcd43.entry.js +0 -1
  586. package/dist/web-components-library/p-9c1ed1e8.entry.js +0 -1
  587. package/dist/web-components-library/p-9ff2fc8e.entry.js +0 -1
  588. package/dist/web-components-library/p-a01baa71.js +0 -1
  589. package/dist/web-components-library/p-a1663ab1.entry.js +0 -1
  590. package/dist/web-components-library/p-a3587fd6.entry.js +0 -16
  591. package/dist/web-components-library/p-a4502b1e.entry.js +0 -1
  592. package/dist/web-components-library/p-a48e5c46.entry.js +0 -1
  593. package/dist/web-components-library/p-a50262e8.entry.js +0 -1
  594. package/dist/web-components-library/p-a862a070.entry.js +0 -1
  595. package/dist/web-components-library/p-a9d2edee.entry.js +0 -1
  596. package/dist/web-components-library/p-acb89afa.entry.js +0 -1
  597. package/dist/web-components-library/p-b2527ca1.entry.js +0 -1
  598. package/dist/web-components-library/p-b497e33e.js +0 -1
  599. package/dist/web-components-library/p-b99039ed.js +0 -1
  600. package/dist/web-components-library/p-c298cb2f.js +0 -1
  601. package/dist/web-components-library/p-c44d87bd.entry.js +0 -1
  602. package/dist/web-components-library/p-c6e7991f.entry.js +0 -1
  603. package/dist/web-components-library/p-c9bc5148.js +0 -1
  604. package/dist/web-components-library/p-ca472d1c.entry.js +0 -1
  605. package/dist/web-components-library/p-cbb670c5.js +0 -1
  606. package/dist/web-components-library/p-cc009af8.entry.js +0 -1
  607. package/dist/web-components-library/p-cd561d69.js +0 -1
  608. package/dist/web-components-library/p-d2946762.entry.js +0 -1
  609. package/dist/web-components-library/p-db0a64af.js +0 -1
  610. package/dist/web-components-library/p-dd4fc386.entry.js +0 -1
  611. package/dist/web-components-library/p-de5688e9.entry.js +0 -1
  612. package/dist/web-components-library/p-decbd59d.entry.js +0 -1
  613. package/dist/web-components-library/p-e43e61ac.js +0 -7
  614. package/dist/web-components-library/p-e54d4ef9.entry.js +0 -1
  615. package/dist/web-components-library/p-e7c6d651.entry.js +0 -1
  616. package/dist/web-components-library/p-ed42ceca.entry.js +0 -1
  617. package/dist/web-components-library/p-f058316f.entry.js +0 -1
  618. package/dist/web-components-library/p-f14105c6.entry.js +0 -1
  619. package/dist/web-components-library/p-f3cc3f27.entry.js +0 -1
  620. package/dist/web-components-library/p-f46fa177.entry.js +0 -1
  621. package/dist/web-components-library/p-f4e2e76b.entry.js +0 -1
  622. package/dist/web-components-library/p-f5ae1514.entry.js +0 -1
  623. package/dist/web-components-library/p-f5bc7dda.entry.js +0 -1
  624. package/dist/web-components-library/p-f8383e14.entry.js +0 -1
  625. package/dist/web-components-library/p-f976f29f.js +0 -1
  626. package/dist/web-components-library/p-f9873cb9.entry.js +0 -1
  627. package/dist/web-components-library/p-fd58b7a2.entry.js +0 -1
  628. package/dist/web-components-library/p-fde82dc3.js +0 -1
  629. package/dist/web-components-library/p-ff5a6e34.entry.js +0 -1
  630. package/dist/web-components-library/p-ffde06d1.entry.js +0 -1
  631. package/dist/web-components-library/web-components-library.css +0 -3
  632. package/dist/web-components-library/web-components-library.esm.js +0 -1
  633. package/loader/cdn.js +0 -3
  634. package/loader/index.cjs.js +0 -3
  635. package/loader/index.d.ts +0 -12
  636. package/loader/index.es2017.js +0 -3
  637. package/loader/index.js +0 -4
  638. package/loader/package.json +0 -11
  639. package/react/components.d.ts +0 -97
  640. package/react/components.js +0 -104
  641. package/react/components.js.map +0 -1
  642. package/react/index.d.ts +0 -1
  643. package/react/index.js +0 -14
  644. package/react/index.js.map +0 -1
  645. package/react/react-component-lib/createComponent.d.ts +0 -10
  646. package/react/react-component-lib/createComponent.js +0 -98
  647. package/react/react-component-lib/createComponent.js.map +0 -1
  648. package/react/react-component-lib/createOverlayComponent.d.ts +0 -21
  649. package/react/react-component-lib/createOverlayComponent.js +0 -116
  650. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  651. package/react/react-component-lib/index.d.ts +0 -2
  652. package/react/react-component-lib/index.js +0 -8
  653. package/react/react-component-lib/index.js.map +0 -1
  654. package/react/react-component-lib/interfaces.d.ts +0 -29
  655. package/react/react-component-lib/interfaces.js +0 -3
  656. package/react/react-component-lib/interfaces.js.map +0 -1
  657. package/react/react-component-lib/utils/attachProps.d.ts +0 -12
  658. package/react/react-component-lib/utils/attachProps.js +0 -105
  659. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  660. package/react/react-component-lib/utils/case.d.ts +0 -2
  661. package/react/react-component-lib/utils/case.js +0 -12
  662. package/react/react-component-lib/utils/case.js.map +0 -1
  663. package/react/react-component-lib/utils/dev.d.ts +0 -2
  664. package/react/react-component-lib/utils/dev.js +0 -18
  665. package/react/react-component-lib/utils/dev.js.map +0 -1
  666. package/react/react-component-lib/utils/index.d.ts +0 -10
  667. package/react/react-component-lib/utils/index.js +0 -54
  668. package/react/react-component-lib/utils/index.js.map +0 -1
  669. package/www/assets/favicon.png +0 -0
  670. package/www/assets/images/png/arrowDown.png +0 -0
  671. package/www/assets/images/png/arrowUp.png +0 -0
  672. package/www/assets/images/png/back-button.png +0 -0
  673. package/www/assets/images/png/bovolenta-logo.png +0 -0
  674. package/www/assets/images/png/cart-icon.png +0 -0
  675. package/www/assets/images/png/cea-logo.png +0 -0
  676. package/www/assets/images/png/clitt-logo.png +0 -0
  677. package/www/assets/images/png/down-arrow.png +0 -0
  678. package/www/assets/images/png/download.png +0 -0
  679. package/www/assets/images/png/facebook.png +0 -0
  680. package/www/assets/images/png/gruoss.png +0 -0
  681. package/www/assets/images/png/instagram.png +0 -0
  682. package/www/assets/images/png/lucisano-logo.png +0 -0
  683. package/www/assets/images/png/myzanichelli-logo.png +0 -0
  684. package/www/assets/images/png/question-mark.png +0 -0
  685. package/www/assets/images/png/suitcase-icon.png +0 -0
  686. package/www/assets/images/png/twitter.png +0 -0
  687. package/www/assets/images/png/up-arrow.png +0 -0
  688. package/www/assets/images/png/user.png +0 -0
  689. package/www/assets/images/png/user_transparent.png +0 -0
  690. package/www/assets/images/png/youtube.png +0 -0
  691. package/www/assets/images/png/zanichelli-add-book-gray@8x.png +0 -0
  692. package/www/assets/images/png/zanichelli-book-remove-gray@8x.png +0 -0
  693. package/www/assets/images/png/zanichelli-error-image.png +0 -0
  694. package/www/assets/images/png/zanichelli-external-link-2@8x.png +0 -0
  695. package/www/assets/images/png/zanichelli-external-link-3@8x.png +0 -0
  696. package/www/assets/images/png/zanichelli-external-link@8x.png +0 -0
  697. package/www/assets/images/png/zanichelli-logo-2.png +0 -0
  698. package/www/assets/images/png/zanichelli-logo-footer.png +0 -0
  699. package/www/assets/images/png/zanichelli-logo.png +0 -0
  700. package/www/build/index.esm.js +0 -1
  701. package/www/build/p-01e2e8d4.entry.js +0 -1
  702. package/www/build/p-035fbb3e.entry.js +0 -1
  703. package/www/build/p-03b13390.entry.js +0 -1
  704. package/www/build/p-04b2ab0d.entry.js +0 -1
  705. package/www/build/p-05ba9739.entry.js +0 -1
  706. package/www/build/p-06c94384.entry.js +0 -1
  707. package/www/build/p-100207d8.entry.js +0 -1
  708. package/www/build/p-1086a0fa.entry.js +0 -1
  709. package/www/build/p-112455b1.js +0 -1
  710. package/www/build/p-138bc87e.entry.js +0 -1
  711. package/www/build/p-13fc4378.js +0 -1
  712. package/www/build/p-15a606ce.entry.js +0 -1
  713. package/www/build/p-19876b0d.entry.js +0 -1
  714. package/www/build/p-1d805413.entry.js +0 -1
  715. package/www/build/p-29fa362c.entry.js +0 -1
  716. package/www/build/p-2cb45213.entry.js +0 -1
  717. package/www/build/p-33305cc8.entry.js +0 -1
  718. package/www/build/p-3636078a.entry.js +0 -1
  719. package/www/build/p-376f2928.entry.js +0 -1
  720. package/www/build/p-392899e9.entry.js +0 -1
  721. package/www/build/p-39a446ec.entry.js +0 -1
  722. package/www/build/p-39b7ad4f.entry.js +0 -1
  723. package/www/build/p-3bb2d909.entry.js +0 -1
  724. package/www/build/p-417482b0.entry.js +0 -1
  725. package/www/build/p-485fd3db.entry.js +0 -1
  726. package/www/build/p-49f4e9a0.entry.js +0 -1
  727. package/www/build/p-4d0d5d93.entry.js +0 -1
  728. package/www/build/p-50f78a81.entry.js +0 -1
  729. package/www/build/p-5338cc37.entry.js +0 -1
  730. package/www/build/p-571b55dc.js +0 -1
  731. package/www/build/p-57c6d414.entry.js +0 -1
  732. package/www/build/p-5944a8f2.entry.js +0 -1
  733. package/www/build/p-5c177ba5.entry.js +0 -1
  734. package/www/build/p-5d274fcc.entry.js +0 -1
  735. package/www/build/p-5f202970.entry.js +0 -1
  736. package/www/build/p-5fd3ed9c.entry.js +0 -1
  737. package/www/build/p-61c00383.entry.js +0 -1
  738. package/www/build/p-68410ea2.js +0 -1
  739. package/www/build/p-6a4403c6.entry.js +0 -1
  740. package/www/build/p-6ed0aaab.entry.js +0 -1
  741. package/www/build/p-7426f322.js +0 -1
  742. package/www/build/p-7588fbf0.js +0 -1
  743. package/www/build/p-7907bdf7.entry.js +0 -1
  744. package/www/build/p-7b990086.js +0 -1
  745. package/www/build/p-7c5ddeb0.entry.js +0 -1
  746. package/www/build/p-80e52459.js +0 -1
  747. package/www/build/p-81006561.js +0 -2
  748. package/www/build/p-86758f78.entry.js +0 -1
  749. package/www/build/p-8a45ae2a.entry.js +0 -1
  750. package/www/build/p-8c31e60b.entry.js +0 -1
  751. package/www/build/p-9021c92a.js +0 -1
  752. package/www/build/p-94afe4dd.entry.js +0 -1
  753. package/www/build/p-9508cd3e.js +0 -1
  754. package/www/build/p-95370f75.js +0 -1
  755. package/www/build/p-96fc8078.entry.js +0 -1
  756. package/www/build/p-98204840.entry.js +0 -1
  757. package/www/build/p-98badafc.js +0 -1
  758. package/www/build/p-9b0bcd43.entry.js +0 -1
  759. package/www/build/p-9c1ed1e8.entry.js +0 -1
  760. package/www/build/p-9ff2fc8e.entry.js +0 -1
  761. package/www/build/p-a01baa71.js +0 -1
  762. package/www/build/p-a1663ab1.entry.js +0 -1
  763. package/www/build/p-a3587fd6.entry.js +0 -16
  764. package/www/build/p-a4502b1e.entry.js +0 -1
  765. package/www/build/p-a48e5c46.entry.js +0 -1
  766. package/www/build/p-a50262e8.entry.js +0 -1
  767. package/www/build/p-a69eedf3.css +0 -3
  768. package/www/build/p-a862a070.entry.js +0 -1
  769. package/www/build/p-a9d2edee.entry.js +0 -1
  770. package/www/build/p-acb89afa.entry.js +0 -1
  771. package/www/build/p-b2527ca1.entry.js +0 -1
  772. package/www/build/p-b497e33e.js +0 -1
  773. package/www/build/p-b99039ed.js +0 -1
  774. package/www/build/p-c298cb2f.js +0 -1
  775. package/www/build/p-c44d87bd.entry.js +0 -1
  776. package/www/build/p-c6e7991f.entry.js +0 -1
  777. package/www/build/p-c9bc5148.js +0 -1
  778. package/www/build/p-ca472d1c.entry.js +0 -1
  779. package/www/build/p-cbb670c5.js +0 -1
  780. package/www/build/p-cc009af8.entry.js +0 -1
  781. package/www/build/p-cd561d69.js +0 -1
  782. package/www/build/p-d2946762.entry.js +0 -1
  783. package/www/build/p-d2c232e5.js +0 -1
  784. package/www/build/p-db0a64af.js +0 -1
  785. package/www/build/p-dd4fc386.entry.js +0 -1
  786. package/www/build/p-de5688e9.entry.js +0 -1
  787. package/www/build/p-decbd59d.entry.js +0 -1
  788. package/www/build/p-e43e61ac.js +0 -7
  789. package/www/build/p-e54d4ef9.entry.js +0 -1
  790. package/www/build/p-e7c6d651.entry.js +0 -1
  791. package/www/build/p-ed42ceca.entry.js +0 -1
  792. package/www/build/p-f058316f.entry.js +0 -1
  793. package/www/build/p-f14105c6.entry.js +0 -1
  794. package/www/build/p-f3cc3f27.entry.js +0 -1
  795. package/www/build/p-f46fa177.entry.js +0 -1
  796. package/www/build/p-f4e2e76b.entry.js +0 -1
  797. package/www/build/p-f5ae1514.entry.js +0 -1
  798. package/www/build/p-f5bc7dda.entry.js +0 -1
  799. package/www/build/p-f8383e14.entry.js +0 -1
  800. package/www/build/p-f976f29f.js +0 -1
  801. package/www/build/p-f9873cb9.entry.js +0 -1
  802. package/www/build/p-fd58b7a2.entry.js +0 -1
  803. package/www/build/p-fde82dc3.js +0 -1
  804. package/www/build/p-ff5a6e34.entry.js +0 -1
  805. package/www/build/p-ffde06d1.entry.js +0 -1
  806. package/www/build/web-components-library.css +0 -3
  807. package/www/build/web-components-library.esm.js +0 -1
  808. package/www/build/web-components-library.js +0 -33
  809. package/www/host.config.json +0 -15
  810. package/www/index.html +0 -1
  811. package/www/pages/book-cards.html +0 -595
  812. package/www/pages/file-upload.html +0 -258
  813. package/www/pages/notification.html +0 -299
@@ -1,69 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-4968ce56.js';
2
- import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-47f23745.js';
3
- import { I as ICONS } from './icons-e3232103.js';
4
-
5
- const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*,z-navigation-tab-link[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
6
-
7
- const ZNavigationTab = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.selectedEvent = createEvent(this, "selected", 7);
11
- /**
12
- * Whether the tab is selected.
13
- */
14
- this.selected = false;
15
- /**
16
- * Whether the tab is disabled.
17
- */
18
- this.disabled = false;
19
- /**
20
- * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
21
- */
22
- this.orientation = NavigationTabsOrientation.HORIZONTAL;
23
- /**
24
- * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
25
- */
26
- this.size = NavigationTabsSize.BIG;
27
- }
28
- /**
29
- * Scroll into view to center the tab.
30
- */
31
- scrollToTab({ target: button }) {
32
- const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
33
- ? { block: "nearest", inline: "center" }
34
- : { block: "center", inline: "nearest" });
35
- button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
36
- }
37
- onClick() {
38
- if (!this.disabled) {
39
- this.selected = true;
40
- }
41
- }
42
- onSelected() {
43
- if (this.selected) {
44
- this.selectedEvent.emit();
45
- }
46
- }
47
- /**
48
- * Render the icon component using the icon's name passed from prop.
49
- * Use the `filled` version when the tab is `selected`.
50
- * @returns {HTMLElement}
51
- */
52
- renderIcon() {
53
- let icon = this.icon;
54
- const iconFilled = `${icon.replace(/-filled$/, "")}-filled`;
55
- if (this.selected && Object.keys(ICONS).includes(iconFilled)) {
56
- icon = iconFilled;
57
- }
58
- return h("z-icon", { name: icon });
59
- }
60
- render() {
61
- return (h(Host, { role: "tab", id: this.tabId, "aria-selected": this.selected ? "true" : "false", "aria-controls": this.ariaControls }, h("button", { tabIndex: this.selected ? 0 : -1, onFocus: this.scrollToTab.bind(this), disabled: this.disabled, title: this.htmlTitle }, this.icon && this.renderIcon(), this.orientation === NavigationTabsOrientation.HORIZONTAL && this.label)));
62
- }
63
- static get watchers() { return {
64
- "selected": ["onSelected"]
65
- }; }
66
- };
67
- ZNavigationTab.style = navigationTabCss;
68
-
69
- export { ZNavigationTab as z_navigation_tab };
@@ -1,225 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
2
- import { N as NavigationTabsOrientation, a as NavigationTabsSize, b as NavigationTabsKeyboardEvents } from './index-47f23745.js';
3
-
4
- const stylesCss = "z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation=\"horizontal\"]>nav{width:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation=\"vertical\"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation=\"vertical\"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation=\"vertical\"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-surface02)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected=\"true\"]{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected=\"true\"]::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tabs[orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{height:var(--border-size-medium)}z-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation=\"vertical\"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation=\"vertical\"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation=\"vertical\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"vertical\"]>nav>[aria-selected=\"true\"]::after{top:0;right:0;width:var(--border-size-large);height:100%}";
5
-
6
- const ZNavigationTabs = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.selected = createEvent(this, "selected", 7);
10
- /**
11
- * Navigation tabs orientation.
12
- */
13
- this.orientation = NavigationTabsOrientation.HORIZONTAL;
14
- /**
15
- * Navigation tabs size.
16
- */
17
- this.size = NavigationTabsSize.BIG;
18
- /**
19
- * Index of the selected tab.
20
- * Useful to programmatically select a tab.
21
- * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.
22
- */
23
- this.selectedTab = undefined;
24
- /**
25
- * Index of the last tab that held focus.
26
- */
27
- this.focusedTab = undefined;
28
- }
29
- /**
30
- * Getter for the direction to check based on current orientation.
31
- */
32
- get direction() {
33
- return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
34
- }
35
- /**
36
- * Getter for the dimension to check based on current orientation.
37
- */
38
- get dimension() {
39
- return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
40
- }
41
- get tabs() {
42
- return Array.from(this.nav.children);
43
- }
44
- /**
45
- * Scroll into view to center the tab.
46
- */
47
- scrollToTab(tabElement) {
48
- const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
49
- ? { block: "nearest", inline: "center" }
50
- : { block: "center", inline: "nearest" });
51
- tabElement.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
52
- }
53
- /**
54
- * Scroll the navigation bar half of its size backward.
55
- */
56
- navigateBackwards() {
57
- this.nav.scrollBy({
58
- [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,
59
- behavior: "smooth",
60
- });
61
- }
62
- /**
63
- * Scroll the navigation bar half of its size forward.
64
- */
65
- navigateForward() {
66
- this.nav.scrollBy({
67
- [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,
68
- behavior: "smooth",
69
- });
70
- }
71
- /**
72
- * Check if a keyboard event was triggered by an arrow key.
73
- */
74
- isArrowNavigation(e) {
75
- return Object.values(NavigationTabsKeyboardEvents).includes(e.key);
76
- }
77
- /**
78
- * Check if the navigation buttons are needed.
79
- */
80
- checkScrollVisible() {
81
- if (!this.nav) {
82
- return;
83
- }
84
- this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];
85
- }
86
- /**
87
- * Check if navigation buttons can be enabled for each direction.
88
- */
89
- checkScrollEnabled() {
90
- if (!this.nav) {
91
- return;
92
- }
93
- this.canNavigateNext =
94
- this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];
95
- this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;
96
- }
97
- /**
98
- * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.
99
- */
100
- onTabSelected() {
101
- this.tabs.forEach((tab, i) => {
102
- const zicon = tab.querySelector("z-icon");
103
- const strokeIcon = zicon === null || zicon === void 0 ? void 0 : zicon.getAttribute("name").replace("-filled", "");
104
- if (i !== this.selectedTab) {
105
- tab.setAttribute("aria-selected", "false");
106
- tab.tabIndex = -1;
107
- zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", strokeIcon);
108
- return;
109
- }
110
- zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", `${strokeIcon}-filled`);
111
- tab.setAttribute("aria-selected", "true");
112
- });
113
- this.selected.emit(this.selectedTab);
114
- if (this.selectedTab !== undefined) {
115
- this.scrollToTab(this.tabs[this.selectedTab]);
116
- }
117
- }
118
- /**
119
- * Handle click on the tabs.
120
- * @param event `click` event triggered by a child tab
121
- */
122
- handleTabClick(event) {
123
- const clickedTab = event.target.closest("[role='tab']");
124
- if (!this.tabs.some((child) => child.contains(clickedTab))) {
125
- return;
126
- }
127
- this.selectedTab = this.tabs.indexOf(clickedTab);
128
- }
129
- /**
130
- * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.
131
- */
132
- onTabFocusIn(event) {
133
- const focused = this.tabs.findIndex((tab) => tab.contains(event.target));
134
- if (focused === -1) {
135
- return;
136
- }
137
- if (this.selectedTab !== undefined) {
138
- this.tabs[this.selectedTab].tabIndex = -1;
139
- }
140
- this.focusedTab = focused;
141
- this.tabs[this.focusedTab].tabIndex = -1;
142
- this.scrollToTab(this.tabs[this.focusedTab]);
143
- }
144
- /**
145
- * Handle keyboard navigation through tabs with arrow keys.
146
- */
147
- navigateThroughTabs(event) {
148
- if (!this.tabs.some((tab) => tab.contains(event.target)) || !this.isArrowNavigation(event)) {
149
- return true;
150
- }
151
- event.preventDefault();
152
- if ((event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
153
- (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)) {
154
- // Move forward
155
- this.focusedTab++;
156
- if (this.focusedTab >= this.tabs.length) {
157
- this.focusedTab = 0;
158
- }
159
- }
160
- else if ((event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
161
- (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)) {
162
- // Move backward
163
- this.focusedTab--;
164
- if (this.focusedTab < 0) {
165
- this.focusedTab = this.tabs.length - 1;
166
- }
167
- }
168
- // Ignore disabled tabs
169
- if (this.tabs[this.focusedTab].hasAttribute("disabled") &&
170
- this.tabs[this.focusedTab].getAttribute("disabled") !== "false") {
171
- return this.navigateThroughTabs(event);
172
- }
173
- this.tabs[this.focusedTab].focus();
174
- this.scrollToTab(this.tabs[this.focusedTab]);
175
- }
176
- /**
177
- * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.
178
- */
179
- onTabFocusOut(event) {
180
- var _a;
181
- if (!this.tabs.some((tab) => tab.contains(event.relatedTarget))) {
182
- this.tabs[(_a = this.selectedTab) !== null && _a !== void 0 ? _a : 0].tabIndex = 0;
183
- this.focusedTab = undefined;
184
- }
185
- }
186
- connectedCallback() {
187
- this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());
188
- }
189
- componentDidLoad() {
190
- var _a;
191
- // Set role and tabindex to each slotted tab
192
- this.tabs.forEach((tab) => {
193
- tab.setAttribute("role", "tab");
194
- tab.tabIndex = -1;
195
- });
196
- const preselectedTab = (_a = this.selectedTab) !== null && _a !== void 0 ? _a : this.tabs.findIndex((tab) => tab.ariaSelected === "true");
197
- if (preselectedTab !== -1) {
198
- this.selectedTab = preselectedTab;
199
- this.tabs[preselectedTab].tabIndex = 0;
200
- this.onTabSelected();
201
- }
202
- else {
203
- this.tabs[0].tabIndex = 0;
204
- }
205
- this.resizeObserver.observe(this.nav);
206
- }
207
- disconnectedCallback() {
208
- var _a;
209
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
210
- }
211
- render() {
212
- return (h(Host, { class: {
213
- "interactive-2": this.size === NavigationTabsSize.SMALL,
214
- "interactive-1": this.size !== NavigationTabsSize.SMALL,
215
- }, scrollable: this.canNavigate }, h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", null)), h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
216
- }
217
- get host() { return getElement(this); }
218
- static get watchers() { return {
219
- "canNavigate": ["checkScrollEnabled"],
220
- "selectedTab": ["onTabSelected"]
221
- }; }
222
- };
223
- ZNavigationTabs.style = stylesCss;
224
-
225
- export { ZNavigationTabs as z_navigation_tabs };
@@ -1,37 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-4968ce56.js';
2
-
3
- const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
4
-
5
- const ZNotification = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.notificationAction = createEvent(this, "notificationAction", 7);
9
- this.notificationClose = createEvent(this, "notificationClose", 7);
10
- /** Enable close icon */
11
- this.showclose = false;
12
- /**
13
- * Enable shadow.
14
- * @deprecated shadow is available only for the `sticky` version of the notification.
15
- */
16
- this.showshadow = false;
17
- /** Enable sticky notification bar. */
18
- this.sticky = false;
19
- this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
20
- this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
21
- }
22
- handleActionButtonClick(e) {
23
- e.preventDefault();
24
- this.notificationAction.emit();
25
- }
26
- handleCloseButtonClick(e) {
27
- e.preventDefault();
28
- this.notificationClose.emit();
29
- }
30
- render() {
31
- var _a;
32
- return (h(Host, null, this.contenticonname && (h("z-icon", { class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { class: "content-container" }, h("div", { class: "content-text" }, h("slot", null)), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { name: "multiply-circle", width: 16, height: 16 })))));
33
- }
34
- };
35
- ZNotification.style = stylesCss;
36
-
37
- export { ZNotification as z_notification };
@@ -1,37 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-4968ce56.js';
2
- import { f as InputStatus } from './index-47f23745.js';
3
-
4
- const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
5
-
6
- const ZOtp = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.otpChange = createEvent(this, "otpChange", 7);
10
- /** Input number */
11
- this.inputNum = 6;
12
- }
13
- emitInputChange(value) {
14
- this.otpChange.emit({ value });
15
- }
16
- componentWillLoad() {
17
- this.otp = [...Array(this.inputNum)];
18
- this.otpRef = [...Array(this.inputNum)];
19
- }
20
- render() {
21
- return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
22
- if (e.keyCode > 47) {
23
- this.otpRef[i].value = "";
24
- }
25
- }, onKeyUp: (e) => {
26
- if (e.keyCode > 47) {
27
- i < this.inputNum - 1 && this.otpRef[i + 1].focus();
28
- }
29
- }, onInput: (e) => {
30
- this.otp[i] = e.target.value;
31
- this.emitInputChange(this.otp.join(""));
32
- }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { message: this.message, status: this.status })));
33
- }
34
- };
35
- ZOtp.style = stylesCss;
36
-
37
- export { ZOtp as z_otp };
@@ -1,225 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
2
- import { I as InputType } from './index-47f23745.js';
3
-
4
- const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
5
-
6
- const ZPagination = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.pageChanged = createEvent(this, "pageChanged", 7);
10
- /** Enable navigation arrows. */
11
- this.navArrows = true;
12
- /** Number of pages to skip. */
13
- this.skip = 0;
14
- /** Enable buttons to go to the first and last pages. */
15
- this.edges = false;
16
- /** Current page. */
17
- this.currentPage = 1;
18
- /**
19
- * Internal visible pages variable.
20
- * Needed to better handle conflicting props like `visiblePages` and `split`.
21
- * This state will change based on props values and validation,
22
- * keeping original `visiblePages` value intact.
23
- */
24
- this._visiblePages = this.visiblePages;
25
- /** Used to hides/change some functionalities on smaller screen sizes */
26
- this.isMobile = false;
27
- /** Value of the go to page input */
28
- this.goToPageValue = null;
29
- }
30
- /**
31
- * Set the max width of the pages container.
32
- */
33
- setPagesContainerWidth() {
34
- if (!this._visiblePages || this.split) {
35
- this.host.style.setProperty("--z-pagination--pages-container-max-width", "100%");
36
- return;
37
- }
38
- const pagesContainerStyle = window.getComputedStyle(this.host);
39
- const pageButtonWidth = pagesContainerStyle.getPropertyValue("--z-pagination--page-button-width");
40
- this.host.style.setProperty("--z-pagination--pages-container-max-width", `calc(${pageButtonWidth} * ${this._visiblePages})`);
41
- }
42
- /**
43
- * Set visible pages.
44
- * Ensure that the visible pages are always <= the total pages.
45
- * If `visiblePages` isn't set, fallback to the total pages.
46
- */
47
- setVisiblePages() {
48
- this._visiblePages = Math.min(this.visiblePages || this.totalPages, this.totalPages);
49
- }
50
- /**
51
- * On page changed.
52
- * @emits pageChanged
53
- */
54
- onPageChanged() {
55
- this.pageChanged.emit(this.currentPage);
56
- this.scrollToPage();
57
- }
58
- /**
59
- * On split changed.
60
- * Empty `edges` value. The split feature wins over the pages chunks and edges.
61
- */
62
- onSplitChanged() {
63
- if (this.split) {
64
- this.edges = false;
65
- }
66
- }
67
- /**
68
- * Hide stuff on mobile.
69
- */
70
- onResize() {
71
- this.setMobile();
72
- }
73
- /**
74
- * Set functionalities according to screen size.
75
- */
76
- setMobile() {
77
- const mobileMediaQuery = "screen and (max-width: 767px)";
78
- this.isMobile = window.matchMedia(mobileMediaQuery).matches;
79
- }
80
- /**
81
- * Get a list of pages chunks, each of `visiblePages` length.
82
- * @returns {number[][]}
83
- */
84
- getPagesChunks() {
85
- // array of numbers from 1 to `totalPages`
86
- const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
87
- const chunks = [];
88
- const chunksCount = Math.ceil(pages.length / this._visiblePages);
89
- for (let index = 0; index < chunksCount; index++) {
90
- chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
91
- }
92
- return chunks;
93
- }
94
- /**
95
- * Scroll to the left the chunk of pages containing the current page.
96
- */
97
- scrollToPage() {
98
- const pageBtn = this.host.querySelector(`[data-page="${this.currentPage}"]`);
99
- if (!pageBtn) {
100
- return;
101
- }
102
- pageBtn.scrollIntoView({
103
- behavior: "smooth",
104
- block: "nearest",
105
- inline: "center",
106
- });
107
- }
108
- /**
109
- * Select a page.
110
- * Do validations on the passed value before assigning it to `currentPage`.
111
- * @param {number} page Page number to set
112
- */
113
- selectPage(page) {
114
- this.currentPage = Math.min(Math.max(page, 1), this.totalPages);
115
- }
116
- /**
117
- * Render page number button.
118
- * @param {number} page Page number to render
119
- * @returns {HTMLButtonElement}
120
- */
121
- renderPage(page) {
122
- return (h("button", { class: "page-button", type: "button", "aria-current": this.currentPage === page ? "page" : "false", title: `Vai alla pagina ${page}`, "data-page": page, "data-current": this.currentPage === page, onClick: () => this.selectPage(page) }, page));
123
- }
124
- /**
125
- * Render split button.
126
- * @param {number} page Page to select on click.
127
- * @returns {HTMLButtonElement}
128
- */
129
- renderEllipsisButton(page) {
130
- return (h("button", { class: "ellipsis-button", type: "button", title: `Vai alla pagina ${page}`, onClick: () => this.selectPage(page) }, "\u2026"));
131
- }
132
- /**
133
- * Render chunked page buttons.
134
- * @returns {HTMLDivElement[]}
135
- */
136
- renderPages() {
137
- const pagesChunks = this.getPagesChunks();
138
- if (pagesChunks.length <= 0) {
139
- return;
140
- }
141
- return pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))));
142
- }
143
- /**
144
- * Render page buttons when split feature is enabled.
145
- * @returns {HTMLButtonElement[]}
146
- */
147
- renderSplitPages() {
148
- // left and right split pages, current page, first and last page, left and right ellipsis button
149
- if (this.totalPages <= this.split * 2 + 5) {
150
- // Too few pages: ellipsis will never be rendered, so let's just render all pages and that's it.
151
- return Array.from({ length: this.totalPages }, (_, i) => this.renderPage(i + 1));
152
- }
153
- if (this.currentPage <= this.split * 2 + 2) {
154
- // Render first (2 * split + 3) pages, ellipsis, then last page.
155
- return [
156
- ...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(i + 1)),
157
- this.renderEllipsisButton(this.split * 2 + 4),
158
- this.renderPage(this.totalPages),
159
- ];
160
- }
161
- if (this.currentPage > this.split * 2 + 2 && this.currentPage < this.totalPages - this.split * 2 - 1) {
162
- // Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
163
- return [
164
- this.renderPage(1),
165
- this.renderEllipsisButton(this.currentPage - this.split - 1),
166
- ...Array.from({ length: this.split * 2 + 1 }, (_, i) => this.renderPage(this.currentPage - this.split + i)),
167
- this.renderEllipsisButton(this.currentPage + this.split + 1),
168
- this.renderPage(this.totalPages),
169
- ];
170
- }
171
- // Render first page, ellipsis, then last (2 * split + 3) pages.
172
- return [
173
- this.renderPage(1),
174
- this.renderEllipsisButton(this.totalPages - this.split * 2 - 3),
175
- ...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(this.totalPages - this.split * 2 - 2 + i)),
176
- ];
177
- }
178
- renderBackButton() {
179
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla pagina precedente", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) }, h("z-icon", { name: "chevron-left" })));
180
- }
181
- renderForwardButton() {
182
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla prossima pagina", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) }, h("z-icon", { name: "chevron-right" })));
183
- }
184
- renderMobile() {
185
- const pagesChunks = this.getPagesChunks();
186
- return [
187
- this.label && h("span", { class: "page-label body-1-sb" }, this.label),
188
- h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
189
- pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
190
- ev.preventDefault();
191
- this.selectPage(this.goToPageValue);
192
- } }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, onInput: (ev) => {
193
- this.goToPageValue = ev.target.value;
194
- }, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
195
- ];
196
- }
197
- componentDidLoad() {
198
- this.setVisiblePages();
199
- }
200
- componentDidRender() {
201
- if (this.split) {
202
- this.edges = false;
203
- }
204
- this.setPagesContainerWidth();
205
- this.setMobile();
206
- }
207
- render() {
208
- if (this.isMobile) {
209
- return h(Host, null, this.renderMobile());
210
- }
211
- return (h(Host, null, h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))), this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
212
- this.goToPageValue = ev.target.value;
213
- }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai"))))));
214
- }
215
- get host() { return getElement(this); }
216
- static get watchers() { return {
217
- "_visiblePages": ["setPagesContainerWidth"],
218
- "visiblePages": ["setVisiblePages"],
219
- "currentPage": ["onPageChanged"],
220
- "split": ["onSplitChanged"]
221
- }; }
222
- };
223
- ZPagination.style = stylesCss;
224
-
225
- export { ZPagination as z_pagination };
@@ -1,30 +0,0 @@
1
- import { r as registerInstance, h } from './index-4968ce56.js';
2
-
3
- const stylesCss = ".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";
4
-
5
- const ZPanelElem = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- /** link target (optional) */
9
- this.target = "_blank";
10
- /** disabled status flag (optional) */
11
- this.isdisabled = false;
12
- }
13
- renderIcon() {
14
- if (this.isdisabled) {
15
- return (h("img", { src: this.imgurl, alt: this.imgalt }));
16
- }
17
- return (h("a", { class: "elem-icon", href: this.url, target: this.target }, h("img", { src: this.imgurl, alt: this.imgalt })));
18
- }
19
- render() {
20
- const elemId = this.elemid ? this.elemid : "";
21
- return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { "aria-hidden": "true", class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("a", { class: {
22
- "z-link": true,
23
- "z-link-disabled": this.isdisabled,
24
- "z-link-icon": true,
25
- }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { class: "panel-elem-desc" }, h("slot", { name: this.descrSlotName })))));
26
- }
27
- };
28
- ZPanelElem.style = stylesCss;
29
-
30
- export { ZPanelElem as z_panel_elem };