@zanichelli/albe-web-components 19.3.0-rc1 → 19.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1501) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +3 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  4. package/dist/cjs/breakpoints-B7vFm-3T.js +3 -0
  5. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  6. package/dist/cjs/iconset-Cz-UsfoU.js +1030 -0
  7. package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
  8. package/dist/cjs/index-CZz7uP-M.js +2727 -0
  9. package/dist/cjs/index-CZz7uP-M.js.map +1 -0
  10. package/dist/cjs/index-Cn7FFDHr.js +415 -0
  11. package/dist/cjs/index-Cn7FFDHr.js.map +1 -0
  12. package/dist/cjs/index.cjs.js +10 -3
  13. package/dist/cjs/index.cjs.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +5 -2
  15. package/dist/cjs/loader.cjs.js.map +1 -0
  16. package/dist/cjs/reactive-controller-BBJFF12W.js +1446 -0
  17. package/dist/cjs/reactive-controller-BBJFF12W.js.map +1 -0
  18. package/dist/cjs/utils-By4U4KkV.js +2721 -0
  19. package/dist/cjs/utils-By4U4KkV.js.map +1 -0
  20. package/dist/cjs/utils-kQZHfpti.js +919 -0
  21. package/dist/cjs/utils-kQZHfpti.js.map +1 -0
  22. package/dist/cjs/web-components-library.cjs.js +5 -2
  23. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  24. package/dist/cjs/z-accordion.cjs.entry.js +6 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.cjs.entry.js +5 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +7 -4
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +6 -3
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header_12.cjs.entry.js +101 -135
  33. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  34. package/dist/cjs/z-aria-alert.cjs.entry.js +6 -3
  35. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  36. package/dist/cjs/z-avatar.cjs.entry.js +7 -4
  37. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-book-card-app.cjs.entry.js +6 -3
  39. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +7 -4
  41. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-book-card.cjs.entry.js +6 -3
  43. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-cover.cjs.entry.js +5 -2
  45. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-breadcrumb.cjs.entry.js +8 -5
  47. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-button-sort.cjs.entry.js +5 -2
  49. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-card.cjs.entry.js +5 -2
  51. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-carousel.cjs.entry.js +6 -3
  53. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-chip.cjs.entry.js +7 -4
  55. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-color-picker.cjs.entry.js +7 -4
  57. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-combobox.cjs.entry.js +21 -15
  59. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-cover-hero.cjs.entry.js +7 -4
  61. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-date-picker.cjs.entry.js +7 -4
  63. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +25 -41
  65. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-file-upload.cjs.entry.js +7 -4
  67. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-file.cjs.entry.js +6 -3
  69. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-ghost-loading.cjs.entry.js +5 -2
  71. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-info-box.cjs.entry.js +5 -2
  73. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-info-reveal.cjs.entry.js +6 -3
  75. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-input-range.cjs.entry.js +145 -0
  77. package/dist/cjs/z-input-range.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-logo.cjs.entry.js +6 -3
  79. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-menu-deprecated.cjs.entry.js +6 -3
  81. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +5 -2
  83. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-menu-section.cjs.entry.js +6 -3
  85. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-menu.cjs.entry.js +6 -3
  87. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  89. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
  91. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +5 -2
  93. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
  95. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-myz-card-icon.cjs.entry.js +5 -2
  97. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-info.cjs.entry.js +7 -4
  99. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-list.cjs.entry.js +5 -2
  101. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -6
  103. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
  105. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-list.cjs.entry.js +5 -2
  107. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
  109. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-notification.cjs.entry.js +5 -2
  111. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-otp.cjs.entry.js +7 -4
  113. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-pagination.cjs.entry.js +5 -2
  115. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-panel-elem.cjs.entry.js +6 -3
  117. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-popover.cjs.entry.js +7 -4
  119. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-range-picker.cjs.entry.js +9 -6
  121. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-result-card.cjs.entry.js +5 -2
  123. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-section-title.cjs.entry.js +6 -3
  125. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-select.cjs.entry.js +13 -14
  127. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-skip-to-content.cjs.entry.js +7 -4
  129. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-slideshow.cjs.entry.js +6 -3
  131. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-stepper-item.cjs.entry.js +5 -2
  133. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-stepper.cjs.entry.js +5 -2
  135. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-table.cjs.entry.js +11 -6
  137. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-tbody.cjs.entry.js +9 -4
  139. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-td.cjs.entry.js +10 -5
  141. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-tfoot.cjs.entry.js +9 -4
  143. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-th.cjs.entry.js +11 -6
  145. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-thead.cjs.entry.js +9 -4
  147. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-toast-notification-list.cjs.entry.js +6 -3
  149. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-toast-notification.cjs.entry.js +8 -5
  151. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-toggle-button.cjs.entry.js +6 -3
  153. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-toggle-switch.cjs.entry.js +9 -6
  155. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-tool.cjs.entry.js +8 -5
  157. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toolbar.cjs.entry.js +6 -3
  159. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-tooltip.cjs.entry.js +6 -3
  161. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-tr.cjs.entry.js +13 -11
  163. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-tree-list.cjs.entry.js +6 -3
  165. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-visually-hidden.cjs.entry.js +5 -2
  167. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  168. package/dist/collection/beans/index.js +6 -0
  169. package/dist/collection/beans/index.js.map +1 -0
  170. package/dist/collection/collection-manifest.json +12 -11
  171. package/dist/collection/components/book-card/z-book-card/index.js +2 -8
  172. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  173. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  174. package/dist/collection/components/book-card/z-book-card-app/index.js +2 -3
  175. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  176. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  177. package/dist/collection/components/css-components/z-table/styles.css +79 -0
  178. package/dist/collection/components/date-picker/utils.js +1 -0
  179. package/dist/collection/components/date-picker/utils.js.map +1 -0
  180. package/dist/collection/components/date-picker/z-date-picker/index.js +2 -1
  181. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  182. package/dist/collection/components/date-picker/z-range-picker/index.js +4 -3
  183. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  184. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +2 -54
  185. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  186. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  187. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +2 -5
  188. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  189. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  190. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +2 -2
  191. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  192. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  193. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +2 -1
  194. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  195. package/dist/collection/components/deprecated/z-section-title/index.js +2 -2
  196. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  197. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  198. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +3 -2
  199. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  200. package/dist/collection/components/file-upload/z-file/index.js +2 -1
  201. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  202. package/dist/collection/components/file-upload/z-file-upload/index.js +3 -2
  203. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  204. package/dist/collection/components/index.js +1 -0
  205. package/dist/collection/components/index.js.map +1 -0
  206. package/dist/collection/components/list/z-list/index.js +2 -1
  207. package/dist/collection/components/list/z-list/index.js.map +1 -0
  208. package/dist/collection/components/list/z-list-element/index.js +2 -1
  209. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  210. package/dist/collection/components/list/z-list-group/index.js +3 -2
  211. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  212. package/dist/collection/components/list/z-tree-list/index.js +2 -1
  213. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  214. package/dist/collection/components/table/cells/z-table-cells.css +0 -1
  215. package/dist/collection/components/table/cells/z-td/index.js +4 -3
  216. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  217. package/dist/collection/components/table/cells/z-th/index.js +4 -3
  218. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  219. package/dist/collection/components/table/cells/z-th/styles.css +0 -4
  220. package/dist/collection/components/table/z-table/index.js +4 -4
  221. package/dist/collection/components/table/z-table/index.js.map +1 -0
  222. package/dist/collection/components/table/z-table/styles.css +3 -6
  223. package/dist/collection/components/table/z-tbody/index.js +4 -3
  224. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  225. package/dist/collection/components/table/z-tfoot/index.js +4 -3
  226. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  227. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  228. package/dist/collection/components/table/z-thead/index.js +4 -3
  229. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  230. package/dist/collection/components/table/z-thead/styles.css +0 -4
  231. package/dist/collection/components/table/z-tr/index.js +6 -8
  232. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  233. package/dist/collection/components/table/z-tr/styles.css +13 -15
  234. package/dist/collection/components/z-accordion/index.js +4 -11
  235. package/dist/collection/components/z-accordion/index.js.map +1 -0
  236. package/dist/collection/components/z-accordion/styles.css +12 -0
  237. package/dist/collection/components/z-anchor-navigation/index.js +4 -3
  238. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  239. package/dist/collection/components/z-app-header/index.js +22 -8
  240. package/dist/collection/components/z-app-header/index.js.map +1 -0
  241. package/dist/collection/components/z-app-header/styles.css +12 -12
  242. package/dist/collection/components/z-aria-alert/index.js +2 -1
  243. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  244. package/dist/collection/components/z-avatar/index.js +3 -2
  245. package/dist/collection/components/z-avatar/index.js.map +1 -0
  246. package/dist/collection/components/z-book-cover/index.js +2 -5
  247. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  248. package/dist/collection/components/z-book-cover/styles.css +6 -0
  249. package/dist/collection/components/z-breadcrumb/index.js +3 -2
  250. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  251. package/dist/collection/components/z-button/index.js +3 -2
  252. package/dist/collection/components/z-button/index.js.map +1 -0
  253. package/dist/collection/components/z-button-sort/index.js +2 -1
  254. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  255. package/dist/collection/components/z-card/index.js +2 -8
  256. package/dist/collection/components/z-card/index.js.map +1 -0
  257. package/dist/collection/components/z-card/styles.css +9 -0
  258. package/dist/collection/components/z-carousel/index.js +1 -2
  259. package/dist/collection/components/z-carousel/index.js.map +1 -0
  260. package/dist/collection/components/z-carousel/styles.css +7 -3
  261. package/dist/collection/components/z-chip/index.js +3 -2
  262. package/dist/collection/components/z-chip/index.js.map +1 -0
  263. package/dist/collection/components/z-color-picker/index.js +2 -1
  264. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  265. package/dist/collection/components/z-combobox/index.js +17 -13
  266. package/dist/collection/components/z-combobox/index.js.map +1 -0
  267. package/dist/collection/components/z-cover-hero/index.js +3 -5
  268. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  269. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  270. package/dist/collection/components/z-divider/index.js +2 -1
  271. package/dist/collection/components/z-divider/index.js.map +1 -0
  272. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  273. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  274. package/dist/collection/components/z-icon/index.js +32 -2
  275. package/dist/collection/components/z-icon/index.js.map +1 -0
  276. package/dist/collection/components/z-info-box/index.js +2 -1
  277. package/dist/collection/components/z-info-box/index.js.map +1 -0
  278. package/dist/collection/components/z-info-reveal/index.js +2 -5
  279. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  280. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  281. package/dist/collection/components/z-input/index.js +51 -30
  282. package/dist/collection/components/z-input/index.js.map +1 -0
  283. package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -0
  284. package/dist/collection/components/z-input/styles-text.css +5 -0
  285. package/dist/collection/components/z-input-message/index.js +2 -1
  286. package/dist/collection/components/z-input-message/index.js.map +1 -0
  287. package/dist/collection/components/z-input-range/index.js +438 -0
  288. package/dist/collection/components/z-input-range/index.js.map +1 -0
  289. package/dist/collection/components/z-input-range/styles.css +262 -0
  290. package/dist/collection/components/z-logo/index.js +2 -1
  291. package/dist/collection/components/z-logo/index.js.map +1 -0
  292. package/dist/collection/components/z-logo/styles.css +5 -0
  293. package/dist/collection/components/z-menu/index.js +1 -1
  294. package/dist/collection/components/z-menu/index.js.map +1 -0
  295. package/dist/collection/components/z-menu/styles.css +3 -0
  296. package/dist/collection/components/z-menu-section/index.js +2 -1
  297. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  298. package/dist/collection/components/z-modal/index.js +17 -37
  299. package/dist/collection/components/z-modal/index.js.map +1 -0
  300. package/dist/collection/components/z-modal/styles.css +5 -2
  301. package/dist/collection/components/z-navigation-tabs/index.js +3 -4
  302. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  303. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  304. package/dist/collection/components/z-notification/index.js +2 -4
  305. package/dist/collection/components/z-notification/index.js.map +1 -0
  306. package/dist/collection/components/z-notification/styles.css +5 -0
  307. package/dist/collection/components/z-offcanvas/index.js +43 -119
  308. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  309. package/dist/collection/components/z-offcanvas/styles.css +6 -0
  310. package/dist/collection/components/z-pagination/index.js +1 -2
  311. package/dist/collection/components/z-pagination/index.js.map +1 -0
  312. package/dist/collection/components/z-pagination/styles.css +6 -0
  313. package/dist/collection/components/z-panel-elem/index.js +3 -2
  314. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  315. package/dist/collection/components/z-popover/index.js +2 -6
  316. package/dist/collection/components/z-popover/index.js.map +1 -0
  317. package/dist/collection/components/z-popover/styles.css +6 -0
  318. package/dist/collection/components/z-result-card/index.js +1 -0
  319. package/dist/collection/components/z-result-card/index.js.map +1 -0
  320. package/dist/collection/components/z-result-card/styles.css +8 -5
  321. package/dist/collection/components/z-searchbar/index.js +4 -8
  322. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  323. package/dist/collection/components/z-searchbar/styles.css +5 -0
  324. package/dist/collection/components/z-select/index.js +9 -12
  325. package/dist/collection/components/z-select/index.js.map +1 -0
  326. package/dist/collection/components/z-skip-to-content/index.js +2 -1
  327. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  328. package/dist/collection/components/z-stepper/index.js +2 -1
  329. package/dist/collection/components/z-stepper/index.js.map +1 -0
  330. package/dist/collection/components/z-stepper-item/index.js +2 -1
  331. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  332. package/dist/collection/components/z-tag/index.js +3 -4
  333. package/dist/collection/components/z-tag/index.js.map +1 -0
  334. package/dist/collection/components/z-tag/styles.css +5 -0
  335. package/dist/collection/components/z-toast-notification/index.js +4 -3
  336. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  337. package/dist/collection/components/z-toast-notification-list/index.js +2 -1
  338. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  339. package/dist/collection/components/z-toggle-button/index.js +3 -2
  340. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  341. package/dist/collection/components/z-toggle-switch/index.js +4 -3
  342. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  343. package/dist/collection/components/z-tool/index.js +4 -3
  344. package/dist/collection/components/z-tool/index.js.map +1 -0
  345. package/dist/collection/components/z-toolbar/index.js +2 -2
  346. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  347. package/dist/collection/components/z-toolbar/styles.css +4 -0
  348. package/dist/collection/components/z-tooltip/index.js +2 -5
  349. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  350. package/dist/collection/components/z-tooltip/styles.css +6 -0
  351. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  352. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  353. package/dist/collection/constants/breakpoints.js +1 -0
  354. package/dist/collection/constants/breakpoints.js.map +1 -0
  355. package/dist/collection/constants/icons.js +1 -0
  356. package/dist/collection/constants/icons.js.map +1 -0
  357. package/dist/collection/constants/iconset.js +7 -6
  358. package/dist/collection/constants/iconset.js.map +1 -0
  359. package/dist/collection/index.js +1 -0
  360. package/dist/collection/index.js.map +1 -0
  361. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +3 -2
  362. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  363. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +2 -1
  364. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  365. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  366. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  367. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +2 -1
  368. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  369. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -1
  370. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  371. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -1
  372. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  373. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  374. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  375. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +2 -1
  376. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  377. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
  378. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  379. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
  380. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  381. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
  382. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  383. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +2 -1
  384. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  385. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -1
  386. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  387. package/dist/collection/snowflakes/myz/z-alert/index.js +2 -1
  388. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  389. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -2
  390. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  391. package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -0
  392. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  393. package/dist/collection/utils/focus-trap-controller.js +100 -0
  394. package/dist/collection/utils/focus-trap-controller.js.map +1 -0
  395. package/dist/collection/utils/reactive-controller.js +46 -0
  396. package/dist/collection/utils/reactive-controller.js.map +1 -0
  397. package/dist/collection/utils/storybook-utils.js +8 -0
  398. package/dist/collection/utils/storybook-utils.js.map +1 -0
  399. package/dist/collection/utils/utils.js +65 -1
  400. package/dist/collection/utils/utils.js.map +1 -0
  401. package/dist/components/_commonjsHelpers.js +2 -1
  402. package/dist/components/_commonjsHelpers.js.map +1 -0
  403. package/dist/components/breakpoints.js +2 -1
  404. package/dist/components/breakpoints.js.map +1 -0
  405. package/dist/components/iconset.js +2 -1
  406. package/dist/components/iconset.js.map +1 -0
  407. package/dist/components/index.d.ts +2 -0
  408. package/dist/components/index.js +2 -1
  409. package/dist/components/index.js.map +1 -0
  410. package/dist/components/index10.js +2 -1
  411. package/dist/components/index10.js.map +1 -0
  412. package/dist/components/index11.js +2 -1
  413. package/dist/components/index11.js.map +1 -0
  414. package/dist/components/index12.js +2 -1
  415. package/dist/components/index12.js.map +1 -0
  416. package/dist/components/index13.js +2 -1
  417. package/dist/components/index13.js.map +1 -0
  418. package/dist/components/index14.js +2 -1
  419. package/dist/components/index14.js.map +1 -0
  420. package/dist/components/index15.js +2 -1
  421. package/dist/components/index15.js.map +1 -0
  422. package/dist/components/index16.js +2 -1
  423. package/dist/components/index16.js.map +1 -0
  424. package/dist/components/index17.js +2 -1
  425. package/dist/components/index17.js.map +1 -0
  426. package/dist/components/index18.js +2 -1
  427. package/dist/components/index18.js.map +1 -0
  428. package/dist/components/index19.js +2 -1
  429. package/dist/components/index19.js.map +1 -0
  430. package/dist/components/index2.js +2 -1
  431. package/dist/components/index2.js.map +1 -0
  432. package/dist/components/index20.js +2 -1
  433. package/dist/components/index20.js.map +1 -0
  434. package/dist/components/index21.js +2 -1
  435. package/dist/components/index21.js.map +1 -0
  436. package/dist/components/index22.js +2 -1
  437. package/dist/components/index22.js.map +1 -0
  438. package/dist/components/index23.js +2 -1
  439. package/dist/components/index23.js.map +1 -0
  440. package/dist/components/index24.js +2 -1
  441. package/dist/components/index24.js.map +1 -0
  442. package/dist/components/index25.js +2 -1
  443. package/dist/components/index25.js.map +1 -0
  444. package/dist/components/index26.js +2 -1
  445. package/dist/components/index26.js.map +1 -0
  446. package/dist/components/index27.js +2 -1
  447. package/dist/components/index27.js.map +1 -0
  448. package/dist/components/index3.js +2 -1
  449. package/dist/components/index3.js.map +1 -0
  450. package/dist/components/index4.js +2 -1
  451. package/dist/components/index4.js.map +1 -0
  452. package/dist/components/index5.js +2 -1
  453. package/dist/components/index5.js.map +1 -0
  454. package/dist/components/index6.js +2 -1
  455. package/dist/components/index6.js.map +1 -0
  456. package/dist/components/index7.js +2 -1
  457. package/dist/components/index7.js.map +1 -0
  458. package/dist/components/index8.js +2 -1
  459. package/dist/components/index8.js.map +1 -0
  460. package/dist/components/index9.js +2 -1
  461. package/dist/components/index9.js.map +1 -0
  462. package/dist/components/reactive-controller.js +6 -0
  463. package/dist/components/reactive-controller.js.map +1 -0
  464. package/dist/components/utils.js +7 -1
  465. package/dist/components/utils.js.map +1 -0
  466. package/dist/components/utils2.js +2 -1
  467. package/dist/components/utils2.js.map +1 -0
  468. package/dist/components/z-accordion.js +2 -1
  469. package/dist/components/z-accordion.js.map +1 -0
  470. package/dist/components/z-alert.js +2 -1
  471. package/dist/components/z-alert.js.map +1 -0
  472. package/dist/components/z-anchor-navigation.js +2 -1
  473. package/dist/components/z-anchor-navigation.js.map +1 -0
  474. package/dist/components/z-app-header-deprecated.js +2 -1
  475. package/dist/components/z-app-header-deprecated.js.map +1 -0
  476. package/dist/components/z-app-header.js +2 -1
  477. package/dist/components/z-app-header.js.map +1 -0
  478. package/dist/components/z-aria-alert.js +2 -1
  479. package/dist/components/z-aria-alert.js.map +1 -0
  480. package/dist/components/z-avatar.js +2 -1
  481. package/dist/components/z-avatar.js.map +1 -0
  482. package/dist/components/z-book-card-app.js +2 -1
  483. package/dist/components/z-book-card-app.js.map +1 -0
  484. package/dist/components/z-book-card-deprecated.js +2 -1
  485. package/dist/components/z-book-card-deprecated.js.map +1 -0
  486. package/dist/components/z-book-card.js +2 -1
  487. package/dist/components/z-book-card.js.map +1 -0
  488. package/dist/components/z-book-cover.js +2 -1
  489. package/dist/components/z-book-cover.js.map +1 -0
  490. package/dist/components/z-breadcrumb.js +2 -1
  491. package/dist/components/z-breadcrumb.js.map +1 -0
  492. package/dist/components/z-button-sort.js +2 -1
  493. package/dist/components/z-button-sort.js.map +1 -0
  494. package/dist/components/z-button.js +2 -1
  495. package/dist/components/z-button.js.map +1 -0
  496. package/dist/components/z-card.js +2 -1
  497. package/dist/components/z-card.js.map +1 -0
  498. package/dist/components/z-carousel.js +2 -1
  499. package/dist/components/z-carousel.js.map +1 -0
  500. package/dist/components/z-chip.js +2 -1
  501. package/dist/components/z-chip.js.map +1 -0
  502. package/dist/components/z-color-picker.js +2 -1
  503. package/dist/components/z-color-picker.js.map +1 -0
  504. package/dist/components/z-combobox.js +2 -1
  505. package/dist/components/z-combobox.js.map +1 -0
  506. package/dist/components/z-cover-hero.js +2 -1
  507. package/dist/components/z-cover-hero.js.map +1 -0
  508. package/dist/components/z-date-picker.js +3 -2
  509. package/dist/components/z-date-picker.js.map +1 -0
  510. package/dist/components/z-divider.js +2 -1
  511. package/dist/components/z-divider.js.map +1 -0
  512. package/dist/components/z-dragdrop-area.js +2 -1
  513. package/dist/components/z-dragdrop-area.js.map +1 -0
  514. package/dist/components/z-file-upload.js +2 -1
  515. package/dist/components/z-file-upload.js.map +1 -0
  516. package/dist/components/z-file.js +2 -1
  517. package/dist/components/z-file.js.map +1 -0
  518. package/dist/components/z-ghost-loading.js +2 -1
  519. package/dist/components/z-ghost-loading.js.map +1 -0
  520. package/dist/components/z-icon.js +2 -1
  521. package/dist/components/z-icon.js.map +1 -0
  522. package/dist/components/z-info-box.js +2 -1
  523. package/dist/components/z-info-box.js.map +1 -0
  524. package/dist/components/z-info-reveal.js +2 -1
  525. package/dist/components/z-info-reveal.js.map +1 -0
  526. package/dist/components/z-input-message.js +2 -1
  527. package/dist/components/z-input-message.js.map +1 -0
  528. package/dist/components/z-input-range.d.ts +11 -0
  529. package/dist/components/z-input-range.js +2 -0
  530. package/dist/components/z-input-range.js.map +1 -0
  531. package/dist/components/z-input.js +2 -1
  532. package/dist/components/z-input.js.map +1 -0
  533. package/dist/components/z-list-element.js +2 -1
  534. package/dist/components/z-list-element.js.map +1 -0
  535. package/dist/components/z-list-group.js +2 -1
  536. package/dist/components/z-list-group.js.map +1 -0
  537. package/dist/components/z-list.js +2 -1
  538. package/dist/components/z-list.js.map +1 -0
  539. package/dist/components/z-logo.js +2 -1
  540. package/dist/components/z-logo.js.map +1 -0
  541. package/dist/components/z-menu-deprecated.js +2 -1
  542. package/dist/components/z-menu-deprecated.js.map +1 -0
  543. package/dist/components/z-menu-section-deprecated.js +2 -1
  544. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  545. package/dist/components/z-menu-section.js +2 -1
  546. package/dist/components/z-menu-section.js.map +1 -0
  547. package/dist/components/z-menu.js +2 -1
  548. package/dist/components/z-menu.js.map +1 -0
  549. package/dist/components/z-modal.js +2 -1
  550. package/dist/components/z-modal.js.map +1 -0
  551. package/dist/components/z-myz-card-alert.js +2 -1
  552. package/dist/components/z-myz-card-alert.js.map +1 -0
  553. package/dist/components/z-myz-card-body.js +2 -1
  554. package/dist/components/z-myz-card-body.js.map +1 -0
  555. package/dist/components/z-myz-card-cover.js +2 -1
  556. package/dist/components/z-myz-card-cover.js.map +1 -0
  557. package/dist/components/z-myz-card-dictionary.js +2 -1
  558. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  559. package/dist/components/z-myz-card-footer-sections.js +2 -1
  560. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  561. package/dist/components/z-myz-card-footer.js +2 -1
  562. package/dist/components/z-myz-card-footer.js.map +1 -0
  563. package/dist/components/z-myz-card-header.js +2 -1
  564. package/dist/components/z-myz-card-header.js.map +1 -0
  565. package/dist/components/z-myz-card-icon.js +2 -1
  566. package/dist/components/z-myz-card-icon.js.map +1 -0
  567. package/dist/components/z-myz-card-info.js +2 -1
  568. package/dist/components/z-myz-card-info.js.map +1 -0
  569. package/dist/components/z-myz-card-list.js +2 -1
  570. package/dist/components/z-myz-card-list.js.map +1 -0
  571. package/dist/components/z-myz-card.js +2 -1
  572. package/dist/components/z-myz-card.js.map +1 -0
  573. package/dist/components/z-myz-list-item.js +2 -1
  574. package/dist/components/z-myz-list-item.js.map +1 -0
  575. package/dist/components/z-myz-list.js +2 -1
  576. package/dist/components/z-myz-list.js.map +1 -0
  577. package/dist/components/z-navigation-tabs.js +2 -1
  578. package/dist/components/z-navigation-tabs.js.map +1 -0
  579. package/dist/components/z-notification.js +2 -1
  580. package/dist/components/z-notification.js.map +1 -0
  581. package/dist/components/z-offcanvas.js +2 -1
  582. package/dist/components/z-offcanvas.js.map +1 -0
  583. package/dist/components/z-otp.js +2 -1
  584. package/dist/components/z-otp.js.map +1 -0
  585. package/dist/components/z-pagination.js +2 -1
  586. package/dist/components/z-pagination.js.map +1 -0
  587. package/dist/components/z-panel-elem.js +2 -1
  588. package/dist/components/z-panel-elem.js.map +1 -0
  589. package/dist/components/z-popover.js +2 -1
  590. package/dist/components/z-popover.js.map +1 -0
  591. package/dist/components/z-range-picker.js +2 -1
  592. package/dist/components/z-range-picker.js.map +1 -0
  593. package/dist/components/z-result-card.js +2 -1
  594. package/dist/components/z-result-card.js.map +1 -0
  595. package/dist/components/z-searchbar.js +2 -1
  596. package/dist/components/z-searchbar.js.map +1 -0
  597. package/dist/components/z-section-title.js +2 -1
  598. package/dist/components/z-section-title.js.map +1 -0
  599. package/dist/components/z-select.js +2 -1
  600. package/dist/components/z-select.js.map +1 -0
  601. package/dist/components/z-skip-to-content.js +2 -1
  602. package/dist/components/z-skip-to-content.js.map +1 -0
  603. package/dist/components/z-slideshow.js +2 -1
  604. package/dist/components/z-slideshow.js.map +1 -0
  605. package/dist/components/z-stepper-item.js +2 -1
  606. package/dist/components/z-stepper-item.js.map +1 -0
  607. package/dist/components/z-stepper.js +2 -1
  608. package/dist/components/z-stepper.js.map +1 -0
  609. package/dist/components/z-table.js +2 -1
  610. package/dist/components/z-table.js.map +1 -0
  611. package/dist/components/z-tag.js +2 -1
  612. package/dist/components/z-tag.js.map +1 -0
  613. package/dist/components/z-tbody.js +2 -1
  614. package/dist/components/z-tbody.js.map +1 -0
  615. package/dist/components/z-td.js +2 -1
  616. package/dist/components/z-td.js.map +1 -0
  617. package/dist/components/z-tfoot.js +2 -1
  618. package/dist/components/z-tfoot.js.map +1 -0
  619. package/dist/components/z-th.js +2 -1
  620. package/dist/components/z-th.js.map +1 -0
  621. package/dist/components/z-thead.js +2 -1
  622. package/dist/components/z-thead.js.map +1 -0
  623. package/dist/components/z-toast-notification-list.js +2 -1
  624. package/dist/components/z-toast-notification-list.js.map +1 -0
  625. package/dist/components/z-toast-notification.js +8 -2
  626. package/dist/components/z-toast-notification.js.map +1 -0
  627. package/dist/components/z-toggle-button.js +2 -1
  628. package/dist/components/z-toggle-button.js.map +1 -0
  629. package/dist/components/z-toggle-switch.js +2 -1
  630. package/dist/components/z-toggle-switch.js.map +1 -0
  631. package/dist/components/z-tool.js +2 -1
  632. package/dist/components/z-tool.js.map +1 -0
  633. package/dist/components/z-toolbar.js +2 -1
  634. package/dist/components/z-toolbar.js.map +1 -0
  635. package/dist/components/z-tooltip.js +2 -1
  636. package/dist/components/z-tooltip.js.map +1 -0
  637. package/dist/components/z-tr.js +2 -1
  638. package/dist/components/z-tr.js.map +1 -0
  639. package/dist/components/z-tree-list.js +2 -1
  640. package/dist/components/z-tree-list.js.map +1 -0
  641. package/dist/components/z-visually-hidden.js +2 -1
  642. package/dist/components/z-visually-hidden.js.map +1 -0
  643. package/dist/esm/_commonjsHelpers-B85MJLTf.js +3 -0
  644. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  645. package/dist/esm/breakpoints-Q-tWjk7P.js +3 -0
  646. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  647. package/dist/esm/iconset-AwzX9V8L.js +1027 -0
  648. package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
  649. package/dist/esm/index-B3nR3-Jw.js +413 -0
  650. package/dist/esm/index-B3nR3-Jw.js.map +1 -0
  651. package/dist/esm/index-BcDWN4F1.js +2697 -0
  652. package/dist/esm/index-BcDWN4F1.js.map +1 -0
  653. package/dist/esm/index.js +6 -3
  654. package/dist/esm/index.js.map +1 -0
  655. package/dist/esm/loader.js +6 -3
  656. package/dist/esm/loader.js.map +1 -0
  657. package/dist/esm/reactive-controller--oxj7x8w.js +1443 -0
  658. package/dist/esm/reactive-controller--oxj7x8w.js.map +1 -0
  659. package/dist/esm/utils-C9lc3rtK.js +896 -0
  660. package/dist/esm/utils-C9lc3rtK.js.map +1 -0
  661. package/dist/esm/utils-DP4zBIll.js +2715 -0
  662. package/dist/esm/utils-DP4zBIll.js.map +1 -0
  663. package/dist/esm/web-components-library.js +6 -3
  664. package/dist/esm/web-components-library.js.map +1 -0
  665. package/dist/esm/z-accordion.entry.js +6 -3
  666. package/dist/esm/z-accordion.entry.js.map +1 -0
  667. package/dist/esm/z-alert.entry.js +5 -2
  668. package/dist/esm/z-alert.entry.js.map +1 -0
  669. package/dist/esm/z-anchor-navigation.entry.js +7 -4
  670. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  671. package/dist/esm/z-app-header-deprecated.entry.js +6 -3
  672. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  673. package/dist/esm/z-app-header_12.entry.js +101 -135
  674. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  675. package/dist/esm/z-aria-alert.entry.js +6 -3
  676. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  677. package/dist/esm/z-avatar.entry.js +7 -4
  678. package/dist/esm/z-avatar.entry.js.map +1 -0
  679. package/dist/esm/z-book-card-app.entry.js +6 -3
  680. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  681. package/dist/esm/z-book-card-deprecated.entry.js +7 -4
  682. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  683. package/dist/esm/z-book-card.entry.js +6 -3
  684. package/dist/esm/z-book-card.entry.js.map +1 -0
  685. package/dist/esm/z-book-cover.entry.js +5 -2
  686. package/dist/esm/z-book-cover.entry.js.map +1 -0
  687. package/dist/esm/z-breadcrumb.entry.js +8 -5
  688. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  689. package/dist/esm/z-button-sort.entry.js +5 -2
  690. package/dist/esm/z-button-sort.entry.js.map +1 -0
  691. package/dist/esm/z-card.entry.js +5 -2
  692. package/dist/esm/z-card.entry.js.map +1 -0
  693. package/dist/esm/z-carousel.entry.js +6 -3
  694. package/dist/esm/z-carousel.entry.js.map +1 -0
  695. package/dist/esm/z-chip.entry.js +7 -4
  696. package/dist/esm/z-chip.entry.js.map +1 -0
  697. package/dist/esm/z-color-picker.entry.js +7 -4
  698. package/dist/esm/z-color-picker.entry.js.map +1 -0
  699. package/dist/esm/z-combobox.entry.js +21 -15
  700. package/dist/esm/z-combobox.entry.js.map +1 -0
  701. package/dist/esm/z-cover-hero.entry.js +7 -4
  702. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  703. package/dist/esm/z-date-picker.entry.js +7 -4
  704. package/dist/esm/z-date-picker.entry.js.map +1 -0
  705. package/dist/esm/z-dragdrop-area_2.entry.js +25 -41
  706. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  707. package/dist/esm/z-file-upload.entry.js +7 -4
  708. package/dist/esm/z-file-upload.entry.js.map +1 -0
  709. package/dist/esm/z-file.entry.js +6 -3
  710. package/dist/esm/z-file.entry.js.map +1 -0
  711. package/dist/esm/z-ghost-loading.entry.js +5 -2
  712. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  713. package/dist/esm/z-info-box.entry.js +5 -2
  714. package/dist/esm/z-info-box.entry.js.map +1 -0
  715. package/dist/esm/z-info-reveal.entry.js +6 -3
  716. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  717. package/dist/esm/z-input-range.entry.js +143 -0
  718. package/dist/esm/z-input-range.entry.js.map +1 -0
  719. package/dist/esm/z-logo.entry.js +6 -3
  720. package/dist/esm/z-logo.entry.js.map +1 -0
  721. package/dist/esm/z-menu-deprecated.entry.js +6 -3
  722. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  723. package/dist/esm/z-menu-section-deprecated.entry.js +5 -2
  724. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  725. package/dist/esm/z-menu-section.entry.js +6 -3
  726. package/dist/esm/z-menu-section.entry.js.map +1 -0
  727. package/dist/esm/z-menu.entry.js +6 -3
  728. package/dist/esm/z-menu.entry.js.map +1 -0
  729. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  730. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  731. package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
  732. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  733. package/dist/esm/z-myz-card-footer-sections.entry.js +5 -2
  734. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  735. package/dist/esm/z-myz-card-footer.entry.js +6 -3
  736. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  737. package/dist/esm/z-myz-card-icon.entry.js +5 -2
  738. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  739. package/dist/esm/z-myz-card-info.entry.js +7 -4
  740. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  741. package/dist/esm/z-myz-card-list.entry.js +5 -2
  742. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  743. package/dist/esm/z-myz-card_4.entry.js +9 -6
  744. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  745. package/dist/esm/z-myz-list-item.entry.js +7 -4
  746. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  747. package/dist/esm/z-myz-list.entry.js +5 -2
  748. package/dist/esm/z-myz-list.entry.js.map +1 -0
  749. package/dist/esm/z-navigation-tabs.entry.js +7 -4
  750. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  751. package/dist/esm/z-notification.entry.js +5 -2
  752. package/dist/esm/z-notification.entry.js.map +1 -0
  753. package/dist/esm/z-otp.entry.js +7 -4
  754. package/dist/esm/z-otp.entry.js.map +1 -0
  755. package/dist/esm/z-pagination.entry.js +5 -2
  756. package/dist/esm/z-pagination.entry.js.map +1 -0
  757. package/dist/esm/z-panel-elem.entry.js +6 -3
  758. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  759. package/dist/esm/z-popover.entry.js +7 -4
  760. package/dist/esm/z-popover.entry.js.map +1 -0
  761. package/dist/esm/z-range-picker.entry.js +9 -6
  762. package/dist/esm/z-range-picker.entry.js.map +1 -0
  763. package/dist/esm/z-result-card.entry.js +5 -2
  764. package/dist/esm/z-result-card.entry.js.map +1 -0
  765. package/dist/esm/z-section-title.entry.js +6 -3
  766. package/dist/esm/z-section-title.entry.js.map +1 -0
  767. package/dist/esm/z-select.entry.js +13 -14
  768. package/dist/esm/z-select.entry.js.map +1 -0
  769. package/dist/esm/z-skip-to-content.entry.js +7 -4
  770. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  771. package/dist/esm/z-slideshow.entry.js +6 -3
  772. package/dist/esm/z-slideshow.entry.js.map +1 -0
  773. package/dist/esm/z-stepper-item.entry.js +5 -2
  774. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  775. package/dist/esm/z-stepper.entry.js +5 -2
  776. package/dist/esm/z-stepper.entry.js.map +1 -0
  777. package/dist/esm/z-table.entry.js +11 -6
  778. package/dist/esm/z-table.entry.js.map +1 -0
  779. package/dist/esm/z-tbody.entry.js +9 -4
  780. package/dist/esm/z-tbody.entry.js.map +1 -0
  781. package/dist/esm/z-td.entry.js +10 -5
  782. package/dist/esm/z-td.entry.js.map +1 -0
  783. package/dist/esm/z-tfoot.entry.js +9 -4
  784. package/dist/esm/z-tfoot.entry.js.map +1 -0
  785. package/dist/esm/z-th.entry.js +11 -6
  786. package/dist/esm/z-th.entry.js.map +1 -0
  787. package/dist/esm/z-thead.entry.js +9 -4
  788. package/dist/esm/z-thead.entry.js.map +1 -0
  789. package/dist/esm/z-toast-notification-list.entry.js +6 -3
  790. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  791. package/dist/esm/z-toast-notification.entry.js +8 -5
  792. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  793. package/dist/esm/z-toggle-button.entry.js +6 -3
  794. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  795. package/dist/esm/z-toggle-switch.entry.js +9 -6
  796. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  797. package/dist/esm/z-tool.entry.js +8 -5
  798. package/dist/esm/z-tool.entry.js.map +1 -0
  799. package/dist/esm/z-toolbar.entry.js +6 -3
  800. package/dist/esm/z-toolbar.entry.js.map +1 -0
  801. package/dist/esm/z-tooltip.entry.js +6 -3
  802. package/dist/esm/z-tooltip.entry.js.map +1 -0
  803. package/dist/esm/z-tr.entry.js +13 -11
  804. package/dist/esm/z-tr.entry.js.map +1 -0
  805. package/dist/esm/z-tree-list.entry.js +6 -3
  806. package/dist/esm/z-tree-list.entry.js.map +1 -0
  807. package/dist/esm/z-visually-hidden.entry.js +5 -2
  808. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  809. package/dist/types/beans/index.d.ts +4 -0
  810. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  811. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  812. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  813. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  814. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  815. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  816. package/dist/types/components/table/z-table/index.d.ts +0 -1
  817. package/dist/types/components/z-accordion/index.d.ts +2 -10
  818. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  819. package/dist/types/components/z-app-header/index.d.ts +4 -6
  820. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  821. package/dist/types/components/z-button/index.d.ts +1 -1
  822. package/dist/types/components/z-card/index.d.ts +1 -8
  823. package/dist/types/components/z-carousel/index.d.ts +0 -2
  824. package/dist/types/components/z-combobox/index.d.ts +1 -0
  825. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  826. package/dist/types/components/z-icon/index.d.ts +13 -0
  827. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  828. package/dist/types/components/z-input/index.d.ts +6 -4
  829. package/dist/types/components/z-input-range/index.d.ts +83 -0
  830. package/dist/types/components/z-menu/index.d.ts +0 -1
  831. package/dist/types/components/z-modal/index.d.ts +4 -11
  832. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  833. package/dist/types/components/z-notification/index.d.ts +0 -3
  834. package/dist/types/components/z-offcanvas/index.d.ts +12 -37
  835. package/dist/types/components/z-pagination/index.d.ts +0 -2
  836. package/dist/types/components/z-popover/index.d.ts +0 -5
  837. package/dist/types/components/z-searchbar/index.d.ts +0 -5
  838. package/dist/types/components/z-select/index.d.ts +0 -1
  839. package/dist/types/components/z-tag/index.d.ts +0 -2
  840. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  841. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  842. package/dist/types/components.d.ts +213 -606
  843. package/dist/types/constants/iconset.d.ts +4 -4
  844. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  845. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  846. package/dist/types/utils/focus-trap-controller.d.ts +53 -0
  847. package/dist/types/utils/reactive-controller.d.ts +39 -0
  848. package/dist/types/utils/storybook-utils.d.ts +7 -2
  849. package/dist/types/utils/utils.d.ts +12 -0
  850. package/dist/web-components-library/index.esm.js +2 -1
  851. package/dist/web-components-library/index.esm.js.map +1 -0
  852. package/dist/web-components-library/p-01d2d4e2.entry.js +2 -0
  853. package/dist/web-components-library/p-01d2d4e2.entry.js.map +1 -0
  854. package/dist/web-components-library/p-02a5c216.entry.js +2 -0
  855. package/dist/web-components-library/p-02a5c216.entry.js.map +1 -0
  856. package/dist/web-components-library/p-0673b282.entry.js +2 -0
  857. package/dist/web-components-library/p-0673b282.entry.js.map +1 -0
  858. package/dist/web-components-library/p-06aba4ff.entry.js +2 -0
  859. package/dist/web-components-library/p-06aba4ff.entry.js.map +1 -0
  860. package/dist/web-components-library/p-076d802a.entry.js +2 -0
  861. package/dist/web-components-library/p-076d802a.entry.js.map +1 -0
  862. package/dist/web-components-library/p-10ad3d7c.entry.js +2 -0
  863. package/dist/web-components-library/p-10ad3d7c.entry.js.map +1 -0
  864. package/dist/web-components-library/p-164b8342.entry.js +2 -0
  865. package/dist/web-components-library/p-164b8342.entry.js.map +1 -0
  866. package/dist/web-components-library/p-1ba5aa7a.entry.js +2 -0
  867. package/dist/web-components-library/p-1ba5aa7a.entry.js.map +1 -0
  868. package/dist/web-components-library/p-1c1f699b.entry.js +2 -0
  869. package/dist/web-components-library/p-1c1f699b.entry.js.map +1 -0
  870. package/dist/web-components-library/p-1c63269a.entry.js +2 -0
  871. package/dist/web-components-library/p-1c63269a.entry.js.map +1 -0
  872. package/dist/web-components-library/p-1e25b55b.entry.js +2 -0
  873. package/dist/web-components-library/p-1e25b55b.entry.js.map +1 -0
  874. package/dist/web-components-library/p-21b9ec81.entry.js +2 -0
  875. package/dist/web-components-library/p-21b9ec81.entry.js.map +1 -0
  876. package/dist/web-components-library/p-257be457.entry.js +2 -0
  877. package/dist/web-components-library/p-257be457.entry.js.map +1 -0
  878. package/dist/web-components-library/p-26788712.entry.js +2 -0
  879. package/dist/web-components-library/p-26788712.entry.js.map +1 -0
  880. package/dist/web-components-library/p-2adbfd30.entry.js +2 -0
  881. package/dist/web-components-library/p-2adbfd30.entry.js.map +1 -0
  882. package/dist/web-components-library/p-2fcbc1a1.entry.js +2 -0
  883. package/dist/web-components-library/p-2fcbc1a1.entry.js.map +1 -0
  884. package/dist/web-components-library/p-30579764.entry.js +8 -0
  885. package/dist/web-components-library/p-30579764.entry.js.map +1 -0
  886. package/dist/web-components-library/p-330486fc.entry.js +2 -0
  887. package/dist/web-components-library/p-330486fc.entry.js.map +1 -0
  888. package/dist/web-components-library/p-34d4ee45.entry.js +2 -0
  889. package/dist/web-components-library/p-34d4ee45.entry.js.map +1 -0
  890. package/dist/web-components-library/p-354abbd7.entry.js +2 -0
  891. package/dist/web-components-library/p-354abbd7.entry.js.map +1 -0
  892. package/dist/web-components-library/p-372e83b1.entry.js +2 -0
  893. package/dist/web-components-library/p-372e83b1.entry.js.map +1 -0
  894. package/dist/web-components-library/p-3b70a97c.entry.js +2 -0
  895. package/dist/web-components-library/p-3b70a97c.entry.js.map +1 -0
  896. package/dist/web-components-library/p-3f2658a0.entry.js +2 -0
  897. package/dist/web-components-library/p-3f2658a0.entry.js.map +1 -0
  898. package/dist/web-components-library/p-3f6ea914.entry.js +2 -0
  899. package/dist/web-components-library/p-3f6ea914.entry.js.map +1 -0
  900. package/dist/web-components-library/p-418a7ee5.entry.js +2 -0
  901. package/dist/web-components-library/p-418a7ee5.entry.js.map +1 -0
  902. package/dist/web-components-library/p-4730e9a5.entry.js +2 -0
  903. package/dist/web-components-library/p-4730e9a5.entry.js.map +1 -0
  904. package/dist/web-components-library/p-474493cc.entry.js +2 -0
  905. package/dist/web-components-library/p-474493cc.entry.js.map +1 -0
  906. package/dist/web-components-library/p-4954dd38.entry.js +2 -0
  907. package/dist/web-components-library/p-4954dd38.entry.js.map +1 -0
  908. package/dist/web-components-library/p-4c1b6c40.entry.js +2 -0
  909. package/dist/web-components-library/p-4c1b6c40.entry.js.map +1 -0
  910. package/dist/web-components-library/p-55468801.entry.js +2 -0
  911. package/dist/web-components-library/p-55468801.entry.js.map +1 -0
  912. package/dist/web-components-library/p-55f6d3fe.entry.js +2 -0
  913. package/dist/web-components-library/p-55f6d3fe.entry.js.map +1 -0
  914. package/dist/web-components-library/p-62485d56.entry.js +2 -0
  915. package/dist/web-components-library/p-62485d56.entry.js.map +1 -0
  916. package/dist/web-components-library/p-6a952697.entry.js +2 -0
  917. package/dist/web-components-library/p-6a952697.entry.js.map +1 -0
  918. package/dist/web-components-library/p-6c5937db.entry.js +2 -0
  919. package/dist/web-components-library/p-6c5937db.entry.js.map +1 -0
  920. package/dist/web-components-library/p-6f58880c.entry.js +2 -0
  921. package/dist/web-components-library/p-6f58880c.entry.js.map +1 -0
  922. package/dist/web-components-library/p-7056f90f.entry.js +2 -0
  923. package/dist/web-components-library/p-7056f90f.entry.js.map +1 -0
  924. package/dist/web-components-library/p-70fe7ed8.entry.js +2 -0
  925. package/dist/web-components-library/p-70fe7ed8.entry.js.map +1 -0
  926. package/dist/web-components-library/p-71ddff9a.entry.js +2 -0
  927. package/dist/web-components-library/p-71ddff9a.entry.js.map +1 -0
  928. package/dist/web-components-library/p-86d3a3da.entry.js +2 -0
  929. package/dist/web-components-library/p-86d3a3da.entry.js.map +1 -0
  930. package/dist/web-components-library/p-8751b09d.entry.js +2 -0
  931. package/dist/web-components-library/p-8751b09d.entry.js.map +1 -0
  932. package/dist/web-components-library/p-88e3fb55.entry.js +2 -0
  933. package/dist/web-components-library/p-88e3fb55.entry.js.map +1 -0
  934. package/dist/web-components-library/p-89e96cde.entry.js +2 -0
  935. package/dist/web-components-library/p-89e96cde.entry.js.map +1 -0
  936. package/dist/web-components-library/p-8a545910.entry.js +2 -0
  937. package/dist/web-components-library/p-8a545910.entry.js.map +1 -0
  938. package/dist/web-components-library/p-927d50ea.entry.js +2 -0
  939. package/dist/web-components-library/p-927d50ea.entry.js.map +1 -0
  940. package/dist/web-components-library/p-95c2e9b0.entry.js +2 -0
  941. package/dist/web-components-library/p-95c2e9b0.entry.js.map +1 -0
  942. package/dist/web-components-library/p-98089231.entry.js +2 -0
  943. package/dist/web-components-library/p-98089231.entry.js.map +1 -0
  944. package/dist/web-components-library/p-9b1deaa1.entry.js +2 -0
  945. package/dist/web-components-library/p-9b1deaa1.entry.js.map +1 -0
  946. package/dist/web-components-library/p-AwzX9V8L.js +2 -0
  947. package/dist/web-components-library/p-AwzX9V8L.js.map +1 -0
  948. package/dist/web-components-library/p-B3nR3-Jw.js +2 -0
  949. package/dist/web-components-library/p-B3nR3-Jw.js.map +1 -0
  950. package/dist/web-components-library/p-B85MJLTf.js +2 -1
  951. package/dist/web-components-library/p-B85MJLTf.js.map +1 -0
  952. package/dist/web-components-library/p-BcDWN4F1.js +3 -0
  953. package/dist/web-components-library/p-BcDWN4F1.js.map +1 -0
  954. package/dist/web-components-library/p-BeiZJJuW.js +6 -0
  955. package/dist/web-components-library/p-BeiZJJuW.js.map +1 -0
  956. package/dist/web-components-library/p-Bx6o9v2_.js +2 -0
  957. package/dist/web-components-library/p-Bx6o9v2_.js.map +1 -0
  958. package/dist/web-components-library/p-C8pbzcmM.js +7 -0
  959. package/dist/web-components-library/p-C8pbzcmM.js.map +1 -0
  960. package/dist/web-components-library/p-Q-tWjk7P.js +2 -1
  961. package/dist/web-components-library/p-Q-tWjk7P.js.map +1 -0
  962. package/dist/web-components-library/p-a0a84d24.entry.js +2 -0
  963. package/dist/web-components-library/p-a0a84d24.entry.js.map +1 -0
  964. package/dist/web-components-library/p-a238a3d0.entry.js +17 -0
  965. package/dist/web-components-library/p-a238a3d0.entry.js.map +1 -0
  966. package/dist/web-components-library/p-ab364ca1.entry.js +2 -0
  967. package/dist/web-components-library/p-ab364ca1.entry.js.map +1 -0
  968. package/dist/web-components-library/p-b38cacf2.entry.js +2 -0
  969. package/dist/web-components-library/p-b38cacf2.entry.js.map +1 -0
  970. package/dist/web-components-library/p-b565bff1.entry.js +2 -0
  971. package/dist/web-components-library/p-b565bff1.entry.js.map +1 -0
  972. package/dist/web-components-library/p-c5b3368c.entry.js +2 -0
  973. package/dist/web-components-library/p-c5b3368c.entry.js.map +1 -0
  974. package/dist/web-components-library/p-c64a8fd8.entry.js +2 -0
  975. package/dist/web-components-library/p-c64a8fd8.entry.js.map +1 -0
  976. package/dist/web-components-library/p-c7046a20.entry.js +2 -0
  977. package/dist/web-components-library/p-c7046a20.entry.js.map +1 -0
  978. package/dist/web-components-library/p-c7d65071.entry.js +2 -0
  979. package/dist/web-components-library/p-c7d65071.entry.js.map +1 -0
  980. package/dist/web-components-library/p-ccdfec00.entry.js +2 -0
  981. package/dist/web-components-library/p-ccdfec00.entry.js.map +1 -0
  982. package/dist/web-components-library/p-d15e7b4f.entry.js +2 -0
  983. package/dist/web-components-library/p-d15e7b4f.entry.js.map +1 -0
  984. package/dist/web-components-library/p-d639463e.entry.js +2 -0
  985. package/dist/web-components-library/p-d639463e.entry.js.map +1 -0
  986. package/dist/web-components-library/p-d866a2e1.entry.js +2 -0
  987. package/dist/web-components-library/p-d866a2e1.entry.js.map +1 -0
  988. package/dist/web-components-library/p-db1fa456.entry.js +2 -0
  989. package/dist/web-components-library/p-db1fa456.entry.js.map +1 -0
  990. package/dist/web-components-library/p-dc26eb78.entry.js +2 -0
  991. package/dist/web-components-library/p-dc26eb78.entry.js.map +1 -0
  992. package/dist/web-components-library/p-e5736b1f.entry.js +2 -0
  993. package/dist/web-components-library/p-e5736b1f.entry.js.map +1 -0
  994. package/dist/web-components-library/p-e8eb3bc5.entry.js +2 -0
  995. package/dist/web-components-library/p-e8eb3bc5.entry.js.map +1 -0
  996. package/dist/web-components-library/p-edbedacb.entry.js +2 -0
  997. package/dist/web-components-library/p-edbedacb.entry.js.map +1 -0
  998. package/dist/web-components-library/p-f0557dd9.entry.js +2 -0
  999. package/dist/web-components-library/p-f0557dd9.entry.js.map +1 -0
  1000. package/dist/web-components-library/p-f31f04b9.entry.js +2 -0
  1001. package/dist/web-components-library/p-f31f04b9.entry.js.map +1 -0
  1002. package/dist/web-components-library/p-f4b9e6f4.entry.js +2 -0
  1003. package/dist/web-components-library/p-f4b9e6f4.entry.js.map +1 -0
  1004. package/dist/web-components-library/p-f9c859dc.entry.js +2 -0
  1005. package/dist/web-components-library/p-f9c859dc.entry.js.map +1 -0
  1006. package/dist/web-components-library/p-f9e5a0aa.entry.js +2 -0
  1007. package/dist/web-components-library/p-f9e5a0aa.entry.js.map +1 -0
  1008. package/dist/web-components-library/p-fb8a0bda.entry.js +2 -0
  1009. package/dist/web-components-library/p-fb8a0bda.entry.js.map +1 -0
  1010. package/dist/web-components-library/p-ff89690a.entry.js +2 -0
  1011. package/dist/web-components-library/p-ff89690a.entry.js.map +1 -0
  1012. package/dist/web-components-library/web-components-library.css +80 -0
  1013. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1014. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1015. package/package.json +17 -17
  1016. package/react/components.d.ts +1 -0
  1017. package/react/components.js +3 -2
  1018. package/readme.md +8 -19
  1019. package/www/build/index.esm.js +2 -1
  1020. package/www/build/index.esm.js.map +1 -0
  1021. package/www/build/p-01d2d4e2.entry.js +2 -0
  1022. package/www/build/p-01d2d4e2.entry.js.map +1 -0
  1023. package/www/build/p-02a5c216.entry.js +2 -0
  1024. package/www/build/p-02a5c216.entry.js.map +1 -0
  1025. package/www/build/p-0673b282.entry.js +2 -0
  1026. package/www/build/p-0673b282.entry.js.map +1 -0
  1027. package/www/build/p-06aba4ff.entry.js +2 -0
  1028. package/www/build/p-06aba4ff.entry.js.map +1 -0
  1029. package/www/build/p-076d802a.entry.js +2 -0
  1030. package/www/build/p-076d802a.entry.js.map +1 -0
  1031. package/www/build/p-10ad3d7c.entry.js +2 -0
  1032. package/www/build/p-10ad3d7c.entry.js.map +1 -0
  1033. package/www/build/p-164b8342.entry.js +2 -0
  1034. package/www/build/p-164b8342.entry.js.map +1 -0
  1035. package/www/build/p-188d1101.css +2716 -0
  1036. package/www/build/p-1ba5aa7a.entry.js +2 -0
  1037. package/www/build/p-1ba5aa7a.entry.js.map +1 -0
  1038. package/www/build/p-1c1f699b.entry.js +2 -0
  1039. package/www/build/p-1c1f699b.entry.js.map +1 -0
  1040. package/www/build/p-1c63269a.entry.js +2 -0
  1041. package/www/build/p-1c63269a.entry.js.map +1 -0
  1042. package/www/build/p-1e25b55b.entry.js +2 -0
  1043. package/www/build/p-1e25b55b.entry.js.map +1 -0
  1044. package/www/build/p-21b9ec81.entry.js +2 -0
  1045. package/www/build/p-21b9ec81.entry.js.map +1 -0
  1046. package/www/build/p-257be457.entry.js +2 -0
  1047. package/www/build/p-257be457.entry.js.map +1 -0
  1048. package/www/build/p-26788712.entry.js +2 -0
  1049. package/www/build/p-26788712.entry.js.map +1 -0
  1050. package/www/build/p-2adbfd30.entry.js +2 -0
  1051. package/www/build/p-2adbfd30.entry.js.map +1 -0
  1052. package/www/build/p-2fcbc1a1.entry.js +2 -0
  1053. package/www/build/p-2fcbc1a1.entry.js.map +1 -0
  1054. package/www/build/p-30579764.entry.js +8 -0
  1055. package/www/build/p-30579764.entry.js.map +1 -0
  1056. package/www/build/p-330486fc.entry.js +2 -0
  1057. package/www/build/p-330486fc.entry.js.map +1 -0
  1058. package/www/build/p-34d4ee45.entry.js +2 -0
  1059. package/www/build/p-34d4ee45.entry.js.map +1 -0
  1060. package/www/build/p-354abbd7.entry.js +2 -0
  1061. package/www/build/p-354abbd7.entry.js.map +1 -0
  1062. package/www/build/p-372e83b1.entry.js +2 -0
  1063. package/www/build/p-372e83b1.entry.js.map +1 -0
  1064. package/www/build/p-3b70a97c.entry.js +2 -0
  1065. package/www/build/p-3b70a97c.entry.js.map +1 -0
  1066. package/www/build/p-3f2658a0.entry.js +2 -0
  1067. package/www/build/p-3f2658a0.entry.js.map +1 -0
  1068. package/www/build/p-3f6ea914.entry.js +2 -0
  1069. package/www/build/p-3f6ea914.entry.js.map +1 -0
  1070. package/www/build/p-418a7ee5.entry.js +2 -0
  1071. package/www/build/p-418a7ee5.entry.js.map +1 -0
  1072. package/www/build/p-4730e9a5.entry.js +2 -0
  1073. package/www/build/p-4730e9a5.entry.js.map +1 -0
  1074. package/www/build/p-474493cc.entry.js +2 -0
  1075. package/www/build/p-474493cc.entry.js.map +1 -0
  1076. package/www/build/p-4954dd38.entry.js +2 -0
  1077. package/www/build/p-4954dd38.entry.js.map +1 -0
  1078. package/www/build/p-4c1b6c40.entry.js +2 -0
  1079. package/www/build/p-4c1b6c40.entry.js.map +1 -0
  1080. package/www/build/p-55468801.entry.js +2 -0
  1081. package/www/build/p-55468801.entry.js.map +1 -0
  1082. package/www/build/p-55f6d3fe.entry.js +2 -0
  1083. package/www/build/p-55f6d3fe.entry.js.map +1 -0
  1084. package/www/build/p-62485d56.entry.js +2 -0
  1085. package/www/build/p-62485d56.entry.js.map +1 -0
  1086. package/www/build/p-6a952697.entry.js +2 -0
  1087. package/www/build/p-6a952697.entry.js.map +1 -0
  1088. package/www/build/p-6c5937db.entry.js +2 -0
  1089. package/www/build/p-6c5937db.entry.js.map +1 -0
  1090. package/www/build/p-6f58880c.entry.js +2 -0
  1091. package/www/build/p-6f58880c.entry.js.map +1 -0
  1092. package/www/build/p-7056f90f.entry.js +2 -0
  1093. package/www/build/p-7056f90f.entry.js.map +1 -0
  1094. package/www/build/p-70fe7ed8.entry.js +2 -0
  1095. package/www/build/p-70fe7ed8.entry.js.map +1 -0
  1096. package/www/build/p-71ddff9a.entry.js +2 -0
  1097. package/www/build/p-71ddff9a.entry.js.map +1 -0
  1098. package/www/build/p-86d3a3da.entry.js +2 -0
  1099. package/www/build/p-86d3a3da.entry.js.map +1 -0
  1100. package/www/build/p-8751b09d.entry.js +2 -0
  1101. package/www/build/p-8751b09d.entry.js.map +1 -0
  1102. package/www/build/p-88e3fb55.entry.js +2 -0
  1103. package/www/build/p-88e3fb55.entry.js.map +1 -0
  1104. package/www/build/p-89e96cde.entry.js +2 -0
  1105. package/www/build/p-89e96cde.entry.js.map +1 -0
  1106. package/www/build/p-8a545910.entry.js +2 -0
  1107. package/www/build/p-8a545910.entry.js.map +1 -0
  1108. package/www/build/p-927d50ea.entry.js +2 -0
  1109. package/www/build/p-927d50ea.entry.js.map +1 -0
  1110. package/www/build/p-95c2e9b0.entry.js +2 -0
  1111. package/www/build/p-95c2e9b0.entry.js.map +1 -0
  1112. package/www/build/p-98089231.entry.js +2 -0
  1113. package/www/build/p-98089231.entry.js.map +1 -0
  1114. package/www/build/p-9b1deaa1.entry.js +2 -0
  1115. package/www/build/p-9b1deaa1.entry.js.map +1 -0
  1116. package/www/build/p-AwzX9V8L.js +2 -0
  1117. package/www/build/p-AwzX9V8L.js.map +1 -0
  1118. package/www/build/p-B3nR3-Jw.js +2 -0
  1119. package/www/build/p-B3nR3-Jw.js.map +1 -0
  1120. package/www/build/p-B85MJLTf.js +2 -1
  1121. package/www/build/p-B85MJLTf.js.map +1 -0
  1122. package/www/build/p-BcDWN4F1.js +3 -0
  1123. package/www/build/p-BcDWN4F1.js.map +1 -0
  1124. package/www/build/p-BeiZJJuW.js +6 -0
  1125. package/www/build/p-BeiZJJuW.js.map +1 -0
  1126. package/www/build/p-Bx6o9v2_.js +2 -0
  1127. package/www/build/p-Bx6o9v2_.js.map +1 -0
  1128. package/www/build/p-C8pbzcmM.js +7 -0
  1129. package/www/build/p-C8pbzcmM.js.map +1 -0
  1130. package/www/build/p-Q-tWjk7P.js +2 -1
  1131. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1132. package/www/build/p-a0a84d24.entry.js +2 -0
  1133. package/www/build/p-a0a84d24.entry.js.map +1 -0
  1134. package/www/build/p-a238a3d0.entry.js +17 -0
  1135. package/www/build/p-a238a3d0.entry.js.map +1 -0
  1136. package/www/build/p-ab364ca1.entry.js +2 -0
  1137. package/www/build/p-ab364ca1.entry.js.map +1 -0
  1138. package/www/build/p-b38cacf2.entry.js +2 -0
  1139. package/www/build/p-b38cacf2.entry.js.map +1 -0
  1140. package/www/build/p-b565bff1.entry.js +2 -0
  1141. package/www/build/p-b565bff1.entry.js.map +1 -0
  1142. package/www/build/p-bcc5602c.js +2 -0
  1143. package/www/build/p-c5b3368c.entry.js +2 -0
  1144. package/www/build/p-c5b3368c.entry.js.map +1 -0
  1145. package/www/build/p-c64a8fd8.entry.js +2 -0
  1146. package/www/build/p-c64a8fd8.entry.js.map +1 -0
  1147. package/www/build/p-c7046a20.entry.js +2 -0
  1148. package/www/build/p-c7046a20.entry.js.map +1 -0
  1149. package/www/build/p-c7d65071.entry.js +2 -0
  1150. package/www/build/p-c7d65071.entry.js.map +1 -0
  1151. package/www/build/p-ccdfec00.entry.js +2 -0
  1152. package/www/build/p-ccdfec00.entry.js.map +1 -0
  1153. package/www/build/p-d15e7b4f.entry.js +2 -0
  1154. package/www/build/p-d15e7b4f.entry.js.map +1 -0
  1155. package/www/build/p-d639463e.entry.js +2 -0
  1156. package/www/build/p-d639463e.entry.js.map +1 -0
  1157. package/www/build/p-d866a2e1.entry.js +2 -0
  1158. package/www/build/p-d866a2e1.entry.js.map +1 -0
  1159. package/www/build/p-db1fa456.entry.js +2 -0
  1160. package/www/build/p-db1fa456.entry.js.map +1 -0
  1161. package/www/build/p-dc26eb78.entry.js +2 -0
  1162. package/www/build/p-dc26eb78.entry.js.map +1 -0
  1163. package/www/build/p-e5736b1f.entry.js +2 -0
  1164. package/www/build/p-e5736b1f.entry.js.map +1 -0
  1165. package/www/build/p-e8eb3bc5.entry.js +2 -0
  1166. package/www/build/p-e8eb3bc5.entry.js.map +1 -0
  1167. package/www/build/p-edbedacb.entry.js +2 -0
  1168. package/www/build/p-edbedacb.entry.js.map +1 -0
  1169. package/www/build/p-f0557dd9.entry.js +2 -0
  1170. package/www/build/p-f0557dd9.entry.js.map +1 -0
  1171. package/www/build/p-f31f04b9.entry.js +2 -0
  1172. package/www/build/p-f31f04b9.entry.js.map +1 -0
  1173. package/www/build/p-f4b9e6f4.entry.js +2 -0
  1174. package/www/build/p-f4b9e6f4.entry.js.map +1 -0
  1175. package/www/build/p-f9c859dc.entry.js +2 -0
  1176. package/www/build/p-f9c859dc.entry.js.map +1 -0
  1177. package/www/build/p-f9e5a0aa.entry.js +2 -0
  1178. package/www/build/p-f9e5a0aa.entry.js.map +1 -0
  1179. package/www/build/p-fb8a0bda.entry.js +2 -0
  1180. package/www/build/p-fb8a0bda.entry.js.map +1 -0
  1181. package/www/build/p-ff89690a.entry.js +2 -0
  1182. package/www/build/p-ff89690a.entry.js.map +1 -0
  1183. package/www/build/web-components-library.css +80 -0
  1184. package/www/build/web-components-library.esm.js +2 -1
  1185. package/www/build/web-components-library.esm.js.map +1 -0
  1186. package/www/index.html +1 -1
  1187. package/dist/cjs/iconset-oiCBBbd2.js +0 -1027
  1188. package/dist/cjs/index-D_S5lGcb.js +0 -2683
  1189. package/dist/cjs/index-wGaSHN1_.js +0 -407
  1190. package/dist/cjs/utils-C5_wGVkJ.js +0 -2718
  1191. package/dist/cjs/utils-Ctc6JP2n.js +0 -259
  1192. package/dist/collection/__mocks__/fileMock.js +0 -1
  1193. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  1194. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  1195. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  1196. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  1197. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  1198. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  1199. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  1200. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  1201. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  1202. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  1203. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  1204. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  1205. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  1206. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  1207. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  1208. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  1209. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  1210. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  1211. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  1212. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  1213. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  1214. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  1215. package/dist/collection/components/z-app-header/index.stories.js +0 -318
  1216. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  1217. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  1218. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  1219. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  1220. package/dist/collection/components/z-button/index.stories.js +0 -103
  1221. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  1222. package/dist/collection/components/z-card/index.stories.js +0 -302
  1223. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  1224. package/dist/collection/components/z-chip/index.stories.js +0 -69
  1225. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  1226. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  1227. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  1228. package/dist/collection/components/z-divider/index.stories.js +0 -44
  1229. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  1230. package/dist/collection/components/z-icon/index.stories.js +0 -70
  1231. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  1232. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  1233. package/dist/collection/components/z-input/index.stories.js +0 -293
  1234. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  1235. package/dist/collection/components/z-logo/index.stories.js +0 -25
  1236. package/dist/collection/components/z-menu/index.stories.js +0 -122
  1237. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  1238. package/dist/collection/components/z-modal/index.stories.js +0 -201
  1239. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  1240. package/dist/collection/components/z-notification/index.stories.js +0 -174
  1241. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  1242. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  1243. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  1244. package/dist/collection/components/z-popover/index.stories.js +0 -282
  1245. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  1246. package/dist/collection/components/z-searchbar/index.stories.js +0 -332
  1247. package/dist/collection/components/z-select/index.stories.js +0 -359
  1248. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  1249. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  1250. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  1251. package/dist/collection/components/z-tag/index.stories.js +0 -63
  1252. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  1253. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  1254. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  1255. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  1256. package/dist/collection/components/z-tool/index.stories.js +0 -146
  1257. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  1258. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  1259. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  1260. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  1261. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  1262. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  1263. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  1264. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  1265. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  1266. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  1267. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  1268. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  1269. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  1270. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  1271. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  1272. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  1273. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  1274. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  1275. package/dist/esm/iconset-CjHS9zeM.js +0 -1024
  1276. package/dist/esm/index-BKCj6NR2.js +0 -405
  1277. package/dist/esm/index-DPdXlnVe.js +0 -2653
  1278. package/dist/esm/utils-DYd3kO0P.js +0 -244
  1279. package/dist/esm/utils-DuuLzXZj.js +0 -2712
  1280. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  1281. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  1282. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  1283. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  1284. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  1285. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  1286. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  1287. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  1288. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  1289. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  1290. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  1291. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  1292. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  1293. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  1294. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  1295. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  1296. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  1297. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  1298. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  1299. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  1300. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  1301. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  1302. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  1303. package/dist/types/components/z-app-header/index.stories.d.ts +0 -128
  1304. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  1305. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  1306. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  1307. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  1308. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  1309. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  1310. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  1311. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  1312. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  1313. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  1314. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  1315. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  1316. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  1317. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  1318. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  1319. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  1320. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  1321. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  1322. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  1323. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  1324. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  1325. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  1326. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  1327. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  1328. package/dist/types/components/z-notification/index.stories.d.ts +0 -77
  1329. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  1330. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  1331. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  1332. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  1333. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  1334. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -163
  1335. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  1336. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  1337. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  1338. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  1339. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  1340. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  1341. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  1342. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  1343. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  1344. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  1345. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  1346. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  1347. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  1348. package/dist/web-components-library/p-087956fa.entry.js +0 -1
  1349. package/dist/web-components-library/p-10e5e16e.entry.js +0 -1
  1350. package/dist/web-components-library/p-13e7f751.entry.js +0 -1
  1351. package/dist/web-components-library/p-14b804f9.entry.js +0 -1
  1352. package/dist/web-components-library/p-1580db58.entry.js +0 -1
  1353. package/dist/web-components-library/p-15825811.entry.js +0 -1
  1354. package/dist/web-components-library/p-1993b0ad.entry.js +0 -1
  1355. package/dist/web-components-library/p-1a95491d.entry.js +0 -1
  1356. package/dist/web-components-library/p-1d023220.entry.js +0 -1
  1357. package/dist/web-components-library/p-21c85e04.entry.js +0 -1
  1358. package/dist/web-components-library/p-23b46642.entry.js +0 -1
  1359. package/dist/web-components-library/p-299f0f85.entry.js +0 -1
  1360. package/dist/web-components-library/p-29dde955.entry.js +0 -1
  1361. package/dist/web-components-library/p-2c036e17.entry.js +0 -1
  1362. package/dist/web-components-library/p-2d4c01c3.entry.js +0 -1
  1363. package/dist/web-components-library/p-2dabe353.entry.js +0 -1
  1364. package/dist/web-components-library/p-2df6d169.entry.js +0 -1
  1365. package/dist/web-components-library/p-2ef82e17.entry.js +0 -1
  1366. package/dist/web-components-library/p-324933f6.entry.js +0 -1
  1367. package/dist/web-components-library/p-37e84b71.entry.js +0 -1
  1368. package/dist/web-components-library/p-3c53e451.entry.js +0 -1
  1369. package/dist/web-components-library/p-3ea03d34.entry.js +0 -1
  1370. package/dist/web-components-library/p-41584e90.entry.js +0 -1
  1371. package/dist/web-components-library/p-50e10a10.entry.js +0 -1
  1372. package/dist/web-components-library/p-52899754.entry.js +0 -1
  1373. package/dist/web-components-library/p-53670be4.entry.js +0 -1
  1374. package/dist/web-components-library/p-583b8152.entry.js +0 -1
  1375. package/dist/web-components-library/p-5a05dc1e.entry.js +0 -1
  1376. package/dist/web-components-library/p-5d20fc3d.entry.js +0 -1
  1377. package/dist/web-components-library/p-622466f9.entry.js +0 -1
  1378. package/dist/web-components-library/p-658f022d.entry.js +0 -1
  1379. package/dist/web-components-library/p-6bd35edf.entry.js +0 -1
  1380. package/dist/web-components-library/p-7226f07a.entry.js +0 -1
  1381. package/dist/web-components-library/p-7371a543.entry.js +0 -2
  1382. package/dist/web-components-library/p-77bf39a4.entry.js +0 -1
  1383. package/dist/web-components-library/p-788eaac7.entry.js +0 -1
  1384. package/dist/web-components-library/p-7bf7539a.entry.js +0 -1
  1385. package/dist/web-components-library/p-81eb43fd.entry.js +0 -1
  1386. package/dist/web-components-library/p-8261c869.entry.js +0 -1
  1387. package/dist/web-components-library/p-83da1031.entry.js +0 -1
  1388. package/dist/web-components-library/p-85cac60d.entry.js +0 -1
  1389. package/dist/web-components-library/p-88a3ba7c.entry.js +0 -1
  1390. package/dist/web-components-library/p-8a8df4f4.entry.js +0 -1
  1391. package/dist/web-components-library/p-8b026993.entry.js +0 -1
  1392. package/dist/web-components-library/p-8d7e2e16.entry.js +0 -1
  1393. package/dist/web-components-library/p-8de064a4.entry.js +0 -1
  1394. package/dist/web-components-library/p-8f4a04aa.entry.js +0 -1
  1395. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1396. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1397. package/dist/web-components-library/p-CPsEG702.js +0 -1
  1398. package/dist/web-components-library/p-CjHS9zeM.js +0 -1
  1399. package/dist/web-components-library/p-DPdXlnVe.js +0 -2
  1400. package/dist/web-components-library/p-a4f673f8.entry.js +0 -1
  1401. package/dist/web-components-library/p-aa4fc3d3.entry.js +0 -1
  1402. package/dist/web-components-library/p-aa72d766.entry.js +0 -1
  1403. package/dist/web-components-library/p-ad2cd7fc.entry.js +0 -1
  1404. package/dist/web-components-library/p-b6223d7e.entry.js +0 -1
  1405. package/dist/web-components-library/p-b851f20b.entry.js +0 -1
  1406. package/dist/web-components-library/p-b9343431.entry.js +0 -1
  1407. package/dist/web-components-library/p-be354b22.entry.js +0 -1
  1408. package/dist/web-components-library/p-c42ddd93.entry.js +0 -1
  1409. package/dist/web-components-library/p-c4e7bd16.entry.js +0 -1
  1410. package/dist/web-components-library/p-c944a943.entry.js +0 -1
  1411. package/dist/web-components-library/p-cd33f4b1.entry.js +0 -1
  1412. package/dist/web-components-library/p-cdd88182.entry.js +0 -16
  1413. package/dist/web-components-library/p-d3053434.entry.js +0 -1
  1414. package/dist/web-components-library/p-d63665c1.entry.js +0 -1
  1415. package/dist/web-components-library/p-dabccb20.entry.js +0 -1
  1416. package/dist/web-components-library/p-dc5ab2cc.entry.js +0 -1
  1417. package/dist/web-components-library/p-dfd43710.entry.js +0 -1
  1418. package/dist/web-components-library/p-e1d0a6e3.entry.js +0 -1
  1419. package/dist/web-components-library/p-e48497f0.entry.js +0 -1
  1420. package/dist/web-components-library/p-ec4940ce.entry.js +0 -1
  1421. package/dist/web-components-library/p-eddc2d19.entry.js +0 -1
  1422. package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
  1423. package/dist/web-components-library/p-f7e46ef2.entry.js +0 -1
  1424. package/www/build/p-087956fa.entry.js +0 -1
  1425. package/www/build/p-10e5e16e.entry.js +0 -1
  1426. package/www/build/p-13e7f751.entry.js +0 -1
  1427. package/www/build/p-14b804f9.entry.js +0 -1
  1428. package/www/build/p-1580db58.entry.js +0 -1
  1429. package/www/build/p-15825811.entry.js +0 -1
  1430. package/www/build/p-1993b0ad.entry.js +0 -1
  1431. package/www/build/p-1a95491d.entry.js +0 -1
  1432. package/www/build/p-1d023220.entry.js +0 -1
  1433. package/www/build/p-21c85e04.entry.js +0 -1
  1434. package/www/build/p-23b46642.entry.js +0 -1
  1435. package/www/build/p-299f0f85.entry.js +0 -1
  1436. package/www/build/p-29dde955.entry.js +0 -1
  1437. package/www/build/p-2c036e17.entry.js +0 -1
  1438. package/www/build/p-2d4c01c3.entry.js +0 -1
  1439. package/www/build/p-2dabe353.entry.js +0 -1
  1440. package/www/build/p-2df6d169.entry.js +0 -1
  1441. package/www/build/p-2ef82e17.entry.js +0 -1
  1442. package/www/build/p-324933f6.entry.js +0 -1
  1443. package/www/build/p-37e84b71.entry.js +0 -1
  1444. package/www/build/p-3c53e451.entry.js +0 -1
  1445. package/www/build/p-3ea03d34.entry.js +0 -1
  1446. package/www/build/p-41584e90.entry.js +0 -1
  1447. package/www/build/p-50e10a10.entry.js +0 -1
  1448. package/www/build/p-52899754.entry.js +0 -1
  1449. package/www/build/p-53670be4.entry.js +0 -1
  1450. package/www/build/p-583b8152.entry.js +0 -1
  1451. package/www/build/p-5a05dc1e.entry.js +0 -1
  1452. package/www/build/p-5d20fc3d.entry.js +0 -1
  1453. package/www/build/p-622466f9.entry.js +0 -1
  1454. package/www/build/p-658f022d.entry.js +0 -1
  1455. package/www/build/p-6bd35edf.entry.js +0 -1
  1456. package/www/build/p-7226f07a.entry.js +0 -1
  1457. package/www/build/p-7371a543.entry.js +0 -2
  1458. package/www/build/p-77bf39a4.entry.js +0 -1
  1459. package/www/build/p-788eaac7.entry.js +0 -1
  1460. package/www/build/p-7bf7539a.entry.js +0 -1
  1461. package/www/build/p-81eb43fd.entry.js +0 -1
  1462. package/www/build/p-8261c869.entry.js +0 -1
  1463. package/www/build/p-83da1031.entry.js +0 -1
  1464. package/www/build/p-85cac60d.entry.js +0 -1
  1465. package/www/build/p-88a3ba7c.entry.js +0 -1
  1466. package/www/build/p-8a8df4f4.entry.js +0 -1
  1467. package/www/build/p-8b026993.entry.js +0 -1
  1468. package/www/build/p-8d7e2e16.entry.js +0 -1
  1469. package/www/build/p-8de064a4.entry.js +0 -1
  1470. package/www/build/p-8f4a04aa.entry.js +0 -1
  1471. package/www/build/p-B8WJfd4z.js +0 -1
  1472. package/www/build/p-BKCj6NR2.js +0 -1
  1473. package/www/build/p-CPsEG702.js +0 -1
  1474. package/www/build/p-CjHS9zeM.js +0 -1
  1475. package/www/build/p-DPdXlnVe.js +0 -2
  1476. package/www/build/p-a4f673f8.entry.js +0 -1
  1477. package/www/build/p-aa4fc3d3.entry.js +0 -1
  1478. package/www/build/p-aa72d766.entry.js +0 -1
  1479. package/www/build/p-ad2cd7fc.entry.js +0 -1
  1480. package/www/build/p-b6223d7e.entry.js +0 -1
  1481. package/www/build/p-b851f20b.entry.js +0 -1
  1482. package/www/build/p-b9343431.entry.js +0 -1
  1483. package/www/build/p-be354b22.entry.js +0 -1
  1484. package/www/build/p-c42ddd93.entry.js +0 -1
  1485. package/www/build/p-c4e7bd16.entry.js +0 -1
  1486. package/www/build/p-c5c5a64f.js +0 -1
  1487. package/www/build/p-c60c851a.css +0 -2636
  1488. package/www/build/p-c944a943.entry.js +0 -1
  1489. package/www/build/p-cd33f4b1.entry.js +0 -1
  1490. package/www/build/p-cdd88182.entry.js +0 -16
  1491. package/www/build/p-d3053434.entry.js +0 -1
  1492. package/www/build/p-d63665c1.entry.js +0 -1
  1493. package/www/build/p-dabccb20.entry.js +0 -1
  1494. package/www/build/p-dc5ab2cc.entry.js +0 -1
  1495. package/www/build/p-dfd43710.entry.js +0 -1
  1496. package/www/build/p-e1d0a6e3.entry.js +0 -1
  1497. package/www/build/p-e48497f0.entry.js +0 -1
  1498. package/www/build/p-ec4940ce.entry.js +0 -1
  1499. package/www/build/p-eddc2d19.entry.js +0 -1
  1500. package/www/build/p-ef5018bb.entry.js +0 -1
  1501. package/www/build/p-f7e46ef2.entry.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/list/z-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACpF,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAOlD,MAAM,OAAO,KAAK;IALlB;QAQE;;WAEG;QAEH,SAAI,GAAc,QAAQ,CAAC,MAAM,CAAC;QAElC;;WAEG;QAEH,aAAQ,GAAc,QAAQ,CAAC,IAAI,CAAC;QAEpC;;WAEG;QAEH,SAAI,GAAG,MAAM,CAAC;KAsBf;IApBS,mBAAmB;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAC5C,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YACrD,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,uBAAuB,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxE,CAAC;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\nimport {ListSize, ListType} from \"../../../beans\";\n\n@Component({\n tag: \"z-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZList implements ComponentInterface {\n @Element() host: HTMLZListElement;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * Sets role of the element.\n */\n @Prop({reflect: true})\n role = \"list\";\n\n private setChildrenSizeType(): void {\n const children = this.host.children;\n for (let i = 0; i < children.length; i++) {\n children[i].setAttribute(\"size\", this.size);\n children[i].setAttribute(\"list-type\", this.listType);\n children[i].setAttribute(\"list-element-position\", (i + 1).toString());\n }\n }\n\n componentDidLoad(): void {\n this.setChildrenSizeType();\n }\n\n render(): HTMLZListElement {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}
@@ -157,7 +157,7 @@ export class ZListElement {
157
157
  }
158
158
  }
159
159
  render() {
160
- return (h(Host, { key: '565d88705b517e78e6b9c05f5923903704472751', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.role }, h("div", { key: '6a1ccb7af0b9455e52e4b0b7699722a2f2e98f01', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '64a7d40c04afdb7cd9fc1f090926d7de10341ef4', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: 'e781e6f655bd4a7d0987fef33d8b426caa7ed0aa', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
160
+ return (h(Host, { key: '9a06293fba7e3b74fe169d1d3e927a4abd7b17f1', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.role }, h("div", { key: 'c962c30a71313bd84b1075ad03a96e4b5de77a42', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: 'ccca86019dec23767ae7bcf5af988c7f2366d850', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: 'f8f1b6053d0fe0415b520c4f1deaba92e24019b8', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
161
161
  }
162
162
  static get is() { return "z-list-element"; }
163
163
  static get encapsulation() { return "shadow"; }
@@ -599,3 +599,4 @@ export class ZListElement {
599
599
  }];
600
600
  }
601
601
  }
602
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/list/z-list-element/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACxH,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,QAAQ,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WAAW,GACtB,CACH,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, h, Host, Listen, Prop, State} from \"@stencil/core\";\nimport {\n DividerSize,\n ExpandableListButtonAlign,\n ExpandableListStyle,\n KeyboardCode,\n ListDividerType,\n ListSize,\n ListType,\n} from \"../../../beans\";\n\n@Component({\n tag: \"z-list-element\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZListElement implements ComponentInterface {\n @Element() host: HTMLZListElementElement;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"accessibleFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n accessibleFocus: EventEmitter<number>;\n\n /** set parent aria-activedescendant on focus event, returns filterid */\n @Event({\n eventName: \"ariaDescendantFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n ariaDescendantFocus: EventEmitter<number>;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"clickItem\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n clickItem: EventEmitter;\n\n @Listen(\"accessibleFocus\", {target: \"document\"})\n accessibleFocusHandler(e: CustomEvent): void {\n if (this.listElementId === e.detail) {\n const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);\n toFocus.focus();\n }\n }\n\n /**\n * [optional] Align expandable button left or right.\n */\n @Prop({reflect: true})\n alignButton?: ExpandableListButtonAlign = ExpandableListButtonAlign.LEFT;\n\n /**\n * [optional] Sets element clickable.\n */\n @Prop({reflect: true})\n clickable?: boolean = false;\n\n /**\n * [optional] Sets the divider color.\n */\n @Prop()\n dividerColor?: string = \"color-surface03\";\n\n /**\n * [optional] Sets the position where to insert the divider.\n */\n @Prop()\n dividerType?: ListDividerType = ListDividerType.NONE;\n\n /**\n * [optional] Sets the divider size.\n */\n @Prop()\n dividerSize?: DividerSize = DividerSize.SMALL;\n\n /**\n * [optional] Sets element as expandable.\n */\n @Prop({reflect: true})\n expandable?: boolean = false;\n\n /**\n * [optional] Sets expandable style to element.\n */\n @Prop()\n expandableStyle?: ExpandableListStyle = ExpandableListStyle.ACCORDION;\n\n /**\n * [optional] List element id.\n */\n @Prop({reflect: true})\n listElementId?: number;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] Sets text color of the element.\n */\n @Prop({reflect: true})\n color?: string = \"none\";\n\n /**\n * [optional] Sets disabled style of the element.\n */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /**\n * [optional] position of the list element inside the list or the group\n */\n @Prop({reflect: true})\n listElementPosition?: string = \"0\";\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * [optional] Sets element as tree item.\n */\n @Prop()\n hasTreeItems?: boolean;\n\n /**\n * Sets element role.\n */\n @Prop({reflect: true})\n role = \"listitem\";\n\n /** set tabindex to Host tag (optional). Defaults to 0. */\n @Prop()\n htmlTabindex?: number | null = 0;\n\n @State()\n showInnerContent = false;\n\n private openElementConfig = {\n accordion: {\n open: \"minus-circled\",\n close: \"plus-circled\",\n },\n menu: {\n open: \"chevron-up\",\n close: \"chevron-down\",\n },\n };\n\n /**\n * Constructor.\n */\n constructor() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n /**\n * Handler for click on element. If element is expandable, change state.\n * @returns void\n */\n private handleClick(): void {\n if (this.disabled) {\n return;\n }\n\n this.clickItem.emit(this.listElementId);\n if (!this.expandable) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n private handleKeyDown(event): void {\n const expandByKey = event.code === KeyboardCode.ENTER;\n switch (event.code) {\n case KeyboardCode.ARROW_DOWN:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId + 1);\n break;\n case KeyboardCode.ARROW_UP:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId - 1);\n break;\n case KeyboardCode.ENTER:\n event.preventDefault();\n this.clickItem.emit(this.listElementId);\n break;\n default:\n break;\n }\n\n if (!this.expandable || !expandByKey) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n /**\n * Renders button to expand element.\n * @returns expadable button\n */\n private renderExpandableButton(): HTMLZIconElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <z-icon\n name={\n this.showInnerContent\n ? this.openElementConfig[this.expandableStyle].open\n : this.openElementConfig[this.expandableStyle].close\n }\n />\n );\n }\n\n /**\n * Renders expanded content if element is expandable.\n * @returns expanded content\n */\n private renderExpandedContent(): HTMLDivElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <div\n class={{\n \"z-list-element-inner-container\": true,\n \"expanded\": this.showInnerContent,\n }}\n >\n <slot name=\"inner-content\" />\n </div>\n );\n }\n\n /**\n * Renders content of the z-list-element\n * @returns list content\n */\n private renderContent(): HTMLDivElement {\n if (this.listType === ListType.NONE) {\n return <slot />;\n }\n\n if (this.listType === ListType.ORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <div>{this.listElementPosition}.&emsp;</div>\n <slot />\n </div>\n );\n }\n\n if (this.listType === ListType.UNORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <span>&bull;&emsp;</span>\n <slot />\n </div>\n );\n }\n }\n\n render(): HTMLZListElementElement {\n return (\n <Host\n aria-expanded={this.expandable ? this.showInnerContent : null}\n onClick={this.handleClick}\n onFocus={() => this.ariaDescendantFocus.emit(this.listElementId)}\n onKeyDown={this.handleKeyDown}\n clickable={this.clickable && !this.disabled}\n tabIndex={this.hasTreeItems ? undefined : this.htmlTabindex}\n role={this.hasTreeItems ? \"none\" : this.role}\n >\n <div\n class={this.hasTreeItems ? \"tree-element-container\" : \"container\"}\n style={!this.disabled && {color: `var(--${this.color})`}}\n tabindex=\"-1\"\n id={`z-list-element-id-${this.listElementId}`}\n part=\"list-item-container\"\n >\n <div class=\"z-list-element-container\">\n {this.renderExpandableButton()}\n {this.renderContent()}\n </div>\n {this.renderExpandedContent()}\n </div>\n {this.dividerType === ListDividerType.ELEMENT && (\n <z-divider\n class={{\"z-tree-list-divider\": this.hasTreeItems}}\n color={this.dividerColor}\n size={this.dividerSize}\n />\n )}\n </Host>\n );\n }\n}\n"]}
@@ -44,11 +44,11 @@ export class ZListGroup {
44
44
  this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: 'a2b30a3071d35ba28d8e485ff92a88e537a85290' }, h("div", { key: '528f17bfa6de4ccb252e86ec424b388f3d6d4ff0', class: {
47
+ return (h(Host, { key: 'cd9bd738252e44011edad7b468ad711a2ef83f12' }, h("div", { key: 'd2c2e41d50b4884b438ae7b25e9e2b06260df6ac', class: {
48
48
  "z-list-group-header-container": true,
49
49
  "has-header": this.hasHeader && !this.hasTreeItems,
50
50
  "grouped-tree-list-header": this.hasTreeItems,
51
- } }, h("slot", { key: '318ed932865eef9943a0f7ff7ae87e02a2ce968e', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '3d6d1ea46c42420c86b4f5f22bf5d5bcb1c5268f', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: 'f02a9b862b895d421be12ba4eb9625269f086e03' })));
51
+ } }, h("slot", { key: 'c47a8ea2508c87bbd0688248dcae0350d159350a', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: 'c0586eee517b42aaf76507286bd086abaecb8013', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: '5f558529f5de2f4b62403d239e8424eea6259fd3' })));
52
52
  }
53
53
  static get is() { return "z-list-group"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -235,3 +235,4 @@ export class ZListGroup {
235
235
  }
236
236
  static get elementRef() { return "host"; }
237
237
  }
238
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/list/z-list-group/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACpF,OAAO,EAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAOhF,MAAM,OAAO,UAAU;IALvB;QAQE;;WAEG;QAEH,SAAI,GAAc,QAAQ,CAAC,MAAM,CAAC;QAElC;;WAEG;QAEH,gBAAW,GAAqB,eAAe,CAAC,IAAI,CAAC;QAErD;;WAEG;QAEH,gBAAW,GAAiB,WAAW,CAAC,KAAK,CAAC;QAE9C;;WAEG;QAEH,iBAAY,GAAY,SAAS,CAAC;QAElC;;WAEG;QAEH,aAAQ,GAAc,QAAQ,CAAC,IAAI,CAAC;QAQpC;;WAEG;QAEH,SAAI,GAAG,OAAO,CAAC;KA4ChB;IAxCC,gBAAgB;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, h, Host, Prop} from \"@stencil/core\";\nimport {DividerSize, ListDividerType, ListSize, ListType} from \"../../../beans\";\n\n@Component({\n tag: \"z-list-group\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZListGroup implements ComponentInterface {\n @Element() host: HTMLZListGroupElement;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] Sets the position where to insert the divider.\n */\n @Prop({reflect: true})\n dividerType?: ListDividerType = ListDividerType.NONE;\n\n /**\n * [optional] Sets the divider size.\n */\n @Prop({reflect: true})\n dividerSize?: DividerSize = DividerSize.SMALL;\n\n /**\n * [optional] Sets the divider color.\n */\n @Prop({reflect: true})\n dividerColor?: string = \"gray200\";\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * [optional] check for tree items in grouped lists\n */\n @Prop()\n hasTreeItems?: boolean;\n\n /**\n * Sets element role.\n */\n @Prop({reflect: true})\n role = \"group\";\n\n private hasHeader: boolean;\n\n componentDidLoad(): void {\n const children = this.host.children;\n for (let i = 0; i < children.length; i++) {\n if (children.length - 1 > i) {\n children[i].setAttribute(\"divider-type\", this.dividerType);\n children[i].setAttribute(\"divider-size\", this.dividerSize);\n children[i].setAttribute(\"divider-color\", this.dividerColor);\n }\n children[i].setAttribute(\"size\", this.size);\n children[i].setAttribute(\"list-type\", this.listType);\n children[i].setAttribute(\"list-element-position\", i.toString());\n }\n }\n\n componentWillLoad(): void {\n this.hasHeader = !!this.host.querySelector('[slot=\"header-title\"]');\n }\n\n render(): HTMLZListGroupElement {\n return (\n <Host>\n <div\n class={{\n \"z-list-group-header-container\": true,\n \"has-header\": this.hasHeader && !this.hasTreeItems,\n \"grouped-tree-list-header\": this.hasTreeItems,\n }}\n >\n <slot name=\"header-title\" />\n {this.dividerType === ListDividerType.HEADER && (\n <z-divider\n color={this.dividerColor}\n size={this.dividerSize}\n />\n )}\n </div>\n <slot />\n </Host>\n );\n }\n}\n"]}
@@ -93,7 +93,7 @@ export class ZTreeList {
93
93
  }
94
94
  render() {
95
95
  const hasClickableItems = this.parsedItems.some((item) => !!item.url);
96
- return (h(Host, { key: 'ca5b846e86140efd7a98028001e646349cc5683a', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: 'eac955c253173abb6e5f0992d356311dc52f9ee6', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
96
+ return (h(Host, { key: '68d06fd53ad0f4bce01853b95aef0f7482f3304a', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '6b8010ae9caf73ec0a43b09f5d9610247110d1a6', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
97
97
  }
98
98
  static get is() { return "z-tree-list"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -202,3 +202,4 @@ export class ZTreeList {
202
202
  }];
203
203
  }
204
204
  }
205
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/list/z-tree-list/index.tsx"],"names":[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,CAAC,IAAI,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC,CACrE,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, TreeListItem} from \"../../../beans\";\n\n@Component({\n tag: \"z-tree-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTreeList implements ComponentInterface {\n @Element() host: HTMLZTreeListElement;\n\n /** Items to render, if they have the url property they will be rendered as clickable links */\n @Prop()\n items: TreeListItem[] | string = [];\n\n /** Used for aria-labelledby attribute, sets name in \"navigation\" */\n @Prop({reflect: true})\n htmlAriaLabelledby: string;\n\n /** Used for aria-label attribute, sets name in \"tree\" */\n @Prop({reflect: true})\n htmlSectionTitle: string;\n\n /** Emitted on item click, it return the id, name and url of the clicked item */\n @Event()\n treeItemClicked: EventEmitter<{id: string; name: string; url: string}>;\n\n private parsedItems: TreeListItem[] = [];\n\n private htmlTag: string;\n\n @Watch(\"items\")\n watchItems(): void {\n this.parsedItems = typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n private handleClick(item: TreeListItem): void {\n this.treeItemClicked.emit({id: item.id, name: item.name, url: item.url});\n }\n\n private getFocusableElements(): HTMLElement[] {\n return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex=\"0\"]'));\n }\n\n private getAncestor(element: HTMLElement, levels: number): HTMLElement | null {\n let ancestor: HTMLElement | null = element;\n\n for (let i = 0; i < levels; i++) {\n ancestor = ancestor?.parentElement;\n if (!ancestor) {\n return;\n }\n }\n\n return ancestor;\n }\n\n private handleArrowNav(event: KeyboardEvent): void {\n if (event.code === KeyboardCode.TAB) {\n event.preventDefault();\n\n return;\n }\n\n const focusableElements = this.getFocusableElements();\n const currentIndex = focusableElements.indexOf(event.target as HTMLElement);\n\n if (currentIndex === -1) {\n return;\n }\n\n if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {\n event.preventDefault();\n\n const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);\n if (nextIndex < 0 || nextIndex >= focusableElements.length) {\n return;\n }\n\n focusableElements[nextIndex].focus();\n }\n\n if (event.code === KeyboardCode.ARROW_LEFT) {\n event.preventDefault();\n const ancestor = this.getAncestor(focusableElements[currentIndex], 4);\n\n if (\n !ancestor ||\n !ancestor.children[0] ||\n (ancestor.children[0].tagName.toLowerCase() !== \"a\" && ancestor.getAttribute(\"tabindex\") === null)\n ) {\n return;\n }\n\n (ancestor.children[0] as HTMLElement).focus();\n }\n\n if (event.code === KeyboardCode.ARROW_RIGHT) {\n event.preventDefault();\n\n const parentElm = (event.target as HTMLElement).closest(\"z-list-element\") as HTMLElement;\n\n if (!parentElm) {\n return;\n }\n\n const childrenContainer = parentElm.querySelector(\"z-list\") as HTMLElement;\n\n if (!childrenContainer) {\n return;\n }\n\n const firstChild = childrenContainer.querySelector('a[tabindex=\"0\"]') as HTMLElement;\n\n if (!firstChild) {\n return;\n }\n\n firstChild.focus();\n }\n }\n\n private renderTreeList(item: TreeListItem, key: string, level = 1): HTMLZListElementElement {\n this.htmlTag = item.url ? \"a\" : \"span\";\n\n const treeListContent = (\n <z-list-element\n id={key}\n class={!item.icon ? \"no-icon-elm\" : \"\"}\n clickable={Boolean(item.url)}\n hasTreeItems={true}\n role=\"none\"\n aria-hidden={undefined}\n >\n <this.htmlTag\n class={{\n \"list-element\": true,\n \"z-link\": Boolean(item.url),\n \"link-clickable\": Boolean(item.url),\n }}\n tabIndex={item.url ? 0 : -1}\n onClick={() => this.handleClick(item)}\n onKeyUp={(event: KeyboardEvent) => {\n if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {\n this.handleClick(item);\n }\n }}\n onKeyDown={(event: KeyboardEvent) => this.handleArrowNav(event)}\n role={item.url ? \"treeitem\" : undefined}\n aria-hidden={item.url ? undefined : \"true\"}\n aria-expanded={item.children?.length > 0 && true}\n aria-level={level}\n aria-label={item.name}\n href={item.url}\n >\n <span class=\"item ellipsis\">\n {item.icon && (\n <z-icon\n width={16}\n height={16}\n fill={item.url ? \"color-primary01\" : \"color-default-icon\"}\n class=\"item-icon\"\n name={item.icon}\n />\n )}\n <span\n class={{\n \"item-label\": true,\n \"no-icon-label\": !item.icon,\n \"bold-item\": item.bold,\n }}\n title={item.name}\n >\n {item.name}\n </span>\n </span>\n </this.htmlTag>\n {item.children?.length > 0 && (\n <z-list role=\"group\">\n <div class=\"children-node\">\n {item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1))}\n </div>\n </z-list>\n )}\n </z-list-element>\n );\n\n return treeListContent;\n }\n\n render(): HTMLZTreeListElement {\n const hasClickableItems = this.parsedItems.some((item) => !!item.url);\n\n return (\n <Host\n class=\"tree-list\"\n role={hasClickableItems ? \"navigation\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-labelledby={this.htmlAriaLabelledby}\n >\n <div\n tabIndex={-1}\n role={hasClickableItems ? \"tree\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-label={this.htmlSectionTitle}\n >\n {this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`))}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -3,7 +3,6 @@
3
3
  display: flex;
4
4
  max-width: 100%;
5
5
  align-items: center;
6
- padding: calc(var(--z-table--cells-padding, calc(var(--space-unit) * 2)));
7
6
  background-color: var(--color-surface01);
8
7
  gap: calc(var(--space-unit) * 2) var(--space-unit);
9
8
  }
@@ -42,18 +42,18 @@ export class ZTd {
42
42
  this.updateColspan();
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '3de2b08ae7ba78632945b3c7a18c39cbc91dd03f', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '0c281b227221cbd01d76ee8e5909d2ea77071f9a', class: "cell--content" }, h("slot", { key: 'fb6a90291b513310d4f48ea3a26c5dfe197d6434' }), this.showMenu && (h("div", { key: 'dd2c301848ea64effee47f2c5e690eab30259d19', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'b010e8ef6fcd68289f1e5599216c416dcf866788', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '055d4c47c314f74939b4de3ec60ad43d20beaad2', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '2d097873fe805093434e9b932c0e36082f5a15a5', name: "contextual-menu" })))))));
45
+ return (h(Host, { key: '2c3552c5c30611595ac619e6ca3a1e93b3d37366', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'd13012a1f16aaa6ab44b4eea1dafa63cf1ebbd3a', class: "cell--content" }, h("slot", { key: 'b4571116c24bb99dc6ec76486fc948da89a5393b' }), this.showMenu && (h("div", { key: '6ebd3bfc1fcf8dce3afb91931309c4644efc2e49', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '3d01c8956127276eb765c3a9f4aabb4ed710b404', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'd04c06677e2e8efb5d80bfbfd7cc91c9cbff7231', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'c389c6fdf131aeef86eae687df9c2f7fb6fbc3be', name: "contextual-menu" })))))));
46
46
  }
47
47
  static get is() { return "z-td"; }
48
48
  static get encapsulation() { return "shadow"; }
49
49
  static get originalStyleUrls() {
50
50
  return {
51
- "$": ["../z-table-cells.css"]
51
+ "$": ["../z-table-cells.css", "../../../css-components/z-table/styles.css"]
52
52
  };
53
53
  }
54
54
  static get styleUrls() {
55
55
  return {
56
- "$": ["../z-table-cells.css"]
56
+ "$": ["../z-table-cells.css", "../../../css-components/z-table/styles.css"]
57
57
  };
58
58
  }
59
59
  static get properties() {
@@ -184,3 +184,4 @@ export class ZTd {
184
184
  }];
185
185
  }
186
186
  }
187
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-td/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACvH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAEnG;;;GAGG;AAMH,MAAM,OAAO,GAAG;IALhB;QAcE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;;;WAIG;QAEH,aAAQ,GAAwB,IAAI,CAAC;QAErC;;WAEG;QAEH,oBAAe,GAAqB,eAAe,CAAC,IAAI,CAAC;QAEzD;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAmEpB;IAnDW,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrls: [\"../z-table-cells.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTd implements ComponentInterface {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -70,18 +70,18 @@ export class ZTh {
70
70
  this.updateColspan();
71
71
  }
72
72
  render() {
73
- return (h(Host, { key: 'deec9e49e024f48b68fe8f54ebb141dcc2b19ec1', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '65fefbfef58a64f3287a2f1b5defd301392bba2b', class: "cell--content" }, h("slot", { key: 'a88011856bacb3b2e0875ed46b8b1468660e5b31' }), this.showSorting && (h("button", { key: '46f462137de04bb88eda2e14767660fc4629f087', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'bcfe38f7ff932f2074dad3ab11b5df5867292654', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '90ccc4ecc6f49f8d41a45c9979fabebfd8bcad01', class: "cell--menu-container" }, h("z-button", { key: '58b57db3a7129b6a811eca6f014a7b2c02050a41', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '927004bdbc077e358c00b765d58b64a70f95c83d', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '3b5dbcb8631fa4383366ff718c7e9a080b7ca3be', name: "contextual-menu" })))))));
73
+ return (h(Host, { key: 'aef115e04b8a8c37c749a568bcb24250e062008b', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '5b78767c1d65440363c06d5e4b7137598e74d8b4', class: "cell--content" }, h("slot", { key: '340210db9182785b89ed01a26d6dc60558aa9f4f' }), this.showSorting && (h("button", { key: '2c6f42cbf3a2c1d37af04182731503accfe67362', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'ad73a2838da75772e84e431c36256e77bdf39157', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: 'd4c23d3a5b05ccea94a03efa6b10efc65e4a0cf4', class: "cell--menu-container" }, h("z-button", { key: 'fb0930c50cd3ac363e764ded3d7be227678a5d2d', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'b720485c31c2070d77e33bceacd5be582516ae38', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '7372fa0d1ca9773ebbf8b6c8ec581133967aafdf', name: "contextual-menu" })))))));
74
74
  }
75
75
  static get is() { return "z-th"; }
76
76
  static get encapsulation() { return "shadow"; }
77
77
  static get originalStyleUrls() {
78
78
  return {
79
- "$": ["../z-table-cells.css", "styles.css"]
79
+ "$": ["../z-table-cells.css", "styles.css", "../../../css-components/z-table/styles.css"]
80
80
  };
81
81
  }
82
82
  static get styleUrls() {
83
83
  return {
84
- "$": ["../z-table-cells.css", "styles.css"]
84
+ "$": ["../z-table-cells.css", "styles.css", "../../../css-components/z-table/styles.css"]
85
85
  };
86
86
  }
87
87
  static get properties() {
@@ -285,3 +285,4 @@ export class ZTh {
285
285
  }];
286
286
  }
287
287
  }
288
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-th/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACvH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAElH;;;;GAIG;AAMH,MAAM,OAAO,GAAG;IALhB;QAcE;;;;WAIG;QAEH,aAAQ,GAAwB,IAAI,CAAC;QAErC;;;;WAIG;QAEH,gBAAW,GAAwB,IAAI,CAAC;QAExC;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAQf;;WAEG;QAEH,WAAM,GAAmB,KAAK,CAAC;QAE/B;;WAEG;QAEH,oBAAe,GAAG,eAAe,CAAC,IAAI,CAAC;QAEvC;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAqGpB;IAvFC;;OAEG;IACH,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACK,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YAEpB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa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OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D;oBACF,kEACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe;wBAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrls: [\"../z-table-cells.css\", \"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTh implements ComponentInterface {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -5,10 +5,6 @@
5
5
  font-weight: var(--font-sb);
6
6
  }
7
7
 
8
- .cell--content {
9
- padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));
10
- }
11
-
12
8
  :host([show-sorting]) .cell--content {
13
9
  column-gap: var(--space-unit);
14
10
  }
@@ -6,7 +6,6 @@ import "../z-tr/index";
6
6
  /**
7
7
  * ZTable component.
8
8
  * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).
9
- * @cssprop --z-table--cells-padding - Padding of the cells.
10
9
  */
11
10
  export class ZTable {
12
11
  constructor() {
@@ -42,18 +41,18 @@ export class ZTable {
42
41
  (_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
43
42
  }
44
43
  render() {
45
- return (h(Host, { key: '19ac617eed1f9fc7c962e5f34e30c1c0feb0fa87', expandable: this.expandable }, h("div", { key: '648951c6bb94c6cc149f593ca42a50eafa287337', class: "table", role: "table" }, h("slot", { key: '08fb16a4c3ee50be9634833b2227593ba8651c01' }))));
44
+ return (h(Host, { key: 'e6312c6e3bc53f74407f70eca34f9d0ede44b40d', expandable: this.expandable }, h("div", { key: 'e1009eab29f0b6a02533ee7b542095f6cd83e1a0', class: "table", role: "table" }, h("slot", { key: '6f3dbd3fdf96dec314a441c046333c1ab9f67cc1' }))));
46
45
  }
47
46
  static get is() { return "z-table"; }
48
47
  static get encapsulation() { return "shadow"; }
49
48
  static get originalStyleUrls() {
50
49
  return {
51
- "$": ["styles.css"]
50
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
52
51
  };
53
52
  }
54
53
  static get styleUrls() {
55
54
  return {
56
- "$": ["styles.css"]
55
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
57
56
  };
58
57
  }
59
58
  static get properties() {
@@ -87,3 +86,4 @@ export class ZTable {
87
86
  }
88
87
  static get elementRef() { return "host"; }
89
88
  }
89
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC3F,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AAEvB;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAwCpB;IAtCS,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC9E,CAAC;IAID;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YAC1D,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;IAChD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO;gBAEZ,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n */\n@Component({\n tag: \"z-table\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,5 +1,7 @@
1
1
  :host {
2
- --z-table--cells-padding: calc(var(--space-unit) * 2);
2
+ /**
3
+ * @prop --z-table--cells-padding: Padding of the cells.
4
+ */
3
5
 
4
6
  position: relative;
5
7
  display: block;
@@ -8,13 +10,8 @@
8
10
  max-width: 100%;
9
11
  box-sizing: border-box;
10
12
  padding: var(--space-unit);
11
- background-color: var(--color-surface01);
12
13
  }
13
14
 
14
15
  :host([expandable]) {
15
16
  --z-table--expand-button-size: 40px;
16
17
  }
17
-
18
- :host([bordered]) {
19
- --z-table--cell-left-border: 1px solid var(--color-surface03);
20
- }
@@ -5,18 +5,19 @@ import { Host, h } from "@stencil/core";
5
5
  */
6
6
  export class ZTbody {
7
7
  render() {
8
- return (h(Host, { key: '62b5b227fbdaac2918101db68c60cb68ae9e1ed8', role: "rowgroup" }, h("slot", { key: 'ecfc5c26435fb7f03b5e9ea89111499b3b75f3ca' })));
8
+ return (h(Host, { key: 'ff5da26d4d754ab4da901422be45d9cd546807b9', role: "rowgroup" }, h("slot", { key: 'fe0a17ad217ca1eb372f9f176df75534a3971aa9' })));
9
9
  }
10
10
  static get is() { return "z-tbody"; }
11
11
  static get encapsulation() { return "shadow"; }
12
12
  static get originalStyleUrls() {
13
13
  return {
14
- "$": ["styles.css"]
14
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
15
15
  };
16
16
  }
17
17
  static get styleUrls() {
18
18
  return {
19
- "$": ["styles.css"]
19
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
20
20
  };
21
21
  }
22
22
  }
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tbody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAErE;;;GAGG;AAMH,MAAM,OAAO,MAAM;IACjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU;YACnB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -11,18 +11,18 @@ export class ZTfoot {
11
11
  this.sticky = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '0ecae481f9b2e870d3f4d8898755d15e561154b7', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '7d028233f9e6ff2bfdbcc5b00841db5eb5020643' })));
14
+ return (h(Host, { key: 'cdd4d2841caada167b8818ff534744445e0d8979', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '5cf911121ea09dcc13744e9d1d730be92f20cbf4' })));
15
15
  }
16
16
  static get is() { return "z-tfoot"; }
17
17
  static get encapsulation() { return "shadow"; }
18
18
  static get originalStyleUrls() {
19
19
  return {
20
- "$": ["styles.css"]
20
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
21
21
  };
22
22
  }
23
23
  static get styleUrls() {
24
24
  return {
25
- "$": ["styles.css"]
25
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
26
26
  };
27
27
  }
28
28
  static get properties() {
@@ -50,3 +50,4 @@ export class ZTfoot {
50
50
  };
51
51
  }
52
52
  }
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tfoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE3E;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAME;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;KAYhB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTfoot implements ComponentInterface {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -1,8 +1,7 @@
1
1
  :host {
2
2
  display: block;
3
3
  box-sizing: border-box;
4
- border-top: 1px solid var(--color-surface03);
5
- border-bottom: 1px solid var(--color-surface03);
4
+ margin-top: -1px;
6
5
  }
7
6
 
8
7
  :host([sticky]) {
@@ -15,18 +15,18 @@ export class ZThead {
15
15
  this.isFocusable = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'a41caa6571e3a2e4c0b46df9c28507d347011c52', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'fbe9305e97ac906ce0296b871d65d33c75749bd1' })));
18
+ return (h(Host, { key: '0e43e10373817b9ee5e4f1574fb0d46b232c510d', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'aefd2ed2698efb7deabd11284f3d6cae95800e50' })));
19
19
  }
20
20
  static get is() { return "z-thead"; }
21
21
  static get encapsulation() { return "shadow"; }
22
22
  static get originalStyleUrls() {
23
23
  return {
24
- "$": ["styles.css"]
24
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
25
25
  };
26
26
  }
27
27
  static get styleUrls() {
28
28
  return {
29
- "$": ["styles.css"]
29
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
30
30
  };
31
31
  }
32
32
  static get properties() {
@@ -75,3 +75,4 @@ export class ZThead {
75
75
  }
76
76
  static get elementRef() { return "host"; }
77
77
  }
78
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEpF;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;WAEG;QAEH,gBAAW,GAAG,KAAK,CAAC;KAYrB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnC,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -1,8 +1,4 @@
1
1
  :host {
2
- --z-table--cells-bottom-border-size: var(
3
- --border-size-medium
4
- ); /* Needed to handle the border of the expand button cell */
5
-
6
2
  --z-table--cells-background: var(
7
3
  --color-background
8
4
  ); /* Needed to handle the background-color of the expand button cell */
@@ -27,16 +27,13 @@ export class ZTr {
27
27
  }
28
28
  updateColumns() {
29
29
  const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
30
- if (this.expandable) {
31
- cells.pop();
32
- }
33
- const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
34
- this.host.style.setProperty("--columns", `${columns}`);
35
30
  if (this.expandable) {
36
31
  const expandableContent = cells.pop();
37
32
  expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
38
33
  this.expandableContentId = expandableContent.id;
39
34
  }
35
+ const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
36
+ this.host.style.setProperty("--columns", `${columns}`);
40
37
  }
41
38
  /**
42
39
  * Handle click on row.
@@ -68,18 +65,18 @@ export class ZTr {
68
65
  this.updateColumns();
69
66
  }
70
67
  render() {
71
- return (h(Host, { key: '22e2a75bc63f96ec1f293ecfd818f16e0aa9eb96', role: "row", tabIndex: 0, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '7d71cd5da22b1e921a53831316fa1cf0a90b4178', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '707e10ebfe2df07fd6f151af992d7289d76ab43c', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '375fe42258137e52520556487cccb2bcf2378833', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '5e478114e1ba9d7982995acefa52f8ffc1b51831', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '56f1c4bad517ee41792f500bd56408a42da440bb', onSlotchange: this.updateColumns.bind(this) })));
68
+ return (h(Host, { key: 'ffd8e071015ace61e51c603988d84dae42a047bb', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '49539d360bab6d865958910fd21f5c407fc0a16b', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '94c5f36a5f220a7403d0c6057faf41cf0509f68e', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'ee46bd7dd59d27c6be18716fc3a46092cdac5eb6', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'ce6fc941625f48f13edc7df3a43da159cf6f064d', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'c41ca74f6026dda7813605940e6910a56cd576fb', onSlotchange: this.updateColumns.bind(this) })));
72
69
  }
73
70
  static get is() { return "z-tr"; }
74
71
  static get encapsulation() { return "shadow"; }
75
72
  static get originalStyleUrls() {
76
73
  return {
77
- "$": ["styles.css"]
74
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
78
75
  };
79
76
  }
80
77
  static get styleUrls() {
81
78
  return {
82
- "$": ["styles.css"]
79
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
83
80
  };
84
81
  }
85
82
  static get properties() {
@@ -147,3 +144,4 @@ export class ZTr {
147
144
  }];
148
145
  }
149
146
  }
147
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tr/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAE7B;;;;;GAKG;AAMH,MAAM,OAAO,GAAG;IALhB;QAQE;;;;;;;;WAQG;QAEH,eAAU,GAAG,KAAK,CAAC;QAEnB;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;KA6FlB;IA9EW,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QAEpG,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,IAAI,2BAA2B,QAAQ,EAAE,EAAE,CAAC;YACvF,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,EAAE,CAAC;QAClD,CAAC;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAA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AAC,CAAC,SAAS,EACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAEpC,4DACE,KAAK,EAAC,qBAAqB,iBACf,MAAM,GACb;YACP,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,IAAI,CAClB,+DACE,QAAQ,EAAE,CAAC,CAAC,mBACG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,gBACnC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ;gBAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,GAAW,CAClE,CACV,CACG;YACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTr implements ComponentInterface {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={this.expandable ? 0 : undefined}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"]}
@@ -13,15 +13,6 @@
13
13
  box-sizing: border-box;
14
14
  }
15
15
 
16
- .z-tr--expand-button-container,
17
- ::slotted(*) {
18
- border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);
19
- }
20
-
21
- ::slotted(*:not(:last-child)) {
22
- border-right: var(--z-table--cell-left-border, none);
23
- }
24
-
25
16
  :host([expandable]) {
26
17
  --show-expandable-button: visible;
27
18
 
@@ -37,6 +28,7 @@
37
28
  }
38
29
 
39
30
  :host([expandable]) ::slotted(*:last-child) {
31
+ border-top: var(--border-size-small) solid var(--color-surface03);
40
32
  border-left: 0;
41
33
  grid-column: 1 / span calc(var(--columns) + 1);
42
34
  grid-row: 2;
@@ -53,19 +45,25 @@
53
45
 
54
46
  :host([expanded]) .z-tr--expand-button-container,
55
47
  :host([expanded]) ::slotted(*) {
48
+ border-left: 0 !important;
56
49
  background-color: var(--color-background);
57
50
  }
58
51
 
59
- :host(:hover) ::slotted(z-td),
60
- :host(:hover) ::slotted(z-th) {
52
+ :host([tabIndex]:hover) ::slotted(z-td),
53
+ :host([tabIndex]:hover) ::slotted(z-th),
54
+ :host([tabIndex]:hover) .z-tr--expand-button-container {
55
+ background-color: var(--color-surface02);
56
+ }
57
+
58
+ :host([tabIndex]:hover) .z-tr--focus-overlay {
61
59
  border-top: var(--border-size-small) solid var(--color-surface04);
62
60
  border-bottom: var(--border-size-small) solid var(--color-surface04);
63
- background-color: var(--color-surface02);
64
61
  }
65
62
 
66
63
  :host(:focus) {
67
64
  position: relative;
68
65
  z-index: 20;
66
+ border: none !important;
69
67
  box-shadow: var(--shadow-focus-primary);
70
68
  outline: none;
71
69
  }
@@ -98,12 +96,12 @@
98
96
  .z-tr--focus-overlay {
99
97
  position: absolute;
100
98
  z-index: 30;
101
- right: 0;
99
+ top: calc(var(--border-size-small) * -1);
100
+ bottom: 0;
102
101
  left: 0;
103
102
  width: 100%;
104
- border-radius: 4px;
103
+ height: calc(100% + (var(--border-size-small) * 2));
105
104
  box-shadow: none;
106
- inset: 0;
107
105
  outline: none;
108
106
  pointer-events: none;
109
107
  transition: box-shadow 0.2s;