@zanichelli/albe-web-components 5.6.2 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (874) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
  3. package/dist/cjs/{index-e3299e0a.js → index-0b49c192.js} +207 -225
  4. package/dist/cjs/index-199cd650.js +346 -0
  5. package/dist/cjs/index.cjs.js +53 -59
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/{utils-dfe717c7.js → utils-ce225fb3.js} +13 -13
  8. package/dist/cjs/{utils-4647eb06.js → utils-ebe45309.js} +21 -35
  9. package/dist/cjs/web-components-library.cjs.js +3 -3
  10. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/z-app-header.cjs.entry.js +16 -14
  12. package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
  13. package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
  14. package/dist/cjs/z-avatar.cjs.entry.js +9 -8
  15. package/dist/cjs/z-body_2.cjs.entry.js +5 -3
  16. package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
  17. package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
  18. package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
  19. package/dist/cjs/z-button.cjs.entry.js +10 -11
  20. package/dist/cjs/z-candybar.cjs.entry.js +2 -2
  21. package/dist/cjs/z-card.cjs.entry.js +16 -19
  22. package/dist/cjs/z-carousel.cjs.entry.js +8 -13
  23. package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
  24. package/dist/cjs/z-chip.cjs.entry.js +7 -7
  25. package/dist/cjs/z-combobox.cjs.entry.js +30 -26
  26. package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
  27. package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
  28. package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
  29. package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
  30. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
  31. package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
  32. package/dist/cjs/z-file.cjs.entry.js +4 -4
  33. package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
  34. package/dist/cjs/z-footer.cjs.entry.js +13 -16
  35. package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
  36. package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
  37. package/dist/cjs/z-info-box.cjs.entry.js +3 -3
  38. package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
  39. package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
  40. package/dist/cjs/z-input-label_2.cjs.entry.js +44 -40
  41. package/dist/cjs/z-list-group.cjs.entry.js +7 -7
  42. package/dist/cjs/z-list_2.cjs.entry.js +16 -16
  43. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
  44. package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
  45. package/dist/cjs/z-menu.cjs.entry.js +10 -13
  46. package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
  47. package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
  48. package/dist/cjs/z-modal.cjs.entry.js +3 -6
  49. package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
  50. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
  51. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  52. package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
  53. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  54. package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
  55. package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
  56. package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
  57. package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
  58. package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
  59. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
  60. package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
  61. package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
  62. package/dist/cjs/z-notification.cjs.entry.js +3 -8
  63. package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
  64. package/dist/cjs/z-otp.cjs.entry.js +18 -18
  65. package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
  66. package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
  67. package/dist/cjs/z-pagination.cjs.entry.js +14 -17
  68. package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
  69. package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
  70. package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
  71. package/dist/cjs/z-popover-deprecated.cjs.entry.js +20 -17
  72. package/dist/cjs/z-popover.cjs.entry.js +38 -56
  73. package/dist/cjs/z-section-title.cjs.entry.js +5 -14
  74. package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
  75. package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
  76. package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
  77. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/z-stepper.cjs.entry.js +3 -3
  79. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
  81. package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
  82. package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
  83. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  85. package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
  86. package/dist/cjs/z-table-header.cjs.entry.js +18 -21
  87. package/dist/cjs/z-table-row.cjs.entry.js +9 -9
  88. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
  89. package/dist/cjs/z-table.cjs.entry.js +7 -9
  90. package/dist/cjs/z-tag.cjs.entry.js +3 -3
  91. package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
  92. package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
  93. package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
  94. package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
  95. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
  96. package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
  97. package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
  98. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  99. package/dist/collection/beans/index.js +258 -266
  100. package/dist/collection/collection-manifest.json +1 -1
  101. package/dist/collection/components/buttons/z-button/index.js +22 -22
  102. package/dist/collection/components/buttons/z-button/styles.css +31 -30
  103. package/dist/collection/components/buttons/z-button-sort/index.js +3 -4
  104. package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
  105. package/dist/collection/components/buttons/z-chip/index.js +7 -7
  106. package/dist/collection/components/buttons/z-chip/styles.css +12 -15
  107. package/dist/collection/components/buttons/z-toggle-button/index.js +6 -8
  108. package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
  109. package/dist/collection/components/buttons/z-toggle-switch/index.js +25 -28
  110. package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
  111. package/dist/collection/components/date-picker/styles.css +65 -83
  112. package/dist/collection/components/date-picker/utils.js +21 -35
  113. package/dist/collection/components/date-picker/z-date-picker/index.js +40 -47
  114. package/dist/collection/components/date-picker/z-range-picker/index.js +71 -86
  115. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
  116. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
  117. package/dist/collection/components/file-upload/z-file/index.js +6 -6
  118. package/dist/collection/components/file-upload/z-file/styles.css +5 -18
  119. package/dist/collection/components/file-upload/z-file-upload/index.js +23 -25
  120. package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
  121. package/dist/collection/components/footer/z-footer/index.js +11 -14
  122. package/dist/collection/components/footer/z-footer/styles.css +27 -32
  123. package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
  124. package/dist/collection/components/footer/z-footer-section/index.js +1 -1
  125. package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
  126. package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
  127. package/dist/collection/components/icons/icons.js +103 -103
  128. package/dist/collection/components/icons/z-icon/index.js +7 -9
  129. package/dist/collection/components/icons/z-icon/styles.css +2 -2
  130. package/dist/collection/components/icons/z-icon-package/index.js +3 -4
  131. package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
  132. package/dist/collection/components/indicators/z-stepper/index.js +2 -2
  133. package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
  134. package/dist/collection/components/indicators/z-stepper-item/index.js +1 -1
  135. package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
  136. package/dist/collection/components/inputs/z-combobox/index.js +31 -27
  137. package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
  138. package/dist/collection/components/inputs/z-input/index.js +63 -70
  139. package/dist/collection/components/inputs/z-input/styles.css +83 -93
  140. package/dist/collection/components/inputs/z-input-message/index.js +4 -4
  141. package/dist/collection/components/inputs/z-input-message/styles.css +5 -5
  142. package/dist/collection/components/inputs/z-select/index.js +51 -47
  143. package/dist/collection/components/inputs/z-select/styles.css +23 -28
  144. package/dist/collection/components/list/z-list/index.js +3 -3
  145. package/dist/collection/components/list/z-list/styles.css +2 -3
  146. package/dist/collection/components/list/z-list-element/index.js +24 -24
  147. package/dist/collection/components/list/z-list-element/styles.css +18 -40
  148. package/dist/collection/components/list/z-list-group/index.js +10 -10
  149. package/dist/collection/components/list/z-list-group/styles.css +1 -2
  150. package/dist/collection/components/list/z-toast-notification-list/index.js +21 -20
  151. package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
  152. package/dist/collection/components/logo/z-logo/index.js +1 -3
  153. package/dist/collection/components/logo/z-logo/styles.css +3 -3
  154. package/dist/collection/components/modal/z-modal/index.js +2 -5
  155. package/dist/collection/components/modal/z-modal/styles.css +23 -29
  156. package/dist/collection/components/modal/z-modal-login/index.js +19 -17
  157. package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
  158. package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
  159. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -27
  160. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +17 -27
  161. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +26 -36
  162. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
  163. package/dist/collection/components/navigation/z-app-header/index.js +17 -15
  164. package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
  165. package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
  166. package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
  167. package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
  168. package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
  169. package/dist/collection/components/navigation/z-link/index.js +15 -13
  170. package/dist/collection/components/navigation/z-link/styles.css +15 -12
  171. package/dist/collection/components/navigation/z-menu/index.js +9 -12
  172. package/dist/collection/components/navigation/z-menu/styles.css +22 -25
  173. package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -8
  174. package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
  175. package/dist/collection/components/navigation/z-menu-section/index.js +3 -3
  176. package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
  177. package/dist/collection/components/navigation/z-user-dropdown/index.js +4 -6
  178. package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
  179. package/dist/collection/components/notification/z-candybar/styles.css +21 -27
  180. package/dist/collection/components/notification/z-cookiebar/index.js +6 -7
  181. package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
  182. package/dist/collection/components/notification/z-info-box/index.js +2 -2
  183. package/dist/collection/components/notification/z-info-box/styles.css +8 -8
  184. package/dist/collection/components/notification/z-notification/index.js +3 -8
  185. package/dist/collection/components/notification/z-notification/styles.css +11 -11
  186. package/dist/collection/components/notification/z-toast-notification/index.js +44 -48
  187. package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
  188. package/dist/collection/components/notification/z-tooltip/index.js +6 -6
  189. package/dist/collection/components/panel/z-panel-elem/index.js +5 -5
  190. package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
  191. package/dist/collection/components/typography/z-body/index.js +4 -3
  192. package/dist/collection/components/typography/z-heading/index.js +4 -3
  193. package/dist/collection/components/typography/z-typography/index.js +19 -18
  194. package/dist/collection/components/typography/z-typography/styles.css +13 -13
  195. package/dist/collection/components/z-aria-alert/index.js +12 -6
  196. package/dist/collection/components/z-avatar/index.js +8 -7
  197. package/dist/collection/components/z-avatar/styles.css +7 -10
  198. package/dist/collection/components/z-card/index.js +18 -21
  199. package/dist/collection/components/z-card/styles.css +38 -42
  200. package/dist/collection/components/z-carousel/index.js +7 -12
  201. package/dist/collection/components/z-carousel/styles.css +12 -12
  202. package/dist/collection/components/z-contextual-menu/index.js +5 -10
  203. package/dist/collection/components/z-contextual-menu/styles.css +8 -8
  204. package/dist/collection/components/z-cover-hero/index.js +3 -2
  205. package/dist/collection/components/z-cover-hero/styles.css +4 -4
  206. package/dist/collection/components/z-divider/index.js +6 -6
  207. package/dist/collection/components/z-ghost-loading/index.js +2 -2
  208. package/dist/collection/components/z-ghost-loading/styles.css +14 -14
  209. package/dist/collection/components/z-info-reveal/index.js +13 -12
  210. package/dist/collection/components/z-info-reveal/styles.css +9 -8
  211. package/dist/collection/components/z-offcanvas/index.js +19 -22
  212. package/dist/collection/components/z-offcanvas/styles.css +65 -45
  213. package/dist/collection/components/z-pagination/index.js +13 -16
  214. package/dist/collection/components/z-pagination/styles.css +16 -21
  215. package/dist/collection/components/z-popover/index.js +41 -59
  216. package/dist/collection/components/z-popover/styles.css +9 -9
  217. package/dist/collection/components/z-section-title/index.js +6 -15
  218. package/dist/collection/components/z-section-title/styles.css +2 -2
  219. package/dist/collection/components/z-skip-to-content/index.js +17 -19
  220. package/dist/collection/components/z-skip-to-content/styles.css +11 -15
  221. package/dist/collection/components/z-table/z-table/index.js +6 -8
  222. package/dist/collection/components/z-table/z-table/styles.css +23 -74
  223. package/dist/collection/components/z-table/z-table-cell/index.js +11 -10
  224. package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
  225. package/dist/collection/components/z-table/z-table-empty-box/index.js +4 -4
  226. package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
  227. package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
  228. package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
  229. package/dist/collection/components/z-table/z-table-header/index.js +23 -25
  230. package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
  231. package/dist/collection/components/z-table/z-table-header-row/index.js +3 -3
  232. package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
  233. package/dist/collection/components/z-table/z-table-row/index.js +11 -11
  234. package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
  235. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +2 -2
  236. package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
  237. package/dist/collection/components/z-tag/index.js +1 -1
  238. package/dist/collection/components/z-tag/styles.css +7 -12
  239. package/dist/collection/components/z-visually-hidden/styles.css +6 -6
  240. package/dist/collection/constants/icons.js +1 -1
  241. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +9 -23
  242. package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
  243. package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
  244. package/dist/collection/deprecated/z-button-deprecated/index.js +24 -19
  245. package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
  246. package/dist/collection/deprecated/z-button-filter/index.js +2 -1
  247. package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
  248. package/dist/collection/deprecated/z-chip-deprecated/index.js +5 -7
  249. package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
  250. package/dist/collection/deprecated/z-input-deprecated/index.js +62 -74
  251. package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
  252. package/dist/collection/deprecated/z-input-label/index.js +1 -1
  253. package/dist/collection/deprecated/z-input-label/styles.css +2 -2
  254. package/dist/collection/deprecated/z-popover-deprecated/index.js +24 -20
  255. package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
  256. package/dist/collection/deprecated/z-status-tag/index.js +9 -8
  257. package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
  258. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +36 -47
  259. package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
  260. package/dist/collection/index.js +4 -3
  261. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +10 -7
  262. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
  263. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -6
  264. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
  265. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
  266. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
  267. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -2
  268. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
  269. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +12 -11
  270. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +9 -8
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +23 -13
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
  279. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -4
  280. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
  281. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
  282. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +7 -7
  283. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
  284. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +15 -15
  285. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
  286. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +4 -4
  287. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
  288. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
  289. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
  290. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
  291. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
  292. package/dist/collection/snowflakes/myz/topbar/index.js +35 -39
  293. package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
  294. package/dist/collection/snowflakes/myz/z-alert/index.js +3 -3
  295. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  296. package/dist/collection/snowflakes/myz/z-otp/index.js +23 -23
  297. package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
  298. package/dist/collection/snowflakes/myz/z-slideshow/index.js +26 -9
  299. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
  300. package/dist/collection/utils/storybook-utils.js +6 -5
  301. package/dist/collection/utils/utils.js +15 -15
  302. package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
  303. package/dist/esm/{index-a2ca4b97.js → index-3517583d.js} +207 -225
  304. package/dist/esm/index-9d028352.js +346 -0
  305. package/dist/esm/index.js +5 -5
  306. package/dist/esm/loader.js +3 -3
  307. package/dist/esm/polyfills/css-shim.js +1 -1
  308. package/dist/esm/{utils-2c5dfb88.js → utils-39ca028c.js} +13 -13
  309. package/dist/esm/{utils-3ba1cfd4.js → utils-fbe04cd6.js} +21 -35
  310. package/dist/esm/web-components-library.js +3 -3
  311. package/dist/esm/z-alert.entry.js +2 -2
  312. package/dist/esm/z-app-header.entry.js +16 -14
  313. package/dist/esm/z-app-switcher_9.entry.js +159 -177
  314. package/dist/esm/z-aria-alert.entry.js +4 -3
  315. package/dist/esm/z-avatar.entry.js +9 -8
  316. package/dist/esm/z-body_2.entry.js +5 -3
  317. package/dist/esm/z-button-deprecated.entry.js +12 -9
  318. package/dist/esm/z-button-filter.entry.js +4 -3
  319. package/dist/esm/z-button-sort.entry.js +5 -6
  320. package/dist/esm/z-button.entry.js +10 -11
  321. package/dist/esm/z-candybar.entry.js +2 -2
  322. package/dist/esm/z-card.entry.js +16 -19
  323. package/dist/esm/z-carousel.entry.js +8 -13
  324. package/dist/esm/z-chip-deprecated.entry.js +4 -6
  325. package/dist/esm/z-chip.entry.js +7 -7
  326. package/dist/esm/z-combobox.entry.js +30 -26
  327. package/dist/esm/z-contextual-menu.entry.js +5 -10
  328. package/dist/esm/z-cookiebar.entry.js +6 -7
  329. package/dist/esm/z-cover-hero.entry.js +6 -5
  330. package/dist/esm/z-date-picker.entry.js +39 -46
  331. package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
  332. package/dist/esm/z-file-upload.entry.js +18 -20
  333. package/dist/esm/z-file.entry.js +4 -4
  334. package/dist/esm/z-footer-link_3.entry.js +4 -4
  335. package/dist/esm/z-footer.entry.js +13 -16
  336. package/dist/esm/z-ghost-loading.entry.js +3 -3
  337. package/dist/esm/z-icon-package.entry.js +3 -4
  338. package/dist/esm/z-info-box.entry.js +3 -3
  339. package/dist/esm/z-info-reveal.entry.js +9 -8
  340. package/dist/esm/z-input-deprecated.entry.js +55 -67
  341. package/dist/esm/z-input-label_2.entry.js +44 -40
  342. package/dist/esm/z-list-group.entry.js +7 -7
  343. package/dist/esm/z-list_2.entry.js +16 -16
  344. package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
  345. package/dist/esm/z-menu-section.entry.js +3 -3
  346. package/dist/esm/z-menu.entry.js +10 -13
  347. package/dist/esm/z-messages-pocket.entry.js +7 -7
  348. package/dist/esm/z-modal-login.entry.js +17 -15
  349. package/dist/esm/z-modal.entry.js +3 -6
  350. package/dist/esm/z-myz-card-alert.entry.js +8 -8
  351. package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
  352. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  353. package/dist/esm/z-myz-card-footer.entry.js +11 -10
  354. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  355. package/dist/esm/z-myz-card-info.entry.js +27 -17
  356. package/dist/esm/z-myz-card-list.entry.js +4 -3
  357. package/dist/esm/z-myz-card_4.entry.js +17 -13
  358. package/dist/esm/z-myz-list-item.entry.js +4 -4
  359. package/dist/esm/z-myz-topbar.entry.js +35 -39
  360. package/dist/esm/z-navigation-tab-link.entry.js +11 -11
  361. package/dist/esm/z-navigation-tab.entry.js +12 -12
  362. package/dist/esm/z-navigation-tabs.entry.js +21 -21
  363. package/dist/esm/z-notification.entry.js +3 -8
  364. package/dist/esm/z-offcanvas.entry.js +12 -15
  365. package/dist/esm/z-otp.entry.js +18 -18
  366. package/dist/esm/z-pagination-bar.entry.js +13 -25
  367. package/dist/esm/z-pagination-page.entry.js +2 -2
  368. package/dist/esm/z-pagination.entry.js +14 -17
  369. package/dist/esm/z-panel-elem.entry.js +4 -4
  370. package/dist/esm/z-pocket-message.entry.js +3 -3
  371. package/dist/esm/z-pocket_3.entry.js +19 -19
  372. package/dist/esm/z-popover-deprecated.entry.js +20 -17
  373. package/dist/esm/z-popover.entry.js +38 -56
  374. package/dist/esm/z-section-title.entry.js +5 -14
  375. package/dist/esm/z-skip-to-content.entry.js +19 -21
  376. package/dist/esm/z-slideshow.entry.js +29 -12
  377. package/dist/esm/z-status-tag.entry.js +9 -9
  378. package/dist/esm/z-stepper-item.entry.js +2 -2
  379. package/dist/esm/z-stepper.entry.js +3 -3
  380. package/dist/esm/z-table-body.entry.js +1 -1
  381. package/dist/esm/z-table-cell.entry.js +11 -11
  382. package/dist/esm/z-table-empty-box.entry.js +6 -7
  383. package/dist/esm/z-table-expanded-row.entry.js +2 -2
  384. package/dist/esm/z-table-footer.entry.js +1 -1
  385. package/dist/esm/z-table-head.entry.js +1 -1
  386. package/dist/esm/z-table-header-row.entry.js +4 -4
  387. package/dist/esm/z-table-header.entry.js +18 -21
  388. package/dist/esm/z-table-row.entry.js +9 -9
  389. package/dist/esm/z-table-sticky-footer.entry.js +3 -3
  390. package/dist/esm/z-table.entry.js +7 -9
  391. package/dist/esm/z-tag.entry.js +3 -3
  392. package/dist/esm/z-toast-notification-list.entry.js +17 -17
  393. package/dist/esm/z-toast-notification.entry.js +38 -41
  394. package/dist/esm/z-toggle-button.entry.js +8 -10
  395. package/dist/esm/z-toggle-switch.entry.js +19 -17
  396. package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
  397. package/dist/esm/z-tooltip.entry.js +4 -4
  398. package/dist/esm/z-user-dropdown.entry.js +6 -8
  399. package/dist/esm/z-visually-hidden.entry.js +2 -2
  400. package/dist/types/beans/index.d.ts +225 -250
  401. package/dist/types/components/buttons/z-button/index.d.ts +7 -14
  402. package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
  403. package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
  404. package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
  405. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +9 -3
  406. package/dist/types/components/date-picker/utils.d.ts +4 -4
  407. package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
  408. package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
  409. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
  410. package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
  411. package/dist/types/components/file-upload/z-file-upload/index.d.ts +21 -20
  412. package/dist/types/components/footer/z-footer/index.d.ts +15 -15
  413. package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
  414. package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
  415. package/dist/types/components/icons/icons.d.ts +1 -1
  416. package/dist/types/components/icons/z-icon/index.d.ts +3 -3
  417. package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
  418. package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
  419. package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
  420. package/dist/types/components/inputs/z-combobox/index.d.ts +17 -18
  421. package/dist/types/components/inputs/z-input/index.d.ts +24 -45
  422. package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
  423. package/dist/types/components/inputs/z-select/index.d.ts +26 -26
  424. package/dist/types/components/list/z-list/index.d.ts +4 -3
  425. package/dist/types/components/list/z-list-element/index.d.ts +11 -7
  426. package/dist/types/components/list/z-list-group/index.d.ts +4 -3
  427. package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
  428. package/dist/types/components/logo/z-logo/index.d.ts +2 -1
  429. package/dist/types/components/modal/z-modal/index.d.ts +5 -4
  430. package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
  431. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +6 -5
  432. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +6 -5
  433. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +8 -7
  434. package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
  435. package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
  436. package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
  437. package/dist/types/components/navigation/z-link/index.d.ts +6 -7
  438. package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
  439. package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
  440. package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
  441. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
  442. package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
  443. package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
  444. package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
  445. package/dist/types/components/notification/z-notification/index.d.ts +6 -5
  446. package/dist/types/components/notification/z-toast-notification/index.d.ts +22 -21
  447. package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
  448. package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
  449. package/dist/types/components/typography/z-body/index.d.ts +4 -1
  450. package/dist/types/components/typography/z-heading/index.d.ts +4 -1
  451. package/dist/types/components/typography/z-typography/index.d.ts +8 -4
  452. package/dist/types/components/z-aria-alert/index.d.ts +5 -2
  453. package/dist/types/components/z-avatar/index.d.ts +3 -2
  454. package/dist/types/components/z-card/index.d.ts +8 -7
  455. package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
  456. package/dist/types/components/z-cover-hero/index.d.ts +3 -2
  457. package/dist/types/components/z-divider/index.d.ts +2 -1
  458. package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
  459. package/dist/types/components/z-info-reveal/index.d.ts +9 -7
  460. package/dist/types/components/z-offcanvas/index.d.ts +12 -11
  461. package/dist/types/components/z-pagination/index.d.ts +14 -13
  462. package/dist/types/components/z-popover/index.d.ts +7 -7
  463. package/dist/types/components/z-section-title/index.d.ts +3 -2
  464. package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
  465. package/dist/types/components/z-table/z-table/index.d.ts +5 -4
  466. package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
  467. package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
  468. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
  469. package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
  470. package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
  471. package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
  472. package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
  473. package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
  474. package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
  475. package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
  476. package/dist/types/components/z-tag/index.d.ts +2 -1
  477. package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
  478. package/dist/types/components.d.ts +255 -84
  479. package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
  480. package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
  481. package/dist/types/deprecated/z-button-deprecated/index.d.ts +6 -6
  482. package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
  483. package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
  484. package/dist/types/deprecated/z-input-deprecated/index.d.ts +24 -35
  485. package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
  486. package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
  487. package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
  488. package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
  489. package/dist/types/index.d.ts +4 -3
  490. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +4 -4
  491. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
  492. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
  493. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
  494. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  495. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +8 -14
  496. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
  497. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +6 -11
  498. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
  499. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
  500. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
  501. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +4 -4
  502. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
  503. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
  504. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
  505. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
  506. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
  507. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
  508. package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
  509. package/dist/types/snowflakes/myz/z-alert/index.d.ts +3 -3
  510. package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
  511. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +14 -14
  512. package/dist/types/stencil-public-runtime.d.ts +4 -15
  513. package/dist/types/utils/utils.d.ts +14 -7
  514. package/dist/web-components-library/index.esm.js +1 -1
  515. package/dist/web-components-library/p-01b7c613.entry.js +1 -0
  516. package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
  517. package/dist/web-components-library/p-0617465e.entry.js +1 -0
  518. package/dist/web-components-library/p-099ea215.entry.js +1 -0
  519. package/dist/web-components-library/p-0f21bfa5.entry.js +1 -0
  520. package/dist/web-components-library/p-14f11a64.entry.js +1 -0
  521. package/dist/web-components-library/p-182368ea.entry.js +1 -0
  522. package/dist/web-components-library/p-1d6cbf2f.entry.js +1 -0
  523. package/dist/web-components-library/p-1e1bc565.entry.js +1 -0
  524. package/dist/web-components-library/p-2177384f.entry.js +1 -0
  525. package/dist/web-components-library/p-25769717.entry.js +1 -0
  526. package/dist/web-components-library/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
  527. package/dist/web-components-library/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
  528. package/dist/web-components-library/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
  529. package/dist/web-components-library/p-31604337.entry.js +1 -0
  530. package/dist/web-components-library/p-31a4c8d5.entry.js +1 -0
  531. package/dist/web-components-library/p-348c5ada.entry.js +1 -0
  532. package/dist/web-components-library/p-3492096c.entry.js +1 -0
  533. package/dist/web-components-library/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
  534. package/dist/web-components-library/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
  535. package/dist/web-components-library/p-3dbe166d.entry.js +1 -0
  536. package/dist/web-components-library/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
  537. package/dist/web-components-library/p-42e2e594.entry.js +1 -0
  538. package/dist/web-components-library/p-43a7d01c.entry.js +1 -0
  539. package/dist/web-components-library/p-48134f75.entry.js +1 -0
  540. package/dist/web-components-library/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
  541. package/dist/web-components-library/p-4dc88c3f.entry.js +1 -0
  542. package/dist/web-components-library/p-4eeb77dc.entry.js +1 -0
  543. package/dist/web-components-library/p-4fe96235.entry.js +1 -0
  544. package/dist/web-components-library/p-594c9326.entry.js +1 -0
  545. package/dist/web-components-library/p-5b8ac754.entry.js +1 -0
  546. package/dist/web-components-library/p-5bba90cc.entry.js +1 -0
  547. package/dist/web-components-library/p-5bce77ba.entry.js +1 -0
  548. package/dist/web-components-library/p-5f111f4c.entry.js +1 -0
  549. package/dist/web-components-library/p-60ed0e4e.entry.js +1 -0
  550. package/dist/web-components-library/p-64102759.entry.js +1 -0
  551. package/dist/web-components-library/p-64309df9.entry.js +1 -0
  552. package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
  553. package/dist/web-components-library/p-6c08910a.entry.js +1 -0
  554. package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
  555. package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
  556. package/dist/web-components-library/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
  557. package/dist/web-components-library/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
  558. package/dist/web-components-library/p-7960c409.entry.js +1 -0
  559. package/dist/web-components-library/p-79940e8f.entry.js +1 -0
  560. package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
  561. package/dist/web-components-library/p-7b8149ca.entry.js +1 -0
  562. package/dist/web-components-library/p-7c80da52.entry.js +1 -0
  563. package/dist/web-components-library/p-7e3bb3e0.entry.js +1 -0
  564. package/dist/web-components-library/p-87942fb9.entry.js +1 -0
  565. package/dist/web-components-library/{p-d4681325.js → p-87fdd14f.js} +1 -1
  566. package/dist/web-components-library/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
  567. package/dist/web-components-library/p-9adedc68.entry.js +1 -0
  568. package/dist/web-components-library/p-9c0df331.entry.js +1 -0
  569. package/dist/web-components-library/p-9d9c0d4b.entry.js +1 -0
  570. package/dist/web-components-library/p-9f80c0b8.js +1 -0
  571. package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
  572. package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
  573. package/dist/web-components-library/p-aed38e5d.entry.js +1 -0
  574. package/dist/web-components-library/p-af6789f2.entry.js +1 -0
  575. package/dist/web-components-library/p-afc41eed.entry.js +1 -0
  576. package/dist/web-components-library/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
  577. package/dist/web-components-library/p-b1ea0074.entry.js +1 -0
  578. package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
  579. package/dist/web-components-library/p-b366ef8e.js +2 -0
  580. package/dist/web-components-library/p-b5861f58.entry.js +1 -0
  581. package/dist/web-components-library/{p-16c0ffce.js → p-bb15a265.js} +1 -1
  582. package/dist/web-components-library/p-bb413e2a.entry.js +1 -0
  583. package/dist/web-components-library/p-bb684454.entry.js +1 -0
  584. package/dist/web-components-library/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
  585. package/dist/web-components-library/p-bffc00d2.entry.js +1 -0
  586. package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
  587. package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
  588. package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
  589. package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
  590. package/dist/web-components-library/p-c9c51bd9.entry.js +1 -0
  591. package/dist/web-components-library/p-c9ebec8d.entry.js +1 -0
  592. package/dist/web-components-library/p-cb453344.entry.js +1 -0
  593. package/dist/web-components-library/p-cd1593fa.entry.js +1 -0
  594. package/dist/web-components-library/p-d056538a.entry.js +1 -0
  595. package/dist/web-components-library/p-daeb784d.entry.js +1 -0
  596. package/dist/web-components-library/p-e137a17f.entry.js +1 -0
  597. package/dist/web-components-library/p-e2b1cb25.entry.js +1 -0
  598. package/dist/web-components-library/p-e420edcc.entry.js +1 -0
  599. package/dist/web-components-library/p-eb0f18a9.entry.js +1 -0
  600. package/dist/web-components-library/p-eb612914.entry.js +1 -0
  601. package/dist/web-components-library/p-efdca379.entry.js +1 -0
  602. package/dist/web-components-library/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
  603. package/dist/web-components-library/p-f2136861.entry.js +1 -0
  604. package/dist/web-components-library/p-fb2d27b5.entry.js +1 -0
  605. package/dist/web-components-library/p-fd2a947c.entry.js +16 -0
  606. package/dist/web-components-library/p-ff000765.entry.js +1 -0
  607. package/{www/build/p-fd13128d.entry.js → dist/web-components-library/p-ff93eb04.entry.js} +1 -1
  608. package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
  609. package/dist/web-components-library/web-components-library.esm.js +1 -1
  610. package/package.json +24 -17
  611. package/react/index.d.ts +1 -1
  612. package/readme.md +91 -33
  613. package/src-react/index.ts +1 -1
  614. package/www/build/index.esm.js +1 -1
  615. package/www/build/p-01b7c613.entry.js +1 -0
  616. package/www/build/p-01cbf6d4.entry.js +1 -0
  617. package/www/build/p-0617465e.entry.js +1 -0
  618. package/www/build/p-099ea215.entry.js +1 -0
  619. package/www/build/p-0f21bfa5.entry.js +1 -0
  620. package/www/build/p-14f11a64.entry.js +1 -0
  621. package/www/build/p-182368ea.entry.js +1 -0
  622. package/www/build/p-1d6cbf2f.entry.js +1 -0
  623. package/www/build/p-1e1bc565.entry.js +1 -0
  624. package/www/build/p-2177384f.entry.js +1 -0
  625. package/www/build/p-25769717.entry.js +1 -0
  626. package/www/build/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
  627. package/www/build/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
  628. package/www/build/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
  629. package/www/build/p-31604337.entry.js +1 -0
  630. package/www/build/p-31a4c8d5.entry.js +1 -0
  631. package/www/build/p-348c5ada.entry.js +1 -0
  632. package/www/build/p-3492096c.entry.js +1 -0
  633. package/www/build/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
  634. package/www/build/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
  635. package/www/build/p-3dbe166d.entry.js +1 -0
  636. package/www/build/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
  637. package/www/build/p-42e2e594.entry.js +1 -0
  638. package/www/build/p-43a7d01c.entry.js +1 -0
  639. package/www/build/p-46a0f894.js +1 -0
  640. package/www/build/p-48134f75.entry.js +1 -0
  641. package/www/build/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
  642. package/www/build/p-4dc88c3f.entry.js +1 -0
  643. package/www/build/p-4eeb77dc.entry.js +1 -0
  644. package/www/build/p-4fe96235.entry.js +1 -0
  645. package/www/build/p-594c9326.entry.js +1 -0
  646. package/www/build/p-5b8ac754.entry.js +1 -0
  647. package/www/build/p-5bba90cc.entry.js +1 -0
  648. package/www/build/p-5bce77ba.entry.js +1 -0
  649. package/www/build/p-5f111f4c.entry.js +1 -0
  650. package/www/build/p-60ed0e4e.entry.js +1 -0
  651. package/www/build/p-64102759.entry.js +1 -0
  652. package/www/build/p-64309df9.entry.js +1 -0
  653. package/www/build/p-6a53a0d8.entry.js +1 -0
  654. package/www/build/p-6c08910a.entry.js +1 -0
  655. package/www/build/p-6fa0cef6.entry.js +1 -0
  656. package/www/build/p-71ff9b83.entry.js +1 -0
  657. package/www/build/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
  658. package/www/build/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
  659. package/www/build/p-7960c409.entry.js +1 -0
  660. package/www/build/p-79940e8f.entry.js +1 -0
  661. package/www/build/p-7a9d3944.entry.js +1 -0
  662. package/www/build/p-7b8149ca.entry.js +1 -0
  663. package/www/build/p-7c80da52.entry.js +1 -0
  664. package/www/build/p-7e3bb3e0.entry.js +1 -0
  665. package/www/build/p-87942fb9.entry.js +1 -0
  666. package/www/build/{p-d4681325.js → p-87fdd14f.js} +1 -1
  667. package/www/build/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
  668. package/www/build/p-9adedc68.entry.js +1 -0
  669. package/www/build/p-9c0df331.entry.js +1 -0
  670. package/www/build/p-9d9c0d4b.entry.js +1 -0
  671. package/www/build/p-9f80c0b8.js +1 -0
  672. package/www/build/p-a55ef7b5.entry.js +1 -0
  673. package/www/build/p-ae2dd723.entry.js +1 -0
  674. package/www/build/p-aed38e5d.entry.js +1 -0
  675. package/www/build/p-af6789f2.entry.js +1 -0
  676. package/www/build/p-afc41eed.entry.js +1 -0
  677. package/www/build/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
  678. package/www/build/p-b1ea0074.entry.js +1 -0
  679. package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
  680. package/www/build/p-b366ef8e.js +2 -0
  681. package/www/build/p-b5861f58.entry.js +1 -0
  682. package/www/build/{p-16c0ffce.js → p-bb15a265.js} +1 -1
  683. package/www/build/p-bb413e2a.entry.js +1 -0
  684. package/www/build/p-bb684454.entry.js +1 -0
  685. package/www/build/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
  686. package/www/build/p-bffc00d2.entry.js +1 -0
  687. package/www/build/p-c0d382bc.entry.js +1 -0
  688. package/www/build/p-c1c6988e.entry.js +1 -0
  689. package/www/build/p-c4b70baa.entry.js +1 -0
  690. package/www/build/p-c5ecf36a.entry.js +1 -0
  691. package/www/build/p-c9c51bd9.entry.js +1 -0
  692. package/www/build/p-c9ebec8d.entry.js +1 -0
  693. package/www/build/p-cb453344.entry.js +1 -0
  694. package/www/build/p-cd1593fa.entry.js +1 -0
  695. package/www/build/p-d056538a.entry.js +1 -0
  696. package/www/build/p-daeb784d.entry.js +1 -0
  697. package/www/build/p-e137a17f.entry.js +1 -0
  698. package/www/build/p-e2b1cb25.entry.js +1 -0
  699. package/www/build/p-e420edcc.entry.js +1 -0
  700. package/www/build/p-eb0f18a9.entry.js +1 -0
  701. package/www/build/p-eb612914.entry.js +1 -0
  702. package/www/build/p-efdca379.entry.js +1 -0
  703. package/www/build/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
  704. package/www/build/p-f2136861.entry.js +1 -0
  705. package/www/build/p-fb2d27b5.entry.js +1 -0
  706. package/www/build/p-fd2a947c.entry.js +16 -0
  707. package/www/build/p-ff000765.entry.js +1 -0
  708. package/{dist/web-components-library/p-fd13128d.entry.js → www/build/p-ff93eb04.entry.js} +1 -1
  709. package/www/build/p-ffacff3f.entry.js +1 -0
  710. package/www/build/web-components-library.esm.js +1 -1
  711. package/www/index.html +1 -1
  712. package/www/pages/file-upload.html +16 -4
  713. package/www/pages/notification.html +153 -69
  714. package/dist/cjs/index-1fda0714.js +0 -60
  715. package/dist/cjs/index-745c0423.js +0 -354
  716. package/dist/esm/index-8390ddaf.js +0 -354
  717. package/dist/esm/index-abb47b30.js +0 -58
  718. package/dist/web-components-library/p-01a95ddd.entry.js +0 -1
  719. package/dist/web-components-library/p-023e657c.entry.js +0 -1
  720. package/dist/web-components-library/p-03aa4a29.entry.js +0 -1
  721. package/dist/web-components-library/p-07af77be.entry.js +0 -1
  722. package/dist/web-components-library/p-0f0d8a17.entry.js +0 -1
  723. package/dist/web-components-library/p-137c1289.entry.js +0 -1
  724. package/dist/web-components-library/p-145ef56b.entry.js +0 -1
  725. package/dist/web-components-library/p-1c5cb6b6.entry.js +0 -1
  726. package/dist/web-components-library/p-1cb8f39f.entry.js +0 -1
  727. package/dist/web-components-library/p-1efa8cfe.entry.js +0 -1
  728. package/dist/web-components-library/p-204c6ec6.entry.js +0 -1
  729. package/dist/web-components-library/p-213d7163.entry.js +0 -1
  730. package/dist/web-components-library/p-21a1b6a9.entry.js +0 -1
  731. package/dist/web-components-library/p-242e410f.entry.js +0 -1
  732. package/dist/web-components-library/p-286363e2.js +0 -7
  733. package/dist/web-components-library/p-2ec1cc4b.entry.js +0 -1
  734. package/dist/web-components-library/p-33438244.entry.js +0 -1
  735. package/dist/web-components-library/p-3c715e7d.entry.js +0 -1
  736. package/dist/web-components-library/p-426c55e1.entry.js +0 -1
  737. package/dist/web-components-library/p-42d1707b.entry.js +0 -1
  738. package/dist/web-components-library/p-46f66301.entry.js +0 -1
  739. package/dist/web-components-library/p-470e984a.entry.js +0 -1
  740. package/dist/web-components-library/p-4725eda5.entry.js +0 -1
  741. package/dist/web-components-library/p-478dd7a6.entry.js +0 -1
  742. package/dist/web-components-library/p-4f4930b5.entry.js +0 -1
  743. package/dist/web-components-library/p-52ca86db.entry.js +0 -1
  744. package/dist/web-components-library/p-5a5dde20.entry.js +0 -1
  745. package/dist/web-components-library/p-5c30dfc5.entry.js +0 -1
  746. package/dist/web-components-library/p-6ab40b8f.entry.js +0 -1
  747. package/dist/web-components-library/p-6aba4f0a.entry.js +0 -1
  748. package/dist/web-components-library/p-6c7251f5.entry.js +0 -1
  749. package/dist/web-components-library/p-726b4fbd.entry.js +0 -1
  750. package/dist/web-components-library/p-728a61a6.js +0 -1
  751. package/dist/web-components-library/p-769ccc9f.entry.js +0 -1
  752. package/dist/web-components-library/p-79d4e03b.entry.js +0 -1
  753. package/dist/web-components-library/p-872c8d25.entry.js +0 -1
  754. package/dist/web-components-library/p-8779fc5f.entry.js +0 -1
  755. package/dist/web-components-library/p-8e480d71.entry.js +0 -1
  756. package/dist/web-components-library/p-9124fe26.entry.js +0 -1
  757. package/dist/web-components-library/p-951c50ad.entry.js +0 -16
  758. package/dist/web-components-library/p-9bbb27f7.entry.js +0 -1
  759. package/dist/web-components-library/p-9c83bf57.entry.js +0 -1
  760. package/dist/web-components-library/p-a30bbd0a.entry.js +0 -1
  761. package/dist/web-components-library/p-a3eeed2e.entry.js +0 -1
  762. package/dist/web-components-library/p-a88046a0.entry.js +0 -1
  763. package/dist/web-components-library/p-a9d0b418.entry.js +0 -1
  764. package/dist/web-components-library/p-aaa0752b.entry.js +0 -1
  765. package/dist/web-components-library/p-ad17a4a0.entry.js +0 -1
  766. package/dist/web-components-library/p-aee1f514.entry.js +0 -1
  767. package/dist/web-components-library/p-b02aa57c.entry.js +0 -1
  768. package/dist/web-components-library/p-b54faa73.entry.js +0 -1
  769. package/dist/web-components-library/p-b622a7fd.entry.js +0 -1
  770. package/dist/web-components-library/p-baa877db.entry.js +0 -1
  771. package/dist/web-components-library/p-beec82d9.entry.js +0 -1
  772. package/dist/web-components-library/p-bf7adc29.entry.js +0 -1
  773. package/dist/web-components-library/p-c1da93ee.entry.js +0 -1
  774. package/dist/web-components-library/p-c2a3f15d.entry.js +0 -1
  775. package/dist/web-components-library/p-c4f778d7.entry.js +0 -1
  776. package/dist/web-components-library/p-c633d2bb.entry.js +0 -1
  777. package/dist/web-components-library/p-c6b5ee23.entry.js +0 -1
  778. package/dist/web-components-library/p-c89cbfcc.entry.js +0 -1
  779. package/dist/web-components-library/p-cea7a294.entry.js +0 -1
  780. package/dist/web-components-library/p-d17ebc2f.js +0 -2
  781. package/dist/web-components-library/p-d1f8d75e.entry.js +0 -1
  782. package/dist/web-components-library/p-d29153f0.entry.js +0 -1
  783. package/dist/web-components-library/p-d665ca6b.entry.js +0 -1
  784. package/dist/web-components-library/p-d8aac365.entry.js +0 -1
  785. package/dist/web-components-library/p-e527ef6d.entry.js +0 -1
  786. package/dist/web-components-library/p-e88ad497.entry.js +0 -1
  787. package/dist/web-components-library/p-eb2634d3.entry.js +0 -1
  788. package/dist/web-components-library/p-eba1cdd9.entry.js +0 -1
  789. package/dist/web-components-library/p-ed9dc5b7.entry.js +0 -1
  790. package/dist/web-components-library/p-f0e73ccb.entry.js +0 -1
  791. package/dist/web-components-library/p-f4b9f544.entry.js +0 -1
  792. package/dist/web-components-library/p-f5c3d332.entry.js +0 -1
  793. package/dist/web-components-library/p-f724f7a1.entry.js +0 -1
  794. package/dist/web-components-library/p-f77d7a3f.entry.js +0 -1
  795. package/dist/web-components-library/p-fdb6e67b.entry.js +0 -1
  796. package/www/build/p-0109f1e9.js +0 -1
  797. package/www/build/p-01a95ddd.entry.js +0 -1
  798. package/www/build/p-023e657c.entry.js +0 -1
  799. package/www/build/p-03aa4a29.entry.js +0 -1
  800. package/www/build/p-07af77be.entry.js +0 -1
  801. package/www/build/p-0f0d8a17.entry.js +0 -1
  802. package/www/build/p-137c1289.entry.js +0 -1
  803. package/www/build/p-145ef56b.entry.js +0 -1
  804. package/www/build/p-1c5cb6b6.entry.js +0 -1
  805. package/www/build/p-1cb8f39f.entry.js +0 -1
  806. package/www/build/p-1efa8cfe.entry.js +0 -1
  807. package/www/build/p-204c6ec6.entry.js +0 -1
  808. package/www/build/p-213d7163.entry.js +0 -1
  809. package/www/build/p-21a1b6a9.entry.js +0 -1
  810. package/www/build/p-242e410f.entry.js +0 -1
  811. package/www/build/p-286363e2.js +0 -7
  812. package/www/build/p-2ec1cc4b.entry.js +0 -1
  813. package/www/build/p-33438244.entry.js +0 -1
  814. package/www/build/p-3c715e7d.entry.js +0 -1
  815. package/www/build/p-426c55e1.entry.js +0 -1
  816. package/www/build/p-42d1707b.entry.js +0 -1
  817. package/www/build/p-46f66301.entry.js +0 -1
  818. package/www/build/p-470e984a.entry.js +0 -1
  819. package/www/build/p-4725eda5.entry.js +0 -1
  820. package/www/build/p-478dd7a6.entry.js +0 -1
  821. package/www/build/p-4f4930b5.entry.js +0 -1
  822. package/www/build/p-52ca86db.entry.js +0 -1
  823. package/www/build/p-5a5dde20.entry.js +0 -1
  824. package/www/build/p-5c30dfc5.entry.js +0 -1
  825. package/www/build/p-6ab40b8f.entry.js +0 -1
  826. package/www/build/p-6aba4f0a.entry.js +0 -1
  827. package/www/build/p-6c7251f5.entry.js +0 -1
  828. package/www/build/p-726b4fbd.entry.js +0 -1
  829. package/www/build/p-728a61a6.js +0 -1
  830. package/www/build/p-769ccc9f.entry.js +0 -1
  831. package/www/build/p-79d4e03b.entry.js +0 -1
  832. package/www/build/p-872c8d25.entry.js +0 -1
  833. package/www/build/p-8779fc5f.entry.js +0 -1
  834. package/www/build/p-8e480d71.entry.js +0 -1
  835. package/www/build/p-9124fe26.entry.js +0 -1
  836. package/www/build/p-951c50ad.entry.js +0 -16
  837. package/www/build/p-9bbb27f7.entry.js +0 -1
  838. package/www/build/p-9c83bf57.entry.js +0 -1
  839. package/www/build/p-a30bbd0a.entry.js +0 -1
  840. package/www/build/p-a3eeed2e.entry.js +0 -1
  841. package/www/build/p-a88046a0.entry.js +0 -1
  842. package/www/build/p-a9d0b418.entry.js +0 -1
  843. package/www/build/p-aaa0752b.entry.js +0 -1
  844. package/www/build/p-ad17a4a0.entry.js +0 -1
  845. package/www/build/p-aee1f514.entry.js +0 -1
  846. package/www/build/p-b02aa57c.entry.js +0 -1
  847. package/www/build/p-b54faa73.entry.js +0 -1
  848. package/www/build/p-b622a7fd.entry.js +0 -1
  849. package/www/build/p-baa877db.entry.js +0 -1
  850. package/www/build/p-beec82d9.entry.js +0 -1
  851. package/www/build/p-bf7adc29.entry.js +0 -1
  852. package/www/build/p-c1da93ee.entry.js +0 -1
  853. package/www/build/p-c2a3f15d.entry.js +0 -1
  854. package/www/build/p-c4f778d7.entry.js +0 -1
  855. package/www/build/p-c633d2bb.entry.js +0 -1
  856. package/www/build/p-c6b5ee23.entry.js +0 -1
  857. package/www/build/p-c89cbfcc.entry.js +0 -1
  858. package/www/build/p-cea7a294.entry.js +0 -1
  859. package/www/build/p-d17ebc2f.js +0 -2
  860. package/www/build/p-d1f8d75e.entry.js +0 -1
  861. package/www/build/p-d29153f0.entry.js +0 -1
  862. package/www/build/p-d665ca6b.entry.js +0 -1
  863. package/www/build/p-d8aac365.entry.js +0 -1
  864. package/www/build/p-e527ef6d.entry.js +0 -1
  865. package/www/build/p-e88ad497.entry.js +0 -1
  866. package/www/build/p-eb2634d3.entry.js +0 -1
  867. package/www/build/p-eba1cdd9.entry.js +0 -1
  868. package/www/build/p-ed9dc5b7.entry.js +0 -1
  869. package/www/build/p-f0e73ccb.entry.js +0 -1
  870. package/www/build/p-f4b9f544.entry.js +0 -1
  871. package/www/build/p-f5c3d332.entry.js +0 -1
  872. package/www/build/p-f724f7a1.entry.js +0 -1
  873. package/www/build/p-f77d7a3f.entry.js +0 -1
  874. package/www/build/p-fdb6e67b.entry.js +0 -1
@@ -1,4 +1,5 @@
1
- import { h, } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
+ import { InputType } from "../../beans";
2
3
  /**
3
4
  * Pagination bar component.
4
5
  */
@@ -81,7 +82,7 @@ export class ZPagination {
81
82
  getPagesChunks() {
82
83
  // array of numbers from 1 to `totalPages`
83
84
  const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
84
- let chunks = [];
85
+ const chunks = [];
85
86
  const chunksCount = Math.ceil(pages.length / this._visiblePages);
86
87
  for (let index = 0; index < chunksCount; index++) {
87
88
  chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
@@ -128,14 +129,14 @@ export class ZPagination {
128
129
  }
129
130
  /**
130
131
  * Render chunked page buttons.
131
- * @returns {HTMLDivElement}
132
+ * @returns {HTMLDivElement[]}
132
133
  */
133
134
  renderPages() {
134
135
  const pagesChunks = this.getPagesChunks();
135
136
  if (pagesChunks.length <= 0) {
136
137
  return;
137
138
  }
138
- return pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))));
139
+ return pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))));
139
140
  }
140
141
  /**
141
142
  * Render page buttons when split feature is enabled.
@@ -155,8 +156,7 @@ export class ZPagination {
155
156
  this.renderPage(this.totalPages),
156
157
  ];
157
158
  }
158
- if (this.currentPage > this.split * 2 + 2 &&
159
- this.currentPage < this.totalPages - this.split * 2 - 1) {
159
+ if (this.currentPage > this.split * 2 + 2 && this.currentPage < this.totalPages - this.split * 2 - 1) {
160
160
  // Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
161
161
  return [
162
162
  this.renderPage(1),
@@ -184,10 +184,10 @@ export class ZPagination {
184
184
  return [
185
185
  this.label && h("span", { class: "page-label body-1-sb" }, this.label),
186
186
  h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
187
- 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) => {
187
+ 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) => {
188
188
  ev.preventDefault();
189
189
  this.selectPage(this.goToPageValue);
190
- } }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
190
+ } }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, onInput: (ev) => {
191
191
  this.goToPageValue = ev.target.value;
192
192
  }, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
193
193
  ];
@@ -196,7 +196,7 @@ export class ZPagination {
196
196
  this.setVisiblePages();
197
197
  }
198
198
  componentDidRender() {
199
- if (this.split) {
199
+ if (this.split !== 0) {
200
200
  this.edges = false;
201
201
  }
202
202
  this.setPagesContainerWidth();
@@ -204,14 +204,11 @@ export class ZPagination {
204
204
  }
205
205
  render() {
206
206
  if (this.isMobile) {
207
- return this.renderMobile();
207
+ return h(Host, null, this.renderMobile());
208
208
  }
209
- return [
210
- 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))),
211
- 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: "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
- ];
209
+ 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) => {
210
+ this.goToPageValue = ev.target.value;
211
+ }, 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"))))));
215
212
  }
216
213
  static get is() { return "z-pagination"; }
217
214
  static get originalStyleUrls() {
@@ -3,12 +3,11 @@ z-pagination {
3
3
  --z-pagination--pages-container-max-width: 100%;
4
4
 
5
5
  display: flex;
6
- flex-direction: column;
7
- gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);
8
6
  max-width: 100%;
9
- flex-wrap: wrap;
7
+ flex-flow: column wrap;
10
8
  font-family: var(--font-family-sans);
11
9
  font-weight: var(--font-rg);
10
+ gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);
12
11
  }
13
12
 
14
13
  z-pagination,
@@ -35,40 +34,37 @@ z-pagination .page-label {
35
34
 
36
35
  z-pagination .pagination-bar {
37
36
  display: flex;
38
- align-items: center;
39
- height: 48px;
40
37
  max-width: 100%;
38
+ height: 48px;
39
+ align-items: center;
41
40
  }
42
41
 
43
42
  z-pagination .pagination-bar button {
44
43
  display: flex;
45
44
  align-items: center;
46
45
  justify-content: center;
46
+ border: none;
47
47
  margin: 0;
48
48
  background-color: var(--color-surface03);
49
- transition: background-color .150s ease-out,
50
- color .150s ease-out,
51
- border-bottom-color .150s ease-out,
52
- font-size .150s ease-in-out,
53
- font-weight .150s ease-in-out;
54
49
  color: var(--color-primary01);
55
- border: none;
50
+ cursor: pointer;
56
51
  font-family: inherit;
57
52
  font-weight: inherit;
58
- cursor: pointer;
53
+ transition: background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,
54
+ font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out;
59
55
  }
60
56
 
61
57
  z-pagination .pagination-bar button:focus-visible {
62
- outline: none;
63
- box-shadow: inset var(--shadow-focus-primary);
64
58
  background-color: var(--color-hover-surface);
59
+ box-shadow: inset var(--shadow-focus-primary);
60
+ outline: none;
65
61
  }
66
62
 
67
63
  z-pagination .pagination-bar .pagination-button {
68
64
  padding: calc(var(--space-unit) * 2);
65
+ font-weight: var(--font-sb);
69
66
  text-transform: uppercase;
70
67
  white-space: nowrap;
71
- font-weight: var(--font-sb);
72
68
  }
73
69
 
74
70
  z-pagination .pagination-bar .navigation-button {
@@ -122,8 +118,8 @@ z-pagination .pagination-bar .page-button:focus-visible {
122
118
  }
123
119
 
124
120
  z-pagination .pagination-bar .page-button[data-current] {
125
- font-size: var(--font-size-7);
126
121
  border-bottom-color: var(--color-primary01);
122
+ font-size: var(--font-size-7);
127
123
  }
128
124
 
129
125
  z-pagination .go-to-page {
@@ -149,15 +145,15 @@ z-pagination .go-to-page .inputs z-input {
149
145
  z-pagination .go-to-page .inputs z-input input,
150
146
  z-pagination .mobile-go-to-page z-input input {
151
147
  padding: 0 calc(var(--space-unit) * 1.5) !important;
152
- -moz-appearance: none;
148
+ appearance: none;
153
149
  }
154
150
 
155
151
  z-pagination .mobile-go-to-page {
156
152
  display: flex;
157
- justify-content: center;
158
- align-items: center;
159
- flex: 1 auto;
160
153
  height: 100%;
154
+ flex: 1 auto;
155
+ align-items: center;
156
+ justify-content: center;
161
157
  background-color: var(--color-surface03);
162
158
  }
163
159
 
@@ -173,7 +169,6 @@ z-pagination .mobile-go-to-page z-input input {
173
169
  z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,
174
170
  z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button {
175
171
  appearance: none;
176
- -webkit-appearance: none;
177
172
  }
178
173
 
179
174
  z-pagination .mobile-go-to-page > span {
@@ -1,6 +1,6 @@
1
- import { h, } from "@stencil/core";
2
- import { PopoverPositions, KeyboardKeys } from "../../beans";
3
- const documentElement = document.documentElement;
1
+ import { h } from "@stencil/core";
2
+ import { PopoverPositions, KeyboardCode } from "../../beans";
3
+ const DOCUMENT_ELEMENT = document.documentElement;
4
4
  function getParentElement(element) {
5
5
  if (element.parentNode.host) {
6
6
  return element.parentNode.host;
@@ -14,24 +14,18 @@ function getParentElement(element) {
14
14
  */
15
15
  function findScrollableParent(element) {
16
16
  let parent = getParentElement(element);
17
- while (parent && parent !== documentElement) {
17
+ while (parent && parent !== DOCUMENT_ELEMENT) {
18
18
  const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
19
- if (overflow === "hidden" ||
20
- overflowY === "hidden" ||
21
- overflowX === "hidden") {
19
+ if (overflow === "hidden" || overflowY === "hidden" || overflowX === "hidden") {
22
20
  return parent;
23
21
  }
24
- if ((parent.scrollHeight > parent.clientHeight &&
25
- overflow !== "visible" &&
26
- overflowY !== "visible") ||
27
- (parent.scrollWidth > parent.clientWidth &&
28
- overflow !== "visible" &&
29
- overflowX !== "visible")) {
22
+ if ((parent.scrollHeight > parent.clientHeight && overflow !== "visible" && overflowY !== "visible") ||
23
+ (parent.scrollWidth > parent.clientWidth && overflow !== "visible" && overflowX !== "visible")) {
30
24
  return parent;
31
25
  }
32
26
  parent = getParentElement(parent);
33
27
  }
34
- return documentElement;
28
+ return DOCUMENT_ELEMENT;
35
29
  }
36
30
  /**
37
31
  * Calculate computed offset.
@@ -98,7 +92,7 @@ function computeOffset(element, targetParentOffset) {
98
92
  export class ZPopover {
99
93
  constructor() {
100
94
  /** Popover position. */
101
- this.position = PopoverPositions.auto;
95
+ this.position = PopoverPositions.AUTO;
102
96
  /**
103
97
  * The open state of the popover.
104
98
  */
@@ -117,7 +111,7 @@ export class ZPopover {
117
111
  this.closable = true;
118
112
  }
119
113
  closePopoverWithKeyboard(e) {
120
- if (this.closable && e.key === KeyboardKeys.ESC) {
114
+ if (this.closable && e.key === KeyboardCode.ESC) {
121
115
  this.open = false;
122
116
  }
123
117
  }
@@ -125,6 +119,7 @@ export class ZPopover {
125
119
  if (!this.closable) {
126
120
  return;
127
121
  }
122
+ // @ts-ignore
128
123
  const parent = e.path.find((elem) => elem === this.host);
129
124
  if (!parent) {
130
125
  this.open = false;
@@ -132,9 +127,8 @@ export class ZPopover {
132
127
  }
133
128
  }
134
129
  validatePosition(newValue) {
135
- if (newValue &&
136
- !Object.values(PopoverPositions).includes(newValue)) {
137
- this.position = PopoverPositions.auto;
130
+ if (newValue && !Object.values(PopoverPositions).includes(newValue)) {
131
+ this.position = PopoverPositions.AUTO;
138
132
  }
139
133
  this.currentPosition = this.position;
140
134
  this.positionChange.emit({ position: this.currentPosition });
@@ -153,8 +147,8 @@ export class ZPopover {
153
147
  };
154
148
  setPosition();
155
149
  }
156
- else if (this.host.hasAttribute('current-position')) {
157
- this.host.removeAttribute('current-position');
150
+ else if (this.host.hasAttribute("current-position")) {
151
+ this.host.removeAttribute("current-position");
158
152
  this.currentPosition = undefined;
159
153
  }
160
154
  this.openChange.emit({ open: this.open });
@@ -187,19 +181,11 @@ export class ZPopover {
187
181
  : { top: 0, right: 0, bottom: 0, left: 0 };
188
182
  const boundingRect = computeOffset(element, scrollContainer);
189
183
  const top = boundingRect.top - scrollContainer.scrollTop;
190
- const bottom = scrollingBoundingRect.height -
191
- (boundingRect.top + boundingRect.height) +
192
- scrollContainer.scrollTop;
184
+ const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
193
185
  const left = boundingRect.left - scrollContainer.scrollLeft;
194
- const right = scrollingBoundingRect.width -
195
- (boundingRect.left + boundingRect.width) +
196
- scrollContainer.scrollLeft;
197
- const overflowBottom = Math.max(0, scrollingBoundingRect.top +
198
- scrollingBoundingRect.height -
199
- window.innerHeight);
200
- const overflowRight = Math.max(0, scrollingBoundingRect.left +
201
- scrollingBoundingRect.width -
202
- window.innerWidth);
186
+ const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
187
+ const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
188
+ const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
203
189
  const availableTop = Math.min(top, top + scrollingBoundingRect.top);
204
190
  const availableBottom = Math.min(bottom, bottom - overflowBottom);
205
191
  const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
@@ -208,28 +194,28 @@ export class ZPopover {
208
194
  const availableWidth = availableLeft + availableRight + boundingRect.width;
209
195
  let position = this.currentPosition;
210
196
  const positions = [];
211
- if (this.position === PopoverPositions.auto) {
197
+ if (this.position === PopoverPositions.AUTO) {
212
198
  /**
213
199
  * The `AUTO` position tries to place the popover in the 'safest' area,
214
200
  * where there's more space available.
215
201
  */
216
202
  if (availableLeft / availableWidth > 0.6) {
217
- positions.push(PopoverPositions.left);
203
+ positions.push(PopoverPositions.LEFT);
218
204
  }
219
205
  else if (availableLeft / availableWidth < 0.4) {
220
- positions.push(PopoverPositions.right);
206
+ positions.push(PopoverPositions.RIGHT);
221
207
  }
222
208
  if (availableTop / availableHeight > 0.9) {
223
- positions.unshift(PopoverPositions.top);
209
+ positions.unshift(PopoverPositions.TOP);
224
210
  }
225
211
  else if (availableTop / availableHeight > 0.6) {
226
- positions.push(PopoverPositions.top);
212
+ positions.push(PopoverPositions.TOP);
227
213
  }
228
214
  else if (availableTop / availableHeight < 0.1) {
229
- positions.unshift(PopoverPositions.bottom);
215
+ positions.unshift(PopoverPositions.BOTTOM);
230
216
  }
231
217
  else {
232
- positions.push(PopoverPositions.bottom);
218
+ positions.push(PopoverPositions.BOTTOM);
233
219
  }
234
220
  position = positions.join("_");
235
221
  }
@@ -241,18 +227,17 @@ export class ZPopover {
241
227
  const offsetLeft = boundingRect.left - relativeBoundingRect.left;
242
228
  const offsetModifier = this.center ? 0.5 : 0;
243
229
  const sizeModifier = this.center ? 0.5 : 0;
244
- if (position === PopoverPositions.top ||
245
- position === PopoverPositions.top_right) {
230
+ if (position === PopoverPositions.TOP || position === PopoverPositions.TOP_RIGHT) {
246
231
  style.top = "auto";
247
232
  style.right = "auto";
248
233
  style.bottom = `${offsetBottom + boundingRect.height}px`;
249
234
  style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
250
235
  style.maxHeight = `${availableTop}px`;
251
- if (position === PopoverPositions.top_right) {
236
+ if (position === PopoverPositions.TOP_RIGHT) {
252
237
  style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
253
238
  }
254
239
  }
255
- else if (position === PopoverPositions.top_left) {
240
+ else if (position === PopoverPositions.TOP_LEFT) {
256
241
  style.top = "auto";
257
242
  style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
258
243
  style.bottom = `${offsetBottom + boundingRect.height}px`;
@@ -260,18 +245,17 @@ export class ZPopover {
260
245
  style.maxWidth = `${availableLeft}px`;
261
246
  style.maxHeight = `${availableTop}px`;
262
247
  }
263
- else if (position === PopoverPositions.bottom ||
264
- position === PopoverPositions.bottom_right) {
248
+ else if (position === PopoverPositions.BOTTOM || position === PopoverPositions.BOTTOM_RIGHT) {
265
249
  style.top = `${offsetTop + boundingRect.height}px`;
266
250
  style.right = "auto";
267
251
  style.bottom = "auto";
268
252
  style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
269
253
  style.maxHeight = `${availableBottom}px`;
270
- if (position === PopoverPositions.bottom_right) {
254
+ if (position === PopoverPositions.BOTTOM_RIGHT) {
271
255
  style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
272
256
  }
273
257
  }
274
- else if (position === PopoverPositions.bottom_left) {
258
+ else if (position === PopoverPositions.BOTTOM_LEFT) {
275
259
  style.top = `${offsetTop + boundingRect.height}px`;
276
260
  style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
277
261
  style.bottom = "auto";
@@ -279,8 +263,7 @@ export class ZPopover {
279
263
  style.maxWidth = `${availableLeft}px`;
280
264
  style.maxHeight = `${availableBottom}px`;
281
265
  }
282
- else if (position === PopoverPositions.right ||
283
- position === PopoverPositions.right_bottom) {
266
+ else if (position === PopoverPositions.RIGHT || position === PopoverPositions.RIGHT_BOTTOM) {
284
267
  style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
285
268
  style.right = "auto";
286
269
  style.bottom = "auto";
@@ -288,7 +271,7 @@ export class ZPopover {
288
271
  style.maxWidth = `${availableRight}px`;
289
272
  style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
290
273
  }
291
- else if (position === PopoverPositions.right_top) {
274
+ else if (position === PopoverPositions.RIGHT_TOP) {
292
275
  style.top = "auto";
293
276
  style.right = "auto";
294
277
  style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
@@ -296,8 +279,7 @@ export class ZPopover {
296
279
  style.maxWidth = `${availableRight}px`;
297
280
  style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
298
281
  }
299
- else if (position === PopoverPositions.left ||
300
- position === PopoverPositions.left_bottom) {
282
+ else if (position === PopoverPositions.LEFT || position === PopoverPositions.LEFT_BOTTOM) {
301
283
  style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
302
284
  style.right = `${offsetRight + boundingRect.width}px`;
303
285
  style.bottom = "auto";
@@ -305,7 +287,7 @@ export class ZPopover {
305
287
  style.maxWidth = `${availableLeft}px`;
306
288
  style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
307
289
  }
308
- else if (position === PopoverPositions.left_top) {
290
+ else if (position === PopoverPositions.LEFT_TOP) {
309
291
  style.top = "auto";
310
292
  style.right = `${offsetRight + boundingRect.width}px`;
311
293
  style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
@@ -314,7 +296,7 @@ export class ZPopover {
314
296
  style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
315
297
  }
316
298
  this.currentPosition = position || this.position;
317
- this.host.setAttribute('current-position', this.currentPosition);
299
+ this.host.setAttribute("current-position", this.currentPosition);
318
300
  }
319
301
  componentWillLoad() {
320
302
  this.validatePosition(this.position);
@@ -341,10 +323,10 @@ export class ZPopover {
341
323
  "type": "string",
342
324
  "mutable": false,
343
325
  "complexType": {
344
- "original": "PopoverPositionBean",
345
- "resolved": "\"auto\" | \"bottom\" | \"bottom_left\" | \"bottom_right\" | \"left\" | \"left_bottom\" | \"left_top\" | \"right\" | \"right_bottom\" | \"right_top\" | \"top\" | \"top_left\" | \"top_right\"",
326
+ "original": "PopoverPositions",
327
+ "resolved": "PopoverPositions.AUTO | PopoverPositions.BOTTOM | PopoverPositions.BOTTOM_LEFT | PopoverPositions.BOTTOM_RIGHT | PopoverPositions.LEFT | PopoverPositions.LEFT_BOTTOM | PopoverPositions.LEFT_TOP | PopoverPositions.RIGHT | PopoverPositions.RIGHT_BOTTOM | PopoverPositions.RIGHT_TOP | PopoverPositions.TOP | PopoverPositions.TOP_LEFT | PopoverPositions.TOP_RIGHT",
346
328
  "references": {
347
- "PopoverPositionBean": {
329
+ "PopoverPositions": {
348
330
  "location": "import",
349
331
  "path": "../../beans"
350
332
  }
@@ -358,7 +340,7 @@ export class ZPopover {
358
340
  },
359
341
  "attribute": "position",
360
342
  "reflect": true,
361
- "defaultValue": "PopoverPositions.auto"
343
+ "defaultValue": "PopoverPositions.AUTO"
362
344
  },
363
345
  "open": {
364
346
  "type": "boolean",
@@ -6,18 +6,18 @@
6
6
 
7
7
  position: relative;
8
8
  display: none;
9
+ min-width: calc(var(--space-unit) * 8);
10
+ min-height: calc(var(--space-unit) * 4);
9
11
  align-items: center;
10
12
  justify-content: center;
11
13
  padding: var(--z-popover-padding);
12
- min-width: calc(var(--space-unit) * 8);
13
- min-height: calc(var(--space-unit) * 4);
14
+ background: var(--z-popover-theme--surface);
15
+ border-radius: var(--border-radius-small);
14
16
  color: var(--z-popover-theme--text);
15
- fill: currentColor;
17
+ fill: currentcolor;
18
+ filter: var(--z-popover-shadow-filter);
16
19
  font-family: var(--font-family-sans);
17
20
  text-align: center;
18
- border-radius: var(--border-radius-small);
19
- background: var(--z-popover-theme--surface);
20
- filter: var(--z-popover-shadow-filter);
21
21
  }
22
22
 
23
23
  :host([open][current-position]),
@@ -59,12 +59,12 @@
59
59
  --arrow-center-x-offset: calc(50% - (var(--arrow-size) / 2));
60
60
  --arrow-center-y-offset: calc(100% - (var(--arrow-size) / 2));
61
61
 
62
- display: block;
63
- content: "";
64
62
  position: absolute;
63
+ display: block;
65
64
  width: var(--arrow-size);
66
65
  height: var(--arrow-size);
67
66
  background: var(--z-popover-theme--surface);
67
+ content: "";
68
68
  transform: rotate(45deg);
69
69
  }
70
70
 
@@ -142,6 +142,6 @@
142
142
  }
143
143
 
144
144
  ::slotted(*) {
145
- flex: 1 auto;
146
145
  overflow: auto;
146
+ flex: 1 auto;
147
147
  }
@@ -1,5 +1,5 @@
1
- import { h } from "@stencil/core";
2
- import { DividerSize, ZSectionTitleDividerPositions, } from "../../beans";
1
+ import { h, Host } from "@stencil/core";
2
+ import { DividerSize, ZSectionTitleDividerPosition } from "../../beans";
3
3
  /**
4
4
  * Section title component.
5
5
  * An optional secondary title can be put over the primary one.
@@ -15,7 +15,7 @@ export class ZSectionTitle {
15
15
  * Divider position for the primary title.
16
16
  * This prop only works if the secondary title is not set.
17
17
  */
18
- this.dividerPosition = ZSectionTitleDividerPositions.before;
18
+ this.dividerPosition = ZSectionTitleDividerPosition.BEFORE;
19
19
  /**
20
20
  * Whether the primary title text is uppercase.
21
21
  */
@@ -25,16 +25,7 @@ export class ZSectionTitle {
25
25
  this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
26
26
  }
27
27
  render() {
28
- return [
29
- h("slot", { name: "secondary-title" }),
30
- !this.hasSecondaryTitle &&
31
- this.dividerPosition == ZSectionTitleDividerPositions.before &&
32
- h("z-divider", { size: DividerSize.large, color: "z-section-title--divider-color" }),
33
- h("slot", { name: "primary-title" }),
34
- !this.hasSecondaryTitle &&
35
- this.dividerPosition == ZSectionTitleDividerPositions.after &&
36
- h("z-divider", { size: DividerSize.large, color: "z-section-title--divider-color" }),
37
- ];
28
+ return (h(Host, null, h("slot", { name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
38
29
  }
39
30
  static get is() { return "z-section-title"; }
40
31
  static get encapsulation() { return "shadow"; }
@@ -55,7 +46,7 @@ export class ZSectionTitle {
55
46
  "mutable": false,
56
47
  "complexType": {
57
48
  "original": "ZSectionTitleDividerPosition",
58
- "resolved": "\"after\" | \"before\"",
49
+ "resolved": "ZSectionTitleDividerPosition.AFTER | ZSectionTitleDividerPosition.BEFORE",
59
50
  "references": {
60
51
  "ZSectionTitleDividerPosition": {
61
52
  "location": "import",
@@ -71,7 +62,7 @@ export class ZSectionTitle {
71
62
  },
72
63
  "attribute": "divider-position",
73
64
  "reflect": false,
74
- "defaultValue": "ZSectionTitleDividerPositions.before"
65
+ "defaultValue": "ZSectionTitleDividerPosition.BEFORE"
75
66
  },
76
67
  "uppercase": {
77
68
  "type": "boolean",
@@ -2,9 +2,9 @@
2
2
  --z-section-title--divider-color: var(--red500);
3
3
 
4
4
  display: flex;
5
+ width: fit-content;
5
6
  flex-direction: column;
6
7
  align-items: flex-start;
7
- width: fit-content;
8
8
  font-family: var(--font-family-sans);
9
9
  font-weight: var(--font-rg);
10
10
  }
@@ -21,9 +21,9 @@
21
21
  ::slotted([slot="secondary-title"]) {
22
22
  padding-bottom: calc(var(--space-unit) / 2);
23
23
  border-bottom: var(--border-size-large) solid var(--z-section-title--divider-color);
24
- text-transform: uppercase;
25
24
  font-size: var(--font-size-3);
26
25
  line-height: 1.5rem;
26
+ text-transform: uppercase;
27
27
  }
28
28
 
29
29
  ::slotted([slot="primary-title"]) {
@@ -1,4 +1,4 @@
1
- import { h, Host, } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
2
  import { getElementTree, handleKeyboardSubmit } from "../../utils/utils";
3
3
  import { ThemeVariant } from "../../beans";
4
4
  /**
@@ -12,47 +12,45 @@ export class ZSkipToContent {
12
12
  this.visibleLink = "";
13
13
  }
14
14
  handleFocusOutSkipToContent(e) {
15
- if (this.isInSkipToContent(e.target))
15
+ if (this.isInSkipToContent(e.target)) {
16
16
  this.visible = false;
17
+ }
17
18
  }
18
19
  handleFocusSkipToContent(e) {
19
- if (this.isInSkipToContent(e.target))
20
+ if (this.isInSkipToContent(e.target)) {
20
21
  this.visible = true;
22
+ }
21
23
  }
22
24
  componentDidLoad() {
23
25
  this.showFirstChild();
24
26
  }
25
27
  componentWillRender() {
26
28
  if (this.links) {
27
- this.links =
28
- typeof this.links === "string" ? JSON.parse(this.links) : this.links;
29
+ this.links = typeof this.links === "string" ? JSON.parse(this.links) : this.links;
29
30
  }
30
31
  }
31
32
  isInSkipToContent(elem) {
32
33
  const tree = getElementTree(elem);
33
34
  const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
34
- if (menuParent)
35
- return true;
36
- return false;
37
- }
38
- getFirstChild() {
39
- const children = this.hostElement.children;
40
- if (children.length)
41
- return children[0];
42
- return false;
35
+ return !!menuParent;
43
36
  }
44
37
  showFirstChild() {
45
- const firstChild = this.getFirstChild();
46
- if (firstChild)
38
+ var _a;
39
+ const firstChild = (_a = this.hostElement.children) === null || _a === void 0 ? void 0 : _a[0];
40
+ if (firstChild) {
47
41
  this.visibleLink = firstChild.id;
42
+ }
48
43
  }
49
44
  handleLinkClick() {
50
45
  this.visible = false;
51
46
  }
52
47
  render() {
53
- return (h(Host, { class: `${this.variant} ${this.visible && "skip-to-content-visible"} `, ref: (el) => el }, this.links.map((link, i) => {
48
+ return (h(Host, { class: {
49
+ [this.variant]: true,
50
+ "skip-to-content-visible": this.visible,
51
+ } }, this.links.map((link, i) => {
54
52
  const id = `skip-to-content-${i}`;
55
- return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.dark ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
53
+ return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.DARK ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
56
54
  })));
57
55
  }
58
56
  static get is() { return "z-skip-to-content"; }
@@ -74,7 +72,7 @@ export class ZSkipToContent {
74
72
  "mutable": false,
75
73
  "complexType": {
76
74
  "original": "ThemeVariant",
77
- "resolved": "ThemeVariant.dark | ThemeVariant.light",
75
+ "resolved": "ThemeVariant.DARK | ThemeVariant.LIGHT",
78
76
  "references": {
79
77
  "ThemeVariant": {
80
78
  "location": "import",