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

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 (880) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
  3. package/dist/cjs/{index-84b7063a.js → index-0b49c192.js} +648 -96
  4. package/dist/cjs/{index-3dd0f9bd.js → index-15126331.js} +168 -168
  5. package/dist/cjs/index.cjs.js +5 -5
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/{utils-29f9ccf5.js → utils-7db26db9.js} +19 -33
  8. package/dist/cjs/{utils-4a419726.js → utils-b1ef8660.js} +13 -13
  9. package/dist/cjs/web-components-library.cjs.js +3 -3
  10. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/z-app-header.cjs.entry.js +16 -14
  12. package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
  13. package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
  14. package/dist/cjs/z-avatar.cjs.entry.js +9 -8
  15. package/dist/cjs/z-body_2.cjs.entry.js +5 -3
  16. package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
  17. package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
  18. package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
  19. package/dist/cjs/z-button.cjs.entry.js +10 -11
  20. package/dist/cjs/z-candybar.cjs.entry.js +2 -2
  21. package/dist/cjs/z-card.cjs.entry.js +16 -19
  22. package/dist/cjs/z-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
  24. package/dist/cjs/z-chip.cjs.entry.js +7 -7
  25. package/dist/cjs/z-combobox.cjs.entry.js +30 -26
  26. package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
  27. package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
  28. package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
  29. package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
  30. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
  31. package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
  32. package/dist/cjs/z-file.cjs.entry.js +4 -4
  33. package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
  34. package/dist/cjs/z-footer.cjs.entry.js +13 -16
  35. package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
  36. package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
  37. package/dist/cjs/z-info-box.cjs.entry.js +3 -3
  38. package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
  39. package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
  40. package/dist/cjs/z-input-label_2.cjs.entry.js +40 -36
  41. package/dist/cjs/z-list-group.cjs.entry.js +7 -7
  42. package/dist/cjs/z-list_2.cjs.entry.js +12 -12
  43. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
  44. package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
  45. package/dist/cjs/z-menu.cjs.entry.js +10 -13
  46. package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
  47. package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
  48. package/dist/cjs/z-modal.cjs.entry.js +3 -6
  49. package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
  50. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
  51. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  52. package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
  53. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  54. package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
  55. package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
  56. package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
  57. package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
  58. package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
  59. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
  60. package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
  61. package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
  62. package/dist/cjs/z-notification.cjs.entry.js +3 -8
  63. package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
  64. package/dist/cjs/z-otp.cjs.entry.js +18 -18
  65. package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
  66. package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
  67. package/dist/cjs/z-pagination.cjs.entry.js +14 -17
  68. package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
  69. package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
  70. package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
  71. package/dist/cjs/z-popover-deprecated.cjs.entry.js +17 -14
  72. package/dist/cjs/z-popover.cjs.entry.js +37 -55
  73. package/dist/cjs/z-section-title.cjs.entry.js +5 -14
  74. package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
  75. package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
  76. package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
  77. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/z-stepper.cjs.entry.js +3 -3
  79. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
  81. package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
  82. package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
  83. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  85. package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
  86. package/dist/cjs/z-table-header.cjs.entry.js +18 -21
  87. package/dist/cjs/z-table-row.cjs.entry.js +9 -9
  88. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
  89. package/dist/cjs/z-table.cjs.entry.js +7 -9
  90. package/dist/cjs/z-tag.cjs.entry.js +3 -3
  91. package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
  92. package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
  93. package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
  94. package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
  95. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
  96. package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
  97. package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
  98. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  99. package/dist/collection/beans/index.js +168 -168
  100. package/dist/collection/collection-manifest.json +2 -2
  101. package/dist/collection/components/buttons/z-button/index.js +209 -207
  102. package/dist/collection/components/buttons/z-button/styles.css +31 -30
  103. package/dist/collection/components/buttons/z-button-sort/index.js +181 -177
  104. package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
  105. package/dist/collection/components/buttons/z-chip/index.js +107 -104
  106. package/dist/collection/components/buttons/z-chip/styles.css +12 -15
  107. package/dist/collection/components/buttons/z-toggle-button/index.js +105 -101
  108. package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
  109. package/dist/collection/components/buttons/z-toggle-switch/index.js +116 -115
  110. package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
  111. package/dist/collection/components/date-picker/styles.css +65 -83
  112. package/dist/collection/components/date-picker/utils.js +19 -33
  113. package/dist/collection/components/date-picker/z-date-picker/index.js +164 -160
  114. package/dist/collection/components/date-picker/z-range-picker/index.js +233 -240
  115. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +32 -30
  116. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
  117. package/dist/collection/components/file-upload/z-file/index.js +93 -85
  118. package/dist/collection/components/file-upload/z-file/styles.css +5 -18
  119. package/dist/collection/components/file-upload/z-file-upload/index.js +203 -208
  120. package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
  121. package/dist/collection/components/footer/z-footer/index.js +172 -207
  122. package/dist/collection/components/footer/z-footer/styles.css +27 -32
  123. package/dist/collection/components/footer/z-footer-link/index.js +33 -28
  124. package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
  125. package/dist/collection/components/footer/z-footer-section/index.js +39 -37
  126. package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
  127. package/dist/collection/components/footer/z-footer-social/index.js +65 -60
  128. package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
  129. package/dist/collection/components/icons/icons.js +103 -103
  130. package/dist/collection/components/icons/z-icon/index.js +102 -98
  131. package/dist/collection/components/icons/z-icon/styles.css +2 -2
  132. package/dist/collection/components/icons/z-icon-package/index.js +14 -13
  133. package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
  134. package/dist/collection/components/indicators/z-stepper/index.js +12 -8
  135. package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
  136. package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
  137. package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
  138. package/dist/collection/components/inputs/z-combobox/index.js +340 -337
  139. package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
  140. package/dist/collection/components/inputs/z-input/index.js +554 -569
  141. package/dist/collection/components/inputs/z-input/styles.css +83 -93
  142. package/dist/collection/components/inputs/z-input-message/index.js +53 -49
  143. package/dist/collection/components/inputs/z-input-message/styles.css +7 -6
  144. package/dist/collection/components/inputs/z-select/index.js +363 -353
  145. package/dist/collection/components/inputs/z-select/styles.css +23 -28
  146. package/dist/collection/components/list/z-list/index.js +39 -34
  147. package/dist/collection/components/list/z-list/styles.css +2 -3
  148. package/dist/collection/components/list/z-list-element/index.js +293 -288
  149. package/dist/collection/components/list/z-list-element/styles.css +18 -40
  150. package/dist/collection/components/list/z-list-group/index.js +103 -101
  151. package/dist/collection/components/list/z-list-group/styles.css +1 -2
  152. package/dist/collection/components/list/z-toast-notification-list/index.js +75 -67
  153. package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
  154. package/dist/collection/components/logo/z-logo/index.js +113 -110
  155. package/dist/collection/components/logo/z-logo/styles.css +3 -3
  156. package/dist/collection/components/modal/z-modal/index.js +129 -133
  157. package/dist/collection/components/modal/z-modal/styles.css +23 -29
  158. package/dist/collection/components/modal/z-modal-login/index.js +181 -203
  159. package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
  160. package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
  161. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -173
  162. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +206 -206
  163. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +103 -107
  164. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
  165. package/dist/collection/components/navigation/z-app-header/index.js +149 -157
  166. package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
  167. package/dist/collection/components/navigation/z-app-switcher/index.js +61 -52
  168. package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
  169. package/dist/collection/components/navigation/z-app-topbar/index.js +123 -123
  170. package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
  171. package/dist/collection/components/navigation/z-link/index.js +252 -244
  172. package/dist/collection/components/navigation/z-link/styles.css +15 -12
  173. package/dist/collection/components/navigation/z-menu/index.js +133 -131
  174. package/dist/collection/components/navigation/z-menu/styles.css +22 -25
  175. package/dist/collection/components/navigation/z-menu-dropdown/index.js +82 -83
  176. package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
  177. package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
  178. package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
  179. package/dist/collection/components/navigation/z-user-dropdown/index.js +166 -171
  180. package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
  181. package/dist/collection/components/notification/z-candybar/index.js +12 -9
  182. package/dist/collection/components/notification/z-candybar/styles.css +21 -27
  183. package/dist/collection/components/notification/z-cookiebar/index.js +82 -83
  184. package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
  185. package/dist/collection/components/notification/z-info-box/index.js +67 -61
  186. package/dist/collection/components/notification/z-info-box/styles.css +8 -8
  187. package/dist/collection/components/notification/z-notification/index.js +155 -156
  188. package/dist/collection/components/notification/z-notification/styles.css +11 -11
  189. package/dist/collection/components/notification/z-toast-notification/index.js +248 -251
  190. package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
  191. package/dist/collection/components/notification/z-tooltip/index.js +101 -94
  192. package/dist/collection/components/panel/z-panel-elem/index.js +174 -174
  193. package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
  194. package/dist/collection/components/typography/z-body/index.js +57 -55
  195. package/dist/collection/components/typography/z-heading/index.js +57 -55
  196. package/dist/collection/components/typography/z-typography/index.js +70 -63
  197. package/dist/collection/components/typography/z-typography/styles.css +13 -13
  198. package/dist/collection/components/z-aria-alert/index.js +31 -24
  199. package/dist/collection/components/z-avatar/index.js +110 -105
  200. package/dist/collection/components/z-avatar/styles.css +7 -10
  201. package/dist/collection/components/z-card/index.js +133 -138
  202. package/dist/collection/components/z-card/styles.css +38 -42
  203. package/dist/collection/components/z-carousel/index.js +51 -49
  204. package/dist/collection/components/z-carousel/styles.css +3 -3
  205. package/dist/collection/components/z-contextual-menu/index.js +89 -95
  206. package/dist/collection/components/z-contextual-menu/styles.css +8 -8
  207. package/dist/collection/components/z-cover-hero/index.js +64 -65
  208. package/dist/collection/components/z-cover-hero/styles.css +4 -4
  209. package/dist/collection/components/z-divider/index.js +77 -71
  210. package/dist/collection/components/z-ghost-loading/index.js +12 -8
  211. package/dist/collection/components/z-ghost-loading/styles.css +14 -14
  212. package/dist/collection/components/z-info-reveal/index.js +88 -84
  213. package/dist/collection/components/z-info-reveal/styles.css +9 -8
  214. package/dist/collection/components/z-offcanvas/index.js +107 -102
  215. package/dist/collection/components/z-offcanvas/styles.css +65 -45
  216. package/dist/collection/components/z-pagination/index.js +231 -246
  217. package/dist/collection/components/z-pagination/styles.css +16 -21
  218. package/dist/collection/components/z-popover/index.js +219 -223
  219. package/dist/collection/components/z-popover/styles.css +9 -9
  220. package/dist/collection/components/z-section-title/index.js +57 -60
  221. package/dist/collection/components/z-section-title/styles.css +2 -2
  222. package/dist/collection/components/z-skip-to-content/index.js +93 -85
  223. package/dist/collection/components/z-skip-to-content/styles.css +11 -15
  224. package/dist/collection/components/z-table/z-table/index.js +275 -288
  225. package/dist/collection/components/z-table/z-table/styles.css +23 -74
  226. package/dist/collection/components/z-table/z-table-body/index.js +11 -7
  227. package/dist/collection/components/z-table/z-table-cell/index.js +66 -63
  228. package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
  229. package/dist/collection/components/z-table/z-table-empty-box/index.js +54 -54
  230. package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
  231. package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
  232. package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
  233. package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
  234. package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
  235. package/dist/collection/components/z-table/z-table-head/index.js +11 -7
  236. package/dist/collection/components/z-table/z-table-header/index.js +173 -173
  237. package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
  238. package/dist/collection/components/z-table/z-table-header-row/index.js +34 -30
  239. package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
  240. package/dist/collection/components/z-table/z-table-row/index.js +67 -61
  241. package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
  242. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +12 -8
  243. package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
  244. package/dist/collection/components/z-tag/index.js +50 -47
  245. package/dist/collection/components/z-tag/styles.css +7 -12
  246. package/dist/collection/components/z-visually-hidden/index.js +11 -7
  247. package/dist/collection/components/z-visually-hidden/styles.css +6 -6
  248. package/dist/collection/constants/icons.js +1 -1
  249. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +174 -181
  250. package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
  251. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
  252. package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
  253. package/dist/collection/deprecated/z-button-deprecated/index.js +199 -191
  254. package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
  255. package/dist/collection/deprecated/z-button-filter/index.js +120 -115
  256. package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
  257. package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -50
  258. package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
  259. package/dist/collection/deprecated/z-input-deprecated/index.js +609 -626
  260. package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
  261. package/dist/collection/deprecated/z-input-label/index.js +66 -60
  262. package/dist/collection/deprecated/z-input-label/styles.css +2 -2
  263. package/dist/collection/deprecated/z-popover-deprecated/index.js +195 -183
  264. package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
  265. package/dist/collection/deprecated/z-status-tag/index.js +111 -106
  266. package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
  267. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +160 -160
  268. package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
  269. package/dist/collection/index.js +4 -3
  270. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +93 -85
  271. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +106 -103
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +143 -143
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
  280. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +157 -163
  281. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
  282. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
  283. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
  284. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +79 -72
  285. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
  286. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
  287. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
  288. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +104 -118
  289. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
  290. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +34 -27
  291. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
  292. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +54 -46
  293. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
  294. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
  295. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
  296. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +86 -87
  297. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
  298. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +135 -125
  299. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
  300. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +64 -57
  301. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
  302. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
  303. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
  304. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
  305. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
  306. package/dist/collection/snowflakes/myz/topbar/index.js +263 -293
  307. package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
  308. package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
  309. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  310. package/dist/collection/snowflakes/myz/z-otp/index.js +101 -95
  311. package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
  312. package/dist/collection/snowflakes/myz/z-slideshow/index.js +88 -73
  313. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
  314. package/dist/collection/utils/storybook-utils.js +6 -5
  315. package/dist/collection/utils/utils.js +14 -14
  316. package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
  317. package/dist/esm/{index-90e18641.js → index-3517583d.js} +648 -96
  318. package/dist/esm/{index-3c2d757b.js → index-b7165fb7.js} +168 -168
  319. package/dist/esm/index.js +5 -5
  320. package/dist/esm/loader.js +3 -3
  321. package/dist/esm/{utils-729724da.js → utils-5d136bc4.js} +19 -33
  322. package/dist/esm/{utils-57be09c8.js → utils-c9ef6b5f.js} +13 -13
  323. package/dist/esm/web-components-library.js +3 -3
  324. package/dist/esm/z-alert.entry.js +2 -2
  325. package/dist/esm/z-app-header.entry.js +16 -14
  326. package/dist/esm/z-app-switcher_9.entry.js +159 -177
  327. package/dist/esm/z-aria-alert.entry.js +4 -3
  328. package/dist/esm/z-avatar.entry.js +9 -8
  329. package/dist/esm/z-body_2.entry.js +5 -3
  330. package/dist/esm/z-button-deprecated.entry.js +12 -9
  331. package/dist/esm/z-button-filter.entry.js +4 -3
  332. package/dist/esm/z-button-sort.entry.js +5 -6
  333. package/dist/esm/z-button.entry.js +10 -11
  334. package/dist/esm/z-candybar.entry.js +2 -2
  335. package/dist/esm/z-card.entry.js +16 -19
  336. package/dist/esm/z-carousel.entry.js +2 -2
  337. package/dist/esm/z-chip-deprecated.entry.js +4 -6
  338. package/dist/esm/z-chip.entry.js +7 -7
  339. package/dist/esm/z-combobox.entry.js +30 -26
  340. package/dist/esm/z-contextual-menu.entry.js +5 -10
  341. package/dist/esm/z-cookiebar.entry.js +6 -7
  342. package/dist/esm/z-cover-hero.entry.js +6 -5
  343. package/dist/esm/z-date-picker.entry.js +39 -46
  344. package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
  345. package/dist/esm/z-file-upload.entry.js +18 -20
  346. package/dist/esm/z-file.entry.js +4 -4
  347. package/dist/esm/z-footer-link_3.entry.js +4 -4
  348. package/dist/esm/z-footer.entry.js +13 -16
  349. package/dist/esm/z-ghost-loading.entry.js +3 -3
  350. package/dist/esm/z-icon-package.entry.js +3 -4
  351. package/dist/esm/z-info-box.entry.js +3 -3
  352. package/dist/esm/z-info-reveal.entry.js +9 -8
  353. package/dist/esm/z-input-deprecated.entry.js +55 -67
  354. package/dist/esm/z-input-label_2.entry.js +40 -36
  355. package/dist/esm/z-list-group.entry.js +7 -7
  356. package/dist/esm/z-list_2.entry.js +12 -12
  357. package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
  358. package/dist/esm/z-menu-section.entry.js +3 -3
  359. package/dist/esm/z-menu.entry.js +10 -13
  360. package/dist/esm/z-messages-pocket.entry.js +7 -7
  361. package/dist/esm/z-modal-login.entry.js +17 -15
  362. package/dist/esm/z-modal.entry.js +3 -6
  363. package/dist/esm/z-myz-card-alert.entry.js +8 -8
  364. package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
  365. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  366. package/dist/esm/z-myz-card-footer.entry.js +11 -10
  367. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  368. package/dist/esm/z-myz-card-info.entry.js +27 -17
  369. package/dist/esm/z-myz-card-list.entry.js +4 -3
  370. package/dist/esm/z-myz-card_4.entry.js +17 -13
  371. package/dist/esm/z-myz-list-item.entry.js +4 -4
  372. package/dist/esm/z-myz-topbar.entry.js +35 -39
  373. package/dist/esm/z-navigation-tab-link.entry.js +11 -11
  374. package/dist/esm/z-navigation-tab.entry.js +12 -12
  375. package/dist/esm/z-navigation-tabs.entry.js +21 -21
  376. package/dist/esm/z-notification.entry.js +3 -8
  377. package/dist/esm/z-offcanvas.entry.js +12 -15
  378. package/dist/esm/z-otp.entry.js +18 -18
  379. package/dist/esm/z-pagination-bar.entry.js +13 -25
  380. package/dist/esm/z-pagination-page.entry.js +2 -2
  381. package/dist/esm/z-pagination.entry.js +14 -17
  382. package/dist/esm/z-panel-elem.entry.js +4 -4
  383. package/dist/esm/z-pocket-message.entry.js +3 -3
  384. package/dist/esm/z-pocket_3.entry.js +19 -19
  385. package/dist/esm/z-popover-deprecated.entry.js +17 -14
  386. package/dist/esm/z-popover.entry.js +37 -55
  387. package/dist/esm/z-section-title.entry.js +5 -14
  388. package/dist/esm/z-skip-to-content.entry.js +19 -21
  389. package/dist/esm/z-slideshow.entry.js +29 -12
  390. package/dist/esm/z-status-tag.entry.js +9 -9
  391. package/dist/esm/z-stepper-item.entry.js +2 -2
  392. package/dist/esm/z-stepper.entry.js +3 -3
  393. package/dist/esm/z-table-body.entry.js +1 -1
  394. package/dist/esm/z-table-cell.entry.js +11 -11
  395. package/dist/esm/z-table-empty-box.entry.js +6 -7
  396. package/dist/esm/z-table-expanded-row.entry.js +2 -2
  397. package/dist/esm/z-table-footer.entry.js +1 -1
  398. package/dist/esm/z-table-head.entry.js +1 -1
  399. package/dist/esm/z-table-header-row.entry.js +4 -4
  400. package/dist/esm/z-table-header.entry.js +18 -21
  401. package/dist/esm/z-table-row.entry.js +9 -9
  402. package/dist/esm/z-table-sticky-footer.entry.js +3 -3
  403. package/dist/esm/z-table.entry.js +7 -9
  404. package/dist/esm/z-tag.entry.js +3 -3
  405. package/dist/esm/z-toast-notification-list.entry.js +17 -17
  406. package/dist/esm/z-toast-notification.entry.js +38 -41
  407. package/dist/esm/z-toggle-button.entry.js +8 -10
  408. package/dist/esm/z-toggle-switch.entry.js +19 -17
  409. package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
  410. package/dist/esm/z-tooltip.entry.js +4 -4
  411. package/dist/esm/z-user-dropdown.entry.js +6 -8
  412. package/dist/esm/z-visually-hidden.entry.js +2 -2
  413. package/dist/types/beans/index.d.ts +171 -174
  414. package/dist/types/components/buttons/z-button/index.d.ts +6 -13
  415. package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
  416. package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
  417. package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
  418. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +11 -5
  419. package/dist/types/components/date-picker/utils.d.ts +4 -4
  420. package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
  421. package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
  422. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
  423. package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
  424. package/dist/types/components/file-upload/z-file-upload/index.d.ts +18 -17
  425. package/dist/types/components/footer/z-footer/index.d.ts +15 -15
  426. package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
  427. package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
  428. package/dist/types/components/icons/icons.d.ts +1 -1
  429. package/dist/types/components/icons/z-icon/index.d.ts +3 -3
  430. package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
  431. package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
  432. package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
  433. package/dist/types/components/inputs/z-combobox/index.d.ts +14 -15
  434. package/dist/types/components/inputs/z-input/index.d.ts +25 -46
  435. package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
  436. package/dist/types/components/inputs/z-select/index.d.ts +23 -23
  437. package/dist/types/components/list/z-list/index.d.ts +4 -3
  438. package/dist/types/components/list/z-list-element/index.d.ts +11 -7
  439. package/dist/types/components/list/z-list-group/index.d.ts +4 -3
  440. package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
  441. package/dist/types/components/logo/z-logo/index.d.ts +2 -1
  442. package/dist/types/components/modal/z-modal/index.d.ts +5 -4
  443. package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
  444. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +9 -8
  445. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +9 -8
  446. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +10 -9
  447. package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
  448. package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
  449. package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
  450. package/dist/types/components/navigation/z-link/index.d.ts +6 -7
  451. package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
  452. package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
  453. package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
  454. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
  455. package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
  456. package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
  457. package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
  458. package/dist/types/components/notification/z-notification/index.d.ts +6 -5
  459. package/dist/types/components/notification/z-toast-notification/index.d.ts +20 -19
  460. package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
  461. package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
  462. package/dist/types/components/typography/z-body/index.d.ts +4 -1
  463. package/dist/types/components/typography/z-heading/index.d.ts +4 -1
  464. package/dist/types/components/typography/z-typography/index.d.ts +8 -4
  465. package/dist/types/components/z-aria-alert/index.d.ts +5 -2
  466. package/dist/types/components/z-avatar/index.d.ts +3 -2
  467. package/dist/types/components/z-card/index.d.ts +7 -6
  468. package/dist/types/components/z-carousel/index.d.ts +1 -1
  469. package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
  470. package/dist/types/components/z-cover-hero/index.d.ts +3 -2
  471. package/dist/types/components/z-divider/index.d.ts +2 -1
  472. package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
  473. package/dist/types/components/z-info-reveal/index.d.ts +9 -7
  474. package/dist/types/components/z-offcanvas/index.d.ts +9 -8
  475. package/dist/types/components/z-pagination/index.d.ts +14 -13
  476. package/dist/types/components/z-popover/index.d.ts +7 -7
  477. package/dist/types/components/z-section-title/index.d.ts +5 -4
  478. package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
  479. package/dist/types/components/z-table/z-table/index.d.ts +5 -4
  480. package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
  481. package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
  482. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
  483. package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
  484. package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
  485. package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
  486. package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
  487. package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
  488. package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
  489. package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
  490. package/dist/types/components/z-tag/index.d.ts +2 -1
  491. package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
  492. package/dist/types/components.d.ts +500 -137
  493. package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
  494. package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
  495. package/dist/types/deprecated/z-button-deprecated/index.d.ts +5 -5
  496. package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
  497. package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
  498. package/dist/types/deprecated/z-input-deprecated/index.d.ts +23 -34
  499. package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
  500. package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
  501. package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
  502. package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
  503. package/dist/types/index.d.ts +4 -3
  504. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -2
  505. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
  506. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
  507. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
  508. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  509. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +6 -12
  510. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
  511. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +4 -9
  512. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
  513. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
  514. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
  515. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -2
  516. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
  517. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
  518. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
  519. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
  520. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
  521. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
  522. package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
  523. package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -1
  524. package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
  525. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +12 -12
  526. package/dist/types/utils/utils.d.ts +12 -5
  527. package/dist/web-components-library/index.esm.js +1 -1
  528. package/dist/web-components-library/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
  529. package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
  530. package/{www/build/p-596da333.entry.js → dist/web-components-library/p-02f14544.entry.js} +1 -1
  531. package/dist/web-components-library/p-0617465e.entry.js +1 -0
  532. package/dist/web-components-library/p-06f54c19.entry.js +1 -0
  533. package/dist/web-components-library/p-0ad2c8ca.entry.js +1 -0
  534. package/dist/web-components-library/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
  535. package/dist/web-components-library/p-14f11a64.entry.js +1 -0
  536. package/dist/web-components-library/p-1668ec30.entry.js +1 -0
  537. package/dist/web-components-library/p-2177384f.entry.js +1 -0
  538. package/dist/web-components-library/p-25769717.entry.js +1 -0
  539. package/dist/web-components-library/p-25b8e583.entry.js +1 -0
  540. package/dist/web-components-library/p-2772f005.entry.js +1 -0
  541. package/dist/web-components-library/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
  542. package/dist/web-components-library/p-2e2ae623.entry.js +1 -0
  543. package/dist/web-components-library/p-311f5e7a.entry.js +16 -0
  544. package/dist/web-components-library/p-3124aed0.entry.js +1 -0
  545. package/dist/web-components-library/p-31604337.entry.js +1 -0
  546. package/dist/web-components-library/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
  547. package/dist/web-components-library/p-348c5ada.entry.js +1 -0
  548. package/dist/web-components-library/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
  549. package/dist/web-components-library/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
  550. package/dist/web-components-library/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
  551. package/dist/web-components-library/p-41b8390e.entry.js +1 -0
  552. package/dist/web-components-library/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
  553. package/dist/web-components-library/p-48134f75.entry.js +1 -0
  554. package/dist/web-components-library/p-4fe96235.entry.js +1 -0
  555. package/dist/web-components-library/p-53d9ac21.entry.js +1 -0
  556. package/dist/web-components-library/p-5a8bdc47.entry.js +1 -0
  557. package/dist/web-components-library/p-5f5725ce.entry.js +1 -0
  558. package/dist/web-components-library/p-5fe820fe.entry.js +1 -0
  559. package/dist/web-components-library/p-6106b802.entry.js +1 -0
  560. package/dist/web-components-library/p-613cc3b2.entry.js +1 -0
  561. package/dist/web-components-library/p-621ccd34.entry.js +1 -0
  562. package/dist/web-components-library/p-6852e978.entry.js +1 -0
  563. package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
  564. package/dist/web-components-library/p-6b7f7ac9.entry.js +1 -0
  565. package/dist/web-components-library/p-6de8783e.entry.js +1 -0
  566. package/dist/web-components-library/p-6e01660c.entry.js +1 -0
  567. package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
  568. package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
  569. package/dist/web-components-library/p-747ad8dc.entry.js +1 -0
  570. package/dist/web-components-library/p-773cc0f3.entry.js +1 -0
  571. package/dist/web-components-library/p-792a7ea0.entry.js +1 -0
  572. package/dist/web-components-library/p-79940e8f.entry.js +1 -0
  573. package/dist/web-components-library/p-79c9cf77.entry.js +1 -0
  574. package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
  575. package/dist/web-components-library/p-7d6e5930.entry.js +1 -0
  576. package/dist/web-components-library/p-810276c9.entry.js +1 -0
  577. package/dist/web-components-library/p-8158fe3c.js +1 -0
  578. package/dist/web-components-library/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
  579. package/dist/web-components-library/p-83ee9630.entry.js +1 -0
  580. package/dist/web-components-library/p-87942fb9.entry.js +1 -0
  581. package/dist/web-components-library/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
  582. package/dist/web-components-library/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
  583. package/dist/web-components-library/p-940352dc.entry.js +1 -0
  584. package/dist/web-components-library/p-9a75f3f8.entry.js +1 -0
  585. package/dist/web-components-library/p-9c0df331.entry.js +1 -0
  586. package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
  587. package/dist/web-components-library/p-aae7a242.entry.js +1 -0
  588. package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
  589. package/dist/web-components-library/p-af6789f2.entry.js +1 -0
  590. package/dist/web-components-library/p-b1b66050.entry.js +1 -0
  591. package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
  592. package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-b2ee6ded.entry.js} +1 -1
  593. package/dist/web-components-library/{p-bfa3593e.js → p-b33f1112.js} +1 -1
  594. package/dist/web-components-library/p-b366ef8e.js +2 -0
  595. package/{www/build/p-f31b8e83.js → dist/web-components-library/p-b4e14eed.js} +1 -1
  596. package/dist/web-components-library/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
  597. package/dist/web-components-library/p-b9de57a3.entry.js +1 -0
  598. package/dist/web-components-library/p-bb684454.entry.js +1 -0
  599. package/dist/web-components-library/p-bc65252e.entry.js +1 -0
  600. package/dist/web-components-library/p-bd70bbcc.entry.js +1 -0
  601. package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
  602. package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
  603. package/dist/web-components-library/p-c26d641f.entry.js +1 -0
  604. package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
  605. package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
  606. package/dist/web-components-library/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
  607. package/dist/web-components-library/p-dd74911c.entry.js +1 -0
  608. package/dist/web-components-library/p-e137a17f.entry.js +1 -0
  609. package/dist/web-components-library/p-e1cbcb1e.entry.js +1 -0
  610. package/dist/web-components-library/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
  611. package/dist/web-components-library/p-e45c7aeb.entry.js +1 -0
  612. package/dist/web-components-library/p-eb612914.entry.js +1 -0
  613. package/dist/web-components-library/p-efdca379.entry.js +1 -0
  614. package/dist/web-components-library/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
  615. package/dist/web-components-library/p-f24a4525.entry.js +1 -0
  616. package/dist/web-components-library/p-f6ff5bc5.entry.js +1 -0
  617. package/dist/web-components-library/p-f94ad50d.entry.js +1 -0
  618. package/dist/web-components-library/p-fddbe121.entry.js +1 -0
  619. package/dist/web-components-library/p-ff000765.entry.js +1 -0
  620. package/dist/web-components-library/p-ff0fc090.entry.js +1 -0
  621. package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
  622. package/dist/web-components-library/web-components-library.esm.js +1 -1
  623. package/loader/package.json +1 -0
  624. package/package.json +24 -17
  625. package/react/index.d.ts +1 -1
  626. package/readme.md +91 -33
  627. package/src-react/index.ts +1 -1
  628. package/www/build/index.esm.js +1 -1
  629. package/www/build/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
  630. package/www/build/p-01cbf6d4.entry.js +1 -0
  631. package/{dist/web-components-library/p-596da333.entry.js → www/build/p-02f14544.entry.js} +1 -1
  632. package/www/build/p-0617465e.entry.js +1 -0
  633. package/www/build/p-06f54c19.entry.js +1 -0
  634. package/www/build/p-0ad2c8ca.entry.js +1 -0
  635. package/www/build/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
  636. package/www/build/p-14f11a64.entry.js +1 -0
  637. package/www/build/p-1668ec30.entry.js +1 -0
  638. package/www/build/p-2177384f.entry.js +1 -0
  639. package/www/build/p-25769717.entry.js +1 -0
  640. package/www/build/p-25b8e583.entry.js +1 -0
  641. package/www/build/p-2772f005.entry.js +1 -0
  642. package/www/build/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
  643. package/www/build/p-2e2ae623.entry.js +1 -0
  644. package/www/build/p-311f5e7a.entry.js +16 -0
  645. package/www/build/p-3124aed0.entry.js +1 -0
  646. package/www/build/p-31604337.entry.js +1 -0
  647. package/www/build/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
  648. package/www/build/p-348c5ada.entry.js +1 -0
  649. package/www/build/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
  650. package/www/build/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
  651. package/www/build/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
  652. package/www/build/p-41b8390e.entry.js +1 -0
  653. package/www/build/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
  654. package/www/build/p-48134f75.entry.js +1 -0
  655. package/www/build/p-4fe96235.entry.js +1 -0
  656. package/www/build/p-53d9ac21.entry.js +1 -0
  657. package/www/build/p-5a8bdc47.entry.js +1 -0
  658. package/www/build/p-5f5725ce.entry.js +1 -0
  659. package/www/build/p-5fe820fe.entry.js +1 -0
  660. package/www/build/p-6106b802.entry.js +1 -0
  661. package/www/build/p-613cc3b2.entry.js +1 -0
  662. package/www/build/p-621ccd34.entry.js +1 -0
  663. package/www/build/p-6852e978.entry.js +1 -0
  664. package/www/build/p-6a53a0d8.entry.js +1 -0
  665. package/www/build/p-6b7f7ac9.entry.js +1 -0
  666. package/www/build/p-6de8783e.entry.js +1 -0
  667. package/www/build/p-6e01660c.entry.js +1 -0
  668. package/www/build/p-6fa0cef6.entry.js +1 -0
  669. package/www/build/p-71ff9b83.entry.js +1 -0
  670. package/www/build/p-747ad8dc.entry.js +1 -0
  671. package/www/build/p-773cc0f3.entry.js +1 -0
  672. package/www/build/p-792a7ea0.entry.js +1 -0
  673. package/www/build/p-79940e8f.entry.js +1 -0
  674. package/www/build/p-79c9cf77.entry.js +1 -0
  675. package/www/build/p-7a9d3944.entry.js +1 -0
  676. package/www/build/p-7d6e5930.entry.js +1 -0
  677. package/www/build/p-810276c9.entry.js +1 -0
  678. package/www/build/p-8158fe3c.js +1 -0
  679. package/www/build/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
  680. package/www/build/p-83ee9630.entry.js +1 -0
  681. package/www/build/p-87942fb9.entry.js +1 -0
  682. package/www/build/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
  683. package/www/build/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
  684. package/www/build/p-8a9e2dd1.js +1 -0
  685. package/www/build/p-940352dc.entry.js +1 -0
  686. package/www/build/p-9a75f3f8.entry.js +1 -0
  687. package/www/build/p-9c0df331.entry.js +1 -0
  688. package/www/build/p-a55ef7b5.entry.js +1 -0
  689. package/www/build/p-aae7a242.entry.js +1 -0
  690. package/www/build/p-ae2dd723.entry.js +1 -0
  691. package/www/build/p-af6789f2.entry.js +1 -0
  692. package/www/build/p-b1b66050.entry.js +1 -0
  693. package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
  694. package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-b2ee6ded.entry.js} +1 -1
  695. package/www/build/{p-bfa3593e.js → p-b33f1112.js} +1 -1
  696. package/www/build/p-b366ef8e.js +2 -0
  697. package/{dist/web-components-library/p-f31b8e83.js → www/build/p-b4e14eed.js} +1 -1
  698. package/www/build/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
  699. package/www/build/p-b9de57a3.entry.js +1 -0
  700. package/www/build/p-bb684454.entry.js +1 -0
  701. package/www/build/p-bc65252e.entry.js +1 -0
  702. package/www/build/p-bd70bbcc.entry.js +1 -0
  703. package/www/build/p-c0d382bc.entry.js +1 -0
  704. package/www/build/p-c1c6988e.entry.js +1 -0
  705. package/www/build/p-c26d641f.entry.js +1 -0
  706. package/www/build/p-c4b70baa.entry.js +1 -0
  707. package/www/build/p-c5ecf36a.entry.js +1 -0
  708. package/www/build/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
  709. package/www/build/p-dd74911c.entry.js +1 -0
  710. package/www/build/p-e137a17f.entry.js +1 -0
  711. package/www/build/p-e1cbcb1e.entry.js +1 -0
  712. package/www/build/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
  713. package/www/build/p-e45c7aeb.entry.js +1 -0
  714. package/www/build/p-eb612914.entry.js +1 -0
  715. package/www/build/p-efdca379.entry.js +1 -0
  716. package/www/build/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
  717. package/www/build/p-f24a4525.entry.js +1 -0
  718. package/www/build/p-f6ff5bc5.entry.js +1 -0
  719. package/www/build/p-f94ad50d.entry.js +1 -0
  720. package/www/build/p-fddbe121.entry.js +1 -0
  721. package/www/build/p-ff000765.entry.js +1 -0
  722. package/www/build/p-ff0fc090.entry.js +1 -0
  723. package/www/build/p-ffacff3f.entry.js +1 -0
  724. package/www/build/web-components-library.esm.js +1 -1
  725. package/www/index.html +1 -1
  726. package/www/pages/file-upload.html +16 -4
  727. package/www/pages/notification.html +153 -69
  728. package/dist/cjs/index-1fda0714.js +0 -60
  729. package/dist/esm/index-abb47b30.js +0 -58
  730. package/dist/web-components-library/p-02474663.entry.js +0 -1
  731. package/dist/web-components-library/p-02681c05.entry.js +0 -1
  732. package/dist/web-components-library/p-0aa9746a.entry.js +0 -1
  733. package/dist/web-components-library/p-104b70e5.entry.js +0 -1
  734. package/dist/web-components-library/p-1906915c.entry.js +0 -1
  735. package/dist/web-components-library/p-1e6aff0f.entry.js +0 -1
  736. package/dist/web-components-library/p-223566d6.entry.js +0 -1
  737. package/dist/web-components-library/p-286363e2.js +0 -7
  738. package/dist/web-components-library/p-29e8a12c.entry.js +0 -1
  739. package/dist/web-components-library/p-2de00f19.entry.js +0 -1
  740. package/dist/web-components-library/p-33f74396.entry.js +0 -1
  741. package/dist/web-components-library/p-3fc438b7.entry.js +0 -1
  742. package/dist/web-components-library/p-41c5beec.entry.js +0 -1
  743. package/dist/web-components-library/p-46a6341a.entry.js +0 -1
  744. package/dist/web-components-library/p-4d9667dc.entry.js +0 -1
  745. package/dist/web-components-library/p-51130281.entry.js +0 -1
  746. package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
  747. package/dist/web-components-library/p-578a5ad1.entry.js +0 -1
  748. package/dist/web-components-library/p-5ae44c56.entry.js +0 -1
  749. package/dist/web-components-library/p-6375f662.entry.js +0 -1
  750. package/dist/web-components-library/p-6bb8de3e.entry.js +0 -1
  751. package/dist/web-components-library/p-71034a6f.entry.js +0 -1
  752. package/dist/web-components-library/p-710cec6d.entry.js +0 -1
  753. package/dist/web-components-library/p-7171717f.entry.js +0 -1
  754. package/dist/web-components-library/p-71e8c2af.entry.js +0 -1
  755. package/dist/web-components-library/p-78e26102.entry.js +0 -1
  756. package/dist/web-components-library/p-79408b00.entry.js +0 -1
  757. package/dist/web-components-library/p-7d37e4a8.entry.js +0 -16
  758. package/dist/web-components-library/p-7ebb03d8.entry.js +0 -1
  759. package/dist/web-components-library/p-7f2fa336.entry.js +0 -1
  760. package/dist/web-components-library/p-8468d87e.entry.js +0 -1
  761. package/dist/web-components-library/p-8e4d7f5d.entry.js +0 -1
  762. package/dist/web-components-library/p-9260abad.entry.js +0 -1
  763. package/dist/web-components-library/p-92cc171f.entry.js +0 -1
  764. package/dist/web-components-library/p-9352da73.entry.js +0 -1
  765. package/dist/web-components-library/p-953a07d5.entry.js +0 -1
  766. package/dist/web-components-library/p-97ae16a0.entry.js +0 -1
  767. package/dist/web-components-library/p-98268a57.js +0 -1
  768. package/dist/web-components-library/p-9c7cf598.entry.js +0 -1
  769. package/dist/web-components-library/p-9fb79d74.entry.js +0 -1
  770. package/dist/web-components-library/p-a5232d04.entry.js +0 -1
  771. package/dist/web-components-library/p-a54ef821.entry.js +0 -1
  772. package/dist/web-components-library/p-a759ab46.entry.js +0 -1
  773. package/dist/web-components-library/p-a9eea65b.entry.js +0 -1
  774. package/dist/web-components-library/p-ab5f212d.entry.js +0 -1
  775. package/dist/web-components-library/p-ae784c71.entry.js +0 -1
  776. package/dist/web-components-library/p-ae79ab08.entry.js +0 -1
  777. package/dist/web-components-library/p-aed2a8cf.entry.js +0 -1
  778. package/dist/web-components-library/p-b543005a.entry.js +0 -1
  779. package/dist/web-components-library/p-b574d5f6.entry.js +0 -1
  780. package/dist/web-components-library/p-bb20020b.entry.js +0 -1
  781. package/dist/web-components-library/p-bbeb6b3c.entry.js +0 -1
  782. package/dist/web-components-library/p-bd886dd5.entry.js +0 -1
  783. package/dist/web-components-library/p-c066ddf1.entry.js +0 -1
  784. package/dist/web-components-library/p-c284139b.entry.js +0 -1
  785. package/dist/web-components-library/p-c6124ee4.entry.js +0 -1
  786. package/dist/web-components-library/p-c730a93d.entry.js +0 -1
  787. package/dist/web-components-library/p-c9348925.entry.js +0 -1
  788. package/dist/web-components-library/p-cb13d050.entry.js +0 -1
  789. package/dist/web-components-library/p-cc6a5872.entry.js +0 -1
  790. package/dist/web-components-library/p-cf35d3cd.entry.js +0 -1
  791. package/dist/web-components-library/p-cf73af9a.entry.js +0 -1
  792. package/dist/web-components-library/p-d0d75b41.entry.js +0 -1
  793. package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
  794. package/dist/web-components-library/p-d34eccf8.entry.js +0 -1
  795. package/dist/web-components-library/p-d4927410.entry.js +0 -1
  796. package/dist/web-components-library/p-d79f69f2.js +0 -1
  797. package/dist/web-components-library/p-e2560604.entry.js +0 -1
  798. package/dist/web-components-library/p-e293f91e.entry.js +0 -1
  799. package/dist/web-components-library/p-e6ddee24.entry.js +0 -1
  800. package/dist/web-components-library/p-f0d90cc2.entry.js +0 -1
  801. package/dist/web-components-library/p-f6a11970.entry.js +0 -1
  802. package/dist/web-components-library/p-f6da32c4.entry.js +0 -1
  803. package/dist/web-components-library/p-fd2338b2.entry.js +0 -1
  804. package/dist/web-components-library/p-fea2c39a.entry.js +0 -1
  805. package/www/build/p-02474663.entry.js +0 -1
  806. package/www/build/p-02681c05.entry.js +0 -1
  807. package/www/build/p-0aa9746a.entry.js +0 -1
  808. package/www/build/p-104b70e5.entry.js +0 -1
  809. package/www/build/p-1906915c.entry.js +0 -1
  810. package/www/build/p-1e6aff0f.entry.js +0 -1
  811. package/www/build/p-223566d6.entry.js +0 -1
  812. package/www/build/p-286363e2.js +0 -7
  813. package/www/build/p-29e8a12c.entry.js +0 -1
  814. package/www/build/p-2de00f19.entry.js +0 -1
  815. package/www/build/p-33f74396.entry.js +0 -1
  816. package/www/build/p-363f4c73.js +0 -1
  817. package/www/build/p-3fc438b7.entry.js +0 -1
  818. package/www/build/p-41c5beec.entry.js +0 -1
  819. package/www/build/p-46a6341a.entry.js +0 -1
  820. package/www/build/p-4d9667dc.entry.js +0 -1
  821. package/www/build/p-51130281.entry.js +0 -1
  822. package/www/build/p-5789bbe7.entry.js +0 -1
  823. package/www/build/p-578a5ad1.entry.js +0 -1
  824. package/www/build/p-5ae44c56.entry.js +0 -1
  825. package/www/build/p-6375f662.entry.js +0 -1
  826. package/www/build/p-6bb8de3e.entry.js +0 -1
  827. package/www/build/p-71034a6f.entry.js +0 -1
  828. package/www/build/p-710cec6d.entry.js +0 -1
  829. package/www/build/p-7171717f.entry.js +0 -1
  830. package/www/build/p-71e8c2af.entry.js +0 -1
  831. package/www/build/p-78e26102.entry.js +0 -1
  832. package/www/build/p-79408b00.entry.js +0 -1
  833. package/www/build/p-7d37e4a8.entry.js +0 -16
  834. package/www/build/p-7ebb03d8.entry.js +0 -1
  835. package/www/build/p-7f2fa336.entry.js +0 -1
  836. package/www/build/p-8468d87e.entry.js +0 -1
  837. package/www/build/p-8e4d7f5d.entry.js +0 -1
  838. package/www/build/p-9260abad.entry.js +0 -1
  839. package/www/build/p-92cc171f.entry.js +0 -1
  840. package/www/build/p-9352da73.entry.js +0 -1
  841. package/www/build/p-953a07d5.entry.js +0 -1
  842. package/www/build/p-97ae16a0.entry.js +0 -1
  843. package/www/build/p-98268a57.js +0 -1
  844. package/www/build/p-9c7cf598.entry.js +0 -1
  845. package/www/build/p-9fb79d74.entry.js +0 -1
  846. package/www/build/p-a5232d04.entry.js +0 -1
  847. package/www/build/p-a54ef821.entry.js +0 -1
  848. package/www/build/p-a759ab46.entry.js +0 -1
  849. package/www/build/p-a9eea65b.entry.js +0 -1
  850. package/www/build/p-ab5f212d.entry.js +0 -1
  851. package/www/build/p-ae784c71.entry.js +0 -1
  852. package/www/build/p-ae79ab08.entry.js +0 -1
  853. package/www/build/p-aed2a8cf.entry.js +0 -1
  854. package/www/build/p-b543005a.entry.js +0 -1
  855. package/www/build/p-b574d5f6.entry.js +0 -1
  856. package/www/build/p-bb20020b.entry.js +0 -1
  857. package/www/build/p-bbeb6b3c.entry.js +0 -1
  858. package/www/build/p-bd886dd5.entry.js +0 -1
  859. package/www/build/p-c066ddf1.entry.js +0 -1
  860. package/www/build/p-c284139b.entry.js +0 -1
  861. package/www/build/p-c6124ee4.entry.js +0 -1
  862. package/www/build/p-c730a93d.entry.js +0 -1
  863. package/www/build/p-c9348925.entry.js +0 -1
  864. package/www/build/p-cb13d050.entry.js +0 -1
  865. package/www/build/p-cc6a5872.entry.js +0 -1
  866. package/www/build/p-cf35d3cd.entry.js +0 -1
  867. package/www/build/p-cf73af9a.entry.js +0 -1
  868. package/www/build/p-d0d75b41.entry.js +0 -1
  869. package/www/build/p-d0fea19f.entry.js +0 -1
  870. package/www/build/p-d34eccf8.entry.js +0 -1
  871. package/www/build/p-d4927410.entry.js +0 -1
  872. package/www/build/p-d79f69f2.js +0 -1
  873. package/www/build/p-e2560604.entry.js +0 -1
  874. package/www/build/p-e293f91e.entry.js +0 -1
  875. package/www/build/p-e6ddee24.entry.js +0 -1
  876. package/www/build/p-f0d90cc2.entry.js +0 -1
  877. package/www/build/p-f6a11970.entry.js +0 -1
  878. package/www/build/p-f6da32c4.entry.js +0 -1
  879. package/www/build/p-fd2338b2.entry.js +0 -1
  880. package/www/build/p-fea2c39a.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Prop, h, Event, Element, Host, State, Watch, } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
2
  import { ToastNotificationTransitionsEnum, } from "../../../beans";
3
3
  import { mobileBreakpoint } from "../../../constants/breakpoints";
4
4
  import Hammer from "hammerjs";
@@ -11,21 +11,13 @@ export class ZToastNotification {
11
11
  /** toast notification draggable percentage*/
12
12
  this.draggablepercentage = 80;
13
13
  this.isCloseEventCalled = false;
14
- this.visibilityChangeEventHandler = () => {
15
- if (document.visibilityState === "hidden") {
16
- this.timeoutHandle && this.onBlur();
17
- }
18
- else {
19
- this.elapsedTime && this.onFocus();
20
- }
21
- };
22
14
  }
23
15
  watchPropIsdraggable(newValue) {
24
16
  if (newValue) {
25
- this.sliderManager.get('pan').set({ enable: true });
17
+ this.sliderManager.get("pan").set({ enable: true });
26
18
  }
27
19
  else {
28
- this.sliderManager.get('pan').set({ enable: false });
20
+ this.sliderManager.get("pan").set({ enable: false });
29
21
  }
30
22
  }
31
23
  watchPropAutoclose(newValue) {
@@ -51,6 +43,7 @@ export class ZToastNotification {
51
43
  componentWillLoad() {
52
44
  this.isMobile = window.innerWidth <= mobileBreakpoint;
53
45
  this.validateAutoclose();
46
+ this.percentage = 0;
54
47
  }
55
48
  componentDidLoad() {
56
49
  this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
@@ -59,22 +52,30 @@ export class ZToastNotification {
59
52
  document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
60
53
  }
61
54
  this.isdraggable && this.handleSlideOutDragAnimation();
62
- this.percentage = 0;
55
+ }
56
+ visibilityChangeEventHandler() {
57
+ if (document.visibilityState === "hidden") {
58
+ this.timeoutHandle && this.onBlur();
59
+ }
60
+ else {
61
+ this.elapsedTime && this.onFocus();
62
+ }
63
63
  }
64
64
  validateAutoclose() {
65
- if (!this.autoclose && !this.closebutton)
65
+ if (!this.autoclose && !this.closebutton) {
66
66
  console.error("At least one between autoclose and closebutton must be present");
67
+ }
67
68
  }
68
69
  mapSlideOutClass() {
69
70
  switch (this.transition) {
70
- case ToastNotificationTransitionsEnum.slideInDown:
71
- return ToastNotificationTransitionsEnum.slideOutUp;
72
- case ToastNotificationTransitionsEnum.slideInUp:
73
- return ToastNotificationTransitionsEnum.slideOutDown;
74
- case ToastNotificationTransitionsEnum.slideInLeft:
75
- return ToastNotificationTransitionsEnum.slideOutRight;
76
- case ToastNotificationTransitionsEnum.slideInRight:
77
- return ToastNotificationTransitionsEnum.slideOutLeft;
71
+ case ToastNotificationTransitionsEnum.SLIDE_IN_DOWN:
72
+ return ToastNotificationTransitionsEnum.SLIDE_OUT_UP;
73
+ case ToastNotificationTransitionsEnum.SLIDE_IN_UP:
74
+ return ToastNotificationTransitionsEnum.SLIDE_OUT_DOWN;
75
+ case ToastNotificationTransitionsEnum.SLIDE_IN_LEFT:
76
+ return ToastNotificationTransitionsEnum.SLIDE_OUT_RIGHT;
77
+ case ToastNotificationTransitionsEnum.SLIDE_IN_RIGHT:
78
+ return ToastNotificationTransitionsEnum.SLIDE_OUT_LEFT;
78
79
  }
79
80
  }
80
81
  calculateDraggedPercentage(e) {
@@ -91,32 +92,27 @@ export class ZToastNotification {
91
92
  this.hostElement.style.transition = "none";
92
93
  this.hostElement.classList.remove(this.transition);
93
94
  const translateObj = {
94
- translate: "translateX( " + this.percentage + "% )",
95
+ translate: `translateX(${this.percentage}%)`,
95
96
  translateBack: "translateX(0)",
96
97
  };
97
98
  this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
98
- if (e.eventType === Hammer.DIRECTION_LEFT ||
99
- e.eventType === Hammer.DIRECTION_RIGHT) {
99
+ if (e.eventType === Hammer.DIRECTION_LEFT || e.eventType === Hammer.DIRECTION_RIGHT) {
100
100
  this.hostElement.style.transform = translateObj.translate;
101
- if (Math.abs(this.percentage) > this.draggablepercentage &&
102
- !this.isCloseEventCalled) {
101
+ if (Math.abs(this.percentage) > this.draggablepercentage && !this.isCloseEventCalled) {
103
102
  this.isCloseEventCalled = true;
104
- this.emitToastClose(e.direction === Hammer.DIRECTION_LEFT
105
- ? "slide-out-left"
106
- : "slide-out-right");
103
+ this.emitToastClose(e.direction === Hammer.DIRECTION_LEFT ? "slide-out-left" : "slide-out-right");
107
104
  }
108
105
  }
109
106
  if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
110
107
  this.hostElement.style.transform = translateObj.translateBack;
111
108
  this.hostElement.style.transition = "all 1s";
112
- this.hostElement.style.opacity = `100%`;
109
+ this.hostElement.style.opacity = "100%";
113
110
  this.percentage = 0;
114
111
  }
115
112
  });
116
113
  }
117
114
  onFocus() {
118
- let time;
119
- time = this.autoclose;
115
+ let time = this.autoclose;
120
116
  if (this.elapsedTime) {
121
117
  time = this.autoclose - this.elapsedTime;
122
118
  }
@@ -129,7 +125,7 @@ export class ZToastNotification {
129
125
  clearTimeout(this.timeoutHandle);
130
126
  }
131
127
  startClosingTimeout(time) {
132
- this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
128
+ this.timeoutHandle = window.setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
133
129
  }
134
130
  detectWrap() {
135
131
  const parentWidth = this.container.offsetWidth;
@@ -141,49 +137,39 @@ export class ZToastNotification {
141
137
  return totalWidth > parentWidth;
142
138
  }
143
139
  renderText() {
144
- return (h("div", { id: "text", ref: (el) => (this.toastText = el) },
145
- h("span", { class: "title" }, this.heading),
146
- h("span", { class: "message" }, this.message)));
140
+ return (h("div", { id: "text", ref: (el) => (this.toastText = el) }, h("span", { class: "title" }, this.heading), h("span", { class: "message" }, this.message)));
147
141
  }
148
142
  renderButton() {
149
- return (h("div", { id: "button" },
150
- h("slot", { name: "button" })));
143
+ return (h("div", { id: "button" }, h("slot", { name: "button" })));
151
144
  }
152
145
  renderCloseIcon() {
153
- return (this.closebutton && (h("div", { id: "icon" },
154
- h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
155
- if (e.keyCode == 32 || e.keyCode == 13) {
156
- e.preventDefault();
157
- this.emitToastClose(this.mapSlideOutClass());
158
- }
159
- } }))));
146
+ if (!this.closebutton) {
147
+ return;
148
+ }
149
+ return (h("div", { id: "icon" }, h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
150
+ if (e.keyCode == 32 || e.keyCode == 13) {
151
+ e.preventDefault();
152
+ this.emitToastClose(this.mapSlideOutClass());
153
+ }
154
+ } })));
160
155
  }
161
156
  renderContainer() {
162
157
  return (h("div", { tabIndex: 0, id: "external-container", class: {
163
158
  [this.type]: !!this.type,
164
159
  "several-lines-padding": this.isTextLong,
165
- }, ref: (el) => (this.container = el) },
166
- this.renderText(),
167
- this.renderButton(),
168
- this.renderCloseIcon()));
160
+ }, ref: (el) => (this.container = el) }, this.renderText(), this.renderButton(), this.renderCloseIcon()));
169
161
  }
170
162
  renderMobileContainer() {
171
163
  return (h("div", { id: "external-container", class: {
172
164
  [this.type]: !!this.type,
173
165
  "several-lines-padding": this.isTextLong,
174
166
  "mobile-wrapped": this.isTextLong,
175
- } },
176
- h("div", { id: "flex-container", ref: (el) => (this.container = el) },
177
- this.renderText(),
178
- this.renderButton()),
179
- this.renderCloseIcon()));
167
+ } }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
180
168
  }
181
169
  render() {
182
170
  return (h(Host, { style: {
183
- ["--percentuale"]: `${this.percentage}%`,
184
- }, class: this.transition
185
- ? this.transition
186
- : ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
171
+ "--percentuale": `${this.percentage}%`,
172
+ }, class: this.transition ? this.transition : ToastNotificationTransitionsEnum.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
187
173
  if (this.autoclose && e.animationName.includes("slidein")) {
188
174
  this.startClosingTimeout(this.autoclose);
189
175
  }
@@ -194,209 +180,220 @@ export class ZToastNotification {
194
180
  }
195
181
  static get is() { return "z-toast-notification"; }
196
182
  static get encapsulation() { return "shadow"; }
197
- static get originalStyleUrls() { return {
198
- "$": ["styles.css"]
199
- }; }
200
- static get styleUrls() { return {
201
- "$": ["styles.css"]
202
- }; }
203
- static get properties() { return {
204
- "heading": {
205
- "type": "string",
206
- "mutable": false,
207
- "complexType": {
208
- "original": "string",
209
- "resolved": "string",
210
- "references": {}
211
- },
212
- "required": false,
213
- "optional": true,
214
- "docs": {
215
- "tags": [],
216
- "text": "toast notification's title"
217
- },
218
- "attribute": "heading",
219
- "reflect": false
220
- },
221
- "message": {
222
- "type": "string",
223
- "mutable": false,
224
- "complexType": {
225
- "original": "string",
226
- "resolved": "string",
227
- "references": {}
228
- },
229
- "required": false,
230
- "optional": false,
231
- "docs": {
232
- "tags": [],
233
- "text": "toast notification's message"
234
- },
235
- "attribute": "message",
236
- "reflect": false
237
- },
238
- "closebutton": {
239
- "type": "boolean",
240
- "mutable": false,
241
- "complexType": {
242
- "original": "boolean",
243
- "resolved": "boolean",
244
- "references": {}
245
- },
246
- "required": false,
247
- "optional": false,
248
- "docs": {
249
- "tags": [],
250
- "text": "toggles closing button rendering"
183
+ static get originalStyleUrls() {
184
+ return {
185
+ "$": ["styles.css"]
186
+ };
187
+ }
188
+ static get styleUrls() {
189
+ return {
190
+ "$": ["styles.css"]
191
+ };
192
+ }
193
+ static get properties() {
194
+ return {
195
+ "heading": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "string",
200
+ "resolved": "string",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": true,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "toast notification's title"
208
+ },
209
+ "attribute": "heading",
210
+ "reflect": false
251
211
  },
252
- "attribute": "closebutton",
253
- "reflect": false
254
- },
255
- "autoclose": {
256
- "type": "number",
257
- "mutable": false,
258
- "complexType": {
259
- "original": "number",
260
- "resolved": "number",
261
- "references": {}
212
+ "message": {
213
+ "type": "string",
214
+ "mutable": false,
215
+ "complexType": {
216
+ "original": "string",
217
+ "resolved": "string",
218
+ "references": {}
219
+ },
220
+ "required": false,
221
+ "optional": false,
222
+ "docs": {
223
+ "tags": [],
224
+ "text": "toast notification's message"
225
+ },
226
+ "attribute": "message",
227
+ "reflect": false
262
228
  },
263
- "required": false,
264
- "optional": true,
265
- "docs": {
266
- "tags": [],
267
- "text": "toast notification closing timeout (ms)"
229
+ "closebutton": {
230
+ "type": "boolean",
231
+ "mutable": false,
232
+ "complexType": {
233
+ "original": "boolean",
234
+ "resolved": "boolean",
235
+ "references": {}
236
+ },
237
+ "required": false,
238
+ "optional": false,
239
+ "docs": {
240
+ "tags": [],
241
+ "text": "toggles closing button rendering"
242
+ },
243
+ "attribute": "closebutton",
244
+ "reflect": false
268
245
  },
269
- "attribute": "autoclose",
270
- "reflect": false
271
- },
272
- "pauseonfocusloss": {
273
- "type": "boolean",
274
- "mutable": false,
275
- "complexType": {
276
- "original": "boolean",
277
- "resolved": "boolean",
278
- "references": {}
246
+ "autoclose": {
247
+ "type": "number",
248
+ "mutable": false,
249
+ "complexType": {
250
+ "original": "number",
251
+ "resolved": "number",
252
+ "references": {}
253
+ },
254
+ "required": false,
255
+ "optional": true,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": "toast notification closing timeout (ms)"
259
+ },
260
+ "attribute": "autoclose",
261
+ "reflect": false
279
262
  },
280
- "required": false,
281
- "optional": true,
282
- "docs": {
283
- "tags": [],
284
- "text": "toast notification autoclose can be paused"
263
+ "pauseonfocusloss": {
264
+ "type": "boolean",
265
+ "mutable": false,
266
+ "complexType": {
267
+ "original": "boolean",
268
+ "resolved": "boolean",
269
+ "references": {}
270
+ },
271
+ "required": false,
272
+ "optional": true,
273
+ "docs": {
274
+ "tags": [],
275
+ "text": "toast notification autoclose can be paused"
276
+ },
277
+ "attribute": "pauseonfocusloss",
278
+ "reflect": false,
279
+ "defaultValue": "true"
285
280
  },
286
- "attribute": "pauseonfocusloss",
287
- "reflect": false,
288
- "defaultValue": "true"
289
- },
290
- "type": {
291
- "type": "string",
292
- "mutable": false,
293
- "complexType": {
294
- "original": "ToastNotificationTypes",
295
- "resolved": "ToastNotificationEnum.accent | ToastNotificationEnum.dark | ToastNotificationEnum.error | ToastNotificationEnum.light | ToastNotificationEnum.success | ToastNotificationEnum.warning",
296
- "references": {
297
- "ToastNotificationTypes": {
298
- "location": "import",
299
- "path": "../../../beans"
281
+ "type": {
282
+ "type": "string",
283
+ "mutable": false,
284
+ "complexType": {
285
+ "original": "ToastNotificationTypes",
286
+ "resolved": "ToastNotificationEnum.ACCENT | ToastNotificationEnum.DARK | ToastNotificationEnum.ERROR | ToastNotificationEnum.LIGHT | ToastNotificationEnum.SUCCESS | ToastNotificationEnum.WARNING",
287
+ "references": {
288
+ "ToastNotificationTypes": {
289
+ "location": "import",
290
+ "path": "../../../beans"
291
+ }
300
292
  }
301
- }
302
- },
303
- "required": false,
304
- "optional": true,
305
- "docs": {
306
- "tags": [],
307
- "text": "toast notification type: dark, light, accent, error, success, warning"
293
+ },
294
+ "required": false,
295
+ "optional": true,
296
+ "docs": {
297
+ "tags": [],
298
+ "text": "toast notification type: dark, light, accent, error, success, warning"
299
+ },
300
+ "attribute": "type",
301
+ "reflect": false
308
302
  },
309
- "attribute": "type",
310
- "reflect": false
311
- },
312
- "isdraggable": {
313
- "type": "boolean",
314
- "mutable": false,
315
- "complexType": {
316
- "original": "boolean",
317
- "resolved": "boolean",
318
- "references": {}
303
+ "isdraggable": {
304
+ "type": "boolean",
305
+ "mutable": false,
306
+ "complexType": {
307
+ "original": "boolean",
308
+ "resolved": "boolean",
309
+ "references": {}
310
+ },
311
+ "required": false,
312
+ "optional": true,
313
+ "docs": {
314
+ "tags": [],
315
+ "text": "toast notification can be draggable"
316
+ },
317
+ "attribute": "isdraggable",
318
+ "reflect": false,
319
+ "defaultValue": "true"
319
320
  },
320
- "required": false,
321
- "optional": true,
322
- "docs": {
323
- "tags": [],
324
- "text": "toast notification can be draggable"
321
+ "draggablepercentage": {
322
+ "type": "number",
323
+ "mutable": false,
324
+ "complexType": {
325
+ "original": "number",
326
+ "resolved": "number",
327
+ "references": {}
328
+ },
329
+ "required": false,
330
+ "optional": true,
331
+ "docs": {
332
+ "tags": [],
333
+ "text": "toast notification draggable percentage"
334
+ },
335
+ "attribute": "draggablepercentage",
336
+ "reflect": false,
337
+ "defaultValue": "80"
325
338
  },
326
- "attribute": "isdraggable",
327
- "reflect": false,
328
- "defaultValue": "true"
329
- },
330
- "draggablepercentage": {
331
- "type": "number",
332
- "mutable": false,
333
- "complexType": {
334
- "original": "number",
335
- "resolved": "number",
336
- "references": {}
337
- },
338
- "required": false,
339
- "optional": true,
340
- "docs": {
341
- "tags": [],
342
- "text": "toast notification draggable percentage"
343
- },
344
- "attribute": "draggablepercentage",
345
- "reflect": false,
346
- "defaultValue": "80"
347
- },
348
- "transition": {
349
- "type": "string",
350
- "mutable": false,
351
- "complexType": {
352
- "original": "ToastNotificationTransitionTypes",
353
- "resolved": "ToastNotificationTransitionsEnum.slideInDown | ToastNotificationTransitionsEnum.slideInLeft | ToastNotificationTransitionsEnum.slideInRight | ToastNotificationTransitionsEnum.slideInUp | ToastNotificationTransitionsEnum.slideOutDown | ToastNotificationTransitionsEnum.slideOutLeft | ToastNotificationTransitionsEnum.slideOutRight | ToastNotificationTransitionsEnum.slideOutUp",
354
- "references": {
355
- "ToastNotificationTransitionTypes": {
356
- "location": "import",
357
- "path": "../../../beans"
339
+ "transition": {
340
+ "type": "string",
341
+ "mutable": false,
342
+ "complexType": {
343
+ "original": "ToastNotificationTransitionTypes",
344
+ "resolved": "ToastNotificationTransitionsEnum.SLIDE_IN_DOWN | ToastNotificationTransitionsEnum.SLIDE_IN_LEFT | ToastNotificationTransitionsEnum.SLIDE_IN_RIGHT | ToastNotificationTransitionsEnum.SLIDE_IN_UP | ToastNotificationTransitionsEnum.SLIDE_OUT_DOWN | ToastNotificationTransitionsEnum.SLIDE_OUT_LEFT | ToastNotificationTransitionsEnum.SLIDE_OUT_RIGHT | ToastNotificationTransitionsEnum.SLIDE_OUT_UP",
345
+ "references": {
346
+ "ToastNotificationTransitionTypes": {
347
+ "location": "import",
348
+ "path": "../../../beans"
349
+ }
358
350
  }
359
- }
360
- },
361
- "required": false,
362
- "optional": true,
363
- "docs": {
364
- "tags": [],
365
- "text": "toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up"
366
- },
367
- "attribute": "transition",
368
- "reflect": false
369
- }
370
- }; }
371
- static get states() { return {
372
- "percentage": {},
373
- "isTextLong": {}
374
- }; }
375
- static get events() { return [{
376
- "method": "toastClose",
377
- "name": "toastClose",
378
- "bubbles": true,
379
- "cancelable": true,
380
- "composed": true,
381
- "docs": {
382
- "tags": [],
383
- "text": "notification close event"
384
- },
385
- "complexType": {
386
- "original": "any",
387
- "resolved": "any",
388
- "references": {}
351
+ },
352
+ "required": false,
353
+ "optional": true,
354
+ "docs": {
355
+ "tags": [],
356
+ "text": "toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up"
357
+ },
358
+ "attribute": "transition",
359
+ "reflect": false
389
360
  }
390
- }]; }
361
+ };
362
+ }
363
+ static get states() {
364
+ return {
365
+ "percentage": {}
366
+ };
367
+ }
368
+ static get events() {
369
+ return [{
370
+ "method": "toastClose",
371
+ "name": "toastClose",
372
+ "bubbles": true,
373
+ "cancelable": true,
374
+ "composed": true,
375
+ "docs": {
376
+ "tags": [],
377
+ "text": "notification close event"
378
+ },
379
+ "complexType": {
380
+ "original": "any",
381
+ "resolved": "any",
382
+ "references": {}
383
+ }
384
+ }];
385
+ }
391
386
  static get elementRef() { return "hostElement"; }
392
- static get watchers() { return [{
393
- "propName": "isdraggable",
394
- "methodName": "watchPropIsdraggable"
395
- }, {
396
- "propName": "autoclose",
397
- "methodName": "watchPropAutoclose"
398
- }, {
399
- "propName": "pauseonfocusloss",
400
- "methodName": "watchPropPauseonfocusloss"
401
- }]; }
387
+ static get watchers() {
388
+ return [{
389
+ "propName": "isdraggable",
390
+ "methodName": "watchPropIsdraggable"
391
+ }, {
392
+ "propName": "autoclose",
393
+ "methodName": "watchPropAutoclose"
394
+ }, {
395
+ "propName": "pauseonfocusloss",
396
+ "methodName": "watchPropPauseonfocusloss"
397
+ }];
398
+ }
402
399
  }