@zanichelli/albe-web-components 6.3.2-rc1 → 6.3.2

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 (638) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/index-e3299e0a.js +74 -18
  3. package/dist/cjs/{index-fa110f37.js → index-f08f7171.js} +54 -13
  4. package/dist/cjs/index.cjs.js +26 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-600bad93.js → utils-73ead59e.js} +1 -1
  7. package/dist/cjs/{utils-8bc9056f.js → utils-7fde0c53.js} +1 -1
  8. package/dist/cjs/web-components-library.cjs.js +2 -2
  9. package/dist/cjs/z-alert.cjs.entry.js +1 -0
  10. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -8
  11. package/dist/cjs/z-app-header_2.cjs.entry.js +12 -29
  12. package/dist/cjs/z-app-switcher.cjs.entry.js +28 -0
  13. package/dist/cjs/z-app-topbar.cjs.entry.js +7 -3
  14. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -2
  15. package/dist/cjs/z-avatar.cjs.entry.js +3 -4
  16. package/dist/cjs/z-body_2.cjs.entry.js +4 -2
  17. package/dist/cjs/z-button-deprecated.cjs.entry.js +36 -0
  18. package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
  19. package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
  20. package/dist/cjs/z-button.cjs.entry.js +6 -6
  21. package/dist/cjs/z-candybar.cjs.entry.js +19 -0
  22. package/dist/cjs/z-card.cjs.entry.js +4 -3
  23. package/dist/cjs/z-carousel.cjs.entry.js +8 -6
  24. package/dist/cjs/z-chip-deprecated.cjs.entry.js +24 -0
  25. package/dist/cjs/z-chip.cjs.entry.js +4 -4
  26. package/dist/cjs/z-combobox.cjs.entry.js +13 -14
  27. package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -8
  28. package/dist/cjs/z-cookiebar.cjs.entry.js +44 -0
  29. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -8
  30. package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
  31. package/dist/cjs/z-divider.cjs.entry.js +1 -4
  32. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
  33. package/dist/cjs/z-file-upload.cjs.entry.js +10 -6
  34. package/dist/cjs/z-file.cjs.entry.js +4 -2
  35. package/dist/cjs/z-footer-link_3.cjs.entry.js +54 -0
  36. package/dist/cjs/z-footer.cjs.entry.js +110 -0
  37. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  38. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
  39. package/dist/cjs/z-input-deprecated.cjs.entry.js +261 -0
  40. package/dist/cjs/{z-select.cjs.entry.js → z-input-label_2.cjs.entry.js} +33 -14
  41. package/dist/cjs/z-input_2.cjs.entry.js +18 -12
  42. package/dist/cjs/z-link.cjs.entry.js +3 -9
  43. package/dist/cjs/z-list_3.cjs.entry.js +12 -71
  44. package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +6 -23
  45. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +93 -0
  46. package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
  47. package/dist/cjs/z-menu.cjs.entry.js +3 -10
  48. package/dist/cjs/z-messages-pocket.cjs.entry.js +3 -2
  49. package/dist/cjs/z-modal-login.cjs.entry.js +5 -2
  50. package/dist/cjs/z-modal.cjs.entry.js +3 -1
  51. package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -1
  52. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -5
  53. package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
  54. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
  55. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  56. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
  57. package/dist/cjs/z-myz-card_4.cjs.entry.js +10 -3
  58. package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
  59. package/dist/cjs/z-myz-topbar.cjs.entry.js +201 -0
  60. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +6 -13
  61. package/dist/cjs/z-navigation-tab.cjs.entry.js +4 -13
  62. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -7
  63. package/dist/cjs/z-notification.cjs.entry.js +3 -6
  64. package/dist/cjs/z-offcanvas.cjs.entry.js +1 -8
  65. package/dist/cjs/z-otp.cjs.entry.js +3 -2
  66. package/dist/cjs/z-pagination-bar.cjs.entry.js +116 -0
  67. package/dist/cjs/z-pagination-page.cjs.entry.js +25 -0
  68. package/dist/cjs/z-pagination.cjs.entry.js +6 -13
  69. package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
  70. package/dist/cjs/z-pocket_3.cjs.entry.js +5 -4
  71. package/dist/cjs/z-popover-deprecated.cjs.entry.js +129 -0
  72. package/dist/cjs/z-popover.cjs.entry.js +24 -35
  73. package/dist/cjs/z-range-picker.cjs.entry.js +7 -3
  74. package/dist/cjs/z-section-title.cjs.entry.js +1 -8
  75. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  76. package/dist/cjs/z-slideshow.cjs.entry.js +5 -2
  77. package/dist/cjs/z-status-tag.cjs.entry.js +32 -0
  78. package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
  79. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  80. package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
  81. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
  82. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
  83. package/dist/cjs/z-table-header.cjs.entry.js +6 -6
  84. package/dist/cjs/z-table-row.cjs.entry.js +1 -2
  85. package/dist/cjs/z-table.cjs.entry.js +7 -9
  86. package/dist/cjs/z-tag.cjs.entry.js +2 -0
  87. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -3
  88. package/dist/cjs/z-toast-notification.cjs.entry.js +9 -5
  89. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -6
  91. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +262 -0
  92. package/dist/cjs/z-tooltip.cjs.entry.js +3 -7
  93. package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
  94. package/dist/collection/beans/index.js +54 -13
  95. package/dist/collection/collection-manifest.json +18 -1
  96. package/dist/collection/components/buttons/z-button/index.js +5 -5
  97. package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
  98. package/dist/collection/components/buttons/z-chip/index.js +2 -2
  99. package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
  100. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -4
  101. package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
  102. package/dist/collection/components/date-picker/z-range-picker/index.js +5 -1
  103. package/dist/collection/components/file-upload/z-file/index.js +4 -2
  104. package/dist/collection/components/file-upload/z-file-upload/index.js +8 -4
  105. package/dist/collection/components/footer/z-footer/index.js +262 -0
  106. package/dist/collection/components/footer/z-footer/styles.css +242 -0
  107. package/dist/collection/components/footer/z-footer-link/index.js +45 -0
  108. package/dist/collection/components/footer/z-footer-link/styles.css +25 -0
  109. package/dist/collection/components/footer/z-footer-section/index.js +54 -0
  110. package/dist/collection/components/footer/z-footer-section/styles.css +150 -0
  111. package/dist/collection/components/footer/z-footer-social/index.js +78 -0
  112. package/dist/collection/components/footer/z-footer-social/styles.css +15 -0
  113. package/dist/collection/components/icons/z-icon/index.js +7 -0
  114. package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
  115. package/dist/collection/components/inputs/z-combobox/index.js +11 -12
  116. package/dist/collection/components/inputs/z-input/index.js +14 -10
  117. package/dist/collection/components/inputs/z-input-message/index.js +2 -0
  118. package/dist/collection/components/inputs/z-select/index.js +15 -12
  119. package/dist/collection/components/list/z-list/index.js +0 -6
  120. package/dist/collection/components/list/z-list-element/index.js +11 -49
  121. package/dist/collection/components/list/z-list-group/index.js +0 -15
  122. package/dist/collection/components/list/z-toast-notification-list/index.js +0 -2
  123. package/dist/collection/components/logo/z-logo/index.js +8 -0
  124. package/dist/collection/components/modal/z-modal/index.js +3 -1
  125. package/dist/collection/components/modal/z-modal-login/index.js +4 -1
  126. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +3 -12
  127. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +5 -12
  128. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -6
  129. package/dist/collection/components/navigation/z-app-header/index.js +7 -29
  130. package/dist/collection/components/navigation/z-app-switcher/index.js +0 -1
  131. package/dist/collection/components/navigation/z-app-topbar/index.js +6 -2
  132. package/dist/collection/components/navigation/z-link/index.js +3 -9
  133. package/dist/collection/components/navigation/z-menu/index.js +3 -10
  134. package/dist/collection/components/navigation/z-menu-dropdown/index.js +3 -0
  135. package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
  136. package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
  137. package/dist/collection/components/notification/z-candybar/index.js +21 -0
  138. package/dist/collection/components/notification/z-candybar/styles.css +55 -0
  139. package/dist/collection/components/notification/z-cookiebar/index.js +115 -0
  140. package/dist/collection/components/notification/z-cookiebar/styles.css +108 -0
  141. package/dist/collection/components/notification/z-info-box/index.js +1 -1
  142. package/dist/collection/components/notification/z-notification/index.js +3 -6
  143. package/dist/collection/components/notification/z-toast-notification/index.js +8 -4
  144. package/dist/collection/components/notification/z-tooltip/index.js +7 -11
  145. package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
  146. package/dist/collection/components/typography/z-body/index.js +2 -1
  147. package/dist/collection/components/typography/z-heading/index.js +2 -1
  148. package/dist/collection/components/typography/z-typography/index.js +2 -1
  149. package/dist/collection/components/z-anchor-navigation/index.js +0 -7
  150. package/dist/collection/components/z-aria-alert/index.js +0 -1
  151. package/dist/collection/components/z-avatar/index.js +2 -3
  152. package/dist/collection/components/z-card/index.js +3 -2
  153. package/dist/collection/components/z-carousel/index.js +7 -5
  154. package/dist/collection/components/z-contextual-menu/index.js +7 -12
  155. package/dist/collection/components/z-cover-hero/index.js +0 -7
  156. package/dist/collection/components/z-divider/index.js +0 -3
  157. package/dist/collection/components/z-info-reveal/index.js +1 -4
  158. package/dist/collection/components/z-offcanvas/index.js +0 -7
  159. package/dist/collection/components/z-pagination/index.js +5 -12
  160. package/dist/collection/components/z-popover/index.js +27 -38
  161. package/dist/collection/components/z-section-title/index.js +0 -7
  162. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  163. package/dist/collection/components/z-table/z-table/index.js +6 -8
  164. package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
  165. package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
  166. package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
  167. package/dist/collection/components/z-table/z-table-header/index.js +5 -5
  168. package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
  169. package/dist/collection/components/z-table/z-table-row/index.js +0 -1
  170. package/dist/collection/components/z-tag/index.js +4 -0
  171. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +271 -0
  172. package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +22 -0
  173. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +136 -0
  174. package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +57 -0
  175. package/dist/collection/deprecated/z-button-deprecated/index.js +221 -0
  176. package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
  177. package/dist/collection/deprecated/z-button-filter/index.js +159 -0
  178. package/dist/collection/deprecated/z-button-filter/styles.css +64 -0
  179. package/dist/collection/deprecated/z-chip-deprecated/index.js +63 -0
  180. package/dist/collection/deprecated/z-chip-deprecated/styles.css +17 -0
  181. package/dist/collection/deprecated/z-input-deprecated/index.js +810 -0
  182. package/dist/collection/deprecated/z-input-deprecated/styles.css +282 -0
  183. package/dist/collection/deprecated/z-input-label/index.js +79 -0
  184. package/dist/collection/deprecated/z-input-label/styles.css +16 -0
  185. package/dist/collection/deprecated/z-popover-deprecated/index.js +300 -0
  186. package/dist/collection/deprecated/z-popover-deprecated/styles.css +235 -0
  187. package/dist/collection/deprecated/z-status-tag/index.js +133 -0
  188. package/dist/collection/deprecated/z-status-tag/styles.css +131 -0
  189. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +378 -0
  190. package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
  191. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -0
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -4
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +5 -2
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +3 -0
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
  198. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
  199. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
  200. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
  201. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
  202. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +2 -1
  203. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
  204. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
  205. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
  206. package/dist/collection/snowflakes/myz/topbar/index.js +409 -0
  207. package/dist/collection/snowflakes/myz/topbar/styles.css +574 -0
  208. package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
  209. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -1
  210. package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -0
  211. package/dist/esm/index-a2ca4b97.js +74 -18
  212. package/dist/esm/{index-968a240f.js → index-aee91593.js} +55 -14
  213. package/dist/esm/index.js +2 -2
  214. package/dist/esm/loader.js +2 -2
  215. package/dist/esm/{utils-ccb4d66f.js → utils-5dc8ce33.js} +2 -2
  216. package/dist/esm/{utils-151f0ab4.js → utils-77c5c75d.js} +1 -1
  217. package/dist/esm/web-components-library.js +2 -2
  218. package/dist/esm/z-alert.entry.js +1 -0
  219. package/dist/esm/z-anchor-navigation.entry.js +1 -8
  220. package/dist/esm/z-app-header_2.entry.js +12 -29
  221. package/dist/esm/z-app-switcher.entry.js +24 -0
  222. package/dist/esm/z-app-topbar.entry.js +7 -3
  223. package/dist/esm/z-aria-alert.entry.js +1 -2
  224. package/dist/esm/z-avatar.entry.js +3 -4
  225. package/dist/esm/z-body_2.entry.js +4 -2
  226. package/dist/esm/z-button-deprecated.entry.js +32 -0
  227. package/dist/esm/z-button-filter.entry.js +45 -0
  228. package/dist/esm/z-button-sort.entry.js +4 -4
  229. package/dist/esm/z-button.entry.js +6 -6
  230. package/dist/esm/z-candybar.entry.js +15 -0
  231. package/dist/esm/z-card.entry.js +4 -3
  232. package/dist/esm/z-carousel.entry.js +8 -6
  233. package/dist/esm/z-chip-deprecated.entry.js +20 -0
  234. package/dist/esm/z-chip.entry.js +4 -4
  235. package/dist/esm/z-combobox.entry.js +13 -14
  236. package/dist/esm/z-contextual-menu.entry.js +3 -8
  237. package/dist/esm/z-cookiebar.entry.js +40 -0
  238. package/dist/esm/z-cover-hero.entry.js +1 -8
  239. package/dist/esm/z-date-picker.entry.js +4 -4
  240. package/dist/esm/z-divider.entry.js +1 -4
  241. package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
  242. package/dist/esm/z-file-upload.entry.js +10 -6
  243. package/dist/esm/z-file.entry.js +4 -2
  244. package/dist/esm/z-footer-link_3.entry.js +48 -0
  245. package/dist/esm/z-footer.entry.js +106 -0
  246. package/dist/esm/z-info-box.entry.js +1 -1
  247. package/dist/esm/z-info-reveal.entry.js +2 -5
  248. package/dist/esm/z-input-deprecated.entry.js +257 -0
  249. package/dist/esm/{z-select.entry.js → z-input-label_2.entry.js} +34 -16
  250. package/dist/esm/z-input_2.entry.js +18 -12
  251. package/dist/esm/z-link.entry.js +3 -9
  252. package/dist/esm/z-list_3.entry.js +12 -71
  253. package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +8 -24
  254. package/dist/esm/z-menu-dropdown_2.entry.js +88 -0
  255. package/dist/esm/z-menu-section.entry.js +3 -0
  256. package/dist/esm/z-menu.entry.js +3 -10
  257. package/dist/esm/z-messages-pocket.entry.js +3 -2
  258. package/dist/esm/z-modal-login.entry.js +5 -2
  259. package/dist/esm/z-modal.entry.js +3 -1
  260. package/dist/esm/z-myz-card-alert.entry.js +5 -1
  261. package/dist/esm/z-myz-card-dictionary.entry.js +3 -5
  262. package/dist/esm/z-myz-card-footer.entry.js +6 -3
  263. package/dist/esm/z-myz-card-icon.entry.js +1 -2
  264. package/dist/esm/z-myz-card-info.entry.js +4 -4
  265. package/dist/esm/z-myz-card-list.entry.js +1 -0
  266. package/dist/esm/z-myz-card_4.entry.js +10 -3
  267. package/dist/esm/z-myz-list-item.entry.js +7 -4
  268. package/dist/esm/z-myz-topbar.entry.js +197 -0
  269. package/dist/esm/z-navigation-tab-link.entry.js +6 -13
  270. package/dist/esm/z-navigation-tab.entry.js +4 -13
  271. package/dist/esm/z-navigation-tabs.entry.js +4 -7
  272. package/dist/esm/z-notification.entry.js +3 -6
  273. package/dist/esm/z-offcanvas.entry.js +1 -8
  274. package/dist/esm/z-otp.entry.js +3 -2
  275. package/dist/esm/z-pagination-bar.entry.js +112 -0
  276. package/dist/esm/z-pagination-page.entry.js +21 -0
  277. package/dist/esm/z-pagination.entry.js +6 -13
  278. package/dist/esm/z-panel-elem.entry.js +7 -2
  279. package/dist/esm/z-pocket_3.entry.js +5 -4
  280. package/dist/esm/z-popover-deprecated.entry.js +125 -0
  281. package/dist/esm/z-popover.entry.js +24 -35
  282. package/dist/esm/z-range-picker.entry.js +7 -3
  283. package/dist/esm/z-section-title.entry.js +1 -8
  284. package/dist/esm/z-skip-to-content.entry.js +3 -3
  285. package/dist/esm/z-slideshow.entry.js +5 -2
  286. package/dist/esm/z-status-tag.entry.js +28 -0
  287. package/dist/esm/z-stepper-item.entry.js +4 -0
  288. package/dist/esm/z-table-cell.entry.js +2 -2
  289. package/dist/esm/z-table-empty-box.entry.js +0 -2
  290. package/dist/esm/z-table-expanded-row.entry.js +1 -0
  291. package/dist/esm/z-table-header-row.entry.js +1 -0
  292. package/dist/esm/z-table-header.entry.js +6 -6
  293. package/dist/esm/z-table-row.entry.js +1 -2
  294. package/dist/esm/z-table.entry.js +7 -9
  295. package/dist/esm/z-tag.entry.js +2 -0
  296. package/dist/esm/z-toast-notification-list.entry.js +1 -3
  297. package/dist/esm/z-toast-notification.entry.js +9 -5
  298. package/dist/esm/z-toggle-button.entry.js +2 -2
  299. package/dist/esm/z-toggle-switch.entry.js +2 -6
  300. package/dist/esm/z-tooltip-deprecated.entry.js +258 -0
  301. package/dist/esm/z-tooltip.entry.js +3 -7
  302. package/dist/esm/z-user-dropdown.entry.js +5 -1
  303. package/dist/types/beans/index.d.ts +60 -1
  304. package/dist/types/components/footer/z-footer/index.d.ts +46 -0
  305. package/dist/types/components/footer/z-footer-link/index.d.ts +8 -0
  306. package/dist/types/components/footer/z-footer-section/index.d.ts +10 -0
  307. package/dist/types/components/footer/z-footer-social/index.d.ts +9 -0
  308. package/dist/types/components/notification/z-candybar/index.d.ts +6 -0
  309. package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -0
  310. package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
  311. package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
  312. package/dist/types/components/z-popover/index.d.ts +4 -4
  313. package/dist/types/components.d.ts +1057 -8
  314. package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +40 -0
  315. package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +15 -0
  316. package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
  317. package/dist/types/deprecated/z-button-filter/index.d.ts +22 -0
  318. package/dist/types/deprecated/z-chip-deprecated/index.d.ts +8 -0
  319. package/dist/types/deprecated/z-input-deprecated/index.d.ts +91 -0
  320. package/dist/types/deprecated/z-input-label/index.d.ts +9 -0
  321. package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
  322. package/dist/types/deprecated/z-status-tag/index.d.ts +15 -0
  323. package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
  324. package/dist/types/snowflakes/myz/topbar/index.d.ts +59 -0
  325. package/dist/types/stencil-public-runtime.d.ts +5 -0
  326. package/dist/web-components-library/index.esm.js +1 -1
  327. package/dist/web-components-library/p-016b2800.entry.js +1 -0
  328. package/dist/web-components-library/p-067bd5da.entry.js +1 -0
  329. package/dist/web-components-library/p-0afc555e.entry.js +1 -0
  330. package/dist/web-components-library/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
  331. package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
  332. package/dist/web-components-library/p-12211a48.entry.js +1 -0
  333. package/dist/web-components-library/p-18448e4d.entry.js +1 -0
  334. package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
  335. package/dist/web-components-library/p-1e163a87.entry.js +1 -0
  336. package/dist/web-components-library/p-1f187c54.entry.js +1 -0
  337. package/dist/web-components-library/p-1f8c8cd0.entry.js +1 -0
  338. package/dist/web-components-library/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
  339. package/dist/web-components-library/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
  340. package/dist/web-components-library/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
  341. package/{www/build/p-f158d205.entry.js → dist/web-components-library/p-2c18a622.entry.js} +1 -1
  342. package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
  343. package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
  344. package/dist/web-components-library/p-3027c60b.entry.js +1 -0
  345. package/dist/web-components-library/p-30fcd62b.js +1 -0
  346. package/dist/web-components-library/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
  347. package/dist/web-components-library/p-35739670.entry.js +1 -0
  348. package/dist/web-components-library/p-36d2d081.entry.js +1 -0
  349. package/dist/web-components-library/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
  350. package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
  351. package/dist/web-components-library/p-3eb0d582.entry.js +1 -0
  352. package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
  353. package/dist/web-components-library/p-40f96085.entry.js +1 -0
  354. package/dist/web-components-library/p-42782d06.entry.js +1 -0
  355. package/dist/web-components-library/p-4465426a.entry.js +1 -0
  356. package/dist/web-components-library/p-468520f5.entry.js +1 -0
  357. package/dist/web-components-library/p-46e367c9.entry.js +1 -0
  358. package/dist/web-components-library/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
  359. package/dist/web-components-library/p-4ba0b17c.entry.js +1 -0
  360. package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  361. package/dist/web-components-library/p-552c6686.entry.js +1 -0
  362. package/dist/web-components-library/p-563529f8.entry.js +1 -0
  363. package/dist/web-components-library/p-569f6cff.entry.js +1 -0
  364. package/dist/web-components-library/p-57faab40.entry.js +1 -0
  365. package/dist/web-components-library/p-5935151c.entry.js +1 -0
  366. package/dist/web-components-library/p-5b83568e.entry.js +1 -0
  367. package/dist/web-components-library/p-5c6108bb.entry.js +1 -0
  368. package/dist/web-components-library/p-63a99ad2.entry.js +16 -0
  369. package/dist/web-components-library/p-64033ee3.entry.js +1 -0
  370. package/dist/web-components-library/p-66bbcf76.entry.js +1 -0
  371. package/dist/web-components-library/p-69db61b5.entry.js +1 -0
  372. package/dist/web-components-library/p-6e4dd501.entry.js +1 -0
  373. package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
  374. package/dist/web-components-library/p-7171d686.entry.js +1 -0
  375. package/dist/web-components-library/p-75a4091f.entry.js +1 -0
  376. package/dist/web-components-library/p-7b22a446.entry.js +1 -0
  377. package/dist/web-components-library/p-7e13d026.entry.js +1 -0
  378. package/dist/web-components-library/p-82ff8f0e.entry.js +1 -0
  379. package/dist/web-components-library/p-84cc611a.entry.js +1 -0
  380. package/dist/web-components-library/p-8879211b.entry.js +1 -0
  381. package/dist/web-components-library/p-8949cd1d.entry.js +1 -0
  382. package/dist/web-components-library/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
  383. package/dist/web-components-library/p-9099124a.entry.js +1 -0
  384. package/dist/web-components-library/p-9ecf936d.js +1 -0
  385. package/dist/web-components-library/p-a1250f99.entry.js +1 -0
  386. package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
  387. package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
  388. package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
  389. package/dist/web-components-library/p-af9b8051.entry.js +1 -0
  390. package/dist/web-components-library/p-b01314fa.entry.js +1 -0
  391. package/dist/web-components-library/p-b4a9ba1d.entry.js +1 -0
  392. package/dist/web-components-library/p-b9a69a90.entry.js +1 -0
  393. package/dist/web-components-library/p-bbbfd2fa.entry.js +1 -0
  394. package/dist/web-components-library/p-bea5aa42.entry.js +1 -0
  395. package/dist/web-components-library/{p-b3c29822.js → p-bee26f96.js} +1 -1
  396. package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
  397. package/dist/web-components-library/p-c7d7958c.entry.js +1 -0
  398. package/dist/web-components-library/p-c849a2a5.entry.js +1 -0
  399. package/dist/web-components-library/p-d1b45e96.entry.js +1 -0
  400. package/dist/web-components-library/p-d767f784.entry.js +1 -0
  401. package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
  402. package/dist/web-components-library/p-d8e17d3a.entry.js +1 -0
  403. package/dist/web-components-library/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
  404. package/dist/web-components-library/p-dc3c5f36.entry.js +1 -0
  405. package/dist/web-components-library/p-e0f82390.entry.js +1 -0
  406. package/dist/web-components-library/p-e1ddeb61.entry.js +1 -0
  407. package/dist/web-components-library/p-e4d761f4.entry.js +1 -0
  408. package/dist/web-components-library/p-efca7e17.entry.js +1 -0
  409. package/dist/web-components-library/p-f08d1cbd.entry.js +1 -0
  410. package/dist/web-components-library/p-f53d1d26.entry.js +1 -0
  411. package/dist/web-components-library/p-f8aef252.entry.js +1 -0
  412. package/dist/web-components-library/p-f94281ee.entry.js +1 -0
  413. package/dist/web-components-library/p-f9e8ac5d.entry.js +1 -0
  414. package/dist/web-components-library/web-components-library.esm.js +1 -1
  415. package/package.json +2 -2
  416. package/react/components.d.ts +17 -0
  417. package/react/components.js +20 -2
  418. package/react/components.js.map +1 -1
  419. package/www/build/index.esm.js +1 -1
  420. package/www/build/p-016b2800.entry.js +1 -0
  421. package/www/build/p-067bd5da.entry.js +1 -0
  422. package/www/build/p-0afc555e.entry.js +1 -0
  423. package/www/build/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
  424. package/www/build/p-10b84e8c.entry.js +1 -0
  425. package/www/build/p-12211a48.entry.js +1 -0
  426. package/www/build/p-18448e4d.entry.js +1 -0
  427. package/www/build/p-1ab0de76.entry.js +1 -0
  428. package/www/build/p-1e163a87.entry.js +1 -0
  429. package/www/build/p-1f187c54.entry.js +1 -0
  430. package/www/build/p-1f8c8cd0.entry.js +1 -0
  431. package/www/build/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
  432. package/www/build/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
  433. package/www/build/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
  434. package/{dist/web-components-library/p-f158d205.entry.js → www/build/p-2c18a622.entry.js} +1 -1
  435. package/www/build/p-2d5d8e6f.entry.js +1 -0
  436. package/www/build/p-2e7a31ac.entry.js +1 -0
  437. package/www/build/p-3027c60b.entry.js +1 -0
  438. package/www/build/p-30fcd62b.js +1 -0
  439. package/www/build/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
  440. package/www/build/p-35739670.entry.js +1 -0
  441. package/www/build/p-36d2d081.entry.js +1 -0
  442. package/www/build/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
  443. package/www/build/p-3c7cf41f.entry.js +1 -0
  444. package/www/build/p-3eb0d582.entry.js +1 -0
  445. package/www/build/p-3ecfb7c1.entry.js +1 -0
  446. package/www/build/p-40f96085.entry.js +1 -0
  447. package/www/build/p-42782d06.entry.js +1 -0
  448. package/www/build/p-4465426a.entry.js +1 -0
  449. package/www/build/p-468520f5.entry.js +1 -0
  450. package/www/build/p-46e367c9.entry.js +1 -0
  451. package/www/build/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
  452. package/www/build/p-4ba0b17c.entry.js +1 -0
  453. package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  454. package/www/build/p-552c6686.entry.js +1 -0
  455. package/www/build/p-563529f8.entry.js +1 -0
  456. package/www/build/p-569f6cff.entry.js +1 -0
  457. package/www/build/p-57faab40.entry.js +1 -0
  458. package/www/build/p-5935151c.entry.js +1 -0
  459. package/www/build/p-5b83568e.entry.js +1 -0
  460. package/www/build/p-5c6108bb.entry.js +1 -0
  461. package/www/build/p-63a99ad2.entry.js +16 -0
  462. package/www/build/p-64033ee3.entry.js +1 -0
  463. package/www/build/p-66bbcf76.entry.js +1 -0
  464. package/www/build/p-69db61b5.entry.js +1 -0
  465. package/www/build/p-6e4dd501.entry.js +1 -0
  466. package/www/build/p-6fe1bffb.entry.js +1 -0
  467. package/www/build/p-7171d686.entry.js +1 -0
  468. package/www/build/p-75a4091f.entry.js +1 -0
  469. package/www/build/p-7b22a446.entry.js +1 -0
  470. package/www/build/p-7e13d026.entry.js +1 -0
  471. package/www/build/p-82ff8f0e.entry.js +1 -0
  472. package/www/build/p-84cc611a.entry.js +1 -0
  473. package/www/build/p-8879211b.entry.js +1 -0
  474. package/www/build/p-8949cd1d.entry.js +1 -0
  475. package/www/build/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
  476. package/www/build/p-9099124a.entry.js +1 -0
  477. package/www/build/p-9ecf936d.js +1 -0
  478. package/www/build/p-a1250f99.entry.js +1 -0
  479. package/www/build/p-a3b8dd69.entry.js +1 -0
  480. package/www/build/p-aa271ed7.entry.js +1 -0
  481. package/www/build/p-af4a9bb7.entry.js +1 -0
  482. package/www/build/p-af9b8051.entry.js +1 -0
  483. package/www/build/p-b01314fa.entry.js +1 -0
  484. package/www/build/p-b4a9ba1d.entry.js +1 -0
  485. package/www/build/p-b9a69a90.entry.js +1 -0
  486. package/www/build/p-bbbfd2fa.entry.js +1 -0
  487. package/www/build/p-bea5aa42.entry.js +1 -0
  488. package/www/build/{p-b3c29822.js → p-bee26f96.js} +1 -1
  489. package/www/build/p-c39c68b9.entry.js +1 -0
  490. package/www/build/p-c7d7958c.entry.js +1 -0
  491. package/www/build/p-c849a2a5.entry.js +1 -0
  492. package/www/build/p-d1b45e96.entry.js +1 -0
  493. package/www/build/p-d70c7670.css +1 -0
  494. package/www/build/p-d767f784.entry.js +1 -0
  495. package/www/build/p-d7e72cec.entry.js +1 -0
  496. package/www/build/p-d8e17d3a.entry.js +1 -0
  497. package/www/build/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
  498. package/www/build/p-dc3c5f36.entry.js +1 -0
  499. package/www/build/p-e0f82390.entry.js +1 -0
  500. package/www/build/p-e1ddeb61.entry.js +1 -0
  501. package/www/build/p-e4d761f4.entry.js +1 -0
  502. package/www/build/p-ef5f8af2.js +1 -0
  503. package/www/build/p-efca7e17.entry.js +1 -0
  504. package/www/build/p-f08d1cbd.entry.js +1 -0
  505. package/www/build/p-f53d1d26.entry.js +1 -0
  506. package/www/build/p-f8aef252.entry.js +1 -0
  507. package/www/build/p-f94281ee.entry.js +1 -0
  508. package/www/build/p-f9e8ac5d.entry.js +1 -0
  509. package/www/build/web-components-library.esm.js +1 -1
  510. package/www/index.html +1 -1
  511. package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
  512. package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
  513. package/dist/esm/z-menu-dropdown.entry.js +0 -55
  514. package/dist/esm/z-myz-list.entry.js +0 -31
  515. package/dist/web-components-library/p-009c9f67.entry.js +0 -1
  516. package/dist/web-components-library/p-01f001fd.entry.js +0 -1
  517. package/dist/web-components-library/p-05ced71c.entry.js +0 -1
  518. package/dist/web-components-library/p-074ea569.entry.js +0 -1
  519. package/dist/web-components-library/p-07e18572.entry.js +0 -1
  520. package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
  521. package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
  522. package/dist/web-components-library/p-1b6279a6.entry.js +0 -1
  523. package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
  524. package/dist/web-components-library/p-1cb23bbb.entry.js +0 -1
  525. package/dist/web-components-library/p-20a3247c.entry.js +0 -1
  526. package/dist/web-components-library/p-26f834e5.entry.js +0 -1
  527. package/dist/web-components-library/p-279655eb.entry.js +0 -1
  528. package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
  529. package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
  530. package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
  531. package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
  532. package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
  533. package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
  534. package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
  535. package/dist/web-components-library/p-411cbcd6.entry.js +0 -1
  536. package/dist/web-components-library/p-475ca461.entry.js +0 -1
  537. package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
  538. package/dist/web-components-library/p-51e308ca.entry.js +0 -1
  539. package/dist/web-components-library/p-5921901c.entry.js +0 -1
  540. package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
  541. package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
  542. package/dist/web-components-library/p-61424b8a.entry.js +0 -1
  543. package/dist/web-components-library/p-682528b2.entry.js +0 -1
  544. package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
  545. package/dist/web-components-library/p-7af991f5.entry.js +0 -1
  546. package/dist/web-components-library/p-810bd730.entry.js +0 -1
  547. package/dist/web-components-library/p-8980398c.entry.js +0 -1
  548. package/dist/web-components-library/p-8b960526.entry.js +0 -1
  549. package/dist/web-components-library/p-8bf0844b.entry.js +0 -1
  550. package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
  551. package/dist/web-components-library/p-8f46e548.entry.js +0 -1
  552. package/dist/web-components-library/p-8ffc17b7.entry.js +0 -1
  553. package/dist/web-components-library/p-93dc6d51.entry.js +0 -1
  554. package/dist/web-components-library/p-95b8f109.entry.js +0 -1
  555. package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
  556. package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
  557. package/dist/web-components-library/p-a23e9115.js +0 -1
  558. package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
  559. package/dist/web-components-library/p-a79d1412.entry.js +0 -1
  560. package/dist/web-components-library/p-a82ea410.entry.js +0 -1
  561. package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
  562. package/dist/web-components-library/p-b6f36170.entry.js +0 -16
  563. package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
  564. package/dist/web-components-library/p-bdc6f2e5.entry.js +0 -1
  565. package/dist/web-components-library/p-beba3e67.entry.js +0 -1
  566. package/dist/web-components-library/p-c25b0b2a.entry.js +0 -1
  567. package/dist/web-components-library/p-c6aad085.entry.js +0 -1
  568. package/dist/web-components-library/p-cd43f80d.js +0 -1
  569. package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
  570. package/dist/web-components-library/p-db3c8e3e.entry.js +0 -1
  571. package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
  572. package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
  573. package/dist/web-components-library/p-f0653e72.entry.js +0 -1
  574. package/dist/web-components-library/p-f20d1242.entry.js +0 -1
  575. package/dist/web-components-library/p-f95cc914.entry.js +0 -1
  576. package/www/build/p-009c9f67.entry.js +0 -1
  577. package/www/build/p-01f001fd.entry.js +0 -1
  578. package/www/build/p-05ced71c.entry.js +0 -1
  579. package/www/build/p-074ea569.entry.js +0 -1
  580. package/www/build/p-07e18572.entry.js +0 -1
  581. package/www/build/p-0843b0e7.entry.js +0 -1
  582. package/www/build/p-0fa4b50b.entry.js +0 -1
  583. package/www/build/p-1b6279a6.entry.js +0 -1
  584. package/www/build/p-1ba8d432.entry.js +0 -1
  585. package/www/build/p-1cb23bbb.entry.js +0 -1
  586. package/www/build/p-20a3247c.entry.js +0 -1
  587. package/www/build/p-26f834e5.entry.js +0 -1
  588. package/www/build/p-279655eb.entry.js +0 -1
  589. package/www/build/p-2d1b6c3c.entry.js +0 -1
  590. package/www/build/p-2efedcf4.entry.js +0 -1
  591. package/www/build/p-32d42cfa.js +0 -129
  592. package/www/build/p-344e7ae7.entry.js +0 -1
  593. package/www/build/p-38a3cf3b.entry.js +0 -1
  594. package/www/build/p-3a468aa9.entry.js +0 -1
  595. package/www/build/p-3c2d438b.entry.js +0 -1
  596. package/www/build/p-3f55dce6.entry.js +0 -1
  597. package/www/build/p-411cbcd6.entry.js +0 -1
  598. package/www/build/p-43a653ba.css +0 -1802
  599. package/www/build/p-475ca461.entry.js +0 -1
  600. package/www/build/p-4cd6c6f4.entry.js +0 -1
  601. package/www/build/p-51e308ca.entry.js +0 -1
  602. package/www/build/p-5921901c.entry.js +0 -1
  603. package/www/build/p-59cfee8d.entry.js +0 -1
  604. package/www/build/p-5dd9a2c6.entry.js +0 -1
  605. package/www/build/p-61424b8a.entry.js +0 -1
  606. package/www/build/p-682528b2.entry.js +0 -1
  607. package/www/build/p-6b1a5309.entry.js +0 -1
  608. package/www/build/p-7af991f5.entry.js +0 -1
  609. package/www/build/p-810bd730.entry.js +0 -1
  610. package/www/build/p-8980398c.entry.js +0 -1
  611. package/www/build/p-8b960526.entry.js +0 -1
  612. package/www/build/p-8bf0844b.entry.js +0 -1
  613. package/www/build/p-8c105bd1.entry.js +0 -1
  614. package/www/build/p-8f46e548.entry.js +0 -1
  615. package/www/build/p-8ffc17b7.entry.js +0 -1
  616. package/www/build/p-93dc6d51.entry.js +0 -1
  617. package/www/build/p-95b8f109.entry.js +0 -1
  618. package/www/build/p-9c338aeb.entry.js +0 -1
  619. package/www/build/p-9d03a7d6.entry.js +0 -1
  620. package/www/build/p-a23e9115.js +0 -1
  621. package/www/build/p-a2b67e2d.entry.js +0 -1
  622. package/www/build/p-a79d1412.entry.js +0 -1
  623. package/www/build/p-a82ea410.entry.js +0 -1
  624. package/www/build/p-b33f5e6a.entry.js +0 -1
  625. package/www/build/p-b6f36170.entry.js +0 -16
  626. package/www/build/p-bb0fe7bc.entry.js +0 -1
  627. package/www/build/p-bdc6f2e5.entry.js +0 -1
  628. package/www/build/p-beba3e67.entry.js +0 -1
  629. package/www/build/p-c25b0b2a.entry.js +0 -1
  630. package/www/build/p-c6aad085.entry.js +0 -1
  631. package/www/build/p-cd43f80d.js +0 -1
  632. package/www/build/p-ce83ce18.entry.js +0 -1
  633. package/www/build/p-db3c8e3e.entry.js +0 -1
  634. package/www/build/p-e40b16fa.entry.js +0 -1
  635. package/www/build/p-ede9fbf5.entry.js +0 -1
  636. package/www/build/p-f0653e72.entry.js +0 -1
  637. package/www/build/p-f20d1242.entry.js +0 -1
  638. package/www/build/p-f95cc914.entry.js +0 -1
@@ -0,0 +1,271 @@
1
+ import { h } from "@stencil/core";
2
+ import Hammer from "hammerjs";
3
+ import { handleKeyboardSubmit } from "../../../utils/utils";
4
+ export class ZPaginationBar {
5
+ constructor() {
6
+ this.velocityConstantMultiplier = 2;
7
+ this.pages = undefined;
8
+ this.visiblepages = undefined;
9
+ this.currentpage = 1;
10
+ this.startpage = 1;
11
+ this.historyraw = undefined;
12
+ this.listhistoryrow = [];
13
+ this.currentPages = [];
14
+ this.navigateRight = this.navigateRight.bind(this);
15
+ this.navigateLeft = this.navigateLeft.bind(this);
16
+ this.emitGoToPage = this.emitGoToPage.bind(this);
17
+ }
18
+ componentDidLoad() {
19
+ this.scrollPage = this.scrollPage.bind(this);
20
+ const mc = new Hammer(this.bar);
21
+ // listen to events...
22
+ mc.on("swiperight", this.scrollPage);
23
+ mc.on("swipeleft", this.scrollPage);
24
+ }
25
+ componentWillRender() {
26
+ this.initPagination();
27
+ }
28
+ componentWillUpdate() {
29
+ this.initPagination();
30
+ }
31
+ initPagination() {
32
+ this.loadPages();
33
+ if (this.historyraw) {
34
+ this.parsehistoryraw(this.historyraw);
35
+ }
36
+ }
37
+ parsehistoryraw(historyraw) {
38
+ this.listhistoryrow = [...JSON.parse(historyraw)];
39
+ }
40
+ scrollPage(ev) {
41
+ const vel = Math.round(Math.abs(ev.velocity)) * this.velocityConstantMultiplier;
42
+ const deltaPage = Math.max(1, vel);
43
+ switch (ev.type) {
44
+ case "swiperight":
45
+ if (this.canNavigateLeft()) {
46
+ this.emitChangeStartPage(Math.max(1, this.startpage - deltaPage));
47
+ }
48
+ break;
49
+ case "swipeleft":
50
+ if (this.canNavigateRight()) {
51
+ this.emitChangeStartPage(Math.min(this.startpage + deltaPage, this.pages - this.visiblepages + 1));
52
+ }
53
+ break;
54
+ }
55
+ }
56
+ emitGoToPage(page) {
57
+ this.currentpage = page;
58
+ this.goToPage.emit({ page: page });
59
+ this.addPageToHistory.emit({ page: page });
60
+ }
61
+ emitChangeStartPage(startpage) {
62
+ this.startpage = startpage;
63
+ this.changeStartPage.emit({ startpage: startpage });
64
+ }
65
+ loadPages() {
66
+ this.currentPages.splice(0);
67
+ const lastPage = this.pageWindow();
68
+ let i;
69
+ for (i = 0; i < lastPage; i++) {
70
+ this.currentPages.push(i + this.startpage);
71
+ }
72
+ }
73
+ pageWindow() {
74
+ return Math.min(this.pages, this.visiblepages); //How many pages are there to show?
75
+ }
76
+ canNavigateLeft() {
77
+ return this.startpage > 1;
78
+ }
79
+ canNavigateRight() {
80
+ return this.startpage + this.visiblepages - 1 < this.pages;
81
+ }
82
+ navigateLeft() {
83
+ if (this.canNavigateLeft()) {
84
+ this.startpage--;
85
+ this.emitChangeStartPage(this.startpage);
86
+ this.loadPages();
87
+ }
88
+ }
89
+ navigateRight() {
90
+ if (this.canNavigateRight()) {
91
+ this.startpage++;
92
+ this.emitChangeStartPage(this.startpage);
93
+ this.loadPages();
94
+ }
95
+ }
96
+ render() {
97
+ return (h("div", { ref: (el) => (this.bar = el) }, h("z-icon", { name: "chevron-left", class: !this.canNavigateLeft() && "disabled", onClick: () => this.navigateLeft(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateLeft), tabindex: this.canNavigateLeft() ? 0 : -1 }), this.currentPages.map((page) => (h("z-pagination-page", { value: page, isselected: page === this.currentpage, onClick: () => this.emitGoToPage(page), onKeyDown: (ev) => handleKeyboardSubmit(ev, this.emitGoToPage, page), isvisited: this.listhistoryrow.includes(page) }))), h("z-icon", { name: "chevron-right", class: !this.canNavigateRight() && "disabled", onClick: () => this.navigateRight(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateRight), tabindex: this.canNavigateRight() ? 0 : -1 })));
98
+ }
99
+ static get is() { return "z-pagination-bar"; }
100
+ static get encapsulation() { return "shadow"; }
101
+ static get originalStyleUrls() {
102
+ return {
103
+ "$": ["styles.css"]
104
+ };
105
+ }
106
+ static get styleUrls() {
107
+ return {
108
+ "$": ["styles.css"]
109
+ };
110
+ }
111
+ static get properties() {
112
+ return {
113
+ "pages": {
114
+ "type": "number",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "number",
118
+ "resolved": "number",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "pages number"
126
+ },
127
+ "attribute": "pages",
128
+ "reflect": false
129
+ },
130
+ "visiblepages": {
131
+ "type": "number",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "number",
135
+ "resolved": "number",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "number of visible pages"
143
+ },
144
+ "attribute": "visiblepages",
145
+ "reflect": false
146
+ },
147
+ "currentpage": {
148
+ "type": "number",
149
+ "mutable": true,
150
+ "complexType": {
151
+ "original": "number",
152
+ "resolved": "number",
153
+ "references": {}
154
+ },
155
+ "required": false,
156
+ "optional": false,
157
+ "docs": {
158
+ "tags": [],
159
+ "text": "current displayed page (mutable)"
160
+ },
161
+ "attribute": "currentpage",
162
+ "reflect": false,
163
+ "defaultValue": "1"
164
+ },
165
+ "startpage": {
166
+ "type": "number",
167
+ "mutable": true,
168
+ "complexType": {
169
+ "original": "number",
170
+ "resolved": "number",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "initial page (mutable)"
178
+ },
179
+ "attribute": "startpage",
180
+ "reflect": false,
181
+ "defaultValue": "1"
182
+ },
183
+ "historyraw": {
184
+ "type": "string",
185
+ "mutable": false,
186
+ "complexType": {
187
+ "original": "string",
188
+ "resolved": "string",
189
+ "references": {}
190
+ },
191
+ "required": false,
192
+ "optional": true,
193
+ "docs": {
194
+ "tags": [],
195
+ "text": "json stringified history of visited pages (optional)"
196
+ },
197
+ "attribute": "historyraw",
198
+ "reflect": false
199
+ },
200
+ "listhistoryrow": {
201
+ "type": "unknown",
202
+ "mutable": true,
203
+ "complexType": {
204
+ "original": "number[]",
205
+ "resolved": "number[]",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": true,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": "array of history of visited pages (mutable, optional)"
213
+ },
214
+ "defaultValue": "[]"
215
+ }
216
+ };
217
+ }
218
+ static get states() {
219
+ return {
220
+ "currentPages": {}
221
+ };
222
+ }
223
+ static get events() {
224
+ return [{
225
+ "method": "goToPage",
226
+ "name": "goToPage",
227
+ "bubbles": true,
228
+ "cancelable": true,
229
+ "composed": true,
230
+ "docs": {
231
+ "tags": [],
232
+ "text": "emitted on page number click, returns page"
233
+ },
234
+ "complexType": {
235
+ "original": "any",
236
+ "resolved": "any",
237
+ "references": {}
238
+ }
239
+ }, {
240
+ "method": "changeStartPage",
241
+ "name": "changeStartPage",
242
+ "bubbles": true,
243
+ "cancelable": true,
244
+ "composed": true,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": "emitted on start page change, returns startpage"
248
+ },
249
+ "complexType": {
250
+ "original": "any",
251
+ "resolved": "any",
252
+ "references": {}
253
+ }
254
+ }, {
255
+ "method": "addPageToHistory",
256
+ "name": "addPageToHistory",
257
+ "bubbles": true,
258
+ "cancelable": true,
259
+ "composed": true,
260
+ "docs": {
261
+ "tags": [],
262
+ "text": "emitted on adding page to isvisited array, returns page"
263
+ },
264
+ "complexType": {
265
+ "original": "any",
266
+ "resolved": "any",
267
+ "references": {}
268
+ }
269
+ }];
270
+ }
271
+ }
@@ -0,0 +1,22 @@
1
+ :host > div {
2
+ display: flex;
3
+ height: 48px;
4
+ flex-flow: row nowrap;
5
+ align-content: center;
6
+ align-items: center;
7
+ justify-content: space-around;
8
+ }
9
+
10
+ :host > div > z-icon {
11
+ margin: calc(var(--space-unit) * 2) 0;
12
+ color: var(--color-primary01);
13
+ cursor: pointer;
14
+ fill: var(--color-primary01);
15
+ }
16
+
17
+ :host > div > z-icon.disabled {
18
+ color: var(--color-disabled01);
19
+ cursor: default;
20
+ fill: var(--color-disabled01);
21
+ pointer-events: none;
22
+ }
@@ -0,0 +1,136 @@
1
+ import { h } from "@stencil/core";
2
+ export class ZPaginationPage {
3
+ constructor() {
4
+ this.pageid = undefined;
5
+ this.value = undefined;
6
+ this.isselected = false;
7
+ this.isdisabled = false;
8
+ this.isvisited = false;
9
+ this.ariaLabel = "";
10
+ }
11
+ render() {
12
+ return (h("button", { id: this.pageid, "aria-label": this.ariaLabel ? this.ariaLabel : `Go to page ${this.value}`, class: { selected: this.isselected, visited: this.isvisited }, disabled: this.isdisabled, type: "button" }, this.value));
13
+ }
14
+ static get is() { return "z-pagination-page"; }
15
+ static get encapsulation() { return "shadow"; }
16
+ static get originalStyleUrls() {
17
+ return {
18
+ "$": ["styles.css"]
19
+ };
20
+ }
21
+ static get styleUrls() {
22
+ return {
23
+ "$": ["styles.css"]
24
+ };
25
+ }
26
+ static get properties() {
27
+ return {
28
+ "pageid": {
29
+ "type": "string",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "string",
33
+ "resolved": "string",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": "html id"
41
+ },
42
+ "attribute": "pageid",
43
+ "reflect": false
44
+ },
45
+ "value": {
46
+ "type": "number",
47
+ "mutable": false,
48
+ "complexType": {
49
+ "original": "number",
50
+ "resolved": "number",
51
+ "references": {}
52
+ },
53
+ "required": false,
54
+ "optional": true,
55
+ "docs": {
56
+ "tags": [],
57
+ "text": "numeric page value (optional)"
58
+ },
59
+ "attribute": "value",
60
+ "reflect": false
61
+ },
62
+ "isselected": {
63
+ "type": "boolean",
64
+ "mutable": false,
65
+ "complexType": {
66
+ "original": "boolean",
67
+ "resolved": "boolean",
68
+ "references": {}
69
+ },
70
+ "required": false,
71
+ "optional": false,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": "selected status flag"
75
+ },
76
+ "attribute": "isselected",
77
+ "reflect": false,
78
+ "defaultValue": "false"
79
+ },
80
+ "isdisabled": {
81
+ "type": "boolean",
82
+ "mutable": false,
83
+ "complexType": {
84
+ "original": "boolean",
85
+ "resolved": "boolean",
86
+ "references": {}
87
+ },
88
+ "required": false,
89
+ "optional": false,
90
+ "docs": {
91
+ "tags": [],
92
+ "text": "disabled status flag"
93
+ },
94
+ "attribute": "isdisabled",
95
+ "reflect": false,
96
+ "defaultValue": "false"
97
+ },
98
+ "isvisited": {
99
+ "type": "boolean",
100
+ "mutable": false,
101
+ "complexType": {
102
+ "original": "boolean",
103
+ "resolved": "boolean",
104
+ "references": {}
105
+ },
106
+ "required": false,
107
+ "optional": false,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": "visited status flag"
111
+ },
112
+ "attribute": "isvisited",
113
+ "reflect": false,
114
+ "defaultValue": "false"
115
+ },
116
+ "ariaLabel": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "string",
121
+ "resolved": "string",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": "aria-label string"
129
+ },
130
+ "attribute": "aria-label",
131
+ "reflect": false,
132
+ "defaultValue": "\"\""
133
+ }
134
+ };
135
+ }
136
+ }
@@ -0,0 +1,57 @@
1
+ :host {
2
+ display: inline-block;
3
+ font-family: var(--font-family-sans);
4
+ font-weight: var(--font-sb);
5
+ }
6
+
7
+ :host > button {
8
+ display: inline-block;
9
+ min-width: 56px;
10
+ height: 48px;
11
+ box-sizing: border-box;
12
+ border: none;
13
+ border-bottom: var(--border-size-large) solid transparent;
14
+ margin: 0;
15
+ background: transparent;
16
+ color: var(--color-primary01);
17
+ cursor: pointer;
18
+ font-family: var(--font-family-sans);
19
+ font-size: var(--font-size-2);
20
+ font-weight: inherit;
21
+ line-height: 48px;
22
+ outline: none;
23
+ text-align: center;
24
+ text-decoration: none;
25
+ transition: border-bottom 0.2s ease, font-size 0.2s ease;
26
+ }
27
+
28
+ :host > button[disabled] {
29
+ color: var(--color-disabled02);
30
+ cursor: default;
31
+ pointer-events: none;
32
+ }
33
+
34
+ :host > button:hover {
35
+ border-bottom: var(--border-size-large) solid var(--color-hover-light);
36
+ background-color: var(--color-background);
37
+ text-decoration: none;
38
+ transition: border-bottom 0.2s ease, background-color 0.2s ease;
39
+ }
40
+
41
+ :host > button:focus {
42
+ border-bottom: var(--border-size-large) solid var(--color-hover-light);
43
+ background-color: var(--color-background);
44
+ box-shadow: var(--shadow-focus-primary);
45
+ text-decoration: none;
46
+ }
47
+
48
+ :host > button.visited {
49
+ border-color: var(--color-hover-light);
50
+ text-decoration: none;
51
+ }
52
+
53
+ :host > button.selected {
54
+ border-bottom: var(--border-size-large) solid var(--color-primary01);
55
+ font-size: var(--font-size-7);
56
+ transition: border-bottom 0.2s ease, font-size 0.2s ease;
57
+ }
@@ -0,0 +1,221 @@
1
+ import { h } from "@stencil/core";
2
+ import { ButtonVariant, ButtonType, ButtonSize } from "../../beans";
3
+ /**
4
+ * @slot - button label
5
+ */
6
+ export class ZButtonDeprecated {
7
+ constructor() {
8
+ this.htmlid = undefined;
9
+ this.name = undefined;
10
+ this.disabled = false;
11
+ this.type = ButtonType.BUTTON;
12
+ this.variant = ButtonVariant.PRIMARY;
13
+ this.icon = undefined;
14
+ this.size = ButtonSize.BIG;
15
+ this.issmall = false;
16
+ this.square = false;
17
+ }
18
+ render() {
19
+ this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
20
+ return (h("slot", { name: "element" }, h("button", { id: this.htmlid, name: this.name, type: this.type, disabled: this.disabled, class: {
21
+ [this.variant]: true,
22
+ [this.size]: true,
23
+ issmall: this.issmall,
24
+ square: this.square,
25
+ } }, this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null))));
26
+ }
27
+ static get is() { return "z-button-deprecated"; }
28
+ static get encapsulation() { return "shadow"; }
29
+ static get originalStyleUrls() {
30
+ return {
31
+ "$": ["styles.css"]
32
+ };
33
+ }
34
+ static get styleUrls() {
35
+ return {
36
+ "$": ["styles.css"]
37
+ };
38
+ }
39
+ static get properties() {
40
+ return {
41
+ "htmlid": {
42
+ "type": "string",
43
+ "mutable": false,
44
+ "complexType": {
45
+ "original": "string",
46
+ "resolved": "string",
47
+ "references": {}
48
+ },
49
+ "required": false,
50
+ "optional": true,
51
+ "docs": {
52
+ "tags": [],
53
+ "text": "Identifier, should be unique."
54
+ },
55
+ "attribute": "htmlid",
56
+ "reflect": false
57
+ },
58
+ "name": {
59
+ "type": "string",
60
+ "mutable": false,
61
+ "complexType": {
62
+ "original": "string",
63
+ "resolved": "string",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": true,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": "HTML button name attribute."
71
+ },
72
+ "attribute": "name",
73
+ "reflect": false
74
+ },
75
+ "disabled": {
76
+ "type": "boolean",
77
+ "mutable": false,
78
+ "complexType": {
79
+ "original": "boolean",
80
+ "resolved": "boolean",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": true,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": "HTML button disabled attribute."
88
+ },
89
+ "attribute": "disabled",
90
+ "reflect": true,
91
+ "defaultValue": "false"
92
+ },
93
+ "type": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "ButtonType",
98
+ "resolved": "ButtonType.BUTTON | ButtonType.RESET | ButtonType.SUBMIT",
99
+ "references": {
100
+ "ButtonType": {
101
+ "location": "import",
102
+ "path": "../../beans"
103
+ }
104
+ }
105
+ },
106
+ "required": false,
107
+ "optional": true,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": "HTML button type attribute."
111
+ },
112
+ "attribute": "type",
113
+ "reflect": false,
114
+ "defaultValue": "ButtonType.BUTTON"
115
+ },
116
+ "variant": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "ButtonVariant",
121
+ "resolved": "ButtonVariant.DARK_BG | ButtonVariant.PRIMARY | ButtonVariant.SECONDARY | ButtonVariant.TERTIARY",
122
+ "references": {
123
+ "ButtonVariant": {
124
+ "location": "import",
125
+ "path": "../../beans"
126
+ }
127
+ }
128
+ },
129
+ "required": false,
130
+ "optional": true,
131
+ "docs": {
132
+ "tags": [],
133
+ "text": "Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`."
134
+ },
135
+ "attribute": "variant",
136
+ "reflect": true,
137
+ "defaultValue": "ButtonVariant.PRIMARY"
138
+ },
139
+ "icon": {
140
+ "type": "string",
141
+ "mutable": false,
142
+ "complexType": {
143
+ "original": "string",
144
+ "resolved": "string",
145
+ "references": {}
146
+ },
147
+ "required": false,
148
+ "optional": true,
149
+ "docs": {
150
+ "tags": [],
151
+ "text": "`z-icon` name to use (optional)."
152
+ },
153
+ "attribute": "icon",
154
+ "reflect": false
155
+ },
156
+ "size": {
157
+ "type": "string",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "ButtonSize",
161
+ "resolved": "ButtonSize.BIG | ButtonSize.SMALL | ButtonSize.X_SMALL",
162
+ "references": {
163
+ "ButtonSize": {
164
+ "location": "import",
165
+ "path": "../../beans"
166
+ }
167
+ }
168
+ },
169
+ "required": false,
170
+ "optional": true,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": "Available sizes: `big`, `small` and `x-small`. Defaults to `big`."
174
+ },
175
+ "attribute": "size",
176
+ "reflect": true,
177
+ "defaultValue": "ButtonSize.BIG"
178
+ },
179
+ "issmall": {
180
+ "type": "boolean",
181
+ "mutable": false,
182
+ "complexType": {
183
+ "original": "boolean",
184
+ "resolved": "boolean",
185
+ "references": {}
186
+ },
187
+ "required": false,
188
+ "optional": true,
189
+ "docs": {
190
+ "tags": [{
191
+ "name": "deprecated",
192
+ "text": "Use `size` prop."
193
+ }],
194
+ "text": "Reduce button size (deprecated)."
195
+ },
196
+ "attribute": "issmall",
197
+ "reflect": true,
198
+ "defaultValue": "false"
199
+ },
200
+ "square": {
201
+ "type": "boolean",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "boolean",
205
+ "resolved": "boolean",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": true,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": "Spy to render square button."
213
+ },
214
+ "attribute": "square",
215
+ "reflect": true,
216
+ "defaultValue": "false"
217
+ }
218
+ };
219
+ }
220
+ static get elementRef() { return "hostElement"; }
221
+ }