@zanichelli/albe-web-components 14.5.1 → 14.5.2-rc-anchor-navigation

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 (1744) hide show
  1. package/dist/.storybook/elements/args-controls.js +78 -0
  2. package/dist/.storybook/elements/args-controls.js.map +1 -0
  3. package/dist/.storybook/elements/docs-template.js +11 -0
  4. package/dist/.storybook/elements/docs-template.js.map +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  7. package/dist/cjs/breakpoints-5c22092a.js.map +1 -1
  8. package/dist/cjs/index-19279b08.js +20 -0
  9. package/dist/cjs/index-19279b08.js.map +1 -0
  10. package/dist/cjs/index-1ebcef6a.js +46 -0
  11. package/dist/cjs/index-1ebcef6a.js.map +1 -0
  12. package/dist/cjs/index-42d4c304.js +65 -0
  13. package/dist/cjs/index-42d4c304.js.map +1 -0
  14. package/dist/cjs/index-5dc4a8de.js +2211 -0
  15. package/dist/cjs/index-5dc4a8de.js.map +1 -0
  16. package/dist/cjs/index-94f7957c.js +21 -0
  17. package/dist/cjs/index-94f7957c.js.map +1 -0
  18. package/dist/cjs/index-be1c71c6.js +59 -0
  19. package/dist/cjs/index-be1c71c6.js.map +1 -0
  20. package/dist/cjs/index-f31d0e66.js +21 -0
  21. package/dist/cjs/index-f31d0e66.js.map +1 -0
  22. package/dist/cjs/index.cjs.js.map +1 -1
  23. package/dist/cjs/loader.cjs.js +5 -3
  24. package/dist/cjs/loader.cjs.js.map +1 -1
  25. package/dist/cjs/utils-2b313a8e.js.map +1 -1
  26. package/dist/cjs/utils-d0b10736.js.map +1 -1
  27. package/dist/cjs/web-components-library.cjs.js +32 -32
  28. package/dist/cjs/web-components-library.cjs.js.map +1 -1
  29. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  30. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  31. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  32. package/dist/cjs/z-anchor-navigation.cjs.entry.js +14 -9
  33. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  34. package/dist/cjs/z-app-header_12.cjs.entry.js +40 -31
  35. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  36. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  37. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -1
  38. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  39. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
  40. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  41. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  42. package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
  43. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  44. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  45. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  46. package/dist/cjs/z-card.cjs.entry.js +1 -1
  47. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  48. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  49. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  50. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  51. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  52. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  53. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  54. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  55. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
  56. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  57. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
  58. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  59. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  60. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  61. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
  62. package/dist/cjs/z-file.cjs.entry.js +2 -2
  63. package/dist/cjs/z-file.cjs.entry.js.map +1 -1
  64. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  65. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  66. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
  67. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  68. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
  69. package/dist/cjs/z-logo.cjs.entry.js +2 -2
  70. package/dist/cjs/z-logo.cjs.entry.js.map +1 -1
  71. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  72. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
  73. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  74. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  75. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  76. package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -1
  77. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  78. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  79. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
  80. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
  81. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  82. package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
  83. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  85. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  86. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  87. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  88. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  89. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
  91. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  92. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -1
  93. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  94. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  95. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  96. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  97. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  98. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  99. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  100. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  101. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  102. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
  103. package/dist/cjs/z-pocket-message.cjs.entry.js +2 -2
  104. package/dist/cjs/z-pocket_3.cjs.entry.js +6 -6
  105. package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -1
  106. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  107. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  108. package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
  109. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
  110. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  111. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
  112. package/dist/cjs/z-select.cjs.entry.js +2 -2
  113. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  114. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  115. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
  116. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  117. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
  118. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  119. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  120. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  121. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  122. package/dist/cjs/z-table.cjs.entry.js +8 -8
  123. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  124. package/dist/cjs/z-tbody.cjs.entry.js +2 -2
  125. package/dist/cjs/z-td.cjs.entry.js +2 -2
  126. package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
  127. package/dist/cjs/z-th.cjs.entry.js +2 -2
  128. package/dist/cjs/z-thead.cjs.entry.js +2 -2
  129. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  130. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
  131. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  132. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  133. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  134. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  135. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  136. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
  137. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  138. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
  139. package/dist/cjs/z-tr.cjs.entry.js +4 -4
  140. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  141. package/dist/collection/beans/index.js.map +1 -1
  142. package/dist/collection/collection-manifest.json +34 -34
  143. package/dist/collection/components/css-components/z-fab/index.stories.js +104 -0
  144. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
  145. package/dist/collection/components/css-components/z-link/index.stories.js +75 -0
  146. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
  147. package/dist/collection/components/date-picker/utils.js.map +1 -1
  148. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  149. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
  150. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -1
  151. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +100 -0
  152. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
  153. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -4
  154. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
  155. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -1
  156. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +110 -0
  157. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
  158. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  159. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
  160. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -1
  161. package/dist/collection/components/file-upload/z-file/index.js +2 -2
  162. package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
  163. package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -1
  164. package/dist/collection/components/file-upload/z-file/index.stories.js +17 -0
  165. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
  166. package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
  167. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
  168. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -1
  169. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +95 -0
  170. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
  171. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -1
  172. package/dist/collection/components/index.js.map +1 -1
  173. package/dist/collection/components/list/z-list/index.js +4 -4
  174. package/dist/collection/components/list/z-list/index.js.map +1 -1
  175. package/dist/collection/components/list/z-list/index.spec.js.map +1 -1
  176. package/dist/collection/components/list/z-list/index.stories.js +185 -0
  177. package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
  178. package/dist/collection/components/list/z-list-element/index.js +3 -3
  179. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  180. package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -1
  181. package/dist/collection/components/list/z-list-element/index.stories.js +128 -0
  182. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
  183. package/dist/collection/components/list/z-list-group/index.js +3 -3
  184. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  185. package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -1
  186. package/dist/collection/components/list/z-list-group/index.stories.js +118 -0
  187. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
  188. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  189. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  190. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  191. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  192. package/dist/collection/components/table/z-table/index.js +3 -3
  193. package/dist/collection/components/table/z-table/index.js.map +1 -1
  194. package/dist/collection/components/table/z-table/index.stories.js +262 -0
  195. package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
  196. package/dist/collection/components/table/z-tbody/index.js +1 -1
  197. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  198. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  199. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  200. package/dist/collection/components/table/z-thead/index.js +1 -1
  201. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  202. package/dist/collection/components/table/z-tr/index.js +1 -1
  203. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  204. package/dist/collection/components/z-accordion/index.js +2 -2
  205. package/dist/collection/components/z-accordion/index.js.map +1 -1
  206. package/dist/collection/components/z-accordion/index.stories.js +165 -0
  207. package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
  208. package/dist/collection/components/z-accordion/styles.css +1 -1
  209. package/dist/collection/components/z-anchor-navigation/index.js +32 -9
  210. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
  211. package/dist/collection/components/z-anchor-navigation/index.stories.js +332 -0
  212. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
  213. package/dist/collection/components/z-anchor-navigation/styles.css +22 -34
  214. package/dist/collection/components/z-app-header/index.js +420 -0
  215. package/dist/collection/components/z-app-header/index.js.map +1 -0
  216. package/dist/collection/components/z-app-header/index.spec.js.map +1 -0
  217. package/dist/collection/components/z-app-header/index.stories.js +635 -0
  218. package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
  219. package/dist/collection/components/z-aria-alert/index.js +2 -2
  220. package/dist/collection/components/z-aria-alert/index.js.map +1 -1
  221. package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -1
  222. package/dist/collection/components/z-aria-alert/index.stories.js +76 -0
  223. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
  224. package/dist/collection/components/z-avatar/index.js +3 -3
  225. package/dist/collection/components/z-avatar/index.js.map +1 -1
  226. package/dist/collection/components/z-avatar/index.spec.js.map +1 -1
  227. package/dist/collection/components/z-avatar/index.stories.js +51 -0
  228. package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
  229. package/dist/collection/components/z-book-card/index.js +1 -1
  230. package/dist/collection/components/z-book-card/index.js.map +1 -1
  231. package/dist/collection/components/z-book-card/index.spec.js.map +1 -1
  232. package/dist/collection/components/z-book-card/index.stories.js +397 -0
  233. package/dist/collection/components/z-book-card/index.stories.js.map +1 -0
  234. package/dist/collection/components/z-breadcrumb/index.js +3 -3
  235. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  236. package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -1
  237. package/dist/collection/components/z-breadcrumb/index.stories.js +68 -0
  238. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
  239. package/dist/collection/components/z-button/index.js +269 -0
  240. package/dist/collection/components/z-button/index.js.map +1 -0
  241. package/dist/collection/components/z-button/index.spec.js +101 -0
  242. package/dist/collection/components/z-button/index.spec.js.map +1 -0
  243. package/dist/collection/components/z-button/index.stories.js +90 -0
  244. package/dist/collection/components/z-button/index.stories.js.map +1 -0
  245. package/dist/collection/components/z-button-sort/index.js +221 -0
  246. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  247. package/dist/collection/components/z-button-sort/index.spec.js.map +1 -0
  248. package/dist/collection/components/z-button-sort/index.stories.js +31 -0
  249. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
  250. package/dist/collection/components/z-button-sort/test.e2e.js.map +1 -0
  251. package/dist/collection/components/z-card/index.js +1 -1
  252. package/dist/collection/components/z-card/index.js.map +1 -1
  253. package/dist/collection/components/z-card/index.spec.js.map +1 -1
  254. package/dist/collection/components/z-card/index.stories.js +292 -0
  255. package/dist/collection/components/z-card/index.stories.js.map +1 -0
  256. package/dist/collection/components/z-carousel/index.js +2 -2
  257. package/dist/collection/components/z-carousel/index.js.map +1 -1
  258. package/dist/collection/components/z-carousel/index.stories.js +129 -0
  259. package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
  260. package/dist/collection/components/z-chip/index.js +148 -0
  261. package/dist/collection/components/z-chip/index.js.map +1 -0
  262. package/dist/collection/components/z-chip/index.spec.js.map +1 -0
  263. package/dist/collection/components/z-chip/index.stories.js +70 -0
  264. package/dist/collection/components/z-chip/index.stories.js.map +1 -0
  265. package/dist/collection/components/z-combobox/index.js +643 -0
  266. package/dist/collection/components/z-combobox/index.js.map +1 -0
  267. package/dist/collection/components/z-combobox/index.spec.js.map +1 -0
  268. package/dist/collection/components/z-combobox/index.stories.js +78 -0
  269. package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
  270. package/dist/collection/components/z-cover-hero/index.js +4 -4
  271. package/dist/collection/components/z-cover-hero/index.js.map +1 -1
  272. package/dist/collection/components/z-cover-hero/index.stories.js +256 -0
  273. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
  274. package/dist/collection/components/z-divider/index.js +3 -3
  275. package/dist/collection/components/z-divider/index.js.map +1 -1
  276. package/dist/collection/components/z-divider/index.spec.js.map +1 -1
  277. package/dist/collection/components/z-divider/index.stories.js +45 -0
  278. package/dist/collection/components/z-divider/index.stories.js.map +1 -0
  279. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  280. package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
  281. package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -1
  282. package/dist/collection/components/z-ghost-loading/index.stories.js +22 -0
  283. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
  284. package/dist/collection/components/z-icon/index.js +122 -0
  285. package/dist/collection/components/z-icon/index.js.map +1 -0
  286. package/dist/collection/components/z-icon/index.spec.js +96 -0
  287. package/dist/collection/components/z-icon/index.spec.js.map +1 -0
  288. package/dist/collection/components/z-icon/index.stories.js +30 -0
  289. package/dist/collection/components/z-icon/index.stories.js.map +1 -0
  290. package/dist/collection/components/z-info-box/index.js +86 -0
  291. package/dist/collection/components/z-info-box/index.js.map +1 -0
  292. package/dist/collection/components/z-info-box/index.spec.js.map +1 -0
  293. package/dist/collection/components/z-info-box/index.stories.js +20 -0
  294. package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
  295. package/dist/collection/components/z-info-reveal/index.js +2 -2
  296. package/dist/collection/components/z-info-reveal/index.js.map +1 -1
  297. package/dist/collection/components/z-info-reveal/index.stories.js +59 -0
  298. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
  299. package/dist/collection/components/z-input/index.js +959 -0
  300. package/dist/collection/components/z-input/index.js.map +1 -0
  301. package/dist/collection/components/z-input/index.stories.js +294 -0
  302. package/dist/collection/components/z-input/index.stories.js.map +1 -0
  303. package/dist/collection/components/z-input/styles-checkbox-radio.css +123 -0
  304. package/dist/collection/components/z-input/styles-general.css +154 -0
  305. package/dist/collection/components/z-input/styles-text.css +81 -0
  306. package/dist/collection/components/z-input/styles-textarea.css +35 -0
  307. package/dist/collection/components/z-input/test-checkbox.spec.js.map +1 -0
  308. package/dist/collection/components/z-input/test-methods.spec.js +13 -0
  309. package/dist/collection/components/z-input/test-methods.spec.js.map +1 -0
  310. package/dist/collection/components/z-input/test-radio.spec.js.map +1 -0
  311. package/dist/collection/components/z-input/test-text.spec.js +347 -0
  312. package/dist/collection/components/z-input/test-text.spec.js.map +1 -0
  313. package/dist/collection/components/z-input/test-textarea.spec.js.map +1 -0
  314. package/dist/collection/components/z-input/test.e2e.js +180 -0
  315. package/dist/collection/components/z-input/test.e2e.js.map +1 -0
  316. package/dist/collection/components/z-input-message/index.js +93 -0
  317. package/dist/collection/components/z-input-message/index.js.map +1 -0
  318. package/dist/collection/components/z-input-message/index.spec.js.map +1 -0
  319. package/dist/collection/components/z-input-message/index.stories.js +37 -0
  320. package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
  321. package/dist/collection/components/z-logo/index.js +140 -0
  322. package/dist/collection/components/z-logo/index.js.map +1 -0
  323. package/dist/collection/components/z-logo/index.spec.js.map +1 -0
  324. package/dist/collection/components/z-logo/index.stories.js +26 -0
  325. package/dist/collection/components/z-logo/index.stories.js.map +1 -0
  326. package/dist/collection/components/z-logo/test.e2e.js.map +1 -0
  327. package/dist/collection/components/z-menu/index.js +244 -0
  328. package/dist/collection/components/z-menu/index.js.map +1 -0
  329. package/dist/collection/components/z-menu/index.spec.js.map +1 -0
  330. package/dist/collection/components/z-menu/index.stories.js +129 -0
  331. package/dist/collection/components/z-menu/index.stories.js.map +1 -0
  332. package/dist/collection/components/z-menu-section/index.js +131 -0
  333. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  334. package/dist/collection/components/z-menu-section/index.spec.js.map +1 -0
  335. package/dist/collection/components/z-menu-section/index.stories.js +41 -0
  336. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
  337. package/dist/collection/components/z-modal/index.js +357 -0
  338. package/dist/collection/components/z-modal/index.js.map +1 -0
  339. package/dist/collection/components/z-modal/index.spec.js.map +1 -0
  340. package/dist/collection/components/z-modal/index.stories.js +224 -0
  341. package/dist/collection/components/z-modal/index.stories.js.map +1 -0
  342. package/dist/collection/components/z-navigation-tabs/index.js +374 -0
  343. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  344. package/dist/collection/components/z-navigation-tabs/index.stories.js +191 -0
  345. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
  346. package/dist/collection/components/z-notification/index.js +194 -0
  347. package/dist/collection/components/z-notification/index.js.map +1 -0
  348. package/dist/collection/components/z-notification/index.spec.js.map +1 -0
  349. package/dist/collection/components/z-notification/index.stories.js +147 -0
  350. package/dist/collection/components/z-notification/index.stories.js.map +1 -0
  351. package/dist/collection/components/z-notification/test.e2e.js.map +1 -0
  352. package/dist/collection/components/z-offcanvas/index.js +1 -1
  353. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  354. package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -1
  355. package/dist/collection/components/z-offcanvas/index.stories.js +196 -0
  356. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
  357. package/dist/collection/components/z-offcanvas/styles.css +6 -2
  358. package/dist/collection/components/z-pagination/index.js +1 -1
  359. package/dist/collection/components/z-pagination/index.js.map +1 -1
  360. package/dist/collection/components/z-pagination/index.spec.js.map +1 -1
  361. package/dist/collection/components/z-pagination/index.stories.js +100 -0
  362. package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
  363. package/dist/collection/components/z-pagination/styles.css +6 -2
  364. package/dist/collection/components/z-panel-elem/index.js +197 -0
  365. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  366. package/dist/collection/components/z-panel-elem/index.spec.js.map +1 -0
  367. package/dist/collection/components/z-panel-elem/index.stories.js +26 -0
  368. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
  369. package/dist/collection/components/z-popover/index.js +2 -2
  370. package/dist/collection/components/z-popover/index.js.map +1 -1
  371. package/dist/collection/components/z-popover/index.stories.js +103 -0
  372. package/dist/collection/components/z-popover/index.stories.js.map +1 -0
  373. package/dist/collection/components/z-searchbar/index.js +616 -0
  374. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  375. package/dist/collection/components/z-searchbar/index.spec.js.map +1 -0
  376. package/dist/collection/components/z-searchbar/index.stories.js +198 -0
  377. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
  378. package/dist/collection/components/z-section-title/index.js +1 -1
  379. package/dist/collection/components/z-section-title/index.js.map +1 -1
  380. package/dist/collection/components/z-section-title/index.spec.js +1 -1
  381. package/dist/collection/components/z-section-title/index.spec.js.map +1 -1
  382. package/dist/collection/components/z-section-title/index.stories.js +53 -0
  383. package/dist/collection/components/z-section-title/index.stories.js.map +1 -0
  384. package/dist/collection/components/z-select/index.js +778 -0
  385. package/dist/collection/components/z-select/index.js.map +1 -0
  386. package/dist/collection/components/z-select/index.spec.js.map +1 -0
  387. package/dist/collection/components/z-select/index.stories.js +187 -0
  388. package/dist/collection/components/z-select/index.stories.js.map +1 -0
  389. package/dist/collection/components/z-skip-to-content/index.js +3 -3
  390. package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
  391. package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -1
  392. package/dist/collection/components/z-skip-to-content/index.stories.js +41 -0
  393. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
  394. package/dist/collection/components/z-stepper/index.js +22 -0
  395. package/dist/collection/components/z-stepper/index.js.map +1 -0
  396. package/dist/collection/components/z-stepper/index.spec.js.map +1 -0
  397. package/dist/collection/components/z-stepper/index.stories.js +38 -0
  398. package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
  399. package/dist/collection/components/z-stepper-item/index.js +122 -0
  400. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  401. package/dist/collection/components/z-stepper-item/index.spec.js.map +1 -0
  402. package/dist/collection/components/z-stepper-item/index.stories.js +34 -0
  403. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
  404. package/dist/collection/components/z-tag/index.js +4 -4
  405. package/dist/collection/components/z-tag/index.js.map +1 -1
  406. package/dist/collection/components/z-tag/index.spec.js.map +1 -1
  407. package/dist/collection/components/z-tag/index.stories.js +60 -0
  408. package/dist/collection/components/z-tag/index.stories.js.map +1 -0
  409. package/dist/collection/components/z-toast-notification/index.js +406 -0
  410. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  411. package/dist/collection/components/z-toast-notification/index.spec.js.map +1 -0
  412. package/dist/collection/components/z-toast-notification/index.stories.js +89 -0
  413. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
  414. package/dist/collection/components/z-toast-notification-list/index.js +107 -0
  415. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  416. package/dist/collection/components/z-toast-notification-list/index.spec.js.map +1 -0
  417. package/dist/collection/components/z-toast-notification-list/index.stories.js +124 -0
  418. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
  419. package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +1 -0
  420. package/dist/collection/components/z-toggle-button/index.js +146 -0
  421. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  422. package/dist/collection/components/z-toggle-button/index.spec.js.map +1 -0
  423. package/dist/collection/components/z-toggle-button/index.stories.js +23 -0
  424. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
  425. package/dist/collection/components/z-toggle-switch/index.js +147 -0
  426. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  427. package/dist/collection/components/z-toggle-switch/index.spec.js.map +1 -0
  428. package/dist/collection/components/z-toggle-switch/index.stories.js +27 -0
  429. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
  430. package/dist/collection/components/z-tooltip/index.js +151 -0
  431. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  432. package/dist/collection/components/z-tooltip/index.stories.js +123 -0
  433. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
  434. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  435. package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
  436. package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -1
  437. package/dist/collection/components/z-visually-hidden/index.stories.js +28 -0
  438. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
  439. package/dist/collection/constants/breakpoints.js +1 -1
  440. package/dist/collection/constants/breakpoints.js.map +1 -1
  441. package/dist/collection/constants/icons.js.map +1 -1
  442. package/dist/collection/constants/iconset.js +873 -0
  443. package/dist/collection/constants/iconset.js.map +1 -0
  444. package/dist/collection/index.js +2 -2
  445. package/dist/collection/index.js.map +1 -1
  446. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  447. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
  448. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -1
  449. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +72 -0
  450. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  451. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
  452. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -1
  453. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +24 -0
  454. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  455. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
  456. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -1
  457. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  458. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
  459. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -1
  460. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +24 -0
  461. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  462. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
  463. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -1
  464. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +128 -0
  465. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +6 -2
  466. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  467. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
  468. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -1
  469. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +28 -0
  470. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +9 -3
  471. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  472. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
  473. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -1
  474. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +16 -0
  475. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  476. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
  477. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -1
  478. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +22 -0
  479. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  480. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
  481. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -1
  482. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +22 -0
  483. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  484. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
  485. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -1
  486. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +18 -0
  487. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  488. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
  489. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -1
  490. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +14 -0
  491. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  492. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
  493. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -1
  494. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +18 -0
  495. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  496. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
  497. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -1
  498. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +28 -0
  499. package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -1
  500. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -1
  501. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -1
  502. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -1
  503. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.stories.js +47 -0
  504. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
  505. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -1
  506. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -1
  507. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.stories.js +51 -0
  508. package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -1
  509. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
  510. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -1
  511. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -1
  512. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.stories.js +43 -0
  513. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +9 -3
  514. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -1
  515. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +2 -2
  516. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -1
  517. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -1
  518. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.stories.js +15 -0
  519. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -1
  520. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
  521. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -1
  522. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -1
  523. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.stories.js +36 -0
  524. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  525. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
  526. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -1
  527. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +30 -0
  528. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  529. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
  530. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -1
  531. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +32 -0
  532. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -1
  533. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -1
  534. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
  535. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -1
  536. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +16 -0
  537. package/dist/collection/utils/storybook-utils.js +52 -11
  538. package/dist/collection/utils/storybook-utils.js.map +1 -1
  539. package/dist/collection/utils/utils.js +14 -1
  540. package/dist/collection/utils/utils.js.map +1 -1
  541. package/dist/collection/utils/utils.spec.js.map +1 -1
  542. package/dist/components/breakpoints.js.map +1 -1
  543. package/dist/components/iconset.js +876 -0
  544. package/dist/components/iconset.js.map +1 -0
  545. package/dist/components/index.d.ts +25 -25
  546. package/dist/components/index.js.map +1 -1
  547. package/dist/components/index10.js +15 -6
  548. package/dist/components/index10.js.map +1 -1
  549. package/dist/components/index11.js +1 -1
  550. package/dist/components/index11.js.map +1 -1
  551. package/dist/components/index12.js +1 -1
  552. package/dist/components/index12.js.map +1 -1
  553. package/dist/components/index13.js +1 -1
  554. package/dist/components/index13.js.map +1 -1
  555. package/dist/components/index14.js +2 -2
  556. package/dist/components/index14.js.map +1 -1
  557. package/dist/components/index15.js +4 -4
  558. package/dist/components/index15.js.map +1 -1
  559. package/dist/components/index16.js +1 -1
  560. package/dist/components/index17.js +1 -1
  561. package/dist/components/index18.js +1 -1
  562. package/dist/components/index19.js +1 -1
  563. package/dist/components/index20.js +1 -1
  564. package/dist/components/index20.js.map +1 -1
  565. package/dist/components/index21.js +2 -2
  566. package/dist/components/index21.js.map +1 -1
  567. package/dist/components/index22.js +1 -1
  568. package/dist/components/index22.js.map +1 -1
  569. package/dist/components/index23.js +2 -2
  570. package/dist/components/index23.js.map +1 -1
  571. package/dist/components/index24.js +2 -2
  572. package/dist/components/index24.js.map +1 -1
  573. package/dist/components/index25.js +1 -1
  574. package/dist/components/index25.js.map +1 -1
  575. package/dist/components/index26.js +1 -1
  576. package/dist/components/index26.js.map +1 -1
  577. package/dist/components/index27.js +2 -2
  578. package/dist/components/index27.js.map +1 -1
  579. package/dist/components/index3.js +1 -1
  580. package/dist/components/index4.js +1 -1
  581. package/dist/components/index4.js.map +1 -1
  582. package/dist/components/index5.js +2 -2
  583. package/dist/components/index5.js.map +1 -1
  584. package/dist/components/index6.js +1 -1
  585. package/dist/components/index6.js.map +1 -1
  586. package/dist/components/index7.js +2 -2
  587. package/dist/components/index7.js.map +1 -1
  588. package/dist/components/index8.js +1 -1
  589. package/dist/components/index9.js +2 -2
  590. package/dist/components/index9.js.map +1 -1
  591. package/dist/components/utils.js.map +1 -1
  592. package/dist/components/utils2.js.map +1 -1
  593. package/dist/components/z-accordion.js +2 -2
  594. package/dist/components/z-accordion.js.map +1 -1
  595. package/dist/components/z-anchor-navigation.js +14 -8
  596. package/dist/components/z-anchor-navigation.js.map +1 -1
  597. package/dist/components/z-app-header.js +1 -1
  598. package/dist/components/z-app-header.js.map +1 -1
  599. package/dist/components/z-aria-alert.js +1 -1
  600. package/dist/components/z-aria-alert.js.map +1 -1
  601. package/dist/components/z-avatar.js +2 -2
  602. package/dist/components/z-avatar.js.map +1 -1
  603. package/dist/components/z-book-card.js +1 -1
  604. package/dist/components/z-book-card.js.map +1 -1
  605. package/dist/components/z-breadcrumb.js +2 -2
  606. package/dist/components/z-breadcrumb.js.map +1 -1
  607. package/dist/components/z-button-sort.js +1 -1
  608. package/dist/components/z-button-sort.js.map +1 -1
  609. package/dist/components/z-card.js.map +1 -1
  610. package/dist/components/z-carousel.js.map +1 -1
  611. package/dist/components/z-combobox.js +1 -1
  612. package/dist/components/z-combobox.js.map +1 -1
  613. package/dist/components/z-cover-hero.js +2 -2
  614. package/dist/components/z-cover-hero.js.map +1 -1
  615. package/dist/components/z-date-picker.js +1 -1
  616. package/dist/components/z-date-picker.js.map +1 -1
  617. package/dist/components/z-file-upload.js +1 -1
  618. package/dist/components/z-file-upload.js.map +1 -1
  619. package/dist/components/z-file.js +1 -1
  620. package/dist/components/z-file.js.map +1 -1
  621. package/dist/components/z-info-box.js +1 -1
  622. package/dist/components/z-info-box.js.map +1 -1
  623. package/dist/components/z-info-reveal.js +1 -1
  624. package/dist/components/z-info-reveal.js.map +1 -1
  625. package/dist/components/z-logo.js +1 -1
  626. package/dist/components/z-logo.js.map +1 -1
  627. package/dist/components/z-menu-section.js +1 -1
  628. package/dist/components/z-menu-section.js.map +1 -1
  629. package/dist/components/z-menu.js +1 -1
  630. package/dist/components/z-menu.js.map +1 -1
  631. package/dist/components/z-messages-pocket.js +1 -1
  632. package/dist/components/z-messages-pocket.js.map +1 -1
  633. package/dist/components/z-myz-card-alert.js +1 -1
  634. package/dist/components/z-myz-card-alert.js.map +1 -1
  635. package/dist/components/z-myz-card-dictionary.js +2 -2
  636. package/dist/components/z-myz-card-dictionary.js.map +1 -1
  637. package/dist/components/z-myz-card-footer-sections.js +1 -1
  638. package/dist/components/z-myz-card-footer.js +2 -2
  639. package/dist/components/z-myz-card-footer.js.map +1 -1
  640. package/dist/components/z-myz-card-icon.js +1 -1
  641. package/dist/components/z-myz-card-info.js +1 -1
  642. package/dist/components/z-myz-card-info.js.map +1 -1
  643. package/dist/components/z-myz-card-list.js +1 -1
  644. package/dist/components/z-myz-list.js +1 -1
  645. package/dist/components/z-myz-list.js.map +1 -1
  646. package/dist/components/z-navigation-tabs.js +3 -3
  647. package/dist/components/z-navigation-tabs.js.map +1 -1
  648. package/dist/components/z-notification.js +1 -1
  649. package/dist/components/z-notification.js.map +1 -1
  650. package/dist/components/z-otp.js +2 -2
  651. package/dist/components/z-otp.js.map +1 -1
  652. package/dist/components/z-pagination.js +1 -1
  653. package/dist/components/z-pagination.js.map +1 -1
  654. package/dist/components/z-panel-elem.js +2 -2
  655. package/dist/components/z-panel-elem.js.map +1 -1
  656. package/dist/components/z-pocket-message.js +1 -1
  657. package/dist/components/z-range-picker.js +3 -3
  658. package/dist/components/z-range-picker.js.map +1 -1
  659. package/dist/components/z-section-title.js +1 -1
  660. package/dist/components/z-section-title.js.map +1 -1
  661. package/dist/components/z-select.js +1 -1
  662. package/dist/components/z-select.js.map +1 -1
  663. package/dist/components/z-skip-to-content.js +2 -2
  664. package/dist/components/z-skip-to-content.js.map +1 -1
  665. package/dist/components/z-slideshow.js.map +1 -1
  666. package/dist/components/z-stepper-item.js +1 -1
  667. package/dist/components/z-stepper-item.js.map +1 -1
  668. package/dist/components/z-stepper.js +1 -1
  669. package/dist/components/z-stepper.js.map +1 -1
  670. package/dist/components/z-table.js +2 -2
  671. package/dist/components/z-table.js.map +1 -1
  672. package/dist/components/z-tbody.js +1 -1
  673. package/dist/components/z-td.js +1 -1
  674. package/dist/components/z-td.js.map +1 -1
  675. package/dist/components/z-tfoot.js +1 -1
  676. package/dist/components/z-th.js +1 -1
  677. package/dist/components/z-th.js.map +1 -1
  678. package/dist/components/z-thead.js +1 -1
  679. package/dist/components/z-toast-notification-list.js +1 -1
  680. package/dist/components/z-toast-notification-list.js.map +1 -1
  681. package/dist/components/z-toast-notification.js +1 -1
  682. package/dist/components/z-toast-notification.js.map +1 -1
  683. package/dist/components/z-toggle-button.js +2 -2
  684. package/dist/components/z-toggle-button.js.map +1 -1
  685. package/dist/components/z-toggle-switch.js +4 -4
  686. package/dist/components/z-toggle-switch.js.map +1 -1
  687. package/dist/components/z-tooltip.js +1 -1
  688. package/dist/components/z-tooltip.js.map +1 -1
  689. package/dist/components/z-tr.js +1 -1
  690. package/dist/components/z-tr.js.map +1 -1
  691. package/dist/components/z-visually-hidden.js +1 -1
  692. package/dist/docs/grid/index.stories.js +47 -0
  693. package/dist/docs/grid/index.stories.js.map +1 -0
  694. package/dist/docs/iconset/index.stories.js +32 -0
  695. package/dist/docs/iconset/index.stories.js.map +1 -0
  696. package/dist/docs/themes/index.stories.js +87 -0
  697. package/dist/docs/themes/index.stories.js.map +1 -0
  698. package/dist/esm/app-globals-0f993ce5.js +5 -0
  699. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  700. package/dist/esm/breakpoints-680e0e56.js.map +1 -1
  701. package/dist/esm/index-2f0ea8a1.js +57 -0
  702. package/dist/esm/index-2f0ea8a1.js.map +1 -0
  703. package/dist/esm/index-41ee4016.js +18 -0
  704. package/dist/esm/index-41ee4016.js.map +1 -0
  705. package/dist/esm/index-ab5f1eaa.js +2181 -0
  706. package/dist/esm/index-ab5f1eaa.js.map +1 -0
  707. package/dist/esm/index-cfde9cec.js +19 -0
  708. package/dist/esm/index-cfde9cec.js.map +1 -0
  709. package/dist/esm/index-db930fad.js +63 -0
  710. package/dist/esm/index-db930fad.js.map +1 -0
  711. package/dist/esm/index-e194f4a7.js +44 -0
  712. package/dist/esm/index-e194f4a7.js.map +1 -0
  713. package/dist/esm/index-ea49e441.js +19 -0
  714. package/dist/esm/index-ea49e441.js.map +1 -0
  715. package/dist/esm/index.js.map +1 -1
  716. package/dist/esm/loader.js +6 -4
  717. package/dist/esm/loader.js.map +1 -1
  718. package/dist/esm/utils-7983d02c.js.map +1 -1
  719. package/dist/esm/utils-cd008fbc.js.map +1 -1
  720. package/dist/esm/web-components-library.js +33 -33
  721. package/dist/esm/web-components-library.js.map +1 -1
  722. package/dist/esm/z-accordion.entry.js +3 -3
  723. package/dist/esm/z-accordion.entry.js.map +1 -1
  724. package/dist/esm/z-alert.entry.js +2 -2
  725. package/dist/esm/z-anchor-navigation.entry.js +14 -9
  726. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  727. package/dist/esm/z-app-header_12.entry.js +40 -31
  728. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  729. package/dist/esm/z-aria-alert.entry.js +2 -2
  730. package/dist/esm/z-aria-alert.entry.js.map +1 -1
  731. package/dist/esm/z-avatar.entry.js +3 -3
  732. package/dist/esm/z-avatar.entry.js.map +1 -1
  733. package/dist/esm/z-book-card.entry.js +2 -2
  734. package/dist/esm/z-book-card.entry.js.map +1 -1
  735. package/dist/esm/z-breadcrumb.entry.js +3 -3
  736. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  737. package/dist/esm/z-button-sort.entry.js +2 -2
  738. package/dist/esm/z-button-sort.entry.js.map +1 -1
  739. package/dist/esm/z-card.entry.js +1 -1
  740. package/dist/esm/z-card.entry.js.map +1 -1
  741. package/dist/esm/z-carousel.entry.js +1 -1
  742. package/dist/esm/z-carousel.entry.js.map +1 -1
  743. package/dist/esm/z-chip.entry.js +3 -3
  744. package/dist/esm/z-chip.entry.js.map +1 -1
  745. package/dist/esm/z-combobox.entry.js +2 -2
  746. package/dist/esm/z-combobox.entry.js.map +1 -1
  747. package/dist/esm/z-cover-hero.entry.js +3 -3
  748. package/dist/esm/z-cover-hero.entry.js.map +1 -1
  749. package/dist/esm/z-date-picker.entry.js +2 -2
  750. package/dist/esm/z-date-picker.entry.js.map +1 -1
  751. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  752. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  753. package/dist/esm/z-file-upload.entry.js +2 -2
  754. package/dist/esm/z-file-upload.entry.js.map +1 -1
  755. package/dist/esm/z-file.entry.js +2 -2
  756. package/dist/esm/z-file.entry.js.map +1 -1
  757. package/dist/esm/z-ghost-loading.entry.js +2 -2
  758. package/dist/esm/z-info-box.entry.js +2 -2
  759. package/dist/esm/z-info-box.entry.js.map +1 -1
  760. package/dist/esm/z-info-reveal.entry.js +2 -2
  761. package/dist/esm/z-info-reveal.entry.js.map +1 -1
  762. package/dist/esm/z-logo.entry.js +2 -2
  763. package/dist/esm/z-logo.entry.js.map +1 -1
  764. package/dist/esm/z-menu-section.entry.js +2 -2
  765. package/dist/esm/z-menu-section.entry.js.map +1 -1
  766. package/dist/esm/z-menu.entry.js +2 -2
  767. package/dist/esm/z-menu.entry.js.map +1 -1
  768. package/dist/esm/z-messages-pocket.entry.js +2 -2
  769. package/dist/esm/z-messages-pocket.entry.js.map +1 -1
  770. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  771. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  772. package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
  773. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
  774. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  775. package/dist/esm/z-myz-card-footer.entry.js +3 -3
  776. package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
  777. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  778. package/dist/esm/z-myz-card-info.entry.js +2 -2
  779. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  780. package/dist/esm/z-myz-card-list.entry.js +2 -2
  781. package/dist/esm/z-myz-card_4.entry.js +5 -5
  782. package/dist/esm/z-myz-list-item.entry.js +2 -2
  783. package/dist/esm/z-myz-list-item.entry.js.map +1 -1
  784. package/dist/esm/z-myz-list.entry.js +2 -2
  785. package/dist/esm/z-myz-list.entry.js.map +1 -1
  786. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  787. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  788. package/dist/esm/z-notification.entry.js +2 -2
  789. package/dist/esm/z-notification.entry.js.map +1 -1
  790. package/dist/esm/z-otp.entry.js +3 -3
  791. package/dist/esm/z-otp.entry.js.map +1 -1
  792. package/dist/esm/z-pagination.entry.js +2 -2
  793. package/dist/esm/z-pagination.entry.js.map +1 -1
  794. package/dist/esm/z-panel-elem.entry.js +3 -3
  795. package/dist/esm/z-panel-elem.entry.js.map +1 -1
  796. package/dist/esm/z-pocket-message.entry.js +2 -2
  797. package/dist/esm/z-pocket_3.entry.js +6 -6
  798. package/dist/esm/z-pocket_3.entry.js.map +1 -1
  799. package/dist/esm/z-popover.entry.js +2 -2
  800. package/dist/esm/z-popover.entry.js.map +1 -1
  801. package/dist/esm/z-range-picker.entry.js +4 -4
  802. package/dist/esm/z-range-picker.entry.js.map +1 -1
  803. package/dist/esm/z-section-title.entry.js +2 -2
  804. package/dist/esm/z-section-title.entry.js.map +1 -1
  805. package/dist/esm/z-select.entry.js +2 -2
  806. package/dist/esm/z-select.entry.js.map +1 -1
  807. package/dist/esm/z-skip-to-content.entry.js +3 -3
  808. package/dist/esm/z-skip-to-content.entry.js.map +1 -1
  809. package/dist/esm/z-slideshow.entry.js +1 -1
  810. package/dist/esm/z-slideshow.entry.js.map +1 -1
  811. package/dist/esm/z-stepper-item.entry.js +2 -2
  812. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  813. package/dist/esm/z-stepper.entry.js +2 -2
  814. package/dist/esm/z-stepper.entry.js.map +1 -1
  815. package/dist/esm/z-table.entry.js +8 -8
  816. package/dist/esm/z-table.entry.js.map +1 -1
  817. package/dist/esm/z-tbody.entry.js +2 -2
  818. package/dist/esm/z-td.entry.js +2 -2
  819. package/dist/esm/z-tfoot.entry.js +2 -2
  820. package/dist/esm/z-th.entry.js +2 -2
  821. package/dist/esm/z-thead.entry.js +2 -2
  822. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  823. package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
  824. package/dist/esm/z-toast-notification.entry.js +2 -2
  825. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  826. package/dist/esm/z-toggle-button.entry.js +3 -3
  827. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  828. package/dist/esm/z-toggle-switch.entry.js +5 -5
  829. package/dist/esm/z-toggle-switch.entry.js.map +1 -1
  830. package/dist/esm/z-tooltip.entry.js +2 -2
  831. package/dist/esm/z-tooltip.entry.js.map +1 -1
  832. package/dist/esm/z-tr.entry.js +4 -4
  833. package/dist/esm/z-visually-hidden.entry.js +2 -2
  834. package/dist/types/components/css-components/z-fab/index.stories.d.ts +63 -0
  835. package/dist/types/components/css-components/z-link/index.stories.d.ts +46 -0
  836. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +33 -0
  837. package/dist/types/components/date-picker/z-range-picker/index.d.ts +1 -1
  838. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +51 -0
  839. package/dist/types/components/file-upload/z-file/index.stories.d.ts +14 -0
  840. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +42 -0
  841. package/dist/types/components/list/z-list/index.d.ts +2 -2
  842. package/dist/types/components/list/z-list/index.stories.d.ts +62 -0
  843. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  844. package/dist/types/components/list/z-list-element/index.stories.d.ts +77 -0
  845. package/dist/types/components/list/z-list-group/index.d.ts +1 -1
  846. package/dist/types/components/list/z-list-group/index.stories.d.ts +46 -0
  847. package/dist/types/components/table/z-table/index.d.ts +2 -2
  848. package/dist/types/components/table/z-table/index.stories.d.ts +82 -0
  849. package/dist/types/components/z-accordion/index.d.ts +1 -1
  850. package/dist/types/components/z-accordion/index.stories.d.ts +142 -0
  851. package/dist/types/components/z-anchor-navigation/index.d.ts +12 -4
  852. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +32 -0
  853. package/dist/types/components/z-app-header/index.d.ts +149 -0
  854. package/dist/types/components/z-app-header/index.stories.d.ts +118 -0
  855. package/dist/types/components/z-aria-alert/index.stories.d.ts +26 -0
  856. package/dist/types/components/z-avatar/index.stories.d.ts +42 -0
  857. package/dist/types/components/z-book-card/index.stories.d.ts +115 -0
  858. package/dist/types/components/z-breadcrumb/index.stories.d.ts +52 -0
  859. package/dist/types/components/z-button/index.d.ts +31 -0
  860. package/dist/types/components/z-button/index.stories.d.ts +66 -0
  861. package/dist/types/components/z-button-sort/index.d.ts +28 -0
  862. package/dist/types/components/z-button-sort/index.stories.d.ts +22 -0
  863. package/dist/types/components/z-card/index.stories.d.ts +70 -0
  864. package/dist/types/components/z-carousel/index.stories.d.ts +100 -0
  865. package/dist/types/components/z-chip/index.d.ts +18 -0
  866. package/dist/types/components/z-chip/index.stories.d.ts +46 -0
  867. package/dist/types/components/z-combobox/index.d.ts +84 -0
  868. package/dist/types/components/z-combobox/index.stories.d.ts +58 -0
  869. package/dist/types/components/z-cover-hero/index.d.ts +1 -1
  870. package/dist/types/components/z-cover-hero/index.stories.d.ts +113 -0
  871. package/dist/types/components/z-divider/index.d.ts +1 -1
  872. package/dist/types/components/z-divider/index.stories.d.ts +37 -0
  873. package/dist/types/components/z-ghost-loading/index.stories.d.ts +9 -0
  874. package/dist/types/components/z-icon/index.stories.d.ts +23 -0
  875. package/dist/types/components/z-info-box/index.d.ts +14 -0
  876. package/dist/types/components/z-info-box/index.stories.d.ts +12 -0
  877. package/dist/types/components/z-info-reveal/index.stories.d.ts +42 -0
  878. package/dist/types/components/z-input/index.d.ts +110 -0
  879. package/dist/types/components/z-input/index.stories.d.ts +126 -0
  880. package/dist/types/components/z-input-message/index.d.ts +12 -0
  881. package/dist/types/components/z-input-message/index.stories.d.ts +33 -0
  882. package/dist/types/components/z-logo/index.stories.d.ts +18 -0
  883. package/dist/types/components/z-menu/index.d.ts +61 -0
  884. package/dist/types/components/z-menu/index.stories.d.ts +27 -0
  885. package/dist/types/components/z-menu-section/index.d.ts +31 -0
  886. package/dist/types/components/z-menu-section/index.stories.d.ts +16 -0
  887. package/dist/types/components/z-modal/index.d.ts +49 -0
  888. package/dist/types/components/z-modal/index.stories.d.ts +39 -0
  889. package/dist/types/components/z-navigation-tabs/index.d.ts +114 -0
  890. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +78 -0
  891. package/dist/types/components/z-notification/index.d.ts +32 -0
  892. package/dist/types/components/z-notification/index.stories.d.ts +61 -0
  893. package/dist/types/components/z-offcanvas/index.stories.d.ts +49 -0
  894. package/dist/types/components/z-pagination/index.stories.d.ts +40 -0
  895. package/dist/types/components/z-panel-elem/index.stories.d.ts +18 -0
  896. package/dist/types/components/z-popover/index.stories.d.ts +40 -0
  897. package/dist/types/components/z-searchbar/index.d.ts +80 -0
  898. package/dist/types/components/z-searchbar/index.stories.d.ts +94 -0
  899. package/dist/types/components/z-section-title/index.stories.d.ts +37 -0
  900. package/dist/types/components/z-select/index.d.ts +84 -0
  901. package/dist/types/components/z-select/index.stories.d.ts +60 -0
  902. package/dist/types/components/z-skip-to-content/index.d.ts +1 -1
  903. package/dist/types/components/z-skip-to-content/index.stories.d.ts +31 -0
  904. package/dist/types/components/z-stepper/index.d.ts +6 -0
  905. package/dist/types/components/z-stepper/index.stories.d.ts +16 -0
  906. package/dist/types/components/z-stepper-item/index.stories.d.ts +21 -0
  907. package/dist/types/components/z-tag/index.d.ts +1 -1
  908. package/dist/types/components/z-tag/index.stories.d.ts +35 -0
  909. package/dist/types/components/z-toast-notification/index.d.ts +56 -0
  910. package/dist/types/components/z-toast-notification/index.stories.d.ts +58 -0
  911. package/dist/types/components/z-toast-notification-list/index.d.ts +14 -0
  912. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +81 -0
  913. package/dist/types/components/z-toggle-button/index.d.ts +17 -0
  914. package/dist/types/components/z-toggle-button/index.stories.d.ts +16 -0
  915. package/dist/types/components/z-toggle-switch/index.d.ts +17 -0
  916. package/dist/types/components/z-toggle-switch/index.stories.d.ts +22 -0
  917. package/dist/types/components/z-tooltip/index.d.ts +32 -0
  918. package/dist/types/components/z-tooltip/index.stories.d.ts +40 -0
  919. package/dist/types/components/z-visually-hidden/index.stories.d.ts +9 -0
  920. package/dist/types/components.d.ts +30 -22
  921. package/dist/types/constants/breakpoints.d.ts +1 -1
  922. package/dist/types/constants/iconset.d.ts +1577 -0
  923. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +13 -0
  924. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +5 -0
  925. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
  926. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
  927. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +27 -0
  928. package/dist/types/index.d.ts +2 -2
  929. package/dist/types/stencil-public-runtime.d.ts +3 -8
  930. package/dist/types/utils/storybook-utils.d.ts +38 -8
  931. package/dist/types/utils/utils.d.ts +5 -0
  932. package/dist/web-components-library/index.esm.js.map +1 -1
  933. package/dist/web-components-library/p-025f494e.js.map +1 -1
  934. package/dist/web-components-library/p-060725ef.entry.js +2 -0
  935. package/dist/web-components-library/p-060725ef.entry.js.map +1 -0
  936. package/dist/web-components-library/p-0c2fdbe5.entry.js +2 -0
  937. package/dist/web-components-library/p-0c2fdbe5.entry.js.map +1 -0
  938. package/dist/web-components-library/p-17d072c7.entry.js +2 -0
  939. package/dist/web-components-library/p-17d072c7.entry.js.map +1 -0
  940. package/dist/web-components-library/p-1c5d8cac.js +2 -0
  941. package/dist/web-components-library/p-1c5d8cac.js.map +1 -0
  942. package/dist/web-components-library/p-2010d544.entry.js +2 -0
  943. package/dist/web-components-library/p-2010d544.entry.js.map +1 -0
  944. package/dist/web-components-library/p-2395b965.entry.js +2 -0
  945. package/dist/web-components-library/p-2395b965.entry.js.map +1 -0
  946. package/dist/web-components-library/p-25a85aec.js +2 -0
  947. package/dist/web-components-library/p-25a85aec.js.map +1 -0
  948. package/dist/web-components-library/p-2c886e8b.js.map +1 -1
  949. package/dist/web-components-library/p-2ed68ac5.entry.js +2 -0
  950. package/dist/web-components-library/p-2ed68ac5.entry.js.map +1 -0
  951. package/dist/web-components-library/p-36189235.entry.js +2 -0
  952. package/dist/web-components-library/p-36189235.entry.js.map +1 -0
  953. package/dist/web-components-library/p-37f05eab.entry.js +2 -0
  954. package/dist/web-components-library/p-37f05eab.entry.js.map +1 -0
  955. package/dist/web-components-library/p-39aeb320.entry.js +2 -0
  956. package/dist/web-components-library/p-39aeb320.entry.js.map +1 -0
  957. package/dist/web-components-library/p-4170f99b.entry.js +2 -0
  958. package/dist/web-components-library/p-4170f99b.entry.js.map +1 -0
  959. package/dist/web-components-library/p-493c652a.entry.js +2 -0
  960. package/dist/web-components-library/p-493c652a.entry.js.map +1 -0
  961. package/dist/web-components-library/p-49a35cf0.js.map +1 -1
  962. package/dist/web-components-library/p-4c70b69e.entry.js +2 -0
  963. package/dist/web-components-library/p-4c70b69e.entry.js.map +1 -0
  964. package/dist/web-components-library/p-54b0b04e.js.map +1 -1
  965. package/dist/web-components-library/p-5a2fddef.entry.js +2 -0
  966. package/dist/web-components-library/p-5a2fddef.entry.js.map +1 -0
  967. package/dist/web-components-library/p-5cf2fb58.js +2 -0
  968. package/dist/web-components-library/p-5cf2fb58.js.map +1 -0
  969. package/dist/web-components-library/p-5e734fd3.entry.js +2 -0
  970. package/dist/web-components-library/p-5e734fd3.entry.js.map +1 -0
  971. package/dist/web-components-library/p-5e9b3793.entry.js +2 -0
  972. package/dist/web-components-library/p-5e9b3793.entry.js.map +1 -0
  973. package/dist/web-components-library/p-62598750.entry.js +2 -0
  974. package/dist/web-components-library/p-62598750.entry.js.map +1 -0
  975. package/dist/web-components-library/p-67d49495.entry.js +2 -0
  976. package/dist/web-components-library/p-67d49495.entry.js.map +1 -0
  977. package/dist/web-components-library/p-680ee955.entry.js +2 -0
  978. package/dist/web-components-library/p-680ee955.entry.js.map +1 -0
  979. package/dist/web-components-library/p-70914d67.entry.js +2 -0
  980. package/dist/web-components-library/p-70914d67.entry.js.map +1 -0
  981. package/dist/web-components-library/p-737293b2.js +2 -0
  982. package/dist/web-components-library/p-737293b2.js.map +1 -0
  983. package/dist/web-components-library/p-7cba8558.entry.js +2 -0
  984. package/dist/web-components-library/p-7cba8558.entry.js.map +1 -0
  985. package/dist/web-components-library/p-7ce64686.entry.js +2 -0
  986. package/dist/web-components-library/p-7ce64686.entry.js.map +1 -0
  987. package/dist/web-components-library/p-7da88300.entry.js +2 -0
  988. package/dist/web-components-library/p-7da88300.entry.js.map +1 -0
  989. package/dist/web-components-library/p-810433b1.entry.js +2 -0
  990. package/dist/web-components-library/p-810433b1.entry.js.map +1 -0
  991. package/dist/web-components-library/p-8164f039.entry.js +2 -0
  992. package/dist/web-components-library/p-8164f039.entry.js.map +1 -0
  993. package/dist/web-components-library/p-82b845c3.entry.js +2 -0
  994. package/dist/web-components-library/p-82b845c3.entry.js.map +1 -0
  995. package/dist/web-components-library/p-82e3760c.entry.js +2 -0
  996. package/dist/web-components-library/p-82e3760c.entry.js.map +1 -0
  997. package/dist/web-components-library/p-85930223.entry.js +2 -0
  998. package/dist/web-components-library/p-85930223.entry.js.map +1 -0
  999. package/dist/web-components-library/p-89c1d12d.entry.js +2 -0
  1000. package/dist/web-components-library/p-89c1d12d.entry.js.map +1 -0
  1001. package/dist/web-components-library/p-8cedb801.entry.js +2 -0
  1002. package/dist/web-components-library/p-8cedb801.entry.js.map +1 -0
  1003. package/dist/web-components-library/p-93d39e70.entry.js +2 -0
  1004. package/dist/web-components-library/p-93d39e70.entry.js.map +1 -0
  1005. package/dist/web-components-library/p-955da62e.js.map +1 -1
  1006. package/dist/web-components-library/p-965094e0.entry.js +2 -0
  1007. package/dist/web-components-library/p-965094e0.entry.js.map +1 -0
  1008. package/dist/web-components-library/p-96584abb.entry.js +2 -0
  1009. package/dist/web-components-library/p-96584abb.entry.js.map +1 -0
  1010. package/dist/web-components-library/p-9c50d9cc.entry.js +2 -0
  1011. package/dist/web-components-library/p-9c50d9cc.entry.js.map +1 -0
  1012. package/dist/web-components-library/p-9dc8cdd2.entry.js +17 -0
  1013. package/dist/web-components-library/p-9dc8cdd2.entry.js.map +1 -0
  1014. package/dist/web-components-library/p-9dd4a4a5.entry.js +2 -0
  1015. package/dist/web-components-library/p-9dd4a4a5.entry.js.map +1 -0
  1016. package/dist/web-components-library/p-a0893037.entry.js +2 -0
  1017. package/dist/web-components-library/p-a0893037.entry.js.map +1 -0
  1018. package/dist/web-components-library/p-a11e1d48.entry.js +2 -0
  1019. package/dist/web-components-library/p-a11e1d48.entry.js.map +1 -0
  1020. package/dist/web-components-library/p-a789b863.entry.js +2 -0
  1021. package/dist/web-components-library/p-a789b863.entry.js.map +1 -0
  1022. package/dist/web-components-library/p-a8265231.entry.js +2 -0
  1023. package/dist/web-components-library/p-a8265231.entry.js.map +1 -0
  1024. package/dist/web-components-library/p-b064878a.entry.js +2 -0
  1025. package/dist/web-components-library/p-b064878a.entry.js.map +1 -0
  1026. package/dist/web-components-library/p-b6d2f646.entry.js +2 -0
  1027. package/dist/web-components-library/p-b6d2f646.entry.js.map +1 -0
  1028. package/dist/web-components-library/p-b72193fc.entry.js +2 -0
  1029. package/dist/web-components-library/p-b72193fc.entry.js.map +1 -0
  1030. package/dist/web-components-library/p-b741a768.entry.js +2 -0
  1031. package/dist/web-components-library/p-b741a768.entry.js.map +1 -0
  1032. package/dist/web-components-library/p-b9078348.js +2 -0
  1033. package/dist/web-components-library/p-b9078348.js.map +1 -0
  1034. package/dist/web-components-library/p-bc552513.entry.js +2 -0
  1035. package/dist/web-components-library/p-bc552513.entry.js.map +1 -0
  1036. package/dist/web-components-library/p-bf7c05a8.entry.js +2 -0
  1037. package/dist/web-components-library/p-bf7c05a8.entry.js.map +1 -0
  1038. package/dist/web-components-library/p-bfb58cca.entry.js +2 -0
  1039. package/dist/web-components-library/p-bfb58cca.entry.js.map +1 -0
  1040. package/dist/web-components-library/p-c5127319.entry.js +2 -0
  1041. package/dist/web-components-library/p-c5127319.entry.js.map +1 -0
  1042. package/dist/web-components-library/p-cc3c02fe.js +3 -0
  1043. package/dist/web-components-library/p-cc3c02fe.js.map +1 -0
  1044. package/dist/web-components-library/p-d22d5fcb.entry.js +2 -0
  1045. package/dist/web-components-library/p-d22d5fcb.entry.js.map +1 -0
  1046. package/dist/web-components-library/p-d594caea.entry.js +2 -0
  1047. package/dist/web-components-library/p-d594caea.entry.js.map +1 -0
  1048. package/dist/web-components-library/p-d73386ae.entry.js +2 -0
  1049. package/dist/web-components-library/p-d73386ae.entry.js.map +1 -0
  1050. package/dist/web-components-library/p-d8413391.entry.js +2 -0
  1051. package/dist/web-components-library/p-d8413391.entry.js.map +1 -0
  1052. package/dist/web-components-library/p-dde9f76d.entry.js +2 -0
  1053. package/dist/web-components-library/p-dde9f76d.entry.js.map +1 -0
  1054. package/dist/web-components-library/p-e1255160.js +2 -0
  1055. package/dist/web-components-library/p-e1255160.js.map +1 -0
  1056. package/dist/web-components-library/p-e43b10db.entry.js +2 -0
  1057. package/dist/web-components-library/p-e43b10db.entry.js.map +1 -0
  1058. package/dist/web-components-library/p-eac17dfe.entry.js +2 -0
  1059. package/dist/web-components-library/p-eac17dfe.entry.js.map +1 -0
  1060. package/dist/web-components-library/p-ee290d4c.entry.js +2 -0
  1061. package/dist/web-components-library/p-ee290d4c.entry.js.map +1 -0
  1062. package/dist/web-components-library/p-f12d9a47.entry.js +2 -0
  1063. package/dist/web-components-library/p-f12d9a47.entry.js.map +1 -0
  1064. package/dist/web-components-library/p-f393de28.entry.js +2 -0
  1065. package/dist/web-components-library/p-f393de28.entry.js.map +1 -0
  1066. package/dist/web-components-library/p-f625d532.entry.js +2 -0
  1067. package/dist/web-components-library/p-f625d532.entry.js.map +1 -0
  1068. package/dist/web-components-library/p-f6b886ab.entry.js +2 -0
  1069. package/dist/web-components-library/p-f6b886ab.entry.js.map +1 -0
  1070. package/dist/web-components-library/p-f7180c65.entry.js +2 -0
  1071. package/dist/web-components-library/p-f7180c65.entry.js.map +1 -0
  1072. package/dist/web-components-library/p-f978d22d.entry.js +2 -0
  1073. package/dist/web-components-library/p-f978d22d.entry.js.map +1 -0
  1074. package/dist/web-components-library/p-fbad70dd.entry.js +2 -0
  1075. package/dist/web-components-library/p-fbad70dd.entry.js.map +1 -0
  1076. package/dist/web-components-library/p-fdd176e2.entry.js +2 -0
  1077. package/dist/web-components-library/p-fdd176e2.entry.js.map +1 -0
  1078. package/dist/web-components-library/p-feca4075.js +2 -0
  1079. package/dist/web-components-library/p-feca4075.js.map +1 -0
  1080. package/dist/web-components-library/web-components-library.esm.js +1 -1
  1081. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  1082. package/loader/cdn.js +1 -3
  1083. package/loader/index.cjs.js +1 -3
  1084. package/loader/index.es2017.js +1 -3
  1085. package/loader/index.js +1 -3
  1086. package/package.json +37 -34
  1087. package/react/components.js +80 -80
  1088. package/react/components.js.map +1 -1
  1089. package/react/index.js +5 -1
  1090. package/react/index.js.map +1 -1
  1091. package/react/react-component-lib/createComponent.d.ts +1 -1
  1092. package/react/react-component-lib/createComponent.js +12 -8
  1093. package/react/react-component-lib/createComponent.js.map +1 -1
  1094. package/react/react-component-lib/createOverlayComponent.js +6 -6
  1095. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  1096. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  1097. package/react/react-component-lib/utils/attachProps.js +5 -5
  1098. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  1099. package/react/react-component-lib/utils/dev.js +1 -1
  1100. package/react/react-component-lib/utils/dev.js.map +1 -1
  1101. package/react/react-component-lib/utils/index.d.ts +3 -3
  1102. package/react/react-component-lib/utils/index.js +6 -2
  1103. package/react/react-component-lib/utils/index.js.map +1 -1
  1104. package/readme.md +8 -7
  1105. package/www/build/index.esm.js.map +1 -1
  1106. package/www/build/p-025f494e.js.map +1 -1
  1107. package/www/build/p-060725ef.entry.js +2 -0
  1108. package/www/build/p-060725ef.entry.js.map +1 -0
  1109. package/www/build/p-0c2fdbe5.entry.js +2 -0
  1110. package/www/build/p-0c2fdbe5.entry.js.map +1 -0
  1111. package/www/build/p-17d072c7.entry.js +2 -0
  1112. package/www/build/p-17d072c7.entry.js.map +1 -0
  1113. package/www/build/p-1c5d8cac.js +2 -0
  1114. package/www/build/p-1c5d8cac.js.map +1 -0
  1115. package/www/build/p-2010d544.entry.js +2 -0
  1116. package/www/build/p-2010d544.entry.js.map +1 -0
  1117. package/www/build/p-2395b965.entry.js +2 -0
  1118. package/www/build/p-2395b965.entry.js.map +1 -0
  1119. package/www/build/p-25a85aec.js +2 -0
  1120. package/www/build/p-25a85aec.js.map +1 -0
  1121. package/www/build/p-2c886e8b.js.map +1 -1
  1122. package/www/build/p-2ed68ac5.entry.js +2 -0
  1123. package/www/build/p-2ed68ac5.entry.js.map +1 -0
  1124. package/www/build/p-36189235.entry.js +2 -0
  1125. package/www/build/p-36189235.entry.js.map +1 -0
  1126. package/www/build/p-37f05eab.entry.js +2 -0
  1127. package/www/build/p-37f05eab.entry.js.map +1 -0
  1128. package/www/build/p-39aeb320.entry.js +2 -0
  1129. package/www/build/p-39aeb320.entry.js.map +1 -0
  1130. package/www/build/p-4170f99b.entry.js +2 -0
  1131. package/www/build/p-4170f99b.entry.js.map +1 -0
  1132. package/www/build/p-493c652a.entry.js +2 -0
  1133. package/www/build/p-493c652a.entry.js.map +1 -0
  1134. package/www/build/p-49a35cf0.js.map +1 -1
  1135. package/www/build/p-4c70b69e.entry.js +2 -0
  1136. package/www/build/p-4c70b69e.entry.js.map +1 -0
  1137. package/www/build/p-54b0b04e.js.map +1 -1
  1138. package/www/build/p-5a2fddef.entry.js +2 -0
  1139. package/www/build/p-5a2fddef.entry.js.map +1 -0
  1140. package/www/build/p-5cf2fb58.js +2 -0
  1141. package/www/build/p-5cf2fb58.js.map +1 -0
  1142. package/www/build/p-5e734fd3.entry.js +2 -0
  1143. package/www/build/p-5e734fd3.entry.js.map +1 -0
  1144. package/www/build/p-5e9b3793.entry.js +2 -0
  1145. package/www/build/p-5e9b3793.entry.js.map +1 -0
  1146. package/www/build/p-62598750.entry.js +2 -0
  1147. package/www/build/p-62598750.entry.js.map +1 -0
  1148. package/www/build/p-67d49495.entry.js +2 -0
  1149. package/www/build/p-67d49495.entry.js.map +1 -0
  1150. package/www/build/p-680ee955.entry.js +2 -0
  1151. package/www/build/p-680ee955.entry.js.map +1 -0
  1152. package/www/build/p-70914d67.entry.js +2 -0
  1153. package/www/build/p-70914d67.entry.js.map +1 -0
  1154. package/www/build/p-737293b2.js +2 -0
  1155. package/www/build/p-737293b2.js.map +1 -0
  1156. package/www/build/p-7cba8558.entry.js +2 -0
  1157. package/www/build/p-7cba8558.entry.js.map +1 -0
  1158. package/www/build/p-7ce64686.entry.js +2 -0
  1159. package/www/build/p-7ce64686.entry.js.map +1 -0
  1160. package/www/build/p-7da88300.entry.js +2 -0
  1161. package/www/build/p-7da88300.entry.js.map +1 -0
  1162. package/www/build/p-810433b1.entry.js +2 -0
  1163. package/www/build/p-810433b1.entry.js.map +1 -0
  1164. package/www/build/p-8164f039.entry.js +2 -0
  1165. package/www/build/p-8164f039.entry.js.map +1 -0
  1166. package/www/build/p-82b845c3.entry.js +2 -0
  1167. package/www/build/p-82b845c3.entry.js.map +1 -0
  1168. package/www/build/p-82e3760c.entry.js +2 -0
  1169. package/www/build/p-82e3760c.entry.js.map +1 -0
  1170. package/www/build/p-85930223.entry.js +2 -0
  1171. package/www/build/p-85930223.entry.js.map +1 -0
  1172. package/www/build/p-89c1d12d.entry.js +2 -0
  1173. package/www/build/p-89c1d12d.entry.js.map +1 -0
  1174. package/www/build/p-8cedb801.entry.js +2 -0
  1175. package/www/build/p-8cedb801.entry.js.map +1 -0
  1176. package/www/build/p-93d39e70.entry.js +2 -0
  1177. package/www/build/p-93d39e70.entry.js.map +1 -0
  1178. package/www/build/p-955da62e.js.map +1 -1
  1179. package/www/build/p-965094e0.entry.js +2 -0
  1180. package/www/build/p-965094e0.entry.js.map +1 -0
  1181. package/www/build/p-96584abb.entry.js +2 -0
  1182. package/www/build/p-96584abb.entry.js.map +1 -0
  1183. package/www/build/p-9c50d9cc.entry.js +2 -0
  1184. package/www/build/p-9c50d9cc.entry.js.map +1 -0
  1185. package/www/build/p-9dc8cdd2.entry.js +17 -0
  1186. package/www/build/p-9dc8cdd2.entry.js.map +1 -0
  1187. package/www/build/p-9dd4a4a5.entry.js +2 -0
  1188. package/www/build/p-9dd4a4a5.entry.js.map +1 -0
  1189. package/www/build/p-a0893037.entry.js +2 -0
  1190. package/www/build/p-a0893037.entry.js.map +1 -0
  1191. package/www/build/p-a11e1d48.entry.js +2 -0
  1192. package/www/build/p-a11e1d48.entry.js.map +1 -0
  1193. package/www/build/p-a789b863.entry.js +2 -0
  1194. package/www/build/p-a789b863.entry.js.map +1 -0
  1195. package/www/build/p-a8265231.entry.js +2 -0
  1196. package/www/build/p-a8265231.entry.js.map +1 -0
  1197. package/www/build/p-b064878a.entry.js +2 -0
  1198. package/www/build/p-b064878a.entry.js.map +1 -0
  1199. package/www/build/p-b6d2f646.entry.js +2 -0
  1200. package/www/build/p-b6d2f646.entry.js.map +1 -0
  1201. package/www/build/p-b72193fc.entry.js +2 -0
  1202. package/www/build/p-b72193fc.entry.js.map +1 -0
  1203. package/www/build/p-b741a768.entry.js +2 -0
  1204. package/www/build/p-b741a768.entry.js.map +1 -0
  1205. package/www/build/p-b9078348.js +2 -0
  1206. package/www/build/p-b9078348.js.map +1 -0
  1207. package/www/build/p-bc552513.entry.js +2 -0
  1208. package/www/build/p-bc552513.entry.js.map +1 -0
  1209. package/www/build/p-bf7c05a8.entry.js +2 -0
  1210. package/www/build/p-bf7c05a8.entry.js.map +1 -0
  1211. package/www/build/p-bfb58cca.entry.js +2 -0
  1212. package/www/build/p-bfb58cca.entry.js.map +1 -0
  1213. package/www/build/p-c5127319.entry.js +2 -0
  1214. package/www/build/p-c5127319.entry.js.map +1 -0
  1215. package/www/build/p-cc3c02fe.js +3 -0
  1216. package/www/build/p-cc3c02fe.js.map +1 -0
  1217. package/www/build/p-d22d5fcb.entry.js +2 -0
  1218. package/www/build/p-d22d5fcb.entry.js.map +1 -0
  1219. package/www/build/p-d594caea.entry.js +2 -0
  1220. package/www/build/p-d594caea.entry.js.map +1 -0
  1221. package/www/build/p-d73386ae.entry.js +2 -0
  1222. package/www/build/p-d73386ae.entry.js.map +1 -0
  1223. package/www/build/p-d8413391.entry.js +2 -0
  1224. package/www/build/p-d8413391.entry.js.map +1 -0
  1225. package/www/build/p-d97a3b56.js +2 -0
  1226. package/www/build/p-dde9f76d.entry.js +2 -0
  1227. package/www/build/p-dde9f76d.entry.js.map +1 -0
  1228. package/www/build/p-e1255160.js +2 -0
  1229. package/www/build/p-e1255160.js.map +1 -0
  1230. package/www/build/p-e43b10db.entry.js +2 -0
  1231. package/www/build/p-e43b10db.entry.js.map +1 -0
  1232. package/www/build/p-eac17dfe.entry.js +2 -0
  1233. package/www/build/p-eac17dfe.entry.js.map +1 -0
  1234. package/www/build/p-ee290d4c.entry.js +2 -0
  1235. package/www/build/p-ee290d4c.entry.js.map +1 -0
  1236. package/www/build/p-f12d9a47.entry.js +2 -0
  1237. package/www/build/p-f12d9a47.entry.js.map +1 -0
  1238. package/www/build/p-f393de28.entry.js +2 -0
  1239. package/www/build/p-f393de28.entry.js.map +1 -0
  1240. package/www/build/p-f625d532.entry.js +2 -0
  1241. package/www/build/p-f625d532.entry.js.map +1 -0
  1242. package/www/build/p-f6b886ab.entry.js +2 -0
  1243. package/www/build/p-f6b886ab.entry.js.map +1 -0
  1244. package/www/build/p-f7180c65.entry.js +2 -0
  1245. package/www/build/p-f7180c65.entry.js.map +1 -0
  1246. package/www/build/p-f978d22d.entry.js +2 -0
  1247. package/www/build/p-f978d22d.entry.js.map +1 -0
  1248. package/www/build/p-fbad70dd.entry.js +2 -0
  1249. package/www/build/p-fbad70dd.entry.js.map +1 -0
  1250. package/www/build/p-fdd176e2.entry.js +2 -0
  1251. package/www/build/p-fdd176e2.entry.js.map +1 -0
  1252. package/www/build/p-feca4075.js +2 -0
  1253. package/www/build/p-feca4075.js.map +1 -0
  1254. package/www/build/web-components-library.esm.js +1 -1
  1255. package/www/build/web-components-library.esm.js.map +1 -1
  1256. package/www/index.html +1 -1
  1257. package/www/pages/book-cards.html +1 -1
  1258. package/www/pages/file-upload.html +1 -1
  1259. package/www/pages/notification.html +1 -1
  1260. package/dist/cjs/index-178a9413.js +0 -20
  1261. package/dist/cjs/index-178a9413.js.map +0 -1
  1262. package/dist/cjs/index-3836ecee.js +0 -46
  1263. package/dist/cjs/index-3836ecee.js.map +0 -1
  1264. package/dist/cjs/index-79559e1d.js +0 -21
  1265. package/dist/cjs/index-79559e1d.js.map +0 -1
  1266. package/dist/cjs/index-7c62141b.js +0 -59
  1267. package/dist/cjs/index-7c62141b.js.map +0 -1
  1268. package/dist/cjs/index-8eae84b7.js +0 -21
  1269. package/dist/cjs/index-8eae84b7.js.map +0 -1
  1270. package/dist/cjs/index-dc60bee7.js +0 -3140
  1271. package/dist/cjs/index-dc60bee7.js.map +0 -1
  1272. package/dist/cjs/index-e5ff8fd3.js +0 -65
  1273. package/dist/cjs/index-e5ff8fd3.js.map +0 -1
  1274. package/dist/collection/components/buttons/z-button/index.js +0 -268
  1275. package/dist/collection/components/buttons/z-button/index.js.map +0 -1
  1276. package/dist/collection/components/buttons/z-button/index.spec.js +0 -101
  1277. package/dist/collection/components/buttons/z-button/index.spec.js.map +0 -1
  1278. package/dist/collection/components/buttons/z-button-sort/index.js +0 -221
  1279. package/dist/collection/components/buttons/z-button-sort/index.js.map +0 -1
  1280. package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +0 -1
  1281. package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +0 -1
  1282. package/dist/collection/components/buttons/z-chip/index.js +0 -148
  1283. package/dist/collection/components/buttons/z-chip/index.js.map +0 -1
  1284. package/dist/collection/components/buttons/z-chip/index.spec.js.map +0 -1
  1285. package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
  1286. package/dist/collection/components/buttons/z-toggle-button/index.js.map +0 -1
  1287. package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +0 -1
  1288. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -147
  1289. package/dist/collection/components/buttons/z-toggle-switch/index.js.map +0 -1
  1290. package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +0 -1
  1291. package/dist/collection/components/icons/icons.js +0 -873
  1292. package/dist/collection/components/icons/icons.js.map +0 -1
  1293. package/dist/collection/components/icons/z-icon/index.js +0 -122
  1294. package/dist/collection/components/icons/z-icon/index.js.map +0 -1
  1295. package/dist/collection/components/icons/z-icon/index.spec.js +0 -96
  1296. package/dist/collection/components/icons/z-icon/index.spec.js.map +0 -1
  1297. package/dist/collection/components/indicators/z-stepper/index.js +0 -22
  1298. package/dist/collection/components/indicators/z-stepper/index.js.map +0 -1
  1299. package/dist/collection/components/indicators/z-stepper/index.spec.js.map +0 -1
  1300. package/dist/collection/components/indicators/z-stepper-item/index.js +0 -122
  1301. package/dist/collection/components/indicators/z-stepper-item/index.js.map +0 -1
  1302. package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +0 -1
  1303. package/dist/collection/components/inputs/z-combobox/index.js +0 -643
  1304. package/dist/collection/components/inputs/z-combobox/index.js.map +0 -1
  1305. package/dist/collection/components/inputs/z-combobox/index.spec.js.map +0 -1
  1306. package/dist/collection/components/inputs/z-input/index.js +0 -957
  1307. package/dist/collection/components/inputs/z-input/index.js.map +0 -1
  1308. package/dist/collection/components/inputs/z-input/styles.css +0 -397
  1309. package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +0 -1
  1310. package/dist/collection/components/inputs/z-input/test-methods.spec.js +0 -13
  1311. package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +0 -1
  1312. package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +0 -1
  1313. package/dist/collection/components/inputs/z-input/test-text.spec.js +0 -347
  1314. package/dist/collection/components/inputs/z-input/test-text.spec.js.map +0 -1
  1315. package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +0 -1
  1316. package/dist/collection/components/inputs/z-input/test.e2e.js +0 -180
  1317. package/dist/collection/components/inputs/z-input/test.e2e.js.map +0 -1
  1318. package/dist/collection/components/inputs/z-input-message/index.js +0 -93
  1319. package/dist/collection/components/inputs/z-input-message/index.js.map +0 -1
  1320. package/dist/collection/components/inputs/z-input-message/index.spec.js.map +0 -1
  1321. package/dist/collection/components/inputs/z-searchbar/index.js +0 -616
  1322. package/dist/collection/components/inputs/z-searchbar/index.js.map +0 -1
  1323. package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +0 -1
  1324. package/dist/collection/components/inputs/z-select/index.js +0 -778
  1325. package/dist/collection/components/inputs/z-select/index.js.map +0 -1
  1326. package/dist/collection/components/inputs/z-select/index.spec.js.map +0 -1
  1327. package/dist/collection/components/list/z-toast-notification-list/index.js +0 -107
  1328. package/dist/collection/components/list/z-toast-notification-list/index.js.map +0 -1
  1329. package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +0 -1
  1330. package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +0 -1
  1331. package/dist/collection/components/logo/z-logo/index.js +0 -140
  1332. package/dist/collection/components/logo/z-logo/index.js.map +0 -1
  1333. package/dist/collection/components/logo/z-logo/index.spec.js.map +0 -1
  1334. package/dist/collection/components/logo/z-logo/test.e2e.js.map +0 -1
  1335. package/dist/collection/components/modal/z-modal/index.js +0 -357
  1336. package/dist/collection/components/modal/z-modal/index.js.map +0 -1
  1337. package/dist/collection/components/modal/z-modal/index.spec.js.map +0 -1
  1338. package/dist/collection/components/navigation/z-app-header/index.js +0 -420
  1339. package/dist/collection/components/navigation/z-app-header/index.js.map +0 -1
  1340. package/dist/collection/components/navigation/z-app-header/index.spec.js.map +0 -1
  1341. package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
  1342. package/dist/collection/components/navigation/z-menu/index.js +0 -244
  1343. package/dist/collection/components/navigation/z-menu/index.js.map +0 -1
  1344. package/dist/collection/components/navigation/z-menu/index.spec.js.map +0 -1
  1345. package/dist/collection/components/navigation/z-menu-section/index.js +0 -131
  1346. package/dist/collection/components/navigation/z-menu-section/index.js.map +0 -1
  1347. package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +0 -1
  1348. package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -373
  1349. package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +0 -1
  1350. package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
  1351. package/dist/collection/components/notification/z-info-box/index.js +0 -86
  1352. package/dist/collection/components/notification/z-info-box/index.js.map +0 -1
  1353. package/dist/collection/components/notification/z-info-box/index.spec.js.map +0 -1
  1354. package/dist/collection/components/notification/z-notification/index.js +0 -194
  1355. package/dist/collection/components/notification/z-notification/index.js.map +0 -1
  1356. package/dist/collection/components/notification/z-notification/index.spec.js.map +0 -1
  1357. package/dist/collection/components/notification/z-notification/test.e2e.js.map +0 -1
  1358. package/dist/collection/components/notification/z-toast-notification/index.js +0 -406
  1359. package/dist/collection/components/notification/z-toast-notification/index.js.map +0 -1
  1360. package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +0 -1
  1361. package/dist/collection/components/notification/z-tooltip/index.js +0 -151
  1362. package/dist/collection/components/notification/z-tooltip/index.js.map +0 -1
  1363. package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
  1364. package/dist/collection/components/panel/z-panel-elem/index.js.map +0 -1
  1365. package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +0 -1
  1366. package/dist/components/icons.js +0 -876
  1367. package/dist/components/icons.js.map +0 -1
  1368. package/dist/esm/index-076dde65.js +0 -18
  1369. package/dist/esm/index-076dde65.js.map +0 -1
  1370. package/dist/esm/index-14aee9cb.js +0 -57
  1371. package/dist/esm/index-14aee9cb.js.map +0 -1
  1372. package/dist/esm/index-2d440333.js +0 -19
  1373. package/dist/esm/index-2d440333.js.map +0 -1
  1374. package/dist/esm/index-2ee978fb.js +0 -19
  1375. package/dist/esm/index-2ee978fb.js.map +0 -1
  1376. package/dist/esm/index-8db8e65f.js +0 -63
  1377. package/dist/esm/index-8db8e65f.js.map +0 -1
  1378. package/dist/esm/index-a3d19e3a.js +0 -44
  1379. package/dist/esm/index-a3d19e3a.js.map +0 -1
  1380. package/dist/esm/index-f16bc2ca.js +0 -3110
  1381. package/dist/esm/index-f16bc2ca.js.map +0 -1
  1382. package/dist/esm/polyfills/core-js.js +0 -11
  1383. package/dist/esm/polyfills/dom.js +0 -79
  1384. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1385. package/dist/esm/polyfills/index.js +0 -34
  1386. package/dist/esm/polyfills/system.js +0 -6
  1387. package/dist/types/components/buttons/z-button/index.d.ts +0 -31
  1388. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
  1389. package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
  1390. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
  1391. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
  1392. package/dist/types/components/icons/icons.d.ts +0 -1577
  1393. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
  1394. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -84
  1395. package/dist/types/components/inputs/z-input/index.d.ts +0 -110
  1396. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
  1397. package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -80
  1398. package/dist/types/components/inputs/z-select/index.d.ts +0 -84
  1399. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
  1400. package/dist/types/components/modal/z-modal/index.d.ts +0 -49
  1401. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
  1402. package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
  1403. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
  1404. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
  1405. package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
  1406. package/dist/types/components/notification/z-notification/index.d.ts +0 -32
  1407. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
  1408. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
  1409. package/dist/web-components-library/p-05849d8d.entry.js +0 -2
  1410. package/dist/web-components-library/p-05849d8d.entry.js.map +0 -1
  1411. package/dist/web-components-library/p-10589629.entry.js +0 -2
  1412. package/dist/web-components-library/p-10589629.entry.js.map +0 -1
  1413. package/dist/web-components-library/p-10bb4f4b.js +0 -3
  1414. package/dist/web-components-library/p-10bb4f4b.js.map +0 -1
  1415. package/dist/web-components-library/p-118241ec.entry.js +0 -2
  1416. package/dist/web-components-library/p-118241ec.entry.js.map +0 -1
  1417. package/dist/web-components-library/p-11b26c59.entry.js +0 -2
  1418. package/dist/web-components-library/p-11b26c59.entry.js.map +0 -1
  1419. package/dist/web-components-library/p-12d181f4.entry.js +0 -2
  1420. package/dist/web-components-library/p-12d181f4.entry.js.map +0 -1
  1421. package/dist/web-components-library/p-13e18838.entry.js +0 -2
  1422. package/dist/web-components-library/p-13e18838.entry.js.map +0 -1
  1423. package/dist/web-components-library/p-1b870733.entry.js +0 -2
  1424. package/dist/web-components-library/p-1b870733.entry.js.map +0 -1
  1425. package/dist/web-components-library/p-217291fe.entry.js +0 -2
  1426. package/dist/web-components-library/p-217291fe.entry.js.map +0 -1
  1427. package/dist/web-components-library/p-27b0663c.entry.js +0 -2
  1428. package/dist/web-components-library/p-27b0663c.entry.js.map +0 -1
  1429. package/dist/web-components-library/p-2c05849f.entry.js +0 -2
  1430. package/dist/web-components-library/p-2c05849f.entry.js.map +0 -1
  1431. package/dist/web-components-library/p-2c1cbcf2.entry.js +0 -2
  1432. package/dist/web-components-library/p-2c1cbcf2.entry.js.map +0 -1
  1433. package/dist/web-components-library/p-2df79d5c.entry.js +0 -2
  1434. package/dist/web-components-library/p-2df79d5c.entry.js.map +0 -1
  1435. package/dist/web-components-library/p-2ebf9e17.js +0 -2
  1436. package/dist/web-components-library/p-2ebf9e17.js.map +0 -1
  1437. package/dist/web-components-library/p-2f2f460a.entry.js +0 -2
  1438. package/dist/web-components-library/p-2f2f460a.entry.js.map +0 -1
  1439. package/dist/web-components-library/p-3092c82f.entry.js +0 -2
  1440. package/dist/web-components-library/p-3092c82f.entry.js.map +0 -1
  1441. package/dist/web-components-library/p-3ba8b8e1.entry.js +0 -2
  1442. package/dist/web-components-library/p-3ba8b8e1.entry.js.map +0 -1
  1443. package/dist/web-components-library/p-3bae6330.entry.js +0 -2
  1444. package/dist/web-components-library/p-3bae6330.entry.js.map +0 -1
  1445. package/dist/web-components-library/p-410ec9a2.entry.js +0 -2
  1446. package/dist/web-components-library/p-410ec9a2.entry.js.map +0 -1
  1447. package/dist/web-components-library/p-414c9659.entry.js +0 -2
  1448. package/dist/web-components-library/p-414c9659.entry.js.map +0 -1
  1449. package/dist/web-components-library/p-4574595b.entry.js +0 -2
  1450. package/dist/web-components-library/p-4574595b.entry.js.map +0 -1
  1451. package/dist/web-components-library/p-45d7e54e.entry.js +0 -2
  1452. package/dist/web-components-library/p-45d7e54e.entry.js.map +0 -1
  1453. package/dist/web-components-library/p-48c16e8f.js +0 -2
  1454. package/dist/web-components-library/p-48c16e8f.js.map +0 -1
  1455. package/dist/web-components-library/p-4bc0818d.js +0 -2
  1456. package/dist/web-components-library/p-4bc0818d.js.map +0 -1
  1457. package/dist/web-components-library/p-4d2be9e5.entry.js +0 -2
  1458. package/dist/web-components-library/p-4d2be9e5.entry.js.map +0 -1
  1459. package/dist/web-components-library/p-4d2e328d.entry.js +0 -2
  1460. package/dist/web-components-library/p-4d2e328d.entry.js.map +0 -1
  1461. package/dist/web-components-library/p-4dd8d4e8.entry.js +0 -2
  1462. package/dist/web-components-library/p-4dd8d4e8.entry.js.map +0 -1
  1463. package/dist/web-components-library/p-5441ba83.entry.js +0 -2
  1464. package/dist/web-components-library/p-5441ba83.entry.js.map +0 -1
  1465. package/dist/web-components-library/p-54681ece.entry.js +0 -2
  1466. package/dist/web-components-library/p-54681ece.entry.js.map +0 -1
  1467. package/dist/web-components-library/p-5c50cc2d.entry.js +0 -2
  1468. package/dist/web-components-library/p-5c50cc2d.entry.js.map +0 -1
  1469. package/dist/web-components-library/p-6398da61.js +0 -2
  1470. package/dist/web-components-library/p-6398da61.js.map +0 -1
  1471. package/dist/web-components-library/p-64683cca.entry.js +0 -2
  1472. package/dist/web-components-library/p-64683cca.entry.js.map +0 -1
  1473. package/dist/web-components-library/p-6e8b7c93.entry.js +0 -2
  1474. package/dist/web-components-library/p-6e8b7c93.entry.js.map +0 -1
  1475. package/dist/web-components-library/p-6f023899.entry.js +0 -2
  1476. package/dist/web-components-library/p-6f023899.entry.js.map +0 -1
  1477. package/dist/web-components-library/p-7441b8f8.entry.js +0 -2
  1478. package/dist/web-components-library/p-7441b8f8.entry.js.map +0 -1
  1479. package/dist/web-components-library/p-74b2b9a0.entry.js +0 -2
  1480. package/dist/web-components-library/p-74b2b9a0.entry.js.map +0 -1
  1481. package/dist/web-components-library/p-771a4c2f.entry.js +0 -2
  1482. package/dist/web-components-library/p-771a4c2f.entry.js.map +0 -1
  1483. package/dist/web-components-library/p-7e442c5f.entry.js +0 -2
  1484. package/dist/web-components-library/p-7e442c5f.entry.js.map +0 -1
  1485. package/dist/web-components-library/p-7ef963d4.js +0 -2
  1486. package/dist/web-components-library/p-7ef963d4.js.map +0 -1
  1487. package/dist/web-components-library/p-a2b43ed1.entry.js +0 -2
  1488. package/dist/web-components-library/p-a2b43ed1.entry.js.map +0 -1
  1489. package/dist/web-components-library/p-a402854c.entry.js +0 -2
  1490. package/dist/web-components-library/p-a402854c.entry.js.map +0 -1
  1491. package/dist/web-components-library/p-a6fcefe7.entry.js +0 -2
  1492. package/dist/web-components-library/p-a6fcefe7.entry.js.map +0 -1
  1493. package/dist/web-components-library/p-b0ef19c7.js +0 -2
  1494. package/dist/web-components-library/p-b0ef19c7.js.map +0 -1
  1495. package/dist/web-components-library/p-b4ad044a.entry.js +0 -2
  1496. package/dist/web-components-library/p-b4ad044a.entry.js.map +0 -1
  1497. package/dist/web-components-library/p-b53e9a21.entry.js +0 -2
  1498. package/dist/web-components-library/p-b53e9a21.entry.js.map +0 -1
  1499. package/dist/web-components-library/p-b67887e7.entry.js +0 -2
  1500. package/dist/web-components-library/p-b67887e7.entry.js.map +0 -1
  1501. package/dist/web-components-library/p-b93c49a8.entry.js +0 -2
  1502. package/dist/web-components-library/p-b93c49a8.entry.js.map +0 -1
  1503. package/dist/web-components-library/p-b94b71b8.entry.js +0 -2
  1504. package/dist/web-components-library/p-b94b71b8.entry.js.map +0 -1
  1505. package/dist/web-components-library/p-c19aca30.entry.js +0 -2
  1506. package/dist/web-components-library/p-c19aca30.entry.js.map +0 -1
  1507. package/dist/web-components-library/p-c49ca2a9.entry.js +0 -2
  1508. package/dist/web-components-library/p-c49ca2a9.entry.js.map +0 -1
  1509. package/dist/web-components-library/p-c4e40901.entry.js +0 -2
  1510. package/dist/web-components-library/p-c4e40901.entry.js.map +0 -1
  1511. package/dist/web-components-library/p-d02bc360.entry.js +0 -2
  1512. package/dist/web-components-library/p-d02bc360.entry.js.map +0 -1
  1513. package/dist/web-components-library/p-d8c631d6.entry.js +0 -2
  1514. package/dist/web-components-library/p-d8c631d6.entry.js.map +0 -1
  1515. package/dist/web-components-library/p-d973f170.entry.js +0 -2
  1516. package/dist/web-components-library/p-d973f170.entry.js.map +0 -1
  1517. package/dist/web-components-library/p-d9f3ae73.entry.js +0 -2
  1518. package/dist/web-components-library/p-d9f3ae73.entry.js.map +0 -1
  1519. package/dist/web-components-library/p-dcd73f91.entry.js +0 -2
  1520. package/dist/web-components-library/p-dcd73f91.entry.js.map +0 -1
  1521. package/dist/web-components-library/p-dde6c887.entry.js +0 -2
  1522. package/dist/web-components-library/p-dde6c887.entry.js.map +0 -1
  1523. package/dist/web-components-library/p-e1b99a10.entry.js +0 -2
  1524. package/dist/web-components-library/p-e1b99a10.entry.js.map +0 -1
  1525. package/dist/web-components-library/p-e338f042.entry.js +0 -2
  1526. package/dist/web-components-library/p-e338f042.entry.js.map +0 -1
  1527. package/dist/web-components-library/p-e75ca94d.entry.js +0 -2
  1528. package/dist/web-components-library/p-e75ca94d.entry.js.map +0 -1
  1529. package/dist/web-components-library/p-ed1a5ee3.entry.js +0 -2
  1530. package/dist/web-components-library/p-ed1a5ee3.entry.js.map +0 -1
  1531. package/dist/web-components-library/p-ed65d0d2.entry.js +0 -2
  1532. package/dist/web-components-library/p-ed65d0d2.entry.js.map +0 -1
  1533. package/dist/web-components-library/p-edb8975a.entry.js +0 -2
  1534. package/dist/web-components-library/p-edb8975a.entry.js.map +0 -1
  1535. package/dist/web-components-library/p-ee03249d.entry.js +0 -2
  1536. package/dist/web-components-library/p-ee03249d.entry.js.map +0 -1
  1537. package/dist/web-components-library/p-ef43ca85.entry.js +0 -2
  1538. package/dist/web-components-library/p-ef43ca85.entry.js.map +0 -1
  1539. package/dist/web-components-library/p-f41da106.entry.js +0 -2
  1540. package/dist/web-components-library/p-f41da106.entry.js.map +0 -1
  1541. package/dist/web-components-library/p-f48575f1.entry.js +0 -2
  1542. package/dist/web-components-library/p-f48575f1.entry.js.map +0 -1
  1543. package/dist/web-components-library/p-f9edfd67.entry.js +0 -2
  1544. package/dist/web-components-library/p-f9edfd67.entry.js.map +0 -1
  1545. package/dist/web-components-library/p-fc4bd856.entry.js +0 -17
  1546. package/dist/web-components-library/p-fc4bd856.entry.js.map +0 -1
  1547. package/dist/web-components-library/p-feaee92d.entry.js +0 -2
  1548. package/dist/web-components-library/p-feaee92d.entry.js.map +0 -1
  1549. package/www/build/p-05849d8d.entry.js +0 -2
  1550. package/www/build/p-05849d8d.entry.js.map +0 -1
  1551. package/www/build/p-10589629.entry.js +0 -2
  1552. package/www/build/p-10589629.entry.js.map +0 -1
  1553. package/www/build/p-10bb4f4b.js +0 -3
  1554. package/www/build/p-10bb4f4b.js.map +0 -1
  1555. package/www/build/p-118241ec.entry.js +0 -2
  1556. package/www/build/p-118241ec.entry.js.map +0 -1
  1557. package/www/build/p-11b26c59.entry.js +0 -2
  1558. package/www/build/p-11b26c59.entry.js.map +0 -1
  1559. package/www/build/p-12d181f4.entry.js +0 -2
  1560. package/www/build/p-12d181f4.entry.js.map +0 -1
  1561. package/www/build/p-13e18838.entry.js +0 -2
  1562. package/www/build/p-13e18838.entry.js.map +0 -1
  1563. package/www/build/p-1b870733.entry.js +0 -2
  1564. package/www/build/p-1b870733.entry.js.map +0 -1
  1565. package/www/build/p-217291fe.entry.js +0 -2
  1566. package/www/build/p-217291fe.entry.js.map +0 -1
  1567. package/www/build/p-27b0663c.entry.js +0 -2
  1568. package/www/build/p-27b0663c.entry.js.map +0 -1
  1569. package/www/build/p-2c05849f.entry.js +0 -2
  1570. package/www/build/p-2c05849f.entry.js.map +0 -1
  1571. package/www/build/p-2c1cbcf2.entry.js +0 -2
  1572. package/www/build/p-2c1cbcf2.entry.js.map +0 -1
  1573. package/www/build/p-2df79d5c.entry.js +0 -2
  1574. package/www/build/p-2df79d5c.entry.js.map +0 -1
  1575. package/www/build/p-2ebf9e17.js +0 -2
  1576. package/www/build/p-2ebf9e17.js.map +0 -1
  1577. package/www/build/p-2f2f460a.entry.js +0 -2
  1578. package/www/build/p-2f2f460a.entry.js.map +0 -1
  1579. package/www/build/p-304150c5.js +0 -2
  1580. package/www/build/p-3092c82f.entry.js +0 -2
  1581. package/www/build/p-3092c82f.entry.js.map +0 -1
  1582. package/www/build/p-3ba8b8e1.entry.js +0 -2
  1583. package/www/build/p-3ba8b8e1.entry.js.map +0 -1
  1584. package/www/build/p-3bae6330.entry.js +0 -2
  1585. package/www/build/p-3bae6330.entry.js.map +0 -1
  1586. package/www/build/p-410ec9a2.entry.js +0 -2
  1587. package/www/build/p-410ec9a2.entry.js.map +0 -1
  1588. package/www/build/p-414c9659.entry.js +0 -2
  1589. package/www/build/p-414c9659.entry.js.map +0 -1
  1590. package/www/build/p-4574595b.entry.js +0 -2
  1591. package/www/build/p-4574595b.entry.js.map +0 -1
  1592. package/www/build/p-45d7e54e.entry.js +0 -2
  1593. package/www/build/p-45d7e54e.entry.js.map +0 -1
  1594. package/www/build/p-48c16e8f.js +0 -2
  1595. package/www/build/p-48c16e8f.js.map +0 -1
  1596. package/www/build/p-4bc0818d.js +0 -2
  1597. package/www/build/p-4bc0818d.js.map +0 -1
  1598. package/www/build/p-4d2be9e5.entry.js +0 -2
  1599. package/www/build/p-4d2be9e5.entry.js.map +0 -1
  1600. package/www/build/p-4d2e328d.entry.js +0 -2
  1601. package/www/build/p-4d2e328d.entry.js.map +0 -1
  1602. package/www/build/p-4dd8d4e8.entry.js +0 -2
  1603. package/www/build/p-4dd8d4e8.entry.js.map +0 -1
  1604. package/www/build/p-5441ba83.entry.js +0 -2
  1605. package/www/build/p-5441ba83.entry.js.map +0 -1
  1606. package/www/build/p-54681ece.entry.js +0 -2
  1607. package/www/build/p-54681ece.entry.js.map +0 -1
  1608. package/www/build/p-5c50cc2d.entry.js +0 -2
  1609. package/www/build/p-5c50cc2d.entry.js.map +0 -1
  1610. package/www/build/p-6398da61.js +0 -2
  1611. package/www/build/p-6398da61.js.map +0 -1
  1612. package/www/build/p-64683cca.entry.js +0 -2
  1613. package/www/build/p-64683cca.entry.js.map +0 -1
  1614. package/www/build/p-6e8b7c93.entry.js +0 -2
  1615. package/www/build/p-6e8b7c93.entry.js.map +0 -1
  1616. package/www/build/p-6f023899.entry.js +0 -2
  1617. package/www/build/p-6f023899.entry.js.map +0 -1
  1618. package/www/build/p-7441b8f8.entry.js +0 -2
  1619. package/www/build/p-7441b8f8.entry.js.map +0 -1
  1620. package/www/build/p-74b2b9a0.entry.js +0 -2
  1621. package/www/build/p-74b2b9a0.entry.js.map +0 -1
  1622. package/www/build/p-771a4c2f.entry.js +0 -2
  1623. package/www/build/p-771a4c2f.entry.js.map +0 -1
  1624. package/www/build/p-7e442c5f.entry.js +0 -2
  1625. package/www/build/p-7e442c5f.entry.js.map +0 -1
  1626. package/www/build/p-7ef963d4.js +0 -2
  1627. package/www/build/p-7ef963d4.js.map +0 -1
  1628. package/www/build/p-a2b43ed1.entry.js +0 -2
  1629. package/www/build/p-a2b43ed1.entry.js.map +0 -1
  1630. package/www/build/p-a402854c.entry.js +0 -2
  1631. package/www/build/p-a402854c.entry.js.map +0 -1
  1632. package/www/build/p-a6fcefe7.entry.js +0 -2
  1633. package/www/build/p-a6fcefe7.entry.js.map +0 -1
  1634. package/www/build/p-b0ef19c7.js +0 -2
  1635. package/www/build/p-b0ef19c7.js.map +0 -1
  1636. package/www/build/p-b4ad044a.entry.js +0 -2
  1637. package/www/build/p-b4ad044a.entry.js.map +0 -1
  1638. package/www/build/p-b53e9a21.entry.js +0 -2
  1639. package/www/build/p-b53e9a21.entry.js.map +0 -1
  1640. package/www/build/p-b67887e7.entry.js +0 -2
  1641. package/www/build/p-b67887e7.entry.js.map +0 -1
  1642. package/www/build/p-b93c49a8.entry.js +0 -2
  1643. package/www/build/p-b93c49a8.entry.js.map +0 -1
  1644. package/www/build/p-b94b71b8.entry.js +0 -2
  1645. package/www/build/p-b94b71b8.entry.js.map +0 -1
  1646. package/www/build/p-c19aca30.entry.js +0 -2
  1647. package/www/build/p-c19aca30.entry.js.map +0 -1
  1648. package/www/build/p-c49ca2a9.entry.js +0 -2
  1649. package/www/build/p-c49ca2a9.entry.js.map +0 -1
  1650. package/www/build/p-c4e40901.entry.js +0 -2
  1651. package/www/build/p-c4e40901.entry.js.map +0 -1
  1652. package/www/build/p-d02bc360.entry.js +0 -2
  1653. package/www/build/p-d02bc360.entry.js.map +0 -1
  1654. package/www/build/p-d8c631d6.entry.js +0 -2
  1655. package/www/build/p-d8c631d6.entry.js.map +0 -1
  1656. package/www/build/p-d973f170.entry.js +0 -2
  1657. package/www/build/p-d973f170.entry.js.map +0 -1
  1658. package/www/build/p-d9f3ae73.entry.js +0 -2
  1659. package/www/build/p-d9f3ae73.entry.js.map +0 -1
  1660. package/www/build/p-dcd73f91.entry.js +0 -2
  1661. package/www/build/p-dcd73f91.entry.js.map +0 -1
  1662. package/www/build/p-dde6c887.entry.js +0 -2
  1663. package/www/build/p-dde6c887.entry.js.map +0 -1
  1664. package/www/build/p-e1b99a10.entry.js +0 -2
  1665. package/www/build/p-e1b99a10.entry.js.map +0 -1
  1666. package/www/build/p-e338f042.entry.js +0 -2
  1667. package/www/build/p-e338f042.entry.js.map +0 -1
  1668. package/www/build/p-e75ca94d.entry.js +0 -2
  1669. package/www/build/p-e75ca94d.entry.js.map +0 -1
  1670. package/www/build/p-ed1a5ee3.entry.js +0 -2
  1671. package/www/build/p-ed1a5ee3.entry.js.map +0 -1
  1672. package/www/build/p-ed65d0d2.entry.js +0 -2
  1673. package/www/build/p-ed65d0d2.entry.js.map +0 -1
  1674. package/www/build/p-edb8975a.entry.js +0 -2
  1675. package/www/build/p-edb8975a.entry.js.map +0 -1
  1676. package/www/build/p-ee03249d.entry.js +0 -2
  1677. package/www/build/p-ee03249d.entry.js.map +0 -1
  1678. package/www/build/p-ef43ca85.entry.js +0 -2
  1679. package/www/build/p-ef43ca85.entry.js.map +0 -1
  1680. package/www/build/p-f41da106.entry.js +0 -2
  1681. package/www/build/p-f41da106.entry.js.map +0 -1
  1682. package/www/build/p-f48575f1.entry.js +0 -2
  1683. package/www/build/p-f48575f1.entry.js.map +0 -1
  1684. package/www/build/p-f9edfd67.entry.js +0 -2
  1685. package/www/build/p-f9edfd67.entry.js.map +0 -1
  1686. package/www/build/p-fc4bd856.entry.js +0 -17
  1687. package/www/build/p-fc4bd856.entry.js.map +0 -1
  1688. package/www/build/p-feaee92d.entry.js +0 -2
  1689. package/www/build/p-feaee92d.entry.js.map +0 -1
  1690. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/index.spec.js +0 -0
  1691. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/styles.css +0 -0
  1692. /package/dist/collection/components/{buttons/z-button → z-button}/styles.css +0 -0
  1693. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/index.spec.js +0 -0
  1694. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/styles.css +0 -0
  1695. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/test.e2e.js +0 -0
  1696. /package/dist/collection/components/{buttons/z-chip → z-chip}/index.spec.js +0 -0
  1697. /package/dist/collection/components/{buttons/z-chip → z-chip}/styles.css +0 -0
  1698. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/index.spec.js +0 -0
  1699. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/styles.css +0 -0
  1700. /package/dist/collection/components/{icons/z-icon → z-icon}/styles.css +0 -0
  1701. /package/dist/collection/components/{notification/z-info-box → z-info-box}/index.spec.js +0 -0
  1702. /package/dist/collection/components/{notification/z-info-box → z-info-box}/styles.css +0 -0
  1703. /package/dist/collection/components/{inputs/z-input → z-input}/test-checkbox.spec.js +0 -0
  1704. /package/dist/collection/components/{inputs/z-input → z-input}/test-radio.spec.js +0 -0
  1705. /package/dist/collection/components/{inputs/z-input → z-input}/test-textarea.spec.js +0 -0
  1706. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/index.spec.js +0 -0
  1707. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/styles.css +0 -0
  1708. /package/dist/collection/components/{logo/z-logo → z-logo}/index.spec.js +0 -0
  1709. /package/dist/collection/components/{logo/z-logo → z-logo}/styles.css +0 -0
  1710. /package/dist/collection/components/{logo/z-logo → z-logo}/test.e2e.js +0 -0
  1711. /package/dist/collection/components/{navigation/z-menu → z-menu}/index.spec.js +0 -0
  1712. /package/dist/collection/components/{navigation/z-menu → z-menu}/styles.css +0 -0
  1713. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/index.spec.js +0 -0
  1714. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/styles.css +0 -0
  1715. /package/dist/collection/components/{modal/z-modal → z-modal}/index.spec.js +0 -0
  1716. /package/dist/collection/components/{modal/z-modal → z-modal}/styles.css +0 -0
  1717. /package/dist/collection/components/{navigation/z-navigation-tabs → z-navigation-tabs}/styles.css +0 -0
  1718. /package/dist/collection/components/{notification/z-notification → z-notification}/index.spec.js +0 -0
  1719. /package/dist/collection/components/{notification/z-notification → z-notification}/styles.css +0 -0
  1720. /package/dist/collection/components/{notification/z-notification → z-notification}/test.e2e.js +0 -0
  1721. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/index.spec.js +0 -0
  1722. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/styles.css +0 -0
  1723. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/index.spec.js +0 -0
  1724. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/styles.css +0 -0
  1725. /package/dist/collection/components/{inputs/z-select → z-select}/index.spec.js +0 -0
  1726. /package/dist/collection/components/{inputs/z-select → z-select}/styles.css +0 -0
  1727. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/index.spec.js +0 -0
  1728. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/styles.css +0 -0
  1729. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/index.spec.js +0 -0
  1730. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/styles.css +0 -0
  1731. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/index.spec.js +0 -0
  1732. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/styles.css +0 -0
  1733. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/index.spec.js +0 -0
  1734. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/styles.css +0 -0
  1735. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/test.e2e.js +0 -0
  1736. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/index.spec.js +0 -0
  1737. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/styles.css +0 -0
  1738. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/index.spec.js +0 -0
  1739. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/styles.css +0 -0
  1740. /package/dist/collection/components/{notification/z-tooltip → z-tooltip}/styles.css +0 -0
  1741. /package/dist/types/components/{icons/z-icon → z-icon}/index.d.ts +0 -0
  1742. /package/dist/types/components/{logo/z-logo → z-logo}/index.d.ts +0 -0
  1743. /package/dist/types/components/{panel/z-panel-elem → z-panel-elem}/index.d.ts +0 -0
  1744. /package/dist/types/components/{indicators/z-stepper-item → z-stepper-item}/index.d.ts +0 -0
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { e as ControlSize, _ as AccordionVariant } from './index2.js';
3
3
  import { d as defineCustomElement$2 } from './index9.js';
4
4
 
5
- const stylesCss = ":host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant=\"background\"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant=\"background\"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}:host([size=\"x-small\"]) summary{--summary-height:var(--summary-x-small-height)}:host([size=\"small\"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size=\"x-small\"],[size=\"small\"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant=\"background\"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant=\"background\"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--color-surface03);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:\"\"}:host([highlight][variant=\"background\"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant=\"background\"]:not([open])) summary::before,:host([highlight][variant=\"background\"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size=\"x-small\"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size=\"x-small\"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size=\"x-small\"],[size=\"small\"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size=\"x-small\"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant=\"background\"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]{border-radius:0}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]::part(summary){border-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}";
5
+ const stylesCss = ":host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant=\"background\"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant=\"background\"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}:host([size=\"x-small\"]) summary{--summary-height:var(--summary-x-small-height)}:host([size=\"small\"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size=\"x-small\"],[size=\"small\"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant=\"background\"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant=\"background\"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:\"\"}:host([highlight][variant=\"background\"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant=\"background\"]:not([open])) summary::before,:host([highlight][variant=\"background\"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size=\"x-small\"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size=\"x-small\"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size=\"x-small\"],[size=\"small\"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size=\"x-small\"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant=\"background\"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]{border-radius:0}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]::part(summary){border-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}";
6
6
  const ZAccordionStyle0 = stylesCss;
7
7
 
8
8
  const ZAccordion$1 = /*@__PURE__*/ proxyCustomElement(class ZAccordion extends HTMLElement {
@@ -40,7 +40,7 @@ const ZAccordion$1 = /*@__PURE__*/ proxyCustomElement(class ZAccordion extends H
40
40
  this.toggled.emit(this.open);
41
41
  }
42
42
  render() {
43
- return (h("details", { key: '9b6381d6a29fe8ea16ecdcb38d1784c1cc3bcc80', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: 'bf02abfd586afbafabddf1d3e5d7de934722dea6', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '2fa466698c2f605dbe4eaac5cd48cd9af69448cc', class: "z-accordion-label" }, this.label), h("span", { key: '3cf6a1812413aa84f7ce106d5b81587d5e211cb2', class: "z-accordion-tags" }, h("slot", { key: '0a7109139d474427bf396960af79eae2e827c985', name: "tag" })), h("z-icon", { key: 'e2853db6bbd4947486fe3d95a5bc8d003c74299f', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { class: "z-accordion-content", part: "content" }, h("slot", null)))));
43
+ return (h("details", { key: '38787e09f78228eedda870ebd2380feae9f221ef', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '5eebc1fe756b6ef603bd0170fd53aa9548e02dec', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '741eab4038e866bc34259348e66d0115a55ad333', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: 'e82c28a47084aba4a031ce947ac22e73d9c0c26d', class: "z-accordion-label" }, this.label), h("span", { key: '20279a9c0935c533a909a124a1f87f266d5783a3', class: "z-accordion-tags" }, h("slot", { key: '697e5e1cfb5764da59ded7eec41a3e7a2edd56b4', name: "tag" })), h("z-icon", { key: '079968872230475ee1783077819387e205ebdf72', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '4377a46e29de0d5e079f1e8011b3e6e10bf1a876', class: "z-accordion-content", part: "content" }, h("slot", { key: 'e998671e6f42b524ab26d2ef71931acf5ed680b7' })))));
44
44
  }
45
45
  static get watchers() { return {
46
46
  "isDisabled": ["onDisabledChange"]
@@ -1 +1 @@
1
- {"file":"z-accordion.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,+3LAA+3L,CAAC;AACl5L,yBAAe,SAAS;;MCuBXA,YAAU;;;;;;;;oBAiBd,WAAW,CAAC,GAAG;0BAMT,KAAK;oBAMX,KAAK;yBAMA,KAAK;uBAMW,gBAAgB,CAAC,OAAO;sBAM3C,IAAI;;IASH,gBAAgB;QACxB,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB;KACF;;;;;;IASO,eAAe;QACrB,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,KAAK,CAAC;YAE7B,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QACjC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,gEACE,GAAG,EAAE,CAAC,GAAuB,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EACzD,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAI,EAAE,IAAI,CAAC,IAAI,IAEf,gEACE,QAAQ,EAAE,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,IAAI,EACrC,IAAI,EAAC,SAAS,IAEb,IAAI,CAAC,IAAI,KACR,cACE,KAAK,EAAC,wBAAwB,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,GACf,CACH,EACD,6DAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,KAAK,CAAQ,EACnD,6DAAM,KAAK,EAAC,kBAAkB,IAC5B,6DAAM,IAAI,EAAC,KAAK,GAAG,CACd,EACP,+DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAC/C,CACM,EACT,CAAC,IAAI,CAAC,UAAU,KACf,WACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,SAAS,IAEd,eAAQ,CACJ,CACP,CACO,EACV;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAccordion"],"sources":["src/components/z-accordion/styles.css?tag=z-accordion&encapsulation=shadow","src/components/z-accordion/index.tsx"],"sourcesContent":[":host,\n:host *,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n:host {\n --z-accordion-highlight-color: transparent;\n --z-accordion-bg: var(--color-surface01);\n --z-accordion-label-color: var(--color-default-text);\n --z-accordion-disabled-label-color: var(--color-text03);\n --z-accordion-content-bg: var(--color-surface01);\n --z-accordion-content-fg: var(--color-default-text);\n --z-accordion-hover-color: var(--color-surface03);\n --z-accordion-left-padding: calc(var(--space-unit) * 2);\n --z-accordion-right-padding: var(--space-unit);\n --z-accordion-label-font-weight: var(--font-sb);\n\n display: block;\n border-top: var(--border-size-small) solid var(--color-surface03);\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host([variant=\"background\"]) {\n border: var(--border-size-small) solid var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n:host([variant=\"background\"][shadow]) {\n box-shadow: var(--shadow-2);\n}\n\ndetails {\n background-color: transparent;\n}\n\nsummary {\n --summary-x-small-height: 32px;\n --summary-small-height: 36px;\n --summary-big-height: 44px;\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n\n position: relative;\n display: flex;\n height: var(--summary-height);\n align-items: center;\n padding: var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);\n background-color: var(--z-accordion-bg);\n column-gap: var(--space-unit);\n cursor: pointer;\n list-style: none;\n}\n\n:host([size=\"x-small\"]) summary {\n --summary-height: var(--summary-x-small-height);\n}\n\n:host([size=\"small\"]) summary {\n --summary-height: var(--summary-small-height);\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) summary {\n --summary-y-padding: calc(var(--space-unit) / 2);\n}\n\n:host([variant=\"background\"]) summary {\n padding-right: calc(var(--space-unit) * 2);\n\n /* border-radius of the accordion - width of the accordion's border */\n border-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([variant=\"background\"][open]) summary {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host([is-disabled]) summary {\n cursor: default;\n}\n\nsummary:focus:focus-visible {\n background-color: var(--color-surface03);\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\nsummary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: var(--space-unit);\n height: 100%;\n content: \"\";\n}\n\n:host([highlight][variant=\"background\"]) summary::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-top-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight][variant=\"background\"]:not([open])) summary::before,\n:host([highlight][variant=\"background\"][open]) .z-accordion-content::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight]) summary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-highlight-color, transparent);\n}\n\n:host([is-disabled][highlight]) summary::before,\n:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-disabled-label-color);\n}\n\nsummary > z-icon {\n fill: var(--z-accordion-label-color);\n}\n\n:host([is-disabled]) summary > z-icon {\n fill: var(--z-accordion-disabled-label-color);\n}\n\n.z-accordion-label {\n color: var(--z-accordion-label-color);\n font-size: var(--font-size-3); /* for \"small\" and \"big\" sizes */\n font-weight: var(--z-accordion-label-font-weight);\n}\n\n:host([size=\"x-small\"]) .z-accordion-label {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-accordion-tags {\n display: flex;\n align-items: center;\n column-gap: calc(var(--space-unit) / 2);\n}\n\nsummary z-icon.z-accordion-chevron {\n margin-left: auto;\n}\n\n.z-accordion-content {\n position: relative;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);\n background-color: var(--z-accordion-content-bg);\n color: var(--z-accordion-content-fg);\n font-size: var(--font-size-2); /* for \"small\" and \"big\" sizes */\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) .z-accordion-content {\n padding-bottom: var(--space-unit);\n}\n\n:host([size=\"x-small\"]) .z-accordion-content {\n font-size: var(--font-size-1);\n}\n\n:host([variant=\"background\"]) .z-accordion-content {\n padding-right: calc(var(--space-unit) * 2);\n}\n\n:host([is-disabled]) .z-accordion-label {\n color: var(--z-accordion-disabled-label-color);\n}\n\n:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]) {\n --z-tag-bg: var(--z-accordion-disabled-label-color) !important;\n --z-tag-text-color: var(--color-text-inverse) !important;\n}\n\n@media (hover: hover) {\n summary:focus:focus-visible {\n /* prevents the focus shadow to be covered by the background of an hovered sibling accordion */\n position: relative;\n z-index: 1;\n }\n\n :host(:not([is-disabled])) summary:hover {\n background-color: var(--z-accordion-hover-color);\n }\n\n :host(:not([is-disabled])) summary:hover .z-accordion-label {\n text-decoration: underline;\n }\n}\n\n/* force \"big\" variant on touch devices */\n@media (hover: none) {\n :host([size]) summary {\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n }\n\n :host([size]) .z-accordion-label {\n font-size: var(--font-size-3);\n }\n\n :host([size]) .z-accordion-content {\n font-size: var(--font-size-2);\n }\n\n :host([size]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 18px;\n --z-icon-height: 18px;\n }\n}\n\n/* Style for sibling accordions in a stack context */\n\nz-accordion + z-accordion {\n border-top: none;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"] {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]::part(summary) {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary) {\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n border-bottom-right-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n","import {Component, Prop, h, Event, EventEmitter, Watch} from \"@stencil/core\";\nimport {ControlSize, AccordionVariant} from \"../../beans\";\n\n/**\n * Accordion component.\n *\n * @slot - Slot for the main content.\n * @slot tag - Slot for tags.\n * @cssprop --z-accordion-highlight-color - Color of the highlight band on the summary's left edge. Only applies when `highlight` is true. Default: `transparent`.\n * @cssprop --z-accordion-bg - Background color of the summary. Default: `--color-surface02`.\n * @cssprop --z-accordion-label-color - Label color. Default: `--color-default-text`.\n * @cssprop --z-accordion-disabled-label-color - Label color when disabled. Default: `--color-text03`.\n * @cssprop --z-accordion-content-bg - Background color of the accordion. Default: `--color-surface02`.\n * @cssprop --z-accordion-content-fg - Content text color. Default: `--color-default-text`.\n * @cssprop --z-accordion-hover-color - Hover color of the summary. Default: `--color-surface03`.\n * @cssprop --z-accordion-left-padding - Left padding of the summary. Default: `--space-unit` * 2.\n * @cssprop --z-accordion-right-padding - Right padding of the summary. Default: `--space-unit`.\n * @cssprop --z-accordion-label-font-weight - Font weight of the summary label. Default: `--font-sb`.\n */\n@Component({\n tag: \"z-accordion\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAccordion {\n /**\n * Text label.\n */\n @Prop()\n label: string;\n\n /**\n * Name of the z-icon to display before the label's text.\n */\n @Prop()\n icon: string;\n\n /**\n * Size of the component.\n */\n @Prop({reflect: true})\n size = ControlSize.BIG;\n\n /**\n * Disabled state of the accordion.\n */\n @Prop({reflect: true})\n isDisabled = false;\n\n /**\n * The open state of the accordion.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Enable highlight band on the `summary`'s left edge.\n */\n @Prop({reflect: true})\n highlight = false;\n\n /**\n * Accordion variant.\n */\n @Prop({reflect: true})\n variant: AccordionVariant = AccordionVariant.DEFAULT;\n\n /**\n * Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`.\n */\n @Prop({reflect: true})\n shadow = true;\n\n /**\n * Event fired when the accordion is toggled.\n */\n @Event()\n toggled: EventEmitter<boolean>;\n\n @Watch(\"isDisabled\")\n protected onDisabledChange(): void {\n if (this.isDisabled) {\n this.open = false;\n }\n }\n\n private detailsElm: HTMLDetailsElement;\n\n /**\n * Handle `details` element toggle.\n * If currently disabled, prevent toggling by forcing the `open` state to `false`.\n * Unfortunately the \"toggle\" event is not cancelable and when catched, the `open` state is already changed.\n */\n private onDetailsToggle(): void {\n if (this.isDisabled) {\n this.open = false;\n this.detailsElm.open = false;\n\n return;\n }\n\n this.open = this.detailsElm.open;\n this.toggled.emit(this.open);\n }\n\n render(): HTMLDetailsElement {\n return (\n <details\n ref={(elm: HTMLDetailsElement) => (this.detailsElm = elm)}\n onToggle={this.onDetailsToggle.bind(this)}\n open={this.open}\n >\n <summary\n tabIndex={this.isDisabled ? -1 : null}\n part=\"summary\"\n >\n {this.icon && (\n <z-icon\n class=\"z-accordion-label-icon\"\n name={this.icon}\n />\n )}\n <span class=\"z-accordion-label\">{this.label}</span>\n <span class=\"z-accordion-tags\">\n <slot name=\"tag\" />\n </span>\n <z-icon\n class=\"z-accordion-chevron\"\n name={this.open ? \"chevron-up\" : \"chevron-down\"}\n />\n </summary>\n {!this.isDisabled && (\n <div\n class=\"z-accordion-content\"\n part=\"content\"\n >\n <slot />\n </div>\n )}\n </details>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-accordion.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,u4LAAu4L,CAAC;AAC15L,yBAAe,SAAS;;MCuBXA,YAAU;;;;;;;;oBAiBd,WAAW,CAAC,GAAG;0BAMT,KAAK;oBAMX,KAAK;yBAMA,KAAK;uBAMW,gBAAgB,CAAC,OAAO;sBAM3C,IAAI;;IASH,gBAAgB;QACxB,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB;KACF;;;;;;IASO,eAAe;QACrB,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,KAAK,CAAC;YAE7B,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QACjC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,gEACE,GAAG,EAAE,CAAC,GAAuB,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EACzD,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAI,EAAE,IAAI,CAAC,IAAI,IAEf,gEACE,QAAQ,EAAE,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,IAAI,EACrC,IAAI,EAAC,SAAS,IAEb,IAAI,CAAC,IAAI,KACR,+DACE,KAAK,EAAC,wBAAwB,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,GACf,CACH,EACD,6DAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,KAAK,CAAQ,EACnD,6DAAM,KAAK,EAAC,kBAAkB,IAC5B,6DAAM,IAAI,EAAC,KAAK,GAAG,CACd,EACP,+DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAC/C,CACM,EACT,CAAC,IAAI,CAAC,UAAU,KACf,4DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,SAAS,IAEd,8DAAQ,CACJ,CACP,CACO,EACV;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAccordion"],"sources":["src/components/z-accordion/styles.css?tag=z-accordion&encapsulation=shadow","src/components/z-accordion/index.tsx"],"sourcesContent":[":host,\n:host *,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n:host {\n --z-accordion-highlight-color: transparent;\n --z-accordion-bg: var(--color-surface01);\n --z-accordion-label-color: var(--color-default-text);\n --z-accordion-disabled-label-color: var(--color-text03);\n --z-accordion-content-bg: var(--color-surface01);\n --z-accordion-content-fg: var(--color-default-text);\n --z-accordion-hover-color: var(--color-surface03);\n --z-accordion-left-padding: calc(var(--space-unit) * 2);\n --z-accordion-right-padding: var(--space-unit);\n --z-accordion-label-font-weight: var(--font-sb);\n\n display: block;\n border-top: var(--border-size-small) solid var(--color-surface03);\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host([variant=\"background\"]) {\n border: var(--border-size-small) solid var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n:host([variant=\"background\"][shadow]) {\n box-shadow: var(--shadow-2);\n}\n\ndetails {\n background-color: transparent;\n}\n\nsummary {\n --summary-x-small-height: 32px;\n --summary-small-height: 36px;\n --summary-big-height: 44px;\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n\n position: relative;\n display: flex;\n height: var(--summary-height);\n align-items: center;\n padding: var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);\n background-color: var(--z-accordion-bg);\n column-gap: var(--space-unit);\n cursor: pointer;\n list-style: none;\n}\n\n:host([size=\"x-small\"]) summary {\n --summary-height: var(--summary-x-small-height);\n}\n\n:host([size=\"small\"]) summary {\n --summary-height: var(--summary-small-height);\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) summary {\n --summary-y-padding: calc(var(--space-unit) / 2);\n}\n\n:host([variant=\"background\"]) summary {\n padding-right: calc(var(--space-unit) * 2);\n\n /* border-radius of the accordion - width of the accordion's border */\n border-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([variant=\"background\"][open]) summary {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host([is-disabled]) summary {\n cursor: default;\n}\n\nsummary:focus:focus-visible {\n background-color: var(--z-accordion-hover-color);\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\nsummary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: var(--space-unit);\n height: 100%;\n content: \"\";\n}\n\n:host([highlight][variant=\"background\"]) summary::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-top-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight][variant=\"background\"]:not([open])) summary::before,\n:host([highlight][variant=\"background\"][open]) .z-accordion-content::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight]) summary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-highlight-color, transparent);\n}\n\n:host([is-disabled][highlight]) summary::before,\n:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-disabled-label-color);\n}\n\nsummary > z-icon {\n fill: var(--z-accordion-label-color);\n}\n\n:host([is-disabled]) summary > z-icon {\n fill: var(--z-accordion-disabled-label-color);\n}\n\n.z-accordion-label {\n color: var(--z-accordion-label-color);\n font-size: var(--font-size-3); /* for \"small\" and \"big\" sizes */\n font-weight: var(--z-accordion-label-font-weight);\n}\n\n:host([size=\"x-small\"]) .z-accordion-label {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-accordion-tags {\n display: flex;\n align-items: center;\n column-gap: calc(var(--space-unit) / 2);\n}\n\nsummary z-icon.z-accordion-chevron {\n margin-left: auto;\n}\n\n.z-accordion-content {\n position: relative;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);\n background-color: var(--z-accordion-content-bg);\n color: var(--z-accordion-content-fg);\n font-size: var(--font-size-2); /* for \"small\" and \"big\" sizes */\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) .z-accordion-content {\n padding-bottom: var(--space-unit);\n}\n\n:host([size=\"x-small\"]) .z-accordion-content {\n font-size: var(--font-size-1);\n}\n\n:host([variant=\"background\"]) .z-accordion-content {\n padding-right: calc(var(--space-unit) * 2);\n}\n\n:host([is-disabled]) .z-accordion-label {\n color: var(--z-accordion-disabled-label-color);\n}\n\n:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]) {\n --z-tag-bg: var(--z-accordion-disabled-label-color) !important;\n --z-tag-text-color: var(--color-text-inverse) !important;\n}\n\n@media (hover: hover) {\n summary:focus:focus-visible {\n /* prevents the focus shadow to be covered by the background of an hovered sibling accordion */\n position: relative;\n z-index: 1;\n }\n\n :host(:not([is-disabled])) summary:hover {\n background-color: var(--z-accordion-hover-color);\n }\n\n :host(:not([is-disabled])) summary:hover .z-accordion-label {\n text-decoration: underline;\n }\n}\n\n/* force \"big\" variant on touch devices */\n@media (hover: none) {\n :host([size]) summary {\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n }\n\n :host([size]) .z-accordion-label {\n font-size: var(--font-size-3);\n }\n\n :host([size]) .z-accordion-content {\n font-size: var(--font-size-2);\n }\n\n :host([size]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 18px;\n --z-icon-height: 18px;\n }\n}\n\n/* Style for sibling accordions in a stack context */\n\nz-accordion + z-accordion {\n border-top: none;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"] {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]::part(summary) {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary) {\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n border-bottom-right-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n","import {Component, Event, EventEmitter, Prop, Watch, h} from \"@stencil/core\";\nimport {AccordionVariant, ControlSize} from \"../../beans\";\n\n/**\n * Accordion component.\n *\n * @slot - Slot for the main content.\n * @slot tag - Slot for tags.\n * @cssprop --z-accordion-highlight-color - Color of the highlight band on the summary's left edge. Only applies when `highlight` is true. Default: `transparent`.\n * @cssprop --z-accordion-bg - Background color of the summary. Default: `--color-surface02`.\n * @cssprop --z-accordion-label-color - Label color. Default: `--color-default-text`.\n * @cssprop --z-accordion-disabled-label-color - Label color when disabled. Default: `--color-text03`.\n * @cssprop --z-accordion-content-bg - Background color of the accordion. Default: `--color-surface02`.\n * @cssprop --z-accordion-content-fg - Content text color. Default: `--color-default-text`.\n * @cssprop --z-accordion-hover-color - Hover color of the summary. Default: `--color-surface03`.\n * @cssprop --z-accordion-left-padding - Left padding of the summary. Default: `--space-unit` * 2.\n * @cssprop --z-accordion-right-padding - Right padding of the summary. Default: `--space-unit`.\n * @cssprop --z-accordion-label-font-weight - Font weight of the summary label. Default: `--font-sb`.\n */\n@Component({\n tag: \"z-accordion\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAccordion {\n /**\n * Text label.\n */\n @Prop()\n label: string;\n\n /**\n * Name of the z-icon to display before the label's text.\n */\n @Prop()\n icon: string;\n\n /**\n * Size of the component.\n */\n @Prop({reflect: true})\n size = ControlSize.BIG;\n\n /**\n * Disabled state of the accordion.\n */\n @Prop({reflect: true})\n isDisabled = false;\n\n /**\n * The open state of the accordion.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Enable highlight band on the `summary`'s left edge.\n */\n @Prop({reflect: true})\n highlight = false;\n\n /**\n * Accordion variant.\n */\n @Prop({reflect: true})\n variant: AccordionVariant = AccordionVariant.DEFAULT;\n\n /**\n * Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`.\n */\n @Prop({reflect: true})\n shadow = true;\n\n /**\n * Event fired when the accordion is toggled.\n */\n @Event()\n toggled: EventEmitter<boolean>;\n\n @Watch(\"isDisabled\")\n protected onDisabledChange(): void {\n if (this.isDisabled) {\n this.open = false;\n }\n }\n\n private detailsElm: HTMLDetailsElement;\n\n /**\n * Handle `details` element toggle.\n * If currently disabled, prevent toggling by forcing the `open` state to `false`.\n * Unfortunately the \"toggle\" event is not cancelable and when catched, the `open` state is already changed.\n */\n private onDetailsToggle(): void {\n if (this.isDisabled) {\n this.open = false;\n this.detailsElm.open = false;\n\n return;\n }\n\n this.open = this.detailsElm.open;\n this.toggled.emit(this.open);\n }\n\n render(): HTMLDetailsElement {\n return (\n <details\n ref={(elm: HTMLDetailsElement) => (this.detailsElm = elm)}\n onToggle={this.onDetailsToggle.bind(this)}\n open={this.open}\n >\n <summary\n tabIndex={this.isDisabled ? -1 : null}\n part=\"summary\"\n >\n {this.icon && (\n <z-icon\n class=\"z-accordion-label-icon\"\n name={this.icon}\n />\n )}\n <span class=\"z-accordion-label\">{this.label}</span>\n <span class=\"z-accordion-tags\">\n <slot name=\"tag\" />\n </span>\n <z-icon\n class=\"z-accordion-chevron\"\n name={this.open ? \"chevron-up\" : \"chevron-down\"}\n />\n </summary>\n {!this.isDisabled && (\n <div\n class=\"z-accordion-content\"\n part=\"content\"\n >\n <slot />\n </div>\n )}\n </details>\n );\n }\n}\n"],"version":3}
@@ -3,7 +3,7 @@ import { B as ButtonVariant } from './index2.js';
3
3
  import { d as defineCustomElement$3 } from './index4.js';
4
4
  import { d as defineCustomElement$2 } from './index9.js';
5
5
 
6
- const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-default-text);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[data-current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([data-current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([data-current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";
6
+ const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-default-text);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out,\n border-color 0.3s ease-in-out,\n color 0.3s ease-in-out}z-anchor-navigation nav>[data-current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav>*:focus:focus-visible,z-anchor-navigation nav>*>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav>*>:is(z-button,button){opacity:0;pointer-events:none}@media (hover: hover){z-anchor-navigation nav>:is([data-current],:hover,:focus,:focus-within)>:is(z-button,button){opacity:1;pointer-events:unset}z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation[hide-unselected] nav>*:not([data-current],:hover,:focus,:focus-within){color:transparent;fill:transparent}}";
7
7
  const ZAnchorNavigationStyle0 = stylesCss;
8
8
 
9
9
  const ZAnchorNavigation$1 = /*@__PURE__*/ proxyCustomElement(class ZAnchorNavigation extends HTMLElement {
@@ -11,15 +11,17 @@ const ZAnchorNavigation$1 = /*@__PURE__*/ proxyCustomElement(class ZAnchorNaviga
11
11
  super();
12
12
  this.__registerHost();
13
13
  this.hideUnselected = false;
14
+ this.autoCurrent = true;
14
15
  this.collapsed = false;
15
16
  }
16
17
  /**
17
- * Set aria-current attribute to the anchors.
18
+ * Set `aria-current` attribute to the anchors.
18
19
  */
19
- setAriaCurrent() {
20
+ setCurrent() {
21
+ const currentElement = Array.from(this.nav.querySelectorAll("a")).find((anchor) => anchor.href === this.host.ownerDocument.location.href);
20
22
  Array.from(this.nav.children).forEach((item) => {
21
23
  const anchor = item instanceof HTMLAnchorElement ? item : item.querySelector("a");
22
- const isCurrent = window.location.href === anchor.href;
24
+ const isCurrent = anchor === currentElement;
23
25
  anchor.setAttribute("aria-current", isCurrent.toString());
24
26
  item.toggleAttribute("data-current", isCurrent);
25
27
  });
@@ -31,18 +33,22 @@ const ZAnchorNavigation$1 = /*@__PURE__*/ proxyCustomElement(class ZAnchorNaviga
31
33
  this.collapsed = !this.collapsed;
32
34
  }
33
35
  componentDidLoad() {
34
- window.addEventListener("hashchange", this.setAriaCurrent.bind(this));
35
- this.setAriaCurrent();
36
+ if (this.autoCurrent) {
37
+ window.addEventListener("hashchange", this.setCurrent.bind(this));
38
+ this.setCurrent();
39
+ }
36
40
  }
37
41
  disconnectedCallback() {
38
- window.removeEventListener("hashchange", this.setAriaCurrent);
42
+ window.removeEventListener("hashchange", this.setCurrent);
39
43
  }
40
44
  render() {
41
- return (h(Host, { key: '334a479e907631a2f25b757b6a37d136a78eaa4b', collapsed: this.collapsed }, h("z-button", { key: 'cdfdae6b09a0f1b0f23004d9c56eaaf39d49e94e', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: '11406c615df8d8c6779428d7275a8f77ff7484d0', ref: (el) => (this.nav = el) }, h("slot", { key: 'b33c4318e70c79d606d27a3a6e0aad5550f45442' }))));
45
+ return (h(Host, { key: '6869675f35b8ca58e36058d10ed89301d2b49034', collapsed: this.collapsed }, h("z-button", { key: 'd6bacaf89ac6731dacb2250793c7ffba4a43a989', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: '0c308debc3e444015e1c8733af628d0b7a5d8b6e', ref: (el) => (this.nav = el) }, h("slot", { key: '02b49c5a23db78d839ba6320f1cbbd770cfa6d3f' }))));
42
46
  }
47
+ get host() { return this; }
43
48
  static get style() { return ZAnchorNavigationStyle0; }
44
49
  }, [4, "z-anchor-navigation", {
45
50
  "hideUnselected": [516, "hide-unselected"],
51
+ "autoCurrent": [4, "auto-current"],
46
52
  "collapsed": [32]
47
53
  }]);
48
54
  function defineCustomElement$1() {
@@ -1 +1 @@
1
- {"file":"z-anchor-navigation.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,48EAA48E,CAAC;AAC/9E,gCAAe,SAAS;;MCsBXA,mBAAiB;;;;8BAMX,KAAK;yBAMV,KAAK;;;;;IAQT,cAAc;QACpB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;YACzC,MAAM,MAAM,GAAG,IAAI,YAAY,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;YAClF,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC;YACvD,MAAM,CAAC,YAAY,CAAC,cAAc,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC1D,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;SACjD,CAAC,CAAC;KACJ;;;;IAKO,eAAe;QACrB,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;KAClC;IAED,gBAAgB;QACd,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACtE,IAAI,CAAC,cAAc,EAAE,CAAC;KACvB;IAED,oBAAoB;QAClB,MAAM,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;KAC/D;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAC7B,iEACE,KAAK,EAAC,QAAQ,EACd,OAAO,EAAE,aAAa,CAAC,SAAS,EAChC,IAAI,EAAE,IAAI,CAAC,SAAS,GAAG,YAAY,GAAG,cAAc,EACpD,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,cAG/B,EACX,4DAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,IAC/B,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAnchorNavigation"],"sources":["src/components/z-anchor-navigation/styles.css?tag=z-anchor-navigation","src/components/z-anchor-navigation/index.tsx"],"sourcesContent":["html {\n scroll-behavior: smooth;\n}\n\nz-anchor-navigation nav {\n display: none;\n flex-direction: column;\n justify-content: flex-start;\n row-gap: calc(var(--space-unit) / 2);\n}\n\nz-anchor-navigation[collapsed] nav {\n display: flex;\n margin-top: var(--space-unit);\n}\n\nz-anchor-navigation nav a {\n display: -webkit-box;\n overflow: clip;\n width: 100%;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);\n -webkit-box-orient: vertical;\n color: inherit;\n font-weight: inherit;\n -webkit-line-clamp: 2;\n overflow-clip-margin: content-box;\n text-decoration: none;\n}\n\nz-anchor-navigation nav * a:not(:only-child) {\n padding-right: calc(var(--space-unit) * 5);\n}\n\n@supports not (overflow-clip-margin: content-box) {\n z-anchor-navigation nav a {\n display: inline-block;\n overflow: hidden;\n -webkit-line-clamp: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n\nz-anchor-navigation nav > * {\n position: relative;\n border-left: var(--border-size-large) solid var(--color-surface04);\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav > [data-current] {\n border-left-color: var(--color-primary01);\n color: var(--color-link-primary);\n font-weight: var(--font-sb);\n}\n\nz-anchor-navigation nav > * > *:is(z-button, button, z-icon) {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n transition: opacity 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav button {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\nz-anchor-navigation nav z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n\n display: flex;\n padding: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n@media (min-width: 768px) {\n z-anchor-navigation z-button.toggle {\n display: none !important;\n }\n\n z-anchor-navigation nav {\n display: flex;\n }\n\n z-anchor-navigation nav a {\n outline: none;\n }\n\n @media (hover: hover) {\n z-anchor-navigation nav > *:hover {\n border-left-color: var(--color-hover-secondary);\n background-color: var(--color-hover-surface);\n color: var(--color-hover-link);\n }\n }\n\n z-anchor-navigation nav > *:is(:focus, :focus-within),\n z-anchor-navigation nav :is(z-icon, button):focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n }\n\n z-anchor-navigation[hide-unselected] nav > *:not([data-current], :hover, :focus, :focus-within) {\n color: transparent;\n }\n\n z-anchor-navigation\n nav\n > *:not([data-current], :hover, :focus, :focus-within)\n > *:is(z-button, button, z-icon):not(:focus:focus-visible) {\n opacity: 0;\n pointer-events: none;\n }\n\n @media (hover: none) {\n z-anchor-navigation:not([hide-unselected]) nav > * > *:is(z-button, button, z-icon) {\n opacity: 1;\n pointer-events: all;\n }\n }\n}\n","import {Component, h, Host, Prop, State} from \"@stencil/core\";\nimport {ButtonVariant} from \"../../beans\";\n\n/**\n * * Anchor navigation component.\n * @slot Main slot. Put some `<a>` tags inside. If you need an action button/icon, wrap it and the <a> inside another tag.\n * @example\n * ```\n * <z-anchor-navigation>\n * <div>\n * <a href=\"#section-id\">Section name</a>\n * <button type=\"button\">\n * <z-icon name=\"share\" />\n * </button>\n * </div>\n * </z-anchor-navigation>\n * ```\n */\n@Component({\n tag: \"z-anchor-navigation\",\n styleUrl: \"styles.css\",\n shadow: false,\n})\nexport class ZAnchorNavigation {\n /**\n * If enabled, the text of each anchor will be hidden unless\n * for the current one or the one the user is hovering.\n */\n @Prop({reflect: true})\n hideUnselected = false;\n\n /**\n * Whether the mobile list is collapsed.\n */\n @State()\n collapsed = false;\n\n /** Reference to the nav element. */\n private nav: HTMLElement;\n\n /**\n * Set aria-current attribute to the anchors.\n */\n private setAriaCurrent(): void {\n Array.from(this.nav.children).forEach((item) => {\n const anchor = item instanceof HTMLAnchorElement ? item : item.querySelector(\"a\");\n const isCurrent = window.location.href === anchor.href;\n anchor.setAttribute(\"aria-current\", isCurrent.toString());\n item.toggleAttribute(\"data-current\", isCurrent);\n });\n }\n\n /**\n * Toggle collapsed state.\n */\n private toggleCollapsed(): void {\n this.collapsed = !this.collapsed;\n }\n\n componentDidLoad(): void {\n window.addEventListener(\"hashchange\", this.setAriaCurrent.bind(this));\n this.setAriaCurrent();\n }\n\n disconnectedCallback(): void {\n window.removeEventListener(\"hashchange\", this.setAriaCurrent);\n }\n\n render(): HTMLZAnchorNavigationElement {\n return (\n <Host collapsed={this.collapsed}>\n <z-button\n class=\"toggle\"\n variant={ButtonVariant.SECONDARY}\n icon={this.collapsed ? \"chevron-up\" : \"chevron-down\"}\n onClick={this.toggleCollapsed.bind(this)}\n >\n salta a\n </z-button>\n <nav ref={(el) => (this.nav = el)}>\n <slot></slot>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-anchor-navigation.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,orEAAorE,CAAC;AACvsE,gCAAe,SAAS;;MCsBXA,mBAAiB;;;;8BAMX,KAAK;2BASR,IAAI;yBAMN,KAAK;;;;;IAUT,UAAU;QAChB,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CACpE,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAClE,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;YACzC,MAAM,MAAM,GAAG,IAAI,YAAY,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;YAClF,MAAM,SAAS,GAAG,MAAM,KAAK,cAAc,CAAC;YAC5C,MAAM,CAAC,YAAY,CAAC,cAAc,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC1D,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;SACjD,CAAC,CAAC;KACJ;;;;IAKO,eAAe;QACrB,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;KAClC;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB;KACF;IAED,oBAAoB;QAClB,MAAM,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;KAC3D;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAC7B,iEACE,KAAK,EAAC,QAAQ,EACd,OAAO,EAAE,aAAa,CAAC,SAAS,EAChC,IAAI,EAAE,IAAI,CAAC,SAAS,GAAG,YAAY,GAAG,cAAc,EACpD,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,cAG/B,EACX,4DAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,IAC/B,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAnchorNavigation"],"sources":["src/components/z-anchor-navigation/styles.css?tag=z-anchor-navigation","src/components/z-anchor-navigation/index.tsx"],"sourcesContent":["html {\n scroll-behavior: smooth;\n}\n\nz-anchor-navigation nav {\n display: none;\n flex-direction: column;\n justify-content: flex-start;\n row-gap: calc(var(--space-unit) / 2);\n}\n\nz-anchor-navigation[collapsed] nav {\n display: flex;\n margin-top: var(--space-unit);\n}\n\nz-anchor-navigation nav a {\n display: -webkit-box;\n overflow: clip;\n width: 100%;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);\n -webkit-box-orient: vertical;\n color: inherit;\n font-weight: inherit;\n -webkit-line-clamp: 2;\n overflow-clip-margin: content-box;\n text-decoration: none;\n}\n\nz-anchor-navigation nav * a:not(:only-child) {\n padding-right: calc(var(--space-unit) * 5);\n}\n\n@supports not (overflow-clip-margin: content-box) {\n z-anchor-navigation nav a {\n display: inline-block;\n overflow: hidden;\n -webkit-line-clamp: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n\nz-anchor-navigation nav > * {\n position: relative;\n border-left: var(--border-size-large) solid var(--color-surface04);\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n transition:\n background-color 0.3s ease-in-out,\n border-color 0.3s ease-in-out,\n color 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav > [data-current] {\n border-left-color: var(--color-primary01);\n color: var(--color-link-primary);\n font-weight: var(--font-sb);\n}\n\nz-anchor-navigation nav > * > *:is(z-button, button) {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n transition: opacity 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav > *:focus:focus-visible,\nz-anchor-navigation nav > * > *:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\nz-anchor-navigation nav button {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\n@media (min-width: 768px) {\n z-anchor-navigation z-button.toggle {\n display: none !important;\n }\n\n z-anchor-navigation nav {\n display: flex;\n }\n\n /* hide anchor actions by default... */\n z-anchor-navigation nav > * > :is(z-button, button) {\n opacity: 0;\n pointer-events: none;\n }\n\n @media (hover: hover) {\n /* ...show them only hovering/focusing the anchor */\n z-anchor-navigation nav > :is([data-current], :hover, :focus, :focus-within) > :is(z-button, button) {\n opacity: 1;\n pointer-events: unset;\n }\n\n z-anchor-navigation nav > *:hover {\n border-left-color: var(--color-hover-secondary);\n background-color: var(--color-hover-surface);\n color: var(--color-hover-link);\n }\n }\n\n z-anchor-navigation[hide-unselected] nav > *:not([data-current], :hover, :focus, :focus-within) {\n color: transparent;\n fill: transparent;\n }\n}\n","import {Component, Element, h, Host, Prop, State} from \"@stencil/core\";\nimport {ButtonVariant} from \"../../beans\";\n\n/**\n * Anchor navigation component.\n * @slot - Anchor navigation items. Use `<a>` elements inside. If you need an extra action element, use a wrapper around it and the anchor.\n * @example\n * ```\n * <z-anchor-navigation>\n * <div>\n * <a href=\"#section-id\">Section name</a>\n * <button type=\"button\">\n * <z-icon name=\"share\" />\n * </button>\n * </div>\n * </z-anchor-navigation>\n * ```\n */\n@Component({\n tag: \"z-anchor-navigation\",\n styleUrl: \"styles.css\",\n shadow: false,\n})\nexport class ZAnchorNavigation {\n /**\n * If enabled, the text of each anchor will be hidden unless\n * for the current one or the one the user is hovering.\n */\n @Prop({reflect: true})\n hideUnselected = false;\n\n /**\n * Enables automatic inference of the current item, listening for hash change\n * and checking the `href` of the slotted anchors.\n * When disabled, the highlight of current item must be handled manually by setting the `data-current`\n * attribute to the correct slotted items and the `aria-current` attribute to the anchors.\n */\n @Prop()\n autoCurrent = true;\n\n /**\n * Whether the mobile list is collapsed.\n */\n @State()\n collapsed = false;\n\n @Element() host: HTMLZAnchorNavigationElement;\n\n /** Reference to the nav element. */\n private nav: HTMLElement;\n\n /**\n * Set `aria-current` attribute to the anchors.\n */\n private setCurrent(): void {\n const currentElement = Array.from(this.nav.querySelectorAll(\"a\")).find(\n (anchor) => anchor.href === this.host.ownerDocument.location.href\n );\n Array.from(this.nav.children).forEach((item) => {\n const anchor = item instanceof HTMLAnchorElement ? item : item.querySelector(\"a\");\n const isCurrent = anchor === currentElement;\n anchor.setAttribute(\"aria-current\", isCurrent.toString());\n item.toggleAttribute(\"data-current\", isCurrent);\n });\n }\n\n /**\n * Toggle collapsed state.\n */\n private toggleCollapsed(): void {\n this.collapsed = !this.collapsed;\n }\n\n componentDidLoad(): void {\n if (this.autoCurrent) {\n window.addEventListener(\"hashchange\", this.setCurrent.bind(this));\n this.setCurrent();\n }\n }\n\n disconnectedCallback(): void {\n window.removeEventListener(\"hashchange\", this.setCurrent);\n }\n\n render(): HTMLZAnchorNavigationElement {\n return (\n <Host collapsed={this.collapsed}>\n <z-button\n class=\"toggle\"\n variant={ButtonVariant.SECONDARY}\n icon={this.collapsed ? \"chevron-up\" : \"chevron-down\"}\n onClick={this.toggleCollapsed.bind(this)}\n >\n salta a\n </z-button>\n <nav ref={(el) => (this.nav = el)}>\n <slot></slot>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -151,7 +151,7 @@ const ZAppHeader$1 = /*@__PURE__*/ proxyCustomElement(class ZAppHeader extends H
151
151
  this.evaluateViewport();
152
152
  }
153
153
  render() {
154
- return (h(Host, { key: '492c21ddccbe23f96d68b6d3a536609fa6f8e7a0', "menu-length": this.menuLength }, this.hasHero && (h("div", { class: "hero-container" }, h("slot", { name: "hero" }, this.hero && (h("img", { alt: "", src: this.hero }))))), h("div", { key: 'd7bc0f2dcc9f752cb9207df4f60049e390f1bf2b', class: "heading-panel", ref: (el) => (this.container = el) }, h("div", { key: '6787c6ddf9b2c1f8220fee57ae76bf9ab5071c25', class: "heading-container" }, h("div", { key: '4c4eb2dc4badb35c894f65bbe90dbc1daf2aa27d', class: "heading-subtitle" }, h("slot", { key: '3b8bccd45f75e095ed89140549a1a0ccaa352d58', name: "top-subtitle" })), h("div", { key: '8a6c64ddea38f03adcf9dd2f8fda5104b7766dd5', class: "heading-title" }, this.menuLength > 0 && (h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { name: "burger-menu" }))), h("slot", { key: 'b3dc639700ddd8c6c925fedc6f9c70db4bd25ef9', name: "title" }), this.renderSearchLinkButton()), h("div", { key: '5234e4372fc9acc5e7ebfe2cfda802d9e72f52e7', class: "heading-subtitle" }, h("slot", { key: 'd88d67131d4a93e53804353d59a87a8c8b8d0bc7', name: "subtitle" }))), (this.canShowMenu || this.canShowSearchbar) && (h("div", { class: "menu-container" }, this.canShowMenu && (h("slot", { name: "menu", onSlotchange: this.collectMenuElements })), this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== "desktop")))), h("z-offcanvas", { key: '15f2d78f637b5476e30d316c7eaad00db9c63109', variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("button", { key: '59f03739039ecfdd7f9763faea7ac189ba15ce00', class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { key: 'cbd35efe1609c908d78f7c677b34b4fae1f6cf90', name: "close" })), h("div", { key: '10f3cecb244008796339fd08a43317c9b6a90a5a', class: "drawer-content", slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { key: '5a253dabd6913eedf8c7f35b5f5d78bf79148b07', name: "menu", onSlotchange: this.collectMenuElements }))), this._stuck && (h("div", { class: "heading-stuck" }, h("div", { class: "heading-stuck-content" }, this.menuLength > 0 && (h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { name: "burger-menu" }))), h("div", { class: "heading-title" }, h("slot", { name: "stucked-title" }, this.title)), this.renderSearchLinkButton(), this.canShowSearchbar && this.currentViewport === "desktop" && this.renderSeachbar(false))))));
154
+ return (h(Host, { key: '6ef78f216bf32166c80027e6c8d8c3c8b46e11a4', "menu-length": this.menuLength }, this.hasHero && (h("div", { key: '097f49ab84c9c5a02b1919bbf0d8bea41a9e7475', class: "hero-container" }, h("slot", { key: 'e68c20961233eec80133281adfe2e5068de05ca9', name: "hero" }, this.hero && (h("img", { key: '3f639bca7f3c5ae1f9f1ea088f4f072a11b398fd', alt: "", src: this.hero }))))), h("div", { key: '7f9a9025ee6b36ce4ddf119fe29afc28cff3f575', class: "heading-panel", ref: (el) => (this.container = el) }, h("div", { key: 'bf9e7e0634b79f86f886dbad016c1ee7c3a2bd0c', class: "heading-container" }, h("div", { key: '5f105d5a5e0d1545b953049c2f10ea1e409c5dd3', class: "heading-subtitle" }, h("slot", { key: 'e5257749958900cbdf0da3abc97647a6ca199a9a', name: "top-subtitle" })), h("div", { key: 'cd422b72e4fa5a1ddb400d0af44a87e28e14e496', class: "heading-title" }, this.menuLength > 0 && (h("button", { key: '8d0fd05ecac894b7c123c2b1850636f5c42445bb', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '7d3c4426ed0cb81f5d871e1e9d4f0a08c6e4bd1a', name: "burger-menu" }))), h("slot", { key: 'eb4a376c9edf06a839e2eda8cae3ca9f5c0c98f7', name: "title" }), this.renderSearchLinkButton()), h("div", { key: 'ca4175ad587aaa14435112451e616b9d40f4058b', class: "heading-subtitle" }, h("slot", { key: '923548867c7ecf93e7e4d46cdd68aff309a301eb', name: "subtitle" }))), (this.canShowMenu || this.canShowSearchbar) && (h("div", { key: 'b424522341c597059c9be302d30c5af85c3c1d12', class: "menu-container" }, this.canShowMenu && (h("slot", { key: '97b5bd01961bb07d13dc16cdf0bda52ac7cf7261', name: "menu", onSlotchange: this.collectMenuElements })), this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== "desktop")))), h("z-offcanvas", { key: '42d89b3e9697aaf5c0781d69c6aca4a1fe44c389', variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("button", { key: '29e9eedfba19cca2316bdde81d52052164fe2003', class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { key: '3f63af4cc3fc4e632a797b16e8530affc6f9ea79', name: "close" })), h("div", { key: '9925e208c3a9f45eebbbb210ad5b23041201b239', class: "drawer-content", slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { key: 'b687cd86e3e6dcb1cd5c8c5ac535dfdf9d1b9dd2', name: "menu", onSlotchange: this.collectMenuElements }))), this._stuck && (h("div", { key: 'a5eedb131fd6a50dad224c5016990b5a9256764b', class: "heading-stuck" }, h("div", { key: '9747f43c0c824f3c98c299071f92fa7d0d695529', class: "heading-stuck-content" }, this.menuLength > 0 && (h("button", { key: 'ad7fadb424d1b59852bd6f7bbfc875555495c163', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '4dbe75545f5e15fac2bd81c6726294d6f848681c', name: "burger-menu" }))), h("div", { key: 'a22d676527aa51b34942547a36651d85163b85ac', class: "heading-title" }, h("slot", { key: 'ba141592baf287d65faa4624f9c32c04471073d5', name: "stucked-title" }, this.title)), this.renderSearchLinkButton(), this.canShowSearchbar && this.currentViewport === "desktop" && this.renderSeachbar(false))))));
155
155
  }
156
156
  get hostElement() { return this; }
157
157
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"z-app-header.js","mappings":"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","names":["ZAppHeader"],"sources":["src/components/navigation/z-app-header/styles.css?tag=z-app-header&encapsulation=shadow","src/components/navigation/z-app-header/index.tsx"],"sourcesContent":[":host {\n --app-header-typography-1-size: 24px;\n --app-header-typography-2-size: 28px;\n --app-header-typography-3-size: 32px;\n --app-header-typography-4-size: 36px;\n --app-header-typography-5-size: 42px;\n --app-header-typography-6-size: 48px;\n --app-header-typography-7-size: 54px;\n --app-header-typography-8-size: 60px;\n --app-header-typography-9-size: 68px;\n --app-header-typography-10-size: 76px;\n --app-header-typography-11-size: 84px;\n --app-header-typography-12-size: 92px;\n --app-header-typography-1-lineheight: 1.33;\n --app-header-typography-2-lineheight: 1.29;\n --app-header-typography-3-lineheight: 1.25;\n --app-header-typography-4-lineheight: 1.24;\n --app-header-typography-5-lineheight: 1.24;\n --app-header-typography-6-lineheight: 1.25;\n --app-header-typography-7-lineheight: 1.2;\n --app-header-typography-8-lineheight: 1.26;\n --app-header-typography-9-lineheight: 1.24;\n --app-header-typography-10-lineheight: 1.26;\n --app-header-typography-11-lineheight: 1.2;\n --app-header-typography-12-lineheight: 1.2;\n --app-header-typography-1-tracking: calc(-0.2 / 1em);\n --app-header-typography-2-tracking: calc(-0.4 / 1em);\n --app-header-typography-3-tracking: calc(-0.6 / 1em);\n --app-header-typography-4-tracking: calc(-0.8 / 1em);\n --app-header-typography-5-tracking: calc(-1 / 1em);\n --app-header-typography-6-tracking: calc(-1.2 / 1em);\n --app-header-typography-7-tracking: calc(-1.4 / 1em);\n --app-header-typography-8-tracking: calc(-1.6 / 1em);\n --app-header-typography-9-tracking: calc(-1.8 / 1em);\n --app-header-typography-10-tracking: calc(-2 / 1em);\n --app-header-typography-11-tracking: calc(-2.2 / 1em);\n --app-header-typography-12-tracking: calc(-2.4 / 1em);\n --app-header-content-max-width: 100%;\n --app-header-height: auto;\n\n /* Variable to set stuck header and drawer's top offset.\n Useful when something is absolutely positioned above the header. */\n --app-header-top-offset: 48px;\n --app-header-drawer-trigger-size: calc(var(--space-unit) * 4);\n\n /* Variable to customize header background color. */\n --app-header-bg: var(--color-surface01);\n\n /* Variable to customize stuck header background color. */\n --app-header-stucked-bg: var(--color-surface01);\n\n /* Variable to customize text and icon color. */\n --app-header-text-color: var(--color-default-text);\n\n /* Variable to customize the title's font size.\n NOTE: Only use one of the exported `--app-header-typography-*-size` as a value. */\n --app-header-title-font-size: var(--app-header-typography-3-size);\n\n /* Variable to customize the title's line-height.\n NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value\n and use the same level as the one of the font size. */\n --app-header-title-lineheight: var(--app-header-typography-3-lineheight);\n\n /* Variable to customize the title's letter-spacing.\n NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value\n and use the same level as the one of the font size. */\n --app-header-title-letter-spacing: var(--app-header-typography-3-tracking);\n\n /* Variable to customize stuck header's text and icon color. */\n --app-header-stucked-text-color: var(--color-default-text);\n\n position: relative;\n display: block;\n height: var(--app-header-height);\n color: var(--app-header-text-color);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n.heading-panel {\n position: relative;\n display: flex;\n width: 100%;\n max-width: var(--app-header-content-max-width);\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n align-items: baseline;\n padding: var(--grid-margin);\n margin: 0 auto;\n background: var(--app-header-bg);\n gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n}\n\n.hero-container + .heading-panel {\n background: transparent;\n}\n\n:host(:empty) .heading-panel {\n padding: 0;\n}\n\n.heading-container {\n position: relative;\n z-index: 1;\n display: flex;\n width: 100%;\n max-width: 100%;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n}\n\n.heading-title {\n display: flex;\n max-width: 100%;\n flex-direction: row;\n align-items: flex-start;\n column-gap: calc(var(--space-unit) * 2);\n}\n\n::slotted([slot=\"title\"]),\n.heading-stuck .heading-title > *,\n::slotted([slot=\"stucked-title\"]) {\n margin: 0;\n font-family: \"IBM Plex Serif\", serif;\n font-weight: var(--font-bd);\n}\n\n::slotted([slot=\"title\"]) {\n font-size: var(--app-header-title-font-size);\n letter-spacing: var(--app-header-title-letter-spacing);\n line-height: var(--app-header-title-lineheight);\n}\n\n.heading-stuck .heading-title > *,\n::slotted([slot=\"stucked-title\"]) {\n font-size: var(--app-header-typography-3-size);\n letter-spacing: var(--app-header-typography-3-tracking);\n line-height: var(--app-header-typography-3-lineheight);\n}\n\n:host(:not([menu-length=\"0\"])) .heading-subtitle {\n padding-left: calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2));\n}\n\n::slotted([slot=\"top-subtitle\"]),\n::slotted([slot=\"subtitle\"]) {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 20px;\n font-style: italic;\n line-height: 26px;\n}\n\n::slotted([slot=\"subtitle\"]) {\n font-weight: 500;\n}\n\n::slotted([slot=\"top-subtitle\"]) {\n font-weight: 400;\n}\n\n.menu-container {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-flow: row wrap;\n}\n\n:host([menu-length=\"0\"]:not([enable-search])) .menu-container,\n.menu-container:empty {\n display: none;\n}\n\n.menu-container ::slotted([open]) {\n position: relative;\n z-index: 3;\n}\n\nz-searchbar {\n z-index: 0;\n display: flex;\n width: auto;\n min-width: calc(var(--space-unit) * 32);\n flex: 1 auto;\n align-items: center;\n margin-left: auto;\n}\n\n.heading-stuck {\n position: fixed;\n z-index: 20;\n top: var(--app-header-top-offset);\n left: 0;\n width: 100%;\n max-width: 100%;\n animation: slide-stuck-heading-in 250ms ease-out;\n background: var(--app-header-stucked-bg);\n box-shadow: var(--shadow-2);\n color: var(--app-header-stucked-text-color);\n}\n\n.heading-stuck-content {\n display: flex;\n max-width: var(--app-header-content-max-width);\n align-items: center;\n padding: var(--space-unit) var(--grid-margin);\n margin: 0 auto;\n column-gap: calc(var(--space-unit) * 2);\n}\n\n.heading-stuck .heading-title {\n overflow: hidden;\n}\n\n.heading-stuck .heading-title > *,\n.heading-stuck .heading-title ::slotted([slot=\"stucked-title\"]) {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.heading-stuck-content z-button {\n margin-left: auto;\n}\n\n.drawer-trigger {\n padding: 0;\n border: 0;\n margin: 0;\n appearance: none;\n background: none;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n}\n\n.drawer-trigger z-icon {\n --z-icon-width: var(--app-header-drawer-trigger-size);\n --z-icon-height: var(--app-header-drawer-trigger-size);\n\n fill: currentcolor;\n}\n\n/* Simulate the height of the first line of text,\nto correctly align drawer icon and search page button with the title */\n.heading-container :is(.drawer-trigger, z-button.search-page-button) {\n display: flex;\n height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));\n align-items: center;\n}\n\n.heading-container z-button.search-page-button {\n margin-left: auto;\n}\n\n.drawer-content {\n display: none;\n}\n\nz-offcanvas[open] .drawer-content {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-direction: column;\n row-gap: calc(var(--space-unit) * 2.5);\n}\n\nz-offcanvas[open] .drawer-content ::slotted(z-menu) {\n width: 100%;\n}\n\n.drawer-close {\n --z-icon-width: var(--app-header-drawer-trigger-size);\n --z-icon-height: var(--app-header-drawer-trigger-size);\n\n padding: 0;\n border: 0;\n margin: var(--space-unit) 0 calc(var(--space-unit) * 2.5);\n appearance: none;\n background: transparent;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n fill: currentcolor;\n font-size: inherit;\n outline: none;\n}\n\n.drawer-close:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.hero-container {\n position: absolute;\n z-index: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n:host([overlay]) .heading-panel .drawer-trigger z-icon,\n:host([overlay]) .heading-panel .heading-container,\n:host([overlay]) .heading-panel .menu-container {\n color: var(--color-white);\n fill: var(--color-white);\n}\n\n:host([overlay]) .heading-panel .menu-container ::slotted(z-menu) {\n --z-menu-label-color: var(--color-white);\n}\n\n:host([overlay]) .hero-container::after {\n position: absolute;\n z-index: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: var(--color-black);\n content: \"\";\n opacity: 0.5;\n}\n\n.hero-container img,\n.hero-container ::slotted(*) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: top center;\n -webkit-user-drag: none;\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-6-size);\n --app-header-title-lineheight: var(--app-header-typography-6-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-6-tracking);\n }\n\n .heading-panel {\n flex-flow: row wrap;\n align-items: center;\n padding-bottom: calc(var(--space-unit) * 2);\n }\n\n .heading-container {\n margin-right: auto;\n }\n\n :host(:is([flow=\"offcanvas\"], [menu-length=\"0\"])) :is(.heading-container, .menu-container) {\n width: auto;\n }\n\n :host(:not([flow=\"offcanvas\"])) .heading-subtitle {\n padding-left: 0;\n }\n\n .menu-container {\n flex: initial;\n align-items: center;\n }\n\n :host([menu-length=\"0\"]) .menu-container:not(:empty) {\n height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));\n }\n\n :host(:not([flow=\"offcanvas\"])) .menu-container {\n gap: var(--space-unit) calc(var(--space-unit) * 5);\n }\n\n :host(:not([flow=\"offcanvas\"])) .heading-container .drawer-trigger {\n display: none;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-7-size);\n --app-header-title-lineheight: var(--app-header-typography-7-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-7-tracking);\n }\n\n .heading-panel {\n justify-content: flex-start;\n padding-bottom: calc(var(--space-unit) * 3);\n }\n\n .heading-container,\n .menu-container {\n width: auto;\n }\n\n :host([flow=\"stack\"]) .heading-panel {\n flex-flow: column;\n align-items: flex-start;\n }\n\n :host([flow=\"stack\"]) .menu-container {\n width: 100%;\n }\n\n :host(:not([flow=\"offcanvas\"], [menu-length=\"0\"])) .heading-panel {\n row-gap: calc(var(--space-unit) * 3);\n }\n\n z-searchbar {\n min-width: calc(var(--space-unit) * 45);\n flex: initial;\n }\n}\n\n/* Wide breakpoint */\n@media (min-width: 1366px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-9-size);\n --app-header-title-lineheight: var(--app-header-typography-9-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-9-tracking);\n }\n}\n\n@keyframes slide-stuck-heading-in {\n 0% {\n transform: translate3d(0, -100%, 0);\n }\n\n 100% {\n transform: none;\n }\n}\n","import {Component, h, Element, Prop, State, Watch, Host, Event, EventEmitter, Listen} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, OffCanvasVariant, TransitionDirection} from \"../../../beans\";\n\nconst SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== \"undefined\";\n\n/**\n * @slot title - Slot for the main title\n * @slot subtitle - Slot for the bottom subtitle. It will not appear in stuck header.\n * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.\n * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.\n * @cssprop --app-header-typography-1-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `24px`.\n * @cssprop --app-header-typography-2-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `28px`.\n * @cssprop --app-header-typography-3-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `32px`.\n * @cssprop --app-header-typography-4-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `36px`.\n * @cssprop --app-header-typography-5-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `42px`.\n * @cssprop --app-header-typography-6-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `48px`.\n * @cssprop --app-header-typography-7-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `54px`.\n * @cssprop --app-header-typography-8-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `60px`.\n * @cssprop --app-header-typography-9-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `68px`.\n * @cssprop --app-header-typography-10-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `76px`.\n * @cssprop --app-header-typography-11-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `84px`.\n * @cssprop --app-header-typography-12-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `92px`.\n * @cssprop --app-header-typography-1-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.33`.\n * @cssprop --app-header-typography-2-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.29`.\n * @cssprop --app-header-typography-3-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.\n * @cssprop --app-header-typography-4-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-5-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-6-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.\n * @cssprop --app-header-typography-7-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-8-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.\n * @cssprop --app-header-typography-9-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-10-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.\n * @cssprop --app-header-typography-11-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-12-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-1-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.2 / 1em)`.\n * @cssprop --app-header-typography-2-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.4 / 1em)`.\n * @cssprop --app-header-typography-3-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.6 / 1em)`.\n * @cssprop --app-header-typography-4-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.8 / 1em)`.\n * @cssprop --app-header-typography-5-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1 / 1em)`.\n * @cssprop --app-header-typography-6-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.2 / 1em)`.\n * @cssprop --app-header-typography-7-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.4 / 1em)`.\n * @cssprop --app-header-typography-8-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.6 / 1em)`.\n * @cssprop --app-header-typography-9-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.8 / 1em)`.\n * @cssprop --app-header-typography-10-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2 / 1em)`.\n * @cssprop --app-header-typography-11-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.2 / 1em)`.\n * @cssprop --app-header-typography-12-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.4 / 1em)`.\n * @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.\n * @cssprop --app-header-height - Defaults to `auto`.\n * @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).\n * @cssprop --app-header-drawer-trigger-size - The size of the drawer icon. Defaults to `--space-unit * 4`.\n * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-text-color - Text color. Useful on `hero` variant to set text color based on the colors of the background image. Defaults to `--color-default-text`.\n * @cssprop --app-header-title-font-size - Variable to customize the title's font size.\n * NOTE: Only use one of the exported `--app-header-typography-*-size` as a value.\n * Defaults to `--app-header-typography-3-size`.\n * @cssprop --app-header-title-lineheight - Variable to customize the title's line-height.\n * NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value and use the same level as the one of the font size.\n * Defaults to `--app-header-typography-3-lineheight`.\n * @cssprop --app-header-title-letter-spacing - Variable to customize the title's letter-spacing.\n * NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value and use the same level as the one of the font size.\n * Defaults to `--app-header-typography-3-tracking`.\n * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.\n */\n@Component({\n tag: \"z-app-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAppHeader {\n @Element() hostElement: HTMLZAppHeaderElement;\n\n /**\n * Stuck mode for the header.\n * You can programmatically set it using an IntersectionObserver.\n */\n @Prop({reflect: true})\n stuck = false;\n\n /**\n * Set the hero image source for the header.\n * You can also use a [slot=\"hero\"] node for advanced customization.\n */\n @Prop()\n hero: string;\n\n /**\n * Should place an overlay over the hero image.\n * Useful for legibility purpose.\n */\n @Prop({reflect: true})\n overlay = false;\n\n /**\n * Control menu bar position in the header.\n * - auto: the menu bar is positioned near the title\n * - stack: the menu bar is positioned below the title\n * - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu\n */\n @Prop({reflect: true})\n flow: \"auto\" | \"stack\" | \"offcanvas\" = \"auto\";\n\n /**\n * The opening state of the drawer.\n */\n @Prop({reflect: true})\n drawerOpen = false;\n\n /**\n * Enable the search bar.\n */\n @Prop({reflect: true})\n enableSearch = false;\n\n /**\n * Placeholder text for the search bar.\n */\n @Prop()\n searchPlaceholder = \"Cerca\";\n\n /**\n * Search string for the search bar.\n */\n @Prop({mutable: true})\n searchString = \"\";\n\n /**\n * Url to the search page.\n * Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\n * The link will also appear on the sticky header.\n */\n @Prop()\n searchPageUrl: string;\n\n /**\n * The stuck state of the bar.\n */\n @State()\n private _stuck = false;\n\n /**\n * Current viewport.\n * Used to change the aspect of the search button (icon only) on mobile and tablet.\n */\n @State()\n private currentViewport: \"mobile\" | \"tablet\" | \"desktop\" = \"mobile\";\n\n /**\n * Current count of menu items.\n */\n @State()\n menuLength: number;\n\n /**\n * Emitted when the `stuck` state of the header changes\n */\n @Event()\n sticking: EventEmitter;\n\n private container?: HTMLDivElement;\n\n private menuElements?: NodeListOf<HTMLElement>;\n\n private observer?: IntersectionObserver =\n SUPPORT_INTERSECTION_OBSERVER &&\n new IntersectionObserver(\n ([entry]) => {\n this._stuck = !entry.isIntersecting;\n },\n {\n threshold: 0.5,\n }\n );\n\n constructor() {\n this.openDrawer = this.openDrawer.bind(this);\n this.closeDrawer = this.closeDrawer.bind(this);\n this.collectMenuElements = this.collectMenuElements.bind(this);\n }\n\n @Listen(\"resize\", {target: \"window\", passive: true})\n evaluateViewport(): void {\n if (window.innerWidth < 768) {\n this.currentViewport = \"mobile\";\n } else if (window.innerWidth >= 768 && window.innerWidth < 1152) {\n this.currentViewport = \"tablet\";\n } else {\n this.currentViewport = \"desktop\";\n }\n }\n\n @Watch(\"_stuck\")\n onStuck(): void {\n const scrollParent = this.scrollParent;\n if (!scrollParent) {\n return;\n }\n\n this.sticking.emit(this._stuck);\n }\n\n @Watch(\"drawerOpen\")\n setMenuFloatingMode(): void {\n if (this.menuElements.length === 0) {\n return;\n }\n\n const elements = this.menuElements;\n elements.forEach((element) => {\n (element as HTMLZMenuElement).open = false;\n (element as HTMLZMenuElement).floating = !this.drawerOpen;\n (element as HTMLZMenuElement).verticalContext = this.drawerOpen;\n });\n }\n\n private get title(): string {\n const titleElement = this.hostElement.querySelector('[slot=\"title\"]');\n if (titleElement === null) {\n return \"\";\n }\n\n return titleElement.textContent.trim();\n }\n\n private get scrollParent(): Window | Element {\n const parent = this.hostElement.offsetParent;\n if (parent === document.body || parent === document.documentElement) {\n return window;\n }\n\n return parent;\n }\n\n private get canShowMenu(): boolean {\n return this.flow !== \"offcanvas\" && this.currentViewport !== \"mobile\" && !this.drawerOpen;\n }\n\n private get canShowSearchbar(): boolean {\n if (!this.enableSearch) {\n return false;\n }\n\n // Always show the searchbar on desktop, even if a searchPageUrl is set\n if (this.searchPageUrl) {\n return this.currentViewport === \"desktop\";\n }\n\n return true;\n }\n\n /**\n * Whether the header has a hero image, either as a prop or as a slot.\n */\n private get hasHero(): boolean {\n return !!this.hero || this.hostElement.querySelector(\"[slot=hero]\") !== null;\n }\n\n private openDrawer(): void {\n this.drawerOpen = true;\n }\n\n private closeDrawer(): void {\n this.drawerOpen = false;\n }\n\n private collectMenuElements(): void {\n const menuElements = (this.menuElements = this.hostElement.querySelectorAll('[slot=\"menu\"]'));\n this.menuLength = menuElements.length;\n this.setMenuFloatingMode();\n }\n\n private enableStuckObserver(): void {\n if (this.observer) {\n this.observer.observe(this.container);\n }\n }\n\n private disableStuckMode(): void {\n this._stuck = false;\n if (this.observer) {\n this.observer.unobserve(this.container);\n }\n }\n\n @Watch(\"stuck\")\n onStuckMode(): void {\n if (this.stuck) {\n this.enableStuckObserver();\n } else {\n this.disableStuckMode();\n }\n }\n\n private renderSearchLinkButton(): HTMLZButtonElement | null {\n if (!this.enableSearch || !this.searchPageUrl || this.currentViewport === \"desktop\") {\n return null;\n }\n\n return (\n <z-button\n class=\"search-page-button\"\n variant={ButtonVariant.SECONDARY}\n href={this.searchPageUrl}\n icon=\"search\"\n size={ControlSize.X_SMALL}\n ></z-button>\n );\n }\n\n private renderSeachbar(searchButtonIconOnly: boolean): HTMLZSearchbarElement {\n return (\n <z-searchbar\n value={this.searchString}\n placeholder={this.searchPlaceholder}\n showSearchButton={true}\n searchButtonIconOnly={searchButtonIconOnly}\n size={ControlSize.X_SMALL}\n variant={ButtonVariant.SECONDARY}\n preventSubmit={this.searchString.length < 3}\n onSearchTyping={(e) => (this.searchString = e.detail)}\n />\n );\n }\n\n componentDidLoad(): void {\n this.collectMenuElements();\n this.onStuckMode();\n this.evaluateViewport();\n }\n\n render(): HTMLZAppHeaderElement {\n return (\n <Host menu-length={this.menuLength}>\n {this.hasHero && (\n <div class=\"hero-container\">\n <slot name=\"hero\">\n {this.hero && (\n <img\n alt=\"\"\n src={this.hero}\n />\n )}\n </slot>\n </div>\n )}\n\n <div\n class=\"heading-panel\"\n ref={(el) => (this.container = el)}\n >\n <div class=\"heading-container\">\n <div class=\"heading-subtitle\">\n <slot name=\"top-subtitle\"></slot>\n </div>\n <div class=\"heading-title\">\n {this.menuLength > 0 && (\n <button\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\"></z-icon>\n </button>\n )}\n\n <slot name=\"title\"></slot>\n\n {this.renderSearchLinkButton()}\n </div>\n\n <div class=\"heading-subtitle\">\n <slot name=\"subtitle\"></slot>\n </div>\n </div>\n\n {(this.canShowMenu || this.canShowSearchbar) && (\n <div class=\"menu-container\">\n {this.canShowMenu && (\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n ></slot>\n )}\n\n {this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== \"desktop\")}\n </div>\n )}\n </div>\n\n <z-offcanvas\n variant={OffCanvasVariant.OVERLAY}\n transitiondirection={TransitionDirection.RIGHT}\n open={this.drawerOpen}\n onCanvasOpenStatusChanged={(ev) => (this.drawerOpen = ev.detail)}\n >\n <button\n class=\"drawer-close\"\n aria-label=\"Chiudi menu\"\n onClick={this.closeDrawer}\n slot=\"canvasContent\"\n aria-hidden={`${!this.drawerOpen}`}\n disabled={!this.drawerOpen}\n >\n <z-icon name=\"close\"></z-icon>\n </button>\n\n <div\n class=\"drawer-content\"\n slot=\"canvasContent\"\n aria-hidden={`${!this.drawerOpen}`}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n ></slot>\n </div>\n </z-offcanvas>\n\n {this._stuck && (\n <div class=\"heading-stuck\">\n <div class=\"heading-stuck-content\">\n {this.menuLength > 0 && (\n <button\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\"></z-icon>\n </button>\n )}\n\n <div class=\"heading-title\">\n <slot name=\"stucked-title\">{this.title}</slot>\n </div>\n\n {this.renderSearchLinkButton()}\n {this.canShowSearchbar && this.currentViewport === \"desktop\" && this.renderSeachbar(false)}\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-app-header.js","mappings":"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","names":["ZAppHeader"],"sources":["src/components/z-app-header/styles.css?tag=z-app-header&encapsulation=shadow","src/components/z-app-header/index.tsx"],"sourcesContent":[":host {\n --app-header-typography-1-size: 24px;\n --app-header-typography-2-size: 28px;\n --app-header-typography-3-size: 32px;\n --app-header-typography-4-size: 36px;\n --app-header-typography-5-size: 42px;\n --app-header-typography-6-size: 48px;\n --app-header-typography-7-size: 54px;\n --app-header-typography-8-size: 60px;\n --app-header-typography-9-size: 68px;\n --app-header-typography-10-size: 76px;\n --app-header-typography-11-size: 84px;\n --app-header-typography-12-size: 92px;\n --app-header-typography-1-lineheight: 1.33;\n --app-header-typography-2-lineheight: 1.29;\n --app-header-typography-3-lineheight: 1.25;\n --app-header-typography-4-lineheight: 1.24;\n --app-header-typography-5-lineheight: 1.24;\n --app-header-typography-6-lineheight: 1.25;\n --app-header-typography-7-lineheight: 1.2;\n --app-header-typography-8-lineheight: 1.26;\n --app-header-typography-9-lineheight: 1.24;\n --app-header-typography-10-lineheight: 1.26;\n --app-header-typography-11-lineheight: 1.2;\n --app-header-typography-12-lineheight: 1.2;\n --app-header-typography-1-tracking: calc(-0.2 / 1em);\n --app-header-typography-2-tracking: calc(-0.4 / 1em);\n --app-header-typography-3-tracking: calc(-0.6 / 1em);\n --app-header-typography-4-tracking: calc(-0.8 / 1em);\n --app-header-typography-5-tracking: calc(-1 / 1em);\n --app-header-typography-6-tracking: calc(-1.2 / 1em);\n --app-header-typography-7-tracking: calc(-1.4 / 1em);\n --app-header-typography-8-tracking: calc(-1.6 / 1em);\n --app-header-typography-9-tracking: calc(-1.8 / 1em);\n --app-header-typography-10-tracking: calc(-2 / 1em);\n --app-header-typography-11-tracking: calc(-2.2 / 1em);\n --app-header-typography-12-tracking: calc(-2.4 / 1em);\n --app-header-content-max-width: 100%;\n --app-header-height: auto;\n\n /* Variable to set stuck header and drawer's top offset.\n Useful when something is absolutely positioned above the header. */\n --app-header-top-offset: 48px;\n --app-header-drawer-trigger-size: calc(var(--space-unit) * 4);\n\n /* Variable to customize header background color. */\n --app-header-bg: var(--color-surface01);\n\n /* Variable to customize stuck header background color. */\n --app-header-stucked-bg: var(--color-surface01);\n\n /* Variable to customize text and icon color. */\n --app-header-text-color: var(--color-default-text);\n\n /* Variable to customize the title's font size.\n NOTE: Only use one of the exported `--app-header-typography-*-size` as a value. */\n --app-header-title-font-size: var(--app-header-typography-3-size);\n\n /* Variable to customize the title's line-height.\n NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value\n and use the same level as the one of the font size. */\n --app-header-title-lineheight: var(--app-header-typography-3-lineheight);\n\n /* Variable to customize the title's letter-spacing.\n NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value\n and use the same level as the one of the font size. */\n --app-header-title-letter-spacing: var(--app-header-typography-3-tracking);\n\n /* Variable to customize stuck header's text and icon color. */\n --app-header-stucked-text-color: var(--color-default-text);\n\n position: relative;\n display: block;\n height: var(--app-header-height);\n color: var(--app-header-text-color);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n.heading-panel {\n position: relative;\n display: flex;\n width: 100%;\n max-width: var(--app-header-content-max-width);\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n align-items: baseline;\n padding: var(--grid-margin);\n margin: 0 auto;\n background: var(--app-header-bg);\n gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n}\n\n.hero-container + .heading-panel {\n background: transparent;\n}\n\n:host(:empty) .heading-panel {\n padding: 0;\n}\n\n.heading-container {\n position: relative;\n z-index: 1;\n display: flex;\n width: 100%;\n max-width: 100%;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n}\n\n.heading-title {\n display: flex;\n max-width: 100%;\n flex-direction: row;\n align-items: flex-start;\n column-gap: calc(var(--space-unit) * 2);\n}\n\n::slotted([slot=\"title\"]),\n.heading-stuck .heading-title > *,\n::slotted([slot=\"stucked-title\"]) {\n margin: 0;\n font-family: \"IBM Plex Serif\", serif;\n font-weight: var(--font-bd);\n}\n\n::slotted([slot=\"title\"]) {\n font-size: var(--app-header-title-font-size);\n letter-spacing: var(--app-header-title-letter-spacing);\n line-height: var(--app-header-title-lineheight);\n}\n\n.heading-stuck .heading-title > *,\n::slotted([slot=\"stucked-title\"]) {\n font-size: var(--app-header-typography-3-size);\n letter-spacing: var(--app-header-typography-3-tracking);\n line-height: var(--app-header-typography-3-lineheight);\n}\n\n:host(:not([menu-length=\"0\"])) .heading-subtitle {\n padding-left: calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2));\n}\n\n::slotted([slot=\"top-subtitle\"]),\n::slotted([slot=\"subtitle\"]) {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 20px;\n font-style: italic;\n line-height: 26px;\n}\n\n::slotted([slot=\"subtitle\"]) {\n font-weight: 500;\n}\n\n::slotted([slot=\"top-subtitle\"]) {\n font-weight: 400;\n}\n\n.menu-container {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-flow: row wrap;\n}\n\n:host([menu-length=\"0\"]:not([enable-search])) .menu-container,\n.menu-container:empty {\n display: none;\n}\n\n.menu-container ::slotted([open]) {\n position: relative;\n z-index: 3;\n}\n\nz-searchbar {\n z-index: 0;\n display: flex;\n width: auto;\n min-width: calc(var(--space-unit) * 32);\n flex: 1 auto;\n align-items: center;\n margin-left: auto;\n}\n\n.heading-stuck {\n position: fixed;\n z-index: 20;\n top: var(--app-header-top-offset);\n left: 0;\n width: 100%;\n max-width: 100%;\n animation: slide-stuck-heading-in 250ms ease-out;\n background: var(--app-header-stucked-bg);\n box-shadow: var(--shadow-2);\n color: var(--app-header-stucked-text-color);\n}\n\n.heading-stuck-content {\n display: flex;\n max-width: var(--app-header-content-max-width);\n align-items: center;\n padding: var(--space-unit) var(--grid-margin);\n margin: 0 auto;\n column-gap: calc(var(--space-unit) * 2);\n}\n\n.heading-stuck .heading-title {\n overflow: hidden;\n}\n\n.heading-stuck .heading-title > *,\n.heading-stuck .heading-title ::slotted([slot=\"stucked-title\"]) {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.heading-stuck-content z-button {\n margin-left: auto;\n}\n\n.drawer-trigger {\n padding: 0;\n border: 0;\n margin: 0;\n appearance: none;\n background: none;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n}\n\n.drawer-trigger z-icon {\n --z-icon-width: var(--app-header-drawer-trigger-size);\n --z-icon-height: var(--app-header-drawer-trigger-size);\n\n fill: currentcolor;\n}\n\n/* Simulate the height of the first line of text,\nto correctly align drawer icon and search page button with the title */\n.heading-container :is(.drawer-trigger, z-button.search-page-button) {\n display: flex;\n height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));\n align-items: center;\n}\n\n.heading-container z-button.search-page-button {\n margin-left: auto;\n}\n\n.drawer-content {\n display: none;\n}\n\nz-offcanvas[open] .drawer-content {\n display: flex;\n width: 100%;\n flex: 1 auto;\n flex-direction: column;\n row-gap: calc(var(--space-unit) * 2.5);\n}\n\nz-offcanvas[open] .drawer-content ::slotted(z-menu) {\n width: 100%;\n}\n\n.drawer-close {\n --z-icon-width: var(--app-header-drawer-trigger-size);\n --z-icon-height: var(--app-header-drawer-trigger-size);\n\n padding: 0;\n border: 0;\n margin: var(--space-unit) 0 calc(var(--space-unit) * 2.5);\n appearance: none;\n background: transparent;\n border-radius: 0;\n color: inherit;\n cursor: pointer;\n fill: currentcolor;\n font-size: inherit;\n outline: none;\n}\n\n.drawer-close:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.hero-container {\n position: absolute;\n z-index: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n:host([overlay]) .heading-panel .drawer-trigger z-icon,\n:host([overlay]) .heading-panel .heading-container,\n:host([overlay]) .heading-panel .menu-container {\n color: var(--color-white);\n fill: var(--color-white);\n}\n\n:host([overlay]) .heading-panel .menu-container ::slotted(z-menu) {\n --z-menu-label-color: var(--color-white);\n}\n\n:host([overlay]) .hero-container::after {\n position: absolute;\n z-index: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: var(--color-black);\n content: \"\";\n opacity: 0.5;\n}\n\n.hero-container img,\n.hero-container ::slotted(*) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: top center;\n -webkit-user-drag: none;\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-6-size);\n --app-header-title-lineheight: var(--app-header-typography-6-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-6-tracking);\n }\n\n .heading-panel {\n flex-flow: row wrap;\n align-items: center;\n padding-bottom: calc(var(--space-unit) * 2);\n }\n\n .heading-container {\n margin-right: auto;\n }\n\n :host(:is([flow=\"offcanvas\"], [menu-length=\"0\"])) :is(.heading-container, .menu-container) {\n width: auto;\n }\n\n :host(:not([flow=\"offcanvas\"])) .heading-subtitle {\n padding-left: 0;\n }\n\n .menu-container {\n flex: initial;\n align-items: center;\n }\n\n :host([menu-length=\"0\"]) .menu-container:not(:empty) {\n height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));\n }\n\n :host(:not([flow=\"offcanvas\"])) .menu-container {\n gap: var(--space-unit) calc(var(--space-unit) * 5);\n }\n\n :host(:not([flow=\"offcanvas\"])) .heading-container .drawer-trigger {\n display: none;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-7-size);\n --app-header-title-lineheight: var(--app-header-typography-7-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-7-tracking);\n }\n\n .heading-panel {\n justify-content: flex-start;\n padding-bottom: calc(var(--space-unit) * 3);\n }\n\n .heading-container,\n .menu-container {\n width: auto;\n }\n\n :host([flow=\"stack\"]) .heading-panel {\n flex-flow: column;\n align-items: flex-start;\n }\n\n :host([flow=\"stack\"]) .menu-container {\n width: 100%;\n }\n\n :host(:not([flow=\"offcanvas\"], [menu-length=\"0\"])) .heading-panel {\n row-gap: calc(var(--space-unit) * 3);\n }\n\n z-searchbar {\n min-width: calc(var(--space-unit) * 45);\n flex: initial;\n }\n}\n\n/* Wide breakpoint */\n@media (min-width: 1366px) {\n :host {\n --app-header-title-font-size: var(--app-header-typography-9-size);\n --app-header-title-lineheight: var(--app-header-typography-9-lineheight);\n --app-header-title-letter-spacing: var(--app-header-typography-9-tracking);\n }\n}\n\n@keyframes slide-stuck-heading-in {\n 0% {\n transform: translate3d(0, -100%, 0);\n }\n\n 100% {\n transform: none;\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, OffCanvasVariant, TransitionDirection} from \"../../beans\";\n\nconst SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== \"undefined\";\n\n/**\n * @slot title - Slot for the main title\n * @slot subtitle - Slot for the bottom subtitle. It will not appear in stuck header.\n * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.\n * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.\n * @cssprop --app-header-typography-1-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `24px`.\n * @cssprop --app-header-typography-2-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `28px`.\n * @cssprop --app-header-typography-3-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `32px`.\n * @cssprop --app-header-typography-4-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `36px`.\n * @cssprop --app-header-typography-5-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `42px`.\n * @cssprop --app-header-typography-6-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `48px`.\n * @cssprop --app-header-typography-7-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `54px`.\n * @cssprop --app-header-typography-8-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `60px`.\n * @cssprop --app-header-typography-9-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `68px`.\n * @cssprop --app-header-typography-10-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `76px`.\n * @cssprop --app-header-typography-11-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `84px`.\n * @cssprop --app-header-typography-12-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `92px`.\n * @cssprop --app-header-typography-1-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.33`.\n * @cssprop --app-header-typography-2-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.29`.\n * @cssprop --app-header-typography-3-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.\n * @cssprop --app-header-typography-4-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-5-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-6-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.\n * @cssprop --app-header-typography-7-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-8-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.\n * @cssprop --app-header-typography-9-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.\n * @cssprop --app-header-typography-10-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.\n * @cssprop --app-header-typography-11-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-12-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.\n * @cssprop --app-header-typography-1-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.2 / 1em)`.\n * @cssprop --app-header-typography-2-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.4 / 1em)`.\n * @cssprop --app-header-typography-3-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.6 / 1em)`.\n * @cssprop --app-header-typography-4-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.8 / 1em)`.\n * @cssprop --app-header-typography-5-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1 / 1em)`.\n * @cssprop --app-header-typography-6-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.2 / 1em)`.\n * @cssprop --app-header-typography-7-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.4 / 1em)`.\n * @cssprop --app-header-typography-8-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.6 / 1em)`.\n * @cssprop --app-header-typography-9-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.8 / 1em)`.\n * @cssprop --app-header-typography-10-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2 / 1em)`.\n * @cssprop --app-header-typography-11-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.2 / 1em)`.\n * @cssprop --app-header-typography-12-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.4 / 1em)`.\n * @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.\n * @cssprop --app-header-height - Defaults to `auto`.\n * @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).\n * @cssprop --app-header-drawer-trigger-size - The size of the drawer icon. Defaults to `--space-unit * 4`.\n * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-text-color - Text color. Useful on `hero` variant to set text color based on the colors of the background image. Defaults to `--color-default-text`.\n * @cssprop --app-header-title-font-size - Variable to customize the title's font size.\n * NOTE: Only use one of the exported `--app-header-typography-*-size` as a value.\n * Defaults to `--app-header-typography-3-size`.\n * @cssprop --app-header-title-lineheight - Variable to customize the title's line-height.\n * NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value and use the same level as the one of the font size.\n * Defaults to `--app-header-typography-3-lineheight`.\n * @cssprop --app-header-title-letter-spacing - Variable to customize the title's letter-spacing.\n * NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value and use the same level as the one of the font size.\n * Defaults to `--app-header-typography-3-tracking`.\n * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.\n */\n@Component({\n tag: \"z-app-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAppHeader {\n @Element() hostElement: HTMLZAppHeaderElement;\n\n /**\n * Stuck mode for the header.\n * You can programmatically set it using an IntersectionObserver.\n */\n @Prop({reflect: true})\n stuck = false;\n\n /**\n * Set the hero image source for the header.\n * You can also use a [slot=\"hero\"] node for advanced customization.\n */\n @Prop()\n hero: string;\n\n /**\n * Should place an overlay over the hero image.\n * Useful for legibility purpose.\n */\n @Prop({reflect: true})\n overlay = false;\n\n /**\n * Control menu bar position in the header.\n * - auto: the menu bar is positioned near the title\n * - stack: the menu bar is positioned below the title\n * - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu\n */\n @Prop({reflect: true})\n flow: \"auto\" | \"stack\" | \"offcanvas\" = \"auto\";\n\n /**\n * The opening state of the drawer.\n */\n @Prop({reflect: true})\n drawerOpen = false;\n\n /**\n * Enable the search bar.\n */\n @Prop({reflect: true})\n enableSearch = false;\n\n /**\n * Placeholder text for the search bar.\n */\n @Prop()\n searchPlaceholder = \"Cerca\";\n\n /**\n * Search string for the search bar.\n */\n @Prop({mutable: true})\n searchString = \"\";\n\n /**\n * Url to the search page.\n * Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\n * The link will also appear on the sticky header.\n */\n @Prop()\n searchPageUrl: string;\n\n /**\n * The stuck state of the bar.\n */\n @State()\n private _stuck = false;\n\n /**\n * Current viewport.\n * Used to change the aspect of the search button (icon only) on mobile and tablet.\n */\n @State()\n private currentViewport: \"mobile\" | \"tablet\" | \"desktop\" = \"mobile\";\n\n /**\n * Current count of menu items.\n */\n @State()\n menuLength: number;\n\n /**\n * Emitted when the `stuck` state of the header changes\n */\n @Event()\n sticking: EventEmitter;\n\n private container?: HTMLDivElement;\n\n private menuElements?: NodeListOf<HTMLElement>;\n\n private observer?: IntersectionObserver =\n SUPPORT_INTERSECTION_OBSERVER &&\n new IntersectionObserver(\n ([entry]) => {\n this._stuck = !entry.isIntersecting;\n },\n {\n threshold: 0.5,\n }\n );\n\n constructor() {\n this.openDrawer = this.openDrawer.bind(this);\n this.closeDrawer = this.closeDrawer.bind(this);\n this.collectMenuElements = this.collectMenuElements.bind(this);\n }\n\n @Listen(\"resize\", {target: \"window\", passive: true})\n evaluateViewport(): void {\n if (window.innerWidth < 768) {\n this.currentViewport = \"mobile\";\n } else if (window.innerWidth >= 768 && window.innerWidth < 1152) {\n this.currentViewport = \"tablet\";\n } else {\n this.currentViewport = \"desktop\";\n }\n }\n\n @Watch(\"_stuck\")\n onStuck(): void {\n const scrollParent = this.scrollParent;\n if (!scrollParent) {\n return;\n }\n\n this.sticking.emit(this._stuck);\n }\n\n @Watch(\"drawerOpen\")\n setMenuFloatingMode(): void {\n if (this.menuElements.length === 0) {\n return;\n }\n\n const elements = this.menuElements;\n elements.forEach((element) => {\n (element as HTMLZMenuElement).open = false;\n (element as HTMLZMenuElement).floating = !this.drawerOpen;\n (element as HTMLZMenuElement).verticalContext = this.drawerOpen;\n });\n }\n\n private get title(): string {\n const titleElement = this.hostElement.querySelector('[slot=\"title\"]');\n if (titleElement === null) {\n return \"\";\n }\n\n return titleElement.textContent.trim();\n }\n\n private get scrollParent(): Window | Element {\n const parent = this.hostElement.offsetParent;\n if (parent === document.body || parent === document.documentElement) {\n return window;\n }\n\n return parent;\n }\n\n private get canShowMenu(): boolean {\n return this.flow !== \"offcanvas\" && this.currentViewport !== \"mobile\" && !this.drawerOpen;\n }\n\n private get canShowSearchbar(): boolean {\n if (!this.enableSearch) {\n return false;\n }\n\n // Always show the searchbar on desktop, even if a searchPageUrl is set\n if (this.searchPageUrl) {\n return this.currentViewport === \"desktop\";\n }\n\n return true;\n }\n\n /**\n * Whether the header has a hero image, either as a prop or as a slot.\n */\n private get hasHero(): boolean {\n return !!this.hero || this.hostElement.querySelector(\"[slot=hero]\") !== null;\n }\n\n private openDrawer(): void {\n this.drawerOpen = true;\n }\n\n private closeDrawer(): void {\n this.drawerOpen = false;\n }\n\n private collectMenuElements(): void {\n const menuElements = (this.menuElements = this.hostElement.querySelectorAll('[slot=\"menu\"]'));\n this.menuLength = menuElements.length;\n this.setMenuFloatingMode();\n }\n\n private enableStuckObserver(): void {\n if (this.observer) {\n this.observer.observe(this.container);\n }\n }\n\n private disableStuckMode(): void {\n this._stuck = false;\n if (this.observer) {\n this.observer.unobserve(this.container);\n }\n }\n\n @Watch(\"stuck\")\n onStuckMode(): void {\n if (this.stuck) {\n this.enableStuckObserver();\n } else {\n this.disableStuckMode();\n }\n }\n\n private renderSearchLinkButton(): HTMLZButtonElement | null {\n if (!this.enableSearch || !this.searchPageUrl || this.currentViewport === \"desktop\") {\n return null;\n }\n\n return (\n <z-button\n class=\"search-page-button\"\n variant={ButtonVariant.SECONDARY}\n href={this.searchPageUrl}\n icon=\"search\"\n size={ControlSize.X_SMALL}\n ></z-button>\n );\n }\n\n private renderSeachbar(searchButtonIconOnly: boolean): HTMLZSearchbarElement {\n return (\n <z-searchbar\n value={this.searchString}\n placeholder={this.searchPlaceholder}\n showSearchButton={true}\n searchButtonIconOnly={searchButtonIconOnly}\n size={ControlSize.X_SMALL}\n variant={ButtonVariant.SECONDARY}\n preventSubmit={this.searchString.length < 3}\n onSearchTyping={(e) => (this.searchString = e.detail)}\n />\n );\n }\n\n componentDidLoad(): void {\n this.collectMenuElements();\n this.onStuckMode();\n this.evaluateViewport();\n }\n\n render(): HTMLZAppHeaderElement {\n return (\n <Host menu-length={this.menuLength}>\n {this.hasHero && (\n <div class=\"hero-container\">\n <slot name=\"hero\">\n {this.hero && (\n <img\n alt=\"\"\n src={this.hero}\n />\n )}\n </slot>\n </div>\n )}\n\n <div\n class=\"heading-panel\"\n ref={(el) => (this.container = el)}\n >\n <div class=\"heading-container\">\n <div class=\"heading-subtitle\">\n <slot name=\"top-subtitle\"></slot>\n </div>\n <div class=\"heading-title\">\n {this.menuLength > 0 && (\n <button\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\"></z-icon>\n </button>\n )}\n\n <slot name=\"title\"></slot>\n\n {this.renderSearchLinkButton()}\n </div>\n\n <div class=\"heading-subtitle\">\n <slot name=\"subtitle\"></slot>\n </div>\n </div>\n\n {(this.canShowMenu || this.canShowSearchbar) && (\n <div class=\"menu-container\">\n {this.canShowMenu && (\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n ></slot>\n )}\n\n {this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== \"desktop\")}\n </div>\n )}\n </div>\n\n <z-offcanvas\n variant={OffCanvasVariant.OVERLAY}\n transitiondirection={TransitionDirection.RIGHT}\n open={this.drawerOpen}\n onCanvasOpenStatusChanged={(ev) => (this.drawerOpen = ev.detail)}\n >\n <button\n class=\"drawer-close\"\n aria-label=\"Chiudi menu\"\n onClick={this.closeDrawer}\n slot=\"canvasContent\"\n aria-hidden={`${!this.drawerOpen}`}\n disabled={!this.drawerOpen}\n >\n <z-icon name=\"close\"></z-icon>\n </button>\n\n <div\n class=\"drawer-content\"\n slot=\"canvasContent\"\n aria-hidden={`${!this.drawerOpen}`}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n ></slot>\n </div>\n </z-offcanvas>\n\n {this._stuck && (\n <div class=\"heading-stuck\">\n <div class=\"heading-stuck-content\">\n {this.menuLength > 0 && (\n <button\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\"></z-icon>\n </button>\n )}\n\n <div class=\"heading-title\">\n <slot name=\"stucked-title\">{this.title}</slot>\n </div>\n\n {this.renderSearchLinkButton()}\n {this.canShowSearchbar && this.currentViewport === \"desktop\" && this.renderSeachbar(false)}\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -8,7 +8,7 @@ const ZAriaAlert$1 = /*@__PURE__*/ proxyCustomElement(class ZAriaAlert extends H
8
8
  this.mode = ZAriaAlertMode.POLITE;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '88e0d50e7f29c2e80aaa047a32902bc6347ad8d9', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: 'c76710250968f02393f69652d148ddf22eb1839e' })));
11
+ return (h(Host, { key: '3dc09efdfb273cbb3700c75f6e83112d6d158fb0', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '109c1e5fa0fa0bd7fa990c7fdb23c0f65dd6811e' })));
12
12
  }
13
13
  }, [4, "z-aria-alert", {
14
14
  "mode": [1]
@@ -1 +1 @@
1
- {"file":"z-aria-alert.js","mappings":";;;MAOaA,YAAU;;;;oBAGE,cAAc,CAAC,MAAM;;IAE5C,MAAM;QACJ,QACE,EAAC,IAAI,kEACQ,IAAI,CAAC,IAAI,iBACR,MAAM,mBACJ,WAAW,IAEzB,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAriaAlert"],"sources":["src/components/z-aria-alert/index.tsx"],"sourcesContent":["import {Component, Prop, h, Host} from \"@stencil/core\";\nimport {ZAriaAlertMode} from \"../../beans\";\n\n@Component({\n tag: \"z-aria-alert\",\n shadow: false,\n})\nexport class ZAriaAlert {\n /** Aria live mode */\n @Prop()\n mode: ZAriaAlertMode = ZAriaAlertMode.POLITE;\n\n render(): HTMLZAriaAlertElement {\n return (\n <Host\n aria-live={this.mode}\n aria-atomic=\"true\"\n aria-relevant=\"additions\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-aria-alert.js","mappings":";;;MAOaA,YAAU;;;;oBAGE,cAAc,CAAC,MAAM;;IAE5C,MAAM;QACJ,QACE,EAAC,IAAI,kEACQ,IAAI,CAAC,IAAI,iBACR,MAAM,mBACJ,WAAW,IAEzB,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAriaAlert"],"sources":["src/components/z-aria-alert/index.tsx"],"sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {ZAriaAlertMode} from \"../../beans\";\n\n@Component({\n tag: \"z-aria-alert\",\n shadow: false,\n})\nexport class ZAriaAlert {\n /** Aria live mode */\n @Prop()\n mode: ZAriaAlertMode = ZAriaAlertMode.POLITE;\n\n render(): HTMLZAriaAlertElement {\n return (\n <Host\n aria-live={this.mode}\n aria-atomic=\"true\"\n aria-relevant=\"additions\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -31,10 +31,10 @@ const ZAvatar$1 = /*@__PURE__*/ proxyCustomElement(class ZAvatar extends HTMLEle
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '17a097738ce186c791794f5f8192cd46845df2a6', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
34
+ return (h(Host, { key: '63564a1499f36b406dcece1fd47bb0aa8e06ed6d', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
35
35
  color: `var(--${this.textColor})`,
36
36
  backgroundColor: `var(--${this.backgroundColor})`,
37
- } }, this.text && !this.image && h("span", null, this.text.substring(0, 2)), this.image && (h("img", { src: this.image, onError: () => (this.image = "") }))));
37
+ } }, this.text && !this.image && h("span", { key: '9813952059608df9a5cdf74db7038aec2751dfa8' }, this.text.substring(0, 2)), this.image && (h("img", { key: 'd918f83b5212cb7618e30a0dc040f0c312341386', src: this.image, onError: () => (this.image = "") }))));
38
38
  }
39
39
  static get style() { return ZAvatarStyle0; }
40
40
  }, [1, "z-avatar", {
@@ -1 +1 @@
1
- {"file":"z-avatar.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,ihBAAihB,CAAC;AACpiB,sBAAe,SAAS;;MCOXA,SAAO;IAqBlB;;;;;oBAlBoB,UAAU,CAAC,MAAM;;yBAQhB,aAAa;+BAIP,SAAS;;QAOlC,IAAI,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,MAAM,MAAK,CAAC,IAAI,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,MAAK,CAAC,EAAE;YACvD,OAAO,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAC;SAChF;KACF;IAEO,WAAW;QACjB,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,EAAE;YAClC,OAAO,GAAG,CAAC;SACZ;aAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,MAAM,EAAE;YAC1C,OAAO,GAAG,CAAC;SACZ;aAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,EAAE;YACzC,OAAO,GAAG,CAAC;SACZ;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,KAAK,EAAE,EAAC,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC,QAAQ,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,IAAI,EAAC,EACnE,KAAK,EAAE;gBACL,KAAK,EAAE,SAAS,IAAI,CAAC,SAAS,GAAG;gBACjC,eAAe,EAAE,SAAS,IAAI,CAAC,eAAe,GAAG;aAClD,IAEA,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,gBAAO,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAQ,EACpE,IAAI,CAAC,KAAK,KACT,WACE,GAAG,EAAE,IAAI,CAAC,KAAK,EACf,OAAO,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,GAChC,CACH,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAvatar"],"sources":["src/components/z-avatar/styles.css?tag=z-avatar&encapsulation=shadow","src/components/z-avatar/index.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-color: var(--gray700);\n border-radius: 50%;\n font-family: var(--font-family-sans);\n text-transform: uppercase;\n}\n\n:host(.small),\n:host(.small) > img {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n}\n\n:host(.medium),\n:host(.medium) > img {\n width: calc(var(--space-unit) * 4);\n height: calc(var(--space-unit) * 4);\n}\n\n:host(.large),\n:host(.large) > img {\n width: calc(var(--space-unit) * 5);\n height: calc(var(--space-unit) * 5);\n}\n\n:host > img {\n object-fit: cover;\n}\n","import {Component, Prop, h, Host} from \"@stencil/core\";\nimport {AvatarSize} from \"../../beans\";\n\n@Component({\n tag: \"z-avatar\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAvatar {\n /** [optional] Avatar size */\n @Prop()\n size?: AvatarSize = AvatarSize.MEDIUM;\n\n /** [optional] Avatar text */\n @Prop()\n text?: string;\n\n /** [optional] Avatar text color */\n @Prop()\n textColor?: string = \"color-white\";\n\n /** [optional] Avatar background color */\n @Prop()\n backgroundColor?: string = \"gray700\";\n\n /** [optional] Avatar image */\n @Prop({mutable: true})\n image?: string;\n\n constructor() {\n if (this.text?.length === 0 && this.image?.length === 0) {\n console.warn(\"z-avatar must contain at least one prop between text and image\");\n }\n }\n\n private getTextSize(): string {\n if (this.size === AvatarSize.SMALL) {\n return \"5\";\n } else if (this.size === AvatarSize.MEDIUM) {\n return \"4\";\n } else if (this.size === AvatarSize.LARGE) {\n return \"2\";\n }\n }\n\n render(): HTMLZAvatarElement {\n return (\n <Host\n class={{[this.size]: true, [`body-${this.getTextSize()}-sb`]: true}}\n style={{\n color: `var(--${this.textColor})`,\n backgroundColor: `var(--${this.backgroundColor})`,\n }}\n >\n {this.text && !this.image && <span>{this.text.substring(0, 2)}</span>}\n {this.image && (\n <img\n src={this.image}\n onError={() => (this.image = \"\")}\n />\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-avatar.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,ihBAAihB,CAAC;AACpiB,sBAAe,SAAS;;MCOXA,SAAO;IAqBlB;;;;;oBAlBoB,UAAU,CAAC,MAAM;;yBAQhB,aAAa;+BAIP,SAAS;;QAOlC,IAAI,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,MAAM,MAAK,CAAC,IAAI,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,MAAK,CAAC,EAAE;YACvD,OAAO,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAC;SAChF;KACF;IAEO,WAAW;QACjB,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,EAAE;YAClC,OAAO,GAAG,CAAC;SACZ;aAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,MAAM,EAAE;YAC1C,OAAO,GAAG,CAAC;SACZ;aAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,EAAE;YACzC,OAAO,GAAG,CAAC;SACZ;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,KAAK,EAAE,EAAC,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC,QAAQ,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,IAAI,EAAC,EACnE,KAAK,EAAE;gBACL,KAAK,EAAE,SAAS,IAAI,CAAC,SAAS,GAAG;gBACjC,eAAe,EAAE,SAAS,IAAI,CAAC,eAAe,GAAG;aAClD,IAEA,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,+DAAO,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAQ,EACpE,IAAI,CAAC,KAAK,KACT,4DACE,GAAG,EAAE,IAAI,CAAC,KAAK,EACf,OAAO,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,GAChC,CACH,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZAvatar"],"sources":["src/components/z-avatar/styles.css?tag=z-avatar&encapsulation=shadow","src/components/z-avatar/index.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-color: var(--gray700);\n border-radius: 50%;\n font-family: var(--font-family-sans);\n text-transform: uppercase;\n}\n\n:host(.small),\n:host(.small) > img {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n}\n\n:host(.medium),\n:host(.medium) > img {\n width: calc(var(--space-unit) * 4);\n height: calc(var(--space-unit) * 4);\n}\n\n:host(.large),\n:host(.large) > img {\n width: calc(var(--space-unit) * 5);\n height: calc(var(--space-unit) * 5);\n}\n\n:host > img {\n object-fit: cover;\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {AvatarSize} from \"../../beans\";\n\n@Component({\n tag: \"z-avatar\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAvatar {\n /** [optional] Avatar size */\n @Prop()\n size?: AvatarSize = AvatarSize.MEDIUM;\n\n /** [optional] Avatar text */\n @Prop()\n text?: string;\n\n /** [optional] Avatar text color */\n @Prop()\n textColor?: string = \"color-white\";\n\n /** [optional] Avatar background color */\n @Prop()\n backgroundColor?: string = \"gray700\";\n\n /** [optional] Avatar image */\n @Prop({mutable: true})\n image?: string;\n\n constructor() {\n if (this.text?.length === 0 && this.image?.length === 0) {\n console.warn(\"z-avatar must contain at least one prop between text and image\");\n }\n }\n\n private getTextSize(): string {\n if (this.size === AvatarSize.SMALL) {\n return \"5\";\n } else if (this.size === AvatarSize.MEDIUM) {\n return \"4\";\n } else if (this.size === AvatarSize.LARGE) {\n return \"2\";\n }\n }\n\n render(): HTMLZAvatarElement {\n return (\n <Host\n class={{[this.size]: true, [`body-${this.getTextSize()}-sb`]: true}}\n style={{\n color: `var(--${this.textColor})`,\n backgroundColor: `var(--${this.backgroundColor})`,\n }}\n >\n {this.text && !this.image && <span>{this.text.substring(0, 2)}</span>}\n {this.image && (\n <img\n src={this.image}\n onError={() => (this.image = \"\")}\n />\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -123,7 +123,7 @@ const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTM
123
123
  return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
124
124
  }
125
125
  render() {
126
- return (h("article", { key: '5bdf53790a65a448b54994ac6d88bb333f23db33', class: {
126
+ return (h("article", { key: '93b847b7f5067c69880ea8ba283a207c8b691a2a', class: {
127
127
  [this.variant]: true,
128
128
  borderless: !!this.borderless,
129
129
  } }, this.renderCard()));