@zanichelli/albe-web-components 16.3.0 → 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 (1042) hide show
  1. package/CHANGELOG.md +2 -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-b361709b.js → index-041b41e6.js} +2 -2
  5. package/dist/cjs/{index-b361709b.js.map → index-041b41e6.js.map} +1 -1
  6. package/dist/cjs/{index-3a070c6b.js → index-1dfb8b3c.js} +2 -2
  7. package/dist/cjs/{index-3a070c6b.js.map → index-1dfb8b3c.js.map} +1 -1
  8. package/dist/cjs/{index-1f9f28df.js → index-25ded558.js} +2 -2
  9. package/dist/cjs/{index-1f9f28df.js.map → index-25ded558.js.map} +1 -1
  10. package/dist/cjs/{index-f0159789.js → index-4bce26ea.js} +5 -5
  11. package/dist/cjs/{index-f0159789.js.map → index-4bce26ea.js.map} +1 -1
  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-1890445d.js → index-b7759a0d.js} +2 -2
  15. package/dist/cjs/{index-1890445d.js.map → index-b7759a0d.js.map} +1 -1
  16. package/dist/cjs/{index-597156d1.js → index-d4272b0e.js} +2 -2
  17. package/dist/cjs/{index-597156d1.js.map → index-d4272b0e.js.map} +1 -1
  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 +1 -1
  25. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  26. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  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 +278 -342
  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 +9 -9
  84. package/dist/cjs/z-tbody.cjs.entry.js +2 -2
  85. package/dist/cjs/z-td.cjs.entry.js +2 -2
  86. package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
  87. package/dist/cjs/z-th.cjs.entry.js +2 -2
  88. package/dist/cjs/z-thead.cjs.entry.js +2 -2
  89. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
  91. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  92. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  93. package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -6
  94. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  95. package/dist/cjs/z-tr.cjs.entry.js +6 -6
  96. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  97. package/dist/collection/beans/index.js.map +1 -1
  98. package/dist/collection/collection-manifest.json +2 -2
  99. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -1
  100. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -1
  101. package/dist/collection/components/date-picker/utils.js.map +1 -1
  102. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
  103. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -1
  104. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
  105. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -1
  106. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  107. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -1
  108. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -1
  109. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -1
  110. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -1
  111. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -1
  112. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -1
  113. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
  114. package/dist/collection/components/file-upload/z-file/index.js +3 -3
  115. package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
  116. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -1
  117. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
  118. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -1
  119. package/dist/collection/components/index.js.map +1 -1
  120. package/dist/collection/components/list/z-list/index.js.map +1 -1
  121. package/dist/collection/components/list/z-list/index.stories.js.map +1 -1
  122. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  123. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -1
  124. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  125. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -1
  126. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  127. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  128. package/dist/collection/components/table/z-table/index.js.map +1 -1
  129. package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
  130. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  131. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  132. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  133. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  134. package/dist/collection/components/z-accordion/index.js.map +1 -1
  135. package/dist/collection/components/z-accordion/index.stories.js.map +1 -1
  136. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
  137. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -1
  138. package/dist/collection/components/z-app-header/index.js +149 -206
  139. package/dist/collection/components/z-app-header/index.js.map +1 -1
  140. package/dist/collection/components/z-app-header/index.stories.js +12 -28
  141. package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
  142. package/dist/collection/components/z-app-header/styles.css +95 -121
  143. package/dist/collection/components/z-aria-alert/index.js +1 -1
  144. package/dist/collection/components/z-aria-alert/index.js.map +1 -1
  145. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -1
  146. package/dist/collection/components/z-avatar/index.js +2 -2
  147. package/dist/collection/components/z-avatar/index.js.map +1 -1
  148. package/dist/collection/components/z-avatar/index.stories.js.map +1 -1
  149. package/dist/collection/components/z-book-card/index.js +3 -3
  150. package/dist/collection/components/z-book-card/index.js.map +1 -1
  151. package/dist/collection/components/z-book-card/index.stories.js.map +1 -1
  152. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  153. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  154. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  155. package/dist/collection/components/z-button/index.js.map +1 -1
  156. package/dist/collection/components/z-button/index.stories.js.map +1 -1
  157. package/dist/collection/components/z-button-sort/index.js +3 -3
  158. package/dist/collection/components/z-button-sort/index.js.map +1 -1
  159. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -1
  160. package/dist/collection/components/z-card/index.js.map +1 -1
  161. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  162. package/dist/collection/components/z-carousel/index.js.map +1 -1
  163. package/dist/collection/components/z-carousel/index.stories.js.map +1 -1
  164. package/dist/collection/components/z-chip/index.js +2 -2
  165. package/dist/collection/components/z-chip/index.js.map +1 -1
  166. package/dist/collection/components/z-chip/index.stories.js.map +1 -1
  167. package/dist/collection/components/z-combobox/index.js +1 -1
  168. package/dist/collection/components/z-combobox/index.js.map +1 -1
  169. package/dist/collection/components/z-combobox/index.stories.js.map +1 -1
  170. package/dist/collection/components/z-combobox/styles.css +6 -4
  171. package/dist/collection/components/z-cover-hero/index.js +2 -2
  172. package/dist/collection/components/z-cover-hero/index.js.map +1 -1
  173. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -1
  174. package/dist/collection/components/z-divider/index.js +1 -1
  175. package/dist/collection/components/z-divider/index.js.map +1 -1
  176. package/dist/collection/components/z-divider/index.stories.js.map +1 -1
  177. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  178. package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
  179. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -1
  180. package/dist/collection/components/z-icon/index.js.map +1 -1
  181. package/dist/collection/components/z-icon/index.stories.js.map +1 -1
  182. package/dist/collection/components/z-info-box/index.js +1 -1
  183. package/dist/collection/components/z-info-box/index.js.map +1 -1
  184. package/dist/collection/components/z-info-box/index.stories.js.map +1 -1
  185. package/dist/collection/components/z-info-reveal/index.js +1 -1
  186. package/dist/collection/components/z-info-reveal/index.js.map +1 -1
  187. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -1
  188. package/dist/collection/components/z-input/index.js +1 -1
  189. package/dist/collection/components/z-input/index.js.map +1 -1
  190. package/dist/collection/components/z-input/index.stories.js.map +1 -1
  191. package/dist/collection/components/z-input-message/index.js +1 -1
  192. package/dist/collection/components/z-input-message/index.js.map +1 -1
  193. package/dist/collection/components/z-input-message/index.stories.js.map +1 -1
  194. package/dist/collection/components/z-logo/index.js +1 -1
  195. package/dist/collection/components/z-logo/index.js.map +1 -1
  196. package/dist/collection/components/z-logo/index.stories.js.map +1 -1
  197. package/dist/collection/components/z-menu/index.js +269 -171
  198. package/dist/collection/components/z-menu/index.js.map +1 -1
  199. package/dist/collection/components/z-menu/index.stories.js +2 -8
  200. package/dist/collection/components/z-menu/index.stories.js.map +1 -1
  201. package/dist/collection/components/z-menu/styles.css +38 -46
  202. package/dist/collection/components/z-menu-section/index.js +216 -121
  203. package/dist/collection/components/z-menu-section/index.js.map +1 -1
  204. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-menu-section/styles.css +32 -27
  206. package/dist/collection/components/z-modal/index.js +6 -6
  207. package/dist/collection/components/z-modal/index.js.map +1 -1
  208. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  209. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  210. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -1
  211. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -1
  212. package/dist/collection/components/z-notification/index.js +1 -1
  213. package/dist/collection/components/z-notification/index.js.map +1 -1
  214. package/dist/collection/components/z-notification/index.stories.js.map +1 -1
  215. package/dist/collection/components/z-offcanvas/index.js +1 -1
  216. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  217. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -1
  218. package/dist/collection/components/z-pagination/index.js.map +1 -1
  219. package/dist/collection/components/z-pagination/index.stories.js.map +1 -1
  220. package/dist/collection/components/z-panel-elem/index.js +2 -2
  221. package/dist/collection/components/z-panel-elem/index.js.map +1 -1
  222. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -1
  223. package/dist/collection/components/z-popover/index.js +1 -1
  224. package/dist/collection/components/z-popover/index.js.map +1 -1
  225. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  226. package/dist/collection/components/z-searchbar/index.js +4 -3
  227. package/dist/collection/components/z-searchbar/index.js.map +1 -1
  228. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -1
  229. package/dist/collection/components/z-section-title/index.js +1 -1
  230. package/dist/collection/components/z-section-title/index.js.map +1 -1
  231. package/dist/collection/components/z-section-title/index.stories.js.map +1 -1
  232. package/dist/collection/components/z-select/index.js +1 -1
  233. package/dist/collection/components/z-select/index.js.map +1 -1
  234. package/dist/collection/components/z-select/index.stories.js.map +1 -1
  235. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  236. package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
  237. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -1
  238. package/dist/collection/components/z-stepper/index.js +1 -1
  239. package/dist/collection/components/z-stepper/index.js.map +1 -1
  240. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  241. package/dist/collection/components/z-stepper-item/index.js +1 -1
  242. package/dist/collection/components/z-stepper-item/index.js.map +1 -1
  243. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -1
  244. package/dist/collection/components/z-tag/index.js.map +1 -1
  245. package/dist/collection/components/z-tag/index.stories.js.map +1 -1
  246. package/dist/collection/components/z-toast-notification/index.js +3 -3
  247. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  248. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  249. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  250. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -1
  251. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -1
  252. package/dist/collection/components/z-toggle-button/index.js +2 -2
  253. package/dist/collection/components/z-toggle-button/index.js.map +1 -1
  254. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -1
  255. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  256. package/dist/collection/components/z-toggle-switch/index.js.map +1 -1
  257. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -1
  258. package/dist/collection/components/z-tooltip/index.js +1 -1
  259. package/dist/collection/components/z-tooltip/index.js.map +1 -1
  260. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -1
  261. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  262. package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
  263. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -1
  264. package/dist/collection/constants/breakpoints.js +7 -4
  265. package/dist/collection/constants/breakpoints.js.map +1 -1
  266. package/dist/collection/constants/icons.js.map +1 -1
  267. package/dist/collection/constants/iconset.js.map +1 -1
  268. package/dist/collection/index.js.map +1 -1
  269. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  270. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  280. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
  281. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  282. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
  283. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  284. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
  285. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  286. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
  287. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  288. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
  289. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  290. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
  291. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  292. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
  293. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  294. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
  295. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  296. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
  297. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  298. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
  299. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
  300. package/dist/collection/utils/storybook-utils.js.map +1 -1
  301. package/dist/collection/utils/utils.js +17 -7
  302. package/dist/collection/utils/utils.js.map +1 -1
  303. package/dist/components/breakpoints.js +8 -4
  304. package/dist/components/breakpoints.js.map +1 -1
  305. package/dist/components/index10.js +1 -1
  306. package/dist/components/index11.js +1 -1
  307. package/dist/components/index15.js +6 -6
  308. package/dist/components/index15.js.map +1 -1
  309. package/dist/components/index16.js +1 -1
  310. package/dist/components/index17.js +1 -1
  311. package/dist/components/index18.js +1 -1
  312. package/dist/components/index19.js +1 -1
  313. package/dist/components/index20.js +1 -1
  314. package/dist/components/index21.js +1 -1
  315. package/dist/components/index22.js +1 -1
  316. package/dist/components/index23.js +5 -4
  317. package/dist/components/index23.js.map +1 -1
  318. package/dist/components/index3.js +1 -1
  319. package/dist/components/index5.js +2 -2
  320. package/dist/components/index6.js +1 -1
  321. package/dist/components/index8.js +1 -1
  322. package/dist/components/utils.js +18 -5
  323. package/dist/components/utils.js.map +1 -1
  324. package/dist/components/z-app-header-deprecated.js +1 -1
  325. package/dist/components/z-app-header-deprecated.js.map +1 -1
  326. package/dist/components/z-app-header.js +144 -207
  327. package/dist/components/z-app-header.js.map +1 -1
  328. package/dist/components/z-aria-alert.js +1 -1
  329. package/dist/components/z-avatar.js +2 -2
  330. package/dist/components/z-book-card.js +3 -3
  331. package/dist/components/z-book-card.js.map +1 -1
  332. package/dist/components/z-breadcrumb.js +2 -2
  333. package/dist/components/z-button-sort.js +3 -3
  334. package/dist/components/z-button-sort.js.map +1 -1
  335. package/dist/components/z-combobox.js +2 -2
  336. package/dist/components/z-combobox.js.map +1 -1
  337. package/dist/components/z-cover-hero.js +2 -2
  338. package/dist/components/z-file.js +3 -3
  339. package/dist/components/z-file.js.map +1 -1
  340. package/dist/components/z-info-box.js +1 -1
  341. package/dist/components/z-info-reveal.js +1 -1
  342. package/dist/components/z-logo.js +1 -1
  343. package/dist/components/z-menu-section.js +151 -115
  344. package/dist/components/z-menu-section.js.map +1 -1
  345. package/dist/components/z-menu.js +218 -166
  346. package/dist/components/z-menu.js.map +1 -1
  347. package/dist/components/z-myz-card-alert.js +1 -1
  348. package/dist/components/z-myz-card-dictionary.js +1 -1
  349. package/dist/components/z-myz-card-footer-sections.js +1 -1
  350. package/dist/components/z-myz-card-footer.js +1 -1
  351. package/dist/components/z-myz-card-icon.js +1 -1
  352. package/dist/components/z-myz-card-info.js +1 -1
  353. package/dist/components/z-myz-card-list.js +1 -1
  354. package/dist/components/z-myz-list.js +1 -1
  355. package/dist/components/z-navigation-tabs.js +2 -2
  356. package/dist/components/z-notification.js +1 -1
  357. package/dist/components/z-otp.js +2 -2
  358. package/dist/components/z-panel-elem.js +2 -2
  359. package/dist/components/z-section-title.js +1 -1
  360. package/dist/components/z-select.js +2 -2
  361. package/dist/components/z-skip-to-content.js +2 -2
  362. package/dist/components/z-slideshow.js +1 -1
  363. package/dist/components/z-stepper-item.js +1 -1
  364. package/dist/components/z-stepper.js +1 -1
  365. package/dist/components/z-table.js +1 -0
  366. package/dist/components/z-table.js.map +1 -1
  367. package/dist/components/z-toast-notification-list.js +1 -1
  368. package/dist/components/z-toast-notification.js +3 -3
  369. package/dist/components/z-toast-notification.js.map +1 -1
  370. package/dist/components/z-toggle-button.js +2 -2
  371. package/dist/components/z-toggle-switch.js +3 -3
  372. package/dist/components/z-tooltip.js +1 -1
  373. package/dist/components/z-visually-hidden.js +1 -1
  374. package/dist/esm/breakpoints-d148bfde.js +11 -0
  375. package/dist/esm/breakpoints-d148bfde.js.map +1 -0
  376. package/dist/esm/{index-175661e6.js → index-36f0f6c0.js} +2 -2
  377. package/dist/esm/{index-175661e6.js.map → index-36f0f6c0.js.map} +1 -1
  378. package/dist/esm/{index-fd7edd22.js → index-66bd56db.js} +5 -5
  379. package/dist/esm/{index-fd7edd22.js.map → index-66bd56db.js.map} +1 -1
  380. package/dist/esm/{index-7a28ff39.js → index-89520805.js} +2 -2
  381. package/dist/esm/{index-7a28ff39.js.map → index-89520805.js.map} +1 -1
  382. package/dist/esm/{index-a2130b6a.js → index-c8ceadeb.js} +2167 -2127
  383. package/dist/esm/index-c8ceadeb.js.map +1 -0
  384. package/dist/esm/{index-230d44a5.js → index-cddfba10.js} +2 -2
  385. package/dist/esm/{index-230d44a5.js.map → index-cddfba10.js.map} +1 -1
  386. package/dist/esm/{index-a81f1558.js → index-dfddeb25.js} +2 -2
  387. package/dist/esm/{index-a81f1558.js.map → index-dfddeb25.js.map} +1 -1
  388. package/dist/esm/{index-b556b384.js → index-e70be23f.js} +2 -2
  389. package/dist/esm/{index-b556b384.js.map → index-e70be23f.js.map} +1 -1
  390. package/dist/esm/index.js +2 -2
  391. package/dist/esm/loader.js +3 -3
  392. package/dist/esm/{utils-8ade9e2d.js → utils-acc8bdd0.js} +19 -6
  393. package/dist/esm/utils-acc8bdd0.js.map +1 -0
  394. package/dist/esm/web-components-library.js +4 -4
  395. package/dist/esm/web-components-library.js.map +1 -1
  396. package/dist/esm/z-accordion.entry.js +1 -1
  397. package/dist/esm/z-alert.entry.js +2 -2
  398. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  399. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  400. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -1
  401. package/dist/esm/z-app-header_12.entry.js +145 -209
  402. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  403. package/dist/esm/z-aria-alert.entry.js +2 -2
  404. package/dist/esm/z-avatar.entry.js +3 -3
  405. package/dist/esm/z-book-card.entry.js +5 -5
  406. package/dist/esm/z-book-card.entry.js.map +1 -1
  407. package/dist/esm/z-breadcrumb.entry.js +5 -5
  408. package/dist/esm/z-button-sort.entry.js +4 -4
  409. package/dist/esm/z-button-sort.entry.js.map +1 -1
  410. package/dist/esm/z-card.entry.js +1 -1
  411. package/dist/esm/z-carousel.entry.js +1 -1
  412. package/dist/esm/z-chip.entry.js +3 -3
  413. package/dist/esm/z-combobox.entry.js +5 -5
  414. package/dist/esm/z-combobox.entry.js.map +1 -1
  415. package/dist/esm/z-cover-hero.entry.js +3 -3
  416. package/dist/esm/z-date-picker.entry.js +1 -1
  417. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  418. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  419. package/dist/esm/z-file-upload.entry.js +3 -3
  420. package/dist/esm/z-file.entry.js +4 -4
  421. package/dist/esm/z-file.entry.js.map +1 -1
  422. package/dist/esm/z-ghost-loading.entry.js +2 -2
  423. package/dist/esm/z-info-box.entry.js +2 -2
  424. package/dist/esm/z-info-reveal.entry.js +2 -2
  425. package/dist/esm/z-logo.entry.js +2 -2
  426. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  427. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  428. package/dist/esm/z-menu-section.entry.js +140 -111
  429. package/dist/esm/z-menu-section.entry.js.map +1 -1
  430. package/dist/esm/z-menu.entry.js +210 -162
  431. package/dist/esm/z-menu.entry.js.map +1 -1
  432. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  433. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  434. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  435. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  436. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  437. package/dist/esm/z-myz-card-info.entry.js +4 -4
  438. package/dist/esm/z-myz-card-list.entry.js +2 -2
  439. package/dist/esm/z-myz-card_4.entry.js +5 -5
  440. package/dist/esm/z-myz-list-item.entry.js +4 -4
  441. package/dist/esm/z-myz-list.entry.js +2 -2
  442. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  443. package/dist/esm/z-notification.entry.js +2 -2
  444. package/dist/esm/z-otp.entry.js +3 -3
  445. package/dist/esm/z-pagination.entry.js +1 -1
  446. package/dist/esm/z-panel-elem.entry.js +3 -3
  447. package/dist/esm/z-popover.entry.js +2 -2
  448. package/dist/esm/z-range-picker.entry.js +1 -1
  449. package/dist/esm/z-section-title.entry.js +2 -2
  450. package/dist/esm/z-select.entry.js +4 -4
  451. package/dist/esm/z-skip-to-content.entry.js +4 -4
  452. package/dist/esm/z-slideshow.entry.js +3 -3
  453. package/dist/esm/z-stepper-item.entry.js +2 -2
  454. package/dist/esm/z-stepper.entry.js +2 -2
  455. package/dist/esm/z-table.entry.js +9 -9
  456. package/dist/esm/z-tbody.entry.js +2 -2
  457. package/dist/esm/z-td.entry.js +2 -2
  458. package/dist/esm/z-tfoot.entry.js +2 -2
  459. package/dist/esm/z-th.entry.js +2 -2
  460. package/dist/esm/z-thead.entry.js +2 -2
  461. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  462. package/dist/esm/z-toast-notification.entry.js +4 -4
  463. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  464. package/dist/esm/z-toggle-button.entry.js +3 -3
  465. package/dist/esm/z-toggle-switch.entry.js +6 -6
  466. package/dist/esm/z-tooltip.entry.js +2 -2
  467. package/dist/esm/z-tr.entry.js +6 -6
  468. package/dist/esm/z-visually-hidden.entry.js +2 -2
  469. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +3 -3
  470. package/dist/types/components/list/z-list-group/index.stories.d.ts +1 -1
  471. package/dist/types/components/z-app-header/index.d.ts +23 -30
  472. package/dist/types/components/z-app-header/index.stories.d.ts +2 -5
  473. package/dist/types/components/z-book-card/index.stories.d.ts +2 -2
  474. package/dist/types/components/z-carousel/index.stories.d.ts +1 -1
  475. package/dist/types/components/z-cover-hero/index.stories.d.ts +1 -1
  476. package/dist/types/components/z-menu/index.d.ts +34 -26
  477. package/dist/types/components/z-menu/index.stories.d.ts +1 -2
  478. package/dist/types/components/z-menu-section/index.d.ts +28 -18
  479. package/dist/types/components/z-modal/index.stories.d.ts +1 -1
  480. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +2 -2
  481. package/dist/types/components/z-popover/index.stories.d.ts +2 -2
  482. package/dist/types/components/z-section-title/index.stories.d.ts +1 -1
  483. package/dist/types/components/z-tag/index.stories.d.ts +2 -2
  484. package/dist/types/components/z-tooltip/index.stories.d.ts +1 -1
  485. package/dist/types/components.d.ts +48 -8
  486. package/dist/types/constants/breakpoints.d.ts +6 -4
  487. package/dist/types/stencil-public-runtime.d.ts +0 -2
  488. package/dist/types/utils/utils.d.ts +10 -1
  489. package/dist/web-components-library/index.esm.js +1 -1
  490. package/dist/web-components-library/p-04c39e8a.entry.js +2 -0
  491. package/dist/web-components-library/p-04c39e8a.entry.js.map +1 -0
  492. package/dist/web-components-library/p-0542a3c9.entry.js +2 -0
  493. package/dist/web-components-library/p-0542a3c9.entry.js.map +1 -0
  494. package/dist/web-components-library/{p-6319b5e2.entry.js → p-06d98334.entry.js} +2 -2
  495. package/dist/web-components-library/{p-2672e36f.entry.js → p-100c6243.entry.js} +2 -2
  496. package/dist/web-components-library/p-16d625b3.entry.js +2 -0
  497. package/dist/web-components-library/p-16d625b3.entry.js.map +1 -0
  498. package/{www/build/p-28928bb6.entry.js → dist/web-components-library/p-1896cc54.entry.js} +2 -2
  499. package/{www/build/p-19f8c3d2.entry.js → dist/web-components-library/p-1cc37aa7.entry.js} +2 -2
  500. package/{www/build/p-c0bdbfb5.entry.js → dist/web-components-library/p-273f3c53.entry.js} +2 -2
  501. package/dist/web-components-library/{p-4f7dd068.entry.js → p-28018cd3.entry.js} +2 -2
  502. package/{www/build/p-12d62027.entry.js → dist/web-components-library/p-296924ea.entry.js} +2 -2
  503. package/dist/web-components-library/p-2b1fd95a.entry.js +2 -0
  504. package/dist/web-components-library/{p-99b791d1.entry.js → p-2e432a39.entry.js} +2 -2
  505. package/dist/web-components-library/{p-af856537.entry.js → p-2f662fea.entry.js} +2 -2
  506. package/dist/web-components-library/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
  507. package/dist/web-components-library/p-3ae8fb1a.entry.js +2 -0
  508. package/dist/web-components-library/{p-304eeab0.js → p-3dbad75e.js} +2 -2
  509. package/{www/build/p-be4878f2.entry.js → dist/web-components-library/p-4537f922.entry.js} +2 -2
  510. package/dist/web-components-library/{p-91c04edc.entry.js → p-45dc157c.entry.js} +2 -2
  511. package/dist/web-components-library/{p-e366782c.entry.js → p-46d98609.entry.js} +2 -2
  512. package/{www/build/p-7d7c5344.js → dist/web-components-library/p-4a2e0034.js} +2 -2
  513. package/dist/web-components-library/p-4f3f8578.entry.js +2 -0
  514. package/dist/web-components-library/p-5145a606.js +2 -0
  515. package/dist/web-components-library/p-5145a606.js.map +1 -0
  516. package/{www/build/p-e5dc0719.entry.js → dist/web-components-library/p-51f1c9c0.entry.js} +2 -2
  517. package/{www/build/p-e1852de3.entry.js → dist/web-components-library/p-5a0f0978.entry.js} +2 -2
  518. package/dist/web-components-library/{p-6586441a.entry.js → p-5a178c69.entry.js} +3 -3
  519. package/dist/web-components-library/p-5a178c69.entry.js.map +1 -0
  520. package/dist/web-components-library/{p-cf2640b0.entry.js → p-608c35ba.entry.js} +2 -2
  521. package/{www/build/p-cf2640b0.entry.js.map → dist/web-components-library/p-608c35ba.entry.js.map} +1 -1
  522. package/dist/web-components-library/{p-26b5c84d.js → p-60f410df.js} +2 -2
  523. package/dist/web-components-library/p-63ec7bad.entry.js +2 -0
  524. package/dist/web-components-library/p-64364cbf.entry.js +2 -0
  525. package/dist/web-components-library/p-64364cbf.entry.js.map +1 -0
  526. package/dist/web-components-library/p-64aab82f.js +2 -0
  527. package/dist/web-components-library/p-67e5e8ed.js +2 -0
  528. package/dist/web-components-library/p-67e5e8ed.js.map +1 -0
  529. package/dist/web-components-library/{p-57eee056.entry.js → p-68f4fbc8.entry.js} +2 -2
  530. package/dist/web-components-library/{p-f21bc3a9.entry.js → p-6a1b3e86.entry.js} +2 -2
  531. package/dist/web-components-library/{p-05e9ae1e.entry.js → p-6db2fd46.entry.js} +2 -2
  532. package/{www/build/p-83350b5f.entry.js → dist/web-components-library/p-707e5f91.entry.js} +2 -2
  533. package/dist/web-components-library/p-75c4a726.js +3 -0
  534. package/dist/web-components-library/p-75c4a726.js.map +1 -0
  535. package/{www/build/p-85f84e55.entry.js → dist/web-components-library/p-777ad335.entry.js} +2 -2
  536. package/dist/web-components-library/p-777ad335.entry.js.map +1 -0
  537. package/{www/build/p-b84fa3b6.entry.js → dist/web-components-library/p-7aba5af3.entry.js} +2 -2
  538. package/dist/web-components-library/p-7d5bf905.entry.js +2 -0
  539. package/dist/web-components-library/{p-324ef970.entry.js → p-820b48f6.entry.js} +2 -2
  540. package/dist/web-components-library/p-823c45d4.entry.js +2 -0
  541. package/{www/build/p-8c9f7cef.entry.js → dist/web-components-library/p-855334f4.entry.js} +2 -2
  542. package/dist/web-components-library/{p-aa0f083b.js → p-8a6a4d22.js} +2 -2
  543. package/{www/build/p-8b309268.entry.js → dist/web-components-library/p-8d56e74b.entry.js} +2 -2
  544. package/dist/web-components-library/p-8d56e74b.entry.js.map +1 -0
  545. package/dist/web-components-library/{p-d9e1d8c7.js → p-95cb8701.js} +2 -2
  546. package/dist/web-components-library/p-9a1b51ed.entry.js +2 -0
  547. package/{www/build/p-ad76b8ff.entry.js.map → dist/web-components-library/p-9a1b51ed.entry.js.map} +1 -1
  548. package/dist/web-components-library/{p-4552744b.entry.js → p-9b9a04ad.entry.js} +2 -2
  549. package/dist/web-components-library/{p-77d8ad7e.entry.js → p-a0fd1323.entry.js} +2 -2
  550. package/dist/web-components-library/p-a64a1bf0.entry.js +2 -0
  551. package/dist/web-components-library/p-a64a1bf0.entry.js.map +1 -0
  552. package/dist/web-components-library/p-aaae6b16.entry.js +2 -0
  553. package/dist/web-components-library/{p-97b0c3b3.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
  554. package/dist/web-components-library/p-ab7f129e.entry.js +2 -0
  555. package/dist/web-components-library/{p-6f4dd02b.entry.js.map → p-ab7f129e.entry.js.map} +1 -1
  556. package/{www/build/p-088a31dc.entry.js → dist/web-components-library/p-acd911aa.entry.js} +2 -2
  557. package/{www/build/p-a4ada10b.entry.js → dist/web-components-library/p-ad97fdc4.entry.js} +2 -2
  558. package/dist/web-components-library/{p-57ecb5a7.entry.js → p-b2356bc7.entry.js} +2 -2
  559. package/dist/web-components-library/p-c1e498ac.entry.js +2 -0
  560. package/dist/web-components-library/{p-a5781264.entry.js → p-c54d0925.entry.js} +2 -2
  561. package/dist/web-components-library/p-c679277c.entry.js +2 -0
  562. package/{www/build/p-df05727f.entry.js.map → dist/web-components-library/p-c679277c.entry.js.map} +1 -1
  563. package/dist/web-components-library/p-cc71a90c.entry.js +2 -0
  564. package/{www/build/p-c90249e5.entry.js → dist/web-components-library/p-cd0219b4.entry.js} +2 -2
  565. package/{www/build/p-6a664748.entry.js → dist/web-components-library/p-d5f5e107.entry.js} +2 -2
  566. package/dist/web-components-library/p-d5f5e107.entry.js.map +1 -0
  567. package/dist/web-components-library/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
  568. package/{www/build/p-ae96bc09.entry.js → dist/web-components-library/p-df8c381a.entry.js} +2 -2
  569. package/dist/web-components-library/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
  570. package/dist/web-components-library/{p-609c11d6.entry.js → p-e25d7f0a.entry.js} +2 -2
  571. package/dist/web-components-library/{p-33eea921.entry.js → p-e4d97fbf.entry.js} +2 -2
  572. package/dist/web-components-library/{p-f74f9f3c.entry.js → p-e529a714.entry.js} +2 -2
  573. package/dist/web-components-library/{p-21b85c7f.entry.js → p-ea9c0ff3.entry.js} +2 -2
  574. package/dist/web-components-library/{p-2a7e4988.entry.js → p-f06ad42c.entry.js} +2 -2
  575. package/dist/web-components-library/{p-8499a29d.entry.js → p-f15d0a00.entry.js} +2 -2
  576. package/{www/build/p-63e970ee.entry.js → dist/web-components-library/p-f425c6f2.entry.js} +2 -2
  577. package/dist/web-components-library/p-f703660d.entry.js +2 -0
  578. package/{www/build/p-49e4ce84.entry.js → dist/web-components-library/p-f8bbca6e.entry.js} +2 -2
  579. package/dist/web-components-library/web-components-library.esm.js +1 -1
  580. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  581. package/loader/index.d.ts +3 -0
  582. package/package.json +16 -18
  583. package/www/build/index.esm.js +1 -1
  584. package/www/build/p-04c39e8a.entry.js +2 -0
  585. package/www/build/p-04c39e8a.entry.js.map +1 -0
  586. package/www/build/p-0542a3c9.entry.js +2 -0
  587. package/www/build/p-0542a3c9.entry.js.map +1 -0
  588. package/www/build/{p-6319b5e2.entry.js → p-06d98334.entry.js} +2 -2
  589. package/www/build/{p-2672e36f.entry.js → p-100c6243.entry.js} +2 -2
  590. package/www/build/p-16d625b3.entry.js +2 -0
  591. package/www/build/p-16d625b3.entry.js.map +1 -0
  592. package/{dist/web-components-library/p-28928bb6.entry.js → www/build/p-1896cc54.entry.js} +2 -2
  593. package/{dist/web-components-library/p-19f8c3d2.entry.js → www/build/p-1cc37aa7.entry.js} +2 -2
  594. package/{dist/web-components-library/p-c0bdbfb5.entry.js → www/build/p-273f3c53.entry.js} +2 -2
  595. package/www/build/{p-4f7dd068.entry.js → p-28018cd3.entry.js} +2 -2
  596. package/{dist/web-components-library/p-12d62027.entry.js → www/build/p-296924ea.entry.js} +2 -2
  597. package/www/build/p-2b1fd95a.entry.js +2 -0
  598. package/www/build/{p-99b791d1.entry.js → p-2e432a39.entry.js} +2 -2
  599. package/www/build/{p-af856537.entry.js → p-2f662fea.entry.js} +2 -2
  600. package/www/build/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
  601. package/www/build/p-3ae8fb1a.entry.js +2 -0
  602. package/www/build/{p-304eeab0.js → p-3dbad75e.js} +2 -2
  603. package/{dist/web-components-library/p-be4878f2.entry.js → www/build/p-4537f922.entry.js} +2 -2
  604. package/www/build/{p-91c04edc.entry.js → p-45dc157c.entry.js} +2 -2
  605. package/www/build/{p-e366782c.entry.js → p-46d98609.entry.js} +2 -2
  606. package/{dist/web-components-library/p-7d7c5344.js → www/build/p-4a2e0034.js} +2 -2
  607. package/www/build/p-4f3f8578.entry.js +2 -0
  608. package/www/build/p-5145a606.js +2 -0
  609. package/www/build/p-5145a606.js.map +1 -0
  610. package/{dist/web-components-library/p-e5dc0719.entry.js → www/build/p-51f1c9c0.entry.js} +2 -2
  611. package/{dist/web-components-library/p-e1852de3.entry.js → www/build/p-5a0f0978.entry.js} +2 -2
  612. package/www/build/{p-6586441a.entry.js → p-5a178c69.entry.js} +3 -3
  613. package/www/build/p-5a178c69.entry.js.map +1 -0
  614. package/www/build/{p-cf2640b0.entry.js → p-608c35ba.entry.js} +2 -2
  615. package/{dist/web-components-library/p-cf2640b0.entry.js.map → www/build/p-608c35ba.entry.js.map} +1 -1
  616. package/www/build/{p-26b5c84d.js → p-60f410df.js} +2 -2
  617. package/www/build/p-63ec7bad.entry.js +2 -0
  618. package/www/build/p-64364cbf.entry.js +2 -0
  619. package/www/build/p-64364cbf.entry.js.map +1 -0
  620. package/www/build/p-64aab82f.js +2 -0
  621. package/www/build/p-67e5e8ed.js +2 -0
  622. package/www/build/p-67e5e8ed.js.map +1 -0
  623. package/www/build/{p-57eee056.entry.js → p-68f4fbc8.entry.js} +2 -2
  624. package/www/build/{p-f21bc3a9.entry.js → p-6a1b3e86.entry.js} +2 -2
  625. package/www/build/{p-05e9ae1e.entry.js → p-6db2fd46.entry.js} +2 -2
  626. package/{dist/web-components-library/p-83350b5f.entry.js → www/build/p-707e5f91.entry.js} +2 -2
  627. package/www/build/p-75c4a726.js +3 -0
  628. package/www/build/p-75c4a726.js.map +1 -0
  629. package/{dist/web-components-library/p-85f84e55.entry.js → www/build/p-777ad335.entry.js} +2 -2
  630. package/www/build/p-777ad335.entry.js.map +1 -0
  631. package/{dist/web-components-library/p-b84fa3b6.entry.js → www/build/p-7aba5af3.entry.js} +2 -2
  632. package/www/build/p-7d5bf905.entry.js +2 -0
  633. package/www/build/{p-324ef970.entry.js → p-820b48f6.entry.js} +2 -2
  634. package/www/build/p-823c45d4.entry.js +2 -0
  635. package/{dist/web-components-library/p-8c9f7cef.entry.js → www/build/p-855334f4.entry.js} +2 -2
  636. package/www/build/{p-aa0f083b.js → p-8a6a4d22.js} +2 -2
  637. package/{dist/web-components-library/p-8b309268.entry.js → www/build/p-8d56e74b.entry.js} +2 -2
  638. package/www/build/p-8d56e74b.entry.js.map +1 -0
  639. package/www/build/{p-d9e1d8c7.js → p-95cb8701.js} +2 -2
  640. package/www/build/p-9a1b51ed.entry.js +2 -0
  641. package/{dist/web-components-library/p-ad76b8ff.entry.js.map → www/build/p-9a1b51ed.entry.js.map} +1 -1
  642. package/www/build/{p-4552744b.entry.js → p-9b9a04ad.entry.js} +2 -2
  643. package/www/build/{p-77d8ad7e.entry.js → p-a0fd1323.entry.js} +2 -2
  644. package/www/build/p-a64a1bf0.entry.js +2 -0
  645. package/www/build/p-a64a1bf0.entry.js.map +1 -0
  646. package/www/build/p-aaae6b16.entry.js +2 -0
  647. package/www/build/{p-97b0c3b3.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
  648. package/www/build/p-ab7f129e.entry.js +2 -0
  649. package/www/build/{p-6f4dd02b.entry.js.map → p-ab7f129e.entry.js.map} +1 -1
  650. package/{dist/web-components-library/p-088a31dc.entry.js → www/build/p-acd911aa.entry.js} +2 -2
  651. package/{dist/web-components-library/p-a4ada10b.entry.js → www/build/p-ad97fdc4.entry.js} +2 -2
  652. package/www/build/p-ae5cec65.js +2 -0
  653. package/www/build/{p-57ecb5a7.entry.js → p-b2356bc7.entry.js} +2 -2
  654. package/www/build/p-c1e498ac.entry.js +2 -0
  655. package/www/build/{p-a5781264.entry.js → p-c54d0925.entry.js} +2 -2
  656. package/www/build/p-c679277c.entry.js +2 -0
  657. package/{dist/web-components-library/p-df05727f.entry.js.map → www/build/p-c679277c.entry.js.map} +1 -1
  658. package/www/build/p-cc71a90c.entry.js +2 -0
  659. package/{dist/web-components-library/p-c90249e5.entry.js → www/build/p-cd0219b4.entry.js} +2 -2
  660. package/{dist/web-components-library/p-6a664748.entry.js → www/build/p-d5f5e107.entry.js} +2 -2
  661. package/www/build/p-d5f5e107.entry.js.map +1 -0
  662. package/www/build/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
  663. package/{dist/web-components-library/p-ae96bc09.entry.js → www/build/p-df8c381a.entry.js} +2 -2
  664. package/www/build/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
  665. package/www/build/{p-609c11d6.entry.js → p-e25d7f0a.entry.js} +2 -2
  666. package/www/build/{p-33eea921.entry.js → p-e4d97fbf.entry.js} +2 -2
  667. package/www/build/{p-f74f9f3c.entry.js → p-e529a714.entry.js} +2 -2
  668. package/www/build/{p-21b85c7f.entry.js → p-ea9c0ff3.entry.js} +2 -2
  669. package/www/build/{p-2a7e4988.entry.js → p-f06ad42c.entry.js} +2 -2
  670. package/www/build/{p-8499a29d.entry.js → p-f15d0a00.entry.js} +2 -2
  671. package/{dist/web-components-library/p-63e970ee.entry.js → www/build/p-f425c6f2.entry.js} +2 -2
  672. package/www/build/p-f703660d.entry.js +2 -0
  673. package/{dist/web-components-library/p-49e4ce84.entry.js → www/build/p-f8bbca6e.entry.js} +2 -2
  674. package/www/build/web-components-library.esm.js +1 -1
  675. package/www/build/web-components-library.esm.js.map +1 -1
  676. package/www/index.html +3 -1
  677. package/dist/.storybook/elements/args-controls.js +0 -78
  678. package/dist/.storybook/elements/args-controls.js.map +0 -1
  679. package/dist/.storybook/elements/docs-template.js +0 -11
  680. package/dist/.storybook/elements/docs-template.js.map +0 -1
  681. package/dist/cjs/breakpoints-5c22092a.js +0 -11
  682. package/dist/cjs/breakpoints-5c22092a.js.map +0 -1
  683. package/dist/cjs/index-e801ae96.js.map +0 -1
  684. package/dist/cjs/utils-6bd8c55e.js.map +0 -1
  685. package/dist/collection/assets/orientamento.svg +0 -14
  686. package/dist/collection/components/date-picker/z-date-picker/index.spec.js +0 -38
  687. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +0 -1
  688. package/dist/collection/components/date-picker/z-range-picker/index.spec.js +0 -25
  689. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +0 -1
  690. package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js +0 -203
  691. package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js.map +0 -1
  692. package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js +0 -120
  693. package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js.map +0 -1
  694. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js +0 -50
  695. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js.map +0 -1
  696. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js +0 -55
  697. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +0 -1
  698. package/dist/collection/components/file-upload/z-file/index.spec.js +0 -20
  699. package/dist/collection/components/file-upload/z-file/index.spec.js.map +0 -1
  700. package/dist/collection/components/file-upload/z-file-upload/index.spec.js +0 -135
  701. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +0 -1
  702. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js +0 -69
  703. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +0 -1
  704. package/dist/collection/components/list/z-list/index.spec.js +0 -33
  705. package/dist/collection/components/list/z-list/index.spec.js.map +0 -1
  706. package/dist/collection/components/list/z-list-element/index.spec.js +0 -135
  707. package/dist/collection/components/list/z-list-element/index.spec.js.map +0 -1
  708. package/dist/collection/components/list/z-list-group/index.spec.js +0 -39
  709. package/dist/collection/components/list/z-list-group/index.spec.js.map +0 -1
  710. package/dist/collection/components/z-app-header/index.spec.js +0 -617
  711. package/dist/collection/components/z-app-header/index.spec.js.map +0 -1
  712. package/dist/collection/components/z-aria-alert/index.spec.js +0 -14
  713. package/dist/collection/components/z-aria-alert/index.spec.js.map +0 -1
  714. package/dist/collection/components/z-avatar/index.spec.js +0 -98
  715. package/dist/collection/components/z-avatar/index.spec.js.map +0 -1
  716. package/dist/collection/components/z-book-card/index.spec.js +0 -679
  717. package/dist/collection/components/z-book-card/index.spec.js.map +0 -1
  718. package/dist/collection/components/z-breadcrumb/index.spec.js +0 -39
  719. package/dist/collection/components/z-breadcrumb/index.spec.js.map +0 -1
  720. package/dist/collection/components/z-button/index.spec.js +0 -101
  721. package/dist/collection/components/z-button/index.spec.js.map +0 -1
  722. package/dist/collection/components/z-button-sort/index.spec.js +0 -139
  723. package/dist/collection/components/z-button-sort/index.spec.js.map +0 -1
  724. package/dist/collection/components/z-button-sort/test.e2e.js +0 -29
  725. package/dist/collection/components/z-button-sort/test.e2e.js.map +0 -1
  726. package/dist/collection/components/z-card/index.spec.js +0 -179
  727. package/dist/collection/components/z-card/index.spec.js.map +0 -1
  728. package/dist/collection/components/z-chip/index.spec.js +0 -108
  729. package/dist/collection/components/z-chip/index.spec.js.map +0 -1
  730. package/dist/collection/components/z-chip/test.e2e.js +0 -32
  731. package/dist/collection/components/z-chip/test.e2e.js.map +0 -1
  732. package/dist/collection/components/z-combobox/index.spec.js +0 -475
  733. package/dist/collection/components/z-combobox/index.spec.js.map +0 -1
  734. package/dist/collection/components/z-combobox/test.e2e.js +0 -45
  735. package/dist/collection/components/z-combobox/test.e2e.js.map +0 -1
  736. package/dist/collection/components/z-divider/index.spec.js +0 -82
  737. package/dist/collection/components/z-divider/index.spec.js.map +0 -1
  738. package/dist/collection/components/z-ghost-loading/index.spec.js +0 -16
  739. package/dist/collection/components/z-ghost-loading/index.spec.js.map +0 -1
  740. package/dist/collection/components/z-icon/index.spec.js +0 -96
  741. package/dist/collection/components/z-icon/index.spec.js.map +0 -1
  742. package/dist/collection/components/z-info-box/index.spec.js +0 -71
  743. package/dist/collection/components/z-info-box/index.spec.js.map +0 -1
  744. package/dist/collection/components/z-input/test-checkbox.spec.js +0 -114
  745. package/dist/collection/components/z-input/test-checkbox.spec.js.map +0 -1
  746. package/dist/collection/components/z-input/test-methods.spec.js +0 -13
  747. package/dist/collection/components/z-input/test-methods.spec.js.map +0 -1
  748. package/dist/collection/components/z-input/test-radio.spec.js +0 -114
  749. package/dist/collection/components/z-input/test-radio.spec.js.map +0 -1
  750. package/dist/collection/components/z-input/test-text.spec.js +0 -347
  751. package/dist/collection/components/z-input/test-text.spec.js.map +0 -1
  752. package/dist/collection/components/z-input/test-textarea.spec.js +0 -54
  753. package/dist/collection/components/z-input/test-textarea.spec.js.map +0 -1
  754. package/dist/collection/components/z-input/test.e2e.js +0 -180
  755. package/dist/collection/components/z-input/test.e2e.js.map +0 -1
  756. package/dist/collection/components/z-input-message/index.spec.js +0 -45
  757. package/dist/collection/components/z-input-message/index.spec.js.map +0 -1
  758. package/dist/collection/components/z-logo/index.spec.js +0 -74
  759. package/dist/collection/components/z-logo/index.spec.js.map +0 -1
  760. package/dist/collection/components/z-menu/index.spec.js +0 -136
  761. package/dist/collection/components/z-menu/index.spec.js.map +0 -1
  762. package/dist/collection/components/z-menu-section/index.spec.js +0 -50
  763. package/dist/collection/components/z-menu-section/index.spec.js.map +0 -1
  764. package/dist/collection/components/z-modal/index.spec.js +0 -192
  765. package/dist/collection/components/z-modal/index.spec.js.map +0 -1
  766. package/dist/collection/components/z-modal/test.e2e.js +0 -81
  767. package/dist/collection/components/z-modal/test.e2e.js.map +0 -1
  768. package/dist/collection/components/z-notification/index.spec.js +0 -84
  769. package/dist/collection/components/z-notification/index.spec.js.map +0 -1
  770. package/dist/collection/components/z-notification/test.e2e.js +0 -25
  771. package/dist/collection/components/z-notification/test.e2e.js.map +0 -1
  772. package/dist/collection/components/z-offcanvas/index.spec.js +0 -42
  773. package/dist/collection/components/z-offcanvas/index.spec.js.map +0 -1
  774. package/dist/collection/components/z-pagination/index.spec.js +0 -36
  775. package/dist/collection/components/z-pagination/index.spec.js.map +0 -1
  776. package/dist/collection/components/z-panel-elem/index.spec.js +0 -284
  777. package/dist/collection/components/z-panel-elem/index.spec.js.map +0 -1
  778. package/dist/collection/components/z-searchbar/index.spec.js +0 -395
  779. package/dist/collection/components/z-searchbar/index.spec.js.map +0 -1
  780. package/dist/collection/components/z-searchbar/test.e2e.js +0 -90
  781. package/dist/collection/components/z-searchbar/test.e2e.js.map +0 -1
  782. package/dist/collection/components/z-section-title/index.spec.js +0 -27
  783. package/dist/collection/components/z-section-title/index.spec.js.map +0 -1
  784. package/dist/collection/components/z-select/index.spec.js +0 -698
  785. package/dist/collection/components/z-select/index.spec.js.map +0 -1
  786. package/dist/collection/components/z-select/test.e2e.js +0 -121
  787. package/dist/collection/components/z-select/test.e2e.js.map +0 -1
  788. package/dist/collection/components/z-skip-to-content/index.spec.js +0 -28
  789. package/dist/collection/components/z-skip-to-content/index.spec.js.map +0 -1
  790. package/dist/collection/components/z-stepper/index.spec.js +0 -38
  791. package/dist/collection/components/z-stepper/index.spec.js.map +0 -1
  792. package/dist/collection/components/z-stepper-item/index.spec.js +0 -105
  793. package/dist/collection/components/z-stepper-item/index.spec.js.map +0 -1
  794. package/dist/collection/components/z-tag/index.spec.js +0 -58
  795. package/dist/collection/components/z-tag/index.spec.js.map +0 -1
  796. package/dist/collection/components/z-toast-notification/index.spec.js +0 -104
  797. package/dist/collection/components/z-toast-notification/index.spec.js.map +0 -1
  798. package/dist/collection/components/z-toast-notification-list/index.spec.js +0 -57
  799. package/dist/collection/components/z-toast-notification-list/index.spec.js.map +0 -1
  800. package/dist/collection/components/z-toast-notification-list/test.e2e.js +0 -69
  801. package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +0 -1
  802. package/dist/collection/components/z-toggle-button/index.spec.js +0 -124
  803. package/dist/collection/components/z-toggle-button/index.spec.js.map +0 -1
  804. package/dist/collection/components/z-toggle-button/test.e2e.js +0 -12
  805. package/dist/collection/components/z-toggle-button/test.e2e.js.map +0 -1
  806. package/dist/collection/components/z-toggle-switch/index.spec.js +0 -149
  807. package/dist/collection/components/z-toggle-switch/index.spec.js.map +0 -1
  808. package/dist/collection/components/z-toggle-switch/test.e2e.js +0 -22
  809. package/dist/collection/components/z-toggle-switch/test.e2e.js.map +0 -1
  810. package/dist/collection/components/z-visually-hidden/index.spec.js +0 -18
  811. package/dist/collection/components/z-visually-hidden/index.spec.js.map +0 -1
  812. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js +0 -20
  813. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +0 -1
  814. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js +0 -128
  815. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +0 -1
  816. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js +0 -21
  817. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +0 -1
  818. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js +0 -33
  819. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +0 -1
  820. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js +0 -121
  821. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +0 -1
  822. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js +0 -199
  823. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +0 -1
  824. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js +0 -54
  825. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +0 -1
  826. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js +0 -22
  827. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +0 -1
  828. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js +0 -56
  829. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +0 -1
  830. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js +0 -136
  831. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +0 -1
  832. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js +0 -39
  833. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +0 -1
  834. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js +0 -140
  835. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +0 -1
  836. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js +0 -80
  837. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +0 -1
  838. package/dist/collection/snowflakes/myz/z-alert/index.spec.js +0 -20
  839. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +0 -1
  840. package/dist/collection/snowflakes/myz/z-otp/index.spec.js +0 -74
  841. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +0 -1
  842. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js +0 -23
  843. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +0 -1
  844. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js +0 -193
  845. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +0 -1
  846. package/dist/collection/utils/utils.spec.js +0 -16
  847. package/dist/collection/utils/utils.spec.js.map +0 -1
  848. package/dist/docs/grid/index.stories.js +0 -47
  849. package/dist/docs/grid/index.stories.js.map +0 -1
  850. package/dist/docs/iconset/index.stories.js +0 -32
  851. package/dist/docs/iconset/index.stories.js.map +0 -1
  852. package/dist/docs/themes/index.stories.js +0 -90
  853. package/dist/docs/themes/index.stories.js.map +0 -1
  854. package/dist/esm/breakpoints-680e0e56.js +0 -7
  855. package/dist/esm/breakpoints-680e0e56.js.map +0 -1
  856. package/dist/esm/index-a2130b6a.js.map +0 -1
  857. package/dist/esm/utils-8ade9e2d.js.map +0 -1
  858. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +0 -13
  859. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +0 -5
  860. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
  861. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
  862. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -27
  863. package/dist/web-components-library/p-054484d4.entry.js +0 -2
  864. package/dist/web-components-library/p-054484d4.entry.js.map +0 -1
  865. package/dist/web-components-library/p-0794ae16.entry.js +0 -2
  866. package/dist/web-components-library/p-2c184714.js +0 -2
  867. package/dist/web-components-library/p-2c184714.js.map +0 -1
  868. package/dist/web-components-library/p-2c886e8b.js +0 -2
  869. package/dist/web-components-library/p-2c886e8b.js.map +0 -1
  870. package/dist/web-components-library/p-385bf4ca.entry.js +0 -2
  871. package/dist/web-components-library/p-6586441a.entry.js.map +0 -1
  872. package/dist/web-components-library/p-68822fbc.entry.js +0 -2
  873. package/dist/web-components-library/p-6a664748.entry.js.map +0 -1
  874. package/dist/web-components-library/p-6b2cd695.entry.js +0 -2
  875. package/dist/web-components-library/p-6f4dd02b.entry.js +0 -2
  876. package/dist/web-components-library/p-74a65c6f.entry.js +0 -2
  877. package/dist/web-components-library/p-7d827c11.js +0 -2
  878. package/dist/web-components-library/p-85f84e55.entry.js.map +0 -1
  879. package/dist/web-components-library/p-89584f19.entry.js +0 -2
  880. package/dist/web-components-library/p-8a728e82.entry.js +0 -2
  881. package/dist/web-components-library/p-8a728e82.entry.js.map +0 -1
  882. package/dist/web-components-library/p-8b309268.entry.js.map +0 -1
  883. package/dist/web-components-library/p-8c517cd7.entry.js +0 -2
  884. package/dist/web-components-library/p-8c517cd7.entry.js.map +0 -1
  885. package/dist/web-components-library/p-8d7323f7.entry.js +0 -2
  886. package/dist/web-components-library/p-8d7323f7.entry.js.map +0 -1
  887. package/dist/web-components-library/p-97b0c3b3.entry.js +0 -2
  888. package/dist/web-components-library/p-a7292e1c.entry.js +0 -2
  889. package/dist/web-components-library/p-ad76b8ff.entry.js +0 -2
  890. package/dist/web-components-library/p-cfa39bd3.js +0 -3
  891. package/dist/web-components-library/p-cfa39bd3.js.map +0 -1
  892. package/dist/web-components-library/p-df05727f.entry.js +0 -2
  893. package/dist/web-components-library/p-ed2c8484.entry.js +0 -2
  894. package/dist/web-components-library/p-f8d45aa4.entry.js +0 -2
  895. package/dist/web-components-library/p-fe87b081.entry.js +0 -2
  896. package/dist/web-components-library/p-fe87b081.entry.js.map +0 -1
  897. package/www/assets/orientamento.svg +0 -14
  898. package/www/build/p-054484d4.entry.js +0 -2
  899. package/www/build/p-054484d4.entry.js.map +0 -1
  900. package/www/build/p-0794ae16.entry.js +0 -2
  901. package/www/build/p-2c184714.js +0 -2
  902. package/www/build/p-2c184714.js.map +0 -1
  903. package/www/build/p-2c886e8b.js +0 -2
  904. package/www/build/p-2c886e8b.js.map +0 -1
  905. package/www/build/p-385bf4ca.entry.js +0 -2
  906. package/www/build/p-6586441a.entry.js.map +0 -1
  907. package/www/build/p-68822fbc.entry.js +0 -2
  908. package/www/build/p-6a664748.entry.js.map +0 -1
  909. package/www/build/p-6b2cd695.entry.js +0 -2
  910. package/www/build/p-6f4dd02b.entry.js +0 -2
  911. package/www/build/p-74a65c6f.entry.js +0 -2
  912. package/www/build/p-7d827c11.js +0 -2
  913. package/www/build/p-85f84e55.entry.js.map +0 -1
  914. package/www/build/p-89584f19.entry.js +0 -2
  915. package/www/build/p-8a728e82.entry.js +0 -2
  916. package/www/build/p-8a728e82.entry.js.map +0 -1
  917. package/www/build/p-8b309268.entry.js.map +0 -1
  918. package/www/build/p-8c517cd7.entry.js +0 -2
  919. package/www/build/p-8c517cd7.entry.js.map +0 -1
  920. package/www/build/p-8d7323f7.entry.js +0 -2
  921. package/www/build/p-8d7323f7.entry.js.map +0 -1
  922. package/www/build/p-97b0c3b3.entry.js +0 -2
  923. package/www/build/p-a7292e1c.entry.js +0 -2
  924. package/www/build/p-ad76b8ff.entry.js +0 -2
  925. package/www/build/p-cfa39bd3.js +0 -3
  926. package/www/build/p-cfa39bd3.js.map +0 -1
  927. package/www/build/p-dc60b359.js +0 -2
  928. package/www/build/p-df05727f.entry.js +0 -2
  929. package/www/build/p-ed2c8484.entry.js +0 -2
  930. package/www/build/p-f8d45aa4.entry.js +0 -2
  931. package/www/build/p-fe87b081.entry.js +0 -2
  932. package/www/build/p-fe87b081.entry.js.map +0 -1
  933. /package/dist/web-components-library/{p-6319b5e2.entry.js.map → p-06d98334.entry.js.map} +0 -0
  934. /package/dist/web-components-library/{p-2672e36f.entry.js.map → p-100c6243.entry.js.map} +0 -0
  935. /package/dist/web-components-library/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
  936. /package/dist/web-components-library/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
  937. /package/dist/web-components-library/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
  938. /package/dist/web-components-library/{p-4f7dd068.entry.js.map → p-28018cd3.entry.js.map} +0 -0
  939. /package/dist/web-components-library/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
  940. /package/dist/web-components-library/{p-0794ae16.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
  941. /package/dist/web-components-library/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
  942. /package/dist/web-components-library/{p-af856537.entry.js.map → p-2f662fea.entry.js.map} +0 -0
  943. /package/dist/web-components-library/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
  944. /package/dist/web-components-library/{p-6b2cd695.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
  945. /package/dist/web-components-library/{p-304eeab0.js.map → p-3dbad75e.js.map} +0 -0
  946. /package/dist/web-components-library/{p-be4878f2.entry.js.map → p-4537f922.entry.js.map} +0 -0
  947. /package/dist/web-components-library/{p-91c04edc.entry.js.map → p-45dc157c.entry.js.map} +0 -0
  948. /package/dist/web-components-library/{p-e366782c.entry.js.map → p-46d98609.entry.js.map} +0 -0
  949. /package/dist/web-components-library/{p-7d7c5344.js.map → p-4a2e0034.js.map} +0 -0
  950. /package/dist/web-components-library/{p-68822fbc.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
  951. /package/dist/web-components-library/{p-e5dc0719.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
  952. /package/dist/web-components-library/{p-e1852de3.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
  953. /package/dist/web-components-library/{p-26b5c84d.js.map → p-60f410df.js.map} +0 -0
  954. /package/dist/web-components-library/{p-74a65c6f.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
  955. /package/dist/web-components-library/{p-7d827c11.js.map → p-64aab82f.js.map} +0 -0
  956. /package/dist/web-components-library/{p-57eee056.entry.js.map → p-68f4fbc8.entry.js.map} +0 -0
  957. /package/dist/web-components-library/{p-f21bc3a9.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
  958. /package/dist/web-components-library/{p-05e9ae1e.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
  959. /package/dist/web-components-library/{p-83350b5f.entry.js.map → p-707e5f91.entry.js.map} +0 -0
  960. /package/dist/web-components-library/{p-b84fa3b6.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
  961. /package/dist/web-components-library/{p-a7292e1c.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
  962. /package/dist/web-components-library/{p-324ef970.entry.js.map → p-820b48f6.entry.js.map} +0 -0
  963. /package/dist/web-components-library/{p-ed2c8484.entry.js.map → p-823c45d4.entry.js.map} +0 -0
  964. /package/dist/web-components-library/{p-8c9f7cef.entry.js.map → p-855334f4.entry.js.map} +0 -0
  965. /package/dist/web-components-library/{p-aa0f083b.js.map → p-8a6a4d22.js.map} +0 -0
  966. /package/dist/web-components-library/{p-d9e1d8c7.js.map → p-95cb8701.js.map} +0 -0
  967. /package/dist/web-components-library/{p-4552744b.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
  968. /package/dist/web-components-library/{p-77d8ad7e.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
  969. /package/dist/web-components-library/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
  970. /package/dist/web-components-library/{p-a4ada10b.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
  971. /package/dist/web-components-library/{p-57ecb5a7.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
  972. /package/dist/web-components-library/{p-385bf4ca.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
  973. /package/dist/web-components-library/{p-a5781264.entry.js.map → p-c54d0925.entry.js.map} +0 -0
  974. /package/dist/web-components-library/{p-89584f19.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
  975. /package/dist/web-components-library/{p-c90249e5.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
  976. /package/dist/web-components-library/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
  977. /package/dist/web-components-library/{p-ae96bc09.entry.js.map → p-df8c381a.entry.js.map} +0 -0
  978. /package/dist/web-components-library/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
  979. /package/dist/web-components-library/{p-609c11d6.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
  980. /package/dist/web-components-library/{p-33eea921.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
  981. /package/dist/web-components-library/{p-f74f9f3c.entry.js.map → p-e529a714.entry.js.map} +0 -0
  982. /package/dist/web-components-library/{p-21b85c7f.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
  983. /package/dist/web-components-library/{p-2a7e4988.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
  984. /package/dist/web-components-library/{p-8499a29d.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
  985. /package/dist/web-components-library/{p-63e970ee.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
  986. /package/dist/web-components-library/{p-f8d45aa4.entry.js.map → p-f703660d.entry.js.map} +0 -0
  987. /package/dist/web-components-library/{p-49e4ce84.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
  988. /package/www/build/{p-6319b5e2.entry.js.map → p-06d98334.entry.js.map} +0 -0
  989. /package/www/build/{p-2672e36f.entry.js.map → p-100c6243.entry.js.map} +0 -0
  990. /package/www/build/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
  991. /package/www/build/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
  992. /package/www/build/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
  993. /package/www/build/{p-4f7dd068.entry.js.map → p-28018cd3.entry.js.map} +0 -0
  994. /package/www/build/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
  995. /package/www/build/{p-0794ae16.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
  996. /package/www/build/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
  997. /package/www/build/{p-af856537.entry.js.map → p-2f662fea.entry.js.map} +0 -0
  998. /package/www/build/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
  999. /package/www/build/{p-6b2cd695.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
  1000. /package/www/build/{p-304eeab0.js.map → p-3dbad75e.js.map} +0 -0
  1001. /package/www/build/{p-be4878f2.entry.js.map → p-4537f922.entry.js.map} +0 -0
  1002. /package/www/build/{p-91c04edc.entry.js.map → p-45dc157c.entry.js.map} +0 -0
  1003. /package/www/build/{p-e366782c.entry.js.map → p-46d98609.entry.js.map} +0 -0
  1004. /package/www/build/{p-7d7c5344.js.map → p-4a2e0034.js.map} +0 -0
  1005. /package/www/build/{p-68822fbc.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
  1006. /package/www/build/{p-e5dc0719.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
  1007. /package/www/build/{p-e1852de3.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
  1008. /package/www/build/{p-26b5c84d.js.map → p-60f410df.js.map} +0 -0
  1009. /package/www/build/{p-74a65c6f.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
  1010. /package/www/build/{p-7d827c11.js.map → p-64aab82f.js.map} +0 -0
  1011. /package/www/build/{p-57eee056.entry.js.map → p-68f4fbc8.entry.js.map} +0 -0
  1012. /package/www/build/{p-f21bc3a9.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
  1013. /package/www/build/{p-05e9ae1e.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
  1014. /package/www/build/{p-83350b5f.entry.js.map → p-707e5f91.entry.js.map} +0 -0
  1015. /package/www/build/{p-b84fa3b6.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
  1016. /package/www/build/{p-a7292e1c.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
  1017. /package/www/build/{p-324ef970.entry.js.map → p-820b48f6.entry.js.map} +0 -0
  1018. /package/www/build/{p-ed2c8484.entry.js.map → p-823c45d4.entry.js.map} +0 -0
  1019. /package/www/build/{p-8c9f7cef.entry.js.map → p-855334f4.entry.js.map} +0 -0
  1020. /package/www/build/{p-aa0f083b.js.map → p-8a6a4d22.js.map} +0 -0
  1021. /package/www/build/{p-d9e1d8c7.js.map → p-95cb8701.js.map} +0 -0
  1022. /package/www/build/{p-4552744b.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
  1023. /package/www/build/{p-77d8ad7e.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
  1024. /package/www/build/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
  1025. /package/www/build/{p-a4ada10b.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
  1026. /package/www/build/{p-57ecb5a7.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
  1027. /package/www/build/{p-385bf4ca.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
  1028. /package/www/build/{p-a5781264.entry.js.map → p-c54d0925.entry.js.map} +0 -0
  1029. /package/www/build/{p-89584f19.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
  1030. /package/www/build/{p-c90249e5.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
  1031. /package/www/build/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
  1032. /package/www/build/{p-ae96bc09.entry.js.map → p-df8c381a.entry.js.map} +0 -0
  1033. /package/www/build/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
  1034. /package/www/build/{p-609c11d6.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
  1035. /package/www/build/{p-33eea921.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
  1036. /package/www/build/{p-f74f9f3c.entry.js.map → p-e529a714.entry.js.map} +0 -0
  1037. /package/www/build/{p-21b85c7f.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
  1038. /package/www/build/{p-2a7e4988.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
  1039. /package/www/build/{p-8499a29d.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
  1040. /package/www/build/{p-63e970ee.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
  1041. /package/www/build/{p-f8d45aa4.entry.js.map → p-f703660d.entry.js.map} +0 -0
  1042. /package/www/build/{p-49e4ce84.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
@@ -2,156 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-e801ae96.js');
5
+ const index$1 = require('./index-96af6326.js');
6
6
  const index = require('./index-bab7a651.js');
7
7
 
8
- const stylesCss = ":host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;flex-direction:column;flex-shrink:0;--z-menu-label-color:var(--color-default-text)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{width:100%;padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}.menu-wrapper{display:flex;align-items:center}.menu-wrapper:focus-visible,.menu-label-content:focus-visible,button:focus-visible{outline:none}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;height:30px;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{color:var(--color-primary01);font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content z-icon{color:var(--color-primary01);letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:\"\";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-secondary01)}::slotted([data-text])::after{height:0;content:attr(data-text);content:attr(data-text) / \"\";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot=\"header\"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot=\"header\"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot=\"item\"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot=\"item\"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:focus:focus-visible),.items>::slotted([slot=\"item\"]:active){border-color:var(--color-secondary01);font-weight:var(--font-bd)}";
8
+ const stylesCss = ":host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;height:fit-content;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{position:relative;width:100%;padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;text-align:left}.menu-wrapper{display:flex;align-items:center}button.menu-label{cursor:pointer}.menu-label:focus-within{box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center;border-bottom:var(--border-size-large) solid transparent}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{color:var(--color-primary01);font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content z-icon{color:var(--color-primary01);letter-spacing:normal}:host([vertical-context]) .menu-label-content{padding:var(--space-unit) 0;border-width:var(--border-size-small);border-color:var(--color-surface03)}:host([vertical-context]) .menu-label-content ::slotted(*){padding:0}:host(:is([active],[open])) .menu-label .menu-label-content,.menu-label .menu-label-content:hover,.menu-label:focus-within .menu-label-content{border-color:var(--color-secondary01)}:host([vertical-context]:is([active],[open])) .menu-label .menu-label-content::after,:host([vertical-context]) .menu-label:hover::after,:host([vertical-context]) .menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;height:var(--border-size-large);background-color:var(--color-secondary01);content:\"\"}::slotted([data-text]:not([slot]))::after{height:0;content:attr(data-text);content:attr(data-text) / \"\";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text]:not([slot]))::after{display:none}}::slotted([data-text]:not([slot])){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;padding-bottom:2px;margin:0;appearance:none;color:var(--z-menu-label-color, var(--color-default-text));font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;line-height:1.5}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]:not([vertical-context])) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:0 calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot=\"header\"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot=\"header\"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot=\"item\"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot=\"item\"]:not(z-menu-section)){padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface03)}:host(:not([vertical-context])) .items>::slotted([slot=\"item\"]:not(z-menu-section):last-of-type){border-bottom:0}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:focus:focus-visible),.items>::slotted([slot=\"item\"]:active){border-color:var(--color-secondary01);font-weight:var(--font-bd)}";
9
9
  const ZMenuStyle0 = stylesCss;
10
10
 
11
+ const isZMenuSection = (el) => (el === null || el === void 0 ? void 0 : el.tagName) === "Z-MENU-SECTION";
11
12
  const ZMenu = class {
13
+ get focusableItem() {
14
+ return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));
15
+ }
12
16
  toggle() {
13
17
  if (!this.hasContent) {
14
18
  return;
15
19
  }
16
20
  this.open = !this.open;
17
- this.open ? this.opened.emit() : this.closed.emit();
18
- }
19
- /** Close the floating list when a click is performed outside of this Element. */
20
- handleClick(ev) {
21
- if (!this.floating || !this.open || this.hostElement.contains(ev.target)) {
22
- return;
23
- }
24
- this.reflow();
25
- this.open = false;
26
- this.closed.emit();
27
- }
28
- canvasOpenStatusChanged(e) {
29
- this.currentCanvasOpenStatus = e.detail;
30
- }
31
- handleKeyDown(e) {
32
- if (e.code === index.KeyboardCode.ENTER) {
33
- return;
34
- }
35
- if (this.open && !this.currentCanvasOpenStatus) {
36
- this.handleNavigationSideArrow(e);
37
- }
38
- this.handleArrowsNav(e);
39
- }
40
- handleNavigationSideArrow(e) {
41
- if (e.code !== index.KeyboardCode.ARROW_RIGHT && e.code !== index.KeyboardCode.ARROW_LEFT) {
42
- return;
43
- }
44
- if (e.code === index.KeyboardCode.ARROW_RIGHT) {
45
- const nextElement = this.hostElement.nextElementSibling;
46
- if (!nextElement) {
47
- const firstMenuItem = this.firstElMenu.shadowRoot.querySelector(".menu-label");
48
- firstMenuItem.focus();
49
- this.open = false;
50
- }
51
- if (nextElement && nextElement.tagName === "Z-MENU") {
52
- const menuButton = nextElement.shadowRoot.querySelector(".menu-label");
53
- menuButton.focus();
54
- if (nextElement.children.length > 1) {
55
- nextElement.setAttribute("open", "true");
56
- }
57
- this.open = false;
58
- }
59
- }
60
- else if (e.code === index.KeyboardCode.ARROW_LEFT) {
61
- const prevElement = this.hostElement.previousElementSibling;
62
- if (prevElement.tagName !== "Z-MENU") {
63
- const lastElMenuItem = this.lastElMenu.shadowRoot.querySelector(".menu-label");
64
- lastElMenuItem.focus();
65
- this.open = false;
66
- }
67
- if (prevElement && prevElement.tagName === "Z-MENU") {
68
- const menuButton = prevElement.shadowRoot.querySelector(".menu-label");
69
- menuButton.focus();
70
- if (prevElement.children.length > 1) {
71
- prevElement.setAttribute("open", "true");
72
- }
73
- this.open = false;
74
- }
75
- }
76
- }
77
- handleArrowsNav(e) {
78
- const menuItems = Array.from(this.hostElement.querySelectorAll("[slot='item']"));
79
- const newMenuItems = menuItems.map((el) => {
80
- if (el.tagName === "Z-MENU-SECTION") {
81
- return el.shadowRoot.querySelector("button");
82
- }
83
- return el;
84
- });
85
- if (this.open) {
86
- e.preventDefault();
87
- e.stopPropagation();
88
- if (e.code === index.KeyboardCode.ARROW_DOWN || e.code === index.KeyboardCode.ARROW_UP) {
89
- let nextFocusableItem;
90
- // INFO: reset focus on all menu items
91
- newMenuItems.forEach((item) => item.setAttribute("tabindex", "-1"));
92
- if (e.code === index.KeyboardCode.ARROW_DOWN) {
93
- nextFocusableItem = this.getNextItem(newMenuItems, 1);
94
- }
95
- else if (e.code === index.KeyboardCode.ARROW_UP) {
96
- nextFocusableItem = this.getNextItem(newMenuItems, -1);
97
- }
98
- if (nextFocusableItem) {
99
- nextFocusableItem.setAttribute("tabindex", "0");
100
- nextFocusableItem.focus();
101
- }
102
- }
103
- else if (e.code === index.KeyboardCode.ESC) {
104
- this.focusToParentAndCloseMenu();
105
- }
106
- else if (e.shiftKey && e.code === index.KeyboardCode.TAB) {
107
- this.focusToParentAndCloseMenu();
108
- }
109
- }
110
- }
111
- getNextItem(menuItems, direction) {
112
- if (this.currentIndex === -1) {
113
- this.currentIndex = direction === 1 ? 0 : menuItems.length - 1;
114
- return menuItems[this.currentIndex];
115
- }
116
- this.currentIndex = (this.currentIndex + direction + menuItems.length) % menuItems.length;
117
- return menuItems[this.currentIndex];
118
- }
119
- focusToParentAndCloseMenu() {
120
- const menuButton = this.hostElement.shadowRoot.querySelector(".menu-label");
121
- menuButton.focus();
122
- this.currentIndex = -1;
123
- this.open = false;
124
- }
125
- onOpenChanged() {
126
- if (this.open) {
127
- this.reflow(true);
128
- }
129
- else {
130
- cancelAnimationFrame(this.raf);
131
- }
132
- }
133
- constructor(hostRef) {
134
- index$1.registerInstance(this, hostRef);
135
- this.opened = index$1.createEvent(this, "opened", 7);
136
- this.closed = index$1.createEvent(this, "closed", 7);
137
- this.currentIndex = -1;
138
- this.currentCanvasOpenStatus = false;
139
- this.active = undefined;
140
- this.floating = true;
141
- this.open = false;
142
- this.verticalContext = false;
143
- this.hasHeader = undefined;
144
- this.hasContent = undefined;
145
- this.toggle = this.toggle.bind(this);
146
- this.checkContent = this.checkContent.bind(this);
147
- this.onLabelSlotChange = this.onLabelSlotChange.bind(this);
148
- this.onItemsChange = this.onItemsChange.bind(this);
149
- }
150
- componentWillLoad() {
151
- const menuItems = Array.from(this.hostElement.parentElement.querySelectorAll('[slot="menu"]'));
152
- this.firstElMenu = menuItems[0];
153
- this.lastElMenu = menuItems[menuItems.length - 1];
154
- this.checkContent();
155
21
  }
156
22
  /**
157
23
  * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.
@@ -160,15 +26,16 @@ const ZMenu = class {
160
26
  onLabelSlotChange(ev) {
161
27
  const labelElement = ev.target.assignedElements()[0];
162
28
  labelElement.dataset.text = labelElement === null || labelElement === void 0 ? void 0 : labelElement.textContent;
29
+ this.setLabelA11yAttrs();
163
30
  }
164
31
  /**
165
32
  * Correctly set position of the floating menu in order to prevent overflow.
166
33
  * @param live Should run the method on every refresh frame.
167
34
  */
168
35
  reflow(live = false) {
169
- if (this.content) {
36
+ if (this.content && this.hasContent) {
170
37
  const { style } = this.content;
171
- const { left } = this.hostElement.getBoundingClientRect();
38
+ const { left } = this.host.getBoundingClientRect();
172
39
  const widthPx = getComputedStyle(this.content).width;
173
40
  const width = widthPx ? parseFloat(widthPx.replace("px", "")) : 375;
174
41
  const safeScrollbarSpace = 30;
@@ -182,41 +49,222 @@ const ZMenu = class {
182
49
  * Check if some content slot is set.
183
50
  */
184
51
  checkContent() {
185
- this.hasHeader = !!this.hostElement.querySelectorAll("[slot=header]").length;
186
- this.hasContent = !!this.hostElement.querySelectorAll("[slot=item]").length || this.hasHeader;
52
+ this.hasHeader = !!this.host.querySelectorAll("[slot=header]").length;
53
+ this.hasContent = !!this.host.querySelectorAll("[slot=item]").length || this.hasHeader;
187
54
  }
188
55
  /**
189
- * Set `menuitem` role to all menu items.
190
- * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).
56
+ * Set `menuitem` role to all menu items (ZMenuSection items already have it).
57
+ * Set -1 to the tabindex of the items and 0 to the first one.
191
58
  */
59
+ setItemsA11yAttrs() {
60
+ this.items.forEach((item, index) => {
61
+ const tabindex = index === 0 ? 0 : -1;
62
+ if (isZMenuSection(item)) {
63
+ item.htmlTabindex = tabindex;
64
+ }
65
+ else {
66
+ item.setAttribute("role", "menuitem");
67
+ item.tabIndex = tabindex;
68
+ }
69
+ });
70
+ }
192
71
  onItemsChange() {
193
72
  this.checkContent();
194
- const items = this.hostElement.querySelectorAll("[slot=item]");
195
- items.forEach((item) => {
196
- item.setAttribute("role", "menuitem");
197
- item.setAttribute("tabindex", "-1");
198
- item.dataset.text = item.textContent;
73
+ this.items = Array.from(this.host.children).filter(({ slot }) => slot === "item");
74
+ this.setItemsA11yAttrs();
75
+ this.items.forEach((item) => {
76
+ if (!isZMenuSection(item)) {
77
+ item.dataset.text = item.textContent;
78
+ }
199
79
  });
200
80
  }
201
- focusFirstItemOnKeyUp() {
202
- const firstElement = this.hostElement.querySelectorAll("[slot='item']")[0];
203
- if (firstElement) {
204
- firstElement.focus();
205
- this.currentIndex = 0;
81
+ /**
82
+ * Move focus and adjust the tabindex value of `receiver` and `current` elements,
83
+ * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.
84
+ * If the receiver is a ZMenuSection and it's open, focus its first focusable item.
85
+ */
86
+ moveFocus(receiver, current) {
87
+ if (isZMenuSection(receiver)) {
88
+ receiver.setFocus();
89
+ }
90
+ else {
91
+ receiver.tabIndex = 0;
92
+ setTimeout(() => {
93
+ receiver.focus();
94
+ }, 100);
95
+ }
96
+ if (!current) {
97
+ return;
98
+ }
99
+ if (isZMenuSection(current)) {
100
+ current.htmlTabindex = -1;
101
+ }
102
+ else {
103
+ current.tabIndex = -1;
206
104
  }
207
105
  }
208
- renderMenuLabel() {
106
+ onLabelKeydown(ev) {
107
+ if (ev.key === index.KeyboardCode.ENTER || ev.key === index.KeyboardCode.SPACE) {
108
+ ev.preventDefault();
109
+ ev.stopPropagation();
110
+ this.toggle();
111
+ }
112
+ if (!this.verticalContext) {
113
+ return;
114
+ }
115
+ if (ev.key === index.KeyboardCode.ARROW_RIGHT && !this.open) {
116
+ ev.preventDefault();
117
+ ev.stopPropagation();
118
+ this.open = true;
119
+ return;
120
+ }
121
+ if (ev.key === index.KeyboardCode.ARROW_LEFT && this.open) {
122
+ ev.preventDefault();
123
+ ev.stopPropagation();
124
+ this.open = false;
125
+ }
126
+ }
127
+ /** Set tabindex of the label to 0, then focus it. */
128
+ async setFocus() {
129
+ this.htmlTabindex = 0;
130
+ const label = this.hasContent ? this.labelButton : this.host.firstElementChild;
131
+ label.focus();
132
+ }
133
+ /** Focus the last item. */
134
+ async focusLastItem() {
135
+ this.htmlTabindex = 0;
136
+ this.moveFocus(this.items[this.items.length - 1]);
137
+ }
138
+ onOpenChanged() {
139
+ this.setItemsA11yAttrs();
140
+ if (!this.open) {
141
+ cancelAnimationFrame(this.raf);
142
+ this.closed.emit();
143
+ this.items.forEach((item) => {
144
+ if (isZMenuSection(item) && item.open) {
145
+ item.open = false;
146
+ }
147
+ });
148
+ return;
149
+ }
150
+ this.opened.emit();
151
+ if (this.floating) {
152
+ this.reflow(true);
153
+ }
154
+ }
155
+ setLabelA11yAttrs() {
156
+ if (this.hasContent && !this.labelButton) {
157
+ return;
158
+ }
209
159
  if (this.hasContent) {
210
- return (index$1.h("div", { class: "menu-wrapper" }, index$1.h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle, onKeyUp: this.focusFirstItemOnKeyUp.bind(this) }, index$1.h("div", { class: "menu-label-content" }, index$1.h("slot", { onSlotchange: this.onLabelSlotChange }), index$1.h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" })))));
160
+ this.labelButton.tabIndex = this.htmlTabindex;
161
+ return;
211
162
  }
212
- return (index$1.h("div", { class: "menu-wrapper" }, index$1.h("div", { class: "menu-label" }, index$1.h("div", { class: "menu-label-content" }, index$1.h("slot", { onSlotchange: this.onLabelSlotChange })))));
163
+ const slottedLabel = this.host.firstElementChild;
164
+ slottedLabel.role = "menuitem";
165
+ slottedLabel.tabIndex = this.htmlTabindex;
166
+ }
167
+ onKeyDown(ev) {
168
+ if (!this.hasContent) {
169
+ return;
170
+ }
171
+ switch (ev.key) {
172
+ case index.KeyboardCode.ESC:
173
+ ev.stopPropagation();
174
+ ev.preventDefault();
175
+ this.open = false;
176
+ this.setFocus();
177
+ break;
178
+ case index.KeyboardCode.ARROW_DOWN: {
179
+ if (this.verticalContext && document.activeElement === this.host && !this.open) {
180
+ break;
181
+ }
182
+ if (document.activeElement === this.host) {
183
+ if (!this.open) {
184
+ this.open = true;
185
+ }
186
+ ev.stopPropagation();
187
+ ev.preventDefault();
188
+ this.moveFocus(this.items[0]);
189
+ break;
190
+ }
191
+ const currentIndex = this.items.indexOf(this.focusableItem);
192
+ const receiver = this.items[currentIndex + 1];
193
+ if (this.verticalContext && !receiver) {
194
+ break;
195
+ }
196
+ ev.stopPropagation();
197
+ ev.preventDefault();
198
+ // if the last item is already focused, navigate to the first one
199
+ this.moveFocus(receiver !== null && receiver !== void 0 ? receiver : this.items[0], this.focusableItem);
200
+ break;
201
+ }
202
+ case index.KeyboardCode.ARROW_UP: {
203
+ if (this.verticalContext && document.activeElement === this.host) {
204
+ break;
205
+ }
206
+ if (document.activeElement === this.host) {
207
+ // open the menu and focus the last item
208
+ if (!this.open) {
209
+ this.open = true;
210
+ }
211
+ ev.stopPropagation();
212
+ ev.preventDefault();
213
+ this.moveFocus(this.items[this.items.length - 1], this.focusableItem);
214
+ break;
215
+ }
216
+ ev.stopPropagation();
217
+ ev.preventDefault();
218
+ const currentIndex = this.items.indexOf(this.focusableItem);
219
+ const receiver = this.items[currentIndex - 1];
220
+ if (!receiver && this.verticalContext) {
221
+ this.setFocus();
222
+ break;
223
+ }
224
+ if (isZMenuSection(receiver) && receiver.open) {
225
+ isZMenuSection(this.focusableItem)
226
+ ? (this.focusableItem.htmlTabindex = -1)
227
+ : (this.focusableItem.tabIndex = -1);
228
+ receiver.focusLastItem();
229
+ break;
230
+ }
231
+ // if the first item is already focused, navigate to the last one
232
+ this.moveFocus(receiver !== null && receiver !== void 0 ? receiver : this.items[this.items.length - 1], this.focusableItem);
233
+ break;
234
+ }
235
+ }
236
+ }
237
+ constructor(hostRef) {
238
+ index$1.registerInstance(this, hostRef);
239
+ this.opened = index$1.createEvent(this, "opened", 7);
240
+ this.closed = index$1.createEvent(this, "closed", 7);
241
+ this.active = undefined;
242
+ this.floating = true;
243
+ this.open = false;
244
+ this.verticalContext = false;
245
+ this.htmlTabindex = -1;
246
+ this.hasHeader = undefined;
247
+ this.hasContent = undefined;
248
+ this.toggle = this.toggle.bind(this);
249
+ this.checkContent = this.checkContent.bind(this);
250
+ this.onLabelSlotChange = this.onLabelSlotChange.bind(this);
251
+ this.onItemsChange = this.onItemsChange.bind(this);
252
+ this.onLabelKeydown = this.onLabelKeydown.bind(this);
253
+ }
254
+ connectedCallback() {
255
+ this.onItemsChange();
256
+ this.setLabelA11yAttrs();
213
257
  }
214
258
  render() {
215
- return (index$1.h(index$1.Host, { key: 'e2ab0535d927c4ef1dbaf75746a1e7ee1a87858a' }, this.renderMenuLabel(), this.hasContent && (index$1.h("div", { key: '3f0a5da5e77bd229ff0ee232afbbf0273d4245cf', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (index$1.h("header", { key: '4264de0204704ad5f16cb1b0617532220ab121fb', class: "header" }, index$1.h("slot", { key: '6b88411ff1c87fa1d12f2e6dedcec19605921df9', name: "header", onSlotchange: this.checkContent }))), index$1.h("div", { key: '4fab11ecc9b79b5b95d3238da7f25b05b6e36ec9', class: "items", role: "menu" }, index$1.h("slot", { key: '42d1e2006d0588e337a5cb9df4688081e128c9f9', name: "item", onSlotchange: this.onItemsChange }))))));
259
+ if (!this.hasContent) {
260
+ return (index$1.h("div", { class: "menu-wrapper" }, index$1.h("div", { class: "menu-label" }, index$1.h("div", { class: "menu-label-content" }, index$1.h("slot", { onSlotchange: this.onLabelSlotChange })))));
261
+ }
262
+ return (index$1.h(index$1.Host, null, index$1.h("div", { class: "menu-wrapper" }, index$1.h("button", { ref: (el) => (this.labelButton = el), class: "menu-label", "aria-expanded": `${!!this.open}`, "aria-haspopup": `${this.hasContent}`, "aria-label": this.open ? "Chiudi menù" : "Apri menù", role: "menuitem", tabindex: this.htmlTabindex, onClick: this.toggle, onKeyDown: this.onLabelKeydown }, index$1.h("div", { class: "menu-label-content" }, index$1.h("slot", { onSlotchange: this.onLabelSlotChange }), index$1.h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" })))), index$1.h("div", { class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (index$1.h("header", { class: "header" }, index$1.h("slot", { name: "header", onSlotchange: this.checkContent }))), index$1.h("div", { class: "items", role: "menu" }, index$1.h("slot", { name: "item", onSlotchange: this.onItemsChange })))));
216
263
  }
217
- get hostElement() { return index$1.getElement(this); }
264
+ get host() { return index$1.getElement(this); }
218
265
  static get watchers() { return {
219
- "open": ["onOpenChanged"]
266
+ "open": ["onOpenChanged"],
267
+ "htmlTabindex": ["setLabelA11yAttrs"]
220
268
  }; }
221
269
  };
222
270
  ZMenu.style = ZMenuStyle0;
@@ -1 +1 @@
1
- {"file":"z-menu.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,2/HAA2/H,CAAC;AAC9gI,oBAAe,SAAS;;MCaX,KAAK;IAqDR,MAAM;QACZ,I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P;KACH;;;;;;;;;;","names":["KeyboardCode","h","Host"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n position: relative;\n display: inline-flex;\n flex-direction: column;\n flex-shrink: 0;\n\n --z-menu-label-color: var(--color-default-text);\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n width: 100%;\n padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n outline: none;\n text-align: left;\n}\n\n.menu-wrapper {\n display: flex;\n align-items: center;\n}\n\n.menu-wrapper:focus-visible,\n.menu-label-content:focus-visible,\nbutton:focus-visible {\n outline: none;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n z-index: 1;\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n height: 30px;\n align-items: center;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content z-icon {\n color: var(--color-primary01);\n letter-spacing: normal;\n}\n\n:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible) {\n box-shadow: none !important;\n}\n\n/* border */\n:host(:is([active], [open], [vertical-context])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n content: \"\";\n pointer-events: none;\n}\n\n:host([vertical-context]) .menu-label-content::after {\n height: var(--border-size-small);\n background-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n height: var(--border-size-large);\n background-color: var(--color-secondary01);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text])::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.menu-label .menu-label-content ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n outline: none;\n}\n\n.menu-label .menu-label-content ::slotted(*),\n.menu-label .menu-label-content z-icon {\n padding: var(--space-unit) 0;\n}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active) {\n border-color: var(--color-secondary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() hostElement: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n private content: HTMLElement;\n\n /** Animation frame request id. */\n private raf: number;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private currentIndex = -1;\n\n private currentCanvasOpenStatus = false;\n\n private firstElMenu: HTMLMenuElement;\n\n private lastElMenu: HTMLMenuElement;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n this.open ? this.opened.emit() : this.closed.emit();\n }\n\n /** Close the floating list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.floating || !this.open || this.hostElement.contains(ev.target as Element)) {\n return;\n }\n\n this.reflow();\n this.open = false;\n this.closed.emit();\n }\n\n @Listen(\"canvasOpenStatusChanged\", {target: \"document\"})\n canvasOpenStatusChanged(e: CustomEvent): void {\n this.currentCanvasOpenStatus = e.detail;\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ENTER) {\n return;\n }\n\n if (this.open && !this.currentCanvasOpenStatus) {\n this.handleNavigationSideArrow(e);\n }\n\n this.handleArrowsNav(e);\n }\n\n private handleNavigationSideArrow(e: KeyboardEvent): void {\n if (e.code !== KeyboardCode.ARROW_RIGHT && e.code !== KeyboardCode.ARROW_LEFT) {\n return;\n }\n\n if (e.code === KeyboardCode.ARROW_RIGHT) {\n const nextElement = this.hostElement.nextElementSibling;\n\n if (!nextElement) {\n const firstMenuItem = this.firstElMenu.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n firstMenuItem.focus();\n this.open = false;\n }\n\n if (nextElement && nextElement.tagName === \"Z-MENU\") {\n const menuButton = nextElement.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n menuButton.focus();\n\n if (nextElement.children.length > 1) {\n nextElement.setAttribute(\"open\", \"true\");\n }\n this.open = false;\n }\n } else if (e.code === KeyboardCode.ARROW_LEFT) {\n const prevElement = this.hostElement.previousElementSibling;\n if (prevElement.tagName !== \"Z-MENU\") {\n const lastElMenuItem = this.lastElMenu.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n lastElMenuItem.focus();\n this.open = false;\n }\n if (prevElement && prevElement.tagName === \"Z-MENU\") {\n const menuButton = prevElement.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n menuButton.focus();\n if (prevElement.children.length > 1) {\n prevElement.setAttribute(\"open\", \"true\");\n }\n this.open = false;\n }\n }\n }\n\n private handleArrowsNav(e: KeyboardEvent): void {\n const menuItems = Array.from(this.hostElement.querySelectorAll(\"[slot='item']\")) as HTMLElement[];\n const newMenuItems = menuItems.map((el) => {\n if (el.tagName === \"Z-MENU-SECTION\") {\n return el.shadowRoot.querySelector(\"button\");\n }\n\n return el;\n });\n\n if (this.open) {\n e.preventDefault();\n e.stopPropagation();\n\n if (e.code === KeyboardCode.ARROW_DOWN || e.code === KeyboardCode.ARROW_UP) {\n let nextFocusableItem: HTMLElement;\n // INFO: reset focus on all menu items\n newMenuItems.forEach((item: HTMLElement) => item.setAttribute(\"tabindex\", \"-1\"));\n\n if (e.code === KeyboardCode.ARROW_DOWN) {\n nextFocusableItem = this.getNextItem(newMenuItems, 1);\n } else if (e.code === KeyboardCode.ARROW_UP) {\n nextFocusableItem = this.getNextItem(newMenuItems, -1);\n }\n\n if (nextFocusableItem) {\n nextFocusableItem.setAttribute(\"tabindex\", \"0\");\n nextFocusableItem.focus();\n }\n } else if (e.code === KeyboardCode.ESC) {\n this.focusToParentAndCloseMenu();\n } else if (e.shiftKey && e.code === KeyboardCode.TAB) {\n this.focusToParentAndCloseMenu();\n }\n }\n }\n\n private getNextItem(menuItems: HTMLElement[], direction: number): HTMLElement {\n if (this.currentIndex === -1) {\n this.currentIndex = direction === 1 ? 0 : menuItems.length - 1;\n\n return menuItems[this.currentIndex];\n }\n\n this.currentIndex = (this.currentIndex + direction + menuItems.length) % menuItems.length;\n\n return menuItems[this.currentIndex];\n }\n\n private focusToParentAndCloseMenu(): void {\n const menuButton = this.hostElement.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n menuButton.focus();\n this.currentIndex = -1;\n this.open = false;\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (this.open) {\n this.reflow(true);\n } else {\n cancelAnimationFrame(this.raf);\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n }\n\n componentWillLoad(): void {\n const menuItems = Array.from(this.hostElement.parentElement.querySelectorAll('[slot=\"menu\"]'));\n this.firstElMenu = menuItems[0] as HTMLMenuElement;\n this.lastElMenu = menuItems[menuItems.length - 1] as HTMLMenuElement;\n\n this.checkContent();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content) {\n const {style} = this.content;\n const {left} = this.hostElement.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.hostElement.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.hostElement.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items.\n * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).\n */\n private onItemsChange(): void {\n this.checkContent();\n const items = this.hostElement.querySelectorAll<HTMLElement>(\"[slot=item]\");\n items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.setAttribute(\"tabindex\", \"-1\");\n item.dataset.text = item.textContent;\n });\n }\n\n private focusFirstItemOnKeyUp(): void {\n const firstElement = this.hostElement.querySelectorAll(\"[slot='item']\")[0] as HTMLElement;\n if (firstElement) {\n firstElement.focus();\n this.currentIndex = 0;\n }\n }\n\n private renderMenuLabel(): HTMLButtonElement | HTMLDivElement {\n if (this.hasContent) {\n return (\n <div class=\"menu-wrapper\">\n <button\n class=\"menu-label\"\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n onClick={this.toggle}\n onKeyUp={this.focusFirstItemOnKeyUp.bind(this)}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n </div>\n );\n }\n\n return (\n <div class=\"menu-wrapper\">\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n </div>\n </div>\n </div>\n );\n }\n\n render(): HTMLZMenuElement {\n return (\n <Host>\n {this.renderMenuLabel()}\n\n {this.hasContent && (\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n ></slot>\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n ></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-menu.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,67HAA67H,CAAC;AACh9H,oBAAe,SAAS;;ACExB,MAAM,cAAc,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BAAoB,IAC7BA,oBAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,CAC1C,CACF,CACF,EACN;SACH;QAED,QACEA,UAACC,YAAI,QACHD,mBAAK,KAAK,EAAC,cAAc,IACvBA,sBACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EACpC,KAAK,EAAC,YAAY,mBACH,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,mBAChB,GAAG,IAAI,CAAC,UAAU,EAAE,gBACvB,IAAI,CAAC,IAAI,GAAG,aAAa,GAAG,WAAW,EACnD,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,SAAS,EAAE,IAAI,CAAC,cAAc,IAE9BA,mBAAK,KAAK,EAAC,oBAAoB,IAC7BA,oBAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAC9CA,sBAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACvD,CACC,CACL,EAENA,mBACE,KAAK,EAAC,SAAS,EACf,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAE/B,IAAI,CAAC,SAAS,KACbA,sBAAQ,KAAK,EAAC,QAAQ,IACpBA,oBACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE,IAAI,CAAC,YAAY,GAC/B,CACK,CACV,EAEDA,mBACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEXA,oBACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;","names":["KeyboardCode","h","Host"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n width: 100%;\n padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\n.menu-wrapper {\n display: flex;\n align-items: center;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n align-items: center;\n border-bottom: var(--border-size-large) solid transparent;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content z-icon {\n color: var(--color-primary01);\n letter-spacing: normal;\n}\n\n:host([vertical-context]) .menu-label-content {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host([vertical-context]) .menu-label-content ::slotted(*) {\n padding: 0;\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content,\n.menu-label .menu-label-content:hover,\n.menu-label:focus-within .menu-label-content {\n border-color: var(--color-secondary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label .menu-label-content::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-secondary01);\n content: \"\";\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.menu-label .menu-label-content ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:not(z-menu-section):last-of-type) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active) {\n border-color: var(--color-secondary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `active` HTML attribute on the element to highlight it. Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop()\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabindex;\n } else {\n item.setAttribute(\"role\", \"menuitem\");\n item.tabIndex = tabindex;\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n if (isZMenuSection(current)) {\n current.htmlTabindex = -1;\n } else {\n current.tabIndex = -1;\n }\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_LEFT && this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /** Focus the last item. */\n @Method()\n async focusLastItem(): Promise<void> {\n this.htmlTabindex = 0;\n this.moveFocus(this.items[this.items.length - 1]);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n this.setItemsA11yAttrs();\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && !this.labelButton) {\n return;\n }\n\n if (this.hasContent) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (this.verticalContext && document.activeElement === this.host && !this.open) {\n break;\n }\n\n if (document.activeElement === this.host) {\n if (!this.open) {\n this.open = true;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex + 1];\n if (this.verticalContext && !receiver) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (this.verticalContext && document.activeElement === this.host) {\n break;\n }\n\n if (document.activeElement === this.host) {\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex - 1];\n if (!receiver && this.verticalContext) {\n this.setFocus();\n break;\n }\n\n if (isZMenuSection(receiver) && receiver.open) {\n isZMenuSection(this.focusableItem)\n ? (this.focusableItem.htmlTabindex = -1)\n : (this.focusableItem.tabIndex = -1);\n receiver.focusLastItem();\n break;\n }\n\n // if the first item is already focused, navigate to the last one\n this.moveFocus(receiver ?? this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n connectedCallback(): void {\n this.onItemsChange();\n this.setLabelA11yAttrs();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-wrapper\">\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div class=\"menu-wrapper\">\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabindex={this.htmlTabindex}\n onClick={this.toggle}\n onKeyDown={this.onLabelKeydown}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n </div>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e801ae96.js');
5
+ const index = require('./index-96af6326.js');
6
6
  const index$1 = require('./index-bab7a651.js');
7
7
 
8
8
  const stylesCss = ":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.add-alert{background:var(--color-success-inverse)}:host div.remove-alert{background:var(--color-warning-inverse)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";
@@ -56,7 +56,7 @@ const ZMyzCardAlert = class {
56
56
  }
57
57
  }
58
58
  render() {
59
- return (index.h("div", { key: 'e488b304fcdd145b3ce0ba375d36a997a646eec9', class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { key: '256f5d68375a9c8c187785cfdbd6272b8cc449f9', type: this.getAlertType() }, index.h("div", { key: '9f3d7e43b28f3fc92bf1e627475af9a9f0464799', class: "relative-container" }, index.h("z-icon", { key: '6c9e26abc686e0d6020d7c6398a8575e6e8ac543', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { key: 'b4b997286c4e5250c5b856f0d375ad49162c92df', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { key: '18020fe9e8180577a168a25c0ba17464cedf70c0', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
59
+ return (index.h("div", { key: 'fdf3b3e5397d3dd7efc7d97473a4cc62f9a02d44', class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { key: 'ffa276128f4f85801b8c6595edafa793e62c09bf', type: this.getAlertType() }, index.h("div", { key: 'f1f95d118588729d146322f9c223f53b4a0804e9', class: "relative-container" }, index.h("z-icon", { key: 'd9169d7b7f5542ec967993850503a2834d18cb37', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { key: 'd9fe4a9a0c925e5cf2dce5cc50974c02d63c497b', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { key: '4e537fe8adb30714f0cb27a96ad99a6cf49f2acc', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
60
60
  this.handleActionButtonClick(e);
61
61
  }, onKeyPress: (e) => {
62
62
  this.handleSpaceKeyPress(e);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e801ae96.js');
5
+ const index = require('./index-96af6326.js');
6
6
  const index$1 = require('./index-bab7a651.js');
7
7
 
8
8
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";
@@ -27,7 +27,7 @@ const ZMyzCardDictionary = class {
27
27
  this.cardFlipped.emit(showBack);
28
28
  }
29
29
  render() {
30
- return (index.h("div", { key: 'd86e3c2140c9100c3bac377380a4fff77d089153' }, index.h("z-myz-card", { key: '34a3f2a9bfe747865ad3a4dca7f0ec106b1fe567' }, index.h("z-myz-card-header", { key: 'dc172fabf38338d7fd89af67a80da6918a1c0918', titolo: this.name }), index.h("div", { key: '8d0b945f35287a60658cf37b15440f8b66c98b65', class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { key: '7b205650b760c3fb8f7d538bbfe5d2a73e237992', class: "front" }, index.h("z-myz-card-body", { key: 'c8fe772333350bc8ef4643f04e0585b80fea7e83' }, index.h("z-myz-card-cover", { key: 'a1b65f443fdf541dee8b21fb3709362ed6eaff4f', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { key: 'e5b8bb0a7543a5f1e3954564f4cd28c11963b0aa', class: { "hide-info": this.hideinfobtn }, variant: index$1.ButtonVariant.SECONDARY, icon: "informationsource", size: index$1.ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { key: 'ce3cfb76aac872409b162b80c6659799c17ea6ed', class: "back" }, index.h("slot", { key: 'eafdc479751d3326775dd01f1ced2ac9a9df189f', name: "info" }))), index.h("slot", { key: '4e4d018a5ca6c9282985d7fb978abb738675fa52' }))));
30
+ return (index.h("div", { key: '5f4b35325a1b33b49f10e1c0009ba0aef368bda3' }, index.h("z-myz-card", { key: '25c1f34f2ebe744132822f8637a54feaeff0fa7a' }, index.h("z-myz-card-header", { key: '0b0b1144271c7f5b75bc05bd7fd6e80d9f20244e', titolo: this.name }), index.h("div", { key: '508459cbf9949b90b7266be3b2d42a3474a05882', class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { key: '4416070294cbee0ecb0751afa54943a58fdb2816', class: "front" }, index.h("z-myz-card-body", { key: 'cef16ad669fcc00368191d71aae674210ec96781' }, index.h("z-myz-card-cover", { key: '559ae7ae9c8473b70793e086731e95bd93017989', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { key: '31808feee0e2aaa301f654d710eeb02bebc31c55', class: { "hide-info": this.hideinfobtn }, variant: index$1.ButtonVariant.SECONDARY, icon: "informationsource", size: index$1.ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { key: 'e4086e4ac6cc3d81505174eb274a4057aee9e462', class: "back" }, index.h("slot", { key: '670b96387b02d5a9b2d4c23512cb57a0301e4bc6', name: "info" }))), index.h("slot", { key: 'e1fc9e4977bfb1668fbb51ad54e49d5e0f26749c' }))));
31
31
  }
32
32
  };
33
33
  ZMyzCardDictionary.style = ZMyzCardDictionaryStyle0;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e801ae96.js');
5
+ const index = require('./index-96af6326.js');
6
6
 
7
7
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{height:128px;box-sizing:border-box;padding:var(--space-unit) calc(var(--space-unit) * 2) 0;border-top:var(--border-size-medium) solid var(--color-surface03);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";
8
8
  const ZMyzCardFooterSectionsStyle0 = stylesCss;
@@ -12,7 +12,7 @@ const ZMyzCardFooterSections = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h("div", { key: '460ccb7066c598d7712f468b8b77850190fd6088' }, index.h("footer", { key: '14789b182cd02636149dd501d8963e23bf9893ff' }, index.h("div", { key: 'f618c2e4c24c9488aa6090c6629d846c72b9868c', class: "top" }, index.h("slot", { key: '9fdbc5aeb537308c6a0a1197de2490749d8710a8', name: "top" })), index.h("div", { key: '900ff46313ca3d71e7e501f6c7d9e531ec41cdfb', class: "bottom" }, index.h("slot", { key: 'abac3671bea6c55bb0e18d6c05899e4ae9be3895', name: "bottom" })))));
15
+ return (index.h("div", { key: '0344c4e070449ed8a08e4dded7a71e6ac4911928' }, index.h("footer", { key: '96a2a91d1471369f14930a65a30cd7e2a1cefe89' }, index.h("div", { key: 'e5a888a9b4b7f7304180d312180f1f9b21b8c815', class: "top" }, index.h("slot", { key: 'e58c11948649ca7810f507bbddf84dd37bb631df', name: "top" })), index.h("div", { key: '2167d5af09430d8c3dbf018aabd8d610274e9615', class: "bottom" }, index.h("slot", { key: 'd3e0867c0d92f240d83954e127a5c2342139d8d0', name: "bottom" })))));
16
16
  }
17
17
  };
18
18
  ZMyzCardFooterSections.style = ZMyzCardFooterSectionsStyle0;