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

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 (1492) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +3 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  4. package/dist/cjs/breakpoints-B7vFm-3T.js +3 -0
  5. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  6. package/dist/cjs/iconset-Cz-UsfoU.js +1030 -0
  7. package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
  8. package/dist/cjs/index-Cn7FFDHr.js +415 -0
  9. package/dist/cjs/index-Cn7FFDHr.js.map +1 -0
  10. package/dist/cjs/index-DY2I5wAY.js +2727 -0
  11. package/dist/cjs/index-DY2I5wAY.js.map +1 -0
  12. package/dist/cjs/index.cjs.js +10 -3
  13. package/dist/cjs/index.cjs.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +5 -2
  15. package/dist/cjs/loader.cjs.js.map +1 -0
  16. package/dist/cjs/reactive-controller-CxJYkamG.js +1446 -0
  17. package/dist/cjs/reactive-controller-CxJYkamG.js.map +1 -0
  18. package/dist/cjs/utils-By4U4KkV.js +2721 -0
  19. package/dist/cjs/utils-By4U4KkV.js.map +1 -0
  20. package/dist/cjs/utils-kQZHfpti.js +919 -0
  21. package/dist/cjs/utils-kQZHfpti.js.map +1 -0
  22. package/dist/cjs/web-components-library.cjs.js +5 -2
  23. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  24. package/dist/cjs/z-accordion.cjs.entry.js +6 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.cjs.entry.js +5 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +7 -4
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +6 -3
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header_12.cjs.entry.js +101 -135
  33. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  34. package/dist/cjs/z-aria-alert.cjs.entry.js +6 -3
  35. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  36. package/dist/cjs/z-avatar.cjs.entry.js +7 -4
  37. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-book-card-app.cjs.entry.js +6 -3
  39. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +7 -4
  41. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-book-card.cjs.entry.js +6 -3
  43. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-cover.cjs.entry.js +5 -2
  45. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-breadcrumb.cjs.entry.js +8 -5
  47. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-button-sort.cjs.entry.js +5 -2
  49. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-card.cjs.entry.js +5 -2
  51. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-carousel.cjs.entry.js +6 -3
  53. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-chip.cjs.entry.js +7 -4
  55. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-color-picker.cjs.entry.js +7 -4
  57. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-combobox.cjs.entry.js +21 -15
  59. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-cover-hero.cjs.entry.js +7 -4
  61. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-date-picker.cjs.entry.js +7 -4
  63. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +25 -41
  65. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-file-upload.cjs.entry.js +7 -4
  67. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-file.cjs.entry.js +6 -3
  69. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-ghost-loading.cjs.entry.js +5 -2
  71. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-info-box.cjs.entry.js +5 -2
  73. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-info-reveal.cjs.entry.js +6 -3
  75. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-input-range.cjs.entry.js +145 -0
  77. package/dist/cjs/z-input-range.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-logo.cjs.entry.js +6 -3
  79. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-menu-deprecated.cjs.entry.js +6 -3
  81. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +5 -2
  83. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-menu-section.cjs.entry.js +6 -3
  85. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-menu.cjs.entry.js +6 -3
  87. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  89. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
  91. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +5 -2
  93. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
  95. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-myz-card-icon.cjs.entry.js +5 -2
  97. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-info.cjs.entry.js +7 -4
  99. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-list.cjs.entry.js +5 -2
  101. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -6
  103. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
  105. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-list.cjs.entry.js +5 -2
  107. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
  109. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-notification.cjs.entry.js +5 -2
  111. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-otp.cjs.entry.js +7 -4
  113. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-pagination.cjs.entry.js +5 -2
  115. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-panel-elem.cjs.entry.js +6 -3
  117. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-popover.cjs.entry.js +7 -4
  119. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-range-picker.cjs.entry.js +9 -6
  121. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-result-card.cjs.entry.js +5 -2
  123. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-section-title.cjs.entry.js +6 -3
  125. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-select.cjs.entry.js +13 -14
  127. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-skip-to-content.cjs.entry.js +7 -4
  129. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-slideshow.cjs.entry.js +6 -3
  131. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-stepper-item.cjs.entry.js +5 -2
  133. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-stepper.cjs.entry.js +5 -2
  135. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-table.cjs.entry.js +7 -4
  137. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-tbody.cjs.entry.js +5 -2
  139. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-td.cjs.entry.js +6 -3
  141. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-tfoot.cjs.entry.js +5 -2
  143. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-th.cjs.entry.js +6 -3
  145. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-thead.cjs.entry.js +5 -2
  147. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-toast-notification-list.cjs.entry.js +6 -3
  149. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-toast-notification.cjs.entry.js +8 -5
  151. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-toggle-button.cjs.entry.js +6 -3
  153. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-toggle-switch.cjs.entry.js +9 -6
  155. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-tool.cjs.entry.js +8 -5
  157. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toolbar.cjs.entry.js +6 -3
  159. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-tooltip.cjs.entry.js +6 -3
  161. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-tr.cjs.entry.js +8 -5
  163. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-tree-list.cjs.entry.js +6 -3
  165. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-visually-hidden.cjs.entry.js +5 -2
  167. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  168. package/dist/collection/beans/index.js +6 -0
  169. package/dist/collection/beans/index.js.map +1 -0
  170. package/dist/collection/collection-manifest.json +12 -11
  171. package/dist/collection/components/book-card/z-book-card/index.js +2 -8
  172. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  173. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  174. package/dist/collection/components/book-card/z-book-card-app/index.js +2 -3
  175. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  176. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  177. package/dist/collection/components/date-picker/utils.js +1 -0
  178. package/dist/collection/components/date-picker/utils.js.map +1 -0
  179. package/dist/collection/components/date-picker/z-date-picker/index.js +2 -1
  180. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  181. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -3
  182. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  183. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +2 -54
  184. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  185. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  186. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +2 -5
  187. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  188. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  189. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +2 -2
  190. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  191. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  192. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +2 -1
  193. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  194. package/dist/collection/components/deprecated/z-section-title/index.js +2 -2
  195. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  196. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  197. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +3 -2
  198. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  199. package/dist/collection/components/file-upload/z-file/index.js +2 -1
  200. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  201. package/dist/collection/components/file-upload/z-file-upload/index.js +3 -2
  202. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  203. package/dist/collection/components/index.js +1 -0
  204. package/dist/collection/components/index.js.map +1 -0
  205. package/dist/collection/components/list/z-list/index.js +2 -1
  206. package/dist/collection/components/list/z-list/index.js.map +1 -0
  207. package/dist/collection/components/list/z-list-element/index.js +2 -1
  208. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  209. package/dist/collection/components/list/z-list-group/index.js +3 -2
  210. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  211. package/dist/collection/components/list/z-tree-list/index.js +2 -1
  212. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  213. package/dist/collection/components/table/cells/z-td/index.js +2 -1
  214. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  215. package/dist/collection/components/table/cells/z-th/index.js +2 -1
  216. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  217. package/dist/collection/components/table/z-table/index.js +2 -2
  218. package/dist/collection/components/table/z-table/index.js.map +1 -0
  219. package/dist/collection/components/table/z-table/styles.css +3 -0
  220. package/dist/collection/components/table/z-tbody/index.js +2 -1
  221. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  222. package/dist/collection/components/table/z-tfoot/index.js +2 -1
  223. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  224. package/dist/collection/components/table/z-thead/index.js +2 -1
  225. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  226. package/dist/collection/components/table/z-tr/index.js +2 -1
  227. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  228. package/dist/collection/components/table/z-tr/styles.css +2 -2
  229. package/dist/collection/components/z-accordion/index.js +4 -11
  230. package/dist/collection/components/z-accordion/index.js.map +1 -0
  231. package/dist/collection/components/z-accordion/styles.css +12 -0
  232. package/dist/collection/components/z-anchor-navigation/index.js +4 -3
  233. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  234. package/dist/collection/components/z-app-header/index.js +22 -8
  235. package/dist/collection/components/z-app-header/index.js.map +1 -0
  236. package/dist/collection/components/z-app-header/styles.css +12 -12
  237. package/dist/collection/components/z-aria-alert/index.js +2 -1
  238. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  239. package/dist/collection/components/z-avatar/index.js +3 -2
  240. package/dist/collection/components/z-avatar/index.js.map +1 -0
  241. package/dist/collection/components/z-book-cover/index.js +2 -5
  242. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  243. package/dist/collection/components/z-book-cover/styles.css +6 -0
  244. package/dist/collection/components/z-breadcrumb/index.js +3 -2
  245. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  246. package/dist/collection/components/z-button/index.js +3 -2
  247. package/dist/collection/components/z-button/index.js.map +1 -0
  248. package/dist/collection/components/z-button-sort/index.js +2 -1
  249. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  250. package/dist/collection/components/z-card/index.js +2 -8
  251. package/dist/collection/components/z-card/index.js.map +1 -0
  252. package/dist/collection/components/z-card/styles.css +9 -0
  253. package/dist/collection/components/z-carousel/index.js +1 -2
  254. package/dist/collection/components/z-carousel/index.js.map +1 -0
  255. package/dist/collection/components/z-carousel/styles.css +7 -3
  256. package/dist/collection/components/z-chip/index.js +3 -2
  257. package/dist/collection/components/z-chip/index.js.map +1 -0
  258. package/dist/collection/components/z-color-picker/index.js +2 -1
  259. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  260. package/dist/collection/components/z-combobox/index.js +17 -13
  261. package/dist/collection/components/z-combobox/index.js.map +1 -0
  262. package/dist/collection/components/z-cover-hero/index.js +3 -5
  263. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  264. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  265. package/dist/collection/components/z-divider/index.js +2 -1
  266. package/dist/collection/components/z-divider/index.js.map +1 -0
  267. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  268. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  269. package/dist/collection/components/z-icon/index.js +32 -2
  270. package/dist/collection/components/z-icon/index.js.map +1 -0
  271. package/dist/collection/components/z-info-box/index.js +2 -1
  272. package/dist/collection/components/z-info-box/index.js.map +1 -0
  273. package/dist/collection/components/z-info-reveal/index.js +2 -5
  274. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  275. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  276. package/dist/collection/components/z-input/index.js +51 -30
  277. package/dist/collection/components/z-input/index.js.map +1 -0
  278. package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -0
  279. package/dist/collection/components/z-input/styles-text.css +5 -0
  280. package/dist/collection/components/z-input-message/index.js +2 -1
  281. package/dist/collection/components/z-input-message/index.js.map +1 -0
  282. package/dist/collection/components/z-input-range/index.js +438 -0
  283. package/dist/collection/components/z-input-range/index.js.map +1 -0
  284. package/dist/collection/components/z-input-range/styles.css +262 -0
  285. package/dist/collection/components/z-logo/index.js +2 -1
  286. package/dist/collection/components/z-logo/index.js.map +1 -0
  287. package/dist/collection/components/z-logo/styles.css +5 -0
  288. package/dist/collection/components/z-menu/index.js +1 -1
  289. package/dist/collection/components/z-menu/index.js.map +1 -0
  290. package/dist/collection/components/z-menu/styles.css +3 -0
  291. package/dist/collection/components/z-menu-section/index.js +2 -1
  292. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  293. package/dist/collection/components/z-modal/index.js +17 -37
  294. package/dist/collection/components/z-modal/index.js.map +1 -0
  295. package/dist/collection/components/z-modal/styles.css +5 -2
  296. package/dist/collection/components/z-navigation-tabs/index.js +3 -4
  297. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  298. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  299. package/dist/collection/components/z-notification/index.js +2 -4
  300. package/dist/collection/components/z-notification/index.js.map +1 -0
  301. package/dist/collection/components/z-notification/styles.css +5 -0
  302. package/dist/collection/components/z-offcanvas/index.js +43 -119
  303. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  304. package/dist/collection/components/z-offcanvas/styles.css +6 -0
  305. package/dist/collection/components/z-pagination/index.js +1 -2
  306. package/dist/collection/components/z-pagination/index.js.map +1 -0
  307. package/dist/collection/components/z-pagination/styles.css +6 -0
  308. package/dist/collection/components/z-panel-elem/index.js +3 -2
  309. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  310. package/dist/collection/components/z-popover/index.js +2 -6
  311. package/dist/collection/components/z-popover/index.js.map +1 -0
  312. package/dist/collection/components/z-popover/styles.css +6 -0
  313. package/dist/collection/components/z-result-card/index.js +1 -0
  314. package/dist/collection/components/z-result-card/index.js.map +1 -0
  315. package/dist/collection/components/z-result-card/styles.css +8 -5
  316. package/dist/collection/components/z-searchbar/index.js +4 -8
  317. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  318. package/dist/collection/components/z-searchbar/styles.css +5 -0
  319. package/dist/collection/components/z-select/index.js +9 -12
  320. package/dist/collection/components/z-select/index.js.map +1 -0
  321. package/dist/collection/components/z-skip-to-content/index.js +2 -1
  322. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  323. package/dist/collection/components/z-stepper/index.js +2 -1
  324. package/dist/collection/components/z-stepper/index.js.map +1 -0
  325. package/dist/collection/components/z-stepper-item/index.js +2 -1
  326. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  327. package/dist/collection/components/z-tag/index.js +3 -4
  328. package/dist/collection/components/z-tag/index.js.map +1 -0
  329. package/dist/collection/components/z-tag/styles.css +5 -0
  330. package/dist/collection/components/z-toast-notification/index.js +4 -3
  331. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  332. package/dist/collection/components/z-toast-notification-list/index.js +2 -1
  333. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  334. package/dist/collection/components/z-toggle-button/index.js +3 -2
  335. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  336. package/dist/collection/components/z-toggle-switch/index.js +4 -3
  337. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  338. package/dist/collection/components/z-tool/index.js +4 -3
  339. package/dist/collection/components/z-tool/index.js.map +1 -0
  340. package/dist/collection/components/z-toolbar/index.js +2 -2
  341. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  342. package/dist/collection/components/z-toolbar/styles.css +4 -0
  343. package/dist/collection/components/z-tooltip/index.js +2 -5
  344. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  345. package/dist/collection/components/z-tooltip/styles.css +6 -0
  346. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  347. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  348. package/dist/collection/constants/breakpoints.js +1 -0
  349. package/dist/collection/constants/breakpoints.js.map +1 -0
  350. package/dist/collection/constants/icons.js +1 -0
  351. package/dist/collection/constants/icons.js.map +1 -0
  352. package/dist/collection/constants/iconset.js +7 -6
  353. package/dist/collection/constants/iconset.js.map +1 -0
  354. package/dist/collection/index.js +1 -0
  355. package/dist/collection/index.js.map +1 -0
  356. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +3 -2
  357. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  358. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +2 -1
  359. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  360. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  361. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  362. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +2 -1
  363. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  364. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -1
  365. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  366. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -1
  367. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  368. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  369. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  370. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +2 -1
  371. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  372. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
  373. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  374. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
  375. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  376. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
  377. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  378. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +2 -1
  379. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  380. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -1
  381. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  382. package/dist/collection/snowflakes/myz/z-alert/index.js +2 -1
  383. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  384. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -2
  385. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  386. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -0
  387. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  388. package/dist/collection/utils/focus-trap-controller.js +100 -0
  389. package/dist/collection/utils/focus-trap-controller.js.map +1 -0
  390. package/dist/collection/utils/reactive-controller.js +46 -0
  391. package/dist/collection/utils/reactive-controller.js.map +1 -0
  392. package/dist/collection/utils/storybook-utils.js +8 -0
  393. package/dist/collection/utils/storybook-utils.js.map +1 -0
  394. package/dist/collection/utils/utils.js +65 -1
  395. package/dist/collection/utils/utils.js.map +1 -0
  396. package/dist/components/_commonjsHelpers.js +2 -1
  397. package/dist/components/_commonjsHelpers.js.map +1 -0
  398. package/dist/components/breakpoints.js +2 -1
  399. package/dist/components/breakpoints.js.map +1 -0
  400. package/dist/components/iconset.js +2 -1
  401. package/dist/components/iconset.js.map +1 -0
  402. package/dist/components/index.d.ts +2 -0
  403. package/dist/components/index.js +2 -1
  404. package/dist/components/index.js.map +1 -0
  405. package/dist/components/index10.js +2 -1
  406. package/dist/components/index10.js.map +1 -0
  407. package/dist/components/index11.js +2 -1
  408. package/dist/components/index11.js.map +1 -0
  409. package/dist/components/index12.js +2 -1
  410. package/dist/components/index12.js.map +1 -0
  411. package/dist/components/index13.js +2 -1
  412. package/dist/components/index13.js.map +1 -0
  413. package/dist/components/index14.js +2 -1
  414. package/dist/components/index14.js.map +1 -0
  415. package/dist/components/index15.js +2 -1
  416. package/dist/components/index15.js.map +1 -0
  417. package/dist/components/index16.js +2 -1
  418. package/dist/components/index16.js.map +1 -0
  419. package/dist/components/index17.js +2 -1
  420. package/dist/components/index17.js.map +1 -0
  421. package/dist/components/index18.js +2 -1
  422. package/dist/components/index18.js.map +1 -0
  423. package/dist/components/index19.js +2 -1
  424. package/dist/components/index19.js.map +1 -0
  425. package/dist/components/index2.js +2 -1
  426. package/dist/components/index2.js.map +1 -0
  427. package/dist/components/index20.js +2 -1
  428. package/dist/components/index20.js.map +1 -0
  429. package/dist/components/index21.js +2 -1
  430. package/dist/components/index21.js.map +1 -0
  431. package/dist/components/index22.js +2 -1
  432. package/dist/components/index22.js.map +1 -0
  433. package/dist/components/index23.js +2 -1
  434. package/dist/components/index23.js.map +1 -0
  435. package/dist/components/index24.js +2 -1
  436. package/dist/components/index24.js.map +1 -0
  437. package/dist/components/index25.js +2 -1
  438. package/dist/components/index25.js.map +1 -0
  439. package/dist/components/index26.js +2 -1
  440. package/dist/components/index26.js.map +1 -0
  441. package/dist/components/index27.js +2 -1
  442. package/dist/components/index27.js.map +1 -0
  443. package/dist/components/index3.js +2 -1
  444. package/dist/components/index3.js.map +1 -0
  445. package/dist/components/index4.js +2 -1
  446. package/dist/components/index4.js.map +1 -0
  447. package/dist/components/index5.js +2 -1
  448. package/dist/components/index5.js.map +1 -0
  449. package/dist/components/index6.js +2 -1
  450. package/dist/components/index6.js.map +1 -0
  451. package/dist/components/index7.js +2 -1
  452. package/dist/components/index7.js.map +1 -0
  453. package/dist/components/index8.js +2 -1
  454. package/dist/components/index8.js.map +1 -0
  455. package/dist/components/index9.js +2 -1
  456. package/dist/components/index9.js.map +1 -0
  457. package/dist/components/reactive-controller.js +6 -0
  458. package/dist/components/reactive-controller.js.map +1 -0
  459. package/dist/components/utils.js +7 -1
  460. package/dist/components/utils.js.map +1 -0
  461. package/dist/components/utils2.js +2 -1
  462. package/dist/components/utils2.js.map +1 -0
  463. package/dist/components/z-accordion.js +2 -1
  464. package/dist/components/z-accordion.js.map +1 -0
  465. package/dist/components/z-alert.js +2 -1
  466. package/dist/components/z-alert.js.map +1 -0
  467. package/dist/components/z-anchor-navigation.js +2 -1
  468. package/dist/components/z-anchor-navigation.js.map +1 -0
  469. package/dist/components/z-app-header-deprecated.js +2 -1
  470. package/dist/components/z-app-header-deprecated.js.map +1 -0
  471. package/dist/components/z-app-header.js +2 -1
  472. package/dist/components/z-app-header.js.map +1 -0
  473. package/dist/components/z-aria-alert.js +2 -1
  474. package/dist/components/z-aria-alert.js.map +1 -0
  475. package/dist/components/z-avatar.js +2 -1
  476. package/dist/components/z-avatar.js.map +1 -0
  477. package/dist/components/z-book-card-app.js +2 -1
  478. package/dist/components/z-book-card-app.js.map +1 -0
  479. package/dist/components/z-book-card-deprecated.js +2 -1
  480. package/dist/components/z-book-card-deprecated.js.map +1 -0
  481. package/dist/components/z-book-card.js +2 -1
  482. package/dist/components/z-book-card.js.map +1 -0
  483. package/dist/components/z-book-cover.js +2 -1
  484. package/dist/components/z-book-cover.js.map +1 -0
  485. package/dist/components/z-breadcrumb.js +2 -1
  486. package/dist/components/z-breadcrumb.js.map +1 -0
  487. package/dist/components/z-button-sort.js +2 -1
  488. package/dist/components/z-button-sort.js.map +1 -0
  489. package/dist/components/z-button.js +2 -1
  490. package/dist/components/z-button.js.map +1 -0
  491. package/dist/components/z-card.js +2 -1
  492. package/dist/components/z-card.js.map +1 -0
  493. package/dist/components/z-carousel.js +2 -1
  494. package/dist/components/z-carousel.js.map +1 -0
  495. package/dist/components/z-chip.js +2 -1
  496. package/dist/components/z-chip.js.map +1 -0
  497. package/dist/components/z-color-picker.js +2 -1
  498. package/dist/components/z-color-picker.js.map +1 -0
  499. package/dist/components/z-combobox.js +2 -1
  500. package/dist/components/z-combobox.js.map +1 -0
  501. package/dist/components/z-cover-hero.js +2 -1
  502. package/dist/components/z-cover-hero.js.map +1 -0
  503. package/dist/components/z-date-picker.js +3 -2
  504. package/dist/components/z-date-picker.js.map +1 -0
  505. package/dist/components/z-divider.js +2 -1
  506. package/dist/components/z-divider.js.map +1 -0
  507. package/dist/components/z-dragdrop-area.js +2 -1
  508. package/dist/components/z-dragdrop-area.js.map +1 -0
  509. package/dist/components/z-file-upload.js +2 -1
  510. package/dist/components/z-file-upload.js.map +1 -0
  511. package/dist/components/z-file.js +2 -1
  512. package/dist/components/z-file.js.map +1 -0
  513. package/dist/components/z-ghost-loading.js +2 -1
  514. package/dist/components/z-ghost-loading.js.map +1 -0
  515. package/dist/components/z-icon.js +2 -1
  516. package/dist/components/z-icon.js.map +1 -0
  517. package/dist/components/z-info-box.js +2 -1
  518. package/dist/components/z-info-box.js.map +1 -0
  519. package/dist/components/z-info-reveal.js +2 -1
  520. package/dist/components/z-info-reveal.js.map +1 -0
  521. package/dist/components/z-input-message.js +2 -1
  522. package/dist/components/z-input-message.js.map +1 -0
  523. package/dist/components/z-input-range.d.ts +11 -0
  524. package/dist/components/z-input-range.js +2 -0
  525. package/dist/components/z-input-range.js.map +1 -0
  526. package/dist/components/z-input.js +2 -1
  527. package/dist/components/z-input.js.map +1 -0
  528. package/dist/components/z-list-element.js +2 -1
  529. package/dist/components/z-list-element.js.map +1 -0
  530. package/dist/components/z-list-group.js +2 -1
  531. package/dist/components/z-list-group.js.map +1 -0
  532. package/dist/components/z-list.js +2 -1
  533. package/dist/components/z-list.js.map +1 -0
  534. package/dist/components/z-logo.js +2 -1
  535. package/dist/components/z-logo.js.map +1 -0
  536. package/dist/components/z-menu-deprecated.js +2 -1
  537. package/dist/components/z-menu-deprecated.js.map +1 -0
  538. package/dist/components/z-menu-section-deprecated.js +2 -1
  539. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  540. package/dist/components/z-menu-section.js +2 -1
  541. package/dist/components/z-menu-section.js.map +1 -0
  542. package/dist/components/z-menu.js +2 -1
  543. package/dist/components/z-menu.js.map +1 -0
  544. package/dist/components/z-modal.js +2 -1
  545. package/dist/components/z-modal.js.map +1 -0
  546. package/dist/components/z-myz-card-alert.js +2 -1
  547. package/dist/components/z-myz-card-alert.js.map +1 -0
  548. package/dist/components/z-myz-card-body.js +2 -1
  549. package/dist/components/z-myz-card-body.js.map +1 -0
  550. package/dist/components/z-myz-card-cover.js +2 -1
  551. package/dist/components/z-myz-card-cover.js.map +1 -0
  552. package/dist/components/z-myz-card-dictionary.js +2 -1
  553. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  554. package/dist/components/z-myz-card-footer-sections.js +2 -1
  555. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  556. package/dist/components/z-myz-card-footer.js +2 -1
  557. package/dist/components/z-myz-card-footer.js.map +1 -0
  558. package/dist/components/z-myz-card-header.js +2 -1
  559. package/dist/components/z-myz-card-header.js.map +1 -0
  560. package/dist/components/z-myz-card-icon.js +2 -1
  561. package/dist/components/z-myz-card-icon.js.map +1 -0
  562. package/dist/components/z-myz-card-info.js +2 -1
  563. package/dist/components/z-myz-card-info.js.map +1 -0
  564. package/dist/components/z-myz-card-list.js +2 -1
  565. package/dist/components/z-myz-card-list.js.map +1 -0
  566. package/dist/components/z-myz-card.js +2 -1
  567. package/dist/components/z-myz-card.js.map +1 -0
  568. package/dist/components/z-myz-list-item.js +2 -1
  569. package/dist/components/z-myz-list-item.js.map +1 -0
  570. package/dist/components/z-myz-list.js +2 -1
  571. package/dist/components/z-myz-list.js.map +1 -0
  572. package/dist/components/z-navigation-tabs.js +2 -1
  573. package/dist/components/z-navigation-tabs.js.map +1 -0
  574. package/dist/components/z-notification.js +2 -1
  575. package/dist/components/z-notification.js.map +1 -0
  576. package/dist/components/z-offcanvas.js +2 -1
  577. package/dist/components/z-offcanvas.js.map +1 -0
  578. package/dist/components/z-otp.js +2 -1
  579. package/dist/components/z-otp.js.map +1 -0
  580. package/dist/components/z-pagination.js +2 -1
  581. package/dist/components/z-pagination.js.map +1 -0
  582. package/dist/components/z-panel-elem.js +2 -1
  583. package/dist/components/z-panel-elem.js.map +1 -0
  584. package/dist/components/z-popover.js +2 -1
  585. package/dist/components/z-popover.js.map +1 -0
  586. package/dist/components/z-range-picker.js +2 -1
  587. package/dist/components/z-range-picker.js.map +1 -0
  588. package/dist/components/z-result-card.js +2 -1
  589. package/dist/components/z-result-card.js.map +1 -0
  590. package/dist/components/z-searchbar.js +2 -1
  591. package/dist/components/z-searchbar.js.map +1 -0
  592. package/dist/components/z-section-title.js +2 -1
  593. package/dist/components/z-section-title.js.map +1 -0
  594. package/dist/components/z-select.js +2 -1
  595. package/dist/components/z-select.js.map +1 -0
  596. package/dist/components/z-skip-to-content.js +2 -1
  597. package/dist/components/z-skip-to-content.js.map +1 -0
  598. package/dist/components/z-slideshow.js +2 -1
  599. package/dist/components/z-slideshow.js.map +1 -0
  600. package/dist/components/z-stepper-item.js +2 -1
  601. package/dist/components/z-stepper-item.js.map +1 -0
  602. package/dist/components/z-stepper.js +2 -1
  603. package/dist/components/z-stepper.js.map +1 -0
  604. package/dist/components/z-table.js +2 -1
  605. package/dist/components/z-table.js.map +1 -0
  606. package/dist/components/z-tag.js +2 -1
  607. package/dist/components/z-tag.js.map +1 -0
  608. package/dist/components/z-tbody.js +2 -1
  609. package/dist/components/z-tbody.js.map +1 -0
  610. package/dist/components/z-td.js +2 -1
  611. package/dist/components/z-td.js.map +1 -0
  612. package/dist/components/z-tfoot.js +2 -1
  613. package/dist/components/z-tfoot.js.map +1 -0
  614. package/dist/components/z-th.js +2 -1
  615. package/dist/components/z-th.js.map +1 -0
  616. package/dist/components/z-thead.js +2 -1
  617. package/dist/components/z-thead.js.map +1 -0
  618. package/dist/components/z-toast-notification-list.js +2 -1
  619. package/dist/components/z-toast-notification-list.js.map +1 -0
  620. package/dist/components/z-toast-notification.js +8 -2
  621. package/dist/components/z-toast-notification.js.map +1 -0
  622. package/dist/components/z-toggle-button.js +2 -1
  623. package/dist/components/z-toggle-button.js.map +1 -0
  624. package/dist/components/z-toggle-switch.js +2 -1
  625. package/dist/components/z-toggle-switch.js.map +1 -0
  626. package/dist/components/z-tool.js +2 -1
  627. package/dist/components/z-tool.js.map +1 -0
  628. package/dist/components/z-toolbar.js +2 -1
  629. package/dist/components/z-toolbar.js.map +1 -0
  630. package/dist/components/z-tooltip.js +2 -1
  631. package/dist/components/z-tooltip.js.map +1 -0
  632. package/dist/components/z-tr.js +2 -1
  633. package/dist/components/z-tr.js.map +1 -0
  634. package/dist/components/z-tree-list.js +2 -1
  635. package/dist/components/z-tree-list.js.map +1 -0
  636. package/dist/components/z-visually-hidden.js +2 -1
  637. package/dist/components/z-visually-hidden.js.map +1 -0
  638. package/dist/esm/_commonjsHelpers-B85MJLTf.js +3 -0
  639. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  640. package/dist/esm/breakpoints-Q-tWjk7P.js +3 -0
  641. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  642. package/dist/esm/iconset-AwzX9V8L.js +1027 -0
  643. package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
  644. package/dist/esm/index-B3nR3-Jw.js +413 -0
  645. package/dist/esm/index-B3nR3-Jw.js.map +1 -0
  646. package/dist/esm/index-BEHxru6n.js +2697 -0
  647. package/dist/esm/index-BEHxru6n.js.map +1 -0
  648. package/dist/esm/index.js +6 -3
  649. package/dist/esm/index.js.map +1 -0
  650. package/dist/esm/loader.js +6 -3
  651. package/dist/esm/loader.js.map +1 -0
  652. package/dist/esm/reactive-controller-DXvzHFid.js +1443 -0
  653. package/dist/esm/reactive-controller-DXvzHFid.js.map +1 -0
  654. package/dist/esm/utils-C9lc3rtK.js +896 -0
  655. package/dist/esm/utils-C9lc3rtK.js.map +1 -0
  656. package/dist/esm/utils-DP4zBIll.js +2715 -0
  657. package/dist/esm/utils-DP4zBIll.js.map +1 -0
  658. package/dist/esm/web-components-library.js +6 -3
  659. package/dist/esm/web-components-library.js.map +1 -0
  660. package/dist/esm/z-accordion.entry.js +6 -3
  661. package/dist/esm/z-accordion.entry.js.map +1 -0
  662. package/dist/esm/z-alert.entry.js +5 -2
  663. package/dist/esm/z-alert.entry.js.map +1 -0
  664. package/dist/esm/z-anchor-navigation.entry.js +7 -4
  665. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  666. package/dist/esm/z-app-header-deprecated.entry.js +6 -3
  667. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  668. package/dist/esm/z-app-header_12.entry.js +101 -135
  669. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  670. package/dist/esm/z-aria-alert.entry.js +6 -3
  671. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  672. package/dist/esm/z-avatar.entry.js +7 -4
  673. package/dist/esm/z-avatar.entry.js.map +1 -0
  674. package/dist/esm/z-book-card-app.entry.js +6 -3
  675. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  676. package/dist/esm/z-book-card-deprecated.entry.js +7 -4
  677. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  678. package/dist/esm/z-book-card.entry.js +6 -3
  679. package/dist/esm/z-book-card.entry.js.map +1 -0
  680. package/dist/esm/z-book-cover.entry.js +5 -2
  681. package/dist/esm/z-book-cover.entry.js.map +1 -0
  682. package/dist/esm/z-breadcrumb.entry.js +8 -5
  683. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  684. package/dist/esm/z-button-sort.entry.js +5 -2
  685. package/dist/esm/z-button-sort.entry.js.map +1 -0
  686. package/dist/esm/z-card.entry.js +5 -2
  687. package/dist/esm/z-card.entry.js.map +1 -0
  688. package/dist/esm/z-carousel.entry.js +6 -3
  689. package/dist/esm/z-carousel.entry.js.map +1 -0
  690. package/dist/esm/z-chip.entry.js +7 -4
  691. package/dist/esm/z-chip.entry.js.map +1 -0
  692. package/dist/esm/z-color-picker.entry.js +7 -4
  693. package/dist/esm/z-color-picker.entry.js.map +1 -0
  694. package/dist/esm/z-combobox.entry.js +21 -15
  695. package/dist/esm/z-combobox.entry.js.map +1 -0
  696. package/dist/esm/z-cover-hero.entry.js +7 -4
  697. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  698. package/dist/esm/z-date-picker.entry.js +7 -4
  699. package/dist/esm/z-date-picker.entry.js.map +1 -0
  700. package/dist/esm/z-dragdrop-area_2.entry.js +25 -41
  701. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  702. package/dist/esm/z-file-upload.entry.js +7 -4
  703. package/dist/esm/z-file-upload.entry.js.map +1 -0
  704. package/dist/esm/z-file.entry.js +6 -3
  705. package/dist/esm/z-file.entry.js.map +1 -0
  706. package/dist/esm/z-ghost-loading.entry.js +5 -2
  707. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  708. package/dist/esm/z-info-box.entry.js +5 -2
  709. package/dist/esm/z-info-box.entry.js.map +1 -0
  710. package/dist/esm/z-info-reveal.entry.js +6 -3
  711. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  712. package/dist/esm/z-input-range.entry.js +143 -0
  713. package/dist/esm/z-input-range.entry.js.map +1 -0
  714. package/dist/esm/z-logo.entry.js +6 -3
  715. package/dist/esm/z-logo.entry.js.map +1 -0
  716. package/dist/esm/z-menu-deprecated.entry.js +6 -3
  717. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  718. package/dist/esm/z-menu-section-deprecated.entry.js +5 -2
  719. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  720. package/dist/esm/z-menu-section.entry.js +6 -3
  721. package/dist/esm/z-menu-section.entry.js.map +1 -0
  722. package/dist/esm/z-menu.entry.js +6 -3
  723. package/dist/esm/z-menu.entry.js.map +1 -0
  724. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  725. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  726. package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
  727. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  728. package/dist/esm/z-myz-card-footer-sections.entry.js +5 -2
  729. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  730. package/dist/esm/z-myz-card-footer.entry.js +6 -3
  731. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  732. package/dist/esm/z-myz-card-icon.entry.js +5 -2
  733. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  734. package/dist/esm/z-myz-card-info.entry.js +7 -4
  735. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  736. package/dist/esm/z-myz-card-list.entry.js +5 -2
  737. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  738. package/dist/esm/z-myz-card_4.entry.js +9 -6
  739. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  740. package/dist/esm/z-myz-list-item.entry.js +7 -4
  741. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  742. package/dist/esm/z-myz-list.entry.js +5 -2
  743. package/dist/esm/z-myz-list.entry.js.map +1 -0
  744. package/dist/esm/z-navigation-tabs.entry.js +7 -4
  745. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  746. package/dist/esm/z-notification.entry.js +5 -2
  747. package/dist/esm/z-notification.entry.js.map +1 -0
  748. package/dist/esm/z-otp.entry.js +7 -4
  749. package/dist/esm/z-otp.entry.js.map +1 -0
  750. package/dist/esm/z-pagination.entry.js +5 -2
  751. package/dist/esm/z-pagination.entry.js.map +1 -0
  752. package/dist/esm/z-panel-elem.entry.js +6 -3
  753. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  754. package/dist/esm/z-popover.entry.js +7 -4
  755. package/dist/esm/z-popover.entry.js.map +1 -0
  756. package/dist/esm/z-range-picker.entry.js +9 -6
  757. package/dist/esm/z-range-picker.entry.js.map +1 -0
  758. package/dist/esm/z-result-card.entry.js +5 -2
  759. package/dist/esm/z-result-card.entry.js.map +1 -0
  760. package/dist/esm/z-section-title.entry.js +6 -3
  761. package/dist/esm/z-section-title.entry.js.map +1 -0
  762. package/dist/esm/z-select.entry.js +13 -14
  763. package/dist/esm/z-select.entry.js.map +1 -0
  764. package/dist/esm/z-skip-to-content.entry.js +7 -4
  765. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  766. package/dist/esm/z-slideshow.entry.js +6 -3
  767. package/dist/esm/z-slideshow.entry.js.map +1 -0
  768. package/dist/esm/z-stepper-item.entry.js +5 -2
  769. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  770. package/dist/esm/z-stepper.entry.js +5 -2
  771. package/dist/esm/z-stepper.entry.js.map +1 -0
  772. package/dist/esm/z-table.entry.js +7 -4
  773. package/dist/esm/z-table.entry.js.map +1 -0
  774. package/dist/esm/z-tbody.entry.js +5 -2
  775. package/dist/esm/z-tbody.entry.js.map +1 -0
  776. package/dist/esm/z-td.entry.js +6 -3
  777. package/dist/esm/z-td.entry.js.map +1 -0
  778. package/dist/esm/z-tfoot.entry.js +5 -2
  779. package/dist/esm/z-tfoot.entry.js.map +1 -0
  780. package/dist/esm/z-th.entry.js +6 -3
  781. package/dist/esm/z-th.entry.js.map +1 -0
  782. package/dist/esm/z-thead.entry.js +5 -2
  783. package/dist/esm/z-thead.entry.js.map +1 -0
  784. package/dist/esm/z-toast-notification-list.entry.js +6 -3
  785. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  786. package/dist/esm/z-toast-notification.entry.js +8 -5
  787. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  788. package/dist/esm/z-toggle-button.entry.js +6 -3
  789. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  790. package/dist/esm/z-toggle-switch.entry.js +9 -6
  791. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  792. package/dist/esm/z-tool.entry.js +8 -5
  793. package/dist/esm/z-tool.entry.js.map +1 -0
  794. package/dist/esm/z-toolbar.entry.js +6 -3
  795. package/dist/esm/z-toolbar.entry.js.map +1 -0
  796. package/dist/esm/z-tooltip.entry.js +6 -3
  797. package/dist/esm/z-tooltip.entry.js.map +1 -0
  798. package/dist/esm/z-tr.entry.js +8 -5
  799. package/dist/esm/z-tr.entry.js.map +1 -0
  800. package/dist/esm/z-tree-list.entry.js +6 -3
  801. package/dist/esm/z-tree-list.entry.js.map +1 -0
  802. package/dist/esm/z-visually-hidden.entry.js +5 -2
  803. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  804. package/dist/types/beans/index.d.ts +4 -0
  805. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  806. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  807. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  808. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  809. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  810. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  811. package/dist/types/components/table/z-table/index.d.ts +0 -1
  812. package/dist/types/components/z-accordion/index.d.ts +2 -10
  813. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  814. package/dist/types/components/z-app-header/index.d.ts +4 -6
  815. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  816. package/dist/types/components/z-button/index.d.ts +1 -1
  817. package/dist/types/components/z-card/index.d.ts +1 -8
  818. package/dist/types/components/z-carousel/index.d.ts +0 -2
  819. package/dist/types/components/z-combobox/index.d.ts +1 -0
  820. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  821. package/dist/types/components/z-icon/index.d.ts +13 -0
  822. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  823. package/dist/types/components/z-input/index.d.ts +6 -4
  824. package/dist/types/components/z-input-range/index.d.ts +83 -0
  825. package/dist/types/components/z-menu/index.d.ts +0 -1
  826. package/dist/types/components/z-modal/index.d.ts +4 -11
  827. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  828. package/dist/types/components/z-notification/index.d.ts +0 -3
  829. package/dist/types/components/z-offcanvas/index.d.ts +12 -37
  830. package/dist/types/components/z-pagination/index.d.ts +0 -2
  831. package/dist/types/components/z-popover/index.d.ts +0 -5
  832. package/dist/types/components/z-searchbar/index.d.ts +0 -5
  833. package/dist/types/components/z-select/index.d.ts +0 -1
  834. package/dist/types/components/z-tag/index.d.ts +0 -2
  835. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  836. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  837. package/dist/types/components.d.ts +213 -606
  838. package/dist/types/constants/iconset.d.ts +4 -4
  839. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  840. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  841. package/dist/types/utils/focus-trap-controller.d.ts +53 -0
  842. package/dist/types/utils/reactive-controller.d.ts +39 -0
  843. package/dist/types/utils/storybook-utils.d.ts +7 -2
  844. package/dist/types/utils/utils.d.ts +12 -0
  845. package/dist/web-components-library/index.esm.js +2 -1
  846. package/dist/web-components-library/index.esm.js.map +1 -0
  847. package/dist/web-components-library/p-0a10c7d7.entry.js +2 -0
  848. package/dist/web-components-library/p-0a10c7d7.entry.js.map +1 -0
  849. package/dist/web-components-library/p-0de3e2fa.entry.js +2 -0
  850. package/dist/web-components-library/p-0de3e2fa.entry.js.map +1 -0
  851. package/dist/web-components-library/p-0eb833b6.entry.js +2 -0
  852. package/dist/web-components-library/p-0eb833b6.entry.js.map +1 -0
  853. package/dist/web-components-library/p-17a9c2b3.entry.js +2 -0
  854. package/dist/web-components-library/p-17a9c2b3.entry.js.map +1 -0
  855. package/dist/web-components-library/p-235a1c1d.entry.js +2 -0
  856. package/dist/web-components-library/p-235a1c1d.entry.js.map +1 -0
  857. package/dist/web-components-library/p-286690fd.entry.js +2 -0
  858. package/dist/web-components-library/p-286690fd.entry.js.map +1 -0
  859. package/dist/web-components-library/p-288c1f55.entry.js +2 -0
  860. package/dist/web-components-library/p-288c1f55.entry.js.map +1 -0
  861. package/dist/web-components-library/p-2b05eaef.entry.js +2 -0
  862. package/dist/web-components-library/p-2b05eaef.entry.js.map +1 -0
  863. package/dist/web-components-library/p-2c63a798.entry.js +2 -0
  864. package/dist/web-components-library/p-2c63a798.entry.js.map +1 -0
  865. package/dist/web-components-library/p-315ac39c.entry.js +2 -0
  866. package/dist/web-components-library/p-315ac39c.entry.js.map +1 -0
  867. package/dist/web-components-library/p-35653b5e.entry.js +2 -0
  868. package/dist/web-components-library/p-35653b5e.entry.js.map +1 -0
  869. package/dist/web-components-library/p-38e4e01f.entry.js +2 -0
  870. package/dist/web-components-library/p-38e4e01f.entry.js.map +1 -0
  871. package/dist/web-components-library/p-3b3e1ffb.entry.js +2 -0
  872. package/dist/web-components-library/p-3b3e1ffb.entry.js.map +1 -0
  873. package/dist/web-components-library/p-3b7f5d80.entry.js +2 -0
  874. package/dist/web-components-library/p-3b7f5d80.entry.js.map +1 -0
  875. package/dist/web-components-library/p-40694478.entry.js +2 -0
  876. package/dist/web-components-library/p-40694478.entry.js.map +1 -0
  877. package/dist/web-components-library/p-440e5b62.entry.js +2 -0
  878. package/dist/web-components-library/p-440e5b62.entry.js.map +1 -0
  879. package/dist/web-components-library/p-44410388.entry.js +2 -0
  880. package/dist/web-components-library/p-44410388.entry.js.map +1 -0
  881. package/dist/web-components-library/p-508eb530.entry.js +2 -0
  882. package/dist/web-components-library/p-508eb530.entry.js.map +1 -0
  883. package/dist/web-components-library/p-50a09bf1.entry.js +2 -0
  884. package/dist/web-components-library/p-50a09bf1.entry.js.map +1 -0
  885. package/dist/web-components-library/p-54f98f8e.entry.js +2 -0
  886. package/dist/web-components-library/p-54f98f8e.entry.js.map +1 -0
  887. package/dist/web-components-library/p-5a0424cd.entry.js +2 -0
  888. package/dist/web-components-library/p-5a0424cd.entry.js.map +1 -0
  889. package/dist/web-components-library/p-5ba350d8.entry.js +2 -0
  890. package/dist/web-components-library/p-5ba350d8.entry.js.map +1 -0
  891. package/dist/web-components-library/p-643aaedc.entry.js +2 -0
  892. package/dist/web-components-library/p-643aaedc.entry.js.map +1 -0
  893. package/dist/web-components-library/p-654cbe9f.entry.js +2 -0
  894. package/dist/web-components-library/p-654cbe9f.entry.js.map +1 -0
  895. package/dist/web-components-library/p-6fc4fd53.entry.js +2 -0
  896. package/dist/web-components-library/p-6fc4fd53.entry.js.map +1 -0
  897. package/dist/web-components-library/p-72356b43.entry.js +2 -0
  898. package/dist/web-components-library/p-72356b43.entry.js.map +1 -0
  899. package/dist/web-components-library/p-723c700f.entry.js +2 -0
  900. package/dist/web-components-library/p-723c700f.entry.js.map +1 -0
  901. package/dist/web-components-library/p-72da35ee.entry.js +2 -0
  902. package/dist/web-components-library/p-72da35ee.entry.js.map +1 -0
  903. package/dist/web-components-library/p-7313202f.entry.js +2 -0
  904. package/dist/web-components-library/p-7313202f.entry.js.map +1 -0
  905. package/dist/web-components-library/p-73ed9922.entry.js +2 -0
  906. package/dist/web-components-library/p-73ed9922.entry.js.map +1 -0
  907. package/dist/web-components-library/p-779a7476.entry.js +2 -0
  908. package/dist/web-components-library/p-779a7476.entry.js.map +1 -0
  909. package/dist/web-components-library/p-7a25961e.entry.js +2 -0
  910. package/dist/web-components-library/p-7a25961e.entry.js.map +1 -0
  911. package/dist/web-components-library/p-7dfb5290.entry.js +2 -0
  912. package/dist/web-components-library/p-7dfb5290.entry.js.map +1 -0
  913. package/dist/web-components-library/p-7fff6cfd.entry.js +2 -0
  914. package/dist/web-components-library/p-7fff6cfd.entry.js.map +1 -0
  915. package/dist/web-components-library/p-8041306f.entry.js +2 -0
  916. package/dist/web-components-library/p-8041306f.entry.js.map +1 -0
  917. package/dist/web-components-library/p-8046cab0.entry.js +2 -0
  918. package/dist/web-components-library/p-8046cab0.entry.js.map +1 -0
  919. package/dist/web-components-library/p-82c43c62.entry.js +2 -0
  920. package/dist/web-components-library/p-82c43c62.entry.js.map +1 -0
  921. package/dist/web-components-library/p-82e04f79.entry.js +2 -0
  922. package/dist/web-components-library/p-82e04f79.entry.js.map +1 -0
  923. package/dist/web-components-library/p-87a5a352.entry.js +2 -0
  924. package/dist/web-components-library/p-87a5a352.entry.js.map +1 -0
  925. package/dist/web-components-library/p-8b0c232c.entry.js +2 -0
  926. package/dist/web-components-library/p-8b0c232c.entry.js.map +1 -0
  927. package/dist/web-components-library/p-8b1f745c.entry.js +2 -0
  928. package/dist/web-components-library/p-8b1f745c.entry.js.map +1 -0
  929. package/dist/web-components-library/p-8bd0e3e2.entry.js +2 -0
  930. package/dist/web-components-library/p-8bd0e3e2.entry.js.map +1 -0
  931. package/dist/web-components-library/p-8ca86be7.entry.js +2 -0
  932. package/dist/web-components-library/p-8ca86be7.entry.js.map +1 -0
  933. package/dist/web-components-library/p-8ce8d90d.entry.js +2 -0
  934. package/dist/web-components-library/p-8ce8d90d.entry.js.map +1 -0
  935. package/dist/web-components-library/p-927d9062.entry.js +2 -0
  936. package/dist/web-components-library/p-927d9062.entry.js.map +1 -0
  937. package/dist/web-components-library/p-931f2a16.entry.js +2 -0
  938. package/dist/web-components-library/p-931f2a16.entry.js.map +1 -0
  939. package/dist/web-components-library/p-960cd1d9.entry.js +2 -0
  940. package/dist/web-components-library/p-960cd1d9.entry.js.map +1 -0
  941. package/dist/web-components-library/p-9f0e91f5.entry.js +2 -0
  942. package/dist/web-components-library/p-9f0e91f5.entry.js.map +1 -0
  943. package/dist/web-components-library/p-AwzX9V8L.js +2 -0
  944. package/dist/web-components-library/p-AwzX9V8L.js.map +1 -0
  945. package/dist/web-components-library/p-B3nR3-Jw.js +2 -0
  946. package/dist/web-components-library/p-B3nR3-Jw.js.map +1 -0
  947. package/dist/web-components-library/p-B85MJLTf.js +2 -1
  948. package/dist/web-components-library/p-B85MJLTf.js.map +1 -0
  949. package/dist/web-components-library/p-BEHxru6n.js +3 -0
  950. package/dist/web-components-library/p-BEHxru6n.js.map +1 -0
  951. package/dist/web-components-library/p-Bx6o9v2_.js +2 -0
  952. package/dist/web-components-library/p-Bx6o9v2_.js.map +1 -0
  953. package/dist/web-components-library/p-C8pbzcmM.js +7 -0
  954. package/dist/web-components-library/p-C8pbzcmM.js.map +1 -0
  955. package/dist/web-components-library/p-CscBC1Z4.js +6 -0
  956. package/dist/web-components-library/p-CscBC1Z4.js.map +1 -0
  957. package/dist/web-components-library/p-Q-tWjk7P.js +2 -1
  958. package/dist/web-components-library/p-Q-tWjk7P.js.map +1 -0
  959. package/dist/web-components-library/p-a1db3939.entry.js +2 -0
  960. package/dist/web-components-library/p-a1db3939.entry.js.map +1 -0
  961. package/dist/web-components-library/p-a6f29ff5.entry.js +2 -0
  962. package/dist/web-components-library/p-a6f29ff5.entry.js.map +1 -0
  963. package/dist/web-components-library/p-a8e42a7c.entry.js +2 -0
  964. package/dist/web-components-library/p-a8e42a7c.entry.js.map +1 -0
  965. package/dist/web-components-library/p-a8fe9ae0.entry.js +2 -0
  966. package/dist/web-components-library/p-a8fe9ae0.entry.js.map +1 -0
  967. package/dist/web-components-library/p-ab64e360.entry.js +2 -0
  968. package/dist/web-components-library/p-ab64e360.entry.js.map +1 -0
  969. package/dist/web-components-library/p-acba8f34.entry.js +2 -0
  970. package/dist/web-components-library/p-acba8f34.entry.js.map +1 -0
  971. package/dist/web-components-library/p-ace68b04.entry.js +2 -0
  972. package/dist/web-components-library/p-ace68b04.entry.js.map +1 -0
  973. package/dist/web-components-library/p-ad88d4a5.entry.js +2 -0
  974. package/dist/web-components-library/p-ad88d4a5.entry.js.map +1 -0
  975. package/dist/web-components-library/p-ae8d5494.entry.js +2 -0
  976. package/dist/web-components-library/p-ae8d5494.entry.js.map +1 -0
  977. package/dist/web-components-library/p-af8fec68.entry.js +17 -0
  978. package/dist/web-components-library/p-af8fec68.entry.js.map +1 -0
  979. package/dist/web-components-library/p-b4140668.entry.js +2 -0
  980. package/dist/web-components-library/p-b4140668.entry.js.map +1 -0
  981. package/dist/web-components-library/p-bff500a3.entry.js +2 -0
  982. package/dist/web-components-library/p-bff500a3.entry.js.map +1 -0
  983. package/dist/web-components-library/p-d09060af.entry.js +2 -0
  984. package/dist/web-components-library/p-d09060af.entry.js.map +1 -0
  985. package/dist/web-components-library/p-da213c6e.entry.js +2 -0
  986. package/dist/web-components-library/p-da213c6e.entry.js.map +1 -0
  987. package/dist/web-components-library/p-e4622c5d.entry.js +2 -0
  988. package/dist/web-components-library/p-e4622c5d.entry.js.map +1 -0
  989. package/dist/web-components-library/p-e7e98d15.entry.js +2 -0
  990. package/dist/web-components-library/p-e7e98d15.entry.js.map +1 -0
  991. package/dist/web-components-library/p-e87e13b0.entry.js +2 -0
  992. package/dist/web-components-library/p-e87e13b0.entry.js.map +1 -0
  993. package/dist/web-components-library/p-e9212c7a.entry.js +2 -0
  994. package/dist/web-components-library/p-e9212c7a.entry.js.map +1 -0
  995. package/dist/web-components-library/p-e9722221.entry.js +8 -0
  996. package/dist/web-components-library/p-e9722221.entry.js.map +1 -0
  997. package/dist/web-components-library/p-e9ed3594.entry.js +2 -0
  998. package/dist/web-components-library/p-e9ed3594.entry.js.map +1 -0
  999. package/dist/web-components-library/p-eb5e4333.entry.js +2 -0
  1000. package/dist/web-components-library/p-eb5e4333.entry.js.map +1 -0
  1001. package/dist/web-components-library/p-ee711acf.entry.js +2 -0
  1002. package/dist/web-components-library/p-ee711acf.entry.js.map +1 -0
  1003. package/dist/web-components-library/p-fa4e8b1b.entry.js +2 -0
  1004. package/dist/web-components-library/p-fa4e8b1b.entry.js.map +1 -0
  1005. package/dist/web-components-library/p-fe279683.entry.js +2 -0
  1006. package/dist/web-components-library/p-fe279683.entry.js.map +1 -0
  1007. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1008. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1009. package/package.json +17 -17
  1010. package/react/components.d.ts +1 -0
  1011. package/react/components.js +3 -2
  1012. package/readme.md +8 -19
  1013. package/www/build/index.esm.js +2 -1
  1014. package/www/build/index.esm.js.map +1 -0
  1015. package/www/build/p-0a10c7d7.entry.js +2 -0
  1016. package/www/build/p-0a10c7d7.entry.js.map +1 -0
  1017. package/www/build/p-0de3e2fa.entry.js +2 -0
  1018. package/www/build/p-0de3e2fa.entry.js.map +1 -0
  1019. package/www/build/p-0eb833b6.entry.js +2 -0
  1020. package/www/build/p-0eb833b6.entry.js.map +1 -0
  1021. package/www/build/p-17a9c2b3.entry.js +2 -0
  1022. package/www/build/p-17a9c2b3.entry.js.map +1 -0
  1023. package/www/build/p-235a1c1d.entry.js +2 -0
  1024. package/www/build/p-235a1c1d.entry.js.map +1 -0
  1025. package/www/build/p-286690fd.entry.js +2 -0
  1026. package/www/build/p-286690fd.entry.js.map +1 -0
  1027. package/www/build/p-288c1f55.entry.js +2 -0
  1028. package/www/build/p-288c1f55.entry.js.map +1 -0
  1029. package/www/build/p-2b05eaef.entry.js +2 -0
  1030. package/www/build/p-2b05eaef.entry.js.map +1 -0
  1031. package/www/build/p-2c63a798.entry.js +2 -0
  1032. package/www/build/p-2c63a798.entry.js.map +1 -0
  1033. package/www/build/p-315ac39c.entry.js +2 -0
  1034. package/www/build/p-315ac39c.entry.js.map +1 -0
  1035. package/www/build/p-35653b5e.entry.js +2 -0
  1036. package/www/build/p-35653b5e.entry.js.map +1 -0
  1037. package/www/build/p-38e4e01f.entry.js +2 -0
  1038. package/www/build/p-38e4e01f.entry.js.map +1 -0
  1039. package/www/build/p-3b3e1ffb.entry.js +2 -0
  1040. package/www/build/p-3b3e1ffb.entry.js.map +1 -0
  1041. package/www/build/p-3b7f5d80.entry.js +2 -0
  1042. package/www/build/p-3b7f5d80.entry.js.map +1 -0
  1043. package/www/build/p-40694478.entry.js +2 -0
  1044. package/www/build/p-40694478.entry.js.map +1 -0
  1045. package/www/build/p-440e5b62.entry.js +2 -0
  1046. package/www/build/p-440e5b62.entry.js.map +1 -0
  1047. package/www/build/p-44410388.entry.js +2 -0
  1048. package/www/build/p-44410388.entry.js.map +1 -0
  1049. package/www/build/p-508eb530.entry.js +2 -0
  1050. package/www/build/p-508eb530.entry.js.map +1 -0
  1051. package/www/build/p-50a09bf1.entry.js +2 -0
  1052. package/www/build/p-50a09bf1.entry.js.map +1 -0
  1053. package/www/build/p-54f98f8e.entry.js +2 -0
  1054. package/www/build/p-54f98f8e.entry.js.map +1 -0
  1055. package/www/build/p-5a0424cd.entry.js +2 -0
  1056. package/www/build/p-5a0424cd.entry.js.map +1 -0
  1057. package/www/build/p-5ba350d8.entry.js +2 -0
  1058. package/www/build/p-5ba350d8.entry.js.map +1 -0
  1059. package/www/build/p-643aaedc.entry.js +2 -0
  1060. package/www/build/p-643aaedc.entry.js.map +1 -0
  1061. package/www/build/p-654cbe9f.entry.js +2 -0
  1062. package/www/build/p-654cbe9f.entry.js.map +1 -0
  1063. package/www/build/p-6fc4fd53.entry.js +2 -0
  1064. package/www/build/p-6fc4fd53.entry.js.map +1 -0
  1065. package/www/build/p-72356b43.entry.js +2 -0
  1066. package/www/build/p-72356b43.entry.js.map +1 -0
  1067. package/www/build/p-723c700f.entry.js +2 -0
  1068. package/www/build/p-723c700f.entry.js.map +1 -0
  1069. package/www/build/p-72da35ee.entry.js +2 -0
  1070. package/www/build/p-72da35ee.entry.js.map +1 -0
  1071. package/www/build/p-7313202f.entry.js +2 -0
  1072. package/www/build/p-7313202f.entry.js.map +1 -0
  1073. package/www/build/p-73ed9922.entry.js +2 -0
  1074. package/www/build/p-73ed9922.entry.js.map +1 -0
  1075. package/www/build/p-779a7476.entry.js +2 -0
  1076. package/www/build/p-779a7476.entry.js.map +1 -0
  1077. package/www/build/p-7a25961e.entry.js +2 -0
  1078. package/www/build/p-7a25961e.entry.js.map +1 -0
  1079. package/www/build/p-7dfb5290.entry.js +2 -0
  1080. package/www/build/p-7dfb5290.entry.js.map +1 -0
  1081. package/www/build/p-7fff6cfd.entry.js +2 -0
  1082. package/www/build/p-7fff6cfd.entry.js.map +1 -0
  1083. package/www/build/p-8041306f.entry.js +2 -0
  1084. package/www/build/p-8041306f.entry.js.map +1 -0
  1085. package/www/build/p-8046cab0.entry.js +2 -0
  1086. package/www/build/p-8046cab0.entry.js.map +1 -0
  1087. package/www/build/p-82c43c62.entry.js +2 -0
  1088. package/www/build/p-82c43c62.entry.js.map +1 -0
  1089. package/www/build/p-82e04f79.entry.js +2 -0
  1090. package/www/build/p-82e04f79.entry.js.map +1 -0
  1091. package/www/build/p-87a5a352.entry.js +2 -0
  1092. package/www/build/p-87a5a352.entry.js.map +1 -0
  1093. package/www/build/p-8b0c232c.entry.js +2 -0
  1094. package/www/build/p-8b0c232c.entry.js.map +1 -0
  1095. package/www/build/p-8b1f745c.entry.js +2 -0
  1096. package/www/build/p-8b1f745c.entry.js.map +1 -0
  1097. package/www/build/p-8bd0e3e2.entry.js +2 -0
  1098. package/www/build/p-8bd0e3e2.entry.js.map +1 -0
  1099. package/www/build/p-8ca86be7.entry.js +2 -0
  1100. package/www/build/p-8ca86be7.entry.js.map +1 -0
  1101. package/www/build/p-8ce8d90d.entry.js +2 -0
  1102. package/www/build/p-8ce8d90d.entry.js.map +1 -0
  1103. package/www/build/p-927d9062.entry.js +2 -0
  1104. package/www/build/p-927d9062.entry.js.map +1 -0
  1105. package/www/build/p-931f2a16.entry.js +2 -0
  1106. package/www/build/p-931f2a16.entry.js.map +1 -0
  1107. package/www/build/p-960cd1d9.entry.js +2 -0
  1108. package/www/build/p-960cd1d9.entry.js.map +1 -0
  1109. package/www/build/p-9f0e91f5.entry.js +2 -0
  1110. package/www/build/p-9f0e91f5.entry.js.map +1 -0
  1111. package/www/build/p-AwzX9V8L.js +2 -0
  1112. package/www/build/p-AwzX9V8L.js.map +1 -0
  1113. package/www/build/p-B3nR3-Jw.js +2 -0
  1114. package/www/build/p-B3nR3-Jw.js.map +1 -0
  1115. package/www/build/p-B85MJLTf.js +2 -1
  1116. package/www/build/p-B85MJLTf.js.map +1 -0
  1117. package/www/build/p-BEHxru6n.js +3 -0
  1118. package/www/build/p-BEHxru6n.js.map +1 -0
  1119. package/www/build/p-Bx6o9v2_.js +2 -0
  1120. package/www/build/p-Bx6o9v2_.js.map +1 -0
  1121. package/www/build/p-C8pbzcmM.js +7 -0
  1122. package/www/build/p-C8pbzcmM.js.map +1 -0
  1123. package/www/build/p-CscBC1Z4.js +6 -0
  1124. package/www/build/p-CscBC1Z4.js.map +1 -0
  1125. package/www/build/p-Q-tWjk7P.js +2 -1
  1126. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1127. package/www/build/p-a1db3939.entry.js +2 -0
  1128. package/www/build/p-a1db3939.entry.js.map +1 -0
  1129. package/www/build/p-a6f29ff5.entry.js +2 -0
  1130. package/www/build/p-a6f29ff5.entry.js.map +1 -0
  1131. package/www/build/p-a8e42a7c.entry.js +2 -0
  1132. package/www/build/p-a8e42a7c.entry.js.map +1 -0
  1133. package/www/build/p-a8fe9ae0.entry.js +2 -0
  1134. package/www/build/p-a8fe9ae0.entry.js.map +1 -0
  1135. package/www/build/p-ab64e360.entry.js +2 -0
  1136. package/www/build/p-ab64e360.entry.js.map +1 -0
  1137. package/www/build/p-acba8f34.entry.js +2 -0
  1138. package/www/build/p-acba8f34.entry.js.map +1 -0
  1139. package/www/build/p-ace68b04.entry.js +2 -0
  1140. package/www/build/p-ace68b04.entry.js.map +1 -0
  1141. package/www/build/p-ad88d4a5.entry.js +2 -0
  1142. package/www/build/p-ad88d4a5.entry.js.map +1 -0
  1143. package/www/build/p-ae8d5494.entry.js +2 -0
  1144. package/www/build/p-ae8d5494.entry.js.map +1 -0
  1145. package/www/build/p-af8fec68.entry.js +17 -0
  1146. package/www/build/p-af8fec68.entry.js.map +1 -0
  1147. package/www/build/p-b289ae9e.js +2 -0
  1148. package/www/build/p-b4140668.entry.js +2 -0
  1149. package/www/build/p-b4140668.entry.js.map +1 -0
  1150. package/www/build/p-bff500a3.entry.js +2 -0
  1151. package/www/build/p-bff500a3.entry.js.map +1 -0
  1152. package/www/build/p-d09060af.entry.js +2 -0
  1153. package/www/build/p-d09060af.entry.js.map +1 -0
  1154. package/www/build/p-da213c6e.entry.js +2 -0
  1155. package/www/build/p-da213c6e.entry.js.map +1 -0
  1156. package/www/build/p-e4622c5d.entry.js +2 -0
  1157. package/www/build/p-e4622c5d.entry.js.map +1 -0
  1158. package/www/build/p-e7e98d15.entry.js +2 -0
  1159. package/www/build/p-e7e98d15.entry.js.map +1 -0
  1160. package/www/build/p-e87e13b0.entry.js +2 -0
  1161. package/www/build/p-e87e13b0.entry.js.map +1 -0
  1162. package/www/build/p-e9212c7a.entry.js +2 -0
  1163. package/www/build/p-e9212c7a.entry.js.map +1 -0
  1164. package/www/build/p-e9722221.entry.js +8 -0
  1165. package/www/build/p-e9722221.entry.js.map +1 -0
  1166. package/www/build/p-e9ed3594.entry.js +2 -0
  1167. package/www/build/p-e9ed3594.entry.js.map +1 -0
  1168. package/www/build/p-eb5e4333.entry.js +2 -0
  1169. package/www/build/p-eb5e4333.entry.js.map +1 -0
  1170. package/www/build/p-ee711acf.entry.js +2 -0
  1171. package/www/build/p-ee711acf.entry.js.map +1 -0
  1172. package/www/build/p-fa4e8b1b.entry.js +2 -0
  1173. package/www/build/p-fa4e8b1b.entry.js.map +1 -0
  1174. package/www/build/p-fe279683.entry.js +2 -0
  1175. package/www/build/p-fe279683.entry.js.map +1 -0
  1176. package/www/build/web-components-library.esm.js +2 -1
  1177. package/www/build/web-components-library.esm.js.map +1 -0
  1178. package/www/index.html +1 -1
  1179. package/dist/cjs/iconset-oiCBBbd2.js +0 -1027
  1180. package/dist/cjs/index-D_S5lGcb.js +0 -2683
  1181. package/dist/cjs/index-wGaSHN1_.js +0 -407
  1182. package/dist/cjs/utils-C5_wGVkJ.js +0 -2718
  1183. package/dist/cjs/utils-Ctc6JP2n.js +0 -259
  1184. package/dist/collection/__mocks__/fileMock.js +0 -1
  1185. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  1186. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  1187. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  1188. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  1189. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  1190. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  1191. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  1192. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  1193. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  1194. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  1195. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  1196. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  1197. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  1198. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  1199. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  1200. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  1201. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  1202. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  1203. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  1204. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  1205. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  1206. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  1207. package/dist/collection/components/z-app-header/index.stories.js +0 -318
  1208. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  1209. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  1210. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  1211. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  1212. package/dist/collection/components/z-button/index.stories.js +0 -103
  1213. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  1214. package/dist/collection/components/z-card/index.stories.js +0 -302
  1215. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  1216. package/dist/collection/components/z-chip/index.stories.js +0 -69
  1217. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  1218. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  1219. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  1220. package/dist/collection/components/z-divider/index.stories.js +0 -44
  1221. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  1222. package/dist/collection/components/z-icon/index.stories.js +0 -70
  1223. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  1224. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  1225. package/dist/collection/components/z-input/index.stories.js +0 -293
  1226. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  1227. package/dist/collection/components/z-logo/index.stories.js +0 -25
  1228. package/dist/collection/components/z-menu/index.stories.js +0 -122
  1229. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  1230. package/dist/collection/components/z-modal/index.stories.js +0 -201
  1231. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  1232. package/dist/collection/components/z-notification/index.stories.js +0 -174
  1233. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  1234. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  1235. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  1236. package/dist/collection/components/z-popover/index.stories.js +0 -282
  1237. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  1238. package/dist/collection/components/z-searchbar/index.stories.js +0 -332
  1239. package/dist/collection/components/z-select/index.stories.js +0 -359
  1240. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  1241. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  1242. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  1243. package/dist/collection/components/z-tag/index.stories.js +0 -63
  1244. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  1245. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  1246. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  1247. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  1248. package/dist/collection/components/z-tool/index.stories.js +0 -146
  1249. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  1250. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  1251. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  1252. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  1253. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  1254. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  1255. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  1256. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  1257. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  1258. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  1259. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  1260. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  1261. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  1262. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  1263. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  1264. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  1265. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  1266. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  1267. package/dist/esm/iconset-CjHS9zeM.js +0 -1024
  1268. package/dist/esm/index-BKCj6NR2.js +0 -405
  1269. package/dist/esm/index-DPdXlnVe.js +0 -2653
  1270. package/dist/esm/utils-DYd3kO0P.js +0 -244
  1271. package/dist/esm/utils-DuuLzXZj.js +0 -2712
  1272. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  1273. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  1274. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  1275. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  1276. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  1277. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  1278. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  1279. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  1280. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  1281. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  1282. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  1283. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  1284. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  1285. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  1286. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  1287. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  1288. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  1289. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  1290. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  1291. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  1292. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  1293. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  1294. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  1295. package/dist/types/components/z-app-header/index.stories.d.ts +0 -128
  1296. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  1297. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  1298. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  1299. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  1300. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  1301. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  1302. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  1303. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  1304. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  1305. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  1306. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  1307. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  1308. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  1309. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  1310. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  1311. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  1312. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  1313. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  1314. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  1315. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  1316. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  1317. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  1318. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  1319. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  1320. package/dist/types/components/z-notification/index.stories.d.ts +0 -77
  1321. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  1322. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  1323. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  1324. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  1325. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  1326. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -163
  1327. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  1328. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  1329. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  1330. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  1331. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  1332. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  1333. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  1334. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  1335. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  1336. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  1337. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  1338. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  1339. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  1340. package/dist/web-components-library/p-087956fa.entry.js +0 -1
  1341. package/dist/web-components-library/p-10e5e16e.entry.js +0 -1
  1342. package/dist/web-components-library/p-13e7f751.entry.js +0 -1
  1343. package/dist/web-components-library/p-14b804f9.entry.js +0 -1
  1344. package/dist/web-components-library/p-1580db58.entry.js +0 -1
  1345. package/dist/web-components-library/p-15825811.entry.js +0 -1
  1346. package/dist/web-components-library/p-1993b0ad.entry.js +0 -1
  1347. package/dist/web-components-library/p-1a95491d.entry.js +0 -1
  1348. package/dist/web-components-library/p-1d023220.entry.js +0 -1
  1349. package/dist/web-components-library/p-21c85e04.entry.js +0 -1
  1350. package/dist/web-components-library/p-23b46642.entry.js +0 -1
  1351. package/dist/web-components-library/p-299f0f85.entry.js +0 -1
  1352. package/dist/web-components-library/p-29dde955.entry.js +0 -1
  1353. package/dist/web-components-library/p-2c036e17.entry.js +0 -1
  1354. package/dist/web-components-library/p-2d4c01c3.entry.js +0 -1
  1355. package/dist/web-components-library/p-2dabe353.entry.js +0 -1
  1356. package/dist/web-components-library/p-2df6d169.entry.js +0 -1
  1357. package/dist/web-components-library/p-2ef82e17.entry.js +0 -1
  1358. package/dist/web-components-library/p-324933f6.entry.js +0 -1
  1359. package/dist/web-components-library/p-37e84b71.entry.js +0 -1
  1360. package/dist/web-components-library/p-3c53e451.entry.js +0 -1
  1361. package/dist/web-components-library/p-3ea03d34.entry.js +0 -1
  1362. package/dist/web-components-library/p-41584e90.entry.js +0 -1
  1363. package/dist/web-components-library/p-50e10a10.entry.js +0 -1
  1364. package/dist/web-components-library/p-52899754.entry.js +0 -1
  1365. package/dist/web-components-library/p-53670be4.entry.js +0 -1
  1366. package/dist/web-components-library/p-583b8152.entry.js +0 -1
  1367. package/dist/web-components-library/p-5a05dc1e.entry.js +0 -1
  1368. package/dist/web-components-library/p-5d20fc3d.entry.js +0 -1
  1369. package/dist/web-components-library/p-622466f9.entry.js +0 -1
  1370. package/dist/web-components-library/p-658f022d.entry.js +0 -1
  1371. package/dist/web-components-library/p-6bd35edf.entry.js +0 -1
  1372. package/dist/web-components-library/p-7226f07a.entry.js +0 -1
  1373. package/dist/web-components-library/p-7371a543.entry.js +0 -2
  1374. package/dist/web-components-library/p-77bf39a4.entry.js +0 -1
  1375. package/dist/web-components-library/p-788eaac7.entry.js +0 -1
  1376. package/dist/web-components-library/p-7bf7539a.entry.js +0 -1
  1377. package/dist/web-components-library/p-81eb43fd.entry.js +0 -1
  1378. package/dist/web-components-library/p-8261c869.entry.js +0 -1
  1379. package/dist/web-components-library/p-83da1031.entry.js +0 -1
  1380. package/dist/web-components-library/p-85cac60d.entry.js +0 -1
  1381. package/dist/web-components-library/p-88a3ba7c.entry.js +0 -1
  1382. package/dist/web-components-library/p-8a8df4f4.entry.js +0 -1
  1383. package/dist/web-components-library/p-8b026993.entry.js +0 -1
  1384. package/dist/web-components-library/p-8d7e2e16.entry.js +0 -1
  1385. package/dist/web-components-library/p-8de064a4.entry.js +0 -1
  1386. package/dist/web-components-library/p-8f4a04aa.entry.js +0 -1
  1387. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1388. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1389. package/dist/web-components-library/p-CPsEG702.js +0 -1
  1390. package/dist/web-components-library/p-CjHS9zeM.js +0 -1
  1391. package/dist/web-components-library/p-DPdXlnVe.js +0 -2
  1392. package/dist/web-components-library/p-a4f673f8.entry.js +0 -1
  1393. package/dist/web-components-library/p-aa4fc3d3.entry.js +0 -1
  1394. package/dist/web-components-library/p-aa72d766.entry.js +0 -1
  1395. package/dist/web-components-library/p-ad2cd7fc.entry.js +0 -1
  1396. package/dist/web-components-library/p-b6223d7e.entry.js +0 -1
  1397. package/dist/web-components-library/p-b851f20b.entry.js +0 -1
  1398. package/dist/web-components-library/p-b9343431.entry.js +0 -1
  1399. package/dist/web-components-library/p-be354b22.entry.js +0 -1
  1400. package/dist/web-components-library/p-c42ddd93.entry.js +0 -1
  1401. package/dist/web-components-library/p-c4e7bd16.entry.js +0 -1
  1402. package/dist/web-components-library/p-c944a943.entry.js +0 -1
  1403. package/dist/web-components-library/p-cd33f4b1.entry.js +0 -1
  1404. package/dist/web-components-library/p-cdd88182.entry.js +0 -16
  1405. package/dist/web-components-library/p-d3053434.entry.js +0 -1
  1406. package/dist/web-components-library/p-d63665c1.entry.js +0 -1
  1407. package/dist/web-components-library/p-dabccb20.entry.js +0 -1
  1408. package/dist/web-components-library/p-dc5ab2cc.entry.js +0 -1
  1409. package/dist/web-components-library/p-dfd43710.entry.js +0 -1
  1410. package/dist/web-components-library/p-e1d0a6e3.entry.js +0 -1
  1411. package/dist/web-components-library/p-e48497f0.entry.js +0 -1
  1412. package/dist/web-components-library/p-ec4940ce.entry.js +0 -1
  1413. package/dist/web-components-library/p-eddc2d19.entry.js +0 -1
  1414. package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
  1415. package/dist/web-components-library/p-f7e46ef2.entry.js +0 -1
  1416. package/www/build/p-087956fa.entry.js +0 -1
  1417. package/www/build/p-10e5e16e.entry.js +0 -1
  1418. package/www/build/p-13e7f751.entry.js +0 -1
  1419. package/www/build/p-14b804f9.entry.js +0 -1
  1420. package/www/build/p-1580db58.entry.js +0 -1
  1421. package/www/build/p-15825811.entry.js +0 -1
  1422. package/www/build/p-1993b0ad.entry.js +0 -1
  1423. package/www/build/p-1a95491d.entry.js +0 -1
  1424. package/www/build/p-1d023220.entry.js +0 -1
  1425. package/www/build/p-21c85e04.entry.js +0 -1
  1426. package/www/build/p-23b46642.entry.js +0 -1
  1427. package/www/build/p-299f0f85.entry.js +0 -1
  1428. package/www/build/p-29dde955.entry.js +0 -1
  1429. package/www/build/p-2c036e17.entry.js +0 -1
  1430. package/www/build/p-2d4c01c3.entry.js +0 -1
  1431. package/www/build/p-2dabe353.entry.js +0 -1
  1432. package/www/build/p-2df6d169.entry.js +0 -1
  1433. package/www/build/p-2ef82e17.entry.js +0 -1
  1434. package/www/build/p-324933f6.entry.js +0 -1
  1435. package/www/build/p-37e84b71.entry.js +0 -1
  1436. package/www/build/p-3c53e451.entry.js +0 -1
  1437. package/www/build/p-3ea03d34.entry.js +0 -1
  1438. package/www/build/p-41584e90.entry.js +0 -1
  1439. package/www/build/p-50e10a10.entry.js +0 -1
  1440. package/www/build/p-52899754.entry.js +0 -1
  1441. package/www/build/p-53670be4.entry.js +0 -1
  1442. package/www/build/p-583b8152.entry.js +0 -1
  1443. package/www/build/p-5a05dc1e.entry.js +0 -1
  1444. package/www/build/p-5d20fc3d.entry.js +0 -1
  1445. package/www/build/p-622466f9.entry.js +0 -1
  1446. package/www/build/p-658f022d.entry.js +0 -1
  1447. package/www/build/p-6bd35edf.entry.js +0 -1
  1448. package/www/build/p-7226f07a.entry.js +0 -1
  1449. package/www/build/p-7371a543.entry.js +0 -2
  1450. package/www/build/p-77bf39a4.entry.js +0 -1
  1451. package/www/build/p-788eaac7.entry.js +0 -1
  1452. package/www/build/p-7bf7539a.entry.js +0 -1
  1453. package/www/build/p-81eb43fd.entry.js +0 -1
  1454. package/www/build/p-8261c869.entry.js +0 -1
  1455. package/www/build/p-83da1031.entry.js +0 -1
  1456. package/www/build/p-85cac60d.entry.js +0 -1
  1457. package/www/build/p-88a3ba7c.entry.js +0 -1
  1458. package/www/build/p-8a8df4f4.entry.js +0 -1
  1459. package/www/build/p-8b026993.entry.js +0 -1
  1460. package/www/build/p-8d7e2e16.entry.js +0 -1
  1461. package/www/build/p-8de064a4.entry.js +0 -1
  1462. package/www/build/p-8f4a04aa.entry.js +0 -1
  1463. package/www/build/p-B8WJfd4z.js +0 -1
  1464. package/www/build/p-BKCj6NR2.js +0 -1
  1465. package/www/build/p-CPsEG702.js +0 -1
  1466. package/www/build/p-CjHS9zeM.js +0 -1
  1467. package/www/build/p-DPdXlnVe.js +0 -2
  1468. package/www/build/p-a4f673f8.entry.js +0 -1
  1469. package/www/build/p-aa4fc3d3.entry.js +0 -1
  1470. package/www/build/p-aa72d766.entry.js +0 -1
  1471. package/www/build/p-ad2cd7fc.entry.js +0 -1
  1472. package/www/build/p-b6223d7e.entry.js +0 -1
  1473. package/www/build/p-b851f20b.entry.js +0 -1
  1474. package/www/build/p-b9343431.entry.js +0 -1
  1475. package/www/build/p-be354b22.entry.js +0 -1
  1476. package/www/build/p-c42ddd93.entry.js +0 -1
  1477. package/www/build/p-c4e7bd16.entry.js +0 -1
  1478. package/www/build/p-c5c5a64f.js +0 -1
  1479. package/www/build/p-c944a943.entry.js +0 -1
  1480. package/www/build/p-cd33f4b1.entry.js +0 -1
  1481. package/www/build/p-cdd88182.entry.js +0 -16
  1482. package/www/build/p-d3053434.entry.js +0 -1
  1483. package/www/build/p-d63665c1.entry.js +0 -1
  1484. package/www/build/p-dabccb20.entry.js +0 -1
  1485. package/www/build/p-dc5ab2cc.entry.js +0 -1
  1486. package/www/build/p-dfd43710.entry.js +0 -1
  1487. package/www/build/p-e1d0a6e3.entry.js +0 -1
  1488. package/www/build/p-e48497f0.entry.js +0 -1
  1489. package/www/build/p-ec4940ce.entry.js +0 -1
  1490. package/www/build/p-eddc2d19.entry.js +0 -1
  1491. package/www/build/p-ef5018bb.entry.js +0 -1
  1492. package/www/build/p-f7e46ef2.entry.js +0 -1
@@ -0,0 +1 @@
1
+ {"file":"z-file.cjs.entry.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,qYAAqY,CAAC;;MCUlZ,KAAK,GAAA,MAAA;AANlB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAsBE,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK;AAGpB,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;AAoEvB;IA5DS,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC;AAC/C,QAAA,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE;;IAIlB,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI;;IAI5B,YAAY,GAAA;AACV,QAAA,IAAI,CAAC,cAAc,GAAG,KAAK;;IAI7B,sBAAsB,GAAA;QACpB,IAAI,CAAC,iBAAiB,EAAE;;IAG1B,gBAAgB,GAAA;;AACd,QAAA,IAAI,IAAI,CAAC,kBAAkB,EAAE,IAAI,MAAM,CAAC,UAAU,GAAGA,uBAAW,CAAC,MAAM,EAAE;AACvE,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI;;QAG1B,CAAA,EAAA,GAAA,MAAA,IAAI,CAAC,IAAI,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,KAAK,kDAAI;;IAGd,kBAAkB,GAAA;QACxB,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW;;IAG9D,MAAM,GAAA;AACJ,QAAA,QACEC,QAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACF,IAAI,CAAC,YAAY,KAChBD,wEACE,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,QAAQ,EAAEE,uBAAe,CAAC,IAAI,EAC9B,MAAM,EAAE,IAAI,CAAC,IAAI,EAAA,EAEjBF,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,wBAAwB,EAAA,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAQ,CAC3D,CACb,EACDA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,IAAI,GAAG,EAAsB,CAAC,EACjD,EAAE,EAAE,CAAA,KAAA,EAAQ,IAAI,CAAC,UAAU,CAAA,CAAE,EAC7B,eAAe,EAAC,kBAAkB,EAClC,IAAI,EAAEG,iBAAS,CAAC,OAAO,EAAA,EAEvBH,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,QAAQ,GAAG,EAAqB,CAAC,EACpD,QAAQ,EAAE,EAAE,EAAA,EAEX,IAAI,CAAC,QAAQ,CACT,CACA,CACJ;;;;;;;;","names":["Breakpoints","h","Host","PopoverPosition","ZChipType"],"sources":["src/components/file-upload/z-file/styles.css?tag=z-file&encapsulation=scoped","src/components/file-upload/z-file/index.tsx"],"sourcesContent":[":host {\n position: relative;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > z-popover {\n z-index: 10;\n}\n\n:host > z-popover > .tooltip-content {\n white-space: nowrap;\n}\n\n:host > z-chip span {\n display: block;\n overflow: hidden;\n max-width: 250px;\n letter-spacing: 0.32px;\n line-height: 1.33;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {PopoverPosition, ZChipType} from \"../../../beans\";\nimport {Breakpoints} from \"../../../constants/breakpoints\";\n\n@Component({\n tag: \"z-file\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZFile implements ComponentInterface {\n private icon: HTMLElement;\n\n private ellipsis?: HTMLSpanElement;\n\n private chip?: HTMLZChipElement;\n\n /** File chip id */\n @Prop()\n fileNumber: number;\n\n /** File name */\n @Prop()\n fileName: string;\n\n @State()\n allowPopover = false;\n\n @State()\n popoverVisible = false;\n\n @Element() el: HTMLZFileElement;\n\n /** Emitted when a z-file component is removed from the DOM */\n @Event()\n removeFile: EventEmitter;\n\n private removeFileHandler(): void {\n this.removeFile.emit({fileName: this.fileName});\n this.el.remove();\n }\n\n @Listen(\"mouseover\")\n onMouseOver(): void {\n this.popoverVisible = true;\n }\n\n @Listen(\"mouseleave\")\n onMouseLeave(): void {\n this.popoverVisible = false;\n }\n\n @Listen(\"interactiveIconClick\")\n onInteractiveIconClick(): void {\n this.removeFileHandler();\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {\n this.allowPopover = true;\n }\n\n this.icon?.focus?.();\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n render(): HTMLZFileElement {\n return (\n <Host>\n {this.allowPopover && (\n <z-popover\n open={this.popoverVisible}\n position={PopoverPosition.AUTO}\n bindTo={this.chip}\n >\n <span class=\"body-5 tooltip-content\">{this.ellipsis.innerText}</span>\n </z-popover>\n )}\n <z-chip\n ref={(el) => (this.chip = el as HTMLZChipElement)}\n id={`chip-${this.fileNumber}`}\n interactiveIcon=\"multiply-circled\"\n type={ZChipType.DEFAULT}\n >\n <span\n ref={(el) => (this.ellipsis = el as HTMLSpanElement)}\n tabIndex={-1}\n >\n {this.fileName}\n </span>\n </z-chip>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
4
 
5
5
  const stylesCss = () => `:host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--color-surface02);border-radius:var(--border-radius);transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient( 90deg, var(--color-surface02) 0%, var(--color-surface03) 95%, var(--color-surface02) 100% );content:"";filter:blur(6px)}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}`;
6
6
 
@@ -9,9 +9,12 @@ const ZGhostLoading = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return index.h(index.Host, { key: 'a966fb0e58408172c56e7bb48deb1b5c0e5e0bb8' });
12
+ return index.h(index.Host, { key: '36459896003d9c65cc0e969a184987ddcac8c962' });
13
13
  }
14
14
  };
15
15
  ZGhostLoading.style = stylesCss();
16
16
 
17
17
  exports.z_ghost_loading = ZGhostLoading;
18
+ //# sourceMappingURL=z-ghost-loading.entry.cjs.js.map
19
+
20
+ //# sourceMappingURL=z-ghost-loading.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-ghost-loading.cjs.entry.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,qgBAAqgB,CAAC;;MCMlhB,aAAa,GAAA,MAAA;;;;IACxB,MAAM,GAAA;QACJ,OAAOA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAG;;;;;;;","names":["h","Host"],"sources":["src/components/z-ghost-loading/styles.css?tag=z-ghost-loading&encapsulation=shadow","src/components/z-ghost-loading/index.tsx"],"sourcesContent":[":host {\n display: inline-block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n background: var(--color-surface02);\n border-radius: var(--border-radius);\n transform: translate3d(0, 0, 0);\n}\n\n:host::after {\n display: block;\n width: 100%;\n height: 100%;\n animation: progress 1.6s ease-in-out infinite;\n background-image: linear-gradient(\n 90deg,\n var(--color-surface02) 0%,\n var(--color-surface03) 95%,\n var(--color-surface02) 100%\n );\n content: \"\";\n filter: blur(6px);\n}\n\n@keyframes progress {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n}\n","import {Component, ComponentInterface, h, Host} from \"@stencil/core\";\n@Component({\n tag: \"z-ghost-loading\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZGhostLoading implements ComponentInterface {\n render(): HTMLZGhostLoadingElement {\n return <Host />;\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
4
 
5
5
  const stylesCss = () => `:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--color-primary03);border-radius:var(--border-radius)}:host>div>slot{color:var(--color-default-text);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-primary01)}`;
6
6
 
@@ -15,9 +15,12 @@ const ZInfoBox = class {
15
15
  this.infoBoxClose.emit({ boxid: this.boxid });
16
16
  }
17
17
  render() {
18
- return (index.h("div", { key: 'fd98793fba98d03112f68de408227ecc8576ff1d', id: this.boxid }, index.h("slot", { key: '2bee1952cbc660bb9ff8bdbd0945e01f9204e019', name: "content" }), this.isclosable && (index.h("z-icon", { key: 'ec6380fd48bb52fb1aabca5d22af5641be539cf4', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
18
+ return (index.h("div", { key: 'c3062d082fff5558ebcc44b6c15feaa9d4fdf9f9', id: this.boxid }, index.h("slot", { key: 'd4d4b0bdb644a777c22489afa52c990748bf1da7', name: "content" }), this.isclosable && (index.h("z-icon", { key: '4b02226c9a11e800ad1ac956471683f4546d39c3', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
19
19
  }
20
20
  };
21
21
  ZInfoBox.style = stylesCss();
22
22
 
23
23
  exports.z_info_box = ZInfoBox;
24
+ //# sourceMappingURL=z-info-box.entry.cjs.js.map
25
+
26
+ //# sourceMappingURL=z-info-box.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-info-box.cjs.entry.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,qXAAqX,CAAC;;MCUlY,QAAQ,GAAA,MAAA;AALrB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAYE,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI;AAwBlB;IAlBS,gBAAgB,GAAA;AACtB,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAC,CAAC;;IAG7C,MAAM,GAAA;AACJ,QAAA,QACEA,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAE,IAAI,CAAC,KAAK,EAAA,EACjBA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,SAAS,EAAA,CAAG,EACtB,IAAI,CAAC,UAAU,KACdA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAC,UAAU,EAAA,aAAA,EACH,cAAc,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE,EAAA,CACtC,CACH,CACG;;;;;;;","names":["h"],"sources":["src/components/z-info-box/styles.css?tag=z-info-box&encapsulation=shadow","src/components/z-info-box/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n display: flex;\n width: inherit;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-primary03);\n border-radius: var(--border-radius);\n}\n\n:host > div > slot {\n color: var(--color-default-text);\n font-size: 14px;\n}\n\n:host > div > z-icon {\n margin-left: calc(var(--space-unit) * 2);\n cursor: pointer;\n fill: var(--color-primary01);\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Prop, h} from \"@stencil/core\";\n\n/**\n * @slot content - set the info box content\n */\n@Component({\n tag: \"z-info-box\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoBox implements ComponentInterface {\n /** info box unique id */\n @Prop()\n boxid: string;\n\n /** render close icon flag */\n @Prop()\n isclosable = true;\n\n /** emitted on close icon click */\n @Event()\n infoBoxClose: EventEmitter;\n\n private emitInfoBoxClose(): void {\n this.infoBoxClose.emit({boxid: this.boxid});\n }\n\n render(): HTMLDivElement {\n return (\n <div id={this.boxid}>\n <slot name=\"content\" />\n {this.isclosable && (\n <z-icon\n name=\"multiply\"\n data-action=\"infoBoxClose\"\n onClick={() => this.emitInfoBoxClose()}\n />\n )}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
4
- var index$1 = require('./index-wGaSHN1_.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
+ var index$1 = require('./index-Cn7FFDHr.js');
5
5
 
6
6
  const stylesCss = () => `:host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-small, 18px)}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-x-small, 16px)}.z-info-reveal-panel{position:absolute;z-index:19;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{top:auto !important;bottom:auto !important;width:calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;margin-top:calc(var(--trigger-size) * -1)}}`;
7
7
 
@@ -55,7 +55,7 @@ const ZInfoReveal = class {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (index.h(index.Host, { key: '50e7cc3742371ca616f404374f63ccb337c3dc39', open: this.open }, index.h("button", { key: '906bdf2f949f4ae715ecc746e6e1feab8bf4d797', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && index.h("z-icon", { key: 'a4e890d446384c742df05db58a906b89e536f4e4', name: this.icon }), this.label && index.h("span", { key: 'b9955cb8ed95ecef6904d1cd4c8c9d08205b33c3', class: "z-info-reveal-label" }, this.label)), index.h("div", { key: '8c1d601f8e15f7f6dcd9cf235ff00ad251aaec54', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, index.h("slot", { key: 'c0f217e35810e1463d1f0761337353ea3940cc2b' }), index.h("button", { key: '6e507a1e6424c88dc90bf3fb9a841565d5bc6c6c', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, index.h("z-icon", { key: 'd743f3aae62e253580122d556b933936b316c391', name: "multiply" })))));
58
+ return (index.h(index.Host, { key: 'f9bc69d9bdbc9b2e30687f54877b241b51df3e45', open: this.open }, index.h("button", { key: 'f0dc5ceaf6f24d5597699b3158074403bac8f641', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && index.h("z-icon", { key: '5cddcacfd8d9e5f3dc8a1c171aa50621d6e2b044', name: this.icon }), this.label && index.h("span", { key: '5417e101306098a399a9f8e6a39d1637be4f8901', class: "z-info-reveal-label" }, this.label)), index.h("div", { key: 'bd57a9686560c17c5d670a6fa87396a509ffb50a', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, index.h("slot", { key: 'bd5fd2a1cf9c2a95fbb9ea966a0f09ec1940c9f9' }), index.h("button", { key: '73a9178e3ea240abad5d91f2fd82879313d2df24', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, index.h("z-icon", { key: 'de404809d5ea1fd51b36abc74518448c7502927e', name: "multiply" })))));
59
59
  }
60
60
  get host() { return index.getElement(this); }
61
61
  static get watchers() { return {
@@ -70,3 +70,6 @@ const ZInfoReveal = class {
70
70
  ZInfoReveal.style = stylesCss();
71
71
 
72
72
  exports.z_info_reveal = ZInfoReveal;
73
+ //# sourceMappingURL=z-info-reveal.entry.cjs.js.map
74
+
75
+ //# sourceMappingURL=z-info-reveal.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-info-reveal.cjs.entry.js","mappings":"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","names":["InfoRevealPosition","ControlSize","h","Host"],"sources":["src/components/z-info-reveal/styles.css?tag=z-info-reveal&encapsulation=shadow","src/components/z-info-reveal/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-info-reveal-panel-width: Width of the info panel.\n * @prop --trigger-icon-size: Size of the trigger icon for big size.\n * @prop --trigger-icon-size-small: Size of the trigger icon for small size.\n * @prop --trigger-icon-size-x-small: Size of the trigger icon for x-small size.\n */\n --z-info-reveal-panel-width: 384px; /* defaults to half the maximum size of the mobile breakpoint */\n --trigger-size: 44px;\n\n position: relative;\n}\n\n:host * {\n box-sizing: border-box;\n}\n\nbutton {\n --trigger-icon-size: calc(var(--trigger-size) / 2);\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n font-family: inherit;\n letter-spacing: inherit;\n}\n\nbutton:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-info-reveal-trigger {\n min-width: var(--trigger-size);\n height: var(--trigger-size);\n padding: calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n font-weight: var(--font-sb);\n line-height: 1rem;\n}\n\n:host([size=\"big\"]) .z-info-reveal-trigger {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"small\"]) .z-info-reveal-trigger {\n --trigger-size: 36px;\n\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) .z-info-reveal-trigger {\n --trigger-size: 32px;\n\n padding: var(--space-unit);\n font-size: var(--font-size-1);\n}\n\n:host > .z-info-reveal-trigger z-icon {\n --z-icon-width: var(--trigger-icon-size);\n --z-icon-height: var(--trigger-icon-size);\n\n display: flex;\n fill: var(--color-inverse-icon);\n}\n\n:host([size=\"small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-small, 18px);\n}\n\n:host([size=\"x-small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-x-small, 16px);\n}\n\n.z-info-reveal-panel {\n position: absolute;\n z-index: 19;\n display: flex;\n width: var(--z-info-reveal-panel-width);\n height: fit-content;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 1.5);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-4);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n}\n\n.z-info-reveal-panel[hidden] {\n display: none;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"top_right\"]) .z-info-reveal-panel {\n top: 0;\n}\n\n:host([position=\"bottom_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n bottom: 0;\n}\n\n:host([position=\"top_right\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n right: 0;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_left\"]) .z-info-reveal-panel {\n left: 0;\n}\n\n.z-info-reveal-panel .z-info-reveal-close {\n margin-left: auto;\n}\n\n.z-info-reveal-panel z-icon {\n fill: var(--color-inverse-icon);\n}\n\n@media (max-width: 767px) {\n .z-info-reveal-panel {\n top: auto !important;\n bottom: auto !important;\n width: calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;\n margin-top: calc(var(--trigger-size) * -1);\n }\n}\n","import {Component, ComponentInterface, Element, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../beans\";\n\n/**\n * Info reveal component.\n *\n * @slot - content of the info panel.\n */\n@Component({\n tag: \"z-info-reveal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoReveal implements ComponentInterface {\n /** Name of the icon for the trigger button */\n @Prop()\n icon? = \"informationsource\";\n\n /**\n * The position of the z-info-reveal in the page. This helps to correctly place the info panel.\n * The panel will grow in the opposite direction of the position.\n * For example, with the default position `BOTTOM_RIGHT`, the panel will grow vertically upwards and horizontally to the left.\n */\n @Prop({reflect: true})\n position?: InfoRevealPosition = InfoRevealPosition.BOTTOM_RIGHT;\n\n /** Label of the trigger button. */\n @Prop()\n label?: string;\n\n /** Aria label of the trigger button. It will be only used when `label` prop is empty. */\n @Prop()\n ariaLabel = \"Apri pannello informazioni\";\n\n /** Size of the trigger button */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n /** Whether the info panel is open. */\n @State()\n open = false;\n\n @Element() host: HTMLZInfoRevealElement;\n\n private panel: HTMLDivElement;\n\n /**\n * Adjust the position of the info panel to prevent exiting the viewport.\n */\n @Watch(\"position\")\n @Watch(\"open\")\n @Listen(\"resize\", {target: \"window\", passive: true})\n adjustPanelPosition(): void {\n if (!this.open || !this.panel) {\n return;\n }\n\n const rect = this.host.getBoundingClientRect();\n const gridMargin = parseInt(getComputedStyle(document.documentElement).getPropertyValue(\"--grid-margin\"), 10);\n const pageWidth = document.documentElement.offsetWidth;\n // Available space for the info panel to grow towards the edge of the page, based on the `position` prop.\n const availableSpace = Math.round(\n (this.position.includes(\"left\") ? pageWidth - rect.left : rect.right) - gridMargin\n );\n this.panel.style.maxWidth = `${availableSpace}px`;\n }\n\n /**\n * Toggle the open state of the info panel.\n */\n private togglePanel(): void {\n this.open = !this.open;\n }\n\n /**\n * Close the info panel.\n */\n private closePanel(): void {\n this.open = false;\n }\n\n @Listen(\"keydown\", {target: \"window\", capture: true})\n handleEscapeKey(event: KeyboardEvent): void {\n if (event.key === \"Escape\" && this.open) {\n this.closePanel();\n }\n }\n\n render(): HTMLZInfoRevealElement {\n return (\n <Host open={this.open}>\n <button\n class=\"z-info-reveal-trigger\"\n type=\"button\"\n onClick={this.togglePanel.bind(this)}\n aria-label={!this.label ? this.ariaLabel : undefined}\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-controls=\"z-info-reveal-panel\"\n >\n {this.icon && <z-icon name={this.icon} />}\n {this.label && <span class=\"z-info-reveal-label\">{this.label}</span>}\n </button>\n <div\n class=\"z-info-reveal-panel\"\n id=\"z-info-reveal-panel\"\n ref={(el) => (this.panel = el)}\n hidden={!this.open}\n >\n <slot></slot>\n <button\n class=\"z-info-reveal-close\"\n type=\"button\"\n onClick={this.closePanel.bind(this)}\n aria-label=\"Chiudi pannello informazioni\"\n >\n <z-icon name=\"multiply\" />\n </button>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,145 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DY2I5wAY.js');
4
+ var index$1 = require('./index-Cn7FFDHr.js');
5
+ var utils = require('./utils-kQZHfpti.js');
6
+ require('./breakpoints-B7vFm-3T.js');
7
+
8
+ const stylesCss = () => `:host,*{box-sizing:border-box}:host{--progress:0%;--progress-ratio:0;--z-input-range-thumb-size:calc(var(--space-unit) * 3);display:flex;width:fit-content;height:fit-content;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([size="small"]){--z-input-range-thumb-size:calc(var(--space-unit) * 2)}:host([size="x-small"]){--z-input-range-thumb-size:calc(var(--space-unit) * 1.5)}:host([orientation="vertical"]){height:100%;flex-direction:row}.input-container{--z-input-range-track-size:calc(var(--z-input-range-thumb-size) / 3);position:relative;display:flex;width:100%;height:100%}label.z-label{padding:0;margin-bottom:calc(var(--space-unit) * 1.5)}:host([orientation="vertical"]) label.z-label{display:none}input[type="range"]{--main-color:var(--color-primary01);width:100%;height:var(--z-input-range-thumb-size);padding:0;margin:0;appearance:none;background:transparent;writing-mode:horizontal-tb}input[type="range"]:hover,input[type="range"]:hover~z-tooltip{--main-color:var(--color-hover-primary)}input[type="range"]:focus:focus-visible{outline:none}input[type="range"]:disabled,input[type="range"]:disabled~z-tooltip{--main-color:var(--color-form-disabled03);cursor:default}input[type="range"]::-webkit-slider-runnable-track{width:100%;height:var(--z-input-range-track-size);border:none;appearance:none;background:linear-gradient(var(--main-color), var(--main-color)) 0 / var(--progress) 100% no-repeat, var(--color-surface03);border-radius:var(--border-radius)}:host([orientation="vertical"]) input[type="range"]{width:var(--z-input-range-thumb-size);height:100%;direction:rtl;writing-mode:vertical-lr}:host([orientation="vertical"]) input[type="range"]::-webkit-slider-runnable-track{width:var(--z-input-range-track-size);height:100%;background:linear-gradient(var(--main-color), var(--main-color)) 0 100% / 100% var(--progress) no-repeat, var(--color-surface03)}input[type="range"]::-webkit-slider-thumb{width:var(--z-input-range-thumb-size);height:var(--z-input-range-thumb-size);box-sizing:border-box;border:calc(var(--z-input-range-thumb-size) / 4.8) solid var(--main-color);margin-top:calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);appearance:none;background-color:var(--color-surface01);border-radius:50%}:host([orientation="vertical"]) input[type="range"]::-webkit-slider-thumb{margin-top:0;margin-left:calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2)}input[type="range"]:not(:disabled)::-webkit-slider-runnable-track{cursor:pointer}input[type="range"]:not(:disabled)::-webkit-slider-thumb{cursor:grab}input[type="range"]:focus:not(:active)::-webkit-slider-thumb{box-shadow:var(--shadow-focus-primary)}input[type="range"]:active:not(:disabled)::-webkit-slider-thumb{cursor:grabbing}input[type="range"]::-moz-range-track{width:100%;height:var(--z-input-range-track-size);border:none;appearance:none;background:var(--color-surface03);border-radius:var(--border-radius)}:host([orientation="vertical"]) input[type="range"]::-moz-range-track{width:var(--z-input-range-track-size);height:100%}input[type="range"]::-moz-range-progress{height:var(--z-input-range-track-size);border:none;background:var(--main-color);border-radius:var(--border-radius)}:host([orientation="vertical"]) input[type="range"]::-moz-range-progress{width:var(--z-input-range-track-size);height:auto}input[type="range"]::-moz-range-thumb{width:var(--z-input-range-thumb-size);height:var(--z-input-range-thumb-size);box-sizing:border-box;border:calc(var(--z-input-range-thumb-size) / 4.8) solid var(--main-color);margin-top:calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);appearance:none;background-color:var(--color-surface01);border-radius:50%}:host([orientation="vertical"]) input[type="range"]::-moz-range-thumb{margin-top:0;margin-left:calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2)}input[type="range"]:not(:disabled)::-moz-range-track,input[type="range"]:not(:disabled)::-moz-range-progress{cursor:pointer}input[type="range"]:not(:disabled)::-moz-range-thumb{cursor:grab}input[type="range"]:active:not(:disabled)::-moz-range-thumb{cursor:grabbing}input[type="range"]:focus:not(:active)::-moz-range-thumb{box-shadow:var(--shadow-focus-primary)}.tooltip-guide{--progress-position:calc( (var(--progress-ratio) * (100% - var(--z-input-range-thumb-size))) + (var(--z-input-range-thumb-size) / 2) );position:absolute;z-index:-1;top:0;left:var(--progress-position);width:var(--z-input-range-thumb-size);height:var(--z-input-range-thumb-size);background:transparent;pointer-events:none;transform:translateX(-50%)}:host([orientation="vertical"]) .tooltip-guide{top:auto;bottom:var(--progress-position);left:0;transform:translateY(50%)}z-tooltip{--main-color:var(--color-primary01);--z-tooltip-theme--surface:var(--main-color);--z-tooltip-theme--text:var(--color-text-inverse);--z-tooltip-padding:calc(var(--space-unit) / 2)}z-tooltip .current-value{min-width:calc(var(--space-unit) * 3.5)}.edges{display:flex;justify-content:space-between}.edges :is(.min,.max){min-width:var(--z-input-range-thumb-size);text-align:center}:host([orientation="vertical"]) .edges{display:none}`;
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)}`;
11
+
12
+ const ZInputRange = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.rangeInput = index.createEvent(this, "rangeInput", 7);
16
+ this.rangeChange = index.createEvent(this, "rangeChange", 7);
17
+ if (hostRef.$hostElement$["s-ei"]) {
18
+ this.internals = hostRef.$hostElement$["s-ei"];
19
+ }
20
+ else {
21
+ this.internals = hostRef.$hostElement$.attachInternals();
22
+ hostRef.$hostElement$["s-ei"] = this.internals;
23
+ }
24
+ /** Whether the input range is disabled. */
25
+ this.disabled = false;
26
+ /** ID of the input range. */
27
+ this.htmlId = `z-input-range-${utils.randomId()}`;
28
+ /** The greatest value in the range of permitted values. */
29
+ this.max = 100;
30
+ /** The lowest value in the range of permitted values. */
31
+ this.min = 0;
32
+ /** Whether to show `min` and `max` values of the input range. Only visible with the `horizontal` orientation. */
33
+ this.showEdges = false;
34
+ /** The step value for the input range. */
35
+ this.step = 1;
36
+ /** The value of the input range. */
37
+ this.value = 0;
38
+ /** The current value of the input range synchronized with the native input element. */
39
+ this.currentValue = this.value;
40
+ /**
41
+ * Whether to show the tooltip displaying the current value.
42
+ * The tooltip is shown only when the input range is focused or while the user is changing the value.
43
+ */
44
+ this.showValueTooltip = false;
45
+ /**
46
+ * Whether the native input value needs to be synced with the component state.
47
+ * This is necessary when the `step` prop changes, as the browser may round the value,
48
+ * so we need to update the component state accordingly.
49
+ */
50
+ this.needsNativeValueSync = false;
51
+ }
52
+ get ariaLabel() {
53
+ var _a;
54
+ return (_a = this.htmlAriaLabel) !== null && _a !== void 0 ? _a : (this.orientation === index$1.Orientation.VERTICAL ? this.label : undefined);
55
+ }
56
+ get tooltipPosition() {
57
+ var _a;
58
+ return ((_a = this.valuePosition) !== null && _a !== void 0 ? _a : (this.orientation === index$1.Orientation.VERTICAL ? index$1.PopoverPosition.LEFT : index$1.PopoverPosition.TOP));
59
+ }
60
+ updateCurrentValue(nextValue) {
61
+ if (Number.isNaN(nextValue) || nextValue === this.currentValue) {
62
+ return;
63
+ }
64
+ this.currentValue = nextValue;
65
+ this.internals.setFormValue(this.currentValue.toString());
66
+ }
67
+ /** Calculates the current ratio of the input range value. */
68
+ getCurrentRatio() {
69
+ const range = this.max - this.min;
70
+ if (range <= 0) {
71
+ return 0;
72
+ }
73
+ const ratio = (this.currentValue - this.min) / range;
74
+ return Math.min(1, Math.max(0, ratio));
75
+ }
76
+ /** Updates the CSS variables used to color the track progress and tooltip guide position. */
77
+ updateProgress() {
78
+ var _a, _b;
79
+ const ratio = this.getCurrentRatio();
80
+ const progress = ratio * 100;
81
+ (_a = this.host) === null || _a === void 0 ? void 0 : _a.style.setProperty("--progress-ratio", `${ratio}`);
82
+ (_b = this.host) === null || _b === void 0 ? void 0 : _b.style.setProperty("--progress", `${progress}%`);
83
+ }
84
+ /**
85
+ * Syncs current value from native input after render-time browser coercions:
86
+ * when `step` changes, the browser may round the value, so we need to update the component state accordingly.
87
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/range#step
88
+ */
89
+ syncCurrentValueFromNativeInput() {
90
+ if (!this.inputRef) {
91
+ return;
92
+ }
93
+ this.updateCurrentValue(this.inputRef.valueAsNumber);
94
+ this.updateProgress();
95
+ }
96
+ onInput(event) {
97
+ event.stopPropagation();
98
+ this.syncCurrentValueFromNativeInput();
99
+ this.rangeInput.emit(this.currentValue);
100
+ }
101
+ onChange(event) {
102
+ event.stopPropagation();
103
+ this.syncCurrentValueFromNativeInput();
104
+ this.rangeChange.emit(this.currentValue);
105
+ }
106
+ onConstraintsChange() {
107
+ this.needsNativeValueSync = true;
108
+ }
109
+ componentDidLoad() {
110
+ this.needsNativeValueSync = true;
111
+ this.syncCurrentValueFromNativeInput();
112
+ }
113
+ componentDidRender() {
114
+ if (!this.needsNativeValueSync) {
115
+ return;
116
+ }
117
+ this.syncCurrentValueFromNativeInput();
118
+ this.needsNativeValueSync = false;
119
+ }
120
+ render() {
121
+ return (index.h(index.Host, { key: '4297a1ce9ebf313882a70733661321a2f5bde38d' }, this.label && (index.h("label", { key: '933af2d529a852f226e0fe9eb18109fc5b7feccd', class: "z-label", htmlFor: this.htmlId }, this.label)), index.h("div", { key: '5a6a44ec7bc2fe7a292474027c1f39fc6d7cb9aa', class: "input-container body-3" }, index.h("input", { key: '2759d81abdf6106cd29a261081b2d60495d2fe8d', ref: (el) => (this.inputRef = el), type: "range", "aria-label": this.ariaLabel, id: this.htmlId, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.currentValue, onInput: (event) => this.onInput(event), onChange: (event) => this.onChange(event), onFocus: () => (this.showValueTooltip = true), onBlur: () => (this.showValueTooltip = false) }), index.h("div", { key: '252ee3a382b279cf6bb397d066300dd97cca2537', class: "tooltip-guide", ref: (el) => (this.tooltipGuideRef = el) }), index.h("z-tooltip", { key: 'e8795cd4df104297809f79f13fdf5317cbb20ec1', position: this.tooltipPosition, bindTo: this.tooltipGuideRef, open: this.showValueTooltip, closable: false }, index.h("div", { key: '92186a95ac641beaff9afdd95537f85161ab7186', class: "current-value" }, this.currentValue))), this.showEdges && (index.h("div", { key: 'd09e29dc8bef5b376a5d04d138f70c5c43f8bebe', class: "edges body-3" }, index.h("span", { key: 'fea33d9d289b5f31da1b0c756b347fa25892940f', class: "min" }, this.min), index.h("span", { key: '602ac1fc4957b2262bb2bb2c802898c6296e31f6', class: "max" }, this.max)))));
122
+ }
123
+ static get formAssociated() { return true; }
124
+ get host() { return index.getElement(this); }
125
+ static get watchers() { return {
126
+ "min": [{
127
+ "onConstraintsChange": 0
128
+ }],
129
+ "max": [{
130
+ "onConstraintsChange": 0
131
+ }],
132
+ "step": [{
133
+ "onConstraintsChange": 0
134
+ }],
135
+ "value": [{
136
+ "onConstraintsChange": 0
137
+ }]
138
+ }; }
139
+ };
140
+ ZInputRange.style = stylesCss() + typographyCss();
141
+
142
+ exports.z_input_range = ZInputRange;
143
+ //# sourceMappingURL=z-input-range.entry.cjs.js.map
144
+
145
+ //# sourceMappingURL=z-input-range.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-input-range.cjs.entry.js","mappings":"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","names":["randomId","Orientation","PopoverPosition","h","Host"],"sources":["src/components/z-input-range/styles.css?tag=z-input-range&encapsulation=shadow","src/tokens/typography.css?tag=z-input-range&encapsulation=shadow","src/components/z-input-range/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n:host {\n /* Internal CSS variable used to store the progress of the input range as a percentage.\n Needed to color the progress in the runnable track of the input (only Firefox natively provides a pseudo-element to do that: `::-moz-range-progress`).\n The value is updated by the component. */\n --progress: 0%;\n\n /* Internal CSS variable used to store the ratio of the current value to the total range, used for positioning the tooltip guide.\n The value is updated by the component. */\n --progress-ratio: 0;\n --z-input-range-thumb-size: calc(var(--space-unit) * 3);\n\n display: flex;\n width: fit-content;\n height: fit-content;\n flex-direction: column;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host([size=\"small\"]) {\n --z-input-range-thumb-size: calc(var(--space-unit) * 2);\n}\n\n:host([size=\"x-small\"]) {\n --z-input-range-thumb-size: calc(var(--space-unit) * 1.5);\n}\n\n:host([orientation=\"vertical\"]) {\n height: 100%;\n flex-direction: row;\n}\n\n.input-container {\n /* Thickness of the track. It is calculated as one-third of the thumb size. */\n --z-input-range-track-size: calc(var(--z-input-range-thumb-size) / 3);\n\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n}\n\nlabel.z-label {\n padding: 0;\n margin-bottom: calc(var(--space-unit) * 1.5);\n}\n\n:host([orientation=\"vertical\"]) label.z-label {\n display: none;\n}\n\ninput[type=\"range\"] {\n --main-color: var(--color-primary01);\n\n width: 100%;\n height: var(--z-input-range-thumb-size);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n writing-mode: horizontal-tb;\n}\n\ninput[type=\"range\"]:hover,\ninput[type=\"range\"]:hover ~ z-tooltip {\n --main-color: var(--color-hover-primary);\n}\n\ninput[type=\"range\"]:focus:focus-visible {\n outline: none;\n}\n\ninput[type=\"range\"]:disabled,\ninput[type=\"range\"]:disabled ~ z-tooltip {\n --main-color: var(--color-form-disabled03);\n\n cursor: default;\n}\n\ninput[type=\"range\"]::-webkit-slider-runnable-track {\n width: 100%;\n height: var(--z-input-range-track-size);\n border: none;\n appearance: none;\n background:\n linear-gradient(var(--main-color), var(--main-color)) 0 / var(--progress) 100% no-repeat,\n var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"] {\n width: var(--z-input-range-thumb-size);\n height: 100%;\n direction: rtl;\n writing-mode: vertical-lr;\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"]::-webkit-slider-runnable-track {\n width: var(--z-input-range-track-size);\n height: 100%;\n background:\n linear-gradient(var(--main-color), var(--main-color)) 0 100% / 100% var(--progress) no-repeat,\n var(--color-surface03);\n}\n\ninput[type=\"range\"]::-webkit-slider-thumb {\n width: var(--z-input-range-thumb-size);\n height: var(--z-input-range-thumb-size);\n box-sizing: border-box;\n border: calc(var(--z-input-range-thumb-size) / 4.8) solid var(--main-color);\n margin-top: calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);\n appearance: none;\n background-color: var(--color-surface01);\n border-radius: 50%;\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"]::-webkit-slider-thumb {\n margin-top: 0;\n margin-left: calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);\n}\n\ninput[type=\"range\"]:not(:disabled)::-webkit-slider-runnable-track {\n cursor: pointer;\n}\n\ninput[type=\"range\"]:not(:disabled)::-webkit-slider-thumb {\n cursor: grab;\n}\n\ninput[type=\"range\"]:focus:not(:active)::-webkit-slider-thumb {\n box-shadow: var(--shadow-focus-primary);\n}\n\ninput[type=\"range\"]:active:not(:disabled)::-webkit-slider-thumb {\n cursor: grabbing;\n}\n\n/* --- Firefox styles --- */\n\n/* All styles must be duplicated, because using comma-separated selectors\n(like `input[type=\"range\"]::-webkit-slider-thumb, input[type=\"range\"]::-moz-range-thumb`) would break webkit styles...\n*/\ninput[type=\"range\"]::-moz-range-track {\n width: 100%;\n height: var(--z-input-range-track-size);\n border: none;\n appearance: none;\n background: var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"]::-moz-range-track {\n width: var(--z-input-range-track-size);\n height: 100%;\n}\n\ninput[type=\"range\"]::-moz-range-progress {\n height: var(--z-input-range-track-size);\n border: none;\n background: var(--main-color);\n border-radius: var(--border-radius);\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"]::-moz-range-progress {\n width: var(--z-input-range-track-size);\n height: auto;\n}\n\ninput[type=\"range\"]::-moz-range-thumb {\n width: var(--z-input-range-thumb-size);\n height: var(--z-input-range-thumb-size);\n box-sizing: border-box;\n border: calc(var(--z-input-range-thumb-size) / 4.8) solid var(--main-color);\n margin-top: calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);\n appearance: none;\n background-color: var(--color-surface01);\n border-radius: 50%;\n}\n\n:host([orientation=\"vertical\"]) input[type=\"range\"]::-moz-range-thumb {\n margin-top: 0;\n margin-left: calc((var(--z-input-range-track-size) - var(--z-input-range-thumb-size)) / 2);\n}\n\ninput[type=\"range\"]:not(:disabled)::-moz-range-track,\ninput[type=\"range\"]:not(:disabled)::-moz-range-progress {\n cursor: pointer;\n}\n\ninput[type=\"range\"]:not(:disabled)::-moz-range-thumb {\n cursor: grab;\n}\n\ninput[type=\"range\"]:active:not(:disabled)::-moz-range-thumb {\n cursor: grabbing;\n}\n\ninput[type=\"range\"]:focus:not(:active)::-moz-range-thumb {\n box-shadow: var(--shadow-focus-primary);\n}\n\n/* --- End of Firefox styles --- */\n\n.tooltip-guide {\n --progress-position: calc(\n (var(--progress-ratio) * (100% - var(--z-input-range-thumb-size))) + (var(--z-input-range-thumb-size) / 2)\n );\n\n position: absolute;\n z-index: -1;\n top: 0;\n\n /* `--progress` is good for painting the filled track, but not enough for representing the thumb center.\n * The thumb center cannot go from 0 to 100%:\n * at min it sits at thumbSize/2, and at max it sits at width - thumbSize/2.\n * So we map a normalized ratio (0..1) over the usable travel distance\n * (width - thumbSize), then add thumbSize/2 to get the correct center coordinate.\n */\n left: var(--progress-position);\n width: var(--z-input-range-thumb-size);\n height: var(--z-input-range-thumb-size);\n background: transparent;\n pointer-events: none;\n transform: translateX(-50%);\n}\n\n:host([orientation=\"vertical\"]) .tooltip-guide {\n top: auto;\n bottom: var(--progress-position);\n left: 0;\n transform: translateY(50%);\n}\n\nz-tooltip {\n --main-color: var(--color-primary01);\n --z-tooltip-theme--surface: var(--main-color);\n --z-tooltip-theme--text: var(--color-text-inverse);\n --z-tooltip-padding: calc(var(--space-unit) / 2);\n}\n\nz-tooltip .current-value {\n min-width: calc(var(--space-unit) * 3.5);\n}\n\n.edges {\n display: flex;\n justify-content: space-between;\n}\n\n.edges :is(.min, .max) {\n min-width: var(--z-input-range-thumb-size); /* visually align single digit values to the center of the thumb */\n text-align: center;\n}\n\n:host([orientation=\"vertical\"]) .edges {\n display: none;\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 {\n AttachInternals,\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {ControlSize, Orientation, PopoverPosition} from \"../../beans\";\nimport {randomId} from \"../../utils/utils\";\n\n/**\n * Input range component.\n */\n@Component({\n tag: \"z-input-range\",\n styleUrls: [\"styles.css\", \"../../tokens/typography.css\"],\n shadow: true,\n formAssociated: true,\n})\nexport class ZInputRange implements ComponentInterface {\n @Element() host: HTMLZInputRangeElement;\n\n @AttachInternals() internals: ElementInternals;\n\n /** Whether the input range is disabled. */\n @Prop()\n disabled = false;\n\n /**\n * The aria label of the input range. for accessibility.\n * Not necessary if the `label` prop is set.\n */\n @Prop()\n htmlAriaLabel: string;\n\n /** ID of the input range. */\n @Prop()\n htmlId = `z-input-range-${randomId()}`;\n\n /**\n * The label of the input range.\n * When `orientation` is set to `vertical`, the label is not visible but used as `aria-label`, unless `htmlAriaLabel` is provided.\n */\n @Prop()\n label: string;\n\n /** The greatest value in the range of permitted values. */\n @Prop()\n max = 100;\n\n /** The lowest value in the range of permitted values. */\n @Prop()\n min = 0;\n\n /** The orientation of the input range. */\n @Prop({reflect: true})\n orientation: Orientation;\n\n /** Whether to show `min` and `max` values of the input range. Only visible with the `horizontal` orientation. */\n @Prop()\n showEdges = false;\n\n /** The size of the input range. Default: `ControlSize.BIG` */\n @Prop({reflect: true})\n size: ControlSize.BIG;\n\n /** The step value for the input range. */\n @Prop()\n step = 1;\n\n /** The value of the input range. */\n @Prop()\n value = 0;\n\n /**\n * The position of the tooltip displaying the current value.\n * Defaults to `top` for horizontal orientation and `left` for vertical orientation.\n * May be necessary to adjust this prop when the input range is close to the edges of the screen,\n * to prevent the tooltip from showing out of the screen or in an unintended position due to auto adjustment.\n * For example, for a horizontal input range close to the top of the screen, you may want to set this prop to `bottom`.\n */\n @Prop()\n valuePosition: PopoverPosition.TOP | PopoverPosition.BOTTOM | PopoverPosition.LEFT | PopoverPosition.RIGHT;\n\n /** Emitted when the value of the input range is being changed (`input` native event). */\n @Event()\n rangeInput: EventEmitter<number>;\n\n /** Emitted when the value of the input range has changed (`change` native event). */\n @Event()\n rangeChange: EventEmitter<number>;\n\n /** The current value of the input range synchronized with the native input element. */\n @State()\n currentValue = this.value;\n\n /**\n * Whether to show the tooltip displaying the current value.\n * The tooltip is shown only when the input range is focused or while the user is changing the value.\n */\n @State()\n showValueTooltip = false;\n\n /**\n * Whether the native input value needs to be synced with the component state.\n * This is necessary when the `step` prop changes, as the browser may round the value,\n * so we need to update the component state accordingly.\n */\n private needsNativeValueSync = false;\n\n private inputRef: HTMLInputElement;\n\n private tooltipGuideRef: HTMLSpanElement;\n\n private get ariaLabel(): string | undefined {\n return this.htmlAriaLabel ?? (this.orientation === Orientation.VERTICAL ? this.label : undefined);\n }\n\n private get tooltipPosition(): typeof this.valuePosition {\n return (\n this.valuePosition ?? (this.orientation === Orientation.VERTICAL ? PopoverPosition.LEFT : PopoverPosition.TOP)\n );\n }\n\n private updateCurrentValue(nextValue: number): void {\n if (Number.isNaN(nextValue) || nextValue === this.currentValue) {\n return;\n }\n\n this.currentValue = nextValue;\n this.internals.setFormValue(this.currentValue.toString());\n }\n\n /** Calculates the current ratio of the input range value. */\n private getCurrentRatio(): number {\n const range = this.max - this.min;\n if (range <= 0) {\n return 0;\n }\n\n const ratio = (this.currentValue - this.min) / range;\n\n return Math.min(1, Math.max(0, ratio));\n }\n\n /** Updates the CSS variables used to color the track progress and tooltip guide position. */\n private updateProgress(): void {\n const ratio = this.getCurrentRatio();\n const progress = ratio * 100;\n\n this.host?.style.setProperty(\"--progress-ratio\", `${ratio}`);\n this.host?.style.setProperty(\"--progress\", `${progress}%`);\n }\n\n /**\n * Syncs current value from native input after render-time browser coercions:\n * when `step` changes, the browser may round the value, so we need to update the component state accordingly.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/range#step\n */\n private syncCurrentValueFromNativeInput(): void {\n if (!this.inputRef) {\n return;\n }\n\n this.updateCurrentValue(this.inputRef.valueAsNumber);\n this.updateProgress();\n }\n\n private onInput(event: InputEvent): void {\n event.stopPropagation();\n this.syncCurrentValueFromNativeInput();\n this.rangeInput.emit(this.currentValue);\n }\n\n private onChange(event: Event): void {\n event.stopPropagation();\n this.syncCurrentValueFromNativeInput();\n this.rangeChange.emit(this.currentValue);\n }\n\n @Watch(\"min\")\n @Watch(\"max\")\n @Watch(\"step\")\n @Watch(\"value\")\n onConstraintsChange(): void {\n this.needsNativeValueSync = true;\n }\n\n componentDidLoad() {\n this.needsNativeValueSync = true;\n this.syncCurrentValueFromNativeInput();\n }\n\n componentDidRender() {\n if (!this.needsNativeValueSync) {\n return;\n }\n\n this.syncCurrentValueFromNativeInput();\n this.needsNativeValueSync = false;\n }\n\n render() {\n return (\n <Host>\n {this.label && (\n <label\n class=\"z-label\"\n htmlFor={this.htmlId}\n >\n {this.label}\n </label>\n )}\n <div class=\"input-container body-3\">\n <input\n ref={(el) => (this.inputRef = el)}\n type=\"range\"\n aria-label={this.ariaLabel}\n id={this.htmlId}\n disabled={this.disabled}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.currentValue}\n onInput={(event) => this.onInput(event)}\n onChange={(event) => this.onChange(event)}\n onFocus={() => (this.showValueTooltip = true)}\n onBlur={() => (this.showValueTooltip = false)}\n />\n <div\n class=\"tooltip-guide\"\n ref={(el) => (this.tooltipGuideRef = el)}\n ></div>\n <z-tooltip\n position={this.tooltipPosition}\n bindTo={this.tooltipGuideRef}\n open={this.showValueTooltip}\n closable={false}\n >\n <div class=\"current-value\">{this.currentValue}</div>\n </z-tooltip>\n </div>\n {this.showEdges && (\n <div class=\"edges body-3\">\n <span class=\"min\">{this.min}</span>\n <span class=\"max\">{this.max}</span>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
4
 
5
- const stylesCss = () => `:host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}`;
5
+ const stylesCss = () => `:host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}a{display:block;width:100%;height:100%}a:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}`;
6
6
 
7
7
  const ZLogo = class {
8
8
  constructor(hostRef) {
@@ -16,9 +16,12 @@ const ZLogo = class {
16
16
  if (this.height) {
17
17
  style["height"] = style["max-height"] = `${this.height}px`;
18
18
  }
19
- return (index.h(index.Host, { key: '649a64cb6a489dd102212f138c42446b3b1dbd79', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (index.h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, index.h("img", { alt: this.imageAlt }))) : (index.h("img", { alt: this.imageAlt }))));
19
+ return (index.h(index.Host, { key: '35e05af6b6f866d00ee18e9f88c56665a70ffaf1', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (index.h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, index.h("img", { alt: this.imageAlt }))) : (index.h("img", { alt: this.imageAlt }))));
20
20
  }
21
21
  };
22
22
  ZLogo.style = stylesCss();
23
23
 
24
24
  exports.z_logo = ZLogo;
25
+ //# sourceMappingURL=z-logo.entry.cjs.js.map
26
+
27
+ //# sourceMappingURL=z-logo.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-logo.cjs.entry.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,g5IAAg5I,CAAC;;MCO75I,KAAK,GAAA,MAAA;;;;IAyBhB,MAAM,GAAA;QACJ,MAAM,KAAK,GAAG,EAAE;AAEhB,QAAA,IAAI,IAAI,CAAC,KAAK,EAAE;AACd,YAAA,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,CAAA,EAAG,IAAI,CAAC,KAAK,IAAI;;AAGzD,QAAA,IAAI,IAAI,CAAC,MAAM,EAAE;AACf,YAAA,KAAK,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAA,EAAG,IAAI,CAAC,MAAM,IAAI;;QAG5D,QACEA,QAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,EAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,EAAC,EAAA,EAEjC,IAAI,CAAC,IAAI,IACRD,OAAA,CAAA,GAAA,EAAA,EACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,GAAG,QAAQ,GAAG,OAAO,EAAA,EAE7CA,OAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CACzB,KAEJA,OAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CAC5B,CACI;;;;;;;","names":["h","Host"],"sources":["src/components/z-logo/styles.css?tag=z-logo&encapsulation=shadow","src/components/z-logo/index.tsx"],"sourcesContent":[":host {\n display: inline-block;\n width: 255px;\n height: 64px;\n vertical-align: top;\n}\n\nimg {\n display: block;\n width: 100%;\n height: 100%;\n margin: auto;\n content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n}\n\na {\n display: block;\n width: 100%;\n height: 100%;\n}\n\na:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(.mobile) {\n width: 31px;\n height: 40px;\n}\n\n:host(.mobile) img {\n content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n}\n","import {Component, ComponentInterface, Host, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-logo\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZLogo implements ComponentInterface {\n /** image width */\n @Prop()\n width?: number;\n\n /** image height */\n @Prop()\n height?: number;\n\n /** alternative image text */\n @Prop()\n imageAlt?: string;\n\n /** link url (optional) */\n @Prop()\n link?: string;\n\n /** link target: true means _blank, false means _self */\n @Prop()\n targetBlank?: boolean;\n\n /** if true, the mobile logo is displayed, otherwise the desktop one */\n @Prop()\n mobileLogo?: boolean;\n\n render(): HTMLZLogoElement {\n const style = {};\n\n if (this.width) {\n style[\"width\"] = style[\"max-width\"] = `${this.width}px`;\n }\n\n if (this.height) {\n style[\"height\"] = style[\"max-height\"] = `${this.height}px`;\n }\n\n return (\n <Host\n style={style}\n class={{mobile: !!this.mobileLogo}}\n >\n {this.link ? (\n <a\n href={this.link}\n target={this.targetBlank ? \"_blank\" : \"_self\"}\n >\n <img alt={this.imageAlt} />\n </a>\n ) : (\n <img alt={this.imageAlt} />\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
4
 
5
- const stylesCss = () => `:host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column;--z-menu-label-color:var(--color-default-text)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:"";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-primary01)}::slotted([data-text])::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active){border-color:var(--color-primary01);font-weight:var(--font-bd)}`;
5
+ const stylesCss = () => `:host,::slotted(*),*{box-sizing:border-box}:host{--z-menu-label-color:var(--color-default-text);position:relative;display:inline-flex;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:"";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-primary01)}::slotted([data-text])::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active){border-color:var(--color-primary01);font-weight:var(--font-bd)}`;
6
6
 
7
7
  const ZMenuDeprecated = class {
8
8
  toggle() {
@@ -110,7 +110,7 @@ const ZMenuDeprecated = class {
110
110
  return (index.h("div", { class: "menu-label" }, index.h("div", { class: "menu-label-content" }, index.h("slot", { onSlotchange: this.onLabelSlotChange }))));
111
111
  }
112
112
  render() {
113
- return (index.h(index.Host, { key: 'c0cc18338db770e7b369bce7e469445219326566' }, this.renderMenuLabel(), this.hasContent && (index.h("div", { key: 'c895c377c1cc572c18bbc56e9cb8c513346d1ae4', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (index.h("header", { key: '17df894168c27a4ec0599d10bb885761b5eded54', class: "header" }, index.h("slot", { key: 'd50f55ef51bdf388a75bc8739c29a58f32c6b316', name: "header", onSlotchange: this.checkContent }))), index.h("div", { key: '948157a99d60c696fa97b8b904366dc0992e87da', class: "items", role: "menu" }, index.h("slot", { key: 'e93150d2a5e7c1e33d7cfe8f297e9990e0d5c01e', name: "item", onSlotchange: this.onItemsChange }))))));
113
+ return (index.h(index.Host, { key: 'dde3e828c6617646ed848e91c53dc624fc23bc2d' }, this.renderMenuLabel(), this.hasContent && (index.h("div", { key: '9888a27020733770e87e87f2ac6193dc0430e36b', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (index.h("header", { key: '09a21728b3cfc859dbdf59b2441326a610c2869f', class: "header" }, index.h("slot", { key: '72bbb4073b1e76569770dc7089526e9f9b055089', name: "header", onSlotchange: this.checkContent }))), index.h("div", { key: 'f53e86dea26861a62f3e924e67f14c97e42f7861', class: "items", role: "menu" }, index.h("slot", { key: '2b6e230e79f472828b85ba40281c9781a14dcef6', name: "item", onSlotchange: this.onItemsChange }))))));
114
114
  }
115
115
  get hostElement() { return index.getElement(this); }
116
116
  static get watchers() { return {
@@ -122,3 +122,6 @@ const ZMenuDeprecated = class {
122
122
  ZMenuDeprecated.style = stylesCss();
123
123
 
124
124
  exports.z_menu_deprecated = ZMenuDeprecated;
125
+ //# sourceMappingURL=z-menu-deprecated.entry.cjs.js.map
126
+
127
+ //# sourceMappingURL=z-menu-deprecated.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-menu-deprecated.cjs.entry.js","mappings":"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","names":["h","Host"],"sources":["src/components/deprecated/z-menu-deprecated/styles.css?tag=z-menu-deprecated&encapsulation=shadow","src/components/deprecated/z-menu-deprecated/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n}\n\n:host {\n /**\n * @prop --z-menu-label-color: Color of the label's text.\n */\n --z-menu-label-color: var(--color-default-text);\n\n position: relative;\n display: inline-flex;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n outline: none;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n z-index: 1;\n padding-right: calc(var(--space-unit) * 0.5);\n padding-left: calc(var(--space-unit) * 0.5);\n margin-right: calc(var(--space-unit) * -0.5);\n margin-left: calc(var(--space-unit) * -0.5);\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*) {\n letter-spacing: normal;\n}\n\n:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible) {\n box-shadow: none !important;\n}\n\n/* border */\n:host(:is([active], [open], [vertical-context])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n content: \"\";\n pointer-events: none;\n}\n\n:host([vertical-context]) .menu-label-content::after {\n height: var(--border-size-small);\n background-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text])::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.menu-label .menu-label-content ::slotted(*) {\n display: inline-flex;\n width: 100%;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-5);\n font-weight: inherit;\n letter-spacing: 0.36px; /* increasing the letter spacing of the regular text helps reduce the size difference between regular and bold text */\n line-height: 1.2;\n outline: none;\n}\n\n.menu-label .menu-label-content ::slotted(*),\n.menu-label .menu-label-content z-icon {\n padding: var(--space-unit) 0;\n}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.\n */\n@Component({\n tag: \"z-menu-deprecated\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuDeprecated implements ComponentInterface {\n @Element() hostElement: HTMLZMenuDeprecatedElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = false;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n private content: HTMLElement;\n\n /** Animation frame request id. */\n private raf: number;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n if (this.open) {\n this.opened.emit();\n } else {\n this.closed.emit();\n }\n }\n\n /** Close the floating list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.floating || !this.open || this.hostElement.contains(ev.target as Element)) {\n return;\n }\n\n this.reflow();\n this.open = false;\n this.closed.emit();\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (this.open) {\n this.reflow(true);\n } else {\n cancelAnimationFrame(this.raf);\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content) {\n const {style} = this.content;\n const {left} = this.hostElement.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.hostElement.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.hostElement.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items.\n * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).\n */\n private onItemsChange(): void {\n this.checkContent();\n const items = this.hostElement.querySelectorAll<HTMLElement>(\"[slot=item]\");\n items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.dataset.text = item.textContent;\n });\n }\n\n private renderMenuLabel(): HTMLButtonElement | HTMLDivElement {\n if (this.hasContent) {\n return (\n <button\n class=\"menu-label\"\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n onClick={this.toggle}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n );\n }\n\n return (\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n </div>\n </div>\n );\n }\n\n render(): HTMLZMenuElement {\n return (\n <Host>\n {this.renderMenuLabel()}\n\n {this.hasContent && (\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n ></slot>\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n ></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D_S5lGcb.js');
3
+ var index = require('./index-DY2I5wAY.js');
4
4
 
5
5
  const stylesCss = () => `:host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-primary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot="item"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-primary01)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"][active]){color:var(--color-primary01);font-weight:var(--font-bd)}`;
6
6
 
@@ -48,10 +48,13 @@ const ZMenuSectionDeprecated = class {
48
48
  this.checkContent();
49
49
  }
50
50
  render() {
51
- return (index.h(index.Host, { key: '9c0afdf0decad8a1eb51ba90c1fa1cb3bcbfa321', role: "menu", open: this.open }, index.h("button", { key: '79ddfb8c44ef6a47fad56cf2f2a1c5ea6ee4bd5a', class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, index.h("slot", { key: '3027b6975681544c8e2fef1c6f59be689664e26e', onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && index.h("z-icon", { key: '9de3a8659409445f8bf781498ecc1dd2d2691d6c', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (index.h("div", { key: 'd5aa04822af0e9e9c07b6ee72bde0b875d2bafbb', class: "items" }, index.h("slot", { key: 'ca7eaac55e80903beb3d49373bbb28ca24f4e034', name: "item", onSlotchange: this.checkContent.bind(this) })))));
51
+ return (index.h(index.Host, { key: 'a65fd5af1f2b3b6c9d21c30336b806395624af59', role: "menu", open: this.open }, index.h("button", { key: '88460e785ca428d4a40f4dc9bdd56194a2b64d3e', class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, index.h("slot", { key: 'b0198e42f9819b2e9c622d4672510d7a9584a1b1', onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && index.h("z-icon", { key: '6b6f41288e53ef83b6817eda49e1a77135552345', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (index.h("div", { key: '7721c370a48044d60749f366a718ca266d9afc73', class: "items" }, index.h("slot", { key: '1738da8320d0931abaf8a7dd854456e28bba9781', name: "item", onSlotchange: this.checkContent.bind(this) })))));
52
52
  }
53
53
  get hostElement() { return index.getElement(this); }
54
54
  };
55
55
  ZMenuSectionDeprecated.style = stylesCss();
56
56
 
57
57
  exports.z_menu_section_deprecated = ZMenuSectionDeprecated;
58
+ //# sourceMappingURL=z-menu-section-deprecated.entry.cjs.js.map
59
+
60
+ //# sourceMappingURL=z-menu-section-deprecated.cjs.entry.js.map