@zanichelli/albe-web-components 19.3.0-RC4 → 19.3.0-rc1

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 (1572) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  3. package/dist/cjs/{breakpoints-8a1e87e0.js → breakpoints-B7vFm-3T.js} +0 -2
  4. package/dist/cjs/{iconset-5d47610c.js → iconset-oiCBBbd2.js} +18 -7
  5. package/dist/cjs/index-D_S5lGcb.js +2683 -0
  6. package/dist/cjs/{index-e30d0503.js → index-wGaSHN1_.js} +0 -2
  7. package/dist/cjs/index.cjs.js +112 -224
  8. package/dist/cjs/loader.cjs.js +3 -8
  9. package/dist/cjs/{utils-4f7b4830.js → utils-C5_wGVkJ.js} +81 -73
  10. package/dist/cjs/{utils-b1859d65.js → utils-Ctc6JP2n.js} +2 -4
  11. package/dist/cjs/web-components-library.cjs.js +7 -10
  12. package/dist/cjs/z-accordion.cjs.entry.js +35 -13
  13. package/dist/cjs/z-alert.cjs.entry.js +4 -10
  14. package/dist/cjs/z-anchor-navigation.cjs.entry.js +25 -10
  15. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +53 -22
  16. package/dist/cjs/z-app-header_12.cjs.entry.js +389 -329
  17. package/dist/cjs/z-aria-alert.cjs.entry.js +4 -7
  18. package/dist/cjs/z-avatar.cjs.entry.js +9 -13
  19. package/dist/cjs/z-book-card-app.cjs.entry.js +10 -18
  20. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +10 -24
  21. package/dist/cjs/z-book-card.cjs.entry.js +11 -23
  22. package/dist/cjs/z-book-cover.cjs.entry.js +6 -11
  23. package/dist/cjs/z-breadcrumb.cjs.entry.js +27 -22
  24. package/dist/cjs/z-button-sort.cjs.entry.js +9 -14
  25. package/dist/cjs/z-card.cjs.entry.js +9 -12
  26. package/dist/cjs/z-carousel.cjs.entry.js +49 -29
  27. package/dist/cjs/z-chip.cjs.entry.js +9 -13
  28. package/dist/cjs/z-color-picker.cjs.entry.js +24 -18
  29. package/dist/cjs/z-combobox.cjs.entry.js +28 -25
  30. package/dist/cjs/z-cover-hero.cjs.entry.js +18 -11
  31. package/dist/cjs/z-date-picker.cjs.entry.js +351 -330
  32. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +18 -22
  33. package/dist/cjs/z-file-upload.cjs.entry.js +21 -18
  34. package/dist/cjs/z-file.cjs.entry.js +6 -13
  35. package/dist/cjs/z-ghost-loading.cjs.entry.js +4 -9
  36. package/dist/cjs/z-info-box.cjs.entry.js +5 -10
  37. package/dist/cjs/z-info-reveal.cjs.entry.js +20 -13
  38. package/dist/cjs/z-logo.cjs.entry.js +4 -15
  39. package/dist/cjs/z-menu-deprecated.cjs.entry.js +23 -14
  40. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +10 -13
  41. package/dist/cjs/z-menu-section.cjs.entry.js +15 -16
  42. package/dist/cjs/z-menu.cjs.entry.js +27 -17
  43. package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -14
  44. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +9 -12
  45. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +4 -9
  46. package/dist/cjs/z-myz-card-footer.cjs.entry.js +7 -15
  47. package/dist/cjs/z-myz-card-icon.cjs.entry.js +6 -10
  48. package/dist/cjs/z-myz-card-info.cjs.entry.js +8 -13
  49. package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -10
  50. package/dist/cjs/z-myz-card_4.cjs.entry.js +16 -31
  51. package/dist/cjs/z-myz-list-item.cjs.entry.js +9 -17
  52. package/dist/cjs/z-myz-list.cjs.entry.js +7 -12
  53. package/dist/cjs/z-navigation-tabs.cjs.entry.js +28 -18
  54. package/dist/cjs/z-notification.cjs.entry.js +12 -12
  55. package/dist/cjs/z-otp.cjs.entry.js +10 -14
  56. package/dist/cjs/z-pagination.cjs.entry.js +30 -20
  57. package/dist/cjs/z-panel-elem.cjs.entry.js +7 -17
  58. package/dist/cjs/z-popover.cjs.entry.js +35 -19
  59. package/dist/cjs/z-range-picker.cjs.entry.js +38 -31
  60. package/dist/cjs/z-result-card.cjs.entry.js +7 -16
  61. package/dist/cjs/z-section-title.cjs.entry.js +12 -10
  62. package/dist/cjs/z-select.cjs.entry.js +21 -25
  63. package/dist/cjs/z-skip-to-content.cjs.entry.js +8 -13
  64. package/dist/cjs/z-slideshow.cjs.entry.js +12 -16
  65. package/dist/cjs/z-stepper-item.cjs.entry.js +4 -14
  66. package/dist/cjs/z-stepper.cjs.entry.js +4 -9
  67. package/dist/cjs/z-table.cjs.entry.js +19 -18
  68. package/dist/cjs/z-tbody.cjs.entry.js +12 -7
  69. package/dist/cjs/z-td.cjs.entry.js +54 -8
  70. package/dist/cjs/z-tfoot.cjs.entry.js +16 -7
  71. package/dist/cjs/z-th.cjs.entry.js +82 -7
  72. package/dist/cjs/z-thead.cjs.entry.js +21 -7
  73. package/dist/cjs/z-toast-notification-list.cjs.entry.js +11 -12
  74. package/dist/cjs/z-toast-notification.cjs.entry.js +4034 -3997
  75. package/dist/cjs/z-toggle-button.cjs.entry.js +8 -12
  76. package/dist/cjs/z-toggle-switch.cjs.entry.js +13 -14
  77. package/dist/cjs/z-tool.cjs.entry.js +28 -29
  78. package/dist/cjs/z-toolbar.cjs.entry.js +7 -12
  79. package/dist/cjs/z-tooltip.cjs.entry.js +15 -11
  80. package/dist/cjs/z-tr.cjs.entry.js +80 -12
  81. package/dist/cjs/z-tree-list.cjs.entry.js +10 -14
  82. package/dist/cjs/z-visually-hidden.cjs.entry.js +4 -9
  83. package/dist/collection/__mocks__/fileMock.js +0 -1
  84. package/dist/collection/beans/index.js +0 -1
  85. package/dist/collection/collection-manifest.json +3 -2
  86. package/dist/collection/components/book-card/z-book-card/index.js +55 -34
  87. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -1
  88. package/dist/collection/components/book-card/z-book-card-app/index.js +23 -15
  89. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -1
  90. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -1
  91. package/dist/collection/components/css-components/z-label/index.stories.js +0 -1
  92. package/dist/collection/components/css-components/z-link/index.stories.js +0 -1
  93. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -1
  94. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  95. package/dist/collection/components/date-picker/utils.js +0 -1
  96. package/dist/collection/components/date-picker/z-date-picker/index.js +61 -35
  97. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -1
  98. package/dist/collection/components/date-picker/z-range-picker/index.js +61 -34
  99. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -1
  100. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +70 -23
  101. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -1
  102. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +57 -40
  103. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -1
  104. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +31 -12
  105. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -1
  106. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +11 -10
  107. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -1
  108. package/dist/collection/components/deprecated/z-section-title/index.js +16 -5
  109. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -1
  110. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +7 -6
  111. package/dist/collection/components/file-upload/z-file/index.js +9 -8
  112. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -1
  113. package/dist/collection/components/file-upload/z-file-upload/index.js +80 -37
  114. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -1
  115. package/dist/collection/components/index.js +0 -1
  116. package/dist/collection/components/list/z-list/index.js +23 -7
  117. package/dist/collection/components/list/z-list/index.stories.js +0 -1
  118. package/dist/collection/components/list/z-list-element/index.js +113 -38
  119. package/dist/collection/components/list/z-list-element/index.stories.js +0 -1
  120. package/dist/collection/components/list/z-list-group/index.js +50 -16
  121. package/dist/collection/components/list/z-list-group/index.stories.js +0 -1
  122. package/dist/collection/components/list/z-tree-list/index.js +16 -11
  123. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -1
  124. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
  125. package/dist/collection/components/table/cells/z-td/index.js +34 -12
  126. package/dist/collection/components/table/cells/z-th/index.js +56 -19
  127. package/dist/collection/components/table/cells/z-th/styles.css +0 -72
  128. package/dist/collection/components/table/z-table/index.js +10 -3
  129. package/dist/collection/components/table/z-table/index.stories.js +0 -1
  130. package/dist/collection/components/table/z-tbody/index.js +1 -2
  131. package/dist/collection/components/table/z-tfoot/index.js +7 -3
  132. package/dist/collection/components/table/z-thead/index.js +13 -4
  133. package/dist/collection/components/table/z-tr/index.js +17 -5
  134. package/dist/collection/components/z-accordion/index.js +63 -16
  135. package/dist/collection/components/z-accordion/index.stories.js +4 -5
  136. package/dist/collection/components/z-accordion/styles.css +2 -34
  137. package/dist/collection/components/z-anchor-navigation/index.js +33 -6
  138. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -1
  139. package/dist/collection/components/z-app-header/index.js +78 -21
  140. package/dist/collection/components/z-app-header/index.stories.js +25 -10
  141. package/dist/collection/components/z-aria-alert/index.js +7 -4
  142. package/dist/collection/components/z-aria-alert/index.stories.js +0 -1
  143. package/dist/collection/components/z-avatar/index.js +24 -13
  144. package/dist/collection/components/z-avatar/index.stories.js +0 -1
  145. package/dist/collection/components/z-book-cover/index.js +17 -10
  146. package/dist/collection/components/z-book-cover/index.stories.js +0 -1
  147. package/dist/collection/components/z-breadcrumb/index.js +40 -20
  148. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -1
  149. package/dist/collection/components/z-button/index.js +77 -35
  150. package/dist/collection/components/z-button/index.stories.js +0 -1
  151. package/dist/collection/components/z-button-sort/index.js +33 -18
  152. package/dist/collection/components/z-button-sort/index.stories.js +0 -1
  153. package/dist/collection/components/z-card/index.js +21 -11
  154. package/dist/collection/components/z-card/index.stories.js +0 -1
  155. package/dist/collection/components/z-carousel/index.js +69 -35
  156. package/dist/collection/components/z-carousel/index.stories.js +2 -3
  157. package/dist/collection/components/z-chip/index.js +24 -13
  158. package/dist/collection/components/z-chip/index.stories.js +0 -1
  159. package/dist/collection/components/z-color-picker/index.js +31 -17
  160. package/dist/collection/components/z-color-picker/index.stories.js +0 -1
  161. package/dist/collection/components/z-combobox/index.js +82 -43
  162. package/dist/collection/components/z-combobox/index.stories.js +0 -1
  163. package/dist/collection/components/z-combobox/styles.css +0 -12
  164. package/dist/collection/components/z-cover-hero/index.js +27 -8
  165. package/dist/collection/components/z-cover-hero/index.stories.js +0 -1
  166. package/dist/collection/components/z-divider/index.js +17 -7
  167. package/dist/collection/components/z-divider/index.stories.js +0 -1
  168. package/dist/collection/components/z-ghost-loading/index.js +1 -2
  169. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -1
  170. package/dist/collection/components/z-icon/index.js +28 -27
  171. package/dist/collection/components/z-icon/index.stories.js +0 -1
  172. package/dist/collection/components/z-icon/styles.css +3 -2
  173. package/dist/collection/components/z-info-box/index.js +9 -6
  174. package/dist/collection/components/z-info-box/index.stories.js +0 -1
  175. package/dist/collection/components/z-info-reveal/index.js +30 -11
  176. package/dist/collection/components/z-info-reveal/index.stories.js +0 -1
  177. package/dist/collection/components/z-input/index.js +167 -80
  178. package/dist/collection/components/z-input/index.stories.js +0 -1
  179. package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
  180. package/dist/collection/components/z-input/styles-general.css +166 -0
  181. package/dist/collection/components/z-input/styles-text.css +87 -0
  182. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  183. package/dist/collection/components/z-input-message/index.js +64 -13
  184. package/dist/collection/components/z-input-message/index.stories.js +0 -1
  185. package/dist/collection/components/z-logo/index.js +25 -22
  186. package/dist/collection/components/z-logo/index.stories.js +0 -1
  187. package/dist/collection/components/z-menu/index.js +32 -12
  188. package/dist/collection/components/z-menu/index.stories.js +0 -1
  189. package/dist/collection/components/z-menu-section/index.js +17 -12
  190. package/dist/collection/components/z-menu-section/index.stories.js +0 -1
  191. package/dist/collection/components/z-modal/index.js +36 -19
  192. package/dist/collection/components/z-modal/index.stories.js +0 -1
  193. package/dist/collection/components/z-navigation-tabs/index.js +35 -15
  194. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -1
  195. package/dist/collection/components/z-notification/index.js +54 -15
  196. package/dist/collection/components/z-notification/index.stories.js +88 -61
  197. package/dist/collection/components/z-notification/styles.css +26 -13
  198. package/dist/collection/components/z-offcanvas/index.js +42 -12
  199. package/dist/collection/components/z-offcanvas/index.stories.js +0 -1
  200. package/dist/collection/components/z-pagination/index.js +47 -23
  201. package/dist/collection/components/z-pagination/index.stories.js +0 -1
  202. package/dist/collection/components/z-panel-elem/index.js +38 -26
  203. package/dist/collection/components/z-panel-elem/index.stories.js +0 -1
  204. package/dist/collection/components/z-popover/index.js +44 -16
  205. package/dist/collection/components/z-popover/index.stories.js +0 -1
  206. package/dist/collection/components/z-result-card/index.js +34 -23
  207. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -1
  208. package/dist/collection/components/z-searchbar/index.js +203 -223
  209. package/dist/collection/components/z-searchbar/index.stories.js +12 -17
  210. package/dist/collection/components/z-searchbar/styles.css +87 -201
  211. package/dist/collection/components/z-select/index.js +87 -47
  212. package/dist/collection/components/z-select/index.stories.js +0 -1
  213. package/dist/collection/components/z-skip-to-content/index.js +13 -8
  214. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -1
  215. package/dist/collection/components/z-stepper/index.js +1 -2
  216. package/dist/collection/components/z-stepper/index.stories.js +0 -1
  217. package/dist/collection/components/z-stepper-item/index.js +21 -19
  218. package/dist/collection/components/z-stepper-item/index.stories.js +0 -1
  219. package/dist/collection/components/z-tag/index.js +11 -14
  220. package/dist/collection/components/z-tag/index.stories.js +0 -1
  221. package/dist/collection/components/z-toast-notification/index.js +90 -74
  222. package/dist/collection/components/z-toast-notification/index.stories.js +3 -2
  223. package/dist/collection/components/z-toast-notification/styles.css +124 -124
  224. package/dist/collection/components/z-toast-notification-list/index.js +12 -6
  225. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -1
  226. package/dist/collection/components/z-toggle-button/index.js +22 -12
  227. package/dist/collection/components/z-toggle-button/index.stories.js +0 -1
  228. package/dist/collection/components/z-toggle-switch/index.js +21 -9
  229. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -1
  230. package/dist/collection/components/z-tool/index.js +49 -31
  231. package/dist/collection/components/z-tool/index.stories.js +0 -1
  232. package/dist/collection/components/z-toolbar/index.js +7 -6
  233. package/dist/collection/components/z-toolbar/index.stories.js +0 -1
  234. package/dist/collection/components/z-tooltip/index.js +29 -10
  235. package/dist/collection/components/z-tooltip/index.stories.js +0 -1
  236. package/dist/collection/components/z-visually-hidden/index.js +1 -2
  237. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -1
  238. package/dist/collection/constants/breakpoints.js +0 -1
  239. package/dist/collection/constants/icons.js +0 -1
  240. package/dist/collection/constants/iconset.js +15 -4
  241. package/dist/collection/index.js +0 -1
  242. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +19 -11
  243. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +17 -16
  244. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -2
  245. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +17 -16
  246. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +25 -12
  247. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +31 -20
  248. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -2
  249. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +15 -12
  250. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +13 -7
  251. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +11 -7
  252. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
  253. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
  254. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +29 -19
  255. package/dist/collection/snowflakes/myz/z-alert/index.js +7 -8
  256. package/dist/collection/snowflakes/myz/z-otp/index.js +19 -12
  257. package/dist/collection/snowflakes/myz/z-slideshow/index.js +11 -9
  258. package/dist/collection/utils/storybook-utils.js +0 -1
  259. package/dist/collection/utils/utils.js +0 -1
  260. package/dist/components/_commonjsHelpers.js +1 -5
  261. package/dist/components/breakpoints.js +1 -11
  262. package/dist/components/iconset.js +1 -1013
  263. package/dist/components/index.d.ts +1 -0
  264. package/dist/components/index.js +1 -98
  265. package/dist/components/index10.js +1 -62
  266. package/dist/components/index11.js +1 -92
  267. package/dist/components/index12.js +1 -342
  268. package/dist/components/index13.js +1 -66
  269. package/dist/components/index14.js +1 -53
  270. package/dist/components/index15.js +1 -181
  271. package/dist/components/index16.js +1 -76
  272. package/dist/components/index17.js +1 -1040
  273. package/dist/components/index18.js +1 -65
  274. package/dist/components/index19.js +1 -33
  275. package/dist/components/index2.js +1 -407
  276. package/dist/components/index20.js +1 -45
  277. package/dist/components/index21.js +1 -62
  278. package/dist/components/index22.js +1 -66
  279. package/dist/components/index23.js +1 -179
  280. package/dist/components/index24.js +1 -549
  281. package/dist/components/index25.js +1 -409
  282. package/dist/components/index26.js +1 -49
  283. package/dist/components/index27.js +1 -55
  284. package/dist/components/index3.js +1 -36
  285. package/dist/components/index4.js +1 -45
  286. package/dist/components/index5.js +1 -82
  287. package/dist/components/index6.js +1 -56
  288. package/dist/components/index7.js +1 -40
  289. package/dist/components/index8.js +1 -63
  290. package/dist/components/index9.js +1 -33
  291. package/dist/components/utils.js +1 -246
  292. package/dist/components/utils2.js +1 -2704
  293. package/dist/components/z-accordion.js +1 -85
  294. package/dist/components/z-alert.js +1 -8
  295. package/dist/components/z-anchor-navigation.js +1 -87
  296. package/dist/components/z-app-header-deprecated.js +1 -255
  297. package/dist/components/z-app-header.js +1 -367
  298. package/dist/components/z-aria-alert.js +1 -35
  299. package/dist/components/z-avatar.js +1 -66
  300. package/dist/components/z-book-card-app.js +1 -77
  301. package/dist/components/z-book-card-deprecated.js +1 -175
  302. package/dist/components/z-book-card.js +1 -149
  303. package/dist/components/z-book-cover.js +1 -8
  304. package/dist/components/z-breadcrumb.js +1 -290
  305. package/dist/components/z-button-sort.js +1 -86
  306. package/dist/components/z-button.js +1 -8
  307. package/dist/components/z-card.js +1 -83
  308. package/dist/components/z-carousel.js +1 -234
  309. package/dist/components/z-chip.js +1 -8
  310. package/dist/components/z-color-picker.js +1 -234
  311. package/dist/components/z-combobox.js +1 -393
  312. package/dist/components/z-cover-hero.js +1 -66
  313. package/dist/components/z-date-picker.js +16 -528
  314. package/dist/components/z-divider.js +1 -8
  315. package/dist/components/z-dragdrop-area.js +1 -8
  316. package/dist/components/z-file-upload.js +1 -253
  317. package/dist/components/z-file.js +1 -89
  318. package/dist/components/z-ghost-loading.js +1 -8
  319. package/dist/components/z-icon.js +1 -8
  320. package/dist/components/z-info-box.js +1 -51
  321. package/dist/components/z-info-reveal.js +1 -8
  322. package/dist/components/z-input-message.js +1 -8
  323. package/dist/components/z-input.js +1 -8
  324. package/dist/components/z-list-element.js +1 -8
  325. package/dist/components/z-list-group.js +1 -8
  326. package/dist/components/z-list.js +1 -8
  327. package/dist/components/z-logo.js +1 -56
  328. package/dist/components/z-menu-deprecated.js +1 -144
  329. package/dist/components/z-menu-section-deprecated.js +1 -84
  330. package/dist/components/z-menu-section.js +1 -226
  331. package/dist/components/z-menu.js +1 -353
  332. package/dist/components/z-modal.js +1 -8
  333. package/dist/components/z-myz-card-alert.js +1 -101
  334. package/dist/components/z-myz-card-body.js +1 -8
  335. package/dist/components/z-myz-card-cover.js +1 -8
  336. package/dist/components/z-myz-card-dictionary.js +1 -94
  337. package/dist/components/z-myz-card-footer-sections.js +1 -36
  338. package/dist/components/z-myz-card-footer.js +1 -99
  339. package/dist/components/z-myz-card-header.js +1 -8
  340. package/dist/components/z-myz-card-icon.js +1 -49
  341. package/dist/components/z-myz-card-info.js +1 -162
  342. package/dist/components/z-myz-card-list.js +1 -58
  343. package/dist/components/z-myz-card.js +1 -8
  344. package/dist/components/z-myz-list-item.js +1 -8
  345. package/dist/components/z-myz-list.js +1 -71
  346. package/dist/components/z-navigation-tabs.js +1 -272
  347. package/dist/components/z-notification.js +1 -68
  348. package/dist/components/z-offcanvas.js +1 -8
  349. package/dist/components/z-otp.js +1 -75
  350. package/dist/components/z-pagination.js +1 -283
  351. package/dist/components/z-panel-elem.js +1 -66
  352. package/dist/components/z-popover.js +1 -8
  353. package/dist/components/z-range-picker.js +1 -413
  354. package/dist/components/z-result-card.js +1 -121
  355. package/dist/components/z-searchbar.js +1 -8
  356. package/dist/components/z-section-title.js +1 -52
  357. package/dist/components/z-select.js +1 -585
  358. package/dist/components/z-skip-to-content.js +1 -93
  359. package/dist/components/z-slideshow.js +1 -161
  360. package/dist/components/z-stepper-item.js +1 -60
  361. package/dist/components/z-stepper.js +1 -36
  362. package/dist/components/z-table.js +1 -68
  363. package/dist/components/z-tag.js +1 -8
  364. package/dist/components/z-tbody.js +1 -36
  365. package/dist/components/z-td.js +1 -89
  366. package/dist/components/z-tfoot.js +1 -39
  367. package/dist/components/z-th.js +1 -112
  368. package/dist/components/z-thead.js +1 -42
  369. package/dist/components/z-toast-notification-list.js +1 -79
  370. package/dist/components/z-toast-notification.js +2 -4230
  371. package/dist/components/z-toggle-button.js +1 -64
  372. package/dist/components/z-toggle-switch.js +1 -73
  373. package/dist/components/z-tool.js +1 -260
  374. package/dist/components/z-toolbar.js +1 -165
  375. package/dist/components/z-tooltip.js +1 -8
  376. package/dist/components/z-tr.js +1 -101
  377. package/dist/components/z-tree-list.js +1 -162
  378. package/dist/components/z-visually-hidden.js +1 -36
  379. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  380. package/dist/esm/{breakpoints-d148bfde.js → breakpoints-Q-tWjk7P.js} +0 -2
  381. package/dist/esm/{iconset-d7823b13.js → iconset-CjHS9zeM.js} +18 -7
  382. package/dist/esm/{index-106473a8.js → index-BKCj6NR2.js} +0 -2
  383. package/dist/esm/index-DPdXlnVe.js +2653 -0
  384. package/dist/esm/index.js +4 -6
  385. package/dist/esm/loader.js +3 -6
  386. package/dist/esm/{utils-8d6ca808.js → utils-DYd3kO0P.js} +3 -5
  387. package/dist/esm/{utils-93ac0e6c.js → utils-DuuLzXZj.js} +81 -73
  388. package/dist/esm/web-components-library.js +5 -7
  389. package/dist/esm/z-accordion.entry.js +35 -11
  390. package/dist/esm/z-alert.entry.js +4 -8
  391. package/dist/esm/z-anchor-navigation.entry.js +25 -8
  392. package/dist/esm/z-app-header-deprecated.entry.js +53 -20
  393. package/dist/esm/z-app-header_12.entry.js +389 -327
  394. package/dist/esm/z-aria-alert.entry.js +4 -5
  395. package/dist/esm/z-avatar.entry.js +9 -11
  396. package/dist/esm/z-book-card-app.entry.js +10 -16
  397. package/dist/esm/z-book-card-deprecated.entry.js +10 -22
  398. package/dist/esm/z-book-card.entry.js +11 -21
  399. package/dist/esm/z-book-cover.entry.js +6 -9
  400. package/dist/esm/z-breadcrumb.entry.js +27 -20
  401. package/dist/esm/z-button-sort.entry.js +9 -12
  402. package/dist/esm/z-card.entry.js +9 -10
  403. package/dist/esm/z-carousel.entry.js +50 -28
  404. package/dist/esm/z-chip.entry.js +9 -11
  405. package/dist/esm/z-color-picker.entry.js +24 -16
  406. package/dist/esm/z-combobox.entry.js +29 -24
  407. package/dist/esm/z-cover-hero.entry.js +18 -9
  408. package/dist/esm/z-date-picker.entry.js +352 -329
  409. package/dist/esm/z-dragdrop-area_2.entry.js +18 -20
  410. package/dist/esm/z-file-upload.entry.js +21 -16
  411. package/dist/esm/z-file.entry.js +6 -11
  412. package/dist/esm/z-ghost-loading.entry.js +4 -7
  413. package/dist/esm/z-info-box.entry.js +5 -8
  414. package/dist/esm/z-info-reveal.entry.js +20 -11
  415. package/dist/esm/z-logo.entry.js +4 -13
  416. package/dist/esm/z-menu-deprecated.entry.js +23 -12
  417. package/dist/esm/z-menu-section-deprecated.entry.js +10 -11
  418. package/dist/esm/z-menu-section.entry.js +15 -14
  419. package/dist/esm/z-menu.entry.js +27 -15
  420. package/dist/esm/z-myz-card-alert.entry.js +5 -12
  421. package/dist/esm/z-myz-card-dictionary.entry.js +9 -10
  422. package/dist/esm/z-myz-card-footer-sections.entry.js +4 -7
  423. package/dist/esm/z-myz-card-footer.entry.js +7 -13
  424. package/dist/esm/z-myz-card-icon.entry.js +6 -8
  425. package/dist/esm/z-myz-card-info.entry.js +8 -11
  426. package/dist/esm/z-myz-card-list.entry.js +4 -8
  427. package/dist/esm/z-myz-card_4.entry.js +16 -29
  428. package/dist/esm/z-myz-list-item.entry.js +9 -15
  429. package/dist/esm/z-myz-list.entry.js +7 -10
  430. package/dist/esm/z-navigation-tabs.entry.js +28 -16
  431. package/dist/esm/z-notification.entry.js +12 -10
  432. package/dist/esm/z-otp.entry.js +10 -12
  433. package/dist/esm/z-pagination.entry.js +30 -18
  434. package/dist/esm/z-panel-elem.entry.js +7 -15
  435. package/dist/esm/z-popover.entry.js +35 -17
  436. package/dist/esm/z-range-picker.entry.js +38 -29
  437. package/dist/esm/z-result-card.entry.js +7 -14
  438. package/dist/esm/z-section-title.entry.js +12 -8
  439. package/dist/esm/z-select.entry.js +21 -23
  440. package/dist/esm/z-skip-to-content.entry.js +8 -11
  441. package/dist/esm/z-slideshow.entry.js +12 -14
  442. package/dist/esm/z-stepper-item.entry.js +4 -12
  443. package/dist/esm/z-stepper.entry.js +4 -7
  444. package/dist/esm/z-table.entry.js +19 -16
  445. package/dist/esm/z-tbody.entry.js +14 -3
  446. package/dist/esm/z-td.entry.js +56 -4
  447. package/dist/esm/z-tfoot.entry.js +18 -3
  448. package/dist/esm/z-th.entry.js +85 -4
  449. package/dist/esm/z-thead.entry.js +23 -3
  450. package/dist/esm/z-toast-notification-list.entry.js +11 -10
  451. package/dist/esm/z-toast-notification.entry.js +4034 -3995
  452. package/dist/esm/z-toggle-button.entry.js +8 -10
  453. package/dist/esm/z-toggle-switch.entry.js +13 -12
  454. package/dist/esm/z-tool.entry.js +28 -27
  455. package/dist/esm/z-toolbar.entry.js +7 -10
  456. package/dist/esm/z-tooltip.entry.js +15 -9
  457. package/dist/esm/z-tr.entry.js +82 -8
  458. package/dist/esm/z-tree-list.entry.js +10 -12
  459. package/dist/esm/z-visually-hidden.entry.js +4 -7
  460. package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
  461. package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
  462. package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
  463. package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
  464. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
  465. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
  466. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
  467. package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
  468. package/dist/types/components/deprecated/z-section-title/index.d.ts +2 -1
  469. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
  470. package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
  471. package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
  472. package/dist/types/components/list/z-list/index.d.ts +2 -1
  473. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  474. package/dist/types/components/list/z-list-group/index.d.ts +2 -1
  475. package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
  476. package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
  477. package/dist/types/components/table/cells/z-th/index.d.ts +2 -1
  478. package/dist/types/components/table/z-table/index.d.ts +2 -1
  479. package/dist/types/components/table/z-tbody/index.d.ts +2 -1
  480. package/dist/types/components/table/z-tfoot/index.d.ts +2 -1
  481. package/dist/types/components/table/z-thead/index.d.ts +2 -1
  482. package/dist/types/components/table/z-tr/index.d.ts +2 -2
  483. package/dist/types/components/z-accordion/index.d.ts +7 -2
  484. package/dist/types/components/z-accordion/index.stories.d.ts +4 -4
  485. package/dist/types/components/z-anchor-navigation/index.d.ts +2 -1
  486. package/dist/types/components/z-app-header/index.d.ts +6 -2
  487. package/dist/types/components/z-app-header/index.stories.d.ts +7 -0
  488. package/dist/types/components/z-aria-alert/index.d.ts +2 -1
  489. package/dist/types/components/z-avatar/index.d.ts +2 -1
  490. package/dist/types/components/z-book-cover/index.d.ts +2 -1
  491. package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
  492. package/dist/types/components/z-button/index.d.ts +5 -2
  493. package/dist/types/components/z-button-sort/index.d.ts +2 -2
  494. package/dist/types/components/z-card/index.d.ts +2 -1
  495. package/dist/types/components/z-carousel/index.d.ts +5 -2
  496. package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
  497. package/dist/types/components/z-chip/index.d.ts +2 -2
  498. package/dist/types/components/z-color-picker/index.d.ts +2 -2
  499. package/dist/types/components/z-combobox/index.d.ts +2 -2
  500. package/dist/types/components/z-cover-hero/index.d.ts +2 -1
  501. package/dist/types/components/z-divider/index.d.ts +2 -1
  502. package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
  503. package/dist/types/components/z-icon/index.d.ts +4 -2
  504. package/dist/types/components/z-info-box/index.d.ts +2 -2
  505. package/dist/types/components/z-info-reveal/index.d.ts +2 -1
  506. package/dist/types/components/z-input/index.d.ts +5 -2
  507. package/dist/types/components/z-input-message/index.d.ts +6 -1
  508. package/dist/types/components/z-logo/index.d.ts +2 -1
  509. package/dist/types/components/z-menu/index.d.ts +2 -2
  510. package/dist/types/components/z-menu-section/index.d.ts +2 -2
  511. package/dist/types/components/z-modal/index.d.ts +2 -2
  512. package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
  513. package/dist/types/components/z-notification/index.d.ts +6 -2
  514. package/dist/types/components/z-notification/index.stories.d.ts +29 -13
  515. package/dist/types/components/z-offcanvas/index.d.ts +2 -2
  516. package/dist/types/components/z-pagination/index.d.ts +2 -2
  517. package/dist/types/components/z-panel-elem/index.d.ts +2 -1
  518. package/dist/types/components/z-popover/index.d.ts +2 -2
  519. package/dist/types/components/z-result-card/index.d.ts +2 -1
  520. package/dist/types/components/z-searchbar/index.d.ts +28 -30
  521. package/dist/types/components/z-searchbar/index.stories.d.ts +4 -0
  522. package/dist/types/components/z-select/index.d.ts +2 -2
  523. package/dist/types/components/z-skip-to-content/index.d.ts +2 -1
  524. package/dist/types/components/z-stepper/index.d.ts +2 -1
  525. package/dist/types/components/z-stepper-item/index.d.ts +2 -1
  526. package/dist/types/components/z-tag/index.d.ts +2 -1
  527. package/dist/types/components/z-toast-notification/index.d.ts +10 -9
  528. package/dist/types/components/z-toast-notification/index.stories.d.ts +11 -1
  529. package/dist/types/components/z-toast-notification-list/index.d.ts +2 -1
  530. package/dist/types/components/z-toggle-button/index.d.ts +2 -2
  531. package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
  532. package/dist/types/components/z-tool/index.d.ts +2 -2
  533. package/dist/types/components/z-toolbar/index.d.ts +2 -1
  534. package/dist/types/components/z-tooltip/index.d.ts +2 -2
  535. package/dist/types/components/z-visually-hidden/index.d.ts +2 -1
  536. package/dist/types/components.d.ts +1383 -180
  537. package/dist/types/constants/iconset.d.ts +30 -6
  538. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -1
  539. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
  540. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +2 -1
  541. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -1
  542. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  543. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +2 -1
  544. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +2 -1
  545. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +2 -1
  546. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +2 -1
  547. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
  548. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +2 -1
  549. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -1
  550. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
  551. package/dist/types/snowflakes/myz/z-alert/index.d.ts +2 -1
  552. package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
  553. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +2 -1
  554. package/dist/types/stencil-public-runtime.d.ts +194 -8
  555. package/dist/web-components-library/index.esm.js +1 -2
  556. package/dist/web-components-library/p-087956fa.entry.js +1 -0
  557. package/dist/web-components-library/p-10e5e16e.entry.js +1 -0
  558. package/dist/web-components-library/p-13e7f751.entry.js +1 -0
  559. package/dist/web-components-library/p-14b804f9.entry.js +1 -0
  560. package/dist/web-components-library/p-1580db58.entry.js +1 -0
  561. package/dist/web-components-library/p-15825811.entry.js +1 -0
  562. package/dist/web-components-library/p-1993b0ad.entry.js +1 -0
  563. package/dist/web-components-library/p-1a95491d.entry.js +1 -0
  564. package/dist/web-components-library/p-1d023220.entry.js +1 -0
  565. package/dist/web-components-library/p-21c85e04.entry.js +1 -0
  566. package/dist/web-components-library/p-23b46642.entry.js +1 -0
  567. package/dist/web-components-library/p-299f0f85.entry.js +1 -0
  568. package/dist/web-components-library/p-29dde955.entry.js +1 -0
  569. package/dist/web-components-library/p-2c036e17.entry.js +1 -0
  570. package/dist/web-components-library/p-2d4c01c3.entry.js +1 -0
  571. package/dist/web-components-library/p-2dabe353.entry.js +1 -0
  572. package/dist/web-components-library/p-2df6d169.entry.js +1 -0
  573. package/dist/web-components-library/p-2ef82e17.entry.js +1 -0
  574. package/dist/web-components-library/p-324933f6.entry.js +1 -0
  575. package/dist/web-components-library/p-37e84b71.entry.js +1 -0
  576. package/dist/web-components-library/p-3c53e451.entry.js +1 -0
  577. package/dist/web-components-library/p-3ea03d34.entry.js +1 -0
  578. package/dist/web-components-library/p-41584e90.entry.js +1 -0
  579. package/dist/web-components-library/p-50e10a10.entry.js +1 -0
  580. package/dist/web-components-library/p-52899754.entry.js +1 -0
  581. package/dist/web-components-library/p-53670be4.entry.js +1 -0
  582. package/dist/web-components-library/p-583b8152.entry.js +1 -0
  583. package/dist/web-components-library/p-5a05dc1e.entry.js +1 -0
  584. package/dist/web-components-library/p-5d20fc3d.entry.js +1 -0
  585. package/{www/build/p-eb9161bc.entry.js → dist/web-components-library/p-622466f9.entry.js} +1 -2
  586. package/dist/web-components-library/p-658f022d.entry.js +1 -0
  587. package/dist/web-components-library/p-6bd35edf.entry.js +1 -0
  588. package/dist/web-components-library/p-7226f07a.entry.js +1 -0
  589. package/dist/web-components-library/p-7371a543.entry.js +2 -0
  590. package/dist/web-components-library/p-77bf39a4.entry.js +1 -0
  591. package/dist/web-components-library/p-788eaac7.entry.js +1 -0
  592. package/dist/web-components-library/p-7bf7539a.entry.js +1 -0
  593. package/dist/web-components-library/p-81eb43fd.entry.js +1 -0
  594. package/dist/web-components-library/p-8261c869.entry.js +1 -0
  595. package/dist/web-components-library/p-83da1031.entry.js +1 -0
  596. package/dist/web-components-library/p-85cac60d.entry.js +1 -0
  597. package/dist/web-components-library/p-88a3ba7c.entry.js +1 -0
  598. package/dist/web-components-library/p-8a8df4f4.entry.js +1 -0
  599. package/dist/web-components-library/p-8b026993.entry.js +1 -0
  600. package/dist/web-components-library/p-8d7e2e16.entry.js +1 -0
  601. package/dist/web-components-library/p-8de064a4.entry.js +1 -0
  602. package/dist/web-components-library/p-8f4a04aa.entry.js +1 -0
  603. package/dist/web-components-library/p-B85MJLTf.js +1 -0
  604. package/dist/web-components-library/p-B8WJfd4z.js +1 -0
  605. package/dist/web-components-library/p-BKCj6NR2.js +1 -0
  606. package/dist/web-components-library/p-CPsEG702.js +1 -0
  607. package/dist/web-components-library/p-CjHS9zeM.js +1 -0
  608. package/dist/web-components-library/p-DPdXlnVe.js +2 -0
  609. package/dist/web-components-library/p-Q-tWjk7P.js +1 -0
  610. package/dist/web-components-library/p-a4f673f8.entry.js +1 -0
  611. package/dist/web-components-library/p-aa4fc3d3.entry.js +1 -0
  612. package/dist/web-components-library/p-aa72d766.entry.js +1 -0
  613. package/dist/web-components-library/p-ad2cd7fc.entry.js +1 -0
  614. package/dist/web-components-library/p-b6223d7e.entry.js +1 -0
  615. package/dist/web-components-library/p-b851f20b.entry.js +1 -0
  616. package/dist/web-components-library/p-b9343431.entry.js +1 -0
  617. package/dist/web-components-library/p-be354b22.entry.js +1 -0
  618. package/dist/web-components-library/p-c42ddd93.entry.js +1 -0
  619. package/dist/web-components-library/p-c4e7bd16.entry.js +1 -0
  620. package/dist/web-components-library/p-c944a943.entry.js +1 -0
  621. package/dist/web-components-library/p-cd33f4b1.entry.js +1 -0
  622. package/dist/web-components-library/p-cdd88182.entry.js +16 -0
  623. package/dist/web-components-library/p-d3053434.entry.js +1 -0
  624. package/dist/web-components-library/p-d63665c1.entry.js +1 -0
  625. package/dist/web-components-library/p-dabccb20.entry.js +1 -0
  626. package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
  627. package/dist/web-components-library/p-dfd43710.entry.js +1 -0
  628. package/dist/web-components-library/p-e1d0a6e3.entry.js +1 -0
  629. package/dist/web-components-library/p-e48497f0.entry.js +1 -0
  630. package/dist/web-components-library/p-ec4940ce.entry.js +1 -0
  631. package/dist/web-components-library/p-eddc2d19.entry.js +1 -0
  632. package/dist/web-components-library/p-ef5018bb.entry.js +1 -0
  633. package/dist/web-components-library/p-f7e46ef2.entry.js +1 -0
  634. package/dist/web-components-library/web-components-library.css +24 -26
  635. package/dist/web-components-library/web-components-library.esm.js +1 -2
  636. package/package.json +14 -11
  637. package/react/components.js +0 -1
  638. package/react/index.js +0 -1
  639. package/react/react-component-lib/createComponent.js +0 -1
  640. package/react/react-component-lib/createOverlayComponent.js +0 -1
  641. package/react/react-component-lib/index.js +0 -1
  642. package/react/react-component-lib/interfaces.js +0 -1
  643. package/react/react-component-lib/utils/attachProps.js +0 -1
  644. package/react/react-component-lib/utils/case.js +0 -1
  645. package/react/react-component-lib/utils/dev.js +0 -1
  646. package/react/react-component-lib/utils/index.js +0 -1
  647. package/www/build/index.esm.js +1 -2
  648. package/www/build/p-087956fa.entry.js +1 -0
  649. package/www/build/p-10e5e16e.entry.js +1 -0
  650. package/www/build/p-13e7f751.entry.js +1 -0
  651. package/www/build/p-14b804f9.entry.js +1 -0
  652. package/www/build/p-1580db58.entry.js +1 -0
  653. package/www/build/p-15825811.entry.js +1 -0
  654. package/www/build/p-1993b0ad.entry.js +1 -0
  655. package/www/build/p-1a95491d.entry.js +1 -0
  656. package/www/build/p-1d023220.entry.js +1 -0
  657. package/www/build/p-21c85e04.entry.js +1 -0
  658. package/www/build/p-23b46642.entry.js +1 -0
  659. package/www/build/p-299f0f85.entry.js +1 -0
  660. package/www/build/p-29dde955.entry.js +1 -0
  661. package/www/build/p-2c036e17.entry.js +1 -0
  662. package/www/build/p-2d4c01c3.entry.js +1 -0
  663. package/www/build/p-2dabe353.entry.js +1 -0
  664. package/www/build/p-2df6d169.entry.js +1 -0
  665. package/www/build/p-2ef82e17.entry.js +1 -0
  666. package/www/build/p-324933f6.entry.js +1 -0
  667. package/www/build/p-37e84b71.entry.js +1 -0
  668. package/www/build/p-3c53e451.entry.js +1 -0
  669. package/www/build/p-3ea03d34.entry.js +1 -0
  670. package/www/build/p-41584e90.entry.js +1 -0
  671. package/www/build/p-50e10a10.entry.js +1 -0
  672. package/www/build/p-52899754.entry.js +1 -0
  673. package/www/build/p-53670be4.entry.js +1 -0
  674. package/www/build/p-583b8152.entry.js +1 -0
  675. package/www/build/p-5a05dc1e.entry.js +1 -0
  676. package/www/build/p-5d20fc3d.entry.js +1 -0
  677. package/{dist/web-components-library/p-eb9161bc.entry.js → www/build/p-622466f9.entry.js} +1 -2
  678. package/www/build/p-658f022d.entry.js +1 -0
  679. package/www/build/p-6bd35edf.entry.js +1 -0
  680. package/www/build/p-7226f07a.entry.js +1 -0
  681. package/www/build/p-7371a543.entry.js +2 -0
  682. package/www/build/p-77bf39a4.entry.js +1 -0
  683. package/www/build/p-788eaac7.entry.js +1 -0
  684. package/www/build/p-7bf7539a.entry.js +1 -0
  685. package/www/build/p-81eb43fd.entry.js +1 -0
  686. package/www/build/p-8261c869.entry.js +1 -0
  687. package/www/build/p-83da1031.entry.js +1 -0
  688. package/www/build/p-85cac60d.entry.js +1 -0
  689. package/www/build/p-88a3ba7c.entry.js +1 -0
  690. package/www/build/p-8a8df4f4.entry.js +1 -0
  691. package/www/build/p-8b026993.entry.js +1 -0
  692. package/www/build/p-8d7e2e16.entry.js +1 -0
  693. package/www/build/p-8de064a4.entry.js +1 -0
  694. package/www/build/p-8f4a04aa.entry.js +1 -0
  695. package/www/build/p-B85MJLTf.js +1 -0
  696. package/www/build/p-B8WJfd4z.js +1 -0
  697. package/www/build/p-BKCj6NR2.js +1 -0
  698. package/www/build/p-CPsEG702.js +1 -0
  699. package/www/build/p-CjHS9zeM.js +1 -0
  700. package/www/build/p-DPdXlnVe.js +2 -0
  701. package/www/build/p-Q-tWjk7P.js +1 -0
  702. package/www/build/p-a4f673f8.entry.js +1 -0
  703. package/www/build/p-aa4fc3d3.entry.js +1 -0
  704. package/www/build/p-aa72d766.entry.js +1 -0
  705. package/www/build/p-ad2cd7fc.entry.js +1 -0
  706. package/www/build/p-b6223d7e.entry.js +1 -0
  707. package/www/build/p-b851f20b.entry.js +1 -0
  708. package/www/build/p-b9343431.entry.js +1 -0
  709. package/www/build/p-be354b22.entry.js +1 -0
  710. package/www/build/p-c42ddd93.entry.js +1 -0
  711. package/www/build/p-c4e7bd16.entry.js +1 -0
  712. package/www/build/p-c5c5a64f.js +1 -0
  713. package/www/build/{p-b5b5dae5.css → p-c60c851a.css} +24 -26
  714. package/www/build/p-c944a943.entry.js +1 -0
  715. package/www/build/p-cd33f4b1.entry.js +1 -0
  716. package/www/build/p-cdd88182.entry.js +16 -0
  717. package/www/build/p-d3053434.entry.js +1 -0
  718. package/www/build/p-d63665c1.entry.js +1 -0
  719. package/www/build/p-dabccb20.entry.js +1 -0
  720. package/www/build/p-dc5ab2cc.entry.js +1 -0
  721. package/www/build/p-dfd43710.entry.js +1 -0
  722. package/www/build/p-e1d0a6e3.entry.js +1 -0
  723. package/www/build/p-e48497f0.entry.js +1 -0
  724. package/www/build/p-ec4940ce.entry.js +1 -0
  725. package/www/build/p-eddc2d19.entry.js +1 -0
  726. package/www/build/p-ef5018bb.entry.js +1 -0
  727. package/www/build/p-f7e46ef2.entry.js +1 -0
  728. package/www/build/web-components-library.css +24 -26
  729. package/www/build/web-components-library.esm.js +1 -2
  730. package/www/index.html +1 -1
  731. package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
  732. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
  733. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  734. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  735. package/dist/cjs/breakpoints-8a1e87e0.js.map +0 -1
  736. package/dist/cjs/iconset-5d47610c.js.map +0 -1
  737. package/dist/cjs/index-1ee051ca.js +0 -23
  738. package/dist/cjs/index-1ee051ca.js.map +0 -1
  739. package/dist/cjs/index-43dfc8b2.js +0 -47
  740. package/dist/cjs/index-43dfc8b2.js.map +0 -1
  741. package/dist/cjs/index-44e3cf31.js +0 -73
  742. package/dist/cjs/index-44e3cf31.js.map +0 -1
  743. package/dist/cjs/index-5eb95b44.js +0 -21
  744. package/dist/cjs/index-5eb95b44.js.map +0 -1
  745. package/dist/cjs/index-8770e71a.js +0 -20
  746. package/dist/cjs/index-8770e71a.js.map +0 -1
  747. package/dist/cjs/index-96af6326.js +0 -2324
  748. package/dist/cjs/index-96af6326.js.map +0 -1
  749. package/dist/cjs/index-d214a119.js +0 -67
  750. package/dist/cjs/index-d214a119.js.map +0 -1
  751. package/dist/cjs/index-e30d0503.js.map +0 -1
  752. package/dist/cjs/index.cjs.js.map +0 -1
  753. package/dist/cjs/loader.cjs.js.map +0 -1
  754. package/dist/cjs/utils-4f7b4830.js.map +0 -1
  755. package/dist/cjs/utils-b1859d65.js.map +0 -1
  756. package/dist/cjs/web-components-library.cjs.js.map +0 -1
  757. package/dist/cjs/z-accordion.cjs.entry.js.map +0 -1
  758. package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
  759. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +0 -1
  760. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
  761. package/dist/cjs/z-app-header_12.cjs.entry.js.map +0 -1
  762. package/dist/cjs/z-aria-alert.cjs.entry.js.map +0 -1
  763. package/dist/cjs/z-avatar.cjs.entry.js.map +0 -1
  764. package/dist/cjs/z-book-card-app.cjs.entry.js.map +0 -1
  765. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
  766. package/dist/cjs/z-book-card.cjs.entry.js.map +0 -1
  767. package/dist/cjs/z-book-cover.cjs.entry.js.map +0 -1
  768. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +0 -1
  769. package/dist/cjs/z-button-sort.cjs.entry.js.map +0 -1
  770. package/dist/cjs/z-card.cjs.entry.js.map +0 -1
  771. package/dist/cjs/z-carousel.cjs.entry.js.map +0 -1
  772. package/dist/cjs/z-chip.cjs.entry.js.map +0 -1
  773. package/dist/cjs/z-color-picker.cjs.entry.js.map +0 -1
  774. package/dist/cjs/z-combobox.cjs.entry.js.map +0 -1
  775. package/dist/cjs/z-cover-hero.cjs.entry.js.map +0 -1
  776. package/dist/cjs/z-date-picker.cjs.entry.js.map +0 -1
  777. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +0 -1
  778. package/dist/cjs/z-file-upload.cjs.entry.js.map +0 -1
  779. package/dist/cjs/z-file.cjs.entry.js.map +0 -1
  780. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +0 -1
  781. package/dist/cjs/z-info-box.cjs.entry.js.map +0 -1
  782. package/dist/cjs/z-info-reveal.cjs.entry.js.map +0 -1
  783. package/dist/cjs/z-logo.cjs.entry.js.map +0 -1
  784. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
  785. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
  786. package/dist/cjs/z-menu-section.cjs.entry.js.map +0 -1
  787. package/dist/cjs/z-menu.cjs.entry.js.map +0 -1
  788. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
  789. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
  790. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
  791. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
  792. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
  793. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
  794. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
  795. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
  796. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
  797. package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
  798. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +0 -1
  799. package/dist/cjs/z-notification.cjs.entry.js.map +0 -1
  800. package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
  801. package/dist/cjs/z-pagination.cjs.entry.js.map +0 -1
  802. package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
  803. package/dist/cjs/z-popover.cjs.entry.js.map +0 -1
  804. package/dist/cjs/z-range-picker.cjs.entry.js.map +0 -1
  805. package/dist/cjs/z-result-card.cjs.entry.js.map +0 -1
  806. package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
  807. package/dist/cjs/z-select.cjs.entry.js.map +0 -1
  808. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +0 -1
  809. package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
  810. package/dist/cjs/z-stepper-item.cjs.entry.js.map +0 -1
  811. package/dist/cjs/z-stepper.cjs.entry.js.map +0 -1
  812. package/dist/cjs/z-table.cjs.entry.js.map +0 -1
  813. package/dist/cjs/z-tbody.cjs.entry.js.map +0 -1
  814. package/dist/cjs/z-td.cjs.entry.js.map +0 -1
  815. package/dist/cjs/z-tfoot.cjs.entry.js.map +0 -1
  816. package/dist/cjs/z-th.cjs.entry.js.map +0 -1
  817. package/dist/cjs/z-thead.cjs.entry.js.map +0 -1
  818. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +0 -1
  819. package/dist/cjs/z-toast-notification.cjs.entry.js.map +0 -1
  820. package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
  821. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +0 -1
  822. package/dist/cjs/z-tool.cjs.entry.js.map +0 -1
  823. package/dist/cjs/z-toolbar.cjs.entry.js.map +0 -1
  824. package/dist/cjs/z-tooltip.cjs.entry.js.map +0 -1
  825. package/dist/cjs/z-tr.cjs.entry.js.map +0 -1
  826. package/dist/cjs/z-tree-list.cjs.entry.js.map +0 -1
  827. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +0 -1
  828. package/dist/collection/__mocks__/fileMock.js.map +0 -1
  829. package/dist/collection/beans/index.js.map +0 -1
  830. package/dist/collection/components/book-card/z-book-card/index.js.map +0 -1
  831. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +0 -1
  832. package/dist/collection/components/book-card/z-book-card-app/index.js.map +0 -1
  833. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +0 -1
  834. package/dist/collection/components/css-components/z-fab/index.stories.js.map +0 -1
  835. package/dist/collection/components/css-components/z-label/index.stories.js.map +0 -1
  836. package/dist/collection/components/css-components/z-link/index.stories.js.map +0 -1
  837. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +0 -1
  838. package/dist/collection/components/date-picker/utils.js.map +0 -1
  839. package/dist/collection/components/date-picker/z-date-picker/index.js.map +0 -1
  840. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +0 -1
  841. package/dist/collection/components/date-picker/z-range-picker/index.js.map +0 -1
  842. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +0 -1
  843. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
  844. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +0 -1
  845. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
  846. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +0 -1
  847. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
  848. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +0 -1
  849. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
  850. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +0 -1
  851. package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
  852. package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +0 -1
  853. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +0 -1
  854. package/dist/collection/components/file-upload/z-file/index.js.map +0 -1
  855. package/dist/collection/components/file-upload/z-file/index.stories.js.map +0 -1
  856. package/dist/collection/components/file-upload/z-file-upload/index.js.map +0 -1
  857. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +0 -1
  858. package/dist/collection/components/index.js.map +0 -1
  859. package/dist/collection/components/list/z-list/index.js.map +0 -1
  860. package/dist/collection/components/list/z-list/index.stories.js.map +0 -1
  861. package/dist/collection/components/list/z-list-element/index.js.map +0 -1
  862. package/dist/collection/components/list/z-list-element/index.stories.js.map +0 -1
  863. package/dist/collection/components/list/z-list-group/index.js.map +0 -1
  864. package/dist/collection/components/list/z-list-group/index.stories.js.map +0 -1
  865. package/dist/collection/components/list/z-tree-list/index.js.map +0 -1
  866. package/dist/collection/components/list/z-tree-list/index.stories.js.map +0 -1
  867. package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
  868. package/dist/collection/components/table/cells/z-th/index.js.map +0 -1
  869. package/dist/collection/components/table/z-table/index.js.map +0 -1
  870. package/dist/collection/components/table/z-table/index.stories.js.map +0 -1
  871. package/dist/collection/components/table/z-tbody/index.js.map +0 -1
  872. package/dist/collection/components/table/z-tfoot/index.js.map +0 -1
  873. package/dist/collection/components/table/z-thead/index.js.map +0 -1
  874. package/dist/collection/components/table/z-tr/index.js.map +0 -1
  875. package/dist/collection/components/z-accordion/index.js.map +0 -1
  876. package/dist/collection/components/z-accordion/index.stories.js.map +0 -1
  877. package/dist/collection/components/z-anchor-navigation/index.js.map +0 -1
  878. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +0 -1
  879. package/dist/collection/components/z-app-header/index.js.map +0 -1
  880. package/dist/collection/components/z-app-header/index.stories.js.map +0 -1
  881. package/dist/collection/components/z-aria-alert/index.js.map +0 -1
  882. package/dist/collection/components/z-aria-alert/index.stories.js.map +0 -1
  883. package/dist/collection/components/z-avatar/index.js.map +0 -1
  884. package/dist/collection/components/z-avatar/index.stories.js.map +0 -1
  885. package/dist/collection/components/z-book-cover/index.js.map +0 -1
  886. package/dist/collection/components/z-book-cover/index.stories.js.map +0 -1
  887. package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
  888. package/dist/collection/components/z-breadcrumb/index.stories.js.map +0 -1
  889. package/dist/collection/components/z-button/index.js.map +0 -1
  890. package/dist/collection/components/z-button/index.stories.js.map +0 -1
  891. package/dist/collection/components/z-button-sort/index.js.map +0 -1
  892. package/dist/collection/components/z-button-sort/index.stories.js.map +0 -1
  893. package/dist/collection/components/z-card/index.js.map +0 -1
  894. package/dist/collection/components/z-card/index.stories.js.map +0 -1
  895. package/dist/collection/components/z-carousel/index.js.map +0 -1
  896. package/dist/collection/components/z-carousel/index.stories.js.map +0 -1
  897. package/dist/collection/components/z-chip/index.js.map +0 -1
  898. package/dist/collection/components/z-chip/index.stories.js.map +0 -1
  899. package/dist/collection/components/z-color-picker/index.js.map +0 -1
  900. package/dist/collection/components/z-color-picker/index.stories.js.map +0 -1
  901. package/dist/collection/components/z-combobox/index.js.map +0 -1
  902. package/dist/collection/components/z-combobox/index.stories.js.map +0 -1
  903. package/dist/collection/components/z-cover-hero/index.js.map +0 -1
  904. package/dist/collection/components/z-cover-hero/index.stories.js.map +0 -1
  905. package/dist/collection/components/z-divider/index.js.map +0 -1
  906. package/dist/collection/components/z-divider/index.stories.js.map +0 -1
  907. package/dist/collection/components/z-ghost-loading/index.js.map +0 -1
  908. package/dist/collection/components/z-ghost-loading/index.stories.js.map +0 -1
  909. package/dist/collection/components/z-icon/index.js.map +0 -1
  910. package/dist/collection/components/z-icon/index.stories.js.map +0 -1
  911. package/dist/collection/components/z-info-box/index.js.map +0 -1
  912. package/dist/collection/components/z-info-box/index.stories.js.map +0 -1
  913. package/dist/collection/components/z-info-reveal/index.js.map +0 -1
  914. package/dist/collection/components/z-info-reveal/index.stories.js.map +0 -1
  915. package/dist/collection/components/z-input/index.js.map +0 -1
  916. package/dist/collection/components/z-input/index.stories.js.map +0 -1
  917. package/dist/collection/components/z-input/styles.css +0 -404
  918. package/dist/collection/components/z-input-message/index.js.map +0 -1
  919. package/dist/collection/components/z-input-message/index.stories.js.map +0 -1
  920. package/dist/collection/components/z-logo/index.js.map +0 -1
  921. package/dist/collection/components/z-logo/index.stories.js.map +0 -1
  922. package/dist/collection/components/z-menu/index.js.map +0 -1
  923. package/dist/collection/components/z-menu/index.stories.js.map +0 -1
  924. package/dist/collection/components/z-menu-section/index.js.map +0 -1
  925. package/dist/collection/components/z-menu-section/index.stories.js.map +0 -1
  926. package/dist/collection/components/z-modal/index.js.map +0 -1
  927. package/dist/collection/components/z-modal/index.stories.js.map +0 -1
  928. package/dist/collection/components/z-navigation-tabs/index.js.map +0 -1
  929. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +0 -1
  930. package/dist/collection/components/z-notification/index.js.map +0 -1
  931. package/dist/collection/components/z-notification/index.stories.js.map +0 -1
  932. package/dist/collection/components/z-offcanvas/index.js.map +0 -1
  933. package/dist/collection/components/z-offcanvas/index.stories.js.map +0 -1
  934. package/dist/collection/components/z-pagination/index.js.map +0 -1
  935. package/dist/collection/components/z-pagination/index.stories.js.map +0 -1
  936. package/dist/collection/components/z-panel-elem/index.js.map +0 -1
  937. package/dist/collection/components/z-panel-elem/index.stories.js.map +0 -1
  938. package/dist/collection/components/z-popover/index.js.map +0 -1
  939. package/dist/collection/components/z-popover/index.stories.js.map +0 -1
  940. package/dist/collection/components/z-result-card/index.js.map +0 -1
  941. package/dist/collection/components/z-result-card/z-result-card.stories.js.map +0 -1
  942. package/dist/collection/components/z-searchbar/index.js.map +0 -1
  943. package/dist/collection/components/z-searchbar/index.stories.js.map +0 -1
  944. package/dist/collection/components/z-select/index.js.map +0 -1
  945. package/dist/collection/components/z-select/index.stories.js.map +0 -1
  946. package/dist/collection/components/z-skip-to-content/index.js.map +0 -1
  947. package/dist/collection/components/z-skip-to-content/index.stories.js.map +0 -1
  948. package/dist/collection/components/z-stepper/index.js.map +0 -1
  949. package/dist/collection/components/z-stepper/index.stories.js.map +0 -1
  950. package/dist/collection/components/z-stepper-item/index.js.map +0 -1
  951. package/dist/collection/components/z-stepper-item/index.stories.js.map +0 -1
  952. package/dist/collection/components/z-tag/index.js.map +0 -1
  953. package/dist/collection/components/z-tag/index.stories.js.map +0 -1
  954. package/dist/collection/components/z-toast-notification/index.js.map +0 -1
  955. package/dist/collection/components/z-toast-notification/index.stories.js.map +0 -1
  956. package/dist/collection/components/z-toast-notification-list/index.js.map +0 -1
  957. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +0 -1
  958. package/dist/collection/components/z-toggle-button/index.js.map +0 -1
  959. package/dist/collection/components/z-toggle-button/index.stories.js.map +0 -1
  960. package/dist/collection/components/z-toggle-switch/index.js.map +0 -1
  961. package/dist/collection/components/z-toggle-switch/index.stories.js.map +0 -1
  962. package/dist/collection/components/z-tool/index.js.map +0 -1
  963. package/dist/collection/components/z-tool/index.stories.js.map +0 -1
  964. package/dist/collection/components/z-toolbar/index.js.map +0 -1
  965. package/dist/collection/components/z-toolbar/index.stories.js.map +0 -1
  966. package/dist/collection/components/z-tooltip/index.js.map +0 -1
  967. package/dist/collection/components/z-tooltip/index.stories.js.map +0 -1
  968. package/dist/collection/components/z-visually-hidden/index.js.map +0 -1
  969. package/dist/collection/components/z-visually-hidden/index.stories.js.map +0 -1
  970. package/dist/collection/constants/breakpoints.js.map +0 -1
  971. package/dist/collection/constants/icons.js.map +0 -1
  972. package/dist/collection/constants/iconset.js.map +0 -1
  973. package/dist/collection/index.js.map +0 -1
  974. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
  975. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
  976. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
  977. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
  978. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
  979. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
  980. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
  981. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
  982. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
  983. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
  984. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
  985. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
  986. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
  987. package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
  988. package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
  989. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
  990. package/dist/collection/utils/storybook-utils.js.map +0 -1
  991. package/dist/collection/utils/utils.js.map +0 -1
  992. package/dist/components/_commonjsHelpers.js.map +0 -1
  993. package/dist/components/breakpoints.js.map +0 -1
  994. package/dist/components/iconset.js.map +0 -1
  995. package/dist/components/index.js.map +0 -1
  996. package/dist/components/index10.js.map +0 -1
  997. package/dist/components/index11.js.map +0 -1
  998. package/dist/components/index12.js.map +0 -1
  999. package/dist/components/index13.js.map +0 -1
  1000. package/dist/components/index14.js.map +0 -1
  1001. package/dist/components/index15.js.map +0 -1
  1002. package/dist/components/index16.js.map +0 -1
  1003. package/dist/components/index17.js.map +0 -1
  1004. package/dist/components/index18.js.map +0 -1
  1005. package/dist/components/index19.js.map +0 -1
  1006. package/dist/components/index2.js.map +0 -1
  1007. package/dist/components/index20.js.map +0 -1
  1008. package/dist/components/index21.js.map +0 -1
  1009. package/dist/components/index22.js.map +0 -1
  1010. package/dist/components/index23.js.map +0 -1
  1011. package/dist/components/index24.js.map +0 -1
  1012. package/dist/components/index25.js.map +0 -1
  1013. package/dist/components/index26.js.map +0 -1
  1014. package/dist/components/index27.js.map +0 -1
  1015. package/dist/components/index3.js.map +0 -1
  1016. package/dist/components/index4.js.map +0 -1
  1017. package/dist/components/index5.js.map +0 -1
  1018. package/dist/components/index6.js.map +0 -1
  1019. package/dist/components/index7.js.map +0 -1
  1020. package/dist/components/index8.js.map +0 -1
  1021. package/dist/components/index9.js.map +0 -1
  1022. package/dist/components/utils.js.map +0 -1
  1023. package/dist/components/utils2.js.map +0 -1
  1024. package/dist/components/z-accordion.js.map +0 -1
  1025. package/dist/components/z-alert.js.map +0 -1
  1026. package/dist/components/z-anchor-navigation.js.map +0 -1
  1027. package/dist/components/z-app-header-deprecated.js.map +0 -1
  1028. package/dist/components/z-app-header.js.map +0 -1
  1029. package/dist/components/z-aria-alert.js.map +0 -1
  1030. package/dist/components/z-avatar.js.map +0 -1
  1031. package/dist/components/z-book-card-app.js.map +0 -1
  1032. package/dist/components/z-book-card-deprecated.js.map +0 -1
  1033. package/dist/components/z-book-card.js.map +0 -1
  1034. package/dist/components/z-book-cover.js.map +0 -1
  1035. package/dist/components/z-breadcrumb.js.map +0 -1
  1036. package/dist/components/z-button-sort.js.map +0 -1
  1037. package/dist/components/z-button.js.map +0 -1
  1038. package/dist/components/z-card.js.map +0 -1
  1039. package/dist/components/z-carousel.js.map +0 -1
  1040. package/dist/components/z-chip.js.map +0 -1
  1041. package/dist/components/z-color-picker.js.map +0 -1
  1042. package/dist/components/z-combobox.js.map +0 -1
  1043. package/dist/components/z-cover-hero.js.map +0 -1
  1044. package/dist/components/z-date-picker.js.map +0 -1
  1045. package/dist/components/z-divider.js.map +0 -1
  1046. package/dist/components/z-dragdrop-area.js.map +0 -1
  1047. package/dist/components/z-file-upload.js.map +0 -1
  1048. package/dist/components/z-file.js.map +0 -1
  1049. package/dist/components/z-ghost-loading.js.map +0 -1
  1050. package/dist/components/z-icon.js.map +0 -1
  1051. package/dist/components/z-info-box.js.map +0 -1
  1052. package/dist/components/z-info-reveal.js.map +0 -1
  1053. package/dist/components/z-input-message.js.map +0 -1
  1054. package/dist/components/z-input.js.map +0 -1
  1055. package/dist/components/z-list-element.js.map +0 -1
  1056. package/dist/components/z-list-group.js.map +0 -1
  1057. package/dist/components/z-list.js.map +0 -1
  1058. package/dist/components/z-logo.js.map +0 -1
  1059. package/dist/components/z-menu-deprecated.js.map +0 -1
  1060. package/dist/components/z-menu-section-deprecated.js.map +0 -1
  1061. package/dist/components/z-menu-section.js.map +0 -1
  1062. package/dist/components/z-menu.js.map +0 -1
  1063. package/dist/components/z-modal.js.map +0 -1
  1064. package/dist/components/z-myz-card-alert.js.map +0 -1
  1065. package/dist/components/z-myz-card-body.js.map +0 -1
  1066. package/dist/components/z-myz-card-cover.js.map +0 -1
  1067. package/dist/components/z-myz-card-dictionary.js.map +0 -1
  1068. package/dist/components/z-myz-card-footer-sections.js.map +0 -1
  1069. package/dist/components/z-myz-card-footer.js.map +0 -1
  1070. package/dist/components/z-myz-card-header.js.map +0 -1
  1071. package/dist/components/z-myz-card-icon.js.map +0 -1
  1072. package/dist/components/z-myz-card-info.js.map +0 -1
  1073. package/dist/components/z-myz-card-list.js.map +0 -1
  1074. package/dist/components/z-myz-card.js.map +0 -1
  1075. package/dist/components/z-myz-list-item.js.map +0 -1
  1076. package/dist/components/z-myz-list.js.map +0 -1
  1077. package/dist/components/z-navigation-tabs.js.map +0 -1
  1078. package/dist/components/z-notification.js.map +0 -1
  1079. package/dist/components/z-offcanvas.js.map +0 -1
  1080. package/dist/components/z-otp.js.map +0 -1
  1081. package/dist/components/z-pagination.js.map +0 -1
  1082. package/dist/components/z-panel-elem.js.map +0 -1
  1083. package/dist/components/z-popover.js.map +0 -1
  1084. package/dist/components/z-range-picker.js.map +0 -1
  1085. package/dist/components/z-result-card.js.map +0 -1
  1086. package/dist/components/z-searchbar.js.map +0 -1
  1087. package/dist/components/z-section-title.js.map +0 -1
  1088. package/dist/components/z-select.js.map +0 -1
  1089. package/dist/components/z-skip-to-content.js.map +0 -1
  1090. package/dist/components/z-slideshow.js.map +0 -1
  1091. package/dist/components/z-stepper-item.js.map +0 -1
  1092. package/dist/components/z-stepper.js.map +0 -1
  1093. package/dist/components/z-table.js.map +0 -1
  1094. package/dist/components/z-tag.js.map +0 -1
  1095. package/dist/components/z-tbody.js.map +0 -1
  1096. package/dist/components/z-td.js.map +0 -1
  1097. package/dist/components/z-tfoot.js.map +0 -1
  1098. package/dist/components/z-th.js.map +0 -1
  1099. package/dist/components/z-thead.js.map +0 -1
  1100. package/dist/components/z-toast-notification-list.js.map +0 -1
  1101. package/dist/components/z-toast-notification.js.map +0 -1
  1102. package/dist/components/z-toggle-button.js.map +0 -1
  1103. package/dist/components/z-toggle-switch.js.map +0 -1
  1104. package/dist/components/z-tool.js.map +0 -1
  1105. package/dist/components/z-toolbar.js.map +0 -1
  1106. package/dist/components/z-tooltip.js.map +0 -1
  1107. package/dist/components/z-tr.js.map +0 -1
  1108. package/dist/components/z-tree-list.js.map +0 -1
  1109. package/dist/components/z-visually-hidden.js.map +0 -1
  1110. package/dist/docs/grid/index.stories.js +0 -54
  1111. package/dist/docs/grid/index.stories.js.map +0 -1
  1112. package/dist/docs/iconset/index.stories.js +0 -32
  1113. package/dist/docs/iconset/index.stories.js.map +0 -1
  1114. package/dist/docs/themes/index.stories.js +0 -108
  1115. package/dist/docs/themes/index.stories.js.map +0 -1
  1116. package/dist/docs/typography/index.stories.js +0 -186
  1117. package/dist/docs/typography/index.stories.js.map +0 -1
  1118. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
  1119. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
  1120. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1121. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1122. package/dist/esm/breakpoints-d148bfde.js.map +0 -1
  1123. package/dist/esm/iconset-d7823b13.js.map +0 -1
  1124. package/dist/esm/index-106473a8.js.map +0 -1
  1125. package/dist/esm/index-167f46ad.js +0 -71
  1126. package/dist/esm/index-167f46ad.js.map +0 -1
  1127. package/dist/esm/index-21176e80.js +0 -21
  1128. package/dist/esm/index-21176e80.js.map +0 -1
  1129. package/dist/esm/index-39a920c4.js +0 -65
  1130. package/dist/esm/index-39a920c4.js.map +0 -1
  1131. package/dist/esm/index-41934729.js +0 -19
  1132. package/dist/esm/index-41934729.js.map +0 -1
  1133. package/dist/esm/index-4845b32f.js +0 -45
  1134. package/dist/esm/index-4845b32f.js.map +0 -1
  1135. package/dist/esm/index-599cd05a.js +0 -18
  1136. package/dist/esm/index-599cd05a.js.map +0 -1
  1137. package/dist/esm/index-c8ceadeb.js +0 -2293
  1138. package/dist/esm/index-c8ceadeb.js.map +0 -1
  1139. package/dist/esm/index.js.map +0 -1
  1140. package/dist/esm/loader.js.map +0 -1
  1141. package/dist/esm/utils-8d6ca808.js.map +0 -1
  1142. package/dist/esm/utils-93ac0e6c.js.map +0 -1
  1143. package/dist/esm/web-components-library.js.map +0 -1
  1144. package/dist/esm/z-accordion.entry.js.map +0 -1
  1145. package/dist/esm/z-alert.entry.js.map +0 -1
  1146. package/dist/esm/z-anchor-navigation.entry.js.map +0 -1
  1147. package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
  1148. package/dist/esm/z-app-header_12.entry.js.map +0 -1
  1149. package/dist/esm/z-aria-alert.entry.js.map +0 -1
  1150. package/dist/esm/z-avatar.entry.js.map +0 -1
  1151. package/dist/esm/z-book-card-app.entry.js.map +0 -1
  1152. package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
  1153. package/dist/esm/z-book-card.entry.js.map +0 -1
  1154. package/dist/esm/z-book-cover.entry.js.map +0 -1
  1155. package/dist/esm/z-breadcrumb.entry.js.map +0 -1
  1156. package/dist/esm/z-button-sort.entry.js.map +0 -1
  1157. package/dist/esm/z-card.entry.js.map +0 -1
  1158. package/dist/esm/z-carousel.entry.js.map +0 -1
  1159. package/dist/esm/z-chip.entry.js.map +0 -1
  1160. package/dist/esm/z-color-picker.entry.js.map +0 -1
  1161. package/dist/esm/z-combobox.entry.js.map +0 -1
  1162. package/dist/esm/z-cover-hero.entry.js.map +0 -1
  1163. package/dist/esm/z-date-picker.entry.js.map +0 -1
  1164. package/dist/esm/z-dragdrop-area_2.entry.js.map +0 -1
  1165. package/dist/esm/z-file-upload.entry.js.map +0 -1
  1166. package/dist/esm/z-file.entry.js.map +0 -1
  1167. package/dist/esm/z-ghost-loading.entry.js.map +0 -1
  1168. package/dist/esm/z-info-box.entry.js.map +0 -1
  1169. package/dist/esm/z-info-reveal.entry.js.map +0 -1
  1170. package/dist/esm/z-logo.entry.js.map +0 -1
  1171. package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
  1172. package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
  1173. package/dist/esm/z-menu-section.entry.js.map +0 -1
  1174. package/dist/esm/z-menu.entry.js.map +0 -1
  1175. package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
  1176. package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
  1177. package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
  1178. package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
  1179. package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
  1180. package/dist/esm/z-myz-card-info.entry.js.map +0 -1
  1181. package/dist/esm/z-myz-card-list.entry.js.map +0 -1
  1182. package/dist/esm/z-myz-card_4.entry.js.map +0 -1
  1183. package/dist/esm/z-myz-list-item.entry.js.map +0 -1
  1184. package/dist/esm/z-myz-list.entry.js.map +0 -1
  1185. package/dist/esm/z-navigation-tabs.entry.js.map +0 -1
  1186. package/dist/esm/z-notification.entry.js.map +0 -1
  1187. package/dist/esm/z-otp.entry.js.map +0 -1
  1188. package/dist/esm/z-pagination.entry.js.map +0 -1
  1189. package/dist/esm/z-panel-elem.entry.js.map +0 -1
  1190. package/dist/esm/z-popover.entry.js.map +0 -1
  1191. package/dist/esm/z-range-picker.entry.js.map +0 -1
  1192. package/dist/esm/z-result-card.entry.js.map +0 -1
  1193. package/dist/esm/z-section-title.entry.js.map +0 -1
  1194. package/dist/esm/z-select.entry.js.map +0 -1
  1195. package/dist/esm/z-skip-to-content.entry.js.map +0 -1
  1196. package/dist/esm/z-slideshow.entry.js.map +0 -1
  1197. package/dist/esm/z-stepper-item.entry.js.map +0 -1
  1198. package/dist/esm/z-stepper.entry.js.map +0 -1
  1199. package/dist/esm/z-table.entry.js.map +0 -1
  1200. package/dist/esm/z-tbody.entry.js.map +0 -1
  1201. package/dist/esm/z-td.entry.js.map +0 -1
  1202. package/dist/esm/z-tfoot.entry.js.map +0 -1
  1203. package/dist/esm/z-th.entry.js.map +0 -1
  1204. package/dist/esm/z-thead.entry.js.map +0 -1
  1205. package/dist/esm/z-toast-notification-list.entry.js.map +0 -1
  1206. package/dist/esm/z-toast-notification.entry.js.map +0 -1
  1207. package/dist/esm/z-toggle-button.entry.js.map +0 -1
  1208. package/dist/esm/z-toggle-switch.entry.js.map +0 -1
  1209. package/dist/esm/z-tool.entry.js.map +0 -1
  1210. package/dist/esm/z-toolbar.entry.js.map +0 -1
  1211. package/dist/esm/z-tooltip.entry.js.map +0 -1
  1212. package/dist/esm/z-tr.entry.js.map +0 -1
  1213. package/dist/esm/z-tree-list.entry.js.map +0 -1
  1214. package/dist/esm/z-visually-hidden.entry.js.map +0 -1
  1215. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
  1216. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
  1217. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -16
  1218. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +0 -96
  1219. package/dist/web-components-library/index.esm.js.map +0 -1
  1220. package/dist/web-components-library/p-03a558ef.entry.js +0 -2
  1221. package/dist/web-components-library/p-03a558ef.entry.js.map +0 -1
  1222. package/dist/web-components-library/p-061e28d6.js +0 -2
  1223. package/dist/web-components-library/p-061e28d6.js.map +0 -1
  1224. package/dist/web-components-library/p-0989655c.entry.js +0 -2
  1225. package/dist/web-components-library/p-0989655c.entry.js.map +0 -1
  1226. package/dist/web-components-library/p-15951fc6.entry.js +0 -2
  1227. package/dist/web-components-library/p-15951fc6.entry.js.map +0 -1
  1228. package/dist/web-components-library/p-17e2fed2.entry.js +0 -2
  1229. package/dist/web-components-library/p-17e2fed2.entry.js.map +0 -1
  1230. package/dist/web-components-library/p-19172b2c.entry.js +0 -2
  1231. package/dist/web-components-library/p-19172b2c.entry.js.map +0 -1
  1232. package/dist/web-components-library/p-1939116a.entry.js +0 -2
  1233. package/dist/web-components-library/p-1939116a.entry.js.map +0 -1
  1234. package/dist/web-components-library/p-1e0d85d5.entry.js +0 -2
  1235. package/dist/web-components-library/p-1e0d85d5.entry.js.map +0 -1
  1236. package/dist/web-components-library/p-215b1fa5.entry.js +0 -2
  1237. package/dist/web-components-library/p-215b1fa5.entry.js.map +0 -1
  1238. package/dist/web-components-library/p-22b683a3.entry.js +0 -2
  1239. package/dist/web-components-library/p-22b683a3.entry.js.map +0 -1
  1240. package/dist/web-components-library/p-2a04c00e.entry.js +0 -2
  1241. package/dist/web-components-library/p-2a04c00e.entry.js.map +0 -1
  1242. package/dist/web-components-library/p-2bba665d.entry.js +0 -2
  1243. package/dist/web-components-library/p-2bba665d.entry.js.map +0 -1
  1244. package/dist/web-components-library/p-2f45f1ff.entry.js +0 -2
  1245. package/dist/web-components-library/p-2f45f1ff.entry.js.map +0 -1
  1246. package/dist/web-components-library/p-31bd2a1c.entry.js +0 -2
  1247. package/dist/web-components-library/p-31bd2a1c.entry.js.map +0 -1
  1248. package/dist/web-components-library/p-332e0361.entry.js +0 -2
  1249. package/dist/web-components-library/p-332e0361.entry.js.map +0 -1
  1250. package/dist/web-components-library/p-3d02ad75.entry.js +0 -2
  1251. package/dist/web-components-library/p-3d02ad75.entry.js.map +0 -1
  1252. package/dist/web-components-library/p-3f66654f.entry.js +0 -2
  1253. package/dist/web-components-library/p-3f66654f.entry.js.map +0 -1
  1254. package/dist/web-components-library/p-41891d34.entry.js +0 -2
  1255. package/dist/web-components-library/p-41891d34.entry.js.map +0 -1
  1256. package/dist/web-components-library/p-4573c419.js +0 -2
  1257. package/dist/web-components-library/p-4573c419.js.map +0 -1
  1258. package/dist/web-components-library/p-47b7bc63.entry.js +0 -2
  1259. package/dist/web-components-library/p-47b7bc63.entry.js.map +0 -1
  1260. package/dist/web-components-library/p-4df66afe.entry.js +0 -2
  1261. package/dist/web-components-library/p-4df66afe.entry.js.map +0 -1
  1262. package/dist/web-components-library/p-5145a606.js +0 -2
  1263. package/dist/web-components-library/p-5145a606.js.map +0 -1
  1264. package/dist/web-components-library/p-54cd104c.js +0 -2
  1265. package/dist/web-components-library/p-54cd104c.js.map +0 -1
  1266. package/dist/web-components-library/p-57dcff49.entry.js +0 -2
  1267. package/dist/web-components-library/p-57dcff49.entry.js.map +0 -1
  1268. package/dist/web-components-library/p-5838b77c.entry.js +0 -2
  1269. package/dist/web-components-library/p-5838b77c.entry.js.map +0 -1
  1270. package/dist/web-components-library/p-59fac888.entry.js +0 -2
  1271. package/dist/web-components-library/p-59fac888.entry.js.map +0 -1
  1272. package/dist/web-components-library/p-5cdd431e.entry.js +0 -2
  1273. package/dist/web-components-library/p-5cdd431e.entry.js.map +0 -1
  1274. package/dist/web-components-library/p-5f1e17cb.js +0 -2
  1275. package/dist/web-components-library/p-5f1e17cb.js.map +0 -1
  1276. package/dist/web-components-library/p-5fda8769.entry.js +0 -8
  1277. package/dist/web-components-library/p-5fda8769.entry.js.map +0 -1
  1278. package/dist/web-components-library/p-661bce1c.entry.js +0 -2
  1279. package/dist/web-components-library/p-661bce1c.entry.js.map +0 -1
  1280. package/dist/web-components-library/p-66c0f993.entry.js +0 -2
  1281. package/dist/web-components-library/p-66c0f993.entry.js.map +0 -1
  1282. package/dist/web-components-library/p-6c3d141b.entry.js +0 -2
  1283. package/dist/web-components-library/p-6c3d141b.entry.js.map +0 -1
  1284. package/dist/web-components-library/p-6d61933f.entry.js +0 -2
  1285. package/dist/web-components-library/p-6d61933f.entry.js.map +0 -1
  1286. package/dist/web-components-library/p-6ef58a14.entry.js +0 -2
  1287. package/dist/web-components-library/p-6ef58a14.entry.js.map +0 -1
  1288. package/dist/web-components-library/p-71f62226.entry.js +0 -2
  1289. package/dist/web-components-library/p-71f62226.entry.js.map +0 -1
  1290. package/dist/web-components-library/p-75c4a726.js +0 -3
  1291. package/dist/web-components-library/p-75c4a726.js.map +0 -1
  1292. package/dist/web-components-library/p-76003048.entry.js +0 -2
  1293. package/dist/web-components-library/p-76003048.entry.js.map +0 -1
  1294. package/dist/web-components-library/p-80285500.js +0 -2
  1295. package/dist/web-components-library/p-80285500.js.map +0 -1
  1296. package/dist/web-components-library/p-80ddecaf.entry.js +0 -2
  1297. package/dist/web-components-library/p-80ddecaf.entry.js.map +0 -1
  1298. package/dist/web-components-library/p-83a26e88.entry.js +0 -2
  1299. package/dist/web-components-library/p-83a26e88.entry.js.map +0 -1
  1300. package/dist/web-components-library/p-8503c87a.entry.js +0 -2
  1301. package/dist/web-components-library/p-8503c87a.entry.js.map +0 -1
  1302. package/dist/web-components-library/p-86618221.js +0 -2
  1303. package/dist/web-components-library/p-86618221.js.map +0 -1
  1304. package/dist/web-components-library/p-87edcc75.entry.js +0 -2
  1305. package/dist/web-components-library/p-87edcc75.entry.js.map +0 -1
  1306. package/dist/web-components-library/p-88a9865c.entry.js +0 -2
  1307. package/dist/web-components-library/p-88a9865c.entry.js.map +0 -1
  1308. package/dist/web-components-library/p-8aaceeed.entry.js +0 -2
  1309. package/dist/web-components-library/p-8aaceeed.entry.js.map +0 -1
  1310. package/dist/web-components-library/p-8b562dca.entry.js +0 -2
  1311. package/dist/web-components-library/p-8b562dca.entry.js.map +0 -1
  1312. package/dist/web-components-library/p-901518b8.entry.js +0 -2
  1313. package/dist/web-components-library/p-901518b8.entry.js.map +0 -1
  1314. package/dist/web-components-library/p-90690d4d.entry.js +0 -2
  1315. package/dist/web-components-library/p-90690d4d.entry.js.map +0 -1
  1316. package/dist/web-components-library/p-90babaaa.entry.js +0 -2
  1317. package/dist/web-components-library/p-90babaaa.entry.js.map +0 -1
  1318. package/dist/web-components-library/p-9af837bb.entry.js +0 -2
  1319. package/dist/web-components-library/p-9af837bb.entry.js.map +0 -1
  1320. package/dist/web-components-library/p-9eba4a37.entry.js +0 -2
  1321. package/dist/web-components-library/p-9eba4a37.entry.js.map +0 -1
  1322. package/dist/web-components-library/p-a32ebcc3.entry.js +0 -2
  1323. package/dist/web-components-library/p-a32ebcc3.entry.js.map +0 -1
  1324. package/dist/web-components-library/p-a3f9a5da.entry.js +0 -2
  1325. package/dist/web-components-library/p-a3f9a5da.entry.js.map +0 -1
  1326. package/dist/web-components-library/p-b0324c7d.entry.js +0 -2
  1327. package/dist/web-components-library/p-b0324c7d.entry.js.map +0 -1
  1328. package/dist/web-components-library/p-b06af2fc.js +0 -2
  1329. package/dist/web-components-library/p-b06af2fc.js.map +0 -1
  1330. package/dist/web-components-library/p-b1f2388a.entry.js +0 -17
  1331. package/dist/web-components-library/p-b1f2388a.entry.js.map +0 -1
  1332. package/dist/web-components-library/p-b421424f.entry.js +0 -2
  1333. package/dist/web-components-library/p-b421424f.entry.js.map +0 -1
  1334. package/dist/web-components-library/p-b4b264b1.entry.js +0 -2
  1335. package/dist/web-components-library/p-b4b264b1.entry.js.map +0 -1
  1336. package/dist/web-components-library/p-b70ff542.entry.js +0 -2
  1337. package/dist/web-components-library/p-b70ff542.entry.js.map +0 -1
  1338. package/dist/web-components-library/p-b854cc3d.entry.js +0 -2
  1339. package/dist/web-components-library/p-b854cc3d.entry.js.map +0 -1
  1340. package/dist/web-components-library/p-bad22f5f.entry.js +0 -2
  1341. package/dist/web-components-library/p-bad22f5f.entry.js.map +0 -1
  1342. package/dist/web-components-library/p-bc15e1dc.entry.js +0 -2
  1343. package/dist/web-components-library/p-bc15e1dc.entry.js.map +0 -1
  1344. package/dist/web-components-library/p-c03767a4.entry.js +0 -2
  1345. package/dist/web-components-library/p-c03767a4.entry.js.map +0 -1
  1346. package/dist/web-components-library/p-c0b4f29d.entry.js +0 -2
  1347. package/dist/web-components-library/p-c0b4f29d.entry.js.map +0 -1
  1348. package/dist/web-components-library/p-c57bb632.entry.js +0 -2
  1349. package/dist/web-components-library/p-c57bb632.entry.js.map +0 -1
  1350. package/dist/web-components-library/p-c5e032de.entry.js +0 -2
  1351. package/dist/web-components-library/p-c5e032de.entry.js.map +0 -1
  1352. package/dist/web-components-library/p-c645dc11.entry.js +0 -2
  1353. package/dist/web-components-library/p-c645dc11.entry.js.map +0 -1
  1354. package/dist/web-components-library/p-c93c6135.entry.js +0 -2
  1355. package/dist/web-components-library/p-c93c6135.entry.js.map +0 -1
  1356. package/dist/web-components-library/p-cb395500.js +0 -2
  1357. package/dist/web-components-library/p-cb395500.js.map +0 -1
  1358. package/dist/web-components-library/p-cc87d814.entry.js +0 -2
  1359. package/dist/web-components-library/p-cc87d814.entry.js.map +0 -1
  1360. package/dist/web-components-library/p-d1fe7960.entry.js +0 -2
  1361. package/dist/web-components-library/p-d1fe7960.entry.js.map +0 -1
  1362. package/dist/web-components-library/p-d5ebbfdf.entry.js +0 -2
  1363. package/dist/web-components-library/p-d5ebbfdf.entry.js.map +0 -1
  1364. package/dist/web-components-library/p-d65aeb54.entry.js +0 -2
  1365. package/dist/web-components-library/p-d65aeb54.entry.js.map +0 -1
  1366. package/dist/web-components-library/p-dba260f2.entry.js +0 -2
  1367. package/dist/web-components-library/p-dba260f2.entry.js.map +0 -1
  1368. package/dist/web-components-library/p-ddae9016.entry.js +0 -2
  1369. package/dist/web-components-library/p-ddae9016.entry.js.map +0 -1
  1370. package/dist/web-components-library/p-de313d96.entry.js +0 -2
  1371. package/dist/web-components-library/p-de313d96.entry.js.map +0 -1
  1372. package/dist/web-components-library/p-e1255160.js +0 -2
  1373. package/dist/web-components-library/p-e1255160.js.map +0 -1
  1374. package/dist/web-components-library/p-e38a5dd2.entry.js +0 -2
  1375. package/dist/web-components-library/p-e38a5dd2.entry.js.map +0 -1
  1376. package/dist/web-components-library/p-eb15536d.js +0 -2
  1377. package/dist/web-components-library/p-eb15536d.js.map +0 -1
  1378. package/dist/web-components-library/p-eb9161bc.entry.js.map +0 -1
  1379. package/dist/web-components-library/p-ec2a0b31.js +0 -2
  1380. package/dist/web-components-library/p-ec2a0b31.js.map +0 -1
  1381. package/dist/web-components-library/p-f0271f86.entry.js +0 -2
  1382. package/dist/web-components-library/p-f0271f86.entry.js.map +0 -1
  1383. package/dist/web-components-library/p-f0f53bb2.entry.js +0 -2
  1384. package/dist/web-components-library/p-f0f53bb2.entry.js.map +0 -1
  1385. package/dist/web-components-library/p-f79010de.js +0 -2
  1386. package/dist/web-components-library/p-f79010de.js.map +0 -1
  1387. package/dist/web-components-library/p-f8e95a75.entry.js +0 -2
  1388. package/dist/web-components-library/p-f8e95a75.entry.js.map +0 -1
  1389. package/dist/web-components-library/web-components-library.esm.js.map +0 -1
  1390. package/loader/package.json +0 -11
  1391. package/react/components.js.map +0 -1
  1392. package/react/index.js.map +0 -1
  1393. package/react/react-component-lib/createComponent.js.map +0 -1
  1394. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  1395. package/react/react-component-lib/index.js.map +0 -1
  1396. package/react/react-component-lib/interfaces.js.map +0 -1
  1397. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  1398. package/react/react-component-lib/utils/case.js.map +0 -1
  1399. package/react/react-component-lib/utils/dev.js.map +0 -1
  1400. package/react/react-component-lib/utils/index.js.map +0 -1
  1401. package/www/build/index.esm.js.map +0 -1
  1402. package/www/build/p-03a558ef.entry.js +0 -2
  1403. package/www/build/p-03a558ef.entry.js.map +0 -1
  1404. package/www/build/p-061e28d6.js +0 -2
  1405. package/www/build/p-061e28d6.js.map +0 -1
  1406. package/www/build/p-0989655c.entry.js +0 -2
  1407. package/www/build/p-0989655c.entry.js.map +0 -1
  1408. package/www/build/p-15951fc6.entry.js +0 -2
  1409. package/www/build/p-15951fc6.entry.js.map +0 -1
  1410. package/www/build/p-17e2fed2.entry.js +0 -2
  1411. package/www/build/p-17e2fed2.entry.js.map +0 -1
  1412. package/www/build/p-19172b2c.entry.js +0 -2
  1413. package/www/build/p-19172b2c.entry.js.map +0 -1
  1414. package/www/build/p-1939116a.entry.js +0 -2
  1415. package/www/build/p-1939116a.entry.js.map +0 -1
  1416. package/www/build/p-1e0d85d5.entry.js +0 -2
  1417. package/www/build/p-1e0d85d5.entry.js.map +0 -1
  1418. package/www/build/p-215b1fa5.entry.js +0 -2
  1419. package/www/build/p-215b1fa5.entry.js.map +0 -1
  1420. package/www/build/p-22b683a3.entry.js +0 -2
  1421. package/www/build/p-22b683a3.entry.js.map +0 -1
  1422. package/www/build/p-2a04c00e.entry.js +0 -2
  1423. package/www/build/p-2a04c00e.entry.js.map +0 -1
  1424. package/www/build/p-2bba665d.entry.js +0 -2
  1425. package/www/build/p-2bba665d.entry.js.map +0 -1
  1426. package/www/build/p-2f45f1ff.entry.js +0 -2
  1427. package/www/build/p-2f45f1ff.entry.js.map +0 -1
  1428. package/www/build/p-31bd2a1c.entry.js +0 -2
  1429. package/www/build/p-31bd2a1c.entry.js.map +0 -1
  1430. package/www/build/p-332e0361.entry.js +0 -2
  1431. package/www/build/p-332e0361.entry.js.map +0 -1
  1432. package/www/build/p-3d02ad75.entry.js +0 -2
  1433. package/www/build/p-3d02ad75.entry.js.map +0 -1
  1434. package/www/build/p-3f66654f.entry.js +0 -2
  1435. package/www/build/p-3f66654f.entry.js.map +0 -1
  1436. package/www/build/p-41891d34.entry.js +0 -2
  1437. package/www/build/p-41891d34.entry.js.map +0 -1
  1438. package/www/build/p-4573c419.js +0 -2
  1439. package/www/build/p-4573c419.js.map +0 -1
  1440. package/www/build/p-47b7bc63.entry.js +0 -2
  1441. package/www/build/p-47b7bc63.entry.js.map +0 -1
  1442. package/www/build/p-4bab8e94.js +0 -2
  1443. package/www/build/p-4df66afe.entry.js +0 -2
  1444. package/www/build/p-4df66afe.entry.js.map +0 -1
  1445. package/www/build/p-5145a606.js +0 -2
  1446. package/www/build/p-5145a606.js.map +0 -1
  1447. package/www/build/p-54cd104c.js +0 -2
  1448. package/www/build/p-54cd104c.js.map +0 -1
  1449. package/www/build/p-57dcff49.entry.js +0 -2
  1450. package/www/build/p-57dcff49.entry.js.map +0 -1
  1451. package/www/build/p-5838b77c.entry.js +0 -2
  1452. package/www/build/p-5838b77c.entry.js.map +0 -1
  1453. package/www/build/p-59fac888.entry.js +0 -2
  1454. package/www/build/p-59fac888.entry.js.map +0 -1
  1455. package/www/build/p-5cdd431e.entry.js +0 -2
  1456. package/www/build/p-5cdd431e.entry.js.map +0 -1
  1457. package/www/build/p-5f1e17cb.js +0 -2
  1458. package/www/build/p-5f1e17cb.js.map +0 -1
  1459. package/www/build/p-5fda8769.entry.js +0 -8
  1460. package/www/build/p-5fda8769.entry.js.map +0 -1
  1461. package/www/build/p-661bce1c.entry.js +0 -2
  1462. package/www/build/p-661bce1c.entry.js.map +0 -1
  1463. package/www/build/p-66c0f993.entry.js +0 -2
  1464. package/www/build/p-66c0f993.entry.js.map +0 -1
  1465. package/www/build/p-6c3d141b.entry.js +0 -2
  1466. package/www/build/p-6c3d141b.entry.js.map +0 -1
  1467. package/www/build/p-6d61933f.entry.js +0 -2
  1468. package/www/build/p-6d61933f.entry.js.map +0 -1
  1469. package/www/build/p-6ef58a14.entry.js +0 -2
  1470. package/www/build/p-6ef58a14.entry.js.map +0 -1
  1471. package/www/build/p-71f62226.entry.js +0 -2
  1472. package/www/build/p-71f62226.entry.js.map +0 -1
  1473. package/www/build/p-75c4a726.js +0 -3
  1474. package/www/build/p-75c4a726.js.map +0 -1
  1475. package/www/build/p-76003048.entry.js +0 -2
  1476. package/www/build/p-76003048.entry.js.map +0 -1
  1477. package/www/build/p-80285500.js +0 -2
  1478. package/www/build/p-80285500.js.map +0 -1
  1479. package/www/build/p-80ddecaf.entry.js +0 -2
  1480. package/www/build/p-80ddecaf.entry.js.map +0 -1
  1481. package/www/build/p-83a26e88.entry.js +0 -2
  1482. package/www/build/p-83a26e88.entry.js.map +0 -1
  1483. package/www/build/p-8503c87a.entry.js +0 -2
  1484. package/www/build/p-8503c87a.entry.js.map +0 -1
  1485. package/www/build/p-86618221.js +0 -2
  1486. package/www/build/p-86618221.js.map +0 -1
  1487. package/www/build/p-87edcc75.entry.js +0 -2
  1488. package/www/build/p-87edcc75.entry.js.map +0 -1
  1489. package/www/build/p-88a9865c.entry.js +0 -2
  1490. package/www/build/p-88a9865c.entry.js.map +0 -1
  1491. package/www/build/p-8aaceeed.entry.js +0 -2
  1492. package/www/build/p-8aaceeed.entry.js.map +0 -1
  1493. package/www/build/p-8b562dca.entry.js +0 -2
  1494. package/www/build/p-8b562dca.entry.js.map +0 -1
  1495. package/www/build/p-901518b8.entry.js +0 -2
  1496. package/www/build/p-901518b8.entry.js.map +0 -1
  1497. package/www/build/p-90690d4d.entry.js +0 -2
  1498. package/www/build/p-90690d4d.entry.js.map +0 -1
  1499. package/www/build/p-90babaaa.entry.js +0 -2
  1500. package/www/build/p-90babaaa.entry.js.map +0 -1
  1501. package/www/build/p-9af837bb.entry.js +0 -2
  1502. package/www/build/p-9af837bb.entry.js.map +0 -1
  1503. package/www/build/p-9eba4a37.entry.js +0 -2
  1504. package/www/build/p-9eba4a37.entry.js.map +0 -1
  1505. package/www/build/p-a32ebcc3.entry.js +0 -2
  1506. package/www/build/p-a32ebcc3.entry.js.map +0 -1
  1507. package/www/build/p-a3f9a5da.entry.js +0 -2
  1508. package/www/build/p-a3f9a5da.entry.js.map +0 -1
  1509. package/www/build/p-b0324c7d.entry.js +0 -2
  1510. package/www/build/p-b0324c7d.entry.js.map +0 -1
  1511. package/www/build/p-b06af2fc.js +0 -2
  1512. package/www/build/p-b06af2fc.js.map +0 -1
  1513. package/www/build/p-b1f2388a.entry.js +0 -17
  1514. package/www/build/p-b1f2388a.entry.js.map +0 -1
  1515. package/www/build/p-b421424f.entry.js +0 -2
  1516. package/www/build/p-b421424f.entry.js.map +0 -1
  1517. package/www/build/p-b4b264b1.entry.js +0 -2
  1518. package/www/build/p-b4b264b1.entry.js.map +0 -1
  1519. package/www/build/p-b70ff542.entry.js +0 -2
  1520. package/www/build/p-b70ff542.entry.js.map +0 -1
  1521. package/www/build/p-b854cc3d.entry.js +0 -2
  1522. package/www/build/p-b854cc3d.entry.js.map +0 -1
  1523. package/www/build/p-bad22f5f.entry.js +0 -2
  1524. package/www/build/p-bad22f5f.entry.js.map +0 -1
  1525. package/www/build/p-bc15e1dc.entry.js +0 -2
  1526. package/www/build/p-bc15e1dc.entry.js.map +0 -1
  1527. package/www/build/p-c03767a4.entry.js +0 -2
  1528. package/www/build/p-c03767a4.entry.js.map +0 -1
  1529. package/www/build/p-c0b4f29d.entry.js +0 -2
  1530. package/www/build/p-c0b4f29d.entry.js.map +0 -1
  1531. package/www/build/p-c57bb632.entry.js +0 -2
  1532. package/www/build/p-c57bb632.entry.js.map +0 -1
  1533. package/www/build/p-c5e032de.entry.js +0 -2
  1534. package/www/build/p-c5e032de.entry.js.map +0 -1
  1535. package/www/build/p-c645dc11.entry.js +0 -2
  1536. package/www/build/p-c645dc11.entry.js.map +0 -1
  1537. package/www/build/p-c93c6135.entry.js +0 -2
  1538. package/www/build/p-c93c6135.entry.js.map +0 -1
  1539. package/www/build/p-cb395500.js +0 -2
  1540. package/www/build/p-cb395500.js.map +0 -1
  1541. package/www/build/p-cc87d814.entry.js +0 -2
  1542. package/www/build/p-cc87d814.entry.js.map +0 -1
  1543. package/www/build/p-d1fe7960.entry.js +0 -2
  1544. package/www/build/p-d1fe7960.entry.js.map +0 -1
  1545. package/www/build/p-d5ebbfdf.entry.js +0 -2
  1546. package/www/build/p-d5ebbfdf.entry.js.map +0 -1
  1547. package/www/build/p-d65aeb54.entry.js +0 -2
  1548. package/www/build/p-d65aeb54.entry.js.map +0 -1
  1549. package/www/build/p-dba260f2.entry.js +0 -2
  1550. package/www/build/p-dba260f2.entry.js.map +0 -1
  1551. package/www/build/p-ddae9016.entry.js +0 -2
  1552. package/www/build/p-ddae9016.entry.js.map +0 -1
  1553. package/www/build/p-de313d96.entry.js +0 -2
  1554. package/www/build/p-de313d96.entry.js.map +0 -1
  1555. package/www/build/p-e1255160.js +0 -2
  1556. package/www/build/p-e1255160.js.map +0 -1
  1557. package/www/build/p-e38a5dd2.entry.js +0 -2
  1558. package/www/build/p-e38a5dd2.entry.js.map +0 -1
  1559. package/www/build/p-eb15536d.js +0 -2
  1560. package/www/build/p-eb15536d.js.map +0 -1
  1561. package/www/build/p-eb9161bc.entry.js.map +0 -1
  1562. package/www/build/p-ec2a0b31.js +0 -2
  1563. package/www/build/p-ec2a0b31.js.map +0 -1
  1564. package/www/build/p-f0271f86.entry.js +0 -2
  1565. package/www/build/p-f0271f86.entry.js.map +0 -1
  1566. package/www/build/p-f0f53bb2.entry.js +0 -2
  1567. package/www/build/p-f0f53bb2.entry.js.map +0 -1
  1568. package/www/build/p-f79010de.js +0 -2
  1569. package/www/build/p-f79010de.js.map +0 -1
  1570. package/www/build/p-f8e95a75.entry.js +0 -2
  1571. package/www/build/p-f8e95a75.entry.js.map +0 -1
  1572. package/www/build/web-components-library.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZPopoverStyle0","ZPopover","this","spaceTolerance","PopoverPosition","TOP","closePopoverWithKeyboard","e","closable","key","KeyboardCode","ESC","stopPropagation","open","handleOutsideClick","target","containsElement","host","boundElement","validatePosition","newValue","Object","values","includes","AUTO","position","currentPosition","setPosition","onOpen","cancelAnimationFrame","animationFrameRequestId","openChange","emit","assign","style","top","right","bottom","left","maxWidth","maxHeight","visibility","undefined","updatePositionLoop","requestAnimationFrame","setTimeout","onBindingChange","findBoundElement","offsetModifier","center","bindTo","ownerDocument","querySelector","getParentElement","tagName","toLowerCase","hasCenteredHorizontalSpace","availableLeft","availableRight","hostWidth","boundElementWidth","requiredSideSpace","hasCenteredVerticalSpace","availableTop","availableBottom","hostHeight","boundElementHeight","hasEnoughSideSpace","availableSpace","hostSize","boundElementSize","getOptimalPopoverPosition","desiredPosition","offsetWidth","offsetHeight","getBoundingClientRect","width","height","fits","pos","TOP_RIGHT","TOP_LEFT","RIGHT","RIGHT_BOTTOM","RIGHT_TOP","BOTTOM","BOTTOM_LEFT","BOTTOM_RIGHT","LEFT","LEFT_TOP","LEFT_BOTTOM","positions","positionOrder","startIndex","indexOf","i","length","posIndex","findBestFallbackPosition","bestHorizontalDirection","bestVerticalDirection","maxHorizontalSpace","Math","max","maxVerticalSpace","mainDirection","needsSecondaryDirection","minHorizontalSpace","min","minVerticalSpace","secondaryDirection","findScrollableAncestor","element","parent","documentElement","getComputedStyle","overflow","overflowX","overflowY","hasHiddenOverflow","isScrollable","scrollHeight","clientHeight","scrollWidth","clientWidth","calculateAvailableSpace","boundElementRect","lastBoundRect","x","y","cachedAvailableSpace","scrollableAncestor","scrollableAncestorRect","isScrollableAncestorNested","documentWidth","documentHeight","safeSpace","deltaTop","deltaRight","deltaBottom","deltaLeft","getBoundElementOffsets","elementRect","computePositionOffsets","boundElementOffsets","containingBlockAncestor","findContainingBlockAncestor","isDocumentElement","containingBlockRect","containingBlockStyle","paddingBox","parseFloat","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","relativeOffsets","scrollTop","scrollLeft","applyPositionStyles","arrowModifier","showArrow","hostStyle","distanceFromBound","marginTop","replace","positionOffsets","leftBase","rightBase","topBase","bottomBase","sideTopBase","sideBottomBase","getDevice","Device","MOBILE","isElementVisibleInContainer","positionChange","componentWillLoad","componentDidLoad","disconnectedCallback","render","h","Host"],"sources":["src/components/z-popover/styles.css?tag=z-popover&encapsulation=shadow","src/components/z-popover/index.tsx"],"sourcesContent":[":host {\n --z-popover-theme--surface: ;\n --z-popover-theme--text: ;\n --z-popover-padding: ;\n --z-popover-shadow-filter: ;\n\n position: fixed;\n display: none;\n max-width: calc(100dvw - var(--grid-margin) * 2);\n max-height: calc(100dvh - var(--grid-margin) * 2);\n padding: var(--z-popover-padding, 0);\n background: var(--z-popover-theme--surface, var(--color-surface01));\n border-radius: var(--border-radius-small);\n color: var(--z-popover-theme--text, var(--color-default-text));\n fill: currentcolor;\n filter: var(--z-popover-shadow-filter, drop-shadow(0 1px 2px var(--shadow-color-base)));\n text-align: center;\n visibility: hidden; /* hidden by default. the positioning algorithm will set it to 'visible' when needed */\n}\n\n:host([open]:not([open=\"false\"])[current-position]) {\n display: block;\n}\n\n:host([center][current-position=\"top\"]),\n:host([center][current-position=\"bottom\"]) {\n transform: translateX(-50%);\n}\n\n:host([center][current-position=\"right\"]),\n:host([center][current-position=\"left\"]) {\n transform: translateY(-50%);\n}\n\n:host([current-position^=\"top\"]) {\n margin: 0 0 var(--space-unit);\n}\n\n:host([current-position^=\"bottom\"]) {\n margin: var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"left\"]) {\n margin: 0 var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"right\"]) {\n margin: 0 0 0 var(--space-unit);\n}\n\n/* Arrow style */\n:host([current-position])::before {\n --arrow-size: 6px;\n --arrow-edge-offset: calc(100% - var(--space-unit) - (var(--arrow-size) / 2));\n --arrow-center-x-offset: calc(50% - (var(--arrow-size) / 2));\n --arrow-center-y-offset: calc(100% - (var(--arrow-size) / 2));\n\n position: absolute;\n display: block;\n width: var(--arrow-size);\n height: var(--arrow-size);\n background: var(--z-popover-theme--surface, var(--color-surface01));\n content: \"\";\n transform: rotate(45deg);\n}\n\n:host([show-arrow=\"false\"])::before,\n:host(:not([show-arrow]))::before {\n display: none;\n}\n\n:host([current-position^=\"top\"])::before {\n top: var(--arrow-center-y-offset);\n}\n\n:host([current-position^=\"bottom\"])::before {\n bottom: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top\"])::before,\n:host([current-position=\"bottom\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before,\n:host([current-position=\"left\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top_right\"])::before,\n:host([current-position=\"bottom_right\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"top_left\"])::before,\n:host([current-position=\"bottom_left\"])::before {\n left: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"left_top\"])::before {\n top: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"right_bottom\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left_top\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"right_bottom\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([center][current-position=\"top\"])::before,\n:host([center][current-position=\"bottom\"])::before {\n right: auto;\n left: var(--arrow-center-x-offset);\n}\n\n:host([center][current-position=\"right\"])::before,\n:host([center][current-position=\"left\"])::before {\n top: var(--arrow-center-x-offset);\n bottom: auto;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {Device, KeyboardCode, PopoverPosition} from \"../../beans\";\nimport {\n containsElement,\n findContainingBlockAncestor,\n getDevice,\n getParentElement,\n isElementVisibleInContainer,\n} from \"../../utils/utils\";\n\n/** Centering offset modifier. 0 for no offset, 0.5 for centering. */\ntype OffsetModifier = 0 | 0.5;\ntype Offsets = {top: number; right: number; bottom: number; left: number};\n\n/**\n * Popover component.\n * This component displays a popover bound to an element.\n * It supports various positions and can automatically adjust it based on available space, accounting for scrollable containers.\n *\n * Notes:\n * - If positioning has an odd behavior, consider manually adjusting the size of the slotted elements (using `width`, `height`, `max-width`, `max-height`, etc...) when its content is \"fluid\" (like text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think the popover doesn't fits).\n *\n * @cssprop --z-popover-theme--surface - background color of the popover.\n * @cssprop --z-popover-theme--text - foreground color of the popover.\n * @cssprop --z-popover-padding - padding of the popover.\n * @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.\n */\n@Component({\n tag: \"z-popover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZPopover {\n /**\n * The preferred position to render the popover.\n * The popover will automatically search another position if not enough space is available for the preferred position.\n * If the preferred position is not available, it will try to find the best position starting from `TOP` and going clockwise.\n */\n @Prop({reflect: true, mutable: true})\n position?: PopoverPosition = PopoverPosition.TOP;\n\n /**\n * The initial open state of the popover.\n * Internal changes of this prop are emitted through the `openChange` event.\n * Make sure to listen to that event if you need the updated state of the popover from the outside, to avoid inconsistent values.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the popover.\n * If string css selector is provided make sure to use a valid selector.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /** Whether to show popover's arrow. */\n @Prop({reflect: true})\n showArrow = false;\n\n /** Whether to center the popup on the main side (according to \"position\"). */\n @Prop({reflect: true})\n center = false;\n\n /**\n * Whether the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\n * Default: `true`.\n */\n @Prop()\n closable = true;\n\n /**\n * The current position of the popover.\n * It differs from `position` only when calculated automatically for space reasons.\n */\n @State()\n currentPosition?: PopoverPosition;\n\n @Element() host: HTMLZPopoverElement;\n\n // Clockwise order of positions.\n private static readonly positionOrder: PopoverPosition[] = [\n PopoverPosition.TOP,\n PopoverPosition.TOP_RIGHT,\n PopoverPosition.TOP_LEFT,\n PopoverPosition.RIGHT,\n PopoverPosition.RIGHT_BOTTOM,\n PopoverPosition.RIGHT_TOP,\n PopoverPosition.BOTTOM,\n PopoverPosition.BOTTOM_LEFT,\n PopoverPosition.BOTTOM_RIGHT,\n PopoverPosition.LEFT,\n PopoverPosition.LEFT_TOP,\n PopoverPosition.LEFT_BOTTOM,\n ] as const;\n\n private animationFrameRequestId?: number;\n\n /** space tolerance for space calculations */\n private readonly spaceTolerance = 3;\n\n /** The element bound to the popover. */\n private boundElement?: HTMLElement;\n\n /** Cached available space around the bound element to avoid unnecessary recalculations */\n private cachedAvailableSpace?: Offsets;\n\n /** Last bounding rect of the bound element to detect changes and eventually invalidate the caches. */\n private lastBoundRect?: DOMRect;\n\n /** Fired when the position changes. */\n @Event()\n positionChange: EventEmitter<{position: PopoverPosition}>;\n\n /** Event emitted when the open state of the popover changes (e.g. when the user clicks outside the popover to close it, if `closable` is true). */\n @Event()\n openChange: EventEmitter<{open: boolean}>;\n\n @Listen(\"keyup\", {target: \"window\", capture: true})\n closePopoverWithKeyboard(e: KeyboardEvent): void {\n if (this.closable && e.key === KeyboardCode.ESC) {\n e.stopPropagation();\n this.open = false;\n }\n }\n\n /**\n * Close the popover when clicking outside of its content.\n * Stop event propagation if the click was fired by popover's trigger element,\n * to prevent close and reopen glitches.\n */\n @Listen(\"click\", {target: \"body\", capture: true})\n handleOutsideClick(e: MouseEvent): void {\n const target = e.target as Element;\n if (!this.closable || !this.open || containsElement(this.host, target)) {\n return;\n }\n\n if (containsElement(this.boundElement, target)) {\n // stop propagation if the click was on the trigger element to prevent close and reopen glitches\n e.stopPropagation();\n }\n this.open = false;\n }\n\n @Watch(\"position\")\n validatePosition(newValue: PopoverPosition): void {\n if (!Object.values(PopoverPosition).includes(newValue as PopoverPosition) || newValue === PopoverPosition.AUTO) {\n newValue = PopoverPosition.TOP;\n this.position = newValue;\n }\n this.currentPosition = newValue;\n if (this.open) {\n this.setPosition();\n }\n }\n\n /** Setup popover behaviors when `open` changes. */\n @Watch(\"open\")\n onOpen(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n this.openChange.emit({open: this.open});\n if (!this.open) {\n Object.assign(this.host.style, {\n // Reset all positioning properties\n top: \"auto\",\n right: \"auto\",\n bottom: \"auto\",\n left: \"auto\",\n maxWidth: \"\",\n maxHeight: \"\",\n // Set initial visibility to hidden while calculating position...\n visibility: \"hidden\",\n });\n this.currentPosition = undefined;\n\n return;\n }\n\n const updatePositionLoop = (): void => {\n if (!this.open) {\n return;\n }\n\n this.setPosition();\n this.animationFrameRequestId = requestAnimationFrame(updatePositionLoop);\n };\n\n // call `setPosition` after a tick to ensure the DOM is ready and sizes are available\n setTimeout(() => {\n updatePositionLoop();\n }, 0);\n }\n\n @Watch(\"bindTo\")\n onBindingChange(): void {\n this.findBoundElement();\n }\n\n /** Returns the offset modifier to use in calculations to align the popover with the bound element. */\n private get offsetModifier(): OffsetModifier {\n return this.center ? 0.5 : 0;\n }\n\n private findBoundElement(): void {\n if (typeof this.bindTo === \"string\") {\n this.boundElement = this.host.ownerDocument.querySelector(this.bindTo) as HTMLElement;\n } else if (this.bindTo) {\n this.boundElement = this.bindTo;\n } else {\n this.boundElement = getParentElement(this.host) as HTMLElement;\n if (this.boundElement.tagName.toLowerCase() === \"z-tooltip\") {\n // If the popover is used inside a tooltip without a specified `bindTo`, bind it to the parent of the tooltip.\n this.boundElement = getParentElement(this.boundElement) as HTMLElement;\n }\n }\n }\n\n /**\n * Check if element has enough space to the right and left to be centered.\n * Used for `TOP` and `BOTTOM` position.\n * When `center` is not enabled, only one side needs to be checked and `RIGHT` is the default.\n */\n private hasCenteredHorizontalSpace(\n availableLeft: number,\n availableRight: number,\n hostWidth: number,\n boundElementWidth: number\n ): boolean {\n const requiredSideSpace = (hostWidth - boundElementWidth) * (1 - this.offsetModifier);\n\n if (!this.center) {\n return availableRight >= requiredSideSpace - this.spaceTolerance;\n }\n\n return (\n availableRight >= requiredSideSpace - this.spaceTolerance &&\n availableLeft >= requiredSideSpace - this.spaceTolerance\n );\n }\n\n /**\n * Check if element has enough space to the top and bottom to be centered.\n * Used for `RIGHT` and `LEFT` position.\n * When `center` is not enabled, only one side needs to be checked and `BOTTOM` is the default.\n */\n private hasCenteredVerticalSpace(\n availableTop: number,\n availableBottom: number,\n hostHeight: number,\n boundElementHeight: number\n ): boolean {\n const requiredSideSpace = (hostHeight - boundElementHeight) * (1 - this.offsetModifier);\n\n if (!this.center) {\n return availableBottom >= requiredSideSpace - this.spaceTolerance;\n }\n\n return (\n availableTop >= requiredSideSpace - this.spaceTolerance &&\n availableBottom >= requiredSideSpace - this.spaceTolerance\n );\n }\n\n /**\n * Check if there is enough space in the given direction to fit the popover.\n * Used for composed positions like TOP_RIGHT, LEFT_BOTTOM, etc.\n */\n private hasEnoughSideSpace(\n availableSpace: number,\n hostSize: number,\n boundElementSize: number,\n offsetModifier: OffsetModifier\n ): boolean {\n return availableSpace >= hostSize - boundElementSize * (1 - offsetModifier) - this.spaceTolerance;\n }\n\n /**\n * Given a desired position and available space around the bound element, returns the best position\n * that fits the popover, trying all positions if needed.\n * Takes into account offsetModifier for centering.\n * @param desiredPosition The desired position of the popover.\n * @param availableSpace The available space around the bound element.\n */\n private getOptimalPopoverPosition(desiredPosition: PopoverPosition, availableSpace: Offsets): PopoverPosition {\n const hostWidth = this.host.offsetWidth;\n const hostHeight = this.host.offsetHeight;\n const boundElementWidth = this.boundElement.getBoundingClientRect().width;\n const boundElementHeight = this.boundElement.getBoundingClientRect().height;\n const offsetModifier = this.offsetModifier;\n\n /** Check if there is enough space to fit the popover in the desired position */\n const fits = (pos: PopoverPosition): boolean => {\n switch (pos) {\n case PopoverPosition.TOP:\n return (\n availableSpace.top >= hostHeight - this.spaceTolerance &&\n this.hasCenteredHorizontalSpace(availableSpace.left, availableSpace.right, hostWidth, boundElementWidth)\n );\n case PopoverPosition.TOP_RIGHT:\n return (\n availableSpace.top >= hostHeight &&\n this.hasEnoughSideSpace(availableSpace.right, hostWidth, boundElementWidth, offsetModifier)\n );\n case PopoverPosition.TOP_LEFT:\n return (\n availableSpace.top >= hostHeight &&\n this.hasEnoughSideSpace(availableSpace.left, hostWidth, boundElementWidth, offsetModifier)\n );\n case PopoverPosition.RIGHT:\n return (\n availableSpace.right >= hostWidth &&\n this.hasCenteredVerticalSpace(availableSpace.top, availableSpace.bottom, hostHeight, boundElementHeight)\n );\n case PopoverPosition.RIGHT_BOTTOM:\n return (\n availableSpace.right >= hostWidth &&\n this.hasEnoughSideSpace(availableSpace.bottom, hostHeight, boundElementHeight, offsetModifier)\n );\n case PopoverPosition.RIGHT_TOP:\n return (\n availableSpace.right >= hostWidth &&\n this.hasEnoughSideSpace(availableSpace.top, hostHeight, boundElementHeight, offsetModifier)\n );\n case PopoverPosition.BOTTOM:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasCenteredHorizontalSpace(availableSpace.left, availableSpace.right, hostWidth, boundElementWidth)\n );\n case PopoverPosition.BOTTOM_LEFT:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasEnoughSideSpace(availableSpace.left, hostWidth, boundElementWidth, offsetModifier)\n );\n case PopoverPosition.BOTTOM_RIGHT:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasEnoughSideSpace(availableSpace.right, hostWidth, boundElementWidth, offsetModifier)\n );\n case PopoverPosition.LEFT:\n return (\n availableSpace.left >= hostWidth &&\n this.hasCenteredVerticalSpace(availableSpace.top, availableSpace.bottom, hostHeight, boundElementHeight)\n );\n case PopoverPosition.LEFT_TOP:\n return (\n availableSpace.left >= hostWidth &&\n this.hasEnoughSideSpace(availableSpace.top, hostHeight, boundElementHeight, offsetModifier)\n );\n case PopoverPosition.LEFT_BOTTOM:\n return (\n availableSpace.left >= hostWidth &&\n this.hasEnoughSideSpace(availableSpace.bottom, hostHeight, boundElementHeight, offsetModifier)\n );\n\n default:\n return false;\n }\n };\n\n // Check desired position first\n if (fits(desiredPosition)) {\n return desiredPosition;\n }\n\n // Find position index and create rotation starting from next position\n const positions = ZPopover.positionOrder;\n const startIndex = positions.indexOf(desiredPosition);\n\n if (startIndex === -1) {\n return desiredPosition; // fallback if position not found\n }\n\n // Try all other positions starting from the next one\n for (let i = 1; i < positions.length; i++) {\n const posIndex = (startIndex + i) % positions.length;\n const pos = positions[posIndex];\n if (fits(pos)) {\n return pos;\n }\n }\n\n return this.findBestFallbackPosition(availableSpace);\n }\n\n /** Find the best fallback position based on available space when no position fits perfectly. */\n private findBestFallbackPosition(availableSpace: Offsets): PopoverPosition {\n // Determine which horizontal and vertical direction has the most available space\n const bestHorizontalDirection =\n availableSpace.right >= availableSpace.left ? PopoverPosition.RIGHT : PopoverPosition.LEFT;\n\n const bestVerticalDirection =\n availableSpace.bottom >= availableSpace.top ? PopoverPosition.BOTTOM : PopoverPosition.TOP;\n\n // Choose the main direction based on which axis has more space overall\n const maxHorizontalSpace = Math.max(availableSpace.right, availableSpace.left);\n const maxVerticalSpace = Math.max(availableSpace.bottom, availableSpace.top);\n\n const mainDirection = maxVerticalSpace >= maxHorizontalSpace ? bestVerticalDirection : bestHorizontalDirection;\n\n // Decide if a secondary direction is needed\n // Only add a secondary direction if the difference between min and max in that axis is at least double\n let needsSecondaryDirection = false;\n\n if (mainDirection === bestVerticalDirection) {\n // If main direction is vertical, check horizontal space difference\n const minHorizontalSpace = Math.min(availableSpace.right, availableSpace.left);\n needsSecondaryDirection = maxHorizontalSpace >= minHorizontalSpace * 2;\n } else {\n // If main direction is horizontal, check vertical space difference\n const minVerticalSpace = Math.min(availableSpace.bottom, availableSpace.top);\n needsSecondaryDirection = maxVerticalSpace >= minVerticalSpace * 2;\n }\n\n if (!needsSecondaryDirection) {\n return mainDirection;\n }\n\n const secondaryDirection =\n mainDirection === bestVerticalDirection ? bestHorizontalDirection : bestVerticalDirection;\n\n // Return a combined position (e.g., \"bottom_right\")\n return `${mainDirection}_${secondaryDirection}` as PopoverPosition;\n }\n\n /**\n * Find the nearest scrollable ancestor of an element to take as a reference for positioning.\n * The ancestor is considered scrollable if it doesn't have `overflow` property set to `hidden` and its scroll size is bigger than its client size.\n */\n private findScrollableAncestor(element: HTMLElement): HTMLElement {\n let parent = getParentElement(element);\n\n while (parent) {\n if (parent === element.ownerDocument.documentElement) {\n return parent as HTMLElement;\n }\n\n const style = getComputedStyle(parent);\n const {overflow, overflowX, overflowY} = style;\n const hasHiddenOverflow = overflow === \"hidden\" || overflowY === \"hidden\" || overflowX === \"hidden\";\n const isScrollable =\n (parent.scrollHeight > parent.clientHeight && overflow !== \"visible\" && overflowY !== \"visible\") ||\n (parent.scrollWidth > parent.clientWidth && overflow !== \"visible\" && overflowX !== \"visible\");\n\n if (!hasHiddenOverflow && isScrollable) {\n return parent as HTMLElement;\n }\n\n parent = getParentElement(parent);\n }\n\n return element.ownerDocument.documentElement;\n }\n\n /**\n * Calculate available space around the element bound with the popover, based on its nearest scrollable ancestor.\n *\n * Calculations for `right` and `bottom` can be a little bit confusing because `boundingRect.right` and `bottom` may not be what you expect...\n * For more information see the explanation in the docs.\n * @link https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect#return_value\n */\n private calculateAvailableSpace(): Offsets {\n const boundElementRect = this.boundElement.getBoundingClientRect();\n\n if (\n this.lastBoundRect &&\n this.lastBoundRect.x === boundElementRect.x &&\n this.lastBoundRect.y === boundElementRect.y &&\n this.lastBoundRect.width === boundElementRect.width &&\n this.lastBoundRect.height === boundElementRect.height &&\n this.cachedAvailableSpace\n ) {\n // If the bound element's rect hasn't changed, return the cached rect\n return this.cachedAvailableSpace;\n }\n\n this.lastBoundRect = boundElementRect;\n const scrollableAncestor = this.findScrollableAncestor(this.boundElement);\n const scrollableAncestorRect = scrollableAncestor.getBoundingClientRect();\n const isScrollableAncestorNested = scrollableAncestor !== this.boundElement.ownerDocument.documentElement;\n const documentWidth = this.boundElement.ownerDocument.documentElement.clientWidth;\n const documentHeight = this.boundElement.ownerDocument.documentElement.clientHeight;\n const safeSpace = 8; // extra space to avoid popover being too close to the edges\n\n // These deltas represent the offset between the scrollable ancestor and the viewport.\n // They are used to adjust the available space calculations when the scrollable ancestor is not the document or body,\n // to try to fit the popover inside the scrollable ancestor.\n const deltaTop = isScrollableAncestorNested ? scrollableAncestorRect.top : 0;\n const deltaRight = isScrollableAncestorNested ? documentWidth - scrollableAncestorRect.right : 0;\n const deltaBottom = isScrollableAncestorNested ? documentHeight - scrollableAncestorRect.bottom : 0;\n const deltaLeft = isScrollableAncestorNested ? scrollableAncestorRect.left : 0;\n\n this.cachedAvailableSpace = {\n top: boundElementRect.top - deltaTop - safeSpace,\n right: documentWidth - boundElementRect.right - deltaRight - safeSpace,\n bottom: documentHeight - boundElementRect.bottom - deltaBottom - safeSpace,\n left: boundElementRect.left - deltaLeft - safeSpace,\n };\n\n return this.cachedAvailableSpace;\n }\n\n /** Calculate the space around the bound element relative to the viewport. */\n private getBoundElementOffsets(): Offsets {\n const elementRect = this.boundElement.getBoundingClientRect();\n const documentWidth = this.boundElement.ownerDocument.documentElement.clientWidth;\n const documentHeight = this.boundElement.ownerDocument.documentElement.clientHeight;\n\n return {\n top: elementRect.top,\n right: documentWidth - elementRect.right,\n bottom: documentHeight - elementRect.bottom,\n left: elementRect.left,\n };\n }\n\n /** Compute positioning offsets in the appropriate coordinate space, accounting for transformed containing blocks and scroll. */\n private computePositionOffsets(): Offsets {\n const boundElementOffsets = this.getBoundElementOffsets();\n const containingBlockAncestor = findContainingBlockAncestor(this.host);\n const isDocumentElement = containingBlockAncestor === this.host.ownerDocument.documentElement;\n\n if (isDocumentElement) {\n return boundElementOffsets;\n }\n\n const containingBlockRect = containingBlockAncestor.getBoundingClientRect();\n const containingBlockStyle = getComputedStyle(containingBlockAncestor);\n /** Padding box of the containing block, accounting for borders. */\n const paddingBox = {\n top: containingBlockRect.top + parseFloat(containingBlockStyle.borderTopWidth),\n right: containingBlockRect.right - parseFloat(containingBlockStyle.borderRightWidth),\n bottom: containingBlockRect.bottom - parseFloat(containingBlockStyle.borderBottomWidth),\n left: containingBlockRect.left + parseFloat(containingBlockStyle.borderLeftWidth),\n };\n\n const boundElementRect = this.boundElement.getBoundingClientRect();\n /** Bound element offsets relative to the containing block padding box. */\n const relativeOffsets = {\n top: boundElementRect.top - paddingBox.top,\n right: paddingBox.right - boundElementRect.right,\n bottom: paddingBox.bottom - boundElementRect.bottom,\n left: boundElementRect.left - paddingBox.left,\n };\n\n /** Account for scroll to keep the popover aligned while the containing block scrolls. */\n return {\n top: relativeOffsets.top + containingBlockAncestor.scrollTop,\n right: relativeOffsets.right - containingBlockAncestor.scrollLeft,\n bottom: relativeOffsets.bottom - containingBlockAncestor.scrollTop,\n left: relativeOffsets.left + containingBlockAncestor.scrollLeft,\n };\n }\n\n /** Apply positioning styles based on `position` parameter. */\n private applyPositionStyles(position: PopoverPosition, availableSpace: Offsets): void {\n const boundElementWidth = this.boundElement.offsetWidth;\n const boundElementHeight = this.boundElement.offsetHeight;\n const offsetModifier = this.offsetModifier;\n /**\n * Distance between the arrow center and the popover edge.\n * Needed to align the center of the arrow with the center of the bound element when `showArrow` and `center` are enabled.\n */\n const arrowModifier = this.showArrow && this.center ? 8 : 0;\n const hostStyle = this.host.style;\n /** Gap between the popover and the bound element, set as margin in CSS. */\n const distanceFromBound = parseFloat(getComputedStyle(this.host).marginTop.replace(\"px\", \"\")) || 0;\n const positionOffsets = this.computePositionOffsets();\n\n /**\n * Precomputed bases to reduce repeated arithmetic in the switch below.\n * They represent the bound element edges plus optional centering offsets.\n */\n const leftBase = positionOffsets.left + boundElementWidth * offsetModifier;\n const rightBase = positionOffsets.right + boundElementWidth * offsetModifier;\n const topBase = positionOffsets.top + boundElementHeight;\n const bottomBase = positionOffsets.bottom + boundElementHeight;\n const sideTopBase = positionOffsets.top + boundElementHeight * offsetModifier;\n const sideBottomBase = positionOffsets.bottom + boundElementHeight * offsetModifier;\n\n let maxWidth: number;\n let maxHeight: number;\n\n switch (position) {\n case PopoverPosition.TOP:\n case PopoverPosition.TOP_RIGHT:\n hostStyle.bottom = `${bottomBase}px`;\n hostStyle.left = `${leftBase - (position === PopoverPosition.TOP_RIGHT ? arrowModifier : 0)}px`;\n maxHeight = availableSpace.top - distanceFromBound;\n if (position === PopoverPosition.TOP_RIGHT) {\n maxWidth = availableSpace.right + boundElementWidth * offsetModifier;\n }\n break;\n\n case PopoverPosition.TOP_LEFT:\n hostStyle.right = `${rightBase - arrowModifier}px`;\n hostStyle.bottom = `${bottomBase}px`;\n maxWidth = availableSpace.left + boundElementWidth * offsetModifier;\n maxHeight = availableSpace.top - distanceFromBound;\n break;\n\n case PopoverPosition.BOTTOM:\n case PopoverPosition.BOTTOM_RIGHT:\n hostStyle.top = `${topBase}px`;\n hostStyle.left = `${leftBase - (position === PopoverPosition.BOTTOM_RIGHT ? arrowModifier : 0)}px`;\n maxHeight = availableSpace.bottom - distanceFromBound;\n if (position === PopoverPosition.BOTTOM_RIGHT) {\n maxWidth = availableSpace.right + boundElementWidth * offsetModifier;\n }\n break;\n\n case PopoverPosition.BOTTOM_LEFT:\n hostStyle.top = `${topBase}px`;\n hostStyle.right = `${rightBase - arrowModifier}px`;\n maxWidth = availableSpace.left + boundElementWidth * offsetModifier;\n maxHeight = availableSpace.bottom - distanceFromBound;\n break;\n\n case PopoverPosition.RIGHT:\n case PopoverPosition.RIGHT_BOTTOM:\n hostStyle.top = `${sideTopBase - (position === PopoverPosition.RIGHT_BOTTOM ? arrowModifier : 0)}px`;\n hostStyle.left = `${positionOffsets.left + boundElementWidth}px`;\n maxWidth = availableSpace.right - distanceFromBound;\n if (position === PopoverPosition.RIGHT) {\n maxHeight = availableSpace.top + availableSpace.bottom + boundElementHeight;\n } else {\n maxHeight = availableSpace.bottom + boundElementHeight * offsetModifier;\n }\n break;\n\n case PopoverPosition.RIGHT_TOP:\n hostStyle.bottom = `${sideBottomBase - arrowModifier}px`;\n hostStyle.left = `${positionOffsets.left + boundElementWidth}px`;\n maxWidth = availableSpace.right - distanceFromBound;\n maxHeight = availableSpace.top + boundElementHeight * offsetModifier;\n break;\n\n case PopoverPosition.LEFT:\n case PopoverPosition.LEFT_BOTTOM:\n hostStyle.top = `${sideTopBase - (position === PopoverPosition.LEFT_BOTTOM ? arrowModifier : 0)}px`;\n hostStyle.right = `${positionOffsets.right + boundElementWidth}px`;\n maxWidth = availableSpace.left - distanceFromBound;\n if (position === PopoverPosition.LEFT_BOTTOM) {\n maxHeight = availableSpace.bottom + boundElementHeight * offsetModifier;\n }\n break;\n\n case PopoverPosition.LEFT_TOP:\n hostStyle.right = `${positionOffsets.right + boundElementWidth}px`;\n hostStyle.bottom = `${sideBottomBase - arrowModifier}px`;\n maxWidth = availableSpace.left - distanceFromBound;\n maxHeight = availableSpace.top + boundElementHeight * offsetModifier;\n break;\n }\n\n if (getDevice() !== Device.MOBILE) {\n // Only force max sizes on non-mobile viewports\n Object.assign(hostStyle, {\n maxWidth: maxWidth ? `${maxWidth}px` : \"\",\n maxHeight: maxHeight ? `${maxHeight}px` : \"\",\n });\n }\n }\n\n /** Set the position of the popover. */\n private setPosition(): void {\n if (!this.boundElement) {\n return;\n }\n\n if (!isElementVisibleInContainer(this.boundElement, this.findScrollableAncestor(this.boundElement))) {\n // If the bound element is not visible, hide the popover too\n this.open = false;\n\n return;\n }\n\n Object.assign(this.host.style, {\n // Reset all positioning properties\n top: \"auto\",\n right: \"auto\",\n bottom: \"auto\",\n left: \"auto\",\n maxWidth: \"\",\n maxHeight: \"\",\n // Set initial visibility to hidden while calculating position...\n visibility: \"hidden\",\n });\n\n const availableSpace = this.calculateAvailableSpace();\n const position = this.getOptimalPopoverPosition(this.position, availableSpace);\n\n this.applyPositionStyles(position, availableSpace);\n this.currentPosition = position;\n this.positionChange.emit({position: this.currentPosition});\n\n // ...then restore the visibility\n this.host.style.visibility = \"visible\";\n }\n\n componentWillLoad(): void {\n this.validatePosition(this.position);\n }\n\n componentDidLoad(): void {\n this.findBoundElement();\n if (this.open) {\n this.onOpen();\n }\n }\n\n disconnectedCallback(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n }\n\n render(): HTMLZPopoverElement {\n return (\n <Host current-position={this.currentPosition}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"0MAAA,MAAMA,EAAY,+iGAClB,MAAAC,EAAeD,E,MC+BFE,EAAQ,M,+GAoEFC,KAAAC,eAAiB,E,cA7DLC,EAAgBC,I,UAQtC,M,qCAWK,M,YAIH,M,cAQE,K,+BAkDX,wBAAAC,CAAyBC,GACvB,GAAIL,KAAKM,UAAYD,EAAEE,MAAQC,EAAaC,IAAK,CAC/CJ,EAAEK,kBACFV,KAAKW,KAAO,K,EAUhB,kBAAAC,CAAmBP,GACjB,MAAMQ,EAASR,EAAEQ,OACjB,IAAKb,KAAKM,WAAaN,KAAKW,MAAQG,EAAgBd,KAAKe,KAAMF,GAAS,CACtE,M,CAGF,GAAIC,EAAgBd,KAAKgB,aAAcH,GAAS,CAE9CR,EAAEK,iB,CAEJV,KAAKW,KAAO,K,CAId,gBAAAM,CAAiBC,GACf,IAAKC,OAAOC,OAAOlB,GAAiBmB,SAASH,IAAgCA,IAAahB,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l","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,yumBAAuCJ,EAAA","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- {
2
- "name": "web-components-library-loader",
3
- "private": true,
4
- "typings": "./index.d.ts",
5
- "module": "./index.js",
6
- "main": "./index.cjs.js",
7
- "jsnext:main": "./index.es2017.js",
8
- "es2015": "./index.es2017.js",
9
- "es2017": "./index.es2017.js",
10
- "unpkg": "./cdn.js"
11
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../src-react/components.ts"],"names":[],"mappings":";;;;AAAA,oBAAoB;AACpB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A,MAAM,GAAgB,IAAA,0CAAoB,EAAgC,SAAS,CAAC,CAAC;AACrF,QAAA,GAAG,GAAgB,IAAA,0CAAoB,EAA0B,MAAM,CAAC,CAAC;AACzE,QAAA,MAAM,GAAgB,IAAA,0CAAoB,EAAgC,SAAS,CAAC,CAAC;AACrF,QAAA,kBAAkB,GAAgB,IAAA,0CAAoB,EAAwD,sBAAsB,CAAC,CAAC;AACtI,QAAA,sBAAsB,GAAgB,IAAA,0CAAoB,EAAgE,2BAA2B,CAAC,CAAC;AACvJ,QAAA,aAAa,GAAgB,IAAA,0CAAoB,EAA8C,iBAAiB,CAAC,CAAC;AAClH,QAAA,aAAa,GAAgB,IAAA,0CAAoB,EAA8C,iBAAiB,CAAC,CAAC;AAClH,QAAA,KAAK,GAAgB,IAAA,0CAAoB,EAA8B,QAAQ,CAAC,CAAC;AACjF,QAAA,QAAQ,GAAgB,IAAA,0CAAoB,EAAoC,WAAW,CAAC,CAAC;AAC7F,QAAA,QAAQ,GAAgB,IAAA,0CAAoB,EAAoC,WAAW,CAAC,CAAC;AAC7F,QAAA,GAAG,GAAgB,IAAA,0CAAoB,EAA0B,MAAM,CAAC,CAAC;AACzE,QAAA,SAAS,GAAgB,IAAA,0CAAoB,EAAsC,aAAa,CAAC,CAAC;AAClG,QAAA,eAAe,GAAgB,IAAA,0CAAoB,EAAkD,mBAAmB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src-react/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createComponent.js","sourceRoot":"","sources":["../../src-react/react-component-lib/createComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA6C;AAE7C,mCAAwH;AAWjH,MAAM,oBAAoB,GAAG,CAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC,EA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AAgB,EAAC,SAAS,CAAC,EAAE,CAAC;wBACnE,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;oBACpB,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,yEAAyE;oBACzE,qEAAqE;oBACrE,MAAM,IAAI,GAAG,OAAO,KAAK,CAAC;oBAE1B,IAAI,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;wBACjE,GAAG,CAAC,IAAA,uBAAe,EAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC;oBACrC,CAAC;gBACH,CAAC;gBACD,OAAO,GAAG,CAAC;YACb,CAAC,EAAE,EAAwB,CAAC,CAAC;YAE7B,IAAI,uBAAuB,EAAE,CAAC;gBAC5B,WAAW,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;YACjE,CAAC;YAED,MAAM,QAAQ,mCACT,WAAW,KACd,GAAG,EAAE,IAAA,iBAAS,EAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,EACpD,KAAK,GACN,CAAC;YAEF;;;;;;eAMG;YACH,OAAO,IAAA,qBAAa,EAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACpD,CAAC;QAED,MAAM,KAAK,WAAW;YACpB,OAAO,WAAW,CAAC;QACrB,CAAC;KACF,CAAC;IAEF,iGAAiG;IACjG,IAAI,qBAAqB,EAAE,CAAC;QAC1B,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAC;IACrD,CAAC;IAED,OAAO,IAAA,wBAAgB,EAAwB,cAAc,EAAE,WAAW,CAAC,CAAC;AAC9E,CAAC,CAAC;AA5FW,QAAA,oBAAoB,wBA4F/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOverlayComponent.js","sourceRoot":"","sources":["../../src-react/react-component-lib/createOverlayComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;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AC,CAAC;QACxG,CAAC;KACF;IAED,OAAO,eAAK,CAAC,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACzD,OAAO,8BAAC,OAAO,oBAAK,KAAK,IAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAzHW,QAAA,sBAAsB,0BAyHjC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src-react/react-component-lib/index.ts"],"names":[],"mappings":";;;AAAA,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src-react/react-component-lib/interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachProps.js","sourceRoot":"","sources":["../../../src-react/react-component-lib/utils/attachProps.ts"],"names":[],"mappings":";;;AAAA,iCAAyC;AAElC,MAAM,WAAW,GAAG,CAAC,IAAiB,EAAE,QAAa,EAAE,WAAgB,EAAE,EAAE,EAAE;IAClF,6GAA6G;IAC7G,IAAI,IAAI,YAAY,OAAO,EAAE,CAAC;QAC5B,iDAAiD;QACjD,MAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACnE,IAAI,SAAS,KAAK,EAAE,EAAE,CAAC;YACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC7B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACrC,IACE,IAAI,KAAK,UAAU;gBACnB,IAAI,KAAK,OAAO;gBAChB,IAAI,KAAK,KAAK;gBACd,IAAI,KAAK,OAAO;gBAChB,IAAI,KAAK,WAAW;gBACpB,IAAI,KAAK,cA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C,GAA4B,EAAE,EAAE;IAClD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAkB,CAAC;IACrC,GAAgB,CAAC,OAAO,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACxD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"case.js","sourceRoot":"","sources":["../../../src-react/react-component-lib/utils/case.ts"],"names":[],"mappings":";;;AAAO,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE,CAC9C,GAAG;KACA,WAAW,EAAE;KACb,KAAK,CAAC,GAAG,CAAC;KACV,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACpE,IAAI,CAAC,EAAE,CAAC,CAAC;AALD,QAAA,gBAAgB,oBAKf;AACP,MAAM,eAAe,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AAApG,QAAA,eAAe,mBAAqF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dev.js","sourceRoot":"","sources":["../../../src-react/react-component-lib/utils/dev.ts"],"names":[],"mappings":";;;AAAO,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,OAAO,OAAO,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC;AAC1E,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB;AAEF,MAAM,QAAQ,GAA+B,EAAE,CAAC;AAEzC,MAAM,kBAAkB,GAAG,CAAC,GAAW,EAAE,OA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AAC;IACF,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;IAErC,OAAO,eAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC,CAAC;AAVW,QAAA,gBAAgB,oBAU3B;AAEK,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,aAAkB,EAAE,EAAE;IACzE,IAAI,aAAa,KAAK,SAAS,IAAI,OAAO,cAAc,KAAK,WAAW,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACzG,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAChD,CAAC;AACH,CAAC,CAAC;AAJW,QAAA,mBAAmB,uBAI9B;AAEF,gDAA8B;AAC9B,yCAAuB"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["UTILS","colorFromId"],"sources":["src/index.ts"],"sourcesContent":["import {colorFromId} from \"./utils/utils\";\n\nconst UTILS = {\n colorFromId,\n};\n\nexport * from \"./beans\";\nexport * from \"./components\";\nexport {ICONS, IconName} from \"./constants/iconset\";\nexport {UTILS as Utils};\n"],"mappings":"+0CAEMA,GAAQ,CACZC,uB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as n,a as i,g as a}from"./p-75c4a726.js";const o=':host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column;--z-menu-label-color:var(--color-default-text)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:"";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-primary01)}::slotted([data-text])::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active){border-color:var(--color-primary01);font-weight:var(--font-bd)}';const s=o;const l=class{toggle(){if(!this.hasContent){return}this.open=!this.open;this.open?this.opened.emit():this.closed.emit()}handleClick(e){if(!this.floating||!this.open||this.hostElement.contains(e.target)){return}this.reflow();this.open=false;this.closed.emit()}onOpenChanged(){if(this.open){this.reflow(true)}else{cancelAnimationFrame(this.raf)}}constructor(n){e(this,n);this.opened=t(this,"opened",7);this.closed=t(this,"closed",7);this.active=undefined;this.floating=false;this.open=false;this.verticalContext=false;this.hasHeader=undefined;this.hasContent=undefined;this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onItemsChange=this.onItemsChange.bind(this)}componentWillLoad(){this.checkContent()}onLabelSlotChange(e){const t=e.target.assignedElements()[0];t.dataset.text=t===null||t===void 0?void 0:t.textContent}reflow(e=false){if(this.content){const{style:e}=this.content;const{left:t}=this.hostElement.getBoundingClientRect();const n=getComputedStyle(this.content).width;const i=n?parseFloat(n.replace("px","")):375;const a=30;e.left=`${Math.min(window.innerWidth-t-i-a,0)}px`}if(e){this.raf=requestAnimationFrame(this.reflow.bind(this,e))}}checkContent(){this.hasHeader=!!this.hostElement.querySelectorAll("[slot=header]").length;this.hasContent=!!this.hostElement.querySelectorAll("[slot=item]").length||this.hasHeader}onItemsChange(){this.checkContent();const e=this.hostElement.querySelectorAll("[slot=item]");e.forEach((e=>{e.setAttribute("role","menuitem");e.dataset.text=e.textContent}))}renderMenuLabel(){if(this.hasContent){return n("button",{class:"menu-label","aria-expanded":this.open?"true":"false","aria-label":this.open?"Chiudi menù":"Apri menù",onClick:this.toggle},n("div",{class:"menu-label-content"},n("slot",{onSlotchange:this.onLabelSlotChange}),n("z-icon",{name:this.open?"chevron-up":"chevron-down"})))}return n("div",{class:"menu-label"},n("div",{class:"menu-label-content"},n("slot",{onSlotchange:this.onLabelSlotChange})))}render(){return n(i,{key:"2e51f6e5df94d3903783dcb20fe66abdf59a1549"},this.renderMenuLabel(),this.hasContent&&n("div",{key:"b9c3ba5e930a06834d4de361b6dc30a1db9c6ae6",class:"content",ref:e=>this.content=e},this.hasHeader&&n("header",{key:"eaa017e5442ed56ebb70453e9717e737d3da1e1b",class:"header"},n("slot",{key:"bd28e8f9b2922f2839a6bdaa4794ca26c7b2b030",name:"header",onSlotchange:this.checkContent})),n("div",{key:"b948fbb21e94debc85b07a4d03c85628d4b23268",class:"items",role:"menu"},n("slot",{key:"5299535cab84e8b4812401eff27951386ed16573",name:"item",onSlotchange:this.onItemsChange}))))}get hostElement(){return a(this)}static get watchers(){return{open:["onOpenChanged"]}}};l.style=s;export{l as z_menu_deprecated};
2
- //# sourceMappingURL=p-03a558ef.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZMenuDeprecatedStyle0","ZMenuDeprecated","toggle","this","hasContent","open","opened","emit","closed","handleClick","ev","floating","hostElement","contains","target","reflow","onOpenChanged","cancelAnimationFrame","raf","constructor","hostRef","bind","checkContent","onLabelSlotChange","onItemsChange","componentWillLoad","labelElement","assignedElements","dataset","text","textContent","live","content","style","left","getBoundingClientRect","widthPx","getComputedStyle","width","parseFloat","replace","safeScrollbarSpace","Math","min","window","innerWidth","requestAnimationFrame","hasHeader","querySelectorAll","length","items","forEach","item","setAttribute","renderMenuLabel","h","class","onClick","onSlotchange","name","render","Host","key","ref","el","role"],"sources":["src/components/deprecated/z-menu-deprecated/styles.css?tag=z-menu-deprecated&encapsulation=shadow","src/components/deprecated/z-menu-deprecated/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n}\n\n:host {\n position: relative;\n display: inline-flex;\n flex-direction: column;\n\n --z-menu-label-color: var(--color-default-text);\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n outline: none;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n z-index: 1;\n padding-right: calc(var(--space-unit) * 0.5);\n padding-left: calc(var(--space-unit) * 0.5);\n margin-right: calc(var(--space-unit) * -0.5);\n margin-left: calc(var(--space-unit) * -0.5);\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*) {\n letter-spacing: normal;\n}\n\n:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible) {\n box-shadow: none !important;\n}\n\n/* border */\n:host(:is([active], [open], [vertical-context])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n content: \"\";\n pointer-events: none;\n}\n\n:host([vertical-context]) .menu-label-content::after {\n height: var(--border-size-small);\n background-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text])::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.menu-label .menu-label-content ::slotted(*) {\n display: inline-flex;\n width: 100%;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-5);\n font-weight: inherit;\n letter-spacing: 0.36px; /* increasing the letter spacing of the regular text helps reduce the size difference between regular and bold text */\n line-height: 1.2;\n outline: none;\n}\n\n.menu-label .menu-label-content ::slotted(*),\n.menu-label .menu-label-content z-icon {\n padding: var(--space-unit) 0;\n}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu-deprecated\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuDeprecated {\n @Element() hostElement: HTMLZMenuDeprecatedElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = false;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n private content: HTMLElement;\n\n /** Animation frame request id. */\n private raf: number;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n this.open ? this.opened.emit() : this.closed.emit();\n }\n\n /** Close the floating list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.floating || !this.open || this.hostElement.contains(ev.target as Element)) {\n return;\n }\n\n this.reflow();\n this.open = false;\n this.closed.emit();\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (this.open) {\n this.reflow(true);\n } else {\n cancelAnimationFrame(this.raf);\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content) {\n const {style} = this.content;\n const {left} = this.hostElement.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.hostElement.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.hostElement.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items.\n * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).\n */\n private onItemsChange(): void {\n this.checkContent();\n const items = this.hostElement.querySelectorAll<HTMLElement>(\"[slot=item]\");\n items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.dataset.text = item.textContent;\n });\n }\n\n private renderMenuLabel(): HTMLButtonElement | HTMLDivElement {\n if (this.hasContent) {\n return (\n <button\n class=\"menu-label\"\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n onClick={this.toggle}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n );\n }\n\n return (\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n </div>\n </div>\n );\n }\n\n render(): HTMLZMenuElement {\n return (\n <Host>\n {this.renderMenuLabel()}\n\n {this.hasContent && (\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n ></slot>\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n ></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAY,o3HAClB,MAAAC,EAAeD,E,MCYFE,EAAe,MA6ClB,MAAAC,GACN,IAAKC,KAAKC,WAAY,CACpB,M,CAGFD,KAAKE,MAAQF,KAAKE,KAClBF,KAAKE,KAAOF,KAAKG,OAAOC,OAASJ,KAAKK,OAAOD,M,CAK/C,WAAAE,CAAYC,GACV,IAAKP,KAAKQ,WAAaR,KAAKE,MAAQF,KAAKS,YAAYC,SAAS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/C,KAAKS,YAAYoC,iBAA8B,eAC7DE,EAAMC,SAASC,IACbA,EAAKC,aAAa,OAAQ,YAC1BD,EAAKxB,QAAQC,KAAOuB,EAAKtB,WAAW,G,CAIhC,eAAAwB,GACN,GAAInD,KAAKC,WAAY,CACnB,OACEmD,EAAA,UACEC,MAAM,aAAY,gBACHrD,KAAKE,KAAO,OAAS,QAAO,aAC/BF,KAAKE,KAAO,cAAgB,YACxCoD,QAAStD,KAAKD,QAEdqD,EAAA,OAAKC,MAAM,sBACTD,EAAA,QAAMG,aAAcvD,KAAKoB,oBACzBgC,EAAA,UAAQI,KAAMxD,KAAKE,KAAO,aAAe,kB,CAMjD,OACEkD,EAAA,OAAKC,MAAM,cACTD,EAAA,OAAKC,MAAM,sBACTD,EAAA,QAAMG,aAAcvD,KAAKoB,qB,CAMjC,MAAAqC,GACE,OACEL,EAACM,EAAI,CAAAC,IAAA,4CACF3D,KAAKmD,kBAELnD,KAAKC,YACJmD,EAAA,OAAAO,IAAA,2CACEN,MAAM,UACNO,IAAMC,GAAQ7D,KAAK6B,QAAUgC,GAE5B7D,KAAK4C,WACJQ,EAAA,UAAAO,IAAA,2CAAQN,MAAM,UACZD,EAAA,QAAAO,IAAA,2CACEH,KAAK,SACLD,aAAcvD,KAAKmB,gBAKzBiC,EAAA,OAAAO,IAAA,2CACEN,MAAM,QACNS,KAAK,QAELV,EAAA,QAAAO,IAAA,2CACEH,KAAK,OACLD,aAAcvD,KAAKqB,kB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{g as t,p as r}from"./p-86618221.js";import{B as e}from"./p-5145a606.js";function n(t){switch(t){case true:case"true":case 1:case"1":case"on":case"yes":return true;case false:case"false":case 0:case"0":case"off":case"no":return false;default:return t}}function a(){return Math.random().toString(36).replace("0.","")}function s(r,e,...n){if(r.code===t.ENTER||r.code===t.SPACE){r.preventDefault();e(...n)}}function c(r,e,...n){if(r.code===t.ENTER){r.preventDefault();e(...n)}}function i(t=null){if(!t){t=document.activeElement}if(t&&t.shadowRoot&&t.shadowRoot.activeElement){t=t.shadowRoot.activeElement;return i(t)}return t}function o(t,r=[]){r.push(t);if(t.parentElement){t=t.parentElement;return o(t,r)}else if(t.parentNode&&t.parentNode.host){t=t.parentNode.host;return o(t,r)}return r}function u(){switch(true){case window.innerWidth<=e.MOBILE:return r.MOBILE;case window.innerWidth<=e.TABLET:return r.TABLET;case window.innerWidth<=e.DESKTOP:return r.DESKTOP;default:return r.DESKTOP_WIDE}}function f(t){try{return JSON.parse(t)}catch(t){return false}}function l(t){const r="avatar-C";const e=19;const n=Math.ceil(2**31-1)*parseFloat(`0.${t}`);let a=Math.ceil(e*(n%1));if(a===0){a=1}return`${r}${a.toString().padStart(2,"0")}`}function w(t,r){var e;if(t.contains(r)||((e=t.shadowRoot)===null||e===void 0?void 0:e.contains(r))){return true}const n=t=>{if(t===r){return true}const e=t.shadowRoot;if(!e){return Array.from(t.childNodes).some(n)}if(e.contains(r)){return true}const a=Array.from(e.querySelectorAll("slot")).some((t=>t.assignedNodes({flatten:true}).some((t=>{var e,a;return((a=(e=t).contains)===null||a===void 0?void 0:a.call(e,r))||n(t)}))));if(a){return true}return Array.from(e.children).some(n)||Array.from(t.childNodes).some(n)};return n(t)}function d(t){if(t.assignedSlot){return t.assignedSlot}if(t.parentNode instanceof ShadowRoot){return t.parentNode.host}return t.parentElement}function h(t,r){const e=t.getBoundingClientRect();const n=t.ownerDocument.documentElement.clientWidth;const a=t.ownerDocument.documentElement.clientHeight;const s=e.bottom>0&&e.top<a&&e.right>0&&e.left<n;if(r===t.ownerDocument.documentElement||r===t.ownerDocument.body){return s}const c=r.getBoundingClientRect();const i=e.bottom>c.top&&e.top<c.bottom&&e.right>c.left&&e.left<c.right;return i&&s}function p(t){let r=d(t);const e=window.getComputedStyle(t).position;while(r&&r!==t.ownerDocument.documentElement){const t=window.getComputedStyle(r);switch(e){case"fixed":{const e=["filter","transform","translate","perspective","scale","rotate","backdrop-filter"];if(e.some((r=>t.getPropertyValue(r)!=="none"))||e.some((r=>t.getPropertyValue("will-change").includes(r)))){return r}break}case"absolute":if(t.position!=="static"){return r}break;case"relative":case"sticky":case"static":{const t=window.getComputedStyle(r).display;if(t==="block"||t==="flex"||t==="grid"||t==="table"||t==="flow-root"||t==="inline-block"||t==="inline-flex"||t==="inline-grid"){return r}break}}r=d(r)}return t.ownerDocument.documentElement}const b=t=>{const r=(new DOMParser).parseFromString(t,"text/html");return r.body.textContent||""};export{w as a,n as b,l as c,s as d,b as e,o as f,u as g,c as h,i,f as j,d as k,p as l,h as m,a as r};
2
- //# sourceMappingURL=p-061e28d6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["boolean","value","randomId","Math","random","toString","replace","handleKeyboardSubmit","ev","callback","args","code","KeyboardCode","ENTER","SPACE","preventDefault","handleEnterKeydSubmit","getClickedElement","elem","document","activeElement","shadowRoot","getElementTree","tree","push","parentElement","parentNode","host","getDevice","window","innerWidth","Breakpoints","MOBILE","Device","TABLET","DESKTOP","DESKTOP_WIDE","convertJson","data","JSON","parse","_a","colorFromId","id","prefix","colorsCount","seed","ceil","parseFloat","color","padStart","containsElement","ancestor","descendant","contains","checkRecursive","node","Array","from","childNodes","some","hasDescendantInAssignedNodes","querySelectorAll","slot","assignedNodes","flatten","assigned","_b","call","children","getParentElement","element","assignedSlot","ShadowRoot","isElementVisibleInContainer","container","elemRect","getBoundingClientRect","documentWidth","ownerDocument","documentElement","clientWidth","documentHeight","clientHeight","isVisibleInViewport","bottom","top","right","left","body","containerRect","isVisibleInContainer","findContainingBlockAncestor","parent","elementPosition","getComputedStyle","position","parentStyle","affectingProperties","property","getPropertyValue","includes","display","getPlainText","html","doc","DOMParser","parseFromString","textContent"],"sources":["src/utils/utils.ts"],"sourcesContent":["import {ChildNode} from \"@stencil/core\";\nimport {Device, KeyboardCode} from \"../beans/index\";\nimport {Breakpoints} from \"../constants/breakpoints\";\n\n/**\n * Return boolean value for passed value if a boolean corresponding value is found\n * Return passed value otherwise\n */\nexport function boolean(value: string | number | boolean): boolean | string | number {\n switch (value) {\n case true:\n case \"true\":\n case 1:\n case \"1\":\n case \"on\":\n case \"yes\":\n return true;\n case false:\n case \"false\":\n case 0:\n case \"0\":\n case \"off\":\n case \"no\":\n return false;\n default:\n return value;\n }\n}\n\nexport function retrieveAsset(assetName: string): string {\n return assetName && \"assets/images/png/\" + assetName;\n}\n\nexport function randomId(): string {\n return Math.random().toString(36).replace(\"0.\", \"\");\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function handleKeyboardSubmit(ev: KeyboardEvent, callback: (...args) => void, ...args: any[]): void {\n if (ev.code === KeyboardCode.ENTER || ev.code === KeyboardCode.SPACE) {\n ev.preventDefault();\n callback(...args);\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function handleEnterKeydSubmit(ev: KeyboardEvent, callback: (...args) => void, ...args: any[]): void {\n if (ev.code === KeyboardCode.ENTER) {\n ev.preventDefault();\n callback(...args);\n }\n}\n\nexport function getClickedElement(elem: null | Element = null): null | Element {\n if (!elem) {\n elem = document.activeElement;\n }\n\n if (elem && elem.shadowRoot && elem.shadowRoot.activeElement) {\n elem = elem.shadowRoot.activeElement;\n\n return getClickedElement(elem);\n }\n\n return elem;\n}\n\nexport function getElementTree(elem: Element, tree: Element[] = []): null | Element[] {\n tree.push(elem);\n\n if (elem.parentElement) {\n elem = elem.parentElement;\n\n return getElementTree(elem, tree);\n } else if (elem.parentNode && (elem.parentNode as ShadowRoot).host) {\n elem = (elem.parentNode as ShadowRoot).host;\n\n return getElementTree(elem, tree);\n }\n\n return tree;\n}\n\nexport function getSiblings(elem: HTMLElement): ChildNode[] {\n const siblings = [];\n if (!elem || !elem.parentNode || !elem.parentNode.childNodes) {\n return siblings;\n }\n\n elem.parentNode.childNodes.forEach((child) => {\n if (child.nodeType === 1 && child !== elem) {\n siblings.push(child);\n }\n });\n\n return siblings;\n}\n\n/**\n * Get the current device type based on the window width.\n * @returns {Device} - The current device type\n */\nexport function getDevice(): Device {\n switch (true) {\n case window.innerWidth <= Breakpoints.MOBILE:\n return Device.MOBILE;\n case window.innerWidth <= Breakpoints.TABLET:\n return Device.TABLET;\n case window.innerWidth <= Breakpoints.DESKTOP:\n return Device.DESKTOP;\n default:\n return Device.DESKTOP_WIDE;\n }\n}\n\ntype JSONValue = string | number | boolean | JSONObject | JSONArray;\ninterface JSONObject {\n [x: string]: JSONValue;\n}\ntype JSONArray = JSONValue[];\n\nexport function convertJson(data: string): JSONValue {\n try {\n return JSON.parse(data);\n } catch {\n return false;\n }\n}\n\nexport function colorFromId(id: number): string {\n const prefix = \"avatar-C\"; // prefix for color vars name\n const colorsCount = 19; // available colors\n const seed = Math.ceil(2 ** 31 - 1) * parseFloat(`0.${id}`);\n let color = Math.ceil(colorsCount * (seed % 1));\n\n // if result of mc is 0\n // es.: 3895229\n if (color === 0) {\n color = 1;\n }\n\n return `${prefix}${color.toString().padStart(2, \"0\")}`;\n}\n\n/**\n * Check if the passed CSS selector is valid.\n * @param selector CSS selector to validate\n */\nexport function isSelectorValid(selector: string): boolean {\n try {\n document.createDocumentFragment().querySelector(selector);\n\n return true;\n } catch {\n return false;\n }\n}\n\n/**\n * Check if an element contains another element, checking both light and shadow DOM recursively.\n * This function also checks slot assignments, so it correctly handles nested slots across components.\n * @param ancestor Ancestor element\n * @param descendant Descendant element\n */\nexport function containsElement(ancestor: HTMLElement, descendant: Node): boolean {\n if (ancestor.contains(descendant) || ancestor.shadowRoot?.contains(descendant)) {\n return true;\n }\n\n const checkRecursive = (node: Node): boolean => {\n if (node === descendant) {\n return true;\n }\n\n const shadowRoot = (node as HTMLElement).shadowRoot;\n if (!shadowRoot) {\n // Check light DOM children only\n return Array.from(node.childNodes).some(checkRecursive);\n }\n\n if (shadowRoot.contains(descendant)) {\n return true;\n }\n\n // Check slot assigned nodes\n const hasDescendantInAssignedNodes = Array.from(shadowRoot.querySelectorAll(\"slot\")).some((slot) =>\n (slot as HTMLSlotElement)\n .assignedNodes({flatten: true})\n .some((assigned) => (assigned as HTMLElement).contains?.(descendant) || checkRecursive(assigned))\n );\n if (hasDescendantInAssignedNodes) {\n return true;\n }\n\n // Check shadow and light DOM children\n return Array.from(shadowRoot.children).some(checkRecursive) || Array.from(node.childNodes).some(checkRecursive);\n };\n\n return checkRecursive(ancestor);\n}\n\n/** Get the parent of passed element, accounting for shadow DOM.\n * @param element The element whose parent is to be found.\n */\nexport function getParentElement(element: Element): Element | null {\n // If the element is slotted, the direct rendered parent is the target slot in shadow DOM.\n if (element.assignedSlot) {\n return element.assignedSlot;\n }\n\n // If the element is in a shadow root, the parent is the shadow host.\n if (element.parentNode instanceof ShadowRoot) {\n return element.parentNode.host;\n }\n\n // Otherwise fall back to standard light DOM parent.\n return element.parentElement;\n}\n\n/**\n * Check if the `element` is visible within the `container` or in the viewport.\n * @param element The element to check.\n * @param container The container to check against, which must be the nearest scrollable ancestor.\n */\nexport function isElementVisibleInContainer(element: HTMLElement, container: HTMLElement): boolean {\n const elemRect = element.getBoundingClientRect();\n const documentWidth = element.ownerDocument.documentElement.clientWidth;\n const documentHeight = element.ownerDocument.documentElement.clientHeight;\n\n // Check if element is visible in viewport\n const isVisibleInViewport =\n elemRect.bottom > 0 && elemRect.top < documentHeight && elemRect.right > 0 && elemRect.left < documentWidth;\n\n // If container is the document element, only check viewport visibility\n if (container === element.ownerDocument.documentElement || container === element.ownerDocument.body) {\n return isVisibleInViewport;\n }\n\n // For other containers, check both container and viewport visibility\n const containerRect = container.getBoundingClientRect();\n const isVisibleInContainer =\n elemRect.bottom > containerRect.top &&\n elemRect.top < containerRect.bottom &&\n elemRect.right > containerRect.left &&\n elemRect.left < containerRect.right;\n\n return isVisibleInContainer && isVisibleInViewport;\n}\n\n/**\n * Find the nearest containing block ancestor of an element.\n * The containing block is determined based on the element's `position` value:\n * - `static`, `sticky` or `relative`: nearest block container or root\n * - `absolute`: nearest ancestor with `position` != `static`\n * - `fixed`: nearest ancestor with properties that create a containing block (`transform`, `filter`, `will-change`, `backdrop-filter`, `perspective`, etc.).\n * An ancestor with these properties will create a containing block for fixed positioned elements, making them behave like absolute positioned elements relative to that ancestor.\n *\n * @link https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Display/Containing_block#identifying_the_containing_block\n * @param element The element for which to find the containing block\n * @returns The containing block element if any, or the `documentElement`\n */\nexport function findContainingBlockAncestor(element: HTMLElement): HTMLElement {\n let parent = getParentElement(element);\n const elementPosition = window.getComputedStyle(element).position;\n while (parent && parent !== element.ownerDocument.documentElement) {\n const parentStyle = window.getComputedStyle(parent);\n\n switch (elementPosition) {\n case \"fixed\": {\n const affectingProperties = [\n \"filter\",\n \"transform\",\n \"translate\",\n \"perspective\",\n \"scale\",\n \"rotate\",\n \"backdrop-filter\",\n ];\n if (\n affectingProperties.some((property) => parentStyle.getPropertyValue(property) !== \"none\") ||\n affectingProperties.some((property) => parentStyle.getPropertyValue(\"will-change\").includes(property))\n ) {\n return parent as HTMLElement;\n }\n break;\n }\n case \"absolute\":\n if (parentStyle.position !== \"static\") {\n return parent as HTMLElement;\n }\n break;\n // Handle position: static, relative, sticky (they all look for the nearest block container or root)\n case \"relative\":\n case \"sticky\":\n case \"static\": {\n const display = window.getComputedStyle(parent).display;\n\n // Block containers: block, flex, grid, table, flow-root\n if (\n display === \"block\" ||\n display === \"flex\" ||\n display === \"grid\" ||\n display === \"table\" ||\n display === \"flow-root\" ||\n display === \"inline-block\" ||\n display === \"inline-flex\" ||\n display === \"inline-grid\"\n ) {\n return parent as HTMLElement;\n }\n\n break;\n }\n }\n\n parent = getParentElement(parent);\n }\n\n return element.ownerDocument.documentElement;\n}\n\n/** Convert HTML to plain text */\nexport const getPlainText = (html: string): string => {\n const doc = new DOMParser().parseFromString(html, \"text/html\");\n\n return doc.body.textContent || \"\";\n};\n"],"mappings":"wFAQgBA,EAAQC,GACtB,OAAQA,GACN,KAAK,KACL,IAAK,OACL,KAAK,EACL,IAAK,IACL,IAAK,KACL,IAAK,MACH,OAAO,KACT,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,CAG5B,OAAOtB,EAAQQ,cAAcC,eAC/B,C,MAGauB,EAAgBC,IAC3B,MAAMC,GAAM,IAAIC,WAAYC,gBAAgBH,EAAM,aAElD,OAAOC,EAAIhB,KAAKmB,aAAe,EAAE,S","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,a as o,g as e}from"./p-75c4a726.js";import{g as i}from"./p-86618221.js";const r=":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";const a=r;const n=class{constructor(s){t(this,s);this.toolItems=[];this.htmlAriaLabel=undefined;this.currentFocusIndex=0}componentDidLoad(){this.collectToolItems();this.updateTabIndexes();let t=parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns")||"6");t=this.toolItems.length<=t?this.toolItems.length:t;this.hostElement.style.setProperty("--z-toolbar-columns",t.toString())}collectToolItems(){this.toolItems=Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"))}updateTabIndexes(){this.toolItems.forEach(((t,s)=>{t.setTabIndex(s===this.currentFocusIndex?0:-1)}))}focusToolAt(t,s="next"){const o=this.toolItems[t];if(!o){return}this.currentFocusIndex=t;if(!o.disabled){o.setFocus();this.updateTabIndexes();return}if(s==="next"){this.focusNextTool()}else{this.focusPreviousTool()}}focusNextTool(){const t=(this.currentFocusIndex+1)%this.toolItems.length;this.focusToolAt(t)}focusPreviousTool(){const t=(this.currentFocusIndex-1+this.toolItems.length)%this.toolItems.length;this.focusToolAt(t,"previous")}closeSiblingSubmenusOnOpen(t){if(t.detail!==true){return}const s=t.target.closest("z-tool");if(!s||!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s&&t.open){t.open=false}}))}closeSiblingTooltipsOnOpen(t){if(t.detail!==true){return}const s=t.target;if(!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s){t.closeTooltip()}}))}handleKeyDown(t){const s=t.target;const o=s.closest("z-tool");if(!o||!this.toolItems.includes(o)){return}const e=this.toolItems.indexOf(o);if(e!==-1){this.currentFocusIndex=e}switch(t.key){case i.ARROW_RIGHT:t.preventDefault();this.focusNextTool();break;case i.ARROW_LEFT:t.preventDefault();this.focusPreviousTool();break}}handleFocusIn(t){const s=t.target;const o=s.closest("z-tool");const e=this.toolItems.indexOf(o);if(e!==-1&&e!==this.currentFocusIndex){this.currentFocusIndex=e;this.updateTabIndexes()}}render(){return s(o,{key:"eb195bd6bb7d19e7958492c96761572838e2a881",role:"toolbar","aria-label":this.htmlAriaLabel},s("slot",{key:"6283d32e6e5568a890ff9c404d152800269cda99",onSlotchange:()=>{this.collectToolItems();this.updateTabIndexes()}}))}get hostElement(){return e(this)}};n.style=a;export{n as z_toolbar};
2
- //# sourceMappingURL=p-0989655c.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZToolbarStyle0","ZToolbar","this","toolItems","componentDidLoad","collectToolItems","updateTabIndexes","mobileColumnCount","parseInt","getComputedStyle","hostElement","getPropertyValue","length","style","setProperty","toString","Array","from","querySelectorAll","forEach","tool","index","setTabIndex","currentFocusIndex","focusToolAt","fallback","disabled","setFocus","focusNextTool","focusPreviousTool","nextIndex","prevIndex","closeSiblingSubmenusOnOpen","event","detail","targetTool","target","closest","includes","open","closeSiblingTooltipsOnOpen","closeTooltip","handleKeyDown","toolElement","focusedIndex","indexOf","key","KeyboardCode","ARROW_RIGHT","preventDefault","ARROW_LEFT","handleFocusIn","render","h","Host","role","htmlAriaLabel","onSlotchange"],"sources":["src/components/z-toolbar/styles.css?tag=z-toolbar&encapsulation=shadow","src/components/z-toolbar/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n:host {\n display: flex;\n width: fit-content;\n align-items: center;\n padding: 0;\n border: var(--border-size-small) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: calc(var(--border-radius) + var(--border-size-small)); /* ensure correct radius for nested items */\n box-shadow: var(--shadow-4);\n gap: calc(var(--space-unit) / 2);\n}\n\n::slotted(z-divider) {\n height: calc(var(--space-unit) * 4.5) !important;\n}\n\n@media (max-width: 767px) {\n :host {\n --z-toolbar-columns: 6;\n\n position: relative;\n display: grid;\n max-width: 100%;\n\n /* Draws a horizontal separator line between rows */\n background: repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);\n gap: var(--border-size-small) calc(var(--space-unit) / 2);\n grid-template-columns: repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto));\n }\n\n ::slotted(z-divider) {\n display: none !important;\n }\n}\n","import {Component, Element, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {ZToolCustomEvent} from \"../../components\";\n\n/**\n * ZToolbar component. This component mainly serves as a container for `z-tool` elements, but can also be nested inside a `z-tool` to create submenus.\n * Implements WCAG toolbar pattern with roving tabindex keyboard navigation.\n * Tools can be visually grouped using `z-divider` elements as separators.\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/\n *\n * @cssprop --z-toolbar-columns - Number of items per row in the toolbar. Only applies on mobile viewport, when the toolbar can be displayed in a multi-row layout. Default: `6`.\n */\n@Component({\n tag: \"z-toolbar\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToolbar {\n @Element() hostElement: HTMLZToolbarElement;\n\n /** Accessible label for the toolbar. */\n @Prop()\n htmlAriaLabel?: string;\n\n /** Index of the currently focusable item (roving tabindex). */\n @State()\n currentFocusIndex = 0;\n\n /** List of focusable tool elements. */\n private toolItems: HTMLZToolElement[] = [];\n\n componentDidLoad(): void {\n this.collectToolItems();\n this.updateTabIndexes();\n // set css variable `--z-toolbar-columns` based on the number of tools in the toolbar, so that the background pattern can adapt to the number of rows\n let mobileColumnCount = parseInt(getComputedStyle(this.hostElement).getPropertyValue(\"--z-toolbar-columns\") || \"6\");\n mobileColumnCount = this.toolItems.length <= mobileColumnCount ? this.toolItems.length : mobileColumnCount;\n this.hostElement.style.setProperty(\"--z-toolbar-columns\", mobileColumnCount.toString());\n }\n\n /** Collect first level children `z-tool` elements in the toolbar (not nested ones). */\n private collectToolItems(): void {\n this.toolItems = Array.from(this.hostElement.querySelectorAll(\"z-tool:not(:scope z-tool z-tool)\"));\n }\n\n /**\n * Update the `tabindex` of all children tools based on the current focus index,\n * so that only the currently focusable tool is in the tab order (tabindex=\"0\") and all others are not focusable via keyboard (tabindex=\"-1\").\n */\n private updateTabIndexes(): void {\n this.toolItems.forEach((tool, index) => {\n tool.setTabIndex(index === this.currentFocusIndex ? 0 : -1);\n });\n }\n\n private focusToolAt(index: number, fallback: \"previous\" | \"next\" = \"next\"): void {\n const tool = this.toolItems[index];\n if (!tool) {\n return;\n }\n\n this.currentFocusIndex = index;\n if (!tool.disabled) {\n tool.setFocus();\n this.updateTabIndexes();\n\n return;\n }\n\n if (fallback === \"next\") {\n this.focusNextTool();\n } else {\n this.focusPreviousTool();\n }\n }\n\n private focusNextTool(): void {\n const nextIndex = (this.currentFocusIndex + 1) % this.toolItems.length;\n this.focusToolAt(nextIndex);\n }\n\n private focusPreviousTool(): void {\n const prevIndex = (this.currentFocusIndex - 1 + this.toolItems.length) % this.toolItems.length;\n this.focusToolAt(prevIndex, \"previous\");\n }\n\n /**\n * Listen for custom \"toggleSubmenu\" events from child tools and close sibling submenus when one is opened,\n * to prevent multiple submenus from being open at the same time.\n */\n @Listen(\"toggleSubmenu\")\n closeSiblingSubmenusOnOpen(event: ZToolCustomEvent<boolean>): void {\n if (event.detail !== true) {\n return;\n }\n\n const targetTool = (event.target as HTMLElement).closest(\"z-tool\") as HTMLZToolElement | null;\n if (!targetTool || !this.toolItems.includes(targetTool)) {\n return;\n }\n\n this.toolItems.forEach((tool) => {\n if (tool !== targetTool && tool.open) {\n tool.open = false;\n }\n });\n }\n\n /**\n * Listen for custom \"toggleTooltip\" events from child tools and close sibling tooltips when one is opened,\n * to prevent multiple tooltips from being open at the same time.\n */\n @Listen(\"toggleTooltip\")\n closeSiblingTooltipsOnOpen(event: ZToolCustomEvent<boolean>): void {\n if (event.detail !== true) {\n return;\n }\n\n const targetTool = event.target;\n if (!this.toolItems.includes(targetTool)) {\n return;\n }\n\n this.toolItems.forEach((tool) => {\n if (tool !== targetTool) {\n tool.closeTooltip();\n }\n });\n }\n\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.target as HTMLElement;\n const toolElement = target.closest(\"z-tool\") as HTMLZToolElement;\n\n if (!toolElement || !this.toolItems.includes(toolElement)) {\n return;\n }\n\n const focusedIndex = this.toolItems.indexOf(toolElement);\n if (focusedIndex !== -1) {\n this.currentFocusIndex = focusedIndex;\n }\n\n switch (event.key) {\n case KeyboardCode.ARROW_RIGHT:\n event.preventDefault();\n this.focusNextTool();\n break;\n case KeyboardCode.ARROW_LEFT:\n event.preventDefault();\n this.focusPreviousTool();\n break;\n }\n }\n\n /**\n * When focus enters the toolbar, update the current focus index to match the focused tool,\n * so that roving tabindex is in sync with actual focus.\n */\n @Listen(\"focusin\")\n handleFocusIn(event: FocusEvent): void {\n const target = event.target as HTMLElement;\n const toolElement = target.closest(\"z-tool\") as HTMLZToolElement;\n const index = this.toolItems.indexOf(toolElement);\n if (index !== -1 && index !== this.currentFocusIndex) {\n this.currentFocusIndex = index;\n this.updateTabIndexes();\n }\n }\n\n render(): HTMLZToolbarElement {\n return (\n <Host\n role=\"toolbar\"\n aria-label={this.htmlAriaLabel}\n >\n <slot\n onSlotchange={() => {\n this.collectToolItems();\n this.updateTabIndexes();\n }}\n ></slot>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAY,ohCAClB,MAAAC,EAAeD,E,MCgBFE,EAAQ,M,yBAYXC,KAAAC,UAAgC,G,oDAHpB,C,CAKpB,gBAAAC,GACEF,KAAKG,mBACLH,KAAKI,mBAEL,IAAIC,EAAoBC,SAASC,iBAAiBP,KAAKQ,aAAaC,iBAAiB,wBAA0B,KAC/GJ,EAAoBL,KAAKC,UAAUS,QAAUL,EAAoBL,KAAKC,UAAUS,OAASL,EACzFL,KAAKQ,YAAYG,MAAMC,YAAY,sBAAuBP,EAAkBQ,W,CAItE,gBAAAV,GACNH,KAAKC,UAAYa,MAAMC,KAAKf,KAAKQ,YAAYQ,iBAAiB,oC,CAOxD,gBAAAZ,GACNJ,KAAKC,UAAUgB,SAAQ,CAACC,EAAMC,KAC5BD,EAAKE,YAAYD,IAAUnB,KAAKqB,kBAAoB,GAAK,EAAE,G,CAIvD,WAAAC,CAAYH,EAAeI,EAAgC,QACjE,MAAML,EAAOlB,KAAKC,UAAUkB,GAC5B,IAAKD,EAAM,CACT,M,CAGFlB,KAAKqB,kBAAoBF,EACzB,IAAKD,EAAKM,SAAU,CAClBN,EAAKO,WACLzB,KAAKI,mBAEL,M,CAGF,GAAImB,IAAa,OAAQ,CACvBvB,KAAK0B,e,KACA,CACL1B,KAAK2B,mB,EAID,aAAAD,GACN,MAAME,GAAa5B,KAAKqB,kBAAoB,GAAKrB,KAAKC,UAAUS,OAChEV,KAAKsB,YAAYM,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C,GACE,OACEC,EAACC,EAAI,CAAAR,IAAA,2CACHS,KAAK,UAAS,aACFrD,KAAKsD,eAEjBH,EAAA,QAAAP,IAAA,2CACEW,aAAc,KACZvD,KAAKG,mBACLH,KAAKI,kBAAkB,I","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"8cf0706cb512e898631d0be8c684f71fdabae5ad",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"60d66f1cd2ce59f2fda0b2c0c3be76464aafee42"},a("z-icon",{key:"32fdcb582bb5be5e2fe65218c878b598a562aa90",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
2
- //# sourceMappingURL=p-15951fc6.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZMyzCardIconStyle0","ZMyzCardIcon","render","h","key","disabled","this","isdisabled","ariaLabel","name","icon","width","height"],"sources":["src/snowflakes/myz/card/z-myz-card-icon/styles.css?tag=z-myz-card-icon&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-icon/index.tsx"],"sourcesContent":["button {\n display: flex;\n width: 42px;\n width: calc(var(--space-unit) * 6);\n height: calc(var(--space-unit) * 5);\n height: calc(var(--space-unit) * 6);\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n border-left: var(--border-size-medium) solid var(--color-surface03);\n margin: 0;\n background: none;\n border-radius: 0 var(--border-radius) 0 0;\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n outline: none;\n}\n\nbutton:active,\nbutton:focus {\n color: var(--blue700);\n fill: var(--blue700);\n}\n\nbutton > span {\n display: flex;\n width: 28px;\n height: 28px;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: var(--border-radius);\n}\n\nbutton:hover > span {\n background: var(--color-primary03);\n}\n\nbutton:focus > span {\n background: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active > span {\n background: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2);\n}\n\nbutton:disabled {\n cursor: not-allowed;\n}\n\nbutton:disabled > span {\n background: none;\n box-shadow: var(--shadow-0);\n pointer-events: none;\n}\n\nbutton:disabled > span > z-icon {\n fill: var(--color-surface03);\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n","import {Component, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-myz-card-icon\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardIcon {\n /** icon name */\n @Prop()\n icon: string;\n\n /** disabled status flag */\n @Prop()\n isdisabled = false;\n\n /** description of the icon*/\n @Prop()\n ariaLabel = \"\";\n\n render(): HTMLButtonElement {\n return (\n <button\n disabled={this.isdisabled}\n aria-label={this.ariaLabel}\n >\n <span>\n <z-icon\n name={this.icon}\n width={16}\n height={16}\n />\n </span>\n </button>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAY,omCAClB,MAAAC,EAAeD,E,MCMFE,EAAY,M,6DAOV,M,eAID,E,CAEZ,MAAAC,GACE,OACEC,EAAA,UAAAC,IAAA,2CACEC,SAAUC,KAAKC,WAAU,aACbD,KAAKE,WAEjBL,EAAA,QAAAC,IAAA,4CACED,EAAA,UAAAC,IAAA,2CACEK,KAAMH,KAAKI,KACXC,MAAO,GACPC,OAAQ,M","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export{Z as z_th}from"./p-54cd104c.js";import"./p-75c4a726.js";import"./p-86618221.js";
2
- //# sourceMappingURL=p-17e2fed2.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"19c73e3cc4e553720f5fb782f73931737007f7a4",role:"listitem"},t("button",Object.assign({key:"b2bcbd197fe0ba3b90442544f354589394ac0007",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"bc7e3054c6ece39171d65a03360ff16502a46b3c",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e18deeb657c6ff859ba1e6cff18103550bf0a4db"},t("slot",{key:"7646d57e96b50b8268e5353003a118737687c2b5"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-19172b2c.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZStepperItemStyle0","ZStepperItem","getAttributes","href","this","pressed","disabled","onClick","location","undefined","role","current","tabindex","tabIndex","Object","assign","render","h","Host","key","class","checked","name","index"],"sources":["src/components/z-stepper-item/styles.css?tag=z-stepper-item&encapsulation=shadow","src/components/z-stepper-item/index.tsx"],"sourcesContent":[":host {\n position: relative;\n width: calc(var(--space-unit) * 5);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --z-icon-width: 20px;\n --z-icon-height: 20px;\n}\n\n:host(:not(:last-child)) {\n flex: 1;\n}\n\n:host(:not(:last-child))::after {\n position: absolute;\n z-index: 1;\n top: calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);\n right: calc(var(--space-unit) * 2);\n left: calc(var(--space-unit) * 3);\n display: block;\n width: auto;\n border-bottom: var(--border-size-medium) solid var(--color-disabled03);\n margin: 0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);\n content: \"\";\n}\n\n.stepper-item {\n display: flex;\n width: calc(var(--space-unit) * 5);\n flex-direction: column;\n align-items: center;\n padding: 0;\n border: 0;\n appearance: none;\n background: transparent;\n color: inherit;\n font-family: inherit;\n font-size: 12px;\n line-height: 16px;\n outline: 0;\n text-decoration: none;\n}\n\n.stepper-item span {\n display: none;\n width: calc(100% + calc(var(--space-unit) * 4));\n color: var(--color-default-text);\n text-align: center;\n}\n\n:host([href]:not([disabled], [pressed])) .stepper-item {\n cursor: pointer;\n}\n\n:host([disabled]) .stepper-item {\n pointer-events: none;\n}\n\n:host([pressed]),\n:host([pressed]) .stepper-item {\n pointer-events: none;\n}\n\n.indicator {\n display: flex;\n width: calc(var(--space-unit) * 4);\n height: calc(var(--space-unit) * 4);\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n border: var(--border-size-medium) solid var(--color-primary01);\n margin: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n border-radius: 50%;\n color: var(--color-primary01);\n content: counter(stepper);\n font-size: 14px;\n font-weight: var(--font-sb);\n line-height: 1;\n}\n\n:host([pressed]:not([disabled])) .indicator {\n border-color: var(--color-hover-primary);\n background: var(--color-hover-primary);\n color: var(--color-text-inverse);\n}\n\n:host([href]:not([disabled]):focus-within) .indicator {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([href]:not([disabled], [pressed], [checked])) .indicator:hover {\n border-color: var(--color-hover-primary);\n color: var(--color-hover-primary);\n}\n\n:host([disabled]) .indicator {\n border-color: var(--color-disabled02);\n background: var(--color-disabled01);\n color: var(--color-disabled03);\n}\n\n:host([checked]:not([disabled])) .indicator {\n border-color: var(--color-default-success);\n color: var(--color-default-success);\n}\n\n:host([checked]:not([disabled])) .indicator z-icon {\n fill: var(--color-default-success);\n}\n\n:host([checked]) .indicator z-icon > svg {\n width: 24px;\n height: 24px;\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n .stepper-item span {\n display: block;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host {\n width: calc(var(--space-unit) * 10);\n\n --z-icon-width: 24px;\n --z-icon-height: 24px;\n }\n\n :host(:not(:last-child))::after {\n top: calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);\n left: calc(var(--space-unit) * 8);\n }\n\n .stepper-item {\n width: calc(var(--space-unit) * 10);\n font-size: 18px;\n line-height: 28px;\n }\n\n .indicator {\n width: calc(var(--space-unit) * 6);\n height: calc(var(--space-unit) * 6);\n font-size: 16px;\n }\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-stepper-item\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZStepperItem {\n /**\n * The number of the step item.\n */\n @Prop({reflect: true})\n index: number;\n\n /**\n * The href to navigate on click.\n */\n @Prop({reflect: true})\n href: string;\n\n /**\n * The pressed state of the item.\n */\n @Prop({reflect: true})\n pressed: boolean;\n\n /**\n * The checked state of the item.\n */\n @Prop({reflect: true})\n checked: boolean;\n\n /**\n * The disabled state of the item.\n */\n @Prop({reflect: true})\n disabled: boolean;\n\n private getAttributes(): Record<string, unknown> {\n const href =\n this.href && !this.pressed && !this.disabled ? {onClick: () => (location.href = this.href)} : undefined;\n const role = href ? {role: \"link\"} : undefined;\n const current = this.pressed && !this.disabled ? {\"aria-current\": \"step\"} : undefined;\n const tabindex = this.pressed || this.href === \"\" ? {tabIndex: -1} : undefined;\n\n return {\n ...href,\n ...role,\n ...current,\n ...tabindex,\n };\n }\n\n render(): HTMLAnchorElement | HTMLButtonElement {\n return (\n <Host role=\"listitem\">\n <button\n class=\"stepper-item\"\n disabled={this.disabled}\n {...this.getAttributes()}\n >\n <div class=\"indicator\">{this.checked ? <z-icon name=\"checkmark\" /> : this.index}</div>\n <span>\n <slot />\n </span>\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,8vFAClB,MAAAC,EAAeD,E,MCMFE,EAAY,M,wIA+Bf,aAAAC,GACN,MAAMC,EACJC,KAAKD,OAASC,KAAKC,UAAYD,KAAKE,SAAW,CAACC,QAAS,IAAOC,SAASL,KAAOC,KAAKD,MAASM,UAChG,MAAMC,EAAOP,EAAO,CAACO,KAAM,QAAUD,UACrC,MAAME,EAAUP,KAAKC,UAAYD,KAAKE,SAAW,CAAC,eAAgB,QAAUG,UAC5E,MAAMG,EAAWR,KAAKC,SAAWD,KAAKD,OAAS,GAAK,CAACU,UAAW,GAAKJ,UAErE,OAAAK,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACKZ,GACAO,GACAC,GACAC,E,CAIP,MAAAI,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACT,KAAK,YACTO,EAAA,SAAAH,OAAAC,OAAA,CAAAI,IAAA,2CACEC,MAAM,eACNd,SAAUF,KAAKE,UACXF,KAAKF,iBAETe,EAAA,OAAAE,IAAA,2CAAKC,MAAM,aAAahB,KAAKiB,QAAUJ,EAAA,UAAQK,KAAK,cAAiBlB,KAAKmB,OAC1EN,EAAA,QAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,+C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as a,e as r}from"./p-86618221.js";const n=':host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-small, 18px)}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-x-small, 16px)}.z-info-reveal-panel{position:absolute;z-index:19;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{top:auto !important;bottom:auto !important;width:calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=a.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=r.BIG;this.open=false}adjustPanelPosition(){if(!this.open||!this.panel){return}const e=this.host.getBoundingClientRect();const i=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--grid-margin"),10);const t=document.documentElement.offsetWidth;const o=Math.round((this.position.includes("left")?t-e.left:e.right)-i);this.panel.style.maxWidth=`${o}px`}togglePanel(){this.open=!this.open}closePanel(){this.open=false}handleEscapeKey(e){if(e.key==="Escape"&&this.open){this.closePanel()}}render(){return i(t,{key:"1513bcc5c069d2139b545336a7727318c858715a",open:this.open},i("button",{key:"c9be4b8852ea1b3c304e0cb4ad4fb91cd6317b89",class:"z-info-reveal-trigger",type:"button",onClick:this.togglePanel.bind(this),"aria-label":!this.label?this.ariaLabel:undefined,"aria-expanded":this.open?"true":"false","aria-controls":"z-info-reveal-panel"},this.icon&&i("z-icon",{key:"28ca4682e7b5df0f0f32e35347ff5ee6fadf5e50",name:this.icon}),this.label&&i("span",{key:"5addb4ddd3faafda6c8643d601589ffa6401b736",class:"z-info-reveal-label"},this.label)),i("div",{key:"303f34b830370e5272ef88ebbcba57a7167f8ff8",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"df5e74f3c5b119ae6dd76d817e0f4040abddfdc7"}),i("button",{key:"cec932ffcdb5f5d1c2738f3ba5bf59621f3f114c",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"c47908d600b21d38fc3135755c83545ed78fffcb",name:"multiply"}))))}get host(){return o(this)}static get watchers(){return{position:["adjustPanelPosition"],open:["adjustPanelPosition"]}}};l.style=s;export{l as z_info_reveal};
2
- //# sourceMappingURL=p-1939116a.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZInfoRevealStyle0","ZInfoReveal","InfoRevealPosition","BOTTOM_RIGHT","ControlSize","BIG","adjustPanelPosition","this","open","panel","rect","host","getBoundingClientRect","gridMargin","parseInt","getComputedStyle","document","documentElement","getPropertyValue","pageWidth","offsetWidth","availableSpace","Math","round","position","includes","left","right","style","maxWidth","togglePanel","closePanel","handleEscapeKey","event","key","render","h","Host","class","type","onClick","bind","label","ariaLabel","undefined","icon","name","id","ref","el","hidden"],"sources":["src/components/z-info-reveal/styles.css?tag=z-info-reveal&encapsulation=shadow","src/components/z-info-reveal/index.tsx"],"sourcesContent":[":host {\n --z-info-reveal-panel-width: 384px; /* defaults half the size of the mobile breakpoint */\n --trigger-size: 44px;\n\n position: relative;\n}\n\n:host * {\n box-sizing: border-box;\n}\n\nbutton {\n --trigger-icon-size: calc(var(--trigger-size) / 2);\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n font-family: inherit;\n letter-spacing: inherit;\n}\n\nbutton:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-info-reveal-trigger {\n min-width: var(--trigger-size);\n height: var(--trigger-size);\n padding: calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n font-weight: var(--font-sb);\n line-height: 1rem;\n}\n\n:host([size=\"big\"]) .z-info-reveal-trigger {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"small\"]) .z-info-reveal-trigger {\n --trigger-size: 36px;\n\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) .z-info-reveal-trigger {\n --trigger-size: 32px;\n\n padding: var(--space-unit);\n font-size: var(--font-size-1);\n}\n\n:host > .z-info-reveal-trigger z-icon {\n --z-icon-width: var(--trigger-icon-size);\n --z-icon-height: var(--trigger-icon-size);\n\n display: flex;\n fill: var(--color-inverse-icon);\n}\n\n:host([size=\"small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-small, 18px);\n}\n\n:host([size=\"x-small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-x-small, 16px);\n}\n\n.z-info-reveal-panel {\n position: absolute;\n z-index: 19;\n display: flex;\n width: var(--z-info-reveal-panel-width);\n height: fit-content;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 1.5);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-4);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n}\n\n.z-info-reveal-panel[hidden] {\n display: none;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"top_right\"]) .z-info-reveal-panel {\n top: 0;\n}\n\n:host([position=\"bottom_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n bottom: 0;\n}\n\n:host([position=\"top_right\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n right: 0;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_left\"]) .z-info-reveal-panel {\n left: 0;\n}\n\n.z-info-reveal-panel .z-info-reveal-close {\n margin-left: auto;\n}\n\n.z-info-reveal-panel z-icon {\n fill: var(--color-inverse-icon);\n}\n\n@media (max-width: 767px) {\n .z-info-reveal-panel {\n top: auto !important;\n bottom: auto !important;\n width: calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;\n margin-top: calc(var(--trigger-size) * -1);\n }\n}\n","import {Component, Element, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../beans\";\n\n/**\n * Info reveal component.\n *\n * @slot - content of the info panel.\n * @cssprop --z-info-reveal-panel-width - Width of the info panel.\n * @cssprop --trigger-icon-size - Size of the trigger icon for big size.\n * @cssprop --trigger-icon-size-small - Size of the trigger icon for small size.\n * @cssprop --trigger-icon-size-x-small - Size of the trigger icon for x-small size.\n */\n@Component({\n tag: \"z-info-reveal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoReveal {\n /** Name of the icon for the trigger button */\n @Prop()\n icon? = \"informationsource\";\n\n /**\n * The position of the z-info-reveal in the page. This helps to correctly place the info panel.\n * The panel will grow in the opposite direction of the position.\n * For example, with the default position `BOTTOM_RIGHT`, the panel will grow vertically upwards and horizontally to the left.\n */\n @Prop({reflect: true})\n position?: InfoRevealPosition = InfoRevealPosition.BOTTOM_RIGHT;\n\n /** Label of the trigger button. */\n @Prop()\n label?: string;\n\n /** Aria label of the trigger button. It will be only used when `label` prop is empty. */\n @Prop()\n ariaLabel = \"Apri pannello informazioni\";\n\n /** Size of the trigger button */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n /** Whether the info panel is open. */\n @State()\n open = false;\n\n @Element() host: HTMLZInfoRevealElement;\n\n private panel: HTMLDivElement;\n\n /**\n * Adjust the position of the info panel to prevent exiting the viewport.\n */\n @Watch(\"position\")\n @Watch(\"open\")\n @Listen(\"resize\", {target: \"window\", passive: true})\n adjustPanelPosition(): void {\n if (!this.open || !this.panel) {\n return;\n }\n\n const rect = this.host.getBoundingClientRect();\n const gridMargin = parseInt(getComputedStyle(document.documentElement).getPropertyValue(\"--grid-margin\"), 10);\n const pageWidth = document.documentElement.offsetWidth;\n // Available space for the info panel to grow towards the edge of the page, based on the `position` prop.\n const availableSpace = Math.round(\n (this.position.includes(\"left\") ? pageWidth - rect.left : rect.right) - gridMargin\n );\n this.panel.style.maxWidth = `${availableSpace}px`;\n }\n\n /**\n * Toggle the open state of the info panel.\n */\n private togglePanel(): void {\n this.open = !this.open;\n }\n\n /**\n * Close the info panel.\n */\n private closePanel(): void {\n this.open = false;\n }\n\n @Listen(\"keydown\", {target: \"window\", capture: true})\n handleEscapeKey(event: KeyboardEvent): void {\n if (event.key === \"Escape\" && this.open) {\n this.closePanel();\n }\n }\n\n render(): HTMLZInfoRevealElement {\n return (\n <Host open={this.open}>\n <button\n class=\"z-info-reveal-trigger\"\n type=\"button\"\n onClick={this.togglePanel.bind(this)}\n aria-label={!this.label ? this.ariaLabel : undefined}\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-controls=\"z-info-reveal-panel\"\n >\n {this.icon && <z-icon name={this.icon} />}\n {this.label && <span class=\"z-info-reveal-label\">{this.label}</span>}\n </button>\n <div\n class=\"z-info-reveal-panel\"\n id=\"z-info-reveal-panel\"\n ref={(el) => (this.panel = el)}\n hidden={!this.open}\n >\n <slot></slot>\n <button\n class=\"z-info-reveal-close\"\n type=\"button\"\n onClick={this.closePanel.bind(this)}\n aria-label=\"Chiudi pannello informazioni\"\n >\n <z-icon name=\"multiply\" />\n </button>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,ghFAClB,MAAAC,EAAeD,E,MCgBFE,EAAW,M,mCAGd,oB,cAQwBC,EAAmBC,a,oCAQvC,6B,UAISC,EAAYC,I,UAI1B,K,CAYP,mBAAAC,GACE,IAAKC,KAAKC,OAASD,KAAKE,MAAO,CAC7B,M,CAGF,MAA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ative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const o=i;const n=class{constructor(t){a(this,t)}render(){return t(e,{key:"1d1f9c22822efd4ff78ada101c84a0989da9f71b",role:"navigation"},t("slot",{key:"f6068efbdab8ba800c82f5c89ed1e88e983ef369"}))}};n.style=o;export{n as z_stepper};
2
- //# sourceMappingURL=p-1e0d85d5.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZStepperStyle0","ZStepper","render","h","Host","key","role"],"sources":["src/components/z-stepper/styles.css?tag=z-stepper&encapsulation=shadow","src/components/z-stepper/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n flex-direction: row;\n padding: 0;\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n list-style: none;\n}\n\n@media (min-width: 768px) {\n :host {\n padding: 0 calc(var(--space-unit) * 2);\n }\n}\n","import {Component, Host, h} from \"@stencil/core\";\n\n/**\n * @slot - slot for `z-stepper-item`\n */\n@Component({\n tag: \"z-stepper\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZStepper {\n render(): HTMLSlotElement {\n return (\n <Host role=\"navigation\">\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,oRAClB,MAAAC,EAAeD,E,MCSFE,EAAQ,M,yBACnB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,cACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const e=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"94305f8465f9e9e34ada79c5dc36c4d074eec4fa",class:this.type},o("slot",{key:"21d8f259e4f432d809e4c034663984ff7a21ffeb"}))}};e.style=s;export{e as z_alert};
2
- //# sourceMappingURL=p-215b1fa5.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZAlertStyle0","ZAlert","render","h","key","class","this","type"],"sources":["src/snowflakes/myz/z-alert/styles.css?tag=z-alert&encapsulation=shadow","src/snowflakes/myz/z-alert/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-rg);\n line-height: calc(var(--space-unit) * 2);\n}\n\n:host > div {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host > .success {\n background: var(--color-inverse-success);\n fill: var(--color-default-success);\n}\n\n:host > .warning {\n background: var(--color-inverse-warning);\n fill: var(--color-default-warning);\n}\n\n:host > .error {\n background: var(--color-inverse-error);\n fill: var(--color-default-error);\n}\n","import {Component, Prop, h} from \"@stencil/core\";\nimport {AlertType} from \"../../../beans/index\";\n\n/**\n * @slot - alert content\n */\n\n@Component({\n tag: \"z-alert\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAlert {\n /** alert variant type */\n @Prop()\n type: AlertType;\n\n render(): HTMLDivElement {\n return (\n <div class={this.type}>\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAY,mfAClB,MAAAC,EAAeD,E,MCWFE,EAAM,M,6CAKjB,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAOC,KAAKC,MACfJ,EAAA,QAAAC,IAAA,6C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as o,h as r,a as e,g as a}from"./p-75c4a726.js";import{a0 as s}from"./p-86618221.js";import{a as i}from"./p-061e28d6.js";import"./p-5145a606.js";const c=':host{display:grid;width:fit-content;padding:calc(var(--space-unit) * 2);background:var(--color-surface01);gap:var(--space-unit);grid-template-columns:repeat(9, calc(var(--space-unit) * 3));grid-template-rows:repeat(5, calc(var(--space-unit) * 3))}:host,*{box-sizing:border-box}button{--border-color:var(--color-surface05);padding:0;border:none;appearance:none;background:none;border-radius:var(--border-radius);cursor:pointer}button[data-color="#FFFFFF00"]{position:relative}button[data-color="#FFFFFF00"]::after{position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );border-radius:var(--border-radius);content:""}button[aria-selected="true"]{box-shadow:0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary)}button:focus-visible{box-shadow:var(--shadow-focus-primary)}button .color-swatch{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--border-color);border-radius:var(--border-radius)}button[data-color="#FFFFFF00"]:disabled{--border-color:var(--color-disabled01-icon);cursor:not-allowed}button[data-color="#FFFFFF00"]:disabled .color-swatch{background-color:var(--color-disabled02)}';const n=c;const l={it:{"Select a color":"Seleziona un colore","Color swatch":"Campione di colore"},en:{"Select a color":"Select a color","Color swatch":"Color swatch"}};const d=5;const h=9;const u=class{constructor(r){t(this,r);this.colorSelected=o(this,"colorSelected",7);this.colorKeysByRow=[];this._colorButtons=[];this.selectedColor=undefined;this.lng="it";this.htmlAriaLabel=undefined;this.disableTransparent=false}get colorButtons(){if(!this._colorButtons.length){this._colorButtons=Array.from(this.host.shadowRoot.querySelectorAll("button"))}return this._colorButtons}sortColorKeysByRow(){const t=Object.keys(s);const o=[];for(let r=0;r<d;r++){for(let e=0;e<h;e++){const a=e*d+r;if(a<t.length){o.push(t[a])}}}return o}moveFocusTo(t){this.colorButtons.forEach(((o,r)=>o.tabIndex=r===t?0:-1));this.colorButtons[t].focus()}validateTransparentSelection(){if(this.disableTransparent&&this.selectedColor==="#FFFFFF00"){this.selectedColor="#333333"}}emitColorSelected(){this.colorSelected.emit(this.selectedColor)}async setFocus(){this.colorButtons.forEach((t=>t.tabIndex=-1));const t=this.colorButtons.find((t=>t.ariaSelected==="true"))||this.colorButtons.find((t=>!t.disabled));if(!t){return}t.tabIndex=0;setTimeout((()=>{t.focus()}),50);this.host.tabIndex=-1}getNextIndexByKey(t,o,r){const e=Math.floor(t/h);const a=t%h;let s=t;switch(o){case"ArrowRight":{const t=a+1;const o=t>=h?(e+1)%d:e;s=o*h+t%h;if(s>=r){s=0}break}case"ArrowLeft":{const t=a-1;const o=t<0?(e-1+d)%d:e;s=o*h+(t+h)%h;if(s>=r){s=r-1}break}case"ArrowDown":{let t=e+1;let o=a;if(t>=d){t=0;o=(a+1)%h}s=t*h+o;if(s>=r){s=0}break}case"ArrowUp":{let t=e-1;let o=a;if(t<0){t=d-1;o=(a-1+h)%h}s=t*h+o;if(s>=r){s=r-1}break}}return s}handleKeyDown(t){var o,r;const e=t.composedPath()[0];if(!e.dataset.color){return}const a=this.colorButtons.indexOf(e);const s=this.colorButtons.length;if(a<0||!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(t.key)){return}let i=a;let c=0;do{i=this.getNextIndexByKey(i,t.key,s);c++}while(c<s&&((o=this.colorButtons[i])===null||o===void 0?void 0:o.disabled));if(i!==a&&i>=0&&i<s&&!((r=this.colorButtons[i])===null||r===void 0?void 0:r.disabled)){this.moveFocusTo(i);t.preventDefault();t.stopPropagation()}}handleBlur(t){const o=t.relatedTarget;if(!i(this.host,o)){this.host.tabIndex=0;this.colorButtons.forEach((t=>t.tabIndex=-1))}}componentWillLoad(){this.colorKeysByRow=this.sortColorKeysByRow()}render(){return r(e,{key:"4fabea9e988ceec44c05e5885aa4ad0eb0ad5076",role:"listbox","aria-label":this.htmlAriaLabel||l[this.lng]["Select a color"],tabIndex:0},this.colorKeysByRow.map((t=>{var o;return r("button",{class:"color-swatch","data-color":t,role:"option","aria-selected":((o=this.selectedColor)===null||o===void 0?void 0:o.toUpperCase())===t.toUpperCase()?"true":"false",tabIndex:-1,onClick:()=>this.selectedColor=t,disabled:this.disableTransparent&&t==="#FFFFFF00"},r("div",{class:"color-swatch",role:"img","aria-roledescription":l[this.lng]["Color swatch"],"aria-label":s[t][this.lng],title:s[t][this.lng],style:{backgroundColor:t}}))})))}get host(){return a(this)}static get watchers(){return{disableTransparent:["validateTransparentSelection"],selectedColor:["validateTransparentSelection","emitColorSelected"]}}};u.style=n;export{u as z_color_picker};
2
- //# sourceMappingURL=p-22b683a3.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZColorPickerStyle0","LOCALES","it","en","COLOR_GROUP_SIZE","COLOR_GROUPS","ZColorPicker","this","colorKeysByRow","_colorButtons","colorButtons","length","Array","from","host","shadowRoot","querySelectorAll","sortColorKeysByRow","allKeys","Object","keys","ColorPickerPalette","ordered","row","col","columnMajorIndex","push","moveFocusTo","index","forEach","btn","i","tabIndex","focus","validateTransparentSelection","disableTransparent","selectedColor","emitColorSelected","colorSelected","emit","setFocus","firstSelectedOrEnabled","find","ariaSelected","disabled","setTimeout","getNextIndexByKey","currentIndex","key","totalColors","Math","floor","newIndex","newCol","newRow","handleKeyDown","event","target","composedPath","dataset","color","indexOf","includes","attempts","_a","_b","preventDefault","stopPropagation","handleBlur","relatedTarget","containsElement","componentWillLoad","render","h","Host","role","htmlAriaLabel","lng","map","colorKey","class","toUpperCase","onClick","title","style","backgroundColor"],"sources":["src/components/z-color-picker/styles.css?tag=z-color-picker&encapsulation=shadow","src/components/z-color-picker/index.tsx"],"sourcesContent":[":host {\n display: grid;\n width: fit-content;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n gap: var(--space-unit);\n grid-template-columns: repeat(9, calc(var(--space-unit) * 3));\n grid-template-rows: repeat(5, calc(var(--space-unit) * 3));\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\nbutton {\n --border-color: var(--color-surface05);\n\n padding: 0;\n border: none;\n appearance: none;\n background: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\nbutton[data-color=\"#FFFFFF00\"] {\n position: relative;\n}\n\n/* draw a diagonal line from top right corner */\nbutton[data-color=\"#FFFFFF00\"]::after {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );\n border-radius: var(--border-radius);\n content: \"\";\n}\n\nbutton[aria-selected=\"true\"] {\n box-shadow:\n 0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary);\n}\n\nbutton:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton .color-swatch {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--border-color);\n border-radius: var(--border-radius);\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled {\n --border-color: var(--color-disabled01-icon);\n\n cursor: not-allowed;\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled .color-swatch {\n background-color: var(--color-disabled02);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst LOCALES = {\n it: {\n \"Select a color\": \"Seleziona un colore\",\n \"Color swatch\": \"Campione di colore\",\n },\n en: {\n \"Select a color\": \"Select a color\",\n \"Color swatch\": \"Color swatch\",\n },\n} as const;\n\n/** Number of colors in each group (column) of the grid. */\nconst COLOR_GROUP_SIZE = 5;\n\n/** Number of color groups (columns) in the grid. */\nconst COLOR_GROUPS = 9;\n\n/**\n * Color picker component.\n * This component allows the user to pick a color from a predefined set.\n */\n@Component({\n tag: \"z-color-picker\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZColorPicker {\n @Element() host: HTMLZColorPickerElement;\n\n /**\n * The selected color to highlight.\n */\n @Prop({mutable: true})\n selectedColor: ColorPickerPalette;\n\n /**\n * The language for the aria labels inside the color picker.\n */\n @Prop()\n lng: \"it\" | \"en\" = \"it\";\n\n /**\n * The aria-label for the color picker, e.g. \"Select a background color for the label\".\n */\n @Prop()\n htmlAriaLabel: string;\n\n /**\n * Disables the transparent color option.\n * Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` (\"dark gray 2\").\n */\n @Prop()\n disableTransparent = false;\n\n /**\n * Event emitted when a color is selected.\n */\n @Event()\n colorSelected: EventEmitter<ColorPickerPalette>;\n\n /**\n * The color keys arranged in row-major order for rendering and navigation.\n */\n private colorKeysByRow: ColorPickerPalette[] = [];\n\n private _colorButtons: HTMLButtonElement[] = [];\n\n private get colorButtons(): HTMLButtonElement[] {\n if (!this._colorButtons.length) {\n this._colorButtons = Array.from(this.host.shadowRoot.querySelectorAll(\"button\")) as HTMLButtonElement[];\n }\n\n return this._colorButtons;\n }\n\n /**\n * Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).\n * This ensures button indices in the DOM match their visual position in the grid.\n */\n private sortColorKeysByRow(): ColorPickerPalette[] {\n const allKeys = Object.keys(ColorPickerPalette) as ColorPickerPalette[];\n const ordered: ColorPickerPalette[] = [];\n\n // Iterate through visual positions (row by row, left to right)\n for (let row = 0; row < COLOR_GROUP_SIZE; row++) {\n for (let col = 0; col < COLOR_GROUPS; col++) {\n const columnMajorIndex = col * COLOR_GROUP_SIZE + row;\n if (columnMajorIndex < allKeys.length) {\n ordered.push(allKeys[columnMajorIndex]);\n }\n }\n }\n\n return ordered;\n }\n\n /** Move focus to the specified color button by index. */\n private moveFocusTo(index: number): void {\n // Reset tabindex of other buttons and set tabindex to 0 on selected button\n this.colorButtons.forEach((btn, i) => (btn.tabIndex = i === index ? 0 : -1));\n this.colorButtons[index].focus();\n }\n\n @Watch(\"disableTransparent\")\n @Watch(\"selectedColor\")\n validateTransparentSelection(): void {\n if (this.disableTransparent && this.selectedColor === \"#FFFFFF00\") {\n this.selectedColor = \"#333333\"; // Default to dark gray 2 if transparent is disabled and currently selected\n }\n }\n\n @Watch(\"selectedColor\")\n emitColorSelected(): void {\n this.colorSelected.emit(this.selectedColor);\n }\n\n /**\n * Focuses the selected or first enabled color button and makes the container non-tabbable.\n */\n @Listen(\"focus\")\n @Method()\n async setFocus(): Promise<void> {\n // Reset tabindex of all buttons\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n const firstSelectedOrEnabled =\n this.colorButtons.find((btn) => btn.ariaSelected === \"true\") || this.colorButtons.find((btn) => !btn.disabled);\n if (!firstSelectedOrEnabled) {\n return;\n }\n\n firstSelectedOrEnabled.tabIndex = 0;\n setTimeout(() => {\n firstSelectedOrEnabled.focus();\n }, 50);\n // Set container as non-tabbable\n this.host.tabIndex = -1;\n }\n\n /**\n * Compute next index in row-major grid according to keyboard direction.\n */\n private getNextIndexByKey(currentIndex: number, key: string, totalColors: number): number {\n const row = Math.floor(currentIndex / COLOR_GROUPS);\n const col = currentIndex % COLOR_GROUPS;\n let newIndex = currentIndex;\n\n switch (key) {\n case \"ArrowRight\": {\n const newCol = col + 1;\n const newRow = newCol >= COLOR_GROUPS ? (row + 1) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + (newCol % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowLeft\": {\n const newCol = col - 1;\n const newRow = newCol < 0 ? (row - 1 + COLOR_GROUP_SIZE) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + ((newCol + COLOR_GROUPS) % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n case \"ArrowDown\": {\n let newRow = row + 1;\n let newCol = col;\n if (newRow >= COLOR_GROUP_SIZE) {\n // Wrap to first item of next column\n newRow = 0;\n newCol = (col + 1) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowUp\": {\n let newRow = row - 1;\n let newCol = col;\n if (newRow < 0) {\n // Wrap to last item of previous column\n newRow = COLOR_GROUP_SIZE - 1;\n newCol = (col - 1 + COLOR_GROUPS) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n }\n\n return newIndex;\n }\n\n /**\n * Handle keyboard navigation within the color picker.\n * Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!target.dataset.color) {\n return;\n }\n\n const currentIndex = this.colorButtons.indexOf(target as HTMLButtonElement);\n const totalColors = this.colorButtons.length;\n if (currentIndex < 0 || ![\"ArrowRight\", \"ArrowLeft\", \"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n return;\n }\n\n let newIndex = currentIndex;\n let attempts = 0;\n\n do {\n newIndex = this.getNextIndexByKey(newIndex, event.key, totalColors);\n attempts++;\n } while (attempts < totalColors && this.colorButtons[newIndex]?.disabled);\n\n if (\n newIndex !== currentIndex &&\n newIndex >= 0 &&\n newIndex < totalColors &&\n !this.colorButtons[newIndex]?.disabled\n ) {\n this.moveFocusTo(newIndex);\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /**\n * When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.\n */\n @Listen(\"blur\")\n handleBlur(event: FocusEvent): void {\n const relatedTarget = event.relatedTarget as HTMLElement;\n if (!containsElement(this.host, relatedTarget)) {\n this.host.tabIndex = 0;\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n }\n }\n\n componentWillLoad(): void {\n this.colorKeysByRow = this.sortColorKeysByRow();\n }\n\n render(): HTMLZColorPickerElement {\n return (\n <Host\n role=\"listbox\"\n aria-label={this.htmlAriaLabel || LOCALES[this.lng][\"Select a color\"]}\n tabIndex={0}\n >\n {this.colorKeysByRow.map((colorKey: ColorPickerPalette) => (\n <button\n class=\"color-swatch\"\n data-color={colorKey}\n role=\"option\"\n aria-selected={this.selectedColor?.toUpperCase() === colorKey.toUpperCase() ? \"true\" : \"false\"}\n tabIndex={-1}\n onClick={() => (this.selectedColor = colorKey)}\n disabled={this.disableTransparent && colorKey === \"#FFFFFF00\"}\n >\n <div\n class=\"color-swatch\"\n role=\"img\"\n aria-roledescription={LOCALES[this.lng][\"Color swatch\"]}\n aria-label={ColorPickerPalette[colorKey][this.lng]}\n title={ColorPickerPalette[colorKey][this.lng]}\n style={{backgroundColor: colorKey}}\n ></div>\n </button>\n ))}\n </Host>\n );\n }\n}\n"],"mappings":"iKAAA,MAAMA,EAAY,yyCAClB,MAAAC,EAAeD,ECGf,MAAME,EAAU,CACdC,GAAI,CACF,iBAAkB,sBAClB,eAAgB,sBAElBC,GAAI,CACF,iBAAkB,iBAClB,eAAgB,iBAKpB,MAAMC,EAAmB,EAGzB,MAAMC,EAAe,E,MAWRC,EAAY,M,sEAqCfC,KAAAC,eAAuC,GAEvCD,KAAAE,cAAqC,G,sCA1B1B,K,qDAaE,K,CAerB,gBAAYC,GACV,IAAKH,KAAKE,cAAcE,OAAQ,CAC9BJ,KAAKE,cAAgBG,MAAMC,KAAKN,KAAKO,KAAKC,WAAWC,iBAAiB,U,CAGxE,OAAOT,KAAKE,a,CAON,kBAAAQ,GACN,MAAMC,EAAUC,OAAOC,KAAKC,GAC5B,MAAMC,EAAgC,GAGtC,IAAK,IAAIC,EAAM,EAAGA,EAAMnB,EAAkBmB,IAAO,CAC/C,IAAK,IAAIC,EAAM,EAAGA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,MAAMa,EAAgBb,EAAMa,cAC5B,IAAKC,EAAgB/D,KAAKO,KAAMuD,GAAgB,CAC9C9D,KAAKO,KAAKkB,SAAW,EACrBzB,KAAKG,aAAamB,SAASC,GAASA,EAAIE,UAAY,G,EAIxD,iBAAAuC,GACEhE,KAAKC,eAAiBD,KAAKU,oB,CAG7B,MAAAuD,GACE,OACEC,EAACC,EAAI,CAAA1B,IAAA,2CACH2B,KAAK,UAAS,aACFpE,KAAKqE,eAAiB3E,EAAQM,KAAKsE,KAAK,kBACpD7C,SAAU,GAETzB,KAAKC,eAAesE,KAAKC,I,MAAiC,OACzDN,EAAA,UACEO,MAAM,eAAc,aACRD,EACZJ,KAAK,SAAQ,kBACEX,EAAAzD,KAAK6B,iBAAa,MAAA4B,SAAA,SAAAA,EAAEiB,iBAAkBF,EAASE,cAAgB,OAAS,QACvFjD,UAAW,EACXkD,QAAS,IAAO3E,KAAK6B,cAAgB2C,EACrCnC,SAAUrC,KAAK4B,oBAAsB4C,IAAa,aAElDN,EAAA,OACEO,MAAM,eACNL,KAAK,MAAK,uBACY1E,EAAQM,KAAKsE,KAAK,gBAAe,aAC3CxD,EAAmB0D,GAAUxE,KAAKsE,KAC9CM,MAAO9D,EAAmB0D,GAAUxE,KAAKsE,KACzCO,MAAO,CAACC,gBAAiBN,KAEpB,I","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as i,a,g as o}from"./p-75c4a726.js";const s=':host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-primary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot="item"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-primary01)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"][active]){color:var(--color-primary01);font-weight:var(--font-bd)}';const l=s;const n=class{constructor(i){t(this,i);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.open=undefined;this.hasContent=undefined}toggle(){if(!this.hasContent){return}this.open=!this.open;this.open?this.opened.emit():this.closed.emit()}handleClick(t){if(!this.open||this.hostElement.contains(t.target)){return}this.open=false;this.closed.emit()}checkContent(){this.hasContent=this.hostElement.querySelectorAll('[slot="item"]').length>0}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=(e===null||e===void 0?void 0:e.innerText)||null}componentWillLoad(){this.checkContent()}render(){return i(a,{key:"a692eb50b30a7cc66e08acf8259a9a7617c053c5",role:"menu",open:this.open},i("button",{key:"7223a1fe109ea3a9c475ed673e9d3c05aa1dade8",class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},i("slot",{key:"4415e7a61bde97fa0e89552fd464d4e9c6a6c77a",onSlotchange:this.onLabelSlotChange.bind(this)}),this.hasContent&&i("z-icon",{key:"b9af6fa6ab900869a4f2681e05042ab9a6860c35",name:this.open?"chevron-up":"chevron-down"})),this.open&&i("div",{key:"791812e95224a678f5481eb21af8b86e5aa46157",class:"items"},i("slot",{key:"9ba3cbdfa55a6d8cd0ffc11c3520eb7b2cb8feb5",name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return o(this)}};n.style=l;export{n as z_menu_section_deprecated};
2
- //# sourceMappingURL=p-2a04c00e.entry.js.map