@zanichelli/albe-web-components 5.5.5 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. package/dist/cjs/{index-3dd0f9bd.js → index-745c0423.js} +10 -0
  2. package/dist/cjs/{index-84b7063a.js → index-e3299e0a.js} +848 -278
  3. package/dist/cjs/index.cjs.js +14 -2
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/{utils-29f9ccf5.js → utils-4647eb06.js} +1 -1
  6. package/dist/cjs/{utils-4a419726.js → utils-dfe717c7.js} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +3 -3
  8. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-switcher_9.cjs.entry.js +4 -4
  11. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  12. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  13. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/z-button-deprecated.cjs.entry.js +2 -2
  15. package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
  16. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  17. package/dist/cjs/z-button.cjs.entry.js +2 -2
  18. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  19. package/dist/cjs/z-card.cjs.entry.js +2 -2
  20. package/dist/cjs/z-carousel.cjs.entry.js +117 -5
  21. package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
  22. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  23. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  24. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  25. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  26. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  27. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  28. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  29. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  30. package/dist/cjs/z-file.cjs.entry.js +2 -2
  31. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  32. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  34. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  35. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  36. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  37. package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
  38. package/dist/cjs/z-input-label_2.cjs.entry.js +3 -3
  39. package/dist/cjs/z-list-group.cjs.entry.js +2 -2
  40. package/dist/cjs/z-list_2.cjs.entry.js +2 -2
  41. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  42. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  43. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  45. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  46. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  48. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  49. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  50. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  51. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  52. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  53. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  54. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  55. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  56. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  57. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +2 -2
  58. package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
  59. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  60. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  61. package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
  62. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  63. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  64. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  65. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  66. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  67. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  68. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  69. package/dist/cjs/z-popover-deprecated.cjs.entry.js +3 -3
  70. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  71. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  72. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  73. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  74. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  75. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  76. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  77. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  79. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  82. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  83. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  85. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  86. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  87. package/dist/cjs/z-table.cjs.entry.js +2 -2
  88. package/dist/cjs/z-tag.cjs.entry.js +1 -1
  89. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  91. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  92. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  93. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
  94. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  95. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  96. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  97. package/dist/collection/beans/index.js +10 -0
  98. package/dist/collection/collection-manifest.json +2 -2
  99. package/dist/collection/components/buttons/z-button/index.js +202 -200
  100. package/dist/collection/components/buttons/z-button-sort/index.js +178 -173
  101. package/dist/collection/components/buttons/z-chip/index.js +105 -102
  102. package/dist/collection/components/buttons/z-toggle-button/index.js +100 -94
  103. package/dist/collection/components/buttons/z-toggle-switch/index.js +110 -106
  104. package/dist/collection/components/date-picker/z-date-picker/index.js +129 -118
  105. package/dist/collection/components/date-picker/z-range-picker/index.js +168 -160
  106. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +31 -29
  107. package/dist/collection/components/file-upload/z-file/index.js +93 -85
  108. package/dist/collection/components/file-upload/z-file-upload/index.js +193 -196
  109. package/dist/collection/components/footer/z-footer/index.js +165 -197
  110. package/dist/collection/components/footer/z-footer-link/index.js +33 -28
  111. package/dist/collection/components/footer/z-footer-section/index.js +39 -37
  112. package/dist/collection/components/footer/z-footer-social/index.js +65 -60
  113. package/dist/collection/components/icons/z-icon/index.js +96 -90
  114. package/dist/collection/components/icons/z-icon-package/index.js +12 -10
  115. package/dist/collection/components/indicators/z-stepper/index.js +11 -7
  116. package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
  117. package/dist/collection/components/inputs/z-combobox/index.js +319 -320
  118. package/dist/collection/components/inputs/z-input/index.js +522 -530
  119. package/dist/collection/components/inputs/z-input-message/index.js +53 -49
  120. package/dist/collection/components/inputs/z-select/index.js +333 -327
  121. package/dist/collection/components/list/z-list/index.js +38 -33
  122. package/dist/collection/components/list/z-list-element/index.js +287 -282
  123. package/dist/collection/components/list/z-list-group/index.js +100 -98
  124. package/dist/collection/components/list/z-toast-notification-list/index.js +60 -53
  125. package/dist/collection/components/logo/z-logo/index.js +113 -108
  126. package/dist/collection/components/modal/z-modal/index.js +129 -130
  127. package/dist/collection/components/modal/z-modal-login/index.js +170 -194
  128. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -163
  129. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +205 -195
  130. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +93 -87
  131. package/dist/collection/components/navigation/z-app-header/index.js +136 -146
  132. package/dist/collection/components/navigation/z-app-switcher/index.js +60 -51
  133. package/dist/collection/components/navigation/z-app-topbar/index.js +120 -120
  134. package/dist/collection/components/navigation/z-link/index.js +243 -237
  135. package/dist/collection/components/navigation/z-menu/index.js +128 -123
  136. package/dist/collection/components/navigation/z-menu-dropdown/index.js +76 -76
  137. package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
  138. package/dist/collection/components/navigation/z-user-dropdown/index.js +164 -167
  139. package/dist/collection/components/notification/z-candybar/index.js +12 -9
  140. package/dist/collection/components/notification/z-cookiebar/index.js +80 -80
  141. package/dist/collection/components/notification/z-info-box/index.js +67 -61
  142. package/dist/collection/components/notification/z-notification/index.js +157 -153
  143. package/dist/collection/components/notification/z-toast-notification/index.js +216 -215
  144. package/dist/collection/components/notification/z-tooltip/index.js +100 -93
  145. package/dist/collection/components/panel/z-panel-elem/index.js +172 -172
  146. package/dist/collection/components/typography/z-body/index.js +56 -55
  147. package/dist/collection/components/typography/z-heading/index.js +56 -55
  148. package/dist/collection/components/typography/z-typography/index.js +68 -62
  149. package/dist/collection/components/z-aria-alert/index.js +24 -23
  150. package/dist/collection/components/z-avatar/index.js +104 -100
  151. package/dist/collection/components/z-card/index.js +124 -126
  152. package/dist/collection/components/z-carousel/index.js +268 -47
  153. package/dist/collection/components/z-carousel/styles.css +107 -2
  154. package/dist/collection/components/z-contextual-menu/index.js +91 -92
  155. package/dist/collection/components/z-cover-hero/index.js +63 -65
  156. package/dist/collection/components/z-divider/index.js +75 -69
  157. package/dist/collection/components/z-ghost-loading/index.js +11 -7
  158. package/dist/collection/components/z-info-reveal/index.js +83 -80
  159. package/dist/collection/components/z-offcanvas/index.js +99 -91
  160. package/dist/collection/components/z-pagination/index.js +225 -237
  161. package/dist/collection/components/z-popover/index.js +185 -171
  162. package/dist/collection/components/z-section-title/index.js +54 -48
  163. package/dist/collection/components/z-skip-to-content/index.js +78 -68
  164. package/dist/collection/components/z-table/z-table/index.js +273 -284
  165. package/dist/collection/components/z-table/z-table-body/index.js +11 -7
  166. package/dist/collection/components/z-table/z-table-cell/index.js +63 -61
  167. package/dist/collection/components/z-table/z-table-empty-box/index.js +53 -53
  168. package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
  169. package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
  170. package/dist/collection/components/z-table/z-table-head/index.js +11 -7
  171. package/dist/collection/components/z-table/z-table-header/index.js +162 -160
  172. package/dist/collection/components/z-table/z-table-header-row/index.js +33 -29
  173. package/dist/collection/components/z-table/z-table-row/index.js +63 -57
  174. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +11 -7
  175. package/dist/collection/components/z-tag/index.js +49 -46
  176. package/dist/collection/components/z-visually-hidden/index.js +11 -7
  177. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +166 -159
  178. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
  179. package/dist/collection/deprecated/z-button-deprecated/index.js +189 -186
  180. package/dist/collection/deprecated/z-button-filter/index.js +118 -114
  181. package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -48
  182. package/dist/collection/deprecated/z-input-deprecated/index.js +579 -584
  183. package/dist/collection/deprecated/z-input-label/index.js +65 -59
  184. package/dist/collection/deprecated/z-popover-deprecated/index.js +182 -174
  185. package/dist/collection/deprecated/z-status-tag/index.js +106 -102
  186. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +127 -116
  187. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +87 -82
  188. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +102 -99
  189. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
  190. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
  191. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +143 -143
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +150 -157
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +74 -68
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +82 -106
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +32 -26
  198. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +54 -46
  199. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
  200. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +82 -83
  201. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +124 -114
  202. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +63 -56
  203. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
  204. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
  205. package/dist/collection/snowflakes/myz/topbar/index.js +230 -256
  206. package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
  207. package/dist/collection/snowflakes/myz/z-otp/index.js +99 -93
  208. package/dist/collection/snowflakes/myz/z-slideshow/index.js +64 -66
  209. package/dist/esm/{index-3c2d757b.js → index-8390ddaf.js} +11 -1
  210. package/dist/esm/{index-90e18641.js → index-a2ca4b97.js} +848 -278
  211. package/dist/esm/index.js +2 -2
  212. package/dist/esm/loader.js +3 -3
  213. package/dist/esm/polyfills/css-shim.js +1 -1
  214. package/dist/esm/{utils-57be09c8.js → utils-2c5dfb88.js} +1 -1
  215. package/dist/esm/{utils-729724da.js → utils-3ba1cfd4.js} +1 -1
  216. package/dist/esm/web-components-library.js +3 -3
  217. package/dist/esm/z-alert.entry.js +1 -1
  218. package/dist/esm/z-app-header.entry.js +1 -1
  219. package/dist/esm/z-app-switcher_9.entry.js +4 -4
  220. package/dist/esm/z-aria-alert.entry.js +2 -2
  221. package/dist/esm/z-avatar.entry.js +2 -2
  222. package/dist/esm/z-body_2.entry.js +1 -1
  223. package/dist/esm/z-button-deprecated.entry.js +2 -2
  224. package/dist/esm/z-button-filter.entry.js +1 -1
  225. package/dist/esm/z-button-sort.entry.js +1 -1
  226. package/dist/esm/z-button.entry.js +2 -2
  227. package/dist/esm/z-candybar.entry.js +1 -1
  228. package/dist/esm/z-card.entry.js +2 -2
  229. package/dist/esm/z-carousel.entry.js +117 -5
  230. package/dist/esm/z-chip-deprecated.entry.js +1 -1
  231. package/dist/esm/z-chip.entry.js +3 -3
  232. package/dist/esm/z-combobox.entry.js +3 -3
  233. package/dist/esm/z-contextual-menu.entry.js +2 -2
  234. package/dist/esm/z-cookiebar.entry.js +2 -2
  235. package/dist/esm/z-cover-hero.entry.js +2 -2
  236. package/dist/esm/z-date-picker.entry.js +3 -3
  237. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  238. package/dist/esm/z-file-upload.entry.js +3 -3
  239. package/dist/esm/z-file.entry.js +2 -2
  240. package/dist/esm/z-footer-link_3.entry.js +1 -1
  241. package/dist/esm/z-footer.entry.js +2 -2
  242. package/dist/esm/z-ghost-loading.entry.js +1 -1
  243. package/dist/esm/z-icon-package.entry.js +1 -1
  244. package/dist/esm/z-info-box.entry.js +1 -1
  245. package/dist/esm/z-info-reveal.entry.js +2 -2
  246. package/dist/esm/z-input-deprecated.entry.js +3 -3
  247. package/dist/esm/z-input-label_2.entry.js +3 -3
  248. package/dist/esm/z-list-group.entry.js +2 -2
  249. package/dist/esm/z-list_2.entry.js +2 -2
  250. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  251. package/dist/esm/z-menu-section.entry.js +1 -1
  252. package/dist/esm/z-menu.entry.js +1 -1
  253. package/dist/esm/z-messages-pocket.entry.js +2 -2
  254. package/dist/esm/z-modal-login.entry.js +2 -2
  255. package/dist/esm/z-modal.entry.js +1 -1
  256. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  257. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  258. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  259. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  260. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  261. package/dist/esm/z-myz-card-info.entry.js +3 -3
  262. package/dist/esm/z-myz-card-list.entry.js +1 -1
  263. package/dist/esm/z-myz-card_4.entry.js +2 -2
  264. package/dist/esm/z-myz-list-item.entry.js +3 -3
  265. package/dist/esm/z-myz-topbar.entry.js +2 -2
  266. package/dist/esm/z-navigation-tab-link.entry.js +2 -2
  267. package/dist/esm/z-navigation-tab.entry.js +2 -2
  268. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  269. package/dist/esm/z-notification.entry.js +1 -1
  270. package/dist/esm/z-offcanvas.entry.js +2 -2
  271. package/dist/esm/z-otp.entry.js +2 -2
  272. package/dist/esm/z-pagination-bar.entry.js +3 -3
  273. package/dist/esm/z-pagination-page.entry.js +1 -1
  274. package/dist/esm/z-pagination.entry.js +1 -1
  275. package/dist/esm/z-panel-elem.entry.js +1 -1
  276. package/dist/esm/z-pocket-message.entry.js +1 -1
  277. package/dist/esm/z-pocket_3.entry.js +3 -3
  278. package/dist/esm/z-popover-deprecated.entry.js +3 -3
  279. package/dist/esm/z-popover.entry.js +2 -2
  280. package/dist/esm/z-section-title.entry.js +2 -2
  281. package/dist/esm/z-skip-to-content.entry.js +3 -3
  282. package/dist/esm/z-slideshow.entry.js +3 -3
  283. package/dist/esm/z-status-tag.entry.js +2 -2
  284. package/dist/esm/z-stepper-item.entry.js +1 -1
  285. package/dist/esm/z-stepper.entry.js +1 -1
  286. package/dist/esm/z-table-body.entry.js +1 -1
  287. package/dist/esm/z-table-cell.entry.js +2 -2
  288. package/dist/esm/z-table-empty-box.entry.js +1 -1
  289. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  290. package/dist/esm/z-table-footer.entry.js +1 -1
  291. package/dist/esm/z-table-head.entry.js +1 -1
  292. package/dist/esm/z-table-header-row.entry.js +1 -1
  293. package/dist/esm/z-table-header.entry.js +3 -3
  294. package/dist/esm/z-table-row.entry.js +2 -2
  295. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  296. package/dist/esm/z-table.entry.js +2 -2
  297. package/dist/esm/z-tag.entry.js +1 -1
  298. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  299. package/dist/esm/z-toast-notification.entry.js +2 -2
  300. package/dist/esm/z-toggle-button.entry.js +1 -1
  301. package/dist/esm/z-toggle-switch.entry.js +3 -3
  302. package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
  303. package/dist/esm/z-tooltip.entry.js +2 -2
  304. package/dist/esm/z-user-dropdown.entry.js +1 -1
  305. package/dist/esm/z-visually-hidden.entry.js +1 -1
  306. package/dist/types/beans/index.d.ts +8 -0
  307. package/dist/types/components/z-carousel/index.d.ts +47 -3
  308. package/dist/types/components.d.ts +309 -77
  309. package/dist/types/stencil-public-runtime.d.ts +15 -4
  310. package/dist/web-components-library/index.esm.js +1 -1
  311. package/dist/web-components-library/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
  312. package/dist/web-components-library/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
  313. package/dist/web-components-library/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
  314. package/dist/web-components-library/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
  315. package/dist/web-components-library/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
  316. package/dist/web-components-library/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
  317. package/dist/web-components-library/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
  318. package/{www/build/p-f31b8e83.js → dist/web-components-library/p-16c0ffce.js} +1 -1
  319. package/dist/web-components-library/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
  320. package/dist/web-components-library/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
  321. package/{www/build/p-c730a93d.entry.js → dist/web-components-library/p-1efa8cfe.entry.js} +1 -1
  322. package/dist/web-components-library/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
  323. package/{www/build/p-aed2a8cf.entry.js → dist/web-components-library/p-213d7163.entry.js} +1 -1
  324. package/dist/web-components-library/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
  325. package/dist/web-components-library/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
  326. package/dist/web-components-library/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
  327. package/dist/web-components-library/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
  328. package/dist/web-components-library/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
  329. package/dist/web-components-library/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
  330. package/dist/web-components-library/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
  331. package/dist/web-components-library/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
  332. package/dist/web-components-library/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
  333. package/dist/web-components-library/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
  334. package/dist/web-components-library/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
  335. package/dist/web-components-library/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
  336. package/dist/web-components-library/p-46f66301.entry.js +1 -0
  337. package/dist/web-components-library/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
  338. package/dist/web-components-library/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
  339. package/dist/web-components-library/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
  340. package/dist/web-components-library/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
  341. package/dist/web-components-library/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
  342. package/dist/web-components-library/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
  343. package/dist/web-components-library/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
  344. package/dist/web-components-library/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
  345. package/dist/web-components-library/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
  346. package/dist/web-components-library/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
  347. package/dist/web-components-library/p-6c7251f5.entry.js +1 -0
  348. package/dist/web-components-library/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
  349. package/{www/build/p-7171717f.entry.js → dist/web-components-library/p-726b4fbd.entry.js} +1 -1
  350. package/dist/web-components-library/p-728a61a6.js +1 -0
  351. package/dist/web-components-library/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
  352. package/dist/web-components-library/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
  353. package/dist/web-components-library/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
  354. package/dist/web-components-library/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
  355. package/dist/web-components-library/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
  356. package/dist/web-components-library/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
  357. package/dist/web-components-library/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
  358. package/{www/build/p-7d37e4a8.entry.js → dist/web-components-library/p-951c50ad.entry.js} +1 -1
  359. package/{www/build/p-596da333.entry.js → dist/web-components-library/p-9b70eba4.entry.js} +1 -1
  360. package/dist/web-components-library/p-9bbb27f7.entry.js +1 -0
  361. package/dist/web-components-library/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
  362. package/dist/web-components-library/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
  363. package/dist/web-components-library/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
  364. package/dist/web-components-library/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
  365. package/dist/web-components-library/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
  366. package/dist/web-components-library/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
  367. package/dist/web-components-library/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
  368. package/dist/web-components-library/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
  369. package/dist/web-components-library/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
  370. package/dist/web-components-library/p-b54faa73.entry.js +1 -0
  371. package/dist/web-components-library/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
  372. package/dist/web-components-library/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
  373. package/dist/web-components-library/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
  374. package/dist/web-components-library/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
  375. package/dist/web-components-library/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
  376. package/{www/build/p-b5916b42.entry.js → dist/web-components-library/p-c1da93ee.entry.js} +1 -1
  377. package/dist/web-components-library/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
  378. package/dist/web-components-library/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
  379. package/{www/build/p-bbeb6b3c.entry.js → dist/web-components-library/p-c4f778d7.entry.js} +1 -1
  380. package/dist/web-components-library/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
  381. package/dist/web-components-library/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
  382. package/dist/web-components-library/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
  383. package/{www/build/p-cf73af9a.entry.js → dist/web-components-library/p-caa2c86c.entry.js} +1 -1
  384. package/dist/web-components-library/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
  385. package/dist/web-components-library/p-d17ebc2f.js +2 -0
  386. package/dist/web-components-library/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
  387. package/dist/web-components-library/{p-bfa3593e.js → p-d4681325.js} +1 -1
  388. package/dist/web-components-library/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
  389. package/{www/build/p-c066ddf1.entry.js → dist/web-components-library/p-d8aac365.entry.js} +1 -1
  390. package/dist/web-components-library/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
  391. package/dist/web-components-library/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
  392. package/dist/web-components-library/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
  393. package/dist/web-components-library/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
  394. package/dist/web-components-library/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
  395. package/dist/web-components-library/p-eba1cdd9.entry.js +1 -0
  396. package/dist/web-components-library/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
  397. package/{www/build/p-e293f91e.entry.js → dist/web-components-library/p-f0e73ccb.entry.js} +1 -1
  398. package/dist/web-components-library/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
  399. package/dist/web-components-library/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
  400. package/dist/web-components-library/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
  401. package/dist/web-components-library/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
  402. package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-fd13128d.entry.js} +1 -1
  403. package/dist/web-components-library/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
  404. package/dist/web-components-library/web-components-library.esm.js +1 -1
  405. package/loader/package.json +1 -0
  406. package/package.json +2 -2
  407. package/www/build/index.esm.js +1 -1
  408. package/www/build/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
  409. package/www/build/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
  410. package/www/build/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
  411. package/www/build/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
  412. package/www/build/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
  413. package/www/build/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
  414. package/www/build/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
  415. package/{dist/web-components-library/p-f31b8e83.js → www/build/p-16c0ffce.js} +1 -1
  416. package/www/build/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
  417. package/www/build/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
  418. package/{dist/web-components-library/p-c730a93d.entry.js → www/build/p-1efa8cfe.entry.js} +1 -1
  419. package/www/build/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
  420. package/{dist/web-components-library/p-aed2a8cf.entry.js → www/build/p-213d7163.entry.js} +1 -1
  421. package/www/build/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
  422. package/www/build/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
  423. package/www/build/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
  424. package/www/build/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
  425. package/www/build/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
  426. package/www/build/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
  427. package/www/build/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
  428. package/www/build/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
  429. package/www/build/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
  430. package/www/build/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
  431. package/www/build/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
  432. package/www/build/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
  433. package/www/build/p-448b6156.js +1 -0
  434. package/www/build/p-46f66301.entry.js +1 -0
  435. package/www/build/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
  436. package/www/build/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
  437. package/www/build/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
  438. package/www/build/p-4c9c83c0.css +1 -0
  439. package/www/build/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
  440. package/www/build/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
  441. package/www/build/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
  442. package/www/build/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
  443. package/www/build/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
  444. package/www/build/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
  445. package/www/build/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
  446. package/www/build/p-6c7251f5.entry.js +1 -0
  447. package/www/build/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
  448. package/{dist/web-components-library/p-7171717f.entry.js → www/build/p-726b4fbd.entry.js} +1 -1
  449. package/www/build/p-728a61a6.js +1 -0
  450. package/www/build/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
  451. package/www/build/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
  452. package/www/build/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
  453. package/www/build/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
  454. package/www/build/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
  455. package/www/build/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
  456. package/www/build/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
  457. package/{dist/web-components-library/p-7d37e4a8.entry.js → www/build/p-951c50ad.entry.js} +1 -1
  458. package/{dist/web-components-library/p-596da333.entry.js → www/build/p-9b70eba4.entry.js} +1 -1
  459. package/www/build/p-9bbb27f7.entry.js +1 -0
  460. package/www/build/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
  461. package/www/build/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
  462. package/www/build/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
  463. package/www/build/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
  464. package/www/build/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
  465. package/www/build/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
  466. package/www/build/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
  467. package/www/build/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
  468. package/www/build/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
  469. package/www/build/p-b54faa73.entry.js +1 -0
  470. package/www/build/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
  471. package/www/build/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
  472. package/www/build/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
  473. package/www/build/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
  474. package/www/build/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
  475. package/{dist/web-components-library/p-b5916b42.entry.js → www/build/p-c1da93ee.entry.js} +1 -1
  476. package/www/build/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
  477. package/www/build/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
  478. package/{dist/web-components-library/p-bbeb6b3c.entry.js → www/build/p-c4f778d7.entry.js} +1 -1
  479. package/www/build/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
  480. package/www/build/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
  481. package/www/build/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
  482. package/{dist/web-components-library/p-cf73af9a.entry.js → www/build/p-caa2c86c.entry.js} +1 -1
  483. package/www/build/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
  484. package/www/build/p-d17ebc2f.js +2 -0
  485. package/www/build/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
  486. package/www/build/{p-bfa3593e.js → p-d4681325.js} +1 -1
  487. package/www/build/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
  488. package/{dist/web-components-library/p-c066ddf1.entry.js → www/build/p-d8aac365.entry.js} +1 -1
  489. package/www/build/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
  490. package/www/build/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
  491. package/www/build/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
  492. package/www/build/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
  493. package/www/build/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
  494. package/www/build/p-eba1cdd9.entry.js +1 -0
  495. package/www/build/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
  496. package/{dist/web-components-library/p-e293f91e.entry.js → www/build/p-f0e73ccb.entry.js} +1 -1
  497. package/www/build/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
  498. package/www/build/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
  499. package/www/build/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
  500. package/www/build/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
  501. package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-fd13128d.entry.js} +1 -1
  502. package/www/build/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
  503. package/www/build/web-components-library.esm.js +1 -1
  504. package/www/index.html +1 -1
  505. package/CHANGELOG.md +0 -1911
  506. package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
  507. package/dist/web-components-library/p-98268a57.js +0 -1
  508. package/dist/web-components-library/p-a54ef821.entry.js +0 -1
  509. package/dist/web-components-library/p-bb20020b.entry.js +0 -1
  510. package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
  511. package/dist/web-components-library/p-d79f69f2.js +0 -1
  512. package/dist/web-components-library/p-f6a11970.entry.js +0 -1
  513. package/src-react/index.ts +0 -1
  514. package/www/build/p-8cf3798f.entry.js +0 -1
  515. package/www/build/p-98268a57.js +0 -1
  516. package/www/build/p-9ec1421c.css +0 -816
  517. package/www/build/p-a54ef821.entry.js +0 -1
  518. package/www/build/p-bb20020b.entry.js +0 -1
  519. package/www/build/p-d0fea19f.entry.js +0 -1
  520. package/www/build/p-d1358393.js +0 -129
  521. package/www/build/p-d79f69f2.js +0 -1
  522. package/www/build/p-f6a11970.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop, State, Event, Listen, Element, Watch } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Menu label
4
4
  * @slot header - Header to display as the first entry of the open menu.
@@ -85,139 +85,144 @@ export class ZMenu {
85
85
  }
86
86
  renderMenuLabel() {
87
87
  if (this.hasContent) {
88
- return h("button", { class: "menu-label", "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Chiudi menù' : 'Apri menù', onClick: this.toggle },
89
- h("div", { class: "menu-label-content" },
90
- h("slot", null),
91
- h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })));
88
+ return h("button", { class: "menu-label", "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Chiudi menù' : 'Apri menù', onClick: this.toggle }, h("div", { class: "menu-label-content" }, h("slot", null), h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })));
92
89
  }
93
- return h("div", { class: "menu-label" },
94
- h("div", { class: "menu-label-content" },
95
- h("slot", null)));
90
+ return h("div", { class: "menu-label" }, h("div", { class: "menu-label-content" }, h("slot", null)));
96
91
  }
97
92
  render() {
98
93
  return [
99
94
  this.renderMenuLabel(),
100
- h("div", { class: "content", ref: (el) => { this.content = el; }, hidden: !this.open },
101
- this.hasHeader && h("header", { class: "header" },
102
- h("slot", { name: "header", onSlotchange: this.checkContent })),
103
- h("div", { class: "items", role: "menu" },
104
- h("slot", { name: "item", onSlotchange: this.onItemsChange })))
95
+ h("div", { class: "content", ref: (el) => { this.content = el; }, hidden: !this.open }, this.hasHeader && h("header", { class: "header" }, h("slot", { name: "header", onSlotchange: this.checkContent })), h("div", { class: "items", role: "menu" }, h("slot", { name: "item", onSlotchange: this.onItemsChange })))
105
96
  ];
106
97
  }
107
98
  static get is() { return "z-menu"; }
108
99
  static get encapsulation() { return "shadow"; }
109
- static get originalStyleUrls() { return {
110
- "$": ["styles.css"]
111
- }; }
112
- static get styleUrls() { return {
113
- "$": ["styles.css"]
114
- }; }
115
- static get properties() { return {
116
- "active": {
117
- "type": "boolean",
118
- "mutable": false,
119
- "complexType": {
120
- "original": "boolean",
121
- "resolved": "boolean",
122
- "references": {}
123
- },
124
- "required": false,
125
- "optional": true,
126
- "docs": {
127
- "tags": [],
128
- "text": "Flag to set the active status of the menu."
129
- },
130
- "attribute": "active",
131
- "reflect": true
132
- },
133
- "floating": {
134
- "type": "boolean",
135
- "mutable": false,
136
- "complexType": {
137
- "original": "boolean",
138
- "resolved": "boolean",
139
- "references": {}
140
- },
141
- "required": false,
142
- "optional": true,
143
- "docs": {
144
- "tags": [{
145
- "name": "default",
146
- "text": "false"
147
- }],
148
- "text": "Flag to set the display mode of the list.\nIf true, the list will be absolutely positioned under the menu label,\nstacked beneath it otherwise."
149
- },
150
- "attribute": "floating",
151
- "reflect": true,
152
- "defaultValue": "false"
153
- },
154
- "open": {
155
- "type": "boolean",
156
- "mutable": true,
157
- "complexType": {
158
- "original": "boolean",
159
- "resolved": "boolean",
160
- "references": {}
161
- },
162
- "required": false,
163
- "optional": false,
164
- "docs": {
165
- "tags": [{
166
- "name": "default",
167
- "text": "false"
168
- }],
169
- "text": "The opening state of the menu."
170
- },
171
- "attribute": "open",
172
- "reflect": true,
173
- "defaultValue": "false"
174
- }
175
- }; }
176
- static get states() { return {
177
- "hasHeader": {},
178
- "hasContent": {}
179
- }; }
180
- static get events() { return [{
181
- "method": "opened",
182
- "name": "opened",
183
- "bubbles": true,
184
- "cancelable": true,
185
- "composed": true,
186
- "docs": {
187
- "tags": [],
188
- "text": "The menu has been opened."
100
+ static get originalStyleUrls() {
101
+ return {
102
+ "$": ["styles.css"]
103
+ };
104
+ }
105
+ static get styleUrls() {
106
+ return {
107
+ "$": ["styles.css"]
108
+ };
109
+ }
110
+ static get properties() {
111
+ return {
112
+ "active": {
113
+ "type": "boolean",
114
+ "mutable": false,
115
+ "complexType": {
116
+ "original": "boolean",
117
+ "resolved": "boolean",
118
+ "references": {}
119
+ },
120
+ "required": false,
121
+ "optional": true,
122
+ "docs": {
123
+ "tags": [],
124
+ "text": "Flag to set the active status of the menu."
125
+ },
126
+ "attribute": "active",
127
+ "reflect": true
189
128
  },
190
- "complexType": {
191
- "original": "any",
192
- "resolved": "any",
193
- "references": {}
194
- }
195
- }, {
196
- "method": "closed",
197
- "name": "closed",
198
- "bubbles": true,
199
- "cancelable": true,
200
- "composed": true,
201
- "docs": {
202
- "tags": [],
203
- "text": "The menu has been closed."
129
+ "floating": {
130
+ "type": "boolean",
131
+ "mutable": false,
132
+ "complexType": {
133
+ "original": "boolean",
134
+ "resolved": "boolean",
135
+ "references": {}
136
+ },
137
+ "required": false,
138
+ "optional": true,
139
+ "docs": {
140
+ "tags": [{
141
+ "name": "default",
142
+ "text": "false"
143
+ }],
144
+ "text": "Flag to set the display mode of the list.\nIf true, the list will be absolutely positioned under the menu label,\nstacked beneath it otherwise."
145
+ },
146
+ "attribute": "floating",
147
+ "reflect": true,
148
+ "defaultValue": "false"
204
149
  },
205
- "complexType": {
206
- "original": "any",
207
- "resolved": "any",
208
- "references": {}
150
+ "open": {
151
+ "type": "boolean",
152
+ "mutable": true,
153
+ "complexType": {
154
+ "original": "boolean",
155
+ "resolved": "boolean",
156
+ "references": {}
157
+ },
158
+ "required": false,
159
+ "optional": false,
160
+ "docs": {
161
+ "tags": [{
162
+ "name": "default",
163
+ "text": "false"
164
+ }],
165
+ "text": "The opening state of the menu."
166
+ },
167
+ "attribute": "open",
168
+ "reflect": true,
169
+ "defaultValue": "false"
209
170
  }
210
- }]; }
171
+ };
172
+ }
173
+ static get states() {
174
+ return {
175
+ "hasHeader": {},
176
+ "hasContent": {}
177
+ };
178
+ }
179
+ static get events() {
180
+ return [{
181
+ "method": "opened",
182
+ "name": "opened",
183
+ "bubbles": true,
184
+ "cancelable": true,
185
+ "composed": true,
186
+ "docs": {
187
+ "tags": [],
188
+ "text": "The menu has been opened."
189
+ },
190
+ "complexType": {
191
+ "original": "any",
192
+ "resolved": "any",
193
+ "references": {}
194
+ }
195
+ }, {
196
+ "method": "closed",
197
+ "name": "closed",
198
+ "bubbles": true,
199
+ "cancelable": true,
200
+ "composed": true,
201
+ "docs": {
202
+ "tags": [],
203
+ "text": "The menu has been closed."
204
+ },
205
+ "complexType": {
206
+ "original": "any",
207
+ "resolved": "any",
208
+ "references": {}
209
+ }
210
+ }];
211
+ }
211
212
  static get elementRef() { return "hostElement"; }
212
- static get watchers() { return [{
213
- "propName": "open",
214
- "methodName": "onOpenChanged"
215
- }]; }
216
- static get listeners() { return [{
217
- "name": "click",
218
- "method": "handleClick",
219
- "target": "document",
220
- "capture": false,
221
- "passive": false
222
- }]; }
213
+ static get watchers() {
214
+ return [{
215
+ "propName": "open",
216
+ "methodName": "onOpenChanged"
217
+ }];
218
+ }
219
+ static get listeners() {
220
+ return [{
221
+ "name": "click",
222
+ "method": "handleClick",
223
+ "target": "document",
224
+ "capture": false,
225
+ "passive": false
226
+ }];
227
+ }
223
228
  }
@@ -1,4 +1,4 @@
1
- import { Component, Prop, h, State } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { KeyboardKeyCodeEnum } from "../../../beans/index";
3
3
  import { handleKeyboardSubmit, getClickedElement, getElementTree, } from "../../../utils/utils";
4
4
  export class ZMenuDropdown {
@@ -15,13 +15,11 @@ export class ZMenuDropdown {
15
15
  }
16
16
  renderMenuOpen() {
17
17
  if (this.ismenuopen) {
18
- return (h("ul", null, this.linkarray.map((bean) => (h("li", null,
19
- h("z-link", { htmlid: bean.id, href: bean.link, icon: bean.icon }, bean.label))))));
18
+ return (h("ul", null, this.linkarray.map((bean) => (h("li", null, h("z-link", { htmlid: bean.id, href: bean.link, icon: bean.icon }, bean.label))))));
20
19
  }
21
20
  }
22
21
  renderButtonMenu() {
23
- return (h("span", { class: "arrow" },
24
- h("z-icon", { name: "caret-down", width: 14, height: 14 })));
22
+ return (h("span", { class: "arrow" }, h("z-icon", { name: "caret-down", width: 14, height: 14 })));
25
23
  }
26
24
  retriveMenuClass() {
27
25
  if (this.ismenuopen)
@@ -45,81 +43,83 @@ export class ZMenuDropdown {
45
43
  return (h("a", { class: this.retriveMenuClass(), role: "button", tabindex: "0", onFocus: () => {
46
44
  document.addEventListener("click", this.handleFocus);
47
45
  document.addEventListener("keyup", this.handleFocus);
48
- }, onKeyUp: (e) => handleKeyboardSubmit(e, this.handleToggle) },
49
- h("div", { class: "container", onClick: () => this.handleToggle() },
50
- h("span", { class: "user-wrapper" },
51
- h("z-icon", { name: "user-avatar", width: 14, height: 14 }),
52
- h("span", { class: "user" }, this.nomeutente)),
53
- this.renderButtonMenu()),
54
- this.renderMenuOpen()));
46
+ }, onKeyUp: (e) => handleKeyboardSubmit(e, this.handleToggle) }, h("div", { class: "container", onClick: () => this.handleToggle() }, h("span", { class: "user-wrapper" }, h("z-icon", { name: "user-avatar", width: 14, height: 14 }), h("span", { class: "user" }, this.nomeutente)), this.renderButtonMenu()), this.renderMenuOpen()));
55
47
  }
56
48
  static get is() { return "z-menu-dropdown"; }
57
49
  static get encapsulation() { return "shadow"; }
58
- static get originalStyleUrls() { return {
59
- "$": ["styles.css"]
60
- }; }
61
- static get styleUrls() { return {
62
- "$": ["styles.css"]
63
- }; }
64
- static get properties() { return {
65
- "nomeutente": {
66
- "type": "string",
67
- "mutable": false,
68
- "complexType": {
69
- "original": "string",
70
- "resolved": "string",
71
- "references": {}
72
- },
73
- "required": false,
74
- "optional": false,
75
- "docs": {
76
- "tags": [],
77
- "text": "user name text"
50
+ static get originalStyleUrls() {
51
+ return {
52
+ "$": ["styles.css"]
53
+ };
54
+ }
55
+ static get styleUrls() {
56
+ return {
57
+ "$": ["styles.css"]
58
+ };
59
+ }
60
+ static get properties() {
61
+ return {
62
+ "nomeutente": {
63
+ "type": "string",
64
+ "mutable": false,
65
+ "complexType": {
66
+ "original": "string",
67
+ "resolved": "string",
68
+ "references": {}
69
+ },
70
+ "required": false,
71
+ "optional": false,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": "user name text"
75
+ },
76
+ "attribute": "nomeutente",
77
+ "reflect": false
78
78
  },
79
- "attribute": "nomeutente",
80
- "reflect": false
81
- },
82
- "menucontent": {
83
- "type": "string",
84
- "mutable": false,
85
- "complexType": {
86
- "original": "string | MenuItem[]",
87
- "resolved": "MenuItem[] | string",
88
- "references": {
89
- "MenuItem": {
90
- "location": "import",
91
- "path": "../../../beans/index"
79
+ "menucontent": {
80
+ "type": "string",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "string | MenuItem[]",
84
+ "resolved": "MenuItem[] | string",
85
+ "references": {
86
+ "MenuItem": {
87
+ "location": "import",
88
+ "path": "../../../beans/index"
89
+ }
92
90
  }
93
- }
94
- },
95
- "required": false,
96
- "optional": false,
97
- "docs": {
98
- "tags": [],
99
- "text": "Json stringified or array to fill menu dropdown"
100
- },
101
- "attribute": "menucontent",
102
- "reflect": false
103
- },
104
- "buttonid": {
105
- "type": "string",
106
- "mutable": false,
107
- "complexType": {
108
- "original": "string",
109
- "resolved": "string",
110
- "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": "Json stringified or array to fill menu dropdown"
97
+ },
98
+ "attribute": "menucontent",
99
+ "reflect": false
111
100
  },
112
- "required": false,
113
- "optional": false,
114
- "docs": {
115
- "tags": [],
116
- "text": "unique button id"
117
- },
118
- "attribute": "buttonid",
119
- "reflect": false
120
- }
121
- }; }
122
- static get states() { return {
123
- "ismenuopen": {}
124
- }; }
101
+ "buttonid": {
102
+ "type": "string",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "string",
106
+ "resolved": "string",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": "unique button id"
114
+ },
115
+ "attribute": "buttonid",
116
+ "reflect": false
117
+ }
118
+ };
119
+ }
120
+ static get states() {
121
+ return {
122
+ "ismenuopen": {}
123
+ };
124
+ }
125
125
  }
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop, State, Event, Element, Listen, Host } from '@stencil/core';
1
+ import { h, Host } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Menu section label
4
4
  * @slot item - Single entry of the section. Can be slotted multiple times to insert items.
@@ -29,81 +29,88 @@ export class ZMenuSection {
29
29
  this.checkContent();
30
30
  }
31
31
  render() {
32
- return h(Host, { role: "menu", open: this.open },
33
- h("button", { class: "label", "aria-pressed": this.open ? 'true' : 'false', onClick: this.toggle.bind(this) },
34
- h("slot", null),
35
- this.hasContent && h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })),
36
- this.open && h("div", { class: "items" },
37
- h("slot", { name: "item", onSlotchange: this.checkContent.bind(this) })));
32
+ return h(Host, { role: "menu", open: this.open }, h("button", { class: "label", "aria-pressed": this.open ? 'true' : 'false', onClick: this.toggle.bind(this) }, h("slot", null), this.hasContent && h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })), this.open && h("div", { class: "items" }, h("slot", { name: "item", onSlotchange: this.checkContent.bind(this) })));
38
33
  }
39
34
  static get is() { return "z-menu-section"; }
40
35
  static get encapsulation() { return "shadow"; }
41
- static get originalStyleUrls() { return {
42
- "$": ["styles.css"]
43
- }; }
44
- static get styleUrls() { return {
45
- "$": ["styles.css"]
46
- }; }
47
- static get properties() { return {
48
- "active": {
49
- "type": "boolean",
50
- "mutable": false,
51
- "complexType": {
52
- "original": "boolean",
53
- "resolved": "boolean",
54
- "references": {}
55
- },
56
- "required": false,
57
- "optional": true,
58
- "docs": {
59
- "tags": [],
60
- "text": ""
61
- },
62
- "attribute": "active",
63
- "reflect": true
64
- }
65
- }; }
66
- static get states() { return {
67
- "open": {},
68
- "hasContent": {}
69
- }; }
70
- static get events() { return [{
71
- "method": "opened",
72
- "name": "opened",
73
- "bubbles": true,
74
- "cancelable": true,
75
- "composed": true,
76
- "docs": {
77
- "tags": [],
78
- "text": "The section has been opened."
79
- },
80
- "complexType": {
81
- "original": "any",
82
- "resolved": "any",
83
- "references": {}
84
- }
85
- }, {
86
- "method": "closed",
87
- "name": "closed",
88
- "bubbles": true,
89
- "cancelable": true,
90
- "composed": true,
91
- "docs": {
92
- "tags": [],
93
- "text": "The section has been closed."
94
- },
95
- "complexType": {
96
- "original": "any",
97
- "resolved": "any",
98
- "references": {}
36
+ static get originalStyleUrls() {
37
+ return {
38
+ "$": ["styles.css"]
39
+ };
40
+ }
41
+ static get styleUrls() {
42
+ return {
43
+ "$": ["styles.css"]
44
+ };
45
+ }
46
+ static get properties() {
47
+ return {
48
+ "active": {
49
+ "type": "boolean",
50
+ "mutable": false,
51
+ "complexType": {
52
+ "original": "boolean",
53
+ "resolved": "boolean",
54
+ "references": {}
55
+ },
56
+ "required": false,
57
+ "optional": true,
58
+ "docs": {
59
+ "tags": [],
60
+ "text": ""
61
+ },
62
+ "attribute": "active",
63
+ "reflect": true
99
64
  }
100
- }]; }
65
+ };
66
+ }
67
+ static get states() {
68
+ return {
69
+ "open": {},
70
+ "hasContent": {}
71
+ };
72
+ }
73
+ static get events() {
74
+ return [{
75
+ "method": "opened",
76
+ "name": "opened",
77
+ "bubbles": true,
78
+ "cancelable": true,
79
+ "composed": true,
80
+ "docs": {
81
+ "tags": [],
82
+ "text": "The section has been opened."
83
+ },
84
+ "complexType": {
85
+ "original": "any",
86
+ "resolved": "any",
87
+ "references": {}
88
+ }
89
+ }, {
90
+ "method": "closed",
91
+ "name": "closed",
92
+ "bubbles": true,
93
+ "cancelable": true,
94
+ "composed": true,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": "The section has been closed."
98
+ },
99
+ "complexType": {
100
+ "original": "any",
101
+ "resolved": "any",
102
+ "references": {}
103
+ }
104
+ }];
105
+ }
101
106
  static get elementRef() { return "hostElement"; }
102
- static get listeners() { return [{
103
- "name": "click",
104
- "method": "handleClick",
105
- "target": "document",
106
- "capture": false,
107
- "passive": false
108
- }]; }
107
+ static get listeners() {
108
+ return [{
109
+ "name": "click",
110
+ "method": "handleClick",
111
+ "target": "document",
112
+ "capture": false,
113
+ "passive": false
114
+ }];
115
+ }
109
116
  }