@zanichelli/albe-web-components 5.5.6-cs1 → 5.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (868) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/{icons-460f0f1e.js → icons-9fc3ff30.js} +104 -104
  3. package/dist/cjs/index-1fda0714.js +60 -0
  4. package/dist/cjs/{index-15126331.js → index-745c0423.js} +178 -168
  5. package/dist/cjs/{index-0b49c192.js → index-e3299e0a.js} +225 -207
  6. package/dist/cjs/index.cjs.js +17 -5
  7. package/dist/cjs/loader.cjs.js +3 -3
  8. package/dist/cjs/{utils-7db26db9.js → utils-4647eb06.js} +33 -19
  9. package/dist/cjs/{utils-b1ef8660.js → utils-dfe717c7.js} +13 -13
  10. package/dist/cjs/web-components-library.cjs.js +3 -3
  11. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  12. package/dist/cjs/z-app-header.cjs.entry.js +14 -16
  13. package/dist/cjs/z-app-switcher_9.cjs.entry.js +177 -159
  14. package/dist/cjs/z-aria-alert.cjs.entry.js +3 -4
  15. package/dist/cjs/z-avatar.cjs.entry.js +8 -9
  16. package/dist/cjs/z-body_2.cjs.entry.js +3 -5
  17. package/dist/cjs/z-button-deprecated.cjs.entry.js +9 -12
  18. package/dist/cjs/z-button-filter.cjs.entry.js +3 -4
  19. package/dist/cjs/z-button-sort.cjs.entry.js +6 -5
  20. package/dist/cjs/z-button.cjs.entry.js +11 -10
  21. package/dist/cjs/z-candybar.cjs.entry.js +2 -2
  22. package/dist/cjs/z-card.cjs.entry.js +19 -16
  23. package/dist/cjs/z-carousel.cjs.entry.js +117 -5
  24. package/dist/cjs/z-chip-deprecated.cjs.entry.js +6 -4
  25. package/dist/cjs/z-chip.cjs.entry.js +7 -7
  26. package/dist/cjs/z-combobox.cjs.entry.js +26 -30
  27. package/dist/cjs/z-contextual-menu.cjs.entry.js +10 -5
  28. package/dist/cjs/z-cookiebar.cjs.entry.js +7 -6
  29. package/dist/cjs/z-cover-hero.cjs.entry.js +5 -6
  30. package/dist/cjs/z-date-picker.cjs.entry.js +46 -39
  31. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +3 -4
  32. package/dist/cjs/z-file-upload.cjs.entry.js +20 -18
  33. package/dist/cjs/z-file.cjs.entry.js +4 -4
  34. package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
  35. package/dist/cjs/z-footer.cjs.entry.js +16 -13
  36. package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
  37. package/dist/cjs/z-icon-package.cjs.entry.js +4 -3
  38. package/dist/cjs/z-info-box.cjs.entry.js +3 -3
  39. package/dist/cjs/z-info-reveal.cjs.entry.js +8 -9
  40. package/dist/cjs/z-input-deprecated.cjs.entry.js +67 -55
  41. package/dist/cjs/z-input-label_2.cjs.entry.js +36 -40
  42. package/dist/cjs/z-list-group.cjs.entry.js +7 -7
  43. package/dist/cjs/z-list_2.cjs.entry.js +12 -12
  44. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +11 -10
  45. package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
  46. package/dist/cjs/z-menu.cjs.entry.js +13 -10
  47. package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
  48. package/dist/cjs/z-modal-login.cjs.entry.js +15 -17
  49. package/dist/cjs/z-modal.cjs.entry.js +6 -3
  50. package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
  51. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
  52. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  53. package/dist/cjs/z-myz-card-footer.cjs.entry.js +10 -11
  54. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  55. package/dist/cjs/z-myz-card-info.cjs.entry.js +17 -27
  56. package/dist/cjs/z-myz-card-list.cjs.entry.js +3 -4
  57. package/dist/cjs/z-myz-card_4.cjs.entry.js +13 -17
  58. package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
  59. package/dist/cjs/z-myz-topbar.cjs.entry.js +39 -35
  60. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
  61. package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
  62. package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
  63. package/dist/cjs/z-notification.cjs.entry.js +8 -3
  64. package/dist/cjs/z-offcanvas.cjs.entry.js +15 -12
  65. package/dist/cjs/z-otp.cjs.entry.js +18 -18
  66. package/dist/cjs/z-pagination-bar.cjs.entry.js +25 -13
  67. package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
  68. package/dist/cjs/z-pagination.cjs.entry.js +17 -14
  69. package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
  70. package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
  71. package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
  72. package/dist/cjs/z-popover-deprecated.cjs.entry.js +14 -17
  73. package/dist/cjs/z-popover.cjs.entry.js +55 -37
  74. package/dist/cjs/z-section-title.cjs.entry.js +14 -5
  75. package/dist/cjs/z-skip-to-content.cjs.entry.js +21 -19
  76. package/dist/cjs/z-slideshow.cjs.entry.js +12 -29
  77. package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
  78. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  79. package/dist/cjs/z-stepper.cjs.entry.js +3 -3
  80. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
  82. package/dist/cjs/z-table-empty-box.cjs.entry.js +7 -6
  83. package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
  84. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  85. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  86. package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
  87. package/dist/cjs/z-table-header.cjs.entry.js +21 -18
  88. package/dist/cjs/z-table-row.cjs.entry.js +9 -9
  89. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
  90. package/dist/cjs/z-table.cjs.entry.js +9 -7
  91. package/dist/cjs/z-tag.cjs.entry.js +3 -3
  92. package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
  93. package/dist/cjs/z-toast-notification.cjs.entry.js +41 -38
  94. package/dist/cjs/z-toggle-button.cjs.entry.js +10 -8
  95. package/dist/cjs/z-toggle-switch.cjs.entry.js +17 -19
  96. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +47 -36
  97. package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
  98. package/dist/cjs/z-user-dropdown.cjs.entry.js +8 -6
  99. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  100. package/dist/collection/beans/index.js +178 -168
  101. package/dist/collection/collection-manifest.json +1 -1
  102. package/dist/collection/components/buttons/z-button/index.js +20 -20
  103. package/dist/collection/components/buttons/z-button/styles.css +30 -31
  104. package/dist/collection/components/buttons/z-button-sort/index.js +4 -3
  105. package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
  106. package/dist/collection/components/buttons/z-chip/index.js +6 -6
  107. package/dist/collection/components/buttons/z-chip/styles.css +15 -12
  108. package/dist/collection/components/buttons/z-toggle-button/index.js +8 -6
  109. package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
  110. package/dist/collection/components/buttons/z-toggle-switch/index.js +28 -25
  111. package/dist/collection/components/buttons/z-toggle-switch/styles.css +18 -15
  112. package/dist/collection/components/date-picker/styles.css +83 -65
  113. package/dist/collection/components/date-picker/utils.js +33 -19
  114. package/dist/collection/components/date-picker/z-date-picker/index.js +47 -40
  115. package/dist/collection/components/date-picker/z-range-picker/index.js +86 -71
  116. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
  117. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +25 -14
  118. package/dist/collection/components/file-upload/z-file/index.js +6 -6
  119. package/dist/collection/components/file-upload/z-file/styles.css +18 -5
  120. package/dist/collection/components/file-upload/z-file-upload/index.js +21 -19
  121. package/dist/collection/components/file-upload/z-file-upload/styles.css +15 -8
  122. package/dist/collection/components/footer/z-footer/index.js +13 -10
  123. package/dist/collection/components/footer/z-footer/styles.css +32 -27
  124. package/dist/collection/components/footer/z-footer-link/styles.css +14 -6
  125. package/dist/collection/components/footer/z-footer-section/index.js +1 -1
  126. package/dist/collection/components/footer/z-footer-section/styles.css +48 -35
  127. package/dist/collection/components/footer/z-footer-social/styles.css +8 -0
  128. package/dist/collection/components/icons/icons.js +103 -103
  129. package/dist/collection/components/icons/z-icon/index.js +9 -7
  130. package/dist/collection/components/icons/z-icon/styles.css +2 -2
  131. package/dist/collection/components/icons/z-icon-package/index.js +4 -3
  132. package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
  133. package/dist/collection/components/indicators/z-stepper/index.js +2 -2
  134. package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
  135. package/dist/collection/components/indicators/z-stepper-item/index.js +1 -1
  136. package/dist/collection/components/indicators/z-stepper-item/styles.css +23 -22
  137. package/dist/collection/components/inputs/z-combobox/index.js +24 -28
  138. package/dist/collection/components/inputs/z-combobox/styles.css +48 -43
  139. package/dist/collection/components/inputs/z-input/index.js +71 -64
  140. package/dist/collection/components/inputs/z-input/styles.css +93 -83
  141. package/dist/collection/components/inputs/z-input-message/index.js +4 -4
  142. package/dist/collection/components/inputs/z-input-message/styles.css +6 -7
  143. package/dist/collection/components/inputs/z-select/index.js +36 -40
  144. package/dist/collection/components/inputs/z-select/styles.css +28 -23
  145. package/dist/collection/components/list/z-list/index.js +3 -3
  146. package/dist/collection/components/list/z-list/styles.css +3 -2
  147. package/dist/collection/components/list/z-list-element/index.js +19 -19
  148. package/dist/collection/components/list/z-list-element/styles.css +40 -18
  149. package/dist/collection/components/list/z-list-group/index.js +10 -10
  150. package/dist/collection/components/list/z-list-group/styles.css +2 -1
  151. package/dist/collection/components/list/z-toast-notification-list/index.js +20 -21
  152. package/dist/collection/components/list/z-toast-notification-list/styles.css +44 -37
  153. package/dist/collection/components/logo/z-logo/index.js +3 -1
  154. package/dist/collection/components/logo/z-logo/styles.css +3 -3
  155. package/dist/collection/components/modal/z-modal/index.js +5 -2
  156. package/dist/collection/components/modal/z-modal/styles.css +29 -23
  157. package/dist/collection/components/modal/z-modal-login/index.js +17 -19
  158. package/dist/collection/components/modal/z-modal-login/styles.css +37 -28
  159. package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
  160. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +28 -18
  161. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +29 -19
  162. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +38 -28
  163. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
  164. package/dist/collection/components/navigation/z-app-header/index.js +15 -17
  165. package/dist/collection/components/navigation/z-app-header/styles.css +78 -68
  166. package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
  167. package/dist/collection/components/navigation/z-app-switcher/styles.css +17 -5
  168. package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
  169. package/dist/collection/components/navigation/z-app-topbar/styles.css +17 -11
  170. package/dist/collection/components/navigation/z-link/index.js +13 -15
  171. package/dist/collection/components/navigation/z-link/styles.css +12 -15
  172. package/dist/collection/components/navigation/z-menu/index.js +12 -9
  173. package/dist/collection/components/navigation/z-menu/styles.css +25 -22
  174. package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -6
  175. package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
  176. package/dist/collection/components/navigation/z-menu-section/index.js +3 -3
  177. package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
  178. package/dist/collection/components/navigation/z-user-dropdown/index.js +6 -4
  179. package/dist/collection/components/navigation/z-user-dropdown/styles.css +72 -63
  180. package/dist/collection/components/notification/z-candybar/styles.css +27 -21
  181. package/dist/collection/components/notification/z-cookiebar/index.js +6 -5
  182. package/dist/collection/components/notification/z-cookiebar/styles.css +19 -18
  183. package/dist/collection/components/notification/z-info-box/index.js +2 -2
  184. package/dist/collection/components/notification/z-info-box/styles.css +8 -8
  185. package/dist/collection/components/notification/z-notification/index.js +8 -3
  186. package/dist/collection/components/notification/z-notification/styles.css +11 -11
  187. package/dist/collection/components/notification/z-toast-notification/index.js +43 -39
  188. package/dist/collection/components/notification/z-toast-notification/styles.css +30 -38
  189. package/dist/collection/components/notification/z-tooltip/index.js +6 -6
  190. package/dist/collection/components/panel/z-panel-elem/index.js +5 -5
  191. package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
  192. package/dist/collection/components/typography/z-body/index.js +3 -4
  193. package/dist/collection/components/typography/z-heading/index.js +3 -4
  194. package/dist/collection/components/typography/z-typography/index.js +18 -19
  195. package/dist/collection/components/typography/z-typography/styles.css +13 -13
  196. package/dist/collection/components/z-aria-alert/index.js +6 -12
  197. package/dist/collection/components/z-avatar/index.js +7 -8
  198. package/dist/collection/components/z-avatar/styles.css +10 -7
  199. package/dist/collection/components/z-card/index.js +19 -16
  200. package/dist/collection/components/z-card/styles.css +42 -38
  201. package/dist/collection/components/z-carousel/index.js +225 -6
  202. package/dist/collection/components/z-carousel/styles.css +108 -3
  203. package/dist/collection/components/z-contextual-menu/index.js +10 -5
  204. package/dist/collection/components/z-contextual-menu/styles.css +8 -8
  205. package/dist/collection/components/z-cover-hero/index.js +2 -3
  206. package/dist/collection/components/z-cover-hero/styles.css +4 -4
  207. package/dist/collection/components/z-divider/index.js +6 -6
  208. package/dist/collection/components/z-ghost-loading/index.js +2 -2
  209. package/dist/collection/components/z-ghost-loading/styles.css +14 -14
  210. package/dist/collection/components/z-info-reveal/index.js +12 -13
  211. package/dist/collection/components/z-info-reveal/styles.css +8 -9
  212. package/dist/collection/components/z-offcanvas/index.js +17 -14
  213. package/dist/collection/components/z-offcanvas/styles.css +45 -65
  214. package/dist/collection/components/z-pagination/index.js +16 -13
  215. package/dist/collection/components/z-pagination/styles.css +21 -16
  216. package/dist/collection/components/z-popover/index.js +57 -39
  217. package/dist/collection/components/z-popover/styles.css +9 -9
  218. package/dist/collection/components/z-section-title/index.js +17 -8
  219. package/dist/collection/components/z-section-title/styles.css +2 -2
  220. package/dist/collection/components/z-skip-to-content/index.js +19 -17
  221. package/dist/collection/components/z-skip-to-content/styles.css +15 -11
  222. package/dist/collection/components/z-table/z-table/index.js +7 -5
  223. package/dist/collection/components/z-table/z-table/styles.css +74 -23
  224. package/dist/collection/components/z-table/z-table-cell/index.js +9 -10
  225. package/dist/collection/components/z-table/z-table-cell/styles.css +4 -5
  226. package/dist/collection/components/z-table/z-table-empty-box/index.js +4 -4
  227. package/dist/collection/components/z-table/z-table-empty-box/styles.css +6 -5
  228. package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
  229. package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
  230. package/dist/collection/components/z-table/z-table-header/index.js +24 -22
  231. package/dist/collection/components/z-table/z-table-header/styles.css +2 -4
  232. package/dist/collection/components/z-table/z-table-header-row/index.js +3 -3
  233. package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
  234. package/dist/collection/components/z-table/z-table-row/index.js +11 -11
  235. package/dist/collection/components/z-table/z-table-row/styles.css +18 -9
  236. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +2 -2
  237. package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
  238. package/dist/collection/components/z-tag/index.js +1 -1
  239. package/dist/collection/components/z-tag/styles.css +12 -7
  240. package/dist/collection/components/z-visually-hidden/styles.css +6 -6
  241. package/dist/collection/constants/icons.js +1 -1
  242. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +23 -9
  243. package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +9 -8
  244. package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
  245. package/dist/collection/deprecated/z-button-deprecated/index.js +17 -22
  246. package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
  247. package/dist/collection/deprecated/z-button-filter/index.js +1 -2
  248. package/dist/collection/deprecated/z-button-filter/styles.css +17 -7
  249. package/dist/collection/deprecated/z-chip-deprecated/index.js +7 -5
  250. package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
  251. package/dist/collection/deprecated/z-input-deprecated/index.js +71 -59
  252. package/dist/collection/deprecated/z-input-deprecated/styles.css +91 -77
  253. package/dist/collection/deprecated/z-input-label/index.js +1 -1
  254. package/dist/collection/deprecated/z-input-label/styles.css +2 -2
  255. package/dist/collection/deprecated/z-popover-deprecated/index.js +17 -21
  256. package/dist/collection/deprecated/z-popover-deprecated/styles.css +37 -36
  257. package/dist/collection/deprecated/z-status-tag/index.js +8 -9
  258. package/dist/collection/deprecated/z-status-tag/styles.css +12 -10
  259. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +47 -36
  260. package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
  261. package/dist/collection/index.js +3 -4
  262. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +4 -7
  263. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
  264. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +5 -5
  265. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
  266. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
  267. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
  268. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  269. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +27 -10
  270. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -9
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +50 -52
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +15 -3
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +5 -6
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +14 -13
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +15 -14
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +13 -23
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +54 -23
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -2
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
  280. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  281. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
  282. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +19 -18
  283. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
  284. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +17 -13
  285. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +14 -14
  286. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +22 -10
  287. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +3 -3
  288. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +14 -6
  289. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
  290. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +22 -9
  291. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
  292. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +22 -13
  293. package/dist/collection/snowflakes/myz/topbar/index.js +39 -35
  294. package/dist/collection/snowflakes/myz/topbar/styles.css +177 -157
  295. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  296. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  297. package/dist/collection/snowflakes/myz/z-otp/index.js +22 -22
  298. package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
  299. package/dist/collection/snowflakes/myz/z-slideshow/index.js +8 -25
  300. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +31 -30
  301. package/dist/collection/utils/storybook-utils.js +5 -6
  302. package/dist/collection/utils/utils.js +14 -14
  303. package/dist/esm/{icons-56ca282c.js → icons-92a7dcde.js} +104 -104
  304. package/dist/esm/index-8390ddaf.js +354 -0
  305. package/dist/esm/{index-3517583d.js → index-a2ca4b97.js} +225 -207
  306. package/dist/esm/index-abb47b30.js +58 -0
  307. package/dist/esm/index.js +5 -5
  308. package/dist/esm/loader.js +3 -3
  309. package/dist/esm/polyfills/css-shim.js +1 -1
  310. package/dist/esm/{utils-c9ef6b5f.js → utils-2c5dfb88.js} +13 -13
  311. package/dist/esm/{utils-5d136bc4.js → utils-3ba1cfd4.js} +33 -19
  312. package/dist/esm/web-components-library.js +3 -3
  313. package/dist/esm/z-alert.entry.js +2 -2
  314. package/dist/esm/z-app-header.entry.js +14 -16
  315. package/dist/esm/z-app-switcher_9.entry.js +177 -159
  316. package/dist/esm/z-aria-alert.entry.js +3 -4
  317. package/dist/esm/z-avatar.entry.js +8 -9
  318. package/dist/esm/z-body_2.entry.js +3 -5
  319. package/dist/esm/z-button-deprecated.entry.js +9 -12
  320. package/dist/esm/z-button-filter.entry.js +3 -4
  321. package/dist/esm/z-button-sort.entry.js +6 -5
  322. package/dist/esm/z-button.entry.js +11 -10
  323. package/dist/esm/z-candybar.entry.js +2 -2
  324. package/dist/esm/z-card.entry.js +19 -16
  325. package/dist/esm/z-carousel.entry.js +117 -5
  326. package/dist/esm/z-chip-deprecated.entry.js +6 -4
  327. package/dist/esm/z-chip.entry.js +7 -7
  328. package/dist/esm/z-combobox.entry.js +26 -30
  329. package/dist/esm/z-contextual-menu.entry.js +10 -5
  330. package/dist/esm/z-cookiebar.entry.js +7 -6
  331. package/dist/esm/z-cover-hero.entry.js +5 -6
  332. package/dist/esm/z-date-picker.entry.js +46 -39
  333. package/dist/esm/z-dragdrop-area_2.entry.js +3 -4
  334. package/dist/esm/z-file-upload.entry.js +20 -18
  335. package/dist/esm/z-file.entry.js +4 -4
  336. package/dist/esm/z-footer-link_3.entry.js +4 -4
  337. package/dist/esm/z-footer.entry.js +16 -13
  338. package/dist/esm/z-ghost-loading.entry.js +3 -3
  339. package/dist/esm/z-icon-package.entry.js +4 -3
  340. package/dist/esm/z-info-box.entry.js +3 -3
  341. package/dist/esm/z-info-reveal.entry.js +8 -9
  342. package/dist/esm/z-input-deprecated.entry.js +67 -55
  343. package/dist/esm/z-input-label_2.entry.js +36 -40
  344. package/dist/esm/z-list-group.entry.js +7 -7
  345. package/dist/esm/z-list_2.entry.js +12 -12
  346. package/dist/esm/z-menu-dropdown_2.entry.js +11 -10
  347. package/dist/esm/z-menu-section.entry.js +3 -3
  348. package/dist/esm/z-menu.entry.js +13 -10
  349. package/dist/esm/z-messages-pocket.entry.js +7 -7
  350. package/dist/esm/z-modal-login.entry.js +15 -17
  351. package/dist/esm/z-modal.entry.js +6 -3
  352. package/dist/esm/z-myz-card-alert.entry.js +8 -8
  353. package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
  354. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  355. package/dist/esm/z-myz-card-footer.entry.js +10 -11
  356. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  357. package/dist/esm/z-myz-card-info.entry.js +17 -27
  358. package/dist/esm/z-myz-card-list.entry.js +3 -4
  359. package/dist/esm/z-myz-card_4.entry.js +13 -17
  360. package/dist/esm/z-myz-list-item.entry.js +4 -4
  361. package/dist/esm/z-myz-topbar.entry.js +39 -35
  362. package/dist/esm/z-navigation-tab-link.entry.js +11 -11
  363. package/dist/esm/z-navigation-tab.entry.js +12 -12
  364. package/dist/esm/z-navigation-tabs.entry.js +21 -21
  365. package/dist/esm/z-notification.entry.js +8 -3
  366. package/dist/esm/z-offcanvas.entry.js +15 -12
  367. package/dist/esm/z-otp.entry.js +18 -18
  368. package/dist/esm/z-pagination-bar.entry.js +25 -13
  369. package/dist/esm/z-pagination-page.entry.js +2 -2
  370. package/dist/esm/z-pagination.entry.js +17 -14
  371. package/dist/esm/z-panel-elem.entry.js +4 -4
  372. package/dist/esm/z-pocket-message.entry.js +3 -3
  373. package/dist/esm/z-pocket_3.entry.js +19 -19
  374. package/dist/esm/z-popover-deprecated.entry.js +14 -17
  375. package/dist/esm/z-popover.entry.js +55 -37
  376. package/dist/esm/z-section-title.entry.js +14 -5
  377. package/dist/esm/z-skip-to-content.entry.js +21 -19
  378. package/dist/esm/z-slideshow.entry.js +12 -29
  379. package/dist/esm/z-status-tag.entry.js +9 -9
  380. package/dist/esm/z-stepper-item.entry.js +2 -2
  381. package/dist/esm/z-stepper.entry.js +3 -3
  382. package/dist/esm/z-table-body.entry.js +1 -1
  383. package/dist/esm/z-table-cell.entry.js +11 -11
  384. package/dist/esm/z-table-empty-box.entry.js +7 -6
  385. package/dist/esm/z-table-expanded-row.entry.js +2 -2
  386. package/dist/esm/z-table-footer.entry.js +1 -1
  387. package/dist/esm/z-table-head.entry.js +1 -1
  388. package/dist/esm/z-table-header-row.entry.js +4 -4
  389. package/dist/esm/z-table-header.entry.js +21 -18
  390. package/dist/esm/z-table-row.entry.js +9 -9
  391. package/dist/esm/z-table-sticky-footer.entry.js +3 -3
  392. package/dist/esm/z-table.entry.js +9 -7
  393. package/dist/esm/z-tag.entry.js +3 -3
  394. package/dist/esm/z-toast-notification-list.entry.js +17 -17
  395. package/dist/esm/z-toast-notification.entry.js +41 -38
  396. package/dist/esm/z-toggle-button.entry.js +10 -8
  397. package/dist/esm/z-toggle-switch.entry.js +17 -19
  398. package/dist/esm/z-tooltip-deprecated.entry.js +47 -36
  399. package/dist/esm/z-tooltip.entry.js +4 -4
  400. package/dist/esm/z-user-dropdown.entry.js +8 -6
  401. package/dist/esm/z-visually-hidden.entry.js +2 -2
  402. package/dist/types/beans/index.d.ts +182 -171
  403. package/dist/types/components/buttons/z-button/index.d.ts +13 -6
  404. package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
  405. package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
  406. package/dist/types/components/buttons/z-toggle-button/index.d.ts +3 -2
  407. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +5 -11
  408. package/dist/types/components/date-picker/utils.d.ts +4 -4
  409. package/dist/types/components/date-picker/z-date-picker/index.d.ts +8 -7
  410. package/dist/types/components/date-picker/z-range-picker/index.d.ts +13 -11
  411. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
  412. package/dist/types/components/file-upload/z-file/index.d.ts +5 -7
  413. package/dist/types/components/file-upload/z-file-upload/index.d.ts +17 -18
  414. package/dist/types/components/footer/z-footer/index.d.ts +15 -15
  415. package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
  416. package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
  417. package/dist/types/components/icons/icons.d.ts +1 -1
  418. package/dist/types/components/icons/z-icon/index.d.ts +3 -3
  419. package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
  420. package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
  421. package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
  422. package/dist/types/components/inputs/z-combobox/index.d.ts +15 -14
  423. package/dist/types/components/inputs/z-input/index.d.ts +46 -25
  424. package/dist/types/components/inputs/z-input-message/index.d.ts +3 -4
  425. package/dist/types/components/inputs/z-select/index.d.ts +23 -23
  426. package/dist/types/components/list/z-list/index.d.ts +3 -4
  427. package/dist/types/components/list/z-list-element/index.d.ts +7 -11
  428. package/dist/types/components/list/z-list-group/index.d.ts +3 -4
  429. package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
  430. package/dist/types/components/logo/z-logo/index.d.ts +1 -2
  431. package/dist/types/components/modal/z-modal/index.d.ts +4 -5
  432. package/dist/types/components/modal/z-modal-login/index.d.ts +14 -13
  433. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +8 -9
  434. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +8 -9
  435. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +9 -10
  436. package/dist/types/components/navigation/z-app-header/index.d.ts +10 -11
  437. package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
  438. package/dist/types/components/navigation/z-app-topbar/index.d.ts +2 -3
  439. package/dist/types/components/navigation/z-link/index.d.ts +7 -6
  440. package/dist/types/components/navigation/z-menu/index.d.ts +6 -7
  441. package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
  442. package/dist/types/components/navigation/z-menu-section/index.d.ts +6 -8
  443. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +9 -10
  444. package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
  445. package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
  446. package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
  447. package/dist/types/components/notification/z-notification/index.d.ts +5 -6
  448. package/dist/types/components/notification/z-toast-notification/index.d.ts +19 -20
  449. package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
  450. package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
  451. package/dist/types/components/typography/z-body/index.d.ts +1 -4
  452. package/dist/types/components/typography/z-heading/index.d.ts +1 -4
  453. package/dist/types/components/typography/z-typography/index.d.ts +4 -8
  454. package/dist/types/components/z-aria-alert/index.d.ts +2 -5
  455. package/dist/types/components/z-avatar/index.d.ts +2 -3
  456. package/dist/types/components/z-card/index.d.ts +6 -7
  457. package/dist/types/components/z-carousel/index.d.ts +47 -3
  458. package/dist/types/components/z-contextual-menu/index.d.ts +3 -4
  459. package/dist/types/components/z-cover-hero/index.d.ts +2 -3
  460. package/dist/types/components/z-divider/index.d.ts +1 -2
  461. package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
  462. package/dist/types/components/z-info-reveal/index.d.ts +7 -9
  463. package/dist/types/components/z-offcanvas/index.d.ts +8 -9
  464. package/dist/types/components/z-pagination/index.d.ts +13 -14
  465. package/dist/types/components/z-popover/index.d.ts +7 -7
  466. package/dist/types/components/z-section-title/index.d.ts +4 -5
  467. package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
  468. package/dist/types/components/z-table/z-table/index.d.ts +4 -5
  469. package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
  470. package/dist/types/components/z-table/z-table-cell/index.d.ts +3 -4
  471. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +4 -5
  472. package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
  473. package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
  474. package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
  475. package/dist/types/components/z-table/z-table-header/index.d.ts +7 -9
  476. package/dist/types/components/z-table/z-table-header-row/index.d.ts +2 -4
  477. package/dist/types/components/z-table/z-table-row/index.d.ts +4 -7
  478. package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
  479. package/dist/types/components/z-tag/index.d.ts +1 -2
  480. package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
  481. package/dist/types/components.d.ts +109 -240
  482. package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +16 -14
  483. package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
  484. package/dist/types/deprecated/z-button-deprecated/index.d.ts +5 -5
  485. package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
  486. package/dist/types/deprecated/z-chip-deprecated/index.d.ts +1 -3
  487. package/dist/types/deprecated/z-input-deprecated/index.d.ts +34 -23
  488. package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
  489. package/dist/types/deprecated/z-popover-deprecated/index.d.ts +7 -8
  490. package/dist/types/deprecated/z-status-tag/index.d.ts +1 -2
  491. package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +3 -4
  492. package/dist/types/index.d.ts +3 -4
  493. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -2
  494. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +7 -6
  495. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
  496. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
  497. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  498. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +12 -6
  499. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
  500. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +9 -4
  501. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
  502. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
  503. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +5 -4
  504. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -2
  505. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
  506. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
  507. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
  508. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
  509. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
  510. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
  511. package/dist/types/snowflakes/myz/topbar/index.d.ts +24 -22
  512. package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -1
  513. package/dist/types/snowflakes/myz/z-otp/index.d.ts +4 -8
  514. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +12 -12
  515. package/dist/types/stencil-public-runtime.d.ts +15 -4
  516. package/dist/types/utils/utils.d.ts +5 -12
  517. package/dist/web-components-library/index.esm.js +1 -1
  518. package/dist/web-components-library/p-01a95ddd.entry.js +1 -0
  519. package/dist/web-components-library/p-023e657c.entry.js +1 -0
  520. package/dist/web-components-library/p-03aa4a29.entry.js +1 -0
  521. package/dist/web-components-library/p-07af77be.entry.js +1 -0
  522. package/dist/web-components-library/p-0f0d8a17.entry.js +1 -0
  523. package/dist/web-components-library/p-137c1289.entry.js +1 -0
  524. package/dist/web-components-library/p-145ef56b.entry.js +1 -0
  525. package/dist/web-components-library/{p-b4e14eed.js → p-16c0ffce.js} +1 -1
  526. package/dist/web-components-library/p-1c5cb6b6.entry.js +1 -0
  527. package/dist/web-components-library/p-1cb8f39f.entry.js +1 -0
  528. package/dist/web-components-library/p-1efa8cfe.entry.js +1 -0
  529. package/dist/web-components-library/p-204c6ec6.entry.js +1 -0
  530. package/dist/web-components-library/p-213d7163.entry.js +1 -0
  531. package/dist/web-components-library/p-21a1b6a9.entry.js +1 -0
  532. package/dist/web-components-library/p-242e410f.entry.js +1 -0
  533. package/dist/web-components-library/p-286363e2.js +7 -0
  534. package/dist/web-components-library/{p-88b9d5b4.entry.js → p-2b374cb0.entry.js} +1 -1
  535. package/dist/web-components-library/p-2ec1cc4b.entry.js +1 -0
  536. package/dist/web-components-library/p-33438244.entry.js +1 -0
  537. package/dist/web-components-library/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
  538. package/dist/web-components-library/{p-41dbc6f1.entry.js → p-3bdf4f63.entry.js} +1 -1
  539. package/dist/web-components-library/{p-32baba0e.entry.js → p-3c63af71.entry.js} +1 -1
  540. package/dist/web-components-library/p-3c715e7d.entry.js +1 -0
  541. package/dist/web-components-library/{p-834a3866.entry.js → p-3e60fa3d.entry.js} +1 -1
  542. package/dist/web-components-library/p-426c55e1.entry.js +1 -0
  543. package/dist/web-components-library/{p-b2d16b41.js → p-42b0972c.js} +1 -1
  544. package/dist/web-components-library/p-42d1707b.entry.js +1 -0
  545. package/dist/web-components-library/p-46f66301.entry.js +1 -0
  546. package/dist/web-components-library/p-470e984a.entry.js +1 -0
  547. package/dist/web-components-library/p-4725eda5.entry.js +1 -0
  548. package/dist/web-components-library/p-478dd7a6.entry.js +1 -0
  549. package/dist/web-components-library/p-4f4930b5.entry.js +1 -0
  550. package/dist/web-components-library/p-52ca86db.entry.js +1 -0
  551. package/dist/web-components-library/p-5a5dde20.entry.js +1 -0
  552. package/{www/build/p-cfe78918.entry.js → dist/web-components-library/p-5c30dfc5.entry.js} +1 -1
  553. package/dist/web-components-library/{p-88de0323.entry.js → p-69fead44.entry.js} +1 -1
  554. package/dist/web-components-library/p-6ab40b8f.entry.js +1 -0
  555. package/dist/web-components-library/p-6aba4f0a.entry.js +1 -0
  556. package/dist/web-components-library/p-6c7251f5.entry.js +1 -0
  557. package/dist/web-components-library/{p-3124aed0.entry.js → p-6d9d8a68.entry.js} +1 -1
  558. package/dist/web-components-library/p-726b4fbd.entry.js +1 -0
  559. package/dist/web-components-library/p-728a61a6.js +1 -0
  560. package/dist/web-components-library/p-769ccc9f.entry.js +1 -0
  561. package/dist/web-components-library/p-79d4e03b.entry.js +1 -0
  562. package/dist/web-components-library/p-872c8d25.entry.js +1 -0
  563. package/dist/web-components-library/p-8779fc5f.entry.js +1 -0
  564. package/dist/web-components-library/{p-00fd5cac.entry.js → p-8c703e92.entry.js} +1 -1
  565. package/dist/web-components-library/p-8e480d71.entry.js +1 -0
  566. package/dist/web-components-library/p-9124fe26.entry.js +1 -0
  567. package/dist/web-components-library/p-951c50ad.entry.js +16 -0
  568. package/dist/web-components-library/{p-02f14544.entry.js → p-9b70eba4.entry.js} +1 -1
  569. package/dist/web-components-library/p-9bbb27f7.entry.js +1 -0
  570. package/dist/web-components-library/p-9c83bf57.entry.js +1 -0
  571. package/dist/web-components-library/{p-3c463e59.entry.js → p-a30bbd0a.entry.js} +1 -1
  572. package/dist/web-components-library/p-a3eeed2e.entry.js +1 -0
  573. package/dist/web-components-library/p-a88046a0.entry.js +1 -0
  574. package/dist/web-components-library/p-a9d0b418.entry.js +1 -0
  575. package/dist/web-components-library/p-aaa0752b.entry.js +1 -0
  576. package/dist/web-components-library/p-ad17a4a0.entry.js +1 -0
  577. package/dist/web-components-library/p-aee1f514.entry.js +1 -0
  578. package/dist/web-components-library/p-b02aa57c.entry.js +1 -0
  579. package/dist/web-components-library/p-b54faa73.entry.js +1 -0
  580. package/dist/web-components-library/p-b622a7fd.entry.js +1 -0
  581. package/dist/web-components-library/{p-b50ee2a8.entry.js → p-b9bf1a8d.entry.js} +1 -1
  582. package/dist/web-components-library/p-baa877db.entry.js +1 -0
  583. package/dist/web-components-library/p-beec82d9.entry.js +1 -0
  584. package/dist/web-components-library/p-bf7adc29.entry.js +1 -0
  585. package/dist/web-components-library/p-c1da93ee.entry.js +1 -0
  586. package/dist/web-components-library/p-c2a3f15d.entry.js +1 -0
  587. package/dist/web-components-library/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
  588. package/dist/web-components-library/p-c4f778d7.entry.js +1 -0
  589. package/{www/build/p-e3176170.entry.js → dist/web-components-library/p-c633d2bb.entry.js} +1 -1
  590. package/dist/web-components-library/p-c6b5ee23.entry.js +1 -0
  591. package/dist/web-components-library/p-c89cbfcc.entry.js +1 -0
  592. package/dist/web-components-library/p-cea7a294.entry.js +1 -0
  593. package/dist/web-components-library/p-d17ebc2f.js +2 -0
  594. package/dist/web-components-library/p-d1f8d75e.entry.js +1 -0
  595. package/dist/web-components-library/p-d29153f0.entry.js +1 -0
  596. package/dist/web-components-library/{p-b33f1112.js → p-d4681325.js} +1 -1
  597. package/dist/web-components-library/p-d665ca6b.entry.js +1 -0
  598. package/dist/web-components-library/p-d8aac365.entry.js +1 -0
  599. package/dist/web-components-library/{p-f0a63044.entry.js → p-e177dbef.entry.js} +1 -1
  600. package/dist/web-components-library/p-e527ef6d.entry.js +1 -0
  601. package/dist/web-components-library/p-e88ad497.entry.js +1 -0
  602. package/dist/web-components-library/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
  603. package/dist/web-components-library/p-eb2634d3.entry.js +1 -0
  604. package/dist/web-components-library/p-eba1cdd9.entry.js +1 -0
  605. package/dist/web-components-library/p-ed9dc5b7.entry.js +1 -0
  606. package/dist/web-components-library/p-f0e73ccb.entry.js +1 -0
  607. package/dist/web-components-library/p-f4b9f544.entry.js +1 -0
  608. package/dist/web-components-library/p-f5c3d332.entry.js +1 -0
  609. package/dist/web-components-library/p-f724f7a1.entry.js +1 -0
  610. package/dist/web-components-library/p-f77d7a3f.entry.js +1 -0
  611. package/{www/build/p-b2ee6ded.entry.js → dist/web-components-library/p-fd13128d.entry.js} +1 -1
  612. package/dist/web-components-library/p-fdb6e67b.entry.js +1 -0
  613. package/dist/web-components-library/web-components-library.esm.js +1 -1
  614. package/package.json +18 -25
  615. package/react/index.d.ts +1 -1
  616. package/readme.md +33 -91
  617. package/src-react/index.ts +1 -1
  618. package/www/build/index.esm.js +1 -1
  619. package/www/build/p-0109f1e9.js +1 -0
  620. package/www/build/p-01a95ddd.entry.js +1 -0
  621. package/www/build/p-023e657c.entry.js +1 -0
  622. package/www/build/p-03aa4a29.entry.js +1 -0
  623. package/www/build/p-07af77be.entry.js +1 -0
  624. package/www/build/p-0f0d8a17.entry.js +1 -0
  625. package/www/build/p-137c1289.entry.js +1 -0
  626. package/www/build/p-145ef56b.entry.js +1 -0
  627. package/www/build/{p-b4e14eed.js → p-16c0ffce.js} +1 -1
  628. package/www/build/p-1c5cb6b6.entry.js +1 -0
  629. package/www/build/p-1cb8f39f.entry.js +1 -0
  630. package/www/build/p-1efa8cfe.entry.js +1 -0
  631. package/www/build/p-204c6ec6.entry.js +1 -0
  632. package/www/build/p-213d7163.entry.js +1 -0
  633. package/www/build/p-21a1b6a9.entry.js +1 -0
  634. package/www/build/p-242e410f.entry.js +1 -0
  635. package/www/build/p-286363e2.js +7 -0
  636. package/www/build/{p-88b9d5b4.entry.js → p-2b374cb0.entry.js} +1 -1
  637. package/www/build/p-2ec1cc4b.entry.js +1 -0
  638. package/www/build/p-33438244.entry.js +1 -0
  639. package/www/build/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
  640. package/www/build/{p-41dbc6f1.entry.js → p-3bdf4f63.entry.js} +1 -1
  641. package/www/build/{p-32baba0e.entry.js → p-3c63af71.entry.js} +1 -1
  642. package/www/build/p-3c715e7d.entry.js +1 -0
  643. package/www/build/{p-834a3866.entry.js → p-3e60fa3d.entry.js} +1 -1
  644. package/www/build/p-426c55e1.entry.js +1 -0
  645. package/www/build/{p-b2d16b41.js → p-42b0972c.js} +1 -1
  646. package/www/build/p-42d1707b.entry.js +1 -0
  647. package/www/build/p-46f66301.entry.js +1 -0
  648. package/www/build/p-470e984a.entry.js +1 -0
  649. package/www/build/p-4725eda5.entry.js +1 -0
  650. package/www/build/p-478dd7a6.entry.js +1 -0
  651. package/www/build/p-4f4930b5.entry.js +1 -0
  652. package/www/build/p-52ca86db.entry.js +1 -0
  653. package/www/build/p-5a5dde20.entry.js +1 -0
  654. package/{dist/web-components-library/p-cfe78918.entry.js → www/build/p-5c30dfc5.entry.js} +1 -1
  655. package/www/build/{p-88de0323.entry.js → p-69fead44.entry.js} +1 -1
  656. package/www/build/p-6ab40b8f.entry.js +1 -0
  657. package/www/build/p-6aba4f0a.entry.js +1 -0
  658. package/www/build/p-6c7251f5.entry.js +1 -0
  659. package/www/build/{p-3124aed0.entry.js → p-6d9d8a68.entry.js} +1 -1
  660. package/www/build/p-726b4fbd.entry.js +1 -0
  661. package/www/build/p-728a61a6.js +1 -0
  662. package/www/build/p-769ccc9f.entry.js +1 -0
  663. package/www/build/p-79d4e03b.entry.js +1 -0
  664. package/www/build/p-872c8d25.entry.js +1 -0
  665. package/www/build/p-8779fc5f.entry.js +1 -0
  666. package/www/build/{p-00fd5cac.entry.js → p-8c703e92.entry.js} +1 -1
  667. package/www/build/p-8e480d71.entry.js +1 -0
  668. package/www/build/p-9124fe26.entry.js +1 -0
  669. package/www/build/p-951c50ad.entry.js +16 -0
  670. package/www/build/{p-02f14544.entry.js → p-9b70eba4.entry.js} +1 -1
  671. package/www/build/p-9bbb27f7.entry.js +1 -0
  672. package/www/build/p-9c83bf57.entry.js +1 -0
  673. package/www/build/{p-3c463e59.entry.js → p-a30bbd0a.entry.js} +1 -1
  674. package/www/build/p-a3eeed2e.entry.js +1 -0
  675. package/www/build/p-a88046a0.entry.js +1 -0
  676. package/www/build/p-a9d0b418.entry.js +1 -0
  677. package/www/build/p-aaa0752b.entry.js +1 -0
  678. package/www/build/p-ad17a4a0.entry.js +1 -0
  679. package/www/build/p-aee1f514.entry.js +1 -0
  680. package/www/build/p-b02aa57c.entry.js +1 -0
  681. package/www/build/p-b54faa73.entry.js +1 -0
  682. package/www/build/p-b622a7fd.entry.js +1 -0
  683. package/www/build/{p-b50ee2a8.entry.js → p-b9bf1a8d.entry.js} +1 -1
  684. package/www/build/p-baa877db.entry.js +1 -0
  685. package/www/build/p-beec82d9.entry.js +1 -0
  686. package/www/build/p-bf7adc29.entry.js +1 -0
  687. package/www/build/p-c1da93ee.entry.js +1 -0
  688. package/www/build/p-c2a3f15d.entry.js +1 -0
  689. package/www/build/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
  690. package/www/build/p-c4f778d7.entry.js +1 -0
  691. package/{dist/web-components-library/p-e3176170.entry.js → www/build/p-c633d2bb.entry.js} +1 -1
  692. package/www/build/p-c6b5ee23.entry.js +1 -0
  693. package/www/build/p-c89cbfcc.entry.js +1 -0
  694. package/www/build/p-cea7a294.entry.js +1 -0
  695. package/www/build/p-d17ebc2f.js +2 -0
  696. package/www/build/p-d1f8d75e.entry.js +1 -0
  697. package/www/build/p-d29153f0.entry.js +1 -0
  698. package/www/build/{p-b33f1112.js → p-d4681325.js} +1 -1
  699. package/www/build/p-d665ca6b.entry.js +1 -0
  700. package/www/build/p-d8aac365.entry.js +1 -0
  701. package/www/build/{p-f0a63044.entry.js → p-e177dbef.entry.js} +1 -1
  702. package/www/build/p-e527ef6d.entry.js +1 -0
  703. package/www/build/p-e88ad497.entry.js +1 -0
  704. package/www/build/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
  705. package/www/build/p-eb2634d3.entry.js +1 -0
  706. package/www/build/p-eba1cdd9.entry.js +1 -0
  707. package/www/build/p-ed9dc5b7.entry.js +1 -0
  708. package/www/build/p-f0e73ccb.entry.js +1 -0
  709. package/www/build/p-f4b9f544.entry.js +1 -0
  710. package/www/build/p-f5c3d332.entry.js +1 -0
  711. package/www/build/p-f724f7a1.entry.js +1 -0
  712. package/www/build/p-f77d7a3f.entry.js +1 -0
  713. package/{dist/web-components-library/p-b2ee6ded.entry.js → www/build/p-fd13128d.entry.js} +1 -1
  714. package/www/build/p-fdb6e67b.entry.js +1 -0
  715. package/www/build/web-components-library.esm.js +1 -1
  716. package/www/index.html +1 -1
  717. package/www/pages/file-upload.html +4 -16
  718. package/www/pages/notification.html +69 -153
  719. package/dist/esm/index-b7165fb7.js +0 -344
  720. package/dist/web-components-library/p-01cbf6d4.entry.js +0 -1
  721. package/dist/web-components-library/p-0617465e.entry.js +0 -1
  722. package/dist/web-components-library/p-06f54c19.entry.js +0 -1
  723. package/dist/web-components-library/p-0ad2c8ca.entry.js +0 -1
  724. package/dist/web-components-library/p-0af8d806.entry.js +0 -1
  725. package/dist/web-components-library/p-14f11a64.entry.js +0 -1
  726. package/dist/web-components-library/p-1668ec30.entry.js +0 -1
  727. package/dist/web-components-library/p-2177384f.entry.js +0 -1
  728. package/dist/web-components-library/p-25769717.entry.js +0 -1
  729. package/dist/web-components-library/p-25b8e583.entry.js +0 -1
  730. package/dist/web-components-library/p-2772f005.entry.js +0 -1
  731. package/dist/web-components-library/p-2e2ae623.entry.js +0 -1
  732. package/dist/web-components-library/p-311f5e7a.entry.js +0 -16
  733. package/dist/web-components-library/p-31604337.entry.js +0 -1
  734. package/dist/web-components-library/p-348c5ada.entry.js +0 -1
  735. package/dist/web-components-library/p-41b8390e.entry.js +0 -1
  736. package/dist/web-components-library/p-48134f75.entry.js +0 -1
  737. package/dist/web-components-library/p-4fe96235.entry.js +0 -1
  738. package/dist/web-components-library/p-53d9ac21.entry.js +0 -1
  739. package/dist/web-components-library/p-5a8bdc47.entry.js +0 -1
  740. package/dist/web-components-library/p-5f5725ce.entry.js +0 -1
  741. package/dist/web-components-library/p-5fe820fe.entry.js +0 -1
  742. package/dist/web-components-library/p-6106b802.entry.js +0 -1
  743. package/dist/web-components-library/p-613cc3b2.entry.js +0 -1
  744. package/dist/web-components-library/p-621ccd34.entry.js +0 -1
  745. package/dist/web-components-library/p-6852e978.entry.js +0 -1
  746. package/dist/web-components-library/p-6a53a0d8.entry.js +0 -1
  747. package/dist/web-components-library/p-6b7f7ac9.entry.js +0 -1
  748. package/dist/web-components-library/p-6de8783e.entry.js +0 -1
  749. package/dist/web-components-library/p-6e01660c.entry.js +0 -1
  750. package/dist/web-components-library/p-6fa0cef6.entry.js +0 -1
  751. package/dist/web-components-library/p-71ff9b83.entry.js +0 -1
  752. package/dist/web-components-library/p-747ad8dc.entry.js +0 -1
  753. package/dist/web-components-library/p-773cc0f3.entry.js +0 -1
  754. package/dist/web-components-library/p-792a7ea0.entry.js +0 -1
  755. package/dist/web-components-library/p-79940e8f.entry.js +0 -1
  756. package/dist/web-components-library/p-79c9cf77.entry.js +0 -1
  757. package/dist/web-components-library/p-7a9d3944.entry.js +0 -1
  758. package/dist/web-components-library/p-7d6e5930.entry.js +0 -1
  759. package/dist/web-components-library/p-810276c9.entry.js +0 -1
  760. package/dist/web-components-library/p-8158fe3c.js +0 -1
  761. package/dist/web-components-library/p-83ee9630.entry.js +0 -1
  762. package/dist/web-components-library/p-87942fb9.entry.js +0 -1
  763. package/dist/web-components-library/p-940352dc.entry.js +0 -1
  764. package/dist/web-components-library/p-9a75f3f8.entry.js +0 -1
  765. package/dist/web-components-library/p-9c0df331.entry.js +0 -1
  766. package/dist/web-components-library/p-a55ef7b5.entry.js +0 -1
  767. package/dist/web-components-library/p-aae7a242.entry.js +0 -1
  768. package/dist/web-components-library/p-ae2dd723.entry.js +0 -1
  769. package/dist/web-components-library/p-af6789f2.entry.js +0 -1
  770. package/dist/web-components-library/p-b1b66050.entry.js +0 -1
  771. package/dist/web-components-library/p-b366ef8e.js +0 -2
  772. package/dist/web-components-library/p-b9de57a3.entry.js +0 -1
  773. package/dist/web-components-library/p-bb684454.entry.js +0 -1
  774. package/dist/web-components-library/p-bc65252e.entry.js +0 -1
  775. package/dist/web-components-library/p-bd70bbcc.entry.js +0 -1
  776. package/dist/web-components-library/p-c0d382bc.entry.js +0 -1
  777. package/dist/web-components-library/p-c1c6988e.entry.js +0 -1
  778. package/dist/web-components-library/p-c26d641f.entry.js +0 -1
  779. package/dist/web-components-library/p-c4b70baa.entry.js +0 -1
  780. package/dist/web-components-library/p-c5ecf36a.entry.js +0 -1
  781. package/dist/web-components-library/p-dd74911c.entry.js +0 -1
  782. package/dist/web-components-library/p-e137a17f.entry.js +0 -1
  783. package/dist/web-components-library/p-e1cbcb1e.entry.js +0 -1
  784. package/dist/web-components-library/p-e45c7aeb.entry.js +0 -1
  785. package/dist/web-components-library/p-eb612914.entry.js +0 -1
  786. package/dist/web-components-library/p-efdca379.entry.js +0 -1
  787. package/dist/web-components-library/p-f24a4525.entry.js +0 -1
  788. package/dist/web-components-library/p-f6ff5bc5.entry.js +0 -1
  789. package/dist/web-components-library/p-f94ad50d.entry.js +0 -1
  790. package/dist/web-components-library/p-fddbe121.entry.js +0 -1
  791. package/dist/web-components-library/p-ff000765.entry.js +0 -1
  792. package/dist/web-components-library/p-ff0fc090.entry.js +0 -1
  793. package/dist/web-components-library/p-ffacff3f.entry.js +0 -1
  794. package/www/build/p-01cbf6d4.entry.js +0 -1
  795. package/www/build/p-0617465e.entry.js +0 -1
  796. package/www/build/p-06f54c19.entry.js +0 -1
  797. package/www/build/p-0ad2c8ca.entry.js +0 -1
  798. package/www/build/p-0af8d806.entry.js +0 -1
  799. package/www/build/p-14f11a64.entry.js +0 -1
  800. package/www/build/p-1668ec30.entry.js +0 -1
  801. package/www/build/p-2177384f.entry.js +0 -1
  802. package/www/build/p-25769717.entry.js +0 -1
  803. package/www/build/p-25b8e583.entry.js +0 -1
  804. package/www/build/p-2772f005.entry.js +0 -1
  805. package/www/build/p-2e2ae623.entry.js +0 -1
  806. package/www/build/p-311f5e7a.entry.js +0 -16
  807. package/www/build/p-31604337.entry.js +0 -1
  808. package/www/build/p-348c5ada.entry.js +0 -1
  809. package/www/build/p-41b8390e.entry.js +0 -1
  810. package/www/build/p-48134f75.entry.js +0 -1
  811. package/www/build/p-4fe96235.entry.js +0 -1
  812. package/www/build/p-53d9ac21.entry.js +0 -1
  813. package/www/build/p-5a8bdc47.entry.js +0 -1
  814. package/www/build/p-5f5725ce.entry.js +0 -1
  815. package/www/build/p-5fe820fe.entry.js +0 -1
  816. package/www/build/p-6106b802.entry.js +0 -1
  817. package/www/build/p-613cc3b2.entry.js +0 -1
  818. package/www/build/p-621ccd34.entry.js +0 -1
  819. package/www/build/p-6852e978.entry.js +0 -1
  820. package/www/build/p-6a53a0d8.entry.js +0 -1
  821. package/www/build/p-6b7f7ac9.entry.js +0 -1
  822. package/www/build/p-6de8783e.entry.js +0 -1
  823. package/www/build/p-6e01660c.entry.js +0 -1
  824. package/www/build/p-6fa0cef6.entry.js +0 -1
  825. package/www/build/p-71ff9b83.entry.js +0 -1
  826. package/www/build/p-747ad8dc.entry.js +0 -1
  827. package/www/build/p-773cc0f3.entry.js +0 -1
  828. package/www/build/p-792a7ea0.entry.js +0 -1
  829. package/www/build/p-79940e8f.entry.js +0 -1
  830. package/www/build/p-79c9cf77.entry.js +0 -1
  831. package/www/build/p-7a9d3944.entry.js +0 -1
  832. package/www/build/p-7d6e5930.entry.js +0 -1
  833. package/www/build/p-810276c9.entry.js +0 -1
  834. package/www/build/p-8158fe3c.js +0 -1
  835. package/www/build/p-83ee9630.entry.js +0 -1
  836. package/www/build/p-87942fb9.entry.js +0 -1
  837. package/www/build/p-8a9e2dd1.js +0 -1
  838. package/www/build/p-940352dc.entry.js +0 -1
  839. package/www/build/p-9a75f3f8.entry.js +0 -1
  840. package/www/build/p-9c0df331.entry.js +0 -1
  841. package/www/build/p-a55ef7b5.entry.js +0 -1
  842. package/www/build/p-aae7a242.entry.js +0 -1
  843. package/www/build/p-ae2dd723.entry.js +0 -1
  844. package/www/build/p-af6789f2.entry.js +0 -1
  845. package/www/build/p-b1b66050.entry.js +0 -1
  846. package/www/build/p-b366ef8e.js +0 -2
  847. package/www/build/p-b9de57a3.entry.js +0 -1
  848. package/www/build/p-bb684454.entry.js +0 -1
  849. package/www/build/p-bc65252e.entry.js +0 -1
  850. package/www/build/p-bd70bbcc.entry.js +0 -1
  851. package/www/build/p-c0d382bc.entry.js +0 -1
  852. package/www/build/p-c1c6988e.entry.js +0 -1
  853. package/www/build/p-c26d641f.entry.js +0 -1
  854. package/www/build/p-c4b70baa.entry.js +0 -1
  855. package/www/build/p-c5ecf36a.entry.js +0 -1
  856. package/www/build/p-dd74911c.entry.js +0 -1
  857. package/www/build/p-e137a17f.entry.js +0 -1
  858. package/www/build/p-e1cbcb1e.entry.js +0 -1
  859. package/www/build/p-e45c7aeb.entry.js +0 -1
  860. package/www/build/p-eb612914.entry.js +0 -1
  861. package/www/build/p-efdca379.entry.js +0 -1
  862. package/www/build/p-f24a4525.entry.js +0 -1
  863. package/www/build/p-f6ff5bc5.entry.js +0 -1
  864. package/www/build/p-f94ad50d.entry.js +0 -1
  865. package/www/build/p-fddbe121.entry.js +0 -1
  866. package/www/build/p-ff000765.entry.js +0 -1
  867. package/www/build/p-ff0fc090.entry.js +0 -1
  868. package/www/build/p-ffacff3f.entry.js +0 -1
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
6
- const index$1 = require('./index-15126331.js');
5
+ const index = require('./index-e3299e0a.js');
6
+ const index$1 = require('./index-745c0423.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
 
9
- const stylesCss = "z-table{display:block;width:100%;background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg);overflow-x:auto}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--dashboard-font)}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
9
+ const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
10
10
 
11
11
  const ZTable = class {
12
12
  constructor(hostRef) {
@@ -53,12 +53,14 @@ const ZTable = class {
53
53
  return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-error", null, index.h("div", { class: "error-content", style: { minHeight } }, index.h("slot", { name: "error-image" }), index.h("div", { class: "text" }, index.h("z-body", { class: "error-message", level: 3, variant: "semibold" }, this.errorMessage), index.h("slot", { name: "error-action" }))))));
54
54
  }
55
55
  renderEmpty(tableClass) {
56
- const buttonSize = this.isMobile ? index$1.ButtonSizeEnum.SMALL : index$1.ButtonSizeEnum.BIG;
57
- const tableContentClass = `${this.hasTableBody ? "table-content" : ""}`;
56
+ const buttonSize = this.isMobile
57
+ ? index$1.ButtonSizeEnum.small
58
+ : index$1.ButtonSizeEnum.big;
59
+ const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
58
60
  if (this.hasTableBody) {
59
- return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
61
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
60
62
  }
61
- return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
63
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
62
64
  }
63
65
  render() {
64
66
  const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
5
+ const index = require('./index-e3299e0a.js');
6
6
 
7
- const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg);border-radius:var(--border-radius);color:var(--z-tag-text-color);fill:var(--z-tag-text-color);font-family:var(--font-family-sans);line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";
7
+ const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);font-family:var(--font-family-sans);border-radius:var(--border-radius);padding:calc(var(--space-unit) / 2);text-transform:uppercase;display:flex;width:fit-content;height:fit-content;max-width:inherit;max-height:inherit;color:var(--z-tag-text-color);fill:var(--z-tag-text-color);background-color:var(--z-tag-bg);line-height:14px}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{max-width:0;max-height:0;overflow:hidden}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";
8
8
 
9
9
  const ZTag = class {
10
10
  constructor(hostRef) {
@@ -13,7 +13,7 @@ const ZTag = class {
13
13
  render() {
14
14
  return (index.h(index.Host, { class: {
15
15
  "body-5-sb": true,
16
- "expandable": this.expandable && !!this.icon,
16
+ expandable: this.expandable && !!this.icon,
17
17
  } }, this.icon && index.h("z-icon", { name: this.icon }), index.h("div", null, index.h("slot", null))));
18
18
  }
19
19
  };
@@ -2,18 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
6
- const index$1 = require('./index-15126331.js');
5
+ const index = require('./index-e3299e0a.js');
6
+ const index$1 = require('./index-745c0423.js');
7
7
 
8
- const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
8
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
9
9
 
10
10
  const ZToastNotificationList = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
- /**Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right */
14
- this.position = index$1.ToastNotificationPositionsEnum.TOP_RIGHT;
15
13
  /**Set the entry position of new notification in the list */
16
14
  this.newestontop = true;
15
+ this.slotChangeHandler = () => {
16
+ const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
17
+ if (difference) {
18
+ difference.forEach((elem) => {
19
+ this.notificationArray.push(elem);
20
+ const newElem = elem;
21
+ elem.remove();
22
+ this.hostElement.prepend(newElem);
23
+ });
24
+ }
25
+ };
17
26
  }
18
27
  watchPropNewestontop(newValue) {
19
28
  this.hostElement.append(...this.notificationArray.reverse());
@@ -32,19 +41,10 @@ const ZToastNotificationList = class {
32
41
  this.hostElement.append(...this.notificationArray.reverse());
33
42
  this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
34
43
  }
35
- slotChangeHandler() {
36
- const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
37
- if (difference) {
38
- difference.forEach((elem) => {
39
- this.notificationArray.push(elem);
40
- const newElem = elem;
41
- elem.remove();
42
- this.hostElement.prepend(newElem);
43
- });
44
- }
45
- }
46
44
  render() {
47
- return index.h("slot", { name: "toasts" });
45
+ return (index.h(index.Host, { class: this.position
46
+ ? this.position
47
+ : index$1.ToastNotificationPositionsEnum.topRight }, index.h("slot", { name: "toasts" })));
48
48
  }
49
49
  get hostElement() { return index.getElement(this); }
50
50
  static get watchers() { return {
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
6
- const index$1 = require('./index-15126331.js');
5
+ const index = require('./index-e3299e0a.js');
6
+ const index$1 = require('./index-745c0423.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
  const hammer = require('./hammer-4f20813e.js');
9
9
  require('./_commonjsHelpers-537d719a.js');
10
10
 
11
- const stylesCss = ":host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);border-radius:4px;box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between}:host>#external-container #text{margin-right:calc(var(--space-unit) * 2);color:var(--color-white);letter-spacing:0.16px;line-height:20px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-white)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--gray800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
11
+ const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
12
12
 
13
13
  const ZToastNotification = class {
14
14
  constructor(hostRef) {
@@ -21,13 +21,21 @@ const ZToastNotification = class {
21
21
  /** toast notification draggable percentage*/
22
22
  this.draggablepercentage = 80;
23
23
  this.isCloseEventCalled = false;
24
+ this.visibilityChangeEventHandler = () => {
25
+ if (document.visibilityState === "hidden") {
26
+ this.timeoutHandle && this.onBlur();
27
+ }
28
+ else {
29
+ this.elapsedTime && this.onFocus();
30
+ }
31
+ };
24
32
  }
25
33
  watchPropIsdraggable(newValue) {
26
34
  if (newValue) {
27
- this.sliderManager.get("pan").set({ enable: true });
35
+ this.sliderManager.get('pan').set({ enable: true });
28
36
  }
29
37
  else {
30
- this.sliderManager.get("pan").set({ enable: false });
38
+ this.sliderManager.get('pan').set({ enable: false });
31
39
  }
32
40
  }
33
41
  watchPropAutoclose(newValue) {
@@ -53,7 +61,6 @@ const ZToastNotification = class {
53
61
  componentWillLoad() {
54
62
  this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
55
63
  this.validateAutoclose();
56
- this.percentage = 0;
57
64
  }
58
65
  componentDidLoad() {
59
66
  this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
@@ -62,30 +69,22 @@ const ZToastNotification = class {
62
69
  document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
63
70
  }
64
71
  this.isdraggable && this.handleSlideOutDragAnimation();
65
- }
66
- visibilityChangeEventHandler() {
67
- if (document.visibilityState === "hidden") {
68
- this.timeoutHandle && this.onBlur();
69
- }
70
- else {
71
- this.elapsedTime && this.onFocus();
72
- }
72
+ this.percentage = 0;
73
73
  }
74
74
  validateAutoclose() {
75
- if (!this.autoclose && !this.closebutton) {
75
+ if (!this.autoclose && !this.closebutton)
76
76
  console.error("At least one between autoclose and closebutton must be present");
77
- }
78
77
  }
79
78
  mapSlideOutClass() {
80
79
  switch (this.transition) {
81
- case index$1.ToastNotificationTransitionsEnum.SLIDE_IN_DOWN:
82
- return index$1.ToastNotificationTransitionsEnum.SLIDE_OUT_UP;
83
- case index$1.ToastNotificationTransitionsEnum.SLIDE_IN_UP:
84
- return index$1.ToastNotificationTransitionsEnum.SLIDE_OUT_DOWN;
85
- case index$1.ToastNotificationTransitionsEnum.SLIDE_IN_LEFT:
86
- return index$1.ToastNotificationTransitionsEnum.SLIDE_OUT_RIGHT;
87
- case index$1.ToastNotificationTransitionsEnum.SLIDE_IN_RIGHT:
88
- return index$1.ToastNotificationTransitionsEnum.SLIDE_OUT_LEFT;
80
+ case index$1.ToastNotificationTransitionsEnum.slideInDown:
81
+ return index$1.ToastNotificationTransitionsEnum.slideOutUp;
82
+ case index$1.ToastNotificationTransitionsEnum.slideInUp:
83
+ return index$1.ToastNotificationTransitionsEnum.slideOutDown;
84
+ case index$1.ToastNotificationTransitionsEnum.slideInLeft:
85
+ return index$1.ToastNotificationTransitionsEnum.slideOutRight;
86
+ case index$1.ToastNotificationTransitionsEnum.slideInRight:
87
+ return index$1.ToastNotificationTransitionsEnum.slideOutLeft;
89
88
  }
90
89
  }
91
90
  calculateDraggedPercentage(e) {
@@ -102,27 +101,32 @@ const ZToastNotification = class {
102
101
  this.hostElement.style.transition = "none";
103
102
  this.hostElement.classList.remove(this.transition);
104
103
  const translateObj = {
105
- translate: `translateX(${this.percentage}%)`,
104
+ translate: "translateX( " + this.percentage + "% )",
106
105
  translateBack: "translateX(0)",
107
106
  };
108
107
  this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
109
- if (e.eventType === hammer.hammer.DIRECTION_LEFT || e.eventType === hammer.hammer.DIRECTION_RIGHT) {
108
+ if (e.eventType === hammer.hammer.DIRECTION_LEFT ||
109
+ e.eventType === hammer.hammer.DIRECTION_RIGHT) {
110
110
  this.hostElement.style.transform = translateObj.translate;
111
- if (Math.abs(this.percentage) > this.draggablepercentage && !this.isCloseEventCalled) {
111
+ if (Math.abs(this.percentage) > this.draggablepercentage &&
112
+ !this.isCloseEventCalled) {
112
113
  this.isCloseEventCalled = true;
113
- this.emitToastClose(e.direction === hammer.hammer.DIRECTION_LEFT ? "slide-out-left" : "slide-out-right");
114
+ this.emitToastClose(e.direction === hammer.hammer.DIRECTION_LEFT
115
+ ? "slide-out-left"
116
+ : "slide-out-right");
114
117
  }
115
118
  }
116
119
  if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
117
120
  this.hostElement.style.transform = translateObj.translateBack;
118
121
  this.hostElement.style.transition = "all 1s";
119
- this.hostElement.style.opacity = "100%";
122
+ this.hostElement.style.opacity = `100%`;
120
123
  this.percentage = 0;
121
124
  }
122
125
  });
123
126
  }
124
127
  onFocus() {
125
- let time = this.autoclose;
128
+ let time;
129
+ time = this.autoclose;
126
130
  if (this.elapsedTime) {
127
131
  time = this.autoclose - this.elapsedTime;
128
132
  }
@@ -135,7 +139,7 @@ const ZToastNotification = class {
135
139
  clearTimeout(this.timeoutHandle);
136
140
  }
137
141
  startClosingTimeout(time) {
138
- this.timeoutHandle = window.setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
142
+ this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
139
143
  }
140
144
  detectWrap() {
141
145
  const parentWidth = this.container.offsetWidth;
@@ -153,15 +157,12 @@ const ZToastNotification = class {
153
157
  return (index.h("div", { id: "button" }, index.h("slot", { name: "button" })));
154
158
  }
155
159
  renderCloseIcon() {
156
- if (!this.closebutton) {
157
- return;
158
- }
159
- return (index.h("div", { id: "icon" }, index.h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
160
+ return (this.closebutton && (index.h("div", { id: "icon" }, index.h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
160
161
  if (e.keyCode == 32 || e.keyCode == 13) {
161
162
  e.preventDefault();
162
163
  this.emitToastClose(this.mapSlideOutClass());
163
164
  }
164
- } })));
165
+ } }))));
165
166
  }
166
167
  renderContainer() {
167
168
  return (index.h("div", { tabIndex: 0, id: "external-container", class: {
@@ -178,8 +179,10 @@ const ZToastNotification = class {
178
179
  }
179
180
  render() {
180
181
  return (index.h(index.Host, { style: {
181
- "--percentuale": `${this.percentage}%`,
182
- }, class: this.transition ? this.transition : index$1.ToastNotificationTransitionsEnum.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
182
+ ["--percentuale"]: `${this.percentage}%`,
183
+ }, class: this.transition
184
+ ? this.transition
185
+ : index$1.ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
183
186
  if (this.autoclose && e.animationName.includes("slidein")) {
184
187
  this.startClosingTimeout(this.autoclose);
185
188
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
5
+ const index = require('./index-e3299e0a.js');
6
6
 
7
- const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase;transition:all 200ms linear}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
7
+ const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
8
8
 
9
9
  const ZToggleButton = class {
10
10
  constructor(hostRef) {
@@ -16,17 +16,19 @@ const ZToggleButton = class {
16
16
  this.opened = false;
17
17
  }
18
18
  emitToggleClick() {
19
- if (this.isdisabled) {
19
+ if (this.isdisabled)
20
20
  return;
21
- }
22
21
  this.opened = !this.opened;
23
22
  this.toggleClick.emit(this.opened);
24
23
  }
24
+ retrieveButtonClass() {
25
+ let className = this.opened && "isopen";
26
+ if (this.avoidclick)
27
+ className = className + " avoid-clicks";
28
+ return className;
29
+ }
25
30
  render() {
26
- return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: {
27
- "isopen": this.opened,
28
- "avoid-clicks": this.avoidclick,
29
- }, disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
+ return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: this.retrieveButtonClass(), disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
30
32
  }
31
33
  };
32
34
  ZToggleButton.style = stylesCss;
@@ -2,24 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
6
- const utils = require('./utils-b1ef8660.js');
7
- const index$1 = require('./index-15126331.js');
5
+ const index = require('./index-e3299e0a.js');
6
+ const utils = require('./utils-dfe717c7.js');
7
+ const index$1 = require('./index-745c0423.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
- const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
10
+ const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
11
11
 
12
12
  const ZToggleSwitch = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
15
  this.toggleClick = index.createEvent(this, "toggleClick", 7);
16
- /** Disabled flag */
17
16
  this.disabled = false;
18
- /** Label position */
19
- this.labelPosition = index$1.LabelPositions.LEFT;
20
- /** Checked state */
17
+ this.labelPosition = index$1.LabelPositions.left;
21
18
  this.checked = false;
22
- /** HTML id attribute to set to the internal checkbox */
23
19
  this.htmlid = `toggle-switch-id-${utils.randomId()}`;
24
20
  }
25
21
  emitToggleClick() {
@@ -29,21 +25,23 @@ const ZToggleSwitch = class {
29
25
  });
30
26
  }
31
27
  handleClick(ev) {
32
- if (this.disabled) {
28
+ if (this.disabled)
33
29
  return;
34
- }
35
30
  this.checked = ev.target.checked;
36
31
  this.emitToggleClick();
37
32
  }
38
33
  render() {
39
- return (index.h(index.Host, null, index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), index.h("label", { htmlFor: this.htmlid, class: {
40
- [this.labelPosition]: true,
41
- disabled: this.disabled,
42
- } }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
43
- container: true,
44
- disabled: this.disabled,
45
- checked: this.checked,
46
- } }, index.h("span", { class: "circle" }, this.checked && (index.h("z-icon", { width: 12, height: 12, name: "checkmark" })))))));
34
+ return [
35
+ index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
36
+ index.h("label", { htmlFor: this.htmlid, class: {
37
+ [this.labelPosition]: true,
38
+ disabled: this.disabled,
39
+ } }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
40
+ container: true,
41
+ disabled: this.disabled,
42
+ checked: this.checked,
43
+ } }, index.h("span", { class: "circle" }, this.checked && (index.h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
44
+ ];
47
45
  }
48
46
  };
49
47
  ZToggleSwitch.style = stylesCss;
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0b49c192.js');
6
- const index$1 = require('./index-15126331.js');
5
+ const index = require('./index-e3299e0a.js');
6
+ const index$1 = require('./index-745c0423.js');
7
7
 
8
- const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--space-unit);background:var(--z-tooltip-theme--surface);border-radius:var(--border-radius-small);color:var(--z-tooltip-theme--text);fill:currentcolor;filter:drop-shadow(0 4px 8px var(--shadow-color-base));font-family:var(--font-family-sans);text-align:center;will-change:filter}:host(.legacy){display:inline-flex;min-width:auto;max-width:200px;min-height:auto;padding:calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0 0 2px rgb(0 0 0 / 8%));font-size:12px;font-style:italic;letter-spacing:0.32px;line-height:16px}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;content:\"\";transform:rotate(45deg)}:host([open][style*=\"top:\"]),:host([open][style*=\"inset:\"]){display:inline-flex}:host([position^=\"top\"]){margin-bottom:var(--space-unit)}:host([position=\"right\"]){margin-left:var(--space-unit)}:host([position=\"top_right\"]),:host([position=\"bottom_right\"]){margin-left:var(--edge-offset)}:host([position^=\"bottom\"]){margin-top:var(--space-unit)}:host([position=\"left\"]){margin-right:var(--space-unit)}:host([position=\"top_left\"]),:host([position=\"bottom_left\"]){margin-right:var(--edge-offset)}:host([position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([position=\"top\"])::before,:host([position=\"bottom\"])::before{left:var(--arrow-center-x-offset)}:host([position=\"right\"])::before,:host([position=\"left\"])::before{top:var(--arrow-center-x-offset)}:host([position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([position=\"top_right\"])::before,:host([position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([position=\"top_left\"])::before,:host([position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}::slotted(*){overflow:auto;flex:1 auto}";
8
+ const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
9
9
 
10
- const DOCUMENT_ELEMENT = document.documentElement;
10
+ const documentElement = document.documentElement;
11
11
  /**
12
12
  * Find the closest scrollable parent of a node.
13
13
  *
@@ -15,18 +15,20 @@ const DOCUMENT_ELEMENT = document.documentElement;
15
15
  */
16
16
  function findScrollableParent(element) {
17
17
  let parent = element.parentNode;
18
- while (parent && parent !== DOCUMENT_ELEMENT) {
18
+ while (parent && parent !== documentElement) {
19
19
  const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
20
- if (overflow === "hidden" || overflowY === "hidden" || overflowX === "hidden") {
20
+ if (overflow === 'hidden' ||
21
+ overflowY === 'hidden' ||
22
+ overflowX === 'hidden') {
21
23
  return parent;
22
24
  }
23
- if ((parent.scrollHeight > parent.clientHeight && overflow !== "visible" && overflowY !== "visible") ||
24
- (parent.scrollWidth > parent.clientWidth && overflow !== "visible" && overflowX !== "visible")) {
25
+ if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
26
+ (parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
25
27
  return parent;
26
28
  }
27
29
  parent = parent.parentNode;
28
30
  }
29
- return DOCUMENT_ELEMENT;
31
+ return documentElement;
30
32
  }
31
33
  /**
32
34
  * Calculate computed offset.
@@ -87,15 +89,18 @@ const ZTooltipDeprecated = class {
87
89
  index.registerInstance(this, hostRef);
88
90
  this.positionChange = index.createEvent(this, "positionChange", 7);
89
91
  /** Tooltip position. */
90
- this.type = index$1.PopoverPositions.AUTO;
92
+ this.type = index$1.PopoverPositions.auto;
91
93
  /**
92
94
  * The open state of the tooltip.
93
95
  */
94
96
  this.open = false;
95
97
  }
96
98
  validateType(newValue) {
97
- if (newValue && Object.values(index$1.PopoverPositions).every((position) => newValue !== position)) {
98
- this.type = index$1.PopoverPositions.AUTO;
99
+ if (newValue &&
100
+ Object
101
+ .values(index$1.PopoverPositions)
102
+ .every((position) => newValue !== position)) {
103
+ this.type = index$1.PopoverPositions.auto;
99
104
  }
100
105
  }
101
106
  onPositionChange() {
@@ -149,9 +154,7 @@ const ZTooltipDeprecated = class {
149
154
  const scrollContainer = findScrollableParent(element);
150
155
  const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
151
156
  const offsetContainer = this.host.offsetParent;
152
- const relativeBoundingRect = offsetContainer
153
- ? computeOffset(offsetContainer, scrollContainer)
154
- : { top: 0, right: 0, bottom: 0, left: 0 };
157
+ const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
155
158
  const boundingRect = computeOffset(element, scrollContainer);
156
159
  const top = boundingRect.top - scrollContainer.scrollTop;
157
160
  const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
@@ -166,29 +169,29 @@ const ZTooltipDeprecated = class {
166
169
  const availableHeight = availableTop + availableBottom + boundingRect.height;
167
170
  const availableWidth = availableLeft + availableRight + boundingRect.width;
168
171
  let position = this.type;
169
- if (position === index$1.PopoverPositions.AUTO) {
172
+ if (position === index$1.PopoverPositions.auto) {
170
173
  /**
171
174
  * The `AUTO` position tries to place the tooltip in the "safest" area,
172
175
  * where there's more space available.
173
176
  */
174
177
  const positions = [];
175
178
  if (availableTop / availableHeight > 0.9) {
176
- positions.unshift(index$1.PopoverPositions.TOP);
179
+ positions.unshift(index$1.PopoverPositions.top);
177
180
  }
178
181
  else if (availableTop / availableHeight > 0.6) {
179
- positions.push(index$1.PopoverPositions.TOP);
182
+ positions.push(index$1.PopoverPositions.top);
180
183
  }
181
184
  else if (availableTop / availableHeight < 0.1) {
182
- positions.unshift(index$1.PopoverPositions.BOTTOM);
185
+ positions.unshift(index$1.PopoverPositions.bottom);
183
186
  }
184
187
  else {
185
- positions.push(index$1.PopoverPositions.BOTTOM);
188
+ positions.push(index$1.PopoverPositions.bottom);
186
189
  }
187
190
  if (availableLeft / availableWidth > 0.6) {
188
- positions.push(index$1.PopoverPositions.LEFT);
191
+ positions.push(index$1.PopoverPositions.left);
189
192
  }
190
193
  else if (availableLeft / availableWidth < 0.4) {
191
- positions.push(index$1.PopoverPositions.RIGHT);
194
+ positions.push(index$1.PopoverPositions.right);
192
195
  }
193
196
  position = positions.join("_");
194
197
  }
@@ -200,38 +203,46 @@ const ZTooltipDeprecated = class {
200
203
  const offsetRight = boundingRect.right - relativeBoundingRect.right;
201
204
  const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
202
205
  const offsetLeft = boundingRect.left - relativeBoundingRect.left;
203
- if (position === index$1.PopoverPositions.TOP ||
204
- position === index$1.PopoverPositions.TOP_RIGHT ||
205
- position === index$1.PopoverPositions.TOP_LEFT) {
206
+ if (position === index$1.PopoverPositions.top ||
207
+ position === index$1.PopoverPositions.top_right ||
208
+ position === index$1.PopoverPositions.top_left) {
206
209
  style.top = "auto";
207
210
  style.bottom = `${offsetBottom + boundingRect.height}px`;
208
211
  }
209
- if (position === index$1.PopoverPositions.BOTTOM ||
210
- position === index$1.PopoverPositions.BOTTOM_RIGHT ||
211
- position === index$1.PopoverPositions.BOTTOM_LEFT) {
212
+ if (position === index$1.PopoverPositions.bottom ||
213
+ position === index$1.PopoverPositions.bottom_right ||
214
+ position === index$1.PopoverPositions.bottom_left) {
212
215
  style.top = `${offsetTop + boundingRect.height}px`;
213
216
  style.bottom = "auto";
214
217
  }
215
- if (position === index$1.PopoverPositions.TOP || position === index$1.PopoverPositions.BOTTOM) {
216
- style.left = `${offsetLeft + boundingRect.width / 2 - this.host.clientWidth / 2}px`;
218
+ if (position === index$1.PopoverPositions.top ||
219
+ position === index$1.PopoverPositions.bottom) {
220
+ style.left = `${offsetLeft +
221
+ (boundingRect.width / 2) -
222
+ (this.host.clientWidth / 2)}px`;
217
223
  }
218
- if (position === index$1.PopoverPositions.TOP_RIGHT || position === index$1.PopoverPositions.BOTTOM_RIGHT) {
224
+ if (position === index$1.PopoverPositions.top_right ||
225
+ position === index$1.PopoverPositions.bottom_right) {
219
226
  style.right = "auto";
220
227
  style.left = `${offsetLeft + boundingRect.width}px`;
221
228
  }
222
- if (position === index$1.PopoverPositions.TOP_LEFT || position === index$1.PopoverPositions.BOTTOM_LEFT) {
229
+ if (position === index$1.PopoverPositions.top_left ||
230
+ position === index$1.PopoverPositions.bottom_left) {
223
231
  style.left = "auto";
224
232
  style.right = `${offsetRight + boundingRect.width}px`;
225
233
  }
226
- if (position === index$1.PopoverPositions.RIGHT || position === index$1.PopoverPositions.LEFT) {
227
- style.top = `${offsetTop + boundingRect.height / 2 - this.host.clientHeight / 2}px`;
234
+ if (position === index$1.PopoverPositions.right ||
235
+ position === index$1.PopoverPositions.left) {
236
+ style.top = `${offsetTop +
237
+ (boundingRect.height / 2) -
238
+ (this.host.clientHeight / 2)}px`;
228
239
  style.bottom = "auto";
229
240
  }
230
- if (position === index$1.PopoverPositions.RIGHT) {
241
+ if (position === index$1.PopoverPositions.right) {
231
242
  style.right = "auto";
232
243
  style.left = `${offsetLeft + boundingRect.width}px`;
233
244
  }
234
- if (position === index$1.PopoverPositions.LEFT) {
245
+ if (position === index$1.PopoverPositions.left) {
235
246
  style.left = "auto";
236
247
  style.right = `${offsetRight + boundingRect.width}px`;
237
248
  }