@zanichelli/albe-web-components 19.2.4 → 19.2.6-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 (1552) hide show
  1. package/CHANGELOG.md +11 -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-Bcbz2MS1.js} +3 -4
  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 +26 -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 +271 -154
  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 +27 -26
  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 +11 -12
  55. package/dist/cjs/z-otp.cjs.entry.js +10 -14
  56. package/dist/cjs/z-pagination.cjs.entry.js +28 -18
  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 +81 -8
  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 +3942 -3963
  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/date-picker/utils.js +0 -1
  95. package/dist/collection/components/date-picker/z-date-picker/index.js +61 -35
  96. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -1
  97. package/dist/collection/components/date-picker/z-range-picker/index.js +61 -34
  98. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -1
  99. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +70 -23
  100. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -1
  101. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +57 -40
  102. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -1
  103. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +31 -12
  104. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -1
  105. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +11 -10
  106. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -1
  107. package/dist/collection/components/deprecated/z-section-title/index.js +16 -5
  108. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -1
  109. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +7 -6
  110. package/dist/collection/components/file-upload/z-file/index.js +9 -8
  111. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -1
  112. package/dist/collection/components/file-upload/z-file-upload/index.js +80 -37
  113. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -1
  114. package/dist/collection/components/index.js +0 -1
  115. package/dist/collection/components/list/z-list/index.js +23 -7
  116. package/dist/collection/components/list/z-list/index.stories.js +0 -1
  117. package/dist/collection/components/list/z-list-element/index.js +113 -38
  118. package/dist/collection/components/list/z-list-element/index.stories.js +0 -1
  119. package/dist/collection/components/list/z-list-group/index.js +50 -16
  120. package/dist/collection/components/list/z-list-group/index.stories.js +0 -1
  121. package/dist/collection/components/list/z-tree-list/index.js +16 -11
  122. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -1
  123. package/dist/collection/components/table/cells/z-td/index.js +32 -10
  124. package/dist/collection/components/table/cells/z-th/index.js +54 -17
  125. package/dist/collection/components/table/z-table/index.js +10 -3
  126. package/dist/collection/components/table/z-table/index.stories.js +0 -1
  127. package/dist/collection/components/table/z-tbody/index.js +1 -2
  128. package/dist/collection/components/table/z-tfoot/index.js +7 -3
  129. package/dist/collection/components/table/z-thead/index.js +13 -4
  130. package/dist/collection/components/table/z-tr/index.js +17 -5
  131. package/dist/collection/components/z-accordion/index.js +49 -16
  132. package/dist/collection/components/z-accordion/index.stories.js +0 -1
  133. package/dist/collection/components/z-anchor-navigation/index.js +33 -6
  134. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -1
  135. package/dist/collection/components/z-app-header/index.js +58 -20
  136. package/dist/collection/components/z-app-header/index.stories.js +0 -1
  137. package/dist/collection/components/z-aria-alert/index.js +7 -4
  138. package/dist/collection/components/z-aria-alert/index.stories.js +0 -1
  139. package/dist/collection/components/z-avatar/index.js +24 -13
  140. package/dist/collection/components/z-avatar/index.stories.js +0 -1
  141. package/dist/collection/components/z-book-cover/index.js +17 -10
  142. package/dist/collection/components/z-book-cover/index.stories.js +0 -1
  143. package/dist/collection/components/z-breadcrumb/index.js +40 -20
  144. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -1
  145. package/dist/collection/components/z-button/index.js +77 -35
  146. package/dist/collection/components/z-button/index.stories.js +0 -1
  147. package/dist/collection/components/z-button-sort/index.js +33 -18
  148. package/dist/collection/components/z-button-sort/index.stories.js +0 -1
  149. package/dist/collection/components/z-card/index.js +21 -11
  150. package/dist/collection/components/z-card/index.stories.js +0 -1
  151. package/dist/collection/components/z-carousel/index.js +69 -35
  152. package/dist/collection/components/z-carousel/index.stories.js +2 -3
  153. package/dist/collection/components/z-chip/index.js +24 -13
  154. package/dist/collection/components/z-chip/index.stories.js +0 -1
  155. package/dist/collection/components/z-color-picker/index.js +31 -17
  156. package/dist/collection/components/z-color-picker/index.stories.js +0 -1
  157. package/dist/collection/components/z-combobox/index.js +80 -41
  158. package/dist/collection/components/z-combobox/index.stories.js +0 -1
  159. package/dist/collection/components/z-cover-hero/index.js +27 -8
  160. package/dist/collection/components/z-cover-hero/index.stories.js +0 -1
  161. package/dist/collection/components/z-divider/index.js +17 -7
  162. package/dist/collection/components/z-divider/index.stories.js +0 -1
  163. package/dist/collection/components/z-ghost-loading/index.js +1 -2
  164. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -1
  165. package/dist/collection/components/z-icon/index.js +25 -22
  166. package/dist/collection/components/z-icon/index.stories.js +0 -1
  167. package/dist/collection/components/z-info-box/index.js +9 -6
  168. package/dist/collection/components/z-info-box/index.stories.js +0 -1
  169. package/dist/collection/components/z-info-reveal/index.js +30 -11
  170. package/dist/collection/components/z-info-reveal/index.stories.js +0 -1
  171. package/dist/collection/components/z-input/index.js +135 -77
  172. package/dist/collection/components/z-input/index.stories.js +0 -1
  173. package/dist/collection/components/z-input-message/index.js +25 -16
  174. package/dist/collection/components/z-input-message/index.stories.js +0 -1
  175. package/dist/collection/components/z-logo/index.js +25 -22
  176. package/dist/collection/components/z-logo/index.stories.js +0 -1
  177. package/dist/collection/components/z-menu/index.js +32 -12
  178. package/dist/collection/components/z-menu/index.stories.js +0 -1
  179. package/dist/collection/components/z-menu-section/index.js +17 -12
  180. package/dist/collection/components/z-menu-section/index.stories.js +0 -1
  181. package/dist/collection/components/z-modal/index.js +36 -19
  182. package/dist/collection/components/z-modal/index.stories.js +0 -1
  183. package/dist/collection/components/z-navigation-tabs/index.js +35 -15
  184. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -1
  185. package/dist/collection/components/z-notification/index.js +36 -17
  186. package/dist/collection/components/z-notification/index.stories.js +79 -78
  187. package/dist/collection/components/z-notification/styles.css +8 -6
  188. package/dist/collection/components/z-offcanvas/index.js +42 -12
  189. package/dist/collection/components/z-offcanvas/index.stories.js +0 -1
  190. package/dist/collection/components/z-pagination/index.js +45 -21
  191. package/dist/collection/components/z-pagination/index.stories.js +0 -1
  192. package/dist/collection/components/z-panel-elem/index.js +38 -26
  193. package/dist/collection/components/z-panel-elem/index.stories.js +0 -1
  194. package/dist/collection/components/z-popover/index.js +44 -16
  195. package/dist/collection/components/z-popover/index.stories.js +0 -1
  196. package/dist/collection/components/z-result-card/index.js +34 -23
  197. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -1
  198. package/dist/collection/components/z-searchbar/index.js +80 -40
  199. package/dist/collection/components/z-searchbar/index.stories.js +0 -1
  200. package/dist/collection/components/z-select/index.js +87 -47
  201. package/dist/collection/components/z-select/index.stories.js +0 -1
  202. package/dist/collection/components/z-skip-to-content/index.js +13 -8
  203. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -1
  204. package/dist/collection/components/z-stepper/index.js +1 -2
  205. package/dist/collection/components/z-stepper/index.stories.js +0 -1
  206. package/dist/collection/components/z-stepper-item/index.js +21 -19
  207. package/dist/collection/components/z-stepper-item/index.stories.js +0 -1
  208. package/dist/collection/components/z-tag/index.js +11 -14
  209. package/dist/collection/components/z-tag/index.stories.js +0 -1
  210. package/dist/collection/components/z-toast-notification/index.js +52 -34
  211. package/dist/collection/components/z-toast-notification/index.stories.js +0 -1
  212. package/dist/collection/components/z-toast-notification-list/index.js +12 -6
  213. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -1
  214. package/dist/collection/components/z-toggle-button/index.js +22 -12
  215. package/dist/collection/components/z-toggle-button/index.stories.js +0 -1
  216. package/dist/collection/components/z-toggle-switch/index.js +21 -9
  217. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -1
  218. package/dist/collection/components/z-tool/index.js +49 -31
  219. package/dist/collection/components/z-tool/index.stories.js +0 -1
  220. package/dist/collection/components/z-toolbar/index.js +7 -6
  221. package/dist/collection/components/z-toolbar/index.stories.js +0 -1
  222. package/dist/collection/components/z-tooltip/index.js +29 -10
  223. package/dist/collection/components/z-tooltip/index.stories.js +0 -1
  224. package/dist/collection/components/z-visually-hidden/index.js +1 -2
  225. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -1
  226. package/dist/collection/constants/breakpoints.js +0 -1
  227. package/dist/collection/constants/icons.js +0 -1
  228. package/dist/collection/constants/iconset.js +0 -1
  229. package/dist/collection/index.js +0 -1
  230. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +19 -11
  231. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +17 -16
  232. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -2
  233. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +17 -16
  234. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +25 -12
  235. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +31 -20
  236. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -2
  237. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +15 -12
  238. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +13 -7
  239. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +11 -7
  240. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
  241. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
  242. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +29 -19
  243. package/dist/collection/snowflakes/myz/z-alert/index.js +7 -8
  244. package/dist/collection/snowflakes/myz/z-otp/index.js +19 -12
  245. package/dist/collection/snowflakes/myz/z-slideshow/index.js +11 -9
  246. package/dist/collection/utils/storybook-utils.js +0 -1
  247. package/dist/collection/utils/utils.js +0 -1
  248. package/dist/components/_commonjsHelpers.js +1 -5
  249. package/dist/components/breakpoints.js +1 -11
  250. package/dist/components/iconset.js +1 -1013
  251. package/dist/components/index.d.ts +1 -0
  252. package/dist/components/index.js +1 -98
  253. package/dist/components/index10.js +1 -60
  254. package/dist/components/index11.js +1 -92
  255. package/dist/components/index12.js +1 -355
  256. package/dist/components/index13.js +1 -73
  257. package/dist/components/index14.js +1 -53
  258. package/dist/components/index15.js +1 -181
  259. package/dist/components/index16.js +1 -76
  260. package/dist/components/index17.js +1 -1040
  261. package/dist/components/index18.js +1 -65
  262. package/dist/components/index19.js +1 -33
  263. package/dist/components/index2.js +1 -407
  264. package/dist/components/index20.js +1 -45
  265. package/dist/components/index21.js +1 -62
  266. package/dist/components/index22.js +1 -66
  267. package/dist/components/index23.js +1 -179
  268. package/dist/components/index24.js +1 -549
  269. package/dist/components/index25.js +1 -409
  270. package/dist/components/index26.js +1 -49
  271. package/dist/components/index27.js +1 -55
  272. package/dist/components/index3.js +1 -36
  273. package/dist/components/index4.js +1 -45
  274. package/dist/components/index5.js +1 -82
  275. package/dist/components/index6.js +1 -56
  276. package/dist/components/index7.js +1 -40
  277. package/dist/components/index8.js +1 -63
  278. package/dist/components/index9.js +1 -33
  279. package/dist/components/utils.js +1 -246
  280. package/dist/components/utils2.js +1 -2704
  281. package/dist/components/z-accordion.js +1 -95
  282. package/dist/components/z-alert.js +1 -8
  283. package/dist/components/z-anchor-navigation.js +1 -87
  284. package/dist/components/z-app-header-deprecated.js +1 -255
  285. package/dist/components/z-app-header.js +1 -367
  286. package/dist/components/z-aria-alert.js +1 -35
  287. package/dist/components/z-avatar.js +1 -66
  288. package/dist/components/z-book-card-app.js +1 -77
  289. package/dist/components/z-book-card-deprecated.js +1 -175
  290. package/dist/components/z-book-card.js +1 -149
  291. package/dist/components/z-book-cover.js +1 -8
  292. package/dist/components/z-breadcrumb.js +1 -290
  293. package/dist/components/z-button-sort.js +1 -86
  294. package/dist/components/z-button.js +1 -8
  295. package/dist/components/z-card.js +1 -83
  296. package/dist/components/z-carousel.js +1 -234
  297. package/dist/components/z-chip.js +1 -8
  298. package/dist/components/z-color-picker.js +1 -234
  299. package/dist/components/z-combobox.js +1 -393
  300. package/dist/components/z-cover-hero.js +1 -66
  301. package/dist/components/z-date-picker.js +16 -528
  302. package/dist/components/z-divider.js +1 -8
  303. package/dist/components/z-dragdrop-area.js +1 -8
  304. package/dist/components/z-file-upload.js +1 -253
  305. package/dist/components/z-file.js +1 -89
  306. package/dist/components/z-ghost-loading.js +1 -8
  307. package/dist/components/z-icon.js +1 -8
  308. package/dist/components/z-info-box.js +1 -51
  309. package/dist/components/z-info-reveal.js +1 -8
  310. package/dist/components/z-input-message.js +1 -8
  311. package/dist/components/z-input.js +1 -8
  312. package/dist/components/z-list-element.js +1 -8
  313. package/dist/components/z-list-group.js +1 -8
  314. package/dist/components/z-list.js +1 -8
  315. package/dist/components/z-logo.js +1 -56
  316. package/dist/components/z-menu-deprecated.js +1 -144
  317. package/dist/components/z-menu-section-deprecated.js +1 -84
  318. package/dist/components/z-menu-section.js +1 -226
  319. package/dist/components/z-menu.js +1 -353
  320. package/dist/components/z-modal.js +1 -8
  321. package/dist/components/z-myz-card-alert.js +1 -101
  322. package/dist/components/z-myz-card-body.js +1 -8
  323. package/dist/components/z-myz-card-cover.js +1 -8
  324. package/dist/components/z-myz-card-dictionary.js +1 -94
  325. package/dist/components/z-myz-card-footer-sections.js +1 -36
  326. package/dist/components/z-myz-card-footer.js +1 -99
  327. package/dist/components/z-myz-card-header.js +1 -8
  328. package/dist/components/z-myz-card-icon.js +1 -49
  329. package/dist/components/z-myz-card-info.js +1 -162
  330. package/dist/components/z-myz-card-list.js +1 -58
  331. package/dist/components/z-myz-card.js +1 -8
  332. package/dist/components/z-myz-list-item.js +1 -8
  333. package/dist/components/z-myz-list.js +1 -71
  334. package/dist/components/z-navigation-tabs.js +1 -272
  335. package/dist/components/z-notification.js +1 -70
  336. package/dist/components/z-offcanvas.js +1 -8
  337. package/dist/components/z-otp.js +1 -75
  338. package/dist/components/z-pagination.js +1 -283
  339. package/dist/components/z-panel-elem.js +1 -66
  340. package/dist/components/z-popover.js +1 -8
  341. package/dist/components/z-range-picker.js +1 -413
  342. package/dist/components/z-result-card.js +1 -121
  343. package/dist/components/z-searchbar.js +1 -8
  344. package/dist/components/z-section-title.js +1 -52
  345. package/dist/components/z-select.js +1 -585
  346. package/dist/components/z-skip-to-content.js +1 -93
  347. package/dist/components/z-slideshow.js +1 -161
  348. package/dist/components/z-stepper-item.js +1 -60
  349. package/dist/components/z-stepper.js +1 -36
  350. package/dist/components/z-table.js +1 -68
  351. package/dist/components/z-tag.js +1 -8
  352. package/dist/components/z-tbody.js +1 -36
  353. package/dist/components/z-td.js +1 -89
  354. package/dist/components/z-tfoot.js +1 -39
  355. package/dist/components/z-th.js +1 -112
  356. package/dist/components/z-thead.js +1 -42
  357. package/dist/components/z-toast-notification-list.js +1 -79
  358. package/dist/components/z-toast-notification.js +2 -4228
  359. package/dist/components/z-toggle-button.js +1 -64
  360. package/dist/components/z-toggle-switch.js +1 -73
  361. package/dist/components/z-tool.js +1 -260
  362. package/dist/components/z-toolbar.js +1 -165
  363. package/dist/components/z-tooltip.js +1 -8
  364. package/dist/components/z-tr.js +1 -101
  365. package/dist/components/z-tree-list.js +1 -162
  366. package/dist/components/z-visually-hidden.js +1 -36
  367. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  368. package/dist/esm/{breakpoints-d148bfde.js → breakpoints-Q-tWjk7P.js} +0 -2
  369. package/dist/esm/{iconset-d7823b13.js → iconset-BanpkIXZ.js} +3 -4
  370. package/dist/esm/{index-106473a8.js → index-BKCj6NR2.js} +0 -2
  371. package/dist/esm/index-DPdXlnVe.js +2653 -0
  372. package/dist/esm/index.js +4 -6
  373. package/dist/esm/loader.js +3 -6
  374. package/dist/esm/{utils-8d6ca808.js → utils-0PByxJyN.js} +3 -5
  375. package/dist/esm/{utils-93ac0e6c.js → utils-DuuLzXZj.js} +81 -73
  376. package/dist/esm/web-components-library.js +5 -7
  377. package/dist/esm/z-accordion.entry.js +26 -11
  378. package/dist/esm/z-alert.entry.js +4 -8
  379. package/dist/esm/z-anchor-navigation.entry.js +25 -8
  380. package/dist/esm/z-app-header-deprecated.entry.js +53 -20
  381. package/dist/esm/z-app-header_12.entry.js +271 -152
  382. package/dist/esm/z-aria-alert.entry.js +4 -5
  383. package/dist/esm/z-avatar.entry.js +9 -11
  384. package/dist/esm/z-book-card-app.entry.js +10 -16
  385. package/dist/esm/z-book-card-deprecated.entry.js +10 -22
  386. package/dist/esm/z-book-card.entry.js +11 -21
  387. package/dist/esm/z-book-cover.entry.js +6 -9
  388. package/dist/esm/z-breadcrumb.entry.js +27 -20
  389. package/dist/esm/z-button-sort.entry.js +9 -12
  390. package/dist/esm/z-card.entry.js +9 -10
  391. package/dist/esm/z-carousel.entry.js +50 -28
  392. package/dist/esm/z-chip.entry.js +9 -11
  393. package/dist/esm/z-color-picker.entry.js +24 -16
  394. package/dist/esm/z-combobox.entry.js +27 -24
  395. package/dist/esm/z-cover-hero.entry.js +18 -9
  396. package/dist/esm/z-date-picker.entry.js +352 -329
  397. package/dist/esm/z-dragdrop-area_2.entry.js +18 -20
  398. package/dist/esm/z-file-upload.entry.js +21 -16
  399. package/dist/esm/z-file.entry.js +6 -11
  400. package/dist/esm/z-ghost-loading.entry.js +4 -7
  401. package/dist/esm/z-info-box.entry.js +5 -8
  402. package/dist/esm/z-info-reveal.entry.js +20 -11
  403. package/dist/esm/z-logo.entry.js +4 -13
  404. package/dist/esm/z-menu-deprecated.entry.js +23 -12
  405. package/dist/esm/z-menu-section-deprecated.entry.js +10 -11
  406. package/dist/esm/z-menu-section.entry.js +15 -14
  407. package/dist/esm/z-menu.entry.js +27 -15
  408. package/dist/esm/z-myz-card-alert.entry.js +5 -12
  409. package/dist/esm/z-myz-card-dictionary.entry.js +9 -10
  410. package/dist/esm/z-myz-card-footer-sections.entry.js +4 -7
  411. package/dist/esm/z-myz-card-footer.entry.js +7 -13
  412. package/dist/esm/z-myz-card-icon.entry.js +6 -8
  413. package/dist/esm/z-myz-card-info.entry.js +8 -11
  414. package/dist/esm/z-myz-card-list.entry.js +4 -8
  415. package/dist/esm/z-myz-card_4.entry.js +16 -29
  416. package/dist/esm/z-myz-list-item.entry.js +9 -15
  417. package/dist/esm/z-myz-list.entry.js +7 -10
  418. package/dist/esm/z-navigation-tabs.entry.js +28 -16
  419. package/dist/esm/z-notification.entry.js +11 -10
  420. package/dist/esm/z-otp.entry.js +10 -12
  421. package/dist/esm/z-pagination.entry.js +28 -16
  422. package/dist/esm/z-panel-elem.entry.js +7 -15
  423. package/dist/esm/z-popover.entry.js +35 -17
  424. package/dist/esm/z-range-picker.entry.js +38 -29
  425. package/dist/esm/z-result-card.entry.js +7 -14
  426. package/dist/esm/z-section-title.entry.js +12 -8
  427. package/dist/esm/z-select.entry.js +21 -23
  428. package/dist/esm/z-skip-to-content.entry.js +8 -11
  429. package/dist/esm/z-slideshow.entry.js +12 -14
  430. package/dist/esm/z-stepper-item.entry.js +4 -12
  431. package/dist/esm/z-stepper.entry.js +4 -7
  432. package/dist/esm/z-table.entry.js +19 -16
  433. package/dist/esm/z-tbody.entry.js +14 -3
  434. package/dist/esm/z-td.entry.js +56 -4
  435. package/dist/esm/z-tfoot.entry.js +18 -3
  436. package/dist/esm/z-th.entry.js +83 -4
  437. package/dist/esm/z-thead.entry.js +23 -3
  438. package/dist/esm/z-toast-notification-list.entry.js +11 -10
  439. package/dist/esm/z-toast-notification.entry.js +3942 -3961
  440. package/dist/esm/z-toggle-button.entry.js +8 -10
  441. package/dist/esm/z-toggle-switch.entry.js +13 -12
  442. package/dist/esm/z-tool.entry.js +28 -27
  443. package/dist/esm/z-toolbar.entry.js +7 -10
  444. package/dist/esm/z-tooltip.entry.js +15 -9
  445. package/dist/esm/z-tr.entry.js +82 -8
  446. package/dist/esm/z-tree-list.entry.js +10 -12
  447. package/dist/esm/z-visually-hidden.entry.js +4 -7
  448. package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
  449. package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
  450. package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
  451. package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
  452. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
  453. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
  454. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
  455. package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
  456. package/dist/types/components/deprecated/z-section-title/index.d.ts +2 -1
  457. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
  458. package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
  459. package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
  460. package/dist/types/components/list/z-list/index.d.ts +2 -1
  461. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  462. package/dist/types/components/list/z-list-group/index.d.ts +2 -1
  463. package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
  464. package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
  465. package/dist/types/components/table/cells/z-th/index.d.ts +2 -1
  466. package/dist/types/components/table/z-table/index.d.ts +2 -1
  467. package/dist/types/components/table/z-tbody/index.d.ts +2 -1
  468. package/dist/types/components/table/z-tfoot/index.d.ts +2 -1
  469. package/dist/types/components/table/z-thead/index.d.ts +2 -1
  470. package/dist/types/components/table/z-tr/index.d.ts +2 -2
  471. package/dist/types/components/z-accordion/index.d.ts +2 -2
  472. package/dist/types/components/z-anchor-navigation/index.d.ts +2 -1
  473. package/dist/types/components/z-app-header/index.d.ts +2 -2
  474. package/dist/types/components/z-aria-alert/index.d.ts +2 -1
  475. package/dist/types/components/z-avatar/index.d.ts +2 -1
  476. package/dist/types/components/z-book-cover/index.d.ts +2 -1
  477. package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
  478. package/dist/types/components/z-button/index.d.ts +5 -2
  479. package/dist/types/components/z-button-sort/index.d.ts +2 -2
  480. package/dist/types/components/z-card/index.d.ts +2 -1
  481. package/dist/types/components/z-carousel/index.d.ts +5 -2
  482. package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
  483. package/dist/types/components/z-chip/index.d.ts +2 -2
  484. package/dist/types/components/z-color-picker/index.d.ts +2 -2
  485. package/dist/types/components/z-combobox/index.d.ts +2 -2
  486. package/dist/types/components/z-cover-hero/index.d.ts +2 -1
  487. package/dist/types/components/z-divider/index.d.ts +2 -1
  488. package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
  489. package/dist/types/components/z-icon/index.d.ts +2 -1
  490. package/dist/types/components/z-info-box/index.d.ts +2 -2
  491. package/dist/types/components/z-info-reveal/index.d.ts +2 -1
  492. package/dist/types/components/z-input/index.d.ts +2 -2
  493. package/dist/types/components/z-input-message/index.d.ts +2 -1
  494. package/dist/types/components/z-logo/index.d.ts +2 -1
  495. package/dist/types/components/z-menu/index.d.ts +2 -2
  496. package/dist/types/components/z-menu-section/index.d.ts +2 -2
  497. package/dist/types/components/z-modal/index.d.ts +2 -2
  498. package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
  499. package/dist/types/components/z-notification/index.d.ts +4 -3
  500. package/dist/types/components/z-notification/index.stories.d.ts +27 -22
  501. package/dist/types/components/z-offcanvas/index.d.ts +2 -2
  502. package/dist/types/components/z-pagination/index.d.ts +2 -2
  503. package/dist/types/components/z-panel-elem/index.d.ts +2 -1
  504. package/dist/types/components/z-popover/index.d.ts +2 -2
  505. package/dist/types/components/z-result-card/index.d.ts +2 -1
  506. package/dist/types/components/z-searchbar/index.d.ts +2 -2
  507. package/dist/types/components/z-select/index.d.ts +2 -2
  508. package/dist/types/components/z-skip-to-content/index.d.ts +2 -1
  509. package/dist/types/components/z-stepper/index.d.ts +2 -1
  510. package/dist/types/components/z-stepper-item/index.d.ts +2 -1
  511. package/dist/types/components/z-tag/index.d.ts +2 -1
  512. package/dist/types/components/z-toast-notification/index.d.ts +2 -2
  513. package/dist/types/components/z-toast-notification-list/index.d.ts +2 -1
  514. package/dist/types/components/z-toggle-button/index.d.ts +2 -2
  515. package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
  516. package/dist/types/components/z-tool/index.d.ts +2 -2
  517. package/dist/types/components/z-toolbar/index.d.ts +2 -1
  518. package/dist/types/components/z-tooltip/index.d.ts +2 -2
  519. package/dist/types/components/z-visually-hidden/index.d.ts +2 -1
  520. package/dist/types/components.d.ts +1317 -170
  521. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -1
  522. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
  523. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +2 -1
  524. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -1
  525. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  526. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +2 -1
  527. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +2 -1
  528. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +2 -1
  529. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +2 -1
  530. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
  531. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +2 -1
  532. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -1
  533. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
  534. package/dist/types/snowflakes/myz/z-alert/index.d.ts +2 -1
  535. package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
  536. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +2 -1
  537. package/dist/types/stencil-public-runtime.d.ts +194 -8
  538. package/dist/web-components-library/index.esm.js +1 -2
  539. package/dist/web-components-library/p-10e5e16e.entry.js +1 -0
  540. package/dist/web-components-library/p-1993b0ad.entry.js +1 -0
  541. package/dist/web-components-library/p-19d3a16b.entry.js +1 -0
  542. package/dist/web-components-library/p-19f5fdd3.entry.js +1 -0
  543. package/dist/web-components-library/p-1a95491d.entry.js +1 -0
  544. package/dist/web-components-library/p-21c85e04.entry.js +1 -0
  545. package/dist/web-components-library/p-23b46642.entry.js +1 -0
  546. package/dist/web-components-library/p-29dde955.entry.js +1 -0
  547. package/dist/web-components-library/p-2b7ceab2.entry.js +1 -0
  548. package/dist/web-components-library/p-2ce3ac48.entry.js +1 -0
  549. package/dist/web-components-library/p-2d4c01c3.entry.js +1 -0
  550. package/dist/web-components-library/p-2d6a4515.entry.js +1 -0
  551. package/dist/web-components-library/p-2dabe353.entry.js +1 -0
  552. package/dist/web-components-library/p-2ef82e17.entry.js +1 -0
  553. package/dist/web-components-library/p-324933f6.entry.js +1 -0
  554. package/dist/web-components-library/p-364b0ca4.entry.js +1 -0
  555. package/dist/web-components-library/p-3c53e451.entry.js +1 -0
  556. package/dist/web-components-library/p-3f996a63.entry.js +1 -0
  557. package/dist/web-components-library/p-45866f64.entry.js +1 -0
  558. package/dist/web-components-library/p-4ae7df7f.entry.js +1 -0
  559. package/dist/web-components-library/p-50e10a10.entry.js +1 -0
  560. package/dist/web-components-library/p-52899754.entry.js +1 -0
  561. package/dist/web-components-library/p-538a1bd2.entry.js +1 -0
  562. package/dist/web-components-library/p-550ee6c3.entry.js +1 -0
  563. package/dist/web-components-library/p-5a05dc1e.entry.js +1 -0
  564. package/dist/web-components-library/p-5b9cacd7.entry.js +1 -0
  565. package/dist/web-components-library/p-5fa910e4.entry.js +1 -0
  566. package/{www/build/p-6c9cd6be.entry.js → dist/web-components-library/p-622466f9.entry.js} +1 -2
  567. package/dist/web-components-library/p-6bd35edf.entry.js +1 -0
  568. package/dist/web-components-library/p-6fb8a984.entry.js +1 -0
  569. package/dist/web-components-library/p-7226f07a.entry.js +1 -0
  570. package/dist/web-components-library/p-77bf39a4.entry.js +1 -0
  571. package/dist/web-components-library/p-7835fdda.entry.js +1 -0
  572. package/dist/web-components-library/p-7a9d19b8.entry.js +1 -0
  573. package/dist/web-components-library/p-7bf7539a.entry.js +1 -0
  574. package/dist/web-components-library/p-7d9477ed.entry.js +1 -0
  575. package/dist/web-components-library/p-81eb43fd.entry.js +1 -0
  576. package/dist/web-components-library/p-8d7e2e16.entry.js +1 -0
  577. package/dist/web-components-library/p-8de064a4.entry.js +1 -0
  578. package/dist/web-components-library/p-8f4a04aa.entry.js +1 -0
  579. package/dist/web-components-library/p-8fd25c59.entry.js +2 -0
  580. package/dist/web-components-library/p-91503030.entry.js +1 -0
  581. package/dist/web-components-library/p-B85MJLTf.js +1 -0
  582. package/dist/web-components-library/p-B8WJfd4z.js +1 -0
  583. package/dist/web-components-library/p-BKCj6NR2.js +1 -0
  584. package/dist/web-components-library/{p-eb15536d.js → p-BanpkIXZ.js} +1 -2
  585. package/dist/web-components-library/p-D4yqZKyM.js +1 -0
  586. package/dist/web-components-library/p-DPdXlnVe.js +2 -0
  587. package/dist/web-components-library/p-Q-tWjk7P.js +1 -0
  588. package/dist/web-components-library/p-a40ae683.entry.js +1 -0
  589. package/dist/web-components-library/p-a9d90b04.entry.js +1 -0
  590. package/dist/web-components-library/p-a9f848ef.entry.js +1 -0
  591. package/dist/web-components-library/p-aa4fc3d3.entry.js +1 -0
  592. package/dist/web-components-library/p-aa72d766.entry.js +1 -0
  593. package/dist/web-components-library/p-ab50e989.entry.js +1 -0
  594. package/dist/web-components-library/p-ad2cd7fc.entry.js +1 -0
  595. package/dist/web-components-library/p-ae69bb7d.entry.js +1 -0
  596. package/dist/web-components-library/p-b851f20b.entry.js +1 -0
  597. package/dist/web-components-library/p-be354b22.entry.js +1 -0
  598. package/dist/web-components-library/p-c539ae57.entry.js +1 -0
  599. package/dist/web-components-library/p-c6920758.entry.js +1 -0
  600. package/dist/web-components-library/p-c6ae9241.entry.js +1 -0
  601. package/dist/web-components-library/p-cdd88182.entry.js +16 -0
  602. package/dist/web-components-library/p-d11d39f5.entry.js +1 -0
  603. package/dist/web-components-library/p-d3053434.entry.js +1 -0
  604. package/dist/web-components-library/p-d63665c1.entry.js +1 -0
  605. package/dist/web-components-library/p-dabccb20.entry.js +1 -0
  606. package/dist/web-components-library/p-de0b7109.entry.js +1 -0
  607. package/dist/web-components-library/p-dfd43710.entry.js +1 -0
  608. package/dist/web-components-library/p-e1d0a6e3.entry.js +1 -0
  609. package/dist/web-components-library/p-e2d94c86.entry.js +1 -0
  610. package/dist/web-components-library/p-eadf2552.entry.js +1 -0
  611. package/dist/web-components-library/p-ec4940ce.entry.js +1 -0
  612. package/dist/web-components-library/p-eed4e897.entry.js +1 -0
  613. package/dist/web-components-library/p-f3436721.entry.js +1 -0
  614. package/dist/web-components-library/p-f5bbcaa6.entry.js +1 -0
  615. package/dist/web-components-library/p-f94c360f.entry.js +1 -0
  616. package/dist/web-components-library/p-fc15a666.entry.js +1 -0
  617. package/dist/web-components-library/web-components-library.css +1 -1
  618. package/dist/web-components-library/web-components-library.esm.js +1 -2
  619. package/package.json +14 -10
  620. package/react/components.js +0 -1
  621. package/react/index.js +0 -1
  622. package/react/react-component-lib/createComponent.js +0 -1
  623. package/react/react-component-lib/createOverlayComponent.js +0 -1
  624. package/react/react-component-lib/index.js +0 -1
  625. package/react/react-component-lib/interfaces.js +0 -1
  626. package/react/react-component-lib/utils/attachProps.js +0 -1
  627. package/react/react-component-lib/utils/case.js +0 -1
  628. package/react/react-component-lib/utils/dev.js +0 -1
  629. package/react/react-component-lib/utils/index.js +0 -1
  630. package/www/build/index.esm.js +1 -2
  631. package/www/build/p-10e5e16e.entry.js +1 -0
  632. package/www/build/p-1993b0ad.entry.js +1 -0
  633. package/www/build/p-19d3a16b.entry.js +1 -0
  634. package/www/build/p-19f5fdd3.entry.js +1 -0
  635. package/www/build/p-1a95491d.entry.js +1 -0
  636. package/www/build/p-21c85e04.entry.js +1 -0
  637. package/www/build/p-23b46642.entry.js +1 -0
  638. package/www/build/p-29dde955.entry.js +1 -0
  639. package/www/build/p-2b7ceab2.entry.js +1 -0
  640. package/www/build/p-2ce3ac48.entry.js +1 -0
  641. package/www/build/p-2d4c01c3.entry.js +1 -0
  642. package/www/build/p-2d6a4515.entry.js +1 -0
  643. package/www/build/p-2dabe353.entry.js +1 -0
  644. package/www/build/p-2ef82e17.entry.js +1 -0
  645. package/www/build/p-324933f6.entry.js +1 -0
  646. package/www/build/p-364b0ca4.entry.js +1 -0
  647. package/www/build/p-38f551b0.js +1 -0
  648. package/www/build/p-3c53e451.entry.js +1 -0
  649. package/www/build/p-3f996a63.entry.js +1 -0
  650. package/www/build/p-45866f64.entry.js +1 -0
  651. package/www/build/p-4ae7df7f.entry.js +1 -0
  652. package/www/build/p-50e10a10.entry.js +1 -0
  653. package/www/build/p-52899754.entry.js +1 -0
  654. package/www/build/p-538a1bd2.entry.js +1 -0
  655. package/www/build/p-550ee6c3.entry.js +1 -0
  656. package/www/build/p-5a05dc1e.entry.js +1 -0
  657. package/www/build/p-5b9cacd7.entry.js +1 -0
  658. package/www/build/p-5fa910e4.entry.js +1 -0
  659. package/{dist/web-components-library/p-6c9cd6be.entry.js → www/build/p-622466f9.entry.js} +1 -2
  660. package/www/build/p-6bd35edf.entry.js +1 -0
  661. package/www/build/p-6fb8a984.entry.js +1 -0
  662. package/www/build/p-7226f07a.entry.js +1 -0
  663. package/www/build/p-77bf39a4.entry.js +1 -0
  664. package/www/build/p-7835fdda.entry.js +1 -0
  665. package/www/build/p-7a9d19b8.entry.js +1 -0
  666. package/www/build/p-7bf7539a.entry.js +1 -0
  667. package/www/build/p-7d9477ed.entry.js +1 -0
  668. package/www/build/p-81eb43fd.entry.js +1 -0
  669. package/www/build/p-8d7e2e16.entry.js +1 -0
  670. package/www/build/p-8de064a4.entry.js +1 -0
  671. package/www/build/p-8f4a04aa.entry.js +1 -0
  672. package/www/build/p-8fd25c59.entry.js +2 -0
  673. package/www/build/p-91503030.entry.js +1 -0
  674. package/www/build/p-B85MJLTf.js +1 -0
  675. package/www/build/p-B8WJfd4z.js +1 -0
  676. package/www/build/p-BKCj6NR2.js +1 -0
  677. package/www/build/{p-eb15536d.js → p-BanpkIXZ.js} +1 -2
  678. package/www/build/p-D4yqZKyM.js +1 -0
  679. package/www/build/p-DPdXlnVe.js +2 -0
  680. package/www/build/p-Q-tWjk7P.js +1 -0
  681. package/www/build/p-a40ae683.entry.js +1 -0
  682. package/www/build/p-a9d90b04.entry.js +1 -0
  683. package/www/build/p-a9f848ef.entry.js +1 -0
  684. package/www/build/p-aa4fc3d3.entry.js +1 -0
  685. package/www/build/p-aa72d766.entry.js +1 -0
  686. package/www/build/p-ab50e989.entry.js +1 -0
  687. package/www/build/p-ad2cd7fc.entry.js +1 -0
  688. package/www/build/p-ae69bb7d.entry.js +1 -0
  689. package/www/build/p-b851f20b.entry.js +1 -0
  690. package/www/build/p-be354b22.entry.js +1 -0
  691. package/www/build/p-c539ae57.entry.js +1 -0
  692. package/www/build/{p-813bd63b.css → p-c60c851a.css} +1 -1
  693. package/www/build/p-c6920758.entry.js +1 -0
  694. package/www/build/p-c6ae9241.entry.js +1 -0
  695. package/www/build/p-cdd88182.entry.js +16 -0
  696. package/www/build/p-d11d39f5.entry.js +1 -0
  697. package/www/build/p-d3053434.entry.js +1 -0
  698. package/www/build/p-d63665c1.entry.js +1 -0
  699. package/www/build/p-dabccb20.entry.js +1 -0
  700. package/www/build/p-de0b7109.entry.js +1 -0
  701. package/www/build/p-dfd43710.entry.js +1 -0
  702. package/www/build/p-e1d0a6e3.entry.js +1 -0
  703. package/www/build/p-e2d94c86.entry.js +1 -0
  704. package/www/build/p-eadf2552.entry.js +1 -0
  705. package/www/build/p-ec4940ce.entry.js +1 -0
  706. package/www/build/p-eed4e897.entry.js +1 -0
  707. package/www/build/p-f3436721.entry.js +1 -0
  708. package/www/build/p-f5bbcaa6.entry.js +1 -0
  709. package/www/build/p-f94c360f.entry.js +1 -0
  710. package/www/build/p-fc15a666.entry.js +1 -0
  711. package/www/build/web-components-library.css +1 -1
  712. package/www/build/web-components-library.esm.js +1 -2
  713. package/www/index.html +1 -1
  714. package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
  715. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
  716. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  717. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  718. package/dist/cjs/breakpoints-8a1e87e0.js.map +0 -1
  719. package/dist/cjs/iconset-5d47610c.js.map +0 -1
  720. package/dist/cjs/index-012853a0.js +0 -21
  721. package/dist/cjs/index-012853a0.js.map +0 -1
  722. package/dist/cjs/index-1d7a50cc.js +0 -67
  723. package/dist/cjs/index-1d7a50cc.js.map +0 -1
  724. package/dist/cjs/index-2dff20f5.js +0 -20
  725. package/dist/cjs/index-2dff20f5.js.map +0 -1
  726. package/dist/cjs/index-86a8a3a4.js +0 -23
  727. package/dist/cjs/index-86a8a3a4.js.map +0 -1
  728. package/dist/cjs/index-96af6326.js +0 -2324
  729. package/dist/cjs/index-96af6326.js.map +0 -1
  730. package/dist/cjs/index-c38e5b9e.js +0 -73
  731. package/dist/cjs/index-c38e5b9e.js.map +0 -1
  732. package/dist/cjs/index-cb280932.js +0 -47
  733. package/dist/cjs/index-cb280932.js.map +0 -1
  734. package/dist/cjs/index-e30d0503.js.map +0 -1
  735. package/dist/cjs/index.cjs.js.map +0 -1
  736. package/dist/cjs/loader.cjs.js.map +0 -1
  737. package/dist/cjs/utils-4f7b4830.js.map +0 -1
  738. package/dist/cjs/utils-b1859d65.js.map +0 -1
  739. package/dist/cjs/web-components-library.cjs.js.map +0 -1
  740. package/dist/cjs/z-accordion.cjs.entry.js.map +0 -1
  741. package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
  742. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +0 -1
  743. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
  744. package/dist/cjs/z-app-header_12.cjs.entry.js.map +0 -1
  745. package/dist/cjs/z-aria-alert.cjs.entry.js.map +0 -1
  746. package/dist/cjs/z-avatar.cjs.entry.js.map +0 -1
  747. package/dist/cjs/z-book-card-app.cjs.entry.js.map +0 -1
  748. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
  749. package/dist/cjs/z-book-card.cjs.entry.js.map +0 -1
  750. package/dist/cjs/z-book-cover.cjs.entry.js.map +0 -1
  751. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +0 -1
  752. package/dist/cjs/z-button-sort.cjs.entry.js.map +0 -1
  753. package/dist/cjs/z-card.cjs.entry.js.map +0 -1
  754. package/dist/cjs/z-carousel.cjs.entry.js.map +0 -1
  755. package/dist/cjs/z-chip.cjs.entry.js.map +0 -1
  756. package/dist/cjs/z-color-picker.cjs.entry.js.map +0 -1
  757. package/dist/cjs/z-combobox.cjs.entry.js.map +0 -1
  758. package/dist/cjs/z-cover-hero.cjs.entry.js.map +0 -1
  759. package/dist/cjs/z-date-picker.cjs.entry.js.map +0 -1
  760. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +0 -1
  761. package/dist/cjs/z-file-upload.cjs.entry.js.map +0 -1
  762. package/dist/cjs/z-file.cjs.entry.js.map +0 -1
  763. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +0 -1
  764. package/dist/cjs/z-info-box.cjs.entry.js.map +0 -1
  765. package/dist/cjs/z-info-reveal.cjs.entry.js.map +0 -1
  766. package/dist/cjs/z-logo.cjs.entry.js.map +0 -1
  767. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
  768. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
  769. package/dist/cjs/z-menu-section.cjs.entry.js.map +0 -1
  770. package/dist/cjs/z-menu.cjs.entry.js.map +0 -1
  771. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
  772. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
  773. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
  774. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
  775. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
  776. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
  777. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
  778. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
  779. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
  780. package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
  781. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +0 -1
  782. package/dist/cjs/z-notification.cjs.entry.js.map +0 -1
  783. package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
  784. package/dist/cjs/z-pagination.cjs.entry.js.map +0 -1
  785. package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
  786. package/dist/cjs/z-popover.cjs.entry.js.map +0 -1
  787. package/dist/cjs/z-range-picker.cjs.entry.js.map +0 -1
  788. package/dist/cjs/z-result-card.cjs.entry.js.map +0 -1
  789. package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
  790. package/dist/cjs/z-select.cjs.entry.js.map +0 -1
  791. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +0 -1
  792. package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
  793. package/dist/cjs/z-stepper-item.cjs.entry.js.map +0 -1
  794. package/dist/cjs/z-stepper.cjs.entry.js.map +0 -1
  795. package/dist/cjs/z-table.cjs.entry.js.map +0 -1
  796. package/dist/cjs/z-tbody.cjs.entry.js.map +0 -1
  797. package/dist/cjs/z-td.cjs.entry.js.map +0 -1
  798. package/dist/cjs/z-tfoot.cjs.entry.js.map +0 -1
  799. package/dist/cjs/z-th.cjs.entry.js.map +0 -1
  800. package/dist/cjs/z-thead.cjs.entry.js.map +0 -1
  801. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +0 -1
  802. package/dist/cjs/z-toast-notification.cjs.entry.js.map +0 -1
  803. package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
  804. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +0 -1
  805. package/dist/cjs/z-tool.cjs.entry.js.map +0 -1
  806. package/dist/cjs/z-toolbar.cjs.entry.js.map +0 -1
  807. package/dist/cjs/z-tooltip.cjs.entry.js.map +0 -1
  808. package/dist/cjs/z-tr.cjs.entry.js.map +0 -1
  809. package/dist/cjs/z-tree-list.cjs.entry.js.map +0 -1
  810. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +0 -1
  811. package/dist/collection/__mocks__/fileMock.js.map +0 -1
  812. package/dist/collection/beans/index.js.map +0 -1
  813. package/dist/collection/components/book-card/z-book-card/index.js.map +0 -1
  814. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +0 -1
  815. package/dist/collection/components/book-card/z-book-card-app/index.js.map +0 -1
  816. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +0 -1
  817. package/dist/collection/components/css-components/z-fab/index.stories.js.map +0 -1
  818. package/dist/collection/components/css-components/z-label/index.stories.js.map +0 -1
  819. package/dist/collection/components/css-components/z-link/index.stories.js.map +0 -1
  820. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +0 -1
  821. package/dist/collection/components/date-picker/utils.js.map +0 -1
  822. package/dist/collection/components/date-picker/z-date-picker/index.js.map +0 -1
  823. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +0 -1
  824. package/dist/collection/components/date-picker/z-range-picker/index.js.map +0 -1
  825. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +0 -1
  826. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
  827. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +0 -1
  828. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
  829. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +0 -1
  830. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
  831. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +0 -1
  832. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
  833. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +0 -1
  834. package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
  835. package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +0 -1
  836. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +0 -1
  837. package/dist/collection/components/file-upload/z-file/index.js.map +0 -1
  838. package/dist/collection/components/file-upload/z-file/index.stories.js.map +0 -1
  839. package/dist/collection/components/file-upload/z-file-upload/index.js.map +0 -1
  840. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +0 -1
  841. package/dist/collection/components/index.js.map +0 -1
  842. package/dist/collection/components/list/z-list/index.js.map +0 -1
  843. package/dist/collection/components/list/z-list/index.stories.js.map +0 -1
  844. package/dist/collection/components/list/z-list-element/index.js.map +0 -1
  845. package/dist/collection/components/list/z-list-element/index.stories.js.map +0 -1
  846. package/dist/collection/components/list/z-list-group/index.js.map +0 -1
  847. package/dist/collection/components/list/z-list-group/index.stories.js.map +0 -1
  848. package/dist/collection/components/list/z-tree-list/index.js.map +0 -1
  849. package/dist/collection/components/list/z-tree-list/index.stories.js.map +0 -1
  850. package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
  851. package/dist/collection/components/table/cells/z-th/index.js.map +0 -1
  852. package/dist/collection/components/table/z-table/index.js.map +0 -1
  853. package/dist/collection/components/table/z-table/index.stories.js.map +0 -1
  854. package/dist/collection/components/table/z-tbody/index.js.map +0 -1
  855. package/dist/collection/components/table/z-tfoot/index.js.map +0 -1
  856. package/dist/collection/components/table/z-thead/index.js.map +0 -1
  857. package/dist/collection/components/table/z-tr/index.js.map +0 -1
  858. package/dist/collection/components/z-accordion/index.js.map +0 -1
  859. package/dist/collection/components/z-accordion/index.stories.js.map +0 -1
  860. package/dist/collection/components/z-anchor-navigation/index.js.map +0 -1
  861. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +0 -1
  862. package/dist/collection/components/z-app-header/index.js.map +0 -1
  863. package/dist/collection/components/z-app-header/index.stories.js.map +0 -1
  864. package/dist/collection/components/z-aria-alert/index.js.map +0 -1
  865. package/dist/collection/components/z-aria-alert/index.stories.js.map +0 -1
  866. package/dist/collection/components/z-avatar/index.js.map +0 -1
  867. package/dist/collection/components/z-avatar/index.stories.js.map +0 -1
  868. package/dist/collection/components/z-book-cover/index.js.map +0 -1
  869. package/dist/collection/components/z-book-cover/index.stories.js.map +0 -1
  870. package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
  871. package/dist/collection/components/z-breadcrumb/index.stories.js.map +0 -1
  872. package/dist/collection/components/z-button/index.js.map +0 -1
  873. package/dist/collection/components/z-button/index.stories.js.map +0 -1
  874. package/dist/collection/components/z-button-sort/index.js.map +0 -1
  875. package/dist/collection/components/z-button-sort/index.stories.js.map +0 -1
  876. package/dist/collection/components/z-card/index.js.map +0 -1
  877. package/dist/collection/components/z-card/index.stories.js.map +0 -1
  878. package/dist/collection/components/z-carousel/index.js.map +0 -1
  879. package/dist/collection/components/z-carousel/index.stories.js.map +0 -1
  880. package/dist/collection/components/z-chip/index.js.map +0 -1
  881. package/dist/collection/components/z-chip/index.stories.js.map +0 -1
  882. package/dist/collection/components/z-color-picker/index.js.map +0 -1
  883. package/dist/collection/components/z-color-picker/index.stories.js.map +0 -1
  884. package/dist/collection/components/z-combobox/index.js.map +0 -1
  885. package/dist/collection/components/z-combobox/index.stories.js.map +0 -1
  886. package/dist/collection/components/z-cover-hero/index.js.map +0 -1
  887. package/dist/collection/components/z-cover-hero/index.stories.js.map +0 -1
  888. package/dist/collection/components/z-divider/index.js.map +0 -1
  889. package/dist/collection/components/z-divider/index.stories.js.map +0 -1
  890. package/dist/collection/components/z-ghost-loading/index.js.map +0 -1
  891. package/dist/collection/components/z-ghost-loading/index.stories.js.map +0 -1
  892. package/dist/collection/components/z-icon/index.js.map +0 -1
  893. package/dist/collection/components/z-icon/index.stories.js.map +0 -1
  894. package/dist/collection/components/z-info-box/index.js.map +0 -1
  895. package/dist/collection/components/z-info-box/index.stories.js.map +0 -1
  896. package/dist/collection/components/z-info-reveal/index.js.map +0 -1
  897. package/dist/collection/components/z-info-reveal/index.stories.js.map +0 -1
  898. package/dist/collection/components/z-input/index.js.map +0 -1
  899. package/dist/collection/components/z-input/index.stories.js.map +0 -1
  900. package/dist/collection/components/z-input-message/index.js.map +0 -1
  901. package/dist/collection/components/z-input-message/index.stories.js.map +0 -1
  902. package/dist/collection/components/z-logo/index.js.map +0 -1
  903. package/dist/collection/components/z-logo/index.stories.js.map +0 -1
  904. package/dist/collection/components/z-menu/index.js.map +0 -1
  905. package/dist/collection/components/z-menu/index.stories.js.map +0 -1
  906. package/dist/collection/components/z-menu-section/index.js.map +0 -1
  907. package/dist/collection/components/z-menu-section/index.stories.js.map +0 -1
  908. package/dist/collection/components/z-modal/index.js.map +0 -1
  909. package/dist/collection/components/z-modal/index.stories.js.map +0 -1
  910. package/dist/collection/components/z-navigation-tabs/index.js.map +0 -1
  911. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +0 -1
  912. package/dist/collection/components/z-notification/index.js.map +0 -1
  913. package/dist/collection/components/z-notification/index.stories.js.map +0 -1
  914. package/dist/collection/components/z-offcanvas/index.js.map +0 -1
  915. package/dist/collection/components/z-offcanvas/index.stories.js.map +0 -1
  916. package/dist/collection/components/z-pagination/index.js.map +0 -1
  917. package/dist/collection/components/z-pagination/index.stories.js.map +0 -1
  918. package/dist/collection/components/z-panel-elem/index.js.map +0 -1
  919. package/dist/collection/components/z-panel-elem/index.stories.js.map +0 -1
  920. package/dist/collection/components/z-popover/index.js.map +0 -1
  921. package/dist/collection/components/z-popover/index.stories.js.map +0 -1
  922. package/dist/collection/components/z-result-card/index.js.map +0 -1
  923. package/dist/collection/components/z-result-card/z-result-card.stories.js.map +0 -1
  924. package/dist/collection/components/z-searchbar/index.js.map +0 -1
  925. package/dist/collection/components/z-searchbar/index.stories.js.map +0 -1
  926. package/dist/collection/components/z-select/index.js.map +0 -1
  927. package/dist/collection/components/z-select/index.stories.js.map +0 -1
  928. package/dist/collection/components/z-skip-to-content/index.js.map +0 -1
  929. package/dist/collection/components/z-skip-to-content/index.stories.js.map +0 -1
  930. package/dist/collection/components/z-stepper/index.js.map +0 -1
  931. package/dist/collection/components/z-stepper/index.stories.js.map +0 -1
  932. package/dist/collection/components/z-stepper-item/index.js.map +0 -1
  933. package/dist/collection/components/z-stepper-item/index.stories.js.map +0 -1
  934. package/dist/collection/components/z-tag/index.js.map +0 -1
  935. package/dist/collection/components/z-tag/index.stories.js.map +0 -1
  936. package/dist/collection/components/z-toast-notification/index.js.map +0 -1
  937. package/dist/collection/components/z-toast-notification/index.stories.js.map +0 -1
  938. package/dist/collection/components/z-toast-notification-list/index.js.map +0 -1
  939. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +0 -1
  940. package/dist/collection/components/z-toggle-button/index.js.map +0 -1
  941. package/dist/collection/components/z-toggle-button/index.stories.js.map +0 -1
  942. package/dist/collection/components/z-toggle-switch/index.js.map +0 -1
  943. package/dist/collection/components/z-toggle-switch/index.stories.js.map +0 -1
  944. package/dist/collection/components/z-tool/index.js.map +0 -1
  945. package/dist/collection/components/z-tool/index.stories.js.map +0 -1
  946. package/dist/collection/components/z-toolbar/index.js.map +0 -1
  947. package/dist/collection/components/z-toolbar/index.stories.js.map +0 -1
  948. package/dist/collection/components/z-tooltip/index.js.map +0 -1
  949. package/dist/collection/components/z-tooltip/index.stories.js.map +0 -1
  950. package/dist/collection/components/z-visually-hidden/index.js.map +0 -1
  951. package/dist/collection/components/z-visually-hidden/index.stories.js.map +0 -1
  952. package/dist/collection/constants/breakpoints.js.map +0 -1
  953. package/dist/collection/constants/icons.js.map +0 -1
  954. package/dist/collection/constants/iconset.js.map +0 -1
  955. package/dist/collection/index.js.map +0 -1
  956. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
  957. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
  958. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
  959. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
  960. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
  961. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
  962. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
  963. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
  964. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
  965. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
  966. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
  967. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
  968. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
  969. package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
  970. package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
  971. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
  972. package/dist/collection/utils/storybook-utils.js.map +0 -1
  973. package/dist/collection/utils/utils.js.map +0 -1
  974. package/dist/components/_commonjsHelpers.js.map +0 -1
  975. package/dist/components/breakpoints.js.map +0 -1
  976. package/dist/components/iconset.js.map +0 -1
  977. package/dist/components/index.js.map +0 -1
  978. package/dist/components/index10.js.map +0 -1
  979. package/dist/components/index11.js.map +0 -1
  980. package/dist/components/index12.js.map +0 -1
  981. package/dist/components/index13.js.map +0 -1
  982. package/dist/components/index14.js.map +0 -1
  983. package/dist/components/index15.js.map +0 -1
  984. package/dist/components/index16.js.map +0 -1
  985. package/dist/components/index17.js.map +0 -1
  986. package/dist/components/index18.js.map +0 -1
  987. package/dist/components/index19.js.map +0 -1
  988. package/dist/components/index2.js.map +0 -1
  989. package/dist/components/index20.js.map +0 -1
  990. package/dist/components/index21.js.map +0 -1
  991. package/dist/components/index22.js.map +0 -1
  992. package/dist/components/index23.js.map +0 -1
  993. package/dist/components/index24.js.map +0 -1
  994. package/dist/components/index25.js.map +0 -1
  995. package/dist/components/index26.js.map +0 -1
  996. package/dist/components/index27.js.map +0 -1
  997. package/dist/components/index3.js.map +0 -1
  998. package/dist/components/index4.js.map +0 -1
  999. package/dist/components/index5.js.map +0 -1
  1000. package/dist/components/index6.js.map +0 -1
  1001. package/dist/components/index7.js.map +0 -1
  1002. package/dist/components/index8.js.map +0 -1
  1003. package/dist/components/index9.js.map +0 -1
  1004. package/dist/components/utils.js.map +0 -1
  1005. package/dist/components/utils2.js.map +0 -1
  1006. package/dist/components/z-accordion.js.map +0 -1
  1007. package/dist/components/z-alert.js.map +0 -1
  1008. package/dist/components/z-anchor-navigation.js.map +0 -1
  1009. package/dist/components/z-app-header-deprecated.js.map +0 -1
  1010. package/dist/components/z-app-header.js.map +0 -1
  1011. package/dist/components/z-aria-alert.js.map +0 -1
  1012. package/dist/components/z-avatar.js.map +0 -1
  1013. package/dist/components/z-book-card-app.js.map +0 -1
  1014. package/dist/components/z-book-card-deprecated.js.map +0 -1
  1015. package/dist/components/z-book-card.js.map +0 -1
  1016. package/dist/components/z-book-cover.js.map +0 -1
  1017. package/dist/components/z-breadcrumb.js.map +0 -1
  1018. package/dist/components/z-button-sort.js.map +0 -1
  1019. package/dist/components/z-button.js.map +0 -1
  1020. package/dist/components/z-card.js.map +0 -1
  1021. package/dist/components/z-carousel.js.map +0 -1
  1022. package/dist/components/z-chip.js.map +0 -1
  1023. package/dist/components/z-color-picker.js.map +0 -1
  1024. package/dist/components/z-combobox.js.map +0 -1
  1025. package/dist/components/z-cover-hero.js.map +0 -1
  1026. package/dist/components/z-date-picker.js.map +0 -1
  1027. package/dist/components/z-divider.js.map +0 -1
  1028. package/dist/components/z-dragdrop-area.js.map +0 -1
  1029. package/dist/components/z-file-upload.js.map +0 -1
  1030. package/dist/components/z-file.js.map +0 -1
  1031. package/dist/components/z-ghost-loading.js.map +0 -1
  1032. package/dist/components/z-icon.js.map +0 -1
  1033. package/dist/components/z-info-box.js.map +0 -1
  1034. package/dist/components/z-info-reveal.js.map +0 -1
  1035. package/dist/components/z-input-message.js.map +0 -1
  1036. package/dist/components/z-input.js.map +0 -1
  1037. package/dist/components/z-list-element.js.map +0 -1
  1038. package/dist/components/z-list-group.js.map +0 -1
  1039. package/dist/components/z-list.js.map +0 -1
  1040. package/dist/components/z-logo.js.map +0 -1
  1041. package/dist/components/z-menu-deprecated.js.map +0 -1
  1042. package/dist/components/z-menu-section-deprecated.js.map +0 -1
  1043. package/dist/components/z-menu-section.js.map +0 -1
  1044. package/dist/components/z-menu.js.map +0 -1
  1045. package/dist/components/z-modal.js.map +0 -1
  1046. package/dist/components/z-myz-card-alert.js.map +0 -1
  1047. package/dist/components/z-myz-card-body.js.map +0 -1
  1048. package/dist/components/z-myz-card-cover.js.map +0 -1
  1049. package/dist/components/z-myz-card-dictionary.js.map +0 -1
  1050. package/dist/components/z-myz-card-footer-sections.js.map +0 -1
  1051. package/dist/components/z-myz-card-footer.js.map +0 -1
  1052. package/dist/components/z-myz-card-header.js.map +0 -1
  1053. package/dist/components/z-myz-card-icon.js.map +0 -1
  1054. package/dist/components/z-myz-card-info.js.map +0 -1
  1055. package/dist/components/z-myz-card-list.js.map +0 -1
  1056. package/dist/components/z-myz-card.js.map +0 -1
  1057. package/dist/components/z-myz-list-item.js.map +0 -1
  1058. package/dist/components/z-myz-list.js.map +0 -1
  1059. package/dist/components/z-navigation-tabs.js.map +0 -1
  1060. package/dist/components/z-notification.js.map +0 -1
  1061. package/dist/components/z-offcanvas.js.map +0 -1
  1062. package/dist/components/z-otp.js.map +0 -1
  1063. package/dist/components/z-pagination.js.map +0 -1
  1064. package/dist/components/z-panel-elem.js.map +0 -1
  1065. package/dist/components/z-popover.js.map +0 -1
  1066. package/dist/components/z-range-picker.js.map +0 -1
  1067. package/dist/components/z-result-card.js.map +0 -1
  1068. package/dist/components/z-searchbar.js.map +0 -1
  1069. package/dist/components/z-section-title.js.map +0 -1
  1070. package/dist/components/z-select.js.map +0 -1
  1071. package/dist/components/z-skip-to-content.js.map +0 -1
  1072. package/dist/components/z-slideshow.js.map +0 -1
  1073. package/dist/components/z-stepper-item.js.map +0 -1
  1074. package/dist/components/z-stepper.js.map +0 -1
  1075. package/dist/components/z-table.js.map +0 -1
  1076. package/dist/components/z-tag.js.map +0 -1
  1077. package/dist/components/z-tbody.js.map +0 -1
  1078. package/dist/components/z-td.js.map +0 -1
  1079. package/dist/components/z-tfoot.js.map +0 -1
  1080. package/dist/components/z-th.js.map +0 -1
  1081. package/dist/components/z-thead.js.map +0 -1
  1082. package/dist/components/z-toast-notification-list.js.map +0 -1
  1083. package/dist/components/z-toast-notification.js.map +0 -1
  1084. package/dist/components/z-toggle-button.js.map +0 -1
  1085. package/dist/components/z-toggle-switch.js.map +0 -1
  1086. package/dist/components/z-tool.js.map +0 -1
  1087. package/dist/components/z-toolbar.js.map +0 -1
  1088. package/dist/components/z-tooltip.js.map +0 -1
  1089. package/dist/components/z-tr.js.map +0 -1
  1090. package/dist/components/z-tree-list.js.map +0 -1
  1091. package/dist/components/z-visually-hidden.js.map +0 -1
  1092. package/dist/docs/grid/index.stories.js +0 -54
  1093. package/dist/docs/grid/index.stories.js.map +0 -1
  1094. package/dist/docs/iconset/index.stories.js +0 -32
  1095. package/dist/docs/iconset/index.stories.js.map +0 -1
  1096. package/dist/docs/themes/index.stories.js +0 -108
  1097. package/dist/docs/themes/index.stories.js.map +0 -1
  1098. package/dist/docs/typography/index.stories.js +0 -186
  1099. package/dist/docs/typography/index.stories.js.map +0 -1
  1100. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
  1101. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
  1102. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1103. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1104. package/dist/esm/breakpoints-d148bfde.js.map +0 -1
  1105. package/dist/esm/iconset-d7823b13.js.map +0 -1
  1106. package/dist/esm/index-09bfb4ee.js +0 -18
  1107. package/dist/esm/index-09bfb4ee.js.map +0 -1
  1108. package/dist/esm/index-106473a8.js.map +0 -1
  1109. package/dist/esm/index-3856a6ca.js +0 -19
  1110. package/dist/esm/index-3856a6ca.js.map +0 -1
  1111. package/dist/esm/index-455c0a68.js +0 -21
  1112. package/dist/esm/index-455c0a68.js.map +0 -1
  1113. package/dist/esm/index-6c43bc70.js +0 -65
  1114. package/dist/esm/index-6c43bc70.js.map +0 -1
  1115. package/dist/esm/index-a0b957e0.js +0 -71
  1116. package/dist/esm/index-a0b957e0.js.map +0 -1
  1117. package/dist/esm/index-c8ceadeb.js +0 -2293
  1118. package/dist/esm/index-c8ceadeb.js.map +0 -1
  1119. package/dist/esm/index-f8517155.js +0 -45
  1120. package/dist/esm/index-f8517155.js.map +0 -1
  1121. package/dist/esm/index.js.map +0 -1
  1122. package/dist/esm/loader.js.map +0 -1
  1123. package/dist/esm/utils-8d6ca808.js.map +0 -1
  1124. package/dist/esm/utils-93ac0e6c.js.map +0 -1
  1125. package/dist/esm/web-components-library.js.map +0 -1
  1126. package/dist/esm/z-accordion.entry.js.map +0 -1
  1127. package/dist/esm/z-alert.entry.js.map +0 -1
  1128. package/dist/esm/z-anchor-navigation.entry.js.map +0 -1
  1129. package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
  1130. package/dist/esm/z-app-header_12.entry.js.map +0 -1
  1131. package/dist/esm/z-aria-alert.entry.js.map +0 -1
  1132. package/dist/esm/z-avatar.entry.js.map +0 -1
  1133. package/dist/esm/z-book-card-app.entry.js.map +0 -1
  1134. package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
  1135. package/dist/esm/z-book-card.entry.js.map +0 -1
  1136. package/dist/esm/z-book-cover.entry.js.map +0 -1
  1137. package/dist/esm/z-breadcrumb.entry.js.map +0 -1
  1138. package/dist/esm/z-button-sort.entry.js.map +0 -1
  1139. package/dist/esm/z-card.entry.js.map +0 -1
  1140. package/dist/esm/z-carousel.entry.js.map +0 -1
  1141. package/dist/esm/z-chip.entry.js.map +0 -1
  1142. package/dist/esm/z-color-picker.entry.js.map +0 -1
  1143. package/dist/esm/z-combobox.entry.js.map +0 -1
  1144. package/dist/esm/z-cover-hero.entry.js.map +0 -1
  1145. package/dist/esm/z-date-picker.entry.js.map +0 -1
  1146. package/dist/esm/z-dragdrop-area_2.entry.js.map +0 -1
  1147. package/dist/esm/z-file-upload.entry.js.map +0 -1
  1148. package/dist/esm/z-file.entry.js.map +0 -1
  1149. package/dist/esm/z-ghost-loading.entry.js.map +0 -1
  1150. package/dist/esm/z-info-box.entry.js.map +0 -1
  1151. package/dist/esm/z-info-reveal.entry.js.map +0 -1
  1152. package/dist/esm/z-logo.entry.js.map +0 -1
  1153. package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
  1154. package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
  1155. package/dist/esm/z-menu-section.entry.js.map +0 -1
  1156. package/dist/esm/z-menu.entry.js.map +0 -1
  1157. package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
  1158. package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
  1159. package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
  1160. package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
  1161. package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
  1162. package/dist/esm/z-myz-card-info.entry.js.map +0 -1
  1163. package/dist/esm/z-myz-card-list.entry.js.map +0 -1
  1164. package/dist/esm/z-myz-card_4.entry.js.map +0 -1
  1165. package/dist/esm/z-myz-list-item.entry.js.map +0 -1
  1166. package/dist/esm/z-myz-list.entry.js.map +0 -1
  1167. package/dist/esm/z-navigation-tabs.entry.js.map +0 -1
  1168. package/dist/esm/z-notification.entry.js.map +0 -1
  1169. package/dist/esm/z-otp.entry.js.map +0 -1
  1170. package/dist/esm/z-pagination.entry.js.map +0 -1
  1171. package/dist/esm/z-panel-elem.entry.js.map +0 -1
  1172. package/dist/esm/z-popover.entry.js.map +0 -1
  1173. package/dist/esm/z-range-picker.entry.js.map +0 -1
  1174. package/dist/esm/z-result-card.entry.js.map +0 -1
  1175. package/dist/esm/z-section-title.entry.js.map +0 -1
  1176. package/dist/esm/z-select.entry.js.map +0 -1
  1177. package/dist/esm/z-skip-to-content.entry.js.map +0 -1
  1178. package/dist/esm/z-slideshow.entry.js.map +0 -1
  1179. package/dist/esm/z-stepper-item.entry.js.map +0 -1
  1180. package/dist/esm/z-stepper.entry.js.map +0 -1
  1181. package/dist/esm/z-table.entry.js.map +0 -1
  1182. package/dist/esm/z-tbody.entry.js.map +0 -1
  1183. package/dist/esm/z-td.entry.js.map +0 -1
  1184. package/dist/esm/z-tfoot.entry.js.map +0 -1
  1185. package/dist/esm/z-th.entry.js.map +0 -1
  1186. package/dist/esm/z-thead.entry.js.map +0 -1
  1187. package/dist/esm/z-toast-notification-list.entry.js.map +0 -1
  1188. package/dist/esm/z-toast-notification.entry.js.map +0 -1
  1189. package/dist/esm/z-toggle-button.entry.js.map +0 -1
  1190. package/dist/esm/z-toggle-switch.entry.js.map +0 -1
  1191. package/dist/esm/z-tool.entry.js.map +0 -1
  1192. package/dist/esm/z-toolbar.entry.js.map +0 -1
  1193. package/dist/esm/z-tooltip.entry.js.map +0 -1
  1194. package/dist/esm/z-tr.entry.js.map +0 -1
  1195. package/dist/esm/z-tree-list.entry.js.map +0 -1
  1196. package/dist/esm/z-visually-hidden.entry.js.map +0 -1
  1197. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
  1198. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
  1199. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -16
  1200. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +0 -96
  1201. package/dist/web-components-library/index.esm.js.map +0 -1
  1202. package/dist/web-components-library/p-061e28d6.js +0 -2
  1203. package/dist/web-components-library/p-061e28d6.js.map +0 -1
  1204. package/dist/web-components-library/p-08b16bb4.entry.js +0 -2
  1205. package/dist/web-components-library/p-08b16bb4.entry.js.map +0 -1
  1206. package/dist/web-components-library/p-0b03b0e3.js +0 -2
  1207. package/dist/web-components-library/p-0b03b0e3.js.map +0 -1
  1208. package/dist/web-components-library/p-0b9fc73c.entry.js +0 -2
  1209. package/dist/web-components-library/p-0b9fc73c.entry.js.map +0 -1
  1210. package/dist/web-components-library/p-146a4d4b.entry.js +0 -2
  1211. package/dist/web-components-library/p-146a4d4b.entry.js.map +0 -1
  1212. package/dist/web-components-library/p-252893a8.entry.js +0 -2
  1213. package/dist/web-components-library/p-252893a8.entry.js.map +0 -1
  1214. package/dist/web-components-library/p-2bb84080.entry.js +0 -2
  1215. package/dist/web-components-library/p-2bb84080.entry.js.map +0 -1
  1216. package/dist/web-components-library/p-31bd2a1c.entry.js +0 -2
  1217. package/dist/web-components-library/p-31bd2a1c.entry.js.map +0 -1
  1218. package/dist/web-components-library/p-32bc8a40.entry.js +0 -2
  1219. package/dist/web-components-library/p-32bc8a40.entry.js.map +0 -1
  1220. package/dist/web-components-library/p-36b84a8e.entry.js +0 -2
  1221. package/dist/web-components-library/p-36b84a8e.entry.js.map +0 -1
  1222. package/dist/web-components-library/p-3977b0ae.entry.js +0 -2
  1223. package/dist/web-components-library/p-3977b0ae.entry.js.map +0 -1
  1224. package/dist/web-components-library/p-41891d34.entry.js +0 -2
  1225. package/dist/web-components-library/p-41891d34.entry.js.map +0 -1
  1226. package/dist/web-components-library/p-42abfe3b.entry.js +0 -2
  1227. package/dist/web-components-library/p-42abfe3b.entry.js.map +0 -1
  1228. package/dist/web-components-library/p-447a6391.entry.js +0 -2
  1229. package/dist/web-components-library/p-447a6391.entry.js.map +0 -1
  1230. package/dist/web-components-library/p-4573c419.js +0 -2
  1231. package/dist/web-components-library/p-4573c419.js.map +0 -1
  1232. package/dist/web-components-library/p-47b59f05.entry.js +0 -2
  1233. package/dist/web-components-library/p-47b59f05.entry.js.map +0 -1
  1234. package/dist/web-components-library/p-5145a606.js +0 -2
  1235. package/dist/web-components-library/p-5145a606.js.map +0 -1
  1236. package/dist/web-components-library/p-5372d49f.entry.js +0 -2
  1237. package/dist/web-components-library/p-5372d49f.entry.js.map +0 -1
  1238. package/dist/web-components-library/p-565c1815.entry.js +0 -2
  1239. package/dist/web-components-library/p-565c1815.entry.js.map +0 -1
  1240. package/dist/web-components-library/p-5b577b6f.entry.js +0 -2
  1241. package/dist/web-components-library/p-5b577b6f.entry.js.map +0 -1
  1242. package/dist/web-components-library/p-5fde1b41.entry.js +0 -2
  1243. package/dist/web-components-library/p-5fde1b41.entry.js.map +0 -1
  1244. package/dist/web-components-library/p-6164feb9.entry.js +0 -2
  1245. package/dist/web-components-library/p-6164feb9.entry.js.map +0 -1
  1246. package/dist/web-components-library/p-623fdee4.js +0 -2
  1247. package/dist/web-components-library/p-623fdee4.js.map +0 -1
  1248. package/dist/web-components-library/p-64d5fdd8.entry.js +0 -2
  1249. package/dist/web-components-library/p-64d5fdd8.entry.js.map +0 -1
  1250. package/dist/web-components-library/p-662119bb.entry.js +0 -2
  1251. package/dist/web-components-library/p-662119bb.entry.js.map +0 -1
  1252. package/dist/web-components-library/p-66c0f993.entry.js +0 -2
  1253. package/dist/web-components-library/p-66c0f993.entry.js.map +0 -1
  1254. package/dist/web-components-library/p-68278c42.entry.js +0 -2
  1255. package/dist/web-components-library/p-68278c42.entry.js.map +0 -1
  1256. package/dist/web-components-library/p-68d91a93.js +0 -2
  1257. package/dist/web-components-library/p-68d91a93.js.map +0 -1
  1258. package/dist/web-components-library/p-6c6a655e.entry.js +0 -2
  1259. package/dist/web-components-library/p-6c6a655e.entry.js.map +0 -1
  1260. package/dist/web-components-library/p-6c9cd6be.entry.js.map +0 -1
  1261. package/dist/web-components-library/p-6e13aa8e.entry.js +0 -2
  1262. package/dist/web-components-library/p-6e13aa8e.entry.js.map +0 -1
  1263. package/dist/web-components-library/p-75c4a726.js +0 -3
  1264. package/dist/web-components-library/p-75c4a726.js.map +0 -1
  1265. package/dist/web-components-library/p-767b66ca.entry.js +0 -2
  1266. package/dist/web-components-library/p-767b66ca.entry.js.map +0 -1
  1267. package/dist/web-components-library/p-78af415b.entry.js +0 -2
  1268. package/dist/web-components-library/p-78af415b.entry.js.map +0 -1
  1269. package/dist/web-components-library/p-7a4f6a5b.entry.js +0 -2
  1270. package/dist/web-components-library/p-7a4f6a5b.entry.js.map +0 -1
  1271. package/dist/web-components-library/p-7ade2a71.entry.js +0 -2
  1272. package/dist/web-components-library/p-7ade2a71.entry.js.map +0 -1
  1273. package/dist/web-components-library/p-7b837e11.js +0 -2
  1274. package/dist/web-components-library/p-7b837e11.js.map +0 -1
  1275. package/dist/web-components-library/p-7d655f96.entry.js +0 -2
  1276. package/dist/web-components-library/p-7d655f96.entry.js.map +0 -1
  1277. package/dist/web-components-library/p-80b04954.entry.js +0 -2
  1278. package/dist/web-components-library/p-80b04954.entry.js.map +0 -1
  1279. package/dist/web-components-library/p-82eeea83.entry.js +0 -2
  1280. package/dist/web-components-library/p-82eeea83.entry.js.map +0 -1
  1281. package/dist/web-components-library/p-8503c87a.entry.js +0 -2
  1282. package/dist/web-components-library/p-8503c87a.entry.js.map +0 -1
  1283. package/dist/web-components-library/p-86618221.js +0 -2
  1284. package/dist/web-components-library/p-86618221.js.map +0 -1
  1285. package/dist/web-components-library/p-88a9865c.entry.js +0 -2
  1286. package/dist/web-components-library/p-88a9865c.entry.js.map +0 -1
  1287. package/dist/web-components-library/p-8b367393.js +0 -2
  1288. package/dist/web-components-library/p-8b367393.js.map +0 -1
  1289. package/dist/web-components-library/p-8c52635e.entry.js +0 -2
  1290. package/dist/web-components-library/p-8c52635e.entry.js.map +0 -1
  1291. package/dist/web-components-library/p-8ee2a9d2.entry.js +0 -2
  1292. package/dist/web-components-library/p-8ee2a9d2.entry.js.map +0 -1
  1293. package/dist/web-components-library/p-8fd50cc5.entry.js +0 -2
  1294. package/dist/web-components-library/p-8fd50cc5.entry.js.map +0 -1
  1295. package/dist/web-components-library/p-8ff5b76b.entry.js +0 -2
  1296. package/dist/web-components-library/p-8ff5b76b.entry.js.map +0 -1
  1297. package/dist/web-components-library/p-92f13701.entry.js +0 -2
  1298. package/dist/web-components-library/p-92f13701.entry.js.map +0 -1
  1299. package/dist/web-components-library/p-93bb075f.entry.js +0 -2
  1300. package/dist/web-components-library/p-93bb075f.entry.js.map +0 -1
  1301. package/dist/web-components-library/p-93d349ee.entry.js +0 -2
  1302. package/dist/web-components-library/p-93d349ee.entry.js.map +0 -1
  1303. package/dist/web-components-library/p-943db3a8.entry.js +0 -2
  1304. package/dist/web-components-library/p-943db3a8.entry.js.map +0 -1
  1305. package/dist/web-components-library/p-96e61363.entry.js +0 -2
  1306. package/dist/web-components-library/p-96e61363.entry.js.map +0 -1
  1307. package/dist/web-components-library/p-9814f864.entry.js +0 -2
  1308. package/dist/web-components-library/p-9814f864.entry.js.map +0 -1
  1309. package/dist/web-components-library/p-988a58dd.entry.js +0 -2
  1310. package/dist/web-components-library/p-988a58dd.entry.js.map +0 -1
  1311. package/dist/web-components-library/p-9ae0c0c6.entry.js +0 -2
  1312. package/dist/web-components-library/p-9ae0c0c6.entry.js.map +0 -1
  1313. package/dist/web-components-library/p-9c816a3b.js +0 -2
  1314. package/dist/web-components-library/p-9c816a3b.js.map +0 -1
  1315. package/dist/web-components-library/p-a2ee659d.entry.js +0 -2
  1316. package/dist/web-components-library/p-a2ee659d.entry.js.map +0 -1
  1317. package/dist/web-components-library/p-a3f9a5da.entry.js +0 -2
  1318. package/dist/web-components-library/p-a3f9a5da.entry.js.map +0 -1
  1319. package/dist/web-components-library/p-a4d2cf55.entry.js +0 -2
  1320. package/dist/web-components-library/p-a4d2cf55.entry.js.map +0 -1
  1321. package/dist/web-components-library/p-a6c07588.entry.js +0 -2
  1322. package/dist/web-components-library/p-a6c07588.entry.js.map +0 -1
  1323. package/dist/web-components-library/p-a8790237.entry.js +0 -2
  1324. package/dist/web-components-library/p-a8790237.entry.js.map +0 -1
  1325. package/dist/web-components-library/p-aaa96c12.entry.js +0 -17
  1326. package/dist/web-components-library/p-aaa96c12.entry.js.map +0 -1
  1327. package/dist/web-components-library/p-b0324c7d.entry.js +0 -2
  1328. package/dist/web-components-library/p-b0324c7d.entry.js.map +0 -1
  1329. package/dist/web-components-library/p-b421424f.entry.js +0 -2
  1330. package/dist/web-components-library/p-b421424f.entry.js.map +0 -1
  1331. package/dist/web-components-library/p-bbc20250.entry.js +0 -2
  1332. package/dist/web-components-library/p-bbc20250.entry.js.map +0 -1
  1333. package/dist/web-components-library/p-bd2156cc.entry.js +0 -2
  1334. package/dist/web-components-library/p-bd2156cc.entry.js.map +0 -1
  1335. package/dist/web-components-library/p-bd76ca35.entry.js +0 -2
  1336. package/dist/web-components-library/p-bd76ca35.entry.js.map +0 -1
  1337. package/dist/web-components-library/p-be1c414e.entry.js +0 -2
  1338. package/dist/web-components-library/p-be1c414e.entry.js.map +0 -1
  1339. package/dist/web-components-library/p-c3e03e41.entry.js +0 -2
  1340. package/dist/web-components-library/p-c3e03e41.entry.js.map +0 -1
  1341. package/dist/web-components-library/p-c9b81cab.entry.js +0 -2
  1342. package/dist/web-components-library/p-c9b81cab.entry.js.map +0 -1
  1343. package/dist/web-components-library/p-caced575.entry.js +0 -2
  1344. package/dist/web-components-library/p-caced575.entry.js.map +0 -1
  1345. package/dist/web-components-library/p-cb395500.js +0 -2
  1346. package/dist/web-components-library/p-cb395500.js.map +0 -1
  1347. package/dist/web-components-library/p-cbc09112.entry.js +0 -2
  1348. package/dist/web-components-library/p-cbc09112.entry.js.map +0 -1
  1349. package/dist/web-components-library/p-d080b624.entry.js +0 -2
  1350. package/dist/web-components-library/p-d080b624.entry.js.map +0 -1
  1351. package/dist/web-components-library/p-d6f43903.entry.js +0 -2
  1352. package/dist/web-components-library/p-d6f43903.entry.js.map +0 -1
  1353. package/dist/web-components-library/p-da3abb97.entry.js +0 -2
  1354. package/dist/web-components-library/p-da3abb97.entry.js.map +0 -1
  1355. package/dist/web-components-library/p-e1255160.js +0 -2
  1356. package/dist/web-components-library/p-e1255160.js.map +0 -1
  1357. package/dist/web-components-library/p-eb15536d.js.map +0 -1
  1358. package/dist/web-components-library/p-ec1270db.entry.js +0 -2
  1359. package/dist/web-components-library/p-ec1270db.entry.js.map +0 -1
  1360. package/dist/web-components-library/p-efa6b991.entry.js +0 -2
  1361. package/dist/web-components-library/p-efa6b991.entry.js.map +0 -1
  1362. package/dist/web-components-library/p-f4b987ed.entry.js +0 -2
  1363. package/dist/web-components-library/p-f4b987ed.entry.js.map +0 -1
  1364. package/dist/web-components-library/p-f74973b5.entry.js +0 -8
  1365. package/dist/web-components-library/p-f74973b5.entry.js.map +0 -1
  1366. package/dist/web-components-library/p-f7e65eb0.entry.js +0 -2
  1367. package/dist/web-components-library/p-f7e65eb0.entry.js.map +0 -1
  1368. package/dist/web-components-library/p-ff89d630.entry.js +0 -2
  1369. package/dist/web-components-library/p-ff89d630.entry.js.map +0 -1
  1370. package/dist/web-components-library/web-components-library.esm.js.map +0 -1
  1371. package/loader/package.json +0 -11
  1372. package/react/components.js.map +0 -1
  1373. package/react/index.js.map +0 -1
  1374. package/react/react-component-lib/createComponent.js.map +0 -1
  1375. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  1376. package/react/react-component-lib/index.js.map +0 -1
  1377. package/react/react-component-lib/interfaces.js.map +0 -1
  1378. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  1379. package/react/react-component-lib/utils/case.js.map +0 -1
  1380. package/react/react-component-lib/utils/dev.js.map +0 -1
  1381. package/react/react-component-lib/utils/index.js.map +0 -1
  1382. package/www/build/index.esm.js.map +0 -1
  1383. package/www/build/p-061e28d6.js +0 -2
  1384. package/www/build/p-061e28d6.js.map +0 -1
  1385. package/www/build/p-08b16bb4.entry.js +0 -2
  1386. package/www/build/p-08b16bb4.entry.js.map +0 -1
  1387. package/www/build/p-0b03b0e3.js +0 -2
  1388. package/www/build/p-0b03b0e3.js.map +0 -1
  1389. package/www/build/p-0b9fc73c.entry.js +0 -2
  1390. package/www/build/p-0b9fc73c.entry.js.map +0 -1
  1391. package/www/build/p-146a4d4b.entry.js +0 -2
  1392. package/www/build/p-146a4d4b.entry.js.map +0 -1
  1393. package/www/build/p-252893a8.entry.js +0 -2
  1394. package/www/build/p-252893a8.entry.js.map +0 -1
  1395. package/www/build/p-2bb84080.entry.js +0 -2
  1396. package/www/build/p-2bb84080.entry.js.map +0 -1
  1397. package/www/build/p-31bd2a1c.entry.js +0 -2
  1398. package/www/build/p-31bd2a1c.entry.js.map +0 -1
  1399. package/www/build/p-32bc8a40.entry.js +0 -2
  1400. package/www/build/p-32bc8a40.entry.js.map +0 -1
  1401. package/www/build/p-36b84a8e.entry.js +0 -2
  1402. package/www/build/p-36b84a8e.entry.js.map +0 -1
  1403. package/www/build/p-3977b0ae.entry.js +0 -2
  1404. package/www/build/p-3977b0ae.entry.js.map +0 -1
  1405. package/www/build/p-41891d34.entry.js +0 -2
  1406. package/www/build/p-41891d34.entry.js.map +0 -1
  1407. package/www/build/p-42abfe3b.entry.js +0 -2
  1408. package/www/build/p-42abfe3b.entry.js.map +0 -1
  1409. package/www/build/p-447a6391.entry.js +0 -2
  1410. package/www/build/p-447a6391.entry.js.map +0 -1
  1411. package/www/build/p-4573c419.js +0 -2
  1412. package/www/build/p-4573c419.js.map +0 -1
  1413. package/www/build/p-47b59f05.entry.js +0 -2
  1414. package/www/build/p-47b59f05.entry.js.map +0 -1
  1415. package/www/build/p-5145a606.js +0 -2
  1416. package/www/build/p-5145a606.js.map +0 -1
  1417. package/www/build/p-5372d49f.entry.js +0 -2
  1418. package/www/build/p-5372d49f.entry.js.map +0 -1
  1419. package/www/build/p-565c1815.entry.js +0 -2
  1420. package/www/build/p-565c1815.entry.js.map +0 -1
  1421. package/www/build/p-5b577b6f.entry.js +0 -2
  1422. package/www/build/p-5b577b6f.entry.js.map +0 -1
  1423. package/www/build/p-5fde1b41.entry.js +0 -2
  1424. package/www/build/p-5fde1b41.entry.js.map +0 -1
  1425. package/www/build/p-6164feb9.entry.js +0 -2
  1426. package/www/build/p-6164feb9.entry.js.map +0 -1
  1427. package/www/build/p-623fdee4.js +0 -2
  1428. package/www/build/p-623fdee4.js.map +0 -1
  1429. package/www/build/p-64d5fdd8.entry.js +0 -2
  1430. package/www/build/p-64d5fdd8.entry.js.map +0 -1
  1431. package/www/build/p-662119bb.entry.js +0 -2
  1432. package/www/build/p-662119bb.entry.js.map +0 -1
  1433. package/www/build/p-66c0f993.entry.js +0 -2
  1434. package/www/build/p-66c0f993.entry.js.map +0 -1
  1435. package/www/build/p-68278c42.entry.js +0 -2
  1436. package/www/build/p-68278c42.entry.js.map +0 -1
  1437. package/www/build/p-68d91a93.js +0 -2
  1438. package/www/build/p-68d91a93.js.map +0 -1
  1439. package/www/build/p-6c6a655e.entry.js +0 -2
  1440. package/www/build/p-6c6a655e.entry.js.map +0 -1
  1441. package/www/build/p-6c9cd6be.entry.js.map +0 -1
  1442. package/www/build/p-6e13aa8e.entry.js +0 -2
  1443. package/www/build/p-6e13aa8e.entry.js.map +0 -1
  1444. package/www/build/p-75c4a726.js +0 -3
  1445. package/www/build/p-75c4a726.js.map +0 -1
  1446. package/www/build/p-767b66ca.entry.js +0 -2
  1447. package/www/build/p-767b66ca.entry.js.map +0 -1
  1448. package/www/build/p-78af415b.entry.js +0 -2
  1449. package/www/build/p-78af415b.entry.js.map +0 -1
  1450. package/www/build/p-7a4f6a5b.entry.js +0 -2
  1451. package/www/build/p-7a4f6a5b.entry.js.map +0 -1
  1452. package/www/build/p-7a9b89a3.js +0 -2
  1453. package/www/build/p-7ade2a71.entry.js +0 -2
  1454. package/www/build/p-7ade2a71.entry.js.map +0 -1
  1455. package/www/build/p-7b837e11.js +0 -2
  1456. package/www/build/p-7b837e11.js.map +0 -1
  1457. package/www/build/p-7d655f96.entry.js +0 -2
  1458. package/www/build/p-7d655f96.entry.js.map +0 -1
  1459. package/www/build/p-80b04954.entry.js +0 -2
  1460. package/www/build/p-80b04954.entry.js.map +0 -1
  1461. package/www/build/p-82eeea83.entry.js +0 -2
  1462. package/www/build/p-82eeea83.entry.js.map +0 -1
  1463. package/www/build/p-8503c87a.entry.js +0 -2
  1464. package/www/build/p-8503c87a.entry.js.map +0 -1
  1465. package/www/build/p-86618221.js +0 -2
  1466. package/www/build/p-86618221.js.map +0 -1
  1467. package/www/build/p-88a9865c.entry.js +0 -2
  1468. package/www/build/p-88a9865c.entry.js.map +0 -1
  1469. package/www/build/p-8b367393.js +0 -2
  1470. package/www/build/p-8b367393.js.map +0 -1
  1471. package/www/build/p-8c52635e.entry.js +0 -2
  1472. package/www/build/p-8c52635e.entry.js.map +0 -1
  1473. package/www/build/p-8ee2a9d2.entry.js +0 -2
  1474. package/www/build/p-8ee2a9d2.entry.js.map +0 -1
  1475. package/www/build/p-8fd50cc5.entry.js +0 -2
  1476. package/www/build/p-8fd50cc5.entry.js.map +0 -1
  1477. package/www/build/p-8ff5b76b.entry.js +0 -2
  1478. package/www/build/p-8ff5b76b.entry.js.map +0 -1
  1479. package/www/build/p-92f13701.entry.js +0 -2
  1480. package/www/build/p-92f13701.entry.js.map +0 -1
  1481. package/www/build/p-93bb075f.entry.js +0 -2
  1482. package/www/build/p-93bb075f.entry.js.map +0 -1
  1483. package/www/build/p-93d349ee.entry.js +0 -2
  1484. package/www/build/p-93d349ee.entry.js.map +0 -1
  1485. package/www/build/p-943db3a8.entry.js +0 -2
  1486. package/www/build/p-943db3a8.entry.js.map +0 -1
  1487. package/www/build/p-96e61363.entry.js +0 -2
  1488. package/www/build/p-96e61363.entry.js.map +0 -1
  1489. package/www/build/p-9814f864.entry.js +0 -2
  1490. package/www/build/p-9814f864.entry.js.map +0 -1
  1491. package/www/build/p-988a58dd.entry.js +0 -2
  1492. package/www/build/p-988a58dd.entry.js.map +0 -1
  1493. package/www/build/p-9ae0c0c6.entry.js +0 -2
  1494. package/www/build/p-9ae0c0c6.entry.js.map +0 -1
  1495. package/www/build/p-9c816a3b.js +0 -2
  1496. package/www/build/p-9c816a3b.js.map +0 -1
  1497. package/www/build/p-a2ee659d.entry.js +0 -2
  1498. package/www/build/p-a2ee659d.entry.js.map +0 -1
  1499. package/www/build/p-a3f9a5da.entry.js +0 -2
  1500. package/www/build/p-a3f9a5da.entry.js.map +0 -1
  1501. package/www/build/p-a4d2cf55.entry.js +0 -2
  1502. package/www/build/p-a4d2cf55.entry.js.map +0 -1
  1503. package/www/build/p-a6c07588.entry.js +0 -2
  1504. package/www/build/p-a6c07588.entry.js.map +0 -1
  1505. package/www/build/p-a8790237.entry.js +0 -2
  1506. package/www/build/p-a8790237.entry.js.map +0 -1
  1507. package/www/build/p-aaa96c12.entry.js +0 -17
  1508. package/www/build/p-aaa96c12.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-b421424f.entry.js +0 -2
  1512. package/www/build/p-b421424f.entry.js.map +0 -1
  1513. package/www/build/p-bbc20250.entry.js +0 -2
  1514. package/www/build/p-bbc20250.entry.js.map +0 -1
  1515. package/www/build/p-bd2156cc.entry.js +0 -2
  1516. package/www/build/p-bd2156cc.entry.js.map +0 -1
  1517. package/www/build/p-bd76ca35.entry.js +0 -2
  1518. package/www/build/p-bd76ca35.entry.js.map +0 -1
  1519. package/www/build/p-be1c414e.entry.js +0 -2
  1520. package/www/build/p-be1c414e.entry.js.map +0 -1
  1521. package/www/build/p-c3e03e41.entry.js +0 -2
  1522. package/www/build/p-c3e03e41.entry.js.map +0 -1
  1523. package/www/build/p-c9b81cab.entry.js +0 -2
  1524. package/www/build/p-c9b81cab.entry.js.map +0 -1
  1525. package/www/build/p-caced575.entry.js +0 -2
  1526. package/www/build/p-caced575.entry.js.map +0 -1
  1527. package/www/build/p-cb395500.js +0 -2
  1528. package/www/build/p-cb395500.js.map +0 -1
  1529. package/www/build/p-cbc09112.entry.js +0 -2
  1530. package/www/build/p-cbc09112.entry.js.map +0 -1
  1531. package/www/build/p-d080b624.entry.js +0 -2
  1532. package/www/build/p-d080b624.entry.js.map +0 -1
  1533. package/www/build/p-d6f43903.entry.js +0 -2
  1534. package/www/build/p-d6f43903.entry.js.map +0 -1
  1535. package/www/build/p-da3abb97.entry.js +0 -2
  1536. package/www/build/p-da3abb97.entry.js.map +0 -1
  1537. package/www/build/p-e1255160.js +0 -2
  1538. package/www/build/p-e1255160.js.map +0 -1
  1539. package/www/build/p-eb15536d.js.map +0 -1
  1540. package/www/build/p-ec1270db.entry.js +0 -2
  1541. package/www/build/p-ec1270db.entry.js.map +0 -1
  1542. package/www/build/p-efa6b991.entry.js +0 -2
  1543. package/www/build/p-efa6b991.entry.js.map +0 -1
  1544. package/www/build/p-f4b987ed.entry.js +0 -2
  1545. package/www/build/p-f4b987ed.entry.js.map +0 -1
  1546. package/www/build/p-f74973b5.entry.js +0 -8
  1547. package/www/build/p-f74973b5.entry.js.map +0 -1
  1548. package/www/build/p-f7e65eb0.entry.js +0 -2
  1549. package/www/build/p-f7e65eb0.entry.js.map +0 -1
  1550. package/www/build/p-ff89d630.entry.js +0 -2
  1551. package/www/build/p-ff89d630.entry.js.map +0 -1
  1552. package/www/build/web-components-library.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"file":"z-toggle-button.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,iiCAAiiC,CAAC;AACpjC,4BAAe,SAAS;;MCMX,aAAa;;;;;0BAOD,KAAK;;sBAQT,KAAK;yBAIZ,EAAE;;IAMN,eAAe;QACrB,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,OAAO;SACR;QAED,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACpC;IAED,MAAM;QACJ,QACE,+DACE,QAAQ,EAAE,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,GAAG,EACtC,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,MAAM;gBACrB,cAAc,EAAE,IAAI,CAAC,UAAU;aAChC,EACD,QAAQ,EAAE,IAAI,CAAC,UAAU,mBACV,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,gBACjC,IAAI,CAAC,SAAS,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,EAAE,IAErC,+DACE,IAAI,EAAE,IAAI,CAAC,MAAM,GAAG,cAAc,GAAG,YAAY,EACjD,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,EACD,IAAI,CAAC,KAAK,CACJ,EACT;KACH;;;;;;","names":[],"sources":["src/components/z-toggle-button/styles.css?tag=z-toggle-button&encapsulation=shadow","src/components/z-toggle-button/index.tsx"],"sourcesContent":["button {\n display: flex;\n height: 36px;\n align-items: center;\n padding-right: calc(var(--space-unit) * 2);\n padding-left: 0;\n border: var(--border-size-medium) solid;\n border-color: transparent;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n text-transform: uppercase;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-pressed-primary);\n}\n\nbutton:disabled {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n\nz-icon {\n display: inline-block;\n margin: 0 var(--space-unit) 0 calc(var(--space-unit) * 2);\n transform: rotate(360deg);\n transition: all 200ms linear;\n}\n\nbutton.isopen {\n top: -20px;\n}\n\nbutton.avoid-clicks {\n pointer-events: none;\n}\n","import {Component, Event, EventEmitter, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-toggle-button\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToggleButton {\n /** label text */\n @Prop()\n label: string;\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** avoidclick status flag */\n @Prop()\n avoidclick: boolean;\n\n /** open by default (optional) */\n @Prop({mutable: true})\n opened?: boolean = false;\n\n /** aria-label for the button */\n @Prop()\n ariaLabel = \"\";\n\n /** emitted on toggle button click, returns isOpen */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n if (this.isdisabled) {\n return;\n }\n\n this.opened = !this.opened;\n this.toggleClick.emit(this.opened);\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n tabindex={this.avoidclick ? \"-1\" : \"0\"}\n class={{\n \"isopen\": this.opened,\n \"avoid-clicks\": this.avoidclick,\n }}\n disabled={this.isdisabled}\n aria-expanded={this.opened ? \"true\" : \"false\"}\n aria-label={this.ariaLabel}\n onClick={() => this.emitToggleClick()}\n >\n <z-icon\n name={this.opened ? \"chevron-down\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n {this.label}\n </button>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-toggle-switch.entry.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,25EAA25E,CAAC;AAC96E,4BAAe,SAAS;;MCSX,aAAa;;;;wBAGH,KAAK;6BAIT,aAAa,CAAC,IAAI;uBAIf,KAAK;sBAIhB,oBAAoB,QAAQ,EAAE,EAAE;;IAMjC,eAAe;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YACpB,EAAE,EAAE,IAAI,CAAC,MAAM;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC,CAAC;KACJ;IAEO,WAAW,CAAC,EAAE;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO;SACR;QAED,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC;QACjC,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,8DACE,EAAE,EAAE,IAAI,CAAC,MAAM,EACf,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GACrC,EACF,8DACE,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,KAAK,EAAE;gBACL,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;gBAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAED,+DACE,8DAAQ,CACH,EACP,6DACE,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAED,6DAAM,KAAK,EAAC,QAAQ,IACjB,IAAI,CAAC,OAAO,KACX,+DACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,WAAW,GACR,CACX,CACI,CACF,CACD,CACH,EACP;KACH;;;;;;","names":[],"sources":["src/components/z-toggle-switch/styles.css?tag=z-toggle-switch&encapsulation=scoped","src/components/z-toggle-switch/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: inline-flex;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nlabel {\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n}\n\nlabel.disabled {\n cursor: default;\n}\n\nlabel.right {\n flex-direction: row-reverse;\n}\n\nlabel > span:first-child {\n color: var(--color-default-text);\n letter-spacing: 0;\n}\n\nlabel.left > span:first-child {\n margin-right: var(--space-unit);\n}\n\nlabel.right > span:first-child {\n margin-left: var(--space-unit);\n}\n\nlabel > span.container {\n position: relative;\n top: 1px;\n left: 1px;\n display: flex;\n width: calc(var(--space-unit) * 4);\n height: 18px;\n align-items: center;\n background-color: var(--gray500);\n border-radius: var(--space-unit);\n color: var(--gray500);\n cursor: pointer;\n}\n\nlabel > span.container.disabled,\nlabel > span.container.checked.disabled {\n background-color: var(--color-disabled01);\n cursor: default;\n}\n\nlabel > span.container.checked.disabled > span.circle > z-icon {\n fill: var(--color-disabled01);\n}\n\nlabel > span.container.checked {\n background-color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\ninput:focus:focus-visible + label > span.container:not(.disabled) {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\ninput:focus:focus-visible + label > span.container.disabled {\n outline: none;\n}\n\nlabel > span.container:not(.disabled):hover {\n background-color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nlabel > span.container > span.circle {\n position: absolute;\n top: 1px;\n left: 1px;\n display: flex;\n width: calc(var(--space-unit) * 2);\n height: calc(var(--space-unit) * 2);\n align-items: center;\n justify-content: center;\n margin: 0;\n background-color: var(--color-white);\n border-radius: 7px;\n box-shadow: var(--shadow-1);\n transition: transform 0.3s ease;\n}\n\nlabel > span.container.checked > span.circle {\n transform: translateX(calc(100% - 2px));\n}\n\ninput[type=\"checkbox\"] {\n position: absolute;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {LabelPosition} from \"../../beans\";\nimport {randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-toggle-switch\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZToggleSwitch {\n /** Disabled flag */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** Label position */\n @Prop({reflect: true})\n labelPosition? = LabelPosition.LEFT;\n\n /** Checked state */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** HTML id attribute to set to the internal checkbox */\n @Prop()\n htmlid = `toggle-switch-id-${randomId()}`;\n\n /** Toggle click event */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n this.toggleClick.emit({\n id: this.htmlid,\n checked: this.checked,\n });\n }\n\n private handleClick(ev): void {\n if (this.disabled) {\n return;\n }\n\n this.checked = ev.target.checked;\n this.emitToggleClick();\n }\n\n render(): HTMLZToggleSwitchElement {\n return (\n <Host>\n <input\n id={this.htmlid}\n type=\"checkbox\"\n checked={this.checked}\n disabled={this.disabled}\n onChange={this.handleClick.bind(this)}\n />\n <label\n htmlFor={this.htmlid}\n class={{\n [this.labelPosition]: true,\n disabled: this.disabled,\n }}\n >\n <span>\n <slot />\n </span>\n <span\n class={{\n container: true,\n disabled: this.disabled,\n checked: this.checked,\n }}\n >\n <span class=\"circle\">\n {this.checked && (\n <z-icon\n width={12}\n height={12}\n name=\"checkmark\"\n ></z-icon>\n )}\n </span>\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-tool.entry.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,+jDAA+jD,CAAC;AACllD,oBAAe,SAAS;;ACDxB,MAAM,aAAa,GAAG,q8XAAq8X,CAAC;AAC59X,oBAAe,aAAa;;MCcf,KAAK;;;;;;QAwER,aAAQ,GAAG,KAAK,CAAC;;;;QAcjB,sBAAiB,GAAG,CAAC,EAA2B;YACtD,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAc,CAAC,EAAE;gBAC7E,OAAO;aACR;YAED,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;gBAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;aACzB,EAAE,IAAI,CAAC,CAAC;SACV,CAAC;;;;QAKM,uBAAkB,GAA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C/E,MAAM;;;YAGN,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,GAAG,GAAG,eAAe,CAAC,MAAM,IAEtE,8DAAa,CACH,CACb,CACI,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/z-tool/styles.css?tag=z-tool&encapsulation=shadow","src/tokens/typography.css?tag=z-tool&encapsulation=shadow","src/components/z-tool/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n.z-tool {\n --z-tool-size: calc(var(--space-unit) * 5.5);\n --z-tool-icon-size: calc(var(--space-unit) * 2.5);\n\n position: relative;\n display: inline-flex;\n width: var(--z-tool-size);\n height: var(--z-tool-size);\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\n:host(:is([active], [open])) .z-tool {\n box-shadow: inset 0 0 0 2px var(--color-primary01);\n}\n\n:host([open]) .z-tool {\n background: var(--color-primary03);\n}\n\n@media (hover: hover) {\n :host(:hover),\n :host(.z-tool-tooltip-open) {\n /* ensure any open tooltip is shown over sibling elements */\n z-index: 1;\n }\n\n :host(:not([disabled])) .z-tool:hover {\n background-color: var(--color-primary03);\n }\n}\n\n.z-tool:focus:focus-visible {\n background-color: var(--color-primary03);\n outline: none;\n}\n\nz-icon {\n --z-icon-width: var(--z-tool-icon-size);\n --z-icon-height: var(--z-tool-icon-size);\n\n display: block;\n fill: var(--color-default-icon);\n}\n\n:host([disabled]) .z-tool {\n color: var(--color-disabled01-icon);\n cursor: not-allowed;\n}\n\n:host([disabled]) z-icon {\n fill: var(--color-disabled01-icon);\n}\n\n.z-tool-tooltip {\n --z-tooltip-padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);\n --z-tooltip-shadow-filter: drop-shadow(0 4px 8px var(--shadow-color-base));\n\n position: relative;\n z-index: 2;\n font-family: var(--font-family-sans);\n white-space: nowrap;\n}\n\n.z-tool-submenu {\n z-index: 3;\n border-radius: calc(var(--border-radius) + var(--border-size-small));\n}\n\n.z-tool-submenu ::slotted(z-color-picker) {\n border: var(--border-size-small) solid var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n@media (max-width: 767px) and (hover: none) {\n .z-tool-tooltip {\n display: none !important;\n }\n}\n",":root {\n /* font-family */\n --font-family-sans: \"IBM Plex Sans\", sans-serif;\n --font-family-serif: \"IBM Plex Serif\", serif;\n\n /* font-weight */\n --font-lt: 300;\n --font-rg: 400;\n --font-sb: 600;\n --font-bd: 700;\n\n /* font-size type scale */\n --font-size-1: 0.75rem; /* 12px */\n --font-size-2: 0.875rem; /* 14px */\n --font-size-3: 1rem; /* assuming 16px */\n --font-size-4: 1.125rem; /* 18px */\n --font-size-5: 1.25rem; /* 20px */\n --font-size-6: 1.5rem; /* 24px */\n --font-size-7: 1.75rem; /* 28px */\n --font-size-8: 2rem; /* 32px */\n --font-size-9: 2.25rem; /* 36px */\n --font-size-10: 2.625rem; /* 42px */\n --font-size-11: 3rem; /* 48px */\n --font-size-12: 3.375rem; /* 54px */\n --font-size-13: 3.75rem; /* 60px */\n --font-size-14: 4.25rem; /* 68px */\n --font-size-15: 4.75rem; /* 76px */\n --font-size-16: 5.25rem; /* 84px */\n --font-size-17: 5.75rem; /* 92px */\n\n /* cssprops to use with `font` shorthand property */\n --section-title-1: var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);\n --section-title-2: var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);\n --section-title-3: var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);\n --section-title-4: var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);\n --section-title-5: var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);\n --section-title-6: var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif);\n}\n\n/* Typography classes */\n.heading-1,\n.heading-1-sb,\n.heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n}\n\n.heading-2,\n.heading-2-sb,\n.heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-3,\n.heading-3-sb,\n.heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-4,\n.heading-4-sb,\n.heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-1,\n.body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-2,\n.body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-3,\n.body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-4,\n.body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.body-5,\n.body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.interactive-1,\n.interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.interactive-2,\n.interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.interactive-3,\n.interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.helper,\n.helper-sb {\n font-size: var(--font-size-1);\n font-style: italic;\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n/* section title */\n.section-title-1 {\n font: var(--section-title-1);\n}\n\n.section-title-2 {\n font: var(--section-title-2);\n}\n\n.section-title-3 {\n font: var(--section-title-3);\n}\n\n.section-title-4 {\n font: var(--section-title-4);\n}\n\n.section-title-5 {\n font: var(--section-title-5);\n}\n\n.section-title-6 {\n font: var(--section-title-6);\n}\n\n/* heading-1/2 for desktop and wide viewports */\n@media (min-width: 1152px) {\n .heading-1,\n .heading-1-sb,\n .heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .heading-2,\n .heading-2-sb,\n .heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n}\n\n/* viewport classes */\n@media (max-width: 767px) {\n .mobile-heading-1,\n .mobile-heading-1-sb,\n .mobile-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .mobile-heading-2,\n .mobile-heading-2-sb,\n .mobile-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-3,\n .mobile-heading-3-sb,\n .mobile-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-4,\n .mobile-heading-4-sb,\n .mobile-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-1,\n .mobile-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-2,\n .mobile-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-3,\n .mobile-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-4,\n .mobile-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-body-5,\n .mobile-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-interactive-1,\n .mobile-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-interactive-2,\n .mobile-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-interactive-3,\n .mobile-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-section-title-1 {\n font: var(--section-title-1);\n }\n\n .mobile-section-title-2 {\n font: var(--section-title-2);\n }\n\n .mobile-section-title-3 {\n font: var(--section-title-3);\n }\n\n .mobile-section-title-4 {\n font: var(--section-title-4);\n }\n\n .mobile-section-title-5 {\n font: var(--section-title-5);\n }\n\n .mobile-section-title-6 {\n font: var(--section-title-6);\n }\n\n .mobile-heading-1-lt,\n .mobile-heading-2-lt,\n .mobile-heading-3-lt,\n .mobile-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .mobile-heading-1-sb,\n .mobile-heading-2-sb,\n .mobile-heading-3-sb,\n .mobile-heading-4-sb,\n .mobile-body-1-sb,\n .mobile-body-2-sb,\n .mobile-body-3-sb,\n .mobile-body-4-sb,\n .mobile-body-5-sb,\n .mobile-interactive-1-sb,\n .mobile-interactive-2-sb,\n .mobile-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 768px) and (max-width: 1151px) {\n .tablet-heading-1,\n .tablet-heading-1-sb,\n .tablet-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .tablet-heading-2,\n .tablet-heading-2-sb,\n .tablet-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-3,\n .tablet-heading-3-sb,\n .tablet-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-4,\n .tablet-heading-4-sb,\n .tablet-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-1,\n .tablet-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-2,\n .tablet-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-3,\n .tablet-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-4,\n .tablet-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-body-5,\n .tablet-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-interactive-1,\n .tablet-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-interactive-2,\n .tablet-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-interactive-3,\n .tablet-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-section-title-1 {\n font: var(--section-title-1);\n }\n\n .tablet-section-title-2 {\n font: var(--section-title-2);\n }\n\n .tablet-section-title-3 {\n font: var(--section-title-3);\n }\n\n .tablet-section-title-4 {\n font: var(--section-title-4);\n }\n\n .tablet-section-title-5 {\n font: var(--section-title-5);\n }\n\n .tablet-section-title-6 {\n font: var(--section-title-6);\n }\n\n .tablet-heading-1-lt,\n .tablet-heading-2-lt,\n .tablet-heading-3-lt,\n .tablet-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .tablet-heading-1-sb,\n .tablet-heading-2-sb,\n .tablet-heading-3-sb,\n .tablet-heading-4-sb,\n .tablet-body-1-sb,\n .tablet-body-2-sb,\n .tablet-body-3-sb,\n .tablet-body-4-sb,\n .tablet-body-5-sb,\n .tablet-interactive-1-sb,\n .tablet-interactive-2-sb,\n .tablet-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1152px) and (max-width: 1365px) {\n .desktop-heading-1,\n .desktop-heading-1-sb,\n .desktop-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .desktop-heading-2,\n .desktop-heading-2-sb,\n .desktop-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .desktop-heading-3,\n .desktop-heading-3-sb,\n .desktop-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .desktop-heading-4,\n .desktop-heading-4-sb,\n .desktop-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-1,\n .desktop-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-2,\n .desktop-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-3,\n .desktop-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-4,\n .desktop-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-body-5,\n .desktop-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-interactive-1,\n .desktop-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-interactive-2,\n .desktop-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-interactive-3,\n .desktop-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-section-title-1 {\n font: var(--section-title-1);\n }\n\n .desktop-section-title-2 {\n font: var(--section-title-2);\n }\n\n .desktop-section-title-3 {\n font: var(--section-title-3);\n }\n\n .desktop-section-title-4 {\n font: var(--section-title-4);\n }\n\n .desktop-section-title-5 {\n font: var(--section-title-5);\n }\n\n .desktop-section-title-6 {\n font: var(--section-title-6);\n }\n\n .desktop-heading-1-lt,\n .desktop-heading-2-lt,\n .desktop-heading-3-lt,\n .desktop-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .desktop-heading-1-sb,\n .desktop-heading-2-sb,\n .desktop-heading-3-sb,\n .desktop-heading-4-sb,\n .desktop-body-1-sb,\n .desktop-body-2-sb,\n .desktop-body-3-sb,\n .desktop-body-4-sb,\n .desktop-body-5-sb,\n .desktop-interactive-1-sb,\n .desktop-interactive-2-sb,\n .desktop-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1366px) {\n .wide-heading-1,\n .wide-heading-1-sb,\n .wide-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .wide-heading-2,\n .wide-heading-2-sb,\n .wide-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .wide-heading-3,\n .wide-heading-3-sb,\n .wide-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .wide-heading-4,\n .wide-heading-4-sb,\n .wide-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-1,\n .wide-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-2,\n .wide-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-3,\n .wide-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-4,\n .wide-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-body-5,\n .wide-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-interactive-1,\n .wide-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-interactive-2,\n .wide-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-interactive-3,\n .wide-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-section-title-1 {\n font: var(--section-title-1);\n }\n\n .wide-section-title-2 {\n font: var(--section-title-2);\n }\n\n .wide-section-title-3 {\n font: var(--section-title-3);\n }\n\n .wide-section-title-4 {\n font: var(--section-title-4);\n }\n\n .wide-section-title-5 {\n font: var(--section-title-5);\n }\n\n .wide-section-title-6 {\n font: var(--section-title-6);\n }\n\n .wide-heading-1-lt,\n .wide-heading-2-lt,\n .wide-heading-3-lt,\n .wide-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .wide-heading-1-sb,\n .wide-heading-2-sb,\n .wide-heading-3-sb,\n .wide-heading-4-sb,\n .wide-body-1-sb,\n .wide-body-2-sb,\n .wide-body-3-sb,\n .wide-body-4-sb,\n .wide-body-5-sb,\n .wide-interactive-1-sb,\n .wide-interactive-2-sb,\n .wide-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n/* font-weight variants */\n.heading-1-lt,\n.heading-2-lt,\n.heading-3-lt,\n.heading-4-lt {\n font-weight: var(--font-lt);\n}\n\n.heading-1-sb,\n.heading-2-sb,\n.heading-3-sb,\n.heading-4-sb,\n.body-1-sb,\n.body-2-sb,\n.body-3-sb,\n.body-4-sb,\n.body-5-sb,\n.interactive-1-sb,\n.interactive-2-sb,\n.interactive-3-sb,\n.helper-sb {\n font-weight: var(--font-sb);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette, KeyboardCode, PopoverPosition} from \"../../beans\";\nimport {ZColorPickerCustomEvent, ZToolCustomEvent, ZTooltipCustomEvent} from \"../../components\";\nimport {IconName} from \"../../constants/iconset\";\nimport {containsElement} from \"../../utils/utils\";\n\n/**\n * ZTool component. Can display an icon, an optional tooltip (mainly for hints about the tool's functionality), and can contain a nested `z-toolbar` as a submenu that opens on click.\n * @slot - Optional slot for nested content (e.g., a secondary `z-toolbar`) that appears when the tool is open/clicked.\n */\n@Component({\n tag: \"z-tool\",\n styleUrls: [\"styles.css\", \"../../tokens/typography.css\"],\n shadow: true,\n})\nexport class ZTool {\n @Element() hostElement: HTMLZToolElement;\n\n /** Tool icon */\n @Prop()\n icon: IconName;\n\n /** Text displayed inside the tooltip. */\n @Prop()\n tooltip?: string;\n\n /** Preferred tooltip position. Defaults to true. */\n @Prop()\n tooltipPosition: PopoverPosition = PopoverPosition.TOP;\n\n /** Accessible label for the tool trigger. Falls back to tooltip content. */\n @Prop()\n htmlAriaLabel?: string;\n\n /** Visual active state. */\n @Prop({reflect: true})\n active = false;\n\n /** Disabled state. */\n @Prop({reflect: true})\n disabled = false;\n\n /** Open state. */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Color to use to fill the icon's color indicator, if it has one.\n * Can be any valid value for the `fill` svg attribute.\n * The value of this prop is passed down to the `z-icon` component inside the tool.\n *\n * If `z-color-picker` component is used inside the tool's slot, its `colorSelected` event is listened\n * to automatically update `indicatorColor` and change the color of the icon indicator accordingly.\n */\n @Prop({mutable: true})\n indicatorColor?: string;\n\n @State()\n tooltipOpen = false;\n\n @State()\n hasSlottedContent = false;\n\n @State()\n isMobile = false;\n\n /** Indicates if the tool has nested open tools. Used to decide whether to auto-close the submenu. */\n @State()\n hasNestedOpenTools = false;\n\n /** Emitted when the open state changes. */\n @Event()\n toggleSubmenu: EventEmitter;\n\n /** Emitted when the tooltip open state changes. */\n @Event()\n toggleTooltip: EventEmitter;\n\n private buttonRef?: HTMLButtonElement;\n\n private iconRef?: HTMLElement;\n\n private tooltipRef?: HTMLZTooltipElement;\n\n private hoverDelay?: ReturnType<typeof setTimeout>;\n\n /** Indicates if the tool is nested inside another tool. */\n private isNested = false;\n\n /** Main `z-toolbar` ancestor element, meant to be the top-level toolbar not nested inside another tool. */\n private mainToolbar?: HTMLZToolbarElement;\n\n /** Media query list for detecting mobile view. */\n private mql?: MediaQueryList;\n\n /** Listener for changes in the mobile view media query. */\n private onMobileViewChange?: (e: MediaQueryListEvent) => void;\n\n /**\n * Opens the tooltip with a delay when the button is hovered or focused, and if the tool's content isn't already visible.\n */\n private handleTooltipOpen = (ev: FocusEvent | MouseEvent): void => {\n if (!this.tooltip || this.open || !this.buttonRef.contains(ev.target as Node)) {\n return;\n }\n\n clearTimeout(this.hoverDelay);\n this.hoverDelay = setTimeout(() => {\n this.tooltipOpen = true;\n }, 1000);\n };\n\n /**\n * Closes the tooltip immediately on button blur or when the mouse leaves the button or the tooltip, clearing any pending hover delay.\n */\n private handleTooltipClose = (ev: FocusEvent | MouseEvent): void => {\n if (!this.tooltip || (ev.relatedTarget as HTMLElement)?.closest(\"z-tooltip\") === this.tooltipRef) {\n return;\n }\n\n clearTimeout(this.hoverDelay);\n this.tooltipOpen = false;\n };\n\n /**\n * Handles click events on the tool's button element.\n * If the tool has slotted content, toggles the open state and focuses the active/selected item in the nested toolbar or color picker,\n * or the first item if no active/selected item is found.\n */\n private handleClick = (): void => {\n if (this.disabled || !this.hasSlottedContent) {\n return;\n }\n\n this.open = !this.open;\n if (this.open) {\n const colorPicker = this.hostElement.querySelector(\":scope > z-color-picker\") as HTMLZColorPickerElement | null;\n if (colorPicker) {\n colorPicker.setFocus();\n\n return;\n }\n\n // Focus the first active tool in the nested toolbar, or the first enabled if no active tool is found.\n const firstActiveOrEnabledNestedTool = (this.hostElement.querySelector(\n \":scope > z-toolbar z-tool[active]:not(:disabled)\"\n ) || this.hostElement.querySelector(\":scope > z-toolbar z-tool:not(:disabled)\")) as HTMLZToolElement | null;\n\n firstActiveOrEnabledNestedTool?.setFocus();\n }\n };\n\n /**\n * Handles `openChange` events from the tooltip popover to keep the `tooltipOpen` state in sync, but only if the event is coming from this tool's tooltip (and not from nested tools' tooltips).\n */\n private onTooltipOpenChange = (event: ZTooltipCustomEvent<{open: boolean}>): void => {\n if ((event.target as HTMLElement) === this.tooltipRef) {\n return;\n }\n\n this.tooltipOpen = event.detail.open;\n };\n\n @Watch(\"open\")\n handleOpenChange(): void {\n this.toggleSubmenu.emit(this.open);\n }\n\n @Watch(\"tooltipOpen\")\n handleTooltipOpenChange(): void {\n this.toggleTooltip.emit(this.tooltipOpen);\n }\n\n /**\n * Handle `ESC` and `shift+TAB` to close the submenu and move focus back to the button.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n if (!this.open || this.hasNestedOpenTools) {\n return;\n }\n\n switch (event.key) {\n case KeyboardCode.ESC:\n event.stopPropagation();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.TAB:\n if (event.shiftKey && (event.target as Element).closest(\"z-tool:not(:scope)\") === this.hostElement) {\n this.open = false;\n }\n break;\n }\n }\n\n /**\n * Close the popover on clicks outside the component, only if there are no nested open tools.\n * In that case any outside click should close the nested submenu(s) first.\n */\n @Listen(\"click\", {target: \"body\"})\n onOutsideClick(event: MouseEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!this.open || containsElement(this.hostElement, target) || this.hasNestedOpenTools) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"toggleSubmenu\")\n onNestedToolToggle(ev: ZToolCustomEvent<boolean>): void {\n if (ev.target === this.hostElement) {\n return;\n }\n\n if (ev.detail === true) {\n this.hasNestedOpenTools = true;\n\n return;\n }\n\n this.hasNestedOpenTools = Array.from(this.hostElement.querySelectorAll(\"z-tool\")).some((tool) => tool.open);\n }\n\n /**\n * Handles the `colorSelected` event from a nested `z-color-picker` component.\n * Updates the `indicatorColor` and closes the tool's popover.\n */\n @Listen(\"colorSelected\")\n handleColorSelected(event: ZColorPickerCustomEvent<ColorPickerPalette>): void {\n if (!Array.from(this.hostElement.children).includes(event.target as Element)) {\n return;\n }\n\n this.indicatorColor = event.detail;\n this.open = false;\n this.setFocus();\n }\n\n /**\n * Close the submenu when focus moves outside the tool.\n */\n @Listen(\"focusin\", {target: \"body\", passive: true})\n handleExternalFocusin(ev: FocusEvent): void {\n const target = ev.target as Node;\n if (!containsElement(this.hostElement, target)) {\n this.open = false;\n }\n }\n\n /** Focuses the tool's button element. */\n @Method()\n async setFocus(): Promise<void> {\n if (this.disabled) {\n return;\n }\n\n setTimeout(() => {\n this.buttonRef?.focus();\n }, 50);\n }\n\n /** Sets the tab index of the tool's internal button element. */\n @Method()\n async setTabIndex(value: number): Promise<void> {\n if (!this.buttonRef) {\n return;\n }\n\n this.buttonRef.tabIndex = this.disabled ? -1 : value;\n }\n\n /** Closes the tooltip. */\n @Method()\n async closeTooltip(): Promise<void> {\n clearTimeout(this.hoverDelay);\n this.tooltipOpen = false;\n }\n\n componentWillLoad(): void {\n this.hasSlottedContent = this.hostElement.children.length > 0;\n this.isNested = !!this.hostElement.closest(\"z-tool:not(:scope)\");\n this.mainToolbar = this.hostElement.closest(\"z-toolbar:not(z-toolbar z-toolbar)\");\n this.hasNestedOpenTools = !!this.hostElement.querySelector(\"z-tool[open]\");\n\n this.mql = matchMedia(\"(max-width: 767px)\");\n this.onMobileViewChange = (e: MediaQueryListEvent) => (this.isMobile = e.matches);\n this.mql.addEventListener(\"change\", this.onMobileViewChange);\n this.isMobile = this.mql.matches;\n }\n\n disconnectedCallback(): void {\n clearTimeout(this.hoverDelay);\n this.mql?.removeEventListener(\"change\", this.onMobileViewChange);\n }\n\n render(): HTMLZToolElement {\n return (\n <Host class={{\"z-tool-tooltip-open\": this.tooltipOpen}}>\n <button\n class=\"z-tool\"\n type=\"button\"\n ref={(el) => (this.buttonRef = el)}\n aria-pressed={this.hasSlottedContent ? undefined : this.active ? \"true\" : \"false\"}\n aria-expanded={this.hasSlottedContent ? (this.open ? \"true\" : \"false\") : undefined}\n aria-haspopup={this.hasSlottedContent ? \"true\" : undefined}\n aria-label={this.htmlAriaLabel || this.tooltip || undefined}\n disabled={this.disabled}\n onClick={this.handleClick}\n onMouseEnter={this.handleTooltipOpen}\n onMouseLeave={this.handleTooltipClose}\n onFocus={this.handleTooltipOpen}\n onBlur={this.handleTooltipClose}\n >\n <z-icon\n ref={(el) => (this.iconRef = el)}\n name={this.icon}\n indicatorColor={this.indicatorColor}\n ></z-icon>\n </button>\n {this.tooltip && (\n <z-tooltip\n class=\"z-tool-tooltip\"\n ref={(el) => (this.tooltipRef = el)}\n bindTo={this.iconRef}\n open={this.tooltipOpen && !this.open}\n position={this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition}\n dark\n onMouseLeave={this.handleTooltipClose}\n onBlur={this.handleTooltipClose}\n onOpenChange={this.onTooltipOpenChange}\n >\n <span class=\"body-4\">{this.tooltip}</span>\n </z-tooltip>\n )}\n {this.hasSlottedContent && (\n <z-popover\n class=\"z-tool-submenu\"\n open={this.open}\n bindTo={this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement}\n center\n /* disable auto-close to prevent unwanted close behaviors on mobile,\n when the bound element is the main toolbar */\n closable={false}\n position={this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM}\n >\n <slot></slot>\n </z-popover>\n )}\n </Host>\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AK,KAAK,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,CAAC,iBAAiB,EAAE;YACpD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;YAC/B,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,aAAa,IAE9B,6DACE,YAAY,EAAE;gBACZ,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;aACzB,GACK,CACH,EACP;KACH;;;;;;;","names":[],"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"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-tooltip.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,wjBAAwjB,CAAC;AAC3kB,uBAAe,SAAS;;MCeX,QAAQ;;;;wBAGS,eAAe,CAAC,IAAI;oBAIzC,KAAK;oBAML,KAAK;;wBAcD,IAAI;;IAYf,mBAAmB;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KACjC;IAED,MAAM;QACJ,QACE,kEACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,MAAM,QACN,SAAS,QACT,YAAY,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAE3D,8DAAa,CACH,EACZ;KACH;;;;;;","names":[],"sources":["src/components/z-tooltip/styles.css?tag=z-tooltip&encapsulation=shadow","src/components/z-tooltip/index.tsx"],"sourcesContent":[":host {\n --z-tooltip-theme--surface: var(--color-surface01);\n --z-tooltip-theme--text: var(--color-default-text);\n --z-tooltip-shadow-filter: drop-shadow(0 1px 2px var(--shadow-color-base));\n --z-tooltip-padding: var(--space-unit);\n}\n\nz-popover {\n --z-popover-theme--surface: var(--z-tooltip-theme--surface);\n --z-popover-theme--text: var(--z-tooltip-theme--text);\n --z-popover-padding: var(--z-tooltip-padding);\n --z-popover-shadow-filter: var(--z-tooltip-shadow-filter);\n}\n\n:host([dark]) z-popover {\n --z-popover-theme--surface: var(--color-surface05);\n --z-popover-theme--text: var(--color-text-inverse);\n}\n","import {Component, Event, EventEmitter, Listen, Prop, h} from \"@stencil/core\";\nimport {PopoverPosition} from \"../../beans\";\n\n/**\n * Tooltip component.\n * It is basically a wrapper for the `<z-popover>` component with custom configuration.\n *\n * @cssprop --z-tooltip-theme--surface - background color of the popover.\n * @cssprop --z-tooltip-theme--text - foreground color of the popover.\n * @cssprop --z-tooltip-shadow-filter - drop-shadow filter of the popover.\n */\n@Component({\n tag: \"z-tooltip\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTooltip {\n /** Tooltip position. */\n @Prop({reflect: true})\n position: PopoverPosition = PopoverPosition.AUTO;\n\n /** Enable tooltip dark mode. */\n @Prop({reflect: true})\n dark = false;\n\n /**\n * The open state of the tooltip.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the tooltip.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Reflects `closable` prop of the popover.\n * \"If true, 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 */\n @Prop()\n closable = true;\n\n /**\n * Propagation of the `openChange` event from the internal `z-popover` to allow listening to it directly on `z-tooltip`.\n * This is necessary to keep the internal state of the `open` prop in sync when the popover is closed by user interaction instead of programmatically.\n */\n @Event()\n openChange: EventEmitter<{open: boolean}>;\n\n private popoverEl: HTMLZPopoverElement;\n\n @Listen(\"openChange\")\n onPopoverOpenChange(): void {\n this.open = this.popoverEl.open;\n }\n\n render(): HTMLZPopoverElement {\n return (\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.bindTo}\n open={this.open}\n position={this.position}\n closable={this.closable}\n center\n showArrow\n onOpenChange={(event) => this.openChange.emit(event.detail)}\n >\n <slot></slot>\n </z-popover>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-tr.entry.js","mappings":";;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-tree-list.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,o3EAAo3E,CAAC;AACv4E,wBAAe,SAAS;;MCOX,SAAS;;;;QAmBZ,gBAAW,GAAmB,EAAE,CAAC;qBAdR,EAAE;;;;IAmBnC,UAAU;QACR,IAAI,CAAC,WAAW,GAAG,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;KACzF;IAED,iBAAiB;QACf,IAAI,CAAC,UAAU,EAAE,CAAC;KACnB;IAEO,WAAW,CAAC,IAAkB;QACpC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAC,CAAC,CAAC;KAC1E;IAEO,oBAAoB;QAC1B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC7E;IAEO,WAAW,CAAC,OAAoB,EAAE,MAAc;QACtD,IAAI,QAAQ,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AEf,IAAI,CAAC,IAAI,CACL,CACF,CACM,EACd,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,IAAG,CAAC,KACxB,cAAQ,IAAI,EAAC,OAAO,IAClB,WAAK,KAAK,EAAC,eAAe,IACvB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,GAAG,EAAE,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAC/E,CACC,CACV,CACc,CAClB,CAAC;QAEF,OAAO,eAAe,CAAC;KACxB;IAED,MAAM;QACJ,MAAM,iBAAiB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEtE,QACE,EAAC,IAAI,qDACH,KAAK,EAAC,WAAW,EACjB,IAAI,EAAE,iBAAiB,GAAG,YAAY,GAAG,MAAM,iBAClC,iBAAiB,GAAG,SAAS,GAAG,MAAM,qBAClC,IAAI,CAAC,kBAAkB,IAExC,4DACE,QAAQ,EAAE,CAAC,CAAC,EACZ,IAAI,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,iBAC5B,iBAAiB,GAAG,SAAS,GAAG,MAAM,gBACvC,IAAI,CAAC,gBAAgB,IAEhC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC,CACrE,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/list/z-tree-list/styles.css?tag=z-tree-list&encapsulation=shadow","src/components/list/z-tree-list/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n}\n\nz-list-element {\n position: relative;\n display: block;\n padding-top: var(--space-unit);\n}\n\nz-list-element::before,\nz-list-element::after {\n position: absolute;\n z-index: 100;\n top: 0.125rem;\n left: -0.5rem;\n content: \"\";\n}\n\nz-list z-list-element::before {\n width: var(--space-unit);\n height: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-small) solid var(--color-disabled01-icon);\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element::after {\n width: var(--space-unit);\n height: 100%;\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element:last-child::after,\nz-list > z-list-element::before,\nz-list > z-list-element::after,\nz-list > z-list-group > z-list-element::before,\nz-list > z-list-group > z-list-element::after {\n display: none;\n}\n\nz-list > div.children-node {\n padding-left: calc(var(--space-unit) * 2);\n}\n\nz-list-element > .list-element {\n z-index: 100;\n display: flex;\n justify-content: space-between;\n padding: 0;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\nz-list-element > .list-element.link-clickable {\n color: var(--color-primary01);\n}\n\nz-list-element > .list-element.link-clickable:hover {\n text-decoration: underline;\n}\n\nz-list-element > .list-element .item.ellipsis {\n overflow: hidden;\n}\n\nz-list-element .list-element::after {\n position: absolute;\n top: 0;\n right: -0.0625rem;\n display: block;\n width: 100%;\n height: calc(var(--space-unit) * 5);\n content: \"\";\n transform: translateX(-100%);\n}\n\n.item-label {\n overflow: hidden;\n flex-grow: 1;\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n letter-spacing: 0.0032rem;\n line-height: 1.25rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.item-label.bold-item {\n font-weight: var(--font-sb);\n}\n\n.item.ellipsis {\n display: flex;\n overflow: hidden;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.children-node > z-list-element {\n padding: 0;\n padding-top: 0.125;\n padding-left: calc(var(--space-unit) * 1.25);\n}\n\n.item-icon {\n margin-right: var(--space-unit);\n}\n\n.no-icon-label {\n padding-left: var(--space-unit);\n}\n\n.children-node > z-list-element.no-icon-elm {\n padding-left: 0;\n}\n\nz-list-element > .list-element:focus:focus-visible {\n position: relative;\n z-index: 200;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n@media (max-width: 767px) {\n z-list-element::before,\n z-list-element::after {\n top: 0.1875rem;\n }\n\n z-list z-list-element::before {\n height: calc(var(--space-unit) * 2.5);\n }\n\n .children-node > z-list-element {\n padding-top: var(--space-unit);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, TreeListItem} from \"../../../beans\";\n\n@Component({\n tag: \"z-tree-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTreeList {\n @Element() host: HTMLZTreeListElement;\n\n /** Items to render, if they have the url property they will be rendered as clickable links */\n @Prop()\n items: TreeListItem[] | string = [];\n\n /** Used for aria-labelledby attribute, sets name in \"navigation\" */\n @Prop({reflect: true})\n htmlAriaLabelledby: string;\n\n /** Used for aria-label attribute, sets name in \"tree\" */\n @Prop({reflect: true})\n htmlSectionTitle: string;\n\n /** Emitted on item click, it return the id, name and url of the clicked item */\n @Event()\n treeItemClicked: EventEmitter<{id: string; name: string; url: string}>;\n\n private parsedItems: TreeListItem[] = [];\n\n private htmlTag: string;\n\n @Watch(\"items\")\n watchItems(): void {\n this.parsedItems = typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n private handleClick(item: TreeListItem): void {\n this.treeItemClicked.emit({id: item.id, name: item.name, url: item.url});\n }\n\n private getFocusableElements(): HTMLElement[] {\n return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex=\"0\"]'));\n }\n\n private getAncestor(element: HTMLElement, levels: number): HTMLElement | null {\n let ancestor: HTMLElement | null = element;\n\n for (let i = 0; i < levels; i++) {\n ancestor = ancestor?.parentElement;\n if (!ancestor) {\n return;\n }\n }\n\n return ancestor;\n }\n\n private handleArrowNav(event: KeyboardEvent): void {\n if (event.code === KeyboardCode.TAB) {\n event.preventDefault();\n\n return;\n }\n\n const focusableElements = this.getFocusableElements();\n const currentIndex = focusableElements.indexOf(event.target as HTMLElement);\n\n if (currentIndex === -1) {\n return;\n }\n\n if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {\n event.preventDefault();\n\n const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);\n if (nextIndex < 0 || nextIndex >= focusableElements.length) {\n return;\n }\n\n focusableElements[nextIndex].focus();\n }\n\n if (event.code === KeyboardCode.ARROW_LEFT) {\n event.preventDefault();\n const ancestor = this.getAncestor(focusableElements[currentIndex], 4);\n\n if (\n !ancestor ||\n !ancestor.children[0] ||\n (ancestor.children[0].tagName.toLowerCase() !== \"a\" && ancestor.getAttribute(\"tabindex\") === null)\n ) {\n return;\n }\n\n (ancestor.children[0] as HTMLElement).focus();\n }\n\n if (event.code === KeyboardCode.ARROW_RIGHT) {\n event.preventDefault();\n\n const parentElm = (event.target as HTMLElement).closest(\"z-list-element\") as HTMLElement;\n\n if (!parentElm) {\n return;\n }\n\n const childrenContainer = parentElm.querySelector(\"z-list\") as HTMLElement;\n\n if (!childrenContainer) {\n return;\n }\n\n const firstChild = childrenContainer.querySelector('a[tabindex=\"0\"]') as HTMLElement;\n\n if (!firstChild) {\n return;\n }\n\n firstChild.focus();\n }\n }\n\n private renderTreeList(item: TreeListItem, key: string, level = 1): HTMLZListElementElement {\n this.htmlTag = item.url ? \"a\" : \"span\";\n\n const treeListContent = (\n <z-list-element\n id={key}\n class={!item.icon ? \"no-icon-elm\" : \"\"}\n clickable={Boolean(item.url)}\n hasTreeItems={true}\n role=\"none\"\n aria-hidden={undefined}\n >\n <this.htmlTag\n class={{\n \"list-element\": true,\n \"z-link\": Boolean(item.url),\n \"link-clickable\": Boolean(item.url),\n }}\n tabIndex={item.url ? 0 : -1}\n onClick={() => this.handleClick(item)}\n onKeyUp={(event: KeyboardEvent) => {\n if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {\n this.handleClick(item);\n }\n }}\n onKeyDown={(event: KeyboardEvent) => this.handleArrowNav(event)}\n role={item.url ? \"treeitem\" : undefined}\n aria-hidden={item.url ? undefined : \"true\"}\n aria-expanded={item.children?.length > 0 && true}\n aria-level={level}\n aria-label={item.name}\n href={item.url}\n >\n <span class=\"item ellipsis\">\n {item.icon && (\n <z-icon\n width={16}\n height={16}\n fill={item.url ? \"color-primary01\" : \"color-default-icon\"}\n class=\"item-icon\"\n name={item.icon}\n />\n )}\n <span\n class={{\n \"item-label\": true,\n \"no-icon-label\": !item.icon,\n \"bold-item\": item.bold,\n }}\n title={item.name}\n >\n {item.name}\n </span>\n </span>\n </this.htmlTag>\n {item.children?.length > 0 && (\n <z-list role=\"group\">\n <div class=\"children-node\">\n {item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1))}\n </div>\n </z-list>\n )}\n </z-list-element>\n );\n\n return treeListContent;\n }\n\n render(): HTMLZTreeListElement {\n const hasClickableItems = this.parsedItems.some((item) => !!item.url);\n\n return (\n <Host\n class=\"tree-list\"\n role={hasClickableItems ? \"navigation\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-labelledby={this.htmlAriaLabelledby}\n >\n <div\n tabIndex={-1}\n role={hasClickableItems ? \"tree\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-label={this.htmlSectionTitle}\n >\n {this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`))}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"z-visually-hidden.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kKAAkK,CAAC;AACrL,8BAAe,SAAS;;MCMX,eAAe;;;;IAC1B,MAAM;QACJ,OAAO,8DAAQ,CAAC;KACjB;;;;;;","names":[],"sources":["src/components/z-visually-hidden/styles.css?tag=z-visually-hidden&encapsulation=shadow","src/components/z-visually-hidden/index.tsx"],"sourcesContent":[":host {\n position: absolute;\n overflow: hidden;\n width: 1px;\n height: 1px;\n padding: 0;\n border: 0;\n margin: 0 -1px -1px 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n}\n","import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-visually-hidden\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZVisuallyHidden {\n render(): HTMLSlotElement {\n return <slot />;\n }\n}\n"],"version":3}
@@ -1,9 +0,0 @@
1
- import "./index.stories.css";
2
- declare const _default: {
3
- title: string;
4
- tags: string[];
5
- };
6
- export default _default;
7
- export declare const Grid: {
8
- render: () => import("lit-html").TemplateResult<1>;
9
- };
@@ -1,11 +0,0 @@
1
- import "../../src/components/z-accordion/index";
2
- import "../../src/components/z-icon/index";
3
- import "./index.stories.css";
4
- declare const _default: {
5
- title: string;
6
- tags: string[];
7
- };
8
- export default _default;
9
- export declare const Iconset: {
10
- render: () => import("lit-html").TemplateResult<1>;
11
- };
@@ -1,16 +0,0 @@
1
- import "../../src/components/deprecated/z-section-title/index";
2
- import "./index.stories.css";
3
- declare const _default: {
4
- title: string;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- };
10
- export default _default;
11
- export declare const Themes: {
12
- render: (_: import("@storybook/web-components").Args, context: import("@storybook/core/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components").Args>) => import("lit-html").TemplateResult<1>;
13
- };
14
- export declare const Palettes: {
15
- render: () => import("lit-html").TemplateResult<1>;
16
- };
@@ -1,96 +0,0 @@
1
- import "./index.stories.css";
2
- /**
3
- * The typographic styles are based on the `IBM Plex` font family.
4
- * Some CSS classes and props are provided to apply the typographic styles:
5
- * - a set of CSS custom props for font sizes and font weights
6
- * - a set of classes for headings, body text, and interactive text
7
- * - a set of classes and CSS custom props for section titles
8
- */
9
- declare const _default: {
10
- title: string;
11
- argTypes: {
12
- fontFamily: {
13
- options: string[];
14
- control: {
15
- type: "inline-radio";
16
- };
17
- };
18
- };
19
- args: {
20
- fontFamily: string;
21
- };
22
- };
23
- export default _default;
24
- export declare const TypeScale: {
25
- parameters: {
26
- docs: {
27
- story: {
28
- inline: boolean;
29
- height: string;
30
- };
31
- };
32
- };
33
- argTypes: {
34
- fontWeight: {
35
- options: string[];
36
- control: {
37
- type: "inline-radio";
38
- };
39
- };
40
- };
41
- args: {
42
- fontWeight: string;
43
- };
44
- render: (args: import("@storybook/web-components").Args) => import("lit-html").TemplateResult<1>;
45
- };
46
- /**
47
- * `.heading-1` and `.heading-2` classes automatically scale in size starting from desktop viewport.
48
- * Typography classes (except for `helper`) can also be used with a viewport prefix (`mobile`, `tablet`, `desktop`, `wide`)
49
- * to apply the styles only on specific viewport sizes.
50
- * For example:
51
- *
52
- * ```
53
- * <p class="mobile-body-3 tablet-body-2 body-1">Lorem ipsum...</p>
54
- * ```
55
- *
56
- * will apply the `body-3` style on mobile, `body-2` on tablet, and `body-1` on desktop and wide viewports.
57
- *
58
- * Section titles are also available as CSS custom properties:
59
- * those properties are meant to be used with the "font" shorthand property. For example:
60
- *
61
- * ```
62
- * h4 {
63
- * font: var(--section-title-4);
64
- * }
65
- * ```
66
- */
67
- export declare const TypographyClasses: {
68
- argTypes: {
69
- headingWeight: {
70
- options: string[];
71
- control: {
72
- type: "inline-radio";
73
- labels: {
74
- lt: string;
75
- null: string;
76
- sb: string;
77
- };
78
- };
79
- };
80
- fontWeight: {
81
- options: string[];
82
- control: {
83
- type: "inline-radio";
84
- labels: {
85
- null: string;
86
- sb: string;
87
- };
88
- };
89
- };
90
- };
91
- args: {
92
- headingWeight: any;
93
- fontWeight: any;
94
- };
95
- render: (args: import("@storybook/web-components").Args) => import("lit-html").TemplateResult<1>;
96
- };
@@ -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{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,KAAK,MACL,IAAK,QACL,KAAK,EACL,IAAK,IACL,IAAK,MACL,IAAK,KACH,OAAO,MACT,QACE,OAAOA,EAEb,C,SAMgBC,IACd,OAAOC,KAAKC,SAASC,SAAS,IAAIC,QAAQ,KAAM,GAClD,C,SAGgBC,EAAqBC,EAAmBC,KAAgCC,GACtF,GAAIF,EAAGG,OAASC,EAAaC,OAASL,EAAGG,OAASC,EAAaE,MAAO,CACpEN,EAAGO,iBACHN,KAAYC,E,CAEhB,C,SAGgBM,EAAsBR,EAAmBC,KAAgCC,GACvF,GAAIF,EAAGG,OAASC,EAAaC,MAAO,CAClCL,EAAGO,iBACHN,KAAYC,E,CAEhB,C,SAEgBO,EAAkBC,EAAuB,MACvD,IAAKA,EAAM,CACTA,EAAOC,SAASC,a,CAGlB,GAAIF,GAAQA,EAAKG,YAAcH,EAAKG,WAAWD,cAAe,CAC5DF,EAAOA,EAAKG,WAAWD,cAEvB,OAAOH,EAAkBC,E,CAG3B,OAAOA,CACT,C,SAEgBI,EAAeJ,EAAeK,EAAkB,IAC9DA,EAAKC,KAAKN,GAEV,GAAIA,EAAKO,cAAe,CACtBP,EAAOA,EAAKO,cAEZ,OAAOH,EAAeJ,EAAMK,E,MACvB,GAAIL,EAAKQ,YAAeR,EAAKQ,WAA0BC,K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AMuC,GAAaF,EAAYG,iBAAiBD,KAAc,UAClFD,EAAoBtC,MAAMuC,GAAaF,EAAYG,iBAAiB,eAAeC,SAASF,KAC5F,CACA,OAAON,C,CAET,K,CAEF,IAAK,WACH,GAAII,EAAYD,WAAa,SAAU,CACrC,OAAOH,C,CAET,MAEF,IAAK,WACL,IAAK,SACL,IAAK,SAAU,CACb,MAAMS,EAAUzE,OAAOkE,iBAAiBF,GAAQS,QAGhD,GACEA,IAAY,SACZA,IAAY,QACZA,IAAY,QACZA,IAAY,SACZA,IAAY,aACZA,IAAY,gBACZA,IAAY,eACZA,IAAY,cACZ,CACA,OAAOT,C,CAGT,K,EAIJA,EAASvB,EAAiBuB,E,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 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:"91f2e37b743cbd76bad5b23d6a7038377ed325c3",role:"listitem"},t("button",Object.assign({key:"8f9c85524aff451dfa316fe050295cd17a95d817",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"5f28d57cc6bc5508655297367ac09252f6df9452",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e24121243032ab104e2e19a373ec264db070525a"},t("slot",{key:"06e7d27fa7a997c7fff44a539d065af3f7814880"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-08b16bb4.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 t,c as o,h as e,a as r,g as n}from"./p-75c4a726.js";import{r as a}from"./p-061e28d6.js";import"./p-68d91a93.js";import"./p-8b367393.js";const s=":host{position:relative;display:grid;width:100%;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));--columns:1}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-background)}:host(:hover) ::slotted(z-td),:host(:hover) ::slotted(z-th){border-top:var(--border-size-small) solid var(--color-surface04);border-bottom:var(--border-size-small) solid var(--color-surface04);background-color:var(--color-surface02)}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}.z-tr--focus-overlay{position:absolute;z-index:30;right:0;left:0;width:100%;border-radius:4px;box-shadow:none;inset:0;outline:none;pointer-events:none;transition:box-shadow 0.2s}:host(:focus) .z-tr--focus-overlay{box-shadow:0 0 0 2px var(--shadow-focus-primary),\n var(--shadow-focus-primary);outline:none}:host(:focus) ::slotted(*){border-bottom:none}:host(:focus) .z-tr--expand-button-container{border-bottom:none}";const i=s;const d=class{constructor(e){t(this,e);this.expand=o(this,"expand",7);this.expandable=false;this.expanded=false;this.expandableContentId=undefined}updateColumns(){const t=Array.from(this.host.querySelectorAll("z-td, z-th"));if(this.expandable){t.pop()}const o=t.map((t=>t.colspan||1)).reduce(((t,o)=>t+o),0);this.host.style.setProperty("--columns",`${o}`);if(this.expandable){const o=t.pop();o.id=o.id||`z-tr-expandable-content-${a()}`;this.expandableContentId=o.id}}onRowClick(t){const o=t.target.closest(".prevent-expand");if(!this.expandable||o){return}this.expanded=!this.expanded;this.expand.emit({expanded:this.expanded})}onKeyDown(t){if(!this.expandable){return}const o=document.activeElement;if(o!==this.host){return}if(t.key==="Enter"||t.key===" "){t.preventDefault();this.expanded=!this.expanded;this.expand.emit({expanded:this.expanded})}}componentWillLoad(){this.updateColumns()}render(){return e(r,{key:"c1edcb26241c7528d544f61ab75d2920b545e62d",role:"row",tabIndex:0,expanded:this.expanded,onClick:this.onRowClick.bind(this),onKeyDown:this.onKeyDown.bind(this)},e("div",{key:"8bb2db80cfdd9dd4065466a97381dfacd4ef5395",class:"z-tr--focus-overlay","aria-hidden":"true"}),e("div",{key:"1ab915207f73524dc1dbffe3d79190ee4c177c62",class:"z-tr--expand-button-container"},this.expandable&&e("button",{key:"419b53264646264a73687faa3ee007531e0c3ac9",tabIndex:-1,"aria-expanded":this.expanded?"true":"false","aria-label":this.expanded?"Comprimi riga":"Espandi riga","aria-controls":this.expandableContentId,type:"button"},e("z-icon",{key:"048a03b706c82e5dfb2f55001b24864bf5bad97c",name:this.expanded?"minus-circled":"plus-circled"}))),e("slot",{key:"c44fd9d9808651d63d9eb5f25fe8a0c31faadfe8",onSlotchange:this.updateColumns.bind(this)}))}get host(){return n(this)}static get watchers(){return{expandable:["updateColumns"]}}};d.style=i;export{d as Z};
2
- //# sourceMappingURL=p-0b03b0e3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTrStyle0","ZTr","updateColumns","cells","Array","from","this","host","querySelectorAll","expandable","pop","columns","map","cell","colspan","reduce","a","b","style","setProperty","expandableContent","id","randomId","expandableContentId","onRowClick","event","preventExpand","target","closest","expanded","expand","emit","onKeyDown","active","document","activeElement","key","preventDefault","componentWillLoad","render","h","Host","role","tabIndex","onClick","bind","class","type","name","onSlotchange"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: grid;\n width: 100%;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n\n --columns: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-background);\n}\n\n:host(:hover) ::slotted(z-td),\n:host(:hover) ::slotted(z-th) {\n border-top: var(--border-size-small) solid var(--color-surface04);\n border-bottom: var(--border-size-small) solid var(--color-surface04);\n background-color: var(--color-surface02);\n}\n\n:host(:focus) {\n position: relative;\n z-index: 20;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-tr--focus-overlay {\n position: absolute;\n z-index: 30;\n right: 0;\n left: 0;\n width: 100%;\n border-radius: 4px;\n box-shadow: none;\n inset: 0;\n outline: none;\n pointer-events: none;\n transition: box-shadow 0.2s;\n}\n\n:host(:focus) .z-tr--focus-overlay {\n box-shadow:\n 0 0 0 2px var(--shadow-focus-primary),\n var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:focus) ::slotted(*) {\n border-bottom: none;\n}\n\n:host(:focus) .z-tr--expand-button-container {\n border-bottom: none;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={0}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"mappings":"oJAAA,MAAMA,EAAY,6tEAClB,MAAAC,EAAeD,E,MCeFE,EAAG,M,wEAaD,M,cAMF,M,mCAeD,aAAAC,GACR,MAAMC,EAAQC,MAAMC,KAAKC,KAAKC,KAAKC,iBAAkD,eACrF,GAAIF,KAAKG,WAAY,CACnBN,EAAMO,K,CAGR,MAAMC,EAAUR,EAAMS,KAAKC,GAASA,EAAKC,SAAW,IAAGC,QAAO,CAACC,EAAGC,IAAMD,EAAIC,GAAG,GAC/EX,KAAKC,KAAKW,MAAMC,YAAY,YAAa,GAAGR,KAE5C,GAAIL,KAAKG,WAAY,CACnB,MAAMW,EAAoBjB,EAAMO,MAChCU,EAAkBC,GAAKD,EAAkBC,IAAM,2BAA2BC,MAC1EhB,KAAKiB,oBAAsBH,EAAkBC,E,EAQzC,UAAAG,CAAWC,GACjB,MAAMC,EAAiBD,EAAME,OAAuBC,QAAQ,mBAC5D,IAAKtB,KAAKG,YAAciB,EAAe,CACrC,M,CAGFpB,KAAKuB,UAAYvB,KAAKuB,SACtBvB,KAAKwB,OAAOC,KAAK,CAACF,SAAUvB,KAAKuB,U,CAG3B,SAAAG,CAAUP,GAChB,IAAKnB,KAAKG,WAAY,CACpB,M,CAGF,MAAMwB,EAASC,SAASC,cACxB,GAAIF,IAAW3B,KAAKC,KAAM,CACxB,M,CAGF,GAAIkB,EAAMW,MAAQ,SAAWX,EAAMW,MAAQ,IAAK,CAC9CX,EAAMY,iBACN/B,KAAKuB,UAAYvB,KAAKuB,SACtBvB,KAAKwB,OAAOC,KAAK,CAACF,SAAUvB,KAAKuB,U,EAIrC,iBAAAS,GACEhC,KAAKJ,e,CAGP,MAAAqC,GACE,OACEC,EAACC,EAAI,CAAAL,IAAA,2CACHM,KAAK,MACLC,SAAU,EACVd,SAAUvB,KAAKuB,SACfe,QAAStC,KAAKkB,WAAWqB,KAAKvC,MAC9B0B,UAAW1B,KAAK0B,UAAUa,KAAKvC,OAE/BkC,EAAA,OAAAJ,IAAA,2CACEU,MAAM,sBAAqB,cACf,SAEdN,EAAA,OAAAJ,IAAA,2CAAKU,MAAM,iCACRxC,KAAKG,YACJ+B,EAAA,UAAAJ,IAAA,2CACEO,UAAW,EAAC,gBACGrC,KAAKuB,SAAW,OAAS,QAAO,aACnCvB,KAAKuB,SAAW,gBAAkB,eAAc,gBAC7CvB,KAAKiB,oBACpBwB,KAAK,UAELP,EAAA,UAAAJ,IAAA,2CAAQY,KAAM1C,KAAKuB,SAAW,gBAAkB,mBAItDW,EAAA,QAAAJ,IAAA,2CAAMa,aAAc3C,KAAKJ,cAAc2C,KAAKvC,Q","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,a as n,g as o}from"./p-75c4a726.js";import{T as s}from"./p-86618221.js";import{f as e,d as c}from"./p-061e28d6.js";import"./p-5145a606.js";const r=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";const a=r;const l=class{constructor(i){t(this,i);this.variant=undefined;this.links=[];this.visible=false;this.visibleLink=""}handleFocusOutSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=false}}handleFocusSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=true}}componentDidLoad(){this.showFirstChild()}componentWillRender(){if(this.links){this.links=typeof this.links==="string"?JSON.parse(this.links):this.links}}isInSkipToContent(t){const i=e(t);const n=i.find((t=>t.nodeName.toLowerCase()==="z-skip-to-content"));return!!n}showFirstChild(){var t;const i=(t=this.hostElement.children)===null||t===void 0?void 0:t[0];if(i){this.visibleLink=i.id}}handleLinkClick(){this.visible=false}render(){return i(n,{key:"b28906d64e95ddb5bac9fe36fc2b522b1b77f51d",class:{[this.variant]:true,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":true,"z-link":true,"z-link-underline":true,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};l.style=a;export{l as z_skip_to_content};
2
- //# sourceMappingURL=p-0b9fc73c.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZSkipToContentStyle0","ZSkipToContent","handleFocusOutSkipToContent","e","this","isInSkipToContent","target","visible","handleFocusSkipToContent","componentDidLoad","showFirstChild","componentWillRender","links","JSON","parse","elem","tree","getElementTree","menuParent","find","nodeName","toLowerCase","firstChild","_a","hostElement","children","visibleLink","id","handleLinkClick","render","h","Host","key","class","variant","map","link","i","ThemeVariant","DARK","ariaLabel","label","href","onFocus","onClick","onKeyUp","handleKeyboardSubmit","bind"],"sources":["src/components/z-skip-to-content/styles.css?tag=z-skip-to-content&encapsulation=scoped","src/components/z-skip-to-content/index.tsx"],"sourcesContent":[":host {\n position: absolute;\n left: -100%;\n height: 60px;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);\n background-color: #24f4ff;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n text-align: center;\n}\n\n:host > .link-container {\n display: inline-flex;\n height: 100%;\n align-items: center;\n}\n\n:host.skip-to-content-visible,\n:host:focus {\n position: static;\n display: block;\n}\n\n:host > .link-container > a.z-link.link-invisible {\n overflow: hidden;\n width: 0;\n height: 0;\n}\n\n:host > .link-container > a.z-link.link-visible {\n width: initial;\n height: initial;\n}\n\n:host.dark {\n background-color: var(--color-surface05);\n color: var(--color-surface01);\n}\n\n:host.light {\n border: var(--border-size-medium) solid var(--color-surface05);\n background-color: var(--color-surface01);\n color: var(--color-default-text);\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host {\n text-align: start;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host > .link-container {\n padding: 0 calc(var(--space-unit) * 3);\n border-right: var(--border-size-small) solid var(--color-surface05);\n }\n\n :host > .link-container > a.z-link.link-invisible {\n overflow: initial;\n width: initial;\n height: initial;\n }\n\n :host > .link-container:first-child {\n padding-left: 0;\n }\n\n :host > .link-container:last-child,\n :host.dark > .link-container:last-child,\n :host.light > .link-container:last-child {\n padding-right: 0;\n border-right: none;\n }\n\n :host.dark > .link-container {\n border-right: var(--border-size-small) solid var(--color-surface01);\n }\n}\n","import {Component, Element, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {SkipToContentLink, ThemeVariant} from \"../../beans\";\nimport {getElementTree, handleKeyboardSubmit} from \"../../utils/utils\";\n\n/**\n * Component short description.\n */\n@Component({\n tag: \"z-skip-to-content\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZSkipToContent {\n /** Graphical variant: `dark`, `light`. */\n @Prop({reflect: true})\n variant?: ThemeVariant;\n\n /** Array to fill link into skip-content */\n @Prop({mutable: true})\n links: string | SkipToContentLink[] = [];\n\n @State()\n visible = false;\n\n @State()\n visibleLink = \"\";\n\n @Element() hostElement: HTMLZSkipToContentElement;\n\n @Listen(\"focusout\", {target: \"document\"})\n handleFocusOutSkipToContent(e: FocusEvent): void {\n if (this.isInSkipToContent(e.target)) {\n this.visible = false;\n }\n }\n\n @Listen(\"focusin\", {target: \"document\"})\n handleFocusSkipToContent(e: FocusEvent): void {\n if (this.isInSkipToContent(e.target)) {\n this.visible = true;\n }\n }\n\n componentDidLoad(): void {\n this.showFirstChild();\n }\n\n componentWillRender(): void {\n if (this.links) {\n this.links = typeof this.links === \"string\" ? JSON.parse(this.links) : this.links;\n }\n }\n\n private isInSkipToContent(elem): boolean {\n const tree = getElementTree(elem);\n const menuParent = tree.find((elem: Element) => elem.nodeName.toLowerCase() === \"z-skip-to-content\");\n\n return !!menuParent;\n }\n\n private showFirstChild(): void {\n const firstChild = this.hostElement.children?.[0];\n if (firstChild) {\n this.visibleLink = firstChild.id;\n }\n }\n\n private handleLinkClick(): void {\n this.visible = false;\n }\n\n render(): HTMLZSkipToContentElement {\n return (\n <Host\n class={{\n [this.variant]: true,\n \"skip-to-content-visible\": this.visible,\n }}\n >\n {(this.links as SkipToContentLink[]).map((link, i) => {\n const id = `skip-to-content-${i}`;\n\n return (\n <div class=\"link-container\">\n <a\n id={id}\n class={{\n \"body-1-sb\": true,\n \"z-link\": true,\n \"z-link-underline\": true,\n \"z-link-inverse\": this.variant === ThemeVariant.DARK,\n \"link-visible\": id == this.visibleLink,\n \"link-invisible\": id != this.visibleLink,\n }}\n aria-label={link.ariaLabel || link.label}\n href={link.href}\n onFocus={() => (this.visibleLink = id)}\n onClick={() => this.handleLinkClick()}\n onKeyUp={(e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this))}\n >\n {link.label}\n </a>\n </div>\n );\n })}\n </Host>\n );\n }\n}\n"],"mappings":"gKAAA,MAAMA,EAAY,y3DAClB,MAAAC,EAAeD,E,MCYFE,EAAc,M,2DAOa,G,aAG5B,M,iBAGI,E,CAKd,2BAAAC,CAA4BC,GAC1B,GAAIC,KAAKC,kBAAkBF,EAAEG,QAAS,CACpCF,KAAKG,QAAU,K,EAKnB,wBAAAC,CAAyBL,GACvB,GAAIC,KAAKC,kBAAkBF,EAAEG,QAAS,CACpCF,KAAKG,QAAU,I,EAInB,gBAAAE,GACEL,KAAKM,gB,CAGP,mBAAAC,GACE,GAAIP,KAAKQ,MAAO,CACdR,KAAKQ,aAAeR,KAAKQ,QAAU,SAAWC,KAAKC,MAAMV,KAAKQ,OAASR,KAAKQ,K,EAIxE,iBAAAP,CAAkBU,GACxB,MAAMC,EAAOC,EAAeF,GAC5B,MAAMG,EAAaF,EAAKG,MAAMJ,GAAkBA,EAAKK,SAASC,gBAAkB,sBAEhF,QAASH,C,CAGH,cAAAR,G,MACN,MAAMY,GAAaC,EAAAnB,KAAKoB,YAAYC,YAAQ,MAAAF,SAAA,SAAAA,EAAG,GAC/C,GAAID,EAAY,CACdlB,KAAKsB,YAAcJ,EAAWK,E,EAI1B,eAAAC,GACNxB,KAAKG,QAAU,K,CAGjB,MAAAsB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACL,CAAC7B,KAAK8B,SAAU,KAChB,0BAA2B9B,KAAKG,UAGhCH,KAAKQ,MAA8BuB,KAAI,CAACC,EAAMC,KAC9C,MAAMV,EAAK,mBAAmBU,IAE9B,OACEP,EAAA,OAAKG,MAAM,kBACTH,EAAA,KACEH,GAAIA,EACJM,MAAO,CACL,YAAa,KACb,SAAU,KACV,mBAAoB,KACpB,iBAAkB7B,KAAK8B,UAAYI,EAAaC,KAChD,eAAgBZ,GAAMvB,KAAKsB,YAC3B,iBAAkBC,GAAMvB,KAAKsB,aAC9B,aACWU,EAAKI,WAAaJ,EAAKK,MACnCC,KAAMN,EAAKM,KACXC,QAAS,IAAOvC,KAAKsB,YAAcC,EACnCiB,QAAS,IAAMxC,KAAKwB,kBACpBiB,QAAU1C,GAAM2C,EAAqB3C,EAAGC,KAAKwB,gBAAgBmB,KAAK3C,QAEjEgC,EAAKK,OAEJ,I","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 c=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"089bda749c586a5910c417781923cbefe0372dd8",class:this.type},o("slot",{key:"7d222e10b779779ba7ef9be1c1162aa436225610"}))}};c.style=s;export{c as z_alert};
2
- //# sourceMappingURL=p-146a4d4b.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,h as e,a as i,g as o}from"./p-75c4a726.js";import{x as s,D as r}from"./p-86618221.js";const a=':host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);font-weight:var(--font-sb);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}';const d=a;const l=class{constructor(e){t(this,e);this.dividerPosition=s.BEFORE;this.uppercase=true}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,{key:"b42238fc6f9ecdd6b773746c1d97d2ac2d3d5c31"},e("slot",{key:"da33aa876ed2469b5cddf5f1dc34914afb87110f",name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{key:"e8c76d87a57c34b802e467cd9e5b4212a3464350",size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{key:"d65a8312c2b71b0976c63c2de93d7a35bf675736",name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{key:"9e70bb6279e893957314eda5344ffc1a7289315a",size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};l.style=d;export{l as z_section_title};
2
- //# sourceMappingURL=p-252893a8.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZSectionTitleStyle0","ZSectionTitle","ZSectionTitleDividerPosition","BEFORE","componentWillRender","this","hasSecondaryTitle","host","querySelector","render","h","Host","key","name","dividerPosition","size","DividerSize","LARGE","color","AFTER"],"sources":["src/components/deprecated/z-section-title/styles.css?tag=z-section-title&encapsulation=shadow","src/components/deprecated/z-section-title/index.tsx"],"sourcesContent":[":host {\n --z-section-title--divider-color: var(--red500);\n\n display: flex;\n width: fit-content;\n flex-direction: column;\n align-items: flex-start;\n font-family: var(--font-family-sans);\n}\n\n:host,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n::slotted(*) {\n margin: 0;\n}\n\n::slotted([slot=\"secondary-title\"]) {\n padding-bottom: calc(var(--space-unit) / 2);\n border-bottom: var(--border-size-large) solid var(--z-section-title--divider-color);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5rem;\n text-transform: uppercase;\n}\n\n::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-6);\n font-weight: var(--font-sb);\n line-height: 2rem;\n}\n\n:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]) {\n text-transform: uppercase;\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n ::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-7);\n line-height: 2.25rem;\n }\n}\n","import {Component, Element, h, Host, Prop} from \"@stencil/core\";\nimport {DividerSize, ZSectionTitleDividerPosition} from \"../../../beans\";\n\n/**\n * Section title component.\n * An optional secondary title can be put over the primary one.\n *\n * @slot secondary-title - Slot for the secondary title. When present, the divider is always displayed under it,\n * following its width and removing the one for the primary title.\n * @slot primary-title - Slot for the primary title.\n * @cssprop --z-section-title--divider-color - Color of the divider. Use a CSS prop string like `\"--red500\"`. Default is `\"--red500\"`.\n */\n@Component({\n tag: \"z-section-title\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSectionTitle {\n /**\n * Divider position for the primary title.\n * This prop only works if the secondary title is not set.\n */\n @Prop()\n dividerPosition: ZSectionTitleDividerPosition = ZSectionTitleDividerPosition.BEFORE;\n\n /**\n * Whether the primary title text is uppercase.\n */\n @Prop({reflect: true})\n uppercase = true;\n\n @Element() host: HTMLZSectionTitleElement;\n\n private hasSecondaryTitle: boolean;\n\n componentWillRender(): void {\n this.hasSecondaryTitle = !!this.host.querySelector(\"[slot=secondary-title]\");\n }\n\n render(): HTMLZSectionTitleElement {\n return (\n <Host>\n <slot name=\"secondary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n <slot name=\"primary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,ozBAClB,MAAAC,EAAeD,E,MCgBFE,EAAa,M,8CAMwBC,EAA6BC,O,eAMjE,I,CAMZ,mBAAAC,GACEC,KAAKC,oBAAsBD,KAAKE,KAAKC,cAAc,yB,CAGrD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,qBACTR,KAAKC,mBAAqBD,KAAKS,kBAAoBZ,EAA6BC,QAChFO,EAAA,aAAAE,IAAA,2CACEG,KAAMC,EAAYC,MAClBC,MAAM,mCAGVR,EAAA,QAAAE,IAAA,2CAAMC,KAAK,mBACTR,KAAKC,mBAAqBD,KAAKS,kBAAoBZ,EAA6BiB,OAChFT,EAAA,aAAAE,IAAA,2CACEG,KAAMC,EAAYC,MAClBC,MAAM,mC","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as i,h as e}from"./p-75c4a726.js";import{f as n}from"./p-86618221.js";const r="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const a=r;const o=class{constructor(e){t(this,e);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return e("div",{key:"78c6a2c425f8b8d222be16db33bb9d12307015d1",class:"otp-container"},e("div",{key:"18e0d6a908aabdfe49ce4613c094fb12166b0914",class:"digits-container"},this.otp.map(((t,i)=>e("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),e("z-input-message",{key:"1d3207b1411926edb77efbc8a57e179972b77a2e",message:this.message,status:this.status}))}};o.style=a;export{o as z_otp};
2
- //# sourceMappingURL=p-2bb84080.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZOtpStyle0","ZOtp","emitInputChange","value","this","otpChange","emit","componentWillLoad","otp","Array","inputNum","otpRef","render","h","key","class","map","_val","i","status","InputStatus","ERROR","onKeyDown","e","keyCode","onKeyUp","focus","onInput","target","join","type","minlength","maxlength","autoComplete","ref","el","message"],"sources":["src/snowflakes/myz/z-otp/styles.css?tag=z-otp&encapsulation=shadow","src/snowflakes/myz/z-otp/index.tsx"],"sourcesContent":["input:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n:host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.digits-container {\n display: flex;\n justify-content: flex-start;\n}\n\ninput {\n width: calc(var(--space-unit) * 5);\n height: 72px;\n box-sizing: border-box;\n padding: 0;\n caret-color: transparent;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 32px;\n font-weight: 300;\n text-align: center;\n}\n\ninput.error {\n border: 1px solid;\n border-color: var(--color-default-error);\n background-color: var(--color-inverse-error);\n border-radius: 4px;\n}\n\ninput:not(:last-of-type) {\n margin-right: var(--space-unit);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n input:not(:last-of-type) {\n margin-right: calc(var(--space-unit) * 2);\n }\n}\n\n/* Desktop breakpoint */\n@media only screen and (min-width: 1025px) {\n input {\n width: calc(var(--space-unit) * 6);\n }\n}\n","import {Component, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {InputStatus} from \"../../../beans\";\n\n@Component({\n tag: \"z-otp\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZOtp {\n /** Input number */\n @Prop()\n inputNum?: number = 6;\n\n /** Input status */\n @Prop()\n status?: InputStatus;\n\n /** Input message */\n @Prop()\n message?: string;\n\n private otp: string[];\n\n private otpRef: HTMLInputElement[];\n\n /** Otp change event */\n @Event()\n otpChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n this.otpChange.emit({value});\n }\n\n componentWillLoad(): void {\n this.otp = [...Array(this.inputNum)];\n this.otpRef = [...Array(this.inputNum)];\n }\n\n render(): HTMLDivElement {\n return (\n <div class=\"otp-container\">\n <div class=\"digits-container\">\n {this.otp.map((_val, i) => (\n <input\n class={this.status == InputStatus.ERROR ? \"error\" : null}\n onKeyDown={(e: KeyboardEvent) => {\n if (e.keyCode > 47) {\n this.otpRef[i].value = \"\";\n }\n }}\n onKeyUp={(e: KeyboardEvent) => {\n if (e.keyCode > 47) {\n i < this.inputNum - 1 && this.otpRef[i + 1].focus();\n }\n }}\n onInput={(e: InputEvent) => {\n this.otp[i] = (e.target as HTMLInputElement).value;\n this.emitInputChange(this.otp.join(\"\"));\n }}\n type=\"text\"\n minlength=\"1\"\n maxlength=\"1\"\n autoComplete=\"off\"\n ref={(el) => (this.otpRef[i] = el)}\n />\n ))}\n </div>\n <z-input-message\n message={this.message}\n status={this.status}\n ></z-input-message>\n </div>\n );\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAY,uyBAClB,MAAAC,EAAeD,E,MCOFE,EAAI,M,4EAGK,E,6CAkBZ,eAAAC,CAAgBC,GACtBC,KAAKC,UAAUC,KAAK,CAACH,S,CAGvB,iBAAAI,GACEH,KAAKI,IAAM,IAAIC,MAAML,KAAKM,WAC1BN,KAAKO,OAAS,IAAIF,MAAML,KAAKM,U,CAG/B,MAAAE,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,iBACTF,EAAA,OAAAC,IAAA,2CAAKC,MAAM,oBACRX,KAAKI,IAAIQ,KAAI,CAACC,EAAMC,IACnBL,EAAA,SACEE,MAAOX,KAAKe,QAAUC,EAAYC,MAAQ,QAAU,KACpDC,UAAYC,IACV,GAAIA,EAAEC,QAAU,GAAI,CAClBpB,KAAKO,OAAOO,GAAGf,MAAQ,E,GAG3BsB,QAAUF,IACR,GAAIA,EAAEC,QAAU,GAAI,CAClBN,EAAId,KAAKM,SAAW,GAAKN,KAAKO,OAAOO,EAAI,GAAGQ,O,GAGhDC,QAAUJ,IACRnB,KAAKI,IAAIU,GAAMK,EAAEK,OAA4BzB,MAC7CC,KAAKF,gBAAgBE,KAAKI,IAAIqB,KAAK,IAAI,EAEzCC,KAAK,OACLC,UAAU,IACVC,UAAU,IACVC,aAAa,MACbC,IAAMC,GAAQ/B,KAAKO,OAAOO,GAAKiB,OAIrCtB,EAAA,mBAAAC,IAAA,2CACEsB,QAAShC,KAAKgC,QACdjB,OAAQf,KAAKe,S","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,h as e,a as t,g as o}from"./p-75c4a726.js";const r=":host,*{box-sizing:border-box}:host{display:flex;overflow:hidden;min-width:0;height:11.125rem;padding:var(--space-unit);border:var(--border-size-medium) solid var(--color-surface02);background-color:var(--color-surface01);border-radius:var(--border-size-large);cursor:pointer;font-family:var(--font-family-sans);gap:calc(var(--space-unit) * 2)}z-book-cover{--z-book-cover-stack-shift-x:6px;--z-book-cover-stack-shift-y:8px;--z-book-cover-height:158px;--z-book-cover-border-radius:0}.info-container{display:flex;overflow:hidden;min-width:0;flex:1;flex-direction:column}.authors-label{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);text-overflow:ellipsis;white-space:nowrap}.card-title{display:-webkit-box;overflow:hidden;margin:0;-webkit-box-orient:vertical;font-size:var(--font-size-3);font-weight:var(--font-bd);-webkit-line-clamp:2;line-clamp:2;line-height:1.5;word-break:break-word}.card-subtitle{overflow:hidden;color:var(--color-default-text);text-overflow:ellipsis;white-space:nowrap}.tags-container{display:flex;max-width:100%;flex-wrap:wrap;margin-top:calc(var(--space-unit) * 2);gap:var(--space-unit)}.volumes-label{display:flex;flex-grow:1;align-items:end;color:var(--color-default-text);font-size:var(--font-size-1)}:host(.info-card){height:5rem;gap:calc(var(--space-unit) * 1.5)}:host(.info-card) .info-icon-container{display:flex;align-items:center;align-self:flex-start;justify-content:center;padding:var(--space-unit);margin-bottom:calc(var(--space-unit) * 3);background-color:var(--gray50);border-radius:var(--border-size-large)}:host(.info-card) .info-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;fill:var(--color-default-icon)}:host(.info-card) .card-title{display:-webkit-box;overflow:hidden;min-width:0;max-width:100%;max-height:2.4em;margin-top:0;margin-bottom:calc(var(--space-unit) / 2);-webkit-box-orient:vertical;font-size:var(--font-size-3);font-weight:var(--font-bd);-webkit-line-clamp:1;line-clamp:1;line-height:1.2;word-break:break-word}:host(.info-card) .card-subtitle{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.2;white-space:normal;word-break:break-word}@media (max-width: 767px){.card-title{display:block;overflow:hidden;line-height:normal;text-overflow:ellipsis;white-space:nowrap}}";const a=r;const s=class{constructor(o){i(this,o);this.resizeHandler=()=>{this.setTooltipTitle(this.authorsRef);this.setTooltipTitle(this.titleRef);this.setTooltipTitle(this.subtitleRef)};this.renderTitle=()=>{const i=this.titleHtmlTag||"div";return e(i,{class:"card-title",ref:i=>this.titleRef=i},this.cardTitle)};this.renderSubtitle=()=>e("span",{class:"card-subtitle",ref:i=>this.subtitleRef=i},this.cardSubtitle);this.renderOperaCard=()=>e(t,null,e("z-book-cover",{cover:this.cover,fallbackCover:this.fallbackCover,multiple:this.hasMultipleCovers,bordered:true}),e("div",{class:"info-container"},this.authors&&e("span",{class:"authors-label",ref:i=>this.authorsRef=i},this.authors),this.renderTitle(),this.renderSubtitle(),e("div",{class:"tags-container"},e("slot",{name:"tags"})),e("div",{class:"volumes-label"},e("slot",{name:"volumes"}))));this.renderInfoCard=()=>e(t,{class:"info-card"},e("div",{class:"info-icon-container"},e("z-icon",{class:"info-icon",name:"link"})),e("div",{class:"info-container"},this.renderTitle(),this.renderSubtitle()));this.cardTitle=undefined;this.cardSubtitle=undefined;this.authors=undefined;this.cover=undefined;this.fallbackCover=undefined;this.hasMultipleCovers=false;this.isInfoCard=false;this.titleHtmlTag=undefined}setTooltipTitle(i){if(!i){return}const e=window.getComputedStyle(i);const t=e.getPropertyValue("-webkit-line-clamp")!=="none";let o;if(t){const t=parseInt(e.lineHeight);const r=parseInt(e.getPropertyValue("-webkit-line-clamp"));const a=t*r;o=i.scrollHeight>a}else{o=i.scrollWidth>i.clientWidth||i.scrollHeight>i.clientHeight}if(o){i.setAttribute("title",i.textContent.trim())}else{i.removeAttribute("title")}}componentDidRender(){this.setTooltipTitle(this.authorsRef);this.setTooltipTitle(this.titleRef);this.setTooltipTitle(this.subtitleRef)}componentDidLoad(){window.addEventListener("resize",this.resizeHandler)}disconnectedCallback(){window.removeEventListener("resize",this.resizeHandler)}render(){return this.isInfoCard?this.renderInfoCard():this.renderOperaCard()}get hostElement(){return o(this)}};s.style=a;export{s as z_result_card};
2
- //# sourceMappingURL=p-31bd2a1c.entry.js.map