@zanichelli/albe-web-components 6.0.4 → 6.1.0-a1

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 (593) hide show
  1. package/CHANGELOG.md +0 -8
  2. package/dist/cjs/index.cjs.js +346 -302
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{utils-ce225fb3.js → utils-7c92be74.js} +4 -5
  5. package/dist/cjs/{utils-ebe45309.js → utils-f681590c.js} +10 -11
  6. package/dist/cjs/web-components-library.cjs.js +2 -2
  7. package/dist/cjs/z-alert.cjs.entry.js +1 -0
  8. package/dist/cjs/z-app-header.cjs.entry.js +7 -29
  9. package/dist/cjs/z-app-switcher_9.cjs.entry.js +84 -70
  10. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -3
  11. package/dist/cjs/z-avatar.cjs.entry.js +6 -8
  12. package/dist/cjs/z-body_2.cjs.entry.js +4 -2
  13. package/dist/cjs/z-button-deprecated.cjs.entry.js +6 -12
  14. package/dist/cjs/z-button-filter.cjs.entry.js +2 -3
  15. package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
  16. package/dist/cjs/z-button.cjs.entry.js +8 -9
  17. package/dist/cjs/z-card.cjs.entry.js +6 -6
  18. package/dist/cjs/z-carousel.cjs.entry.js +11 -10
  19. package/dist/cjs/z-chip-deprecated.cjs.entry.js +2 -0
  20. package/dist/cjs/z-chip.cjs.entry.js +5 -6
  21. package/dist/cjs/z-combobox.cjs.entry.js +15 -17
  22. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -8
  23. package/dist/cjs/z-cookiebar.cjs.entry.js +4 -2
  24. package/dist/cjs/z-cover-hero.cjs.entry.js +6 -14
  25. package/dist/cjs/z-date-picker.cjs.entry.js +16 -17
  26. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
  27. package/dist/cjs/z-file-upload.cjs.entry.js +17 -16
  28. package/dist/cjs/z-file.cjs.entry.js +3 -2
  29. package/dist/cjs/z-footer-link_3.cjs.entry.js +5 -0
  30. package/dist/cjs/z-footer.cjs.entry.js +7 -2
  31. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -6
  33. package/dist/cjs/z-input-deprecated.cjs.entry.js +28 -29
  34. package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
  35. package/dist/cjs/z-list-group.cjs.entry.js +4 -17
  36. package/dist/cjs/z-list_2.cjs.entry.js +19 -55
  37. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +7 -3
  38. package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
  39. package/dist/cjs/z-menu.cjs.entry.js +3 -10
  40. package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
  41. package/dist/cjs/z-modal-login.cjs.entry.js +7 -5
  42. package/dist/cjs/z-modal.cjs.entry.js +3 -1
  43. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  44. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -6
  45. package/dist/cjs/z-myz-card-footer.cjs.entry.js +8 -6
  46. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
  47. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -4
  48. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
  49. package/dist/cjs/z-myz-card_4.cjs.entry.js +15 -9
  50. package/dist/cjs/z-myz-list-item.cjs.entry.js +6 -4
  51. package/dist/cjs/z-myz-topbar.cjs.entry.js +14 -4
  52. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +8 -16
  53. package/dist/cjs/z-navigation-tab.cjs.entry.js +7 -17
  54. package/dist/cjs/z-navigation-tabs.cjs.entry.js +10 -14
  55. package/dist/cjs/z-notification.cjs.entry.js +3 -6
  56. package/dist/cjs/z-offcanvas.cjs.entry.js +4 -12
  57. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  58. package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -6
  59. package/dist/cjs/z-pagination-page.cjs.entry.js +2 -4
  60. package/dist/cjs/z-pagination.cjs.entry.js +7 -15
  61. package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
  62. package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
  63. package/dist/cjs/z-popover-deprecated.cjs.entry.js +8 -15
  64. package/dist/cjs/z-popover.cjs.entry.js +31 -36
  65. package/dist/cjs/z-section-title.cjs.entry.js +2 -10
  66. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -4
  67. package/dist/cjs/z-slideshow.cjs.entry.js +6 -4
  68. package/dist/cjs/z-status-tag.cjs.entry.js +5 -3
  69. package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
  70. package/dist/cjs/z-table-cell.cjs.entry.js +3 -4
  71. package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
  72. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
  73. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
  74. package/dist/cjs/z-table-header.cjs.entry.js +15 -16
  75. package/dist/cjs/z-table-row.cjs.entry.js +4 -6
  76. package/dist/cjs/z-table.cjs.entry.js +9 -12
  77. package/dist/cjs/z-tag.cjs.entry.js +2 -0
  78. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -4
  79. package/dist/cjs/z-toast-notification.cjs.entry.js +17 -14
  80. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  81. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -7
  82. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +32 -27
  83. package/dist/cjs/z-tooltip.cjs.entry.js +2 -7
  84. package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
  85. package/dist/collection/collection-manifest.json +1 -1
  86. package/dist/collection/components/buttons/z-button/index.js +8 -9
  87. package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
  88. package/dist/collection/components/buttons/z-chip/index.js +4 -5
  89. package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
  90. package/dist/collection/components/buttons/z-toggle-switch/index.js +1 -6
  91. package/dist/collection/components/date-picker/utils.js +10 -11
  92. package/dist/collection/components/date-picker/z-date-picker/index.js +15 -16
  93. package/dist/collection/components/date-picker/z-range-picker/index.js +15 -12
  94. package/dist/collection/components/file-upload/z-file/index.js +3 -2
  95. package/dist/collection/components/file-upload/z-file-upload/index.js +17 -16
  96. package/dist/collection/components/footer/z-footer/index.js +7 -2
  97. package/dist/collection/components/footer/z-footer-link/index.js +3 -0
  98. package/dist/collection/components/footer/z-footer-section/index.js +1 -0
  99. package/dist/collection/components/footer/z-footer-social/index.js +5 -0
  100. package/dist/collection/components/icons/z-icon/index.js +7 -0
  101. package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
  102. package/dist/collection/components/inputs/z-combobox/index.js +14 -16
  103. package/dist/collection/components/inputs/z-input/index.js +40 -37
  104. package/dist/collection/components/inputs/z-input-message/index.js +2 -0
  105. package/dist/collection/components/inputs/z-select/index.js +14 -15
  106. package/dist/collection/components/list/z-list/index.js +1 -5
  107. package/dist/collection/components/list/z-list-element/index.js +18 -51
  108. package/dist/collection/components/list/z-list-group/index.js +4 -17
  109. package/dist/collection/components/list/z-toast-notification-list/index.js +1 -4
  110. package/dist/collection/components/logo/z-logo/index.js +8 -0
  111. package/dist/collection/components/modal/z-modal/index.js +3 -1
  112. package/dist/collection/components/modal/z-modal-login/index.js +7 -5
  113. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +7 -17
  114. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +8 -16
  115. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +10 -14
  116. package/dist/collection/components/navigation/z-app-header/index.js +7 -29
  117. package/dist/collection/components/navigation/z-app-switcher/index.js +1 -3
  118. package/dist/collection/components/navigation/z-app-topbar/index.js +8 -5
  119. package/dist/collection/components/navigation/z-link/index.js +3 -9
  120. package/dist/collection/components/navigation/z-menu/index.js +3 -10
  121. package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -2
  122. package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
  123. package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
  124. package/dist/collection/components/notification/z-cookiebar/index.js +6 -2
  125. package/dist/collection/components/notification/z-info-box/index.js +1 -1
  126. package/dist/collection/components/notification/z-notification/index.js +3 -6
  127. package/dist/collection/components/notification/z-toast-notification/index.js +17 -14
  128. package/dist/collection/components/notification/z-tooltip/index.js +2 -7
  129. package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
  130. package/dist/collection/components/typography/z-body/index.js +2 -1
  131. package/dist/collection/components/typography/z-heading/index.js +2 -1
  132. package/dist/collection/components/typography/z-typography/index.js +2 -1
  133. package/dist/collection/components/z-aria-alert/index.js +1 -3
  134. package/dist/collection/components/z-avatar/index.js +6 -8
  135. package/dist/collection/components/z-card/index.js +6 -6
  136. package/dist/collection/components/z-carousel/index.js +11 -10
  137. package/dist/collection/components/z-contextual-menu/index.js +2 -8
  138. package/dist/collection/components/z-cover-hero/index.js +6 -14
  139. package/dist/collection/components/z-divider/index.js +2 -6
  140. package/dist/collection/components/z-info-reveal/index.js +2 -6
  141. package/dist/collection/components/z-offcanvas/index.js +4 -12
  142. package/dist/collection/components/z-pagination/index.js +7 -15
  143. package/dist/collection/components/z-popover/index.js +30 -35
  144. package/dist/collection/components/z-section-title/index.js +2 -10
  145. package/dist/collection/components/z-skip-to-content/index.js +2 -3
  146. package/dist/collection/components/z-table/z-table/index.js +9 -12
  147. package/dist/collection/components/z-table/z-table-cell/index.js +3 -4
  148. package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
  149. package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
  150. package/dist/collection/components/z-table/z-table-header/index.js +14 -15
  151. package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
  152. package/dist/collection/components/z-table/z-table-row/index.js +4 -6
  153. package/dist/collection/components/z-tag/index.js +4 -0
  154. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
  155. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +2 -4
  156. package/dist/collection/deprecated/z-button-deprecated/index.js +6 -12
  157. package/dist/collection/deprecated/z-button-filter/index.js +2 -3
  158. package/dist/collection/deprecated/z-chip-deprecated/index.js +4 -0
  159. package/dist/collection/deprecated/z-input-deprecated/index.js +27 -28
  160. package/dist/collection/deprecated/z-input-label/index.js +2 -1
  161. package/dist/collection/deprecated/z-popover-deprecated/index.js +7 -14
  162. package/dist/collection/deprecated/z-status-tag/index.js +5 -3
  163. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +32 -27
  164. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +5 -6
  165. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +8 -3
  166. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
  167. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +3 -6
  168. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -6
  169. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +6 -4
  170. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
  171. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -3
  172. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
  173. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
  174. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
  175. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
  176. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +11 -12
  177. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +2 -3
  178. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
  179. package/dist/collection/snowflakes/myz/topbar/index.js +14 -4
  180. package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
  181. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
  182. package/dist/collection/snowflakes/myz/z-slideshow/index.js +5 -3
  183. package/dist/collection/utils/utils.js +4 -5
  184. package/dist/esm/index.js +347 -3
  185. package/dist/esm/loader.js +2 -2
  186. package/dist/esm/{utils-39ca028c.js → utils-420e8552.js} +4 -5
  187. package/dist/esm/{utils-fbe04cd6.js → utils-ff91a03a.js} +10 -11
  188. package/dist/esm/web-components-library.js +2 -2
  189. package/dist/esm/z-alert.entry.js +1 -0
  190. package/dist/esm/z-app-header.entry.js +7 -29
  191. package/dist/esm/z-app-switcher_9.entry.js +84 -70
  192. package/dist/esm/z-aria-alert.entry.js +1 -3
  193. package/dist/esm/z-avatar.entry.js +6 -8
  194. package/dist/esm/z-body_2.entry.js +4 -2
  195. package/dist/esm/z-button-deprecated.entry.js +6 -12
  196. package/dist/esm/z-button-filter.entry.js +2 -3
  197. package/dist/esm/z-button-sort.entry.js +4 -4
  198. package/dist/esm/z-button.entry.js +8 -9
  199. package/dist/esm/z-card.entry.js +6 -6
  200. package/dist/esm/z-carousel.entry.js +11 -10
  201. package/dist/esm/z-chip-deprecated.entry.js +2 -0
  202. package/dist/esm/z-chip.entry.js +5 -6
  203. package/dist/esm/z-combobox.entry.js +15 -17
  204. package/dist/esm/z-contextual-menu.entry.js +2 -8
  205. package/dist/esm/z-cookiebar.entry.js +4 -2
  206. package/dist/esm/z-cover-hero.entry.js +6 -14
  207. package/dist/esm/z-date-picker.entry.js +16 -17
  208. package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
  209. package/dist/esm/z-file-upload.entry.js +17 -16
  210. package/dist/esm/z-file.entry.js +3 -2
  211. package/dist/esm/z-footer-link_3.entry.js +5 -0
  212. package/dist/esm/z-footer.entry.js +7 -2
  213. package/dist/esm/z-info-box.entry.js +1 -1
  214. package/dist/esm/z-info-reveal.entry.js +2 -6
  215. package/dist/esm/z-input-deprecated.entry.js +28 -29
  216. package/dist/esm/z-input-label_2.entry.js +17 -17
  217. package/dist/esm/z-list-group.entry.js +4 -17
  218. package/dist/esm/z-list_2.entry.js +19 -55
  219. package/dist/esm/z-menu-dropdown_2.entry.js +7 -3
  220. package/dist/esm/z-menu-section.entry.js +3 -0
  221. package/dist/esm/z-menu.entry.js +3 -10
  222. package/dist/esm/z-messages-pocket.entry.js +6 -6
  223. package/dist/esm/z-modal-login.entry.js +7 -5
  224. package/dist/esm/z-modal.entry.js +3 -1
  225. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  226. package/dist/esm/z-myz-card-dictionary.entry.js +3 -6
  227. package/dist/esm/z-myz-card-footer.entry.js +8 -6
  228. package/dist/esm/z-myz-card-icon.entry.js +1 -2
  229. package/dist/esm/z-myz-card-info.entry.js +3 -4
  230. package/dist/esm/z-myz-card-list.entry.js +1 -0
  231. package/dist/esm/z-myz-card_4.entry.js +15 -9
  232. package/dist/esm/z-myz-list-item.entry.js +6 -4
  233. package/dist/esm/z-myz-topbar.entry.js +14 -4
  234. package/dist/esm/z-navigation-tab-link.entry.js +8 -16
  235. package/dist/esm/z-navigation-tab.entry.js +7 -17
  236. package/dist/esm/z-navigation-tabs.entry.js +10 -14
  237. package/dist/esm/z-notification.entry.js +3 -6
  238. package/dist/esm/z-offcanvas.entry.js +4 -12
  239. package/dist/esm/z-otp.entry.js +3 -3
  240. package/dist/esm/z-pagination-bar.entry.js +5 -6
  241. package/dist/esm/z-pagination-page.entry.js +2 -4
  242. package/dist/esm/z-pagination.entry.js +7 -15
  243. package/dist/esm/z-panel-elem.entry.js +7 -2
  244. package/dist/esm/z-pocket_3.entry.js +15 -15
  245. package/dist/esm/z-popover-deprecated.entry.js +8 -15
  246. package/dist/esm/z-popover.entry.js +31 -36
  247. package/dist/esm/z-section-title.entry.js +2 -10
  248. package/dist/esm/z-skip-to-content.entry.js +3 -4
  249. package/dist/esm/z-slideshow.entry.js +6 -4
  250. package/dist/esm/z-status-tag.entry.js +5 -3
  251. package/dist/esm/z-stepper-item.entry.js +4 -0
  252. package/dist/esm/z-table-cell.entry.js +3 -4
  253. package/dist/esm/z-table-empty-box.entry.js +0 -2
  254. package/dist/esm/z-table-expanded-row.entry.js +1 -0
  255. package/dist/esm/z-table-header-row.entry.js +1 -0
  256. package/dist/esm/z-table-header.entry.js +15 -16
  257. package/dist/esm/z-table-row.entry.js +4 -6
  258. package/dist/esm/z-table.entry.js +9 -12
  259. package/dist/esm/z-tag.entry.js +2 -0
  260. package/dist/esm/z-toast-notification-list.entry.js +1 -4
  261. package/dist/esm/z-toast-notification.entry.js +17 -14
  262. package/dist/esm/z-toggle-button.entry.js +2 -2
  263. package/dist/esm/z-toggle-switch.entry.js +2 -7
  264. package/dist/esm/z-tooltip-deprecated.entry.js +32 -27
  265. package/dist/esm/z-tooltip.entry.js +2 -7
  266. package/dist/esm/z-user-dropdown.entry.js +5 -1
  267. package/dist/types/beans/index.d.ts +50 -50
  268. package/dist/types/components/file-upload/z-file-upload/index.d.ts +1 -1
  269. package/dist/types/stencil-public-runtime.d.ts +5 -0
  270. package/dist/web-components-library/index.esm.js +1 -1
  271. package/dist/web-components-library/p-016b2800.entry.js +1 -0
  272. package/dist/web-components-library/p-04908405.entry.js +1 -0
  273. package/dist/web-components-library/p-06430481.entry.js +1 -0
  274. package/dist/web-components-library/p-067bd5da.entry.js +1 -0
  275. package/dist/web-components-library/p-082d65b1.entry.js +1 -0
  276. package/dist/web-components-library/p-0cff6cce.entry.js +1 -0
  277. package/dist/web-components-library/p-0e743002.entry.js +1 -0
  278. package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
  279. package/dist/web-components-library/p-12211a48.entry.js +1 -0
  280. package/dist/web-components-library/p-14233b99.entry.js +1 -0
  281. package/dist/web-components-library/p-176256ee.js +1 -0
  282. package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
  283. package/dist/web-components-library/p-1d2d5232.entry.js +1 -0
  284. package/dist/web-components-library/p-20109d3a.entry.js +1 -0
  285. package/dist/web-components-library/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
  286. package/dist/web-components-library/p-2cf26585.entry.js +1 -0
  287. package/dist/web-components-library/p-2d506c48.entry.js +1 -0
  288. package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
  289. package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
  290. package/dist/web-components-library/p-2f6f3729.entry.js +1 -0
  291. package/dist/web-components-library/p-30cbafaf.entry.js +1 -0
  292. package/dist/web-components-library/p-341ddb5d.entry.js +1 -0
  293. package/dist/web-components-library/p-34a96008.entry.js +1 -0
  294. package/dist/web-components-library/p-35b30271.entry.js +1 -0
  295. package/dist/web-components-library/p-36f4ce3f.entry.js +1 -0
  296. package/dist/web-components-library/p-3c28f72e.entry.js +1 -0
  297. package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
  298. package/dist/web-components-library/p-3e414cf1.entry.js +1 -0
  299. package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
  300. package/dist/web-components-library/p-40f96085.entry.js +1 -0
  301. package/{www/build/p-4d42f224.entry.js → dist/web-components-library/p-48624926.entry.js} +1 -1
  302. package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  303. package/dist/web-components-library/p-53d22727.entry.js +1 -0
  304. package/dist/web-components-library/p-563529f8.entry.js +1 -0
  305. package/dist/web-components-library/p-57faab40.entry.js +1 -0
  306. package/dist/web-components-library/p-5b2d8a91.entry.js +1 -0
  307. package/dist/web-components-library/p-6037dce0.entry.js +1 -0
  308. package/dist/web-components-library/p-670232c4.entry.js +1 -0
  309. package/dist/web-components-library/p-67f346d9.entry.js +1 -0
  310. package/dist/web-components-library/p-691678c8.entry.js +1 -0
  311. package/dist/web-components-library/p-69b27fe9.entry.js +16 -0
  312. package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
  313. package/dist/web-components-library/p-728e7dcd.entry.js +1 -0
  314. package/dist/web-components-library/p-74e31a32.entry.js +1 -0
  315. package/dist/web-components-library/p-759fb7c4.entry.js +1 -0
  316. package/dist/web-components-library/p-79223014.entry.js +1 -0
  317. package/dist/web-components-library/p-7b22a446.entry.js +1 -0
  318. package/dist/web-components-library/p-7c40fb15.entry.js +1 -0
  319. package/dist/web-components-library/p-7cbc1836.entry.js +1 -0
  320. package/dist/web-components-library/p-830b21a4.entry.js +1 -0
  321. package/dist/web-components-library/p-87099b68.entry.js +1 -0
  322. package/dist/web-components-library/p-8cabed58.entry.js +1 -0
  323. package/dist/web-components-library/p-8cf14a47.entry.js +1 -0
  324. package/dist/web-components-library/p-8eaa46ac.entry.js +1 -0
  325. package/dist/web-components-library/p-985c5ed8.entry.js +1 -0
  326. package/dist/web-components-library/p-9f6b43a0.entry.js +1 -0
  327. package/dist/web-components-library/p-9f8d0f79.entry.js +1 -0
  328. package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
  329. package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
  330. package/dist/web-components-library/p-ac1a9d63.entry.js +1 -0
  331. package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
  332. package/dist/web-components-library/p-ba495cad.entry.js +1 -0
  333. package/dist/web-components-library/p-ba9210e9.entry.js +1 -0
  334. package/dist/web-components-library/p-bf9348e6.entry.js +1 -0
  335. package/dist/web-components-library/p-c0df6e96.entry.js +1 -0
  336. package/dist/web-components-library/p-c2b368ff.entry.js +1 -0
  337. package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
  338. package/dist/web-components-library/p-cadba1e5.entry.js +1 -0
  339. package/dist/web-components-library/p-ccb3764b.entry.js +1 -0
  340. package/dist/web-components-library/p-d668461a.js +1 -0
  341. package/dist/web-components-library/p-d767f784.entry.js +1 -0
  342. package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
  343. package/dist/web-components-library/p-dbc23998.entry.js +1 -0
  344. package/dist/web-components-library/p-def721df.entry.js +1 -0
  345. package/dist/web-components-library/p-e12cd68a.entry.js +1 -0
  346. package/dist/web-components-library/p-e84d2839.entry.js +1 -0
  347. package/dist/web-components-library/p-eadb185e.entry.js +1 -0
  348. package/dist/web-components-library/p-f9f9518a.entry.js +1 -0
  349. package/dist/web-components-library/p-fd305e08.entry.js +1 -0
  350. package/dist/web-components-library/web-components-library.esm.js +1 -1
  351. package/package.json +4 -4
  352. package/www/build/index.esm.js +1 -1
  353. package/www/build/p-016b2800.entry.js +1 -0
  354. package/www/build/p-04908405.entry.js +1 -0
  355. package/www/build/p-06430481.entry.js +1 -0
  356. package/www/build/p-067bd5da.entry.js +1 -0
  357. package/www/build/p-082d65b1.entry.js +1 -0
  358. package/www/build/p-0cff6cce.entry.js +1 -0
  359. package/www/build/p-0e743002.entry.js +1 -0
  360. package/www/build/p-10b84e8c.entry.js +1 -0
  361. package/www/build/p-12211a48.entry.js +1 -0
  362. package/www/build/p-14233b99.entry.js +1 -0
  363. package/www/build/p-176256ee.js +1 -0
  364. package/www/build/p-1ab0de76.entry.js +1 -0
  365. package/www/build/p-1d2d5232.entry.js +1 -0
  366. package/www/build/p-20109d3a.entry.js +1 -0
  367. package/www/build/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
  368. package/www/build/p-2cf26585.entry.js +1 -0
  369. package/www/build/p-2d506c48.entry.js +1 -0
  370. package/www/build/p-2d5d8e6f.entry.js +1 -0
  371. package/www/build/p-2e7a31ac.entry.js +1 -0
  372. package/www/build/p-2f6f3729.entry.js +1 -0
  373. package/www/build/p-30cbafaf.entry.js +1 -0
  374. package/www/build/p-341ddb5d.entry.js +1 -0
  375. package/www/build/p-34a96008.entry.js +1 -0
  376. package/www/build/p-35b30271.entry.js +1 -0
  377. package/www/build/p-36f4ce3f.entry.js +1 -0
  378. package/www/build/p-3c28f72e.entry.js +1 -0
  379. package/www/build/p-3c7cf41f.entry.js +1 -0
  380. package/www/build/p-3e414cf1.entry.js +1 -0
  381. package/www/build/p-3ecfb7c1.entry.js +1 -0
  382. package/www/build/p-40f96085.entry.js +1 -0
  383. package/{dist/web-components-library/p-4d42f224.entry.js → www/build/p-48624926.entry.js} +1 -1
  384. package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  385. package/www/build/p-53d22727.entry.js +1 -0
  386. package/www/build/p-563529f8.entry.js +1 -0
  387. package/www/build/p-57faab40.entry.js +1 -0
  388. package/www/build/p-5b2d8a91.entry.js +1 -0
  389. package/www/build/p-6037dce0.entry.js +1 -0
  390. package/www/build/p-60ec44c6.js +1 -0
  391. package/www/build/p-670232c4.entry.js +1 -0
  392. package/www/build/p-67f346d9.entry.js +1 -0
  393. package/www/build/p-691678c8.entry.js +1 -0
  394. package/www/build/p-69b27fe9.entry.js +16 -0
  395. package/www/build/p-6fe1bffb.entry.js +1 -0
  396. package/www/build/p-728e7dcd.entry.js +1 -0
  397. package/www/build/p-74e31a32.entry.js +1 -0
  398. package/www/build/p-759fb7c4.entry.js +1 -0
  399. package/www/build/p-79223014.entry.js +1 -0
  400. package/www/build/p-7b22a446.entry.js +1 -0
  401. package/www/build/p-7c40fb15.entry.js +1 -0
  402. package/www/build/p-7cbc1836.entry.js +1 -0
  403. package/www/build/p-830b21a4.entry.js +1 -0
  404. package/www/build/p-87099b68.entry.js +1 -0
  405. package/www/build/p-8cabed58.entry.js +1 -0
  406. package/www/build/p-8cf14a47.entry.js +1 -0
  407. package/www/build/p-8eaa46ac.entry.js +1 -0
  408. package/www/build/p-985c5ed8.entry.js +1 -0
  409. package/www/build/p-9f6b43a0.entry.js +1 -0
  410. package/www/build/p-9f8d0f79.entry.js +1 -0
  411. package/www/build/p-a3b8dd69.entry.js +1 -0
  412. package/www/build/p-aa271ed7.entry.js +1 -0
  413. package/www/build/p-ac1a9d63.entry.js +1 -0
  414. package/www/build/p-af4a9bb7.entry.js +1 -0
  415. package/www/build/p-ba495cad.entry.js +1 -0
  416. package/www/build/p-ba9210e9.entry.js +1 -0
  417. package/www/build/p-bf9348e6.entry.js +1 -0
  418. package/www/build/p-c0df6e96.entry.js +1 -0
  419. package/www/build/p-c2b368ff.entry.js +1 -0
  420. package/www/build/p-c39c68b9.entry.js +1 -0
  421. package/www/build/p-cadba1e5.entry.js +1 -0
  422. package/www/build/p-ccb3764b.entry.js +1 -0
  423. package/www/build/p-d668461a.js +1 -0
  424. package/www/build/p-d767f784.entry.js +1 -0
  425. package/www/build/p-d7e72cec.entry.js +1 -0
  426. package/www/build/p-dbc23998.entry.js +1 -0
  427. package/www/build/p-def721df.entry.js +1 -0
  428. package/www/build/p-e12cd68a.entry.js +1 -0
  429. package/www/build/p-e84d2839.entry.js +1 -0
  430. package/www/build/p-eadb185e.entry.js +1 -0
  431. package/www/build/p-f9f9518a.entry.js +1 -0
  432. package/www/build/p-fd305e08.entry.js +1 -0
  433. package/www/build/web-components-library.esm.js +1 -1
  434. package/www/index.html +1 -1
  435. package/dist/cjs/index-199cd650.js +0 -346
  436. package/dist/collection/components/index.js +0 -8
  437. package/dist/esm/index-9d028352.js +0 -346
  438. package/dist/types/components/index.d.ts +0 -0
  439. package/dist/web-components-library/p-05ced71c.entry.js +0 -1
  440. package/dist/web-components-library/p-074ea569.entry.js +0 -1
  441. package/dist/web-components-library/p-10b46635.entry.js +0 -1
  442. package/dist/web-components-library/p-1106ead2.entry.js +0 -1
  443. package/dist/web-components-library/p-15b8a920.entry.js +0 -1
  444. package/dist/web-components-library/p-15fe7b71.entry.js +0 -1
  445. package/dist/web-components-library/p-1bd6592f.entry.js +0 -1
  446. package/dist/web-components-library/p-1e6a2a56.entry.js +0 -1
  447. package/dist/web-components-library/p-23781e2b.entry.js +0 -1
  448. package/dist/web-components-library/p-28ff9383.entry.js +0 -1
  449. package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
  450. package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
  451. package/dist/web-components-library/p-35ceae27.entry.js +0 -1
  452. package/dist/web-components-library/p-3913bff2.entry.js +0 -1
  453. package/dist/web-components-library/p-3a431f04.entry.js +0 -1
  454. package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
  455. package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
  456. package/dist/web-components-library/p-442b8b35.entry.js +0 -1
  457. package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
  458. package/dist/web-components-library/p-4d093e07.entry.js +0 -1
  459. package/dist/web-components-library/p-4e733fbd.entry.js +0 -1
  460. package/dist/web-components-library/p-4ec9ab53.entry.js +0 -1
  461. package/dist/web-components-library/p-53a03f2a.entry.js +0 -1
  462. package/dist/web-components-library/p-562ad563.entry.js +0 -1
  463. package/dist/web-components-library/p-58650e22.entry.js +0 -1
  464. package/dist/web-components-library/p-5bec950e.entry.js +0 -1
  465. package/dist/web-components-library/p-5c9556e3.entry.js +0 -1
  466. package/dist/web-components-library/p-5cf4a412.entry.js +0 -1
  467. package/dist/web-components-library/p-5d4a6659.entry.js +0 -1
  468. package/dist/web-components-library/p-5f3baf14.entry.js +0 -1
  469. package/dist/web-components-library/p-61424b8a.entry.js +0 -1
  470. package/dist/web-components-library/p-681e1f5a.entry.js +0 -1
  471. package/dist/web-components-library/p-686545fa.entry.js +0 -1
  472. package/dist/web-components-library/p-6f64e8a8.entry.js +0 -1
  473. package/dist/web-components-library/p-70d16b2c.entry.js +0 -1
  474. package/dist/web-components-library/p-7688f8ca.entry.js +0 -1
  475. package/dist/web-components-library/p-77e4774d.entry.js +0 -1
  476. package/dist/web-components-library/p-79b8d87e.entry.js +0 -1
  477. package/dist/web-components-library/p-7d696941.entry.js +0 -1
  478. package/dist/web-components-library/p-7d792297.entry.js +0 -1
  479. package/dist/web-components-library/p-810bd730.entry.js +0 -1
  480. package/dist/web-components-library/p-87fdd14f.js +0 -1
  481. package/dist/web-components-library/p-982254e5.entry.js +0 -1
  482. package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
  483. package/dist/web-components-library/p-9ecc5eba.entry.js +0 -1
  484. package/dist/web-components-library/p-9f80c0b8.js +0 -1
  485. package/dist/web-components-library/p-9fe267fc.entry.js +0 -1
  486. package/dist/web-components-library/p-a6d6178a.entry.js +0 -1
  487. package/dist/web-components-library/p-a79cc147.entry.js +0 -1
  488. package/dist/web-components-library/p-a79d1412.entry.js +0 -1
  489. package/dist/web-components-library/p-aded8a43.entry.js +0 -1
  490. package/dist/web-components-library/p-b4fbb6e4.entry.js +0 -1
  491. package/dist/web-components-library/p-b5086d6d.entry.js +0 -1
  492. package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
  493. package/dist/web-components-library/p-bb15a265.js +0 -1
  494. package/dist/web-components-library/p-bb95b82f.entry.js +0 -1
  495. package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
  496. package/dist/web-components-library/p-c6a662e6.entry.js +0 -1
  497. package/dist/web-components-library/p-c6aad085.entry.js +0 -1
  498. package/dist/web-components-library/p-cb5d8a84.entry.js +0 -1
  499. package/dist/web-components-library/p-cbb3ea13.entry.js +0 -1
  500. package/dist/web-components-library/p-ccf67abf.entry.js +0 -1
  501. package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
  502. package/dist/web-components-library/p-d199b781.entry.js +0 -1
  503. package/dist/web-components-library/p-d3645ced.entry.js +0 -1
  504. package/dist/web-components-library/p-d3733579.entry.js +0 -1
  505. package/dist/web-components-library/p-d531d1d2.entry.js +0 -1
  506. package/dist/web-components-library/p-e68c18e5.entry.js +0 -1
  507. package/dist/web-components-library/p-ecc4afa1.entry.js +0 -1
  508. package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
  509. package/dist/web-components-library/p-edf0195b.entry.js +0 -1
  510. package/dist/web-components-library/p-f2f9a1bc.entry.js +0 -1
  511. package/dist/web-components-library/p-f2fd1e20.entry.js +0 -1
  512. package/dist/web-components-library/p-f7c1eb3f.entry.js +0 -16
  513. package/dist/web-components-library/p-f95cc914.entry.js +0 -1
  514. package/dist/web-components-library/p-fb7d33f2.entry.js +0 -1
  515. package/dist/web-components-library/p-ff18690f.entry.js +0 -1
  516. package/www/build/p-05ced71c.entry.js +0 -1
  517. package/www/build/p-074ea569.entry.js +0 -1
  518. package/www/build/p-10b46635.entry.js +0 -1
  519. package/www/build/p-1106ead2.entry.js +0 -1
  520. package/www/build/p-15b8a920.entry.js +0 -1
  521. package/www/build/p-15fe7b71.entry.js +0 -1
  522. package/www/build/p-1bd6592f.entry.js +0 -1
  523. package/www/build/p-1e6a2a56.entry.js +0 -1
  524. package/www/build/p-23781e2b.entry.js +0 -1
  525. package/www/build/p-28ff9383.entry.js +0 -1
  526. package/www/build/p-2efedcf4.entry.js +0 -1
  527. package/www/build/p-344e7ae7.entry.js +0 -1
  528. package/www/build/p-35ceae27.entry.js +0 -1
  529. package/www/build/p-36654297.js +0 -1
  530. package/www/build/p-3913bff2.entry.js +0 -1
  531. package/www/build/p-3a431f04.entry.js +0 -1
  532. package/www/build/p-3c2d438b.entry.js +0 -1
  533. package/www/build/p-3f55dce6.entry.js +0 -1
  534. package/www/build/p-442b8b35.entry.js +0 -1
  535. package/www/build/p-4cd6c6f4.entry.js +0 -1
  536. package/www/build/p-4d093e07.entry.js +0 -1
  537. package/www/build/p-4e733fbd.entry.js +0 -1
  538. package/www/build/p-4ec9ab53.entry.js +0 -1
  539. package/www/build/p-53a03f2a.entry.js +0 -1
  540. package/www/build/p-562ad563.entry.js +0 -1
  541. package/www/build/p-58650e22.entry.js +0 -1
  542. package/www/build/p-5bec950e.entry.js +0 -1
  543. package/www/build/p-5c9556e3.entry.js +0 -1
  544. package/www/build/p-5cf4a412.entry.js +0 -1
  545. package/www/build/p-5d4a6659.entry.js +0 -1
  546. package/www/build/p-5f3baf14.entry.js +0 -1
  547. package/www/build/p-61424b8a.entry.js +0 -1
  548. package/www/build/p-681e1f5a.entry.js +0 -1
  549. package/www/build/p-686545fa.entry.js +0 -1
  550. package/www/build/p-6f64e8a8.entry.js +0 -1
  551. package/www/build/p-70d16b2c.entry.js +0 -1
  552. package/www/build/p-7688f8ca.entry.js +0 -1
  553. package/www/build/p-77e4774d.entry.js +0 -1
  554. package/www/build/p-79b8d87e.entry.js +0 -1
  555. package/www/build/p-7d696941.entry.js +0 -1
  556. package/www/build/p-7d792297.entry.js +0 -1
  557. package/www/build/p-810bd730.entry.js +0 -1
  558. package/www/build/p-87fdd14f.js +0 -1
  559. package/www/build/p-982254e5.entry.js +0 -1
  560. package/www/build/p-9d03a7d6.entry.js +0 -1
  561. package/www/build/p-9ecc5eba.entry.js +0 -1
  562. package/www/build/p-9f80c0b8.js +0 -1
  563. package/www/build/p-9fe267fc.entry.js +0 -1
  564. package/www/build/p-a6d6178a.entry.js +0 -1
  565. package/www/build/p-a79cc147.entry.js +0 -1
  566. package/www/build/p-a79d1412.entry.js +0 -1
  567. package/www/build/p-aded8a43.entry.js +0 -1
  568. package/www/build/p-b4fbb6e4.entry.js +0 -1
  569. package/www/build/p-b5086d6d.entry.js +0 -1
  570. package/www/build/p-bb0fe7bc.entry.js +0 -1
  571. package/www/build/p-bb15a265.js +0 -1
  572. package/www/build/p-bb95b82f.entry.js +0 -1
  573. package/www/build/p-c2d1785b.entry.js +0 -1
  574. package/www/build/p-c6a662e6.entry.js +0 -1
  575. package/www/build/p-c6aad085.entry.js +0 -1
  576. package/www/build/p-cb5d8a84.entry.js +0 -1
  577. package/www/build/p-cbb3ea13.entry.js +0 -1
  578. package/www/build/p-ccf67abf.entry.js +0 -1
  579. package/www/build/p-ce83ce18.entry.js +0 -1
  580. package/www/build/p-d199b781.entry.js +0 -1
  581. package/www/build/p-d3645ced.entry.js +0 -1
  582. package/www/build/p-d3733579.entry.js +0 -1
  583. package/www/build/p-d531d1d2.entry.js +0 -1
  584. package/www/build/p-e68c18e5.entry.js +0 -1
  585. package/www/build/p-ecc4afa1.entry.js +0 -1
  586. package/www/build/p-ede9fbf5.entry.js +0 -1
  587. package/www/build/p-edf0195b.entry.js +0 -1
  588. package/www/build/p-f2f9a1bc.entry.js +0 -1
  589. package/www/build/p-f2fd1e20.entry.js +0 -1
  590. package/www/build/p-f7c1eb3f.entry.js +0 -16
  591. package/www/build/p-f95cc914.entry.js +0 -1
  592. package/www/build/p-fb7d33f2.entry.js +0 -1
  593. package/www/build/p-ff18690f.entry.js +0 -1
@@ -1,31 +1,27 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { NavigationTabsSize, NavigationTabsOrientation } from "../../../../beans";
3
2
  /**
4
3
  * Navigation tabs component.
5
4
  * @slot - Main slot. Use `z-navigation-tab` or `z-navigation-tab-link` components as children.
6
5
  */
7
6
  export class ZNavigationTabs {
8
7
  constructor() {
9
- /**
10
- * Navigation tabs orientation.
11
- */
12
- this.orientation = NavigationTabsOrientation.HORIZONTAL;
13
- /**
14
- * Navigation tabs size.
15
- */
16
- this.size = NavigationTabsSize.BIG;
8
+ this.orientation = "horizontal" /* NavigationTabsOrientation.HORIZONTAL */;
9
+ this.size = "big" /* NavigationTabsSize.BIG */;
10
+ this.canNavigate = undefined;
11
+ this.canNavigatePrev = undefined;
12
+ this.canNavigateNext = undefined;
17
13
  }
18
14
  /**
19
15
  * Getter for the direction to check based on current orientation.
20
16
  */
21
17
  get direction() {
22
- return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
18
+ return this.orientation == "horizontal" /* NavigationTabsOrientation.HORIZONTAL */ ? "Left" : "Top";
23
19
  }
24
20
  /**
25
21
  * Getter for the dimension to check based on current orientation.
26
22
  */
27
23
  get dimension() {
28
- return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
24
+ return this.orientation == "horizontal" /* NavigationTabsOrientation.HORIZONTAL */ ? "Width" : "Height";
29
25
  }
30
26
  /**
31
27
  * Set the `size` prop to all `z-navigation-tab` children.
@@ -106,9 +102,9 @@ export class ZNavigationTabs {
106
102
  }
107
103
  render() {
108
104
  return (h(Host, { class: {
109
- "interactive-2": this.size === NavigationTabsSize.SMALL,
110
- "interactive-1": this.size !== NavigationTabsSize.SMALL,
111
- }, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 }))), h("nav", { role: "tablist", ref: (el) => (this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav), onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
105
+ "interactive-2": this.size === "small" /* NavigationTabsSize.SMALL */,
106
+ "interactive-1": this.size !== "small" /* NavigationTabsSize.SMALL */,
107
+ }, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation === "horizontal" /* NavigationTabsOrientation.HORIZONTAL */ ? "chevron-left" : "chevron-up", width: 16, height: 16 }))), h("nav", { role: "tablist", ref: (el) => (this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav), onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === "horizontal" /* NavigationTabsOrientation.HORIZONTAL */ ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
112
108
  }
113
109
  static get is() { return "z-navigation-tabs"; }
114
110
  static get encapsulation() { return "shadow"; }
@@ -7,41 +7,19 @@ const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined
7
7
  */
8
8
  export class ZAppHeader {
9
9
  constructor() {
10
- /**
11
- * Stuck mode for the header.
12
- * You can programmatically set it using an IntersectionObserver.
13
- * **Optional**
14
- */
15
- this.stuck = false;
16
- /**
17
- * Should place an overlay over the hero image.
18
- * Useful for legibility purpose.
19
- * **Optional**
20
- */
21
- this.overlay = false;
22
- /**
23
- * Control menu bar position in the header.
24
- * - auto: the menu bar is positioned near the title
25
- * - stack: the menu bar is positioned below the title
26
- * - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
27
- *
28
- * **Optional**
29
- */
30
- this.flow = "auto";
31
- /**
32
- * The opening state of the drawer.
33
- */
34
- this.drawerOpen = false;
35
- /**
36
- * The stucked state of the bar.
37
- */
38
- this.stucked = false;
39
10
  this.observer = SUPPORT_INTERSECTION_OBSERVER &&
40
11
  new IntersectionObserver(([entry]) => {
41
12
  this.stucked = !entry.isIntersecting;
42
13
  }, {
43
14
  threshold: 0.5,
44
15
  });
16
+ this.stuck = false;
17
+ this.hero = undefined;
18
+ this.overlay = false;
19
+ this.flow = "auto";
20
+ this.drawerOpen = false;
21
+ this.stucked = false;
22
+ this.menuLength = undefined;
45
23
  this.openDrawer = this.openDrawer.bind(this);
46
24
  this.closeDrawer = this.closeDrawer.bind(this);
47
25
  this.collectMenuElements.bind(this);
@@ -1,9 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
- import { ThemeVariant } from "../../../beans";
3
2
  export class ZAppSwitcher {
4
3
  constructor() {
5
- /** theme variant, default 'dark' */
6
- this.theme = ThemeVariant.DARK;
4
+ this.theme = "dark" /* ThemeVariant.DARK */;
7
5
  this.isopen = false;
8
6
  this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
9
7
  }
@@ -1,11 +1,14 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { DividerOrientation, ThemeVariant } from "../../../beans";
3
2
  import { mobileBreakpoint } from "../../../constants/breakpoints";
4
3
  export class ZAppTopbar {
5
4
  constructor() {
6
- /** theme variant, default 'dark' */
7
- this.theme = ThemeVariant.DARK;
8
5
  this.topbarLinks = [];
6
+ this.theme = "dark" /* ThemeVariant.DARK */;
7
+ this.contentMaxWidth = undefined;
8
+ this.topbarContent = undefined;
9
+ this.logoLink = undefined;
10
+ this.showAppSwitcher = undefined;
11
+ this.isMobile = undefined;
9
12
  }
10
13
  handleResize() {
11
14
  this.isMobile = window.innerWidth <= mobileBreakpoint;
@@ -19,13 +22,13 @@ export class ZAppTopbar {
19
22
  }
20
23
  }
21
24
  renderTopbarLinks() {
22
- return this.topbarLinks.map((link) => (h("z-link", { htmlid: link.id, textcolor: this.theme === ThemeVariant.LIGHT ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label)));
25
+ return this.topbarLinks.map((link) => (h("z-link", { htmlid: link.id, textcolor: this.theme === "light" /* ThemeVariant.LIGHT */ ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label)));
23
26
  }
24
27
  render() {
25
28
  return (h(Host, { class: {
26
29
  [this.theme]: true,
27
30
  "limited-width": !!this.contentMaxWidth,
28
- } }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: DividerOrientation.VERTICAL, color: this.theme === ThemeVariant.LIGHT ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
31
+ } }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: "vertical" /* DividerOrientation.VERTICAL */, color: this.theme === "light" /* ThemeVariant.LIGHT */ ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
29
32
  }
30
33
  static get is() { return "z-app-topbar"; }
31
34
  static get encapsulation() { return "shadow"; }
@@ -4,23 +4,17 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ZLink {
6
6
  constructor() {
7
- /** link target (optional) */
7
+ this.htmlid = undefined;
8
+ this.href = undefined;
8
9
  this.target = "_self";
9
- /** tabindex link attribute (optional) */
10
10
  this.htmltabindex = 0;
11
- /** disable link flag (optional) */
12
11
  this.isdisabled = false;
13
- /** active link flag (optional) */
14
12
  this.isactive = false;
15
- /** white variant flag (optional) */
16
13
  this.iswhite = false;
17
- /** link text variant (optional) */
18
14
  this.textcolor = "primary";
19
- /** big link version */
15
+ this.icon = undefined;
20
16
  this.big = false;
21
- /** link icon position (optional) */
22
17
  this.iconposition = "left";
23
- /** draw underline on text (optional) */
24
18
  this.underline = false;
25
19
  this.iconSize = 18;
26
20
  this.emitZLinkClick = this.emitZLinkClick.bind(this);
@@ -6,18 +6,11 @@ import { h, Host } from "@stencil/core";
6
6
  */
7
7
  export class ZMenu {
8
8
  constructor() {
9
- /**
10
- * Flag to set the display mode of the list.
11
- * If true, the list will be absolutely positioned under the menu label,
12
- * stacked beneath it otherwise.
13
- * @default false
14
- */
9
+ this.active = undefined;
15
10
  this.floating = false;
16
- /**
17
- * The opening state of the menu.
18
- * @default false
19
- */
20
11
  this.open = false;
12
+ this.hasHeader = undefined;
13
+ this.hasContent = undefined;
21
14
  this.toggle = this.toggle.bind(this);
22
15
  this.checkContent = this.checkContent.bind(this);
23
16
  this.onItemsChange = this.onItemsChange.bind(this);
@@ -1,8 +1,10 @@
1
1
  import { h } from "@stencil/core";
2
- import { KeyboardKeyCode } from "../../../beans/index";
3
2
  import { handleKeyboardSubmit, getClickedElement, getElementTree } from "../../../utils/utils";
4
3
  export class ZMenuDropdown {
5
4
  constructor() {
5
+ this.nomeutente = undefined;
6
+ this.menucontent = undefined;
7
+ this.buttonid = undefined;
6
8
  this.ismenuopen = false;
7
9
  this.handleToggle = this.handleToggle.bind(this);
8
10
  this.handleFocus = this.handleFocus.bind(this);
@@ -27,7 +29,7 @@ export class ZMenuDropdown {
27
29
  this.ismenuopen = !this.ismenuopen;
28
30
  }
29
31
  handleFocus(e) {
30
- if (e instanceof KeyboardEvent && e.keyCode !== KeyboardKeyCode.TAB) {
32
+ if (e instanceof KeyboardEvent && e.keyCode !== 9 /* KeyboardKeyCode.TAB */) {
31
33
  return;
32
34
  }
33
35
  const tree = getElementTree(getClickedElement());
@@ -4,6 +4,11 @@ import { h, Host } from "@stencil/core";
4
4
  * @slot item - Single entry of the section. Can be slotted multiple times to insert items.
5
5
  */
6
6
  export class ZMenuSection {
7
+ constructor() {
8
+ this.active = undefined;
9
+ this.open = undefined;
10
+ this.hasContent = undefined;
11
+ }
7
12
  toggle() {
8
13
  if (!this.hasContent) {
9
14
  return;
@@ -2,9 +2,13 @@ import { h, Host } from "@stencil/core";
2
2
  import { mobileBreakpoint } from "../../../constants/breakpoints";
3
3
  export class ZUserDropdown {
4
4
  constructor() {
5
- /** if inner components colors are inverted, or not, default false */
5
+ this.logged = undefined;
6
+ this.userFullName = undefined;
7
+ this.userEmail = undefined;
8
+ this.menuContent = undefined;
6
9
  this.useInverseColors = false;
7
10
  this.isMenuOpen = false;
11
+ this.isMobile = undefined;
8
12
  this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
9
13
  this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
10
14
  }
@@ -1,6 +1,10 @@
1
1
  import { h } from "@stencil/core";
2
- import { ButtonVariant } from "../../../beans";
3
2
  export class ZCookiebar {
3
+ constructor() {
4
+ this.cookiepolicyurl = undefined;
5
+ this.hide = undefined;
6
+ this.callback = undefined;
7
+ }
4
8
  emitAccept(ev) {
5
9
  this.accept.emit({ ev });
6
10
  }
@@ -19,7 +23,7 @@ export class ZCookiebar {
19
23
  }
20
24
  }
21
25
  renderContentSlot() {
22
- return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant: ButtonVariant.PRIMARY, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
26
+ return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant: "primary" /* ButtonVariant.PRIMARY */, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
23
27
  }
24
28
  render() {
25
29
  return h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot());
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ZInfoBox {
6
6
  constructor() {
7
- /** render close icon flag */
7
+ this.boxid = undefined;
8
8
  this.isclosable = true;
9
9
  }
10
10
  emitInfoBoxClose() {
@@ -6,14 +6,11 @@ import { h, Host } from "@stencil/core";
6
6
  */
7
7
  export class ZNotification {
8
8
  constructor() {
9
- /** Enable close icon */
9
+ this.contenticonname = undefined;
10
+ this.actiontext = undefined;
11
+ this.type = undefined;
10
12
  this.showclose = false;
11
- /**
12
- * Enable shadow.
13
- * @deprecated shadow is available only for the `sticky` version of the notification.
14
- */
15
13
  this.showshadow = false;
16
- /** Enable sticky notification bar. */
17
14
  this.sticky = false;
18
15
  this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
19
16
  this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
@@ -1,16 +1,19 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { ToastNotificationTransition } from "../../../beans";
3
2
  import { mobileBreakpoint } from "../../../constants/breakpoints";
4
3
  import Hammer from "hammerjs";
5
4
  export class ZToastNotification {
6
5
  constructor() {
7
- /** toast notification autoclose can be paused */
6
+ this.isCloseEventCalled = false;
7
+ this.heading = undefined;
8
+ this.message = undefined;
9
+ this.closebutton = undefined;
10
+ this.autoclose = undefined;
8
11
  this.pauseonfocusloss = true;
9
- /** toast notification can be draggable*/
12
+ this.type = undefined;
10
13
  this.isdraggable = true;
11
- /** toast notification draggable percentage*/
12
14
  this.draggablepercentage = 80;
13
- this.isCloseEventCalled = false;
15
+ this.transition = undefined;
16
+ this.percentage = undefined;
14
17
  }
15
18
  watchPropIsdraggable(newValue) {
16
19
  if (newValue) {
@@ -68,14 +71,14 @@ export class ZToastNotification {
68
71
  }
69
72
  mapSlideOutClass() {
70
73
  switch (this.transition) {
71
- case ToastNotificationTransition.SLIDE_IN_DOWN:
72
- return ToastNotificationTransition.SLIDE_OUT_UP;
73
- case ToastNotificationTransition.SLIDE_IN_UP:
74
- return ToastNotificationTransition.SLIDE_OUT_DOWN;
75
- case ToastNotificationTransition.SLIDE_IN_LEFT:
76
- return ToastNotificationTransition.SLIDE_OUT_RIGHT;
77
- case ToastNotificationTransition.SLIDE_IN_RIGHT:
78
- return ToastNotificationTransition.SLIDE_OUT_LEFT;
74
+ case "slide-in-down" /* ToastNotificationTransition.SLIDE_IN_DOWN */:
75
+ return "slide-out-up" /* ToastNotificationTransition.SLIDE_OUT_UP */;
76
+ case "slide-in-up" /* ToastNotificationTransition.SLIDE_IN_UP */:
77
+ return "slide-out-down" /* ToastNotificationTransition.SLIDE_OUT_DOWN */;
78
+ case "slide-in-left" /* ToastNotificationTransition.SLIDE_IN_LEFT */:
79
+ return "slide-out-right" /* ToastNotificationTransition.SLIDE_OUT_RIGHT */;
80
+ case "slide-in-right" /* ToastNotificationTransition.SLIDE_IN_RIGHT */:
81
+ return "slide-out-left" /* ToastNotificationTransition.SLIDE_OUT_LEFT */;
79
82
  }
80
83
  }
81
84
  calculateDraggedPercentage(e) {
@@ -169,7 +172,7 @@ export class ZToastNotification {
169
172
  render() {
170
173
  return (h(Host, { style: {
171
174
  "--percentuale": `${this.percentage}%`,
172
- }, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
175
+ }, class: this.transition ? this.transition : "slide-in-down" /* ToastNotificationTransition.SLIDE_IN_DOWN */, onAnimationEnd: (e) => {
173
176
  if (this.autoclose && e.animationName.includes("slidein")) {
174
177
  this.startClosingTimeout(this.autoclose);
175
178
  }
@@ -1,5 +1,4 @@
1
1
  import { h } from "@stencil/core";
2
- import { PopoverPositions } from "../../../beans";
3
2
  /**
4
3
  * Tooltip component.
5
4
  * It is basically a wrapper for the `<z-popover>` component with custom configuration.
@@ -10,14 +9,10 @@ import { PopoverPositions } from "../../../beans";
10
9
  */
11
10
  export class ZTooltip {
12
11
  constructor() {
13
- /** Tooltip position. */
14
- this.position = PopoverPositions.AUTO;
15
- /** Enable tooltip dark mode. */
12
+ this.position = "auto" /* PopoverPositions.AUTO */;
16
13
  this.dark = false;
17
- /**
18
- * The open state of the tooltip.
19
- */
20
14
  this.open = false;
15
+ this.bindTo = undefined;
21
16
  }
22
17
  onPopoverOpenChange() {
23
18
  this.open = this.popover.open;
@@ -4,10 +4,15 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ZPanelElem {
6
6
  constructor() {
7
- /** link target (optional) */
7
+ this.elemid = undefined;
8
+ this.imgurl = undefined;
9
+ this.imgalt = undefined;
10
+ this.linkicon = undefined;
11
+ this.linklabel = undefined;
12
+ this.url = undefined;
8
13
  this.target = "_blank";
9
- /** disabled status flag (optional) */
10
14
  this.isdisabled = false;
15
+ this.descrSlotName = undefined;
11
16
  }
12
17
  renderIcon() {
13
18
  if (this.isdisabled) {
@@ -1,8 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ZBody {
3
3
  constructor() {
4
- /** Font weight variant */
4
+ this.level = undefined;
5
5
  this.variant = "regular";
6
+ this.component = undefined;
6
7
  }
7
8
  render() {
8
9
  return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
@@ -1,8 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ZHeading {
3
3
  constructor() {
4
- /** Font weight variant */
4
+ this.level = undefined;
5
5
  this.variant = "regular";
6
+ this.component = undefined;
6
7
  }
7
8
  render() {
8
9
  return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
@@ -1,8 +1,9 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class ZTypography {
3
3
  constructor() {
4
- /** Font weight variant */
4
+ this.level = undefined;
5
5
  this.variant = "regular";
6
+ this.component = undefined;
6
7
  }
7
8
  render() {
8
9
  const el = document.createElement(this.component || "span");
@@ -1,9 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { ZAriaAlertMode } from "../../beans";
3
2
  export class ZAriaAlert {
4
3
  constructor() {
5
- /** Aria live mode */
6
- this.mode = ZAriaAlertMode.POLITE;
4
+ this.mode = "polite" /* ZAriaAlertMode.POLITE */;
7
5
  }
8
6
  render() {
9
7
  return (h(Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", null)));
@@ -1,26 +1,24 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { AvatarSize } from "../../beans";
3
2
  export class ZAvatar {
4
3
  constructor() {
5
4
  var _a, _b;
6
- /** [optional] Avatar size */
7
- this.size = AvatarSize.MEDIUM;
8
- /** [optional] Avatar text color */
5
+ this.size = "medium" /* AvatarSize.MEDIUM */;
6
+ this.text = undefined;
9
7
  this.textColor = "text-white";
10
- /** [optional] Avatar background color */
11
8
  this.backgroundColor = "bg-grey-700";
9
+ this.image = undefined;
12
10
  if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
13
11
  console.warn("z-avatar must contain at least one prop between text and image");
14
12
  }
15
13
  }
16
14
  getTextSize() {
17
- if (this.size === AvatarSize.SMALL) {
15
+ if (this.size === "small" /* AvatarSize.SMALL */) {
18
16
  return "5";
19
17
  }
20
- else if (this.size === AvatarSize.MEDIUM) {
18
+ else if (this.size === "medium" /* AvatarSize.MEDIUM */) {
21
19
  return "4";
22
20
  }
23
- else if (this.size === AvatarSize.LARGE) {
21
+ else if (this.size === "large" /* AvatarSize.LARGE */) {
24
22
  return "2";
25
23
  }
26
24
  }
@@ -1,11 +1,11 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { CardVariant } from "../../beans";
3
2
  export class ZCard {
4
3
  constructor() {
5
- /** Enable click interactions on the card. Default: false */
4
+ this.variant = undefined;
5
+ this.coverIcon = undefined;
6
6
  this.clickable = false;
7
- /** Enable shadow. Default: false. */
8
7
  this.showshadow = false;
8
+ this.hasCoverImage = undefined;
9
9
  }
10
10
  onClick(ev) {
11
11
  // Do nothing for clicks on actions.
@@ -39,13 +39,13 @@ export class ZCard {
39
39
  return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
40
40
  }
41
41
  render() {
42
- if (this.variant === CardVariant.TEXT) {
42
+ if (this.variant === "text" /* CardVariant.TEXT */) {
43
43
  return h(Host, null, this.renderContentDiv());
44
44
  }
45
- if (this.variant === CardVariant.OVERLAY || this.hasCoverImage) {
45
+ if (this.variant === "overlay" /* CardVariant.OVERLAY */ || this.hasCoverImage) {
46
46
  return (h(Host, null, h("div", { class: "cover-container" }, this.hasCoverImage && [
47
47
  h("slot", { name: "cover" }),
48
- this.variant !== CardVariant.OVERLAY && this.coverIcon && h("z-icon", { name: this.coverIcon }),
48
+ this.variant !== "overlay" /* CardVariant.OVERLAY */ && this.coverIcon && h("z-icon", { name: this.coverIcon }),
49
49
  ], !this.hasCoverImage && h("div", { class: "color-cover" })), this.renderContentDiv()));
50
50
  }
51
51
  return h(Host, null, this.renderColorCoverCard());
@@ -1,5 +1,4 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { CarouselArrowsPosition, CarouselProgressMode, ButtonVariant, ButtonSize } from "../../beans";
3
2
  /**
4
3
  * ZCarousel component.
5
4
  * @cssprop --z-carousel-gutter - The gutter between items.
@@ -7,14 +6,16 @@ import { CarouselArrowsPosition, CarouselProgressMode, ButtonVariant, ButtonSize
7
6
  */
8
7
  export class ZCarousel {
9
8
  constructor() {
10
- /** Shows only one content at a time */
9
+ /** Flag indicating the items container is scrolling programmatically towards the stored index. */
10
+ this.scrollingTo = null;
11
+ this.isLoading = undefined;
12
+ this.label = undefined;
11
13
  this.single = false;
12
- /** The height of z-carousel ghost loading, this prop is mandatory when isloading is set to true, as otherwise the component won't show. */
14
+ this.arrowsPosition = undefined;
15
+ this.progressMode = undefined;
13
16
  this.ghostLoadingHeight = 100;
14
- /** Current item index for single mode. */
15
17
  this.current = 0;
16
- /** Flag indicating the items container is scrolling programmatically towards the stored index. */
17
- this.scrollingTo = null;
18
+ this.items = undefined;
18
19
  }
19
20
  onIndexChange() {
20
21
  this.scrollingTo = this.current;
@@ -95,9 +96,9 @@ export class ZCarousel {
95
96
  * @returns {boolean}
96
97
  */
97
98
  canShowFooter() {
98
- return (this.arrowsPosition === CarouselArrowsPosition.BOTTOM ||
99
- this.progressMode === CarouselProgressMode.DOTS ||
100
- this.progressMode === CarouselProgressMode.NUMBERS);
99
+ return (this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ ||
100
+ this.progressMode === "dots" /* CarouselProgressMode.DOTS */ ||
101
+ this.progressMode === "numbers" /* CarouselProgressMode.NUMBERS */);
101
102
  }
102
103
  /**
103
104
  * Set current item to passed index.
@@ -114,7 +115,7 @@ export class ZCarousel {
114
115
  if (this.isLoading) {
115
116
  return (h(Host, null, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { style: { height: `${this.ghostLoadingHeight}px` } }, h("z-ghost-loading", null), h("div", { class: "loading-items-container" }, h("slot", null)))));
116
117
  }
117
- return (h(Host, null, h("div", { class: "z-carousel-container" }, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition === CarouselArrowsPosition.OVER && (h("z-button", { size: ButtonSize.SMALL, "data-direction": "prev", icon: "chevron-left", onClick: this.onPrev.bind(this) })), h("ul", { class: "z-carousel-items-container" }, h("slot", null)), this.arrowsPosition === CarouselArrowsPosition.OVER && (h("z-button", { size: ButtonSize.SMALL, "data-direction": "next", icon: "chevron-right", onClick: this.onNext.bind(this) })))), this.canShowFooter() && (h("div", { class: "z-carousel-footer" }, this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (h("z-button", { size: ButtonSize.SMALL, variant: ButtonVariant.TERTIARY, icon: "arrow-left-filled", onClick: this.onPrev.bind(this) })), this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (h("div", { class: "dots-progress" }, this.items.map((_item, key) => (h("button", { type: "button", class: { current: this.current === key }, onClick: () => this.goTo(key) }, h("z-icon", { name: this.current === key ? "white-circle-filled" : "black-circle-filled" })))))), this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (h("div", { class: "numbers-progress" }, h("span", { class: "interactive-3 current" }, this.current + 1), h("span", { class: "interactive-3" }, "di"), h("span", { class: "interactive-3" }, this.items.length))), this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (h("z-button", { size: ButtonSize.SMALL, variant: ButtonVariant.TERTIARY, icon: "arrow-right-filled", onClick: this.onNext.bind(this) }))))));
118
+ return (h(Host, null, h("div", { class: "z-carousel-container" }, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition === "over" /* CarouselArrowsPosition.OVER */ && (h("z-button", { size: "small" /* ButtonSize.SMALL */, "data-direction": "prev", icon: "chevron-left", onClick: this.onPrev.bind(this) })), h("ul", { class: "z-carousel-items-container" }, h("slot", null)), this.arrowsPosition === "over" /* CarouselArrowsPosition.OVER */ && (h("z-button", { size: "small" /* ButtonSize.SMALL */, "data-direction": "next", icon: "chevron-right", onClick: this.onNext.bind(this) })))), this.canShowFooter() && (h("div", { class: "z-carousel-footer" }, this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ && (h("z-button", { size: "small" /* ButtonSize.SMALL */, variant: "tertiary" /* ButtonVariant.TERTIARY */, icon: "arrow-left-filled", onClick: this.onPrev.bind(this) })), this.progressMode === "dots" /* CarouselProgressMode.DOTS */ && this.single && this.items && (h("div", { class: "dots-progress" }, this.items.map((_item, key) => (h("button", { type: "button", class: { current: this.current === key }, onClick: () => this.goTo(key) }, h("z-icon", { name: this.current === key ? "white-circle-filled" : "black-circle-filled" })))))), this.progressMode === "numbers" /* CarouselProgressMode.NUMBERS */ && this.single && this.items && (h("div", { class: "numbers-progress" }, h("span", { class: "interactive-3 current" }, this.current + 1), h("span", { class: "interactive-3" }, "di"), h("span", { class: "interactive-3" }, this.items.length))), this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ && (h("z-button", { size: "small" /* ButtonSize.SMALL */, variant: "tertiary" /* ButtonVariant.TERTIARY */, icon: "arrow-right-filled", onClick: this.onNext.bind(this) }))))));
118
119
  }
119
120
  static get is() { return "z-carousel"; }
120
121
  static get originalStyleUrls() {
@@ -1,15 +1,9 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { PopoverPositions } from "../../beans";
3
2
  export class ZContextualMenu {
4
3
  constructor() {
5
- /**
6
- * [optional] Sets text color of ZContextualMenu's content
7
- */
4
+ this.elements = undefined;
8
5
  this.color = "color-primary01";
9
- /**
10
- * [optional] Sets the position of the popover
11
- */
12
- this.popoverPosition = PopoverPositions.BOTTOM_RIGHT;
6
+ this.popoverPosition = "bottom_right" /* PopoverPositions.BOTTOM_RIGHT */;
13
7
  }
14
8
  componentWillRender() {
15
9
  if (this.elements) {
@@ -1,5 +1,4 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { CoverHeroVariant, CoverHeroContentPosition } from "../../beans";
3
2
  /**
4
3
  * Cover hero component.
5
4
  * Component to display a hero image with content.
@@ -13,15 +12,8 @@ import { CoverHeroVariant, CoverHeroContentPosition } from "../../beans";
13
12
  */
14
13
  export class ZCoverHero {
15
14
  constructor() {
16
- /**
17
- * Cover hero variant.
18
- * Can be one of "OVERLAY", "STACKED".
19
- */
20
- this.variant = CoverHeroVariant.OVERLAY;
21
- /**
22
- * Cover hero content position (only for STACKED variant).
23
- */
24
- this.contentPosition = CoverHeroContentPosition.TOP;
15
+ this.variant = "overlay" /* CoverHeroVariant.OVERLAY */;
16
+ this.contentPosition = "top" /* CoverHeroContentPosition.TOP */;
25
17
  }
26
18
  /**
27
19
  * Template for the content.
@@ -30,10 +22,10 @@ export class ZCoverHero {
30
22
  return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
31
23
  }
32
24
  render() {
33
- return (h(Host, null, this.variant === CoverHeroVariant.STACKED &&
34
- this.contentPosition === CoverHeroContentPosition.TOP &&
35
- this.renderContent(), h("div", { class: "content-hero" }, h("div", { class: "cover" }, h("slot", { name: "cover" })), h("slot", { name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
36
- this.contentPosition === CoverHeroContentPosition.BOTTOM &&
25
+ return (h(Host, null, this.variant === "stacked" /* CoverHeroVariant.STACKED */ &&
26
+ this.contentPosition === "top" /* CoverHeroContentPosition.TOP */ &&
27
+ this.renderContent(), h("div", { class: "content-hero" }, h("div", { class: "cover" }, h("slot", { name: "cover" })), h("slot", { name: "info-reveal" }), this.variant === "overlay" /* CoverHeroVariant.OVERLAY */ && this.renderContent()), this.variant === "stacked" /* CoverHeroVariant.STACKED */ &&
28
+ this.contentPosition === "bottom" /* CoverHeroContentPosition.BOTTOM */ &&
37
29
  this.renderContent()));
38
30
  }
39
31
  static get is() { return "z-cover-hero"; }