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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1744) hide show
  1. package/dist/.storybook/elements/args-controls.js +78 -0
  2. package/dist/.storybook/elements/args-controls.js.map +1 -0
  3. package/dist/.storybook/elements/docs-template.js +11 -0
  4. package/dist/.storybook/elements/docs-template.js.map +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  7. package/dist/cjs/breakpoints-5c22092a.js.map +1 -1
  8. package/dist/cjs/index-19279b08.js +20 -0
  9. package/dist/cjs/index-19279b08.js.map +1 -0
  10. package/dist/cjs/index-1ebcef6a.js +46 -0
  11. package/dist/cjs/index-1ebcef6a.js.map +1 -0
  12. package/dist/cjs/index-42d4c304.js +65 -0
  13. package/dist/cjs/index-42d4c304.js.map +1 -0
  14. package/dist/cjs/index-5dc4a8de.js +2211 -0
  15. package/dist/cjs/index-5dc4a8de.js.map +1 -0
  16. package/dist/cjs/index-94f7957c.js +21 -0
  17. package/dist/cjs/index-94f7957c.js.map +1 -0
  18. package/dist/cjs/index-be1c71c6.js +59 -0
  19. package/dist/cjs/index-be1c71c6.js.map +1 -0
  20. package/dist/cjs/index-f31d0e66.js +21 -0
  21. package/dist/cjs/index-f31d0e66.js.map +1 -0
  22. package/dist/cjs/index.cjs.js.map +1 -1
  23. package/dist/cjs/loader.cjs.js +5 -3
  24. package/dist/cjs/loader.cjs.js.map +1 -1
  25. package/dist/cjs/utils-2b313a8e.js.map +1 -1
  26. package/dist/cjs/utils-d0b10736.js.map +1 -1
  27. package/dist/cjs/web-components-library.cjs.js +32 -32
  28. package/dist/cjs/web-components-library.cjs.js.map +1 -1
  29. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  30. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  31. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  32. package/dist/cjs/z-anchor-navigation.cjs.entry.js +14 -9
  33. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  34. package/dist/cjs/z-app-header_12.cjs.entry.js +40 -31
  35. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  36. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  37. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -1
  38. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  39. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
  40. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  41. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  42. package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
  43. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  44. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  45. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  46. package/dist/cjs/z-card.cjs.entry.js +1 -1
  47. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  48. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  49. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  50. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  51. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  52. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  53. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  54. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  55. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
  56. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  57. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
  58. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  59. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  60. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  61. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
  62. package/dist/cjs/z-file.cjs.entry.js +2 -2
  63. package/dist/cjs/z-file.cjs.entry.js.map +1 -1
  64. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  65. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  66. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
  67. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  68. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
  69. package/dist/cjs/z-logo.cjs.entry.js +2 -2
  70. package/dist/cjs/z-logo.cjs.entry.js.map +1 -1
  71. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  72. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
  73. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  74. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  75. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  76. package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -1
  77. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  78. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  79. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
  80. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
  81. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  82. package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
  83. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  85. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  86. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  87. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  88. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  89. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
  91. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  92. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -1
  93. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  94. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  95. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  96. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  97. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  98. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  99. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  100. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  101. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  102. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
  103. package/dist/cjs/z-pocket-message.cjs.entry.js +2 -2
  104. package/dist/cjs/z-pocket_3.cjs.entry.js +6 -6
  105. package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -1
  106. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  107. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  108. package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
  109. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
  110. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  111. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
  112. package/dist/cjs/z-select.cjs.entry.js +2 -2
  113. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  114. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  115. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
  116. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  117. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
  118. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  119. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  120. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  121. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  122. package/dist/cjs/z-table.cjs.entry.js +8 -8
  123. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  124. package/dist/cjs/z-tbody.cjs.entry.js +2 -2
  125. package/dist/cjs/z-td.cjs.entry.js +2 -2
  126. package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
  127. package/dist/cjs/z-th.cjs.entry.js +2 -2
  128. package/dist/cjs/z-thead.cjs.entry.js +2 -2
  129. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  130. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
  131. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  132. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  133. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  134. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  135. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  136. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
  137. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  138. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
  139. package/dist/cjs/z-tr.cjs.entry.js +4 -4
  140. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  141. package/dist/collection/beans/index.js.map +1 -1
  142. package/dist/collection/collection-manifest.json +34 -34
  143. package/dist/collection/components/css-components/z-fab/index.stories.js +104 -0
  144. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
  145. package/dist/collection/components/css-components/z-link/index.stories.js +75 -0
  146. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
  147. package/dist/collection/components/date-picker/utils.js.map +1 -1
  148. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  149. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
  150. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -1
  151. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +100 -0
  152. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
  153. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -4
  154. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
  155. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -1
  156. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +110 -0
  157. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
  158. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  159. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
  160. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -1
  161. package/dist/collection/components/file-upload/z-file/index.js +2 -2
  162. package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
  163. package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -1
  164. package/dist/collection/components/file-upload/z-file/index.stories.js +17 -0
  165. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
  166. package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
  167. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
  168. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -1
  169. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +95 -0
  170. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
  171. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -1
  172. package/dist/collection/components/index.js.map +1 -1
  173. package/dist/collection/components/list/z-list/index.js +4 -4
  174. package/dist/collection/components/list/z-list/index.js.map +1 -1
  175. package/dist/collection/components/list/z-list/index.spec.js.map +1 -1
  176. package/dist/collection/components/list/z-list/index.stories.js +185 -0
  177. package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
  178. package/dist/collection/components/list/z-list-element/index.js +3 -3
  179. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  180. package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -1
  181. package/dist/collection/components/list/z-list-element/index.stories.js +128 -0
  182. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
  183. package/dist/collection/components/list/z-list-group/index.js +3 -3
  184. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  185. package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -1
  186. package/dist/collection/components/list/z-list-group/index.stories.js +118 -0
  187. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
  188. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  189. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  190. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  191. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  192. package/dist/collection/components/table/z-table/index.js +3 -3
  193. package/dist/collection/components/table/z-table/index.js.map +1 -1
  194. package/dist/collection/components/table/z-table/index.stories.js +262 -0
  195. package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
  196. package/dist/collection/components/table/z-tbody/index.js +1 -1
  197. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  198. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  199. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  200. package/dist/collection/components/table/z-thead/index.js +1 -1
  201. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  202. package/dist/collection/components/table/z-tr/index.js +1 -1
  203. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  204. package/dist/collection/components/z-accordion/index.js +2 -2
  205. package/dist/collection/components/z-accordion/index.js.map +1 -1
  206. package/dist/collection/components/z-accordion/index.stories.js +165 -0
  207. package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
  208. package/dist/collection/components/z-accordion/styles.css +1 -1
  209. package/dist/collection/components/z-anchor-navigation/index.js +32 -9
  210. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
  211. package/dist/collection/components/z-anchor-navigation/index.stories.js +332 -0
  212. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
  213. package/dist/collection/components/z-anchor-navigation/styles.css +22 -34
  214. package/dist/collection/components/z-app-header/index.js +420 -0
  215. package/dist/collection/components/z-app-header/index.js.map +1 -0
  216. package/dist/collection/components/z-app-header/index.spec.js.map +1 -0
  217. package/dist/collection/components/z-app-header/index.stories.js +635 -0
  218. package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
  219. package/dist/collection/components/z-aria-alert/index.js +2 -2
  220. package/dist/collection/components/z-aria-alert/index.js.map +1 -1
  221. package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -1
  222. package/dist/collection/components/z-aria-alert/index.stories.js +76 -0
  223. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
  224. package/dist/collection/components/z-avatar/index.js +3 -3
  225. package/dist/collection/components/z-avatar/index.js.map +1 -1
  226. package/dist/collection/components/z-avatar/index.spec.js.map +1 -1
  227. package/dist/collection/components/z-avatar/index.stories.js +51 -0
  228. package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
  229. package/dist/collection/components/z-book-card/index.js +1 -1
  230. package/dist/collection/components/z-book-card/index.js.map +1 -1
  231. package/dist/collection/components/z-book-card/index.spec.js.map +1 -1
  232. package/dist/collection/components/z-book-card/index.stories.js +397 -0
  233. package/dist/collection/components/z-book-card/index.stories.js.map +1 -0
  234. package/dist/collection/components/z-breadcrumb/index.js +3 -3
  235. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  236. package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -1
  237. package/dist/collection/components/z-breadcrumb/index.stories.js +68 -0
  238. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
  239. package/dist/collection/components/z-button/index.js +269 -0
  240. package/dist/collection/components/z-button/index.js.map +1 -0
  241. package/dist/collection/components/z-button/index.spec.js +101 -0
  242. package/dist/collection/components/z-button/index.spec.js.map +1 -0
  243. package/dist/collection/components/z-button/index.stories.js +90 -0
  244. package/dist/collection/components/z-button/index.stories.js.map +1 -0
  245. package/dist/collection/components/z-button-sort/index.js +221 -0
  246. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  247. package/dist/collection/components/z-button-sort/index.spec.js.map +1 -0
  248. package/dist/collection/components/z-button-sort/index.stories.js +31 -0
  249. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
  250. package/dist/collection/components/z-button-sort/test.e2e.js.map +1 -0
  251. package/dist/collection/components/z-card/index.js +1 -1
  252. package/dist/collection/components/z-card/index.js.map +1 -1
  253. package/dist/collection/components/z-card/index.spec.js.map +1 -1
  254. package/dist/collection/components/z-card/index.stories.js +292 -0
  255. package/dist/collection/components/z-card/index.stories.js.map +1 -0
  256. package/dist/collection/components/z-carousel/index.js +2 -2
  257. package/dist/collection/components/z-carousel/index.js.map +1 -1
  258. package/dist/collection/components/z-carousel/index.stories.js +129 -0
  259. package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
  260. package/dist/collection/components/z-chip/index.js +148 -0
  261. package/dist/collection/components/z-chip/index.js.map +1 -0
  262. package/dist/collection/components/z-chip/index.spec.js.map +1 -0
  263. package/dist/collection/components/z-chip/index.stories.js +70 -0
  264. package/dist/collection/components/z-chip/index.stories.js.map +1 -0
  265. package/dist/collection/components/z-combobox/index.js +643 -0
  266. package/dist/collection/components/z-combobox/index.js.map +1 -0
  267. package/dist/collection/components/z-combobox/index.spec.js.map +1 -0
  268. package/dist/collection/components/z-combobox/index.stories.js +78 -0
  269. package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
  270. package/dist/collection/components/z-cover-hero/index.js +4 -4
  271. package/dist/collection/components/z-cover-hero/index.js.map +1 -1
  272. package/dist/collection/components/z-cover-hero/index.stories.js +256 -0
  273. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
  274. package/dist/collection/components/z-divider/index.js +3 -3
  275. package/dist/collection/components/z-divider/index.js.map +1 -1
  276. package/dist/collection/components/z-divider/index.spec.js.map +1 -1
  277. package/dist/collection/components/z-divider/index.stories.js +45 -0
  278. package/dist/collection/components/z-divider/index.stories.js.map +1 -0
  279. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  280. package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
  281. package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -1
  282. package/dist/collection/components/z-ghost-loading/index.stories.js +22 -0
  283. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
  284. package/dist/collection/components/z-icon/index.js +122 -0
  285. package/dist/collection/components/z-icon/index.js.map +1 -0
  286. package/dist/collection/components/z-icon/index.spec.js +96 -0
  287. package/dist/collection/components/z-icon/index.spec.js.map +1 -0
  288. package/dist/collection/components/z-icon/index.stories.js +30 -0
  289. package/dist/collection/components/z-icon/index.stories.js.map +1 -0
  290. package/dist/collection/components/z-info-box/index.js +86 -0
  291. package/dist/collection/components/z-info-box/index.js.map +1 -0
  292. package/dist/collection/components/z-info-box/index.spec.js.map +1 -0
  293. package/dist/collection/components/z-info-box/index.stories.js +20 -0
  294. package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
  295. package/dist/collection/components/z-info-reveal/index.js +2 -2
  296. package/dist/collection/components/z-info-reveal/index.js.map +1 -1
  297. package/dist/collection/components/z-info-reveal/index.stories.js +59 -0
  298. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
  299. package/dist/collection/components/z-input/index.js +959 -0
  300. package/dist/collection/components/z-input/index.js.map +1 -0
  301. package/dist/collection/components/z-input/index.stories.js +294 -0
  302. package/dist/collection/components/z-input/index.stories.js.map +1 -0
  303. package/dist/collection/components/z-input/styles-checkbox-radio.css +123 -0
  304. package/dist/collection/components/z-input/styles-general.css +154 -0
  305. package/dist/collection/components/z-input/styles-text.css +81 -0
  306. package/dist/collection/components/z-input/styles-textarea.css +35 -0
  307. package/dist/collection/components/z-input/test-checkbox.spec.js.map +1 -0
  308. package/dist/collection/components/z-input/test-methods.spec.js +13 -0
  309. package/dist/collection/components/z-input/test-methods.spec.js.map +1 -0
  310. package/dist/collection/components/z-input/test-radio.spec.js.map +1 -0
  311. package/dist/collection/components/z-input/test-text.spec.js +347 -0
  312. package/dist/collection/components/z-input/test-text.spec.js.map +1 -0
  313. package/dist/collection/components/z-input/test-textarea.spec.js.map +1 -0
  314. package/dist/collection/components/z-input/test.e2e.js +180 -0
  315. package/dist/collection/components/z-input/test.e2e.js.map +1 -0
  316. package/dist/collection/components/z-input-message/index.js +93 -0
  317. package/dist/collection/components/z-input-message/index.js.map +1 -0
  318. package/dist/collection/components/z-input-message/index.spec.js.map +1 -0
  319. package/dist/collection/components/z-input-message/index.stories.js +37 -0
  320. package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
  321. package/dist/collection/components/z-logo/index.js +140 -0
  322. package/dist/collection/components/z-logo/index.js.map +1 -0
  323. package/dist/collection/components/z-logo/index.spec.js.map +1 -0
  324. package/dist/collection/components/z-logo/index.stories.js +26 -0
  325. package/dist/collection/components/z-logo/index.stories.js.map +1 -0
  326. package/dist/collection/components/z-logo/test.e2e.js.map +1 -0
  327. package/dist/collection/components/z-menu/index.js +244 -0
  328. package/dist/collection/components/z-menu/index.js.map +1 -0
  329. package/dist/collection/components/z-menu/index.spec.js.map +1 -0
  330. package/dist/collection/components/z-menu/index.stories.js +129 -0
  331. package/dist/collection/components/z-menu/index.stories.js.map +1 -0
  332. package/dist/collection/components/z-menu-section/index.js +131 -0
  333. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  334. package/dist/collection/components/z-menu-section/index.spec.js.map +1 -0
  335. package/dist/collection/components/z-menu-section/index.stories.js +41 -0
  336. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
  337. package/dist/collection/components/z-modal/index.js +357 -0
  338. package/dist/collection/components/z-modal/index.js.map +1 -0
  339. package/dist/collection/components/z-modal/index.spec.js.map +1 -0
  340. package/dist/collection/components/z-modal/index.stories.js +224 -0
  341. package/dist/collection/components/z-modal/index.stories.js.map +1 -0
  342. package/dist/collection/components/z-navigation-tabs/index.js +374 -0
  343. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  344. package/dist/collection/components/z-navigation-tabs/index.stories.js +191 -0
  345. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
  346. package/dist/collection/components/z-notification/index.js +194 -0
  347. package/dist/collection/components/z-notification/index.js.map +1 -0
  348. package/dist/collection/components/z-notification/index.spec.js.map +1 -0
  349. package/dist/collection/components/z-notification/index.stories.js +147 -0
  350. package/dist/collection/components/z-notification/index.stories.js.map +1 -0
  351. package/dist/collection/components/z-notification/test.e2e.js.map +1 -0
  352. package/dist/collection/components/z-offcanvas/index.js +1 -1
  353. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  354. package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -1
  355. package/dist/collection/components/z-offcanvas/index.stories.js +196 -0
  356. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
  357. package/dist/collection/components/z-offcanvas/styles.css +6 -2
  358. package/dist/collection/components/z-pagination/index.js +1 -1
  359. package/dist/collection/components/z-pagination/index.js.map +1 -1
  360. package/dist/collection/components/z-pagination/index.spec.js.map +1 -1
  361. package/dist/collection/components/z-pagination/index.stories.js +100 -0
  362. package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
  363. package/dist/collection/components/z-pagination/styles.css +6 -2
  364. package/dist/collection/components/z-panel-elem/index.js +197 -0
  365. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  366. package/dist/collection/components/z-panel-elem/index.spec.js.map +1 -0
  367. package/dist/collection/components/z-panel-elem/index.stories.js +26 -0
  368. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
  369. package/dist/collection/components/z-popover/index.js +2 -2
  370. package/dist/collection/components/z-popover/index.js.map +1 -1
  371. package/dist/collection/components/z-popover/index.stories.js +103 -0
  372. package/dist/collection/components/z-popover/index.stories.js.map +1 -0
  373. package/dist/collection/components/z-searchbar/index.js +616 -0
  374. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  375. package/dist/collection/components/z-searchbar/index.spec.js.map +1 -0
  376. package/dist/collection/components/z-searchbar/index.stories.js +198 -0
  377. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
  378. package/dist/collection/components/z-section-title/index.js +1 -1
  379. package/dist/collection/components/z-section-title/index.js.map +1 -1
  380. package/dist/collection/components/z-section-title/index.spec.js +1 -1
  381. package/dist/collection/components/z-section-title/index.spec.js.map +1 -1
  382. package/dist/collection/components/z-section-title/index.stories.js +53 -0
  383. package/dist/collection/components/z-section-title/index.stories.js.map +1 -0
  384. package/dist/collection/components/z-select/index.js +778 -0
  385. package/dist/collection/components/z-select/index.js.map +1 -0
  386. package/dist/collection/components/z-select/index.spec.js.map +1 -0
  387. package/dist/collection/components/z-select/index.stories.js +187 -0
  388. package/dist/collection/components/z-select/index.stories.js.map +1 -0
  389. package/dist/collection/components/z-skip-to-content/index.js +3 -3
  390. package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
  391. package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -1
  392. package/dist/collection/components/z-skip-to-content/index.stories.js +41 -0
  393. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
  394. package/dist/collection/components/z-stepper/index.js +22 -0
  395. package/dist/collection/components/z-stepper/index.js.map +1 -0
  396. package/dist/collection/components/z-stepper/index.spec.js.map +1 -0
  397. package/dist/collection/components/z-stepper/index.stories.js +38 -0
  398. package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
  399. package/dist/collection/components/z-stepper-item/index.js +122 -0
  400. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  401. package/dist/collection/components/z-stepper-item/index.spec.js.map +1 -0
  402. package/dist/collection/components/z-stepper-item/index.stories.js +34 -0
  403. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
  404. package/dist/collection/components/z-tag/index.js +4 -4
  405. package/dist/collection/components/z-tag/index.js.map +1 -1
  406. package/dist/collection/components/z-tag/index.spec.js.map +1 -1
  407. package/dist/collection/components/z-tag/index.stories.js +60 -0
  408. package/dist/collection/components/z-tag/index.stories.js.map +1 -0
  409. package/dist/collection/components/z-toast-notification/index.js +406 -0
  410. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  411. package/dist/collection/components/z-toast-notification/index.spec.js.map +1 -0
  412. package/dist/collection/components/z-toast-notification/index.stories.js +89 -0
  413. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
  414. package/dist/collection/components/z-toast-notification-list/index.js +107 -0
  415. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  416. package/dist/collection/components/z-toast-notification-list/index.spec.js.map +1 -0
  417. package/dist/collection/components/z-toast-notification-list/index.stories.js +124 -0
  418. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
  419. package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +1 -0
  420. package/dist/collection/components/z-toggle-button/index.js +146 -0
  421. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  422. package/dist/collection/components/z-toggle-button/index.spec.js.map +1 -0
  423. package/dist/collection/components/z-toggle-button/index.stories.js +23 -0
  424. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
  425. package/dist/collection/components/z-toggle-switch/index.js +147 -0
  426. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  427. package/dist/collection/components/z-toggle-switch/index.spec.js.map +1 -0
  428. package/dist/collection/components/z-toggle-switch/index.stories.js +27 -0
  429. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
  430. package/dist/collection/components/z-tooltip/index.js +151 -0
  431. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  432. package/dist/collection/components/z-tooltip/index.stories.js +123 -0
  433. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
  434. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  435. package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
  436. package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -1
  437. package/dist/collection/components/z-visually-hidden/index.stories.js +28 -0
  438. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
  439. package/dist/collection/constants/breakpoints.js +1 -1
  440. package/dist/collection/constants/breakpoints.js.map +1 -1
  441. package/dist/collection/constants/icons.js.map +1 -1
  442. package/dist/collection/constants/iconset.js +873 -0
  443. package/dist/collection/constants/iconset.js.map +1 -0
  444. package/dist/collection/index.js +2 -2
  445. package/dist/collection/index.js.map +1 -1
  446. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  447. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
  448. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -1
  449. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +72 -0
  450. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  451. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
  452. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -1
  453. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +24 -0
  454. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  455. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
  456. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -1
  457. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  458. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
  459. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -1
  460. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +24 -0
  461. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  462. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
  463. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -1
  464. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +128 -0
  465. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +6 -2
  466. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  467. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
  468. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -1
  469. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +28 -0
  470. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +9 -3
  471. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  472. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
  473. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -1
  474. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +16 -0
  475. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  476. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
  477. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -1
  478. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +22 -0
  479. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  480. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
  481. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -1
  482. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +22 -0
  483. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  484. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
  485. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -1
  486. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +18 -0
  487. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  488. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
  489. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -1
  490. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +14 -0
  491. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  492. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
  493. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -1
  494. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +18 -0
  495. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  496. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
  497. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -1
  498. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +28 -0
  499. package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -1
  500. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -1
  501. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -1
  502. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -1
  503. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.stories.js +47 -0
  504. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
  505. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -1
  506. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -1
  507. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.stories.js +51 -0
  508. package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -1
  509. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
  510. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -1
  511. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -1
  512. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.stories.js +43 -0
  513. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +9 -3
  514. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -1
  515. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +2 -2
  516. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -1
  517. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -1
  518. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.stories.js +15 -0
  519. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -1
  520. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
  521. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -1
  522. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -1
  523. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.stories.js +36 -0
  524. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  525. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
  526. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -1
  527. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +30 -0
  528. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  529. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
  530. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -1
  531. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +32 -0
  532. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -1
  533. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -1
  534. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
  535. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -1
  536. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +16 -0
  537. package/dist/collection/utils/storybook-utils.js +52 -11
  538. package/dist/collection/utils/storybook-utils.js.map +1 -1
  539. package/dist/collection/utils/utils.js +14 -1
  540. package/dist/collection/utils/utils.js.map +1 -1
  541. package/dist/collection/utils/utils.spec.js.map +1 -1
  542. package/dist/components/breakpoints.js.map +1 -1
  543. package/dist/components/iconset.js +876 -0
  544. package/dist/components/iconset.js.map +1 -0
  545. package/dist/components/index.d.ts +25 -25
  546. package/dist/components/index.js.map +1 -1
  547. package/dist/components/index10.js +15 -6
  548. package/dist/components/index10.js.map +1 -1
  549. package/dist/components/index11.js +1 -1
  550. package/dist/components/index11.js.map +1 -1
  551. package/dist/components/index12.js +1 -1
  552. package/dist/components/index12.js.map +1 -1
  553. package/dist/components/index13.js +1 -1
  554. package/dist/components/index13.js.map +1 -1
  555. package/dist/components/index14.js +2 -2
  556. package/dist/components/index14.js.map +1 -1
  557. package/dist/components/index15.js +4 -4
  558. package/dist/components/index15.js.map +1 -1
  559. package/dist/components/index16.js +1 -1
  560. package/dist/components/index17.js +1 -1
  561. package/dist/components/index18.js +1 -1
  562. package/dist/components/index19.js +1 -1
  563. package/dist/components/index20.js +1 -1
  564. package/dist/components/index20.js.map +1 -1
  565. package/dist/components/index21.js +2 -2
  566. package/dist/components/index21.js.map +1 -1
  567. package/dist/components/index22.js +1 -1
  568. package/dist/components/index22.js.map +1 -1
  569. package/dist/components/index23.js +2 -2
  570. package/dist/components/index23.js.map +1 -1
  571. package/dist/components/index24.js +2 -2
  572. package/dist/components/index24.js.map +1 -1
  573. package/dist/components/index25.js +1 -1
  574. package/dist/components/index25.js.map +1 -1
  575. package/dist/components/index26.js +1 -1
  576. package/dist/components/index26.js.map +1 -1
  577. package/dist/components/index27.js +2 -2
  578. package/dist/components/index27.js.map +1 -1
  579. package/dist/components/index3.js +1 -1
  580. package/dist/components/index4.js +1 -1
  581. package/dist/components/index4.js.map +1 -1
  582. package/dist/components/index5.js +2 -2
  583. package/dist/components/index5.js.map +1 -1
  584. package/dist/components/index6.js +1 -1
  585. package/dist/components/index6.js.map +1 -1
  586. package/dist/components/index7.js +2 -2
  587. package/dist/components/index7.js.map +1 -1
  588. package/dist/components/index8.js +1 -1
  589. package/dist/components/index9.js +2 -2
  590. package/dist/components/index9.js.map +1 -1
  591. package/dist/components/utils.js.map +1 -1
  592. package/dist/components/utils2.js.map +1 -1
  593. package/dist/components/z-accordion.js +2 -2
  594. package/dist/components/z-accordion.js.map +1 -1
  595. package/dist/components/z-anchor-navigation.js +14 -8
  596. package/dist/components/z-anchor-navigation.js.map +1 -1
  597. package/dist/components/z-app-header.js +1 -1
  598. package/dist/components/z-app-header.js.map +1 -1
  599. package/dist/components/z-aria-alert.js +1 -1
  600. package/dist/components/z-aria-alert.js.map +1 -1
  601. package/dist/components/z-avatar.js +2 -2
  602. package/dist/components/z-avatar.js.map +1 -1
  603. package/dist/components/z-book-card.js +1 -1
  604. package/dist/components/z-book-card.js.map +1 -1
  605. package/dist/components/z-breadcrumb.js +2 -2
  606. package/dist/components/z-breadcrumb.js.map +1 -1
  607. package/dist/components/z-button-sort.js +1 -1
  608. package/dist/components/z-button-sort.js.map +1 -1
  609. package/dist/components/z-card.js.map +1 -1
  610. package/dist/components/z-carousel.js.map +1 -1
  611. package/dist/components/z-combobox.js +1 -1
  612. package/dist/components/z-combobox.js.map +1 -1
  613. package/dist/components/z-cover-hero.js +2 -2
  614. package/dist/components/z-cover-hero.js.map +1 -1
  615. package/dist/components/z-date-picker.js +1 -1
  616. package/dist/components/z-date-picker.js.map +1 -1
  617. package/dist/components/z-file-upload.js +1 -1
  618. package/dist/components/z-file-upload.js.map +1 -1
  619. package/dist/components/z-file.js +1 -1
  620. package/dist/components/z-file.js.map +1 -1
  621. package/dist/components/z-info-box.js +1 -1
  622. package/dist/components/z-info-box.js.map +1 -1
  623. package/dist/components/z-info-reveal.js +1 -1
  624. package/dist/components/z-info-reveal.js.map +1 -1
  625. package/dist/components/z-logo.js +1 -1
  626. package/dist/components/z-logo.js.map +1 -1
  627. package/dist/components/z-menu-section.js +1 -1
  628. package/dist/components/z-menu-section.js.map +1 -1
  629. package/dist/components/z-menu.js +1 -1
  630. package/dist/components/z-menu.js.map +1 -1
  631. package/dist/components/z-messages-pocket.js +1 -1
  632. package/dist/components/z-messages-pocket.js.map +1 -1
  633. package/dist/components/z-myz-card-alert.js +1 -1
  634. package/dist/components/z-myz-card-alert.js.map +1 -1
  635. package/dist/components/z-myz-card-dictionary.js +2 -2
  636. package/dist/components/z-myz-card-dictionary.js.map +1 -1
  637. package/dist/components/z-myz-card-footer-sections.js +1 -1
  638. package/dist/components/z-myz-card-footer.js +2 -2
  639. package/dist/components/z-myz-card-footer.js.map +1 -1
  640. package/dist/components/z-myz-card-icon.js +1 -1
  641. package/dist/components/z-myz-card-info.js +1 -1
  642. package/dist/components/z-myz-card-info.js.map +1 -1
  643. package/dist/components/z-myz-card-list.js +1 -1
  644. package/dist/components/z-myz-list.js +1 -1
  645. package/dist/components/z-myz-list.js.map +1 -1
  646. package/dist/components/z-navigation-tabs.js +3 -3
  647. package/dist/components/z-navigation-tabs.js.map +1 -1
  648. package/dist/components/z-notification.js +1 -1
  649. package/dist/components/z-notification.js.map +1 -1
  650. package/dist/components/z-otp.js +2 -2
  651. package/dist/components/z-otp.js.map +1 -1
  652. package/dist/components/z-pagination.js +1 -1
  653. package/dist/components/z-pagination.js.map +1 -1
  654. package/dist/components/z-panel-elem.js +2 -2
  655. package/dist/components/z-panel-elem.js.map +1 -1
  656. package/dist/components/z-pocket-message.js +1 -1
  657. package/dist/components/z-range-picker.js +3 -3
  658. package/dist/components/z-range-picker.js.map +1 -1
  659. package/dist/components/z-section-title.js +1 -1
  660. package/dist/components/z-section-title.js.map +1 -1
  661. package/dist/components/z-select.js +1 -1
  662. package/dist/components/z-select.js.map +1 -1
  663. package/dist/components/z-skip-to-content.js +2 -2
  664. package/dist/components/z-skip-to-content.js.map +1 -1
  665. package/dist/components/z-slideshow.js.map +1 -1
  666. package/dist/components/z-stepper-item.js +1 -1
  667. package/dist/components/z-stepper-item.js.map +1 -1
  668. package/dist/components/z-stepper.js +1 -1
  669. package/dist/components/z-stepper.js.map +1 -1
  670. package/dist/components/z-table.js +2 -2
  671. package/dist/components/z-table.js.map +1 -1
  672. package/dist/components/z-tbody.js +1 -1
  673. package/dist/components/z-td.js +1 -1
  674. package/dist/components/z-td.js.map +1 -1
  675. package/dist/components/z-tfoot.js +1 -1
  676. package/dist/components/z-th.js +1 -1
  677. package/dist/components/z-th.js.map +1 -1
  678. package/dist/components/z-thead.js +1 -1
  679. package/dist/components/z-toast-notification-list.js +1 -1
  680. package/dist/components/z-toast-notification-list.js.map +1 -1
  681. package/dist/components/z-toast-notification.js +1 -1
  682. package/dist/components/z-toast-notification.js.map +1 -1
  683. package/dist/components/z-toggle-button.js +2 -2
  684. package/dist/components/z-toggle-button.js.map +1 -1
  685. package/dist/components/z-toggle-switch.js +4 -4
  686. package/dist/components/z-toggle-switch.js.map +1 -1
  687. package/dist/components/z-tooltip.js +1 -1
  688. package/dist/components/z-tooltip.js.map +1 -1
  689. package/dist/components/z-tr.js +1 -1
  690. package/dist/components/z-tr.js.map +1 -1
  691. package/dist/components/z-visually-hidden.js +1 -1
  692. package/dist/docs/grid/index.stories.js +47 -0
  693. package/dist/docs/grid/index.stories.js.map +1 -0
  694. package/dist/docs/iconset/index.stories.js +32 -0
  695. package/dist/docs/iconset/index.stories.js.map +1 -0
  696. package/dist/docs/themes/index.stories.js +87 -0
  697. package/dist/docs/themes/index.stories.js.map +1 -0
  698. package/dist/esm/app-globals-0f993ce5.js +5 -0
  699. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  700. package/dist/esm/breakpoints-680e0e56.js.map +1 -1
  701. package/dist/esm/index-2f0ea8a1.js +57 -0
  702. package/dist/esm/index-2f0ea8a1.js.map +1 -0
  703. package/dist/esm/index-41ee4016.js +18 -0
  704. package/dist/esm/index-41ee4016.js.map +1 -0
  705. package/dist/esm/index-ab5f1eaa.js +2181 -0
  706. package/dist/esm/index-ab5f1eaa.js.map +1 -0
  707. package/dist/esm/index-cfde9cec.js +19 -0
  708. package/dist/esm/index-cfde9cec.js.map +1 -0
  709. package/dist/esm/index-db930fad.js +63 -0
  710. package/dist/esm/index-db930fad.js.map +1 -0
  711. package/dist/esm/index-e194f4a7.js +44 -0
  712. package/dist/esm/index-e194f4a7.js.map +1 -0
  713. package/dist/esm/index-ea49e441.js +19 -0
  714. package/dist/esm/index-ea49e441.js.map +1 -0
  715. package/dist/esm/index.js.map +1 -1
  716. package/dist/esm/loader.js +6 -4
  717. package/dist/esm/loader.js.map +1 -1
  718. package/dist/esm/utils-7983d02c.js.map +1 -1
  719. package/dist/esm/utils-cd008fbc.js.map +1 -1
  720. package/dist/esm/web-components-library.js +33 -33
  721. package/dist/esm/web-components-library.js.map +1 -1
  722. package/dist/esm/z-accordion.entry.js +3 -3
  723. package/dist/esm/z-accordion.entry.js.map +1 -1
  724. package/dist/esm/z-alert.entry.js +2 -2
  725. package/dist/esm/z-anchor-navigation.entry.js +14 -9
  726. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  727. package/dist/esm/z-app-header_12.entry.js +40 -31
  728. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  729. package/dist/esm/z-aria-alert.entry.js +2 -2
  730. package/dist/esm/z-aria-alert.entry.js.map +1 -1
  731. package/dist/esm/z-avatar.entry.js +3 -3
  732. package/dist/esm/z-avatar.entry.js.map +1 -1
  733. package/dist/esm/z-book-card.entry.js +2 -2
  734. package/dist/esm/z-book-card.entry.js.map +1 -1
  735. package/dist/esm/z-breadcrumb.entry.js +3 -3
  736. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  737. package/dist/esm/z-button-sort.entry.js +2 -2
  738. package/dist/esm/z-button-sort.entry.js.map +1 -1
  739. package/dist/esm/z-card.entry.js +1 -1
  740. package/dist/esm/z-card.entry.js.map +1 -1
  741. package/dist/esm/z-carousel.entry.js +1 -1
  742. package/dist/esm/z-carousel.entry.js.map +1 -1
  743. package/dist/esm/z-chip.entry.js +3 -3
  744. package/dist/esm/z-chip.entry.js.map +1 -1
  745. package/dist/esm/z-combobox.entry.js +2 -2
  746. package/dist/esm/z-combobox.entry.js.map +1 -1
  747. package/dist/esm/z-cover-hero.entry.js +3 -3
  748. package/dist/esm/z-cover-hero.entry.js.map +1 -1
  749. package/dist/esm/z-date-picker.entry.js +2 -2
  750. package/dist/esm/z-date-picker.entry.js.map +1 -1
  751. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  752. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  753. package/dist/esm/z-file-upload.entry.js +2 -2
  754. package/dist/esm/z-file-upload.entry.js.map +1 -1
  755. package/dist/esm/z-file.entry.js +2 -2
  756. package/dist/esm/z-file.entry.js.map +1 -1
  757. package/dist/esm/z-ghost-loading.entry.js +2 -2
  758. package/dist/esm/z-info-box.entry.js +2 -2
  759. package/dist/esm/z-info-box.entry.js.map +1 -1
  760. package/dist/esm/z-info-reveal.entry.js +2 -2
  761. package/dist/esm/z-info-reveal.entry.js.map +1 -1
  762. package/dist/esm/z-logo.entry.js +2 -2
  763. package/dist/esm/z-logo.entry.js.map +1 -1
  764. package/dist/esm/z-menu-section.entry.js +2 -2
  765. package/dist/esm/z-menu-section.entry.js.map +1 -1
  766. package/dist/esm/z-menu.entry.js +2 -2
  767. package/dist/esm/z-menu.entry.js.map +1 -1
  768. package/dist/esm/z-messages-pocket.entry.js +2 -2
  769. package/dist/esm/z-messages-pocket.entry.js.map +1 -1
  770. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  771. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  772. package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
  773. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
  774. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  775. package/dist/esm/z-myz-card-footer.entry.js +3 -3
  776. package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
  777. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  778. package/dist/esm/z-myz-card-info.entry.js +2 -2
  779. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  780. package/dist/esm/z-myz-card-list.entry.js +2 -2
  781. package/dist/esm/z-myz-card_4.entry.js +5 -5
  782. package/dist/esm/z-myz-list-item.entry.js +2 -2
  783. package/dist/esm/z-myz-list-item.entry.js.map +1 -1
  784. package/dist/esm/z-myz-list.entry.js +2 -2
  785. package/dist/esm/z-myz-list.entry.js.map +1 -1
  786. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  787. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  788. package/dist/esm/z-notification.entry.js +2 -2
  789. package/dist/esm/z-notification.entry.js.map +1 -1
  790. package/dist/esm/z-otp.entry.js +3 -3
  791. package/dist/esm/z-otp.entry.js.map +1 -1
  792. package/dist/esm/z-pagination.entry.js +2 -2
  793. package/dist/esm/z-pagination.entry.js.map +1 -1
  794. package/dist/esm/z-panel-elem.entry.js +3 -3
  795. package/dist/esm/z-panel-elem.entry.js.map +1 -1
  796. package/dist/esm/z-pocket-message.entry.js +2 -2
  797. package/dist/esm/z-pocket_3.entry.js +6 -6
  798. package/dist/esm/z-pocket_3.entry.js.map +1 -1
  799. package/dist/esm/z-popover.entry.js +2 -2
  800. package/dist/esm/z-popover.entry.js.map +1 -1
  801. package/dist/esm/z-range-picker.entry.js +4 -4
  802. package/dist/esm/z-range-picker.entry.js.map +1 -1
  803. package/dist/esm/z-section-title.entry.js +2 -2
  804. package/dist/esm/z-section-title.entry.js.map +1 -1
  805. package/dist/esm/z-select.entry.js +2 -2
  806. package/dist/esm/z-select.entry.js.map +1 -1
  807. package/dist/esm/z-skip-to-content.entry.js +3 -3
  808. package/dist/esm/z-skip-to-content.entry.js.map +1 -1
  809. package/dist/esm/z-slideshow.entry.js +1 -1
  810. package/dist/esm/z-slideshow.entry.js.map +1 -1
  811. package/dist/esm/z-stepper-item.entry.js +2 -2
  812. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  813. package/dist/esm/z-stepper.entry.js +2 -2
  814. package/dist/esm/z-stepper.entry.js.map +1 -1
  815. package/dist/esm/z-table.entry.js +8 -8
  816. package/dist/esm/z-table.entry.js.map +1 -1
  817. package/dist/esm/z-tbody.entry.js +2 -2
  818. package/dist/esm/z-td.entry.js +2 -2
  819. package/dist/esm/z-tfoot.entry.js +2 -2
  820. package/dist/esm/z-th.entry.js +2 -2
  821. package/dist/esm/z-thead.entry.js +2 -2
  822. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  823. package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
  824. package/dist/esm/z-toast-notification.entry.js +2 -2
  825. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  826. package/dist/esm/z-toggle-button.entry.js +3 -3
  827. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  828. package/dist/esm/z-toggle-switch.entry.js +5 -5
  829. package/dist/esm/z-toggle-switch.entry.js.map +1 -1
  830. package/dist/esm/z-tooltip.entry.js +2 -2
  831. package/dist/esm/z-tooltip.entry.js.map +1 -1
  832. package/dist/esm/z-tr.entry.js +4 -4
  833. package/dist/esm/z-visually-hidden.entry.js +2 -2
  834. package/dist/types/components/css-components/z-fab/index.stories.d.ts +63 -0
  835. package/dist/types/components/css-components/z-link/index.stories.d.ts +46 -0
  836. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +33 -0
  837. package/dist/types/components/date-picker/z-range-picker/index.d.ts +1 -1
  838. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +51 -0
  839. package/dist/types/components/file-upload/z-file/index.stories.d.ts +14 -0
  840. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +42 -0
  841. package/dist/types/components/list/z-list/index.d.ts +2 -2
  842. package/dist/types/components/list/z-list/index.stories.d.ts +62 -0
  843. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  844. package/dist/types/components/list/z-list-element/index.stories.d.ts +77 -0
  845. package/dist/types/components/list/z-list-group/index.d.ts +1 -1
  846. package/dist/types/components/list/z-list-group/index.stories.d.ts +46 -0
  847. package/dist/types/components/table/z-table/index.d.ts +2 -2
  848. package/dist/types/components/table/z-table/index.stories.d.ts +82 -0
  849. package/dist/types/components/z-accordion/index.d.ts +1 -1
  850. package/dist/types/components/z-accordion/index.stories.d.ts +142 -0
  851. package/dist/types/components/z-anchor-navigation/index.d.ts +12 -4
  852. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +32 -0
  853. package/dist/types/components/z-app-header/index.d.ts +149 -0
  854. package/dist/types/components/z-app-header/index.stories.d.ts +118 -0
  855. package/dist/types/components/z-aria-alert/index.stories.d.ts +26 -0
  856. package/dist/types/components/z-avatar/index.stories.d.ts +42 -0
  857. package/dist/types/components/z-book-card/index.stories.d.ts +115 -0
  858. package/dist/types/components/z-breadcrumb/index.stories.d.ts +52 -0
  859. package/dist/types/components/z-button/index.d.ts +31 -0
  860. package/dist/types/components/z-button/index.stories.d.ts +66 -0
  861. package/dist/types/components/z-button-sort/index.d.ts +28 -0
  862. package/dist/types/components/z-button-sort/index.stories.d.ts +22 -0
  863. package/dist/types/components/z-card/index.stories.d.ts +70 -0
  864. package/dist/types/components/z-carousel/index.stories.d.ts +100 -0
  865. package/dist/types/components/z-chip/index.d.ts +18 -0
  866. package/dist/types/components/z-chip/index.stories.d.ts +46 -0
  867. package/dist/types/components/z-combobox/index.d.ts +84 -0
  868. package/dist/types/components/z-combobox/index.stories.d.ts +58 -0
  869. package/dist/types/components/z-cover-hero/index.d.ts +1 -1
  870. package/dist/types/components/z-cover-hero/index.stories.d.ts +113 -0
  871. package/dist/types/components/z-divider/index.d.ts +1 -1
  872. package/dist/types/components/z-divider/index.stories.d.ts +37 -0
  873. package/dist/types/components/z-ghost-loading/index.stories.d.ts +9 -0
  874. package/dist/types/components/z-icon/index.stories.d.ts +23 -0
  875. package/dist/types/components/z-info-box/index.d.ts +14 -0
  876. package/dist/types/components/z-info-box/index.stories.d.ts +12 -0
  877. package/dist/types/components/z-info-reveal/index.stories.d.ts +42 -0
  878. package/dist/types/components/z-input/index.d.ts +110 -0
  879. package/dist/types/components/z-input/index.stories.d.ts +126 -0
  880. package/dist/types/components/z-input-message/index.d.ts +12 -0
  881. package/dist/types/components/z-input-message/index.stories.d.ts +33 -0
  882. package/dist/types/components/z-logo/index.stories.d.ts +18 -0
  883. package/dist/types/components/z-menu/index.d.ts +61 -0
  884. package/dist/types/components/z-menu/index.stories.d.ts +27 -0
  885. package/dist/types/components/z-menu-section/index.d.ts +31 -0
  886. package/dist/types/components/z-menu-section/index.stories.d.ts +16 -0
  887. package/dist/types/components/z-modal/index.d.ts +49 -0
  888. package/dist/types/components/z-modal/index.stories.d.ts +39 -0
  889. package/dist/types/components/z-navigation-tabs/index.d.ts +114 -0
  890. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +78 -0
  891. package/dist/types/components/z-notification/index.d.ts +32 -0
  892. package/dist/types/components/z-notification/index.stories.d.ts +61 -0
  893. package/dist/types/components/z-offcanvas/index.stories.d.ts +49 -0
  894. package/dist/types/components/z-pagination/index.stories.d.ts +40 -0
  895. package/dist/types/components/z-panel-elem/index.stories.d.ts +18 -0
  896. package/dist/types/components/z-popover/index.stories.d.ts +40 -0
  897. package/dist/types/components/z-searchbar/index.d.ts +80 -0
  898. package/dist/types/components/z-searchbar/index.stories.d.ts +94 -0
  899. package/dist/types/components/z-section-title/index.stories.d.ts +37 -0
  900. package/dist/types/components/z-select/index.d.ts +84 -0
  901. package/dist/types/components/z-select/index.stories.d.ts +60 -0
  902. package/dist/types/components/z-skip-to-content/index.d.ts +1 -1
  903. package/dist/types/components/z-skip-to-content/index.stories.d.ts +31 -0
  904. package/dist/types/components/z-stepper/index.d.ts +6 -0
  905. package/dist/types/components/z-stepper/index.stories.d.ts +16 -0
  906. package/dist/types/components/z-stepper-item/index.stories.d.ts +21 -0
  907. package/dist/types/components/z-tag/index.d.ts +1 -1
  908. package/dist/types/components/z-tag/index.stories.d.ts +35 -0
  909. package/dist/types/components/z-toast-notification/index.d.ts +56 -0
  910. package/dist/types/components/z-toast-notification/index.stories.d.ts +58 -0
  911. package/dist/types/components/z-toast-notification-list/index.d.ts +14 -0
  912. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +81 -0
  913. package/dist/types/components/z-toggle-button/index.d.ts +17 -0
  914. package/dist/types/components/z-toggle-button/index.stories.d.ts +16 -0
  915. package/dist/types/components/z-toggle-switch/index.d.ts +17 -0
  916. package/dist/types/components/z-toggle-switch/index.stories.d.ts +22 -0
  917. package/dist/types/components/z-tooltip/index.d.ts +32 -0
  918. package/dist/types/components/z-tooltip/index.stories.d.ts +40 -0
  919. package/dist/types/components/z-visually-hidden/index.stories.d.ts +9 -0
  920. package/dist/types/components.d.ts +30 -22
  921. package/dist/types/constants/breakpoints.d.ts +1 -1
  922. package/dist/types/constants/iconset.d.ts +1577 -0
  923. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +13 -0
  924. package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +5 -0
  925. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
  926. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
  927. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +27 -0
  928. package/dist/types/index.d.ts +2 -2
  929. package/dist/types/stencil-public-runtime.d.ts +3 -8
  930. package/dist/types/utils/storybook-utils.d.ts +38 -8
  931. package/dist/types/utils/utils.d.ts +5 -0
  932. package/dist/web-components-library/index.esm.js.map +1 -1
  933. package/dist/web-components-library/p-025f494e.js.map +1 -1
  934. package/dist/web-components-library/p-060725ef.entry.js +2 -0
  935. package/dist/web-components-library/p-060725ef.entry.js.map +1 -0
  936. package/dist/web-components-library/p-0c2fdbe5.entry.js +2 -0
  937. package/dist/web-components-library/p-0c2fdbe5.entry.js.map +1 -0
  938. package/dist/web-components-library/p-17d072c7.entry.js +2 -0
  939. package/dist/web-components-library/p-17d072c7.entry.js.map +1 -0
  940. package/dist/web-components-library/p-1c5d8cac.js +2 -0
  941. package/dist/web-components-library/p-1c5d8cac.js.map +1 -0
  942. package/dist/web-components-library/p-2010d544.entry.js +2 -0
  943. package/dist/web-components-library/p-2010d544.entry.js.map +1 -0
  944. package/dist/web-components-library/p-2395b965.entry.js +2 -0
  945. package/dist/web-components-library/p-2395b965.entry.js.map +1 -0
  946. package/dist/web-components-library/p-25a85aec.js +2 -0
  947. package/dist/web-components-library/p-25a85aec.js.map +1 -0
  948. package/dist/web-components-library/p-2c886e8b.js.map +1 -1
  949. package/dist/web-components-library/p-2ed68ac5.entry.js +2 -0
  950. package/dist/web-components-library/p-2ed68ac5.entry.js.map +1 -0
  951. package/dist/web-components-library/p-36189235.entry.js +2 -0
  952. package/dist/web-components-library/p-36189235.entry.js.map +1 -0
  953. package/dist/web-components-library/p-37f05eab.entry.js +2 -0
  954. package/dist/web-components-library/p-37f05eab.entry.js.map +1 -0
  955. package/dist/web-components-library/p-39aeb320.entry.js +2 -0
  956. package/dist/web-components-library/p-39aeb320.entry.js.map +1 -0
  957. package/dist/web-components-library/p-4170f99b.entry.js +2 -0
  958. package/dist/web-components-library/p-4170f99b.entry.js.map +1 -0
  959. package/dist/web-components-library/p-493c652a.entry.js +2 -0
  960. package/dist/web-components-library/p-493c652a.entry.js.map +1 -0
  961. package/dist/web-components-library/p-49a35cf0.js.map +1 -1
  962. package/dist/web-components-library/p-4c70b69e.entry.js +2 -0
  963. package/dist/web-components-library/p-4c70b69e.entry.js.map +1 -0
  964. package/dist/web-components-library/p-54b0b04e.js.map +1 -1
  965. package/dist/web-components-library/p-5a2fddef.entry.js +2 -0
  966. package/dist/web-components-library/p-5a2fddef.entry.js.map +1 -0
  967. package/dist/web-components-library/p-5cf2fb58.js +2 -0
  968. package/dist/web-components-library/p-5cf2fb58.js.map +1 -0
  969. package/dist/web-components-library/p-5e734fd3.entry.js +2 -0
  970. package/dist/web-components-library/p-5e734fd3.entry.js.map +1 -0
  971. package/dist/web-components-library/p-5e9b3793.entry.js +2 -0
  972. package/dist/web-components-library/p-5e9b3793.entry.js.map +1 -0
  973. package/dist/web-components-library/p-62598750.entry.js +2 -0
  974. package/dist/web-components-library/p-62598750.entry.js.map +1 -0
  975. package/dist/web-components-library/p-67d49495.entry.js +2 -0
  976. package/dist/web-components-library/p-67d49495.entry.js.map +1 -0
  977. package/dist/web-components-library/p-680ee955.entry.js +2 -0
  978. package/dist/web-components-library/p-680ee955.entry.js.map +1 -0
  979. package/dist/web-components-library/p-70914d67.entry.js +2 -0
  980. package/dist/web-components-library/p-70914d67.entry.js.map +1 -0
  981. package/dist/web-components-library/p-737293b2.js +2 -0
  982. package/dist/web-components-library/p-737293b2.js.map +1 -0
  983. package/dist/web-components-library/p-7cba8558.entry.js +2 -0
  984. package/dist/web-components-library/p-7cba8558.entry.js.map +1 -0
  985. package/dist/web-components-library/p-7ce64686.entry.js +2 -0
  986. package/dist/web-components-library/p-7ce64686.entry.js.map +1 -0
  987. package/dist/web-components-library/p-7da88300.entry.js +2 -0
  988. package/dist/web-components-library/p-7da88300.entry.js.map +1 -0
  989. package/dist/web-components-library/p-810433b1.entry.js +2 -0
  990. package/dist/web-components-library/p-810433b1.entry.js.map +1 -0
  991. package/dist/web-components-library/p-8164f039.entry.js +2 -0
  992. package/dist/web-components-library/p-8164f039.entry.js.map +1 -0
  993. package/dist/web-components-library/p-82b845c3.entry.js +2 -0
  994. package/dist/web-components-library/p-82b845c3.entry.js.map +1 -0
  995. package/dist/web-components-library/p-82e3760c.entry.js +2 -0
  996. package/dist/web-components-library/p-82e3760c.entry.js.map +1 -0
  997. package/dist/web-components-library/p-85930223.entry.js +2 -0
  998. package/dist/web-components-library/p-85930223.entry.js.map +1 -0
  999. package/dist/web-components-library/p-89c1d12d.entry.js +2 -0
  1000. package/dist/web-components-library/p-89c1d12d.entry.js.map +1 -0
  1001. package/dist/web-components-library/p-8cedb801.entry.js +2 -0
  1002. package/dist/web-components-library/p-8cedb801.entry.js.map +1 -0
  1003. package/dist/web-components-library/p-93d39e70.entry.js +2 -0
  1004. package/dist/web-components-library/p-93d39e70.entry.js.map +1 -0
  1005. package/dist/web-components-library/p-955da62e.js.map +1 -1
  1006. package/dist/web-components-library/p-965094e0.entry.js +2 -0
  1007. package/dist/web-components-library/p-965094e0.entry.js.map +1 -0
  1008. package/dist/web-components-library/p-96584abb.entry.js +2 -0
  1009. package/dist/web-components-library/p-96584abb.entry.js.map +1 -0
  1010. package/dist/web-components-library/p-9c50d9cc.entry.js +2 -0
  1011. package/dist/web-components-library/p-9c50d9cc.entry.js.map +1 -0
  1012. package/dist/web-components-library/p-9dc8cdd2.entry.js +17 -0
  1013. package/dist/web-components-library/p-9dc8cdd2.entry.js.map +1 -0
  1014. package/dist/web-components-library/p-9dd4a4a5.entry.js +2 -0
  1015. package/dist/web-components-library/p-9dd4a4a5.entry.js.map +1 -0
  1016. package/dist/web-components-library/p-a0893037.entry.js +2 -0
  1017. package/dist/web-components-library/p-a0893037.entry.js.map +1 -0
  1018. package/dist/web-components-library/p-a11e1d48.entry.js +2 -0
  1019. package/dist/web-components-library/p-a11e1d48.entry.js.map +1 -0
  1020. package/dist/web-components-library/p-a789b863.entry.js +2 -0
  1021. package/dist/web-components-library/p-a789b863.entry.js.map +1 -0
  1022. package/dist/web-components-library/p-a8265231.entry.js +2 -0
  1023. package/dist/web-components-library/p-a8265231.entry.js.map +1 -0
  1024. package/dist/web-components-library/p-b064878a.entry.js +2 -0
  1025. package/dist/web-components-library/p-b064878a.entry.js.map +1 -0
  1026. package/dist/web-components-library/p-b6d2f646.entry.js +2 -0
  1027. package/dist/web-components-library/p-b6d2f646.entry.js.map +1 -0
  1028. package/dist/web-components-library/p-b72193fc.entry.js +2 -0
  1029. package/dist/web-components-library/p-b72193fc.entry.js.map +1 -0
  1030. package/dist/web-components-library/p-b741a768.entry.js +2 -0
  1031. package/dist/web-components-library/p-b741a768.entry.js.map +1 -0
  1032. package/dist/web-components-library/p-b9078348.js +2 -0
  1033. package/dist/web-components-library/p-b9078348.js.map +1 -0
  1034. package/dist/web-components-library/p-bc552513.entry.js +2 -0
  1035. package/dist/web-components-library/p-bc552513.entry.js.map +1 -0
  1036. package/dist/web-components-library/p-bf7c05a8.entry.js +2 -0
  1037. package/dist/web-components-library/p-bf7c05a8.entry.js.map +1 -0
  1038. package/dist/web-components-library/p-bfb58cca.entry.js +2 -0
  1039. package/dist/web-components-library/p-bfb58cca.entry.js.map +1 -0
  1040. package/dist/web-components-library/p-c5127319.entry.js +2 -0
  1041. package/dist/web-components-library/p-c5127319.entry.js.map +1 -0
  1042. package/dist/web-components-library/p-cc3c02fe.js +3 -0
  1043. package/dist/web-components-library/p-cc3c02fe.js.map +1 -0
  1044. package/dist/web-components-library/p-d22d5fcb.entry.js +2 -0
  1045. package/dist/web-components-library/p-d22d5fcb.entry.js.map +1 -0
  1046. package/dist/web-components-library/p-d594caea.entry.js +2 -0
  1047. package/dist/web-components-library/p-d594caea.entry.js.map +1 -0
  1048. package/dist/web-components-library/p-d73386ae.entry.js +2 -0
  1049. package/dist/web-components-library/p-d73386ae.entry.js.map +1 -0
  1050. package/dist/web-components-library/p-d8413391.entry.js +2 -0
  1051. package/dist/web-components-library/p-d8413391.entry.js.map +1 -0
  1052. package/dist/web-components-library/p-dde9f76d.entry.js +2 -0
  1053. package/dist/web-components-library/p-dde9f76d.entry.js.map +1 -0
  1054. package/dist/web-components-library/p-e1255160.js +2 -0
  1055. package/dist/web-components-library/p-e1255160.js.map +1 -0
  1056. package/dist/web-components-library/p-e43b10db.entry.js +2 -0
  1057. package/dist/web-components-library/p-e43b10db.entry.js.map +1 -0
  1058. package/dist/web-components-library/p-eac17dfe.entry.js +2 -0
  1059. package/dist/web-components-library/p-eac17dfe.entry.js.map +1 -0
  1060. package/dist/web-components-library/p-ee290d4c.entry.js +2 -0
  1061. package/dist/web-components-library/p-ee290d4c.entry.js.map +1 -0
  1062. package/dist/web-components-library/p-f12d9a47.entry.js +2 -0
  1063. package/dist/web-components-library/p-f12d9a47.entry.js.map +1 -0
  1064. package/dist/web-components-library/p-f393de28.entry.js +2 -0
  1065. package/dist/web-components-library/p-f393de28.entry.js.map +1 -0
  1066. package/dist/web-components-library/p-f625d532.entry.js +2 -0
  1067. package/dist/web-components-library/p-f625d532.entry.js.map +1 -0
  1068. package/dist/web-components-library/p-f6b886ab.entry.js +2 -0
  1069. package/dist/web-components-library/p-f6b886ab.entry.js.map +1 -0
  1070. package/dist/web-components-library/p-f7180c65.entry.js +2 -0
  1071. package/dist/web-components-library/p-f7180c65.entry.js.map +1 -0
  1072. package/dist/web-components-library/p-f978d22d.entry.js +2 -0
  1073. package/dist/web-components-library/p-f978d22d.entry.js.map +1 -0
  1074. package/dist/web-components-library/p-fbad70dd.entry.js +2 -0
  1075. package/dist/web-components-library/p-fbad70dd.entry.js.map +1 -0
  1076. package/dist/web-components-library/p-fdd176e2.entry.js +2 -0
  1077. package/dist/web-components-library/p-fdd176e2.entry.js.map +1 -0
  1078. package/dist/web-components-library/p-feca4075.js +2 -0
  1079. package/dist/web-components-library/p-feca4075.js.map +1 -0
  1080. package/dist/web-components-library/web-components-library.esm.js +1 -1
  1081. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  1082. package/loader/cdn.js +1 -3
  1083. package/loader/index.cjs.js +1 -3
  1084. package/loader/index.es2017.js +1 -3
  1085. package/loader/index.js +1 -3
  1086. package/package.json +37 -34
  1087. package/react/components.js +80 -80
  1088. package/react/components.js.map +1 -1
  1089. package/react/index.js +5 -1
  1090. package/react/index.js.map +1 -1
  1091. package/react/react-component-lib/createComponent.d.ts +1 -1
  1092. package/react/react-component-lib/createComponent.js +12 -8
  1093. package/react/react-component-lib/createComponent.js.map +1 -1
  1094. package/react/react-component-lib/createOverlayComponent.js +6 -6
  1095. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  1096. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  1097. package/react/react-component-lib/utils/attachProps.js +5 -5
  1098. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  1099. package/react/react-component-lib/utils/dev.js +1 -1
  1100. package/react/react-component-lib/utils/dev.js.map +1 -1
  1101. package/react/react-component-lib/utils/index.d.ts +3 -3
  1102. package/react/react-component-lib/utils/index.js +6 -2
  1103. package/react/react-component-lib/utils/index.js.map +1 -1
  1104. package/readme.md +8 -7
  1105. package/www/build/index.esm.js.map +1 -1
  1106. package/www/build/p-025f494e.js.map +1 -1
  1107. package/www/build/p-060725ef.entry.js +2 -0
  1108. package/www/build/p-060725ef.entry.js.map +1 -0
  1109. package/www/build/p-0c2fdbe5.entry.js +2 -0
  1110. package/www/build/p-0c2fdbe5.entry.js.map +1 -0
  1111. package/www/build/p-17d072c7.entry.js +2 -0
  1112. package/www/build/p-17d072c7.entry.js.map +1 -0
  1113. package/www/build/p-1c5d8cac.js +2 -0
  1114. package/www/build/p-1c5d8cac.js.map +1 -0
  1115. package/www/build/p-2010d544.entry.js +2 -0
  1116. package/www/build/p-2010d544.entry.js.map +1 -0
  1117. package/www/build/p-2395b965.entry.js +2 -0
  1118. package/www/build/p-2395b965.entry.js.map +1 -0
  1119. package/www/build/p-25a85aec.js +2 -0
  1120. package/www/build/p-25a85aec.js.map +1 -0
  1121. package/www/build/p-2c886e8b.js.map +1 -1
  1122. package/www/build/p-2ed68ac5.entry.js +2 -0
  1123. package/www/build/p-2ed68ac5.entry.js.map +1 -0
  1124. package/www/build/p-36189235.entry.js +2 -0
  1125. package/www/build/p-36189235.entry.js.map +1 -0
  1126. package/www/build/p-37f05eab.entry.js +2 -0
  1127. package/www/build/p-37f05eab.entry.js.map +1 -0
  1128. package/www/build/p-39aeb320.entry.js +2 -0
  1129. package/www/build/p-39aeb320.entry.js.map +1 -0
  1130. package/www/build/p-4170f99b.entry.js +2 -0
  1131. package/www/build/p-4170f99b.entry.js.map +1 -0
  1132. package/www/build/p-493c652a.entry.js +2 -0
  1133. package/www/build/p-493c652a.entry.js.map +1 -0
  1134. package/www/build/p-49a35cf0.js.map +1 -1
  1135. package/www/build/p-4c70b69e.entry.js +2 -0
  1136. package/www/build/p-4c70b69e.entry.js.map +1 -0
  1137. package/www/build/p-54b0b04e.js.map +1 -1
  1138. package/www/build/p-5a2fddef.entry.js +2 -0
  1139. package/www/build/p-5a2fddef.entry.js.map +1 -0
  1140. package/www/build/p-5cf2fb58.js +2 -0
  1141. package/www/build/p-5cf2fb58.js.map +1 -0
  1142. package/www/build/p-5e734fd3.entry.js +2 -0
  1143. package/www/build/p-5e734fd3.entry.js.map +1 -0
  1144. package/www/build/p-5e9b3793.entry.js +2 -0
  1145. package/www/build/p-5e9b3793.entry.js.map +1 -0
  1146. package/www/build/p-62598750.entry.js +2 -0
  1147. package/www/build/p-62598750.entry.js.map +1 -0
  1148. package/www/build/p-67d49495.entry.js +2 -0
  1149. package/www/build/p-67d49495.entry.js.map +1 -0
  1150. package/www/build/p-680ee955.entry.js +2 -0
  1151. package/www/build/p-680ee955.entry.js.map +1 -0
  1152. package/www/build/p-70914d67.entry.js +2 -0
  1153. package/www/build/p-70914d67.entry.js.map +1 -0
  1154. package/www/build/p-737293b2.js +2 -0
  1155. package/www/build/p-737293b2.js.map +1 -0
  1156. package/www/build/p-7cba8558.entry.js +2 -0
  1157. package/www/build/p-7cba8558.entry.js.map +1 -0
  1158. package/www/build/p-7ce64686.entry.js +2 -0
  1159. package/www/build/p-7ce64686.entry.js.map +1 -0
  1160. package/www/build/p-7da88300.entry.js +2 -0
  1161. package/www/build/p-7da88300.entry.js.map +1 -0
  1162. package/www/build/p-810433b1.entry.js +2 -0
  1163. package/www/build/p-810433b1.entry.js.map +1 -0
  1164. package/www/build/p-8164f039.entry.js +2 -0
  1165. package/www/build/p-8164f039.entry.js.map +1 -0
  1166. package/www/build/p-82b845c3.entry.js +2 -0
  1167. package/www/build/p-82b845c3.entry.js.map +1 -0
  1168. package/www/build/p-82e3760c.entry.js +2 -0
  1169. package/www/build/p-82e3760c.entry.js.map +1 -0
  1170. package/www/build/p-85930223.entry.js +2 -0
  1171. package/www/build/p-85930223.entry.js.map +1 -0
  1172. package/www/build/p-89c1d12d.entry.js +2 -0
  1173. package/www/build/p-89c1d12d.entry.js.map +1 -0
  1174. package/www/build/p-8cedb801.entry.js +2 -0
  1175. package/www/build/p-8cedb801.entry.js.map +1 -0
  1176. package/www/build/p-93d39e70.entry.js +2 -0
  1177. package/www/build/p-93d39e70.entry.js.map +1 -0
  1178. package/www/build/p-955da62e.js.map +1 -1
  1179. package/www/build/p-965094e0.entry.js +2 -0
  1180. package/www/build/p-965094e0.entry.js.map +1 -0
  1181. package/www/build/p-96584abb.entry.js +2 -0
  1182. package/www/build/p-96584abb.entry.js.map +1 -0
  1183. package/www/build/p-9c50d9cc.entry.js +2 -0
  1184. package/www/build/p-9c50d9cc.entry.js.map +1 -0
  1185. package/www/build/p-9dc8cdd2.entry.js +17 -0
  1186. package/www/build/p-9dc8cdd2.entry.js.map +1 -0
  1187. package/www/build/p-9dd4a4a5.entry.js +2 -0
  1188. package/www/build/p-9dd4a4a5.entry.js.map +1 -0
  1189. package/www/build/p-a0893037.entry.js +2 -0
  1190. package/www/build/p-a0893037.entry.js.map +1 -0
  1191. package/www/build/p-a11e1d48.entry.js +2 -0
  1192. package/www/build/p-a11e1d48.entry.js.map +1 -0
  1193. package/www/build/p-a789b863.entry.js +2 -0
  1194. package/www/build/p-a789b863.entry.js.map +1 -0
  1195. package/www/build/p-a8265231.entry.js +2 -0
  1196. package/www/build/p-a8265231.entry.js.map +1 -0
  1197. package/www/build/p-b064878a.entry.js +2 -0
  1198. package/www/build/p-b064878a.entry.js.map +1 -0
  1199. package/www/build/p-b6d2f646.entry.js +2 -0
  1200. package/www/build/p-b6d2f646.entry.js.map +1 -0
  1201. package/www/build/p-b72193fc.entry.js +2 -0
  1202. package/www/build/p-b72193fc.entry.js.map +1 -0
  1203. package/www/build/p-b741a768.entry.js +2 -0
  1204. package/www/build/p-b741a768.entry.js.map +1 -0
  1205. package/www/build/p-b9078348.js +2 -0
  1206. package/www/build/p-b9078348.js.map +1 -0
  1207. package/www/build/p-bc552513.entry.js +2 -0
  1208. package/www/build/p-bc552513.entry.js.map +1 -0
  1209. package/www/build/p-bf7c05a8.entry.js +2 -0
  1210. package/www/build/p-bf7c05a8.entry.js.map +1 -0
  1211. package/www/build/p-bfb58cca.entry.js +2 -0
  1212. package/www/build/p-bfb58cca.entry.js.map +1 -0
  1213. package/www/build/p-c5127319.entry.js +2 -0
  1214. package/www/build/p-c5127319.entry.js.map +1 -0
  1215. package/www/build/p-cc3c02fe.js +3 -0
  1216. package/www/build/p-cc3c02fe.js.map +1 -0
  1217. package/www/build/p-d22d5fcb.entry.js +2 -0
  1218. package/www/build/p-d22d5fcb.entry.js.map +1 -0
  1219. package/www/build/p-d594caea.entry.js +2 -0
  1220. package/www/build/p-d594caea.entry.js.map +1 -0
  1221. package/www/build/p-d73386ae.entry.js +2 -0
  1222. package/www/build/p-d73386ae.entry.js.map +1 -0
  1223. package/www/build/p-d8413391.entry.js +2 -0
  1224. package/www/build/p-d8413391.entry.js.map +1 -0
  1225. package/www/build/p-d97a3b56.js +2 -0
  1226. package/www/build/p-dde9f76d.entry.js +2 -0
  1227. package/www/build/p-dde9f76d.entry.js.map +1 -0
  1228. package/www/build/p-e1255160.js +2 -0
  1229. package/www/build/p-e1255160.js.map +1 -0
  1230. package/www/build/p-e43b10db.entry.js +2 -0
  1231. package/www/build/p-e43b10db.entry.js.map +1 -0
  1232. package/www/build/p-eac17dfe.entry.js +2 -0
  1233. package/www/build/p-eac17dfe.entry.js.map +1 -0
  1234. package/www/build/p-ee290d4c.entry.js +2 -0
  1235. package/www/build/p-ee290d4c.entry.js.map +1 -0
  1236. package/www/build/p-f12d9a47.entry.js +2 -0
  1237. package/www/build/p-f12d9a47.entry.js.map +1 -0
  1238. package/www/build/p-f393de28.entry.js +2 -0
  1239. package/www/build/p-f393de28.entry.js.map +1 -0
  1240. package/www/build/p-f625d532.entry.js +2 -0
  1241. package/www/build/p-f625d532.entry.js.map +1 -0
  1242. package/www/build/p-f6b886ab.entry.js +2 -0
  1243. package/www/build/p-f6b886ab.entry.js.map +1 -0
  1244. package/www/build/p-f7180c65.entry.js +2 -0
  1245. package/www/build/p-f7180c65.entry.js.map +1 -0
  1246. package/www/build/p-f978d22d.entry.js +2 -0
  1247. package/www/build/p-f978d22d.entry.js.map +1 -0
  1248. package/www/build/p-fbad70dd.entry.js +2 -0
  1249. package/www/build/p-fbad70dd.entry.js.map +1 -0
  1250. package/www/build/p-fdd176e2.entry.js +2 -0
  1251. package/www/build/p-fdd176e2.entry.js.map +1 -0
  1252. package/www/build/p-feca4075.js +2 -0
  1253. package/www/build/p-feca4075.js.map +1 -0
  1254. package/www/build/web-components-library.esm.js +1 -1
  1255. package/www/build/web-components-library.esm.js.map +1 -1
  1256. package/www/index.html +1 -1
  1257. package/www/pages/book-cards.html +1 -1
  1258. package/www/pages/file-upload.html +1 -1
  1259. package/www/pages/notification.html +1 -1
  1260. package/dist/cjs/index-178a9413.js +0 -20
  1261. package/dist/cjs/index-178a9413.js.map +0 -1
  1262. package/dist/cjs/index-3836ecee.js +0 -46
  1263. package/dist/cjs/index-3836ecee.js.map +0 -1
  1264. package/dist/cjs/index-79559e1d.js +0 -21
  1265. package/dist/cjs/index-79559e1d.js.map +0 -1
  1266. package/dist/cjs/index-7c62141b.js +0 -59
  1267. package/dist/cjs/index-7c62141b.js.map +0 -1
  1268. package/dist/cjs/index-8eae84b7.js +0 -21
  1269. package/dist/cjs/index-8eae84b7.js.map +0 -1
  1270. package/dist/cjs/index-dc60bee7.js +0 -3140
  1271. package/dist/cjs/index-dc60bee7.js.map +0 -1
  1272. package/dist/cjs/index-e5ff8fd3.js +0 -65
  1273. package/dist/cjs/index-e5ff8fd3.js.map +0 -1
  1274. package/dist/collection/components/buttons/z-button/index.js +0 -268
  1275. package/dist/collection/components/buttons/z-button/index.js.map +0 -1
  1276. package/dist/collection/components/buttons/z-button/index.spec.js +0 -101
  1277. package/dist/collection/components/buttons/z-button/index.spec.js.map +0 -1
  1278. package/dist/collection/components/buttons/z-button-sort/index.js +0 -221
  1279. package/dist/collection/components/buttons/z-button-sort/index.js.map +0 -1
  1280. package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +0 -1
  1281. package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +0 -1
  1282. package/dist/collection/components/buttons/z-chip/index.js +0 -148
  1283. package/dist/collection/components/buttons/z-chip/index.js.map +0 -1
  1284. package/dist/collection/components/buttons/z-chip/index.spec.js.map +0 -1
  1285. package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
  1286. package/dist/collection/components/buttons/z-toggle-button/index.js.map +0 -1
  1287. package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +0 -1
  1288. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -147
  1289. package/dist/collection/components/buttons/z-toggle-switch/index.js.map +0 -1
  1290. package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +0 -1
  1291. package/dist/collection/components/icons/icons.js +0 -873
  1292. package/dist/collection/components/icons/icons.js.map +0 -1
  1293. package/dist/collection/components/icons/z-icon/index.js +0 -122
  1294. package/dist/collection/components/icons/z-icon/index.js.map +0 -1
  1295. package/dist/collection/components/icons/z-icon/index.spec.js +0 -96
  1296. package/dist/collection/components/icons/z-icon/index.spec.js.map +0 -1
  1297. package/dist/collection/components/indicators/z-stepper/index.js +0 -22
  1298. package/dist/collection/components/indicators/z-stepper/index.js.map +0 -1
  1299. package/dist/collection/components/indicators/z-stepper/index.spec.js.map +0 -1
  1300. package/dist/collection/components/indicators/z-stepper-item/index.js +0 -122
  1301. package/dist/collection/components/indicators/z-stepper-item/index.js.map +0 -1
  1302. package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +0 -1
  1303. package/dist/collection/components/inputs/z-combobox/index.js +0 -643
  1304. package/dist/collection/components/inputs/z-combobox/index.js.map +0 -1
  1305. package/dist/collection/components/inputs/z-combobox/index.spec.js.map +0 -1
  1306. package/dist/collection/components/inputs/z-input/index.js +0 -957
  1307. package/dist/collection/components/inputs/z-input/index.js.map +0 -1
  1308. package/dist/collection/components/inputs/z-input/styles.css +0 -397
  1309. package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +0 -1
  1310. package/dist/collection/components/inputs/z-input/test-methods.spec.js +0 -13
  1311. package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +0 -1
  1312. package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +0 -1
  1313. package/dist/collection/components/inputs/z-input/test-text.spec.js +0 -347
  1314. package/dist/collection/components/inputs/z-input/test-text.spec.js.map +0 -1
  1315. package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +0 -1
  1316. package/dist/collection/components/inputs/z-input/test.e2e.js +0 -180
  1317. package/dist/collection/components/inputs/z-input/test.e2e.js.map +0 -1
  1318. package/dist/collection/components/inputs/z-input-message/index.js +0 -93
  1319. package/dist/collection/components/inputs/z-input-message/index.js.map +0 -1
  1320. package/dist/collection/components/inputs/z-input-message/index.spec.js.map +0 -1
  1321. package/dist/collection/components/inputs/z-searchbar/index.js +0 -616
  1322. package/dist/collection/components/inputs/z-searchbar/index.js.map +0 -1
  1323. package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +0 -1
  1324. package/dist/collection/components/inputs/z-select/index.js +0 -778
  1325. package/dist/collection/components/inputs/z-select/index.js.map +0 -1
  1326. package/dist/collection/components/inputs/z-select/index.spec.js.map +0 -1
  1327. package/dist/collection/components/list/z-toast-notification-list/index.js +0 -107
  1328. package/dist/collection/components/list/z-toast-notification-list/index.js.map +0 -1
  1329. package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +0 -1
  1330. package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +0 -1
  1331. package/dist/collection/components/logo/z-logo/index.js +0 -140
  1332. package/dist/collection/components/logo/z-logo/index.js.map +0 -1
  1333. package/dist/collection/components/logo/z-logo/index.spec.js.map +0 -1
  1334. package/dist/collection/components/logo/z-logo/test.e2e.js.map +0 -1
  1335. package/dist/collection/components/modal/z-modal/index.js +0 -357
  1336. package/dist/collection/components/modal/z-modal/index.js.map +0 -1
  1337. package/dist/collection/components/modal/z-modal/index.spec.js.map +0 -1
  1338. package/dist/collection/components/navigation/z-app-header/index.js +0 -420
  1339. package/dist/collection/components/navigation/z-app-header/index.js.map +0 -1
  1340. package/dist/collection/components/navigation/z-app-header/index.spec.js.map +0 -1
  1341. package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
  1342. package/dist/collection/components/navigation/z-menu/index.js +0 -244
  1343. package/dist/collection/components/navigation/z-menu/index.js.map +0 -1
  1344. package/dist/collection/components/navigation/z-menu/index.spec.js.map +0 -1
  1345. package/dist/collection/components/navigation/z-menu-section/index.js +0 -131
  1346. package/dist/collection/components/navigation/z-menu-section/index.js.map +0 -1
  1347. package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +0 -1
  1348. package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -373
  1349. package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +0 -1
  1350. package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
  1351. package/dist/collection/components/notification/z-info-box/index.js +0 -86
  1352. package/dist/collection/components/notification/z-info-box/index.js.map +0 -1
  1353. package/dist/collection/components/notification/z-info-box/index.spec.js.map +0 -1
  1354. package/dist/collection/components/notification/z-notification/index.js +0 -194
  1355. package/dist/collection/components/notification/z-notification/index.js.map +0 -1
  1356. package/dist/collection/components/notification/z-notification/index.spec.js.map +0 -1
  1357. package/dist/collection/components/notification/z-notification/test.e2e.js.map +0 -1
  1358. package/dist/collection/components/notification/z-toast-notification/index.js +0 -406
  1359. package/dist/collection/components/notification/z-toast-notification/index.js.map +0 -1
  1360. package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +0 -1
  1361. package/dist/collection/components/notification/z-tooltip/index.js +0 -151
  1362. package/dist/collection/components/notification/z-tooltip/index.js.map +0 -1
  1363. package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
  1364. package/dist/collection/components/panel/z-panel-elem/index.js.map +0 -1
  1365. package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +0 -1
  1366. package/dist/components/icons.js +0 -876
  1367. package/dist/components/icons.js.map +0 -1
  1368. package/dist/esm/index-076dde65.js +0 -18
  1369. package/dist/esm/index-076dde65.js.map +0 -1
  1370. package/dist/esm/index-14aee9cb.js +0 -57
  1371. package/dist/esm/index-14aee9cb.js.map +0 -1
  1372. package/dist/esm/index-2d440333.js +0 -19
  1373. package/dist/esm/index-2d440333.js.map +0 -1
  1374. package/dist/esm/index-2ee978fb.js +0 -19
  1375. package/dist/esm/index-2ee978fb.js.map +0 -1
  1376. package/dist/esm/index-8db8e65f.js +0 -63
  1377. package/dist/esm/index-8db8e65f.js.map +0 -1
  1378. package/dist/esm/index-a3d19e3a.js +0 -44
  1379. package/dist/esm/index-a3d19e3a.js.map +0 -1
  1380. package/dist/esm/index-f16bc2ca.js +0 -3110
  1381. package/dist/esm/index-f16bc2ca.js.map +0 -1
  1382. package/dist/esm/polyfills/core-js.js +0 -11
  1383. package/dist/esm/polyfills/dom.js +0 -79
  1384. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1385. package/dist/esm/polyfills/index.js +0 -34
  1386. package/dist/esm/polyfills/system.js +0 -6
  1387. package/dist/types/components/buttons/z-button/index.d.ts +0 -31
  1388. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
  1389. package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
  1390. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
  1391. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
  1392. package/dist/types/components/icons/icons.d.ts +0 -1577
  1393. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
  1394. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -84
  1395. package/dist/types/components/inputs/z-input/index.d.ts +0 -110
  1396. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
  1397. package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -80
  1398. package/dist/types/components/inputs/z-select/index.d.ts +0 -84
  1399. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
  1400. package/dist/types/components/modal/z-modal/index.d.ts +0 -49
  1401. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
  1402. package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
  1403. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
  1404. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
  1405. package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
  1406. package/dist/types/components/notification/z-notification/index.d.ts +0 -32
  1407. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
  1408. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
  1409. package/dist/web-components-library/p-05849d8d.entry.js +0 -2
  1410. package/dist/web-components-library/p-05849d8d.entry.js.map +0 -1
  1411. package/dist/web-components-library/p-10589629.entry.js +0 -2
  1412. package/dist/web-components-library/p-10589629.entry.js.map +0 -1
  1413. package/dist/web-components-library/p-10bb4f4b.js +0 -3
  1414. package/dist/web-components-library/p-10bb4f4b.js.map +0 -1
  1415. package/dist/web-components-library/p-118241ec.entry.js +0 -2
  1416. package/dist/web-components-library/p-118241ec.entry.js.map +0 -1
  1417. package/dist/web-components-library/p-11b26c59.entry.js +0 -2
  1418. package/dist/web-components-library/p-11b26c59.entry.js.map +0 -1
  1419. package/dist/web-components-library/p-12d181f4.entry.js +0 -2
  1420. package/dist/web-components-library/p-12d181f4.entry.js.map +0 -1
  1421. package/dist/web-components-library/p-13e18838.entry.js +0 -2
  1422. package/dist/web-components-library/p-13e18838.entry.js.map +0 -1
  1423. package/dist/web-components-library/p-1b870733.entry.js +0 -2
  1424. package/dist/web-components-library/p-1b870733.entry.js.map +0 -1
  1425. package/dist/web-components-library/p-217291fe.entry.js +0 -2
  1426. package/dist/web-components-library/p-217291fe.entry.js.map +0 -1
  1427. package/dist/web-components-library/p-27b0663c.entry.js +0 -2
  1428. package/dist/web-components-library/p-27b0663c.entry.js.map +0 -1
  1429. package/dist/web-components-library/p-2c05849f.entry.js +0 -2
  1430. package/dist/web-components-library/p-2c05849f.entry.js.map +0 -1
  1431. package/dist/web-components-library/p-2c1cbcf2.entry.js +0 -2
  1432. package/dist/web-components-library/p-2c1cbcf2.entry.js.map +0 -1
  1433. package/dist/web-components-library/p-2df79d5c.entry.js +0 -2
  1434. package/dist/web-components-library/p-2df79d5c.entry.js.map +0 -1
  1435. package/dist/web-components-library/p-2ebf9e17.js +0 -2
  1436. package/dist/web-components-library/p-2ebf9e17.js.map +0 -1
  1437. package/dist/web-components-library/p-2f2f460a.entry.js +0 -2
  1438. package/dist/web-components-library/p-2f2f460a.entry.js.map +0 -1
  1439. package/dist/web-components-library/p-3092c82f.entry.js +0 -2
  1440. package/dist/web-components-library/p-3092c82f.entry.js.map +0 -1
  1441. package/dist/web-components-library/p-3ba8b8e1.entry.js +0 -2
  1442. package/dist/web-components-library/p-3ba8b8e1.entry.js.map +0 -1
  1443. package/dist/web-components-library/p-3bae6330.entry.js +0 -2
  1444. package/dist/web-components-library/p-3bae6330.entry.js.map +0 -1
  1445. package/dist/web-components-library/p-410ec9a2.entry.js +0 -2
  1446. package/dist/web-components-library/p-410ec9a2.entry.js.map +0 -1
  1447. package/dist/web-components-library/p-414c9659.entry.js +0 -2
  1448. package/dist/web-components-library/p-414c9659.entry.js.map +0 -1
  1449. package/dist/web-components-library/p-4574595b.entry.js +0 -2
  1450. package/dist/web-components-library/p-4574595b.entry.js.map +0 -1
  1451. package/dist/web-components-library/p-45d7e54e.entry.js +0 -2
  1452. package/dist/web-components-library/p-45d7e54e.entry.js.map +0 -1
  1453. package/dist/web-components-library/p-48c16e8f.js +0 -2
  1454. package/dist/web-components-library/p-48c16e8f.js.map +0 -1
  1455. package/dist/web-components-library/p-4bc0818d.js +0 -2
  1456. package/dist/web-components-library/p-4bc0818d.js.map +0 -1
  1457. package/dist/web-components-library/p-4d2be9e5.entry.js +0 -2
  1458. package/dist/web-components-library/p-4d2be9e5.entry.js.map +0 -1
  1459. package/dist/web-components-library/p-4d2e328d.entry.js +0 -2
  1460. package/dist/web-components-library/p-4d2e328d.entry.js.map +0 -1
  1461. package/dist/web-components-library/p-4dd8d4e8.entry.js +0 -2
  1462. package/dist/web-components-library/p-4dd8d4e8.entry.js.map +0 -1
  1463. package/dist/web-components-library/p-5441ba83.entry.js +0 -2
  1464. package/dist/web-components-library/p-5441ba83.entry.js.map +0 -1
  1465. package/dist/web-components-library/p-54681ece.entry.js +0 -2
  1466. package/dist/web-components-library/p-54681ece.entry.js.map +0 -1
  1467. package/dist/web-components-library/p-5c50cc2d.entry.js +0 -2
  1468. package/dist/web-components-library/p-5c50cc2d.entry.js.map +0 -1
  1469. package/dist/web-components-library/p-6398da61.js +0 -2
  1470. package/dist/web-components-library/p-6398da61.js.map +0 -1
  1471. package/dist/web-components-library/p-64683cca.entry.js +0 -2
  1472. package/dist/web-components-library/p-64683cca.entry.js.map +0 -1
  1473. package/dist/web-components-library/p-6e8b7c93.entry.js +0 -2
  1474. package/dist/web-components-library/p-6e8b7c93.entry.js.map +0 -1
  1475. package/dist/web-components-library/p-6f023899.entry.js +0 -2
  1476. package/dist/web-components-library/p-6f023899.entry.js.map +0 -1
  1477. package/dist/web-components-library/p-7441b8f8.entry.js +0 -2
  1478. package/dist/web-components-library/p-7441b8f8.entry.js.map +0 -1
  1479. package/dist/web-components-library/p-74b2b9a0.entry.js +0 -2
  1480. package/dist/web-components-library/p-74b2b9a0.entry.js.map +0 -1
  1481. package/dist/web-components-library/p-771a4c2f.entry.js +0 -2
  1482. package/dist/web-components-library/p-771a4c2f.entry.js.map +0 -1
  1483. package/dist/web-components-library/p-7e442c5f.entry.js +0 -2
  1484. package/dist/web-components-library/p-7e442c5f.entry.js.map +0 -1
  1485. package/dist/web-components-library/p-7ef963d4.js +0 -2
  1486. package/dist/web-components-library/p-7ef963d4.js.map +0 -1
  1487. package/dist/web-components-library/p-a2b43ed1.entry.js +0 -2
  1488. package/dist/web-components-library/p-a2b43ed1.entry.js.map +0 -1
  1489. package/dist/web-components-library/p-a402854c.entry.js +0 -2
  1490. package/dist/web-components-library/p-a402854c.entry.js.map +0 -1
  1491. package/dist/web-components-library/p-a6fcefe7.entry.js +0 -2
  1492. package/dist/web-components-library/p-a6fcefe7.entry.js.map +0 -1
  1493. package/dist/web-components-library/p-b0ef19c7.js +0 -2
  1494. package/dist/web-components-library/p-b0ef19c7.js.map +0 -1
  1495. package/dist/web-components-library/p-b4ad044a.entry.js +0 -2
  1496. package/dist/web-components-library/p-b4ad044a.entry.js.map +0 -1
  1497. package/dist/web-components-library/p-b53e9a21.entry.js +0 -2
  1498. package/dist/web-components-library/p-b53e9a21.entry.js.map +0 -1
  1499. package/dist/web-components-library/p-b67887e7.entry.js +0 -2
  1500. package/dist/web-components-library/p-b67887e7.entry.js.map +0 -1
  1501. package/dist/web-components-library/p-b93c49a8.entry.js +0 -2
  1502. package/dist/web-components-library/p-b93c49a8.entry.js.map +0 -1
  1503. package/dist/web-components-library/p-b94b71b8.entry.js +0 -2
  1504. package/dist/web-components-library/p-b94b71b8.entry.js.map +0 -1
  1505. package/dist/web-components-library/p-c19aca30.entry.js +0 -2
  1506. package/dist/web-components-library/p-c19aca30.entry.js.map +0 -1
  1507. package/dist/web-components-library/p-c49ca2a9.entry.js +0 -2
  1508. package/dist/web-components-library/p-c49ca2a9.entry.js.map +0 -1
  1509. package/dist/web-components-library/p-c4e40901.entry.js +0 -2
  1510. package/dist/web-components-library/p-c4e40901.entry.js.map +0 -1
  1511. package/dist/web-components-library/p-d02bc360.entry.js +0 -2
  1512. package/dist/web-components-library/p-d02bc360.entry.js.map +0 -1
  1513. package/dist/web-components-library/p-d8c631d6.entry.js +0 -2
  1514. package/dist/web-components-library/p-d8c631d6.entry.js.map +0 -1
  1515. package/dist/web-components-library/p-d973f170.entry.js +0 -2
  1516. package/dist/web-components-library/p-d973f170.entry.js.map +0 -1
  1517. package/dist/web-components-library/p-d9f3ae73.entry.js +0 -2
  1518. package/dist/web-components-library/p-d9f3ae73.entry.js.map +0 -1
  1519. package/dist/web-components-library/p-dcd73f91.entry.js +0 -2
  1520. package/dist/web-components-library/p-dcd73f91.entry.js.map +0 -1
  1521. package/dist/web-components-library/p-dde6c887.entry.js +0 -2
  1522. package/dist/web-components-library/p-dde6c887.entry.js.map +0 -1
  1523. package/dist/web-components-library/p-e1b99a10.entry.js +0 -2
  1524. package/dist/web-components-library/p-e1b99a10.entry.js.map +0 -1
  1525. package/dist/web-components-library/p-e338f042.entry.js +0 -2
  1526. package/dist/web-components-library/p-e338f042.entry.js.map +0 -1
  1527. package/dist/web-components-library/p-e75ca94d.entry.js +0 -2
  1528. package/dist/web-components-library/p-e75ca94d.entry.js.map +0 -1
  1529. package/dist/web-components-library/p-ed1a5ee3.entry.js +0 -2
  1530. package/dist/web-components-library/p-ed1a5ee3.entry.js.map +0 -1
  1531. package/dist/web-components-library/p-ed65d0d2.entry.js +0 -2
  1532. package/dist/web-components-library/p-ed65d0d2.entry.js.map +0 -1
  1533. package/dist/web-components-library/p-edb8975a.entry.js +0 -2
  1534. package/dist/web-components-library/p-edb8975a.entry.js.map +0 -1
  1535. package/dist/web-components-library/p-ee03249d.entry.js +0 -2
  1536. package/dist/web-components-library/p-ee03249d.entry.js.map +0 -1
  1537. package/dist/web-components-library/p-ef43ca85.entry.js +0 -2
  1538. package/dist/web-components-library/p-ef43ca85.entry.js.map +0 -1
  1539. package/dist/web-components-library/p-f41da106.entry.js +0 -2
  1540. package/dist/web-components-library/p-f41da106.entry.js.map +0 -1
  1541. package/dist/web-components-library/p-f48575f1.entry.js +0 -2
  1542. package/dist/web-components-library/p-f48575f1.entry.js.map +0 -1
  1543. package/dist/web-components-library/p-f9edfd67.entry.js +0 -2
  1544. package/dist/web-components-library/p-f9edfd67.entry.js.map +0 -1
  1545. package/dist/web-components-library/p-fc4bd856.entry.js +0 -17
  1546. package/dist/web-components-library/p-fc4bd856.entry.js.map +0 -1
  1547. package/dist/web-components-library/p-feaee92d.entry.js +0 -2
  1548. package/dist/web-components-library/p-feaee92d.entry.js.map +0 -1
  1549. package/www/build/p-05849d8d.entry.js +0 -2
  1550. package/www/build/p-05849d8d.entry.js.map +0 -1
  1551. package/www/build/p-10589629.entry.js +0 -2
  1552. package/www/build/p-10589629.entry.js.map +0 -1
  1553. package/www/build/p-10bb4f4b.js +0 -3
  1554. package/www/build/p-10bb4f4b.js.map +0 -1
  1555. package/www/build/p-118241ec.entry.js +0 -2
  1556. package/www/build/p-118241ec.entry.js.map +0 -1
  1557. package/www/build/p-11b26c59.entry.js +0 -2
  1558. package/www/build/p-11b26c59.entry.js.map +0 -1
  1559. package/www/build/p-12d181f4.entry.js +0 -2
  1560. package/www/build/p-12d181f4.entry.js.map +0 -1
  1561. package/www/build/p-13e18838.entry.js +0 -2
  1562. package/www/build/p-13e18838.entry.js.map +0 -1
  1563. package/www/build/p-1b870733.entry.js +0 -2
  1564. package/www/build/p-1b870733.entry.js.map +0 -1
  1565. package/www/build/p-217291fe.entry.js +0 -2
  1566. package/www/build/p-217291fe.entry.js.map +0 -1
  1567. package/www/build/p-27b0663c.entry.js +0 -2
  1568. package/www/build/p-27b0663c.entry.js.map +0 -1
  1569. package/www/build/p-2c05849f.entry.js +0 -2
  1570. package/www/build/p-2c05849f.entry.js.map +0 -1
  1571. package/www/build/p-2c1cbcf2.entry.js +0 -2
  1572. package/www/build/p-2c1cbcf2.entry.js.map +0 -1
  1573. package/www/build/p-2df79d5c.entry.js +0 -2
  1574. package/www/build/p-2df79d5c.entry.js.map +0 -1
  1575. package/www/build/p-2ebf9e17.js +0 -2
  1576. package/www/build/p-2ebf9e17.js.map +0 -1
  1577. package/www/build/p-2f2f460a.entry.js +0 -2
  1578. package/www/build/p-2f2f460a.entry.js.map +0 -1
  1579. package/www/build/p-304150c5.js +0 -2
  1580. package/www/build/p-3092c82f.entry.js +0 -2
  1581. package/www/build/p-3092c82f.entry.js.map +0 -1
  1582. package/www/build/p-3ba8b8e1.entry.js +0 -2
  1583. package/www/build/p-3ba8b8e1.entry.js.map +0 -1
  1584. package/www/build/p-3bae6330.entry.js +0 -2
  1585. package/www/build/p-3bae6330.entry.js.map +0 -1
  1586. package/www/build/p-410ec9a2.entry.js +0 -2
  1587. package/www/build/p-410ec9a2.entry.js.map +0 -1
  1588. package/www/build/p-414c9659.entry.js +0 -2
  1589. package/www/build/p-414c9659.entry.js.map +0 -1
  1590. package/www/build/p-4574595b.entry.js +0 -2
  1591. package/www/build/p-4574595b.entry.js.map +0 -1
  1592. package/www/build/p-45d7e54e.entry.js +0 -2
  1593. package/www/build/p-45d7e54e.entry.js.map +0 -1
  1594. package/www/build/p-48c16e8f.js +0 -2
  1595. package/www/build/p-48c16e8f.js.map +0 -1
  1596. package/www/build/p-4bc0818d.js +0 -2
  1597. package/www/build/p-4bc0818d.js.map +0 -1
  1598. package/www/build/p-4d2be9e5.entry.js +0 -2
  1599. package/www/build/p-4d2be9e5.entry.js.map +0 -1
  1600. package/www/build/p-4d2e328d.entry.js +0 -2
  1601. package/www/build/p-4d2e328d.entry.js.map +0 -1
  1602. package/www/build/p-4dd8d4e8.entry.js +0 -2
  1603. package/www/build/p-4dd8d4e8.entry.js.map +0 -1
  1604. package/www/build/p-5441ba83.entry.js +0 -2
  1605. package/www/build/p-5441ba83.entry.js.map +0 -1
  1606. package/www/build/p-54681ece.entry.js +0 -2
  1607. package/www/build/p-54681ece.entry.js.map +0 -1
  1608. package/www/build/p-5c50cc2d.entry.js +0 -2
  1609. package/www/build/p-5c50cc2d.entry.js.map +0 -1
  1610. package/www/build/p-6398da61.js +0 -2
  1611. package/www/build/p-6398da61.js.map +0 -1
  1612. package/www/build/p-64683cca.entry.js +0 -2
  1613. package/www/build/p-64683cca.entry.js.map +0 -1
  1614. package/www/build/p-6e8b7c93.entry.js +0 -2
  1615. package/www/build/p-6e8b7c93.entry.js.map +0 -1
  1616. package/www/build/p-6f023899.entry.js +0 -2
  1617. package/www/build/p-6f023899.entry.js.map +0 -1
  1618. package/www/build/p-7441b8f8.entry.js +0 -2
  1619. package/www/build/p-7441b8f8.entry.js.map +0 -1
  1620. package/www/build/p-74b2b9a0.entry.js +0 -2
  1621. package/www/build/p-74b2b9a0.entry.js.map +0 -1
  1622. package/www/build/p-771a4c2f.entry.js +0 -2
  1623. package/www/build/p-771a4c2f.entry.js.map +0 -1
  1624. package/www/build/p-7e442c5f.entry.js +0 -2
  1625. package/www/build/p-7e442c5f.entry.js.map +0 -1
  1626. package/www/build/p-7ef963d4.js +0 -2
  1627. package/www/build/p-7ef963d4.js.map +0 -1
  1628. package/www/build/p-a2b43ed1.entry.js +0 -2
  1629. package/www/build/p-a2b43ed1.entry.js.map +0 -1
  1630. package/www/build/p-a402854c.entry.js +0 -2
  1631. package/www/build/p-a402854c.entry.js.map +0 -1
  1632. package/www/build/p-a6fcefe7.entry.js +0 -2
  1633. package/www/build/p-a6fcefe7.entry.js.map +0 -1
  1634. package/www/build/p-b0ef19c7.js +0 -2
  1635. package/www/build/p-b0ef19c7.js.map +0 -1
  1636. package/www/build/p-b4ad044a.entry.js +0 -2
  1637. package/www/build/p-b4ad044a.entry.js.map +0 -1
  1638. package/www/build/p-b53e9a21.entry.js +0 -2
  1639. package/www/build/p-b53e9a21.entry.js.map +0 -1
  1640. package/www/build/p-b67887e7.entry.js +0 -2
  1641. package/www/build/p-b67887e7.entry.js.map +0 -1
  1642. package/www/build/p-b93c49a8.entry.js +0 -2
  1643. package/www/build/p-b93c49a8.entry.js.map +0 -1
  1644. package/www/build/p-b94b71b8.entry.js +0 -2
  1645. package/www/build/p-b94b71b8.entry.js.map +0 -1
  1646. package/www/build/p-c19aca30.entry.js +0 -2
  1647. package/www/build/p-c19aca30.entry.js.map +0 -1
  1648. package/www/build/p-c49ca2a9.entry.js +0 -2
  1649. package/www/build/p-c49ca2a9.entry.js.map +0 -1
  1650. package/www/build/p-c4e40901.entry.js +0 -2
  1651. package/www/build/p-c4e40901.entry.js.map +0 -1
  1652. package/www/build/p-d02bc360.entry.js +0 -2
  1653. package/www/build/p-d02bc360.entry.js.map +0 -1
  1654. package/www/build/p-d8c631d6.entry.js +0 -2
  1655. package/www/build/p-d8c631d6.entry.js.map +0 -1
  1656. package/www/build/p-d973f170.entry.js +0 -2
  1657. package/www/build/p-d973f170.entry.js.map +0 -1
  1658. package/www/build/p-d9f3ae73.entry.js +0 -2
  1659. package/www/build/p-d9f3ae73.entry.js.map +0 -1
  1660. package/www/build/p-dcd73f91.entry.js +0 -2
  1661. package/www/build/p-dcd73f91.entry.js.map +0 -1
  1662. package/www/build/p-dde6c887.entry.js +0 -2
  1663. package/www/build/p-dde6c887.entry.js.map +0 -1
  1664. package/www/build/p-e1b99a10.entry.js +0 -2
  1665. package/www/build/p-e1b99a10.entry.js.map +0 -1
  1666. package/www/build/p-e338f042.entry.js +0 -2
  1667. package/www/build/p-e338f042.entry.js.map +0 -1
  1668. package/www/build/p-e75ca94d.entry.js +0 -2
  1669. package/www/build/p-e75ca94d.entry.js.map +0 -1
  1670. package/www/build/p-ed1a5ee3.entry.js +0 -2
  1671. package/www/build/p-ed1a5ee3.entry.js.map +0 -1
  1672. package/www/build/p-ed65d0d2.entry.js +0 -2
  1673. package/www/build/p-ed65d0d2.entry.js.map +0 -1
  1674. package/www/build/p-edb8975a.entry.js +0 -2
  1675. package/www/build/p-edb8975a.entry.js.map +0 -1
  1676. package/www/build/p-ee03249d.entry.js +0 -2
  1677. package/www/build/p-ee03249d.entry.js.map +0 -1
  1678. package/www/build/p-ef43ca85.entry.js +0 -2
  1679. package/www/build/p-ef43ca85.entry.js.map +0 -1
  1680. package/www/build/p-f41da106.entry.js +0 -2
  1681. package/www/build/p-f41da106.entry.js.map +0 -1
  1682. package/www/build/p-f48575f1.entry.js +0 -2
  1683. package/www/build/p-f48575f1.entry.js.map +0 -1
  1684. package/www/build/p-f9edfd67.entry.js +0 -2
  1685. package/www/build/p-f9edfd67.entry.js.map +0 -1
  1686. package/www/build/p-fc4bd856.entry.js +0 -17
  1687. package/www/build/p-fc4bd856.entry.js.map +0 -1
  1688. package/www/build/p-feaee92d.entry.js +0 -2
  1689. package/www/build/p-feaee92d.entry.js.map +0 -1
  1690. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/index.spec.js +0 -0
  1691. /package/dist/collection/components/{navigation/z-app-header → z-app-header}/styles.css +0 -0
  1692. /package/dist/collection/components/{buttons/z-button → z-button}/styles.css +0 -0
  1693. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/index.spec.js +0 -0
  1694. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/styles.css +0 -0
  1695. /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/test.e2e.js +0 -0
  1696. /package/dist/collection/components/{buttons/z-chip → z-chip}/index.spec.js +0 -0
  1697. /package/dist/collection/components/{buttons/z-chip → z-chip}/styles.css +0 -0
  1698. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/index.spec.js +0 -0
  1699. /package/dist/collection/components/{inputs/z-combobox → z-combobox}/styles.css +0 -0
  1700. /package/dist/collection/components/{icons/z-icon → z-icon}/styles.css +0 -0
  1701. /package/dist/collection/components/{notification/z-info-box → z-info-box}/index.spec.js +0 -0
  1702. /package/dist/collection/components/{notification/z-info-box → z-info-box}/styles.css +0 -0
  1703. /package/dist/collection/components/{inputs/z-input → z-input}/test-checkbox.spec.js +0 -0
  1704. /package/dist/collection/components/{inputs/z-input → z-input}/test-radio.spec.js +0 -0
  1705. /package/dist/collection/components/{inputs/z-input → z-input}/test-textarea.spec.js +0 -0
  1706. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/index.spec.js +0 -0
  1707. /package/dist/collection/components/{inputs/z-input-message → z-input-message}/styles.css +0 -0
  1708. /package/dist/collection/components/{logo/z-logo → z-logo}/index.spec.js +0 -0
  1709. /package/dist/collection/components/{logo/z-logo → z-logo}/styles.css +0 -0
  1710. /package/dist/collection/components/{logo/z-logo → z-logo}/test.e2e.js +0 -0
  1711. /package/dist/collection/components/{navigation/z-menu → z-menu}/index.spec.js +0 -0
  1712. /package/dist/collection/components/{navigation/z-menu → z-menu}/styles.css +0 -0
  1713. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/index.spec.js +0 -0
  1714. /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/styles.css +0 -0
  1715. /package/dist/collection/components/{modal/z-modal → z-modal}/index.spec.js +0 -0
  1716. /package/dist/collection/components/{modal/z-modal → z-modal}/styles.css +0 -0
  1717. /package/dist/collection/components/{navigation/z-navigation-tabs → z-navigation-tabs}/styles.css +0 -0
  1718. /package/dist/collection/components/{notification/z-notification → z-notification}/index.spec.js +0 -0
  1719. /package/dist/collection/components/{notification/z-notification → z-notification}/styles.css +0 -0
  1720. /package/dist/collection/components/{notification/z-notification → z-notification}/test.e2e.js +0 -0
  1721. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/index.spec.js +0 -0
  1722. /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/styles.css +0 -0
  1723. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/index.spec.js +0 -0
  1724. /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/styles.css +0 -0
  1725. /package/dist/collection/components/{inputs/z-select → z-select}/index.spec.js +0 -0
  1726. /package/dist/collection/components/{inputs/z-select → z-select}/styles.css +0 -0
  1727. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/index.spec.js +0 -0
  1728. /package/dist/collection/components/{indicators/z-stepper → z-stepper}/styles.css +0 -0
  1729. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/index.spec.js +0 -0
  1730. /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/styles.css +0 -0
  1731. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/index.spec.js +0 -0
  1732. /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/styles.css +0 -0
  1733. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/index.spec.js +0 -0
  1734. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/styles.css +0 -0
  1735. /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/test.e2e.js +0 -0
  1736. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/index.spec.js +0 -0
  1737. /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/styles.css +0 -0
  1738. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/index.spec.js +0 -0
  1739. /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/styles.css +0 -0
  1740. /package/dist/collection/components/{notification/z-tooltip → z-tooltip}/styles.css +0 -0
  1741. /package/dist/types/components/{icons/z-icon → z-icon}/index.d.ts +0 -0
  1742. /package/dist/types/components/{logo/z-logo → z-logo}/index.d.ts +0 -0
  1743. /package/dist/types/components/{panel/z-panel-elem → z-panel-elem}/index.d.ts +0 -0
  1744. /package/dist/types/components/{indicators/z-stepper-item → z-stepper-item}/index.d.ts +0 -0
@@ -0,0 +1,292 @@
1
+ import { html } from "lit";
2
+ import { styleMap } from "lit/directives/style-map.js";
3
+ import { CardVariant } from "../../beans";
4
+ import "../z-icon/index";
5
+ import "./index";
6
+ import "./index.stories.css";
7
+ const StoryMeta = {
8
+ title: "ZCard",
9
+ component: "z-card",
10
+ argTypes: {
11
+ variant: {
12
+ control: {
13
+ type: "inline-radio",
14
+ labels: {
15
+ null: "default",
16
+ },
17
+ },
18
+ options: [null, ...Object.values(CardVariant)],
19
+ },
20
+ },
21
+ args: {
22
+ variant: null,
23
+ showShadow: false,
24
+ clickable: false,
25
+ },
26
+ };
27
+ export default StoryMeta;
28
+ export const WithImage = {
29
+ render: (args) => html `
30
+ <z-card
31
+ class="demo-card"
32
+ .variant="${args.variant}"
33
+ .showShadow="${args.showShadow}"
34
+ .clickable="${args.clickable}"
35
+ >
36
+ <img
37
+ slot="cover"
38
+ src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
39
+ />
40
+ <span
41
+ class="body-5"
42
+ slot="metadata"
43
+ >
44
+ metadata
45
+ </span>
46
+ <a
47
+ href="https://google.it"
48
+ target="_blank"
49
+ slot="title"
50
+ >
51
+ <span>Card title</span>
52
+ </a>
53
+ <p
54
+ class="body-3"
55
+ slot="text"
56
+ >
57
+ Some description for the content of the card.
58
+ </p>
59
+ <button slot="action"><z-icon name="share"></z-icon></button>
60
+ <button slot="action"><z-icon name="delete"></z-icon></button>
61
+ </z-card>
62
+ `,
63
+ };
64
+ export const WithImageAndIcon = {
65
+ args: {
66
+ coverIcon: "play-filled",
67
+ },
68
+ render: (args) => html `
69
+ <z-card
70
+ class="demo-card"
71
+ cover-icon="${args.coverIcon}"
72
+ .variant="${args.variant}"
73
+ .showShadow="${args.showShadow}"
74
+ .clickable="${args.clickable}"
75
+ >
76
+ <img
77
+ slot="cover"
78
+ src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
79
+ />
80
+ <h2
81
+ class="body-5"
82
+ slot="metadata"
83
+ >
84
+ metadata
85
+ </h2>
86
+ <a
87
+ href="https://google.it"
88
+ target="_blank"
89
+ slot="title"
90
+ >
91
+ <span>Card title</span>
92
+ </a>
93
+ <p
94
+ class="body-3"
95
+ slot="text"
96
+ >
97
+ Some description for the content of the card.
98
+ </p>
99
+ <button slot="action"><z-icon name="share"></z-icon></button>
100
+ <button slot="action"><z-icon name="delete"></z-icon></button>
101
+ </z-card>
102
+ `,
103
+ };
104
+ export const ColorCover = {
105
+ args: {
106
+ "--z-card--color-cover-background": "var(--yellow500)",
107
+ },
108
+ render: (args) => html `
109
+ <z-card
110
+ class="demo-card"
111
+ .variant="${args.variant}"
112
+ .showShadow="${args.showShadow}"
113
+ .clickable="${args.clickable}"
114
+ style="--z-card--color-cover-background: ${args["--z-card--color-cover-background"]};"
115
+ >
116
+ <h2
117
+ class="body-5"
118
+ slot="metadata"
119
+ >
120
+ metadata
121
+ </h2>
122
+ <a
123
+ href="https://google.it"
124
+ target="_blank"
125
+ slot="title"
126
+ >
127
+ <span>Card title</span>
128
+ </a>
129
+ <p
130
+ class="body-3"
131
+ slot="text"
132
+ >
133
+ Some description for the content of the card.
134
+ </p>
135
+ <button slot="action"><z-icon name="share"></z-icon></button>
136
+ <button slot="action"><z-icon name="delete"></z-icon></button>
137
+ </z-card>
138
+ `,
139
+ };
140
+ export const TextVariantPrimaryBackground = {
141
+ args: {
142
+ "--z-card--text-border-radius": "4px",
143
+ },
144
+ parameters: {
145
+ controls: {
146
+ exclude: ["variant"],
147
+ },
148
+ },
149
+ render: (args) => html `
150
+ <z-card
151
+ class="text-variant-card"
152
+ variant="text"
153
+ .showShadow="${args.showShadow}"
154
+ .clickable="${args.clickable}"
155
+ style=${styleMap({
156
+ "--z-card--text-background": "var(--color-primary01)",
157
+ "--z-card--text-border-radius": `${args["--z-card--text-border-radius"]}`,
158
+ "color": "var(--color-text-inverse)",
159
+ })}
160
+ >
161
+ <h2
162
+ class="body-5"
163
+ slot="metadata"
164
+ >
165
+ metadata
166
+ </h2>
167
+ <a
168
+ href="https://google.it"
169
+ target="_blank"
170
+ slot="title"
171
+ >
172
+ <span>Card title</span>
173
+ </a>
174
+ <p
175
+ class="body-3"
176
+ slot="text"
177
+ >
178
+ Some description for the content of the card.
179
+ </p>
180
+ <button slot="action">
181
+ <z-icon
182
+ name="share"
183
+ fill="color-surface01"
184
+ ></z-icon>
185
+ </button>
186
+ <button slot="action">
187
+ <z-icon
188
+ name="delete"
189
+ fill="color-surface01"
190
+ ></z-icon>
191
+ </button>
192
+ </z-card>
193
+ `,
194
+ };
195
+ export const TextVariantWhiteBackgroundAndBordered = {
196
+ args: {
197
+ "--z-card--text-border": "2px solid var(--gray800)",
198
+ "--z-card--text-border-radius": "4px",
199
+ "--z-card--text-padding": "16px 8px",
200
+ },
201
+ parameters: {
202
+ controls: {
203
+ exclude: ["variant"],
204
+ },
205
+ },
206
+ render: (args) => html `<z-card
207
+ class="text-variant-card"
208
+ variant="text"
209
+ .showShadow="${args.showShadow}"
210
+ .clickable="${args.clickable}"
211
+ style=${styleMap({
212
+ "--z-card--text-background": `var(--color-white)`,
213
+ "--z-card--text-border": `${args["--z-card--text-border"]}`,
214
+ "--z-card--text-border-radius": `${args["--z-card--text-border-radius"]}`,
215
+ "--z-card--text-padding": `${args["--z-card--text-padding"]}`,
216
+ })}
217
+ >
218
+ <h2
219
+ class="body-5"
220
+ slot="metadata"
221
+ >
222
+ metadata
223
+ </h2>
224
+ <a
225
+ href="https://google.it"
226
+ target="_blank"
227
+ slot="title"
228
+ >
229
+ <span>Card title</span>
230
+ </a>
231
+ <p
232
+ class="body-3"
233
+ slot="text"
234
+ >
235
+ Some description for the content of the card.
236
+ </p>
237
+ <button slot="action">
238
+ <z-icon
239
+ name="share"
240
+ fill="color-primary01"
241
+ ></z-icon>
242
+ </button>
243
+ <button slot="action">
244
+ <z-icon
245
+ name="delete"
246
+ fill="color-primary01"
247
+ ></z-icon>
248
+ </button>
249
+ </z-card>`,
250
+ };
251
+ export const WithImageAndClick = {
252
+ render: (args) => html `
253
+ <script>
254
+ document.getElementById("btn-card").addEventListener("click", (e) => {
255
+ // emit event, do stuff
256
+ alert("Click on card");
257
+ });
258
+ </script>
259
+ <z-card
260
+ class="demo-card"
261
+ .variant="${args.variant}"
262
+ .showShadow="${args.showShadow}"
263
+ .clickable="${args.clickable}"
264
+ >
265
+ <img
266
+ slot="cover"
267
+ src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
268
+ />
269
+ <span
270
+ class="body-5"
271
+ slot="metadata"
272
+ >
273
+ metadata
274
+ </span>
275
+ <button
276
+ id="btn-card"
277
+ slot="title"
278
+ >
279
+ <span>Card title</span>
280
+ </button>
281
+ <p
282
+ class="body-3"
283
+ slot="text"
284
+ >
285
+ Some description for the content of the card.
286
+ </p>
287
+ <button slot="action"><z-icon name="share"></z-icon></button>
288
+ <button slot="action"><z-icon name="delete"></z-icon></button>
289
+ </z-card>
290
+ `,
291
+ };
292
+ //# sourceMappingURL=index.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-card/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAU7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;gBACpB,MAAM,EAAE;oBACN,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SAC/C;KACF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,KAAK;KACjB;CAC+B,CAAC;AAEnC,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;kBAGN,IAAI,CAAC,OAAO;qBACT,IAAI,CAAC,UAAU;oBAChB,IAAI,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4B/B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE;QACJ,SAAS,EAAE,aAAa;KACzB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;oBAGJ,IAAI,CAAC,SAAS;kBAChB,IAAI,CAAC,OAAO;qBACT,IAAI,CA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QACf,2BAA2B,EAAE,oBAAoB;QACjD,uBAAuB,EAAE,GAAG,IAAI,CAAC,uBAAuB,CAAC,EAAE;QAC3D,8BAA8B,EAAE,GAAG,IAAI,CAAC,8BAA8B,CAAC,EAAE;QACzE,wBAAwB,EAAE,GAAG,IAAI,CAAC,wBAAwB,CAAC,EAAE;KAC9D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiCM;CACG,CAAC;AAElB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;kBASN,IAAI,CAAC,OAAO;qBACT,IAAI,CAAC,UAAU;oBAChB,IAAI,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2B/B;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {ZCard} from \".\";\nimport {CardVariant} from \"../../beans\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZCardStoriesArgs = ZCard &\n CSSVarsArguments<\n | \"z-card--color-cover-background\"\n | \"z-card--color-cover-background\"\n | \"z-card--text-border\"\n | \"z-card--text-border-radius\"\n | \"z-card--text-padding\"\n >;\nconst StoryMeta = {\n title: \"ZCard\",\n component: \"z-card\",\n argTypes: {\n variant: {\n control: {\n type: \"inline-radio\",\n labels: {\n null: \"default\",\n },\n },\n options: [null, ...Object.values(CardVariant)],\n },\n },\n args: {\n variant: null,\n showShadow: false,\n clickable: false,\n },\n} satisfies Meta<ZCardStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZCardStoriesArgs>;\n\nexport const WithImage = {\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <span\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </span>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const WithImageAndIcon = {\n args: {\n coverIcon: \"play-filled\",\n },\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n cover-icon=\"${args.coverIcon}\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const ColorCover = {\n args: {\n \"--z-card--color-cover-background\": \"var(--yellow500)\",\n },\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=\"--z-card--color-cover-background: ${args[\"--z-card--color-cover-background\"]};\"\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const TextVariantPrimaryBackground = {\n args: {\n \"--z-card--text-border-radius\": \"4px\",\n },\n parameters: {\n controls: {\n exclude: [\"variant\"],\n },\n },\n render: (args) => html`\n <z-card\n class=\"text-variant-card\"\n variant=\"text\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=${styleMap({\n \"--z-card--text-background\": \"var(--color-primary01)\",\n \"--z-card--text-border-radius\": `${args[\"--z-card--text-border-radius\"]}`,\n \"color\": \"var(--color-text-inverse)\",\n })}\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\">\n <z-icon\n name=\"share\"\n fill=\"color-surface01\"\n ></z-icon>\n </button>\n <button slot=\"action\">\n <z-icon\n name=\"delete\"\n fill=\"color-surface01\"\n ></z-icon>\n </button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const TextVariantWhiteBackgroundAndBordered = {\n args: {\n \"--z-card--text-border\": \"2px solid var(--gray800)\",\n \"--z-card--text-border-radius\": \"4px\",\n \"--z-card--text-padding\": \"16px 8px\",\n },\n parameters: {\n controls: {\n exclude: [\"variant\"],\n },\n },\n render: (args) =>\n html`<z-card\n class=\"text-variant-card\"\n variant=\"text\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=${styleMap({\n \"--z-card--text-background\": `var(--color-white)`,\n \"--z-card--text-border\": `${args[\"--z-card--text-border\"]}`,\n \"--z-card--text-border-radius\": `${args[\"--z-card--text-border-radius\"]}`,\n \"--z-card--text-padding\": `${args[\"--z-card--text-padding\"]}`,\n })}\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\">\n <z-icon\n name=\"share\"\n fill=\"color-primary01\"\n ></z-icon>\n </button>\n <button slot=\"action\">\n <z-icon\n name=\"delete\"\n fill=\"color-primary01\"\n ></z-icon>\n </button>\n </z-card>`,\n} satisfies Story;\n\nexport const WithImageAndClick = {\n render: (args) => html`\n <script>\n document.getElementById(\"btn-card\").addEventListener(\"click\", (e) => {\n // emit event, do stuff\n alert(\"Click on card\");\n });\n </script>\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <span\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </span>\n <button\n id=\"btn-card\"\n slot=\"title\"\n >\n <span>Card title</span>\n </button>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n"]}
@@ -1,5 +1,5 @@
1
- import { h, Host } from "@stencil/core";
2
- import { CarouselArrowsPosition, CarouselProgressMode, ButtonVariant } from "../../beans";
1
+ import { Host, h } from "@stencil/core";
2
+ import { ButtonVariant, CarouselArrowsPosition, CarouselProgressMode } from "../../beans";
3
3
  /**
4
4
  * ZCarousel component.
5
5
  * @cssprop --z-carousel-gutter - The gutter between items.
@@ -1 +1 @@
1
- {"version":3,"file":"index.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AAS,IAAE,IAAI,CAAC,OAAO,GAAG,CAAC,CAAQ;oBAC/C,qBAAe;oBACf,gBAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAQ,CAC5B,CACP;gBACA,IAAI,CAAC,cAAc,KAAK,sBAAsB,CAAC,MAAM,IAAI,CACxD,gBACE,KAAK,EAAC,6BAA6B,EACnC,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,aAAa,EAClB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAC/B,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,eAAe,EACjD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,gCAAgC,GAC1F,CACH,CACG,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop, Element, Watch, Event, EventEmitter, State, Host} from \"@stencil/core\";\nimport {CarouselArrowsPosition, CarouselProgressMode, ButtonVariant} 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"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,aAAa,EAAE,sBAAsB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAExF;;;;;GAKG;AAMH,MAAM,OAAO,SAAS;;QAkEpB,wGAAwG;QAChG,gBAAW,GAAW,IAAI,CAAC;;;sBAtD1B,KAAK;;;2BAgBA,IAAI;kCAIG,GAAG;wBAIb,KAAK;uBAIN,CAAC;;;;;;IAiCX,aAAa;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACrD,CAAC;IAGD,kBAAkB;QAChB,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAC9C,IAAI,CAAC,uBAAuB,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;IAGD,oBAAoB;QAClB,IAAI,CAAC,uBAAuB,EAAE,CAAC;IACjC,CAAC;IAED;;;;OAIG;IACK,uBAAuB;QAC7B,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CAClD,CAAC,OAAO,EAAE,EAAE;YACV,MAAM,KAAK,GAAG,OA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AAC,mBAAmB,CAAC,CAAC,CAAC,yBAAyB,KAAK,GAAG,CAAC,EAAE,EAElG,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAC/B,CACH,CAAC,CACE,CACP;gBACA,IAAI,CAAC,YAAY,KAAK,oBAAoB,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,IAAI,CAClF,WAAK,KAAK,EAAC,gCAAgC;oBACzC,YAAM,KAAK,EAAC,SAAS,IAAE,IAAI,CAAC,OAAO,GAAG,CAAC,CAAQ;oBAC/C,qBAAe;oBACf,gBAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAQ,CAC5B,CACP;gBACA,IAAI,CAAC,cAAc,KAAK,sBAAsB,CAAC,MAAM,IAAI,CACxD,gBACE,KAAK,EAAC,6BAA6B,EACnC,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,aAAa,EAClB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAC/B,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,eAAe,EACjD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,gCAAgC,GAC1F,CACH,CACG,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
@@ -0,0 +1,129 @@
1
+ import { html } from "lit";
2
+ import { repeat } from "lit/directives/repeat.js";
3
+ import { CarouselArrowsPosition, CarouselProgressMode } from "../../beans";
4
+ import "../z-ghost-loading/index";
5
+ import "./index";
6
+ import "./index.stories.css";
7
+ /**
8
+ * This component was conceived as a list of elements to respect the rules of accessibility (https://www.w3.org/WAI/tutorials/carousels/working-example/).
9
+ * Pass any number of elements inside its main `slot`.
10
+ * @example```html
11
+ * <z-carousel>
12
+ * <li>element</li>
13
+ * <li>element</li>
14
+ * <li>element</li>
15
+ * </z-carousel>
16
+ * ```
17
+ * > Note: always use `li` elements as direct children of `z-carousel`, as it wraps them with an `ul` element.
18
+ * You can set the gutter between the elements by using the `--z-carousel-gutter` custom property.
19
+ * @example```css
20
+ * z-carousel {
21
+ * --z-carousel-gutter: calc(var(--space-unit) * 2);
22
+ * }```
23
+ */
24
+ const StoryMeta = {
25
+ title: "ZCarousel",
26
+ component: "z-carousel",
27
+ decorators: [(Story) => html `<div class="z-carousel-story-container">${Story()}</div>`],
28
+ };
29
+ export default StoryMeta;
30
+ export const SlideshowWithArrowsOver = {
31
+ args: {
32
+ "label": "",
33
+ "--z-carousel-gutter": "var(--space-unit)",
34
+ "infinite": false,
35
+ "fixedArrows": true,
36
+ "itemsCount": 8,
37
+ },
38
+ render: (args) => html `<z-carousel
39
+ .arrowsPosition=${CarouselArrowsPosition.OVER}
40
+ .fixedArrows=${args.fixedArrows}
41
+ .infinite=${args.infinite}
42
+ label=${args.label}
43
+ style="--z-carousel-gutter: ${args["--z-carousel-gutter"]}"
44
+ >
45
+ ${repeat([...new Array(args.itemsCount)].map((_, i) => i), (i) => i, (_, index) => html `<li><div class="carousel-box">${index + 1}</div></li>`)}
46
+ </z-carousel>`,
47
+ };
48
+ export const SingleMode = {
49
+ parameters: {
50
+ layout: "centered",
51
+ },
52
+ argTypes: {
53
+ arrowsPosition: {
54
+ control: {
55
+ type: "inline-radio",
56
+ },
57
+ options: Object.values(CarouselArrowsPosition),
58
+ },
59
+ progressMode: {
60
+ control: {
61
+ type: "inline-radio",
62
+ },
63
+ options: Object.values(CarouselProgressMode),
64
+ },
65
+ },
66
+ args: {
67
+ label: "Carousel title",
68
+ progressMode: CarouselProgressMode.DOTS,
69
+ arrowsPosition: CarouselArrowsPosition.BOTTOM,
70
+ infinite: false,
71
+ fixedArrows: true,
72
+ itemsCount: 8,
73
+ },
74
+ render: (args) => html `<z-carousel
75
+ .arrowsPosition=${args.arrowsPosition}
76
+ .fixedArrows=${args.fixedArrows}
77
+ .infinite=${args.infinite}
78
+ .progressMode=${args.progressMode}
79
+ .single=${true}
80
+ label=${args.label}
81
+ >
82
+ ${repeat([...new Array(args.itemsCount)].map((_, i) => i), (i) => i, (_, index) => html `<li><div class="carousel-box">${index + 1}</div></li>`)}
83
+ </z-carousel>`,
84
+ };
85
+ /**
86
+ * You can handle ghost loading for the whole z-carousel by setting two properties:
87
+ * - `isLoading` (boolean): to show a `z-ghost-loading` component instead of the carousel content.
88
+ * - `ghostLoadingHeight` (number): to set the height of the `z-ghost-loading` component.
89
+ * You can also manually handle ghost loading by putting <z-ghost-loading> elements as items.
90
+ */
91
+ export const GhostLoading = {
92
+ args: {
93
+ label: "Carousel title",
94
+ ghostLoadingHeight: 265,
95
+ },
96
+ parameters: {
97
+ controls: {
98
+ exclude: ["infinite"],
99
+ },
100
+ },
101
+ render: (args) => html `<z-carousel
102
+ label=${args.label}
103
+ .isLoading=${true}
104
+ .ghostLoadingHeight=${args.ghostLoadingHeight}
105
+ ></z-carousel>`,
106
+ };
107
+ export const LoadingItems = {
108
+ args: {
109
+ "label": "Carousel title",
110
+ "--z-carousel-gutter": "8px",
111
+ },
112
+ parameters: {
113
+ controls: {
114
+ exclude: ["infinite"],
115
+ },
116
+ },
117
+ render: (args) => html `<z-carousel
118
+ label=${args.label}
119
+ .infinite=${args.infinite}
120
+ style="--z-carousel-gutter: ${args["--z-carousel-gutter"]}"
121
+ >
122
+ ${repeat(new Array(8), () => html `<li>
123
+ <div class="carousel-box-loading">
124
+ <z-ghost-loading></z-ghost-loading>
125
+ </div>
126
+ </li>`)}
127
+ </z-carousel>`,
128
+ };
129
+ //# sourceMappingURL=index.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-carousel/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;AAEhD,OAAO,EAAC,sBAAsB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAEzE,OAAO,0BAA0B,CAAC;AAClC,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,CAAC,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CAAA;cACM,IAAI,CAAC,KAAK;kBACN,IAAI,CAAC,QAAQ;oCACK,IAAI,CAAC,qBAAqB,CAAC;;QAEvD,MAAM,CACN,IAAI,KAAK,CAAC,CAAC,CAAC,EACZ,GAAG,EAAE,CACH,IAAI,CAAA;;;;gBAIE,CACT;kBACW;CACD,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {repeat} from \"lit/directives/repeat.js\";\nimport {type ZCarousel} from \".\";\nimport {CarouselArrowsPosition, CarouselProgressMode} from \"../../beans\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../z-ghost-loading/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZCarouselStoriesArgs = ZCarousel & {itemsCount: number} & CSSVarsArguments<\"z-carousel-gutter\">;\n\n/**\n * This component was conceived as a list of elements to respect the rules of accessibility (https://www.w3.org/WAI/tutorials/carousels/working-example/).\n * Pass any number of elements inside its main `slot`.\n * @example```html\n * <z-carousel>\n * <li>element</li>\n * <li>element</li>\n * <li>element</li>\n * </z-carousel>\n * ```\n * > Note: always use `li` elements as direct children of `z-carousel`, as it wraps them with an `ul` element.\n * You can set the gutter between the elements by using the `--z-carousel-gutter` custom property.\n * @example```css\n * z-carousel {\n * --z-carousel-gutter: calc(var(--space-unit) * 2);\n * }```\n */\nconst StoryMeta = {\n title: \"ZCarousel\",\n component: \"z-carousel\",\n decorators: [(Story) => html`<div class=\"z-carousel-story-container\">${Story()}</div>`],\n} satisfies Meta<ZCarouselStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZCarouselStoriesArgs>;\n\nexport const SlideshowWithArrowsOver = {\n args: {\n \"label\": \"\",\n \"--z-carousel-gutter\": \"var(--space-unit)\",\n \"infinite\": false,\n \"fixedArrows\": true,\n \"itemsCount\": 8,\n },\n render: (args) =>\n html`<z-carousel\n .arrowsPosition=${CarouselArrowsPosition.OVER}\n .fixedArrows=${args.fixedArrows}\n .infinite=${args.infinite}\n label=${args.label}\n style=\"--z-carousel-gutter: ${args[\"--z-carousel-gutter\"]}\"\n >\n ${repeat(\n [...new Array(args.itemsCount)].map((_, i) => i),\n (i) => i,\n (_, index) => html`<li><div class=\"carousel-box\">${index + 1}</div></li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n\nexport const SingleMode = {\n parameters: {\n layout: \"centered\",\n },\n argTypes: {\n arrowsPosition: {\n control: {\n type: \"inline-radio\",\n },\n options: Object.values(CarouselArrowsPosition),\n },\n progressMode: {\n control: {\n type: \"inline-radio\",\n },\n options: Object.values(CarouselProgressMode),\n },\n },\n args: {\n label: \"Carousel title\",\n progressMode: CarouselProgressMode.DOTS,\n arrowsPosition: CarouselArrowsPosition.BOTTOM,\n infinite: false,\n fixedArrows: true,\n itemsCount: 8,\n },\n render: (args) =>\n html`<z-carousel\n .arrowsPosition=${args.arrowsPosition}\n .fixedArrows=${args.fixedArrows}\n .infinite=${args.infinite}\n .progressMode=${args.progressMode}\n .single=${true}\n label=${args.label}\n >\n ${repeat(\n [...new Array(args.itemsCount)].map((_, i) => i),\n (i) => i,\n (_, index) => html`<li><div class=\"carousel-box\">${index + 1}</div></li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n\n/**\n * You can handle ghost loading for the whole z-carousel by setting two properties:\n * - `isLoading` (boolean): to show a `z-ghost-loading` component instead of the carousel content.\n * - `ghostLoadingHeight` (number): to set the height of the `z-ghost-loading` component.\n * You can also manually handle ghost loading by putting <z-ghost-loading> elements as items.\n */\nexport const GhostLoading = {\n args: {\n label: \"Carousel title\",\n ghostLoadingHeight: 265,\n },\n parameters: {\n controls: {\n exclude: [\"infinite\"],\n },\n },\n render: (args) =>\n html`<z-carousel\n label=${args.label}\n .isLoading=${true}\n .ghostLoadingHeight=${args.ghostLoadingHeight}\n ></z-carousel>`,\n} satisfies Story;\n\nexport const LoadingItems = {\n args: {\n \"label\": \"Carousel title\",\n \"--z-carousel-gutter\": \"8px\",\n },\n parameters: {\n controls: {\n exclude: [\"infinite\"],\n },\n },\n render: (args) =>\n html`<z-carousel\n label=${args.label}\n .infinite=${args.infinite}\n style=\"--z-carousel-gutter: ${args[\"--z-carousel-gutter\"]}\"\n >\n ${repeat(\n new Array(8),\n () =>\n html`<li>\n <div class=\"carousel-box-loading\">\n <z-ghost-loading></z-ghost-loading>\n </div>\n </li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n"]}