@zanichelli/albe-web-components 19.2.3-RC1 → 19.2.3

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 (1550) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/_commonjsHelpers-68cdf74f.js +7 -0
  3. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +1 -0
  4. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  6. package/dist/cjs/{breakpoints-B7vFm-3T.js → breakpoints-8a1e87e0.js} +2 -0
  7. package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
  8. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-5d47610c.js} +4 -3
  9. package/dist/cjs/iconset-5d47610c.js.map +1 -0
  10. package/dist/cjs/index-012853a0.js +21 -0
  11. package/dist/cjs/index-012853a0.js.map +1 -0
  12. package/dist/cjs/index-1d7a50cc.js +67 -0
  13. package/dist/cjs/index-1d7a50cc.js.map +1 -0
  14. package/dist/cjs/index-2dff20f5.js +20 -0
  15. package/dist/cjs/index-2dff20f5.js.map +1 -0
  16. package/dist/cjs/index-86a8a3a4.js +23 -0
  17. package/dist/cjs/index-86a8a3a4.js.map +1 -0
  18. package/dist/cjs/index-96af6326.js +2324 -0
  19. package/dist/cjs/index-96af6326.js.map +1 -0
  20. package/dist/cjs/index-c38e5b9e.js +73 -0
  21. package/dist/cjs/index-c38e5b9e.js.map +1 -0
  22. package/dist/cjs/index-cb280932.js +47 -0
  23. package/dist/cjs/index-cb280932.js.map +1 -0
  24. package/dist/cjs/{index-wGaSHN1_.js → index-e30d0503.js} +2 -0
  25. package/dist/cjs/index-e30d0503.js.map +1 -0
  26. package/dist/cjs/index.cjs.js +224 -112
  27. package/dist/cjs/index.cjs.js.map +1 -0
  28. package/dist/cjs/loader.cjs.js +8 -3
  29. package/dist/cjs/loader.cjs.js.map +1 -0
  30. package/dist/cjs/{utils-C5_wGVkJ.js → utils-4f7b4830.js} +73 -81
  31. package/dist/cjs/utils-4f7b4830.js.map +1 -0
  32. package/dist/cjs/{utils-Ctc6JP2n.js → utils-b1859d65.js} +4 -2
  33. package/dist/cjs/utils-b1859d65.js.map +1 -0
  34. package/dist/cjs/web-components-library.cjs.js +10 -7
  35. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  36. package/dist/cjs/z-accordion.cjs.entry.js +13 -26
  37. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-alert.cjs.entry.js +10 -4
  39. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-anchor-navigation.cjs.entry.js +10 -25
  41. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +22 -53
  43. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-app-header_12.cjs.entry.js +150 -261
  45. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-aria-alert.cjs.entry.js +7 -4
  47. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-avatar.cjs.entry.js +13 -9
  49. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-book-card-app.cjs.entry.js +18 -10
  51. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +24 -10
  53. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-book-card.cjs.entry.js +23 -11
  55. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-book-cover.cjs.entry.js +11 -6
  57. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-breadcrumb.cjs.entry.js +19 -24
  59. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-button-sort.cjs.entry.js +14 -9
  61. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-card.cjs.entry.js +12 -9
  63. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-carousel.cjs.entry.js +29 -49
  65. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-chip.cjs.entry.js +13 -9
  67. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-color-picker.cjs.entry.js +18 -24
  69. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-combobox.cjs.entry.js +26 -27
  71. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-cover-hero.cjs.entry.js +11 -18
  73. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-date-picker.cjs.entry.js +330 -351
  75. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +22 -18
  77. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-file-upload.cjs.entry.js +18 -21
  79. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-file.cjs.entry.js +13 -6
  81. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -4
  83. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-info-box.cjs.entry.js +10 -5
  85. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-info-reveal.cjs.entry.js +13 -20
  87. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-logo.cjs.entry.js +15 -4
  89. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-menu-deprecated.cjs.entry.js +14 -23
  91. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +13 -10
  93. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-menu-section.cjs.entry.js +16 -15
  95. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-menu.cjs.entry.js +17 -27
  97. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-alert.cjs.entry.js +14 -5
  99. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +12 -9
  101. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +9 -4
  103. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-card-footer.cjs.entry.js +15 -7
  105. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-card-icon.cjs.entry.js +10 -6
  107. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-myz-card-info.cjs.entry.js +13 -8
  109. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-myz-card-list.cjs.entry.js +10 -4
  111. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-myz-card_4.cjs.entry.js +31 -16
  113. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-myz-list-item.cjs.entry.js +17 -9
  115. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-myz-list.cjs.entry.js +12 -7
  117. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-navigation-tabs.cjs.entry.js +18 -28
  119. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-notification.cjs.entry.js +13 -10
  121. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-otp.cjs.entry.js +14 -10
  123. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-pagination.cjs.entry.js +18 -28
  125. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-panel-elem.cjs.entry.js +17 -7
  127. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-popover.cjs.entry.js +19 -35
  129. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-range-picker.cjs.entry.js +31 -38
  131. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-result-card.cjs.entry.js +16 -7
  133. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-section-title.cjs.entry.js +10 -12
  135. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-select.cjs.entry.js +25 -21
  137. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-skip-to-content.cjs.entry.js +13 -8
  139. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-slideshow.cjs.entry.js +16 -12
  141. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-stepper-item.cjs.entry.js +14 -4
  143. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-stepper.cjs.entry.js +9 -4
  145. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-table.cjs.entry.js +18 -19
  147. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-tbody.cjs.entry.js +7 -12
  149. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-td.cjs.entry.js +8 -54
  151. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-tfoot.cjs.entry.js +7 -16
  153. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-th.cjs.entry.js +8 -81
  155. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-thead.cjs.entry.js +7 -21
  157. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toast-notification-list.cjs.entry.js +12 -11
  159. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-toast-notification.cjs.entry.js +3957 -3936
  161. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-toggle-button.cjs.entry.js +12 -8
  163. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-toggle-switch.cjs.entry.js +14 -13
  165. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-tool.cjs.entry.js +29 -28
  167. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  168. package/dist/cjs/z-toolbar.cjs.entry.js +12 -7
  169. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  170. package/dist/cjs/z-tooltip.cjs.entry.js +11 -15
  171. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  172. package/dist/cjs/z-tr.cjs.entry.js +12 -80
  173. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  174. package/dist/cjs/z-tree-list.cjs.entry.js +14 -10
  175. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  176. package/dist/cjs/z-visually-hidden.cjs.entry.js +9 -4
  177. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  178. package/dist/collection/__mocks__/fileMock.js +1 -0
  179. package/dist/collection/__mocks__/fileMock.js.map +1 -0
  180. package/dist/collection/beans/index.js +1 -0
  181. package/dist/collection/beans/index.js.map +1 -0
  182. package/dist/collection/collection-manifest.json +2 -3
  183. package/dist/collection/components/book-card/z-book-card/index.js +34 -55
  184. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  185. package/dist/collection/components/book-card/z-book-card/index.stories.js +1 -0
  186. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
  187. package/dist/collection/components/book-card/z-book-card-app/index.js +15 -23
  188. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  189. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +1 -0
  190. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
  191. package/dist/collection/components/css-components/z-fab/index.stories.js +1 -0
  192. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
  193. package/dist/collection/components/css-components/z-label/index.stories.js +1 -0
  194. package/dist/collection/components/css-components/z-label/index.stories.js.map +1 -0
  195. package/dist/collection/components/css-components/z-link/index.stories.js +1 -0
  196. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
  197. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +1 -0
  198. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -0
  199. package/dist/collection/components/date-picker/utils.js +1 -0
  200. package/dist/collection/components/date-picker/utils.js.map +1 -0
  201. package/dist/collection/components/date-picker/z-date-picker/index.js +35 -61
  202. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  203. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +1 -0
  204. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
  205. package/dist/collection/components/date-picker/z-range-picker/index.js +34 -61
  206. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  207. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +1 -0
  208. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
  209. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +23 -70
  210. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  211. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +1 -0
  212. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -0
  213. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +40 -57
  214. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  215. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -0
  216. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
  217. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +12 -31
  218. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  219. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +1 -0
  220. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -0
  221. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +10 -11
  222. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  223. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +1 -0
  224. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -0
  225. package/dist/collection/components/deprecated/z-section-title/index.js +5 -16
  226. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  227. package/dist/collection/components/deprecated/z-section-title/index.stories.js +1 -0
  228. package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +1 -0
  229. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +6 -7
  230. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  231. package/dist/collection/components/file-upload/z-file/index.js +8 -9
  232. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  233. package/dist/collection/components/file-upload/z-file/index.stories.js +1 -0
  234. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
  235. package/dist/collection/components/file-upload/z-file-upload/index.js +37 -80
  236. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  237. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +1 -0
  238. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
  239. package/dist/collection/components/index.js +1 -0
  240. package/dist/collection/components/index.js.map +1 -0
  241. package/dist/collection/components/list/z-list/index.js +7 -23
  242. package/dist/collection/components/list/z-list/index.js.map +1 -0
  243. package/dist/collection/components/list/z-list/index.stories.js +1 -0
  244. package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
  245. package/dist/collection/components/list/z-list-element/index.js +38 -113
  246. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  247. package/dist/collection/components/list/z-list-element/index.stories.js +1 -0
  248. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
  249. package/dist/collection/components/list/z-list-group/index.js +16 -50
  250. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  251. package/dist/collection/components/list/z-list-group/index.stories.js +1 -0
  252. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
  253. package/dist/collection/components/list/z-tree-list/index.js +11 -16
  254. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  255. package/dist/collection/components/list/z-tree-list/index.stories.js +1 -0
  256. package/dist/collection/components/list/z-tree-list/index.stories.js.map +1 -0
  257. package/dist/collection/components/table/cells/z-td/index.js +10 -32
  258. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  259. package/dist/collection/components/table/cells/z-th/index.js +17 -54
  260. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  261. package/dist/collection/components/table/z-table/index.js +3 -10
  262. package/dist/collection/components/table/z-table/index.js.map +1 -0
  263. package/dist/collection/components/table/z-table/index.stories.js +1 -0
  264. package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
  265. package/dist/collection/components/table/z-tbody/index.js +2 -1
  266. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  267. package/dist/collection/components/table/z-tfoot/index.js +3 -7
  268. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  269. package/dist/collection/components/table/z-thead/index.js +4 -13
  270. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  271. package/dist/collection/components/table/z-tr/index.js +5 -17
  272. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  273. package/dist/collection/components/z-accordion/index.js +16 -49
  274. package/dist/collection/components/z-accordion/index.js.map +1 -0
  275. package/dist/collection/components/z-accordion/index.stories.js +1 -0
  276. package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
  277. package/dist/collection/components/z-anchor-navigation/index.js +6 -33
  278. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  279. package/dist/collection/components/z-anchor-navigation/index.stories.js +1 -0
  280. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
  281. package/dist/collection/components/z-app-header/index.js +20 -58
  282. package/dist/collection/components/z-app-header/index.js.map +1 -0
  283. package/dist/collection/components/z-app-header/index.stories.js +1 -0
  284. package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
  285. package/dist/collection/components/z-aria-alert/index.js +4 -7
  286. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  287. package/dist/collection/components/z-aria-alert/index.stories.js +1 -0
  288. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
  289. package/dist/collection/components/z-avatar/index.js +13 -24
  290. package/dist/collection/components/z-avatar/index.js.map +1 -0
  291. package/dist/collection/components/z-avatar/index.stories.js +1 -0
  292. package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
  293. package/dist/collection/components/z-book-cover/index.js +10 -17
  294. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  295. package/dist/collection/components/z-book-cover/index.stories.js +1 -0
  296. package/dist/collection/components/z-book-cover/index.stories.js.map +1 -0
  297. package/dist/collection/components/z-breadcrumb/index.js +17 -37
  298. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  299. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -0
  300. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
  301. package/dist/collection/components/z-button/index.js +35 -74
  302. package/dist/collection/components/z-button/index.js.map +1 -0
  303. package/dist/collection/components/z-button/index.stories.js +1 -0
  304. package/dist/collection/components/z-button/index.stories.js.map +1 -0
  305. package/dist/collection/components/z-button-sort/index.js +18 -33
  306. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  307. package/dist/collection/components/z-button-sort/index.stories.js +1 -0
  308. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
  309. package/dist/collection/components/z-card/index.js +11 -21
  310. package/dist/collection/components/z-card/index.js.map +1 -0
  311. package/dist/collection/components/z-card/index.stories.js +1 -0
  312. package/dist/collection/components/z-card/index.stories.js.map +1 -0
  313. package/dist/collection/components/z-carousel/index.js +35 -69
  314. package/dist/collection/components/z-carousel/index.js.map +1 -0
  315. package/dist/collection/components/z-carousel/index.stories.js +3 -2
  316. package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
  317. package/dist/collection/components/z-chip/index.js +13 -24
  318. package/dist/collection/components/z-chip/index.js.map +1 -0
  319. package/dist/collection/components/z-chip/index.stories.js +1 -0
  320. package/dist/collection/components/z-chip/index.stories.js.map +1 -0
  321. package/dist/collection/components/z-color-picker/index.js +17 -31
  322. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  323. package/dist/collection/components/z-color-picker/index.stories.js +1 -0
  324. package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
  325. package/dist/collection/components/z-combobox/index.js +41 -80
  326. package/dist/collection/components/z-combobox/index.js.map +1 -0
  327. package/dist/collection/components/z-combobox/index.stories.js +1 -0
  328. package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
  329. package/dist/collection/components/z-cover-hero/index.js +8 -27
  330. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  331. package/dist/collection/components/z-cover-hero/index.stories.js +1 -0
  332. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
  333. package/dist/collection/components/z-divider/index.js +7 -17
  334. package/dist/collection/components/z-divider/index.js.map +1 -0
  335. package/dist/collection/components/z-divider/index.stories.js +1 -0
  336. package/dist/collection/components/z-divider/index.stories.js.map +1 -0
  337. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  338. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  339. package/dist/collection/components/z-ghost-loading/index.stories.js +1 -0
  340. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
  341. package/dist/collection/components/z-icon/index.js +22 -25
  342. package/dist/collection/components/z-icon/index.js.map +1 -0
  343. package/dist/collection/components/z-icon/index.stories.js +1 -0
  344. package/dist/collection/components/z-icon/index.stories.js.map +1 -0
  345. package/dist/collection/components/z-info-box/index.js +6 -9
  346. package/dist/collection/components/z-info-box/index.js.map +1 -0
  347. package/dist/collection/components/z-info-box/index.stories.js +1 -0
  348. package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
  349. package/dist/collection/components/z-info-reveal/index.js +11 -30
  350. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  351. package/dist/collection/components/z-info-reveal/index.stories.js +1 -0
  352. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
  353. package/dist/collection/components/z-input/index.js +74 -131
  354. package/dist/collection/components/z-input/index.js.map +1 -0
  355. package/dist/collection/components/z-input/index.stories.js +1 -0
  356. package/dist/collection/components/z-input/index.stories.js.map +1 -0
  357. package/dist/collection/components/z-input/styles.css +5 -3
  358. package/dist/collection/components/z-input-message/index.js +12 -15
  359. package/dist/collection/components/z-input-message/index.js.map +1 -0
  360. package/dist/collection/components/z-input-message/index.stories.js +1 -0
  361. package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
  362. package/dist/collection/components/z-logo/index.js +22 -25
  363. package/dist/collection/components/z-logo/index.js.map +1 -0
  364. package/dist/collection/components/z-logo/index.stories.js +1 -0
  365. package/dist/collection/components/z-logo/index.stories.js.map +1 -0
  366. package/dist/collection/components/z-menu/index.js +12 -32
  367. package/dist/collection/components/z-menu/index.js.map +1 -0
  368. package/dist/collection/components/z-menu/index.stories.js +1 -0
  369. package/dist/collection/components/z-menu/index.stories.js.map +1 -0
  370. package/dist/collection/components/z-menu-section/index.js +12 -17
  371. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  372. package/dist/collection/components/z-menu-section/index.stories.js +1 -0
  373. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
  374. package/dist/collection/components/z-modal/index.js +19 -36
  375. package/dist/collection/components/z-modal/index.js.map +1 -0
  376. package/dist/collection/components/z-modal/index.stories.js +1 -0
  377. package/dist/collection/components/z-modal/index.stories.js.map +1 -0
  378. package/dist/collection/components/z-navigation-tabs/index.js +15 -35
  379. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  380. package/dist/collection/components/z-navigation-tabs/index.stories.js +1 -0
  381. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
  382. package/dist/collection/components/z-notification/index.js +35 -30
  383. package/dist/collection/components/z-notification/index.js.map +1 -0
  384. package/dist/collection/components/z-notification/index.stories.js +32 -5
  385. package/dist/collection/components/z-notification/index.stories.js.map +1 -0
  386. package/dist/collection/components/z-notification/styles.css +18 -7
  387. package/dist/collection/components/z-offcanvas/index.js +12 -42
  388. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  389. package/dist/collection/components/z-offcanvas/index.stories.js +1 -0
  390. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
  391. package/dist/collection/components/z-pagination/index.js +21 -45
  392. package/dist/collection/components/z-pagination/index.js.map +1 -0
  393. package/dist/collection/components/z-pagination/index.stories.js +1 -0
  394. package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
  395. package/dist/collection/components/z-panel-elem/index.js +26 -38
  396. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  397. package/dist/collection/components/z-panel-elem/index.stories.js +1 -0
  398. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
  399. package/dist/collection/components/z-popover/index.js +16 -44
  400. package/dist/collection/components/z-popover/index.js.map +1 -0
  401. package/dist/collection/components/z-popover/index.stories.js +1 -0
  402. package/dist/collection/components/z-popover/index.stories.js.map +1 -0
  403. package/dist/collection/components/z-result-card/index.js +23 -34
  404. package/dist/collection/components/z-result-card/index.js.map +1 -0
  405. package/dist/collection/components/z-result-card/z-result-card.stories.js +1 -0
  406. package/dist/collection/components/z-result-card/z-result-card.stories.js.map +1 -0
  407. package/dist/collection/components/z-searchbar/index.js +40 -80
  408. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  409. package/dist/collection/components/z-searchbar/index.stories.js +1 -0
  410. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
  411. package/dist/collection/components/z-select/index.js +47 -87
  412. package/dist/collection/components/z-select/index.js.map +1 -0
  413. package/dist/collection/components/z-select/index.stories.js +1 -0
  414. package/dist/collection/components/z-select/index.stories.js.map +1 -0
  415. package/dist/collection/components/z-skip-to-content/index.js +8 -13
  416. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  417. package/dist/collection/components/z-skip-to-content/index.stories.js +1 -0
  418. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
  419. package/dist/collection/components/z-stepper/index.js +2 -1
  420. package/dist/collection/components/z-stepper/index.js.map +1 -0
  421. package/dist/collection/components/z-stepper/index.stories.js +1 -0
  422. package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
  423. package/dist/collection/components/z-stepper-item/index.js +19 -21
  424. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  425. package/dist/collection/components/z-stepper-item/index.stories.js +1 -0
  426. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
  427. package/dist/collection/components/z-tag/index.js +14 -11
  428. package/dist/collection/components/z-tag/index.js.map +1 -0
  429. package/dist/collection/components/z-tag/index.stories.js +1 -0
  430. package/dist/collection/components/z-tag/index.stories.js.map +1 -0
  431. package/dist/collection/components/z-toast-notification/index.js +34 -52
  432. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  433. package/dist/collection/components/z-toast-notification/index.stories.js +1 -0
  434. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
  435. package/dist/collection/components/z-toast-notification-list/index.js +6 -12
  436. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  437. package/dist/collection/components/z-toast-notification-list/index.stories.js +1 -0
  438. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
  439. package/dist/collection/components/z-toggle-button/index.js +12 -22
  440. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  441. package/dist/collection/components/z-toggle-button/index.stories.js +1 -0
  442. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
  443. package/dist/collection/components/z-toggle-switch/index.js +9 -21
  444. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  445. package/dist/collection/components/z-toggle-switch/index.stories.js +1 -0
  446. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
  447. package/dist/collection/components/z-tool/index.js +31 -49
  448. package/dist/collection/components/z-tool/index.js.map +1 -0
  449. package/dist/collection/components/z-tool/index.stories.js +1 -0
  450. package/dist/collection/components/z-tool/index.stories.js.map +1 -0
  451. package/dist/collection/components/z-toolbar/index.js +6 -7
  452. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  453. package/dist/collection/components/z-toolbar/index.stories.js +1 -0
  454. package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
  455. package/dist/collection/components/z-tooltip/index.js +10 -29
  456. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  457. package/dist/collection/components/z-tooltip/index.stories.js +1 -0
  458. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
  459. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  460. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  461. package/dist/collection/components/z-visually-hidden/index.stories.js +1 -0
  462. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
  463. package/dist/collection/constants/breakpoints.js +1 -0
  464. package/dist/collection/constants/breakpoints.js.map +1 -0
  465. package/dist/collection/constants/icons.js +1 -0
  466. package/dist/collection/constants/icons.js.map +1 -0
  467. package/dist/collection/constants/iconset.js +1 -0
  468. package/dist/collection/constants/iconset.js.map +1 -0
  469. package/dist/collection/index.js +1 -0
  470. package/dist/collection/index.js.map +1 -0
  471. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +11 -19
  472. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  473. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +16 -17
  474. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  475. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  476. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  477. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +16 -17
  478. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  479. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +12 -25
  480. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  481. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +20 -31
  482. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  483. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  484. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  485. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +12 -15
  486. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  487. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +7 -13
  488. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  489. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +7 -11
  490. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  491. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
  492. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  493. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
  494. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  495. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +19 -29
  496. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  497. package/dist/collection/snowflakes/myz/z-alert/index.js +8 -7
  498. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  499. package/dist/collection/snowflakes/myz/z-otp/index.js +12 -19
  500. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  501. package/dist/collection/snowflakes/myz/z-slideshow/index.js +9 -11
  502. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  503. package/dist/collection/utils/storybook-utils.js +1 -0
  504. package/dist/collection/utils/storybook-utils.js.map +1 -0
  505. package/dist/collection/utils/utils.js +1 -0
  506. package/dist/collection/utils/utils.js.map +1 -0
  507. package/dist/components/_commonjsHelpers.js +5 -1
  508. package/dist/components/_commonjsHelpers.js.map +1 -0
  509. package/dist/components/breakpoints.js +11 -1
  510. package/dist/components/breakpoints.js.map +1 -0
  511. package/dist/components/iconset.js +1013 -1
  512. package/dist/components/iconset.js.map +1 -0
  513. package/dist/components/index.d.ts +0 -1
  514. package/dist/components/index.js +98 -1
  515. package/dist/components/index.js.map +1 -0
  516. package/dist/components/index10.js +60 -1
  517. package/dist/components/index10.js.map +1 -0
  518. package/dist/components/index11.js +92 -1
  519. package/dist/components/index11.js.map +1 -0
  520. package/dist/components/index12.js +342 -1
  521. package/dist/components/index12.js.map +1 -0
  522. package/dist/components/index13.js +66 -1
  523. package/dist/components/index13.js.map +1 -0
  524. package/dist/components/index14.js +53 -1
  525. package/dist/components/index14.js.map +1 -0
  526. package/dist/components/index15.js +181 -1
  527. package/dist/components/index15.js.map +1 -0
  528. package/dist/components/index16.js +76 -1
  529. package/dist/components/index16.js.map +1 -0
  530. package/dist/components/index17.js +1040 -1
  531. package/dist/components/index17.js.map +1 -0
  532. package/dist/components/index18.js +65 -1
  533. package/dist/components/index18.js.map +1 -0
  534. package/dist/components/index19.js +33 -1
  535. package/dist/components/index19.js.map +1 -0
  536. package/dist/components/index2.js +407 -1
  537. package/dist/components/index2.js.map +1 -0
  538. package/dist/components/index20.js +45 -1
  539. package/dist/components/index20.js.map +1 -0
  540. package/dist/components/index21.js +62 -1
  541. package/dist/components/index21.js.map +1 -0
  542. package/dist/components/index22.js +66 -1
  543. package/dist/components/index22.js.map +1 -0
  544. package/dist/components/index23.js +179 -1
  545. package/dist/components/index23.js.map +1 -0
  546. package/dist/components/index24.js +549 -1
  547. package/dist/components/index24.js.map +1 -0
  548. package/dist/components/index25.js +409 -1
  549. package/dist/components/index25.js.map +1 -0
  550. package/dist/components/index26.js +49 -1
  551. package/dist/components/index26.js.map +1 -0
  552. package/dist/components/index27.js +55 -1
  553. package/dist/components/index27.js.map +1 -0
  554. package/dist/components/index3.js +36 -1
  555. package/dist/components/index3.js.map +1 -0
  556. package/dist/components/index4.js +45 -1
  557. package/dist/components/index4.js.map +1 -0
  558. package/dist/components/index5.js +82 -1
  559. package/dist/components/index5.js.map +1 -0
  560. package/dist/components/index6.js +56 -1
  561. package/dist/components/index6.js.map +1 -0
  562. package/dist/components/index7.js +40 -1
  563. package/dist/components/index7.js.map +1 -0
  564. package/dist/components/index8.js +63 -1
  565. package/dist/components/index8.js.map +1 -0
  566. package/dist/components/index9.js +33 -1
  567. package/dist/components/index9.js.map +1 -0
  568. package/dist/components/utils.js +246 -1
  569. package/dist/components/utils.js.map +1 -0
  570. package/dist/components/utils2.js +2704 -1
  571. package/dist/components/utils2.js.map +1 -0
  572. package/dist/components/z-accordion.js +95 -1
  573. package/dist/components/z-accordion.js.map +1 -0
  574. package/dist/components/z-alert.js +8 -1
  575. package/dist/components/z-alert.js.map +1 -0
  576. package/dist/components/z-anchor-navigation.js +87 -1
  577. package/dist/components/z-anchor-navigation.js.map +1 -0
  578. package/dist/components/z-app-header-deprecated.js +255 -1
  579. package/dist/components/z-app-header-deprecated.js.map +1 -0
  580. package/dist/components/z-app-header.js +367 -1
  581. package/dist/components/z-app-header.js.map +1 -0
  582. package/dist/components/z-aria-alert.js +35 -1
  583. package/dist/components/z-aria-alert.js.map +1 -0
  584. package/dist/components/z-avatar.js +66 -1
  585. package/dist/components/z-avatar.js.map +1 -0
  586. package/dist/components/z-book-card-app.js +77 -1
  587. package/dist/components/z-book-card-app.js.map +1 -0
  588. package/dist/components/z-book-card-deprecated.js +175 -1
  589. package/dist/components/z-book-card-deprecated.js.map +1 -0
  590. package/dist/components/z-book-card.js +149 -1
  591. package/dist/components/z-book-card.js.map +1 -0
  592. package/dist/components/z-book-cover.js +8 -1
  593. package/dist/components/z-book-cover.js.map +1 -0
  594. package/dist/components/z-breadcrumb.js +290 -1
  595. package/dist/components/z-breadcrumb.js.map +1 -0
  596. package/dist/components/z-button-sort.js +86 -1
  597. package/dist/components/z-button-sort.js.map +1 -0
  598. package/dist/components/z-button.js +8 -1
  599. package/dist/components/z-button.js.map +1 -0
  600. package/dist/components/z-card.js +83 -1
  601. package/dist/components/z-card.js.map +1 -0
  602. package/dist/components/z-carousel.js +234 -1
  603. package/dist/components/z-carousel.js.map +1 -0
  604. package/dist/components/z-chip.js +8 -1
  605. package/dist/components/z-chip.js.map +1 -0
  606. package/dist/components/z-color-picker.js +234 -1
  607. package/dist/components/z-color-picker.js.map +1 -0
  608. package/dist/components/z-combobox.js +393 -1
  609. package/dist/components/z-combobox.js.map +1 -0
  610. package/dist/components/z-cover-hero.js +66 -1
  611. package/dist/components/z-cover-hero.js.map +1 -0
  612. package/dist/components/z-date-picker.js +528 -16
  613. package/dist/components/z-date-picker.js.map +1 -0
  614. package/dist/components/z-divider.js +8 -1
  615. package/dist/components/z-divider.js.map +1 -0
  616. package/dist/components/z-dragdrop-area.js +8 -1
  617. package/dist/components/z-dragdrop-area.js.map +1 -0
  618. package/dist/components/z-file-upload.js +253 -1
  619. package/dist/components/z-file-upload.js.map +1 -0
  620. package/dist/components/z-file.js +89 -1
  621. package/dist/components/z-file.js.map +1 -0
  622. package/dist/components/z-ghost-loading.js +8 -1
  623. package/dist/components/z-ghost-loading.js.map +1 -0
  624. package/dist/components/z-icon.js +8 -1
  625. package/dist/components/z-icon.js.map +1 -0
  626. package/dist/components/z-info-box.js +51 -1
  627. package/dist/components/z-info-box.js.map +1 -0
  628. package/dist/components/z-info-reveal.js +8 -1
  629. package/dist/components/z-info-reveal.js.map +1 -0
  630. package/dist/components/z-input-message.js +8 -1
  631. package/dist/components/z-input-message.js.map +1 -0
  632. package/dist/components/z-input.js +8 -1
  633. package/dist/components/z-input.js.map +1 -0
  634. package/dist/components/z-list-element.js +8 -1
  635. package/dist/components/z-list-element.js.map +1 -0
  636. package/dist/components/z-list-group.js +8 -1
  637. package/dist/components/z-list-group.js.map +1 -0
  638. package/dist/components/z-list.js +8 -1
  639. package/dist/components/z-list.js.map +1 -0
  640. package/dist/components/z-logo.js +56 -1
  641. package/dist/components/z-logo.js.map +1 -0
  642. package/dist/components/z-menu-deprecated.js +144 -1
  643. package/dist/components/z-menu-deprecated.js.map +1 -0
  644. package/dist/components/z-menu-section-deprecated.js +84 -1
  645. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  646. package/dist/components/z-menu-section.js +226 -1
  647. package/dist/components/z-menu-section.js.map +1 -0
  648. package/dist/components/z-menu.js +353 -1
  649. package/dist/components/z-menu.js.map +1 -0
  650. package/dist/components/z-modal.js +8 -1
  651. package/dist/components/z-modal.js.map +1 -0
  652. package/dist/components/z-myz-card-alert.js +101 -1
  653. package/dist/components/z-myz-card-alert.js.map +1 -0
  654. package/dist/components/z-myz-card-body.js +8 -1
  655. package/dist/components/z-myz-card-body.js.map +1 -0
  656. package/dist/components/z-myz-card-cover.js +8 -1
  657. package/dist/components/z-myz-card-cover.js.map +1 -0
  658. package/dist/components/z-myz-card-dictionary.js +94 -1
  659. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  660. package/dist/components/z-myz-card-footer-sections.js +36 -1
  661. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  662. package/dist/components/z-myz-card-footer.js +99 -1
  663. package/dist/components/z-myz-card-footer.js.map +1 -0
  664. package/dist/components/z-myz-card-header.js +8 -1
  665. package/dist/components/z-myz-card-header.js.map +1 -0
  666. package/dist/components/z-myz-card-icon.js +49 -1
  667. package/dist/components/z-myz-card-icon.js.map +1 -0
  668. package/dist/components/z-myz-card-info.js +162 -1
  669. package/dist/components/z-myz-card-info.js.map +1 -0
  670. package/dist/components/z-myz-card-list.js +58 -1
  671. package/dist/components/z-myz-card-list.js.map +1 -0
  672. package/dist/components/z-myz-card.js +8 -1
  673. package/dist/components/z-myz-card.js.map +1 -0
  674. package/dist/components/z-myz-list-item.js +8 -1
  675. package/dist/components/z-myz-list-item.js.map +1 -0
  676. package/dist/components/z-myz-list.js +71 -1
  677. package/dist/components/z-myz-list.js.map +1 -0
  678. package/dist/components/z-navigation-tabs.js +272 -1
  679. package/dist/components/z-navigation-tabs.js.map +1 -0
  680. package/dist/components/z-notification.js +70 -1
  681. package/dist/components/z-notification.js.map +1 -0
  682. package/dist/components/z-offcanvas.js +8 -1
  683. package/dist/components/z-offcanvas.js.map +1 -0
  684. package/dist/components/z-otp.js +75 -1
  685. package/dist/components/z-otp.js.map +1 -0
  686. package/dist/components/z-pagination.js +283 -1
  687. package/dist/components/z-pagination.js.map +1 -0
  688. package/dist/components/z-panel-elem.js +66 -1
  689. package/dist/components/z-panel-elem.js.map +1 -0
  690. package/dist/components/z-popover.js +8 -1
  691. package/dist/components/z-popover.js.map +1 -0
  692. package/dist/components/z-range-picker.js +413 -1
  693. package/dist/components/z-range-picker.js.map +1 -0
  694. package/dist/components/z-result-card.js +121 -1
  695. package/dist/components/z-result-card.js.map +1 -0
  696. package/dist/components/z-searchbar.js +8 -1
  697. package/dist/components/z-searchbar.js.map +1 -0
  698. package/dist/components/z-section-title.js +52 -1
  699. package/dist/components/z-section-title.js.map +1 -0
  700. package/dist/components/z-select.js +585 -1
  701. package/dist/components/z-select.js.map +1 -0
  702. package/dist/components/z-skip-to-content.js +93 -1
  703. package/dist/components/z-skip-to-content.js.map +1 -0
  704. package/dist/components/z-slideshow.js +161 -1
  705. package/dist/components/z-slideshow.js.map +1 -0
  706. package/dist/components/z-stepper-item.js +60 -1
  707. package/dist/components/z-stepper-item.js.map +1 -0
  708. package/dist/components/z-stepper.js +36 -1
  709. package/dist/components/z-stepper.js.map +1 -0
  710. package/dist/components/z-table.js +68 -1
  711. package/dist/components/z-table.js.map +1 -0
  712. package/dist/components/z-tag.js +8 -1
  713. package/dist/components/z-tag.js.map +1 -0
  714. package/dist/components/z-tbody.js +36 -1
  715. package/dist/components/z-tbody.js.map +1 -0
  716. package/dist/components/z-td.js +89 -1
  717. package/dist/components/z-td.js.map +1 -0
  718. package/dist/components/z-tfoot.js +39 -1
  719. package/dist/components/z-tfoot.js.map +1 -0
  720. package/dist/components/z-th.js +112 -1
  721. package/dist/components/z-th.js.map +1 -0
  722. package/dist/components/z-thead.js +42 -1
  723. package/dist/components/z-thead.js.map +1 -0
  724. package/dist/components/z-toast-notification-list.js +79 -1
  725. package/dist/components/z-toast-notification-list.js.map +1 -0
  726. package/dist/components/z-toast-notification.js +4228 -2
  727. package/dist/components/z-toast-notification.js.map +1 -0
  728. package/dist/components/z-toggle-button.js +64 -1
  729. package/dist/components/z-toggle-button.js.map +1 -0
  730. package/dist/components/z-toggle-switch.js +73 -1
  731. package/dist/components/z-toggle-switch.js.map +1 -0
  732. package/dist/components/z-tool.js +260 -1
  733. package/dist/components/z-tool.js.map +1 -0
  734. package/dist/components/z-toolbar.js +165 -1
  735. package/dist/components/z-toolbar.js.map +1 -0
  736. package/dist/components/z-tooltip.js +8 -1
  737. package/dist/components/z-tooltip.js.map +1 -0
  738. package/dist/components/z-tr.js +101 -1
  739. package/dist/components/z-tr.js.map +1 -0
  740. package/dist/components/z-tree-list.js +162 -1
  741. package/dist/components/z-tree-list.js.map +1 -0
  742. package/dist/components/z-visually-hidden.js +36 -1
  743. package/dist/components/z-visually-hidden.js.map +1 -0
  744. package/dist/docs/grid/index.stories.js +54 -0
  745. package/dist/docs/grid/index.stories.js.map +1 -0
  746. package/dist/docs/iconset/index.stories.js +32 -0
  747. package/dist/docs/iconset/index.stories.js.map +1 -0
  748. package/dist/docs/themes/index.stories.js +108 -0
  749. package/dist/docs/themes/index.stories.js.map +1 -0
  750. package/dist/docs/typography/index.stories.js +186 -0
  751. package/dist/docs/typography/index.stories.js.map +1 -0
  752. package/dist/esm/_commonjsHelpers-1c8beb5f.js +5 -0
  753. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +1 -0
  754. package/dist/esm/app-globals-0f993ce5.js +5 -0
  755. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  756. package/dist/esm/{breakpoints-Q-tWjk7P.js → breakpoints-d148bfde.js} +2 -0
  757. package/dist/esm/breakpoints-d148bfde.js.map +1 -0
  758. package/dist/esm/{iconset-BanpkIXZ.js → iconset-d7823b13.js} +4 -3
  759. package/dist/esm/iconset-d7823b13.js.map +1 -0
  760. package/dist/esm/index-09bfb4ee.js +18 -0
  761. package/dist/esm/index-09bfb4ee.js.map +1 -0
  762. package/dist/esm/{index-BKCj6NR2.js → index-106473a8.js} +2 -0
  763. package/dist/esm/index-106473a8.js.map +1 -0
  764. package/dist/esm/index-3856a6ca.js +19 -0
  765. package/dist/esm/index-3856a6ca.js.map +1 -0
  766. package/dist/esm/index-455c0a68.js +21 -0
  767. package/dist/esm/index-455c0a68.js.map +1 -0
  768. package/dist/esm/index-6c43bc70.js +65 -0
  769. package/dist/esm/index-6c43bc70.js.map +1 -0
  770. package/dist/esm/index-a0b957e0.js +71 -0
  771. package/dist/esm/index-a0b957e0.js.map +1 -0
  772. package/dist/esm/index-c8ceadeb.js +2293 -0
  773. package/dist/esm/index-c8ceadeb.js.map +1 -0
  774. package/dist/esm/index-f8517155.js +45 -0
  775. package/dist/esm/index-f8517155.js.map +1 -0
  776. package/dist/esm/index.js +6 -4
  777. package/dist/esm/index.js.map +1 -0
  778. package/dist/esm/loader.js +6 -3
  779. package/dist/esm/loader.js.map +1 -0
  780. package/dist/esm/{utils-0PByxJyN.js → utils-8d6ca808.js} +5 -3
  781. package/dist/esm/utils-8d6ca808.js.map +1 -0
  782. package/dist/esm/{utils-DuuLzXZj.js → utils-93ac0e6c.js} +73 -81
  783. package/dist/esm/utils-93ac0e6c.js.map +1 -0
  784. package/dist/esm/web-components-library.js +7 -5
  785. package/dist/esm/web-components-library.js.map +1 -0
  786. package/dist/esm/z-accordion.entry.js +11 -26
  787. package/dist/esm/z-accordion.entry.js.map +1 -0
  788. package/dist/esm/z-alert.entry.js +8 -4
  789. package/dist/esm/z-alert.entry.js.map +1 -0
  790. package/dist/esm/z-anchor-navigation.entry.js +8 -25
  791. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  792. package/dist/esm/z-app-header-deprecated.entry.js +20 -53
  793. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  794. package/dist/esm/z-app-header_12.entry.js +148 -261
  795. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  796. package/dist/esm/z-aria-alert.entry.js +5 -4
  797. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  798. package/dist/esm/z-avatar.entry.js +11 -9
  799. package/dist/esm/z-avatar.entry.js.map +1 -0
  800. package/dist/esm/z-book-card-app.entry.js +16 -10
  801. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  802. package/dist/esm/z-book-card-deprecated.entry.js +22 -10
  803. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  804. package/dist/esm/z-book-card.entry.js +21 -11
  805. package/dist/esm/z-book-card.entry.js.map +1 -0
  806. package/dist/esm/z-book-cover.entry.js +9 -6
  807. package/dist/esm/z-book-cover.entry.js.map +1 -0
  808. package/dist/esm/z-breadcrumb.entry.js +17 -24
  809. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  810. package/dist/esm/z-button-sort.entry.js +12 -9
  811. package/dist/esm/z-button-sort.entry.js.map +1 -0
  812. package/dist/esm/z-card.entry.js +10 -9
  813. package/dist/esm/z-card.entry.js.map +1 -0
  814. package/dist/esm/z-carousel.entry.js +28 -50
  815. package/dist/esm/z-carousel.entry.js.map +1 -0
  816. package/dist/esm/z-chip.entry.js +11 -9
  817. package/dist/esm/z-chip.entry.js.map +1 -0
  818. package/dist/esm/z-color-picker.entry.js +16 -24
  819. package/dist/esm/z-color-picker.entry.js.map +1 -0
  820. package/dist/esm/z-combobox.entry.js +24 -27
  821. package/dist/esm/z-combobox.entry.js.map +1 -0
  822. package/dist/esm/z-cover-hero.entry.js +9 -18
  823. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  824. package/dist/esm/z-date-picker.entry.js +329 -352
  825. package/dist/esm/z-date-picker.entry.js.map +1 -0
  826. package/dist/esm/z-dragdrop-area_2.entry.js +20 -18
  827. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  828. package/dist/esm/z-file-upload.entry.js +16 -21
  829. package/dist/esm/z-file-upload.entry.js.map +1 -0
  830. package/dist/esm/z-file.entry.js +11 -6
  831. package/dist/esm/z-file.entry.js.map +1 -0
  832. package/dist/esm/z-ghost-loading.entry.js +7 -4
  833. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  834. package/dist/esm/z-info-box.entry.js +8 -5
  835. package/dist/esm/z-info-box.entry.js.map +1 -0
  836. package/dist/esm/z-info-reveal.entry.js +11 -20
  837. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  838. package/dist/esm/z-logo.entry.js +13 -4
  839. package/dist/esm/z-logo.entry.js.map +1 -0
  840. package/dist/esm/z-menu-deprecated.entry.js +12 -23
  841. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  842. package/dist/esm/z-menu-section-deprecated.entry.js +11 -10
  843. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  844. package/dist/esm/z-menu-section.entry.js +14 -15
  845. package/dist/esm/z-menu-section.entry.js.map +1 -0
  846. package/dist/esm/z-menu.entry.js +15 -27
  847. package/dist/esm/z-menu.entry.js.map +1 -0
  848. package/dist/esm/z-myz-card-alert.entry.js +12 -5
  849. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  850. package/dist/esm/z-myz-card-dictionary.entry.js +10 -9
  851. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  852. package/dist/esm/z-myz-card-footer-sections.entry.js +7 -4
  853. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  854. package/dist/esm/z-myz-card-footer.entry.js +13 -7
  855. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  856. package/dist/esm/z-myz-card-icon.entry.js +8 -6
  857. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  858. package/dist/esm/z-myz-card-info.entry.js +11 -8
  859. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  860. package/dist/esm/z-myz-card-list.entry.js +8 -4
  861. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  862. package/dist/esm/z-myz-card_4.entry.js +29 -16
  863. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  864. package/dist/esm/z-myz-list-item.entry.js +15 -9
  865. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  866. package/dist/esm/z-myz-list.entry.js +10 -7
  867. package/dist/esm/z-myz-list.entry.js.map +1 -0
  868. package/dist/esm/z-navigation-tabs.entry.js +16 -28
  869. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  870. package/dist/esm/z-notification.entry.js +11 -10
  871. package/dist/esm/z-notification.entry.js.map +1 -0
  872. package/dist/esm/z-otp.entry.js +12 -10
  873. package/dist/esm/z-otp.entry.js.map +1 -0
  874. package/dist/esm/z-pagination.entry.js +16 -28
  875. package/dist/esm/z-pagination.entry.js.map +1 -0
  876. package/dist/esm/z-panel-elem.entry.js +15 -7
  877. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  878. package/dist/esm/z-popover.entry.js +17 -35
  879. package/dist/esm/z-popover.entry.js.map +1 -0
  880. package/dist/esm/z-range-picker.entry.js +29 -38
  881. package/dist/esm/z-range-picker.entry.js.map +1 -0
  882. package/dist/esm/z-result-card.entry.js +14 -7
  883. package/dist/esm/z-result-card.entry.js.map +1 -0
  884. package/dist/esm/z-section-title.entry.js +8 -12
  885. package/dist/esm/z-section-title.entry.js.map +1 -0
  886. package/dist/esm/z-select.entry.js +23 -21
  887. package/dist/esm/z-select.entry.js.map +1 -0
  888. package/dist/esm/z-skip-to-content.entry.js +11 -8
  889. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  890. package/dist/esm/z-slideshow.entry.js +14 -12
  891. package/dist/esm/z-slideshow.entry.js.map +1 -0
  892. package/dist/esm/z-stepper-item.entry.js +12 -4
  893. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  894. package/dist/esm/z-stepper.entry.js +7 -4
  895. package/dist/esm/z-stepper.entry.js.map +1 -0
  896. package/dist/esm/z-table.entry.js +16 -19
  897. package/dist/esm/z-table.entry.js.map +1 -0
  898. package/dist/esm/z-tbody.entry.js +3 -14
  899. package/dist/esm/z-tbody.entry.js.map +1 -0
  900. package/dist/esm/z-td.entry.js +4 -56
  901. package/dist/esm/z-td.entry.js.map +1 -0
  902. package/dist/esm/z-tfoot.entry.js +3 -18
  903. package/dist/esm/z-tfoot.entry.js.map +1 -0
  904. package/dist/esm/z-th.entry.js +4 -83
  905. package/dist/esm/z-th.entry.js.map +1 -0
  906. package/dist/esm/z-thead.entry.js +3 -23
  907. package/dist/esm/z-thead.entry.js.map +1 -0
  908. package/dist/esm/z-toast-notification-list.entry.js +10 -11
  909. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  910. package/dist/esm/z-toast-notification.entry.js +3955 -3936
  911. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  912. package/dist/esm/z-toggle-button.entry.js +10 -8
  913. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  914. package/dist/esm/z-toggle-switch.entry.js +12 -13
  915. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  916. package/dist/esm/z-tool.entry.js +27 -28
  917. package/dist/esm/z-tool.entry.js.map +1 -0
  918. package/dist/esm/z-toolbar.entry.js +10 -7
  919. package/dist/esm/z-toolbar.entry.js.map +1 -0
  920. package/dist/esm/z-tooltip.entry.js +9 -15
  921. package/dist/esm/z-tooltip.entry.js.map +1 -0
  922. package/dist/esm/z-tr.entry.js +8 -82
  923. package/dist/esm/z-tr.entry.js.map +1 -0
  924. package/dist/esm/z-tree-list.entry.js +12 -10
  925. package/dist/esm/z-tree-list.entry.js.map +1 -0
  926. package/dist/esm/z-visually-hidden.entry.js +7 -4
  927. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  928. package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
  929. package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
  930. package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
  931. package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
  932. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
  933. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
  934. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
  935. package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
  936. package/dist/types/components/deprecated/z-section-title/index.d.ts +1 -2
  937. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
  938. package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
  939. package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
  940. package/dist/types/components/list/z-list/index.d.ts +1 -2
  941. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  942. package/dist/types/components/list/z-list-group/index.d.ts +1 -2
  943. package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
  944. package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
  945. package/dist/types/components/table/cells/z-th/index.d.ts +1 -2
  946. package/dist/types/components/table/z-table/index.d.ts +1 -2
  947. package/dist/types/components/table/z-tbody/index.d.ts +1 -2
  948. package/dist/types/components/table/z-tfoot/index.d.ts +1 -2
  949. package/dist/types/components/table/z-thead/index.d.ts +1 -2
  950. package/dist/types/components/table/z-tr/index.d.ts +2 -2
  951. package/dist/types/components/z-accordion/index.d.ts +2 -2
  952. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -2
  953. package/dist/types/components/z-app-header/index.d.ts +2 -2
  954. package/dist/types/components/z-aria-alert/index.d.ts +1 -2
  955. package/dist/types/components/z-avatar/index.d.ts +1 -2
  956. package/dist/types/components/z-book-cover/index.d.ts +1 -2
  957. package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
  958. package/dist/types/components/z-button/index.d.ts +2 -5
  959. package/dist/types/components/z-button-sort/index.d.ts +2 -2
  960. package/dist/types/components/z-card/index.d.ts +1 -2
  961. package/dist/types/components/z-carousel/index.d.ts +2 -5
  962. package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
  963. package/dist/types/components/z-chip/index.d.ts +2 -2
  964. package/dist/types/components/z-color-picker/index.d.ts +2 -2
  965. package/dist/types/components/z-combobox/index.d.ts +2 -2
  966. package/dist/types/components/z-cover-hero/index.d.ts +1 -2
  967. package/dist/types/components/z-divider/index.d.ts +1 -2
  968. package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
  969. package/dist/types/components/z-icon/index.d.ts +1 -2
  970. package/dist/types/components/z-info-box/index.d.ts +2 -2
  971. package/dist/types/components/z-info-reveal/index.d.ts +1 -2
  972. package/dist/types/components/z-input/index.d.ts +2 -2
  973. package/dist/types/components/z-input-message/index.d.ts +1 -2
  974. package/dist/types/components/z-logo/index.d.ts +1 -2
  975. package/dist/types/components/z-menu/index.d.ts +2 -2
  976. package/dist/types/components/z-menu-section/index.d.ts +2 -2
  977. package/dist/types/components/z-modal/index.d.ts +2 -2
  978. package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
  979. package/dist/types/components/z-notification/index.d.ts +5 -2
  980. package/dist/types/components/z-notification/index.stories.d.ts +12 -1
  981. package/dist/types/components/z-offcanvas/index.d.ts +2 -2
  982. package/dist/types/components/z-pagination/index.d.ts +2 -2
  983. package/dist/types/components/z-panel-elem/index.d.ts +1 -2
  984. package/dist/types/components/z-popover/index.d.ts +2 -2
  985. package/dist/types/components/z-result-card/index.d.ts +1 -2
  986. package/dist/types/components/z-searchbar/index.d.ts +2 -2
  987. package/dist/types/components/z-select/index.d.ts +2 -2
  988. package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
  989. package/dist/types/components/z-stepper/index.d.ts +1 -2
  990. package/dist/types/components/z-stepper-item/index.d.ts +1 -2
  991. package/dist/types/components/z-tag/index.d.ts +1 -2
  992. package/dist/types/components/z-toast-notification/index.d.ts +2 -2
  993. package/dist/types/components/z-toast-notification-list/index.d.ts +1 -2
  994. package/dist/types/components/z-toggle-button/index.d.ts +2 -2
  995. package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
  996. package/dist/types/components/z-tool/index.d.ts +2 -2
  997. package/dist/types/components/z-toolbar/index.d.ts +1 -2
  998. package/dist/types/components/z-tooltip/index.d.ts +2 -2
  999. package/dist/types/components/z-visually-hidden/index.d.ts +1 -2
  1000. package/dist/types/components.d.ts +178 -1299
  1001. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
  1002. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
  1003. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +16 -0
  1004. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +96 -0
  1005. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -2
  1006. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
  1007. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -2
  1008. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +1 -2
  1009. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  1010. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +1 -2
  1011. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -2
  1012. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +1 -2
  1013. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -2
  1014. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
  1015. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +1 -2
  1016. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +1 -2
  1017. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
  1018. package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -2
  1019. package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
  1020. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +1 -2
  1021. package/dist/types/stencil-public-runtime.d.ts +8 -194
  1022. package/dist/web-components-library/index.esm.js +2 -1
  1023. package/dist/web-components-library/index.esm.js.map +1 -0
  1024. package/dist/web-components-library/p-061e28d6.js +2 -0
  1025. package/dist/web-components-library/p-061e28d6.js.map +1 -0
  1026. package/dist/web-components-library/p-08b16bb4.entry.js +2 -0
  1027. package/dist/web-components-library/p-08b16bb4.entry.js.map +1 -0
  1028. package/dist/web-components-library/p-0b03b0e3.js +2 -0
  1029. package/dist/web-components-library/p-0b03b0e3.js.map +1 -0
  1030. package/dist/web-components-library/p-0b9fc73c.entry.js +2 -0
  1031. package/dist/web-components-library/p-0b9fc73c.entry.js.map +1 -0
  1032. package/dist/web-components-library/p-146a4d4b.entry.js +2 -0
  1033. package/dist/web-components-library/p-146a4d4b.entry.js.map +1 -0
  1034. package/dist/web-components-library/p-252893a8.entry.js +2 -0
  1035. package/dist/web-components-library/p-252893a8.entry.js.map +1 -0
  1036. package/dist/web-components-library/p-2bb84080.entry.js +2 -0
  1037. package/dist/web-components-library/p-2bb84080.entry.js.map +1 -0
  1038. package/dist/web-components-library/p-31bd2a1c.entry.js +2 -0
  1039. package/dist/web-components-library/p-31bd2a1c.entry.js.map +1 -0
  1040. package/dist/web-components-library/p-32bc8a40.entry.js +2 -0
  1041. package/dist/web-components-library/p-32bc8a40.entry.js.map +1 -0
  1042. package/dist/web-components-library/p-36b84a8e.entry.js +2 -0
  1043. package/dist/web-components-library/p-36b84a8e.entry.js.map +1 -0
  1044. package/dist/web-components-library/p-3977b0ae.entry.js +2 -0
  1045. package/dist/web-components-library/p-3977b0ae.entry.js.map +1 -0
  1046. package/dist/web-components-library/p-41891d34.entry.js +2 -0
  1047. package/dist/web-components-library/p-41891d34.entry.js.map +1 -0
  1048. package/dist/web-components-library/p-42abfe3b.entry.js +2 -0
  1049. package/dist/web-components-library/p-42abfe3b.entry.js.map +1 -0
  1050. package/dist/web-components-library/p-447a6391.entry.js +2 -0
  1051. package/dist/web-components-library/p-447a6391.entry.js.map +1 -0
  1052. package/dist/web-components-library/p-4573c419.js +2 -0
  1053. package/dist/web-components-library/p-4573c419.js.map +1 -0
  1054. package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
  1055. package/dist/web-components-library/p-463e0ac0.entry.js.map +1 -0
  1056. package/dist/web-components-library/p-47b59f05.entry.js +2 -0
  1057. package/dist/web-components-library/p-47b59f05.entry.js.map +1 -0
  1058. package/dist/web-components-library/p-5145a606.js +2 -0
  1059. package/dist/web-components-library/p-5145a606.js.map +1 -0
  1060. package/dist/web-components-library/p-5372d49f.entry.js +2 -0
  1061. package/dist/web-components-library/p-5372d49f.entry.js.map +1 -0
  1062. package/dist/web-components-library/p-565c1815.entry.js +2 -0
  1063. package/dist/web-components-library/p-565c1815.entry.js.map +1 -0
  1064. package/dist/web-components-library/p-5b577b6f.entry.js +2 -0
  1065. package/dist/web-components-library/p-5b577b6f.entry.js.map +1 -0
  1066. package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
  1067. package/dist/web-components-library/p-5fde1b41.entry.js.map +1 -0
  1068. package/dist/web-components-library/p-6164feb9.entry.js +2 -0
  1069. package/dist/web-components-library/p-6164feb9.entry.js.map +1 -0
  1070. package/dist/web-components-library/p-623fdee4.js +2 -0
  1071. package/dist/web-components-library/p-623fdee4.js.map +1 -0
  1072. package/dist/web-components-library/p-64d5fdd8.entry.js +2 -0
  1073. package/dist/web-components-library/p-64d5fdd8.entry.js.map +1 -0
  1074. package/dist/web-components-library/p-662119bb.entry.js +2 -0
  1075. package/dist/web-components-library/p-662119bb.entry.js.map +1 -0
  1076. package/dist/web-components-library/p-66c0f993.entry.js +2 -0
  1077. package/dist/web-components-library/p-66c0f993.entry.js.map +1 -0
  1078. package/dist/web-components-library/p-68278c42.entry.js +2 -0
  1079. package/dist/web-components-library/p-68278c42.entry.js.map +1 -0
  1080. package/dist/web-components-library/p-68d91a93.js +2 -0
  1081. package/dist/web-components-library/p-68d91a93.js.map +1 -0
  1082. package/dist/web-components-library/p-6c6a655e.entry.js +2 -0
  1083. package/dist/web-components-library/p-6c6a655e.entry.js.map +1 -0
  1084. package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-6c9cd6be.entry.js} +2 -1
  1085. package/dist/web-components-library/p-6c9cd6be.entry.js.map +1 -0
  1086. package/dist/web-components-library/p-6e13aa8e.entry.js +2 -0
  1087. package/dist/web-components-library/p-6e13aa8e.entry.js.map +1 -0
  1088. package/dist/web-components-library/p-75c4a726.js +3 -0
  1089. package/dist/web-components-library/p-75c4a726.js.map +1 -0
  1090. package/dist/web-components-library/p-767b66ca.entry.js +2 -0
  1091. package/dist/web-components-library/p-767b66ca.entry.js.map +1 -0
  1092. package/dist/web-components-library/p-78af415b.entry.js +2 -0
  1093. package/dist/web-components-library/p-78af415b.entry.js.map +1 -0
  1094. package/dist/web-components-library/p-7a4f6a5b.entry.js +2 -0
  1095. package/dist/web-components-library/p-7a4f6a5b.entry.js.map +1 -0
  1096. package/dist/web-components-library/p-7ade2a71.entry.js +2 -0
  1097. package/dist/web-components-library/p-7ade2a71.entry.js.map +1 -0
  1098. package/dist/web-components-library/p-7b837e11.js +2 -0
  1099. package/dist/web-components-library/p-7b837e11.js.map +1 -0
  1100. package/dist/web-components-library/p-7d655f96.entry.js +2 -0
  1101. package/dist/web-components-library/p-7d655f96.entry.js.map +1 -0
  1102. package/dist/web-components-library/p-80b04954.entry.js +2 -0
  1103. package/dist/web-components-library/p-80b04954.entry.js.map +1 -0
  1104. package/dist/web-components-library/p-82eeea83.entry.js +2 -0
  1105. package/dist/web-components-library/p-82eeea83.entry.js.map +1 -0
  1106. package/dist/web-components-library/p-8503c87a.entry.js +2 -0
  1107. package/dist/web-components-library/p-8503c87a.entry.js.map +1 -0
  1108. package/dist/web-components-library/p-86618221.js +2 -0
  1109. package/dist/web-components-library/p-86618221.js.map +1 -0
  1110. package/dist/web-components-library/p-88a9865c.entry.js +2 -0
  1111. package/dist/web-components-library/p-88a9865c.entry.js.map +1 -0
  1112. package/dist/web-components-library/p-8b367393.js +2 -0
  1113. package/dist/web-components-library/p-8b367393.js.map +1 -0
  1114. package/dist/web-components-library/p-8c52635e.entry.js +2 -0
  1115. package/dist/web-components-library/p-8c52635e.entry.js.map +1 -0
  1116. package/dist/web-components-library/p-8ee2a9d2.entry.js +2 -0
  1117. package/dist/web-components-library/p-8ee2a9d2.entry.js.map +1 -0
  1118. package/dist/web-components-library/p-8fd50cc5.entry.js +2 -0
  1119. package/dist/web-components-library/p-8fd50cc5.entry.js.map +1 -0
  1120. package/dist/web-components-library/p-8ff5b76b.entry.js +2 -0
  1121. package/dist/web-components-library/p-8ff5b76b.entry.js.map +1 -0
  1122. package/dist/web-components-library/p-92f13701.entry.js +2 -0
  1123. package/dist/web-components-library/p-92f13701.entry.js.map +1 -0
  1124. package/dist/web-components-library/p-93bb075f.entry.js +2 -0
  1125. package/dist/web-components-library/p-93bb075f.entry.js.map +1 -0
  1126. package/dist/web-components-library/p-93d349ee.entry.js +2 -0
  1127. package/dist/web-components-library/p-93d349ee.entry.js.map +1 -0
  1128. package/dist/web-components-library/p-943db3a8.entry.js +2 -0
  1129. package/dist/web-components-library/p-943db3a8.entry.js.map +1 -0
  1130. package/dist/web-components-library/p-9814f864.entry.js +2 -0
  1131. package/dist/web-components-library/p-9814f864.entry.js.map +1 -0
  1132. package/dist/web-components-library/p-988a58dd.entry.js +2 -0
  1133. package/dist/web-components-library/p-988a58dd.entry.js.map +1 -0
  1134. package/dist/web-components-library/p-9ae0c0c6.entry.js +2 -0
  1135. package/dist/web-components-library/p-9ae0c0c6.entry.js.map +1 -0
  1136. package/dist/web-components-library/p-9c816a3b.js +2 -0
  1137. package/dist/web-components-library/p-9c816a3b.js.map +1 -0
  1138. package/dist/web-components-library/p-a2ee659d.entry.js +2 -0
  1139. package/dist/web-components-library/p-a2ee659d.entry.js.map +1 -0
  1140. package/dist/web-components-library/p-a3f9a5da.entry.js +2 -0
  1141. package/dist/web-components-library/p-a3f9a5da.entry.js.map +1 -0
  1142. package/dist/web-components-library/p-a4d2cf55.entry.js +2 -0
  1143. package/dist/web-components-library/p-a4d2cf55.entry.js.map +1 -0
  1144. package/dist/web-components-library/p-a6c07588.entry.js +2 -0
  1145. package/dist/web-components-library/p-a6c07588.entry.js.map +1 -0
  1146. package/dist/web-components-library/p-a8790237.entry.js +2 -0
  1147. package/dist/web-components-library/p-a8790237.entry.js.map +1 -0
  1148. package/dist/web-components-library/p-aaa96c12.entry.js +17 -0
  1149. package/dist/web-components-library/p-aaa96c12.entry.js.map +1 -0
  1150. package/dist/web-components-library/p-b0324c7d.entry.js +2 -0
  1151. package/dist/web-components-library/p-b0324c7d.entry.js.map +1 -0
  1152. package/dist/web-components-library/p-b421424f.entry.js +2 -0
  1153. package/dist/web-components-library/p-b421424f.entry.js.map +1 -0
  1154. package/dist/web-components-library/p-bbc20250.entry.js +2 -0
  1155. package/dist/web-components-library/p-bbc20250.entry.js.map +1 -0
  1156. package/dist/web-components-library/p-bd2156cc.entry.js +2 -0
  1157. package/dist/web-components-library/p-bd2156cc.entry.js.map +1 -0
  1158. package/dist/web-components-library/p-bd76ca35.entry.js +2 -0
  1159. package/dist/web-components-library/p-bd76ca35.entry.js.map +1 -0
  1160. package/dist/web-components-library/p-be1c414e.entry.js +2 -0
  1161. package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
  1162. package/dist/web-components-library/p-c3e03e41.entry.js +2 -0
  1163. package/dist/web-components-library/p-c3e03e41.entry.js.map +1 -0
  1164. package/dist/web-components-library/p-c9b81cab.entry.js +2 -0
  1165. package/dist/web-components-library/p-c9b81cab.entry.js.map +1 -0
  1166. package/dist/web-components-library/p-caced575.entry.js +2 -0
  1167. package/dist/web-components-library/p-caced575.entry.js.map +1 -0
  1168. package/dist/web-components-library/p-cb395500.js +2 -0
  1169. package/dist/web-components-library/p-cb395500.js.map +1 -0
  1170. package/dist/web-components-library/p-cbc09112.entry.js +2 -0
  1171. package/dist/web-components-library/p-cbc09112.entry.js.map +1 -0
  1172. package/dist/web-components-library/p-d080b624.entry.js +2 -0
  1173. package/dist/web-components-library/p-d080b624.entry.js.map +1 -0
  1174. package/dist/web-components-library/p-d6f43903.entry.js +2 -0
  1175. package/dist/web-components-library/p-d6f43903.entry.js.map +1 -0
  1176. package/dist/web-components-library/p-da3abb97.entry.js +2 -0
  1177. package/dist/web-components-library/p-da3abb97.entry.js.map +1 -0
  1178. package/dist/web-components-library/p-e1255160.js +2 -0
  1179. package/dist/web-components-library/p-e1255160.js.map +1 -0
  1180. package/dist/web-components-library/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
  1181. package/dist/web-components-library/p-eb15536d.js.map +1 -0
  1182. package/dist/web-components-library/p-ec1270db.entry.js +2 -0
  1183. package/dist/web-components-library/p-ec1270db.entry.js.map +1 -0
  1184. package/dist/web-components-library/p-efa6b991.entry.js +2 -0
  1185. package/dist/web-components-library/p-efa6b991.entry.js.map +1 -0
  1186. package/dist/web-components-library/p-f4b987ed.entry.js +2 -0
  1187. package/dist/web-components-library/p-f4b987ed.entry.js.map +1 -0
  1188. package/dist/web-components-library/p-f74973b5.entry.js +8 -0
  1189. package/dist/web-components-library/p-f74973b5.entry.js.map +1 -0
  1190. package/dist/web-components-library/p-f7e65eb0.entry.js +2 -0
  1191. package/dist/web-components-library/p-f7e65eb0.entry.js.map +1 -0
  1192. package/dist/web-components-library/p-ff89d630.entry.js +2 -0
  1193. package/dist/web-components-library/p-ff89d630.entry.js.map +1 -0
  1194. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1195. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1196. package/loader/package.json +11 -0
  1197. package/package.json +10 -14
  1198. package/react/components.js +92 -87
  1199. package/react/components.js.map +1 -0
  1200. package/react/index.js +18 -1
  1201. package/react/index.js.map +1 -0
  1202. package/react/react-component-lib/createComponent.js +39 -11
  1203. package/react/react-component-lib/createComponent.js.map +1 -0
  1204. package/react/react-component-lib/createOverlayComponent.js +56 -35
  1205. package/react/react-component-lib/createOverlayComponent.js.map +1 -0
  1206. package/react/react-component-lib/index.js +8 -2
  1207. package/react/react-component-lib/index.js.map +1 -0
  1208. package/react/react-component-lib/interfaces.js +3 -1
  1209. package/react/react-component-lib/interfaces.js.map +1 -0
  1210. package/react/react-component-lib/utils/attachProps.js +20 -11
  1211. package/react/react-component-lib/utils/attachProps.js.map +1 -0
  1212. package/react/react-component-lib/utils/case.js +8 -2
  1213. package/react/react-component-lib/utils/case.js.map +1 -0
  1214. package/react/react-component-lib/utils/dev.js +9 -3
  1215. package/react/react-component-lib/utils/dev.js.map +1 -0
  1216. package/react/react-component-lib/utils/index.js +35 -10
  1217. package/react/react-component-lib/utils/index.js.map +1 -0
  1218. package/www/build/index.esm.js +2 -1
  1219. package/www/build/index.esm.js.map +1 -0
  1220. package/www/build/p-061e28d6.js +2 -0
  1221. package/www/build/p-061e28d6.js.map +1 -0
  1222. package/www/build/p-08b16bb4.entry.js +2 -0
  1223. package/www/build/p-08b16bb4.entry.js.map +1 -0
  1224. package/www/build/p-0b03b0e3.js +2 -0
  1225. package/www/build/p-0b03b0e3.js.map +1 -0
  1226. package/www/build/p-0b9fc73c.entry.js +2 -0
  1227. package/www/build/p-0b9fc73c.entry.js.map +1 -0
  1228. package/www/build/p-146a4d4b.entry.js +2 -0
  1229. package/www/build/p-146a4d4b.entry.js.map +1 -0
  1230. package/www/build/p-252893a8.entry.js +2 -0
  1231. package/www/build/p-252893a8.entry.js.map +1 -0
  1232. package/www/build/p-2bb84080.entry.js +2 -0
  1233. package/www/build/p-2bb84080.entry.js.map +1 -0
  1234. package/www/build/p-31bd2a1c.entry.js +2 -0
  1235. package/www/build/p-31bd2a1c.entry.js.map +1 -0
  1236. package/www/build/p-32bc8a40.entry.js +2 -0
  1237. package/www/build/p-32bc8a40.entry.js.map +1 -0
  1238. package/www/build/p-36b84a8e.entry.js +2 -0
  1239. package/www/build/p-36b84a8e.entry.js.map +1 -0
  1240. package/www/build/p-3977b0ae.entry.js +2 -0
  1241. package/www/build/p-3977b0ae.entry.js.map +1 -0
  1242. package/www/build/p-41891d34.entry.js +2 -0
  1243. package/www/build/p-41891d34.entry.js.map +1 -0
  1244. package/www/build/p-42abfe3b.entry.js +2 -0
  1245. package/www/build/p-42abfe3b.entry.js.map +1 -0
  1246. package/www/build/p-447a6391.entry.js +2 -0
  1247. package/www/build/p-447a6391.entry.js.map +1 -0
  1248. package/www/build/p-4573c419.js +2 -0
  1249. package/www/build/p-4573c419.js.map +1 -0
  1250. package/www/build/p-463e0ac0.entry.js +2 -0
  1251. package/www/build/p-463e0ac0.entry.js.map +1 -0
  1252. package/www/build/p-47b59f05.entry.js +2 -0
  1253. package/www/build/p-47b59f05.entry.js.map +1 -0
  1254. package/www/build/p-5145a606.js +2 -0
  1255. package/www/build/p-5145a606.js.map +1 -0
  1256. package/www/build/p-5372d49f.entry.js +2 -0
  1257. package/www/build/p-5372d49f.entry.js.map +1 -0
  1258. package/www/build/p-565c1815.entry.js +2 -0
  1259. package/www/build/p-565c1815.entry.js.map +1 -0
  1260. package/www/build/p-5b577b6f.entry.js +2 -0
  1261. package/www/build/p-5b577b6f.entry.js.map +1 -0
  1262. package/www/build/p-5fde1b41.entry.js +2 -0
  1263. package/www/build/p-5fde1b41.entry.js.map +1 -0
  1264. package/www/build/p-6164feb9.entry.js +2 -0
  1265. package/www/build/p-6164feb9.entry.js.map +1 -0
  1266. package/www/build/p-623fdee4.js +2 -0
  1267. package/www/build/p-623fdee4.js.map +1 -0
  1268. package/www/build/p-64d5fdd8.entry.js +2 -0
  1269. package/www/build/p-64d5fdd8.entry.js.map +1 -0
  1270. package/www/build/p-662119bb.entry.js +2 -0
  1271. package/www/build/p-662119bb.entry.js.map +1 -0
  1272. package/www/build/p-66c0f993.entry.js +2 -0
  1273. package/www/build/p-66c0f993.entry.js.map +1 -0
  1274. package/www/build/p-68278c42.entry.js +2 -0
  1275. package/www/build/p-68278c42.entry.js.map +1 -0
  1276. package/www/build/p-68d91a93.js +2 -0
  1277. package/www/build/p-68d91a93.js.map +1 -0
  1278. package/www/build/p-6c6a655e.entry.js +2 -0
  1279. package/www/build/p-6c6a655e.entry.js.map +1 -0
  1280. package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-6c9cd6be.entry.js} +2 -1
  1281. package/www/build/p-6c9cd6be.entry.js.map +1 -0
  1282. package/www/build/p-6e13aa8e.entry.js +2 -0
  1283. package/www/build/p-6e13aa8e.entry.js.map +1 -0
  1284. package/www/build/p-75c4a726.js +3 -0
  1285. package/www/build/p-75c4a726.js.map +1 -0
  1286. package/www/build/p-767b66ca.entry.js +2 -0
  1287. package/www/build/p-767b66ca.entry.js.map +1 -0
  1288. package/www/build/p-78af415b.entry.js +2 -0
  1289. package/www/build/p-78af415b.entry.js.map +1 -0
  1290. package/www/build/p-7a4f6a5b.entry.js +2 -0
  1291. package/www/build/p-7a4f6a5b.entry.js.map +1 -0
  1292. package/www/build/p-7ade2a71.entry.js +2 -0
  1293. package/www/build/p-7ade2a71.entry.js.map +1 -0
  1294. package/www/build/p-7b837e11.js +2 -0
  1295. package/www/build/p-7b837e11.js.map +1 -0
  1296. package/www/build/p-7d655f96.entry.js +2 -0
  1297. package/www/build/p-7d655f96.entry.js.map +1 -0
  1298. package/www/build/p-80b04954.entry.js +2 -0
  1299. package/www/build/p-80b04954.entry.js.map +1 -0
  1300. package/www/build/p-82eeea83.entry.js +2 -0
  1301. package/www/build/p-82eeea83.entry.js.map +1 -0
  1302. package/www/build/p-8503c87a.entry.js +2 -0
  1303. package/www/build/p-8503c87a.entry.js.map +1 -0
  1304. package/www/build/p-86618221.js +2 -0
  1305. package/www/build/p-86618221.js.map +1 -0
  1306. package/www/build/p-88a9865c.entry.js +2 -0
  1307. package/www/build/p-88a9865c.entry.js.map +1 -0
  1308. package/www/build/p-8b367393.js +2 -0
  1309. package/www/build/p-8b367393.js.map +1 -0
  1310. package/www/build/p-8c52635e.entry.js +2 -0
  1311. package/www/build/p-8c52635e.entry.js.map +1 -0
  1312. package/www/build/p-8ee2a9d2.entry.js +2 -0
  1313. package/www/build/p-8ee2a9d2.entry.js.map +1 -0
  1314. package/www/build/p-8fd50cc5.entry.js +2 -0
  1315. package/www/build/p-8fd50cc5.entry.js.map +1 -0
  1316. package/www/build/p-8ff5b76b.entry.js +2 -0
  1317. package/www/build/p-8ff5b76b.entry.js.map +1 -0
  1318. package/www/build/p-92f13701.entry.js +2 -0
  1319. package/www/build/p-92f13701.entry.js.map +1 -0
  1320. package/www/build/p-93bb075f.entry.js +2 -0
  1321. package/www/build/p-93bb075f.entry.js.map +1 -0
  1322. package/www/build/p-93d349ee.entry.js +2 -0
  1323. package/www/build/p-93d349ee.entry.js.map +1 -0
  1324. package/www/build/p-943db3a8.entry.js +2 -0
  1325. package/www/build/p-943db3a8.entry.js.map +1 -0
  1326. package/www/build/p-9814f864.entry.js +2 -0
  1327. package/www/build/p-9814f864.entry.js.map +1 -0
  1328. package/www/build/p-988a58dd.entry.js +2 -0
  1329. package/www/build/p-988a58dd.entry.js.map +1 -0
  1330. package/www/build/p-9ae0c0c6.entry.js +2 -0
  1331. package/www/build/p-9ae0c0c6.entry.js.map +1 -0
  1332. package/www/build/p-9c816a3b.js +2 -0
  1333. package/www/build/p-9c816a3b.js.map +1 -0
  1334. package/www/build/p-a2ee659d.entry.js +2 -0
  1335. package/www/build/p-a2ee659d.entry.js.map +1 -0
  1336. package/www/build/p-a3f9a5da.entry.js +2 -0
  1337. package/www/build/p-a3f9a5da.entry.js.map +1 -0
  1338. package/www/build/p-a4d2cf55.entry.js +2 -0
  1339. package/www/build/p-a4d2cf55.entry.js.map +1 -0
  1340. package/www/build/p-a6c07588.entry.js +2 -0
  1341. package/www/build/p-a6c07588.entry.js.map +1 -0
  1342. package/www/build/p-a8790237.entry.js +2 -0
  1343. package/www/build/p-a8790237.entry.js.map +1 -0
  1344. package/www/build/p-aaa96c12.entry.js +17 -0
  1345. package/www/build/p-aaa96c12.entry.js.map +1 -0
  1346. package/www/build/p-b0324c7d.entry.js +2 -0
  1347. package/www/build/p-b0324c7d.entry.js.map +1 -0
  1348. package/www/build/p-b421424f.entry.js +2 -0
  1349. package/www/build/p-b421424f.entry.js.map +1 -0
  1350. package/www/build/p-bbc20250.entry.js +2 -0
  1351. package/www/build/p-bbc20250.entry.js.map +1 -0
  1352. package/www/build/p-bd2156cc.entry.js +2 -0
  1353. package/www/build/p-bd2156cc.entry.js.map +1 -0
  1354. package/www/build/p-bd76ca35.entry.js +2 -0
  1355. package/www/build/p-bd76ca35.entry.js.map +1 -0
  1356. package/www/build/p-be1c414e.entry.js +2 -0
  1357. package/www/build/p-be1c414e.entry.js.map +1 -0
  1358. package/www/build/p-c3e03e41.entry.js +2 -0
  1359. package/www/build/p-c3e03e41.entry.js.map +1 -0
  1360. package/www/build/p-c9b81cab.entry.js +2 -0
  1361. package/www/build/p-c9b81cab.entry.js.map +1 -0
  1362. package/www/build/p-caced575.entry.js +2 -0
  1363. package/www/build/p-caced575.entry.js.map +1 -0
  1364. package/www/build/p-cb395500.js +2 -0
  1365. package/www/build/p-cb395500.js.map +1 -0
  1366. package/www/build/p-cbc09112.entry.js +2 -0
  1367. package/www/build/p-cbc09112.entry.js.map +1 -0
  1368. package/www/build/p-d080b624.entry.js +2 -0
  1369. package/www/build/p-d080b624.entry.js.map +1 -0
  1370. package/www/build/p-d3d3edf1.js +2 -0
  1371. package/www/build/p-d6f43903.entry.js +2 -0
  1372. package/www/build/p-d6f43903.entry.js.map +1 -0
  1373. package/www/build/p-da3abb97.entry.js +2 -0
  1374. package/www/build/p-da3abb97.entry.js.map +1 -0
  1375. package/www/build/p-e1255160.js +2 -0
  1376. package/www/build/p-e1255160.js.map +1 -0
  1377. package/www/build/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
  1378. package/www/build/p-eb15536d.js.map +1 -0
  1379. package/www/build/p-ec1270db.entry.js +2 -0
  1380. package/www/build/p-ec1270db.entry.js.map +1 -0
  1381. package/www/build/p-efa6b991.entry.js +2 -0
  1382. package/www/build/p-efa6b991.entry.js.map +1 -0
  1383. package/www/build/p-f4b987ed.entry.js +2 -0
  1384. package/www/build/p-f4b987ed.entry.js.map +1 -0
  1385. package/www/build/p-f74973b5.entry.js +8 -0
  1386. package/www/build/p-f74973b5.entry.js.map +1 -0
  1387. package/www/build/p-f7e65eb0.entry.js +2 -0
  1388. package/www/build/p-f7e65eb0.entry.js.map +1 -0
  1389. package/www/build/p-ff89d630.entry.js +2 -0
  1390. package/www/build/p-ff89d630.entry.js.map +1 -0
  1391. package/www/build/web-components-library.esm.js +2 -1
  1392. package/www/build/web-components-library.esm.js.map +1 -0
  1393. package/www/index.html +1 -1
  1394. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
  1395. package/dist/cjs/index-2H1EJ2Tl.js +0 -2683
  1396. package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
  1397. package/dist/esm/index-ByN2sYu6.js +0 -2653
  1398. package/dist/web-components-library/p-00f09ae2.entry.js +0 -1
  1399. package/dist/web-components-library/p-02e588b4.entry.js +0 -1
  1400. package/dist/web-components-library/p-040fbd28.entry.js +0 -1
  1401. package/dist/web-components-library/p-05fe5555.entry.js +0 -1
  1402. package/dist/web-components-library/p-081b1648.entry.js +0 -1
  1403. package/dist/web-components-library/p-0a819ab4.entry.js +0 -1
  1404. package/dist/web-components-library/p-0dde6773.entry.js +0 -1
  1405. package/dist/web-components-library/p-11a90064.entry.js +0 -1
  1406. package/dist/web-components-library/p-1210c90f.entry.js +0 -1
  1407. package/dist/web-components-library/p-1280ac72.entry.js +0 -1
  1408. package/dist/web-components-library/p-17429bce.entry.js +0 -1
  1409. package/dist/web-components-library/p-18782c2f.entry.js +0 -1
  1410. package/dist/web-components-library/p-19536f5e.entry.js +0 -1
  1411. package/dist/web-components-library/p-1b851174.entry.js +0 -1
  1412. package/dist/web-components-library/p-1c75b67f.entry.js +0 -1
  1413. package/dist/web-components-library/p-1e984688.entry.js +0 -1
  1414. package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
  1415. package/dist/web-components-library/p-26fc8a38.entry.js +0 -1
  1416. package/dist/web-components-library/p-27f93251.entry.js +0 -1
  1417. package/dist/web-components-library/p-294f7b4e.entry.js +0 -1
  1418. package/dist/web-components-library/p-2b122a22.entry.js +0 -1
  1419. package/dist/web-components-library/p-2f99634d.entry.js +0 -1
  1420. package/dist/web-components-library/p-30c86858.entry.js +0 -1
  1421. package/dist/web-components-library/p-314302ce.entry.js +0 -1
  1422. package/dist/web-components-library/p-366d2553.entry.js +0 -1
  1423. package/dist/web-components-library/p-3a9aec16.entry.js +0 -1
  1424. package/dist/web-components-library/p-3c861d49.entry.js +0 -1
  1425. package/dist/web-components-library/p-41b55222.entry.js +0 -1
  1426. package/dist/web-components-library/p-44220d6b.entry.js +0 -1
  1427. package/dist/web-components-library/p-48d72b52.entry.js +0 -1
  1428. package/dist/web-components-library/p-50b59012.entry.js +0 -1
  1429. package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
  1430. package/dist/web-components-library/p-58933ba5.entry.js +0 -1
  1431. package/dist/web-components-library/p-5bb77af2.entry.js +0 -1
  1432. package/dist/web-components-library/p-5e91940f.entry.js +0 -1
  1433. package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
  1434. package/dist/web-components-library/p-61b2ad9b.entry.js +0 -1
  1435. package/dist/web-components-library/p-631f111d.entry.js +0 -1
  1436. package/dist/web-components-library/p-6d0abf8c.entry.js +0 -1
  1437. package/dist/web-components-library/p-6ece59b5.entry.js +0 -1
  1438. package/dist/web-components-library/p-73aaace2.entry.js +0 -1
  1439. package/dist/web-components-library/p-772c3e3e.entry.js +0 -1
  1440. package/dist/web-components-library/p-849d65f5.entry.js +0 -1
  1441. package/dist/web-components-library/p-87306cd0.entry.js +0 -1
  1442. package/dist/web-components-library/p-8745878e.entry.js +0 -1
  1443. package/dist/web-components-library/p-8f5387ef.entry.js +0 -1
  1444. package/dist/web-components-library/p-967549d2.entry.js +0 -1
  1445. package/dist/web-components-library/p-99922496.entry.js +0 -1
  1446. package/dist/web-components-library/p-9b181c2c.entry.js +0 -1
  1447. package/dist/web-components-library/p-9e4db6a2.entry.js +0 -1
  1448. package/dist/web-components-library/p-B85MJLTf.js +0 -1
  1449. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1450. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1451. package/dist/web-components-library/p-ByN2sYu6.js +0 -2
  1452. package/dist/web-components-library/p-D4yqZKyM.js +0 -1
  1453. package/dist/web-components-library/p-Q-tWjk7P.js +0 -1
  1454. package/dist/web-components-library/p-a336c241.entry.js +0 -1
  1455. package/dist/web-components-library/p-a3a7c406.entry.js +0 -1
  1456. package/dist/web-components-library/p-a9534450.entry.js +0 -1
  1457. package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
  1458. package/dist/web-components-library/p-abfdc045.entry.js +0 -1
  1459. package/dist/web-components-library/p-ad2ed505.entry.js +0 -16
  1460. package/dist/web-components-library/p-aeaf586b.entry.js +0 -1
  1461. package/dist/web-components-library/p-afab22fc.entry.js +0 -1
  1462. package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
  1463. package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
  1464. package/dist/web-components-library/p-b5c180bc.entry.js +0 -1
  1465. package/dist/web-components-library/p-c1677653.entry.js +0 -1
  1466. package/dist/web-components-library/p-c23bfec2.entry.js +0 -1
  1467. package/dist/web-components-library/p-d8f0e022.entry.js +0 -2
  1468. package/dist/web-components-library/p-dc759208.entry.js +0 -1
  1469. package/dist/web-components-library/p-eb722234.entry.js +0 -1
  1470. package/dist/web-components-library/p-ebdbd84c.entry.js +0 -1
  1471. package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
  1472. package/dist/web-components-library/p-fade8c19.entry.js +0 -1
  1473. package/dist/web-components-library/p-fc90579e.entry.js +0 -1
  1474. package/www/build/p-00f09ae2.entry.js +0 -1
  1475. package/www/build/p-02e588b4.entry.js +0 -1
  1476. package/www/build/p-040fbd28.entry.js +0 -1
  1477. package/www/build/p-05fe5555.entry.js +0 -1
  1478. package/www/build/p-081b1648.entry.js +0 -1
  1479. package/www/build/p-0a819ab4.entry.js +0 -1
  1480. package/www/build/p-0dde6773.entry.js +0 -1
  1481. package/www/build/p-11a90064.entry.js +0 -1
  1482. package/www/build/p-1210c90f.entry.js +0 -1
  1483. package/www/build/p-1280ac72.entry.js +0 -1
  1484. package/www/build/p-17429bce.entry.js +0 -1
  1485. package/www/build/p-18782c2f.entry.js +0 -1
  1486. package/www/build/p-19536f5e.entry.js +0 -1
  1487. package/www/build/p-1b851174.entry.js +0 -1
  1488. package/www/build/p-1c75b67f.entry.js +0 -1
  1489. package/www/build/p-1e984688.entry.js +0 -1
  1490. package/www/build/p-2294f1b0.entry.js +0 -1
  1491. package/www/build/p-26fc8a38.entry.js +0 -1
  1492. package/www/build/p-27f93251.entry.js +0 -1
  1493. package/www/build/p-294f7b4e.entry.js +0 -1
  1494. package/www/build/p-2b122a22.entry.js +0 -1
  1495. package/www/build/p-2f99634d.entry.js +0 -1
  1496. package/www/build/p-30c86858.entry.js +0 -1
  1497. package/www/build/p-314302ce.entry.js +0 -1
  1498. package/www/build/p-366d2553.entry.js +0 -1
  1499. package/www/build/p-3a9aec16.entry.js +0 -1
  1500. package/www/build/p-3c861d49.entry.js +0 -1
  1501. package/www/build/p-41b55222.entry.js +0 -1
  1502. package/www/build/p-44220d6b.entry.js +0 -1
  1503. package/www/build/p-48d72b52.entry.js +0 -1
  1504. package/www/build/p-50b59012.entry.js +0 -1
  1505. package/www/build/p-5883dbc1.entry.js +0 -1
  1506. package/www/build/p-58933ba5.entry.js +0 -1
  1507. package/www/build/p-5bb77af2.entry.js +0 -1
  1508. package/www/build/p-5e91940f.entry.js +0 -1
  1509. package/www/build/p-5fc4048b.entry.js +0 -1
  1510. package/www/build/p-61b2ad9b.entry.js +0 -1
  1511. package/www/build/p-631f111d.entry.js +0 -1
  1512. package/www/build/p-654b3801.js +0 -1
  1513. package/www/build/p-6d0abf8c.entry.js +0 -1
  1514. package/www/build/p-6ece59b5.entry.js +0 -1
  1515. package/www/build/p-73aaace2.entry.js +0 -1
  1516. package/www/build/p-772c3e3e.entry.js +0 -1
  1517. package/www/build/p-849d65f5.entry.js +0 -1
  1518. package/www/build/p-87306cd0.entry.js +0 -1
  1519. package/www/build/p-8745878e.entry.js +0 -1
  1520. package/www/build/p-8f5387ef.entry.js +0 -1
  1521. package/www/build/p-967549d2.entry.js +0 -1
  1522. package/www/build/p-99922496.entry.js +0 -1
  1523. package/www/build/p-9b181c2c.entry.js +0 -1
  1524. package/www/build/p-9e4db6a2.entry.js +0 -1
  1525. package/www/build/p-B85MJLTf.js +0 -1
  1526. package/www/build/p-B8WJfd4z.js +0 -1
  1527. package/www/build/p-BKCj6NR2.js +0 -1
  1528. package/www/build/p-ByN2sYu6.js +0 -2
  1529. package/www/build/p-D4yqZKyM.js +0 -1
  1530. package/www/build/p-Q-tWjk7P.js +0 -1
  1531. package/www/build/p-a336c241.entry.js +0 -1
  1532. package/www/build/p-a3a7c406.entry.js +0 -1
  1533. package/www/build/p-a9534450.entry.js +0 -1
  1534. package/www/build/p-aabb5aea.entry.js +0 -1
  1535. package/www/build/p-abfdc045.entry.js +0 -1
  1536. package/www/build/p-ad2ed505.entry.js +0 -16
  1537. package/www/build/p-aeaf586b.entry.js +0 -1
  1538. package/www/build/p-afab22fc.entry.js +0 -1
  1539. package/www/build/p-afcabf3b.entry.js +0 -1
  1540. package/www/build/p-b38d52e5.entry.js +0 -1
  1541. package/www/build/p-b5c180bc.entry.js +0 -1
  1542. package/www/build/p-c1677653.entry.js +0 -1
  1543. package/www/build/p-c23bfec2.entry.js +0 -1
  1544. package/www/build/p-d8f0e022.entry.js +0 -2
  1545. package/www/build/p-dc759208.entry.js +0 -1
  1546. package/www/build/p-eb722234.entry.js +0 -1
  1547. package/www/build/p-ebdbd84c.entry.js +0 -1
  1548. package/www/build/p-ecea3d09.entry.js +0 -1
  1549. package/www/build/p-fade8c19.entry.js +0 -1
  1550. package/www/build/p-fc90579e.entry.js +0 -1
@@ -1,18 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-2H1EJ2Tl.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const stylesCss = () => `button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}`;
5
+ const index = require('./index-96af6326.js');
6
+
7
+ const stylesCss = "button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
8
+ const ZToggleButtonStyle0 = stylesCss;
6
9
 
7
10
  const ZToggleButton = class {
8
11
  constructor(hostRef) {
9
12
  index.registerInstance(this, hostRef);
10
13
  this.toggleClick = index.createEvent(this, "toggleClick", 7);
11
- /** disabled status flag (optional) */
14
+ this.label = undefined;
12
15
  this.isdisabled = false;
13
- /** open by default (optional) */
16
+ this.avoidclick = undefined;
14
17
  this.opened = false;
15
- /** aria-label for the button */
16
18
  this.ariaLabel = "";
17
19
  }
18
20
  emitToggleClick() {
@@ -23,12 +25,14 @@ const ZToggleButton = class {
23
25
  this.toggleClick.emit(this.opened);
24
26
  }
25
27
  render() {
26
- return (index.h("button", { key: '515befc9b764cd14ebf6d229f14c5bd63ce3075b', tabindex: this.avoidclick ? "-1" : "0", class: {
28
+ return (index.h("button", { key: '6e9fbd985e60b38770ced1d2b681c57952616cc3', tabindex: this.avoidclick ? "-1" : "0", class: {
27
29
  "isopen": this.opened,
28
30
  "avoid-clicks": this.avoidclick,
29
- }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { key: '08daf99430ad7614dfcdf37d65e06d11511173ca', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { key: '0a1cf5cd9da7ef67a5e62dcf77fe7af27d7328a6', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
30
32
  }
31
33
  };
32
- ZToggleButton.style = stylesCss();
34
+ ZToggleButton.style = ZToggleButtonStyle0;
33
35
 
34
36
  exports.z_toggle_button = ZToggleButton;
37
+
38
+ //# sourceMappingURL=z-toggle-button.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-toggle-button.entry.cjs.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,QACEA,qEACE,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,IAErCA,qEACE,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":["h"],"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,23 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-2H1EJ2Tl.js');
4
- var index$1 = require('./index-wGaSHN1_.js');
5
- var utils = require('./utils-Ctc6JP2n.js');
6
- require('./breakpoints-B7vFm-3T.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
7
4
 
8
- const stylesCss = () => `.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}`;
5
+ const index = require('./index-96af6326.js');
6
+ const index$1 = require('./index-e30d0503.js');
7
+ const utils = require('./utils-b1859d65.js');
8
+ require('./breakpoints-8a1e87e0.js');
9
+
10
+ const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
11
+ const ZToggleSwitchStyle0 = stylesCss;
9
12
 
10
13
  const ZToggleSwitch = class {
11
14
  constructor(hostRef) {
12
15
  index.registerInstance(this, hostRef);
13
16
  this.toggleClick = index.createEvent(this, "toggleClick", 7);
14
- /** Disabled flag */
15
17
  this.disabled = false;
16
- /** Label position */
17
18
  this.labelPosition = index$1.LabelPosition.LEFT;
18
- /** Checked state */
19
19
  this.checked = false;
20
- /** HTML id attribute to set to the internal checkbox */
21
20
  this.htmlid = `toggle-switch-id-${utils.randomId()}`;
22
21
  }
23
22
  emitToggleClick() {
@@ -34,16 +33,18 @@ const ZToggleSwitch = class {
34
33
  this.emitToggleClick();
35
34
  }
36
35
  render() {
37
- return (index.h(index.Host, { key: '649d949699af687e76abb261e9b03ce1f7a026a9' }, index.h("input", { key: 'c2945e1cf225e36906179d3293ff406ae0114480', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), index.h("label", { key: 'dff9b9345114a37eee42bbc2511308ec37dab71a', htmlFor: this.htmlid, class: {
36
+ return (index.h(index.Host, { key: '8f4df999fbedf80bcc55745ccf2bc9e973b042b4' }, index.h("input", { key: '8b76f5a66b5d9d331338f50622c61021bb5a28f7', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), index.h("label", { key: '64a7c132da51820ebcd9b078cfc4981cf1981c30', htmlFor: this.htmlid, class: {
38
37
  [this.labelPosition]: true,
39
38
  disabled: this.disabled,
40
- } }, index.h("span", { key: '906b2848eec4a1708dde43dd766722d3f0a8e59e' }, index.h("slot", { key: '03b3de0d961693081972c5bd9a4607c5110b6e58' })), index.h("span", { key: 'f663add1968576e8a588d1cca9a01caeda1db326', class: {
39
+ } }, index.h("span", { key: 'ea293ee5515a6c901c571d21f11689b442add25d' }, index.h("slot", { key: 'a20e7ec3dae106f9d5e0df3b0a8766092cc7b42a' })), index.h("span", { key: 'cb49f19d1cdc68d6cb2330a035e7a7720b21e863', class: {
41
40
  container: true,
42
41
  disabled: this.disabled,
43
42
  checked: this.checked,
44
- } }, index.h("span", { key: 'e0d00b404810e93b43b5b977b1bf72b4859a0bcc', class: "circle" }, this.checked && (index.h("z-icon", { key: '42b6a12e7cf2fb9e91ab4d06199ed7e5eea2d0fc', width: 12, height: 12, name: "checkmark" })))))));
43
+ } }, index.h("span", { key: 'b6fb8026f43c0bd12a65f1cee9bb90c476e4cf3c', class: "circle" }, this.checked && (index.h("z-icon", { key: 'a4e6313096647089e7fccdcb3fb40b42bf7ad2f3', width: 12, height: 12, name: "checkmark" })))))));
45
44
  }
46
45
  };
47
- ZToggleSwitch.style = stylesCss();
46
+ ZToggleSwitch.style = ZToggleSwitchStyle0;
48
47
 
49
48
  exports.z_toggle_switch = ZToggleSwitch;
49
+
50
+ //# sourceMappingURL=z-toggle-switch.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-toggle-switch.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,25EAA25E,CAAC;AAC96E,4BAAe,SAAS;;MCSX,aAAa;;;;wBAGH,KAAK;6BAITA,qBAAa,CAAC,IAAI;uBAIf,KAAK;sBAIhB,oBAAoBC,cAAQ,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,QACEC,QAACC,UAAI,uDACHD,oEACE,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,EACFA,oEACE,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,KAAK,EAAE;gBACL,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;gBAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAEDA,qEACEA,oEAAQ,CACH,EACPA,mEACE,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAEDA,mEAAM,KAAK,EAAC,QAAQ,IACjB,IAAI,CAAC,OAAO,KACXA,qEACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,WAAW,GACR,CACX,CACI,CACF,CACD,CACH,EACP;KACH;;;;;;","names":["LabelPosition","randomId","h","Host"],"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,32 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-2H1EJ2Tl.js');
4
- var index$1 = require('./index-wGaSHN1_.js');
5
- var utils = require('./utils-Ctc6JP2n.js');
6
- require('./breakpoints-B7vFm-3T.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
7
4
 
8
- const stylesCss = () => `:host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}`;
5
+ const index = require('./index-96af6326.js');
6
+ const index$1 = require('./index-e30d0503.js');
7
+ const utils = require('./utils-b1859d65.js');
8
+ require('./breakpoints-8a1e87e0.js');
9
9
 
10
- const typographyCss = () => `:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}`;
10
+ const stylesCss = ":host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}";
11
+ const ZToolStyle0 = stylesCss;
12
+
13
+ const typographyCss = ":root{--font-family-sans:\"IBM Plex Sans\", sans-serif;--font-family-serif:\"IBM Plex Serif\", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}";
14
+ const ZToolStyle1 = typographyCss;
11
15
 
12
16
  const ZTool = class {
13
17
  constructor(hostRef) {
14
18
  index.registerInstance(this, hostRef);
15
19
  this.toggleSubmenu = index.createEvent(this, "toggleSubmenu", 7);
16
20
  this.toggleTooltip = index.createEvent(this, "toggleTooltip", 7);
17
- /** Preferred tooltip position. Defaults to true. */
18
- this.tooltipPosition = index$1.PopoverPosition.TOP;
19
- /** Visual active state. */
20
- this.active = false;
21
- /** Disabled state. */
22
- this.disabled = false;
23
- /** Open state. */
24
- this.open = false;
25
- this.tooltipOpen = false;
26
- this.hasSlottedContent = false;
27
- this.isMobile = false;
28
- /** Indicates if the tool has nested open tools. Used to decide whether to auto-close the submenu. */
29
- this.hasNestedOpenTools = false;
30
21
  /** Indicates if the tool is nested inside another tool. */
31
22
  this.isNested = false;
32
23
  /**
@@ -82,6 +73,18 @@ const ZTool = class {
82
73
  }
83
74
  this.tooltipOpen = event.detail.open;
84
75
  };
76
+ this.icon = undefined;
77
+ this.tooltip = undefined;
78
+ this.tooltipPosition = index$1.PopoverPosition.TOP;
79
+ this.htmlAriaLabel = undefined;
80
+ this.active = false;
81
+ this.disabled = false;
82
+ this.open = false;
83
+ this.indicatorColor = undefined;
84
+ this.tooltipOpen = false;
85
+ this.hasSlottedContent = false;
86
+ this.isMobile = false;
87
+ this.hasNestedOpenTools = false;
85
88
  }
86
89
  handleOpenChange() {
87
90
  this.toggleSubmenu.emit(this.open);
@@ -189,21 +192,19 @@ const ZTool = class {
189
192
  (_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
190
193
  }
191
194
  render() {
192
- return (index.h(index.Host, { key: '06156433751f761198e7287f0592961a2e2dbcee', class: { "z-tool-tooltip-open": this.tooltipOpen } }, index.h("button", { key: 'a2dfc63a3d137ec98c8a1e2b830a2406333dd46d', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, index.h("z-icon", { key: '767bf8c9905fcf887370a517ddd6bf8c67de5db0', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (index.h("z-tooltip", { key: 'd90d4296d6329ca2ff573deac04db34582831446', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? index$1.PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, index.h("span", { key: 'f68a1c0f9aab2f578fea0405d9c8f3d4afd39178', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (index.h("z-popover", { key: 'e3ad13e2cd8ca8ab1f25ffbe52be6f939a5d5d00', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
195
+ return (index.h(index.Host, { key: 'e193d45ced8a7d4aa880d3a506d43614a76ffa71', class: { "z-tool-tooltip-open": this.tooltipOpen } }, index.h("button", { key: '6549559a4a5125d3db07d12d8b2ac4c68e8eee6a', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, index.h("z-icon", { key: '0aac9cc6854a9d4a4ac83866eb34cc8d12140f69', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (index.h("z-tooltip", { key: '2d403e91916f5d7909d0085f2f89db8514de32cc', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? index$1.PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, index.h("span", { key: 'a94e6a413686d9668399137f331e499ceb9d6516', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (index.h("z-popover", { key: '2d103f6d9b8643cc1dd30bc6bd238be593971586', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
193
196
  /* disable auto-close to prevent unwanted close behaviors on mobile,
194
197
  when the bound element is the main toolbar */
195
- closable: false, position: this.isMobile ? index$1.PopoverPosition.TOP : index$1.PopoverPosition.BOTTOM }, index.h("slot", { key: '64050c129cc261c304b10b37f99c68d638e4f89e' })))));
198
+ closable: false, position: this.isMobile ? index$1.PopoverPosition.TOP : index$1.PopoverPosition.BOTTOM }, index.h("slot", { key: 'b8e79406df1de9fa4df0b8b4aa42b27477407a05' })))));
196
199
  }
197
200
  get hostElement() { return index.getElement(this); }
198
201
  static get watchers() { return {
199
- "open": [{
200
- "handleOpenChange": 0
201
- }],
202
- "tooltipOpen": [{
203
- "handleTooltipOpenChange": 0
204
- }]
202
+ "open": ["handleOpenChange"],
203
+ "tooltipOpen": ["handleTooltipOpenChange"]
205
204
  }; }
206
205
  };
207
- ZTool.style = stylesCss() + typographyCss();
206
+ ZTool.style = ZToolStyle0 + ZToolStyle1;
208
207
 
209
208
  exports.z_tool = ZTool;
209
+
210
+ //# sourceMappingURL=z-tool.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-tool.entry.cjs.js","mappings":"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","names":["PopoverPosition","KeyboardCode","containsElement","h","Host"],"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>\n );\n }\n}\n"],"version":3}
@@ -1,17 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-2H1EJ2Tl.js');
4
- var index$1 = require('./index-wGaSHN1_.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
5
4
 
6
- const stylesCss = () => `:host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient( to bottom, transparent 0, transparent calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px) ) center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}`;
5
+ const index = require('./index-96af6326.js');
6
+ const index$1 = require('./index-e30d0503.js');
7
+
8
+ const stylesCss = ":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";
9
+ const ZToolbarStyle0 = stylesCss;
7
10
 
8
11
  const ZToolbar = class {
9
12
  constructor(hostRef) {
10
13
  index.registerInstance(this, hostRef);
11
- /** Index of the currently focusable item (roving tabindex). */
12
- this.currentFocusIndex = 0;
13
14
  /** List of focusable tool elements. */
14
15
  this.toolItems = [];
16
+ this.htmlAriaLabel = undefined;
17
+ this.currentFocusIndex = 0;
15
18
  }
16
19
  componentDidLoad() {
17
20
  this.collectToolItems();
@@ -131,13 +134,15 @@ const ZToolbar = class {
131
134
  }
132
135
  }
133
136
  render() {
134
- return (index.h(index.Host, { key: '3d5cb3fe384ef699b96ef64dbe86e6fd1d3d3e83', role: "toolbar", "aria-label": this.htmlAriaLabel }, index.h("slot", { key: '6f5103c87e99b23a0f3c22f0112c24e14b9fccfa', onSlotchange: () => {
137
+ return (index.h(index.Host, { key: '5e00c2233560e5050ede29f987b8eb42e2af5935', role: "toolbar", "aria-label": this.htmlAriaLabel }, index.h("slot", { key: '9ea69fc40ffaa25d900ad80dc9ca42b8ddcb1140', onSlotchange: () => {
135
138
  this.collectToolItems();
136
139
  this.updateTabIndexes();
137
140
  } })));
138
141
  }
139
142
  get hostElement() { return index.getElement(this); }
140
143
  };
141
- ZToolbar.style = stylesCss();
144
+ ZToolbar.style = ZToolbarStyle0;
142
145
 
143
146
  exports.z_toolbar = ZToolbar;
147
+
148
+ //# sourceMappingURL=z-toolbar.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-toolbar.entry.cjs.js","mappings":"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","names":["KeyboardCode","h","Host"],"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,36 +1,32 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-2H1EJ2Tl.js');
4
- var index$1 = require('./index-wGaSHN1_.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
5
4
 
6
- const stylesCss = () => `:host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}`;
5
+ const index = require('./index-96af6326.js');
6
+ const index$1 = require('./index-e30d0503.js');
7
+
8
+ const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}";
9
+ const ZTooltipStyle0 = stylesCss;
7
10
 
8
11
  const ZTooltip = class {
9
12
  constructor(hostRef) {
10
13
  index.registerInstance(this, hostRef);
11
14
  this.openChange = index.createEvent(this, "openChange", 7);
12
- /** Tooltip position. */
13
15
  this.position = index$1.PopoverPosition.AUTO;
14
- /** Enable tooltip dark mode. */
15
16
  this.dark = false;
16
- /**
17
- * The open state of the tooltip.
18
- */
19
17
  this.open = false;
20
- /**
21
- * Reflects `closable` prop of the popover.
22
- * "If true, the popover can be closed by clicking outside of it or pressing the escape key.
23
- * Otherwise, it will be closed only programmatically (by setting `open` to `false`)."
24
- */
18
+ this.bindTo = undefined;
25
19
  this.closable = true;
26
20
  }
27
21
  onPopoverOpenChange() {
28
22
  this.open = this.popoverEl.open;
29
23
  }
30
24
  render() {
31
- return (index.h("z-popover", { key: 'b08b53e3dc8e8c44ec1354e1a19d071bdb5dd3cb', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, index.h("slot", { key: '45d59d5cf4dd196c2704511b9dcf0fa6c960dbb7' })));
25
+ return (index.h("z-popover", { key: 'cbfcd9d92fdb27c998b9293aea1520993bf6cc1a', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, index.h("slot", { key: '9638b5e67aba8472eea8894b1b39bf1aa5f2986e' })));
32
26
  }
33
27
  };
34
- ZTooltip.style = stylesCss();
28
+ ZTooltip.style = ZTooltipStyle0;
35
29
 
36
30
  exports.z_tooltip = ZTooltip;
31
+
32
+ //# sourceMappingURL=z-tooltip.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-tooltip.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,wjBAAwjB,CAAC;AAC3kB,uBAAe,SAAS;;MCeX,QAAQ;;;;wBAGSA,uBAAe,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,QACEC,wEACE,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,IAE3DA,oEAAa,CACH,EACZ;KACH;;;;;;","names":["PopoverPosition","h"],"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}