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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1749) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/.storybook/elements/args-controls.js +78 -0
  3. package/dist/.storybook/elements/args-controls.js.map +1 -0
  4. package/dist/.storybook/elements/docs-template.js +11 -0
  5. package/dist/.storybook/elements/docs-template.js.map +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  7. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  8. package/dist/cjs/breakpoints-5c22092a.js.map +1 -1
  9. package/dist/cjs/index-19279b08.js +20 -0
  10. package/dist/cjs/index-19279b08.js.map +1 -0
  11. package/dist/cjs/index-1ebcef6a.js +46 -0
  12. package/dist/cjs/index-1ebcef6a.js.map +1 -0
  13. package/dist/cjs/index-42d4c304.js +65 -0
  14. package/dist/cjs/index-42d4c304.js.map +1 -0
  15. package/dist/cjs/index-5dc4a8de.js +2211 -0
  16. package/dist/cjs/index-5dc4a8de.js.map +1 -0
  17. package/dist/cjs/index-94f7957c.js +21 -0
  18. package/dist/cjs/index-94f7957c.js.map +1 -0
  19. package/dist/cjs/index-be1c71c6.js +59 -0
  20. package/dist/cjs/index-be1c71c6.js.map +1 -0
  21. package/dist/cjs/index-f31d0e66.js +21 -0
  22. package/dist/cjs/index-f31d0e66.js.map +1 -0
  23. package/dist/cjs/index.cjs.js.map +1 -1
  24. package/dist/cjs/loader.cjs.js +5 -3
  25. package/dist/cjs/loader.cjs.js.map +1 -1
  26. package/dist/cjs/utils-2b313a8e.js.map +1 -1
  27. package/dist/cjs/utils-d0b10736.js.map +1 -1
  28. package/dist/cjs/web-components-library.cjs.js +32 -32
  29. package/dist/cjs/web-components-library.cjs.js.map +1 -1
  30. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  31. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  32. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  33. package/dist/cjs/z-anchor-navigation.cjs.entry.js +14 -9
  34. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  35. package/dist/cjs/z-app-header_12.cjs.entry.js +40 -31
  36. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  37. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  38. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  40. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
  41. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  42. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  43. package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
  44. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  45. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  46. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  47. package/dist/cjs/z-card.cjs.entry.js +1 -1
  48. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  50. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  51. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  52. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  53. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  54. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  55. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  56. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
  57. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  58. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
  59. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  60. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  61. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  62. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
  63. package/dist/cjs/z-file.cjs.entry.js +2 -2
  64. package/dist/cjs/z-file.cjs.entry.js.map +1 -1
  65. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  66. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  67. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  69. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
  70. package/dist/cjs/z-logo.cjs.entry.js +2 -2
  71. package/dist/cjs/z-logo.cjs.entry.js.map +1 -1
  72. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  73. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  75. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  77. package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -1
  78. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  79. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  80. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
  81. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
  82. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  83. package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
  84. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
  85. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  86. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  87. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  88. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  89. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  90. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  91. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
  92. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  93. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -1
  94. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  95. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  96. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  97. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  98. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  99. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  100. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  101. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  102. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  103. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
  104. package/dist/cjs/z-pocket-message.cjs.entry.js +2 -2
  105. package/dist/cjs/z-pocket_3.cjs.entry.js +6 -6
  106. package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -1
  107. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  108. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  109. package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
  110. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
  111. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  112. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
  113. package/dist/cjs/z-select.cjs.entry.js +2 -2
  114. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  115. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  116. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
  117. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  118. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
  119. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  120. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  121. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  122. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  123. package/dist/cjs/z-table.cjs.entry.js +8 -8
  124. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  125. package/dist/cjs/z-tbody.cjs.entry.js +2 -2
  126. package/dist/cjs/z-td.cjs.entry.js +2 -2
  127. package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
  128. package/dist/cjs/z-th.cjs.entry.js +2 -2
  129. package/dist/cjs/z-thead.cjs.entry.js +2 -2
  130. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  131. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
  132. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  133. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  134. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  135. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  136. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  137. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
  138. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  139. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
  140. package/dist/cjs/z-tr.cjs.entry.js +4 -4
  141. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  142. package/dist/collection/beans/index.js.map +1 -1
  143. package/dist/collection/collection-manifest.json +34 -34
  144. package/dist/collection/components/css-components/z-fab/index.stories.js +104 -0
  145. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
  146. package/dist/collection/components/css-components/z-link/index.stories.js +75 -0
  147. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
  148. package/dist/collection/components/date-picker/utils.js.map +1 -1
  149. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  150. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
  151. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -1
  152. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +100 -0
  153. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
  154. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -4
  155. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
  156. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -1
  157. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +110 -0
  158. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
  159. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  160. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
  161. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -1
  162. package/dist/collection/components/file-upload/z-file/index.js +2 -2
  163. package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
  164. package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -1
  165. package/dist/collection/components/file-upload/z-file/index.stories.js +17 -0
  166. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
  167. package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
  168. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
  169. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -1
  170. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +95 -0
  171. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
  172. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -1
  173. package/dist/collection/components/index.js.map +1 -1
  174. package/dist/collection/components/list/z-list/index.js +4 -4
  175. package/dist/collection/components/list/z-list/index.js.map +1 -1
  176. package/dist/collection/components/list/z-list/index.spec.js.map +1 -1
  177. package/dist/collection/components/list/z-list/index.stories.js +185 -0
  178. package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
  179. package/dist/collection/components/list/z-list-element/index.js +3 -3
  180. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  181. package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -1
  182. package/dist/collection/components/list/z-list-element/index.stories.js +128 -0
  183. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
  184. package/dist/collection/components/list/z-list-group/index.js +3 -3
  185. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  186. package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -1
  187. package/dist/collection/components/list/z-list-group/index.stories.js +118 -0
  188. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
  189. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  190. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  191. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  192. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  193. package/dist/collection/components/table/z-table/index.js +3 -3
  194. package/dist/collection/components/table/z-table/index.js.map +1 -1
  195. package/dist/collection/components/table/z-table/index.stories.js +262 -0
  196. package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
  197. package/dist/collection/components/table/z-tbody/index.js +1 -1
  198. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  199. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  200. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  201. package/dist/collection/components/table/z-thead/index.js +1 -1
  202. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  203. package/dist/collection/components/table/z-tr/index.js +1 -1
  204. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  205. package/dist/collection/components/z-accordion/index.js +2 -2
  206. package/dist/collection/components/z-accordion/index.js.map +1 -1
  207. package/dist/collection/components/z-accordion/index.stories.js +165 -0
  208. package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
  209. package/dist/collection/components/z-accordion/styles.css +1 -1
  210. package/dist/collection/components/z-anchor-navigation/index.js +32 -9
  211. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
  212. package/dist/collection/components/z-anchor-navigation/index.stories.js +332 -0
  213. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
  214. package/dist/collection/components/z-anchor-navigation/styles.css +22 -34
  215. package/dist/collection/components/z-app-header/index.js +420 -0
  216. package/dist/collection/components/z-app-header/index.js.map +1 -0
  217. package/dist/collection/components/z-app-header/index.spec.js.map +1 -0
  218. package/dist/collection/components/z-app-header/index.stories.js +635 -0
  219. package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
  220. package/dist/collection/components/z-aria-alert/index.js +2 -2
  221. package/dist/collection/components/z-aria-alert/index.js.map +1 -1
  222. package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -1
  223. package/dist/collection/components/z-aria-alert/index.stories.js +76 -0
  224. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
  225. package/dist/collection/components/z-avatar/index.js +3 -3
  226. package/dist/collection/components/z-avatar/index.js.map +1 -1
  227. package/dist/collection/components/z-avatar/index.spec.js.map +1 -1
  228. package/dist/collection/components/z-avatar/index.stories.js +51 -0
  229. package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
  230. package/dist/collection/components/z-book-card/index.js +1 -1
  231. package/dist/collection/components/z-book-card/index.js.map +1 -1
  232. package/dist/collection/components/z-book-card/index.spec.js.map +1 -1
  233. package/dist/collection/components/z-book-card/index.stories.js +397 -0
  234. package/dist/collection/components/z-book-card/index.stories.js.map +1 -0
  235. package/dist/collection/components/z-breadcrumb/index.js +3 -3
  236. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  237. package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -1
  238. package/dist/collection/components/z-breadcrumb/index.stories.js +68 -0
  239. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
  240. package/dist/collection/components/z-button/index.js +269 -0
  241. package/dist/collection/components/z-button/index.js.map +1 -0
  242. package/dist/collection/components/z-button/index.spec.js +101 -0
  243. package/dist/collection/components/z-button/index.spec.js.map +1 -0
  244. package/dist/collection/components/z-button/index.stories.js +90 -0
  245. package/dist/collection/components/z-button/index.stories.js.map +1 -0
  246. package/dist/collection/components/z-button-sort/index.js +221 -0
  247. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  248. package/dist/collection/components/z-button-sort/index.spec.js.map +1 -0
  249. package/dist/collection/components/z-button-sort/index.stories.js +31 -0
  250. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
  251. package/dist/collection/components/z-button-sort/test.e2e.js.map +1 -0
  252. package/dist/collection/components/z-card/index.js +1 -1
  253. package/dist/collection/components/z-card/index.js.map +1 -1
  254. package/dist/collection/components/z-card/index.spec.js.map +1 -1
  255. package/dist/collection/components/z-card/index.stories.js +292 -0
  256. package/dist/collection/components/z-card/index.stories.js.map +1 -0
  257. package/dist/collection/components/z-carousel/index.js +2 -2
  258. package/dist/collection/components/z-carousel/index.js.map +1 -1
  259. package/dist/collection/components/z-carousel/index.stories.js +129 -0
  260. package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
  261. package/dist/collection/components/z-chip/index.js +148 -0
  262. package/dist/collection/components/z-chip/index.js.map +1 -0
  263. package/dist/collection/components/z-chip/index.spec.js.map +1 -0
  264. package/dist/collection/components/z-chip/index.stories.js +70 -0
  265. package/dist/collection/components/z-chip/index.stories.js.map +1 -0
  266. package/dist/collection/components/z-combobox/index.js +643 -0
  267. package/dist/collection/components/z-combobox/index.js.map +1 -0
  268. package/dist/collection/components/z-combobox/index.spec.js.map +1 -0
  269. package/dist/collection/components/z-combobox/index.stories.js +78 -0
  270. package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
  271. package/dist/collection/components/z-cover-hero/index.js +4 -4
  272. package/dist/collection/components/z-cover-hero/index.js.map +1 -1
  273. package/dist/collection/components/z-cover-hero/index.stories.js +256 -0
  274. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
  275. package/dist/collection/components/z-divider/index.js +3 -3
  276. package/dist/collection/components/z-divider/index.js.map +1 -1
  277. package/dist/collection/components/z-divider/index.spec.js.map +1 -1
  278. package/dist/collection/components/z-divider/index.stories.js +45 -0
  279. package/dist/collection/components/z-divider/index.stories.js.map +1 -0
  280. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  281. package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
  282. package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -1
  283. package/dist/collection/components/z-ghost-loading/index.stories.js +22 -0
  284. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
  285. package/dist/collection/components/z-icon/index.js +122 -0
  286. package/dist/collection/components/z-icon/index.js.map +1 -0
  287. package/dist/collection/components/z-icon/index.spec.js +96 -0
  288. package/dist/collection/components/z-icon/index.spec.js.map +1 -0
  289. package/dist/collection/components/z-icon/index.stories.js +30 -0
  290. package/dist/collection/components/z-icon/index.stories.js.map +1 -0
  291. package/dist/collection/components/z-info-box/index.js +86 -0
  292. package/dist/collection/components/z-info-box/index.js.map +1 -0
  293. package/dist/collection/components/z-info-box/index.spec.js.map +1 -0
  294. package/dist/collection/components/z-info-box/index.stories.js +20 -0
  295. package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
  296. package/dist/collection/components/z-info-reveal/index.js +2 -2
  297. package/dist/collection/components/z-info-reveal/index.js.map +1 -1
  298. package/dist/collection/components/z-info-reveal/index.stories.js +59 -0
  299. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
  300. package/dist/collection/components/z-input/index.js +959 -0
  301. package/dist/collection/components/z-input/index.js.map +1 -0
  302. package/dist/collection/components/z-input/index.stories.js +294 -0
  303. package/dist/collection/components/z-input/index.stories.js.map +1 -0
  304. package/dist/collection/components/z-input/styles-checkbox-radio.css +123 -0
  305. package/dist/collection/components/z-input/styles-general.css +154 -0
  306. package/dist/collection/components/z-input/styles-text.css +81 -0
  307. package/dist/collection/components/z-input/styles-textarea.css +35 -0
  308. package/dist/collection/components/z-input/test-checkbox.spec.js.map +1 -0
  309. package/dist/collection/components/z-input/test-methods.spec.js +13 -0
  310. package/dist/collection/components/z-input/test-methods.spec.js.map +1 -0
  311. package/dist/collection/components/z-input/test-radio.spec.js.map +1 -0
  312. package/dist/collection/components/z-input/test-text.spec.js +347 -0
  313. package/dist/collection/components/z-input/test-text.spec.js.map +1 -0
  314. package/dist/collection/components/z-input/test-textarea.spec.js.map +1 -0
  315. package/dist/collection/components/z-input/test.e2e.js +180 -0
  316. package/dist/collection/components/z-input/test.e2e.js.map +1 -0
  317. package/dist/collection/components/z-input-message/index.js +93 -0
  318. package/dist/collection/components/z-input-message/index.js.map +1 -0
  319. package/dist/collection/components/z-input-message/index.spec.js.map +1 -0
  320. package/dist/collection/components/z-input-message/index.stories.js +37 -0
  321. package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
  322. package/dist/collection/components/z-logo/index.js +140 -0
  323. package/dist/collection/components/z-logo/index.js.map +1 -0
  324. package/dist/collection/components/z-logo/index.spec.js.map +1 -0
  325. package/dist/collection/components/z-logo/index.stories.js +26 -0
  326. package/dist/collection/components/z-logo/index.stories.js.map +1 -0
  327. package/dist/collection/components/z-logo/test.e2e.js.map +1 -0
  328. package/dist/collection/components/z-menu/index.js +244 -0
  329. package/dist/collection/components/z-menu/index.js.map +1 -0
  330. package/dist/collection/components/z-menu/index.spec.js.map +1 -0
  331. package/dist/collection/components/z-menu/index.stories.js +129 -0
  332. package/dist/collection/components/z-menu/index.stories.js.map +1 -0
  333. package/dist/collection/components/z-menu-section/index.js +131 -0
  334. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  335. package/dist/collection/components/z-menu-section/index.spec.js.map +1 -0
  336. package/dist/collection/components/z-menu-section/index.stories.js +41 -0
  337. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
  338. package/dist/collection/components/z-modal/index.js +357 -0
  339. package/dist/collection/components/z-modal/index.js.map +1 -0
  340. package/dist/collection/components/z-modal/index.spec.js.map +1 -0
  341. package/dist/collection/components/z-modal/index.stories.js +224 -0
  342. package/dist/collection/components/z-modal/index.stories.js.map +1 -0
  343. package/dist/collection/components/z-navigation-tabs/index.js +374 -0
  344. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  345. package/dist/collection/components/z-navigation-tabs/index.stories.js +191 -0
  346. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
  347. package/dist/collection/components/z-notification/index.js +194 -0
  348. package/dist/collection/components/z-notification/index.js.map +1 -0
  349. package/dist/collection/components/z-notification/index.spec.js.map +1 -0
  350. package/dist/collection/components/z-notification/index.stories.js +147 -0
  351. package/dist/collection/components/z-notification/index.stories.js.map +1 -0
  352. package/dist/collection/components/z-notification/test.e2e.js.map +1 -0
  353. package/dist/collection/components/z-offcanvas/index.js +1 -1
  354. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  355. package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -1
  356. package/dist/collection/components/z-offcanvas/index.stories.js +196 -0
  357. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
  358. package/dist/collection/components/z-offcanvas/styles.css +6 -2
  359. package/dist/collection/components/z-pagination/index.js +1 -1
  360. package/dist/collection/components/z-pagination/index.js.map +1 -1
  361. package/dist/collection/components/z-pagination/index.spec.js.map +1 -1
  362. package/dist/collection/components/z-pagination/index.stories.js +100 -0
  363. package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
  364. package/dist/collection/components/z-pagination/styles.css +6 -2
  365. package/dist/collection/components/z-panel-elem/index.js +197 -0
  366. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  367. package/dist/collection/components/z-panel-elem/index.spec.js.map +1 -0
  368. package/dist/collection/components/z-panel-elem/index.stories.js +26 -0
  369. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
  370. package/dist/collection/components/z-popover/index.js +2 -2
  371. package/dist/collection/components/z-popover/index.js.map +1 -1
  372. package/dist/collection/components/z-popover/index.stories.js +103 -0
  373. package/dist/collection/components/z-popover/index.stories.js.map +1 -0
  374. package/dist/collection/components/z-searchbar/index.js +616 -0
  375. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  376. package/dist/collection/components/z-searchbar/index.spec.js.map +1 -0
  377. package/dist/collection/components/z-searchbar/index.stories.js +198 -0
  378. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
  379. package/dist/collection/components/z-section-title/index.js +1 -1
  380. package/dist/collection/components/z-section-title/index.js.map +1 -1
  381. package/dist/collection/components/z-section-title/index.spec.js +1 -1
  382. package/dist/collection/components/z-section-title/index.spec.js.map +1 -1
  383. package/dist/collection/components/z-section-title/index.stories.js +53 -0
  384. package/dist/collection/components/z-section-title/index.stories.js.map +1 -0
  385. package/dist/collection/components/z-select/index.js +778 -0
  386. package/dist/collection/components/z-select/index.js.map +1 -0
  387. package/dist/collection/components/z-select/index.spec.js.map +1 -0
  388. package/dist/collection/components/z-select/index.stories.js +187 -0
  389. package/dist/collection/components/z-select/index.stories.js.map +1 -0
  390. package/dist/collection/components/z-skip-to-content/index.js +3 -3
  391. package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
  392. package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -1
  393. package/dist/collection/components/z-skip-to-content/index.stories.js +41 -0
  394. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
  395. package/dist/collection/components/z-stepper/index.js +22 -0
  396. package/dist/collection/components/z-stepper/index.js.map +1 -0
  397. package/dist/collection/components/z-stepper/index.spec.js.map +1 -0
  398. package/dist/collection/components/z-stepper/index.stories.js +38 -0
  399. package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
  400. package/dist/collection/components/z-stepper-item/index.js +122 -0
  401. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  402. package/dist/collection/components/z-stepper-item/index.spec.js.map +1 -0
  403. package/dist/collection/components/z-stepper-item/index.stories.js +34 -0
  404. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
  405. package/dist/collection/components/z-tag/index.js +4 -4
  406. package/dist/collection/components/z-tag/index.js.map +1 -1
  407. package/dist/collection/components/z-tag/index.spec.js.map +1 -1
  408. package/dist/collection/components/z-tag/index.stories.js +60 -0
  409. package/dist/collection/components/z-tag/index.stories.js.map +1 -0
  410. package/dist/collection/components/z-toast-notification/index.js +406 -0
  411. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  412. package/dist/collection/components/z-toast-notification/index.spec.js.map +1 -0
  413. package/dist/collection/components/z-toast-notification/index.stories.js +89 -0
  414. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
  415. package/dist/collection/components/z-toast-notification-list/index.js +107 -0
  416. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  417. package/dist/collection/components/z-toast-notification-list/index.spec.js.map +1 -0
  418. package/dist/collection/components/z-toast-notification-list/index.stories.js +124 -0
  419. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
  420. package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +1 -0
  421. package/dist/collection/components/z-toggle-button/index.js +146 -0
  422. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  423. package/dist/collection/components/z-toggle-button/index.spec.js.map +1 -0
  424. package/dist/collection/components/z-toggle-button/index.stories.js +23 -0
  425. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
  426. package/dist/collection/components/z-toggle-switch/index.js +147 -0
  427. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  428. package/dist/collection/components/z-toggle-switch/index.spec.js.map +1 -0
  429. package/dist/collection/components/z-toggle-switch/index.stories.js +27 -0
  430. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
  431. package/dist/collection/components/z-tooltip/index.js +151 -0
  432. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  433. package/dist/collection/components/z-tooltip/index.stories.js +123 -0
  434. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
  435. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  436. package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
  437. package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -1
  438. package/dist/collection/components/z-visually-hidden/index.stories.js +28 -0
  439. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
  440. package/dist/collection/constants/breakpoints.js +1 -1
  441. package/dist/collection/constants/breakpoints.js.map +1 -1
  442. package/dist/collection/constants/icons.js.map +1 -1
  443. package/dist/collection/constants/iconset.js +873 -0
  444. package/dist/collection/constants/iconset.js.map +1 -0
  445. package/dist/collection/index.js +2 -2
  446. package/dist/collection/index.js.map +1 -1
  447. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  448. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
  449. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -1
  450. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +72 -0
  451. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  452. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
  453. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -1
  454. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +24 -0
  455. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  456. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
  457. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -1
  458. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  459. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
  460. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -1
  461. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +24 -0
  462. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  463. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
  464. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -1
  465. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +128 -0
  466. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +6 -2
  467. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  468. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
  469. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -1
  470. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +28 -0
  471. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +9 -3
  472. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  473. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
  474. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -1
  475. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +16 -0
  476. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  477. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
  478. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -1
  479. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +22 -0
  480. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  481. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
  482. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -1
  483. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +22 -0
  484. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  485. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
  486. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -1
  487. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +18 -0
  488. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  489. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
  490. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -1
  491. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +14 -0
  492. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  493. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
  494. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -1
  495. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +18 -0
  496. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  497. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
  498. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -1
  499. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +28 -0
  500. package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -1
  501. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -1
  502. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -1
  503. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -1
  504. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.stories.js +47 -0
  505. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
  506. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -1
  507. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -1
  508. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.stories.js +51 -0
  509. package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -1
  510. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
  511. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -1
  512. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -1
  513. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.stories.js +43 -0
  514. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +9 -3
  515. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -1
  516. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +2 -2
  517. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -1
  518. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -1
  519. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.stories.js +15 -0
  520. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -1
  521. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
  522. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -1
  523. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -1
  524. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.stories.js +36 -0
  525. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  526. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
  527. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -1
  528. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +30 -0
  529. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  530. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
  531. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -1
  532. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +32 -0
  533. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -1
  534. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -1
  535. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
  536. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -1
  537. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +16 -0
  538. package/dist/collection/utils/storybook-utils.js +52 -11
  539. package/dist/collection/utils/storybook-utils.js.map +1 -1
  540. package/dist/collection/utils/utils.js +14 -1
  541. package/dist/collection/utils/utils.js.map +1 -1
  542. package/dist/collection/utils/utils.spec.js.map +1 -1
  543. package/dist/components/breakpoints.js.map +1 -1
  544. package/dist/components/iconset.js +876 -0
  545. package/dist/components/iconset.js.map +1 -0
  546. package/dist/components/index.d.ts +25 -25
  547. package/dist/components/index.js.map +1 -1
  548. package/dist/components/index10.js +15 -6
  549. package/dist/components/index10.js.map +1 -1
  550. package/dist/components/index11.js +1 -1
  551. package/dist/components/index11.js.map +1 -1
  552. package/dist/components/index12.js +1 -1
  553. package/dist/components/index12.js.map +1 -1
  554. package/dist/components/index13.js +1 -1
  555. package/dist/components/index13.js.map +1 -1
  556. package/dist/components/index14.js +2 -2
  557. package/dist/components/index14.js.map +1 -1
  558. package/dist/components/index15.js +4 -4
  559. package/dist/components/index15.js.map +1 -1
  560. package/dist/components/index16.js +1 -1
  561. package/dist/components/index17.js +1 -1
  562. package/dist/components/index18.js +1 -1
  563. package/dist/components/index19.js +1 -1
  564. package/dist/components/index20.js +1 -1
  565. package/dist/components/index20.js.map +1 -1
  566. package/dist/components/index21.js +2 -2
  567. package/dist/components/index21.js.map +1 -1
  568. package/dist/components/index22.js +1 -1
  569. package/dist/components/index22.js.map +1 -1
  570. package/dist/components/index23.js +2 -2
  571. package/dist/components/index23.js.map +1 -1
  572. package/dist/components/index24.js +2 -2
  573. package/dist/components/index24.js.map +1 -1
  574. package/dist/components/index25.js +1 -1
  575. package/dist/components/index25.js.map +1 -1
  576. package/dist/components/index26.js +1 -1
  577. package/dist/components/index26.js.map +1 -1
  578. package/dist/components/index27.js +2 -2
  579. package/dist/components/index27.js.map +1 -1
  580. package/dist/components/index3.js +1 -1
  581. package/dist/components/index4.js +1 -1
  582. package/dist/components/index4.js.map +1 -1
  583. package/dist/components/index5.js +2 -2
  584. package/dist/components/index5.js.map +1 -1
  585. package/dist/components/index6.js +1 -1
  586. package/dist/components/index6.js.map +1 -1
  587. package/dist/components/index7.js +2 -2
  588. package/dist/components/index7.js.map +1 -1
  589. package/dist/components/index8.js +1 -1
  590. package/dist/components/index9.js +2 -2
  591. package/dist/components/index9.js.map +1 -1
  592. package/dist/components/utils.js.map +1 -1
  593. package/dist/components/utils2.js.map +1 -1
  594. package/dist/components/z-accordion.js +2 -2
  595. package/dist/components/z-accordion.js.map +1 -1
  596. package/dist/components/z-anchor-navigation.js +14 -8
  597. package/dist/components/z-anchor-navigation.js.map +1 -1
  598. package/dist/components/z-app-header.js +1 -1
  599. package/dist/components/z-app-header.js.map +1 -1
  600. package/dist/components/z-aria-alert.js +1 -1
  601. package/dist/components/z-aria-alert.js.map +1 -1
  602. package/dist/components/z-avatar.js +2 -2
  603. package/dist/components/z-avatar.js.map +1 -1
  604. package/dist/components/z-book-card.js +1 -1
  605. package/dist/components/z-book-card.js.map +1 -1
  606. package/dist/components/z-breadcrumb.js +2 -2
  607. package/dist/components/z-breadcrumb.js.map +1 -1
  608. package/dist/components/z-button-sort.js +1 -1
  609. package/dist/components/z-button-sort.js.map +1 -1
  610. package/dist/components/z-card.js.map +1 -1
  611. package/dist/components/z-carousel.js.map +1 -1
  612. package/dist/components/z-combobox.js +1 -1
  613. package/dist/components/z-combobox.js.map +1 -1
  614. package/dist/components/z-cover-hero.js +2 -2
  615. package/dist/components/z-cover-hero.js.map +1 -1
  616. package/dist/components/z-date-picker.js +1 -1
  617. package/dist/components/z-date-picker.js.map +1 -1
  618. package/dist/components/z-file-upload.js +1 -1
  619. package/dist/components/z-file-upload.js.map +1 -1
  620. package/dist/components/z-file.js +1 -1
  621. package/dist/components/z-file.js.map +1 -1
  622. package/dist/components/z-info-box.js +1 -1
  623. package/dist/components/z-info-box.js.map +1 -1
  624. package/dist/components/z-info-reveal.js +1 -1
  625. package/dist/components/z-info-reveal.js.map +1 -1
  626. package/dist/components/z-logo.js +1 -1
  627. package/dist/components/z-logo.js.map +1 -1
  628. package/dist/components/z-menu-section.js +1 -1
  629. package/dist/components/z-menu-section.js.map +1 -1
  630. package/dist/components/z-menu.js +1 -1
  631. package/dist/components/z-menu.js.map +1 -1
  632. package/dist/components/z-messages-pocket.js +1 -1
  633. package/dist/components/z-messages-pocket.js.map +1 -1
  634. package/dist/components/z-myz-card-alert.js +1 -1
  635. package/dist/components/z-myz-card-alert.js.map +1 -1
  636. package/dist/components/z-myz-card-dictionary.js +2 -2
  637. package/dist/components/z-myz-card-dictionary.js.map +1 -1
  638. package/dist/components/z-myz-card-footer-sections.js +1 -1
  639. package/dist/components/z-myz-card-footer.js +2 -2
  640. package/dist/components/z-myz-card-footer.js.map +1 -1
  641. package/dist/components/z-myz-card-icon.js +1 -1
  642. package/dist/components/z-myz-card-info.js +1 -1
  643. package/dist/components/z-myz-card-info.js.map +1 -1
  644. package/dist/components/z-myz-card-list.js +1 -1
  645. package/dist/components/z-myz-list.js +1 -1
  646. package/dist/components/z-myz-list.js.map +1 -1
  647. package/dist/components/z-navigation-tabs.js +3 -3
  648. package/dist/components/z-navigation-tabs.js.map +1 -1
  649. package/dist/components/z-notification.js +1 -1
  650. package/dist/components/z-notification.js.map +1 -1
  651. package/dist/components/z-otp.js +2 -2
  652. package/dist/components/z-otp.js.map +1 -1
  653. package/dist/components/z-pagination.js +1 -1
  654. package/dist/components/z-pagination.js.map +1 -1
  655. package/dist/components/z-panel-elem.js +2 -2
  656. package/dist/components/z-panel-elem.js.map +1 -1
  657. package/dist/components/z-pocket-message.js +1 -1
  658. package/dist/components/z-range-picker.js +3 -3
  659. package/dist/components/z-range-picker.js.map +1 -1
  660. package/dist/components/z-section-title.js +1 -1
  661. package/dist/components/z-section-title.js.map +1 -1
  662. package/dist/components/z-select.js +1 -1
  663. package/dist/components/z-select.js.map +1 -1
  664. package/dist/components/z-skip-to-content.js +2 -2
  665. package/dist/components/z-skip-to-content.js.map +1 -1
  666. package/dist/components/z-slideshow.js.map +1 -1
  667. package/dist/components/z-stepper-item.js +1 -1
  668. package/dist/components/z-stepper-item.js.map +1 -1
  669. package/dist/components/z-stepper.js +1 -1
  670. package/dist/components/z-stepper.js.map +1 -1
  671. package/dist/components/z-table.js +2 -2
  672. package/dist/components/z-table.js.map +1 -1
  673. package/dist/components/z-tbody.js +1 -1
  674. package/dist/components/z-td.js +1 -1
  675. package/dist/components/z-td.js.map +1 -1
  676. package/dist/components/z-tfoot.js +1 -1
  677. package/dist/components/z-th.js +1 -1
  678. package/dist/components/z-th.js.map +1 -1
  679. package/dist/components/z-thead.js +1 -1
  680. package/dist/components/z-toast-notification-list.js +1 -1
  681. package/dist/components/z-toast-notification-list.js.map +1 -1
  682. package/dist/components/z-toast-notification.js +1 -1
  683. package/dist/components/z-toast-notification.js.map +1 -1
  684. package/dist/components/z-toggle-button.js +2 -2
  685. package/dist/components/z-toggle-button.js.map +1 -1
  686. package/dist/components/z-toggle-switch.js +4 -4
  687. package/dist/components/z-toggle-switch.js.map +1 -1
  688. package/dist/components/z-tooltip.js +1 -1
  689. package/dist/components/z-tooltip.js.map +1 -1
  690. package/dist/components/z-tr.js +1 -1
  691. package/dist/components/z-tr.js.map +1 -1
  692. package/dist/components/z-visually-hidden.js +1 -1
  693. package/dist/docs/grid/index.stories.js +47 -0
  694. package/dist/docs/grid/index.stories.js.map +1 -0
  695. package/dist/docs/iconset/index.stories.js +32 -0
  696. package/dist/docs/iconset/index.stories.js.map +1 -0
  697. package/dist/docs/themes/index.stories.js +87 -0
  698. package/dist/docs/themes/index.stories.js.map +1 -0
  699. package/dist/esm/app-globals-0f993ce5.js +5 -0
  700. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  701. package/dist/esm/breakpoints-680e0e56.js.map +1 -1
  702. package/dist/esm/index-2f0ea8a1.js +57 -0
  703. package/dist/esm/index-2f0ea8a1.js.map +1 -0
  704. package/dist/esm/index-41ee4016.js +18 -0
  705. package/dist/esm/index-41ee4016.js.map +1 -0
  706. package/dist/esm/index-ab5f1eaa.js +2181 -0
  707. package/dist/esm/index-ab5f1eaa.js.map +1 -0
  708. package/dist/esm/index-cfde9cec.js +19 -0
  709. package/dist/esm/index-cfde9cec.js.map +1 -0
  710. package/dist/esm/index-db930fad.js +63 -0
  711. package/dist/esm/index-db930fad.js.map +1 -0
  712. package/dist/esm/index-e194f4a7.js +44 -0
  713. package/dist/esm/index-e194f4a7.js.map +1 -0
  714. package/dist/esm/index-ea49e441.js +19 -0
  715. package/dist/esm/index-ea49e441.js.map +1 -0
  716. package/dist/esm/index.js.map +1 -1
  717. package/dist/esm/loader.js +6 -4
  718. package/dist/esm/loader.js.map +1 -1
  719. package/dist/esm/utils-7983d02c.js.map +1 -1
  720. package/dist/esm/utils-cd008fbc.js.map +1 -1
  721. package/dist/esm/web-components-library.js +33 -33
  722. package/dist/esm/web-components-library.js.map +1 -1
  723. package/dist/esm/z-accordion.entry.js +3 -3
  724. package/dist/esm/z-accordion.entry.js.map +1 -1
  725. package/dist/esm/z-alert.entry.js +2 -2
  726. package/dist/esm/z-anchor-navigation.entry.js +14 -9
  727. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  728. package/dist/esm/z-app-header_12.entry.js +40 -31
  729. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  730. package/dist/esm/z-aria-alert.entry.js +2 -2
  731. package/dist/esm/z-aria-alert.entry.js.map +1 -1
  732. package/dist/esm/z-avatar.entry.js +3 -3
  733. package/dist/esm/z-avatar.entry.js.map +1 -1
  734. package/dist/esm/z-book-card.entry.js +2 -2
  735. package/dist/esm/z-book-card.entry.js.map +1 -1
  736. package/dist/esm/z-breadcrumb.entry.js +3 -3
  737. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  738. package/dist/esm/z-button-sort.entry.js +2 -2
  739. package/dist/esm/z-button-sort.entry.js.map +1 -1
  740. package/dist/esm/z-card.entry.js +1 -1
  741. package/dist/esm/z-card.entry.js.map +1 -1
  742. package/dist/esm/z-carousel.entry.js +1 -1
  743. package/dist/esm/z-carousel.entry.js.map +1 -1
  744. package/dist/esm/z-chip.entry.js +3 -3
  745. package/dist/esm/z-chip.entry.js.map +1 -1
  746. package/dist/esm/z-combobox.entry.js +2 -2
  747. package/dist/esm/z-combobox.entry.js.map +1 -1
  748. package/dist/esm/z-cover-hero.entry.js +3 -3
  749. package/dist/esm/z-cover-hero.entry.js.map +1 -1
  750. package/dist/esm/z-date-picker.entry.js +2 -2
  751. package/dist/esm/z-date-picker.entry.js.map +1 -1
  752. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  753. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  754. package/dist/esm/z-file-upload.entry.js +2 -2
  755. package/dist/esm/z-file-upload.entry.js.map +1 -1
  756. package/dist/esm/z-file.entry.js +2 -2
  757. package/dist/esm/z-file.entry.js.map +1 -1
  758. package/dist/esm/z-ghost-loading.entry.js +2 -2
  759. package/dist/esm/z-info-box.entry.js +2 -2
  760. package/dist/esm/z-info-box.entry.js.map +1 -1
  761. package/dist/esm/z-info-reveal.entry.js +2 -2
  762. package/dist/esm/z-info-reveal.entry.js.map +1 -1
  763. package/dist/esm/z-logo.entry.js +2 -2
  764. package/dist/esm/z-logo.entry.js.map +1 -1
  765. package/dist/esm/z-menu-section.entry.js +2 -2
  766. package/dist/esm/z-menu-section.entry.js.map +1 -1
  767. package/dist/esm/z-menu.entry.js +2 -2
  768. package/dist/esm/z-menu.entry.js.map +1 -1
  769. package/dist/esm/z-messages-pocket.entry.js +2 -2
  770. package/dist/esm/z-messages-pocket.entry.js.map +1 -1
  771. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  772. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  773. package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
  774. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
  775. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  776. package/dist/esm/z-myz-card-footer.entry.js +3 -3
  777. package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
  778. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  779. package/dist/esm/z-myz-card-info.entry.js +2 -2
  780. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  781. package/dist/esm/z-myz-card-list.entry.js +2 -2
  782. package/dist/esm/z-myz-card_4.entry.js +5 -5
  783. package/dist/esm/z-myz-list-item.entry.js +2 -2
  784. package/dist/esm/z-myz-list-item.entry.js.map +1 -1
  785. package/dist/esm/z-myz-list.entry.js +2 -2
  786. package/dist/esm/z-myz-list.entry.js.map +1 -1
  787. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  788. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  789. package/dist/esm/z-notification.entry.js +2 -2
  790. package/dist/esm/z-notification.entry.js.map +1 -1
  791. package/dist/esm/z-otp.entry.js +3 -3
  792. package/dist/esm/z-otp.entry.js.map +1 -1
  793. package/dist/esm/z-pagination.entry.js +2 -2
  794. package/dist/esm/z-pagination.entry.js.map +1 -1
  795. package/dist/esm/z-panel-elem.entry.js +3 -3
  796. package/dist/esm/z-panel-elem.entry.js.map +1 -1
  797. package/dist/esm/z-pocket-message.entry.js +2 -2
  798. package/dist/esm/z-pocket_3.entry.js +6 -6
  799. package/dist/esm/z-pocket_3.entry.js.map +1 -1
  800. package/dist/esm/z-popover.entry.js +2 -2
  801. package/dist/esm/z-popover.entry.js.map +1 -1
  802. package/dist/esm/z-range-picker.entry.js +4 -4
  803. package/dist/esm/z-range-picker.entry.js.map +1 -1
  804. package/dist/esm/z-section-title.entry.js +2 -2
  805. package/dist/esm/z-section-title.entry.js.map +1 -1
  806. package/dist/esm/z-select.entry.js +2 -2
  807. package/dist/esm/z-select.entry.js.map +1 -1
  808. package/dist/esm/z-skip-to-content.entry.js +3 -3
  809. package/dist/esm/z-skip-to-content.entry.js.map +1 -1
  810. package/dist/esm/z-slideshow.entry.js +1 -1
  811. package/dist/esm/z-slideshow.entry.js.map +1 -1
  812. package/dist/esm/z-stepper-item.entry.js +2 -2
  813. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  814. package/dist/esm/z-stepper.entry.js +2 -2
  815. package/dist/esm/z-stepper.entry.js.map +1 -1
  816. package/dist/esm/z-table.entry.js +8 -8
  817. package/dist/esm/z-table.entry.js.map +1 -1
  818. package/dist/esm/z-tbody.entry.js +2 -2
  819. package/dist/esm/z-td.entry.js +2 -2
  820. package/dist/esm/z-tfoot.entry.js +2 -2
  821. package/dist/esm/z-th.entry.js +2 -2
  822. package/dist/esm/z-thead.entry.js +2 -2
  823. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  824. package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
  825. package/dist/esm/z-toast-notification.entry.js +2 -2
  826. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  827. package/dist/esm/z-toggle-button.entry.js +3 -3
  828. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  829. package/dist/esm/z-toggle-switch.entry.js +5 -5
  830. package/dist/esm/z-toggle-switch.entry.js.map +1 -1
  831. package/dist/esm/z-tooltip.entry.js +2 -2
  832. package/dist/esm/z-tooltip.entry.js.map +1 -1
  833. package/dist/esm/z-tr.entry.js +4 -4
  834. package/dist/esm/z-visually-hidden.entry.js +2 -2
  835. package/dist/types/components/css-components/z-fab/index.stories.d.ts +63 -0
  836. package/dist/types/components/css-components/z-link/index.stories.d.ts +46 -0
  837. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +33 -0
  838. package/dist/types/components/date-picker/z-range-picker/index.d.ts +1 -1
  839. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +51 -0
  840. package/dist/types/components/file-upload/z-file/index.stories.d.ts +14 -0
  841. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +42 -0
  842. package/dist/types/components/list/z-list/index.d.ts +2 -2
  843. package/dist/types/components/list/z-list/index.stories.d.ts +62 -0
  844. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  845. package/dist/types/components/list/z-list-element/index.stories.d.ts +77 -0
  846. package/dist/types/components/list/z-list-group/index.d.ts +1 -1
  847. package/dist/types/components/list/z-list-group/index.stories.d.ts +46 -0
  848. package/dist/types/components/table/z-table/index.d.ts +2 -2
  849. package/dist/types/components/table/z-table/index.stories.d.ts +82 -0
  850. package/dist/types/components/z-accordion/index.d.ts +1 -1
  851. package/dist/types/components/z-accordion/index.stories.d.ts +142 -0
  852. package/dist/types/components/z-anchor-navigation/index.d.ts +12 -4
  853. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +32 -0
  854. package/dist/types/components/z-app-header/index.d.ts +149 -0
  855. package/dist/types/components/z-app-header/index.stories.d.ts +118 -0
  856. package/dist/types/components/z-aria-alert/index.stories.d.ts +26 -0
  857. package/dist/types/components/z-avatar/index.stories.d.ts +42 -0
  858. package/dist/types/components/z-book-card/index.stories.d.ts +115 -0
  859. package/dist/types/components/z-breadcrumb/index.stories.d.ts +52 -0
  860. package/dist/types/components/z-button/index.d.ts +31 -0
  861. package/dist/types/components/z-button/index.stories.d.ts +66 -0
  862. package/dist/types/components/z-button-sort/index.d.ts +28 -0
  863. package/dist/types/components/z-button-sort/index.stories.d.ts +22 -0
  864. package/dist/types/components/z-card/index.stories.d.ts +70 -0
  865. package/dist/types/components/z-carousel/index.stories.d.ts +100 -0
  866. package/dist/types/components/z-chip/index.d.ts +18 -0
  867. package/dist/types/components/z-chip/index.stories.d.ts +46 -0
  868. package/dist/types/components/z-combobox/index.d.ts +84 -0
  869. package/dist/types/components/z-combobox/index.stories.d.ts +58 -0
  870. package/dist/types/components/z-cover-hero/index.d.ts +1 -1
  871. package/dist/types/components/z-cover-hero/index.stories.d.ts +113 -0
  872. package/dist/types/components/z-divider/index.d.ts +1 -1
  873. package/dist/types/components/z-divider/index.stories.d.ts +37 -0
  874. package/dist/types/components/z-ghost-loading/index.stories.d.ts +9 -0
  875. package/dist/types/components/z-icon/index.stories.d.ts +23 -0
  876. package/dist/types/components/z-info-box/index.d.ts +14 -0
  877. package/dist/types/components/z-info-box/index.stories.d.ts +12 -0
  878. package/dist/types/components/z-info-reveal/index.stories.d.ts +42 -0
  879. package/dist/types/components/z-input/index.d.ts +110 -0
  880. package/dist/types/components/z-input/index.stories.d.ts +126 -0
  881. package/dist/types/components/z-input-message/index.d.ts +12 -0
  882. package/dist/types/components/z-input-message/index.stories.d.ts +33 -0
  883. package/dist/types/components/z-logo/index.stories.d.ts +18 -0
  884. package/dist/types/components/z-menu/index.d.ts +61 -0
  885. package/dist/types/components/z-menu/index.stories.d.ts +27 -0
  886. package/dist/types/components/z-menu-section/index.d.ts +31 -0
  887. package/dist/types/components/z-menu-section/index.stories.d.ts +16 -0
  888. package/dist/types/components/z-modal/index.d.ts +49 -0
  889. package/dist/types/components/z-modal/index.stories.d.ts +39 -0
  890. package/dist/types/components/z-navigation-tabs/index.d.ts +114 -0
  891. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +78 -0
  892. package/dist/types/components/z-notification/index.d.ts +32 -0
  893. package/dist/types/components/z-notification/index.stories.d.ts +61 -0
  894. package/dist/types/components/z-offcanvas/index.stories.d.ts +49 -0
  895. package/dist/types/components/z-pagination/index.stories.d.ts +40 -0
  896. package/dist/types/components/z-panel-elem/index.stories.d.ts +18 -0
  897. package/dist/types/components/z-popover/index.stories.d.ts +40 -0
  898. package/dist/types/components/z-searchbar/index.d.ts +80 -0
  899. package/dist/types/components/z-searchbar/index.stories.d.ts +94 -0
  900. package/dist/types/components/z-section-title/index.stories.d.ts +37 -0
  901. package/dist/types/components/z-select/index.d.ts +84 -0
  902. package/dist/types/components/z-select/index.stories.d.ts +60 -0
  903. package/dist/types/components/z-skip-to-content/index.d.ts +1 -1
  904. package/dist/types/components/z-skip-to-content/index.stories.d.ts +31 -0
  905. package/dist/types/components/z-stepper/index.d.ts +6 -0
  906. package/dist/types/components/z-stepper/index.stories.d.ts +16 -0
  907. package/dist/types/components/z-stepper-item/index.stories.d.ts +21 -0
  908. package/dist/types/components/z-tag/index.d.ts +1 -1
  909. package/dist/types/components/z-tag/index.stories.d.ts +35 -0
  910. package/dist/types/components/z-toast-notification/index.d.ts +56 -0
  911. package/dist/types/components/z-toast-notification/index.stories.d.ts +58 -0
  912. package/dist/types/components/z-toast-notification-list/index.d.ts +14 -0
  913. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +81 -0
  914. package/dist/types/components/z-toggle-button/index.d.ts +17 -0
  915. package/dist/types/components/z-toggle-button/index.stories.d.ts +16 -0
  916. package/dist/types/components/z-toggle-switch/index.d.ts +17 -0
  917. package/dist/types/components/z-toggle-switch/index.stories.d.ts +22 -0
  918. package/dist/types/components/z-tooltip/index.d.ts +32 -0
  919. package/dist/types/components/z-tooltip/index.stories.d.ts +40 -0
  920. package/dist/types/components/z-visually-hidden/index.stories.d.ts +9 -0
  921. package/dist/types/components.d.ts +30 -22
  922. package/dist/types/constants/breakpoints.d.ts +1 -1
  923. package/dist/types/constants/iconset.d.ts +1577 -0
  924. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +13 -0
  925. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +5 -0
  926. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
  927. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
  928. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +27 -0
  929. package/dist/types/index.d.ts +2 -2
  930. package/dist/types/stencil-public-runtime.d.ts +3 -8
  931. package/dist/types/utils/storybook-utils.d.ts +38 -8
  932. package/dist/types/utils/utils.d.ts +5 -0
  933. package/dist/web-components-library/index.esm.js.map +1 -1
  934. package/dist/web-components-library/p-025f494e.js.map +1 -1
  935. package/dist/web-components-library/p-060725ef.entry.js +2 -0
  936. package/dist/web-components-library/p-060725ef.entry.js.map +1 -0
  937. package/dist/web-components-library/p-0c2fdbe5.entry.js +2 -0
  938. package/dist/web-components-library/p-0c2fdbe5.entry.js.map +1 -0
  939. package/dist/web-components-library/p-17d072c7.entry.js +2 -0
  940. package/dist/web-components-library/p-17d072c7.entry.js.map +1 -0
  941. package/dist/web-components-library/p-1c5d8cac.js +2 -0
  942. package/dist/web-components-library/p-1c5d8cac.js.map +1 -0
  943. package/dist/web-components-library/p-2010d544.entry.js +2 -0
  944. package/dist/web-components-library/p-2010d544.entry.js.map +1 -0
  945. package/dist/web-components-library/p-2395b965.entry.js +2 -0
  946. package/dist/web-components-library/p-2395b965.entry.js.map +1 -0
  947. package/dist/web-components-library/p-25a85aec.js +2 -0
  948. package/dist/web-components-library/p-25a85aec.js.map +1 -0
  949. package/dist/web-components-library/p-2c886e8b.js.map +1 -1
  950. package/dist/web-components-library/p-2ed68ac5.entry.js +2 -0
  951. package/dist/web-components-library/p-2ed68ac5.entry.js.map +1 -0
  952. package/dist/web-components-library/p-36189235.entry.js +2 -0
  953. package/dist/web-components-library/p-36189235.entry.js.map +1 -0
  954. package/dist/web-components-library/p-37f05eab.entry.js +2 -0
  955. package/dist/web-components-library/p-37f05eab.entry.js.map +1 -0
  956. package/dist/web-components-library/p-39aeb320.entry.js +2 -0
  957. package/dist/web-components-library/p-39aeb320.entry.js.map +1 -0
  958. package/dist/web-components-library/p-4170f99b.entry.js +2 -0
  959. package/dist/web-components-library/p-4170f99b.entry.js.map +1 -0
  960. package/dist/web-components-library/p-493c652a.entry.js +2 -0
  961. package/dist/web-components-library/p-493c652a.entry.js.map +1 -0
  962. package/dist/web-components-library/p-49a35cf0.js.map +1 -1
  963. package/dist/web-components-library/p-4c70b69e.entry.js +2 -0
  964. package/dist/web-components-library/p-4c70b69e.entry.js.map +1 -0
  965. package/dist/web-components-library/p-54b0b04e.js.map +1 -1
  966. package/dist/web-components-library/p-5a2fddef.entry.js +2 -0
  967. package/dist/web-components-library/p-5a2fddef.entry.js.map +1 -0
  968. package/dist/web-components-library/p-5cf2fb58.js +2 -0
  969. package/dist/web-components-library/p-5cf2fb58.js.map +1 -0
  970. package/dist/web-components-library/p-5e734fd3.entry.js +2 -0
  971. package/dist/web-components-library/p-5e734fd3.entry.js.map +1 -0
  972. package/dist/web-components-library/p-5e9b3793.entry.js +2 -0
  973. package/dist/web-components-library/p-5e9b3793.entry.js.map +1 -0
  974. package/dist/web-components-library/p-62598750.entry.js +2 -0
  975. package/dist/web-components-library/p-62598750.entry.js.map +1 -0
  976. package/dist/web-components-library/p-67d49495.entry.js +2 -0
  977. package/dist/web-components-library/p-67d49495.entry.js.map +1 -0
  978. package/dist/web-components-library/p-680ee955.entry.js +2 -0
  979. package/dist/web-components-library/p-680ee955.entry.js.map +1 -0
  980. package/dist/web-components-library/p-70914d67.entry.js +2 -0
  981. package/dist/web-components-library/p-70914d67.entry.js.map +1 -0
  982. package/dist/web-components-library/p-737293b2.js +2 -0
  983. package/dist/web-components-library/p-737293b2.js.map +1 -0
  984. package/dist/web-components-library/p-7cba8558.entry.js +2 -0
  985. package/dist/web-components-library/p-7cba8558.entry.js.map +1 -0
  986. package/dist/web-components-library/p-7ce64686.entry.js +2 -0
  987. package/dist/web-components-library/p-7ce64686.entry.js.map +1 -0
  988. package/dist/web-components-library/p-7da88300.entry.js +2 -0
  989. package/dist/web-components-library/p-7da88300.entry.js.map +1 -0
  990. package/dist/web-components-library/p-810433b1.entry.js +2 -0
  991. package/dist/web-components-library/p-810433b1.entry.js.map +1 -0
  992. package/dist/web-components-library/p-8164f039.entry.js +2 -0
  993. package/dist/web-components-library/p-8164f039.entry.js.map +1 -0
  994. package/dist/web-components-library/p-82b845c3.entry.js +2 -0
  995. package/dist/web-components-library/p-82b845c3.entry.js.map +1 -0
  996. package/dist/web-components-library/p-82e3760c.entry.js +2 -0
  997. package/dist/web-components-library/p-82e3760c.entry.js.map +1 -0
  998. package/dist/web-components-library/p-85930223.entry.js +2 -0
  999. package/dist/web-components-library/p-85930223.entry.js.map +1 -0
  1000. package/dist/web-components-library/p-89c1d12d.entry.js +2 -0
  1001. package/dist/web-components-library/p-89c1d12d.entry.js.map +1 -0
  1002. package/dist/web-components-library/p-8cedb801.entry.js +2 -0
  1003. package/dist/web-components-library/p-8cedb801.entry.js.map +1 -0
  1004. package/dist/web-components-library/p-93d39e70.entry.js +2 -0
  1005. package/dist/web-components-library/p-93d39e70.entry.js.map +1 -0
  1006. package/dist/web-components-library/p-955da62e.js.map +1 -1
  1007. package/dist/web-components-library/p-965094e0.entry.js +2 -0
  1008. package/dist/web-components-library/p-965094e0.entry.js.map +1 -0
  1009. package/dist/web-components-library/p-96584abb.entry.js +2 -0
  1010. package/dist/web-components-library/p-96584abb.entry.js.map +1 -0
  1011. package/dist/web-components-library/p-9c50d9cc.entry.js +2 -0
  1012. package/dist/web-components-library/p-9c50d9cc.entry.js.map +1 -0
  1013. package/dist/web-components-library/p-9dc8cdd2.entry.js +17 -0
  1014. package/dist/web-components-library/p-9dc8cdd2.entry.js.map +1 -0
  1015. package/dist/web-components-library/p-9dd4a4a5.entry.js +2 -0
  1016. package/dist/web-components-library/p-9dd4a4a5.entry.js.map +1 -0
  1017. package/dist/web-components-library/p-a0893037.entry.js +2 -0
  1018. package/dist/web-components-library/p-a0893037.entry.js.map +1 -0
  1019. package/dist/web-components-library/p-a11e1d48.entry.js +2 -0
  1020. package/dist/web-components-library/p-a11e1d48.entry.js.map +1 -0
  1021. package/dist/web-components-library/p-a789b863.entry.js +2 -0
  1022. package/dist/web-components-library/p-a789b863.entry.js.map +1 -0
  1023. package/dist/web-components-library/p-a8265231.entry.js +2 -0
  1024. package/dist/web-components-library/p-a8265231.entry.js.map +1 -0
  1025. package/dist/web-components-library/p-b064878a.entry.js +2 -0
  1026. package/dist/web-components-library/p-b064878a.entry.js.map +1 -0
  1027. package/dist/web-components-library/p-b6d2f646.entry.js +2 -0
  1028. package/dist/web-components-library/p-b6d2f646.entry.js.map +1 -0
  1029. package/dist/web-components-library/p-b72193fc.entry.js +2 -0
  1030. package/dist/web-components-library/p-b72193fc.entry.js.map +1 -0
  1031. package/dist/web-components-library/p-b741a768.entry.js +2 -0
  1032. package/dist/web-components-library/p-b741a768.entry.js.map +1 -0
  1033. package/dist/web-components-library/p-b9078348.js +2 -0
  1034. package/dist/web-components-library/p-b9078348.js.map +1 -0
  1035. package/dist/web-components-library/p-bc552513.entry.js +2 -0
  1036. package/dist/web-components-library/p-bc552513.entry.js.map +1 -0
  1037. package/dist/web-components-library/p-bf7c05a8.entry.js +2 -0
  1038. package/dist/web-components-library/p-bf7c05a8.entry.js.map +1 -0
  1039. package/dist/web-components-library/p-bfb58cca.entry.js +2 -0
  1040. package/dist/web-components-library/p-bfb58cca.entry.js.map +1 -0
  1041. package/dist/web-components-library/p-c5127319.entry.js +2 -0
  1042. package/dist/web-components-library/p-c5127319.entry.js.map +1 -0
  1043. package/dist/web-components-library/p-cc3c02fe.js +3 -0
  1044. package/dist/web-components-library/p-cc3c02fe.js.map +1 -0
  1045. package/dist/web-components-library/p-d22d5fcb.entry.js +2 -0
  1046. package/dist/web-components-library/p-d22d5fcb.entry.js.map +1 -0
  1047. package/dist/web-components-library/p-d594caea.entry.js +2 -0
  1048. package/dist/web-components-library/p-d594caea.entry.js.map +1 -0
  1049. package/dist/web-components-library/p-d73386ae.entry.js +2 -0
  1050. package/dist/web-components-library/p-d73386ae.entry.js.map +1 -0
  1051. package/dist/web-components-library/p-d8413391.entry.js +2 -0
  1052. package/dist/web-components-library/p-d8413391.entry.js.map +1 -0
  1053. package/dist/web-components-library/p-dde9f76d.entry.js +2 -0
  1054. package/dist/web-components-library/p-dde9f76d.entry.js.map +1 -0
  1055. package/dist/web-components-library/p-e1255160.js +2 -0
  1056. package/dist/web-components-library/p-e1255160.js.map +1 -0
  1057. package/dist/web-components-library/p-e43b10db.entry.js +2 -0
  1058. package/dist/web-components-library/p-e43b10db.entry.js.map +1 -0
  1059. package/dist/web-components-library/p-eac17dfe.entry.js +2 -0
  1060. package/dist/web-components-library/p-eac17dfe.entry.js.map +1 -0
  1061. package/dist/web-components-library/p-ee290d4c.entry.js +2 -0
  1062. package/dist/web-components-library/p-ee290d4c.entry.js.map +1 -0
  1063. package/dist/web-components-library/p-f12d9a47.entry.js +2 -0
  1064. package/dist/web-components-library/p-f12d9a47.entry.js.map +1 -0
  1065. package/dist/web-components-library/p-f393de28.entry.js +2 -0
  1066. package/dist/web-components-library/p-f393de28.entry.js.map +1 -0
  1067. package/dist/web-components-library/p-f625d532.entry.js +2 -0
  1068. package/dist/web-components-library/p-f625d532.entry.js.map +1 -0
  1069. package/dist/web-components-library/p-f6b886ab.entry.js +2 -0
  1070. package/dist/web-components-library/p-f6b886ab.entry.js.map +1 -0
  1071. package/dist/web-components-library/p-f7180c65.entry.js +2 -0
  1072. package/dist/web-components-library/p-f7180c65.entry.js.map +1 -0
  1073. package/dist/web-components-library/p-f978d22d.entry.js +2 -0
  1074. package/dist/web-components-library/p-f978d22d.entry.js.map +1 -0
  1075. package/dist/web-components-library/p-fbad70dd.entry.js +2 -0
  1076. package/dist/web-components-library/p-fbad70dd.entry.js.map +1 -0
  1077. package/dist/web-components-library/p-fdd176e2.entry.js +2 -0
  1078. package/dist/web-components-library/p-fdd176e2.entry.js.map +1 -0
  1079. package/dist/web-components-library/p-feca4075.js +2 -0
  1080. package/dist/web-components-library/p-feca4075.js.map +1 -0
  1081. package/dist/web-components-library/web-components-library.css +1 -1
  1082. package/dist/web-components-library/web-components-library.esm.js +1 -1
  1083. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  1084. package/loader/cdn.js +1 -3
  1085. package/loader/index.cjs.js +1 -3
  1086. package/loader/index.es2017.js +1 -3
  1087. package/loader/index.js +1 -3
  1088. package/package.json +38 -35
  1089. package/react/components.js +80 -80
  1090. package/react/components.js.map +1 -1
  1091. package/react/index.js +5 -1
  1092. package/react/index.js.map +1 -1
  1093. package/react/react-component-lib/createComponent.d.ts +1 -1
  1094. package/react/react-component-lib/createComponent.js +12 -8
  1095. package/react/react-component-lib/createComponent.js.map +1 -1
  1096. package/react/react-component-lib/createOverlayComponent.js +6 -6
  1097. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  1098. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  1099. package/react/react-component-lib/utils/attachProps.js +5 -5
  1100. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  1101. package/react/react-component-lib/utils/dev.js +1 -1
  1102. package/react/react-component-lib/utils/dev.js.map +1 -1
  1103. package/react/react-component-lib/utils/index.d.ts +3 -3
  1104. package/react/react-component-lib/utils/index.js +6 -2
  1105. package/react/react-component-lib/utils/index.js.map +1 -1
  1106. package/readme.md +8 -7
  1107. package/www/build/index.esm.js.map +1 -1
  1108. package/www/build/p-025f494e.js.map +1 -1
  1109. package/www/build/p-060725ef.entry.js +2 -0
  1110. package/www/build/p-060725ef.entry.js.map +1 -0
  1111. package/www/build/p-0c2fdbe5.entry.js +2 -0
  1112. package/www/build/p-0c2fdbe5.entry.js.map +1 -0
  1113. package/www/build/p-17d072c7.entry.js +2 -0
  1114. package/www/build/p-17d072c7.entry.js.map +1 -0
  1115. package/www/build/p-1c5d8cac.js +2 -0
  1116. package/www/build/p-1c5d8cac.js.map +1 -0
  1117. package/www/build/p-2010d544.entry.js +2 -0
  1118. package/www/build/p-2010d544.entry.js.map +1 -0
  1119. package/www/build/p-2395b965.entry.js +2 -0
  1120. package/www/build/p-2395b965.entry.js.map +1 -0
  1121. package/www/build/p-25a85aec.js +2 -0
  1122. package/www/build/p-25a85aec.js.map +1 -0
  1123. package/www/build/p-2c886e8b.js.map +1 -1
  1124. package/www/build/p-2ed68ac5.entry.js +2 -0
  1125. package/www/build/p-2ed68ac5.entry.js.map +1 -0
  1126. package/www/build/p-36189235.entry.js +2 -0
  1127. package/www/build/p-36189235.entry.js.map +1 -0
  1128. package/www/build/p-37f05eab.entry.js +2 -0
  1129. package/www/build/p-37f05eab.entry.js.map +1 -0
  1130. package/www/build/p-39aeb320.entry.js +2 -0
  1131. package/www/build/p-39aeb320.entry.js.map +1 -0
  1132. package/www/build/p-4170f99b.entry.js +2 -0
  1133. package/www/build/p-4170f99b.entry.js.map +1 -0
  1134. package/www/build/p-493c652a.entry.js +2 -0
  1135. package/www/build/p-493c652a.entry.js.map +1 -0
  1136. package/www/build/p-49a35cf0.js.map +1 -1
  1137. package/www/build/p-4c70b69e.entry.js +2 -0
  1138. package/www/build/p-4c70b69e.entry.js.map +1 -0
  1139. package/www/build/p-54b0b04e.js.map +1 -1
  1140. package/www/build/p-5a2fddef.entry.js +2 -0
  1141. package/www/build/p-5a2fddef.entry.js.map +1 -0
  1142. package/www/build/p-5cf2fb58.js +2 -0
  1143. package/www/build/p-5cf2fb58.js.map +1 -0
  1144. package/www/build/p-5e734fd3.entry.js +2 -0
  1145. package/www/build/p-5e734fd3.entry.js.map +1 -0
  1146. package/www/build/p-5e9b3793.entry.js +2 -0
  1147. package/www/build/p-5e9b3793.entry.js.map +1 -0
  1148. package/www/build/p-62598750.entry.js +2 -0
  1149. package/www/build/p-62598750.entry.js.map +1 -0
  1150. package/www/build/p-67d49495.entry.js +2 -0
  1151. package/www/build/p-67d49495.entry.js.map +1 -0
  1152. package/www/build/p-680ee955.entry.js +2 -0
  1153. package/www/build/p-680ee955.entry.js.map +1 -0
  1154. package/www/build/p-6ac53866.css +4 -0
  1155. package/www/build/p-70914d67.entry.js +2 -0
  1156. package/www/build/p-70914d67.entry.js.map +1 -0
  1157. package/www/build/p-737293b2.js +2 -0
  1158. package/www/build/p-737293b2.js.map +1 -0
  1159. package/www/build/p-7cba8558.entry.js +2 -0
  1160. package/www/build/p-7cba8558.entry.js.map +1 -0
  1161. package/www/build/p-7ce64686.entry.js +2 -0
  1162. package/www/build/p-7ce64686.entry.js.map +1 -0
  1163. package/www/build/p-7da88300.entry.js +2 -0
  1164. package/www/build/p-7da88300.entry.js.map +1 -0
  1165. package/www/build/p-810433b1.entry.js +2 -0
  1166. package/www/build/p-810433b1.entry.js.map +1 -0
  1167. package/www/build/p-8164f039.entry.js +2 -0
  1168. package/www/build/p-8164f039.entry.js.map +1 -0
  1169. package/www/build/p-82b845c3.entry.js +2 -0
  1170. package/www/build/p-82b845c3.entry.js.map +1 -0
  1171. package/www/build/p-82e3760c.entry.js +2 -0
  1172. package/www/build/p-82e3760c.entry.js.map +1 -0
  1173. package/www/build/p-85930223.entry.js +2 -0
  1174. package/www/build/p-85930223.entry.js.map +1 -0
  1175. package/www/build/p-89c1d12d.entry.js +2 -0
  1176. package/www/build/p-89c1d12d.entry.js.map +1 -0
  1177. package/www/build/p-8cedb801.entry.js +2 -0
  1178. package/www/build/p-8cedb801.entry.js.map +1 -0
  1179. package/www/build/p-93d39e70.entry.js +2 -0
  1180. package/www/build/p-93d39e70.entry.js.map +1 -0
  1181. package/www/build/p-955da62e.js.map +1 -1
  1182. package/www/build/p-965094e0.entry.js +2 -0
  1183. package/www/build/p-965094e0.entry.js.map +1 -0
  1184. package/www/build/p-96584abb.entry.js +2 -0
  1185. package/www/build/p-96584abb.entry.js.map +1 -0
  1186. package/www/build/p-9c50d9cc.entry.js +2 -0
  1187. package/www/build/p-9c50d9cc.entry.js.map +1 -0
  1188. package/www/build/p-9dc8cdd2.entry.js +17 -0
  1189. package/www/build/p-9dc8cdd2.entry.js.map +1 -0
  1190. package/www/build/p-9dd4a4a5.entry.js +2 -0
  1191. package/www/build/p-9dd4a4a5.entry.js.map +1 -0
  1192. package/www/build/p-a0893037.entry.js +2 -0
  1193. package/www/build/p-a0893037.entry.js.map +1 -0
  1194. package/www/build/p-a11e1d48.entry.js +2 -0
  1195. package/www/build/p-a11e1d48.entry.js.map +1 -0
  1196. package/www/build/p-a789b863.entry.js +2 -0
  1197. package/www/build/p-a789b863.entry.js.map +1 -0
  1198. package/www/build/p-a8265231.entry.js +2 -0
  1199. package/www/build/p-a8265231.entry.js.map +1 -0
  1200. package/www/build/p-b064878a.entry.js +2 -0
  1201. package/www/build/p-b064878a.entry.js.map +1 -0
  1202. package/www/build/p-b6d2f646.entry.js +2 -0
  1203. package/www/build/p-b6d2f646.entry.js.map +1 -0
  1204. package/www/build/p-b72193fc.entry.js +2 -0
  1205. package/www/build/p-b72193fc.entry.js.map +1 -0
  1206. package/www/build/p-b741a768.entry.js +2 -0
  1207. package/www/build/p-b741a768.entry.js.map +1 -0
  1208. package/www/build/p-b9078348.js +2 -0
  1209. package/www/build/p-b9078348.js.map +1 -0
  1210. package/www/build/p-bc552513.entry.js +2 -0
  1211. package/www/build/p-bc552513.entry.js.map +1 -0
  1212. package/www/build/p-bf7c05a8.entry.js +2 -0
  1213. package/www/build/p-bf7c05a8.entry.js.map +1 -0
  1214. package/www/build/p-bfb58cca.entry.js +2 -0
  1215. package/www/build/p-bfb58cca.entry.js.map +1 -0
  1216. package/www/build/p-c5127319.entry.js +2 -0
  1217. package/www/build/p-c5127319.entry.js.map +1 -0
  1218. package/www/build/p-cc3c02fe.js +3 -0
  1219. package/www/build/p-cc3c02fe.js.map +1 -0
  1220. package/www/build/p-d22d5fcb.entry.js +2 -0
  1221. package/www/build/p-d22d5fcb.entry.js.map +1 -0
  1222. package/www/build/p-d594caea.entry.js +2 -0
  1223. package/www/build/p-d594caea.entry.js.map +1 -0
  1224. package/www/build/p-d73386ae.entry.js +2 -0
  1225. package/www/build/p-d73386ae.entry.js.map +1 -0
  1226. package/www/build/p-d8413391.entry.js +2 -0
  1227. package/www/build/p-d8413391.entry.js.map +1 -0
  1228. package/www/build/p-d97a3b56.js +2 -0
  1229. package/www/build/p-dde9f76d.entry.js +2 -0
  1230. package/www/build/p-dde9f76d.entry.js.map +1 -0
  1231. package/www/build/p-e1255160.js +2 -0
  1232. package/www/build/p-e1255160.js.map +1 -0
  1233. package/www/build/p-e43b10db.entry.js +2 -0
  1234. package/www/build/p-e43b10db.entry.js.map +1 -0
  1235. package/www/build/p-eac17dfe.entry.js +2 -0
  1236. package/www/build/p-eac17dfe.entry.js.map +1 -0
  1237. package/www/build/p-ee290d4c.entry.js +2 -0
  1238. package/www/build/p-ee290d4c.entry.js.map +1 -0
  1239. package/www/build/p-f12d9a47.entry.js +2 -0
  1240. package/www/build/p-f12d9a47.entry.js.map +1 -0
  1241. package/www/build/p-f393de28.entry.js +2 -0
  1242. package/www/build/p-f393de28.entry.js.map +1 -0
  1243. package/www/build/p-f625d532.entry.js +2 -0
  1244. package/www/build/p-f625d532.entry.js.map +1 -0
  1245. package/www/build/p-f6b886ab.entry.js +2 -0
  1246. package/www/build/p-f6b886ab.entry.js.map +1 -0
  1247. package/www/build/p-f7180c65.entry.js +2 -0
  1248. package/www/build/p-f7180c65.entry.js.map +1 -0
  1249. package/www/build/p-f978d22d.entry.js +2 -0
  1250. package/www/build/p-f978d22d.entry.js.map +1 -0
  1251. package/www/build/p-fbad70dd.entry.js +2 -0
  1252. package/www/build/p-fbad70dd.entry.js.map +1 -0
  1253. package/www/build/p-fdd176e2.entry.js +2 -0
  1254. package/www/build/p-fdd176e2.entry.js.map +1 -0
  1255. package/www/build/p-feca4075.js +2 -0
  1256. package/www/build/p-feca4075.js.map +1 -0
  1257. package/www/build/web-components-library.css +1 -1
  1258. package/www/build/web-components-library.esm.js +1 -1
  1259. package/www/build/web-components-library.esm.js.map +1 -1
  1260. package/www/index.html +1 -1
  1261. package/www/pages/book-cards.html +1 -1
  1262. package/www/pages/file-upload.html +1 -1
  1263. package/www/pages/notification.html +1 -1
  1264. package/dist/cjs/index-178a9413.js +0 -20
  1265. package/dist/cjs/index-178a9413.js.map +0 -1
  1266. package/dist/cjs/index-3836ecee.js +0 -46
  1267. package/dist/cjs/index-3836ecee.js.map +0 -1
  1268. package/dist/cjs/index-79559e1d.js +0 -21
  1269. package/dist/cjs/index-79559e1d.js.map +0 -1
  1270. package/dist/cjs/index-7c62141b.js +0 -59
  1271. package/dist/cjs/index-7c62141b.js.map +0 -1
  1272. package/dist/cjs/index-8eae84b7.js +0 -21
  1273. package/dist/cjs/index-8eae84b7.js.map +0 -1
  1274. package/dist/cjs/index-dc60bee7.js +0 -3140
  1275. package/dist/cjs/index-dc60bee7.js.map +0 -1
  1276. package/dist/cjs/index-e5ff8fd3.js +0 -65
  1277. package/dist/cjs/index-e5ff8fd3.js.map +0 -1
  1278. package/dist/collection/components/buttons/z-button/index.js +0 -268
  1279. package/dist/collection/components/buttons/z-button/index.js.map +0 -1
  1280. package/dist/collection/components/buttons/z-button/index.spec.js +0 -101
  1281. package/dist/collection/components/buttons/z-button/index.spec.js.map +0 -1
  1282. package/dist/collection/components/buttons/z-button-sort/index.js +0 -221
  1283. package/dist/collection/components/buttons/z-button-sort/index.js.map +0 -1
  1284. package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +0 -1
  1285. package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +0 -1
  1286. package/dist/collection/components/buttons/z-chip/index.js +0 -148
  1287. package/dist/collection/components/buttons/z-chip/index.js.map +0 -1
  1288. package/dist/collection/components/buttons/z-chip/index.spec.js.map +0 -1
  1289. package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
  1290. package/dist/collection/components/buttons/z-toggle-button/index.js.map +0 -1
  1291. package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +0 -1
  1292. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -147
  1293. package/dist/collection/components/buttons/z-toggle-switch/index.js.map +0 -1
  1294. package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +0 -1
  1295. package/dist/collection/components/icons/icons.js +0 -873
  1296. package/dist/collection/components/icons/icons.js.map +0 -1
  1297. package/dist/collection/components/icons/z-icon/index.js +0 -122
  1298. package/dist/collection/components/icons/z-icon/index.js.map +0 -1
  1299. package/dist/collection/components/icons/z-icon/index.spec.js +0 -96
  1300. package/dist/collection/components/icons/z-icon/index.spec.js.map +0 -1
  1301. package/dist/collection/components/indicators/z-stepper/index.js +0 -22
  1302. package/dist/collection/components/indicators/z-stepper/index.js.map +0 -1
  1303. package/dist/collection/components/indicators/z-stepper/index.spec.js.map +0 -1
  1304. package/dist/collection/components/indicators/z-stepper-item/index.js +0 -122
  1305. package/dist/collection/components/indicators/z-stepper-item/index.js.map +0 -1
  1306. package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +0 -1
  1307. package/dist/collection/components/inputs/z-combobox/index.js +0 -643
  1308. package/dist/collection/components/inputs/z-combobox/index.js.map +0 -1
  1309. package/dist/collection/components/inputs/z-combobox/index.spec.js.map +0 -1
  1310. package/dist/collection/components/inputs/z-input/index.js +0 -957
  1311. package/dist/collection/components/inputs/z-input/index.js.map +0 -1
  1312. package/dist/collection/components/inputs/z-input/styles.css +0 -397
  1313. package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +0 -1
  1314. package/dist/collection/components/inputs/z-input/test-methods.spec.js +0 -13
  1315. package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +0 -1
  1316. package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +0 -1
  1317. package/dist/collection/components/inputs/z-input/test-text.spec.js +0 -347
  1318. package/dist/collection/components/inputs/z-input/test-text.spec.js.map +0 -1
  1319. package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +0 -1
  1320. package/dist/collection/components/inputs/z-input/test.e2e.js +0 -180
  1321. package/dist/collection/components/inputs/z-input/test.e2e.js.map +0 -1
  1322. package/dist/collection/components/inputs/z-input-message/index.js +0 -93
  1323. package/dist/collection/components/inputs/z-input-message/index.js.map +0 -1
  1324. package/dist/collection/components/inputs/z-input-message/index.spec.js.map +0 -1
  1325. package/dist/collection/components/inputs/z-searchbar/index.js +0 -616
  1326. package/dist/collection/components/inputs/z-searchbar/index.js.map +0 -1
  1327. package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +0 -1
  1328. package/dist/collection/components/inputs/z-select/index.js +0 -778
  1329. package/dist/collection/components/inputs/z-select/index.js.map +0 -1
  1330. package/dist/collection/components/inputs/z-select/index.spec.js.map +0 -1
  1331. package/dist/collection/components/list/z-toast-notification-list/index.js +0 -107
  1332. package/dist/collection/components/list/z-toast-notification-list/index.js.map +0 -1
  1333. package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +0 -1
  1334. package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +0 -1
  1335. package/dist/collection/components/logo/z-logo/index.js +0 -140
  1336. package/dist/collection/components/logo/z-logo/index.js.map +0 -1
  1337. package/dist/collection/components/logo/z-logo/index.spec.js.map +0 -1
  1338. package/dist/collection/components/logo/z-logo/test.e2e.js.map +0 -1
  1339. package/dist/collection/components/modal/z-modal/index.js +0 -357
  1340. package/dist/collection/components/modal/z-modal/index.js.map +0 -1
  1341. package/dist/collection/components/modal/z-modal/index.spec.js.map +0 -1
  1342. package/dist/collection/components/navigation/z-app-header/index.js +0 -420
  1343. package/dist/collection/components/navigation/z-app-header/index.js.map +0 -1
  1344. package/dist/collection/components/navigation/z-app-header/index.spec.js.map +0 -1
  1345. package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
  1346. package/dist/collection/components/navigation/z-menu/index.js +0 -244
  1347. package/dist/collection/components/navigation/z-menu/index.js.map +0 -1
  1348. package/dist/collection/components/navigation/z-menu/index.spec.js.map +0 -1
  1349. package/dist/collection/components/navigation/z-menu-section/index.js +0 -131
  1350. package/dist/collection/components/navigation/z-menu-section/index.js.map +0 -1
  1351. package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +0 -1
  1352. package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -373
  1353. package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +0 -1
  1354. package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
  1355. package/dist/collection/components/notification/z-info-box/index.js +0 -86
  1356. package/dist/collection/components/notification/z-info-box/index.js.map +0 -1
  1357. package/dist/collection/components/notification/z-info-box/index.spec.js.map +0 -1
  1358. package/dist/collection/components/notification/z-notification/index.js +0 -194
  1359. package/dist/collection/components/notification/z-notification/index.js.map +0 -1
  1360. package/dist/collection/components/notification/z-notification/index.spec.js.map +0 -1
  1361. package/dist/collection/components/notification/z-notification/test.e2e.js.map +0 -1
  1362. package/dist/collection/components/notification/z-toast-notification/index.js +0 -406
  1363. package/dist/collection/components/notification/z-toast-notification/index.js.map +0 -1
  1364. package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +0 -1
  1365. package/dist/collection/components/notification/z-tooltip/index.js +0 -151
  1366. package/dist/collection/components/notification/z-tooltip/index.js.map +0 -1
  1367. package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
  1368. package/dist/collection/components/panel/z-panel-elem/index.js.map +0 -1
  1369. package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +0 -1
  1370. package/dist/components/icons.js +0 -876
  1371. package/dist/components/icons.js.map +0 -1
  1372. package/dist/esm/index-076dde65.js +0 -18
  1373. package/dist/esm/index-076dde65.js.map +0 -1
  1374. package/dist/esm/index-14aee9cb.js +0 -57
  1375. package/dist/esm/index-14aee9cb.js.map +0 -1
  1376. package/dist/esm/index-2d440333.js +0 -19
  1377. package/dist/esm/index-2d440333.js.map +0 -1
  1378. package/dist/esm/index-2ee978fb.js +0 -19
  1379. package/dist/esm/index-2ee978fb.js.map +0 -1
  1380. package/dist/esm/index-8db8e65f.js +0 -63
  1381. package/dist/esm/index-8db8e65f.js.map +0 -1
  1382. package/dist/esm/index-a3d19e3a.js +0 -44
  1383. package/dist/esm/index-a3d19e3a.js.map +0 -1
  1384. package/dist/esm/index-f16bc2ca.js +0 -3110
  1385. package/dist/esm/index-f16bc2ca.js.map +0 -1
  1386. package/dist/esm/polyfills/core-js.js +0 -11
  1387. package/dist/esm/polyfills/dom.js +0 -79
  1388. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1389. package/dist/esm/polyfills/index.js +0 -34
  1390. package/dist/esm/polyfills/system.js +0 -6
  1391. package/dist/types/components/buttons/z-button/index.d.ts +0 -31
  1392. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
  1393. package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
  1394. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
  1395. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
  1396. package/dist/types/components/icons/icons.d.ts +0 -1577
  1397. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
  1398. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -84
  1399. package/dist/types/components/inputs/z-input/index.d.ts +0 -110
  1400. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
  1401. package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -80
  1402. package/dist/types/components/inputs/z-select/index.d.ts +0 -84
  1403. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
  1404. package/dist/types/components/modal/z-modal/index.d.ts +0 -49
  1405. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
  1406. package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
  1407. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
  1408. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
  1409. package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
  1410. package/dist/types/components/notification/z-notification/index.d.ts +0 -32
  1411. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
  1412. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
  1413. package/dist/web-components-library/p-05849d8d.entry.js +0 -2
  1414. package/dist/web-components-library/p-05849d8d.entry.js.map +0 -1
  1415. package/dist/web-components-library/p-10589629.entry.js +0 -2
  1416. package/dist/web-components-library/p-10589629.entry.js.map +0 -1
  1417. package/dist/web-components-library/p-10bb4f4b.js +0 -3
  1418. package/dist/web-components-library/p-10bb4f4b.js.map +0 -1
  1419. package/dist/web-components-library/p-118241ec.entry.js +0 -2
  1420. package/dist/web-components-library/p-118241ec.entry.js.map +0 -1
  1421. package/dist/web-components-library/p-11b26c59.entry.js +0 -2
  1422. package/dist/web-components-library/p-11b26c59.entry.js.map +0 -1
  1423. package/dist/web-components-library/p-12d181f4.entry.js +0 -2
  1424. package/dist/web-components-library/p-12d181f4.entry.js.map +0 -1
  1425. package/dist/web-components-library/p-13e18838.entry.js +0 -2
  1426. package/dist/web-components-library/p-13e18838.entry.js.map +0 -1
  1427. package/dist/web-components-library/p-1b870733.entry.js +0 -2
  1428. package/dist/web-components-library/p-1b870733.entry.js.map +0 -1
  1429. package/dist/web-components-library/p-217291fe.entry.js +0 -2
  1430. package/dist/web-components-library/p-217291fe.entry.js.map +0 -1
  1431. package/dist/web-components-library/p-27b0663c.entry.js +0 -2
  1432. package/dist/web-components-library/p-27b0663c.entry.js.map +0 -1
  1433. package/dist/web-components-library/p-2c05849f.entry.js +0 -2
  1434. package/dist/web-components-library/p-2c05849f.entry.js.map +0 -1
  1435. package/dist/web-components-library/p-2c1cbcf2.entry.js +0 -2
  1436. package/dist/web-components-library/p-2c1cbcf2.entry.js.map +0 -1
  1437. package/dist/web-components-library/p-2df79d5c.entry.js +0 -2
  1438. package/dist/web-components-library/p-2df79d5c.entry.js.map +0 -1
  1439. package/dist/web-components-library/p-2ebf9e17.js +0 -2
  1440. package/dist/web-components-library/p-2ebf9e17.js.map +0 -1
  1441. package/dist/web-components-library/p-2f2f460a.entry.js +0 -2
  1442. package/dist/web-components-library/p-2f2f460a.entry.js.map +0 -1
  1443. package/dist/web-components-library/p-3092c82f.entry.js +0 -2
  1444. package/dist/web-components-library/p-3092c82f.entry.js.map +0 -1
  1445. package/dist/web-components-library/p-3ba8b8e1.entry.js +0 -2
  1446. package/dist/web-components-library/p-3ba8b8e1.entry.js.map +0 -1
  1447. package/dist/web-components-library/p-3bae6330.entry.js +0 -2
  1448. package/dist/web-components-library/p-3bae6330.entry.js.map +0 -1
  1449. package/dist/web-components-library/p-410ec9a2.entry.js +0 -2
  1450. package/dist/web-components-library/p-410ec9a2.entry.js.map +0 -1
  1451. package/dist/web-components-library/p-414c9659.entry.js +0 -2
  1452. package/dist/web-components-library/p-414c9659.entry.js.map +0 -1
  1453. package/dist/web-components-library/p-4574595b.entry.js +0 -2
  1454. package/dist/web-components-library/p-4574595b.entry.js.map +0 -1
  1455. package/dist/web-components-library/p-45d7e54e.entry.js +0 -2
  1456. package/dist/web-components-library/p-45d7e54e.entry.js.map +0 -1
  1457. package/dist/web-components-library/p-48c16e8f.js +0 -2
  1458. package/dist/web-components-library/p-48c16e8f.js.map +0 -1
  1459. package/dist/web-components-library/p-4bc0818d.js +0 -2
  1460. package/dist/web-components-library/p-4bc0818d.js.map +0 -1
  1461. package/dist/web-components-library/p-4d2be9e5.entry.js +0 -2
  1462. package/dist/web-components-library/p-4d2be9e5.entry.js.map +0 -1
  1463. package/dist/web-components-library/p-4d2e328d.entry.js +0 -2
  1464. package/dist/web-components-library/p-4d2e328d.entry.js.map +0 -1
  1465. package/dist/web-components-library/p-4dd8d4e8.entry.js +0 -2
  1466. package/dist/web-components-library/p-4dd8d4e8.entry.js.map +0 -1
  1467. package/dist/web-components-library/p-5441ba83.entry.js +0 -2
  1468. package/dist/web-components-library/p-5441ba83.entry.js.map +0 -1
  1469. package/dist/web-components-library/p-54681ece.entry.js +0 -2
  1470. package/dist/web-components-library/p-54681ece.entry.js.map +0 -1
  1471. package/dist/web-components-library/p-5c50cc2d.entry.js +0 -2
  1472. package/dist/web-components-library/p-5c50cc2d.entry.js.map +0 -1
  1473. package/dist/web-components-library/p-6398da61.js +0 -2
  1474. package/dist/web-components-library/p-6398da61.js.map +0 -1
  1475. package/dist/web-components-library/p-64683cca.entry.js +0 -2
  1476. package/dist/web-components-library/p-64683cca.entry.js.map +0 -1
  1477. package/dist/web-components-library/p-6e8b7c93.entry.js +0 -2
  1478. package/dist/web-components-library/p-6e8b7c93.entry.js.map +0 -1
  1479. package/dist/web-components-library/p-6f023899.entry.js +0 -2
  1480. package/dist/web-components-library/p-6f023899.entry.js.map +0 -1
  1481. package/dist/web-components-library/p-7441b8f8.entry.js +0 -2
  1482. package/dist/web-components-library/p-7441b8f8.entry.js.map +0 -1
  1483. package/dist/web-components-library/p-74b2b9a0.entry.js +0 -2
  1484. package/dist/web-components-library/p-74b2b9a0.entry.js.map +0 -1
  1485. package/dist/web-components-library/p-771a4c2f.entry.js +0 -2
  1486. package/dist/web-components-library/p-771a4c2f.entry.js.map +0 -1
  1487. package/dist/web-components-library/p-7e442c5f.entry.js +0 -2
  1488. package/dist/web-components-library/p-7e442c5f.entry.js.map +0 -1
  1489. package/dist/web-components-library/p-7ef963d4.js +0 -2
  1490. package/dist/web-components-library/p-7ef963d4.js.map +0 -1
  1491. package/dist/web-components-library/p-a2b43ed1.entry.js +0 -2
  1492. package/dist/web-components-library/p-a2b43ed1.entry.js.map +0 -1
  1493. package/dist/web-components-library/p-a402854c.entry.js +0 -2
  1494. package/dist/web-components-library/p-a402854c.entry.js.map +0 -1
  1495. package/dist/web-components-library/p-a6fcefe7.entry.js +0 -2
  1496. package/dist/web-components-library/p-a6fcefe7.entry.js.map +0 -1
  1497. package/dist/web-components-library/p-b0ef19c7.js +0 -2
  1498. package/dist/web-components-library/p-b0ef19c7.js.map +0 -1
  1499. package/dist/web-components-library/p-b4ad044a.entry.js +0 -2
  1500. package/dist/web-components-library/p-b4ad044a.entry.js.map +0 -1
  1501. package/dist/web-components-library/p-b53e9a21.entry.js +0 -2
  1502. package/dist/web-components-library/p-b53e9a21.entry.js.map +0 -1
  1503. package/dist/web-components-library/p-b67887e7.entry.js +0 -2
  1504. package/dist/web-components-library/p-b67887e7.entry.js.map +0 -1
  1505. package/dist/web-components-library/p-b93c49a8.entry.js +0 -2
  1506. package/dist/web-components-library/p-b93c49a8.entry.js.map +0 -1
  1507. package/dist/web-components-library/p-b94b71b8.entry.js +0 -2
  1508. package/dist/web-components-library/p-b94b71b8.entry.js.map +0 -1
  1509. package/dist/web-components-library/p-c19aca30.entry.js +0 -2
  1510. package/dist/web-components-library/p-c19aca30.entry.js.map +0 -1
  1511. package/dist/web-components-library/p-c49ca2a9.entry.js +0 -2
  1512. package/dist/web-components-library/p-c49ca2a9.entry.js.map +0 -1
  1513. package/dist/web-components-library/p-c4e40901.entry.js +0 -2
  1514. package/dist/web-components-library/p-c4e40901.entry.js.map +0 -1
  1515. package/dist/web-components-library/p-d02bc360.entry.js +0 -2
  1516. package/dist/web-components-library/p-d02bc360.entry.js.map +0 -1
  1517. package/dist/web-components-library/p-d8c631d6.entry.js +0 -2
  1518. package/dist/web-components-library/p-d8c631d6.entry.js.map +0 -1
  1519. package/dist/web-components-library/p-d973f170.entry.js +0 -2
  1520. package/dist/web-components-library/p-d973f170.entry.js.map +0 -1
  1521. package/dist/web-components-library/p-d9f3ae73.entry.js +0 -2
  1522. package/dist/web-components-library/p-d9f3ae73.entry.js.map +0 -1
  1523. package/dist/web-components-library/p-dcd73f91.entry.js +0 -2
  1524. package/dist/web-components-library/p-dcd73f91.entry.js.map +0 -1
  1525. package/dist/web-components-library/p-dde6c887.entry.js +0 -2
  1526. package/dist/web-components-library/p-dde6c887.entry.js.map +0 -1
  1527. package/dist/web-components-library/p-e1b99a10.entry.js +0 -2
  1528. package/dist/web-components-library/p-e1b99a10.entry.js.map +0 -1
  1529. package/dist/web-components-library/p-e338f042.entry.js +0 -2
  1530. package/dist/web-components-library/p-e338f042.entry.js.map +0 -1
  1531. package/dist/web-components-library/p-e75ca94d.entry.js +0 -2
  1532. package/dist/web-components-library/p-e75ca94d.entry.js.map +0 -1
  1533. package/dist/web-components-library/p-ed1a5ee3.entry.js +0 -2
  1534. package/dist/web-components-library/p-ed1a5ee3.entry.js.map +0 -1
  1535. package/dist/web-components-library/p-ed65d0d2.entry.js +0 -2
  1536. package/dist/web-components-library/p-ed65d0d2.entry.js.map +0 -1
  1537. package/dist/web-components-library/p-edb8975a.entry.js +0 -2
  1538. package/dist/web-components-library/p-edb8975a.entry.js.map +0 -1
  1539. package/dist/web-components-library/p-ee03249d.entry.js +0 -2
  1540. package/dist/web-components-library/p-ee03249d.entry.js.map +0 -1
  1541. package/dist/web-components-library/p-ef43ca85.entry.js +0 -2
  1542. package/dist/web-components-library/p-ef43ca85.entry.js.map +0 -1
  1543. package/dist/web-components-library/p-f41da106.entry.js +0 -2
  1544. package/dist/web-components-library/p-f41da106.entry.js.map +0 -1
  1545. package/dist/web-components-library/p-f48575f1.entry.js +0 -2
  1546. package/dist/web-components-library/p-f48575f1.entry.js.map +0 -1
  1547. package/dist/web-components-library/p-f9edfd67.entry.js +0 -2
  1548. package/dist/web-components-library/p-f9edfd67.entry.js.map +0 -1
  1549. package/dist/web-components-library/p-fc4bd856.entry.js +0 -17
  1550. package/dist/web-components-library/p-fc4bd856.entry.js.map +0 -1
  1551. package/dist/web-components-library/p-feaee92d.entry.js +0 -2
  1552. package/dist/web-components-library/p-feaee92d.entry.js.map +0 -1
  1553. package/www/build/p-05849d8d.entry.js +0 -2
  1554. package/www/build/p-05849d8d.entry.js.map +0 -1
  1555. package/www/build/p-10589629.entry.js +0 -2
  1556. package/www/build/p-10589629.entry.js.map +0 -1
  1557. package/www/build/p-10bb4f4b.js +0 -3
  1558. package/www/build/p-10bb4f4b.js.map +0 -1
  1559. package/www/build/p-118241ec.entry.js +0 -2
  1560. package/www/build/p-118241ec.entry.js.map +0 -1
  1561. package/www/build/p-11b26c59.entry.js +0 -2
  1562. package/www/build/p-11b26c59.entry.js.map +0 -1
  1563. package/www/build/p-12d181f4.entry.js +0 -2
  1564. package/www/build/p-12d181f4.entry.js.map +0 -1
  1565. package/www/build/p-13e18838.entry.js +0 -2
  1566. package/www/build/p-13e18838.entry.js.map +0 -1
  1567. package/www/build/p-1b870733.entry.js +0 -2
  1568. package/www/build/p-1b870733.entry.js.map +0 -1
  1569. package/www/build/p-217291fe.entry.js +0 -2
  1570. package/www/build/p-217291fe.entry.js.map +0 -1
  1571. package/www/build/p-27b0663c.entry.js +0 -2
  1572. package/www/build/p-27b0663c.entry.js.map +0 -1
  1573. package/www/build/p-2c05849f.entry.js +0 -2
  1574. package/www/build/p-2c05849f.entry.js.map +0 -1
  1575. package/www/build/p-2c1cbcf2.entry.js +0 -2
  1576. package/www/build/p-2c1cbcf2.entry.js.map +0 -1
  1577. package/www/build/p-2df79d5c.entry.js +0 -2
  1578. package/www/build/p-2df79d5c.entry.js.map +0 -1
  1579. package/www/build/p-2ebf9e17.js +0 -2
  1580. package/www/build/p-2ebf9e17.js.map +0 -1
  1581. package/www/build/p-2f2f460a.entry.js +0 -2
  1582. package/www/build/p-2f2f460a.entry.js.map +0 -1
  1583. package/www/build/p-304150c5.js +0 -2
  1584. package/www/build/p-3092c82f.entry.js +0 -2
  1585. package/www/build/p-3092c82f.entry.js.map +0 -1
  1586. package/www/build/p-3ba8b8e1.entry.js +0 -2
  1587. package/www/build/p-3ba8b8e1.entry.js.map +0 -1
  1588. package/www/build/p-3bae6330.entry.js +0 -2
  1589. package/www/build/p-3bae6330.entry.js.map +0 -1
  1590. package/www/build/p-410ec9a2.entry.js +0 -2
  1591. package/www/build/p-410ec9a2.entry.js.map +0 -1
  1592. package/www/build/p-414c9659.entry.js +0 -2
  1593. package/www/build/p-414c9659.entry.js.map +0 -1
  1594. package/www/build/p-4574595b.entry.js +0 -2
  1595. package/www/build/p-4574595b.entry.js.map +0 -1
  1596. package/www/build/p-45d7e54e.entry.js +0 -2
  1597. package/www/build/p-45d7e54e.entry.js.map +0 -1
  1598. package/www/build/p-48c16e8f.js +0 -2
  1599. package/www/build/p-48c16e8f.js.map +0 -1
  1600. package/www/build/p-4bc0818d.js +0 -2
  1601. package/www/build/p-4bc0818d.js.map +0 -1
  1602. package/www/build/p-4d2be9e5.entry.js +0 -2
  1603. package/www/build/p-4d2be9e5.entry.js.map +0 -1
  1604. package/www/build/p-4d2e328d.entry.js +0 -2
  1605. package/www/build/p-4d2e328d.entry.js.map +0 -1
  1606. package/www/build/p-4dd8d4e8.entry.js +0 -2
  1607. package/www/build/p-4dd8d4e8.entry.js.map +0 -1
  1608. package/www/build/p-5441ba83.entry.js +0 -2
  1609. package/www/build/p-5441ba83.entry.js.map +0 -1
  1610. package/www/build/p-54681ece.entry.js +0 -2
  1611. package/www/build/p-54681ece.entry.js.map +0 -1
  1612. package/www/build/p-5c50cc2d.entry.js +0 -2
  1613. package/www/build/p-5c50cc2d.entry.js.map +0 -1
  1614. package/www/build/p-6398da61.js +0 -2
  1615. package/www/build/p-6398da61.js.map +0 -1
  1616. package/www/build/p-64683cca.entry.js +0 -2
  1617. package/www/build/p-64683cca.entry.js.map +0 -1
  1618. package/www/build/p-6e8b7c93.entry.js +0 -2
  1619. package/www/build/p-6e8b7c93.entry.js.map +0 -1
  1620. package/www/build/p-6f023899.entry.js +0 -2
  1621. package/www/build/p-6f023899.entry.js.map +0 -1
  1622. package/www/build/p-6faf65eb.css +0 -4
  1623. package/www/build/p-7441b8f8.entry.js +0 -2
  1624. package/www/build/p-7441b8f8.entry.js.map +0 -1
  1625. package/www/build/p-74b2b9a0.entry.js +0 -2
  1626. package/www/build/p-74b2b9a0.entry.js.map +0 -1
  1627. package/www/build/p-771a4c2f.entry.js +0 -2
  1628. package/www/build/p-771a4c2f.entry.js.map +0 -1
  1629. package/www/build/p-7e442c5f.entry.js +0 -2
  1630. package/www/build/p-7e442c5f.entry.js.map +0 -1
  1631. package/www/build/p-7ef963d4.js +0 -2
  1632. package/www/build/p-7ef963d4.js.map +0 -1
  1633. package/www/build/p-a2b43ed1.entry.js +0 -2
  1634. package/www/build/p-a2b43ed1.entry.js.map +0 -1
  1635. package/www/build/p-a402854c.entry.js +0 -2
  1636. package/www/build/p-a402854c.entry.js.map +0 -1
  1637. package/www/build/p-a6fcefe7.entry.js +0 -2
  1638. package/www/build/p-a6fcefe7.entry.js.map +0 -1
  1639. package/www/build/p-b0ef19c7.js +0 -2
  1640. package/www/build/p-b0ef19c7.js.map +0 -1
  1641. package/www/build/p-b4ad044a.entry.js +0 -2
  1642. package/www/build/p-b4ad044a.entry.js.map +0 -1
  1643. package/www/build/p-b53e9a21.entry.js +0 -2
  1644. package/www/build/p-b53e9a21.entry.js.map +0 -1
  1645. package/www/build/p-b67887e7.entry.js +0 -2
  1646. package/www/build/p-b67887e7.entry.js.map +0 -1
  1647. package/www/build/p-b93c49a8.entry.js +0 -2
  1648. package/www/build/p-b93c49a8.entry.js.map +0 -1
  1649. package/www/build/p-b94b71b8.entry.js +0 -2
  1650. package/www/build/p-b94b71b8.entry.js.map +0 -1
  1651. package/www/build/p-c19aca30.entry.js +0 -2
  1652. package/www/build/p-c19aca30.entry.js.map +0 -1
  1653. package/www/build/p-c49ca2a9.entry.js +0 -2
  1654. package/www/build/p-c49ca2a9.entry.js.map +0 -1
  1655. package/www/build/p-c4e40901.entry.js +0 -2
  1656. package/www/build/p-c4e40901.entry.js.map +0 -1
  1657. package/www/build/p-d02bc360.entry.js +0 -2
  1658. package/www/build/p-d02bc360.entry.js.map +0 -1
  1659. package/www/build/p-d8c631d6.entry.js +0 -2
  1660. package/www/build/p-d8c631d6.entry.js.map +0 -1
  1661. package/www/build/p-d973f170.entry.js +0 -2
  1662. package/www/build/p-d973f170.entry.js.map +0 -1
  1663. package/www/build/p-d9f3ae73.entry.js +0 -2
  1664. package/www/build/p-d9f3ae73.entry.js.map +0 -1
  1665. package/www/build/p-dcd73f91.entry.js +0 -2
  1666. package/www/build/p-dcd73f91.entry.js.map +0 -1
  1667. package/www/build/p-dde6c887.entry.js +0 -2
  1668. package/www/build/p-dde6c887.entry.js.map +0 -1
  1669. package/www/build/p-e1b99a10.entry.js +0 -2
  1670. package/www/build/p-e1b99a10.entry.js.map +0 -1
  1671. package/www/build/p-e338f042.entry.js +0 -2
  1672. package/www/build/p-e338f042.entry.js.map +0 -1
  1673. package/www/build/p-e75ca94d.entry.js +0 -2
  1674. package/www/build/p-e75ca94d.entry.js.map +0 -1
  1675. package/www/build/p-ed1a5ee3.entry.js +0 -2
  1676. package/www/build/p-ed1a5ee3.entry.js.map +0 -1
  1677. package/www/build/p-ed65d0d2.entry.js +0 -2
  1678. package/www/build/p-ed65d0d2.entry.js.map +0 -1
  1679. package/www/build/p-edb8975a.entry.js +0 -2
  1680. package/www/build/p-edb8975a.entry.js.map +0 -1
  1681. package/www/build/p-ee03249d.entry.js +0 -2
  1682. package/www/build/p-ee03249d.entry.js.map +0 -1
  1683. package/www/build/p-ef43ca85.entry.js +0 -2
  1684. package/www/build/p-ef43ca85.entry.js.map +0 -1
  1685. package/www/build/p-f41da106.entry.js +0 -2
  1686. package/www/build/p-f41da106.entry.js.map +0 -1
  1687. package/www/build/p-f48575f1.entry.js +0 -2
  1688. package/www/build/p-f48575f1.entry.js.map +0 -1
  1689. package/www/build/p-f9edfd67.entry.js +0 -2
  1690. package/www/build/p-f9edfd67.entry.js.map +0 -1
  1691. package/www/build/p-fc4bd856.entry.js +0 -17
  1692. package/www/build/p-fc4bd856.entry.js.map +0 -1
  1693. package/www/build/p-feaee92d.entry.js +0 -2
  1694. package/www/build/p-feaee92d.entry.js.map +0 -1
  1695. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/index.spec.js +0 -0
  1696. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/styles.css +0 -0
  1697. /package/dist/collection/components/{buttons/z-button → z-button}/styles.css +0 -0
  1698. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/index.spec.js +0 -0
  1699. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/styles.css +0 -0
  1700. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/test.e2e.js +0 -0
  1701. /package/dist/collection/components/{buttons/z-chip → z-chip}/index.spec.js +0 -0
  1702. /package/dist/collection/components/{buttons/z-chip → z-chip}/styles.css +0 -0
  1703. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/index.spec.js +0 -0
  1704. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/styles.css +0 -0
  1705. /package/dist/collection/components/{icons/z-icon → z-icon}/styles.css +0 -0
  1706. /package/dist/collection/components/{notification/z-info-box → z-info-box}/index.spec.js +0 -0
  1707. /package/dist/collection/components/{notification/z-info-box → z-info-box}/styles.css +0 -0
  1708. /package/dist/collection/components/{inputs/z-input → z-input}/test-checkbox.spec.js +0 -0
  1709. /package/dist/collection/components/{inputs/z-input → z-input}/test-radio.spec.js +0 -0
  1710. /package/dist/collection/components/{inputs/z-input → z-input}/test-textarea.spec.js +0 -0
  1711. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/index.spec.js +0 -0
  1712. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/styles.css +0 -0
  1713. /package/dist/collection/components/{logo/z-logo → z-logo}/index.spec.js +0 -0
  1714. /package/dist/collection/components/{logo/z-logo → z-logo}/styles.css +0 -0
  1715. /package/dist/collection/components/{logo/z-logo → z-logo}/test.e2e.js +0 -0
  1716. /package/dist/collection/components/{navigation/z-menu → z-menu}/index.spec.js +0 -0
  1717. /package/dist/collection/components/{navigation/z-menu → z-menu}/styles.css +0 -0
  1718. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/index.spec.js +0 -0
  1719. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/styles.css +0 -0
  1720. /package/dist/collection/components/{modal/z-modal → z-modal}/index.spec.js +0 -0
  1721. /package/dist/collection/components/{modal/z-modal → z-modal}/styles.css +0 -0
  1722. /package/dist/collection/components/{navigation/z-navigation-tabs → z-navigation-tabs}/styles.css +0 -0
  1723. /package/dist/collection/components/{notification/z-notification → z-notification}/index.spec.js +0 -0
  1724. /package/dist/collection/components/{notification/z-notification → z-notification}/styles.css +0 -0
  1725. /package/dist/collection/components/{notification/z-notification → z-notification}/test.e2e.js +0 -0
  1726. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/index.spec.js +0 -0
  1727. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/styles.css +0 -0
  1728. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/index.spec.js +0 -0
  1729. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/styles.css +0 -0
  1730. /package/dist/collection/components/{inputs/z-select → z-select}/index.spec.js +0 -0
  1731. /package/dist/collection/components/{inputs/z-select → z-select}/styles.css +0 -0
  1732. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/index.spec.js +0 -0
  1733. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/styles.css +0 -0
  1734. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/index.spec.js +0 -0
  1735. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/styles.css +0 -0
  1736. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/index.spec.js +0 -0
  1737. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/styles.css +0 -0
  1738. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/index.spec.js +0 -0
  1739. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/styles.css +0 -0
  1740. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/test.e2e.js +0 -0
  1741. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/index.spec.js +0 -0
  1742. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/styles.css +0 -0
  1743. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/index.spec.js +0 -0
  1744. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/styles.css +0 -0
  1745. /package/dist/collection/components/{notification/z-tooltip → z-tooltip}/styles.css +0 -0
  1746. /package/dist/types/components/{icons/z-icon → z-icon}/index.d.ts +0 -0
  1747. /package/dist/types/components/{logo/z-logo → z-logo}/index.d.ts +0 -0
  1748. /package/dist/types/components/{panel/z-panel-elem → z-panel-elem}/index.d.ts +0 -0
  1749. /package/dist/types/components/{indicators/z-stepper-item → z-stepper-item}/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMyzCardFooterStyle0","ZMyzCardFooter","handleToggle","this","isOpen","firstElem","getFirstListItem","requestAnimationFrame","focus","getTitleAuthors","allowTooltipAuthors","autori","componentWillLoad","opened","elementsEllipsis","elementAuthorsHasEllipsis","ellipsisAuthors","offsetWidth","scrollWidth","retrieveClass","isopen","real","cardtype","LicenseType","REAL","trial","TRIAL","temp","TEMP","customContent","footerTransitionHandler","e","includes","propertyName","host","querySelector","render","h","key","class","Object","assign","wrapper","onTransitionEnd","name","titolo","content","ref","el","title","isbn"],"sources":["src/snowflakes/myz/card/z-myz-card-footer/styles.css?tag=z-myz-card-footer&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-footer/index.tsx"],"sourcesContent":["footer {\n position: relative;\n z-index: 5;\n top: 0;\n width: auto;\n height: calc(var(--space-unit) * 6);\n padding: 0;\n border-top: var(--border-size-medium) solid var(--color-surface03);\n margin: 0;\n background-color: var(--color-surface01);\n border-radius: 0 0 var(--border-radius) var(--border-radius);\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n transition:\n height 500ms ease-in-out,\n top 500ms ease-in-out;\n}\n\nfooter.real,\nfooter.trial,\nfooter.temp {\n border-top: var(--border-size-medium) solid var(--blue100);\n}\n\nfooter .bold {\n font-family: var(--font-family-sans);\n font-weight: var(--font-sb);\n}\n\nfooter > p {\n overflow: hidden;\n height: 40px;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);\n margin: 0;\n background-color: var(--color-surface01);\n font-family: var(--font-family-sans);\n font-size: 16px;\n font-weight: var(--font-rg);\n line-height: 22px;\n transition: all 200ms linear;\n}\n\nfooter.isopen > p {\n background-color: var(--gray200);\n font-size: 14px;\n font-weight: var(--font-sb);\n transition: all 200ms linear;\n}\n\nfooter.isopen.real > p,\nfooter.isopen.trial > p,\nfooter.isopen.temp > p {\n background-color: var(--blue100);\n}\n\nfooter .visible {\n display: block;\n}\n\nfooter .hidden {\n display: none;\n}\n\nfooter > div.content {\n overflow: hidden;\n height: 60px;\n}\n\nfooter > div.content > div:not(.slot-handler) {\n padding: var(--space-unit) calc(var(--space-unit) * 2);\n}\n\nfooter > div.content > div > p {\n overflow: hidden;\n height: 20px;\n padding: 0;\n margin: 0;\n font-size: 14px;\n line-height: 20px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nfooter > div.content > div > p.year-isbn {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding-top: var(--space-unit);\n}\n\nfooter > div.content > div > p.year-isbn > span.isbn {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nfooter.isopen > div.content > div:not(.slot-handler) {\n height: 68px;\n}\n\nfooter.isopen > div.content > div > p.authors {\n height: 40px;\n text-overflow: initial;\n white-space: initial;\n}\n\nfooter.isopen > div.content > div > p.year-isbn {\n height: 50px;\n flex-direction: column;\n padding-left: 0;\n}\n\nfooter.isopen > div.content > div > p.year-isbn > span.isbn {\n display: inline-grid;\n padding-left: 0;\n}\n\nfooter.isopen {\n top: -212px;\n height: 295px;\n transition:\n height 500ms ease-in-out,\n top 500ms ease-in-out;\n}\n\nfooter.isopen.custom-content {\n top: -292px;\n}\n\nfooter.isopen > div.content {\n height: 280px;\n transition:\n height 500ms ease-in-out,\n top 500ms ease-in-out;\n}\n\nfooter.isopen.custom-content > div.content {\n height: 230px;\n}\n\n.toggle {\n position: absolute;\n z-index: 10;\n top: -24px;\n left: 16px;\n}\n\n.faded {\n opacity: 0.3;\n pointer-events: none;\n}\n\nfooter > p.custom-content,\nfooter .content.custom-content {\n display: none;\n}\n\nfooter.isopen > p.custom-content,\nfooter.isopen .content.custom-content {\n display: block;\n}\n\ndiv.wrapper {\n position: relative;\n height: 100%;\n}\n\ndiv.wrapper ::slotted([slot=\"content\"]) {\n position: absolute;\n z-index: 10;\n top: calc(var(--space-unit) * 2);\n display: block;\n width: 100%;\n height: 112px;\n box-sizing: border-box;\n padding: 0 calc(var(--space-unit) * 2);\n border-top: var(--border-size-medium) solid transparent;\n background: var(--color-white);\n}\n\ndiv.wrapper.isopen ::slotted([slot=\"content\"]) {\n top: 0;\n bottom: 0;\n height: 128px;\n padding: calc(var(--space-unit) * 2);\n border-color: var(--blue100);\n}\n","import {Component, Element, Listen, Prop, State, h} from \"@stencil/core\";\nimport {JSXBase} from \"@stencil/core/internal\";\nimport {LicenseType} from \"../../../../beans/index\";\n\n/**\n * @slot toggle - toggle button slot\n * @slot list - card resources list slot\n */\n@Component({\n tag: \"z-myz-card-footer\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardFooter {\n @Element() host: HTMLZMyzCardFooterElement;\n\n /** volume title */\n @Prop()\n titolo: string;\n\n /** authors name text */\n @Prop()\n autori: string;\n\n /** volume isbn */\n @Prop()\n isbn: string;\n\n /** faded status */\n @Prop()\n faded: boolean;\n\n /** card graphic variant (optional) */\n @Prop()\n cardtype?: LicenseType;\n\n /** footer opened by default (optional) */\n @Prop()\n opened?: boolean = false;\n\n /** display footer custom slotted content */\n @Prop()\n customContent = false;\n\n @State()\n isOpen = false;\n\n @State()\n allowTooltipAuthors = false;\n\n private ellipsisAuthors?: HTMLElement;\n\n @Listen(\"toggleClick\")\n handleToggle(): void {\n this.isOpen = !this.isOpen;\n if (this.isOpen) {\n const firstElem = this.getFirstListItem();\n if (firstElem) {\n requestAnimationFrame(() => {\n firstElem.focus();\n });\n }\n }\n }\n\n private getTitleAuthors(): string {\n return this.allowTooltipAuthors ? this.autori : \"\";\n }\n\n componentWillLoad(): void {\n if (this.opened) {\n this.isOpen = true;\n }\n }\n\n private elementsEllipsis(): void {\n this.allowTooltipAuthors = this.elementAuthorsHasEllipsis() ? true : false;\n }\n\n private elementAuthorsHasEllipsis(): boolean {\n return this.ellipsisAuthors.offsetWidth < this.ellipsisAuthors.scrollWidth;\n }\n\n private retrieveClass(): JSXBase.HTMLAttributes[\"class\"] {\n return {\n \"isopen\": this.isOpen,\n \"real\": this.cardtype === LicenseType.REAL,\n \"trial\": this.cardtype === LicenseType.TRIAL,\n \"temp\": this.cardtype === LicenseType.TEMP,\n \"custom-content\": this.customContent,\n };\n }\n\n private footerTransitionHandler(e: TransitionEvent): void {\n if ([\"visibility\", \"height\"].includes(e.propertyName)) {\n this.elementsEllipsis();\n }\n }\n\n private getFirstListItem(): HTMLElement {\n return this.host.querySelector(\"[slot=list] > li a\");\n }\n\n render(): HTMLDivElement {\n return (\n <div class={{...(this.retrieveClass() as Record<string, boolean>), wrapper: true}}>\n <footer\n class={this.retrieveClass()}\n onTransitionEnd={(e: TransitionEvent) => this.footerTransitionHandler(e)}\n >\n <span class=\"toggle\">\n <slot name=\"toggle\" />\n </span>\n {this.titolo && <p class={{\"custom-content\": this.customContent}}>{this.titolo}</p>}\n <div class={{\"content\": true, \"custom-content\": this.customContent}}>\n <div>\n <p\n class=\"authors\"\n ref={(el) => (this.ellipsisAuthors = el as HTMLElement)}\n >\n <span title={this.getTitleAuthors()}>\n <span\n aria-description=\"Autori\"\n class=\"bold\"\n >\n {this.autori}\n </span>\n </span>\n </p>\n <p class=\"year-isbn\">\n <span class=\"isbn\">\n <span>\n <span\n aria-description=\"ISBN edizione cartacea\"\n class=\"bold\"\n >\n {this.isbn}\n </span>{\" \"}\n (ed. cartacea)\n </span>\n </span>\n </p>\n </div>\n <div class={`slot-handler ${this.isOpen ? \"visible\" : \"hidden\"}`}>\n <slot name=\"list\" />\n </div>\n </div>\n </footer>\n {this.customContent && <slot name=\"content\" />}\n </div>\n );\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAY,69FAClB,MAAAC,EAAeD,E,MCYFE,EAAc,M,kJAyBN,M,mBAIH,M,YAGP,M,yBAGa,K,CAKtB,YAAAC,GACEC,KAAKC,QAAUD,KAAKC,OACpB,GAAID,KAAKC,OAAQ,CACf,MAAMC,EAAYF,KAAKG,mBACvB,GAAID,EAAW,CACbE,uBAAsB,KACpBF,EAAUG,OAAO,G,GAMjB,eAAAC,GACN,OAAON,KAAKO,oBAAsBP,KAAKQ,OAAS,E,CAGlD,iBAAAC,GACE,GAAIT,KAAKU,OAAQ,CACfV,KAAKC,OAAS,I,EAIV,gBAAAU,GACNX,KAAKO,oBAAsBP,KAAKY,4BAA8B,KAAO,K,CAG/D,yBAAAA,GACN,OAAOZ,KAAKa,gBAAgBC,YAAcd,KAAKa,gBAAgBE,W,CAGzD,aAAAC,GACN,MAAO,CACLC,OAAUjB,KAAKC,OACfiB,KAAQlB,KAAKmB,WAAaC,EAAYC,KACtCC,MAAStB,KAAKmB,WAAaC,EAAYG,MACvCC,KAAQxB,KAAKmB,WAAaC,EAAYK,KACtC,iBAAkBzB,KAAK0B,c,CAInB,uBAAAC,CAAwBC,GAC9B,GAAI,CAAC,aAAc,UAAUC,SAASD,EAAEE,cAAe,CACrD9B,KAAKW,kB,EAID,gBAAAR,GACN,OAAOH,KAAK+B,KAAKC,cAAc,qB,CAGjC,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAKC,OAAAC,OAAAD,OAAAC,OAAA,GAAOtC,KAAKgB,iBAA2C,CAAEuB,QAAS,QAC1EL,EAAA,UAAAC,IAAA,2CACEC,MAAOpC,KAAKgB,gBACZwB,gBAAkBZ,GAAuB5B,KAAK2B,wBAAwBC,IAEtEM,EAAA,QAAAC,IAAA,2CAAMC,MAAM,UACVF,EAAA,QAAAC,IAAA,2CAAMM,KAAK,YAEZzC,KAAK0C,QAAUR,EAAA,KAAAC,IAAA,2CAAGC,MAAO,CAAC,iBAAkBpC,KAAK0B,gBAAiB1B,KAAK0C,QACxER,EAAA,OAAAC,IAAA,2CAAKC,MAAO,CAACO,QAAW,KAAM,iBAAkB3C,KAAK0B,gBACnDQ,EAAA,OAAAC,IAAA,4CACED,EAAA,KAAAC,IAAA,2CACEC,MAAM,UACNQ,IAAMC,GAAQ7C,KAAKa,gBAAkBgC,GAErCX,EAAA,QAAAC,IAAA,2CAAMW,MAAO9C,KAAKM,mBAChB4B,EAAA,QAAAC,IAAA,8DACmB,SACjBC,MAAM,QAELpC,KAAKQ,UAIZ0B,EAAA,KAAAC,IAAA,2CAAGC,MAAM,aACPF,EAAA,QAAAC,IAAA,2CAAMC,MAAM,QACVF,EAAA,QAAAC,IAAA,4CACED,EAAA,QAAAC,IAAA,8DACmB,yBACjBC,MAAM,QAELpC,KAAK+C,MACA,IAAG,qBAMnBb,EAAA,OAAAC,IAAA,2CAAKC,MAAO,gBAAgBpC,KAAKC,OAAS,UAAY,YACpDiC,EAAA,QAAAC,IAAA,2CAAMM,KAAK,YAIhBzC,KAAK0B,eAAiBQ,EAAA,QAAAC,IAAA,2CAAMM,KAAK,Y","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as o,a,g as n}from"./p-cc3c02fe.js";import{r}from"./p-955da62e.js";import"./p-1c5d8cac.js";import"./p-25a85aec.js";const s=":host{--columns:1;display:grid;min-width:max-content;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-surface02)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";const i=s;const d=class{constructor(o){t(this,o);this.expand=e(this,"expand",7);this.expandable=false;this.expanded=false;this.expandableContentId=undefined}updateColumns(){const t=Array.from(this.host.querySelectorAll("z-td, z-th"));if(this.expandable){t.pop()}const e=t.map((t=>t.colspan||1)).reduce(((t,e)=>t+e),0);this.host.style.setProperty("--columns",`${e}`);if(this.expandable){const e=t.pop();e.id=e.id||`z-tr-expandable-content-${r()}`;this.expandableContentId=e.id}}onRowClick(t){const e=t.target.closest(".prevent-expand");if(!this.expandable||e){return}this.expanded=!this.expanded;this.expand.emit({expanded:this.expanded})}componentWillLoad(){this.updateColumns()}render(){return o(a,{key:"a7834f72abcf18e74ff16ff9dbbcb4e987f673df",role:"row",onClick:this.onRowClick.bind(this),expanded:this.expanded},o("div",{key:"badaec159c7abf449da9c7015fb2fa240ce14377",class:"z-tr--expand-button-container"},this.expandable&&o("button",{key:"6e312e5e8f907d05968b636f6368cda6397214eb","aria-expanded":this.expanded?"true":"false","aria-label":this.expanded?"Comprimi riga":"Espandi riga","aria-controls":this.expandableContentId,type:"button"},o("z-icon",{key:"e054cb205c4a81e1e88509300976133c21f27d0f",name:this.expanded?"minus-circled":"plus-circled"}))),o("slot",{key:"95b75f93a1c27d6245e8993dcdfeef3f614c1843",onSlotchange:this.updateColumns.bind(this)}))}get host(){return n(this)}static get watchers(){return{expandable:["updateColumns"]}}};d.style=i;export{d as Z};
2
+ //# sourceMappingURL=p-5cf2fb58.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZTrStyle0","ZTr","updateColumns","cells","Array","from","this","host","querySelectorAll","expandable","pop","columns","map","cell","colspan","reduce","a","b","style","setProperty","expandableContent","id","randomId","expandableContentId","onRowClick","event","preventExpand","target","closest","expanded","expand","emit","componentWillLoad","render","h","Host","key","role","onClick","bind","class","type","name","onSlotchange"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n /* number of columns of the row. will be set in component's ts code */\n --columns: 1;\n\n display: grid;\n min-width: max-content;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-surface02);\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n onClick={this.onRowClick.bind(this)}\n expanded={this.expanded}\n >\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"mappings":"0IAAA,MAAMA,EAAY,0kDAClB,MAAAC,EAAeD,E,MCeFE,EAAG,M,wEAaD,M,cAMF,M,mCAeD,aAAAC,GACR,MAAMC,EAAQC,MAAMC,KAAKC,KAAKC,KAAKC,iBAAkD,eACrF,GAAIF,KAAKG,WAAY,CACnBN,EAAMO,K,CAGR,MAAMC,EAAUR,EAAMS,KAAKC,GAASA,EAAKC,SAAW,IAAGC,QAAO,CAACC,EAAGC,IAAMD,EAAIC,GAAG,GAC/EX,KAAKC,KAAKW,MAAMC,YAAY,YAAa,GAAGR,KAE5C,GAAIL,KAAKG,WAAY,CACnB,MAAMW,EAAoBjB,EAAMO,MAChCU,EAAkBC,GAAKD,EAAkBC,IAAM,2BAA2BC,MAC1EhB,KAAKiB,oBAAsBH,EAAkBC,E,EAQzC,UAAAG,CAAWC,GACjB,MAAMC,EAAiBD,EAAME,OAAuBC,QAAQ,mBAC5D,IAAKtB,KAAKG,YAAciB,EAAe,CACrC,M,CAGFpB,KAAKuB,UAAYvB,KAAKuB,SACtBvB,KAAKwB,OAAOC,KAAK,CAACF,SAAUvB,KAAKuB,U,CAGnC,iBAAAG,GACE1B,KAAKJ,e,CAGP,MAAA+B,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,MACLC,QAAShC,KAAKkB,WAAWe,KAAKjC,MAC9BuB,SAAUvB,KAAKuB,UAEfK,EAAA,OAAAE,IAAA,2CAAKI,MAAM,iCACRlC,KAAKG,YACJyB,EAAA,UAAAE,IAAA,2DACiB9B,KAAKuB,SAAW,OAAS,QAAO,aACnCvB,KAAKuB,SAAW,gBAAkB,eAAc,gBAC7CvB,KAAKiB,oBACpBkB,KAAK,UAELP,EAAA,UAAAE,IAAA,2CAAQM,KAAMpC,KAAKuB,SAAW,gBAAkB,mBAItDK,EAAA,QAAAE,IAAA,2CAAMO,aAAcrC,KAAKJ,cAAcqC,KAAKjC,Q","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export{Z as z_tbody}from"./p-feca4075.js";import"./p-cc3c02fe.js";
2
+ //# sourceMappingURL=p-5e734fd3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r,h as o}from"./p-cc3c02fe.js";const c=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";const s=c;const a=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"a04290b826aa50ecac798ad9126d93ee1d7e883e",class:this.type},o("slot",{key:"bc0f26d27fe3a68484f3079f11fb1c767fe255c4"}))}};a.style=s;export{a as z_alert};
2
+ //# sourceMappingURL=p-5e9b3793.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZAlertStyle0","ZAlert","render","h","key","class","this","type"],"sources":["src/snowflakes/myz/z-alert/styles.css?tag=z-alert&encapsulation=shadow","src/snowflakes/myz/z-alert/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-rg);\n line-height: calc(var(--space-unit) * 2);\n}\n\n:host > div {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host > .success {\n background: var(--color-success-inverse);\n fill: var(--color-success01);\n}\n\n:host > .warning {\n background: var(--color-warning-inverse);\n fill: var(--color-warning01);\n}\n\n:host > .error {\n background: var(--color-error-inverse);\n fill: var(--color-error01);\n}\n","import {Component, Prop, h} from \"@stencil/core\";\nimport {AlertType} from \"../../../beans/index\";\n\n/**\n * @slot - alert content\n */\n\n@Component({\n tag: \"z-alert\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAlert {\n /** alert variant type */\n @Prop()\n type: AlertType;\n\n render(): HTMLDivElement {\n return (\n <div class={this.type}>\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAY,ieAClB,MAAAC,EAAeD,E,MCWFE,EAAM,M,6CAKjB,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAOC,KAAKC,MACfJ,EAAA,QAAAC,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as i,h as s,a as t,g as o}from"./p-cc3c02fe.js";import{x as f,P as a}from"./p-025f494e.js";import{t as c}from"./p-2c886e8b.js";const n=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";const l=n;const r=class{constructor(s){e(this,s);this.removeFile=i(this,"removeFile",7);this.fileNumber=undefined;this.fileName=undefined;this.allowPopover=false;this.popoverVisible=false}removeFileHandler(){this.removeFile.emit({fileName:this.fileName});this.el.remove()}onMouseOver(){this.popoverVisible=true}onMouseLeave(){this.popoverVisible=false}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var e,i;if(this.elementHasEllipsis()&&window.innerWidth>c){this.allowPopover=true}(i=(e=this.icon)===null||e===void 0?void 0:e.focus)===null||i===void 0?void 0:i.call(e)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return s(t,{key:"03c2efd6f2abf7ba920eb9ac47f268ade6ec1404"},this.allowPopover&&s("z-popover",{key:"f916e0f4aed0a9c7d2a8ff59ee0a073baff02ad5",open:this.popoverVisible,position:a.AUTO,bindTo:this.chip},s("span",{key:"1f364c21b8bd45ff52c23a40df45ee1684271122",class:"body-5 tooltip-content"},this.ellipsis.innerText)),s("z-chip",{key:"0c69ec654a4fb7f251bdd904ffec476c911e545a",ref:e=>this.chip=e,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:f.DEFAULT},s("span",{key:"b71ea54ee7156bfb324f7d5f2fa71d9b50c167bf",ref:e=>this.ellipsis=e,tabIndex:-1},this.fileName)))}get el(){return o(this)}};r.style=l;export{r as z_file};
2
+ //# sourceMappingURL=p-62598750.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZFileStyle0","ZFile","removeFileHandler","this","removeFile","emit","fileName","el","remove","onMouseOver","popoverVisible","onMouseLeave","onInteractiveIconClick","componentDidLoad","elementHasEllipsis","window","innerWidth","tabletBreakpoint","allowPopover","_b","_a","icon","focus","call","ellipsis","offsetWidth","scrollWidth","render","h","Host","key","open","position","PopoverPosition","AUTO","bindTo","chip","class","innerText","ref","id","fileNumber","interactiveIcon","type","ZChipType","DEFAULT","tabIndex"],"sources":["src/components/file-upload/z-file/styles.css?tag=z-file&encapsulation=scoped","src/components/file-upload/z-file/index.tsx"],"sourcesContent":[":host {\n position: relative;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > z-popover {\n z-index: 10;\n}\n\n:host > z-popover > .tooltip-content {\n white-space: nowrap;\n}\n\n:host > z-chip span {\n display: block;\n overflow: hidden;\n max-width: 250px;\n letter-spacing: 0.32px;\n line-height: 1.33;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {PopoverPosition, ZChipType} from \"../../../beans\";\nimport {tabletBreakpoint} from \"../../../constants/breakpoints\";\n\n@Component({\n tag: \"z-file\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZFile {\n private icon: HTMLElement;\n\n private ellipsis?: HTMLSpanElement;\n\n private chip?: HTMLZChipElement;\n\n /** File chip id */\n @Prop()\n fileNumber: number;\n\n /** File name */\n @Prop()\n fileName: string;\n\n @State()\n allowPopover = false;\n\n @State()\n popoverVisible = false;\n\n @Element() el: HTMLZFileElement;\n\n /** Emitted when a z-file component is removed from the DOM */\n @Event()\n removeFile: EventEmitter;\n\n private removeFileHandler(): void {\n this.removeFile.emit({fileName: this.fileName});\n this.el.remove();\n }\n\n @Listen(\"mouseover\")\n onMouseOver(): void {\n this.popoverVisible = true;\n }\n\n @Listen(\"mouseleave\")\n onMouseLeave(): void {\n this.popoverVisible = false;\n }\n\n @Listen(\"interactiveIconClick\")\n onInteractiveIconClick(): void {\n this.removeFileHandler();\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint) {\n this.allowPopover = true;\n }\n\n this.icon?.focus?.();\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n render(): HTMLZFileElement {\n return (\n <Host>\n {this.allowPopover && (\n <z-popover\n open={this.popoverVisible}\n position={PopoverPosition.AUTO}\n bindTo={this.chip}\n >\n <span class=\"body-5 tooltip-content\">{this.ellipsis.innerText}</span>\n </z-popover>\n )}\n <z-chip\n ref={(el) => (this.chip = el as HTMLZChipElement)}\n id={`chip-${this.fileNumber}`}\n interactiveIcon=\"multiply-circled\"\n type={ZChipType.DEFAULT}\n >\n <span\n ref={(el) => (this.ellipsis = el as HTMLSpanElement)}\n tabIndex={-1}\n >\n {this.fileName}\n </span>\n </z-chip>\n </Host>\n );\n }\n}\n"],"mappings":"+IAAA,MAAMA,EAAY,wYAClB,MAAAC,EAAeD,E,MCSFE,EAAK,M,oIAgBD,M,oBAGE,K,CAQT,iBAAAC,GACNC,KAAKC,WAAWC,KAAK,CAACC,SAAUH,KAAKG,WACrCH,KAAKI,GAAGC,Q,CAIV,WAAAC,GACEN,KAAKO,eAAiB,I,CAIxB,YAAAC,GACER,KAAKO,eAAiB,K,CAIxB,sBAAAE,GACET,KAAKD,mB,CAGP,gBAAAW,G,QACE,GAAIV,KAAKW,sBAAwBC,OAAOC,WAAaC,EAAkB,CACrEd,KAAKe,aAAe,I,EAGtBC,GAAAC,EAAAjB,KAAKkB,QAAI,MAAAD,SAAA,SAAAA,EAAEE,SAAK,MAAAH,SAAA,SAAAA,EAAAI,KAAAH,E,CAGV,kBAAAN,GACN,OAAOX,KAAKqB,SAASC,YAActB,KAAKqB,SAASE,W,CAGnD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACF3B,KAAKe,cACJU,EAAA,aAAAE,IAAA,2CACEC,KAAM5B,KAAKO,eACXsB,SAAUC,EAAgBC,KAC1BC,OAAQhC,KAAKiC,MAEbR,EAAA,QAAAE,IAAA,2CAAMO,MAAM,0BAA0BlC,KAAKqB,SAASc,YAGxDV,EAAA,UAAAE,IAAA,2CACES,IAAMhC,GAAQJ,KAAKiC,KAAO7B,EAC1BiC,GAAI,QAAQrC,KAAKsC,aACjBC,gBAAgB,mBAChBC,KAAMC,EAAUC,SAEhBjB,EAAA,QAAAE,IAAA,2CACES,IAAMhC,GAAQJ,KAAKqB,SAAWjB,EAC9BuC,UAAW,GAEV3C,KAAKG,W","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,a as s,g as o}from"./p-cc3c02fe.js";import{V as r,W as n,p as a,g as l,P as h,i as p}from"./p-025f494e.js";import{g as c,a as d}from"./p-955da62e.js";import"./p-2c886e8b.js";const f=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-link-primary);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-link-primary)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-link-primary);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-surface02);--z-popover-padding:0}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}";const u=f;const m=class{constructor(e){i(this,e);this.clickOnNode=t(this,"clickOnNode",7);this.collapsedElements=[];this.currentIndex=0;this.truncatePosition=null;this.pathStyle=r.UNDERLINED;this.homepageVariant=n.ICON;this.maxNodesToShow=5;this.preventFollowUrl=false;this.overflowMenuItemRows=0;this.truncateChar=30;this.viewPortWidth=undefined;this.hasOverflow=false;this.popoverEllipsisOpen=false}handleResize(){this.viewPortWidth=c();if(this.viewPortWidth!==a.MOBILE&&this.wrapElement&&this.wrapElement.scrollWidth>this.wrapElement.clientWidth){this.hasOverflow=true}}handlePropChange(){this.initializeBreadcrumb()}handleResizeUp(i,t){if(i===a.MOBILE||t===a.MOBILE&&i===a.TABLET||t===a.MOBILE&&i===a.DESKTOP||t===a.MOBILE&&i===a.DESKTOP_WIDE||t===a.TABLET&&i===a.DESKTOP||t===a.TABLET&&i===a.DESKTOP_WIDE||t===a.DESKTOP&&i===a.DESKTOP_WIDE){this.initializeBreadcrumb()}}componentWillLoad(){this.viewPortWidth=c();this.initializeBreadcrumb()}componentWillRender(){if(this.viewPortWidth!==a.MOBILE&&this.hasOverflow){this.checkEllipsisOrOverflowMenu();this.hasOverflow=false}}componentDidRender(){if(this.collapsedElementsRef){this.anchorElements=Array.from(this.hostElement.shadowRoot.querySelectorAll("z-list-group a"))}if(this.viewPortWidth!==a.MOBILE&&this.wrapElement.scrollWidth>this.wrapElement.clientWidth){this.hasOverflow=true}}initializeBreadcrumb(){if(this.viewPortWidth===a.MOBILE){this.pathsList=this.getPathsItemsList().filter((i=>!!i.path))}else{this.pathsList=this.getPathsItemsList()}this.homepageNode=this.pathsList.shift();this.pathListCopy=[...this.pathsList];this.collapsedElements=[];if(this.pathsList.length>this.maxNodesToShow){this.collapsedElements=this.pathsList.splice(0,this.pathsList.length-2)}}checkEllipsisOrOverflowMenu(){for(let i=0;i<this.pathsList.length;i++){if(this.pathsList[i].text.length<=this.truncateChar){continue}if(this.truncatePosition>0){this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition));this.pathsList.splice(0,this.truncatePosition);this.truncatePosition=0;return}else if(this.truncatePosition===0){this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition+1));this.pathsList.splice(0,this.truncatePosition+1);this.truncatePosition=null;return}if(i!==this.pathsList.length-1){const t=this.truncateWithEllipsis(this.pathsList[i].text,this.truncateChar);this.currentEllipsisText=this.pathsList[i].text;this.pathsList[i].text=t;this.pathsList[i].hasTooltip=true;this.truncatePosition=i;return}}}truncateWithEllipsis(i,t){if(i.length<=t){return i}return i.substring(0,t-1)+"&mldr;"}getPathsItemsList(){return Array.from(this.hostElement.children).map((i=>({text:i.textContent,path:i.href,hasTooltip:false})))}renderHomepageNode(){return e("li",null,e("a",{class:{"homepage-text":this.homepageVariant===n.TEXT},href:this.homepageNode.path,onClick:i=>this.handlePreventFollowUrl(i,this.homepageNode),innerHTML:this.homepageVariant===n.ICON?`<z-icon name="home" />`:this.homepageNode.text||"Home"}),this.pathsList.length>0&&e("z-icon",{class:"separator",name:"chevron-right"}))}togglePopover(){if(!this.collapsedElementsRef.open){this.collapsedElementsRef.open=true}}handlePreventFollowUrl(i,t){if(this.preventFollowUrl){i.preventDefault();this.clickOnNode.emit(t.path)}}handleOverflowMenuAccessibility(i){const t=this.anchorElements.length;if(i.key===l.TAB){i.preventDefault();return}i.stopPropagation();const e=[l.ARROW_DOWN,l.ARROW_UP];if(e.includes(i.key)){i.preventDefault();if(i.key===l.ARROW_DOWN){this.currentIndex=t===this.currentIndex+1?0:this.currentIndex+1}if(i.key===l.ARROW_UP){this.currentIndex=this.currentIndex<=0?t-1:this.currentIndex-1}this.anchorElements[this.currentIndex].focus()}if(i.key===l.ESC){this.triggerButton.focus()}}renderOverflowMenu(){return e("li",null,e("z-popover",{class:"hidden-paths-popover",ref:i=>this.collapsedElementsRef=i,bindTo:this.triggerButton,position:h.BOTTOM_RIGHT,closable:true,showArrow:true},e("div",{class:"popover-content"},e("z-list",null,e("z-list-group",{size:p.SMALL},this.collapsedElements.map(((i,t,s)=>e("div",null,e("z-list-element",{clickable:true},e("a",{class:"text-ellipsis",href:i.path,onClick:t=>this.handlePreventFollowUrl(t,i),onKeyDown:i=>this.handleOverflowMenuAccessibility(i),innerHTML:i.text})),t<s.length-1&&e("z-divider",{color:"color-surface03"})))))))),e("button",{class:"dots",ref:i=>this.triggerButton=i,"aria-label":"Mostra più breadcrumb","aria-haspopup":"true",onClick:()=>{this.togglePopover()},onKeyDown:i=>{d(i,this.togglePopover.bind(this));setTimeout((()=>{this.anchorElements[0].focus()}),100)},innerHTML:"&mldr;"}),this.pathsList.length>0&&e("z-icon",{class:"separator",name:"chevron-right"}))}renderMobileItems(){const i=this.pathsList[this.pathsList.length-1];if(!i){return}return e("li",null,e("a",{"aria-current":i.path?undefined:"page",href:i.path,onClick:t=>this.handlePreventFollowUrl(t,i)},e("z-icon",{name:"chevron-left"}),e("span",{class:{"missing-path":!i.path,"text-ellipsis":true}},i.text)))}renderItems(){let i;return[this.renderHomepageNode(),this.collapsedElements.length>0&&this.renderOverflowMenu(),...this.pathsList.map(((t,s)=>e("li",null,t.hasTooltip&&e("z-popover",{class:"full-path-tooltip",bindTo:i,open:this.popoverEllipsisOpen,position:h.BOTTOM_RIGHT,closable:false,showArrow:true},e("span",{class:"tooltip-content"},this.currentEllipsisText)),e("a",{class:{"missing-path":!t.path},ref:t=>i=t,"aria-current":t.path?undefined:"page",href:t.path,onClick:i=>this.handlePreventFollowUrl(i,t),onMouseOver:()=>{if(t.hasTooltip){this.popoverEllipsisOpen=true}},onMouseLeave:()=>{if(t.hasTooltip){this.popoverEllipsisOpen=false}},innerHTML:t.text}),s!==this.pathsList.length-1&&e("z-icon",{class:"separator",name:"chevron-right"}))))]}render(){return e(s,{key:"bba9d5bf2b1316c4e29eebcc00cb23c3e6635a36",style:{"--line-clamp-popover":`${this.overflowMenuItemRows}`}},e("nav",{key:"4d916bcbb730f4e3cd0d051b630336db7222aa30",ref:i=>this.wrapElement=i,"aria-label":"Breadcrumb",class:{semibold:this.pathStyle===r.SEMIBOLD,underlined:this.pathStyle===r.UNDERLINED}},e("ol",{key:"654d8e9cad8417a155f1bc349b7b16687c8db96e"},this.viewPortWidth===a.MOBILE?this.renderMobileItems():this.renderItems())))}get hostElement(){return o(this)}static get watchers(){return{maxNodesToShow:["handlePropChange"],viewPortWidth:["handleResizeUp"]}}};m.style=u;export{m as z_breadcrumb};
2
+ //# sourceMappingURL=p-67d49495.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZBreadcrumbStyle0","ZBreadcrumb","this","collapsedElements","currentIndex","truncatePosition","BreadcrumbPathStyle","UNDERLINED","BreadcrumbHomepageVariant","ICON","handleResize","viewPortWidth","getDevice","Device","MOBILE","wrapElement","scrollWidth","clientWidth","hasOverflow","handlePropChange","initializeBreadcrumb","handleResizeUp","newValue","oldValue","TABLET","DESKTOP","DESKTOP_WIDE","componentWillLoad","componentWillRender","checkEllipsisOrOverflowMenu","componentDidRender","collapsedElementsRef","anchorElements","Array","from","hostElement","shadowRoot","querySelectorAll","pathsList","getPathsItemsList","filter","item","path","homepageNode","shift","pathListCopy","length","maxNodesToShow","splice","i","text","truncateChar","push","truncatedString","truncateWithEllipsis","currentEllipsisText","hasTooltip","str","maxLength","substring","children","map","textContent","href","renderHomepageNode","h","class","homepageVariant","TEXT","onClick","e","handlePreventFollowUrl","innerHTML","name","togglePopover","open","preventFollowUrl","preventDefault","clickOnNode","emit","handleOverflowMenuAccessibility","anchorElementsLenght","key","KeyboardCode","TAB","stopPropagation","arrows","ARROW_DOWN","ARROW_UP","includes","focus","ESC","triggerButton","renderOverflowMenu","ref","val","bindTo","position","PopoverPosition","BOTTOM_RIGHT","closable","showArrow","size","ListSize","SMALL","index","array","clickable","onKeyDown","color","el","handleKeyboardSubmit","bind","setTimeout","renderMobileItems","secondToLastPath","undefined","renderItems","trigger","popoverEllipsisOpen","onMouseOver","onMouseLeave","render","Host","style","overflowMenuItemRows","semibold","pathStyle","SEMIBOLD","underlined"],"sources":["src/components/z-breadcrumb/styles.css?tag=z-breadcrumb&encapsulation=shadow","src/components/z-breadcrumb/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --line-clamp-popover: 0;\n --line-clamp-mobile: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbutton {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\nnav {\n display: flex;\n align-items: center;\n}\n\nol {\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n column-gap: var(--space-unit);\n list-style: none;\n}\n\nli {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n column-gap: var(--space-unit);\n}\n\nol li > a,\nol li > button {\n font-size: var(--font-size-2);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\na:focus,\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\na {\n color: var(--color-link-primary);\n white-space: nowrap;\n}\n\na.missing-path {\n color: var(--color-default-text);\n}\n\n.text-ellipsis {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--line-clamp-mobile);\n text-overflow: ellipsis;\n white-space: initial;\n}\n\nnav.semibold > ol > li > a:not(.missing-path),\nnav.semibold > ol > li > button {\n font-weight: var(--font-sb);\n text-decoration: none;\n}\n\nnav.underlined a,\nnav.underlined button {\n text-decoration: underline;\n}\n\nz-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n\n display: block;\n fill: var(--color-link-primary);\n}\n\nz-icon.separator {\n --z-icon-width: 10px;\n --z-icon-height: 10px;\n\n fill: var(--gray500);\n}\n\nbutton.dots {\n display: inline-block;\n color: var(--color-link-primary);\n cursor: pointer;\n}\n\n.hidden-paths-popover .popover-content {\n max-width: 302px;\n padding: calc(var(--space-unit) / 2) var(--space-unit);\n text-align: left;\n}\n\n.hidden-paths-popover .popover-content a {\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\n.hidden-paths-popover {\n --z-popover-theme--surface: var(--color-surface02);\n --z-popover-padding: 0;\n}\n\n.hidden-paths-popover::before,\n.full-path-tooltip::before {\n --arrow-edge-offset: calc(100% - (var(--space-unit) * 2.55));\n}\n\n.full-path-tooltip {\n --z-popover-theme--surface: var(--color-surface05);\n --z-popover-theme--text: var(--color-text-inverse);\n --z-popover-padding: 0;\n}\n\n.tooltip-content {\n padding: 0 var(--space-unit);\n font-size: var(--font-size-2);\n}\n\n@media (min-width: 768px) {\n .text-ellipsis {\n -webkit-line-clamp: var(--line-clamp-popover);\n }\n}\n\n@media (max-width: 767px) {\n li a {\n display: flex;\n align-items: center;\n column-gap: var(--space-unit);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {\n BreadcrumbHomepageVariant,\n BreadcrumbPath,\n BreadcrumbPathStyle,\n Device,\n KeyboardCode,\n ListSize,\n PopoverPosition,\n} from \"../../beans\";\nimport {getDevice, handleKeyboardSubmit} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-breadcrumb\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZBreadcrumb {\n /* Accessibility references */\n /* Overflow-menu: https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/ */\n /* Breadcrumb: https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/ */\n /* Focus on multiline link: https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html */\n\n @Element() hostElement: HTMLZBreadcrumbElement;\n\n /** [optional] Sets the path style */\n @Prop({reflect: true})\n pathStyle?: BreadcrumbPathStyle = BreadcrumbPathStyle.UNDERLINED;\n\n /** [optional] Variant of first node */\n @Prop()\n homepageVariant?: BreadcrumbHomepageVariant = BreadcrumbHomepageVariant.ICON;\n\n /** [optional] Sets max number of element to show */\n @Prop()\n maxNodesToShow? = 5;\n\n /** [optional] Controls the behaviour on <a> tag click/enter */\n @Prop()\n preventFollowUrl? = false;\n\n /** [optional] Sets max number of row for each path inside the popover. Zero equals unlimited */\n @Prop()\n overflowMenuItemRows? = 0;\n\n /** [optional] Sets the maximun number of chars per single node */\n @Prop()\n truncateChar? = 30;\n\n /** Handle mobile */\n @State()\n viewPortWidth: Device;\n\n /** Detect whether the length of the nodes shown exceeds the container length */\n @State()\n hasOverflow = false;\n\n @State()\n popoverEllipsisOpen = false;\n\n /** Emitted when preventFollowUrl=true to handle custom page transition */\n @Event()\n clickOnNode: EventEmitter<BreadcrumbPath[\"path\"]>;\n\n private pathsList: BreadcrumbPath[];\n\n private pathListCopy: BreadcrumbPath[];\n\n private collapsedElements: BreadcrumbPath[] = [];\n\n private collapsedElementsRef: HTMLZPopoverElement;\n\n private triggerButton: HTMLButtonElement;\n\n private wrapElement: HTMLElement;\n\n private currentIndex = 0;\n\n private homepageNode: BreadcrumbPath;\n\n private anchorElements;\n\n private currentEllipsisText: string;\n\n private truncatePosition = null;\n\n @Listen(\"resize\", {target: \"window\"})\n handleResize(): void {\n this.viewPortWidth = getDevice();\n if (\n this.viewPortWidth !== Device.MOBILE &&\n this.wrapElement &&\n this.wrapElement.scrollWidth > this.wrapElement.clientWidth\n ) {\n this.hasOverflow = true;\n }\n }\n // eslint-disable-next-line lines-between-class-members\n @Watch(\"maxNodesToShow\")\n handlePropChange(): void {\n this.initializeBreadcrumb();\n }\n\n @Watch(\"viewPortWidth\")\n handleResizeUp(newValue: Device, oldValue: Device): void {\n if (\n newValue === Device.MOBILE ||\n (oldValue === Device.MOBILE && newValue === Device.TABLET) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.DESKTOP && newValue === Device.DESKTOP_WIDE)\n ) {\n this.initializeBreadcrumb();\n }\n }\n\n componentWillLoad(): void {\n this.viewPortWidth = getDevice();\n this.initializeBreadcrumb();\n }\n\n componentWillRender(): void {\n if (this.viewPortWidth !== Device.MOBILE && this.hasOverflow) {\n this.checkEllipsisOrOverflowMenu();\n this.hasOverflow = false;\n }\n }\n\n componentDidRender(): void {\n if (this.collapsedElementsRef) {\n this.anchorElements = Array.from(this.hostElement.shadowRoot.querySelectorAll(\"z-list-group a\"));\n }\n\n if (this.viewPortWidth !== Device.MOBILE && this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {\n this.hasOverflow = true;\n }\n }\n\n private initializeBreadcrumb(): void {\n if (this.viewPortWidth === Device.MOBILE) {\n this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);\n } else {\n this.pathsList = this.getPathsItemsList();\n }\n this.homepageNode = this.pathsList.shift();\n this.pathListCopy = [...this.pathsList];\n this.collapsedElements = [];\n if (this.pathsList.length > this.maxNodesToShow) {\n this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);\n }\n }\n\n private checkEllipsisOrOverflowMenu(): void {\n for (let i = 0; i < this.pathsList.length; i++) {\n if (this.pathsList[i].text.length <= this.truncateChar) {\n continue;\n }\n\n if (this.truncatePosition > 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition));\n this.pathsList.splice(0, this.truncatePosition);\n this.truncatePosition = 0;\n\n return;\n } else if (this.truncatePosition === 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition + 1));\n this.pathsList.splice(0, this.truncatePosition + 1);\n this.truncatePosition = null;\n\n return;\n }\n\n if (i !== this.pathsList.length - 1) {\n const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);\n this.currentEllipsisText = this.pathsList[i].text;\n this.pathsList[i].text = truncatedString;\n this.pathsList[i].hasTooltip = true;\n this.truncatePosition = i;\n\n return;\n }\n }\n }\n\n private truncateWithEllipsis(str: string, maxLength: number): string {\n if (str.length <= maxLength) {\n return str;\n }\n\n return str.substring(0, maxLength - 1) + \"&mldr;\";\n }\n\n private getPathsItemsList(): BreadcrumbPath[] {\n return Array.from(this.hostElement.children).map((item: HTMLAnchorElement) => {\n return {\n text: item.textContent,\n path: item.href,\n hasTooltip: false,\n };\n });\n }\n\n private renderHomepageNode(): HTMLLIElement {\n return (\n <li>\n <a\n class={{\n \"homepage-text\": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,\n }}\n href={this.homepageNode.path}\n onClick={(e) => this.handlePreventFollowUrl(e, this.homepageNode)}\n innerHTML={\n this.homepageVariant === BreadcrumbHomepageVariant.ICON\n ? `<z-icon name=\"home\" />`\n : this.homepageNode.text || \"Home\"\n }\n />\n {this.pathsList.length > 0 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n );\n }\n\n private togglePopover(): void {\n if (!this.collapsedElementsRef.open) {\n this.collapsedElementsRef.open = true;\n }\n }\n\n private handlePreventFollowUrl(e: MouseEvent, item): void {\n if (this.preventFollowUrl) {\n e.preventDefault();\n this.clickOnNode.emit(item.path);\n }\n }\n\n private handleOverflowMenuAccessibility(e: KeyboardEvent): void {\n const anchorElementsLenght = this.anchorElements.length;\n if (e.key === KeyboardCode.TAB) {\n e.preventDefault();\n\n return;\n }\n e.stopPropagation();\n const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];\n if (arrows.includes(e.key as KeyboardCode)) {\n e.preventDefault();\n\n if (e.key === KeyboardCode.ARROW_DOWN) {\n this.currentIndex = anchorElementsLenght === this.currentIndex + 1 ? 0 : this.currentIndex + 1;\n }\n if (e.key === KeyboardCode.ARROW_UP) {\n this.currentIndex = this.currentIndex <= 0 ? anchorElementsLenght - 1 : this.currentIndex - 1;\n }\n\n this.anchorElements[this.currentIndex].focus();\n }\n\n if (e.key === KeyboardCode.ESC) {\n this.triggerButton.focus();\n }\n }\n\n private renderOverflowMenu(): HTMLLIElement {\n return (\n <li>\n <z-popover\n class=\"hidden-paths-popover\"\n ref={(val) => (this.collapsedElementsRef = val as HTMLZPopoverElement)}\n bindTo={this.triggerButton}\n position={PopoverPosition.BOTTOM_RIGHT}\n closable\n showArrow\n >\n <div class=\"popover-content\">\n <z-list>\n <z-list-group size={ListSize.SMALL}>\n {this.collapsedElements.map((item, index, array) => {\n return (\n <div>\n <z-list-element clickable>\n <a\n class=\"text-ellipsis\"\n href={item.path}\n onClick={(e) => this.handlePreventFollowUrl(e, item)}\n onKeyDown={(e) => this.handleOverflowMenuAccessibility(e)}\n innerHTML={item.text}\n />\n </z-list-element>\n {index < array.length - 1 && <z-divider color=\"color-surface03\"></z-divider>}\n </div>\n );\n })}\n </z-list-group>\n </z-list>\n </div>\n </z-popover>\n <button\n class=\"dots\"\n ref={(el) => (this.triggerButton = el)}\n aria-label=\"Mostra più breadcrumb\"\n aria-haspopup=\"true\"\n onClick={() => {\n this.togglePopover();\n }}\n onKeyDown={(e) => {\n handleKeyboardSubmit(e, this.togglePopover.bind(this));\n setTimeout(() => {\n this.anchorElements[0].focus();\n }, 100);\n }}\n innerHTML=\"&mldr;\"\n ></button>\n {this.pathsList.length > 0 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n );\n }\n\n private renderMobileItems(): HTMLLIElement {\n // show only the second to last element\n const secondToLastPath = this.pathsList[this.pathsList.length - 1];\n\n if (!secondToLastPath) {\n return;\n }\n\n return (\n <li>\n <a\n aria-current={secondToLastPath.path ? undefined : \"page\"}\n href={secondToLastPath.path}\n onClick={(e) => this.handlePreventFollowUrl(e, secondToLastPath)}\n >\n <z-icon name=\"chevron-left\" />\n <span\n class={{\n \"missing-path\": !secondToLastPath.path,\n \"text-ellipsis\": true,\n }}\n >\n {secondToLastPath.text}\n </span>\n </a>\n </li>\n );\n }\n\n private renderItems(): HTMLElement[] {\n let trigger;\n\n return [\n this.renderHomepageNode(),\n this.collapsedElements.length > 0 && this.renderOverflowMenu(),\n ...this.pathsList.map((item, index) => (\n <li>\n {item.hasTooltip && (\n <z-popover\n class=\"full-path-tooltip\"\n bindTo={trigger}\n open={this.popoverEllipsisOpen}\n position={PopoverPosition.BOTTOM_RIGHT}\n closable={false}\n showArrow\n >\n <span class=\"tooltip-content\">{this.currentEllipsisText}</span>\n </z-popover>\n )}\n <a\n class={{\"missing-path\": !item.path}}\n ref={(val) => (trigger = val)}\n aria-current={item.path ? undefined : \"page\"}\n href={item.path}\n onClick={(e) => this.handlePreventFollowUrl(e, item)}\n onMouseOver={() => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = true;\n }\n }}\n onMouseLeave={() => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = false;\n }\n }}\n innerHTML={item.text}\n />\n {index !== this.pathsList.length - 1 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n )),\n ];\n }\n\n render(): HTMLZBreadcrumbElement {\n return (\n <Host style={{\"--line-clamp-popover\": `${this.overflowMenuItemRows}`}}>\n <nav\n ref={(val) => (this.wrapElement = val)}\n aria-label=\"Breadcrumb\"\n class={{\n semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,\n underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,\n }}\n >\n <ol>{this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()}</ol>\n </nav>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as s,h as i,a as e,g as o}from"./p-cc3c02fe.js";import{R as r,U as a,B as n}from"./p-025f494e.js";const l=':host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0;}:host([single]){display:flex;flex-direction:column;align-items:center;justify-content:center}:host([single]) .z-carousel-container{width:fit-content;max-width:100%}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-title{margin-bottom:calc(var(--space-unit) * 2)}.z-carousel-wrapper{position:relative}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;box-shadow:var(--z-carousel-items-shadow, none);column-gap:var(--z-carousel-gutter);list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container ::slotted(*){scroll-snap-align:center}.z-carousel-navigation-arrow[hidden]{display:none}.z-carousel-navigation-arrow[data-direction]{position:absolute;z-index:1;bottom:50%;transform:translateY(50%)}.z-carousel-navigation-arrow[data-direction="next"]{right:0}:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow{display:none}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;column-gap:calc(var(--space-unit) * 3)}:host([arrows-position="bottom"]) .z-carousel-footer{margin-top:calc(var(--space-unit) * 0.75)}.z-carousel-footer .numbers-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress{column-gap:calc(var(--space-unit) * 3)}:host(:not([arrows-position="bottom"])) .z-carousel-footer .dots-progress{margin-top:calc(var(--space-unit) * 2)}.z-carousel-footer .dots-progress button{display:flex;width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);align-items:center;padding:0;border:none;margin:0;background-color:var(--color-surface03);border-radius:calc(var(--space-unit) * 3)}.z-carousel-footer .dots-progress button.current{background-color:var(--color-primary01)}.z-carousel-footer .dots-progress button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{column-gap:calc(var(--space-unit) / 2)}:host(:not([arrows-position="bottom"])) .z-carousel-footer .numbers-progress{margin-top:var(--space-unit)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}@media (min-width: 768px){:host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]){display:flex}}';const h=l;const c=class{constructor(i){t(this,i);this.indexChange=s(this,"indexChange",7);this.scrollingTo=null;this.isLoading=undefined;this.label=undefined;this.single=false;this.arrowsPosition=undefined;this.progressMode=undefined;this.fixedArrows=true;this.ghostLoadingHeight=100;this.infinite=false;this.current=0;this.items=undefined;this.highlightedIndicator=undefined;this.canNavigatePrev=undefined;this.canNavigateNext=undefined}onIndexChange(){this.indexChange.emit({currentItem:this.current})}onSingleModeChange(){if(this.single&&!this.intersectionObserver){this.setIntersectionObserver()}}onInfiniteModeChange(){this.checkNavigationValidity()}setIntersectionObserver(){this.intersectionObserver=new IntersectionObserver((t=>{const s=t.find((({isIntersecting:t})=>t));if(!s){return}const i=this.items.findIndex((t=>t===s.target));this.highlightedIndicator=i;if(this.scrollingTo!==null&&i!==this.scrollingTo){return}this.scrollingTo=null;this.current=i}),{root:this.itemsContainer,threshold:.5});this.items.forEach((t=>this.intersectionObserver.observe(t)))}onSlotChange(){this.items=Array.from(this.host.children);this.checkNavigationValidity();this.setIntersectionObserver();this.goTo(this.current)}onPrev(){if(this.single){this.goTo(this.infinite&&this.current-1<0?this.items.length-1:Math.max(0,this.current-1));return}this.itemsContainer.scrollBy({left:this.infinite&&this.itemsContainer.scrollLeft==0?this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth:-this.itemsContainer.clientWidth/2,behavior:"smooth"})}onNext(){if(this.single){const t=this.infinite&&this.current+1>this.items.length-1?0:Math.min(this.current+1,this.items.length-1);return this.goTo(t)}this.itemsContainer.scrollBy({left:this.infinite&&this.itemsContainer.scrollLeft==this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth?-this.itemsContainer.scrollWidth:this.itemsContainer.clientWidth/2,behavior:"smooth"})}checkNavigationValidity(){if(this.single){this.canNavigatePrev=this.current>0;this.canNavigateNext=this.current<this.items.length-1;return}this.canNavigatePrev=this.itemsContainer.scrollLeft>0;this.canNavigateNext=this.itemsContainer.scrollLeft<this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth}canShowFooter(){if(!this.canNavigatePrev&&!this.canNavigateNext){return false}return this.arrowsPosition===r.BOTTOM||this.progressMode===a.DOTS||this.progressMode===a.NUMBERS}goTo(t){if(this.current===t){return}this.scrollingTo=t;const s=this.items.slice(0,t).reduce(((t,s)=>t+=s.clientWidth),0);this.itemsContainer.scroll({left:s,behavior:"smooth"})}get canNavigate(){return this.canNavigatePrev||this.canNavigateNext}setupItems(){this.items=Array.from(this.host.children);this.items.forEach((t=>{t.setAttribute("role","group");t.setAttribute("aria-roledescription","slide")}))}componentDidLoad(){var t;(t=this.itemsContainer)===null||t===void 0?void 0:t.addEventListener("scroll",this.checkNavigationValidity.bind(this),{passive:true});this.resizeObserver=new ResizeObserver(this.checkNavigationValidity.bind(this));this.resizeObserver.observe(this.itemsContainer);this.setupItems();if(this.single){this.setIntersectionObserver()}this.checkNavigationValidity()}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){if(this.isLoading){return i("div",{class:"z-carousel-container"},this.label&&i("div",{class:"heading-3-sb z-carousel-title"},this.label),i("div",{style:{height:`${this.ghostLoadingHeight}px`}},i("z-ghost-loading",null)))}return i(e,null,i("div",{class:"z-carousel-container",role:"group","aria-roledescription":"carousel","aria-label":this.label||"Carousel"},this.label&&i("div",{class:"z-carousel-title heading-3-sb"},this.label),i("div",{class:"z-carousel-wrapper"},i("z-button",{class:"z-carousel-navigation-arrow",variant:n.SECONDARY,"data-direction":"prev",icon:"arrow-left",onClick:this.onPrev.bind(this),disabled:!this.infinite&&!this.canNavigatePrev,hidden:this.arrowsPosition!==r.OVER||!this.canNavigate,ariaLabel:this.single?"Mostra l'elemento precedente":"Mostra gli elementi precedenti"}),i("ul",{class:"z-carousel-items-container","aria-atomic":"false","aria-live":"polite",ref:t=>this.itemsContainer=t},i("slot",{onSlotchange:this.onSlotChange.bind(this)})),i("z-button",{class:"z-carousel-navigation-arrow",variant:n.SECONDARY,"data-direction":"next",icon:"arrow-right",onClick:this.onNext.bind(this),disabled:!this.infinite&&!this.canNavigateNext,hidden:this.arrowsPosition!==r.OVER||!this.canNavigate,ariaLabel:this.single?"Mostra l'elemento successivo":"Mostra gli elementi successivi"}))),this.canShowFooter()&&i("div",{class:"z-carousel-footer"},this.arrowsPosition===r.BOTTOM&&i("z-button",{class:"z-carousel-navigation-arrow",variant:n.TERTIARY,icon:"arrow-left",onClick:this.onPrev.bind(this),disabled:!this.infinite&&!this.canNavigatePrev,ariaLabel:this.single?"Mostra l'elemento precedente":"Mostra gli elementi precedenti"}),this.progressMode===a.DOTS&&this.single&&this.items&&i("div",{class:"dots-progress"},this.items.map(((t,s)=>i("button",{type:"button",class:{current:this.highlightedIndicator===s},"aria-label":this.highlightedIndicator===s?"Elemento corrente":`Spostati all'elemento ${s+1}`,onClick:()=>this.goTo(s)})))),this.progressMode===a.NUMBERS&&this.single&&this.items&&i("div",{class:"numbers-progress interactive-1"},i("span",{class:"current"},this.current+1),i("span",null,"di"),i("span",null,this.items.length)),this.arrowsPosition===r.BOTTOM&&i("z-button",{class:"z-carousel-navigation-arrow",variant:n.TERTIARY,icon:"arrow-right",onClick:this.onNext.bind(this),disabled:!this.infinite&&!this.canNavigateNext,ariaLabel:this.single?"Mostra l'elemento successivo":"Mostra gli elementi successivi"})))}get host(){return o(this)}static get watchers(){return{current:["onIndexChange"],single:["onSingleModeChange"],infinite:["onInfiniteModeChange"]}}};c.style=h;export{c as z_carousel};
2
+ //# sourceMappingURL=p-680ee955.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZCarouselStyle0","ZCarousel","this","scrollingTo","onIndexChange","indexChange","emit","currentItem","current","onSingleModeChange","single","intersectionObserver","setIntersectionObserver","onInfiniteModeChange","checkNavigationValidity","IntersectionObserver","entries","entry","find","isIntersecting","entryIndex","items","findIndex","item","target","highlightedIndicator","root","itemsContainer","threshold","forEach","element","observe","onSlotChange","Array","from","host","children","goTo","onPrev","infinite","length","Math","max","scrollBy","left","scrollLeft","scrollWidth","clientWidth","behavior","onNext","next","min","canNavigatePrev","canNavigateNext","canShowFooter","arrowsPosition","CarouselArrowsPosition","BOTTOM","progressMode","CarouselProgressMode","DOTS","NUMBERS","index","slice","reduce","acc","scroll","canNavigate","setupItems","setAttribute","componentDidLoad","_a","addEventListener","bind","passive","resizeObserver","ResizeObserver","disconnectedCallback","disconnect","render","isLoading","h","class","label","style","height","ghostLoadingHeight","Host","role","variant","ButtonVariant","SECONDARY","icon","onClick","disabled","hidden","OVER","ariaLabel","ref","el","onSlotchange","TERTIARY","map","_","type"],"sources":["src/components/z-carousel/styles.css?tag=z-carousel&encapsulation=shadow","src/components/z-carousel/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --z-carousel-gutter: 0;\n --z-carousel-items-shadow: ;\n}\n\n:host([single]) {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n:host([single]) .z-carousel-container {\n width: fit-content;\n max-width: 100%;\n}\n\n.z-carousel-container {\n display: flex;\n flex-direction: column;\n}\n\n.z-carousel-title {\n margin-bottom: calc(var(--space-unit) * 2);\n}\n\n.z-carousel-wrapper {\n position: relative;\n}\n\n.z-carousel-items-container {\n display: flex;\n max-width: 100%;\n flex-direction: row;\n margin: 0;\n box-shadow: var(--z-carousel-items-shadow, none);\n column-gap: var(--z-carousel-gutter);\n list-style: none;\n -ms-overflow-style: none; /* IE and Edge */\n overflow-x: scroll;\n padding-inline-start: 0;\n scroll-behavior: smooth;\n scroll-snap-type: x mandatory;\n\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n\n/* Hide scrollbar for Chrome, Safari and Opera */\n.z-carousel-items-container::-webkit-scrollbar {\n display: none;\n}\n\n.z-carousel-items-container ::slotted(*) {\n scroll-snap-align: center;\n}\n\n.z-carousel-navigation-arrow[hidden] {\n display: none;\n}\n\n.z-carousel-navigation-arrow[data-direction] {\n position: absolute;\n z-index: 1;\n bottom: 50%;\n transform: translateY(50%);\n}\n\n.z-carousel-navigation-arrow[data-direction=\"next\"] {\n right: 0;\n}\n\n:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow {\n display: none;\n}\n\n.z-carousel-footer {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n column-gap: calc(var(--space-unit) * 3);\n}\n\n:host([arrows-position=\"bottom\"]) .z-carousel-footer {\n margin-top: calc(var(--space-unit) * 0.75);\n}\n\n.z-carousel-footer .numbers-progress,\n.z-carousel-footer .dots-progress {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.z-carousel-footer .dots-progress {\n column-gap: calc(var(--space-unit) * 3);\n}\n\n:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .dots-progress {\n margin-top: calc(var(--space-unit) * 2);\n}\n\n.z-carousel-footer .dots-progress button {\n display: flex;\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n align-items: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--color-surface03);\n border-radius: calc(var(--space-unit) * 3);\n}\n\n.z-carousel-footer .dots-progress button.current {\n background-color: var(--color-primary01);\n}\n\n.z-carousel-footer .dots-progress button:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-carousel-footer .dots-progress button:not(.current) {\n cursor: pointer;\n}\n\n.z-carousel-footer .numbers-progress {\n column-gap: calc(var(--space-unit) / 2);\n}\n\n:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .numbers-progress {\n margin-top: var(--space-unit);\n}\n\n.z-carousel-footer .numbers-progress .current {\n font-weight: var(--font-sb);\n}\n\n@media (min-width: 768px) {\n :host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]) {\n display: flex;\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, CarouselArrowsPosition, CarouselProgressMode} from \"../../beans\";\n\n/**\n * ZCarousel component.\n * @cssprop --z-carousel-gutter - The gutter between items.\n * @cssprop --z-carousel-items-shadow - The shadow around the items.\n * @slot - Carousel items. Use `<li>` elements inside this slot.\n */\n@Component({\n tag: \"z-carousel\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZCarousel {\n @Element() host: HTMLZCarouselElement;\n\n /** The z-carousel is on loading state */\n @Prop()\n isLoading: boolean;\n\n /** The z-carousel title */\n @Prop()\n label?: string;\n\n /** Shows only one content at a time */\n @Prop({reflect: true})\n single = false;\n\n /** Arrow buttons position */\n @Prop({reflect: true})\n arrowsPosition?: CarouselArrowsPosition;\n\n /** Progress indicator type. Only available for `single` mode */\n @Prop()\n progressMode?: CarouselProgressMode;\n\n /**\n * Whether the navigation arrow buttons over the items are always visible or only on mouse hover.\n * If set to `false`, the arrows will not be visible on mobile.\n * Only meaningful with `arrowsPosition` set to `OVER`.\n */\n @Prop({reflect: true})\n fixedArrows = true;\n\n /** The height of the ghost loader (only visible when `isLoading` is set to `true`) */\n @Prop()\n ghostLoadingHeight = 100;\n\n /** When enabled, navigating next the last item will go back to the first item and vice versa. */\n @Prop()\n infinite = false;\n\n /** Current item index for single mode. */\n @State()\n current = 0;\n\n /** Items on the slider. */\n @State()\n items: HTMLLIElement[];\n\n /** Index of the indicator to highlight. */\n @State()\n highlightedIndicator: number;\n\n @State()\n canNavigatePrev: boolean;\n\n @State()\n canNavigateNext: boolean;\n\n /** Reference for the items container element. */\n protected itemsContainer: HTMLUListElement;\n\n /** Observer that handles current index change when scrolling on single mode. */\n private intersectionObserver: IntersectionObserver;\n\n /** Observer to check if navigation can still be enabled/showed when the size of the items' container changes */\n private resizeObserver: ResizeObserver;\n\n /** Flag indicating the items container is about to scroll programmatically towards the stored index. */\n private scrollingTo: number = null;\n\n /** Emitted on index change and only in `single` mode. */\n @Event()\n indexChange: EventEmitter<{currentItem: number}>;\n\n @Watch(\"current\")\n onIndexChange(): void {\n this.indexChange.emit({currentItem: this.current});\n }\n\n @Watch(\"single\")\n onSingleModeChange(): void {\n if (this.single && !this.intersectionObserver) {\n this.setIntersectionObserver();\n }\n }\n\n @Watch(\"infinite\")\n onInfiniteModeChange(): void {\n this.checkNavigationValidity();\n }\n\n /**\n * Set an intersection observer to:\n * - highlight the indicator of the intersecting item during scroll\n * - set the current item to the last intersecting item\n */\n private setIntersectionObserver(): void {\n this.intersectionObserver = new IntersectionObserver(\n (entries) => {\n const entry = entries.find(({isIntersecting}) => isIntersecting);\n if (!entry) {\n return;\n }\n\n const entryIndex = this.items.findIndex((item) => item === entry.target);\n this.highlightedIndicator = entryIndex;\n\n /* skip setting the current item if intersection has been triggered by a programmatic scroll\n (@see `goTo` function) and the final index has not been reached */\n if (this.scrollingTo !== null && entryIndex !== this.scrollingTo) {\n return;\n }\n\n this.scrollingTo = null;\n this.current = entryIndex;\n },\n {\n root: this.itemsContainer,\n threshold: 0.5,\n }\n );\n\n this.items.forEach((element) => this.intersectionObserver.observe(element));\n }\n\n /** Update items' list and check conditions to allow navigation */\n private onSlotChange(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.checkNavigationValidity();\n this.setIntersectionObserver();\n this.goTo(this.current);\n }\n\n private onPrev(): void {\n if (this.single) {\n this.goTo(this.infinite && this.current - 1 < 0 ? this.items.length - 1 : Math.max(0, this.current - 1));\n\n return;\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite && this.itemsContainer.scrollLeft == 0\n ? this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n : -this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n private onNext(): void {\n if (this.single) {\n const next =\n this.infinite && this.current + 1 > this.items.length - 1\n ? 0\n : Math.min(this.current + 1, this.items.length - 1);\n\n return this.goTo(next);\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite &&\n this.itemsContainer.scrollLeft == this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n ? -this.itemsContainer.scrollWidth\n : this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if navigation buttons can be enabled and set the related local states.\n */\n private checkNavigationValidity(): void {\n if (this.single) {\n this.canNavigatePrev = this.current > 0;\n this.canNavigateNext = this.current < this.items.length - 1;\n\n return;\n }\n\n this.canNavigatePrev = this.itemsContainer.scrollLeft > 0;\n this.canNavigateNext =\n this.itemsContainer.scrollLeft < this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth;\n }\n\n /**\n * Check if footer has to be rendered.\n */\n private canShowFooter(): boolean {\n if (!this.canNavigatePrev && !this.canNavigateNext) {\n return false;\n }\n\n return (\n this.arrowsPosition === CarouselArrowsPosition.BOTTOM ||\n this.progressMode === CarouselProgressMode.DOTS ||\n this.progressMode === CarouselProgressMode.NUMBERS\n );\n }\n\n /**\n * Set current item to passed index.\n * @param index Index to set\n */\n private goTo(index: number): void {\n if (this.current === index) {\n return;\n }\n\n this.scrollingTo = index;\n const left = this.items.slice(0, index).reduce((acc, item) => (acc += item.clientWidth), 0);\n // the scroll will trigger the IntersectionObserver and set the current item\n this.itemsContainer.scroll({\n left,\n behavior: \"smooth\",\n });\n }\n\n /** Check if navigation of at least one direction is enabled */\n private get canNavigate(): boolean {\n return this.canNavigatePrev || this.canNavigateNext;\n }\n\n private setupItems(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.items.forEach((item) => {\n item.setAttribute(\"role\", \"group\");\n item.setAttribute(\"aria-roledescription\", \"slide\");\n });\n }\n\n componentDidLoad(): void {\n this.itemsContainer?.addEventListener(\"scroll\", this.checkNavigationValidity.bind(this), {passive: true});\n this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));\n this.resizeObserver.observe(this.itemsContainer);\n this.setupItems();\n if (this.single) {\n this.setIntersectionObserver();\n }\n this.checkNavigationValidity();\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLDivElement | HTMLZCarouselElement {\n if (this.isLoading) {\n return (\n <div class=\"z-carousel-container\">\n {this.label && <div class=\"heading-3-sb z-carousel-title\">{this.label}</div>}\n <div style={{height: `${this.ghostLoadingHeight}px`}}>\n <z-ghost-loading></z-ghost-loading>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div\n class=\"z-carousel-container\"\n role=\"group\"\n aria-roledescription=\"carousel\"\n aria-label={this.label || \"Carousel\"}\n >\n {this.label && <div class=\"z-carousel-title heading-3-sb\">{this.label}</div>}\n <div class=\"z-carousel-wrapper\">\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"prev\"\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n <ul\n class=\"z-carousel-items-container\"\n aria-atomic=\"false\"\n aria-live=\"polite\"\n ref={(el) => (this.itemsContainer = el)}\n >\n <slot onSlotchange={this.onSlotChange.bind(this)} />\n </ul>\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"next\"\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n </div>\n </div>\n\n {this.canShowFooter() && (\n <div class=\"z-carousel-footer\">\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n )}\n {this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (\n <div class=\"dots-progress\">\n {this.items.map((_, index) => (\n <button\n type=\"button\"\n class={{current: this.highlightedIndicator === index}}\n aria-label={\n this.highlightedIndicator === index ? \"Elemento corrente\" : `Spostati all'elemento ${index + 1}`\n }\n onClick={() => this.goTo(index)}\n />\n ))}\n </div>\n )}\n {this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (\n <div class=\"numbers-progress interactive-1\">\n <span class=\"current\">{this.current + 1}</span>\n <span>di</span>\n <span>{this.items.length}</span>\n </div>\n )}\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n )}\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,a as n,g as s}from"./p-cc3c02fe.js";import{w as a,p as r,D as o}from"./p-025f494e.js";import{g as l}from"./p-955da62e.js";import"./p-2c886e8b.js";const c=':host{color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2)}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container .body-1{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin:calc(var(--space-unit) * 2.5) 0 calc(var(--space-unit) * 4);font-size:calc(var(--space-unit) * 3);font-weight:var(--font-sb)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>.heading-4-sb{display:inline-block;margin:calc(var(--space-unit) * 3) 0;font-size:calc(var(--space-unit) * 2);font-weight:var(--font-sb)}:host([type="dragdrop"])>.container>.files-container>.heading-4-sb{margin-top:0;margin-bottom:calc(var(--space-unit) * 3)}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}:host([type="dragdrop"])>.container>.files-container>z-divider{margin:calc(var(--space-unit) * 3) 0}:host .error-message{font-size:14px;font-weight:400;letter-spacing:0.16%;line-height:20px;text-align:left}:host .error-message>.file-name{font-weight:600}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}:host .modal-wrapper{padding:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){:host .modal-wrapper{padding:calc(var(--space-unit) * 4)}}';const d=c;const h=class{constructor(e){t(this,e);this.fileInput=i(this,"fileInput",7);this.inputAttributes={type:"file",id:"file-elem",multiple:true};this.type=a.DEFAULT;this.buttonVariant=undefined;this.acceptedFormat=undefined;this.fileMaxSize=undefined;this.mainTitle=undefined;this.description=undefined;this.files=[];this.uploadBtnLabel="allega";this.dragAndDropLabel="Rilascia i file in questa area per allegarli.";this.hasFileSection=true;this.invalidFiles=undefined}removeFileListener(t){this.removeFileHandler(t.detail)}fileDroppedListener(t){this.input.files=t.detail;this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility();this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map}fileInputHandler(){if(this.input.files.length){this.invalidFiles=this.checkFiles(Array.from(this.input.files))}}async getFiles(){return this.files}async removeFile(t){this.removeFileHandler(t)}removeFileHandler(t){const i=this.files;const e=i.find((i=>i.name===t));if(e){const t=i.indexOf(e);if(t>=0){i.splice(t,1);this.files=[...i]}}}getType(){if(l()!==r.DESKTOP&&l()!==r.DESKTOP_WIDE){return a.DEFAULT}return this.type}handleAccessibility(){const t=this.el.querySelector("z-file:last-child z-chip button");if(this.files.length>0&&t){t.focus()}else{this.getType()===a.DEFAULT?this.button.querySelector("button").focus():this.uploadLink.focus()}}checkFiles(t){const i=new Map;const e=`supera il limite di ${this.fileMaxSize}MB`;const n=" ha un formato non supportato";t.forEach((t=>{const s=t.size/1024/1024;const a=this.acceptedFormat.split(",").some((i=>t.name.toLowerCase().endsWith(i.trim())));const r=s<=this.fileMaxSize;if(r&&a){if(!this.files.find((i=>i.name===t.name))){this.files.push(t);this.fileInput.emit(t);this.input.value=""}return}i.set(t.name,[]);if(!r){i.get(t.name).push(e)}if(!a){i.get(t.name).push(n)}}));return i}renderTitle(){return e("span",{id:"title"},this.mainTitle)}renderDescription(t){return e("span",{class:t},this.description)}renderAllowedFileExtensions(){let t="";let i="";if(this.acceptedFormat){const i=this.acceptedFormat.split(", ").map((t=>t.substring(1).toUpperCase())).join(", ");t=` nei formati ${i}`}if(this.fileMaxSize){i=` per un massimo di ${this.fileMaxSize}MB di peso`}const n=`Puoi allegare file${t}${i}.`;return e("span",{class:"body-3"},t||i?n:null)}renderFileSection(){if(!this.hasFileSection){return}return e("section",{class:`files-container ${!this.files.length?"hidden":""}`},e("span",{class:"heading-4-sb"},"File appena caricati"),e("div",{class:"files-wrapper"},e("slot",{name:"files"})),e("z-divider",{size:o.MEDIUM}))}renderInput(){return e("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:t=>this.input=t}))}renderUploadButton(){return[this.renderInput(),e("z-button",{onClick:()=>this.input.click(),onKeyPress:t=>{if(t.code=="Space"||t.code=="Enter"){t.preventDefault();this.input.click()}},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:t=>this.button=t},this.uploadBtnLabel)]}renderUploadLink(){return[this.renderInput(),e("span",{class:"body-1 upload-link-text"},"Trascina o"," ",e("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:t=>{if(t.code=="Space"||t.code=="Enter"){t.preventDefault();this.input.click()}},ref:t=>this.uploadLink=t},"carica")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),e("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},e("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(t,i){var n,s;const a=i[0]&&i[1]?" e ":"";return e("span",{class:"error-message"},"Il file ",e("span",{class:"file-name"},t)," ",(n=i[1])!==null&&n!==void 0?n:"",a,(s=i[0])!==null&&s!==void 0?s:"",".")}handleErrorModalContent(){return e("div",{slot:"modalContent"},e("div",{class:"modal-wrapper"},e("div",{class:"files"},Array.from(this.invalidFiles).map((([t,i])=>e("span",{class:"body-3"},this.formatErrorString(t,i)))))))}render(){return e(n,{key:"5164e39fa841c1e236b44ccc647bc4c0167e23ff"},e("div",{key:"498f8b221758f4c9a0577471a3d2193185d559fa",tabIndex:0,class:`container ${this.getType()}`},this.mainTitle&&this.renderTitle(),this.getType()==a.DEFAULT?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&e("z-modal",{key:"7acbcd5147d4f85fbba76b56eb3de8df5a6ba030",modalid:`file-upload-${this.type}-error-modal`,tabIndex:0,ref:t=>this.errorModal=t,modaltitle:"Errore di caricamento",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent()))}get el(){return s(this)}};h.style=d;export{h as z_file_upload};
2
+ //# sourceMappingURL=p-70914d67.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZFileUploadStyle0","ZFileUpload","this","inputAttributes","type","id","multiple","ZFileUploadType","DEFAULT","removeFileListener","e","removeFileHandler","detail","fileDroppedListener","input","files","fileInputHandler","componentDidUpdate","handleAccessibility","invalidFiles","size","errorModal","focus","componentWillLoad","Map","length","checkFiles","Array","from","getFiles","removeFile","fileName","file","find","name","index","indexOf","splice","getType","getDevice","Device","DESKTOP","DESKTOP_WIDE","lastFile","el","querySelector","button","uploadLink","errors","sizeErrorString","fileMaxSize","formatErrorString","forEach","fileSize","fileFormatOk","acceptedFormat","split","some","ext","toLowerCase","endsWith","trim","fileSizeOk","f","push","fileInput","emit","value","set","get","renderTitle","h","mainTitle","renderDescription","cssClass","class","description","renderAllowedFileExtensions","fileFormatString","fileWeightString","fileFormat","map","string","substring","toUpperCase","join","finalString","renderFileSection","hasFileSection","DividerSize","MEDIUM","renderInput","Object","assign","onChange","accept","ref","val","renderUploadButton","onClick","click","onKeyPress","code","preventDefault","variant","buttonVariant","icon","uploadBtnLabel","renderUploadLink","tabIndex","renderDefaultMode","renderDragDropMode","dragAndDropLabel","key","bothErrors","_a","_b","handleErrorModalContent","slot","render","Host","modalid","modaltitle","onModalClose","onModalBackgroundClick"],"sources":["src/components/file-upload/z-file-upload/styles.css?tag=z-file-upload&encapsulation=shadow","src/components/file-upload/z-file-upload/index.tsx"],"sourcesContent":[":host {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > .container {\n display: flex;\n flex-direction: column;\n}\n\n:host .modal-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 2);\n}\n\n:host .modal-wrapper > .files-wrapper {\n display: flex;\n flex-direction: column;\n margin: calc(var(--space-unit) * 4);\n gap: var(--space-unit);\n}\n\n:host .text-container {\n display: flex;\n flex-direction: column;\n margin: auto;\n}\n\n:host .text-container .body-1 {\n text-align: center;\n}\n\n:host .text-container .upload-link {\n color: var(--color-link-primary);\n cursor: pointer;\n}\n\n:host .text-container .upload-link-text {\n margin-bottom: var(--space-unit);\n}\n\ninput#file-elem {\n display: none;\n}\n\n#title {\n display: inline-block;\n margin: calc(var(--space-unit) * 2.5) 0 calc(var(--space-unit) * 4);\n font-size: calc(var(--space-unit) * 3);\n font-weight: var(--font-sb);\n}\n\n:host > .container > z-button {\n display: inline-block;\n margin-top: calc(var(--space-unit) * 3);\n}\n\n:host > .container > .files-container.hidden {\n display: none;\n}\n\n:host > .container > .files-container > .heading-4-sb {\n display: inline-block;\n margin: calc(var(--space-unit) * 3) 0;\n font-size: calc(var(--space-unit) * 2);\n font-weight: var(--font-sb);\n}\n\n:host([type=\"dragdrop\"]) > .container > .files-container > .heading-4-sb {\n margin-top: 0;\n margin-bottom: calc(var(--space-unit) * 3);\n}\n\n:host > .container > .files-container > .files-wrapper {\n display: flex;\n flex-wrap: wrap;\n column-gap: calc(var(--space-unit) * 2);\n row-gap: calc(var(--space-unit) * 2);\n}\n\n:host > .container > .files-container > z-divider {\n margin-top: calc(var(--space-unit) * 3);\n margin-bottom: 0;\n}\n\n:host([type=\"dragdrop\"]) > .container > .files-container > z-divider {\n margin: calc(var(--space-unit) * 3) 0;\n}\n\n:host .error-message {\n font-size: 14px;\n font-weight: 400;\n letter-spacing: 0.16%;\n line-height: 20px;\n text-align: left;\n}\n\n:host .error-message > .file-name {\n font-weight: 600;\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n :host > .container > z-button {\n align-self: flex-start;\n }\n\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 3);\n }\n}\n\n@media only screen and (min-width: 1152px) {\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 4);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {ButtonVariant, Device, DividerSize, ZFileUploadType} from \"../../../beans\";\nimport {getDevice} from \"../../../utils/utils\";\n\n@Component({\n tag: \"z-file-upload\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZFileUpload {\n /** Prop indicating the file upload type - can be default or dragdrop */\n @Prop({reflect: true})\n type: ZFileUploadType = ZFileUploadType.DEFAULT;\n\n /** Prop indicating the button variant*/\n @Prop()\n buttonVariant?: ButtonVariant;\n\n /** Prop indicating the accepted file type: ex \".pdf, .doc, .jpg\" */\n @Prop()\n acceptedFormat?: string;\n\n /** Max file dimension in Megabyte */\n @Prop()\n fileMaxSize?: number;\n\n /** Title */\n @Prop()\n mainTitle?: string;\n\n /** Description */\n @Prop()\n description?: string;\n\n /** Files added by the user */\n @State()\n files: File[] = [];\n\n /** upoload button label */\n @Prop()\n uploadBtnLabel?: string = \"allega\";\n\n /** drag & drop button label */\n @Prop()\n dragAndDropLabel?: string = \"Rilascia i file in questa area per allegarli.\";\n\n /** uploaded files history rendering */\n @Prop()\n hasFileSection?: boolean = true;\n\n /** List of files not allowed to be uploaded */\n @State()\n invalidFiles: Map<string, string[]>;\n\n @Element() el: HTMLZFileUploadElement;\n\n private input: HTMLInputElement;\n\n private button: HTMLZButtonElement;\n\n private errorModal: HTMLZModalElement;\n\n private uploadLink: HTMLSpanElement;\n\n private inputAttributes = {\n type: \"file\",\n id: \"file-elem\",\n multiple: true,\n };\n\n /** Listen removeFile event sent from z-file component */\n @Listen(\"removeFile\")\n removeFileListener(e: CustomEvent): void {\n this.removeFileHandler(e.detail);\n }\n\n /** Listen fileDropped event sent from z-dragdrop-area component */\n @Listen(\"fileDropped\")\n fileDroppedListener(e: CustomEvent): void {\n this.input.files = e.detail;\n this.fileInputHandler();\n }\n\n componentDidUpdate(): void {\n this.handleAccessibility();\n this.invalidFiles.size && this.errorModal.focus();\n }\n\n componentWillLoad(): void {\n this.invalidFiles = new Map<string, string[]>();\n }\n\n /** Emitted when user select one or more files */\n @Event()\n fileInput: EventEmitter;\n\n private fileInputHandler(): void {\n if (this.input.files.length) {\n this.invalidFiles = this.checkFiles(Array.from(this.input.files));\n }\n }\n\n /** get array of uploaded files */\n @Method()\n async getFiles(): Promise<File[]> {\n return this.files;\n }\n\n /** remove file from the array */\n @Method()\n async removeFile(fileName: string): Promise<void> {\n this.removeFileHandler(fileName);\n }\n\n private removeFileHandler(fileName: string): void {\n const files = this.files;\n const file = files.find((file) => file.name === fileName);\n if (file) {\n const index = files.indexOf(file);\n if (index >= 0) {\n files.splice(index, 1);\n this.files = [...files];\n }\n }\n }\n\n private getType(): ZFileUploadType {\n if (getDevice() !== Device.DESKTOP && getDevice() !== Device.DESKTOP_WIDE) {\n return ZFileUploadType.DEFAULT;\n }\n\n return this.type;\n }\n\n private handleAccessibility(): void {\n const lastFile = this.el.querySelector(\"z-file:last-child z-chip button\");\n if (this.files.length > 0 && lastFile) {\n (lastFile as HTMLElement).focus();\n } else {\n this.getType() === ZFileUploadType.DEFAULT\n ? this.button.querySelector(\"button\").focus()\n : this.uploadLink.focus();\n }\n }\n\n private checkFiles(files: File[]): Map<string, string[]> {\n const errors = new Map<string, string[]>();\n const sizeErrorString = `supera il limite di ${this.fileMaxSize}MB`;\n const formatErrorString = \" ha un formato non supportato\";\n files.forEach((file: File) => {\n const fileSize = file.size / 1024 / 1024;\n const fileFormatOk = this.acceptedFormat\n .split(\",\")\n .some((ext: string) => file.name.toLowerCase().endsWith(ext.trim()));\n const fileSizeOk = fileSize <= this.fileMaxSize;\n if (fileSizeOk && fileFormatOk) {\n if (!this.files.find((f) => f.name === file.name)) {\n this.files.push(file);\n this.fileInput.emit(file);\n this.input.value = \"\";\n }\n\n return;\n }\n errors.set(file.name, []);\n if (!fileSizeOk) {\n errors.get(file.name).push(sizeErrorString);\n }\n if (!fileFormatOk) {\n errors.get(file.name).push(formatErrorString);\n }\n });\n\n return errors;\n }\n\n private renderTitle(): HTMLElement {\n return <span id=\"title\">{this.mainTitle}</span>;\n }\n\n private renderDescription(cssClass): HTMLElement {\n return <span class={cssClass}>{this.description}</span>;\n }\n\n private renderAllowedFileExtensions(): HTMLElement {\n let fileFormatString = \"\";\n let fileWeightString = \"\";\n\n if (this.acceptedFormat) {\n const fileFormat = this.acceptedFormat\n .split(\", \")\n .map((string) => string.substring(1).toUpperCase())\n .join(\", \");\n fileFormatString = ` nei formati ${fileFormat}`;\n }\n\n if (this.fileMaxSize) {\n fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;\n }\n\n const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;\n\n return <span class=\"body-3\">{fileFormatString || fileWeightString ? finalString : null}</span>;\n }\n\n private renderFileSection(): HTMLElement {\n if (!this.hasFileSection) {\n return;\n }\n\n return (\n <section class={`files-container ${!this.files.length ? \"hidden\" : \"\"}`}>\n <span class=\"heading-4-sb\">File appena caricati</span>\n <div class=\"files-wrapper\">\n <slot name=\"files\" />\n </div>\n <z-divider size={DividerSize.MEDIUM} />\n </section>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n {...this.inputAttributes}\n onChange={() => this.fileInputHandler()}\n accept={this.acceptedFormat}\n ref={(val) => (this.input = val)}\n />\n );\n }\n\n private renderUploadButton(): unknown[] {\n return [\n this.renderInput(),\n <z-button\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n id=\"fileSelect\"\n variant={this.buttonVariant}\n icon=\"upload\"\n ref={(val) => (this.button = val)}\n >\n {this.uploadBtnLabel}\n </z-button>,\n ];\n }\n\n private renderUploadLink(): unknown[] {\n return [\n this.renderInput(),\n <span class=\"body-1 upload-link-text\">\n Trascina o{\" \"}\n <span\n tabIndex={0}\n class=\"body-1-sb upload-link\"\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n ref={(val) => (this.uploadLink = val)}\n >\n carica\n </span>{\" \"}\n dal tuo computer\n </span>,\n ];\n }\n\n private renderDefaultMode(): unknown[] {\n return [\n this.renderDescription(\"body-3-sb\"),\n this.renderAllowedFileExtensions(),\n this.renderFileSection(),\n this.renderUploadButton(),\n ];\n }\n\n private renderDragDropMode(): unknown[] {\n return [\n this.renderFileSection(),\n <z-dragdrop-area drag-and-drop-label={this.dragAndDropLabel}>\n <div class=\"text-container\">\n {this.renderDescription(\"body-1\")}\n {this.renderUploadLink()}\n {this.renderAllowedFileExtensions()}\n </div>\n </z-dragdrop-area>,\n ];\n }\n\n private formatErrorString(key, value): string {\n const bothErrors = value[0] && value[1] ? \" e \" : \"\";\n\n return (\n <span class=\"error-message\">\n Il file <span class=\"file-name\">{key}</span> {value[1] ?? \"\"}\n {bothErrors}\n {value[0] ?? \"\"}.\n </span>\n );\n }\n\n private handleErrorModalContent(): HTMLDivElement {\n return (\n <div slot=\"modalContent\">\n <div class=\"modal-wrapper\">\n <div class=\"files\">\n {Array.from(this.invalidFiles).map(([key, value]) => {\n return <span class=\"body-3\">{this.formatErrorString(key, value)}</span>;\n })}\n </div>\n </div>\n </div>\n );\n }\n\n render(): HTMLZFileUploadElement {\n return (\n <Host>\n <div\n tabIndex={0}\n class={`container ${this.getType()}`}\n >\n {this.mainTitle && this.renderTitle()}\n {this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()}\n </div>\n {!!this.invalidFiles.size && (\n <z-modal\n modalid={`file-upload-${this.type}-error-modal`}\n tabIndex={0}\n ref={(val) => (this.errorModal = val)}\n modaltitle=\"Errore di caricamento\"\n onModalClose={() => (this.invalidFiles = new Map<string, string[]>())}\n onModalBackgroundClick={() => (this.invalidFiles = new Map<string, string[]>())}\n >\n {this.handleErrorModalContent()}\n </z-modal>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as r,a as c}from"./p-cc3c02fe.js";const s=":host{display:block;box-sizing:border-box;border-top:1px solid var(--color-surface03);border-bottom:1px solid var(--color-surface03)}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}";const e=s;const t=class{constructor(r){o(this,r);this.sticky=false}render(){return r(c,{key:"c56c6c8f9f3eda99f7eaed147ef2df8c99d43cda",role:"rowgroup"},r("slot",{key:"03eeb74397f395723a8a649bb7213ac9fdbcf4f0"}))}};t.style=e;export{t as Z};
2
+ //# sourceMappingURL=p-737293b2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZTfootStyle0","ZTfoot","render","h","Host","key","role"],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,mOAClB,MAAAC,EAAeD,E,MCUFE,EAAM,M,qCAKR,K,CAET,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as o}from"./p-cc3c02fe.js";const r=":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}";const a=r;const t=class{constructor(o){e(this,o)}render(){return o("div",{key:"c293773e2f737912b63345f9524e03a374f0c536"},o("footer",{key:"1a8148b580eef438c1a68d5a134bf3b224846946"},o("div",{key:"49863a18b930dcd3edb2a049c9e77c858be1dc76",class:"top"},o("slot",{key:"00bdadaa655b1018e42ed72fefd4d21b1a0529fb",name:"top"})),o("div",{key:"24e4dfb5e2eaac5ef6c61dd2303e9cd9e8832b68",class:"bottom"},o("slot",{key:"b8791e5c065a9ce4b4701444c137295123f99d3d",name:"bottom"}))))}};t.style=a;export{t as z_myz_card_footer_sections};
2
+ //# sourceMappingURL=p-7cba8558.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMyzCardFooterSectionsStyle0","ZMyzCardFooterSections","render","h","key","class","name"],"sources":["src/snowflakes/myz/card/z-myz-card-footer-sections/styles.css?tag=z-myz-card-footer-sections&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-footer-sections/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div > footer {\n height: 128px;\n box-sizing: border-box;\n padding: var(--space-unit) calc(var(--space-unit) * 2) 0;\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-radius: 0 0 var(--border-radius) var(--border-radius);\n color: var(--color-surface05);\n font-size: 16px;\n line-height: 24px;\n}\n\n:host > div > footer > div.top,\n:host > div > footer > div.bottom {\n height: 60px;\n}\n","import {Component, h} from \"@stencil/core\";\n\n/**\n * @slot top - footer top content\n * @slot bottom - footer bottom content\n */\n@Component({\n tag: \"z-myz-card-footer-sections\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardFooterSections {\n render(): HTMLDivElement {\n return (\n <div>\n <footer>\n <div class=\"top\">\n <slot name=\"top\" />\n </div>\n <div class=\"bottom\">\n <slot name=\"bottom\" />\n </div>\n </footer>\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAY,gbAClB,MAAAC,EAAeD,E,MCUFE,EAAsB,M,yBACjC,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,4CACED,EAAA,UAAAC,IAAA,4CACED,EAAA,OAAAC,IAAA,2CAAKC,MAAM,OACTF,EAAA,QAAAC,IAAA,2CAAME,KAAK,SAEbH,EAAA,OAAAC,IAAA,2CAAKC,MAAM,UACTF,EAAA,QAAAC,IAAA,2CAAME,KAAK,a","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as n,a,g as i}from"./p-cc3c02fe.js";const o=':host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column;--z-menu-label-color:var(--color-default-text)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:"";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-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%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active){border-color:var(--color-secondary01);font-weight:var(--font-bd)}';const s=o;const l=class{toggle(){if(!this.hasContent){return}this.open=!this.open;this.open?this.opened.emit():this.closed.emit()}handleClick(t){if(!this.floating||!this.open||this.hostElement.contains(t.target)){return}this.reflow();this.open=false;this.closed.emit()}onOpenChanged(){if(this.open){this.reflow(true)}else{cancelAnimationFrame(this.raf)}}constructor(n){t(this,n);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.floating=false;this.open=false;this.verticalContext=false;this.hasHeader=undefined;this.hasContent=undefined;this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onItemsChange=this.onItemsChange.bind(this)}componentWillLoad(){this.checkContent()}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=e===null||e===void 0?void 0:e.textContent}reflow(t=false){if(this.content){const{style:t}=this.content;const{left:e}=this.hostElement.getBoundingClientRect();const n=getComputedStyle(this.content).width;const a=n?parseFloat(n.replace("px","")):375;const i=30;t.left=`${Math.min(window.innerWidth-e-a-i,0)}px`}if(t){this.raf=requestAnimationFrame(this.reflow.bind(this,t))}}checkContent(){this.hasHeader=!!this.hostElement.querySelectorAll("[slot=header]").length;this.hasContent=!!this.hostElement.querySelectorAll("[slot=item]").length||this.hasHeader}onItemsChange(){this.checkContent();const t=this.hostElement.querySelectorAll("[slot=item]");t.forEach((t=>{t.setAttribute("role","menuitem");t.dataset.text=t.textContent}))}renderMenuLabel(){if(this.hasContent){return n("button",{class:"menu-label","aria-expanded":this.open?"true":"false","aria-label":this.open?"Chiudi menù":"Apri menù",onClick:this.toggle},n("div",{class:"menu-label-content"},n("slot",{onSlotchange:this.onLabelSlotChange}),n("z-icon",{name:this.open?"chevron-up":"chevron-down"})))}return n("div",{class:"menu-label"},n("div",{class:"menu-label-content"},n("slot",{onSlotchange:this.onLabelSlotChange})))}render(){return n(a,{key:"675f13eb3d814743037d5e791afd82d8737ba57d"},this.renderMenuLabel(),this.hasContent&&n("div",{key:"50ef2a4dbf031fa211bc818b7704d46acbe63446",class:"content",ref:t=>this.content=t},this.hasHeader&&n("header",{key:"9ed7520b00334a598c7664e0ccb1c4f8bfe3b858",class:"header"},n("slot",{key:"6a41d2d5802d54bf192fd7f03586df1c933a7877",name:"header",onSlotchange:this.checkContent})),n("div",{key:"7aa4c1c061559caac915866d1ae2acfe02dc3a8a",class:"items",role:"menu"},n("slot",{key:"8494b984ad295b61d2cad61a25571220e74b8dff",name:"item",onSlotchange:this.onItemsChange}))))}get hostElement(){return i(this)}static get watchers(){return{open:["onOpenChanged"]}}};l.style=s;export{l as z_menu};
2
+ //# sourceMappingURL=p-7ce64686.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMenuStyle0","ZMenu","toggle","this","hasContent","open","opened","emit","closed","handleClick","ev","floating","hostElement","contains","target","reflow","onOpenChanged","cancelAnimationFrame","raf","constructor","hostRef","bind","checkContent","onLabelSlotChange","onItemsChange","componentWillLoad","labelElement","assignedElements","dataset","text","textContent","live","content","style","left","getBoundingClientRect","widthPx","getComputedStyle","width","parseFloat","replace","safeScrollbarSpace","Math","min","window","innerWidth","requestAnimationFrame","hasHeader","querySelectorAll","length","items","forEach","item","setAttribute","renderMenuLabel","h","class","onClick","onSlotchange","name","render","Host","key","ref","el","role"],"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}\n\n:host {\n position: relative;\n display: inline-flex;\n flex-direction: column;\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 padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n outline: none;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n z-index: 1;\n padding-right: calc(var(--space-unit) * 0.5);\n padding-left: calc(var(--space-unit) * 0.5);\n margin-right: calc(var(--space-unit) * -0.5);\n margin-left: calc(var(--space-unit) * -0.5);\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*) {\n letter-spacing: normal;\n}\n\n:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible) {\n box-shadow: none !important;\n}\n\n/* border */\n:host(:is([active], [open], [vertical-context])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n content: \"\";\n pointer-events: none;\n}\n\n:host([vertical-context]) .menu-label-content::after {\n height: var(--border-size-small);\n background-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content::after,\n.menu-label .menu-label-content:hover::after,\n.menu-label:focus-within .menu-label-content::after {\n height: var(--border-size-large);\n background-color: var(--color-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 margin: 0;\n appearance: none;\n color: var(--z-menu-label-color);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-5);\n font-weight: inherit;\n letter-spacing: 0.36px; /* increasing the letter spacing of the regular text helps reduce the size difference between regular and bold text */\n line-height: 1.2;\n outline: none;\n}\n\n.menu-label .menu-label-content ::slotted(*),\n.menu-label .menu-label-content z-icon {\n padding: var(--space-unit) 0;\n}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active) {\n border-color: var(--color-secondary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.\n * @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? = false;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n private content: HTMLElement;\n\n /** Animation frame request id. */\n private raf: number;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n 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 @Watch(\"open\")\n onOpenChanged(): void {\n if (this.open) {\n this.reflow(true);\n } else {\n cancelAnimationFrame(this.raf);\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content) {\n const {style} = this.content;\n const {left} = this.hostElement.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.hostElement.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.hostElement.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items.\n * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).\n */\n private onItemsChange(): void {\n this.checkContent();\n const items = this.hostElement.querySelectorAll<HTMLElement>(\"[slot=item]\");\n items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.dataset.text = item.textContent;\n });\n }\n\n private renderMenuLabel(): HTMLButtonElement | HTMLDivElement {\n if (this.hasContent) {\n return (\n <button\n class=\"menu-label\"\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n onClick={this.toggle}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n );\n }\n\n return (\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n </div>\n </div>\n );\n }\n\n render(): HTMLZMenuElement {\n return (\n <Host>\n {this.renderMenuLabel()}\n\n {this.hasContent && (\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n ></slot>\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n ></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as r,a as e}from"./p-cc3c02fe.js";import{u as t}from"./p-025f494e.js";const s=class{constructor(r){a(this,r);this.mode=t.POLITE}render(){return r(e,{key:"3dc09efdfb273cbb3700c75f6e83112d6d158fb0","aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},r("slot",{key:"109c1e5fa0fa0bd7fa990c7fdb23c0f65dd6811e"}))}};export{s as z_aria_alert};
2
+ //# sourceMappingURL=p-7da88300.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ZAriaAlert","ZAriaAlertMode","POLITE","render","h","Host","key","this","mode"],"sources":["src/components/z-aria-alert/index.tsx"],"sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {ZAriaAlertMode} from \"../../beans\";\n\n@Component({\n tag: \"z-aria-alert\",\n shadow: false,\n})\nexport class ZAriaAlert {\n /** Aria live mode */\n @Prop()\n mode: ZAriaAlertMode = ZAriaAlertMode.POLITE;\n\n render(): HTMLZAriaAlertElement {\n return (\n <Host\n aria-live={this.mode}\n aria-atomic=\"true\"\n aria-relevant=\"additions\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"4FAOaA,EAAU,M,mCAGEC,EAAeC,M,CAEtC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,uDACQC,KAAKC,KAAI,cACR,OAAM,gBACJ,aAEdJ,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as a}from"./p-cc3c02fe.js";const n=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";const i=n;const t=class{constructor(a){e(this,a);this.elemid=undefined;this.imgurl=undefined;this.imgalt=undefined;this.linkicon=undefined;this.linklabel=undefined;this.url=undefined;this.target="_blank";this.isdisabled=false;this.descrSlotName=undefined}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"bbae0bd29656529b2019a66668d6dfbf66b9b0a1",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"620411ca326a5975d3cc21549cfc51a7d7eea519","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"79a77af32280e5f1e58f794f07c1365da1fa30a7",src:this.imgurl,alt:this.imgalt})),a("div",{key:"67ad3e575caab6d93bf8d0a17de138ae59fffb35",class:"panel-elem-link"},a("a",{key:"f79f44642cbceefd484bbe63e4af6ea03d197fec",class:{"z-link":true,"z-link-disabled":this.isdisabled,"z-link-icon":true},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"0f112223c94273b9baa33da513c60a51dba33e7b",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"4ae5da7e8a2a92be4c801790a90b6907e7ffe6b3",class:"panel-elem-desc"},a("slot",{key:"4c4e6872a2fe1cb443002a004b5aa1ce18a8f96f",name:this.descrSlotName})))}};t.style=i;export{t as z_panel_elem};
2
+ //# sourceMappingURL=p-810433b1.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZPanelElemStyle0","ZPanelElem","render","elemId","this","elemid","h","key","class","imgurl","imgalt","src","alt","isdisabled","id","href","url","target","height","width","name","linkicon","linklabel","descrSlotName"],"sources":["src/components/z-panel-elem/styles.css?tag=z-panel-elem&encapsulation=scoped","src/components/z-panel-elem/index.tsx"],"sourcesContent":[":host {\n width: inherit;\n font-family: var(--font-family sans);\n font-weight: var(--font-rg);\n}\n\n.panel-elem-container {\n width: 100%;\n}\n\n.panel-elem-icon {\n margin: auto calc(var(--space-unit) * 3);\n}\n\n.panel-elem-icon img {\n display: block;\n max-width: 96px;\n height: 32px;\n margin: auto;\n object-fit: contain;\n}\n\n.panel-elem-link {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: var(--space-unit) auto 0;\n border-radius: var(--border-no-radius);\n font-size: 12px;\n}\n\n.panel-elem-link > a.z-link {\n padding: calc(var(--space-unit) * 0.5) 0;\n font-weight: var(--font-sb);\n}\n\n.panel-elem-desc {\n padding-top: var(--space-unit);\n margin: 0;\n letter-spacing: 0.16px;\n text-align: center;\n}\n\na > z-icon {\n margin-right: var(--space-unit);\n}\n","import {Component, Prop, h} from \"@stencil/core\";\n\n/**\n * @slot `descrSlotName` - description content\n */\n@Component({\n tag: \"z-panel-elem\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZPanelElem {\n /** html element id (optional) */\n @Prop()\n elemid?: string;\n\n /** image url source (optional) */\n @Prop()\n imgurl?: string;\n\n /** alternative image text (optional) */\n @Prop()\n imgalt?: string;\n\n /** icon link name (optional) */\n @Prop()\n linkicon?: string;\n\n /** link label text*/\n @Prop()\n linklabel: string;\n\n /** link url */\n @Prop()\n url: string;\n\n /** link target (optional) */\n @Prop()\n target?: string = \"_blank\";\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** name of slot container (optional) */\n @Prop()\n descrSlotName?: string;\n\n render(): HTMLDivElement {\n const elemId = this.elemid ? this.elemid : \"\";\n\n return (\n <div class=\"panel-elem-container\">\n {(this.imgurl || this.imgalt) && (\n <div\n aria-hidden=\"true\"\n class=\"panel-elem-icon\"\n >\n <img\n src={this.imgurl}\n alt={this.imgalt}\n />\n </div>\n )}\n <div class=\"panel-elem-link\">\n <a\n class={{\n \"z-link\": true,\n \"z-link-disabled\": this.isdisabled,\n \"z-link-icon\": true,\n }}\n id={elemId + \"link_id\"}\n href={this.url}\n target={this.target}\n >\n <z-icon\n height={14}\n width={14}\n name={this.linkicon}\n ></z-icon>\n {this.linklabel}\n </a>\n </div>\n {this.descrSlotName && (\n <div class=\"panel-elem-desc\">\n <slot name={this.descrSlotName} />\n </div>\n )}\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAY,4zBAClB,MAAAC,EAAeD,E,MCUFE,EAAU,M,2KA2BH,S,gBAIK,M,6BAMvB,MAAAC,GACE,MAAMC,EAASC,KAAKC,OAASD,KAAKC,OAAS,GAE3C,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,yBACPJ,KAAKK,QAAUL,KAAKM,SACpBJ,EAAA,OAAAC,IAAA,yDACc,OACZC,MAAM,mBAENF,EAAA,OAAAC,IAAA,2CACEI,IAAKP,KAAKK,OACVG,IAAKR,KAAKM,UAIhBJ,EAAA,OAAAC,IAAA,2CAAKC,MAAM,mBACTF,EAAA,KAAAC,IAAA,2CACEC,MAAO,CACL,SAAU,KACV,kBAAmBJ,KAAKS,WACxB,cAAe,MAEjBC,GAAIX,EAAS,UACbY,KAAMX,KAAKY,IACXC,OAAQb,KAAKa,QAEbX,EAAA,UAAAC,IAAA,2CACEW,OAAQ,GACRC,MAAO,GACPC,KAAMhB,KAAKiB,WAEZjB,KAAKkB,YAGTlB,KAAKmB,eACJjB,EAAA,OAAAC,IAAA,2CAAKC,MAAM,mBACTF,EAAA,QAAAC,IAAA,2CAAMa,KAAMhB,KAAKmB,iB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as a,a as n,g as t}from"./p-cc3c02fe.js";import{B as i}from"./p-025f494e.js";const r="html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-default-text);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out,\n border-color 0.3s ease-in-out,\n color 0.3s ease-in-out}z-anchor-navigation nav>[data-current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav>*:focus:focus-visible,z-anchor-navigation nav>*>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav>*>:is(z-button,button){opacity:0;pointer-events:none}@media (hover: hover){z-anchor-navigation nav>:is([data-current],:hover,:focus,:focus-within)>:is(z-button,button){opacity:1;pointer-events:unset}z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation[hide-unselected] nav>*:not([data-current],:hover,:focus,:focus-within){color:transparent;fill:transparent}}";const e=r;const c=class{constructor(a){o(this,a);this.hideUnselected=false;this.autoCurrent=true;this.collapsed=false}setCurrent(){const o=Array.from(this.nav.querySelectorAll("a")).find((o=>o.href===this.host.ownerDocument.location.href));Array.from(this.nav.children).forEach((a=>{const n=a instanceof HTMLAnchorElement?a:a.querySelector("a");const t=n===o;n.setAttribute("aria-current",t.toString());a.toggleAttribute("data-current",t)}))}toggleCollapsed(){this.collapsed=!this.collapsed}componentDidLoad(){if(this.autoCurrent){window.addEventListener("hashchange",this.setCurrent.bind(this));this.setCurrent()}}disconnectedCallback(){window.removeEventListener("hashchange",this.setCurrent)}render(){return a(n,{key:"6869675f35b8ca58e36058d10ed89301d2b49034",collapsed:this.collapsed},a("z-button",{key:"d6bacaf89ac6731dacb2250793c7ffba4a43a989",class:"toggle",variant:i.SECONDARY,icon:this.collapsed?"chevron-up":"chevron-down",onClick:this.toggleCollapsed.bind(this)},"salta a"),a("nav",{key:"0c308debc3e444015e1c8733af628d0b7a5d8b6e",ref:o=>this.nav=o},a("slot",{key:"02b49c5a23db78d839ba6320f1cbbd770cfa6d3f"})))}get host(){return t(this)}};c.style=e;export{c as z_anchor_navigation};
2
+ //# sourceMappingURL=p-8164f039.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZAnchorNavigationStyle0","ZAnchorNavigation","setCurrent","currentElement","Array","from","this","nav","querySelectorAll","find","anchor","href","host","ownerDocument","location","children","forEach","item","HTMLAnchorElement","querySelector","isCurrent","setAttribute","toString","toggleAttribute","toggleCollapsed","collapsed","componentDidLoad","autoCurrent","window","addEventListener","bind","disconnectedCallback","removeEventListener","render","h","Host","key","class","variant","ButtonVariant","SECONDARY","icon","onClick","ref","el"],"sources":["src/components/z-anchor-navigation/styles.css?tag=z-anchor-navigation","src/components/z-anchor-navigation/index.tsx"],"sourcesContent":["html {\n scroll-behavior: smooth;\n}\n\nz-anchor-navigation nav {\n display: none;\n flex-direction: column;\n justify-content: flex-start;\n row-gap: calc(var(--space-unit) / 2);\n}\n\nz-anchor-navigation[collapsed] nav {\n display: flex;\n margin-top: var(--space-unit);\n}\n\nz-anchor-navigation nav a {\n display: -webkit-box;\n overflow: clip;\n width: 100%;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);\n -webkit-box-orient: vertical;\n color: inherit;\n font-weight: inherit;\n -webkit-line-clamp: 2;\n overflow-clip-margin: content-box;\n text-decoration: none;\n}\n\nz-anchor-navigation nav * a:not(:only-child) {\n padding-right: calc(var(--space-unit) * 5);\n}\n\n@supports not (overflow-clip-margin: content-box) {\n z-anchor-navigation nav a {\n display: inline-block;\n overflow: hidden;\n -webkit-line-clamp: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n\nz-anchor-navigation nav > * {\n position: relative;\n border-left: var(--border-size-large) solid var(--color-surface04);\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n transition:\n background-color 0.3s ease-in-out,\n border-color 0.3s ease-in-out,\n color 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav > [data-current] {\n border-left-color: var(--color-primary01);\n color: var(--color-link-primary);\n font-weight: var(--font-sb);\n}\n\nz-anchor-navigation nav > * > *:is(z-button, button) {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n transition: opacity 0.3s ease-in-out;\n}\n\nz-anchor-navigation nav > *:focus:focus-visible,\nz-anchor-navigation nav > * > *:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\nz-anchor-navigation nav button {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\n@media (min-width: 768px) {\n z-anchor-navigation z-button.toggle {\n display: none !important;\n }\n\n z-anchor-navigation nav {\n display: flex;\n }\n\n /* hide anchor actions by default... */\n z-anchor-navigation nav > * > :is(z-button, button) {\n opacity: 0;\n pointer-events: none;\n }\n\n @media (hover: hover) {\n /* ...show them only hovering/focusing the anchor */\n z-anchor-navigation nav > :is([data-current], :hover, :focus, :focus-within) > :is(z-button, button) {\n opacity: 1;\n pointer-events: unset;\n }\n\n z-anchor-navigation nav > *:hover {\n border-left-color: var(--color-hover-secondary);\n background-color: var(--color-hover-surface);\n color: var(--color-hover-link);\n }\n }\n\n z-anchor-navigation[hide-unselected] nav > *:not([data-current], :hover, :focus, :focus-within) {\n color: transparent;\n fill: transparent;\n }\n}\n","import {Component, Element, h, Host, Prop, State} from \"@stencil/core\";\nimport {ButtonVariant} from \"../../beans\";\n\n/**\n * Anchor navigation component.\n * @slot - Anchor navigation items. Use `<a>` elements inside. If you need an extra action element, use a wrapper around it and the anchor.\n * @example\n * ```\n * <z-anchor-navigation>\n * <div>\n * <a href=\"#section-id\">Section name</a>\n * <button type=\"button\">\n * <z-icon name=\"share\" />\n * </button>\n * </div>\n * </z-anchor-navigation>\n * ```\n */\n@Component({\n tag: \"z-anchor-navigation\",\n styleUrl: \"styles.css\",\n shadow: false,\n})\nexport class ZAnchorNavigation {\n /**\n * If enabled, the text of each anchor will be hidden unless\n * for the current one or the one the user is hovering.\n */\n @Prop({reflect: true})\n hideUnselected = false;\n\n /**\n * Enables automatic inference of the current item, listening for hash change\n * and checking the `href` of the slotted anchors.\n * When disabled, the highlight of current item must be handled manually by setting the `data-current`\n * attribute to the correct slotted items and the `aria-current` attribute to the anchors.\n */\n @Prop()\n autoCurrent = true;\n\n /**\n * Whether the mobile list is collapsed.\n */\n @State()\n collapsed = false;\n\n @Element() host: HTMLZAnchorNavigationElement;\n\n /** Reference to the nav element. */\n private nav: HTMLElement;\n\n /**\n * Set `aria-current` attribute to the anchors.\n */\n private setCurrent(): void {\n const currentElement = Array.from(this.nav.querySelectorAll(\"a\")).find(\n (anchor) => anchor.href === this.host.ownerDocument.location.href\n );\n Array.from(this.nav.children).forEach((item) => {\n const anchor = item instanceof HTMLAnchorElement ? item : item.querySelector(\"a\");\n const isCurrent = anchor === currentElement;\n anchor.setAttribute(\"aria-current\", isCurrent.toString());\n item.toggleAttribute(\"data-current\", isCurrent);\n });\n }\n\n /**\n * Toggle collapsed state.\n */\n private toggleCollapsed(): void {\n this.collapsed = !this.collapsed;\n }\n\n componentDidLoad(): void {\n if (this.autoCurrent) {\n window.addEventListener(\"hashchange\", this.setCurrent.bind(this));\n this.setCurrent();\n }\n }\n\n disconnectedCallback(): void {\n window.removeEventListener(\"hashchange\", this.setCurrent);\n }\n\n render(): HTMLZAnchorNavigationElement {\n return (\n <Host collapsed={this.collapsed}>\n <z-button\n class=\"toggle\"\n variant={ButtonVariant.SECONDARY}\n icon={this.collapsed ? \"chevron-up\" : \"chevron-down\"}\n onClick={this.toggleCollapsed.bind(this)}\n >\n salta a\n </z-button>\n <nav ref={(el) => (this.nav = el)}>\n <slot></slot>\n </nav>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAY,qrEAClB,MAAAC,EAAeD,E,MCsBFE,EAAiB,M,6CAMX,M,iBASH,K,eAMF,K,CAUJ,UAAAC,GACN,MAAMC,EAAiBC,MAAMC,KAAKC,KAAKC,IAAIC,iBAAiB,MAAMC,MAC/DC,GAAWA,EAAOC,OAASL,KAAKM,KAAKC,cAAcC,SAASH,OAE/DP,MAAMC,KAAKC,KAAKC,IAAIQ,UAAUC,SAASC,IACrC,MAAMP,EAASO,aAAgBC,kBAAoBD,EAAOA,EAAKE,cAAc,KAC7E,MAAMC,EAAYV,IAAWP,EAC7BO,EAAOW,aAAa,eAAgBD,EAAUE,YAC9CL,EAAKM,gBAAgB,eAAgBH,EAAU,G,CAO3C,eAAAI,GACNlB,KAAKmB,WAAanB,KAAKmB,S,CAGzB,gBAAAC,GACE,GAAIpB,KAAKqB,YAAa,CACpBC,OAAOC,iBAAiB,aAAcvB,KAAKJ,WAAW4B,KAAKxB,OAC3DA,KAAKJ,Y,EAIT,oBAAA6B,GACEH,OAAOI,oBAAoB,aAAc1B,KAAKJ,W,CAGhD,MAAA+B,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACX,UAAWnB,KAAKmB,WACpBS,EAAA,YAAAE,IAAA,2CACEC,MAAM,SACNC,QAASC,EAAcC,UACvBC,KAAMnC,KAAKmB,UAAY,aAAe,eACtCiB,QAASpC,KAAKkB,gBAAgBM,KAAKxB,OAAK,WAI1C4B,EAAA,OAAAE,IAAA,2CAAKO,IAAMC,GAAQtC,KAAKC,IAAMqC,GAC5BV,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as o,a as i,g as s}from"./p-cc3c02fe.js";const a=':host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-secondary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot="item"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"][active]){color:var(--color-secondary01);font-weight:var(--font-bd)}';const n=a;const l=class{constructor(o){e(this,o);this.opened=t(this,"opened",7);this.closed=t(this,"closed",7);this.active=undefined;this.open=undefined;this.hasContent=undefined}toggle(){if(!this.hasContent){return}this.open=!this.open;this.open?this.opened.emit():this.closed.emit()}handleClick(e){if(!this.open||this.hostElement.contains(e.target)){return}this.open=false;this.closed.emit()}checkContent(){this.hasContent=this.hostElement.querySelectorAll('[slot="item"]').length>0}onLabelSlotChange(e){const t=e.target.assignedElements()[0];t.dataset.text=(t===null||t===void 0?void 0:t.innerText)||null}componentWillLoad(){this.checkContent()}render(){return o(i,{key:"7261f7c68d7e097fe0a70e6f8c0b513958605dbd",role:"menu",open:this.open},o("button",{key:"74fd64a789a7f9ea93ec118dc2978809e70c5312",class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},o("slot",{key:"b8e32ae6fc27571d5318eb71ceddea6d87ca3ffa",onSlotchange:this.onLabelSlotChange.bind(this)}),this.hasContent&&o("z-icon",{key:"5500c12ff4f374564c03e887a69ceba287a8d577",name:this.open?"chevron-up":"chevron-down"})),this.open&&o("div",{key:"ff66588a6fa8fe8968ec9d7e12d6fac3bb1bb45f",class:"items"},o("slot",{key:"de19fdba5a89f0a048b6f8e824feacaa80bbe3fc",name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return s(this)}};l.style=n;export{l as z_menu_section};
2
+ //# sourceMappingURL=p-82b845c3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMenuSectionStyle0","ZMenuSection","toggle","this","hasContent","open","opened","emit","closed","handleClick","ev","hostElement","contains","target","checkContent","querySelectorAll","length","onLabelSlotChange","labelElement","assignedElements","dataset","text","innerText","componentWillLoad","render","h","Host","key","role","class","onClick","bind","onSlotchange","name"],"sources":["src/components/z-menu-section/styles.css?tag=z-menu-section&encapsulation=shadow","src/components/z-menu-section/index.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 0;\n font-family: var(--font-family-sans);\n}\n\n:host,\n::slotted(*),\n* {\n box-sizing: border-box;\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:host(:is([active], [open])) .label,\n.label:hover {\n border-color: var(--color-secondary01);\n}\n\n:host(:is([active], [open])) .label ::slotted(*),\n.label:focus:focus-visible ::slotted(*),\n.label:hover ::slotted(*) {\n font-weight: var(--font-bd);\n}\n\n.label {\n display: flex;\n width: 100%;\n align-items: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);\n border: 0;\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n margin: 0;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n text-align: left;\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n/* Trick to prevent 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 overflow: hidden;\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\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.label ::slotted(*) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n}\n\n.label:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.label z-icon {\n margin-left: calc(var(--space-unit) * 4);\n fill: var(--color-default-icon);\n}\n\n.items {\n display: flex;\n width: 100%;\n flex-direction: column;\n padding: calc(var(--space-unit) / 2);\n padding-bottom: calc(var(--space-unit) * 1.5);\n}\n\n.items > ::slotted([slot=\"item\"]) {\n display: inline-flex;\n padding: calc(var(--space-unit) / 2);\n margin: 0;\n font-size: var(--font-size-2);\n line-height: 1.4;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-secondary01);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"][active]) {\n color: var(--color-secondary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, h} from \"@stencil/core\";\n\n/**\n * A component to create submenus inside the ZMenu.\n * @slot - Label of the menu section.\n * @slot item - Single entry of the section. Set the same slot name to different items to put many of them. Add the `active` attribute to a slotted item to highlight it.\n */\n@Component({\n tag: \"z-menu-section\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuSection {\n @Element() hostElement: HTMLZMenuSectionElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n @State()\n open: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The section has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The section has been closed. */\n @Event()\n closed: EventEmitter;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n this.open ? this.opened.emit() : this.closed.emit();\n }\n\n /** Close the list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.open || this.hostElement.contains(ev.target as Node)) {\n return;\n }\n\n this.open = false;\n this.closed.emit();\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasContent = this.hostElement.querySelectorAll('[slot=\"item\"]').length > 0;\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?.innerText || null;\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host\n role=\"menu\"\n open={this.open}\n >\n <button\n class=\"label\"\n aria-pressed={this.open ? \"true\" : \"false\"}\n onClick={this.toggle.bind(this)}\n >\n <slot onSlotchange={this.onLabelSlotChange.bind(this)}></slot>\n {this.hasContent && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n {this.open && (\n <div class=\"items\">\n <slot\n name=\"item\"\n onSlotchange={this.checkContent.bind(this)}\n ></slot>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAY,m8DAClB,MAAAC,EAAeD,E,MCWFE,EAAY,M,2JAqBf,MAAAC,GACN,IAAKC,KAAKC,WAAY,CACpB,M,CAGFD,KAAKE,MAAQF,KAAKE,KAClBF,KAAKE,KAAOF,KAAKG,OAAOC,OAASJ,KAAKK,OAAOD,M,CAK/C,WAAAE,CAAYC,GACV,IAAKP,KAAKE,MAAQF,KAAKQ,YAAYC,SAASF,EAAGG,QAAiB,CAC9D,M,CAGFV,KAAKE,KAAO,MACZF,KAAKK,OAAOD,M,CAMN,YAAAO,GACNX,KAAKC,WAAaD,KAAKQ,YAAYI,iBAAiB,iBAAiBC,OAAS,C,CAOxE,iBAAAC,CAAkBP,GACxB,MAAMQ,EAAgBR,EAAGG,OAA2BM,mBAAmB,GACvED,EAAaE,QAAQC,MAAOH,IAAY,MAAZA,SAAY,SAAZA,EAAcI,YAAa,I,CAGzD,iBAAAC,GACEpB,KAAKW,c,CAGP,MAAAU,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,OACLvB,KAAMF,KAAKE,MAEXoB,EAAA,UAAAE,IAAA,2CACEE,MAAM,QAAO,eACC1B,KAAKE,KAAO,OAAS,QACnCyB,QAAS3B,KAAKD,OAAO6B,KAAK5B,OAE1BsB,EAAA,QAAAE,IAAA,2CAAMK,aAAc7B,KAAKc,kBAAkBc,KAAK5B,QAC/CA,KAAKC,YAAcqB,EAAA,UAAAE,IAAA,2CAAQM,KAAM9B,KAAKE,KAAO,aAAe,kBAE9DF,KAAKE,MACJoB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,SACTJ,EAAA,QAAAE,IAAA,2CACEM,KAAK,OACLD,aAAc7B,KAAKW,aAAaiB,KAAK5B,S","ignoreList":[]}