@zanichelli/albe-web-components 2.38.0 → 2.40.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 (385) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/cjs/{index-dcab1bda.js → index-25206491.js} +10 -0
  3. package/dist/cjs/{index-dee3e21d.js → index-e826b4ad.js} +3 -0
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-971854fc.js → utils-6410fc7d.js} +3 -3
  7. package/dist/cjs/web-components-library.cjs.js +2 -2
  8. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-switcher.cjs.entry.js +2 -2
  11. package/dist/cjs/z-app-topbar.cjs.entry.js +2 -2
  12. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  13. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  14. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  15. package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
  16. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  17. package/dist/cjs/z-button.cjs.entry.js +2 -2
  18. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  19. package/dist/cjs/z-card.cjs.entry.js +2 -2
  20. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  21. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  22. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  23. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  24. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  25. package/dist/cjs/z-divider.cjs.entry.js +2 -2
  26. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +49 -0
  27. package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
  28. package/dist/cjs/z-file.cjs.entry.js +53 -0
  29. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  30. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  32. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  33. package/dist/cjs/z-icon.cjs.entry.js +1 -1
  34. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  35. package/dist/cjs/z-link.cjs.entry.js +1 -1
  36. package/dist/cjs/z-list_3.cjs.entry.js +2 -2
  37. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  39. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  40. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  42. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  43. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  46. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  50. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  51. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  52. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  53. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  54. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  56. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  57. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  58. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  59. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  60. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  61. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  62. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  63. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  64. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  65. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  66. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  67. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  68. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  69. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  70. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  71. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  72. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  73. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  75. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  76. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  77. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table.cjs.entry.js +2 -2
  79. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  80. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  81. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  82. package/dist/cjs/z-toggle-switch.cjs.entry.js +42 -0
  83. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  84. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  85. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  86. package/dist/collection/beans/index.js +10 -0
  87. package/dist/collection/collection-manifest.json +4 -0
  88. package/dist/collection/components/buttons/z-toggle-switch/index.js +136 -0
  89. package/dist/collection/components/buttons/z-toggle-switch/styles.css +115 -0
  90. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
  91. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
  92. package/dist/collection/components/file-upload/z-file/index.js +108 -0
  93. package/dist/collection/components/file-upload/z-file/styles.css +61 -0
  94. package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
  95. package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
  96. package/dist/collection/utils/utils.js +2 -2
  97. package/dist/esm/{index-fa9e549c.js → index-8782dff4.js} +3 -0
  98. package/dist/esm/{index-6b86a3f1.js → index-cca2b0d2.js} +11 -1
  99. package/dist/esm/index.js +2 -2
  100. package/dist/esm/loader.js +2 -2
  101. package/dist/esm/{utils-351595e0.js → utils-cdd5a909.js} +3 -3
  102. package/dist/esm/web-components-library.js +2 -2
  103. package/dist/esm/z-alert.entry.js +1 -1
  104. package/dist/esm/z-app-header.entry.js +1 -1
  105. package/dist/esm/z-app-switcher.entry.js +2 -2
  106. package/dist/esm/z-app-topbar.entry.js +2 -2
  107. package/dist/esm/z-aria-alert.entry.js +2 -2
  108. package/dist/esm/z-avatar.entry.js +2 -2
  109. package/dist/esm/z-body_2.entry.js +1 -1
  110. package/dist/esm/z-button-filter_5.entry.js +3 -3
  111. package/dist/esm/z-button-sort.entry.js +1 -1
  112. package/dist/esm/z-button.entry.js +2 -2
  113. package/dist/esm/z-candybar.entry.js +1 -1
  114. package/dist/esm/z-card.entry.js +2 -2
  115. package/dist/esm/z-carousel.entry.js +1 -1
  116. package/dist/esm/z-chip.entry.js +2 -2
  117. package/dist/esm/z-combobox.entry.js +3 -3
  118. package/dist/esm/z-contextual-menu.entry.js +2 -2
  119. package/dist/esm/z-cookiebar.entry.js +2 -2
  120. package/dist/esm/z-divider.entry.js +2 -2
  121. package/dist/esm/z-dragdrop-area_2.entry.js +44 -0
  122. package/dist/esm/z-file-upload.entry.js +165 -0
  123. package/dist/esm/z-file.entry.js +49 -0
  124. package/dist/esm/z-footer-link_3.entry.js +1 -1
  125. package/dist/esm/z-footer.entry.js +2 -2
  126. package/dist/esm/z-ghost-loading.entry.js +1 -1
  127. package/dist/esm/z-icon-package.entry.js +1 -1
  128. package/dist/esm/z-icon.entry.js +1 -1
  129. package/dist/esm/z-info-box.entry.js +1 -1
  130. package/dist/esm/z-link.entry.js +1 -1
  131. package/dist/esm/z-list_3.entry.js +2 -2
  132. package/dist/esm/z-logo.entry.js +1 -1
  133. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  134. package/dist/esm/z-menu-section.entry.js +1 -1
  135. package/dist/esm/z-menu.entry.js +1 -1
  136. package/dist/esm/z-messages-pocket.entry.js +2 -2
  137. package/dist/esm/z-modal-login.entry.js +2 -2
  138. package/dist/esm/z-modal.entry.js +1 -1
  139. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  140. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  141. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  142. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  143. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  144. package/dist/esm/z-myz-card-info.entry.js +3 -3
  145. package/dist/esm/z-myz-card-list.entry.js +1 -1
  146. package/dist/esm/z-myz-card_4.entry.js +2 -2
  147. package/dist/esm/z-myz-list-item.entry.js +3 -3
  148. package/dist/esm/z-myz-topbar.entry.js +2 -2
  149. package/dist/esm/z-navigation-tab.entry.js +1 -1
  150. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  151. package/dist/esm/z-notification.entry.js +2 -2
  152. package/dist/esm/z-otp.entry.js +2 -2
  153. package/dist/esm/z-pagination-bar.entry.js +3 -3
  154. package/dist/esm/z-pagination-page.entry.js +1 -1
  155. package/dist/esm/z-panel-elem.entry.js +1 -1
  156. package/dist/esm/z-pocket-message.entry.js +1 -1
  157. package/dist/esm/z-pocket_3.entry.js +3 -3
  158. package/dist/esm/z-popover.entry.js +3 -3
  159. package/dist/esm/z-slideshow.entry.js +3 -3
  160. package/dist/esm/z-status-tag.entry.js +2 -2
  161. package/dist/esm/z-stepper-item.entry.js +1 -1
  162. package/dist/esm/z-stepper.entry.js +1 -1
  163. package/dist/esm/z-table-body.entry.js +1 -1
  164. package/dist/esm/z-table-cell.entry.js +2 -2
  165. package/dist/esm/z-table-empty-box.entry.js +1 -1
  166. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  167. package/dist/esm/z-table-footer.entry.js +1 -1
  168. package/dist/esm/z-table-head.entry.js +1 -1
  169. package/dist/esm/z-table-header-row.entry.js +1 -1
  170. package/dist/esm/z-table-header.entry.js +3 -3
  171. package/dist/esm/z-table-row.entry.js +2 -2
  172. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  173. package/dist/esm/z-table.entry.js +2 -2
  174. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  175. package/dist/esm/z-toast-notification.entry.js +2 -2
  176. package/dist/esm/z-toggle-button.entry.js +1 -1
  177. package/dist/esm/z-toggle-switch.entry.js +38 -0
  178. package/dist/esm/z-tooltip.entry.js +2 -2
  179. package/dist/esm/z-user-dropdown.entry.js +1 -1
  180. package/dist/esm/z-visually-hidden.entry.js +1 -1
  181. package/dist/types/beans/index.d.ts +8 -0
  182. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +12 -0
  183. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
  184. package/dist/types/components/file-upload/z-file/index.d.ts +17 -0
  185. package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
  186. package/dist/types/components.d.ts +124 -1
  187. package/dist/web-components-library/index.esm.js +1 -1
  188. package/dist/web-components-library/{p-41f6c8c4.entry.js → p-006a91ce.entry.js} +1 -1
  189. package/dist/web-components-library/{p-71cc7ed0.entry.js → p-016c1fd4.entry.js} +1 -1
  190. package/dist/web-components-library/{p-ea84969a.entry.js → p-031de7f3.entry.js} +1 -1
  191. package/dist/web-components-library/p-0e7fe7c1.js +1 -0
  192. package/dist/web-components-library/{p-d4c4b90a.entry.js → p-117c6e89.entry.js} +1 -1
  193. package/dist/web-components-library/p-11d4e9b7.entry.js +1 -0
  194. package/dist/web-components-library/{p-209cc06f.entry.js → p-13a0a93a.entry.js} +1 -1
  195. package/dist/web-components-library/{p-c8f19ca8.entry.js → p-13abb76e.entry.js} +1 -1
  196. package/dist/web-components-library/{p-3241471c.entry.js → p-152f95de.entry.js} +1 -1
  197. package/dist/web-components-library/{p-e1f1f39e.entry.js → p-18d36e2e.entry.js} +1 -1
  198. package/dist/web-components-library/{p-c7af96eb.entry.js → p-1a6b8d43.entry.js} +1 -1
  199. package/{www/build/p-904a85e4.js → dist/web-components-library/p-1acbd992.js} +1 -1
  200. package/dist/web-components-library/{p-e9be115a.entry.js → p-1c66e50c.entry.js} +1 -1
  201. package/dist/web-components-library/{p-509408f3.entry.js → p-1c7ed895.entry.js} +1 -1
  202. package/dist/web-components-library/{p-c6265fbb.entry.js → p-1f439216.entry.js} +1 -1
  203. package/dist/web-components-library/{p-9af1322d.entry.js → p-22e61c79.entry.js} +1 -1
  204. package/dist/web-components-library/{p-f7b1dc68.entry.js → p-277f19e8.entry.js} +1 -1
  205. package/dist/web-components-library/{p-db5863cf.entry.js → p-2d45e45e.entry.js} +1 -1
  206. package/dist/web-components-library/{p-6583cbec.entry.js → p-335768cc.entry.js} +1 -1
  207. package/dist/web-components-library/{p-ebcad010.entry.js → p-3504da90.entry.js} +1 -1
  208. package/dist/web-components-library/{p-698e18cf.entry.js → p-3830db49.entry.js} +1 -1
  209. package/dist/web-components-library/{p-aa0f7169.entry.js → p-39a787af.entry.js} +1 -1
  210. package/dist/web-components-library/p-42d64757.js +1 -0
  211. package/dist/web-components-library/{p-250926fe.entry.js → p-431d0295.entry.js} +1 -1
  212. package/dist/web-components-library/p-4ce434aa.entry.js +1 -0
  213. package/dist/web-components-library/{p-7ce4db78.entry.js → p-51957070.entry.js} +1 -1
  214. package/dist/web-components-library/p-5ff0b130.entry.js +1 -0
  215. package/dist/web-components-library/{p-a4fe497a.entry.js → p-6043d78f.entry.js} +1 -1
  216. package/dist/web-components-library/{p-bf4539a7.entry.js → p-621a7fac.entry.js} +1 -1
  217. package/dist/web-components-library/{p-1094e4de.entry.js → p-68fab13e.entry.js} +1 -1
  218. package/dist/web-components-library/{p-d1a52660.entry.js → p-6a4dfee8.entry.js} +1 -1
  219. package/dist/web-components-library/p-7076e9fd.entry.js +1 -0
  220. package/{www/build/p-9b2f8028.entry.js → dist/web-components-library/p-70c7f657.entry.js} +1 -1
  221. package/dist/web-components-library/p-73e8c323.entry.js +1 -0
  222. package/dist/web-components-library/{p-140cc18f.entry.js → p-7dcda694.entry.js} +1 -1
  223. package/dist/web-components-library/{p-4c8e6232.entry.js → p-7f866d57.entry.js} +1 -1
  224. package/{www/build/p-a3a64dc8.entry.js → dist/web-components-library/p-823cbb37.entry.js} +1 -1
  225. package/dist/web-components-library/{p-8923f36d.entry.js → p-824875b4.entry.js} +1 -1
  226. package/dist/web-components-library/{p-cf914ea7.entry.js → p-836d2cb2.entry.js} +1 -1
  227. package/dist/web-components-library/{p-8edb6b65.entry.js → p-8497f556.entry.js} +1 -1
  228. package/dist/web-components-library/p-84f934a8.entry.js +1 -0
  229. package/{www/build/p-ba1db0fc.entry.js → dist/web-components-library/p-8741a278.entry.js} +1 -1
  230. package/dist/web-components-library/{p-8c9e3bb8.entry.js → p-8c298051.entry.js} +1 -1
  231. package/dist/web-components-library/p-8ed29309.entry.js +1 -0
  232. package/dist/web-components-library/{p-f113a03a.entry.js → p-8fe1b60c.entry.js} +1 -1
  233. package/dist/web-components-library/{p-e6b971b9.entry.js → p-95b95a4c.entry.js} +1 -1
  234. package/dist/web-components-library/{p-5bbbc979.entry.js → p-97c04e0c.entry.js} +1 -1
  235. package/{www/build/p-a7733104.entry.js → dist/web-components-library/p-99f59836.entry.js} +1 -1
  236. package/dist/web-components-library/{p-0ce6293a.entry.js → p-99f91860.entry.js} +1 -1
  237. package/dist/web-components-library/{p-733ba674.entry.js → p-9b4f979f.entry.js} +1 -1
  238. package/{www/build/p-bd717ced.entry.js → dist/web-components-library/p-a0fef4f3.entry.js} +1 -1
  239. package/dist/web-components-library/{p-ddc3c8c2.entry.js → p-a3792cf0.entry.js} +1 -1
  240. package/dist/web-components-library/{p-28b18ca4.entry.js → p-a3820e7d.entry.js} +1 -1
  241. package/dist/web-components-library/p-a4b2df38.entry.js +1 -0
  242. package/dist/web-components-library/{p-beda87c3.entry.js → p-a5460f1e.entry.js} +1 -1
  243. package/dist/web-components-library/{p-74217d44.entry.js → p-a73f0693.entry.js} +1 -1
  244. package/dist/web-components-library/{p-cfebc80e.entry.js → p-b0027b69.entry.js} +1 -1
  245. package/dist/web-components-library/p-b10f1aaa.entry.js +1 -0
  246. package/dist/web-components-library/{p-fdfca9b7.entry.js → p-b1e3a655.entry.js} +1 -1
  247. package/dist/web-components-library/{p-ac3bc4c2.entry.js → p-b1e6a2ae.entry.js} +1 -1
  248. package/dist/web-components-library/{p-e84d871b.entry.js → p-c1a7b740.entry.js} +1 -1
  249. package/{www/build/p-4a414eb2.entry.js → dist/web-components-library/p-c277d035.entry.js} +1 -1
  250. package/dist/web-components-library/{p-1c72783c.entry.js → p-cddc1de0.entry.js} +1 -1
  251. package/dist/web-components-library/{p-74fb3d69.entry.js → p-d1432a24.entry.js} +1 -1
  252. package/dist/web-components-library/{p-4665d79f.entry.js → p-d1a0cb4c.entry.js} +1 -1
  253. package/dist/web-components-library/{p-4c1dc891.entry.js → p-d338e5a9.entry.js} +1 -1
  254. package/dist/web-components-library/{p-e55fc434.entry.js → p-d943ee16.entry.js} +1 -1
  255. package/dist/web-components-library/{p-02796506.entry.js → p-d950fcf8.entry.js} +1 -1
  256. package/dist/web-components-library/{p-3b3cb18b.entry.js → p-d9a14771.entry.js} +1 -1
  257. package/dist/web-components-library/{p-3d8b00fd.entry.js → p-daec8d7f.entry.js} +1 -1
  258. package/dist/web-components-library/{p-ded374d7.entry.js → p-db1508ed.entry.js} +1 -1
  259. package/dist/web-components-library/p-db38494e.entry.js +1 -0
  260. package/dist/web-components-library/{p-71bb86a8.entry.js → p-e4739505.entry.js} +1 -1
  261. package/dist/web-components-library/{p-60e40371.entry.js → p-e5c89d9f.entry.js} +1 -1
  262. package/dist/web-components-library/{p-b78fb152.entry.js → p-e8305a91.entry.js} +1 -1
  263. package/dist/web-components-library/p-e88726bc.entry.js +1 -0
  264. package/dist/web-components-library/{p-89dbe6e9.entry.js → p-ee19d602.entry.js} +1 -1
  265. package/dist/web-components-library/{p-913cd0da.entry.js → p-ee432245.entry.js} +1 -1
  266. package/dist/web-components-library/{p-4a1404e2.entry.js → p-f4062940.entry.js} +1 -1
  267. package/dist/web-components-library/{p-8deddec7.entry.js → p-f6bfde21.entry.js} +1 -1
  268. package/dist/web-components-library/{p-80589729.entry.js → p-fc23b15f.entry.js} +1 -1
  269. package/dist/web-components-library/web-components-library.esm.js +1 -1
  270. package/package.json +24 -16
  271. package/react/components.d.ts +4 -0
  272. package/react/components.js +6 -2
  273. package/react/components.js.map +1 -1
  274. package/readme.md +12 -34
  275. package/www/build/index.esm.js +1 -1
  276. package/www/build/{p-41f6c8c4.entry.js → p-006a91ce.entry.js} +1 -1
  277. package/www/build/{p-71cc7ed0.entry.js → p-016c1fd4.entry.js} +1 -1
  278. package/www/build/{p-ea84969a.entry.js → p-031de7f3.entry.js} +1 -1
  279. package/www/build/p-0e7fe7c1.js +1 -0
  280. package/www/build/{p-d4c4b90a.entry.js → p-117c6e89.entry.js} +1 -1
  281. package/www/build/p-11d4e9b7.entry.js +1 -0
  282. package/www/build/{p-209cc06f.entry.js → p-13a0a93a.entry.js} +1 -1
  283. package/www/build/{p-c8f19ca8.entry.js → p-13abb76e.entry.js} +1 -1
  284. package/www/build/{p-3241471c.entry.js → p-152f95de.entry.js} +1 -1
  285. package/www/build/{p-e1f1f39e.entry.js → p-18d36e2e.entry.js} +1 -1
  286. package/www/build/{p-c7af96eb.entry.js → p-1a6b8d43.entry.js} +1 -1
  287. package/{dist/web-components-library/p-904a85e4.js → www/build/p-1acbd992.js} +1 -1
  288. package/www/build/{p-e9be115a.entry.js → p-1c66e50c.entry.js} +1 -1
  289. package/www/build/{p-509408f3.entry.js → p-1c7ed895.entry.js} +1 -1
  290. package/www/build/{p-c6265fbb.entry.js → p-1f439216.entry.js} +1 -1
  291. package/www/build/{p-9af1322d.entry.js → p-22e61c79.entry.js} +1 -1
  292. package/www/build/{p-f7b1dc68.entry.js → p-277f19e8.entry.js} +1 -1
  293. package/www/build/{p-db5863cf.entry.js → p-2d45e45e.entry.js} +1 -1
  294. package/www/build/{p-6583cbec.entry.js → p-335768cc.entry.js} +1 -1
  295. package/www/build/{p-ebcad010.entry.js → p-3504da90.entry.js} +1 -1
  296. package/www/build/{p-698e18cf.entry.js → p-3830db49.entry.js} +1 -1
  297. package/www/build/{p-aa0f7169.entry.js → p-39a787af.entry.js} +1 -1
  298. package/www/build/p-42d64757.js +1 -0
  299. package/www/build/{p-250926fe.entry.js → p-431d0295.entry.js} +1 -1
  300. package/www/build/p-4ce434aa.entry.js +1 -0
  301. package/www/build/{p-7ce4db78.entry.js → p-51957070.entry.js} +1 -1
  302. package/www/build/p-5ff0b130.entry.js +1 -0
  303. package/www/build/{p-a4fe497a.entry.js → p-6043d78f.entry.js} +1 -1
  304. package/www/build/{p-bf4539a7.entry.js → p-621a7fac.entry.js} +1 -1
  305. package/www/build/{p-1094e4de.entry.js → p-68fab13e.entry.js} +1 -1
  306. package/www/build/{p-d1a52660.entry.js → p-6a4dfee8.entry.js} +1 -1
  307. package/www/build/p-7076e9fd.entry.js +1 -0
  308. package/{dist/web-components-library/p-9b2f8028.entry.js → www/build/p-70c7f657.entry.js} +1 -1
  309. package/www/build/p-73e8c323.entry.js +1 -0
  310. package/www/build/{p-140cc18f.entry.js → p-7dcda694.entry.js} +1 -1
  311. package/www/build/{p-4c8e6232.entry.js → p-7f866d57.entry.js} +1 -1
  312. package/www/build/p-7fab4941.js +122 -0
  313. package/{dist/web-components-library/p-a3a64dc8.entry.js → www/build/p-823cbb37.entry.js} +1 -1
  314. package/www/build/{p-8923f36d.entry.js → p-824875b4.entry.js} +1 -1
  315. package/www/build/{p-cf914ea7.entry.js → p-836d2cb2.entry.js} +1 -1
  316. package/www/build/{p-8edb6b65.entry.js → p-8497f556.entry.js} +1 -1
  317. package/www/build/p-84f934a8.entry.js +1 -0
  318. package/{dist/web-components-library/p-ba1db0fc.entry.js → www/build/p-8741a278.entry.js} +1 -1
  319. package/www/build/{p-8c9e3bb8.entry.js → p-8c298051.entry.js} +1 -1
  320. package/www/build/p-8ed29309.entry.js +1 -0
  321. package/www/build/{p-f113a03a.entry.js → p-8fe1b60c.entry.js} +1 -1
  322. package/www/build/{p-e6b971b9.entry.js → p-95b95a4c.entry.js} +1 -1
  323. package/www/build/p-97a11655.css +789 -0
  324. package/www/build/{p-5bbbc979.entry.js → p-97c04e0c.entry.js} +1 -1
  325. package/{dist/web-components-library/p-a7733104.entry.js → www/build/p-99f59836.entry.js} +1 -1
  326. package/www/build/{p-0ce6293a.entry.js → p-99f91860.entry.js} +1 -1
  327. package/www/build/{p-733ba674.entry.js → p-9b4f979f.entry.js} +1 -1
  328. package/{dist/web-components-library/p-bd717ced.entry.js → www/build/p-a0fef4f3.entry.js} +1 -1
  329. package/www/build/{p-ddc3c8c2.entry.js → p-a3792cf0.entry.js} +1 -1
  330. package/www/build/{p-28b18ca4.entry.js → p-a3820e7d.entry.js} +1 -1
  331. package/www/build/p-a4b2df38.entry.js +1 -0
  332. package/www/build/{p-beda87c3.entry.js → p-a5460f1e.entry.js} +1 -1
  333. package/www/build/{p-74217d44.entry.js → p-a73f0693.entry.js} +1 -1
  334. package/www/build/{p-cfebc80e.entry.js → p-b0027b69.entry.js} +1 -1
  335. package/www/build/p-b10f1aaa.entry.js +1 -0
  336. package/www/build/{p-fdfca9b7.entry.js → p-b1e3a655.entry.js} +1 -1
  337. package/www/build/{p-ac3bc4c2.entry.js → p-b1e6a2ae.entry.js} +1 -1
  338. package/www/build/{p-e84d871b.entry.js → p-c1a7b740.entry.js} +1 -1
  339. package/{dist/web-components-library/p-4a414eb2.entry.js → www/build/p-c277d035.entry.js} +1 -1
  340. package/www/build/{p-1c72783c.entry.js → p-cddc1de0.entry.js} +1 -1
  341. package/www/build/{p-74fb3d69.entry.js → p-d1432a24.entry.js} +1 -1
  342. package/www/build/{p-4665d79f.entry.js → p-d1a0cb4c.entry.js} +1 -1
  343. package/www/build/{p-4c1dc891.entry.js → p-d338e5a9.entry.js} +1 -1
  344. package/www/build/{p-e55fc434.entry.js → p-d943ee16.entry.js} +1 -1
  345. package/www/build/{p-02796506.entry.js → p-d950fcf8.entry.js} +1 -1
  346. package/www/build/{p-3b3cb18b.entry.js → p-d9a14771.entry.js} +1 -1
  347. package/www/build/{p-3d8b00fd.entry.js → p-daec8d7f.entry.js} +1 -1
  348. package/www/build/{p-ded374d7.entry.js → p-db1508ed.entry.js} +1 -1
  349. package/www/build/p-db38494e.entry.js +1 -0
  350. package/www/build/{p-71bb86a8.entry.js → p-e4739505.entry.js} +1 -1
  351. package/www/build/{p-60e40371.entry.js → p-e5c89d9f.entry.js} +1 -1
  352. package/www/build/{p-b78fb152.entry.js → p-e8305a91.entry.js} +1 -1
  353. package/www/build/p-e88726bc.entry.js +1 -0
  354. package/www/build/{p-89dbe6e9.entry.js → p-ee19d602.entry.js} +1 -1
  355. package/www/build/{p-913cd0da.entry.js → p-ee432245.entry.js} +1 -1
  356. package/www/build/{p-4a1404e2.entry.js → p-f4062940.entry.js} +1 -1
  357. package/www/build/{p-8deddec7.entry.js → p-f6bfde21.entry.js} +1 -1
  358. package/www/build/{p-80589729.entry.js → p-fc23b15f.entry.js} +1 -1
  359. package/www/build/web-components-library.esm.js +1 -1
  360. package/www/index.html +1 -1
  361. package/www/pages/file-upload.html +236 -0
  362. package/dist/cjs/z-heading.cjs.entry.js +0 -17
  363. package/dist/esm/z-heading.entry.js +0 -13
  364. package/dist/web-components-library/p-483d10ba.entry.js +0 -1
  365. package/dist/web-components-library/p-48e0a763.entry.js +0 -1
  366. package/dist/web-components-library/p-597e767a.entry.js +0 -1
  367. package/dist/web-components-library/p-5d4bb66b.entry.js +0 -1
  368. package/dist/web-components-library/p-5ee63e7f.entry.js +0 -1
  369. package/dist/web-components-library/p-6934ea47.js +0 -1
  370. package/dist/web-components-library/p-98a7eedb.entry.js +0 -1
  371. package/dist/web-components-library/p-a0b11f65.entry.js +0 -1
  372. package/dist/web-components-library/p-a1bb6af2.entry.js +0 -1
  373. package/dist/web-components-library/p-d945c8d2.js +0 -1
  374. package/www/build/p-483d10ba.entry.js +0 -1
  375. package/www/build/p-48e0a763.entry.js +0 -1
  376. package/www/build/p-597e767a.entry.js +0 -1
  377. package/www/build/p-5d4bb66b.entry.js +0 -1
  378. package/www/build/p-5ee63e7f.entry.js +0 -1
  379. package/www/build/p-6934ea47.js +0 -1
  380. package/www/build/p-69f277e5.js +0 -1
  381. package/www/build/p-98a7eedb.entry.js +0 -1
  382. package/www/build/p-a0b11f65.entry.js +0 -1
  383. package/www/build/p-a1bb6af2.entry.js +0 -1
  384. package/www/build/p-d945c8d2.js +0 -1
  385. package/www/build/p-ea943cbd.css +0 -1
@@ -0,0 +1,136 @@
1
+ import { Component, Prop, h, Event } from "@stencil/core";
2
+ import { randomId } from "../../../utils/utils";
3
+ import { ZtoggleSwitchPositionEnum, } from "../../../beans";
4
+ export class ZToggleSwitch {
5
+ constructor() {
6
+ this.disabled = false;
7
+ this.labelPosition = ZtoggleSwitchPositionEnum.left;
8
+ this.checked = false;
9
+ this.htmlid = `id-${randomId()}`;
10
+ }
11
+ emitToggleClick(checked) {
12
+ this.toggleClick.emit({
13
+ id: this.htmlid,
14
+ checked: checked,
15
+ });
16
+ }
17
+ handleClick(ev) {
18
+ if (this.disabled)
19
+ return;
20
+ this.checked = ev.target.checked;
21
+ this.emitToggleClick(this.checked);
22
+ }
23
+ render() {
24
+ return [
25
+ h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
26
+ h("label", { htmlFor: this.htmlid, class: this.labelPosition },
27
+ h("span", { class: this.labelPosition },
28
+ h("slot", null)),
29
+ h("span", { class: `container ${this.disabled && "disabled"} ${this.checked && "active"}` },
30
+ h("span", { class: `circle ${this.disabled && "disabled"} ${this.checked && "checked"}` }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
31
+ ];
32
+ }
33
+ static get is() { return "z-toggle-switch"; }
34
+ static get encapsulation() { return "scoped"; }
35
+ static get originalStyleUrls() { return {
36
+ "$": ["styles.css"]
37
+ }; }
38
+ static get styleUrls() { return {
39
+ "$": ["styles.css"]
40
+ }; }
41
+ static get properties() { return {
42
+ "disabled": {
43
+ "type": "boolean",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "boolean",
47
+ "resolved": "boolean",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": true,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "attribute": "disabled",
57
+ "reflect": true,
58
+ "defaultValue": "false"
59
+ },
60
+ "labelPosition": {
61
+ "type": "string",
62
+ "mutable": false,
63
+ "complexType": {
64
+ "original": "ZtoggleSwitchPositionEnum",
65
+ "resolved": "ZtoggleSwitchPositionEnum.left | ZtoggleSwitchPositionEnum.right",
66
+ "references": {
67
+ "ZtoggleSwitchPositionEnum": {
68
+ "location": "import",
69
+ "path": "../../../beans"
70
+ }
71
+ }
72
+ },
73
+ "required": false,
74
+ "optional": true,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": ""
78
+ },
79
+ "attribute": "label-position",
80
+ "reflect": true,
81
+ "defaultValue": "ZtoggleSwitchPositionEnum.left"
82
+ },
83
+ "checked": {
84
+ "type": "boolean",
85
+ "mutable": true,
86
+ "complexType": {
87
+ "original": "boolean",
88
+ "resolved": "boolean",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": true,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": ""
96
+ },
97
+ "attribute": "checked",
98
+ "reflect": false,
99
+ "defaultValue": "false"
100
+ },
101
+ "htmlid": {
102
+ "type": "string",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "string",
106
+ "resolved": "string",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "attribute": "htmlid",
116
+ "reflect": false,
117
+ "defaultValue": "`id-${randomId()}`"
118
+ }
119
+ }; }
120
+ static get events() { return [{
121
+ "method": "toggleClick",
122
+ "name": "toggleClick",
123
+ "bubbles": true,
124
+ "cancelable": true,
125
+ "composed": true,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": ""
129
+ },
130
+ "complexType": {
131
+ "original": "any",
132
+ "resolved": "any",
133
+ "references": {}
134
+ }
135
+ }]; }
136
+ }
@@ -0,0 +1,115 @@
1
+ :host {
2
+ font-family: var(--font-family-sans);
3
+ font-weight: var(--font-rg);
4
+ display: inline-flex;
5
+ position: relative;
6
+ }
7
+
8
+ label {
9
+ display: flex;
10
+ align-items: center;
11
+ flex-direction: row;
12
+ }
13
+
14
+ label.left {
15
+ margin: 0 var(--space-unit) 0 0;
16
+ }
17
+
18
+ label.right {
19
+ margin: 0 var(--space-unit) 0 0;
20
+ flex-direction: row-reverse;
21
+ }
22
+
23
+ label > span {
24
+ letter-spacing: 0;
25
+ color: var(--text-grey-800);
26
+ }
27
+
28
+ label > span.left {
29
+ margin-right: var(--space-unit);
30
+ }
31
+
32
+ label > span.right {
33
+ margin-left: var(--space-unit);
34
+ }
35
+
36
+ label > span.container {
37
+ display: flex;
38
+ align-items: center;
39
+ }
40
+
41
+ label > span.container {
42
+ height: 18px;
43
+ width: calc(var(--space-unit) * 4);
44
+ border-radius: var(--space-unit);
45
+ color: var(--gray500);
46
+ background-color: var(--gray500);
47
+ position: relative;
48
+ cursor: pointer;
49
+ }
50
+
51
+ label > span.container.disabled,
52
+ label > span.container.active.disabled {
53
+ background-color: var(--bg-grey-200);
54
+ cursor: default;
55
+ }
56
+
57
+ label > span.container.active.disabled > span.circle.checked.disabled > z-icon {
58
+ fill: var(--gray200);
59
+ }
60
+
61
+ label > span.container.active {
62
+ background-color: var(--color-primary01);
63
+ fill: var(--color-primary01);
64
+ }
65
+
66
+ input:focus:focus-visible + label > span.container:not(.disabled) {
67
+ outline: none;
68
+ box-shadow: var(--shadow-focus-primary);
69
+ }
70
+
71
+ input:focus:focus-visible + label > span.container.disabled {
72
+ outline: none;
73
+ }
74
+
75
+ label > span.container:not(.disabled):hover {
76
+ background-color: var(--color-hover-primary);
77
+ fill: var(--color-hover-primary);
78
+ }
79
+
80
+ label > span.container > span.circle {
81
+ position: absolute;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ margin: 0;
86
+ height: calc(var(--space-unit) * 2);
87
+ width: calc(var(--space-unit) * 2);
88
+ border-radius: 7px;
89
+ background-color: var(--bg-white);
90
+ box-shadow: var(--shadow-2);
91
+ transition: transform 0.3s ease;
92
+ }
93
+
94
+ label > span.container > span.circle.checked {
95
+ transform: translateX(100%);
96
+ }
97
+
98
+ input[type="checkbox"] {
99
+ position: absolute;
100
+ opacity: 0;
101
+ z-index: -1;
102
+ pointer-events: none;
103
+ }
104
+
105
+ /* Tablet breakpoint */
106
+ @media only screen and (min-width: 768px) {
107
+ }
108
+
109
+ /* Desktop breakpoint */
110
+ @media only screen and (min-width: 1152px) {
111
+ }
112
+
113
+ /* Wide breakpoint */
114
+ @media only screen and (min-width: 1366px) {
115
+ }
@@ -0,0 +1,52 @@
1
+ import { Component, h, Event } from "@stencil/core";
2
+ export class ZDragdropArea {
3
+ fileDroppedHandler(files) {
4
+ this.fileDropped.emit(files);
5
+ }
6
+ renderOnDragOverMessage() {
7
+ return (h("div", { class: "dragover-container" },
8
+ h("div", { class: "dragover-message" },
9
+ h("z-body", { variant: "semibold", level: 2 }, "Rilascia i file in questa area per allegarli."))));
10
+ }
11
+ render() {
12
+ return (h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
13
+ console.log(e);
14
+ e.preventDefault();
15
+ this.dragDropContainer.classList.add("dragover");
16
+ }, onDragLeave: () => {
17
+ this.dragDropContainer.classList.remove("dragover");
18
+ }, onDragEnd: () => { }, onDrop: (e) => {
19
+ e.preventDefault();
20
+ if (e.dataTransfer.files.length) {
21
+ this.dragDropContainer.classList.remove("dragover");
22
+ this.fileDroppedHandler(e.dataTransfer.files);
23
+ }
24
+ } },
25
+ this.renderOnDragOverMessage(),
26
+ h("slot", null)));
27
+ }
28
+ static get is() { return "z-dragdrop-area"; }
29
+ static get encapsulation() { return "scoped"; }
30
+ static get originalStyleUrls() { return {
31
+ "$": ["styles.css"]
32
+ }; }
33
+ static get styleUrls() { return {
34
+ "$": ["styles.css"]
35
+ }; }
36
+ static get events() { return [{
37
+ "method": "fileDropped",
38
+ "name": "fileDropped",
39
+ "bubbles": true,
40
+ "cancelable": true,
41
+ "composed": true,
42
+ "docs": {
43
+ "tags": [],
44
+ "text": "Emitted when user drop one or more files"
45
+ },
46
+ "complexType": {
47
+ "original": "any",
48
+ "resolved": "any",
49
+ "references": {}
50
+ }
51
+ }]; }
52
+ }
@@ -0,0 +1,62 @@
1
+ :host {
2
+ font-family: var(--font-family-sans);
3
+ font-weight: var(--font-rg);
4
+ margin-top: calc(var(--space-unit) * 3);
5
+ }
6
+
7
+ :host > .dragdrop {
8
+ display: flex;
9
+ color: var(--color-text01);
10
+ flex-direction: column;
11
+ position: relative;
12
+ /* Native CSS properties don't support the customization of border-style.
13
+ Therefore, we use a trick with an SVG image inside background-image property.
14
+ The SVG features give us the ability to change the distance between dashed lines, set custom pattern, add dash offset or even change a line cap.
15
+ Generated SVG image is vector and it fills width and height of elements by 100%, so it doesn't matter what size elements have. */
16
+ background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e");
17
+ border-radius: 2px;
18
+ border-color: var(--color-surface04);
19
+ height: 228px;
20
+ background-color: var(--color-surface02);
21
+ }
22
+
23
+ /* https://stackoverflow.com/questions/7110353/html5-dragleave-fired-when-hovering-a-child-element */
24
+ :host > .dragdrop.dragover * {
25
+ pointer-events: none;
26
+ }
27
+
28
+ :host > .dragdrop .dragover-container {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ z-index: 10;
35
+ display: none;
36
+ background-color: var(--color-primary03);
37
+ box-shadow: var(--shadow-focus-primary);
38
+ }
39
+
40
+ :host > .dragdrop .dragover-container .dragover-message {
41
+ background-color: var(--color-link-primary);
42
+ color: var(--color-text04);
43
+ padding: 10px 28px;
44
+ }
45
+
46
+ :host > .dragdrop.dragover .dragover-container {
47
+ display: flex;
48
+ justify-content: center;
49
+ align-items: center;
50
+ }
51
+
52
+ /* Tablet breakpoint */
53
+ @media only screen and (min-width: 768px) {
54
+ }
55
+
56
+ /* Desktop breakpoint */
57
+ @media only screen and (min-width: 1152px) {
58
+ }
59
+
60
+ /* Wide breakpoint */
61
+ @media only screen and (min-width: 1366px) {
62
+ }
@@ -0,0 +1,108 @@
1
+ import { Component, h, Event, Element, Host, State, Listen, Prop, } from "@stencil/core";
2
+ import { DeviceEnum, TooltipPosition, ZChipType } from "../../../beans";
3
+ import { tabletBreakpoint } from "../../../constants/breakpoints";
4
+ import { getDevice } from "../../../utils/utils";
5
+ export class ZFile {
6
+ constructor() {
7
+ this.allowTooltip = false;
8
+ this.tooltipVisible = false;
9
+ }
10
+ removeFileHandler() {
11
+ this.removeFile.emit();
12
+ this.el.remove();
13
+ }
14
+ onMouseOver() {
15
+ this.tooltipVisible = true;
16
+ }
17
+ onMouseLeave() {
18
+ this.tooltipVisible = false;
19
+ }
20
+ componentDidLoad() {
21
+ var _a, _b;
22
+ if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint)
23
+ this.allowTooltip = true;
24
+ (_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
25
+ }
26
+ elementHasEllipsis() {
27
+ return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
28
+ }
29
+ render() {
30
+ return (h(Host, null,
31
+ this.allowTooltip && (h("z-tooltip", { open: this.tooltipVisible, type: TooltipPosition.AUTO, "bind-to": `#chip-${this.fileNumber}` },
32
+ h("span", { class: "body-5 tootip-content" }, this.ellipsis.innerText))),
33
+ h("z-chip", { id: `chip-${this.fileNumber}`, filter: true, type: ZChipType.default },
34
+ h("div", { class: "chip-content" },
35
+ h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1, class: {
36
+ "body-3-sb": getDevice() == DeviceEnum.desktop,
37
+ "body-2-sb": getDevice() !== DeviceEnum.desktop,
38
+ } },
39
+ h("slot", null)),
40
+ h("z-icon", { "aria-label": "Elimina file", tabIndex: 0, onClick: () => this.removeFileHandler(), onKeyPress: (e) => {
41
+ if (e.code == "Space" || e.code == "Enter") {
42
+ e.preventDefault();
43
+ this.removeFileHandler();
44
+ }
45
+ }, name: "multiply-circled", height: getDevice() !== DeviceEnum.desktop ? 20 : 15, width: getDevice() !== DeviceEnum.desktop ? 20 : 15, ref: (val) => (this.icon = val) })))));
46
+ }
47
+ static get is() { return "z-file"; }
48
+ static get encapsulation() { return "scoped"; }
49
+ static get originalStyleUrls() { return {
50
+ "$": ["styles.css"]
51
+ }; }
52
+ static get styleUrls() { return {
53
+ "$": ["styles.css"]
54
+ }; }
55
+ static get properties() { return {
56
+ "fileNumber": {
57
+ "type": "any",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "any",
61
+ "resolved": "any",
62
+ "references": {}
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": ""
69
+ },
70
+ "attribute": "file-number",
71
+ "reflect": false
72
+ }
73
+ }; }
74
+ static get states() { return {
75
+ "allowTooltip": {},
76
+ "tooltipVisible": {}
77
+ }; }
78
+ static get events() { return [{
79
+ "method": "removeFile",
80
+ "name": "removeFile",
81
+ "bubbles": true,
82
+ "cancelable": true,
83
+ "composed": true,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": "Emitted when a z-file component is removed from the DOM"
87
+ },
88
+ "complexType": {
89
+ "original": "any",
90
+ "resolved": "any",
91
+ "references": {}
92
+ }
93
+ }]; }
94
+ static get elementRef() { return "el"; }
95
+ static get listeners() { return [{
96
+ "name": "mouseover",
97
+ "method": "onMouseOver",
98
+ "target": undefined,
99
+ "capture": false,
100
+ "passive": true
101
+ }, {
102
+ "name": "mouseleave",
103
+ "method": "onMouseLeave",
104
+ "target": undefined,
105
+ "capture": false,
106
+ "passive": true
107
+ }]; }
108
+ }
@@ -0,0 +1,61 @@
1
+ :host {
2
+ font-family: var(--font-family-sans);
3
+ font-weight: var(--font-rg);
4
+ position: relative;
5
+ }
6
+
7
+ :host .chip-content {
8
+ display: flex;
9
+ align-items: center;
10
+ }
11
+
12
+ :host > z-tooltip {
13
+ z-index: 10;
14
+ }
15
+
16
+ :host > z-tooltip > .tootip-content {
17
+ white-space: nowrap;
18
+ }
19
+
20
+ :host > z-chip > .chip-content > span {
21
+ max-width: 250px;
22
+ overflow: hidden;
23
+ text-overflow: ellipsis;
24
+ white-space: nowrap;
25
+ font-size: 14px;
26
+ line-height: 1.33;
27
+ letter-spacing: 0.32px;
28
+ }
29
+
30
+ :host > z-chip > .chip-content > span.regular {
31
+ font-weight: var(--font-rg);
32
+ }
33
+
34
+ :host > z-chip > .chip-content > span.bold {
35
+ font-weight: var(--font-sb);
36
+ }
37
+
38
+ :host .chip-content > z-icon:last-child {
39
+ margin-left: var(--space-unit);
40
+ cursor: pointer;
41
+ fill: var(--color-icon01);
42
+ }
43
+
44
+ /* Tablet breakpoint */
45
+ @media only screen and (min-width: 768px) {
46
+ }
47
+
48
+ /* Desktop breakpoint */
49
+ @media only screen and (min-width: 1152px) {
50
+ :host {
51
+ border-radius: 16px;
52
+ }
53
+
54
+ :host > z-chip > .chip-content > span {
55
+ font-size: 12px;
56
+ }
57
+ }
58
+
59
+ /* Wide breakpoint */
60
+ @media only screen and (min-width: 1366px) {
61
+ }