@zanichelli/albe-web-components 16.3.0-rc1 → 16.3.1

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 (1111) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/breakpoints-8a1e87e0.js +11 -0
  3. package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
  4. package/dist/cjs/{index-ce636845.js → index-041b41e6.js} +3 -3
  5. package/dist/cjs/{index-ce636845.js.map → index-041b41e6.js.map} +1 -1
  6. package/dist/cjs/index-1dfb8b3c.js +47 -0
  7. package/dist/cjs/index-1dfb8b3c.js.map +1 -0
  8. package/dist/cjs/{index-5d3e254f.js → index-25ded558.js} +3 -3
  9. package/dist/cjs/{index-5d3e254f.js.map → index-25ded558.js.map} +1 -1
  10. package/dist/cjs/index-4bce26ea.js +59 -0
  11. package/dist/cjs/index-4bce26ea.js.map +1 -0
  12. package/dist/cjs/{index-e801ae96.js → index-96af6326.js} +2167 -2127
  13. package/dist/cjs/index-96af6326.js.map +1 -0
  14. package/dist/cjs/{index-cf034e55.js → index-b7759a0d.js} +3 -3
  15. package/dist/cjs/{index-cf034e55.js.map → index-b7759a0d.js.map} +1 -1
  16. package/dist/cjs/index-d4272b0e.js +65 -0
  17. package/dist/cjs/index-d4272b0e.js.map +1 -0
  18. package/dist/cjs/index.cjs.js +2 -2
  19. package/dist/cjs/loader.cjs.js +2 -2
  20. package/dist/cjs/{utils-6bd8c55e.js → utils-257558ff.js} +19 -5
  21. package/dist/cjs/utils-257558ff.js.map +1 -0
  22. package/dist/cjs/web-components-library.cjs.js +3 -3
  23. package/dist/cjs/web-components-library.cjs.js.map +1 -1
  24. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  25. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  26. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  27. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  28. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -1
  29. package/dist/cjs/z-app-header_12.cjs.entry.js +291 -343
  30. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  31. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  32. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  33. package/dist/cjs/z-book-card.cjs.entry.js +5 -5
  34. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  35. package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
  36. package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
  37. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  38. package/dist/cjs/z-card.cjs.entry.js +1 -1
  39. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  40. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  41. package/dist/cjs/z-combobox.cjs.entry.js +5 -5
  42. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  43. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  44. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  45. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  46. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  47. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  48. package/dist/cjs/z-file.cjs.entry.js +4 -4
  49. package/dist/cjs/z-file.cjs.entry.js.map +1 -1
  50. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  51. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  52. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  53. package/dist/cjs/z-logo.cjs.entry.js +2 -2
  54. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  55. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  56. package/dist/cjs/z-menu-section.cjs.entry.js +141 -112
  57. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
  58. package/dist/cjs/z-menu.cjs.entry.js +210 -162
  59. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  60. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  61. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  62. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  63. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  64. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  65. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  66. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  67. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  68. package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
  69. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  70. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  71. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  72. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  73. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  74. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  75. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  76. package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
  77. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  78. package/dist/cjs/z-select.cjs.entry.js +4 -4
  79. package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -4
  80. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  81. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  82. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  83. package/dist/cjs/z-table.cjs.entry.js +11 -11
  84. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  85. package/dist/cjs/z-tbody.cjs.entry.js +2 -2
  86. package/dist/cjs/z-td.cjs.entry.js +2 -2
  87. package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
  88. package/dist/cjs/z-th.cjs.entry.js +2 -2
  89. package/dist/cjs/z-thead.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  91. package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
  92. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  93. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  94. package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -6
  95. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  96. package/dist/cjs/z-tr.cjs.entry.js +6 -6
  97. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  98. package/dist/collection/beans/index.js.map +1 -1
  99. package/dist/collection/collection-manifest.json +2 -2
  100. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -1
  101. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -1
  102. package/dist/collection/components/date-picker/utils.js.map +1 -1
  103. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
  104. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -1
  105. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
  106. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -1
  107. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  108. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -1
  109. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -1
  110. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -1
  111. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -1
  112. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -1
  113. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -1
  114. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
  115. package/dist/collection/components/file-upload/z-file/index.js +3 -3
  116. package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
  117. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -1
  118. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
  119. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -1
  120. package/dist/collection/components/index.js.map +1 -1
  121. package/dist/collection/components/list/z-list/index.js.map +1 -1
  122. package/dist/collection/components/list/z-list/index.stories.js.map +1 -1
  123. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  124. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -1
  125. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  126. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -1
  127. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  128. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  129. package/dist/collection/components/table/cells/z-td/styles.css +15 -5
  130. package/dist/collection/components/table/cells/z-th/index.js +5 -39
  131. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  132. package/dist/collection/components/table/cells/z-th/styles.css +19 -34
  133. package/dist/collection/components/table/z-table/index.js +1 -1
  134. package/dist/collection/components/table/z-table/index.js.map +1 -1
  135. package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
  136. package/dist/collection/components/table/z-table/styles.css +4 -0
  137. package/dist/collection/components/table/z-tbody/index.js +1 -1
  138. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  139. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  140. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  141. package/dist/collection/components/table/z-thead/index.js +1 -1
  142. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  143. package/dist/collection/components/table/z-tr/index.js +1 -1
  144. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  145. package/dist/collection/components/table/z-tr/styles.css +1 -0
  146. package/dist/collection/components/z-accordion/index.js +1 -1
  147. package/dist/collection/components/z-accordion/index.js.map +1 -1
  148. package/dist/collection/components/z-accordion/index.stories.js.map +1 -1
  149. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  150. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
  151. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -1
  152. package/dist/collection/components/z-app-header/index.js +149 -206
  153. package/dist/collection/components/z-app-header/index.js.map +1 -1
  154. package/dist/collection/components/z-app-header/index.stories.js +12 -28
  155. package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
  156. package/dist/collection/components/z-app-header/styles.css +95 -121
  157. package/dist/collection/components/z-aria-alert/index.js +1 -1
  158. package/dist/collection/components/z-aria-alert/index.js.map +1 -1
  159. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -1
  160. package/dist/collection/components/z-avatar/index.js +2 -2
  161. package/dist/collection/components/z-avatar/index.js.map +1 -1
  162. package/dist/collection/components/z-avatar/index.stories.js.map +1 -1
  163. package/dist/collection/components/z-book-card/index.js +3 -3
  164. package/dist/collection/components/z-book-card/index.js.map +1 -1
  165. package/dist/collection/components/z-book-card/index.stories.js.map +1 -1
  166. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  167. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  168. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  169. package/dist/collection/components/z-button/index.js.map +1 -1
  170. package/dist/collection/components/z-button/index.stories.js.map +1 -1
  171. package/dist/collection/components/z-button-sort/index.js +3 -3
  172. package/dist/collection/components/z-button-sort/index.js.map +1 -1
  173. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -1
  174. package/dist/collection/components/z-card/index.js.map +1 -1
  175. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  176. package/dist/collection/components/z-carousel/index.js.map +1 -1
  177. package/dist/collection/components/z-carousel/index.stories.js.map +1 -1
  178. package/dist/collection/components/z-chip/index.js +2 -2
  179. package/dist/collection/components/z-chip/index.js.map +1 -1
  180. package/dist/collection/components/z-chip/index.stories.js.map +1 -1
  181. package/dist/collection/components/z-combobox/index.js +1 -1
  182. package/dist/collection/components/z-combobox/index.js.map +1 -1
  183. package/dist/collection/components/z-combobox/index.stories.js.map +1 -1
  184. package/dist/collection/components/z-combobox/styles.css +6 -4
  185. package/dist/collection/components/z-cover-hero/index.js +2 -2
  186. package/dist/collection/components/z-cover-hero/index.js.map +1 -1
  187. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -1
  188. package/dist/collection/components/z-divider/index.js +1 -1
  189. package/dist/collection/components/z-divider/index.js.map +1 -1
  190. package/dist/collection/components/z-divider/index.stories.js.map +1 -1
  191. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  192. package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
  193. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -1
  194. package/dist/collection/components/z-icon/index.js.map +1 -1
  195. package/dist/collection/components/z-icon/index.stories.js.map +1 -1
  196. package/dist/collection/components/z-info-box/index.js +1 -1
  197. package/dist/collection/components/z-info-box/index.js.map +1 -1
  198. package/dist/collection/components/z-info-box/index.stories.js.map +1 -1
  199. package/dist/collection/components/z-info-reveal/index.js +1 -1
  200. package/dist/collection/components/z-info-reveal/index.js.map +1 -1
  201. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -1
  202. package/dist/collection/components/z-input/index.js +1 -1
  203. package/dist/collection/components/z-input/index.js.map +1 -1
  204. package/dist/collection/components/z-input/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-input-message/index.js +1 -1
  206. package/dist/collection/components/z-input-message/index.js.map +1 -1
  207. package/dist/collection/components/z-input-message/index.stories.js.map +1 -1
  208. package/dist/collection/components/z-logo/index.js +1 -1
  209. package/dist/collection/components/z-logo/index.js.map +1 -1
  210. package/dist/collection/components/z-logo/index.stories.js.map +1 -1
  211. package/dist/collection/components/z-menu/index.js +269 -171
  212. package/dist/collection/components/z-menu/index.js.map +1 -1
  213. package/dist/collection/components/z-menu/index.stories.js +2 -8
  214. package/dist/collection/components/z-menu/index.stories.js.map +1 -1
  215. package/dist/collection/components/z-menu/styles.css +38 -46
  216. package/dist/collection/components/z-menu-section/index.js +216 -121
  217. package/dist/collection/components/z-menu-section/index.js.map +1 -1
  218. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -1
  219. package/dist/collection/components/z-menu-section/styles.css +32 -27
  220. package/dist/collection/components/z-modal/index.js +6 -6
  221. package/dist/collection/components/z-modal/index.js.map +1 -1
  222. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  223. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  224. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -1
  225. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -1
  226. package/dist/collection/components/z-notification/index.js +1 -1
  227. package/dist/collection/components/z-notification/index.js.map +1 -1
  228. package/dist/collection/components/z-notification/index.stories.js.map +1 -1
  229. package/dist/collection/components/z-offcanvas/index.js +1 -1
  230. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  231. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -1
  232. package/dist/collection/components/z-pagination/index.js.map +1 -1
  233. package/dist/collection/components/z-pagination/index.stories.js.map +1 -1
  234. package/dist/collection/components/z-panel-elem/index.js +2 -2
  235. package/dist/collection/components/z-panel-elem/index.js.map +1 -1
  236. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -1
  237. package/dist/collection/components/z-popover/index.js +1 -1
  238. package/dist/collection/components/z-popover/index.js.map +1 -1
  239. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  240. package/dist/collection/components/z-searchbar/index.js +4 -3
  241. package/dist/collection/components/z-searchbar/index.js.map +1 -1
  242. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -1
  243. package/dist/collection/components/z-section-title/index.js +1 -1
  244. package/dist/collection/components/z-section-title/index.js.map +1 -1
  245. package/dist/collection/components/z-section-title/index.stories.js.map +1 -1
  246. package/dist/collection/components/z-select/index.js +1 -1
  247. package/dist/collection/components/z-select/index.js.map +1 -1
  248. package/dist/collection/components/z-select/index.stories.js.map +1 -1
  249. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  250. package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
  251. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -1
  252. package/dist/collection/components/z-stepper/index.js +1 -1
  253. package/dist/collection/components/z-stepper/index.js.map +1 -1
  254. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  255. package/dist/collection/components/z-stepper-item/index.js +1 -1
  256. package/dist/collection/components/z-stepper-item/index.js.map +1 -1
  257. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -1
  258. package/dist/collection/components/z-tag/index.js +2 -2
  259. package/dist/collection/components/z-tag/index.js.map +1 -1
  260. package/dist/collection/components/z-tag/index.stories.js.map +1 -1
  261. package/dist/collection/components/z-toast-notification/index.js +3 -3
  262. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  263. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  264. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  265. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -1
  266. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -1
  267. package/dist/collection/components/z-toggle-button/index.js +2 -2
  268. package/dist/collection/components/z-toggle-button/index.js.map +1 -1
  269. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -1
  270. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  271. package/dist/collection/components/z-toggle-switch/index.js.map +1 -1
  272. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -1
  273. package/dist/collection/components/z-tooltip/index.js +1 -1
  274. package/dist/collection/components/z-tooltip/index.js.map +1 -1
  275. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -1
  276. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  277. package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
  278. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -1
  279. package/dist/collection/constants/breakpoints.js +7 -4
  280. package/dist/collection/constants/breakpoints.js.map +1 -1
  281. package/dist/collection/constants/icons.js.map +1 -1
  282. package/dist/collection/constants/iconset.js +13 -1
  283. package/dist/collection/constants/iconset.js.map +1 -1
  284. package/dist/collection/index.js.map +1 -1
  285. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  286. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
  287. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  288. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
  289. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  290. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
  291. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  292. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
  293. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  294. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
  295. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  296. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
  297. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  298. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
  299. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  300. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
  301. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  302. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
  303. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  304. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
  305. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  306. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
  307. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  308. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
  309. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  310. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
  311. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  312. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
  313. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  314. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
  315. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
  316. package/dist/collection/utils/storybook-utils.js.map +1 -1
  317. package/dist/collection/utils/utils.js +17 -7
  318. package/dist/collection/utils/utils.js.map +1 -1
  319. package/dist/components/breakpoints.js +8 -4
  320. package/dist/components/breakpoints.js.map +1 -1
  321. package/dist/components/iconset.js +13 -1
  322. package/dist/components/iconset.js.map +1 -1
  323. package/dist/components/index10.js +1 -1
  324. package/dist/components/index11.js +1 -1
  325. package/dist/components/index15.js +6 -6
  326. package/dist/components/index15.js.map +1 -1
  327. package/dist/components/index16.js +1 -1
  328. package/dist/components/index17.js +1 -1
  329. package/dist/components/index18.js +1 -1
  330. package/dist/components/index19.js +1 -1
  331. package/dist/components/index20.js +1 -1
  332. package/dist/components/index21.js +1 -1
  333. package/dist/components/index22.js +1 -1
  334. package/dist/components/index23.js +5 -4
  335. package/dist/components/index23.js.map +1 -1
  336. package/dist/components/index24.js +2 -2
  337. package/dist/components/index3.js +1 -1
  338. package/dist/components/index5.js +2 -2
  339. package/dist/components/index6.js +1 -1
  340. package/dist/components/index8.js +1 -1
  341. package/dist/components/utils.js +18 -5
  342. package/dist/components/utils.js.map +1 -1
  343. package/dist/components/z-accordion.js +1 -1
  344. package/dist/components/z-anchor-navigation.js +1 -1
  345. package/dist/components/z-app-header-deprecated.js +1 -1
  346. package/dist/components/z-app-header-deprecated.js.map +1 -1
  347. package/dist/components/z-app-header.js +144 -207
  348. package/dist/components/z-app-header.js.map +1 -1
  349. package/dist/components/z-aria-alert.js +1 -1
  350. package/dist/components/z-avatar.js +2 -2
  351. package/dist/components/z-book-card.js +3 -3
  352. package/dist/components/z-book-card.js.map +1 -1
  353. package/dist/components/z-breadcrumb.js +2 -2
  354. package/dist/components/z-button-sort.js +3 -3
  355. package/dist/components/z-button-sort.js.map +1 -1
  356. package/dist/components/z-combobox.js +2 -2
  357. package/dist/components/z-combobox.js.map +1 -1
  358. package/dist/components/z-cover-hero.js +2 -2
  359. package/dist/components/z-file.js +3 -3
  360. package/dist/components/z-file.js.map +1 -1
  361. package/dist/components/z-info-box.js +1 -1
  362. package/dist/components/z-info-reveal.js +1 -1
  363. package/dist/components/z-logo.js +1 -1
  364. package/dist/components/z-menu-section.js +151 -115
  365. package/dist/components/z-menu-section.js.map +1 -1
  366. package/dist/components/z-menu.js +218 -166
  367. package/dist/components/z-menu.js.map +1 -1
  368. package/dist/components/z-myz-card-alert.js +1 -1
  369. package/dist/components/z-myz-card-dictionary.js +1 -1
  370. package/dist/components/z-myz-card-footer-sections.js +1 -1
  371. package/dist/components/z-myz-card-footer.js +1 -1
  372. package/dist/components/z-myz-card-icon.js +1 -1
  373. package/dist/components/z-myz-card-info.js +1 -1
  374. package/dist/components/z-myz-card-list.js +1 -1
  375. package/dist/components/z-myz-list.js +1 -1
  376. package/dist/components/z-navigation-tabs.js +2 -2
  377. package/dist/components/z-notification.js +1 -1
  378. package/dist/components/z-otp.js +2 -2
  379. package/dist/components/z-panel-elem.js +2 -2
  380. package/dist/components/z-section-title.js +1 -1
  381. package/dist/components/z-select.js +2 -2
  382. package/dist/components/z-skip-to-content.js +2 -2
  383. package/dist/components/z-slideshow.js +1 -1
  384. package/dist/components/z-stepper-item.js +1 -1
  385. package/dist/components/z-stepper.js +1 -1
  386. package/dist/components/z-table.js +3 -2
  387. package/dist/components/z-table.js.map +1 -1
  388. package/dist/components/z-tbody.js +1 -1
  389. package/dist/components/z-td.js +2 -2
  390. package/dist/components/z-td.js.map +1 -1
  391. package/dist/components/z-tfoot.js +1 -1
  392. package/dist/components/z-th.js +6 -17
  393. package/dist/components/z-th.js.map +1 -1
  394. package/dist/components/z-thead.js +1 -1
  395. package/dist/components/z-toast-notification-list.js +1 -1
  396. package/dist/components/z-toast-notification.js +3 -3
  397. package/dist/components/z-toast-notification.js.map +1 -1
  398. package/dist/components/z-toggle-button.js +2 -2
  399. package/dist/components/z-toggle-switch.js +3 -3
  400. package/dist/components/z-tooltip.js +1 -1
  401. package/dist/components/z-tr.js +2 -2
  402. package/dist/components/z-tr.js.map +1 -1
  403. package/dist/components/z-visually-hidden.js +1 -1
  404. package/dist/esm/breakpoints-d148bfde.js +11 -0
  405. package/dist/esm/breakpoints-d148bfde.js.map +1 -0
  406. package/dist/esm/index-36f0f6c0.js +18 -0
  407. package/dist/esm/{index-c3b467d4.js.map → index-36f0f6c0.js.map} +1 -1
  408. package/dist/esm/index-66bd56db.js +57 -0
  409. package/dist/esm/index-66bd56db.js.map +1 -0
  410. package/dist/esm/index-89520805.js +63 -0
  411. package/dist/esm/index-89520805.js.map +1 -0
  412. package/dist/esm/{index-a2130b6a.js → index-c8ceadeb.js} +2167 -2127
  413. package/dist/esm/index-c8ceadeb.js.map +1 -0
  414. package/dist/esm/index-cddfba10.js +45 -0
  415. package/dist/esm/index-cddfba10.js.map +1 -0
  416. package/dist/esm/{index-ea8cd874.js → index-dfddeb25.js} +3 -3
  417. package/dist/esm/{index-ea8cd874.js.map → index-dfddeb25.js.map} +1 -1
  418. package/dist/esm/{index-46831abe.js → index-e70be23f.js} +3 -3
  419. package/dist/esm/{index-46831abe.js.map → index-e70be23f.js.map} +1 -1
  420. package/dist/esm/index.js +2 -2
  421. package/dist/esm/loader.js +3 -3
  422. package/dist/esm/{utils-8ade9e2d.js → utils-acc8bdd0.js} +19 -6
  423. package/dist/esm/utils-acc8bdd0.js.map +1 -0
  424. package/dist/esm/web-components-library.js +4 -4
  425. package/dist/esm/web-components-library.js.map +1 -1
  426. package/dist/esm/z-accordion.entry.js +2 -2
  427. package/dist/esm/z-alert.entry.js +2 -2
  428. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  429. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  430. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -1
  431. package/dist/esm/z-app-header_12.entry.js +160 -212
  432. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  433. package/dist/esm/z-aria-alert.entry.js +2 -2
  434. package/dist/esm/z-avatar.entry.js +3 -3
  435. package/dist/esm/z-book-card.entry.js +5 -5
  436. package/dist/esm/z-book-card.entry.js.map +1 -1
  437. package/dist/esm/z-breadcrumb.entry.js +5 -5
  438. package/dist/esm/z-button-sort.entry.js +4 -4
  439. package/dist/esm/z-button-sort.entry.js.map +1 -1
  440. package/dist/esm/z-card.entry.js +1 -1
  441. package/dist/esm/z-carousel.entry.js +1 -1
  442. package/dist/esm/z-chip.entry.js +3 -3
  443. package/dist/esm/z-combobox.entry.js +5 -5
  444. package/dist/esm/z-combobox.entry.js.map +1 -1
  445. package/dist/esm/z-cover-hero.entry.js +3 -3
  446. package/dist/esm/z-date-picker.entry.js +1 -1
  447. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  448. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  449. package/dist/esm/z-file-upload.entry.js +3 -3
  450. package/dist/esm/z-file.entry.js +4 -4
  451. package/dist/esm/z-file.entry.js.map +1 -1
  452. package/dist/esm/z-ghost-loading.entry.js +2 -2
  453. package/dist/esm/z-info-box.entry.js +2 -2
  454. package/dist/esm/z-info-reveal.entry.js +2 -2
  455. package/dist/esm/z-logo.entry.js +2 -2
  456. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  457. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  458. package/dist/esm/z-menu-section.entry.js +140 -111
  459. package/dist/esm/z-menu-section.entry.js.map +1 -1
  460. package/dist/esm/z-menu.entry.js +210 -162
  461. package/dist/esm/z-menu.entry.js.map +1 -1
  462. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  463. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  464. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  465. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  466. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  467. package/dist/esm/z-myz-card-info.entry.js +4 -4
  468. package/dist/esm/z-myz-card-list.entry.js +2 -2
  469. package/dist/esm/z-myz-card_4.entry.js +5 -5
  470. package/dist/esm/z-myz-list-item.entry.js +4 -4
  471. package/dist/esm/z-myz-list.entry.js +2 -2
  472. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  473. package/dist/esm/z-notification.entry.js +2 -2
  474. package/dist/esm/z-otp.entry.js +3 -3
  475. package/dist/esm/z-pagination.entry.js +1 -1
  476. package/dist/esm/z-panel-elem.entry.js +3 -3
  477. package/dist/esm/z-popover.entry.js +2 -2
  478. package/dist/esm/z-range-picker.entry.js +1 -1
  479. package/dist/esm/z-section-title.entry.js +2 -2
  480. package/dist/esm/z-select.entry.js +4 -4
  481. package/dist/esm/z-skip-to-content.entry.js +4 -4
  482. package/dist/esm/z-slideshow.entry.js +3 -3
  483. package/dist/esm/z-stepper-item.entry.js +2 -2
  484. package/dist/esm/z-stepper.entry.js +2 -2
  485. package/dist/esm/z-table.entry.js +11 -11
  486. package/dist/esm/z-table.entry.js.map +1 -1
  487. package/dist/esm/z-tbody.entry.js +2 -2
  488. package/dist/esm/z-td.entry.js +2 -2
  489. package/dist/esm/z-tfoot.entry.js +2 -2
  490. package/dist/esm/z-th.entry.js +2 -2
  491. package/dist/esm/z-thead.entry.js +2 -2
  492. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  493. package/dist/esm/z-toast-notification.entry.js +4 -4
  494. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  495. package/dist/esm/z-toggle-button.entry.js +3 -3
  496. package/dist/esm/z-toggle-switch.entry.js +6 -6
  497. package/dist/esm/z-tooltip.entry.js +2 -2
  498. package/dist/esm/z-tr.entry.js +6 -6
  499. package/dist/esm/z-visually-hidden.entry.js +2 -2
  500. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +3 -3
  501. package/dist/types/components/list/z-list-group/index.stories.d.ts +1 -1
  502. package/dist/types/components/table/cells/z-th/index.d.ts +0 -7
  503. package/dist/types/components/z-app-header/index.d.ts +23 -30
  504. package/dist/types/components/z-app-header/index.stories.d.ts +2 -5
  505. package/dist/types/components/z-book-card/index.stories.d.ts +2 -2
  506. package/dist/types/components/z-carousel/index.stories.d.ts +1 -1
  507. package/dist/types/components/z-cover-hero/index.stories.d.ts +1 -1
  508. package/dist/types/components/z-menu/index.d.ts +34 -26
  509. package/dist/types/components/z-menu/index.stories.d.ts +1 -2
  510. package/dist/types/components/z-menu-section/index.d.ts +28 -18
  511. package/dist/types/components/z-modal/index.stories.d.ts +1 -1
  512. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +2 -2
  513. package/dist/types/components/z-popover/index.stories.d.ts +2 -2
  514. package/dist/types/components/z-section-title/index.stories.d.ts +1 -1
  515. package/dist/types/components/z-tag/index.stories.d.ts +2 -2
  516. package/dist/types/components/z-tooltip/index.stories.d.ts +1 -1
  517. package/dist/types/components.d.ts +48 -16
  518. package/dist/types/constants/breakpoints.d.ts +6 -4
  519. package/dist/types/constants/iconset.d.ts +26 -2
  520. package/dist/types/stencil-public-runtime.d.ts +0 -2
  521. package/dist/types/utils/utils.d.ts +10 -1
  522. package/dist/web-components-library/index.esm.js +1 -1
  523. package/dist/web-components-library/p-04c39e8a.entry.js +2 -0
  524. package/dist/web-components-library/p-04c39e8a.entry.js.map +1 -0
  525. package/dist/web-components-library/p-0542a3c9.entry.js +2 -0
  526. package/dist/web-components-library/p-0542a3c9.entry.js.map +1 -0
  527. package/dist/web-components-library/{p-d5711578.entry.js → p-06d98334.entry.js} +2 -2
  528. package/dist/web-components-library/{p-0e33badd.entry.js → p-100c6243.entry.js} +2 -2
  529. package/dist/web-components-library/p-16d625b3.entry.js +2 -0
  530. package/dist/web-components-library/p-16d625b3.entry.js.map +1 -0
  531. package/dist/web-components-library/{p-28928bb6.entry.js → p-1896cc54.entry.js} +2 -2
  532. package/{www/build/p-19f8c3d2.entry.js → dist/web-components-library/p-1cc37aa7.entry.js} +2 -2
  533. package/dist/web-components-library/{p-c0bdbfb5.entry.js → p-273f3c53.entry.js} +2 -2
  534. package/dist/web-components-library/p-28018cd3.entry.js +2 -0
  535. package/dist/web-components-library/p-28018cd3.entry.js.map +1 -0
  536. package/{www/build/p-12d62027.entry.js → dist/web-components-library/p-296924ea.entry.js} +2 -2
  537. package/dist/web-components-library/p-2b1fd95a.entry.js +2 -0
  538. package/{www/build/p-99b791d1.entry.js → dist/web-components-library/p-2e432a39.entry.js} +2 -2
  539. package/dist/web-components-library/{p-7cbc5b10.entry.js → p-2f662fea.entry.js} +2 -2
  540. package/dist/web-components-library/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
  541. package/dist/web-components-library/p-3ae8fb1a.entry.js +2 -0
  542. package/dist/web-components-library/p-3dbad75e.js +2 -0
  543. package/dist/web-components-library/{p-c0abf852.entry.js → p-4537f922.entry.js} +2 -2
  544. package/dist/web-components-library/{p-341bfe32.entry.js → p-45dc157c.entry.js} +2 -2
  545. package/dist/web-components-library/{p-644391ae.entry.js → p-46d98609.entry.js} +2 -2
  546. package/dist/web-components-library/p-4a2e0034.js +2 -0
  547. package/dist/web-components-library/p-4a2e0034.js.map +1 -0
  548. package/dist/web-components-library/p-4f3f8578.entry.js +2 -0
  549. package/dist/web-components-library/p-5145a606.js +2 -0
  550. package/dist/web-components-library/p-5145a606.js.map +1 -0
  551. package/{www/build/p-9171a9f9.entry.js → dist/web-components-library/p-51f1c9c0.entry.js} +2 -2
  552. package/dist/web-components-library/{p-3b984ffd.entry.js → p-5a0f0978.entry.js} +2 -2
  553. package/dist/web-components-library/{p-dde69ccc.entry.js → p-5a178c69.entry.js} +3 -3
  554. package/dist/web-components-library/p-5a178c69.entry.js.map +1 -0
  555. package/{www/build/p-cf2640b0.entry.js → dist/web-components-library/p-608c35ba.entry.js} +2 -2
  556. package/dist/web-components-library/{p-cf2640b0.entry.js.map → p-608c35ba.entry.js.map} +1 -1
  557. package/dist/web-components-library/p-60f410df.js +2 -0
  558. package/dist/web-components-library/p-60f410df.js.map +1 -0
  559. package/dist/web-components-library/p-63ec7bad.entry.js +2 -0
  560. package/dist/web-components-library/p-64364cbf.entry.js +2 -0
  561. package/dist/web-components-library/p-64364cbf.entry.js.map +1 -0
  562. package/dist/web-components-library/p-64aab82f.js +2 -0
  563. package/dist/web-components-library/p-67e5e8ed.js +2 -0
  564. package/dist/web-components-library/p-67e5e8ed.js.map +1 -0
  565. package/dist/web-components-library/p-68f4fbc8.entry.js +2 -0
  566. package/{www/build/p-29734dab.entry.js.map → dist/web-components-library/p-68f4fbc8.entry.js.map} +1 -1
  567. package/dist/web-components-library/{p-0b8d5c1f.entry.js → p-6a1b3e86.entry.js} +2 -2
  568. package/dist/web-components-library/{p-c8dc6642.entry.js → p-6db2fd46.entry.js} +2 -2
  569. package/{www/build/p-5555f634.entry.js → dist/web-components-library/p-707e5f91.entry.js} +2 -2
  570. package/dist/web-components-library/p-75c4a726.js +3 -0
  571. package/dist/web-components-library/p-75c4a726.js.map +1 -0
  572. package/{www/build/p-6f428879.entry.js → dist/web-components-library/p-777ad335.entry.js} +2 -2
  573. package/dist/web-components-library/p-777ad335.entry.js.map +1 -0
  574. package/dist/web-components-library/{p-b66ddcd3.entry.js → p-7aba5af3.entry.js} +2 -2
  575. package/dist/web-components-library/p-7d5bf905.entry.js +2 -0
  576. package/dist/web-components-library/{p-a8dfd58d.entry.js → p-820b48f6.entry.js} +2 -2
  577. package/dist/web-components-library/p-823c45d4.entry.js +2 -0
  578. package/{www/build/p-25e5d451.entry.js → dist/web-components-library/p-855334f4.entry.js} +2 -2
  579. package/dist/web-components-library/p-8a6a4d22.js +2 -0
  580. package/dist/web-components-library/p-8a6a4d22.js.map +1 -0
  581. package/{www/build/p-5b7c0e47.entry.js → dist/web-components-library/p-8d56e74b.entry.js} +2 -2
  582. package/dist/web-components-library/p-8d56e74b.entry.js.map +1 -0
  583. package/dist/web-components-library/p-95cb8701.js +2 -0
  584. package/{www/build/p-b9fd414f.js.map → dist/web-components-library/p-95cb8701.js.map} +1 -1
  585. package/dist/web-components-library/p-9a1b51ed.entry.js +2 -0
  586. package/dist/web-components-library/{p-11568bf1.entry.js.map → p-9a1b51ed.entry.js.map} +1 -1
  587. package/dist/web-components-library/{p-09220299.entry.js → p-9b9a04ad.entry.js} +2 -2
  588. package/dist/web-components-library/{p-5dd023cd.entry.js → p-a0fd1323.entry.js} +2 -2
  589. package/dist/web-components-library/p-a64a1bf0.entry.js +2 -0
  590. package/dist/web-components-library/p-a64a1bf0.entry.js.map +1 -0
  591. package/dist/web-components-library/p-aaae6b16.entry.js +2 -0
  592. package/dist/web-components-library/{p-35215608.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
  593. package/dist/web-components-library/{p-3103ddeb.entry.js → p-ab7f129e.entry.js} +2 -2
  594. package/dist/web-components-library/{p-088a31dc.entry.js → p-acd911aa.entry.js} +2 -2
  595. package/{www/build/p-1d303951.entry.js → dist/web-components-library/p-ad97fdc4.entry.js} +2 -2
  596. package/dist/web-components-library/{p-59102d22.entry.js → p-b2356bc7.entry.js} +2 -2
  597. package/dist/web-components-library/p-c1e498ac.entry.js +2 -0
  598. package/dist/web-components-library/{p-cf2bd064.entry.js → p-c54d0925.entry.js} +2 -2
  599. package/dist/web-components-library/p-c679277c.entry.js +2 -0
  600. package/dist/web-components-library/{p-f7dd9392.entry.js.map → p-c679277c.entry.js.map} +1 -1
  601. package/dist/web-components-library/p-cc71a90c.entry.js +2 -0
  602. package/{www/build/p-fb3776ca.entry.js → dist/web-components-library/p-cd0219b4.entry.js} +2 -2
  603. package/dist/web-components-library/{p-83629cec.entry.js → p-d5f5e107.entry.js} +2 -2
  604. package/dist/web-components-library/p-d5f5e107.entry.js.map +1 -0
  605. package/dist/web-components-library/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
  606. package/{www/build/p-b3bcce4b.entry.js → dist/web-components-library/p-df8c381a.entry.js} +2 -2
  607. package/dist/web-components-library/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
  608. package/{www/build/p-d123144c.entry.js → dist/web-components-library/p-e25d7f0a.entry.js} +2 -2
  609. package/{www/build/p-a878ce38.entry.js → dist/web-components-library/p-e4d97fbf.entry.js} +2 -2
  610. package/dist/web-components-library/{p-9d7f38ed.entry.js → p-e529a714.entry.js} +2 -2
  611. package/dist/web-components-library/{p-db55ed80.entry.js → p-ea9c0ff3.entry.js} +2 -2
  612. package/dist/web-components-library/{p-409ebe4c.entry.js → p-f06ad42c.entry.js} +2 -2
  613. package/{www/build/p-eb7d08d1.entry.js → dist/web-components-library/p-f15d0a00.entry.js} +2 -2
  614. package/dist/web-components-library/{p-a7944554.entry.js → p-f425c6f2.entry.js} +2 -2
  615. package/dist/web-components-library/p-f703660d.entry.js +2 -0
  616. package/dist/web-components-library/{p-78a0b45c.entry.js → p-f8bbca6e.entry.js} +2 -2
  617. package/dist/web-components-library/web-components-library.css +3 -1
  618. package/dist/web-components-library/web-components-library.esm.js +1 -1
  619. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  620. package/loader/index.d.ts +3 -0
  621. package/package.json +16 -18
  622. package/www/build/index.esm.js +1 -1
  623. package/www/build/p-04c39e8a.entry.js +2 -0
  624. package/www/build/p-04c39e8a.entry.js.map +1 -0
  625. package/www/build/p-0542a3c9.entry.js +2 -0
  626. package/www/build/p-0542a3c9.entry.js.map +1 -0
  627. package/www/build/{p-d5711578.entry.js → p-06d98334.entry.js} +2 -2
  628. package/www/build/{p-0e33badd.entry.js → p-100c6243.entry.js} +2 -2
  629. package/www/build/p-16d625b3.entry.js +2 -0
  630. package/www/build/p-16d625b3.entry.js.map +1 -0
  631. package/www/build/{p-28928bb6.entry.js → p-1896cc54.entry.js} +2 -2
  632. package/{dist/web-components-library/p-19f8c3d2.entry.js → www/build/p-1cc37aa7.entry.js} +2 -2
  633. package/www/build/{p-c0bdbfb5.entry.js → p-273f3c53.entry.js} +2 -2
  634. package/www/build/p-28018cd3.entry.js +2 -0
  635. package/www/build/p-28018cd3.entry.js.map +1 -0
  636. package/{dist/web-components-library/p-12d62027.entry.js → www/build/p-296924ea.entry.js} +2 -2
  637. package/www/build/p-2b1fd95a.entry.js +2 -0
  638. package/{dist/web-components-library/p-99b791d1.entry.js → www/build/p-2e432a39.entry.js} +2 -2
  639. package/www/build/{p-7cbc5b10.entry.js → p-2f662fea.entry.js} +2 -2
  640. package/www/build/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
  641. package/www/build/p-3ae8fb1a.entry.js +2 -0
  642. package/www/build/p-3dbad75e.js +2 -0
  643. package/www/build/{p-c0abf852.entry.js → p-4537f922.entry.js} +2 -2
  644. package/www/build/{p-341bfe32.entry.js → p-45dc157c.entry.js} +2 -2
  645. package/www/build/{p-644391ae.entry.js → p-46d98609.entry.js} +2 -2
  646. package/www/build/p-4a2e0034.js +2 -0
  647. package/www/build/p-4a2e0034.js.map +1 -0
  648. package/www/build/p-4f3f8578.entry.js +2 -0
  649. package/www/build/p-5145a606.js +2 -0
  650. package/www/build/p-5145a606.js.map +1 -0
  651. package/{dist/web-components-library/p-9171a9f9.entry.js → www/build/p-51f1c9c0.entry.js} +2 -2
  652. package/www/build/{p-3b984ffd.entry.js → p-5a0f0978.entry.js} +2 -2
  653. package/www/build/{p-dde69ccc.entry.js → p-5a178c69.entry.js} +3 -3
  654. package/www/build/p-5a178c69.entry.js.map +1 -0
  655. package/{dist/web-components-library/p-cf2640b0.entry.js → www/build/p-608c35ba.entry.js} +2 -2
  656. package/www/build/{p-cf2640b0.entry.js.map → p-608c35ba.entry.js.map} +1 -1
  657. package/www/build/p-60f410df.js +2 -0
  658. package/www/build/p-60f410df.js.map +1 -0
  659. package/www/build/p-63ec7bad.entry.js +2 -0
  660. package/www/build/p-64364cbf.entry.js +2 -0
  661. package/www/build/p-64364cbf.entry.js.map +1 -0
  662. package/www/build/p-64aab82f.js +2 -0
  663. package/www/build/p-67e5e8ed.js +2 -0
  664. package/www/build/p-67e5e8ed.js.map +1 -0
  665. package/www/build/p-68f4fbc8.entry.js +2 -0
  666. package/{dist/web-components-library/p-29734dab.entry.js.map → www/build/p-68f4fbc8.entry.js.map} +1 -1
  667. package/www/build/{p-0b8d5c1f.entry.js → p-6a1b3e86.entry.js} +2 -2
  668. package/www/build/{p-c8dc6642.entry.js → p-6db2fd46.entry.js} +2 -2
  669. package/{dist/web-components-library/p-5555f634.entry.js → www/build/p-707e5f91.entry.js} +2 -2
  670. package/www/build/p-75c4a726.js +3 -0
  671. package/www/build/p-75c4a726.js.map +1 -0
  672. package/{dist/web-components-library/p-6f428879.entry.js → www/build/p-777ad335.entry.js} +2 -2
  673. package/www/build/p-777ad335.entry.js.map +1 -0
  674. package/www/build/{p-b66ddcd3.entry.js → p-7aba5af3.entry.js} +2 -2
  675. package/www/build/p-7d5bf905.entry.js +2 -0
  676. package/www/build/{p-a8dfd58d.entry.js → p-820b48f6.entry.js} +2 -2
  677. package/www/build/p-823c45d4.entry.js +2 -0
  678. package/{dist/web-components-library/p-25e5d451.entry.js → www/build/p-855334f4.entry.js} +2 -2
  679. package/www/build/p-8a6a4d22.js +2 -0
  680. package/www/build/p-8a6a4d22.js.map +1 -0
  681. package/{dist/web-components-library/p-5b7c0e47.entry.js → www/build/p-8d56e74b.entry.js} +2 -2
  682. package/www/build/p-8d56e74b.entry.js.map +1 -0
  683. package/www/build/p-95cb8701.js +2 -0
  684. package/{dist/web-components-library/p-b9fd414f.js.map → www/build/p-95cb8701.js.map} +1 -1
  685. package/www/build/p-9a1b51ed.entry.js +2 -0
  686. package/www/build/{p-11568bf1.entry.js.map → p-9a1b51ed.entry.js.map} +1 -1
  687. package/www/build/{p-09220299.entry.js → p-9b9a04ad.entry.js} +2 -2
  688. package/www/build/{p-5dd023cd.entry.js → p-a0fd1323.entry.js} +2 -2
  689. package/www/build/p-a64a1bf0.entry.js +2 -0
  690. package/www/build/p-a64a1bf0.entry.js.map +1 -0
  691. package/www/build/p-aaae6b16.entry.js +2 -0
  692. package/www/build/{p-35215608.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
  693. package/www/build/{p-3103ddeb.entry.js → p-ab7f129e.entry.js} +2 -2
  694. package/www/build/{p-088a31dc.entry.js → p-acd911aa.entry.js} +2 -2
  695. package/{dist/web-components-library/p-1d303951.entry.js → www/build/p-ad97fdc4.entry.js} +2 -2
  696. package/www/build/{p-0cd14493.css → p-ae0a33a2.css} +3 -1
  697. package/www/build/p-ae5cec65.js +2 -0
  698. package/www/build/{p-59102d22.entry.js → p-b2356bc7.entry.js} +2 -2
  699. package/www/build/p-c1e498ac.entry.js +2 -0
  700. package/www/build/{p-cf2bd064.entry.js → p-c54d0925.entry.js} +2 -2
  701. package/www/build/p-c679277c.entry.js +2 -0
  702. package/www/build/{p-f7dd9392.entry.js.map → p-c679277c.entry.js.map} +1 -1
  703. package/www/build/p-cc71a90c.entry.js +2 -0
  704. package/{dist/web-components-library/p-fb3776ca.entry.js → www/build/p-cd0219b4.entry.js} +2 -2
  705. package/www/build/{p-83629cec.entry.js → p-d5f5e107.entry.js} +2 -2
  706. package/www/build/p-d5f5e107.entry.js.map +1 -0
  707. package/www/build/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
  708. package/{dist/web-components-library/p-b3bcce4b.entry.js → www/build/p-df8c381a.entry.js} +2 -2
  709. package/www/build/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
  710. package/{dist/web-components-library/p-d123144c.entry.js → www/build/p-e25d7f0a.entry.js} +2 -2
  711. package/{dist/web-components-library/p-a878ce38.entry.js → www/build/p-e4d97fbf.entry.js} +2 -2
  712. package/www/build/{p-9d7f38ed.entry.js → p-e529a714.entry.js} +2 -2
  713. package/www/build/{p-db55ed80.entry.js → p-ea9c0ff3.entry.js} +2 -2
  714. package/www/build/{p-409ebe4c.entry.js → p-f06ad42c.entry.js} +2 -2
  715. package/{dist/web-components-library/p-eb7d08d1.entry.js → www/build/p-f15d0a00.entry.js} +2 -2
  716. package/www/build/{p-a7944554.entry.js → p-f425c6f2.entry.js} +2 -2
  717. package/www/build/p-f703660d.entry.js +2 -0
  718. package/www/build/{p-78a0b45c.entry.js → p-f8bbca6e.entry.js} +2 -2
  719. package/www/build/web-components-library.css +3 -1
  720. package/www/build/web-components-library.esm.js +1 -1
  721. package/www/build/web-components-library.esm.js.map +1 -1
  722. package/www/index.html +3 -1
  723. package/dist/.storybook/elements/args-controls.js +0 -78
  724. package/dist/.storybook/elements/args-controls.js.map +0 -1
  725. package/dist/.storybook/elements/docs-template.js +0 -11
  726. package/dist/.storybook/elements/docs-template.js.map +0 -1
  727. package/dist/cjs/breakpoints-5c22092a.js +0 -11
  728. package/dist/cjs/breakpoints-5c22092a.js.map +0 -1
  729. package/dist/cjs/index-6994b9af.js +0 -75
  730. package/dist/cjs/index-6994b9af.js.map +0 -1
  731. package/dist/cjs/index-b695a167.js +0 -47
  732. package/dist/cjs/index-b695a167.js.map +0 -1
  733. package/dist/cjs/index-c234bc14.js +0 -59
  734. package/dist/cjs/index-c234bc14.js.map +0 -1
  735. package/dist/cjs/index-e801ae96.js.map +0 -1
  736. package/dist/cjs/utils-6bd8c55e.js.map +0 -1
  737. package/dist/collection/assets/orientamento.svg +0 -14
  738. package/dist/collection/components/date-picker/z-date-picker/index.spec.js +0 -38
  739. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +0 -1
  740. package/dist/collection/components/date-picker/z-range-picker/index.spec.js +0 -25
  741. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +0 -1
  742. package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js +0 -203
  743. package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js.map +0 -1
  744. package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js +0 -120
  745. package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js.map +0 -1
  746. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js +0 -50
  747. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js.map +0 -1
  748. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js +0 -55
  749. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +0 -1
  750. package/dist/collection/components/file-upload/z-file/index.spec.js +0 -20
  751. package/dist/collection/components/file-upload/z-file/index.spec.js.map +0 -1
  752. package/dist/collection/components/file-upload/z-file-upload/index.spec.js +0 -135
  753. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +0 -1
  754. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js +0 -69
  755. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +0 -1
  756. package/dist/collection/components/list/z-list/index.spec.js +0 -33
  757. package/dist/collection/components/list/z-list/index.spec.js.map +0 -1
  758. package/dist/collection/components/list/z-list-element/index.spec.js +0 -135
  759. package/dist/collection/components/list/z-list-element/index.spec.js.map +0 -1
  760. package/dist/collection/components/list/z-list-group/index.spec.js +0 -39
  761. package/dist/collection/components/list/z-list-group/index.spec.js.map +0 -1
  762. package/dist/collection/components/z-app-header/index.spec.js +0 -617
  763. package/dist/collection/components/z-app-header/index.spec.js.map +0 -1
  764. package/dist/collection/components/z-aria-alert/index.spec.js +0 -14
  765. package/dist/collection/components/z-aria-alert/index.spec.js.map +0 -1
  766. package/dist/collection/components/z-avatar/index.spec.js +0 -98
  767. package/dist/collection/components/z-avatar/index.spec.js.map +0 -1
  768. package/dist/collection/components/z-book-card/index.spec.js +0 -679
  769. package/dist/collection/components/z-book-card/index.spec.js.map +0 -1
  770. package/dist/collection/components/z-breadcrumb/index.spec.js +0 -39
  771. package/dist/collection/components/z-breadcrumb/index.spec.js.map +0 -1
  772. package/dist/collection/components/z-button/index.spec.js +0 -101
  773. package/dist/collection/components/z-button/index.spec.js.map +0 -1
  774. package/dist/collection/components/z-button-sort/index.spec.js +0 -139
  775. package/dist/collection/components/z-button-sort/index.spec.js.map +0 -1
  776. package/dist/collection/components/z-button-sort/test.e2e.js +0 -29
  777. package/dist/collection/components/z-button-sort/test.e2e.js.map +0 -1
  778. package/dist/collection/components/z-card/index.spec.js +0 -179
  779. package/dist/collection/components/z-card/index.spec.js.map +0 -1
  780. package/dist/collection/components/z-chip/index.spec.js +0 -108
  781. package/dist/collection/components/z-chip/index.spec.js.map +0 -1
  782. package/dist/collection/components/z-chip/test.e2e.js +0 -32
  783. package/dist/collection/components/z-chip/test.e2e.js.map +0 -1
  784. package/dist/collection/components/z-combobox/index.spec.js +0 -475
  785. package/dist/collection/components/z-combobox/index.spec.js.map +0 -1
  786. package/dist/collection/components/z-combobox/test.e2e.js +0 -45
  787. package/dist/collection/components/z-combobox/test.e2e.js.map +0 -1
  788. package/dist/collection/components/z-divider/index.spec.js +0 -82
  789. package/dist/collection/components/z-divider/index.spec.js.map +0 -1
  790. package/dist/collection/components/z-ghost-loading/index.spec.js +0 -16
  791. package/dist/collection/components/z-ghost-loading/index.spec.js.map +0 -1
  792. package/dist/collection/components/z-icon/index.spec.js +0 -96
  793. package/dist/collection/components/z-icon/index.spec.js.map +0 -1
  794. package/dist/collection/components/z-info-box/index.spec.js +0 -71
  795. package/dist/collection/components/z-info-box/index.spec.js.map +0 -1
  796. package/dist/collection/components/z-input/test-checkbox.spec.js +0 -114
  797. package/dist/collection/components/z-input/test-checkbox.spec.js.map +0 -1
  798. package/dist/collection/components/z-input/test-methods.spec.js +0 -13
  799. package/dist/collection/components/z-input/test-methods.spec.js.map +0 -1
  800. package/dist/collection/components/z-input/test-radio.spec.js +0 -114
  801. package/dist/collection/components/z-input/test-radio.spec.js.map +0 -1
  802. package/dist/collection/components/z-input/test-text.spec.js +0 -347
  803. package/dist/collection/components/z-input/test-text.spec.js.map +0 -1
  804. package/dist/collection/components/z-input/test-textarea.spec.js +0 -54
  805. package/dist/collection/components/z-input/test-textarea.spec.js.map +0 -1
  806. package/dist/collection/components/z-input/test.e2e.js +0 -180
  807. package/dist/collection/components/z-input/test.e2e.js.map +0 -1
  808. package/dist/collection/components/z-input-message/index.spec.js +0 -45
  809. package/dist/collection/components/z-input-message/index.spec.js.map +0 -1
  810. package/dist/collection/components/z-logo/index.spec.js +0 -74
  811. package/dist/collection/components/z-logo/index.spec.js.map +0 -1
  812. package/dist/collection/components/z-menu/index.spec.js +0 -136
  813. package/dist/collection/components/z-menu/index.spec.js.map +0 -1
  814. package/dist/collection/components/z-menu-section/index.spec.js +0 -50
  815. package/dist/collection/components/z-menu-section/index.spec.js.map +0 -1
  816. package/dist/collection/components/z-modal/index.spec.js +0 -192
  817. package/dist/collection/components/z-modal/index.spec.js.map +0 -1
  818. package/dist/collection/components/z-modal/test.e2e.js +0 -81
  819. package/dist/collection/components/z-modal/test.e2e.js.map +0 -1
  820. package/dist/collection/components/z-notification/index.spec.js +0 -84
  821. package/dist/collection/components/z-notification/index.spec.js.map +0 -1
  822. package/dist/collection/components/z-notification/test.e2e.js +0 -25
  823. package/dist/collection/components/z-notification/test.e2e.js.map +0 -1
  824. package/dist/collection/components/z-offcanvas/index.spec.js +0 -42
  825. package/dist/collection/components/z-offcanvas/index.spec.js.map +0 -1
  826. package/dist/collection/components/z-pagination/index.spec.js +0 -36
  827. package/dist/collection/components/z-pagination/index.spec.js.map +0 -1
  828. package/dist/collection/components/z-panel-elem/index.spec.js +0 -284
  829. package/dist/collection/components/z-panel-elem/index.spec.js.map +0 -1
  830. package/dist/collection/components/z-searchbar/index.spec.js +0 -395
  831. package/dist/collection/components/z-searchbar/index.spec.js.map +0 -1
  832. package/dist/collection/components/z-searchbar/test.e2e.js +0 -90
  833. package/dist/collection/components/z-searchbar/test.e2e.js.map +0 -1
  834. package/dist/collection/components/z-section-title/index.spec.js +0 -27
  835. package/dist/collection/components/z-section-title/index.spec.js.map +0 -1
  836. package/dist/collection/components/z-select/index.spec.js +0 -698
  837. package/dist/collection/components/z-select/index.spec.js.map +0 -1
  838. package/dist/collection/components/z-select/test.e2e.js +0 -121
  839. package/dist/collection/components/z-select/test.e2e.js.map +0 -1
  840. package/dist/collection/components/z-skip-to-content/index.spec.js +0 -28
  841. package/dist/collection/components/z-skip-to-content/index.spec.js.map +0 -1
  842. package/dist/collection/components/z-stepper/index.spec.js +0 -38
  843. package/dist/collection/components/z-stepper/index.spec.js.map +0 -1
  844. package/dist/collection/components/z-stepper-item/index.spec.js +0 -105
  845. package/dist/collection/components/z-stepper-item/index.spec.js.map +0 -1
  846. package/dist/collection/components/z-tag/index.spec.js +0 -58
  847. package/dist/collection/components/z-tag/index.spec.js.map +0 -1
  848. package/dist/collection/components/z-toast-notification/index.spec.js +0 -104
  849. package/dist/collection/components/z-toast-notification/index.spec.js.map +0 -1
  850. package/dist/collection/components/z-toast-notification-list/index.spec.js +0 -57
  851. package/dist/collection/components/z-toast-notification-list/index.spec.js.map +0 -1
  852. package/dist/collection/components/z-toast-notification-list/test.e2e.js +0 -69
  853. package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +0 -1
  854. package/dist/collection/components/z-toggle-button/index.spec.js +0 -124
  855. package/dist/collection/components/z-toggle-button/index.spec.js.map +0 -1
  856. package/dist/collection/components/z-toggle-button/test.e2e.js +0 -12
  857. package/dist/collection/components/z-toggle-button/test.e2e.js.map +0 -1
  858. package/dist/collection/components/z-toggle-switch/index.spec.js +0 -149
  859. package/dist/collection/components/z-toggle-switch/index.spec.js.map +0 -1
  860. package/dist/collection/components/z-toggle-switch/test.e2e.js +0 -22
  861. package/dist/collection/components/z-toggle-switch/test.e2e.js.map +0 -1
  862. package/dist/collection/components/z-visually-hidden/index.spec.js +0 -18
  863. package/dist/collection/components/z-visually-hidden/index.spec.js.map +0 -1
  864. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js +0 -20
  865. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +0 -1
  866. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js +0 -128
  867. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +0 -1
  868. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js +0 -21
  869. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +0 -1
  870. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js +0 -33
  871. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +0 -1
  872. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js +0 -121
  873. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +0 -1
  874. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js +0 -199
  875. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +0 -1
  876. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js +0 -54
  877. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +0 -1
  878. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js +0 -22
  879. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +0 -1
  880. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js +0 -56
  881. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +0 -1
  882. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js +0 -136
  883. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +0 -1
  884. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js +0 -39
  885. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +0 -1
  886. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js +0 -140
  887. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +0 -1
  888. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js +0 -80
  889. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +0 -1
  890. package/dist/collection/snowflakes/myz/z-alert/index.spec.js +0 -20
  891. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +0 -1
  892. package/dist/collection/snowflakes/myz/z-otp/index.spec.js +0 -74
  893. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +0 -1
  894. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js +0 -23
  895. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +0 -1
  896. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js +0 -193
  897. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +0 -1
  898. package/dist/collection/utils/utils.spec.js +0 -16
  899. package/dist/collection/utils/utils.spec.js.map +0 -1
  900. package/dist/docs/grid/index.stories.js +0 -47
  901. package/dist/docs/grid/index.stories.js.map +0 -1
  902. package/dist/docs/iconset/index.stories.js +0 -32
  903. package/dist/docs/iconset/index.stories.js.map +0 -1
  904. package/dist/docs/themes/index.stories.js +0 -90
  905. package/dist/docs/themes/index.stories.js.map +0 -1
  906. package/dist/esm/breakpoints-680e0e56.js +0 -7
  907. package/dist/esm/breakpoints-680e0e56.js.map +0 -1
  908. package/dist/esm/index-34477eb0.js +0 -57
  909. package/dist/esm/index-34477eb0.js.map +0 -1
  910. package/dist/esm/index-6a12f127.js +0 -73
  911. package/dist/esm/index-6a12f127.js.map +0 -1
  912. package/dist/esm/index-a2130b6a.js.map +0 -1
  913. package/dist/esm/index-b8299b2f.js +0 -45
  914. package/dist/esm/index-b8299b2f.js.map +0 -1
  915. package/dist/esm/index-c3b467d4.js +0 -18
  916. package/dist/esm/utils-8ade9e2d.js.map +0 -1
  917. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +0 -13
  918. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +0 -5
  919. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
  920. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
  921. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -27
  922. package/dist/web-components-library/p-054484d4.entry.js +0 -2
  923. package/dist/web-components-library/p-054484d4.entry.js.map +0 -1
  924. package/dist/web-components-library/p-0b924d0a.entry.js +0 -2
  925. package/dist/web-components-library/p-11568bf1.entry.js +0 -2
  926. package/dist/web-components-library/p-29734dab.entry.js +0 -2
  927. package/dist/web-components-library/p-2c184714.js +0 -2
  928. package/dist/web-components-library/p-2c184714.js.map +0 -1
  929. package/dist/web-components-library/p-2c886e8b.js +0 -2
  930. package/dist/web-components-library/p-2c886e8b.js.map +0 -1
  931. package/dist/web-components-library/p-30209b8a.js +0 -2
  932. package/dist/web-components-library/p-30209b8a.js.map +0 -1
  933. package/dist/web-components-library/p-35215608.entry.js +0 -2
  934. package/dist/web-components-library/p-490e8d13.entry.js +0 -2
  935. package/dist/web-components-library/p-547f8749.entry.js +0 -2
  936. package/dist/web-components-library/p-5b7c0e47.entry.js.map +0 -1
  937. package/dist/web-components-library/p-62781e9d.entry.js +0 -2
  938. package/dist/web-components-library/p-62781e9d.entry.js.map +0 -1
  939. package/dist/web-components-library/p-6f428879.entry.js.map +0 -1
  940. package/dist/web-components-library/p-72dabb18.js +0 -2
  941. package/dist/web-components-library/p-7f71467d.js +0 -2
  942. package/dist/web-components-library/p-7f71467d.js.map +0 -1
  943. package/dist/web-components-library/p-83629cec.entry.js.map +0 -1
  944. package/dist/web-components-library/p-85703ddb.entry.js +0 -2
  945. package/dist/web-components-library/p-8ee4a205.entry.js +0 -2
  946. package/dist/web-components-library/p-8ee4a205.entry.js.map +0 -1
  947. package/dist/web-components-library/p-91b010a6.entry.js +0 -2
  948. package/dist/web-components-library/p-91b010a6.entry.js.map +0 -1
  949. package/dist/web-components-library/p-9683014a.entry.js +0 -2
  950. package/dist/web-components-library/p-a2eb8943.entry.js +0 -2
  951. package/dist/web-components-library/p-acc97c14.js +0 -2
  952. package/dist/web-components-library/p-acc97c14.js.map +0 -1
  953. package/dist/web-components-library/p-ae0696b9.entry.js +0 -2
  954. package/dist/web-components-library/p-ae0696b9.entry.js.map +0 -1
  955. package/dist/web-components-library/p-b815d28c.entry.js +0 -2
  956. package/dist/web-components-library/p-b815d28c.entry.js.map +0 -1
  957. package/dist/web-components-library/p-b9fd414f.js +0 -2
  958. package/dist/web-components-library/p-bfa544c7.js +0 -2
  959. package/dist/web-components-library/p-c2a380e3.entry.js +0 -2
  960. package/dist/web-components-library/p-cfa39bd3.js +0 -3
  961. package/dist/web-components-library/p-cfa39bd3.js.map +0 -1
  962. package/dist/web-components-library/p-d1a658f6.entry.js +0 -2
  963. package/dist/web-components-library/p-dde69ccc.entry.js.map +0 -1
  964. package/dist/web-components-library/p-f68628ca.entry.js +0 -2
  965. package/dist/web-components-library/p-f7dd9392.entry.js +0 -2
  966. package/www/assets/orientamento.svg +0 -14
  967. package/www/build/p-054484d4.entry.js +0 -2
  968. package/www/build/p-054484d4.entry.js.map +0 -1
  969. package/www/build/p-0b924d0a.entry.js +0 -2
  970. package/www/build/p-11568bf1.entry.js +0 -2
  971. package/www/build/p-29734dab.entry.js +0 -2
  972. package/www/build/p-2c184714.js +0 -2
  973. package/www/build/p-2c184714.js.map +0 -1
  974. package/www/build/p-2c886e8b.js +0 -2
  975. package/www/build/p-2c886e8b.js.map +0 -1
  976. package/www/build/p-30209b8a.js +0 -2
  977. package/www/build/p-30209b8a.js.map +0 -1
  978. package/www/build/p-35215608.entry.js +0 -2
  979. package/www/build/p-490e8d13.entry.js +0 -2
  980. package/www/build/p-547f8749.entry.js +0 -2
  981. package/www/build/p-5b7c0e47.entry.js.map +0 -1
  982. package/www/build/p-62781e9d.entry.js +0 -2
  983. package/www/build/p-62781e9d.entry.js.map +0 -1
  984. package/www/build/p-6f428879.entry.js.map +0 -1
  985. package/www/build/p-72dabb18.js +0 -2
  986. package/www/build/p-7f71467d.js +0 -2
  987. package/www/build/p-7f71467d.js.map +0 -1
  988. package/www/build/p-83629cec.entry.js.map +0 -1
  989. package/www/build/p-85703ddb.entry.js +0 -2
  990. package/www/build/p-8ee4a205.entry.js +0 -2
  991. package/www/build/p-8ee4a205.entry.js.map +0 -1
  992. package/www/build/p-91b010a6.entry.js +0 -2
  993. package/www/build/p-91b010a6.entry.js.map +0 -1
  994. package/www/build/p-9683014a.entry.js +0 -2
  995. package/www/build/p-a2eb8943.entry.js +0 -2
  996. package/www/build/p-acc97c14.js +0 -2
  997. package/www/build/p-acc97c14.js.map +0 -1
  998. package/www/build/p-ae0696b9.entry.js +0 -2
  999. package/www/build/p-ae0696b9.entry.js.map +0 -1
  1000. package/www/build/p-b815d28c.entry.js +0 -2
  1001. package/www/build/p-b815d28c.entry.js.map +0 -1
  1002. package/www/build/p-b9fd414f.js +0 -2
  1003. package/www/build/p-bfa544c7.js +0 -2
  1004. package/www/build/p-c2a380e3.entry.js +0 -2
  1005. package/www/build/p-cfa39bd3.js +0 -3
  1006. package/www/build/p-cfa39bd3.js.map +0 -1
  1007. package/www/build/p-d1a658f6.entry.js +0 -2
  1008. package/www/build/p-db1c4375.js +0 -2
  1009. package/www/build/p-dde69ccc.entry.js.map +0 -1
  1010. package/www/build/p-f68628ca.entry.js +0 -2
  1011. package/www/build/p-f7dd9392.entry.js +0 -2
  1012. /package/dist/web-components-library/{p-d5711578.entry.js.map → p-06d98334.entry.js.map} +0 -0
  1013. /package/dist/web-components-library/{p-0e33badd.entry.js.map → p-100c6243.entry.js.map} +0 -0
  1014. /package/dist/web-components-library/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
  1015. /package/dist/web-components-library/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
  1016. /package/dist/web-components-library/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
  1017. /package/dist/web-components-library/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
  1018. /package/dist/web-components-library/{p-0b924d0a.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
  1019. /package/dist/web-components-library/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
  1020. /package/dist/web-components-library/{p-7cbc5b10.entry.js.map → p-2f662fea.entry.js.map} +0 -0
  1021. /package/dist/web-components-library/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
  1022. /package/dist/web-components-library/{p-f68628ca.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
  1023. /package/dist/web-components-library/{p-72dabb18.js.map → p-3dbad75e.js.map} +0 -0
  1024. /package/dist/web-components-library/{p-c0abf852.entry.js.map → p-4537f922.entry.js.map} +0 -0
  1025. /package/dist/web-components-library/{p-341bfe32.entry.js.map → p-45dc157c.entry.js.map} +0 -0
  1026. /package/dist/web-components-library/{p-644391ae.entry.js.map → p-46d98609.entry.js.map} +0 -0
  1027. /package/dist/web-components-library/{p-490e8d13.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
  1028. /package/dist/web-components-library/{p-9171a9f9.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
  1029. /package/dist/web-components-library/{p-3b984ffd.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
  1030. /package/dist/web-components-library/{p-85703ddb.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
  1031. /package/dist/web-components-library/{p-bfa544c7.js.map → p-64aab82f.js.map} +0 -0
  1032. /package/dist/web-components-library/{p-0b8d5c1f.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
  1033. /package/dist/web-components-library/{p-c8dc6642.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
  1034. /package/dist/web-components-library/{p-5555f634.entry.js.map → p-707e5f91.entry.js.map} +0 -0
  1035. /package/dist/web-components-library/{p-b66ddcd3.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
  1036. /package/dist/web-components-library/{p-9683014a.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
  1037. /package/dist/web-components-library/{p-a8dfd58d.entry.js.map → p-820b48f6.entry.js.map} +0 -0
  1038. /package/dist/web-components-library/{p-c2a380e3.entry.js.map → p-823c45d4.entry.js.map} +0 -0
  1039. /package/dist/web-components-library/{p-25e5d451.entry.js.map → p-855334f4.entry.js.map} +0 -0
  1040. /package/dist/web-components-library/{p-09220299.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
  1041. /package/dist/web-components-library/{p-5dd023cd.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
  1042. /package/dist/web-components-library/{p-3103ddeb.entry.js.map → p-ab7f129e.entry.js.map} +0 -0
  1043. /package/dist/web-components-library/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
  1044. /package/dist/web-components-library/{p-1d303951.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
  1045. /package/dist/web-components-library/{p-59102d22.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
  1046. /package/dist/web-components-library/{p-547f8749.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
  1047. /package/dist/web-components-library/{p-cf2bd064.entry.js.map → p-c54d0925.entry.js.map} +0 -0
  1048. /package/dist/web-components-library/{p-a2eb8943.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
  1049. /package/dist/web-components-library/{p-fb3776ca.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
  1050. /package/dist/web-components-library/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
  1051. /package/dist/web-components-library/{p-b3bcce4b.entry.js.map → p-df8c381a.entry.js.map} +0 -0
  1052. /package/dist/web-components-library/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
  1053. /package/dist/web-components-library/{p-d123144c.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
  1054. /package/dist/web-components-library/{p-a878ce38.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
  1055. /package/dist/web-components-library/{p-9d7f38ed.entry.js.map → p-e529a714.entry.js.map} +0 -0
  1056. /package/dist/web-components-library/{p-db55ed80.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
  1057. /package/dist/web-components-library/{p-409ebe4c.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
  1058. /package/dist/web-components-library/{p-eb7d08d1.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
  1059. /package/dist/web-components-library/{p-a7944554.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
  1060. /package/dist/web-components-library/{p-d1a658f6.entry.js.map → p-f703660d.entry.js.map} +0 -0
  1061. /package/dist/web-components-library/{p-78a0b45c.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
  1062. /package/www/build/{p-d5711578.entry.js.map → p-06d98334.entry.js.map} +0 -0
  1063. /package/www/build/{p-0e33badd.entry.js.map → p-100c6243.entry.js.map} +0 -0
  1064. /package/www/build/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
  1065. /package/www/build/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
  1066. /package/www/build/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
  1067. /package/www/build/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
  1068. /package/www/build/{p-0b924d0a.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
  1069. /package/www/build/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
  1070. /package/www/build/{p-7cbc5b10.entry.js.map → p-2f662fea.entry.js.map} +0 -0
  1071. /package/www/build/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
  1072. /package/www/build/{p-f68628ca.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
  1073. /package/www/build/{p-72dabb18.js.map → p-3dbad75e.js.map} +0 -0
  1074. /package/www/build/{p-c0abf852.entry.js.map → p-4537f922.entry.js.map} +0 -0
  1075. /package/www/build/{p-341bfe32.entry.js.map → p-45dc157c.entry.js.map} +0 -0
  1076. /package/www/build/{p-644391ae.entry.js.map → p-46d98609.entry.js.map} +0 -0
  1077. /package/www/build/{p-490e8d13.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
  1078. /package/www/build/{p-9171a9f9.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
  1079. /package/www/build/{p-3b984ffd.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
  1080. /package/www/build/{p-85703ddb.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
  1081. /package/www/build/{p-bfa544c7.js.map → p-64aab82f.js.map} +0 -0
  1082. /package/www/build/{p-0b8d5c1f.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
  1083. /package/www/build/{p-c8dc6642.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
  1084. /package/www/build/{p-5555f634.entry.js.map → p-707e5f91.entry.js.map} +0 -0
  1085. /package/www/build/{p-b66ddcd3.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
  1086. /package/www/build/{p-9683014a.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
  1087. /package/www/build/{p-a8dfd58d.entry.js.map → p-820b48f6.entry.js.map} +0 -0
  1088. /package/www/build/{p-c2a380e3.entry.js.map → p-823c45d4.entry.js.map} +0 -0
  1089. /package/www/build/{p-25e5d451.entry.js.map → p-855334f4.entry.js.map} +0 -0
  1090. /package/www/build/{p-09220299.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
  1091. /package/www/build/{p-5dd023cd.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
  1092. /package/www/build/{p-3103ddeb.entry.js.map → p-ab7f129e.entry.js.map} +0 -0
  1093. /package/www/build/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
  1094. /package/www/build/{p-1d303951.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
  1095. /package/www/build/{p-59102d22.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
  1096. /package/www/build/{p-547f8749.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
  1097. /package/www/build/{p-cf2bd064.entry.js.map → p-c54d0925.entry.js.map} +0 -0
  1098. /package/www/build/{p-a2eb8943.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
  1099. /package/www/build/{p-fb3776ca.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
  1100. /package/www/build/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
  1101. /package/www/build/{p-b3bcce4b.entry.js.map → p-df8c381a.entry.js.map} +0 -0
  1102. /package/www/build/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
  1103. /package/www/build/{p-d123144c.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
  1104. /package/www/build/{p-a878ce38.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
  1105. /package/www/build/{p-9d7f38ed.entry.js.map → p-e529a714.entry.js.map} +0 -0
  1106. /package/www/build/{p-db55ed80.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
  1107. /package/www/build/{p-409ebe4c.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
  1108. /package/www/build/{p-eb7d08d1.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
  1109. /package/www/build/{p-a7944554.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
  1110. /package/www/build/{p-d1a658f6.entry.js.map → p-f703660d.entry.js.map} +0 -0
  1111. /package/www/build/{p-78a0b45c.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-anchor-navigation/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,qBAAqB;IAChC,IAAI,EAAE;QACJ,cAAc,EAAE,KAAK;KACtB;CACgC,CAAC;AAEpC,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;6CAEqB,IAAI,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4H7D;CACoC,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE;QACJ,WAAW,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,aAAa,CAAC;SACzB;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+CE,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HpC;CACoC,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZAnchorNavigation} from \".\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\nconst StoryMeta = {\n title: \"ZAnchorNavigation\",\n component: \"z-anchor-navigation\",\n args: {\n hideUnselected: false,\n },\n} satisfies Meta<ZAnchorNavigation>;\n\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) => html`\n <div class=\"z-anchor-navigation-story-wrapper\">\n <z-anchor-navigation .hideUnselected=${args.hideUnselected}>\n <div>\n <a\n href=\"#first-section\"\n target=\"_self\"\n >First section</a\n >\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a\n href=\"#second-section\"\n target=\"_self\"\n >Second section</a\n >\n </div>\n <div>\n <a\n href=\"#third-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a\n href=\"#fourth-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div>\n <div id=\"first-section\">\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"second-section\">\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"third-section\">\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"fourth-section\">\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n\n/**\n * Setting `autoCurrent` to `false` disables the automatic highlighting of the current section in the anchor navigation\n * and allows manual handling.\n * In this story, for example, the highlighting of the current section is done by clicking on the related button.\n */\nexport const AutoCurrentDisabling = {\n args: {\n autoCurrent: false,\n },\n parameters: {\n controls: {\n exclude: [\"autoCurrent\"],\n },\n },\n render: (args) => html`\n <script>\n Array.from(document.querySelectorAll(\".z-anchor-navigation-manual-current z-button\")).forEach((item) =>\n item.addEventListener(\"click\", (ev) => {\n const sectionID = ev.target.closest(\"z-button\")?.dataset.to;\n const current = document.querySelector(\"#\" + sectionID + \"-anchor\");\n const nav = current?.closest(\"nav\");\n Array.from(nav?.children ?? []).forEach((item) => {\n const isCurrent = item.contains(current);\n if (isCurrent) {\n item.setAttribute(\"data-current\", \"\");\n } else {\n item.removeAttribute(\"data-current\");\n }\n const anchor = item.tagName === \"A\" ? item : item.querySelector(\"a\");\n item?.setAttribute(\"aria-current\", isCurrent.toString());\n });\n const section = document.querySelector(\"#\" + sectionID);\n section?.scrollIntoView();\n })\n );\n </script>\n\n <div class=\"z-anchor-navigation-manual-current\">\n <z-button\n size=\"x-small\"\n data-to=\"first-section\"\n >To first section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"second-section\"\n >To second section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"third-section\"\n >To third section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"fourth-section\"\n >Highlight fourth section</z-button\n >\n </div>\n <div class=\"z-anchor-navigation-story-wrapper\">\n <z-anchor-navigation\n .hideUnselected=${args.hideUnselected}\n .autoCurrent=${args.autoCurrent}\n >\n <div>\n <a id=\"first-section-anchor\">First section</a>\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a id=\"second-section-anchor\">Second section</a>\n </div>\n <div>\n <a id=\"third-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a id=\"fourth-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div class=\"z-anchor-navigation-demo-sections\">\n <div\n class=\"section\"\n id=\"first-section\"\n >\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"second-section\"\n >\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"third-section\"\n >\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"fourth-section\"\n >\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n"]}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/z-anchor-navigation/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,qBAAqB;IAChC,IAAI,EAAE;QACJ,cAAc,EAAE,KAAK;KACtB;CACgC,CAAC;AAEpC,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;6CAEqB,IAAI,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4H7D;CACoC,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE;QACJ,WAAW,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,aAAa,CAAC;SACzB;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+CE,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HpC;CACoC,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZAnchorNavigation} from \".\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\nconst StoryMeta = {\n title: \"ZAnchorNavigation\",\n component: \"z-anchor-navigation\",\n args: {\n hideUnselected: false,\n },\n} satisfies Meta<ZAnchorNavigation>;\n\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) => html`\n <div class=\"z-anchor-navigation-story-wrapper\">\n <z-anchor-navigation .hideUnselected=${args.hideUnselected}>\n <div>\n <a\n href=\"#first-section\"\n target=\"_self\"\n >First section</a\n >\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a\n href=\"#second-section\"\n target=\"_self\"\n >Second section</a\n >\n </div>\n <div>\n <a\n href=\"#third-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a\n href=\"#fourth-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div>\n <div id=\"first-section\">\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"second-section\">\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"third-section\">\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div id=\"fourth-section\">\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n\n/**\n * Setting `autoCurrent` to `false` disables the automatic highlighting of the current section in the anchor navigation\n * and allows manual handling.\n * In this story, for example, the highlighting of the current section is done by clicking on the related button.\n */\nexport const AutoCurrentDisabling = {\n args: {\n autoCurrent: false,\n },\n parameters: {\n controls: {\n exclude: [\"autoCurrent\"],\n },\n },\n render: (args) => html`\n <script>\n Array.from(document.querySelectorAll(\".z-anchor-navigation-manual-current z-button\")).forEach((item) =>\n item.addEventListener(\"click\", (ev) => {\n const sectionID = ev.target.closest(\"z-button\")?.dataset.to;\n const current = document.querySelector(\"#\" + sectionID + \"-anchor\");\n const nav = current?.closest(\"nav\");\n Array.from(nav?.children ?? []).forEach((item) => {\n const isCurrent = item.contains(current);\n if (isCurrent) {\n item.setAttribute(\"data-current\", \"\");\n } else {\n item.removeAttribute(\"data-current\");\n }\n const anchor = item.tagName === \"A\" ? item : item.querySelector(\"a\");\n item?.setAttribute(\"aria-current\", isCurrent.toString());\n });\n const section = document.querySelector(\"#\" + sectionID);\n section?.scrollIntoView();\n })\n );\n </script>\n\n <div class=\"z-anchor-navigation-manual-current\">\n <z-button\n size=\"x-small\"\n data-to=\"first-section\"\n >To first section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"second-section\"\n >To second section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"third-section\"\n >To third section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"fourth-section\"\n >Highlight fourth section</z-button\n >\n </div>\n <div class=\"z-anchor-navigation-story-wrapper\">\n <z-anchor-navigation\n .hideUnselected=${args.hideUnselected}\n .autoCurrent=${args.autoCurrent}\n >\n <div>\n <a id=\"first-section-anchor\">First section</a>\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a id=\"second-section-anchor\">Second section</a>\n </div>\n <div>\n <a id=\"third-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a id=\"fourth-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div class=\"z-anchor-navigation-demo-sections\">\n <div\n class=\"section\"\n id=\"first-section\"\n >\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"second-section\"\n >\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"third-section\"\n >\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"fourth-section\"\n >\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n"]}
@@ -1,6 +1,7 @@
1
1
  import { Fragment, Host, h } from "@stencil/core";
2
- import { ButtonVariant, ControlSize, Device, KeyboardCode, OffCanvasVariant, TransitionDirection } from "../../beans";
3
- import { getDevice } from "../../utils/utils";
2
+ import { ButtonVariant, ControlSize, KeyboardCode, OffCanvasVariant, TransitionDirection } from "../../beans";
3
+ import { Breakpoints } from "../../constants/breakpoints";
4
+ import { containsElement } from "../../utils/utils";
4
5
  const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined";
5
6
  /**
6
7
  * @slot title - Slot for the main title
@@ -9,93 +10,12 @@ const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined
9
10
  * @slot product-logo - To insert the product logo, it should be used with an img tag.
10
11
  * @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%`.
11
12
  * @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).
12
- * @cssprop --app-header-drawer-trigger-size - The size of the drawer icon. Defaults to `--space-unit * 4`.
13
13
  * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.
14
+ * @cssprop --app-header-text-color - Header text color. Defaults to `--color-default-text`.
14
15
  * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.
15
16
  * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.
16
17
  */
17
18
  export class ZAppHeader {
18
- constructor() {
19
- this.currentIndex = -1;
20
- this.observer = SUPPORT_INTERSECTION_OBSERVER &&
21
- new IntersectionObserver(([entry]) => {
22
- this._stuck = !entry.isIntersecting;
23
- }, {
24
- threshold: 0.5,
25
- });
26
- this.stuck = false;
27
- this.enableOffcanvas = false;
28
- this.enableSearch = false;
29
- this.searchPlaceholder = "Cerca";
30
- this.searchString = "";
31
- this.searchPageUrl = undefined;
32
- this.enableZLogo = true;
33
- this._stuck = false;
34
- this.currentViewport = Device.MOBILE;
35
- this.menuLength = undefined;
36
- this.drawerOpen = false;
37
- this.openDrawer = this.openDrawer.bind(this);
38
- this.closeDrawer = this.closeDrawer.bind(this);
39
- this.collectMenuElements = this.collectMenuElements.bind(this);
40
- }
41
- evaluateViewport() {
42
- this.currentViewport = getDevice();
43
- }
44
- handleKeyDown(e) {
45
- if (e.code === KeyboardCode.ESC && this.drawerOpen) {
46
- this.closeDrawer();
47
- return;
48
- }
49
- this.handleArrowsNav(e);
50
- }
51
- handleArrowsNav(e) {
52
- if (e.code !== KeyboardCode.ARROW_DOWN && e.code !== KeyboardCode.ARROW_UP && this.enableOffcanvas) {
53
- return;
54
- }
55
- if (document.activeElement.slot === "item") {
56
- return;
57
- }
58
- const menuItems = Array.from(this.menuElements).map((el) => el.shadowRoot.querySelector(".menu-label"));
59
- let nextFocusableItem;
60
- if (this.enableOffcanvas || this._stuck) {
61
- // INFO: reset focus on all menu items
62
- menuItems.forEach((item) => item.setAttribute("tabindex", "-1"));
63
- e.preventDefault();
64
- e.stopPropagation();
65
- if (e.code === KeyboardCode.ARROW_DOWN) {
66
- nextFocusableItem = this.getNextItem(menuItems, 1);
67
- }
68
- else if (e.code === KeyboardCode.ARROW_UP) {
69
- nextFocusableItem = this.getNextItem(menuItems, -1);
70
- }
71
- }
72
- else {
73
- if (e.code === KeyboardCode.ARROW_DOWN || e.code === KeyboardCode.ARROW_UP) {
74
- e.preventDefault();
75
- return;
76
- }
77
- //INFO: reset focus on all menu items
78
- menuItems.forEach((item) => item.setAttribute("tabindex", "-1"));
79
- if (e.code === KeyboardCode.ARROW_RIGHT) {
80
- nextFocusableItem = this.getNextItem(menuItems, 1);
81
- }
82
- else if (e.code === KeyboardCode.ARROW_LEFT) {
83
- nextFocusableItem = this.getNextItem(menuItems, -1);
84
- }
85
- }
86
- if (nextFocusableItem) {
87
- nextFocusableItem.setAttribute("tabindex", "0");
88
- nextFocusableItem.focus();
89
- }
90
- }
91
- getNextItem(menuItems, direction) {
92
- if (this.currentIndex === -1) {
93
- this.currentIndex = direction === 1 ? 0 : menuItems.length - 1;
94
- return menuItems[this.currentIndex];
95
- }
96
- this.currentIndex = (this.currentIndex + direction + menuItems.length) % menuItems.length;
97
- return menuItems[this.currentIndex];
98
- }
99
19
  onStuck() {
100
20
  const scrollParent = this.scrollParent;
101
21
  if (!scrollParent) {
@@ -109,37 +29,22 @@ export class ZAppHeader {
109
29
  }
110
30
  this.menuElements.forEach((element) => {
111
31
  element.open = false;
112
- element.floating = !this.drawerOpen;
113
32
  element.verticalContext = this.drawerOpen;
114
- element.setAttribute("role", "menuitem");
115
- element.setAttribute("tabindex", "-1");
116
33
  });
117
34
  }
118
- onStuckMode() {
35
+ onStuckChange() {
36
+ var _a, _b;
119
37
  if (this.stuck) {
120
- this.enableStuckObserver();
38
+ (_a = this.stuckIntersecObserver) === null || _a === void 0 ? void 0 : _a.observe(this.container);
121
39
  }
122
40
  else {
123
- this.disableStuckMode();
124
- }
125
- }
126
- enableStuckObserver() {
127
- if (this.observer) {
128
- this.observer.observe(this.container);
129
- }
130
- }
131
- disableStuckMode() {
132
- this._stuck = false;
133
- if (this.observer) {
134
- this.observer.unobserve(this.container);
41
+ this._stuck = false;
42
+ (_b = this.stuckIntersecObserver) === null || _b === void 0 ? void 0 : _b.unobserve(this.container);
135
43
  }
136
44
  }
137
45
  get title() {
138
- const titleElement = this.hostElement.querySelector('[slot="title"]');
139
- if (titleElement === null) {
140
- return "";
141
- }
142
- return titleElement.textContent.trim();
46
+ var _a;
47
+ return (_a = this.hostElement.querySelector('[slot="title"]')) === null || _a === void 0 ? void 0 : _a.textContent.trim();
143
48
  }
144
49
  get scrollParent() {
145
50
  const parent = this.hostElement.offsetParent;
@@ -149,133 +54,164 @@ export class ZAppHeader {
149
54
  return parent;
150
55
  }
151
56
  get canShowMenu() {
152
- return (!this.enableOffcanvas &&
153
- this.menuElements.length > 0 &&
154
- this.currentViewport !== Device.MOBILE &&
155
- !this.drawerOpen);
57
+ return !this.enableOffcanvas && this.menuElements.length > 0 && !this.isMobile && !this.drawerOpen;
58
+ }
59
+ get focusableMenu() {
60
+ return this.menuElements.find((el) => el.htmlTabindex === 0);
156
61
  }
157
62
  openDrawer() {
158
63
  this.drawerOpen = true;
64
+ this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));
65
+ setTimeout(() => this.closeMenuButton.focus(), 100);
159
66
  }
160
67
  closeDrawer() {
161
68
  this.drawerOpen = false;
162
- this.burgerButton.focus();
163
- this.currentIndex = -1;
69
+ setTimeout(() => this.burgerButton.focus(), 100);
164
70
  }
165
71
  collectMenuElements() {
166
- const menuElements = (this.menuElements = this.hostElement.querySelectorAll('[slot="menu"]'));
167
- this.menuLength = menuElements.length;
72
+ this.menuElements = Array.from(this.hostElement.querySelectorAll('[slot="menu"]'));
73
+ this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));
74
+ this.menuLength = this.menuElements.length;
75
+ if (!this.enableOffcanvas) {
76
+ this.menuWidth =
77
+ this.menuElements.reduce((acc, el) => acc + el.getBoundingClientRect().width, 0) +
78
+ (this.menuLength - 1) * 32 /* 32px is the gap between each menu item */;
79
+ }
168
80
  this.setMenuFloatingMode();
169
81
  }
170
- isSlotPresent(slotName) {
171
- const slot = this.hostElement.querySelector(`[slot="${slotName}"]`);
172
- return !!slot;
82
+ /** Automatically use offcanvas mode when the menubar doesn't fit in the header. */
83
+ setupMenuResizeObserver() {
84
+ if (this.enableOffcanvas) {
85
+ return;
86
+ }
87
+ this.menuResizeObserver = new ResizeObserver((entries) => {
88
+ if (this.isMobile) {
89
+ this.enableOffcanvas = true;
90
+ return;
91
+ }
92
+ const containerWidth = entries[0].contentBoxSize[0].inlineSize;
93
+ if (this.menuWidth === 0) {
94
+ return;
95
+ }
96
+ if (this.menuWidth > containerWidth && !this.enableOffcanvas) {
97
+ this.enableOffcanvas = true;
98
+ }
99
+ else if (this.menuWidth <= containerWidth && this.enableOffcanvas) {
100
+ this.enableOffcanvas = false;
101
+ }
102
+ });
103
+ this.menuResizeObserver.observe(this.container);
104
+ }
105
+ hasSlot(slotName) {
106
+ return this.hostElement.querySelector(`[slot="${slotName}"]`) !== null;
107
+ }
108
+ moveFocus(current, receiver) {
109
+ current.htmlTabindex = -1;
110
+ receiver.setFocus();
111
+ }
112
+ /** Close each menu except the one receiving focus/click */
113
+ manageMenus(ev) {
114
+ this.menuElements.forEach((menu) => {
115
+ if (!menu.open || !menu.floating || menu.verticalContext || containsElement(menu, ev.target)) {
116
+ return;
117
+ }
118
+ menu.open = false;
119
+ });
120
+ }
121
+ handleMenubarKeydown(ev) {
122
+ var _a, _b;
123
+ if (!this.menuElements.some((elem) => elem.contains(ev.target))) {
124
+ return;
125
+ }
126
+ const current = this.focusableMenu;
127
+ const currentIndex = this.menuElements.indexOf(current);
128
+ let receiver;
129
+ if ((ev.key === KeyboardCode.ARROW_RIGHT && !current.verticalContext) ||
130
+ (ev.key === KeyboardCode.ARROW_DOWN && current.verticalContext)) {
131
+ receiver = (_a = this.menuElements[currentIndex + 1]) !== null && _a !== void 0 ? _a : this.menuElements[0];
132
+ }
133
+ else if ((ev.key === KeyboardCode.ARROW_LEFT && !current.verticalContext) ||
134
+ (ev.key === KeyboardCode.ARROW_UP && current.verticalContext)) {
135
+ receiver = (_b = this.menuElements[currentIndex - 1]) !== null && _b !== void 0 ? _b : this.menuElements[this.menuLength - 1];
136
+ }
137
+ if (!receiver) {
138
+ return;
139
+ }
140
+ if (ev.key === KeyboardCode.ARROW_UP && current.verticalContext) {
141
+ if (receiver.open) {
142
+ current.htmlTabindex = -1;
143
+ receiver.focusLastItem();
144
+ return;
145
+ }
146
+ }
147
+ this.moveFocus(current, receiver);
173
148
  }
174
149
  renderSeachbar() {
175
- const renderSearch = this.currentViewport === Device.MOBILE || this.currentViewport === Device.TABLET ? true : false;
176
- if (this.currentViewport === Device.MOBILE && !this.searchPageUrl && this._stuck) {
150
+ if (this.isMobile && !this.searchPageUrl && this._stuck) {
177
151
  return;
178
152
  }
179
- if (this.searchPageUrl && (this.currentViewport === Device.MOBILE || this.currentViewport === Device.TABLET)) {
153
+ if (this.searchPageUrl && (this.isMobile || this.isTablet)) {
180
154
  return (h("z-button", { class: "search-page-button", variant: ButtonVariant.SECONDARY, href: this.searchPageUrl, icon: "search", size: ControlSize.X_SMALL }));
181
155
  }
182
- return (h("z-searchbar", { ref: (el) => (this.searchbar = el), value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: renderSearch, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail), onKeyDown: (e) => {
183
- if (e.code === KeyboardCode.ARROW_RIGHT || e.code === KeyboardCode.ARROW_LEFT) {
184
- e.stopPropagation();
185
- }
186
- } }));
156
+ return (h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
187
157
  }
188
158
  renderProductLogos() {
189
- return (h(Fragment, null, this.enableZLogo && (h("img", { class: "z-logo", alt: "Logo Zanichelli" })), this.currentViewport !== Device.MOBILE && h("slot", { name: "product-logo" })));
159
+ return (h(Fragment, null, this.enableZLogo && (h("span", { class: "z-logo" }, h("img", { alt: "Logo Zanichelli" }))), this.hostElement.querySelector("[slot='product-logo']") && (h("span", { class: "product-logo" }, h("slot", { name: "product-logo" })))));
190
160
  }
191
161
  renderMenuButton() {
192
162
  return (this.menuLength > 0 &&
193
- (this.enableOffcanvas || this._stuck || this.currentViewport === Device.MOBILE) && (h("button", { ref: (el) => (this.burgerButton = el), "aria-label": "Apri menu", "aria-haspopup": "menu", "aria-expanded": `${this.drawerOpen}`, "aria-controls": "menu-offcanvas", class: "drawer-trigger", onClick: this.openDrawer, onKeyUp: (ev) => {
194
- if (ev.code === KeyboardCode.ENTER || ev.code === KeyboardCode.SPACE) {
195
- this.closeMenuButton.focus();
196
- }
197
- } }, h("z-icon", { name: "burger-menu" }))));
163
+ (this.enableOffcanvas || this._stuck || this.isMobile) && (h("button", { ref: (el) => (this.burgerButton = el), "aria-label": "Apri menu", "aria-haspopup": "menu", "aria-expanded": `${this.drawerOpen}`, "aria-controls": "offcanvas-menu", class: "drawer-trigger", onClick: this.openDrawer }, h("z-icon", { name: "burger-menu" }))));
198
164
  }
199
165
  renderOffcanvas() {
200
- return (h("z-offcanvas", { variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("div", { slot: "canvasContent" }, h("button", { ref: (el) => (this.closeMenuButton = el), class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { name: "close" })), h("div", { class: "drawer-content", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { name: "menu", onSlotchange: this.collectMenuElements })))));
166
+ return (h("z-offcanvas", { id: "offcanvas-menu", variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("div", { slot: "canvasContent" }, h("button", { ref: (el) => (this.closeMenuButton = el), class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { name: "close" })), h("div", { class: "drawer-content", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { name: "menu", onSlotchange: this.collectMenuElements })))));
201
167
  }
202
168
  renderStuck() {
203
- return (h("div", { class: "heading-stuck" }, h("div", { class: "heading-stuck-content" }, this.renderMenuButton(), h("div", { class: "heading-title" }, this.renderProductLogos(), h("slot", { name: "stucked-title" }, this.title)), this.enableSearch && this.renderSeachbar())));
169
+ return (h("div", { class: "heading-stuck" }, h("div", { class: "heading-stuck-content" }, this.renderMenuButton(), h("div", { class: "heading-title" }, this.renderProductLogos(), h("div", { class: "stucked-title" }, h("slot", { name: "stucked-title" }, this.title))), this.enableSearch && this.renderSeachbar())));
204
170
  }
205
- getWidthMenu() {
206
- if (this.menuElements.length === 0) {
207
- return;
208
- }
209
- return Array.from(this.menuElements).reduce((acc, item) => item.getBoundingClientRect().width + acc, 100);
210
- }
211
- focusToFirstItemMenu() {
212
- const menuItems = Array.from(this.menuElements).map((el) => el.shadowRoot.querySelector(".menu-label"));
213
- menuItems[0].focus();
214
- this.currentIndex = 0;
215
- }
216
- handleFocusItem(e) {
217
- const menuItems = Array.from(this.menuElements).map((el) => el.shadowRoot.querySelector(".menu-label"));
218
- if (e.code === KeyboardCode.ARROW_DOWN ||
219
- e.code === KeyboardCode.ARROW_UP ||
220
- e.code === KeyboardCode.ENTER ||
221
- e.code === KeyboardCode.TAB) {
222
- return;
223
- }
224
- if (document.activeElement.tagName === "Z-MENU-SECTION" || document.activeElement.tagName === "Z-MENU") {
225
- return;
226
- }
227
- if (this.enableSearch && this.currentIndex === 0) {
228
- const input = this.searchbar.shadowRoot.querySelector("z-input input");
229
- input.focus();
230
- this.currentIndex = -1;
231
- }
232
- if (this.currentIndex !== -1) {
233
- menuItems[this.currentIndex].focus();
234
- }
171
+ constructor() {
172
+ this.menuElements = [];
173
+ this.stuckIntersecObserver = SUPPORT_INTERSECTION_OBSERVER
174
+ ? new IntersectionObserver(([entry]) => {
175
+ this._stuck = !entry.isIntersecting;
176
+ }, { threshold: 0.5 })
177
+ : undefined;
178
+ this.stuck = false;
179
+ this.enableOffcanvas = false;
180
+ this.enableSearch = false;
181
+ this.searchPlaceholder = "Cerca";
182
+ this.searchString = "";
183
+ this.searchPageUrl = undefined;
184
+ this.enableZLogo = true;
185
+ this._stuck = false;
186
+ this.menuLength = undefined;
187
+ this.drawerOpen = false;
188
+ this.isMobile = true;
189
+ this.isTablet = false;
190
+ this.openDrawer = this.openDrawer.bind(this);
191
+ this.closeDrawer = this.closeDrawer.bind(this);
192
+ this.collectMenuElements = this.collectMenuElements.bind(this);
235
193
  }
236
194
  componentWillLoad() {
237
195
  this.collectMenuElements();
238
- this.evaluateViewport();
196
+ // mobile and tablet media queries listeners
197
+ const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);
198
+ this.isMobile = mobileMediaQuery.matches;
199
+ mobileMediaQuery.addEventListener("change", (e) => (this.isMobile = e.matches));
200
+ const tabletMediaQuery = window.matchMedia(`(min-width: ${Breakpoints.MOBILE + 1}px) and (max-width: ${Breakpoints.TABLET}px)`);
201
+ this.isTablet = tabletMediaQuery.matches;
202
+ tabletMediaQuery.addEventListener("change", (e) => (this.isTablet = e.matches));
239
203
  }
240
204
  componentDidLoad() {
241
- this.onStuckMode();
242
- if (this.enableOffcanvas) {
243
- return;
244
- }
245
- const menuWidth = this.getWidthMenu();
246
- const containerSidePadding = 50;
247
- this.resizeObserver = new ResizeObserver((observer) => {
248
- const containerWidth = observer[0].contentRect.width;
249
- if (this.currentViewport === Device.MOBILE) {
250
- return (this.enableOffcanvas = true);
251
- }
252
- if (menuWidth > containerWidth - containerSidePadding && !this.enableOffcanvas) {
253
- this.enableOffcanvas = true;
254
- }
255
- else if (menuWidth <= containerWidth - containerSidePadding && this.enableOffcanvas) {
256
- this.enableOffcanvas = false;
257
- }
258
- });
259
- this.resizeObserver.observe(this.container);
205
+ this.onStuckChange();
206
+ this.setupMenuResizeObserver();
260
207
  }
261
208
  disconnectedCallback() {
262
209
  var _a;
263
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
210
+ (_a = this.menuResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
264
211
  }
265
212
  render() {
266
- const hasTopSubtitle = this.isSlotPresent("top-subtitle");
267
- return (h(Host, { key: '334b0158441e60a258598668e59254db6c3d538b', "menu-length": this.menuLength }, h("div", { key: 'e9f6939327d6c7b40f0c39d2b73dce4d83c55345', class: `heading-panel ${this.menuLength > 0 && !this.enableOffcanvas ? "has-menu" : ""}`, ref: (el) => (this.container = el) }, h("div", { key: '7e68ec83bb2243e9ca4cb0957ff40294ab8cb1eb', class: "heading-container" }, ((!this.enableSearch && this.currentViewport === Device.MOBILE) ||
268
- this.currentViewport !== Device.MOBILE) && (h("div", { key: '385e71c60f10b4e6df8e154529cb1c85ab88b264', class: `${this.enableOffcanvas ? "p-left" : ""}` }, h("slot", { key: '8860d2f21b7bfceac663291499c99a1d2043eaee', name: "top-subtitle" }))), h("div", { key: '9c3a586edfac6badfba3fcdb32af9d0f953460ce', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '44a99f7fcc77e3970d0ead14a2a860256e78551d', name: "title" }), this.enableSearch && this.currentViewport !== Device.MOBILE && this.renderSeachbar()), this.enableSearch && this.currentViewport === Device.MOBILE && this.renderSeachbar()), this.canShowMenu && (h("div", { key: '793cbb92c91a443398bbbc60236d2744cafb8047', class: "menu-container", onKeyUp: (e) => {
269
- if (this.enableOffcanvas) {
270
- return;
271
- }
272
- if (this.currentIndex === -1) {
273
- this.focusToFirstItemMenu();
274
- }
275
- else {
276
- this.handleFocusItem(e);
277
- }
278
- }, role: "hidden", tabIndex: 0 }, h("slot", { key: 'f233cfbaab7b1a5b2c418ff9b1fae4ea38a4ae7a', name: "menu", onSlotchange: this.collectMenuElements })))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
213
+ const hasTopSubtitle = this.hasSlot("top-subtitle");
214
+ return (h(Host, { key: '7e11b4451932dc22ef2b1379bafceacadc4ce45a', "menu-length": this.menuLength }, h("div", { key: 'd5885b5ebfaf18aa55c83eabaee0d76f335c3f95', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: 'f98e05c6f10213c8d04e1b9217bea3119a678af5', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: '8331716775beda5ef8f90472d20d0a13e8842e87', class: "top-subtitle" }, h("slot", { key: '55080f2143085802d7e9f5e77330120409dbf650', name: "top-subtitle" }))), h("div", { key: 'bda64ee9d54163101cb53b9cdab40764ab6501b8', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '45d66d5b36ed1bde12a27f8b79e7b11dc5f1c8f3', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '45e17efbf3ad93ad9cd0b55f5515022e1fe26d3f', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '0c8d73e0c9dc85c341dc1ca999ada16eb9188ada', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'b907682a3866680a84557192a163fa179a01374a', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
279
215
  }
280
216
  static get is() { return "z-app-header"; }
281
217
  static get encapsulation() { return "shadow"; }
@@ -321,7 +257,7 @@ export class ZAppHeader {
321
257
  "optional": false,
322
258
  "docs": {
323
259
  "tags": [],
324
- "text": "the menu bar is not displayed and a burger icon appears to open the offcanvas menu"
260
+ "text": "When enabled, the menu bar is not displayed and a burger icon appears to open the offcanvas menu. Automatically enabled on mobile and when the menu items overflow the container."
325
261
  },
326
262
  "attribute": "enable-offcanvas",
327
263
  "reflect": true,
@@ -421,9 +357,10 @@ export class ZAppHeader {
421
357
  static get states() {
422
358
  return {
423
359
  "_stuck": {},
424
- "currentViewport": {},
425
360
  "menuLength": {},
426
- "drawerOpen": {}
361
+ "drawerOpen": {},
362
+ "isMobile": {},
363
+ "isTablet": {}
427
364
  };
428
365
  }
429
366
  static get events() {
@@ -454,22 +391,28 @@ export class ZAppHeader {
454
391
  "methodName": "setMenuFloatingMode"
455
392
  }, {
456
393
  "propName": "stuck",
457
- "methodName": "onStuckMode"
394
+ "methodName": "onStuckChange"
458
395
  }];
459
396
  }
460
397
  static get listeners() {
461
398
  return [{
462
- "name": "resize",
463
- "method": "evaluateViewport",
464
- "target": "window",
399
+ "name": "focusin",
400
+ "method": "manageMenus",
401
+ "target": "document",
402
+ "capture": false,
403
+ "passive": true
404
+ }, {
405
+ "name": "click",
406
+ "method": "manageMenus",
407
+ "target": "document",
465
408
  "capture": false,
466
409
  "passive": true
467
410
  }, {
468
411
  "name": "keydown",
469
- "method": "handleKeyDown",
412
+ "method": "handleMenubarKeydown",
470
413
  "target": undefined,
471
414
  "capture": false,
472
- "passive": false
415
+ "passive": true
473
416
  }];
474
417
  }
475
418
  }