@zanichelli/albe-web-components 2.33.5-rc1 → 2.34.1

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 (699) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/_commonjsHelpers-119ffc74.js +17 -0
  3. package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
  4. package/{www/build/hammer-52e2c4fe.js → dist/cjs/hammer-54230951.js} +6 -5
  5. package/{www/build/icons-c51b7576.js → dist/cjs/icons-05eba7ee.js} +476 -473
  6. package/{www/build/index-8067f807.js → dist/cjs/index-9651dba8.js} +6 -10
  7. package/dist/cjs/index-de6c491e.js +256 -0
  8. package/dist/cjs/index-dee3e21d.js +1694 -0
  9. package/dist/cjs/index.cjs.js +13 -0
  10. package/dist/cjs/loader.cjs.js +21 -0
  11. package/dist/cjs/utils-12053886.js +75 -0
  12. package/dist/cjs/web-components-library.cjs.js +19 -0
  13. package/dist/{web-components-library/z-alert.entry.js → cjs/z-alert.cjs.entry.js} +14 -10
  14. package/{www/build/z-app-header.entry.js → dist/cjs/z-app-header.cjs.entry.js} +139 -135
  15. package/dist/{web-components-library/z-app-switcher.entry.js → cjs/z-app-switcher.cjs.entry.js} +24 -20
  16. package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
  17. package/dist/cjs/z-aria-alert.cjs.entry.js +18 -0
  18. package/{www/build/z-avatar.entry.js → dist/cjs/z-avatar.cjs.entry.js} +38 -34
  19. package/dist/cjs/z-body_14.cjs.entry.js +513 -0
  20. package/dist/cjs/z-button-filter_5.cjs.entry.js +620 -0
  21. package/{www/build/z-button-sort.entry.js → dist/cjs/z-button-sort.cjs.entry.js} +49 -45
  22. package/dist/{web-components-library/z-candybar.entry.js → cjs/z-candybar.cjs.entry.js} +14 -10
  23. package/dist/{web-components-library/z-card.entry.js → cjs/z-card.cjs.entry.js} +53 -49
  24. package/dist/{web-components-library/z-chip.entry.js → cjs/z-chip.cjs.entry.js} +19 -15
  25. package/{www/build/z-combobox.entry.js → dist/cjs/z-combobox.cjs.entry.js} +166 -162
  26. package/dist/cjs/z-contextual-menu.cjs.entry.js +40 -0
  27. package/{www/build/z-cookiebar.entry.js → dist/cjs/z-cookiebar.cjs.entry.js} +37 -33
  28. package/{www/build/z-divider.entry.js → dist/cjs/z-divider.cjs.entry.js} +21 -17
  29. package/dist/cjs/z-footer-link_3.cjs.entry.js +49 -0
  30. package/{www/build/z-footer.entry.js → dist/cjs/z-footer.cjs.entry.js} +97 -93
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
  32. package/dist/cjs/z-heading.cjs.entry.js +17 -0
  33. package/dist/cjs/z-icon-package.cjs.entry.js +23 -0
  34. package/{www/build/z-info-box.entry.js → dist/cjs/z-info-box.cjs.entry.js} +20 -16
  35. package/dist/{web-components-library/z-link.entry.js → cjs/z-link.cjs.entry.js} +66 -62
  36. package/dist/cjs/z-list_3.cjs.entry.js +226 -0
  37. package/dist/{web-components-library/z-logo.entry.js → cjs/z-logo.cjs.entry.js} +23 -19
  38. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +89 -0
  39. package/{www/build/z-menu-section.entry.js → dist/cjs/z-menu-section.cjs.entry.js} +41 -37
  40. package/dist/{web-components-library/z-menu.entry.js → cjs/z-menu.cjs.entry.js} +105 -101
  41. package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +42 -38
  42. package/dist/cjs/z-modal-login.cjs.entry.js +81 -0
  43. package/dist/cjs/z-modal.cjs.entry.js +36 -0
  44. package/{www/build/z-myz-card-alert.entry.js → dist/cjs/z-myz-card-alert.cjs.entry.js} +58 -54
  45. package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +31 -27
  46. package/dist/{web-components-library/z-myz-card-footer-sections.entry.js → cjs/z-myz-card-footer-sections.cjs.entry.js} +14 -10
  47. package/dist/cjs/z-myz-card-footer.cjs.entry.js +52 -0
  48. package/{www/build/z-myz-card-icon.entry.js → dist/cjs/z-myz-card-icon.cjs.entry.js} +16 -12
  49. package/{www/build/z-myz-card-info.entry.js → dist/cjs/z-myz-card-info.cjs.entry.js} +115 -111
  50. package/dist/{web-components-library/z-myz-card-list.entry.js → cjs/z-myz-card-list.cjs.entry.js} +32 -28
  51. package/dist/cjs/z-myz-card_4.cjs.entry.js +101 -0
  52. package/{www/build/z-myz-list-item.entry.js → dist/cjs/z-myz-list-item.cjs.entry.js} +32 -28
  53. package/dist/{web-components-library/z-myz-topbar.entry.js → cjs/z-myz-topbar.cjs.entry.js} +189 -185
  54. package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +40 -36
  55. package/dist/{web-components-library/z-navigation-tabs.entry.js → cjs/z-navigation-tabs.cjs.entry.js} +96 -92
  56. package/{www/build/z-notification.entry.js → dist/cjs/z-notification.cjs.entry.js} +37 -33
  57. package/dist/{web-components-library/z-otp.entry.js → cjs/z-otp.cjs.entry.js} +36 -32
  58. package/{www/build/z-pagination-bar.entry.js → dist/cjs/z-pagination-bar.cjs.entry.js} +123 -121
  59. package/dist/{web-components-library/z-pagination-page.entry.js → cjs/z-pagination-page.cjs.entry.js} +20 -16
  60. package/dist/cjs/z-panel-elem.cjs.entry.js +30 -0
  61. package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +14 -10
  62. package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
  63. package/dist/cjs/z-registro-table-expanded-row.cjs.entry.js +19 -0
  64. package/dist/{web-components-library/z-registro-table-footer.entry.js → cjs/z-registro-table-footer.cjs.entry.js} +18 -14
  65. package/dist/{web-components-library/z-slideshow.entry.js → cjs/z-slideshow.cjs.entry.js} +107 -103
  66. package/{www/build/z-status-tag.entry.js → dist/cjs/z-status-tag.cjs.entry.js} +24 -20
  67. package/{www/build/z-stepper-item.entry.js → dist/cjs/z-stepper-item.cjs.entry.js} +17 -13
  68. package/{www/build/z-stepper.entry.js → dist/cjs/z-stepper.cjs.entry.js} +14 -10
  69. package/{www/build/z-toast-notification-list.entry.js → dist/cjs/z-toast-notification-list.cjs.entry.js} +51 -47
  70. package/dist/{web-components-library/z-toast-notification.entry.js → cjs/z-toast-notification.cjs.entry.js} +198 -194
  71. package/dist/{web-components-library/z-toggle-button.entry.js → cjs/z-toggle-button.cjs.entry.js} +31 -27
  72. package/{www/build/z-tooltip.entry.js → dist/cjs/z-tooltip.cjs.entry.js} +269 -265
  73. package/dist/{web-components-library/z-user-dropdown.entry.js → cjs/z-user-dropdown.cjs.entry.js} +90 -86
  74. package/{www/build/z-visually-hidden.entry.js → dist/cjs/z-visually-hidden.cjs.entry.js} +14 -10
  75. package/{www/build/index-08d9a3bf.js → dist/collection/beans/index.js} +253 -255
  76. package/dist/collection/collection-manifest.json +100 -0
  77. package/dist/collection/components/buttons/z-button/index.js +219 -0
  78. package/dist/collection/components/buttons/z-button/styles.css +231 -0
  79. package/dist/collection/components/buttons/z-button-filter/index.js +155 -0
  80. package/dist/collection/components/buttons/z-button-filter/styles.css +74 -0
  81. package/dist/collection/components/buttons/z-button-sort/index.js +216 -0
  82. package/dist/collection/components/buttons/z-button-sort/styles.css +101 -0
  83. package/dist/collection/components/buttons/z-chip/index.js +59 -0
  84. package/dist/collection/components/buttons/z-chip/styles.css +17 -0
  85. package/dist/collection/components/buttons/z-toggle-button/index.js +122 -0
  86. package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -0
  87. package/dist/collection/components/footer/z-footer/index.js +286 -0
  88. package/dist/collection/components/footer/z-footer/styles.css +242 -0
  89. package/dist/collection/components/footer/z-footer-link/index.js +37 -0
  90. package/dist/collection/components/footer/z-footer-link/styles.css +33 -0
  91. package/dist/collection/components/footer/z-footer-section/index.js +51 -0
  92. package/dist/collection/components/footer/z-footer-section/styles.css +163 -0
  93. package/dist/collection/components/footer/z-footer-social/index.js +68 -0
  94. package/dist/collection/components/footer/z-footer-social/styles.css +23 -0
  95. package/dist/collection/components/icons/icons.js +474 -0
  96. package/dist/collection/components/icons/z-icon/index.js +110 -0
  97. package/dist/collection/components/icons/z-icon/styles.css +14 -0
  98. package/dist/collection/components/icons/z-icon-package/index.js +20 -0
  99. package/dist/collection/components/icons/z-icon-package/styles.css +16 -0
  100. package/dist/collection/components/indicators/z-stepper/index.js +17 -0
  101. package/dist/collection/components/indicators/z-stepper/styles.css +19 -0
  102. package/dist/collection/components/indicators/z-stepper-item/index.js +93 -0
  103. package/dist/collection/components/indicators/z-stepper-item/styles.css +115 -0
  104. package/dist/collection/components/inputs/z-combobox/index.js +480 -0
  105. package/dist/collection/components/inputs/z-combobox/styles.css +148 -0
  106. package/dist/collection/components/inputs/z-input/index.js +821 -0
  107. package/dist/collection/components/inputs/z-input/styles.css +304 -0
  108. package/dist/collection/components/inputs/z-input-label/index.js +72 -0
  109. package/dist/collection/components/inputs/z-input-label/styles.css +16 -0
  110. package/dist/collection/components/inputs/z-input-message/index.js +64 -0
  111. package/dist/collection/components/inputs/z-input-message/styles.css +33 -0
  112. package/dist/collection/components/inputs/z-select/index.js +647 -0
  113. package/dist/collection/components/inputs/z-select/styles.css +131 -0
  114. package/dist/collection/components/list/z-list/index.js +57 -0
  115. package/dist/collection/components/list/z-list/styles.css +7 -0
  116. package/dist/collection/components/list/z-list-element/index.js +439 -0
  117. package/dist/collection/components/list/z-list-element/styles.css +133 -0
  118. package/dist/collection/components/list/z-list-group/index.js +144 -0
  119. package/dist/collection/components/list/z-list-group/styles.css +22 -0
  120. package/dist/collection/components/list/z-toast-notification-list/index.js +97 -0
  121. package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -0
  122. package/dist/collection/components/logo/z-logo/index.js +128 -0
  123. package/dist/collection/components/logo/z-logo/styles.css +29 -0
  124. package/dist/collection/components/modal/z-modal/index.js +160 -0
  125. package/dist/collection/components/modal/z-modal/styles.css +185 -0
  126. package/dist/collection/components/modal/z-modal-login/index.js +272 -0
  127. package/dist/collection/components/modal/z-modal-login/styles.css +159 -0
  128. package/dist/collection/components/navigation/z-app-header/index.js +267 -0
  129. package/dist/collection/components/navigation/z-app-header/styles.css +445 -0
  130. package/dist/collection/components/navigation/z-app-switcher/index.js +70 -0
  131. package/dist/collection/components/navigation/z-app-switcher/styles.css +35 -0
  132. package/dist/collection/components/navigation/z-app-topbar/index.js +156 -0
  133. package/dist/collection/components/navigation/z-app-topbar/styles.css +71 -0
  134. package/dist/collection/components/navigation/z-link/index.js +309 -0
  135. package/dist/collection/components/navigation/z-link/styles.css +164 -0
  136. package/dist/collection/components/navigation/z-menu/index.js +223 -0
  137. package/dist/collection/components/navigation/z-menu/styles.css +149 -0
  138. package/dist/collection/components/navigation/z-menu-dropdown/index.js +125 -0
  139. package/dist/collection/components/navigation/z-menu-dropdown/styles.css +146 -0
  140. package/dist/collection/components/navigation/z-menu-section/index.js +109 -0
  141. package/dist/collection/components/navigation/z-menu-section/styles.css +91 -0
  142. package/dist/collection/components/navigation/z-navigation-tab/index.js +151 -0
  143. package/dist/collection/components/navigation/z-navigation-tab/styles.css +113 -0
  144. package/dist/collection/components/navigation/z-navigation-tabs/index.js +179 -0
  145. package/dist/collection/components/navigation/z-navigation-tabs/styles.css +117 -0
  146. package/dist/collection/components/navigation/z-user-dropdown/index.js +252 -0
  147. package/dist/collection/components/navigation/z-user-dropdown/styles.css +315 -0
  148. package/dist/collection/components/notification/z-candybar/index.js +18 -0
  149. package/dist/collection/components/notification/z-candybar/styles.css +61 -0
  150. package/dist/collection/components/notification/z-cookiebar/index.js +111 -0
  151. package/dist/collection/components/notification/z-cookiebar/styles.css +109 -0
  152. package/dist/collection/components/notification/z-info-box/index.js +79 -0
  153. package/dist/collection/components/notification/z-info-box/styles.css +23 -0
  154. package/dist/collection/components/notification/z-notification/index.js +171 -0
  155. package/dist/collection/components/notification/z-notification/styles.css +93 -0
  156. package/dist/collection/components/notification/z-toast-notification/index.js +402 -0
  157. package/dist/collection/components/notification/z-toast-notification/styles.css +247 -0
  158. package/dist/collection/components/notification/z-tooltip/index.js +379 -0
  159. package/dist/collection/components/notification/z-tooltip/styles.css +128 -0
  160. package/dist/collection/components/pagination/z-pagination-bar/index.js +278 -0
  161. package/dist/collection/components/pagination/z-pagination-bar/styles.css +23 -0
  162. package/dist/collection/components/pagination/z-pagination-page/index.js +129 -0
  163. package/dist/collection/components/pagination/z-pagination-page/styles.css +57 -0
  164. package/dist/collection/components/panel/z-panel-elem/index.js +193 -0
  165. package/dist/collection/components/panel/z-panel-elem/styles.css +39 -0
  166. package/dist/collection/components/typography/z-body/index.js +66 -0
  167. package/dist/collection/components/typography/z-heading/index.js +66 -0
  168. package/dist/collection/components/typography/z-typography/index.js +84 -0
  169. package/dist/collection/components/typography/z-typography/styles.css +61 -0
  170. package/dist/collection/components/z-aria-alert/index.js +32 -0
  171. package/dist/collection/components/z-avatar/index.js +137 -0
  172. package/dist/collection/components/z-avatar/styles.css +35 -0
  173. package/dist/collection/components/z-card/index.js +153 -0
  174. package/dist/collection/components/z-card/styles.css +188 -0
  175. package/dist/collection/components/z-contextual-menu/index.js +122 -0
  176. package/dist/collection/components/z-contextual-menu/styles.css +45 -0
  177. package/dist/collection/components/z-divider/index.js +89 -0
  178. package/dist/collection/components/z-divider/styles.css +37 -0
  179. package/dist/collection/components/z-ghost-loading/index.js +14 -0
  180. package/dist/collection/components/z-ghost-loading/styles.css +34 -0
  181. package/dist/collection/components/z-popover/index.js +273 -0
  182. package/dist/collection/components/z-popover/styles.css +236 -0
  183. package/dist/collection/components/z-status-tag/index.js +125 -0
  184. package/dist/collection/components/z-status-tag/styles.css +133 -0
  185. package/dist/collection/components/z-visually-hidden/index.js +14 -0
  186. package/dist/collection/components/z-visually-hidden/styles.css +12 -0
  187. package/dist/{web-components-library/breakpoints-14432d05.js → collection/constants/breakpoints.js} +2 -3
  188. package/dist/collection/constants/icons.js +6 -0
  189. package/dist/collection/index.js +5 -0
  190. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +119 -0
  191. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +38 -0
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +148 -0
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +20 -0
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +87 -0
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
  198. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -0
  199. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +85 -0
  200. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +190 -0
  201. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +137 -0
  202. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +23 -0
  203. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +32 -0
  204. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +101 -0
  205. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +46 -0
  206. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +74 -0
  207. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +70 -0
  208. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +213 -0
  209. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +124 -0
  210. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +53 -0
  211. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -0
  212. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +70 -0
  213. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
  214. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +188 -0
  215. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +48 -0
  216. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +121 -0
  217. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +106 -0
  218. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -0
  219. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +56 -0
  220. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -0
  221. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +49 -0
  222. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +86 -0
  223. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +40 -0
  224. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +23 -0
  225. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +53 -0
  226. package/dist/collection/snowflakes/myz/topbar/index.js +428 -0
  227. package/dist/collection/snowflakes/myz/topbar/styles.css +594 -0
  228. package/dist/collection/snowflakes/myz/z-alert/index.js +42 -0
  229. package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
  230. package/dist/collection/snowflakes/myz/z-otp/index.js +114 -0
  231. package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
  232. package/dist/collection/snowflakes/myz/z-slideshow/index.js +165 -0
  233. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +128 -0
  234. package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +365 -0
  235. package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +166 -0
  236. package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +19 -0
  237. package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +9 -0
  238. package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +83 -0
  239. package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +57 -0
  240. package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +69 -0
  241. package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +24 -0
  242. package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +35 -0
  243. package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +9 -0
  244. package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +18 -0
  245. package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +5 -0
  246. package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +18 -0
  247. package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +5 -0
  248. package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +244 -0
  249. package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +63 -0
  250. package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +37 -0
  251. package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +13 -0
  252. package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +86 -0
  253. package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +54 -0
  254. package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +17 -0
  255. package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +11 -0
  256. package/dist/collection/themes/index.story.js +18 -0
  257. package/{www/build/utils-2e0fffb8.js → dist/collection/utils/utils.js} +81 -84
  258. package/dist/esm/_commonjsHelpers-8b28c6fa.js +15 -0
  259. package/{www/build/breakpoints-14432d05.js → dist/esm/breakpoints-c386984e.js} +1 -1
  260. package/dist/{web-components-library/hammer-52e2c4fe.js → esm/hammer-501342a9.js} +2 -3
  261. package/dist/{web-components-library/icons-c51b7576.js → esm/icons-bceeb196.js} +473 -472
  262. package/dist/{web-components-library/index-08d9a3bf.js → esm/index-09b57d95.js} +254 -254
  263. package/dist/{web-components-library/index-8067f807.js → esm/index-aa3a4feb.js} +2 -8
  264. package/dist/esm/index-fa9e549c.js +1666 -0
  265. package/dist/esm/index.js +9 -0
  266. package/dist/esm/loader.js +17 -0
  267. package/dist/esm/polyfills/core-js.js +11 -0
  268. package/dist/esm/polyfills/css-shim.js +1 -0
  269. package/dist/esm/polyfills/dom.js +79 -0
  270. package/dist/esm/polyfills/es5-html-element.js +1 -0
  271. package/dist/esm/polyfills/index.js +34 -0
  272. package/dist/esm/polyfills/system.js +6 -0
  273. package/dist/{web-components-library/utils-2e0fffb8.js → esm/utils-f0067254.js} +64 -82
  274. package/dist/esm/web-components-library.js +17 -0
  275. package/{www/build → dist/esm}/z-alert.entry.js +9 -9
  276. package/dist/{web-components-library → esm}/z-app-header.entry.js +134 -134
  277. package/{www/build → dist/esm}/z-app-switcher.entry.js +19 -19
  278. package/dist/{web-components-library → esm}/z-app-topbar.entry.js +31 -31
  279. package/{www/build → dist/esm}/z-aria-alert.entry.js +10 -10
  280. package/dist/{web-components-library → esm}/z-avatar.entry.js +33 -33
  281. package/dist/esm/z-body_14.entry.js +496 -0
  282. package/dist/esm/z-button-filter_5.entry.js +612 -0
  283. package/dist/{web-components-library → esm}/z-button-sort.entry.js +44 -44
  284. package/{www/build → dist/esm}/z-candybar.entry.js +9 -9
  285. package/{www/build → dist/esm}/z-card.entry.js +48 -48
  286. package/{www/build → dist/esm}/z-chip.entry.js +14 -14
  287. package/dist/{web-components-library → esm}/z-combobox.entry.js +161 -161
  288. package/dist/{web-components-library → esm}/z-contextual-menu.entry.js +30 -30
  289. package/dist/{web-components-library → esm}/z-cookiebar.entry.js +32 -32
  290. package/dist/{web-components-library → esm}/z-divider.entry.js +16 -16
  291. package/dist/esm/z-footer-link_3.entry.js +43 -0
  292. package/dist/{web-components-library → esm}/z-footer.entry.js +92 -92
  293. package/{www/build → dist/esm}/z-ghost-loading.entry.js +10 -10
  294. package/dist/{web-components-library → esm}/z-heading.entry.js +9 -9
  295. package/{www/build → dist/esm}/z-icon-package.entry.js +13 -13
  296. package/dist/{web-components-library → esm}/z-info-box.entry.js +15 -15
  297. package/{www/build → dist/esm}/z-link.entry.js +61 -61
  298. package/dist/esm/z-list_3.entry.js +220 -0
  299. package/{www/build → dist/esm}/z-logo.entry.js +18 -18
  300. package/dist/esm/z-menu-dropdown_2.entry.js +84 -0
  301. package/dist/{web-components-library → esm}/z-menu-section.entry.js +36 -36
  302. package/{www/build → dist/esm}/z-menu.entry.js +100 -100
  303. package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +37 -37
  304. package/{www/build → dist/esm}/z-modal-login.entry.js +72 -72
  305. package/{www/build → dist/esm}/z-modal.entry.js +27 -27
  306. package/dist/{web-components-library → esm}/z-myz-card-alert.entry.js +53 -53
  307. package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +26 -26
  308. package/{www/build → dist/esm}/z-myz-card-footer-sections.entry.js +9 -9
  309. package/dist/{web-components-library → esm}/z-myz-card-footer.entry.js +43 -43
  310. package/dist/{web-components-library → esm}/z-myz-card-icon.entry.js +11 -11
  311. package/dist/{web-components-library → esm}/z-myz-card-info.entry.js +110 -110
  312. package/{www/build → dist/esm}/z-myz-card-list.entry.js +27 -27
  313. package/dist/esm/z-myz-card_4.entry.js +94 -0
  314. package/dist/{web-components-library → esm}/z-myz-list-item.entry.js +27 -27
  315. package/{www/build → dist/esm}/z-myz-topbar.entry.js +184 -184
  316. package/{www/build → dist/esm}/z-navigation-tab.entry.js +35 -35
  317. package/{www/build → dist/esm}/z-navigation-tabs.entry.js +91 -91
  318. package/dist/{web-components-library → esm}/z-notification.entry.js +32 -32
  319. package/{www/build → dist/esm}/z-otp.entry.js +31 -31
  320. package/dist/{web-components-library → esm}/z-pagination-bar.entry.js +118 -120
  321. package/{www/build → dist/esm}/z-pagination-page.entry.js +15 -15
  322. package/{www/build → dist/esm}/z-panel-elem.entry.js +20 -20
  323. package/{www/build → dist/esm}/z-pocket-message.entry.js +9 -9
  324. package/dist/esm/z-pocket_3.entry.js +119 -0
  325. package/{www/build → dist/esm}/z-registro-table-expanded-row.entry.js +9 -9
  326. package/{www/build → dist/esm}/z-registro-table-footer.entry.js +13 -13
  327. package/{www/build → dist/esm}/z-slideshow.entry.js +102 -102
  328. package/dist/{web-components-library → esm}/z-status-tag.entry.js +19 -19
  329. package/dist/{web-components-library → esm}/z-stepper-item.entry.js +12 -12
  330. package/dist/{web-components-library → esm}/z-stepper.entry.js +9 -9
  331. package/dist/{web-components-library → esm}/z-toast-notification-list.entry.js +46 -46
  332. package/{www/build → dist/esm}/z-toast-notification.entry.js +193 -193
  333. package/{www/build → dist/esm}/z-toggle-button.entry.js +26 -26
  334. package/dist/{web-components-library → esm}/z-tooltip.entry.js +264 -264
  335. package/{www/build → dist/esm}/z-user-dropdown.entry.js +85 -85
  336. package/dist/{web-components-library → esm}/z-visually-hidden.entry.js +9 -9
  337. package/dist/index.cjs.js +1 -0
  338. package/dist/index.js +1 -0
  339. package/dist/types/beans/index.d.ts +338 -338
  340. package/dist/types/components/buttons/z-button/index.d.ts +29 -29
  341. package/dist/types/components/buttons/z-button-filter/index.d.ts +22 -22
  342. package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
  343. package/dist/types/components/buttons/z-chip/index.d.ts +6 -6
  344. package/dist/types/components/buttons/z-toggle-button/index.d.ts +16 -16
  345. package/dist/types/components/footer/z-footer/index.d.ts +46 -46
  346. package/dist/types/components/footer/z-footer-link/index.d.ts +8 -8
  347. package/dist/types/components/footer/z-footer-section/index.d.ts +10 -10
  348. package/dist/types/components/footer/z-footer-social/index.d.ts +9 -9
  349. package/dist/types/components/icons/icons.d.ts +444 -443
  350. package/dist/types/components/icons/z-icon/index.d.ts +14 -14
  351. package/dist/types/components/icons/z-icon-package/index.d.ts +3 -3
  352. package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
  353. package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
  354. package/dist/types/components/inputs/z-combobox/index.d.ts +62 -62
  355. package/dist/types/components/inputs/z-input/index.d.ts +102 -102
  356. package/dist/types/components/inputs/z-input-label/index.d.ts +9 -9
  357. package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
  358. package/dist/types/components/inputs/z-select/index.d.ts +73 -73
  359. package/dist/types/components/list/z-list/index.d.ts +11 -11
  360. package/dist/types/components/list/z-list-element/index.d.ts +79 -79
  361. package/dist/types/components/list/z-list-group/index.d.ts +24 -24
  362. package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
  363. package/dist/types/components/logo/z-logo/index.d.ts +15 -15
  364. package/dist/types/components/modal/z-modal/index.d.ts +25 -25
  365. package/dist/types/components/modal/z-modal-login/index.d.ts +42 -42
  366. package/dist/types/components/navigation/z-app-header/index.d.ts +67 -67
  367. package/dist/types/components/navigation/z-app-switcher/index.d.ts +12 -12
  368. package/dist/types/components/navigation/z-app-topbar/index.d.ts +20 -20
  369. package/dist/types/components/navigation/z-link/index.d.ts +41 -41
  370. package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
  371. package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +19 -19
  372. package/dist/types/components/navigation/z-menu-section/index.d.ts +24 -24
  373. package/dist/types/components/navigation/z-navigation-tab/index.d.ts +16 -16
  374. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +32 -32
  375. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +39 -39
  376. package/dist/types/components/notification/z-candybar/index.d.ts +6 -6
  377. package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -16
  378. package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
  379. package/dist/types/components/notification/z-notification/index.d.ts +24 -24
  380. package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
  381. package/dist/types/components/notification/z-tooltip/index.d.ts +41 -41
  382. package/dist/types/components/pagination/z-pagination-bar/index.d.ts +42 -42
  383. package/dist/types/components/pagination/z-pagination-page/index.d.ts +15 -15
  384. package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
  385. package/dist/types/components/typography/z-body/index.d.ts +6 -6
  386. package/dist/types/components/typography/z-heading/index.d.ts +6 -6
  387. package/dist/types/components/typography/z-typography/index.d.ts +8 -8
  388. package/dist/types/components/z-aria-alert/index.d.ts +4 -4
  389. package/dist/types/components/z-avatar/index.d.ts +16 -16
  390. package/dist/types/components/z-card/index.d.ts +29 -29
  391. package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
  392. package/dist/types/components/z-divider/index.d.ts +10 -10
  393. package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
  394. package/dist/types/components/z-popover/index.d.ts +29 -29
  395. package/dist/types/components/z-status-tag/index.d.ts +15 -15
  396. package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
  397. package/dist/types/components.d.ts +0 -2
  398. package/dist/types/constants/breakpoints.d.ts +3 -3
  399. package/dist/types/constants/icons.d.ts +6 -6
  400. package/dist/types/index.d.ts +5 -5
  401. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
  402. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +20 -20
  403. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
  404. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
  405. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
  406. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
  407. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
  408. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +23 -23
  409. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -9
  410. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
  411. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +10 -10
  412. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
  413. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
  414. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
  415. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
  416. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
  417. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
  418. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
  419. package/dist/types/snowflakes/myz/topbar/index.d.ts +61 -61
  420. package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
  421. package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
  422. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
  423. package/dist/types/snowflakes/registro-table/z-registro-table/index.d.ts +48 -48
  424. package/dist/types/snowflakes/registro-table/z-registro-table-body/index.d.ts +5 -5
  425. package/dist/types/snowflakes/registro-table/z-registro-table-cell/index.d.ts +12 -12
  426. package/dist/types/snowflakes/registro-table/z-registro-table-empty-box/index.d.ts +12 -12
  427. package/dist/types/snowflakes/registro-table/z-registro-table-expanded-row/index.d.ts +5 -6
  428. package/dist/types/snowflakes/registro-table/z-registro-table-footer/index.d.ts +5 -5
  429. package/dist/types/snowflakes/registro-table/z-registro-table-head/index.d.ts +5 -5
  430. package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +27 -27
  431. package/dist/types/snowflakes/registro-table/z-registro-table-header-row/index.d.ts +5 -5
  432. package/dist/types/snowflakes/registro-table/z-registro-table-row/index.d.ts +11 -11
  433. package/dist/types/snowflakes/registro-table/z-registro-table-sticky-footer/index.d.ts +6 -6
  434. package/dist/types/utils/utils.d.ts +11 -11
  435. package/dist/web-components-library/index.esm.js +1 -9
  436. package/dist/web-components-library/p-017370c7.entry.js +1 -0
  437. package/dist/web-components-library/p-01d11ec3.entry.js +1 -0
  438. package/dist/web-components-library/p-0455dc43.entry.js +1 -0
  439. package/dist/web-components-library/p-05f4fa42.entry.js +1 -0
  440. package/dist/web-components-library/p-08158e57.entry.js +1 -0
  441. package/dist/web-components-library/p-0ce6293a.entry.js +1 -0
  442. package/dist/web-components-library/p-0e6906af.js +1 -0
  443. package/dist/web-components-library/p-0fe60379.entry.js +1 -0
  444. package/dist/web-components-library/p-10ad64bc.entry.js +1 -0
  445. package/dist/web-components-library/p-140cc18f.entry.js +1 -0
  446. package/dist/web-components-library/p-18705ae9.entry.js +1 -0
  447. package/dist/web-components-library/p-1c72783c.entry.js +1 -0
  448. package/dist/web-components-library/p-1d371408.js +7 -0
  449. package/dist/web-components-library/p-250926fe.entry.js +1 -0
  450. package/dist/web-components-library/p-255c9150.entry.js +1 -0
  451. package/dist/web-components-library/p-3247dee9.js +7 -0
  452. package/dist/web-components-library/p-34f4e805.entry.js +1 -0
  453. package/dist/web-components-library/p-35fd465c.entry.js +1 -0
  454. package/dist/web-components-library/p-400e26c7.entry.js +1 -0
  455. package/dist/web-components-library/p-483d10ba.entry.js +1 -0
  456. package/dist/web-components-library/p-4a414eb2.entry.js +1 -0
  457. package/dist/web-components-library/p-5bbbc979.entry.js +1 -0
  458. package/dist/web-components-library/p-5e2762e6.entry.js +1 -0
  459. package/dist/web-components-library/p-5fa8dc13.entry.js +1 -0
  460. package/dist/web-components-library/p-60e40371.entry.js +1 -0
  461. package/dist/web-components-library/p-6583cbec.entry.js +1 -0
  462. package/dist/web-components-library/p-698e18cf.entry.js +1 -0
  463. package/dist/web-components-library/p-71cc7ed0.entry.js +1 -0
  464. package/dist/web-components-library/p-74fb3d69.entry.js +1 -0
  465. package/dist/web-components-library/p-7e926220.entry.js +1 -0
  466. package/dist/web-components-library/p-80589729.entry.js +1 -0
  467. package/dist/web-components-library/p-82048c15.js +1 -0
  468. package/dist/web-components-library/p-82a59ded.entry.js +1 -0
  469. package/dist/web-components-library/p-880a50a6.entry.js +1 -0
  470. package/dist/web-components-library/p-8ad12683.entry.js +1 -0
  471. package/dist/web-components-library/p-904a85e4.js +1 -0
  472. package/dist/web-components-library/p-94814f44.entry.js +1 -0
  473. package/dist/web-components-library/p-957f298f.entry.js +1 -0
  474. package/dist/web-components-library/p-96e3aec6.entry.js +1 -0
  475. package/dist/web-components-library/p-9959e453.entry.js +1 -0
  476. package/dist/web-components-library/p-9d9dc98f.entry.js +1 -0
  477. package/dist/web-components-library/p-a15f8b52.entry.js +1 -0
  478. package/dist/web-components-library/p-a7733104.entry.js +1 -0
  479. package/dist/web-components-library/p-a82c9a77.entry.js +1 -0
  480. package/dist/web-components-library/p-aa0f7169.entry.js +1 -0
  481. package/dist/web-components-library/p-ac3bc4c2.entry.js +1 -0
  482. package/dist/web-components-library/p-b13d5b98.entry.js +1 -0
  483. package/dist/web-components-library/p-b630127d.entry.js +1 -0
  484. package/dist/web-components-library/p-b68038b5.js +1 -0
  485. package/dist/web-components-library/p-b78fb152.entry.js +1 -0
  486. package/dist/web-components-library/p-c7af96eb.entry.js +1 -0
  487. package/dist/web-components-library/p-c92c3f20.entry.js +1 -0
  488. package/dist/web-components-library/p-cc6363b9.entry.js +1 -0
  489. package/dist/web-components-library/p-cdcf738e.entry.js +1 -0
  490. package/dist/web-components-library/p-cf914ea7.entry.js +1 -0
  491. package/dist/web-components-library/p-cfebc80e.entry.js +1 -0
  492. package/dist/web-components-library/p-d227a145.entry.js +1 -0
  493. package/dist/web-components-library/p-d69e14fb.js +1 -0
  494. package/dist/web-components-library/p-d83eee10.entry.js +1 -0
  495. package/dist/web-components-library/p-db5863cf.entry.js +1 -0
  496. package/dist/web-components-library/p-e1f1f39e.entry.js +1 -0
  497. package/dist/web-components-library/p-e29fe790.entry.js +1 -0
  498. package/dist/web-components-library/p-ebcad010.entry.js +1 -0
  499. package/dist/web-components-library/p-f113a03a.entry.js +1 -0
  500. package/dist/web-components-library/p-f3354152.entry.js +1 -0
  501. package/dist/web-components-library/p-f77f6f60.entry.js +1 -0
  502. package/dist/web-components-library/p-f8446b1e.entry.js +1 -0
  503. package/dist/web-components-library/p-f90dd488.js +1 -0
  504. package/dist/web-components-library/p-fc47897e.entry.js +1 -0
  505. package/dist/web-components-library/p-fce08912.entry.js +1 -0
  506. package/dist/web-components-library/web-components-library.css +1 -789
  507. package/dist/web-components-library/web-components-library.esm.js +1 -122
  508. package/package.json +90 -90
  509. package/react/components.d.ts +91 -89
  510. package/react/components.js +97 -95
  511. package/react/components.js.map +1 -1
  512. package/react/index.d.ts +1 -1
  513. package/react/index.js +13 -13
  514. package/react/react-component-lib/createComponent.d.ts +10 -10
  515. package/react/react-component-lib/createComponent.js +65 -65
  516. package/react/react-component-lib/createOverlayComponent.d.ts +20 -20
  517. package/react/react-component-lib/createOverlayComponent.js +95 -95
  518. package/react/react-component-lib/index.d.ts +2 -2
  519. package/react/react-component-lib/index.js +7 -7
  520. package/react/react-component-lib/interfaces.d.ts +29 -29
  521. package/react/react-component-lib/interfaces.js +2 -2
  522. package/react/react-component-lib/utils/attachProps.d.ts +12 -12
  523. package/react/react-component-lib/utils/attachProps.js +102 -102
  524. package/react/react-component-lib/utils/case.d.ts +2 -2
  525. package/react/react-component-lib/utils/case.js +11 -11
  526. package/react/react-component-lib/utils/dev.d.ts +2 -2
  527. package/react/react-component-lib/utils/dev.js +17 -17
  528. package/react/react-component-lib/utils/index.d.ts +7 -7
  529. package/react/react-component-lib/utils/index.js +38 -38
  530. package/readme.md +236 -236
  531. package/www/build/index.esm.js +1 -9
  532. package/www/build/p-017370c7.entry.js +1 -0
  533. package/www/build/p-01d11ec3.entry.js +1 -0
  534. package/www/build/p-0455dc43.entry.js +1 -0
  535. package/www/build/p-05f4fa42.entry.js +1 -0
  536. package/www/build/p-08158e57.entry.js +1 -0
  537. package/www/build/p-0ce6293a.entry.js +1 -0
  538. package/www/build/p-0e6906af.js +1 -0
  539. package/www/build/p-0fe60379.entry.js +1 -0
  540. package/www/build/p-10ad64bc.entry.js +1 -0
  541. package/www/build/p-140cc18f.entry.js +1 -0
  542. package/www/build/p-18705ae9.entry.js +1 -0
  543. package/www/build/p-1c72783c.entry.js +1 -0
  544. package/www/build/p-1d371408.js +7 -0
  545. package/www/build/p-250926fe.entry.js +1 -0
  546. package/www/build/p-255c9150.entry.js +1 -0
  547. package/www/build/p-3247dee9.js +7 -0
  548. package/www/build/p-34f4e805.entry.js +1 -0
  549. package/www/build/p-35fd465c.entry.js +1 -0
  550. package/www/build/p-400e26c7.entry.js +1 -0
  551. package/www/build/p-483d10ba.entry.js +1 -0
  552. package/www/build/p-4a414eb2.entry.js +1 -0
  553. package/www/build/p-5bbbc979.entry.js +1 -0
  554. package/www/build/p-5e2762e6.entry.js +1 -0
  555. package/www/build/p-5fa8dc13.entry.js +1 -0
  556. package/www/build/p-60e40371.entry.js +1 -0
  557. package/www/build/p-6583cbec.entry.js +1 -0
  558. package/www/build/p-698e18cf.entry.js +1 -0
  559. package/www/build/p-71cc7ed0.entry.js +1 -0
  560. package/www/build/p-74fb3d69.entry.js +1 -0
  561. package/www/build/p-7e926220.entry.js +1 -0
  562. package/www/build/p-80589729.entry.js +1 -0
  563. package/www/build/p-82048c15.js +1 -0
  564. package/www/build/p-82a59ded.entry.js +1 -0
  565. package/www/build/p-880a50a6.entry.js +1 -0
  566. package/www/build/p-8ad12683.entry.js +1 -0
  567. package/www/build/p-904a85e4.js +1 -0
  568. package/www/build/p-94814f44.entry.js +1 -0
  569. package/www/build/p-957f298f.entry.js +1 -0
  570. package/www/build/p-96e3aec6.entry.js +1 -0
  571. package/www/build/p-9959e453.entry.js +1 -0
  572. package/www/build/p-9d9dc98f.entry.js +1 -0
  573. package/www/build/p-a15f8b52.entry.js +1 -0
  574. package/www/build/p-a7733104.entry.js +1 -0
  575. package/www/build/p-a82c9a77.entry.js +1 -0
  576. package/www/build/p-aa0f7169.entry.js +1 -0
  577. package/www/build/p-ac3bc4c2.entry.js +1 -0
  578. package/www/build/p-b13d5b98.entry.js +1 -0
  579. package/www/build/p-b630127d.entry.js +1 -0
  580. package/www/build/p-b68038b5.js +1 -0
  581. package/www/build/p-b78fb152.entry.js +1 -0
  582. package/www/build/p-c7af96eb.entry.js +1 -0
  583. package/www/build/p-c92c3f20.entry.js +1 -0
  584. package/www/build/p-cc6363b9.entry.js +1 -0
  585. package/www/build/p-cdcf738e.entry.js +1 -0
  586. package/www/build/p-cf914ea7.entry.js +1 -0
  587. package/www/build/p-cfebc80e.entry.js +1 -0
  588. package/www/build/p-d227a145.entry.js +1 -0
  589. package/www/build/p-d69e14fb.js +1 -0
  590. package/www/build/p-d83eee10.entry.js +1 -0
  591. package/www/build/p-db5863cf.entry.js +1 -0
  592. package/www/build/p-e1879b27.js +1 -0
  593. package/www/build/p-e1f1f39e.entry.js +1 -0
  594. package/www/build/p-e29fe790.entry.js +1 -0
  595. package/www/build/p-ea943cbd.css +1 -0
  596. package/www/build/p-ebcad010.entry.js +1 -0
  597. package/www/build/p-f113a03a.entry.js +1 -0
  598. package/www/build/p-f3354152.entry.js +1 -0
  599. package/www/build/p-f77f6f60.entry.js +1 -0
  600. package/www/build/p-f8446b1e.entry.js +1 -0
  601. package/www/build/p-f90dd488.js +1 -0
  602. package/www/build/p-fc47897e.entry.js +1 -0
  603. package/www/build/p-fce08912.entry.js +1 -0
  604. package/www/build/web-components-library.css +1 -789
  605. package/www/build/web-components-library.esm.js +1 -122
  606. package/www/index.html +2 -11
  607. package/www/pages/notification.html +244 -244
  608. package/CHANGELOG.md +0 -1221
  609. package/dist/web-components-library/_commonjsHelpers-cb1cd7bb.js +0 -44
  610. package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
  611. package/dist/web-components-library/css-shim-003e9264.js +0 -4
  612. package/dist/web-components-library/dom-1b195079.js +0 -73
  613. package/dist/web-components-library/index-44936066.js +0 -2832
  614. package/dist/web-components-library/shadow-css-c1ad5fdc.js +0 -383
  615. package/dist/web-components-library/z-aria-alert.entry.js +0 -14
  616. package/dist/web-components-library/z-body.entry.js +0 -13
  617. package/dist/web-components-library/z-button-filter.entry.js +0 -45
  618. package/dist/web-components-library/z-button.entry.js +0 -35
  619. package/dist/web-components-library/z-footer-link.entry.js +0 -15
  620. package/dist/web-components-library/z-footer-section.entry.js +0 -19
  621. package/dist/web-components-library/z-footer-social.entry.js +0 -15
  622. package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
  623. package/dist/web-components-library/z-icon-package.entry.js +0 -19
  624. package/dist/web-components-library/z-icon.entry.js +0 -24
  625. package/dist/web-components-library/z-input-label.entry.js +0 -17
  626. package/dist/web-components-library/z-input-message.entry.js +0 -20
  627. package/dist/web-components-library/z-input.entry.js +0 -264
  628. package/dist/web-components-library/z-list-element.entry.js +0 -150
  629. package/dist/web-components-library/z-list-group.entry.js +0 -50
  630. package/dist/web-components-library/z-list.entry.js +0 -30
  631. package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
  632. package/dist/web-components-library/z-modal-login.entry.js +0 -77
  633. package/dist/web-components-library/z-modal.entry.js +0 -32
  634. package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
  635. package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
  636. package/dist/web-components-library/z-myz-card-header.entry.js +0 -34
  637. package/dist/web-components-library/z-myz-card.entry.js +0 -37
  638. package/dist/web-components-library/z-myz-list.entry.js +0 -31
  639. package/dist/web-components-library/z-panel-elem.entry.js +0 -26
  640. package/dist/web-components-library/z-pocket-body.entry.js +0 -23
  641. package/dist/web-components-library/z-pocket-header.entry.js +0 -36
  642. package/dist/web-components-library/z-pocket.entry.js +0 -68
  643. package/dist/web-components-library/z-popover.entry.js +0 -123
  644. package/dist/web-components-library/z-registro-table-body.entry.js +0 -20
  645. package/dist/web-components-library/z-registro-table-cell.entry.js +0 -32
  646. package/dist/web-components-library/z-registro-table-empty-box.entry.js +0 -24
  647. package/dist/web-components-library/z-registro-table-expanded-row.entry.js +0 -15
  648. package/dist/web-components-library/z-registro-table-head.entry.js +0 -19
  649. package/dist/web-components-library/z-registro-table-header-row.entry.js +0 -18
  650. package/dist/web-components-library/z-registro-table-header.entry.js +0 -84
  651. package/dist/web-components-library/z-registro-table-row.entry.js +0 -39
  652. package/dist/web-components-library/z-registro-table-sticky-footer.entry.js +0 -15
  653. package/dist/web-components-library/z-registro-table.entry.js +0 -78
  654. package/dist/web-components-library/z-select.entry.js +0 -281
  655. package/dist/web-components-library/z-typography.entry.js +0 -25
  656. package/www/build/_commonjsHelpers-cb1cd7bb.js +0 -44
  657. package/www/build/app-globals-0f993ce5.js +0 -3
  658. package/www/build/css-shim-003e9264.js +0 -4
  659. package/www/build/dom-1b195079.js +0 -73
  660. package/www/build/index-44936066.js +0 -2832
  661. package/www/build/shadow-css-c1ad5fdc.js +0 -383
  662. package/www/build/z-app-topbar.entry.js +0 -37
  663. package/www/build/z-body.entry.js +0 -13
  664. package/www/build/z-button-filter.entry.js +0 -45
  665. package/www/build/z-button.entry.js +0 -35
  666. package/www/build/z-contextual-menu.entry.js +0 -36
  667. package/www/build/z-footer-link.entry.js +0 -15
  668. package/www/build/z-footer-section.entry.js +0 -19
  669. package/www/build/z-footer-social.entry.js +0 -15
  670. package/www/build/z-heading.entry.js +0 -13
  671. package/www/build/z-icon.entry.js +0 -24
  672. package/www/build/z-input-label.entry.js +0 -17
  673. package/www/build/z-input-message.entry.js +0 -20
  674. package/www/build/z-input.entry.js +0 -264
  675. package/www/build/z-list-element.entry.js +0 -150
  676. package/www/build/z-list-group.entry.js +0 -50
  677. package/www/build/z-list.entry.js +0 -30
  678. package/www/build/z-menu-dropdown.entry.js +0 -56
  679. package/www/build/z-myz-card-body.entry.js +0 -15
  680. package/www/build/z-myz-card-cover.entry.js +0 -18
  681. package/www/build/z-myz-card-footer.entry.js +0 -48
  682. package/www/build/z-myz-card-header.entry.js +0 -34
  683. package/www/build/z-myz-card.entry.js +0 -37
  684. package/www/build/z-myz-list.entry.js +0 -31
  685. package/www/build/z-pocket-body.entry.js +0 -23
  686. package/www/build/z-pocket-header.entry.js +0 -36
  687. package/www/build/z-pocket.entry.js +0 -68
  688. package/www/build/z-popover.entry.js +0 -123
  689. package/www/build/z-registro-table-body.entry.js +0 -20
  690. package/www/build/z-registro-table-cell.entry.js +0 -32
  691. package/www/build/z-registro-table-empty-box.entry.js +0 -24
  692. package/www/build/z-registro-table-head.entry.js +0 -19
  693. package/www/build/z-registro-table-header-row.entry.js +0 -18
  694. package/www/build/z-registro-table-header.entry.js +0 -84
  695. package/www/build/z-registro-table-row.entry.js +0 -39
  696. package/www/build/z-registro-table-sticky-footer.entry.js +0 -15
  697. package/www/build/z-registro-table.entry.js +0 -78
  698. package/www/build/z-select.entry.js +0 -281
  699. package/www/build/z-typography.entry.js +0 -25
@@ -1,270 +1,274 @@
1
- import { r as registerInstance, f as createEvent, h, e as Host, g as getElement } from './index-44936066.js';
2
- import { f as TooltipPosition } from './index-08d9a3bf.js';
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-dee3e21d.js');
6
+ const index$1 = require('./index-de6c491e.js');
3
7
 
4
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}";
5
9
 
6
- const documentElement = document.documentElement;
7
- /**
8
- * Find the closest scrollable parent of a node.
9
- *
10
- * @param {Element} element The node
11
- */
12
- function findScrollableParent(element) {
13
- let parent = element.parentNode;
14
- while (parent && parent !== documentElement) {
15
- const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
16
- if (overflow === 'hidden' ||
17
- overflowY === 'hidden' ||
18
- overflowX === 'hidden') {
19
- return parent;
20
- }
21
- if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
22
- (parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
23
- return parent;
24
- }
25
- parent = parent.parentNode;
26
- }
27
- return documentElement;
28
- }
29
- /**
30
- * Calculate computed offset.
31
- * It includes matrix transformations.
32
- * @param element The target element.
33
- * @param targetParentOffset The relative offset parent.
34
- * @return A client rect object.
35
- */
36
- function computeOffset(element, targetParentOffset) {
37
- const rect = element.getBoundingClientRect();
38
- const width = rect.width;
39
- const height = rect.height;
40
- let top = 0;
41
- let left = 0;
42
- let offsetParent = element;
43
- while (offsetParent && offsetParent != targetParentOffset) {
44
- left += offsetParent.offsetLeft;
45
- // document.body sometimes has offsetTop == 0 but still has an
46
- // offset because of children margins!
47
- if (offsetParent === document.body) {
48
- top += offsetParent.getBoundingClientRect().top + window.scrollY;
49
- }
50
- else {
51
- top += offsetParent.offsetTop;
52
- }
53
- if (window.DOMMatrix) {
54
- const style = window.getComputedStyle(offsetParent);
55
- const transform = style.transform || style.webkitTransform;
56
- const domMatrix = new DOMMatrix(transform);
57
- if (domMatrix) {
58
- left += domMatrix.m41;
59
- if (offsetParent !== document.body) {
60
- top += domMatrix.m42;
61
- }
62
- }
63
- }
64
- if (!offsetParent.offsetParent) {
65
- break;
66
- }
67
- offsetParent = offsetParent.offsetParent;
68
- }
69
- let parentWidth;
70
- let parentHeight;
71
- if (offsetParent === document.body) {
72
- parentWidth = window.innerWidth;
73
- parentHeight = window.innerHeight;
74
- }
75
- else {
76
- parentWidth = offsetParent.offsetWidth;
77
- parentHeight = offsetParent.offsetHeight;
78
- }
79
- const right = parentWidth - left - rect.width;
80
- const bottom = parentHeight - top - rect.height;
81
- return { top, right, bottom, left, width, height };
82
- }
83
- const ZTooltip = class {
84
- constructor(hostRef) {
85
- registerInstance(this, hostRef);
86
- this.positionChange = createEvent(this, "positionChange", 7);
87
- /** Tooltip position. */
88
- this.type = TooltipPosition.AUTO;
89
- /**
90
- * The open state of the tooltip.
91
- */
92
- this.open = false;
93
- }
94
- validateType(newValue) {
95
- if (newValue &&
96
- Object
97
- .values(TooltipPosition)
98
- .every((position) => newValue !== position)) {
99
- this.type = TooltipPosition.AUTO;
100
- }
101
- }
102
- onPositionChange() {
103
- this.positionChange.emit({ position: this.position });
104
- }
105
- disconnectedCallback() {
106
- cancelAnimationFrame(this.animationFrameRequestId);
107
- }
108
- /**
109
- * Setup tooltip behaviors on opening.
110
- */
111
- onOpen() {
112
- cancelAnimationFrame(this.animationFrameRequestId);
113
- if (this.content) {
114
- return;
115
- }
116
- if (this.open) {
117
- const setPosition = () => {
118
- if (this.open) {
119
- this.setPosition();
120
- this.animationFrameRequestId = requestAnimationFrame(setPosition);
121
- }
122
- };
123
- setPosition();
124
- }
125
- else {
126
- const style = this.host.style;
127
- style.removeProperty("top");
128
- style.removeProperty("right");
129
- style.removeProperty("bottom");
130
- style.removeProperty("left");
131
- }
132
- }
133
- /**
134
- * Set the position of the tooltip.
135
- */
136
- setPosition() {
137
- let element;
138
- if (typeof this.bindTo === "string") {
139
- element = this.host.ownerDocument.querySelector(this.bindTo);
140
- }
141
- else if (this.bindTo) {
142
- element = this.bindTo;
143
- }
144
- else {
145
- element = this.host.parentElement;
146
- }
147
- if (!element) {
148
- return;
149
- }
150
- const scrollContainer = findScrollableParent(element);
151
- const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
152
- const offsetContainer = this.host.offsetParent;
153
- const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
154
- const boundingRect = computeOffset(element, scrollContainer);
155
- const top = boundingRect.top - scrollContainer.scrollTop;
156
- const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
157
- const left = boundingRect.left - scrollContainer.scrollLeft;
158
- const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
159
- const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
160
- const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
161
- const availableTop = Math.min(top, top + scrollingBoundingRect.top);
162
- const availableBottom = Math.min(bottom, bottom - overflowBottom);
163
- const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
164
- const availableRight = Math.min(right, right - overflowRight);
165
- const availableHeight = availableTop + availableBottom + boundingRect.height;
166
- const availableWidth = availableLeft + availableRight + boundingRect.width;
167
- let position = this.type;
168
- if (position === TooltipPosition.AUTO) {
169
- /**
170
- * The `AUTO` position tries to place the tooltip in the "safest" area,
171
- * where there's more space available.
172
- */
173
- const positions = [];
174
- if (availableTop / availableHeight > 0.9) {
175
- positions.unshift(TooltipPosition.TOP);
176
- }
177
- else if (availableTop / availableHeight > 0.6) {
178
- positions.push(TooltipPosition.TOP);
179
- }
180
- else if (availableTop / availableHeight < 0.1) {
181
- positions.unshift(TooltipPosition.BOTTOM);
182
- }
183
- else {
184
- positions.push(TooltipPosition.BOTTOM);
185
- }
186
- if (availableLeft / availableWidth > 0.6) {
187
- positions.push(TooltipPosition.LEFT);
188
- }
189
- else if (availableLeft / availableWidth < 0.4) {
190
- positions.push(TooltipPosition.RIGHT);
191
- }
192
- position = positions.join("_");
193
- }
194
- const style = this.host.style;
195
- if (!this.content) {
196
- style.position = "absolute";
197
- }
198
- const offsetTop = boundingRect.top - relativeBoundingRect.top;
199
- const offsetRight = boundingRect.right - relativeBoundingRect.right;
200
- const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
201
- const offsetLeft = boundingRect.left - relativeBoundingRect.left;
202
- if (position === TooltipPosition.TOP ||
203
- position === TooltipPosition.TOP_RIGHT ||
204
- position === TooltipPosition.TOP_LEFT) {
205
- style.top = "auto";
206
- style.bottom = `${offsetBottom + boundingRect.height}px`;
207
- }
208
- if (position === TooltipPosition.BOTTOM ||
209
- position === TooltipPosition.BOTTOM_RIGHT ||
210
- position === TooltipPosition.BOTTOM_LEFT) {
211
- style.top = `${offsetTop + boundingRect.height}px`;
212
- style.bottom = "auto";
213
- }
214
- if (position === TooltipPosition.TOP ||
215
- position === TooltipPosition.BOTTOM) {
216
- style.left = `${offsetLeft +
217
- (boundingRect.width / 2) -
218
- (this.host.clientWidth / 2)}px`;
219
- }
220
- if (position === TooltipPosition.TOP_RIGHT ||
221
- position === TooltipPosition.BOTTOM_RIGHT) {
222
- style.right = "auto";
223
- style.left = `${offsetLeft + boundingRect.width}px`;
224
- }
225
- if (position === TooltipPosition.TOP_LEFT ||
226
- position === TooltipPosition.BOTTOM_LEFT) {
227
- style.left = "auto";
228
- style.right = `${offsetRight + boundingRect.width}px`;
229
- }
230
- if (position === TooltipPosition.RIGHT ||
231
- position === TooltipPosition.LEFT) {
232
- style.top = `${offsetTop +
233
- (boundingRect.height / 2) -
234
- (this.host.clientHeight / 2)}px`;
235
- style.bottom = "auto";
236
- }
237
- if (position === TooltipPosition.RIGHT) {
238
- style.right = "auto";
239
- style.left = `${offsetLeft + boundingRect.width}px`;
240
- }
241
- if (position === TooltipPosition.LEFT) {
242
- style.left = "auto";
243
- style.right = `${offsetRight + boundingRect.width}px`;
244
- }
245
- this.position = position;
246
- }
247
- componentWillLoad() {
248
- // Keep backward compatibility
249
- if (this.content) {
250
- this.open = true;
251
- }
252
- this.validateType(this.type);
253
- this.onOpen();
254
- }
255
- render() {
256
- if (this.content) {
257
- return (h(Host, { class: "legacy", position: this.type }, this.content));
258
- }
259
- return (h(Host, { position: this.position }, h("slot", null)));
260
- }
261
- get host() { return getElement(this); }
262
- static get watchers() { return {
263
- "type": ["validateType"],
264
- "position": ["onPositionChange"],
265
- "open": ["onOpen"]
266
- }; }
267
- };
10
+ const documentElement = document.documentElement;
11
+ /**
12
+ * Find the closest scrollable parent of a node.
13
+ *
14
+ * @param {Element} element The node
15
+ */
16
+ function findScrollableParent(element) {
17
+ let parent = element.parentNode;
18
+ while (parent && parent !== documentElement) {
19
+ const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
20
+ if (overflow === 'hidden' ||
21
+ overflowY === 'hidden' ||
22
+ overflowX === 'hidden') {
23
+ return parent;
24
+ }
25
+ if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
26
+ (parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
27
+ return parent;
28
+ }
29
+ parent = parent.parentNode;
30
+ }
31
+ return documentElement;
32
+ }
33
+ /**
34
+ * Calculate computed offset.
35
+ * It includes matrix transformations.
36
+ * @param element The target element.
37
+ * @param targetParentOffset The relative offset parent.
38
+ * @return A client rect object.
39
+ */
40
+ function computeOffset(element, targetParentOffset) {
41
+ const rect = element.getBoundingClientRect();
42
+ const width = rect.width;
43
+ const height = rect.height;
44
+ let top = 0;
45
+ let left = 0;
46
+ let offsetParent = element;
47
+ while (offsetParent && offsetParent != targetParentOffset) {
48
+ left += offsetParent.offsetLeft;
49
+ // document.body sometimes has offsetTop == 0 but still has an
50
+ // offset because of children margins!
51
+ if (offsetParent === document.body) {
52
+ top += offsetParent.getBoundingClientRect().top + window.scrollY;
53
+ }
54
+ else {
55
+ top += offsetParent.offsetTop;
56
+ }
57
+ if (window.DOMMatrix) {
58
+ const style = window.getComputedStyle(offsetParent);
59
+ const transform = style.transform || style.webkitTransform;
60
+ const domMatrix = new DOMMatrix(transform);
61
+ if (domMatrix) {
62
+ left += domMatrix.m41;
63
+ if (offsetParent !== document.body) {
64
+ top += domMatrix.m42;
65
+ }
66
+ }
67
+ }
68
+ if (!offsetParent.offsetParent) {
69
+ break;
70
+ }
71
+ offsetParent = offsetParent.offsetParent;
72
+ }
73
+ let parentWidth;
74
+ let parentHeight;
75
+ if (offsetParent === document.body) {
76
+ parentWidth = window.innerWidth;
77
+ parentHeight = window.innerHeight;
78
+ }
79
+ else {
80
+ parentWidth = offsetParent.offsetWidth;
81
+ parentHeight = offsetParent.offsetHeight;
82
+ }
83
+ const right = parentWidth - left - rect.width;
84
+ const bottom = parentHeight - top - rect.height;
85
+ return { top, right, bottom, left, width, height };
86
+ }
87
+ const ZTooltip = class {
88
+ constructor(hostRef) {
89
+ index.registerInstance(this, hostRef);
90
+ this.positionChange = index.createEvent(this, "positionChange", 7);
91
+ /** Tooltip position. */
92
+ this.type = index$1.TooltipPosition.AUTO;
93
+ /**
94
+ * The open state of the tooltip.
95
+ */
96
+ this.open = false;
97
+ }
98
+ validateType(newValue) {
99
+ if (newValue &&
100
+ Object
101
+ .values(index$1.TooltipPosition)
102
+ .every((position) => newValue !== position)) {
103
+ this.type = index$1.TooltipPosition.AUTO;
104
+ }
105
+ }
106
+ onPositionChange() {
107
+ this.positionChange.emit({ position: this.position });
108
+ }
109
+ disconnectedCallback() {
110
+ cancelAnimationFrame(this.animationFrameRequestId);
111
+ }
112
+ /**
113
+ * Setup tooltip behaviors on opening.
114
+ */
115
+ onOpen() {
116
+ cancelAnimationFrame(this.animationFrameRequestId);
117
+ if (this.content) {
118
+ return;
119
+ }
120
+ if (this.open) {
121
+ const setPosition = () => {
122
+ if (this.open) {
123
+ this.setPosition();
124
+ this.animationFrameRequestId = requestAnimationFrame(setPosition);
125
+ }
126
+ };
127
+ setPosition();
128
+ }
129
+ else {
130
+ const style = this.host.style;
131
+ style.removeProperty("top");
132
+ style.removeProperty("right");
133
+ style.removeProperty("bottom");
134
+ style.removeProperty("left");
135
+ }
136
+ }
137
+ /**
138
+ * Set the position of the tooltip.
139
+ */
140
+ setPosition() {
141
+ let element;
142
+ if (typeof this.bindTo === "string") {
143
+ element = this.host.ownerDocument.querySelector(this.bindTo);
144
+ }
145
+ else if (this.bindTo) {
146
+ element = this.bindTo;
147
+ }
148
+ else {
149
+ element = this.host.parentElement;
150
+ }
151
+ if (!element) {
152
+ return;
153
+ }
154
+ const scrollContainer = findScrollableParent(element);
155
+ const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
156
+ const offsetContainer = this.host.offsetParent;
157
+ const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
158
+ const boundingRect = computeOffset(element, scrollContainer);
159
+ const top = boundingRect.top - scrollContainer.scrollTop;
160
+ const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
161
+ const left = boundingRect.left - scrollContainer.scrollLeft;
162
+ const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
163
+ const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
164
+ const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
165
+ const availableTop = Math.min(top, top + scrollingBoundingRect.top);
166
+ const availableBottom = Math.min(bottom, bottom - overflowBottom);
167
+ const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
168
+ const availableRight = Math.min(right, right - overflowRight);
169
+ const availableHeight = availableTop + availableBottom + boundingRect.height;
170
+ const availableWidth = availableLeft + availableRight + boundingRect.width;
171
+ let position = this.type;
172
+ if (position === index$1.TooltipPosition.AUTO) {
173
+ /**
174
+ * The `AUTO` position tries to place the tooltip in the "safest" area,
175
+ * where there's more space available.
176
+ */
177
+ const positions = [];
178
+ if (availableTop / availableHeight > 0.9) {
179
+ positions.unshift(index$1.TooltipPosition.TOP);
180
+ }
181
+ else if (availableTop / availableHeight > 0.6) {
182
+ positions.push(index$1.TooltipPosition.TOP);
183
+ }
184
+ else if (availableTop / availableHeight < 0.1) {
185
+ positions.unshift(index$1.TooltipPosition.BOTTOM);
186
+ }
187
+ else {
188
+ positions.push(index$1.TooltipPosition.BOTTOM);
189
+ }
190
+ if (availableLeft / availableWidth > 0.6) {
191
+ positions.push(index$1.TooltipPosition.LEFT);
192
+ }
193
+ else if (availableLeft / availableWidth < 0.4) {
194
+ positions.push(index$1.TooltipPosition.RIGHT);
195
+ }
196
+ position = positions.join("_");
197
+ }
198
+ const style = this.host.style;
199
+ if (!this.content) {
200
+ style.position = "absolute";
201
+ }
202
+ const offsetTop = boundingRect.top - relativeBoundingRect.top;
203
+ const offsetRight = boundingRect.right - relativeBoundingRect.right;
204
+ const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
205
+ const offsetLeft = boundingRect.left - relativeBoundingRect.left;
206
+ if (position === index$1.TooltipPosition.TOP ||
207
+ position === index$1.TooltipPosition.TOP_RIGHT ||
208
+ position === index$1.TooltipPosition.TOP_LEFT) {
209
+ style.top = "auto";
210
+ style.bottom = `${offsetBottom + boundingRect.height}px`;
211
+ }
212
+ if (position === index$1.TooltipPosition.BOTTOM ||
213
+ position === index$1.TooltipPosition.BOTTOM_RIGHT ||
214
+ position === index$1.TooltipPosition.BOTTOM_LEFT) {
215
+ style.top = `${offsetTop + boundingRect.height}px`;
216
+ style.bottom = "auto";
217
+ }
218
+ if (position === index$1.TooltipPosition.TOP ||
219
+ position === index$1.TooltipPosition.BOTTOM) {
220
+ style.left = `${offsetLeft +
221
+ (boundingRect.width / 2) -
222
+ (this.host.clientWidth / 2)}px`;
223
+ }
224
+ if (position === index$1.TooltipPosition.TOP_RIGHT ||
225
+ position === index$1.TooltipPosition.BOTTOM_RIGHT) {
226
+ style.right = "auto";
227
+ style.left = `${offsetLeft + boundingRect.width}px`;
228
+ }
229
+ if (position === index$1.TooltipPosition.TOP_LEFT ||
230
+ position === index$1.TooltipPosition.BOTTOM_LEFT) {
231
+ style.left = "auto";
232
+ style.right = `${offsetRight + boundingRect.width}px`;
233
+ }
234
+ if (position === index$1.TooltipPosition.RIGHT ||
235
+ position === index$1.TooltipPosition.LEFT) {
236
+ style.top = `${offsetTop +
237
+ (boundingRect.height / 2) -
238
+ (this.host.clientHeight / 2)}px`;
239
+ style.bottom = "auto";
240
+ }
241
+ if (position === index$1.TooltipPosition.RIGHT) {
242
+ style.right = "auto";
243
+ style.left = `${offsetLeft + boundingRect.width}px`;
244
+ }
245
+ if (position === index$1.TooltipPosition.LEFT) {
246
+ style.left = "auto";
247
+ style.right = `${offsetRight + boundingRect.width}px`;
248
+ }
249
+ this.position = position;
250
+ }
251
+ componentWillLoad() {
252
+ // Keep backward compatibility
253
+ if (this.content) {
254
+ this.open = true;
255
+ }
256
+ this.validateType(this.type);
257
+ this.onOpen();
258
+ }
259
+ render() {
260
+ if (this.content) {
261
+ return (index.h(index.Host, { class: "legacy", position: this.type }, this.content));
262
+ }
263
+ return (index.h(index.Host, { position: this.position }, index.h("slot", null)));
264
+ }
265
+ get host() { return index.getElement(this); }
266
+ static get watchers() { return {
267
+ "type": ["validateType"],
268
+ "position": ["onPositionChange"],
269
+ "open": ["onOpen"]
270
+ }; }
271
+ };
268
272
  ZTooltip.style = stylesCss;
269
273
 
270
- export { ZTooltip as z_tooltip };
274
+ exports.z_tooltip = ZTooltip;