@paperless/core 2.0.1-beta.1 → 2.0.1-beta.10

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 (1421) hide show
  1. package/CHANGELOG.md +202 -2
  2. package/dist/assets/iban-icons/icon-abn.svg +6 -0
  3. package/dist/assets/iban-icons/icon-asn.svg +5 -0
  4. package/dist/assets/iban-icons/icon-bunq.svg +19 -0
  5. package/dist/assets/iban-icons/icon-ing.png +0 -0
  6. package/dist/assets/iban-icons/icon-knab.svg +8 -0
  7. package/dist/assets/iban-icons/icon-rabo.svg +36 -0
  8. package/dist/assets/iban-icons/icon-sns.svg +172 -0
  9. package/dist/assets/iban-icons/icon-triodos.svg +5 -0
  10. package/dist/assets/icons/arrows/arrow.svg +10 -0
  11. package/dist/assets/icons/arrows/caret.svg +10 -0
  12. package/dist/assets/icons/arrows/double-arrow.svg +10 -0
  13. package/dist/assets/icons/arrows/double-caret.svg +10 -0
  14. package/dist/assets/icons/communication/bell.svg +10 -0
  15. package/dist/assets/icons/communication/chat.svg +10 -0
  16. package/dist/assets/icons/communication/check-circle.svg +11 -0
  17. package/dist/assets/icons/communication/cross-circle.svg +10 -0
  18. package/dist/assets/icons/communication/error-circle.svg +11 -0
  19. package/dist/assets/icons/communication/headset.svg +10 -0
  20. package/dist/assets/icons/communication/info-circle.svg +12 -0
  21. package/dist/assets/icons/communication/phone.svg +10 -0
  22. package/dist/assets/icons/communication/question-circle.svg +12 -0
  23. package/dist/assets/icons/communication/warning.svg +11 -0
  24. package/dist/assets/icons/files/attachment.svg +10 -0
  25. package/dist/assets/icons/files/description.svg +10 -0
  26. package/dist/assets/icons/files/document.svg +11 -0
  27. package/dist/assets/icons/files/folder.svg +10 -0
  28. package/dist/assets/icons/files/pdf.svg +11 -0
  29. package/dist/assets/icons/files/xls.svg +11 -0
  30. package/dist/assets/icons/general/bank.svg +10 -0
  31. package/dist/assets/icons/general/bread.svg +12 -0
  32. package/dist/assets/icons/general/cake.svg +11 -0
  33. package/dist/assets/icons/general/calculator.svg +12 -0
  34. package/dist/assets/icons/general/camera.svg +11 -0
  35. package/dist/assets/icons/general/car.svg +11 -0
  36. package/dist/assets/icons/general/certified.svg +11 -0
  37. package/dist/assets/icons/general/chair.svg +11 -0
  38. package/dist/assets/icons/general/checkmark.svg +10 -0
  39. package/dist/assets/icons/general/city.svg +10 -0
  40. package/dist/assets/icons/general/companies.svg +10 -0
  41. package/dist/assets/icons/general/company.svg +10 -0
  42. package/dist/assets/icons/general/credit-card.svg +10 -0
  43. package/dist/assets/icons/general/cutlery.svg +10 -0
  44. package/dist/assets/icons/general/department.svg +10 -0
  45. package/dist/assets/icons/general/diamond.svg +11 -0
  46. package/dist/assets/icons/general/docter.svg +13 -0
  47. package/dist/assets/icons/general/download.svg +11 -0
  48. package/dist/assets/icons/general/envelope.svg +11 -0
  49. package/dist/assets/icons/general/euro.svg +10 -0
  50. package/dist/assets/icons/general/exam.svg +11 -0
  51. package/dist/assets/icons/general/filter.svg +10 -0
  52. package/dist/assets/icons/general/flower.svg +11 -0
  53. package/dist/assets/icons/general/globe-2.svg +11 -0
  54. package/dist/assets/icons/general/globe.svg +11 -0
  55. package/dist/assets/icons/general/hash.svg +10 -0
  56. package/dist/assets/icons/general/hat.svg +12 -0
  57. package/dist/assets/icons/general/home.svg +10 -0
  58. package/dist/assets/icons/general/integration.svg +10 -0
  59. package/dist/assets/icons/general/language.svg +11 -0
  60. package/dist/assets/icons/general/laptop.svg +10 -0
  61. package/dist/assets/icons/general/location.svg +11 -0
  62. package/dist/assets/icons/general/mail.svg +11 -0
  63. package/dist/assets/icons/general/medal.svg +11 -0
  64. package/dist/assets/icons/general/menu-arrow.svg +10 -0
  65. package/dist/assets/icons/general/menu.svg +10 -0
  66. package/dist/assets/icons/general/minus.svg +10 -0
  67. package/dist/assets/icons/general/more.svg +10 -0
  68. package/dist/assets/icons/general/negative.svg +10 -0
  69. package/dist/assets/icons/general/other.svg +10 -0
  70. package/dist/assets/icons/general/pay.svg +11 -0
  71. package/dist/assets/icons/general/pencil.svg +10 -0
  72. package/dist/assets/icons/general/percent.svg +10 -0
  73. package/dist/assets/icons/general/pie-chart.svg +10 -0
  74. package/dist/assets/icons/general/placeholder.svg +10 -0
  75. package/dist/assets/icons/general/plus.svg +10 -0
  76. package/dist/assets/icons/general/power.svg +10 -0
  77. package/dist/assets/icons/general/receipt.svg +10 -0
  78. package/dist/assets/icons/general/reset.svg +11 -0
  79. package/dist/assets/icons/general/search.svg +10 -0
  80. package/dist/assets/icons/general/send.svg +10 -0
  81. package/dist/assets/icons/general/settings.svg +11 -0
  82. package/dist/assets/icons/general/shuffle.svg +11 -0
  83. package/dist/assets/icons/general/sick.svg +10 -0
  84. package/dist/assets/icons/general/signature.svg +10 -0
  85. package/dist/assets/icons/general/sparkle.svg +10 -0
  86. package/dist/assets/icons/general/star.svg +10 -0
  87. package/dist/assets/icons/general/stroller.svg +12 -0
  88. package/dist/assets/icons/general/tag.svg +11 -0
  89. package/dist/assets/icons/general/tasks.svg +10 -0
  90. package/dist/assets/icons/general/tools.svg +10 -0
  91. package/dist/assets/icons/general/tooth.svg +10 -0
  92. package/dist/assets/icons/general/train.svg +11 -0
  93. package/dist/assets/icons/general/trash.svg +10 -0
  94. package/dist/assets/icons/general/upload.svg +10 -0
  95. package/dist/assets/icons/general/wave.svg +12 -0
  96. package/dist/assets/icons/general/zipcode.svg +12 -0
  97. package/dist/assets/icons/security/eye-closed.svg +10 -0
  98. package/dist/assets/icons/security/eye.svg +11 -0
  99. package/dist/assets/icons/security/key.svg +11 -0
  100. package/dist/assets/icons/security/lock.svg +12 -0
  101. package/dist/assets/icons/security/unlocked.svg +12 -0
  102. package/dist/assets/icons/time/alarm.svg +11 -0
  103. package/dist/assets/icons/time/calendar-free.svg +11 -0
  104. package/dist/assets/icons/time/calendar-multi.svg +11 -0
  105. package/dist/assets/icons/time/calendar-not-free.svg +10 -0
  106. package/dist/assets/icons/time/calendar.svg +11 -0
  107. package/dist/assets/icons/time/clock.svg +11 -0
  108. package/dist/assets/icons/users/female.svg +10 -0
  109. package/dist/assets/icons/users/id-two.svg +10 -0
  110. package/dist/assets/icons/users/id.svg +12 -0
  111. package/dist/assets/icons/users/male.svg +10 -0
  112. package/dist/assets/icons/users/user.svg +10 -0
  113. package/dist/assets/icons/users/users.svg +11 -0
  114. package/dist/build/index.esm.js +1 -1
  115. package/dist/build/index.esm.js.map +1 -1
  116. package/dist/build/p-013cd7f9.entry.js +2 -0
  117. package/dist/build/p-0348e450.entry.js +2 -0
  118. package/dist/build/p-0348e450.entry.js.map +1 -0
  119. package/dist/build/p-047c1c6f.entry.js +2 -0
  120. package/dist/build/p-047c1c6f.entry.js.map +1 -0
  121. package/dist/build/p-08ea38ad.entry.js +2 -0
  122. package/dist/build/p-08ea38ad.entry.js.map +1 -0
  123. package/dist/build/p-16a18649.entry.js +2 -0
  124. package/dist/build/p-16a18649.entry.js.map +1 -0
  125. package/dist/build/p-221dbb71.entry.js +2 -0
  126. package/dist/build/p-221dbb71.entry.js.map +1 -0
  127. package/dist/build/p-23ca3688.entry.js +2 -0
  128. package/dist/build/p-23ca3688.entry.js.map +1 -0
  129. package/dist/build/p-28d14744.entry.js +2 -0
  130. package/dist/build/p-28d14744.entry.js.map +1 -0
  131. package/dist/build/p-2e3b9db4.js +2 -0
  132. package/dist/build/p-2e3b9db4.js.map +1 -0
  133. package/dist/build/p-2f9e9197.entry.js +2 -0
  134. package/dist/build/p-2f9e9197.entry.js.map +1 -0
  135. package/dist/build/p-32056913.entry.js +2 -0
  136. package/dist/build/p-32056913.entry.js.map +1 -0
  137. package/dist/build/p-385943b2.entry.js +2 -0
  138. package/dist/build/p-385943b2.entry.js.map +1 -0
  139. package/dist/build/p-393eba2f.entry.js +2 -0
  140. package/dist/build/p-393eba2f.entry.js.map +1 -0
  141. package/dist/build/p-3d867690.entry.js +2 -0
  142. package/dist/build/p-3d867690.entry.js.map +1 -0
  143. package/dist/build/p-3e9d994a.entry.js +2 -0
  144. package/dist/build/p-3e9d994a.entry.js.map +1 -0
  145. package/dist/build/p-45463125.entry.js +2 -0
  146. package/dist/build/p-45463125.entry.js.map +1 -0
  147. package/dist/build/p-5ab354bf.entry.js +2 -0
  148. package/dist/build/p-5ab354bf.entry.js.map +1 -0
  149. package/dist/build/p-5e789bb1.entry.js +2 -0
  150. package/dist/build/p-5e789bb1.entry.js.map +1 -0
  151. package/dist/build/p-64765a81.js +2 -0
  152. package/dist/build/p-64765a81.js.map +1 -0
  153. package/dist/build/p-64b53130.entry.js +2 -0
  154. package/dist/build/p-64b53130.entry.js.map +1 -0
  155. package/dist/build/p-64b68231.js +3 -0
  156. package/dist/build/p-64b68231.js.map +1 -0
  157. package/dist/build/p-6cddc325.js +2 -0
  158. package/dist/build/p-6cddc325.js.map +1 -0
  159. package/dist/build/p-6e71ebca.entry.js +2 -0
  160. package/dist/build/p-6e71ebca.entry.js.map +1 -0
  161. package/dist/build/p-6f7721eb.entry.js +2 -0
  162. package/dist/build/p-6f7721eb.entry.js.map +1 -0
  163. package/dist/build/p-6fed974c.entry.js +2 -0
  164. package/dist/build/p-6fed974c.entry.js.map +1 -0
  165. package/dist/build/p-75006522.js +2 -0
  166. package/dist/build/p-75006522.js.map +1 -0
  167. package/dist/build/p-7a577384.entry.js +2 -0
  168. package/dist/build/p-7a577384.entry.js.map +1 -0
  169. package/dist/build/p-7beb3401.entry.js +2 -0
  170. package/dist/build/p-851a7662.entry.js +2 -0
  171. package/dist/build/p-851a7662.entry.js.map +1 -0
  172. package/dist/build/p-8a1a6e56.js +2 -0
  173. package/dist/build/p-8a1a6e56.js.map +1 -0
  174. package/dist/build/p-8a5b8196.js +2 -0
  175. package/dist/build/p-8a5b8196.js.map +1 -0
  176. package/dist/build/p-909879e3.entry.js +3 -0
  177. package/dist/build/p-909879e3.entry.js.map +1 -0
  178. package/dist/build/p-92f2aa3a.entry.js +2 -0
  179. package/dist/build/p-92f2aa3a.entry.js.map +1 -0
  180. package/dist/build/p-937b2d74.entry.js +2 -0
  181. package/dist/build/p-937b2d74.entry.js.map +1 -0
  182. package/dist/build/p-9fa5d08a.entry.js +2 -0
  183. package/dist/build/p-a587ff9f.entry.js +2 -0
  184. package/dist/build/p-a587ff9f.entry.js.map +1 -0
  185. package/dist/build/p-a7b8e22f.entry.js +2 -0
  186. package/dist/build/p-a7b8e22f.entry.js.map +1 -0
  187. package/dist/build/p-aa058967.entry.js +2 -0
  188. package/dist/build/p-aa058967.entry.js.map +1 -0
  189. package/dist/build/p-aab1cda1.entry.js +2 -0
  190. package/dist/build/p-aab1cda1.entry.js.map +1 -0
  191. package/dist/build/p-b8e718c7.entry.js +2 -0
  192. package/dist/build/p-b8e718c7.entry.js.map +1 -0
  193. package/dist/build/p-b9a7e240.entry.js +2 -0
  194. package/dist/build/p-b9a7e240.entry.js.map +1 -0
  195. package/dist/build/p-bc46f89a.entry.js +2 -0
  196. package/dist/build/p-be0c925e.entry.js +2 -0
  197. package/dist/build/p-bfbab545.entry.js +2 -0
  198. package/dist/build/p-bfbab545.entry.js.map +1 -0
  199. package/dist/build/p-c6bcbcbf.entry.js +2 -0
  200. package/dist/build/p-cb7c509e.entry.js +2 -0
  201. package/dist/build/p-cb8a454c.entry.js +2 -0
  202. package/dist/build/p-cb8a454c.entry.js.map +1 -0
  203. package/dist/build/p-cc321a7b.entry.js +2 -0
  204. package/dist/build/p-cc321a7b.entry.js.map +1 -0
  205. package/dist/build/p-d5d413a1.js +2 -0
  206. package/dist/build/p-d5d413a1.js.map +1 -0
  207. package/dist/build/p-d7dbd13e.entry.js +2 -0
  208. package/dist/build/p-d7dbd13e.entry.js.map +1 -0
  209. package/dist/build/p-d81a30f6.entry.js +2 -0
  210. package/dist/build/p-d81a30f6.entry.js.map +1 -0
  211. package/dist/build/p-dce95c92.entry.js +2 -0
  212. package/dist/build/p-dce95c92.entry.js.map +1 -0
  213. package/dist/build/p-dd6d3839.entry.js +2 -0
  214. package/dist/build/p-e10cf2d3.entry.js +2 -0
  215. package/dist/build/p-e10cf2d3.entry.js.map +1 -0
  216. package/dist/build/p-ea3bce45.entry.js +2 -0
  217. package/dist/build/p-ece8998b.entry.js +2 -0
  218. package/dist/build/p-ece8998b.entry.js.map +1 -0
  219. package/dist/build/p-f78afad9.entry.js +2 -0
  220. package/dist/build/p-f78afad9.entry.js.map +1 -0
  221. package/dist/build/p-fcaa0539.entry.js +2 -0
  222. package/dist/build/p-fcaa0539.entry.js.map +1 -0
  223. package/dist/build/paperless.css +1 -1
  224. package/dist/build/paperless.esm.js +1 -1
  225. package/dist/build/paperless.esm.js.map +1 -1
  226. package/dist/cjs/_commonjsHelpers-4213291f.js +24 -0
  227. package/dist/cjs/_commonjsHelpers-4213291f.js.map +1 -0
  228. package/dist/cjs/clsx-fc789adc.js +7 -0
  229. package/dist/cjs/clsx-fc789adc.js.map +1 -0
  230. package/dist/cjs/iban-71055b2d.js +16 -0
  231. package/dist/cjs/iban-71055b2d.js.map +1 -0
  232. package/dist/cjs/icons-deprecated-d4fd5f3e.js +1123 -0
  233. package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +1 -0
  234. package/dist/cjs/icons-e50d4119.js +1549 -0
  235. package/dist/cjs/icons-e50d4119.js.map +1 -0
  236. package/dist/cjs/index-02e05522.js +2657 -0
  237. package/dist/cjs/index-02e05522.js.map +1 -0
  238. package/dist/cjs/index-b556e70f.js +48 -0
  239. package/dist/cjs/index-b556e70f.js.map +1 -0
  240. package/dist/cjs/index.cjs.js +308 -193
  241. package/dist/cjs/index.cjs.js.map +1 -1
  242. package/dist/cjs/loader.cjs.js +2 -2
  243. package/dist/cjs/object-get-by-path-c2e8bf29.js +120 -0
  244. package/dist/cjs/object-get-by-path-c2e8bf29.js.map +1 -0
  245. package/dist/cjs/p-accordion.cjs.entry.js +3 -3
  246. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
  247. package/dist/cjs/p-attachment.cjs.entry.js +5 -9
  248. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  249. package/dist/cjs/p-avatar-group.cjs.entry.js +3 -3
  250. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
  251. package/dist/cjs/p-avatar.cjs.entry.js +28 -13
  252. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  253. package/dist/cjs/p-backdrop.cjs.entry.js +57 -4
  254. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  255. package/dist/cjs/p-badge.cjs.entry.js +21 -0
  256. package/dist/cjs/p-badge.cjs.entry.js.map +1 -0
  257. package/dist/cjs/p-button-group.cjs.entry.js +3 -3
  258. package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
  259. package/dist/cjs/p-button_3.cjs.entry.js +280 -1173
  260. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  261. package/dist/cjs/p-calendar.cjs.entry.js +15 -18
  262. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  263. package/dist/cjs/p-card-body.cjs.entry.js +2 -2
  264. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
  265. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  266. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  267. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  268. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
  269. package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
  270. package/dist/cjs/p-counter.cjs.entry.js +2 -2
  271. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  272. package/dist/cjs/p-cropper.cjs.entry.js +4 -5
  273. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  274. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  275. package/dist/cjs/p-divider.cjs.entry.js +3 -3
  276. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  277. package/dist/cjs/p-drawer-body_3.cjs.entry.js +5 -5
  278. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  279. package/dist/cjs/p-drawer.cjs.entry.js +1 -1
  280. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +44 -3
  281. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  282. package/dist/cjs/p-dropdown_2.cjs.entry.js +85 -19
  283. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  284. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +21 -27
  285. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  286. package/dist/cjs/p-helper_3.cjs.entry.js +6 -7
  287. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
  288. package/dist/cjs/p-iban-icon.cjs.entry.js +47 -0
  289. package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -0
  290. package/dist/cjs/p-icon-deprecated.cjs.entry.js +61 -0
  291. package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -0
  292. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  293. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
  294. package/dist/cjs/p-label_3.cjs.entry.js +4 -4
  295. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
  296. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  297. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  298. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  299. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  300. package/dist/cjs/p-navbar.cjs.entry.js +47 -8
  301. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  302. package/dist/cjs/p-navigation-item.cjs.entry.js +2854 -6
  303. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  304. package/dist/cjs/p-navigation-section.cjs.entry.js +23 -0
  305. package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -0
  306. package/dist/cjs/p-navigation-title.cjs.entry.js +21 -0
  307. package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -0
  308. package/dist/cjs/p-page-size-select_3.cjs.entry.js +11 -11
  309. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
  310. package/dist/cjs/p-profile.cjs.entry.js +33 -15
  311. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  312. package/dist/cjs/p-select.cjs.entry.js +4 -4
  313. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  314. package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
  315. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
  316. package/dist/cjs/p-status.cjs.entry.js +2 -2
  317. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  318. package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
  319. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  320. package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
  321. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  322. package/dist/cjs/p-stepper.cjs.entry.js +6 -8
  323. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  324. package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
  325. package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
  326. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
  327. package/dist/cjs/p-table-column.cjs.entry.js +1 -1
  328. package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
  329. package/dist/cjs/p-table.cjs.entry.js +9 -6
  330. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  331. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  332. package/dist/cjs/p-toast.cjs.entry.js +3 -3
  333. package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
  334. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  335. package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
  336. package/dist/cjs/paperless.cjs.js +2 -2
  337. package/dist/collection/assets/iban-icons/icon-abn.svg +6 -0
  338. package/dist/collection/assets/iban-icons/icon-asn.svg +5 -0
  339. package/dist/collection/assets/iban-icons/icon-bunq.svg +19 -0
  340. package/dist/collection/assets/iban-icons/icon-knab.svg +8 -0
  341. package/dist/collection/assets/iban-icons/icon-rabo.svg +36 -0
  342. package/dist/collection/assets/iban-icons/icon-sns.svg +172 -0
  343. package/dist/collection/assets/iban-icons/icon-triodos.svg +5 -0
  344. package/dist/collection/assets/icons/arrows/arrow.svg +10 -0
  345. package/dist/collection/assets/icons/arrows/caret.svg +10 -0
  346. package/dist/collection/assets/icons/arrows/double-arrow.svg +10 -0
  347. package/dist/collection/assets/icons/arrows/double-caret.svg +10 -0
  348. package/dist/collection/assets/icons/communication/bell.svg +10 -0
  349. package/dist/collection/assets/icons/communication/chat.svg +10 -0
  350. package/dist/collection/assets/icons/communication/check-circle.svg +11 -0
  351. package/dist/collection/assets/icons/communication/cross-circle.svg +10 -0
  352. package/dist/collection/assets/icons/communication/error-circle.svg +11 -0
  353. package/dist/collection/assets/icons/communication/headset.svg +10 -0
  354. package/dist/collection/assets/icons/communication/info-circle.svg +12 -0
  355. package/dist/collection/assets/icons/communication/phone.svg +10 -0
  356. package/dist/collection/assets/icons/communication/question-circle.svg +12 -0
  357. package/dist/collection/assets/icons/communication/warning.svg +11 -0
  358. package/dist/collection/assets/icons/files/attachment.svg +10 -0
  359. package/dist/collection/assets/icons/files/description.svg +10 -0
  360. package/dist/collection/assets/icons/files/document.svg +11 -0
  361. package/dist/collection/assets/icons/files/folder.svg +10 -0
  362. package/dist/collection/assets/icons/files/pdf.svg +11 -0
  363. package/dist/collection/assets/icons/files/xls.svg +11 -0
  364. package/dist/collection/assets/icons/general/bank.svg +10 -0
  365. package/dist/collection/assets/icons/general/bread.svg +12 -0
  366. package/dist/collection/assets/icons/general/cake.svg +11 -0
  367. package/dist/collection/assets/icons/general/calculator.svg +12 -0
  368. package/dist/collection/assets/icons/general/camera.svg +11 -0
  369. package/dist/collection/assets/icons/general/car.svg +11 -0
  370. package/dist/collection/assets/icons/general/certified.svg +11 -0
  371. package/dist/collection/assets/icons/general/chair.svg +11 -0
  372. package/dist/collection/assets/icons/general/checkmark.svg +10 -0
  373. package/dist/collection/assets/icons/general/city.svg +10 -0
  374. package/dist/collection/assets/icons/general/companies.svg +10 -0
  375. package/dist/collection/assets/icons/general/company.svg +10 -0
  376. package/dist/collection/assets/icons/general/credit-card.svg +10 -0
  377. package/dist/collection/assets/icons/general/cutlery.svg +10 -0
  378. package/dist/collection/assets/icons/general/department.svg +10 -0
  379. package/dist/collection/assets/icons/general/diamond.svg +11 -0
  380. package/dist/collection/assets/icons/general/docter.svg +13 -0
  381. package/dist/collection/assets/icons/general/download.svg +11 -0
  382. package/dist/collection/assets/icons/general/envelope.svg +11 -0
  383. package/dist/collection/assets/icons/general/euro.svg +10 -0
  384. package/dist/collection/assets/icons/general/exam.svg +11 -0
  385. package/dist/collection/assets/icons/general/filter.svg +10 -0
  386. package/dist/collection/assets/icons/general/flower.svg +11 -0
  387. package/dist/collection/assets/icons/general/globe-2.svg +11 -0
  388. package/dist/collection/assets/icons/general/globe.svg +11 -0
  389. package/dist/collection/assets/icons/general/hash.svg +10 -0
  390. package/dist/collection/assets/icons/general/hat.svg +12 -0
  391. package/dist/collection/assets/icons/general/home.svg +10 -0
  392. package/dist/collection/assets/icons/general/integration.svg +10 -0
  393. package/dist/collection/assets/icons/general/language.svg +11 -0
  394. package/dist/collection/assets/icons/general/laptop.svg +10 -0
  395. package/dist/collection/assets/icons/general/location.svg +11 -0
  396. package/dist/collection/assets/icons/general/mail.svg +11 -0
  397. package/dist/collection/assets/icons/general/medal.svg +11 -0
  398. package/dist/collection/assets/icons/general/menu-arrow.svg +10 -0
  399. package/dist/collection/assets/icons/general/menu.svg +10 -0
  400. package/dist/collection/assets/icons/general/minus.svg +10 -0
  401. package/dist/collection/assets/icons/general/more.svg +10 -0
  402. package/dist/collection/assets/icons/general/negative.svg +10 -0
  403. package/dist/collection/assets/icons/general/other.svg +10 -0
  404. package/dist/collection/assets/icons/general/pay.svg +11 -0
  405. package/dist/collection/assets/icons/general/pencil.svg +10 -0
  406. package/dist/collection/assets/icons/general/percent.svg +10 -0
  407. package/dist/collection/assets/icons/general/pie-chart.svg +10 -0
  408. package/dist/collection/assets/icons/general/placeholder.svg +10 -0
  409. package/dist/collection/assets/icons/general/plus.svg +10 -0
  410. package/dist/collection/assets/icons/general/power.svg +10 -0
  411. package/dist/collection/assets/icons/general/receipt.svg +10 -0
  412. package/dist/collection/assets/icons/general/reset.svg +11 -0
  413. package/dist/collection/assets/icons/general/search.svg +10 -0
  414. package/dist/collection/assets/icons/general/send.svg +10 -0
  415. package/dist/collection/assets/icons/general/settings.svg +11 -0
  416. package/dist/collection/assets/icons/general/shuffle.svg +11 -0
  417. package/dist/collection/assets/icons/general/sick.svg +10 -0
  418. package/dist/collection/assets/icons/general/signature.svg +10 -0
  419. package/dist/collection/assets/icons/general/sparkle.svg +10 -0
  420. package/dist/collection/assets/icons/general/star.svg +10 -0
  421. package/dist/collection/assets/icons/general/stroller.svg +12 -0
  422. package/dist/collection/assets/icons/general/tag.svg +11 -0
  423. package/dist/collection/assets/icons/general/tasks.svg +10 -0
  424. package/dist/collection/assets/icons/general/tools.svg +10 -0
  425. package/dist/collection/assets/icons/general/tooth.svg +10 -0
  426. package/dist/collection/assets/icons/general/train.svg +11 -0
  427. package/dist/collection/assets/icons/general/trash.svg +10 -0
  428. package/dist/collection/assets/icons/general/upload.svg +10 -0
  429. package/dist/collection/assets/icons/general/wave.svg +12 -0
  430. package/dist/collection/assets/icons/general/zipcode.svg +12 -0
  431. package/dist/collection/assets/icons/security/eye-closed.svg +10 -0
  432. package/dist/collection/assets/icons/security/eye.svg +11 -0
  433. package/dist/collection/assets/icons/security/key.svg +11 -0
  434. package/dist/collection/assets/icons/security/lock.svg +12 -0
  435. package/dist/collection/assets/icons/security/unlocked.svg +12 -0
  436. package/dist/collection/assets/icons/time/alarm.svg +11 -0
  437. package/dist/collection/assets/icons/time/calendar-free.svg +11 -0
  438. package/dist/collection/assets/icons/time/calendar-multi.svg +11 -0
  439. package/dist/collection/assets/icons/time/calendar-not-free.svg +10 -0
  440. package/dist/collection/assets/icons/time/calendar.svg +11 -0
  441. package/dist/collection/assets/icons/time/clock.svg +11 -0
  442. package/dist/collection/assets/icons/users/female.svg +10 -0
  443. package/dist/collection/assets/icons/users/id-two.svg +10 -0
  444. package/dist/collection/assets/icons/users/id.svg +12 -0
  445. package/dist/collection/assets/icons/users/male.svg +10 -0
  446. package/dist/collection/assets/icons/users/user.svg +10 -0
  447. package/dist/collection/assets/icons/users/users.svg +11 -0
  448. package/dist/collection/collection-manifest.json +6 -1
  449. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
  450. package/dist/collection/components/atoms/avatar/avatar.component.js +28 -32
  451. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  452. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -1
  453. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  454. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
  455. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  456. package/dist/collection/components/atoms/backdrop/backdrop.component.js +71 -3
  457. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  458. package/dist/collection/components/atoms/badge/badge.component.css +1 -0
  459. package/dist/collection/components/atoms/badge/badge.component.js +18 -0
  460. package/dist/collection/components/atoms/badge/badge.component.js.map +1 -0
  461. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +26 -0
  462. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +1 -0
  463. package/dist/collection/components/atoms/badge/test/badge.component.spec.js +17 -0
  464. package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +1 -0
  465. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -1
  466. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -1
  467. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -1
  468. package/dist/collection/components/atoms/counter/counter.component.css +1 -1
  469. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  470. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  471. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  472. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -1
  473. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -1
  474. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -1
  475. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  476. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
  477. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  478. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +58 -1
  479. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  480. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  481. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -3
  482. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  483. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  484. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  485. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  486. package/dist/collection/components/atoms/helper/helper.component.js +26 -1
  487. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  488. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +84 -0
  489. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -0
  490. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +26 -0
  491. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +1 -0
  492. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +17 -0
  493. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +1 -0
  494. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  495. package/dist/collection/components/atoms/icon/icon.component.js +45 -55
  496. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  497. package/dist/collection/components/atoms/icon-deprecated/icon.component.css +1 -0
  498. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +159 -0
  499. package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -0
  500. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +37 -0
  501. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +1 -0
  502. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +47 -0
  503. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +1 -0
  504. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  505. package/dist/collection/components/atoms/label/label.component.css +1 -1
  506. package/dist/collection/components/atoms/label/label.component.js +2 -2
  507. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  508. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
  509. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
  510. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
  511. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
  512. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  513. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
  514. package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +1 -0
  515. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +18 -0
  516. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -0
  517. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +26 -0
  518. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +1 -0
  519. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +17 -0
  520. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +1 -0
  521. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  522. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  523. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  524. package/dist/collection/components/atoms/segment-item/segment-item.component.js +2 -2
  525. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
  526. package/dist/collection/components/atoms/status/status.component.css +1 -1
  527. package/dist/collection/components/atoms/status/status.component.js +2 -2
  528. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
  529. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
  530. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -1
  531. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
  532. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  533. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +2 -2
  534. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
  535. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  536. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
  537. package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
  538. package/dist/collection/components/molecules/attachment/attachment.component.js +3 -7
  539. package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
  540. package/dist/collection/components/molecules/button/button.component.css +1 -0
  541. package/dist/collection/components/molecules/button/button.component.js +707 -0
  542. package/dist/collection/components/molecules/button/button.component.js.map +1 -0
  543. package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +1 -0
  544. package/dist/collection/components/molecules/button/test/button.component.spec.js.map +1 -0
  545. package/dist/collection/components/molecules/button-group/button-group.component.js +5 -5
  546. package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
  547. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  548. package/dist/collection/components/molecules/calendar/calendar.component.js +13 -16
  549. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
  550. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
  551. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  552. package/dist/collection/components/molecules/dropdown/dropdown.component.js +29 -16
  553. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  554. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -3
  555. package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
  556. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  557. package/dist/collection/components/molecules/input-group/input-group.component.js +2 -2
  558. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  559. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +82 -48
  560. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  561. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -0
  562. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +43 -0
  563. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
  564. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +26 -0
  565. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +1 -0
  566. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +17 -0
  567. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +1 -0
  568. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +8 -8
  569. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
  570. package/dist/collection/components/molecules/pagination/pagination.component.js +4 -4
  571. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  572. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  573. package/dist/collection/components/molecules/profile/profile.component.js +48 -40
  574. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  575. package/dist/collection/components/molecules/select/select.component.css +1 -1
  576. package/dist/collection/components/molecules/select/select.component.js +4 -4
  577. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  578. package/dist/collection/components/molecules/stepper/stepper.component.js +5 -7
  579. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
  580. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
  581. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -3
  582. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  583. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
  584. package/dist/collection/components/molecules/table-header/table-header.component.js +31 -17
  585. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
  586. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
  587. package/dist/collection/components/molecules/toast/toast.component.css +1 -1
  588. package/dist/collection/components/molecules/toast/toast.component.js +3 -3
  589. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
  590. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  591. package/dist/collection/components/organisms/navbar/navbar.component.js +45 -47
  592. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  593. package/dist/collection/components/organisms/table/table.component.css +1 -1
  594. package/dist/collection/components/organisms/table/table.component.js +26 -5
  595. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  596. package/dist/collection/tailwind/paperless.js +29 -17
  597. package/dist/collection/tailwind/paperless.js.map +1 -1
  598. package/dist/collection/tailwind/theme/colors.js +128 -2
  599. package/dist/collection/tailwind/theme/colors.js.map +1 -1
  600. package/dist/collection/tailwind/theme/height.js +1 -0
  601. package/dist/collection/tailwind/theme/height.js.map +1 -1
  602. package/dist/collection/tailwind/theme/shadows.js +12 -9
  603. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  604. package/dist/collection/tailwind/theme/typography.js +11 -15
  605. package/dist/collection/tailwind/theme/typography.js.map +1 -1
  606. package/dist/collection/tailwind/theme/width.js +1 -0
  607. package/dist/collection/tailwind/theme/width.js.map +1 -1
  608. package/dist/collection/tailwind.config.js +1 -0
  609. package/dist/collection/tailwind.config.js.map +1 -1
  610. package/dist/collection/types/iban.js +11 -0
  611. package/dist/collection/types/iban.js.map +1 -0
  612. package/dist/collection/types/index.js +1 -0
  613. package/dist/collection/types/index.js.map +1 -1
  614. package/dist/collection/types/tailwind.js.map +1 -1
  615. package/dist/collection/utils/cn.js +6 -0
  616. package/dist/collection/utils/cn.js.map +1 -0
  617. package/dist/collection/utils/icons-deprecated.js +135 -0
  618. package/dist/collection/utils/icons-deprecated.js.map +1 -0
  619. package/dist/collection/utils/icons.js +311 -108
  620. package/dist/collection/utils/icons.js.map +1 -1
  621. package/dist/collection/utils/index.js +1 -0
  622. package/dist/collection/utils/index.js.map +1 -1
  623. package/dist/collection/utils/table-helpers.js +5 -0
  624. package/dist/collection/utils/table-helpers.js.map +1 -1
  625. package/dist/components/_commonjsHelpers.js +21 -0
  626. package/dist/components/_commonjsHelpers.js.map +1 -0
  627. package/dist/components/avatar.component.js +26 -13
  628. package/dist/components/avatar.component.js.map +1 -1
  629. package/dist/components/backdrop.component.js +58 -6
  630. package/dist/components/backdrop.component.js.map +1 -1
  631. package/dist/components/badge.component.js +31 -0
  632. package/dist/components/badge.component.js.map +1 -0
  633. package/dist/components/button.component.js +240 -10
  634. package/dist/components/button.component.js.map +1 -1
  635. package/dist/components/calendar.component.js +14 -17
  636. package/dist/components/calendar.component.js.map +1 -1
  637. package/dist/components/divider.component.js +2 -2
  638. package/dist/components/divider.component.js.map +1 -1
  639. package/dist/components/drawer-body.component.js +1 -1
  640. package/dist/components/drawer-body.component.js.map +1 -1
  641. package/dist/components/drawer-container.component.js +1 -1
  642. package/dist/components/drawer-container.component.js.map +1 -1
  643. package/dist/components/drawer-header.component.js +2 -2
  644. package/dist/components/drawer-header.component.js.map +1 -1
  645. package/dist/components/dropdown-menu-container.component.js +43 -2
  646. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  647. package/dist/components/dropdown-menu-item.component.js +56 -4
  648. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  649. package/dist/components/dropdown.component.js +31 -18
  650. package/dist/components/dropdown.component.js.map +1 -1
  651. package/dist/components/floating-menu-container.component.js +1 -1
  652. package/dist/components/floating-menu-container.component.js.map +1 -1
  653. package/dist/components/floating-menu-item.component.js +1 -1
  654. package/dist/components/floating-menu-item.component.js.map +1 -1
  655. package/dist/components/helper.component.js +4 -2
  656. package/dist/components/helper.component.js.map +1 -1
  657. package/dist/components/iban.js +14 -0
  658. package/dist/components/iban.js.map +1 -0
  659. package/dist/components/icon.component.js +40 -1161
  660. package/dist/components/icon.component.js.map +1 -1
  661. package/dist/components/icons-deprecated.js +1121 -0
  662. package/dist/components/icons-deprecated.js.map +1 -0
  663. package/dist/components/icons.js +1546 -0
  664. package/dist/components/icons.js.map +1 -0
  665. package/dist/components/index.js +299 -188
  666. package/dist/components/index.js.map +1 -1
  667. package/dist/components/index2.js +46 -0
  668. package/dist/components/index2.js.map +1 -0
  669. package/dist/components/input-error.component.js +1 -3
  670. package/dist/components/input-error.component.js.map +1 -1
  671. package/dist/components/input-group.component.js +1 -1
  672. package/dist/components/input-group.component.js.map +1 -1
  673. package/dist/components/label.component.js +1 -1
  674. package/dist/components/label.component.js.map +1 -1
  675. package/dist/components/loader.component.js +1 -1
  676. package/dist/components/loader.component.js.map +1 -1
  677. package/dist/components/modal-body.component.js +1 -1
  678. package/dist/components/modal-body.component.js.map +1 -1
  679. package/dist/components/modal-container.component.js +1 -1
  680. package/dist/components/modal-container.component.js.map +1 -1
  681. package/dist/components/modal-footer.component.js +1 -1
  682. package/dist/components/modal-footer.component.js.map +1 -1
  683. package/dist/components/modal-header.component.js +2 -2
  684. package/dist/components/modal-header.component.js.map +1 -1
  685. package/dist/components/navigation-title.component.js +31 -0
  686. package/dist/components/navigation-title.component.js.map +1 -0
  687. package/dist/components/object-get-by-path.js +5 -0
  688. package/dist/components/object-get-by-path.js.map +1 -1
  689. package/dist/components/p-accordion.js +2 -2
  690. package/dist/components/p-accordion.js.map +1 -1
  691. package/dist/components/p-attachment.js +4 -8
  692. package/dist/components/p-attachment.js.map +1 -1
  693. package/dist/components/p-avatar-group.js +2 -2
  694. package/dist/components/p-avatar-group.js.map +1 -1
  695. package/dist/components/p-badge.d.ts +11 -0
  696. package/dist/components/p-badge.js +8 -0
  697. package/dist/components/p-badge.js.map +1 -0
  698. package/dist/components/p-button-group.js +2 -2
  699. package/dist/components/p-button-group.js.map +1 -1
  700. package/dist/components/p-card-body.js +1 -1
  701. package/dist/components/p-card-body.js.map +1 -1
  702. package/dist/components/p-card-container.js +1 -1
  703. package/dist/components/p-card-container.js.map +1 -1
  704. package/dist/components/p-card-header.js +1 -1
  705. package/dist/components/p-card-header.js.map +1 -1
  706. package/dist/components/p-counter.js +33 -1
  707. package/dist/components/p-counter.js.map +1 -1
  708. package/dist/components/p-cropper.js +2 -3
  709. package/dist/components/p-cropper.js.map +1 -1
  710. package/dist/components/p-iban-icon.d.ts +11 -0
  711. package/dist/components/p-iban-icon.js +64 -0
  712. package/dist/components/p-iban-icon.js.map +1 -0
  713. package/dist/components/p-icon-deprecated.d.ts +11 -0
  714. package/dist/components/p-icon-deprecated.js +79 -0
  715. package/dist/components/p-icon-deprecated.js.map +1 -0
  716. package/dist/components/p-info-panel.js +1 -1
  717. package/dist/components/p-info-panel.js.map +1 -1
  718. package/dist/components/p-navbar.js +46 -10
  719. package/dist/components/p-navbar.js.map +1 -1
  720. package/dist/components/p-navigation-item.js +2862 -22
  721. package/dist/components/p-navigation-item.js.map +1 -1
  722. package/dist/components/p-navigation-section.d.ts +11 -0
  723. package/dist/components/p-navigation-section.js +44 -0
  724. package/dist/components/p-navigation-section.js.map +1 -0
  725. package/dist/components/p-navigation-title.d.ts +11 -0
  726. package/dist/components/p-navigation-title.js +8 -0
  727. package/dist/components/p-navigation-title.js.map +1 -0
  728. package/dist/components/p-profile.js +54 -26
  729. package/dist/components/p-profile.js.map +1 -1
  730. package/dist/components/p-select.js +3 -3
  731. package/dist/components/p-select.js.map +1 -1
  732. package/dist/components/p-status.js +1 -1
  733. package/dist/components/p-status.js.map +1 -1
  734. package/dist/components/p-stepper-item.js +1 -1
  735. package/dist/components/p-stepper-item.js.map +1 -1
  736. package/dist/components/p-stepper.js +5 -7
  737. package/dist/components/p-stepper.js.map +1 -1
  738. package/dist/components/p-tab-item.js +1 -1
  739. package/dist/components/p-tab-item.js.map +1 -1
  740. package/dist/components/p-table.js +9 -5
  741. package/dist/components/p-table.js.map +1 -1
  742. package/dist/components/p-toast.js +2 -2
  743. package/dist/components/p-toast.js.map +1 -1
  744. package/dist/components/page-size-select.component.js +5 -5
  745. package/dist/components/page-size-select.component.js.map +1 -1
  746. package/dist/components/pagination-item.component.js +1 -1
  747. package/dist/components/pagination-item.component.js.map +1 -1
  748. package/dist/components/pagination.component.js +4 -4
  749. package/dist/components/pagination.component.js.map +1 -1
  750. package/dist/components/segment-container.component.js +1 -1
  751. package/dist/components/segment-container.component.js.map +1 -1
  752. package/dist/components/segment-item.component.js +1 -1
  753. package/dist/components/segment-item.component.js.map +1 -1
  754. package/dist/components/slider-indicator.component.js +1 -1
  755. package/dist/components/slider-indicator.component.js.map +1 -1
  756. package/dist/components/stepper-line.component.js +1 -1
  757. package/dist/components/stepper-line.component.js.map +1 -1
  758. package/dist/components/table-cell.component.js +1 -1
  759. package/dist/components/table-cell.component.js.map +1 -1
  760. package/dist/components/table-container.component.js +1 -1
  761. package/dist/components/table-container.component.js.map +1 -1
  762. package/dist/components/table-footer.component.js +1 -3
  763. package/dist/components/table-footer.component.js.map +1 -1
  764. package/dist/components/table-header.component.js +14 -17
  765. package/dist/components/table-header.component.js.map +1 -1
  766. package/dist/components/table-row.component.js +1 -1
  767. package/dist/components/table-row.component.js.map +1 -1
  768. package/dist/components/tooltip.component.js +1 -1
  769. package/dist/components/tooltip.component.js.map +1 -1
  770. package/dist/esm/_commonjsHelpers-e9b9b14e.js +21 -0
  771. package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +1 -0
  772. package/dist/esm/clsx-297c1ffe.js +5 -0
  773. package/dist/esm/clsx-297c1ffe.js.map +1 -0
  774. package/dist/esm/iban-c412c889.js +14 -0
  775. package/dist/esm/iban-c412c889.js.map +1 -0
  776. package/dist/esm/icons-cf12e4d2.js +1546 -0
  777. package/dist/esm/icons-cf12e4d2.js.map +1 -0
  778. package/dist/esm/icons-deprecated-2e1d124f.js +1121 -0
  779. package/dist/esm/icons-deprecated-2e1d124f.js.map +1 -0
  780. package/dist/esm/index-10317a74.js +46 -0
  781. package/dist/esm/index-10317a74.js.map +1 -0
  782. package/dist/esm/index-f99096d4.js +2628 -0
  783. package/dist/esm/index-f99096d4.js.map +1 -0
  784. package/dist/esm/index.js +300 -189
  785. package/dist/esm/index.js.map +1 -1
  786. package/dist/esm/loader.js +3 -3
  787. package/dist/esm/object-get-by-path-273a7106.js +114 -0
  788. package/dist/esm/object-get-by-path-273a7106.js.map +1 -0
  789. package/dist/esm/p-accordion.entry.js +3 -3
  790. package/dist/esm/p-accordion.entry.js.map +1 -1
  791. package/dist/esm/p-attachment.entry.js +5 -9
  792. package/dist/esm/p-attachment.entry.js.map +1 -1
  793. package/dist/esm/p-avatar-group.entry.js +3 -3
  794. package/dist/esm/p-avatar-group.entry.js.map +1 -1
  795. package/dist/esm/p-avatar.entry.js +28 -13
  796. package/dist/esm/p-avatar.entry.js.map +1 -1
  797. package/dist/esm/p-backdrop.entry.js +57 -4
  798. package/dist/esm/p-backdrop.entry.js.map +1 -1
  799. package/dist/esm/p-badge.entry.js +17 -0
  800. package/dist/esm/p-badge.entry.js.map +1 -0
  801. package/dist/esm/p-button-group.entry.js +3 -3
  802. package/dist/esm/p-button-group.entry.js.map +1 -1
  803. package/dist/esm/p-button_3.entry.js +280 -1173
  804. package/dist/esm/p-button_3.entry.js.map +1 -1
  805. package/dist/esm/p-calendar.entry.js +15 -18
  806. package/dist/esm/p-calendar.entry.js.map +1 -1
  807. package/dist/esm/p-card-body.entry.js +2 -2
  808. package/dist/esm/p-card-body.entry.js.map +1 -1
  809. package/dist/esm/p-card-container.entry.js +2 -2
  810. package/dist/esm/p-card-container.entry.js.map +1 -1
  811. package/dist/esm/p-card-header.entry.js +2 -2
  812. package/dist/esm/p-card-header.entry.js.map +1 -1
  813. package/dist/esm/p-content-slider.entry.js +1 -1
  814. package/dist/esm/p-counter.entry.js +2 -2
  815. package/dist/esm/p-counter.entry.js.map +1 -1
  816. package/dist/esm/p-cropper.entry.js +3 -4
  817. package/dist/esm/p-cropper.entry.js.map +1 -1
  818. package/dist/esm/p-datepicker.entry.js +1 -1
  819. package/dist/esm/p-divider.entry.js +3 -3
  820. package/dist/esm/p-divider.entry.js.map +1 -1
  821. package/dist/esm/p-drawer-body_3.entry.js +5 -5
  822. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  823. package/dist/esm/p-drawer.entry.js +1 -1
  824. package/dist/esm/p-dropdown-menu-container.entry.js +44 -3
  825. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  826. package/dist/esm/p-dropdown_2.entry.js +85 -19
  827. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  828. package/dist/esm/p-floating-menu-container_8.entry.js +21 -27
  829. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  830. package/dist/esm/p-helper_3.entry.js +6 -7
  831. package/dist/esm/p-helper_3.entry.js.map +1 -1
  832. package/dist/esm/p-iban-icon.entry.js +43 -0
  833. package/dist/esm/p-iban-icon.entry.js.map +1 -0
  834. package/dist/esm/p-icon-deprecated.entry.js +57 -0
  835. package/dist/esm/p-icon-deprecated.entry.js.map +1 -0
  836. package/dist/esm/p-info-panel.entry.js +2 -2
  837. package/dist/esm/p-info-panel.entry.js.map +1 -1
  838. package/dist/esm/p-label_3.entry.js +4 -4
  839. package/dist/esm/p-label_3.entry.js.map +1 -1
  840. package/dist/esm/p-layout.entry.js +1 -1
  841. package/dist/esm/p-modal-body_4.entry.js +6 -6
  842. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  843. package/dist/esm/p-modal.entry.js +1 -1
  844. package/dist/esm/p-navbar.entry.js +47 -8
  845. package/dist/esm/p-navbar.entry.js.map +1 -1
  846. package/dist/esm/p-navigation-item.entry.js +2854 -6
  847. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  848. package/dist/esm/p-navigation-section.entry.js +19 -0
  849. package/dist/esm/p-navigation-section.entry.js.map +1 -0
  850. package/dist/esm/p-navigation-title.entry.js +17 -0
  851. package/dist/esm/p-navigation-title.entry.js.map +1 -0
  852. package/dist/esm/p-page-size-select_3.entry.js +11 -11
  853. package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
  854. package/dist/esm/p-profile.entry.js +33 -15
  855. package/dist/esm/p-profile.entry.js.map +1 -1
  856. package/dist/esm/p-select.entry.js +4 -4
  857. package/dist/esm/p-select.entry.js.map +1 -1
  858. package/dist/esm/p-slider-indicator.entry.js +2 -2
  859. package/dist/esm/p-slider-indicator.entry.js.map +1 -1
  860. package/dist/esm/p-status.entry.js +2 -2
  861. package/dist/esm/p-status.entry.js.map +1 -1
  862. package/dist/esm/p-stepper-item.entry.js +2 -2
  863. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  864. package/dist/esm/p-stepper-line.entry.js +2 -2
  865. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  866. package/dist/esm/p-stepper.entry.js +6 -8
  867. package/dist/esm/p-stepper.entry.js.map +1 -1
  868. package/dist/esm/p-tab-group.entry.js +2 -2
  869. package/dist/esm/p-tab-item.entry.js +2 -2
  870. package/dist/esm/p-tab-item.entry.js.map +1 -1
  871. package/dist/esm/p-table-column.entry.js +1 -1
  872. package/dist/esm/p-table-row-action.entry.js +1 -1
  873. package/dist/esm/p-table.entry.js +9 -6
  874. package/dist/esm/p-table.entry.js.map +1 -1
  875. package/dist/esm/p-toast-container.entry.js +1 -1
  876. package/dist/esm/p-toast.entry.js +3 -3
  877. package/dist/esm/p-toast.entry.js.map +1 -1
  878. package/dist/esm/p-tooltip.entry.js +2 -2
  879. package/dist/esm/p-tooltip.entry.js.map +1 -1
  880. package/dist/esm/paperless.js +3 -3
  881. package/dist/index.html +1 -1
  882. package/dist/paperless/index.esm.js +1 -1
  883. package/dist/paperless/index.esm.js.map +1 -1
  884. package/dist/paperless/p-013cd7f9.entry.js +2 -0
  885. package/dist/paperless/p-0348e450.entry.js +2 -0
  886. package/dist/paperless/p-0348e450.entry.js.map +1 -0
  887. package/dist/paperless/p-047c1c6f.entry.js +2 -0
  888. package/dist/paperless/p-047c1c6f.entry.js.map +1 -0
  889. package/dist/paperless/p-08ea38ad.entry.js +2 -0
  890. package/dist/paperless/p-08ea38ad.entry.js.map +1 -0
  891. package/dist/paperless/p-16a18649.entry.js +2 -0
  892. package/dist/paperless/p-16a18649.entry.js.map +1 -0
  893. package/dist/paperless/p-221dbb71.entry.js +2 -0
  894. package/dist/paperless/p-221dbb71.entry.js.map +1 -0
  895. package/dist/paperless/p-23ca3688.entry.js +2 -0
  896. package/dist/paperless/p-23ca3688.entry.js.map +1 -0
  897. package/dist/paperless/p-28d14744.entry.js +2 -0
  898. package/dist/paperless/p-28d14744.entry.js.map +1 -0
  899. package/dist/paperless/p-2e3b9db4.js +2 -0
  900. package/dist/paperless/p-2e3b9db4.js.map +1 -0
  901. package/dist/paperless/p-2f9e9197.entry.js +2 -0
  902. package/dist/paperless/p-2f9e9197.entry.js.map +1 -0
  903. package/dist/paperless/p-32056913.entry.js +2 -0
  904. package/dist/paperless/p-32056913.entry.js.map +1 -0
  905. package/dist/paperless/p-385943b2.entry.js +2 -0
  906. package/dist/paperless/p-385943b2.entry.js.map +1 -0
  907. package/dist/paperless/p-393eba2f.entry.js +2 -0
  908. package/dist/paperless/p-393eba2f.entry.js.map +1 -0
  909. package/dist/paperless/p-3d867690.entry.js +2 -0
  910. package/dist/paperless/p-3d867690.entry.js.map +1 -0
  911. package/dist/paperless/p-3e9d994a.entry.js +2 -0
  912. package/dist/paperless/p-3e9d994a.entry.js.map +1 -0
  913. package/dist/paperless/p-45463125.entry.js +2 -0
  914. package/dist/paperless/p-45463125.entry.js.map +1 -0
  915. package/dist/paperless/p-5ab354bf.entry.js +2 -0
  916. package/dist/paperless/p-5ab354bf.entry.js.map +1 -0
  917. package/dist/paperless/p-5e789bb1.entry.js +2 -0
  918. package/dist/paperless/p-5e789bb1.entry.js.map +1 -0
  919. package/dist/paperless/p-64765a81.js +2 -0
  920. package/dist/paperless/p-64765a81.js.map +1 -0
  921. package/dist/paperless/p-64b53130.entry.js +2 -0
  922. package/dist/paperless/p-64b53130.entry.js.map +1 -0
  923. package/dist/paperless/p-64b68231.js +3 -0
  924. package/dist/paperless/p-64b68231.js.map +1 -0
  925. package/dist/paperless/p-6cddc325.js +2 -0
  926. package/dist/paperless/p-6cddc325.js.map +1 -0
  927. package/dist/paperless/p-6e71ebca.entry.js +2 -0
  928. package/dist/paperless/p-6e71ebca.entry.js.map +1 -0
  929. package/dist/paperless/p-6f7721eb.entry.js +2 -0
  930. package/dist/paperless/p-6f7721eb.entry.js.map +1 -0
  931. package/dist/paperless/p-6fed974c.entry.js +2 -0
  932. package/dist/paperless/p-6fed974c.entry.js.map +1 -0
  933. package/dist/paperless/p-75006522.js +2 -0
  934. package/dist/paperless/p-75006522.js.map +1 -0
  935. package/dist/paperless/p-7a577384.entry.js +2 -0
  936. package/dist/paperless/p-7a577384.entry.js.map +1 -0
  937. package/dist/paperless/p-7beb3401.entry.js +2 -0
  938. package/dist/paperless/p-851a7662.entry.js +2 -0
  939. package/dist/paperless/p-851a7662.entry.js.map +1 -0
  940. package/dist/paperless/p-8a1a6e56.js +2 -0
  941. package/dist/paperless/p-8a1a6e56.js.map +1 -0
  942. package/dist/paperless/p-8a5b8196.js +2 -0
  943. package/dist/paperless/p-8a5b8196.js.map +1 -0
  944. package/dist/paperless/p-909879e3.entry.js +3 -0
  945. package/dist/paperless/p-909879e3.entry.js.map +1 -0
  946. package/dist/paperless/p-92f2aa3a.entry.js +2 -0
  947. package/dist/paperless/p-92f2aa3a.entry.js.map +1 -0
  948. package/dist/paperless/p-937b2d74.entry.js +2 -0
  949. package/dist/paperless/p-937b2d74.entry.js.map +1 -0
  950. package/dist/paperless/p-9fa5d08a.entry.js +2 -0
  951. package/dist/paperless/p-a587ff9f.entry.js +2 -0
  952. package/dist/paperless/p-a587ff9f.entry.js.map +1 -0
  953. package/dist/paperless/p-a7b8e22f.entry.js +2 -0
  954. package/dist/paperless/p-a7b8e22f.entry.js.map +1 -0
  955. package/dist/paperless/p-aa058967.entry.js +2 -0
  956. package/dist/paperless/p-aa058967.entry.js.map +1 -0
  957. package/dist/paperless/p-aab1cda1.entry.js +2 -0
  958. package/dist/paperless/p-aab1cda1.entry.js.map +1 -0
  959. package/dist/paperless/p-b8e718c7.entry.js +2 -0
  960. package/dist/paperless/p-b8e718c7.entry.js.map +1 -0
  961. package/dist/paperless/p-b9a7e240.entry.js +2 -0
  962. package/dist/paperless/p-b9a7e240.entry.js.map +1 -0
  963. package/dist/paperless/p-bc46f89a.entry.js +2 -0
  964. package/dist/paperless/p-be0c925e.entry.js +2 -0
  965. package/dist/paperless/p-bfbab545.entry.js +2 -0
  966. package/dist/paperless/p-bfbab545.entry.js.map +1 -0
  967. package/dist/paperless/p-c6bcbcbf.entry.js +2 -0
  968. package/dist/paperless/p-cb7c509e.entry.js +2 -0
  969. package/dist/paperless/p-cb8a454c.entry.js +2 -0
  970. package/dist/paperless/p-cb8a454c.entry.js.map +1 -0
  971. package/dist/paperless/p-cc321a7b.entry.js +2 -0
  972. package/dist/paperless/p-cc321a7b.entry.js.map +1 -0
  973. package/dist/paperless/p-d5d413a1.js +2 -0
  974. package/dist/paperless/p-d5d413a1.js.map +1 -0
  975. package/dist/paperless/p-d7dbd13e.entry.js +2 -0
  976. package/dist/paperless/p-d7dbd13e.entry.js.map +1 -0
  977. package/dist/paperless/p-d81a30f6.entry.js +2 -0
  978. package/dist/paperless/p-d81a30f6.entry.js.map +1 -0
  979. package/dist/paperless/p-dce95c92.entry.js +2 -0
  980. package/dist/paperless/p-dce95c92.entry.js.map +1 -0
  981. package/dist/paperless/p-dd6d3839.entry.js +2 -0
  982. package/dist/paperless/p-e10cf2d3.entry.js +2 -0
  983. package/dist/paperless/p-e10cf2d3.entry.js.map +1 -0
  984. package/dist/paperless/p-ea3bce45.entry.js +2 -0
  985. package/dist/paperless/p-ece8998b.entry.js +2 -0
  986. package/dist/paperless/p-ece8998b.entry.js.map +1 -0
  987. package/dist/paperless/p-f78afad9.entry.js +2 -0
  988. package/dist/paperless/p-f78afad9.entry.js.map +1 -0
  989. package/dist/paperless/p-fcaa0539.entry.js +2 -0
  990. package/dist/paperless/p-fcaa0539.entry.js.map +1 -0
  991. package/dist/paperless/paperless.css +1 -1430
  992. package/dist/paperless/paperless.esm.js +1 -1
  993. package/dist/paperless/paperless.esm.js.map +1 -1
  994. package/dist/style/_fonts.scss +2 -69
  995. package/dist/style/_reset.scss +26 -23
  996. package/dist/style/_typograhpy.scss +23 -23
  997. package/dist/style/form/_checkbox.scss +2 -2
  998. package/dist/style/form/_mixins.scss +1 -1
  999. package/dist/style/form/_radio.scss +2 -2
  1000. package/dist/style/form/_range.scss +14 -14
  1001. package/dist/style/paperless.scss +4 -1
  1002. package/dist/sw.js +1 -1
  1003. package/dist/sw.js.map +1 -1
  1004. package/dist/tailwind/paperless.ts +19 -16
  1005. package/dist/tailwind/theme/colors.ts +133 -2
  1006. package/dist/tailwind/theme/height.ts +1 -0
  1007. package/dist/tailwind/theme/shadows.ts +12 -9
  1008. package/dist/tailwind/theme/typography.ts +11 -15
  1009. package/dist/tailwind/theme/width.ts +1 -0
  1010. package/dist/tailwind.config.ts +1 -0
  1011. package/dist/types/components/atoms/avatar/avatar.component.d.ts +2 -6
  1012. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +5 -0
  1013. package/dist/types/components/atoms/badge/badge.component.d.ts +3 -0
  1014. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  1015. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
  1016. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -1
  1017. package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +13 -0
  1018. package/dist/types/components/atoms/icon/icon.component.d.ts +4 -4
  1019. package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +23 -0
  1020. package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +3 -0
  1021. package/dist/types/components/molecules/button/button.component.d.ts +92 -0
  1022. package/dist/types/components/molecules/button-group/button-group.component.d.ts +1 -1
  1023. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -0
  1024. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +10 -10
  1025. package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +7 -0
  1026. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +1 -1
  1027. package/dist/types/components/molecules/profile/profile.component.d.ts +6 -7
  1028. package/dist/types/components/molecules/table-header/table-header.component.d.ts +4 -0
  1029. package/dist/types/components/organisms/navbar/navbar.component.d.ts +1 -9
  1030. package/dist/types/components/organisms/table/table.component.d.ts +5 -0
  1031. package/dist/types/components.d.ts +246 -89
  1032. package/dist/types/tailwind/theme/colors.d.ts +127 -2
  1033. package/dist/types/tailwind/theme/height.d.ts +1 -0
  1034. package/dist/types/tailwind/theme/shadows.d.ts +5 -7
  1035. package/dist/types/tailwind/theme/typography.d.ts +11 -15
  1036. package/dist/types/tailwind/theme/width.d.ts +1 -0
  1037. package/dist/types/types/iban.d.ts +2 -0
  1038. package/dist/types/types/index.d.ts +1 -0
  1039. package/dist/types/types/tailwind.d.ts +1 -1
  1040. package/dist/types/utils/cn.d.ts +2 -0
  1041. package/dist/types/utils/icons-deprecated.d.ts +68 -0
  1042. package/dist/types/utils/icons.d.ts +200 -43
  1043. package/dist/types/utils/index.d.ts +1 -0
  1044. package/hydrate/index.js +5342 -388
  1045. package/package.json +7 -5
  1046. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.eot +0 -0
  1047. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
  1048. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.ttf +0 -0
  1049. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff +0 -0
  1050. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff2 +0 -0
  1051. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.eot +0 -0
  1052. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
  1053. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.ttf +0 -0
  1054. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff +0 -0
  1055. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff2 +0 -0
  1056. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.eot +0 -0
  1057. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
  1058. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.ttf +0 -0
  1059. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff +0 -0
  1060. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff2 +0 -0
  1061. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.eot +0 -0
  1062. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
  1063. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.ttf +0 -0
  1064. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff +0 -0
  1065. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff2 +0 -0
  1066. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.eot +0 -0
  1067. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
  1068. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.ttf +0 -0
  1069. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff +0 -0
  1070. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff2 +0 -0
  1071. package/dist/build/p-00d4647f.entry.js +0 -2
  1072. package/dist/build/p-00d4647f.entry.js.map +0 -1
  1073. package/dist/build/p-0cbff44f.entry.js +0 -2
  1074. package/dist/build/p-0cbff44f.entry.js.map +0 -1
  1075. package/dist/build/p-179efb16.entry.js +0 -2
  1076. package/dist/build/p-179efb16.entry.js.map +0 -1
  1077. package/dist/build/p-2becd73c.entry.js +0 -2
  1078. package/dist/build/p-2becd73c.entry.js.map +0 -1
  1079. package/dist/build/p-2c2cf3cf.entry.js +0 -2
  1080. package/dist/build/p-2c2cf3cf.entry.js.map +0 -1
  1081. package/dist/build/p-2cd5062f.entry.js +0 -2
  1082. package/dist/build/p-2cd5062f.entry.js.map +0 -1
  1083. package/dist/build/p-2d3ff364.entry.js +0 -2
  1084. package/dist/build/p-2d3ff364.entry.js.map +0 -1
  1085. package/dist/build/p-30c9f5e3.entry.js +0 -2
  1086. package/dist/build/p-30c9f5e3.entry.js.map +0 -1
  1087. package/dist/build/p-35c563a7.entry.js +0 -2
  1088. package/dist/build/p-35c563a7.entry.js.map +0 -1
  1089. package/dist/build/p-3755da14.entry.js +0 -2
  1090. package/dist/build/p-3755da14.entry.js.map +0 -1
  1091. package/dist/build/p-3764eab6.entry.js +0 -2
  1092. package/dist/build/p-3764eab6.entry.js.map +0 -1
  1093. package/dist/build/p-46052ca3.entry.js +0 -2
  1094. package/dist/build/p-46052ca3.entry.js.map +0 -1
  1095. package/dist/build/p-4c30c74b.entry.js +0 -2
  1096. package/dist/build/p-4c30c74b.entry.js.map +0 -1
  1097. package/dist/build/p-576b6378.entry.js +0 -2
  1098. package/dist/build/p-5b062bc3.entry.js +0 -2
  1099. package/dist/build/p-5fa3061e.entry.js +0 -2
  1100. package/dist/build/p-5fa3061e.entry.js.map +0 -1
  1101. package/dist/build/p-606ad811.entry.js +0 -2
  1102. package/dist/build/p-639665b1.entry.js +0 -2
  1103. package/dist/build/p-639665b1.entry.js.map +0 -1
  1104. package/dist/build/p-66e3624b.js +0 -2
  1105. package/dist/build/p-66e3624b.js.map +0 -1
  1106. package/dist/build/p-699e0b35.entry.js +0 -2
  1107. package/dist/build/p-699e0b35.entry.js.map +0 -1
  1108. package/dist/build/p-6f24685c.entry.js +0 -2
  1109. package/dist/build/p-7793ba3a.entry.js +0 -2
  1110. package/dist/build/p-7793ba3a.entry.js.map +0 -1
  1111. package/dist/build/p-7bf042c9.entry.js +0 -3
  1112. package/dist/build/p-7bf042c9.entry.js.map +0 -1
  1113. package/dist/build/p-7dc32e95.entry.js +0 -2
  1114. package/dist/build/p-7dc32e95.entry.js.map +0 -1
  1115. package/dist/build/p-8426ca20.entry.js +0 -2
  1116. package/dist/build/p-8426ca20.entry.js.map +0 -1
  1117. package/dist/build/p-867c00e9.entry.js +0 -2
  1118. package/dist/build/p-867c00e9.entry.js.map +0 -1
  1119. package/dist/build/p-8af4e8e9.entry.js +0 -2
  1120. package/dist/build/p-8af4e8e9.entry.js.map +0 -1
  1121. package/dist/build/p-95dc4bd3.entry.js +0 -2
  1122. package/dist/build/p-a2b552f9.entry.js +0 -2
  1123. package/dist/build/p-a2b552f9.entry.js.map +0 -1
  1124. package/dist/build/p-af6b813e.entry.js +0 -2
  1125. package/dist/build/p-af6b813e.entry.js.map +0 -1
  1126. package/dist/build/p-b59115c3.entry.js +0 -2
  1127. package/dist/build/p-b59115c3.entry.js.map +0 -1
  1128. package/dist/build/p-bbe63029.entry.js +0 -2
  1129. package/dist/build/p-c3999d3e.entry.js +0 -2
  1130. package/dist/build/p-c3999d3e.entry.js.map +0 -1
  1131. package/dist/build/p-cb2674b5.entry.js +0 -2
  1132. package/dist/build/p-cf7bd354.entry.js +0 -2
  1133. package/dist/build/p-cf7bd354.entry.js.map +0 -1
  1134. package/dist/build/p-d0796984.entry.js +0 -2
  1135. package/dist/build/p-d0796984.entry.js.map +0 -1
  1136. package/dist/build/p-d7f2d4d3.entry.js +0 -2
  1137. package/dist/build/p-d8641c29.entry.js +0 -2
  1138. package/dist/build/p-d8641c29.entry.js.map +0 -1
  1139. package/dist/build/p-dace47c5.entry.js +0 -2
  1140. package/dist/build/p-dace47c5.entry.js.map +0 -1
  1141. package/dist/build/p-dd070ee8.entry.js +0 -2
  1142. package/dist/build/p-dd070ee8.entry.js.map +0 -1
  1143. package/dist/build/p-e4d5e7a7.js +0 -3
  1144. package/dist/build/p-e4d5e7a7.js.map +0 -1
  1145. package/dist/build/p-ec15ee73.entry.js +0 -2
  1146. package/dist/build/p-ec15ee73.entry.js.map +0 -1
  1147. package/dist/build/p-ec29eed0.entry.js +0 -2
  1148. package/dist/build/p-ec315c58.entry.js +0 -2
  1149. package/dist/build/p-ec315c58.entry.js.map +0 -1
  1150. package/dist/build/p-eebab75d.entry.js +0 -2
  1151. package/dist/build/p-eebab75d.entry.js.map +0 -1
  1152. package/dist/build/p-ef0bfa6c.entry.js +0 -2
  1153. package/dist/build/p-ef0bfa6c.entry.js.map +0 -1
  1154. package/dist/build/p-f2a896ba.entry.js +0 -2
  1155. package/dist/build/p-f2a896ba.entry.js.map +0 -1
  1156. package/dist/cjs/index-1fde8b14.js +0 -2627
  1157. package/dist/cjs/index-1fde8b14.js.map +0 -1
  1158. package/dist/cjs/object-get-by-path-7e65c82d.js +0 -115
  1159. package/dist/cjs/object-get-by-path-7e65c82d.js.map +0 -1
  1160. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
  1161. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
  1162. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
  1163. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
  1164. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
  1165. package/dist/collection/components/atoms/button/button.component.css +0 -1
  1166. package/dist/collection/components/atoms/button/button.component.js +0 -444
  1167. package/dist/collection/components/atoms/button/button.component.js.map +0 -1
  1168. package/dist/collection/components/atoms/button/test/button.component.e2e.js.map +0 -1
  1169. package/dist/collection/components/atoms/button/test/button.component.spec.js.map +0 -1
  1170. package/dist/collection/tailwind/theme/backdrop-blur.js +0 -4
  1171. package/dist/collection/tailwind/theme/backdrop-blur.js.map +0 -1
  1172. package/dist/collection/tailwind/theme/border-radius.js +0 -12
  1173. package/dist/collection/tailwind/theme/border-radius.js.map +0 -1
  1174. package/dist/components/counter.component.js +0 -37
  1175. package/dist/components/counter.component.js.map +0 -1
  1176. package/dist/esm/index-7b917f6b.js +0 -2598
  1177. package/dist/esm/index-7b917f6b.js.map +0 -1
  1178. package/dist/esm/object-get-by-path-56508a0e.js +0 -109
  1179. package/dist/esm/object-get-by-path-56508a0e.js.map +0 -1
  1180. package/dist/paperless/p-00d4647f.entry.js +0 -2
  1181. package/dist/paperless/p-00d4647f.entry.js.map +0 -1
  1182. package/dist/paperless/p-0cbff44f.entry.js +0 -2
  1183. package/dist/paperless/p-0cbff44f.entry.js.map +0 -1
  1184. package/dist/paperless/p-179efb16.entry.js +0 -2
  1185. package/dist/paperless/p-179efb16.entry.js.map +0 -1
  1186. package/dist/paperless/p-2becd73c.entry.js +0 -2
  1187. package/dist/paperless/p-2becd73c.entry.js.map +0 -1
  1188. package/dist/paperless/p-2c2cf3cf.entry.js +0 -2
  1189. package/dist/paperless/p-2c2cf3cf.entry.js.map +0 -1
  1190. package/dist/paperless/p-2cd5062f.entry.js +0 -2
  1191. package/dist/paperless/p-2cd5062f.entry.js.map +0 -1
  1192. package/dist/paperless/p-2d3ff364.entry.js +0 -2
  1193. package/dist/paperless/p-2d3ff364.entry.js.map +0 -1
  1194. package/dist/paperless/p-30c9f5e3.entry.js +0 -2
  1195. package/dist/paperless/p-30c9f5e3.entry.js.map +0 -1
  1196. package/dist/paperless/p-35c563a7.entry.js +0 -2
  1197. package/dist/paperless/p-35c563a7.entry.js.map +0 -1
  1198. package/dist/paperless/p-3755da14.entry.js +0 -2
  1199. package/dist/paperless/p-3755da14.entry.js.map +0 -1
  1200. package/dist/paperless/p-3764eab6.entry.js +0 -2
  1201. package/dist/paperless/p-3764eab6.entry.js.map +0 -1
  1202. package/dist/paperless/p-46052ca3.entry.js +0 -2
  1203. package/dist/paperless/p-46052ca3.entry.js.map +0 -1
  1204. package/dist/paperless/p-4c30c74b.entry.js +0 -2
  1205. package/dist/paperless/p-4c30c74b.entry.js.map +0 -1
  1206. package/dist/paperless/p-576b6378.entry.js +0 -2
  1207. package/dist/paperless/p-5b062bc3.entry.js +0 -2
  1208. package/dist/paperless/p-5fa3061e.entry.js +0 -2
  1209. package/dist/paperless/p-5fa3061e.entry.js.map +0 -1
  1210. package/dist/paperless/p-606ad811.entry.js +0 -2
  1211. package/dist/paperless/p-639665b1.entry.js +0 -2
  1212. package/dist/paperless/p-639665b1.entry.js.map +0 -1
  1213. package/dist/paperless/p-66e3624b.js +0 -2
  1214. package/dist/paperless/p-66e3624b.js.map +0 -1
  1215. package/dist/paperless/p-699e0b35.entry.js +0 -2
  1216. package/dist/paperless/p-699e0b35.entry.js.map +0 -1
  1217. package/dist/paperless/p-6f24685c.entry.js +0 -2
  1218. package/dist/paperless/p-7793ba3a.entry.js +0 -2
  1219. package/dist/paperless/p-7793ba3a.entry.js.map +0 -1
  1220. package/dist/paperless/p-7bf042c9.entry.js +0 -3
  1221. package/dist/paperless/p-7bf042c9.entry.js.map +0 -1
  1222. package/dist/paperless/p-7dc32e95.entry.js +0 -2
  1223. package/dist/paperless/p-7dc32e95.entry.js.map +0 -1
  1224. package/dist/paperless/p-8426ca20.entry.js +0 -2
  1225. package/dist/paperless/p-8426ca20.entry.js.map +0 -1
  1226. package/dist/paperless/p-867c00e9.entry.js +0 -2
  1227. package/dist/paperless/p-867c00e9.entry.js.map +0 -1
  1228. package/dist/paperless/p-8af4e8e9.entry.js +0 -2
  1229. package/dist/paperless/p-8af4e8e9.entry.js.map +0 -1
  1230. package/dist/paperless/p-95dc4bd3.entry.js +0 -2
  1231. package/dist/paperless/p-a2b552f9.entry.js +0 -2
  1232. package/dist/paperless/p-a2b552f9.entry.js.map +0 -1
  1233. package/dist/paperless/p-af6b813e.entry.js +0 -2
  1234. package/dist/paperless/p-af6b813e.entry.js.map +0 -1
  1235. package/dist/paperless/p-b59115c3.entry.js +0 -2
  1236. package/dist/paperless/p-b59115c3.entry.js.map +0 -1
  1237. package/dist/paperless/p-bbe63029.entry.js +0 -2
  1238. package/dist/paperless/p-c3999d3e.entry.js +0 -2
  1239. package/dist/paperless/p-c3999d3e.entry.js.map +0 -1
  1240. package/dist/paperless/p-cb2674b5.entry.js +0 -2
  1241. package/dist/paperless/p-cf7bd354.entry.js +0 -2
  1242. package/dist/paperless/p-cf7bd354.entry.js.map +0 -1
  1243. package/dist/paperless/p-d0796984.entry.js +0 -2
  1244. package/dist/paperless/p-d0796984.entry.js.map +0 -1
  1245. package/dist/paperless/p-d7f2d4d3.entry.js +0 -2
  1246. package/dist/paperless/p-d8641c29.entry.js +0 -2
  1247. package/dist/paperless/p-d8641c29.entry.js.map +0 -1
  1248. package/dist/paperless/p-dace47c5.entry.js +0 -2
  1249. package/dist/paperless/p-dace47c5.entry.js.map +0 -1
  1250. package/dist/paperless/p-dd070ee8.entry.js +0 -2
  1251. package/dist/paperless/p-dd070ee8.entry.js.map +0 -1
  1252. package/dist/paperless/p-e4d5e7a7.js +0 -3
  1253. package/dist/paperless/p-e4d5e7a7.js.map +0 -1
  1254. package/dist/paperless/p-ec15ee73.entry.js +0 -2
  1255. package/dist/paperless/p-ec15ee73.entry.js.map +0 -1
  1256. package/dist/paperless/p-ec29eed0.entry.js +0 -2
  1257. package/dist/paperless/p-ec315c58.entry.js +0 -2
  1258. package/dist/paperless/p-ec315c58.entry.js.map +0 -1
  1259. package/dist/paperless/p-eebab75d.entry.js +0 -2
  1260. package/dist/paperless/p-eebab75d.entry.js.map +0 -1
  1261. package/dist/paperless/p-ef0bfa6c.entry.js +0 -2
  1262. package/dist/paperless/p-ef0bfa6c.entry.js.map +0 -1
  1263. package/dist/paperless/p-f2a896ba.entry.js +0 -2
  1264. package/dist/paperless/p-f2a896ba.entry.js.map +0 -1
  1265. package/dist/tailwind/theme/backdrop-blur.ts +0 -3
  1266. package/dist/tailwind/theme/border-radius.ts +0 -11
  1267. package/dist/types/components/atoms/button/button.component.d.ts +0 -84
  1268. package/dist/types/tailwind/theme/backdrop-blur.d.ts +0 -4
  1269. package/dist/types/tailwind/theme/border-radius.d.ts +0 -12
  1270. /package/dist/assets/{icons → icons-old}/arrow.svg +0 -0
  1271. /package/dist/assets/{icons → icons-old}/attachment.svg +0 -0
  1272. /package/dist/assets/{icons → icons-old}/bread.svg +0 -0
  1273. /package/dist/assets/{icons → icons-old}/calendar.svg +0 -0
  1274. /package/dist/assets/{icons → icons-old}/camera.svg +0 -0
  1275. /package/dist/assets/{icons → icons-old}/car.svg +0 -0
  1276. /package/dist/assets/{icons → icons-old}/checklist.svg +0 -0
  1277. /package/dist/assets/{icons → icons-old}/checkmark.svg +0 -0
  1278. /package/dist/assets/{icons → icons-old}/chevron.svg +0 -0
  1279. /package/dist/assets/{icons → icons-old}/chevrons.svg +0 -0
  1280. /package/dist/assets/{icons → icons-old}/clock.svg +0 -0
  1281. /package/dist/assets/{icons → icons-old}/cogs.svg +0 -0
  1282. /package/dist/assets/{icons → icons-old}/colleagues.svg +0 -0
  1283. /package/dist/assets/{icons → icons-old}/comment.svg +0 -0
  1284. /package/dist/assets/{icons → icons-old}/companies.svg +0 -0
  1285. /package/dist/assets/{icons → icons-old}/company.svg +0 -0
  1286. /package/dist/assets/{icons → icons-old}/deactivate.svg +0 -0
  1287. /package/dist/assets/{icons → icons-old}/document.svg +0 -0
  1288. /package/dist/assets/{icons → icons-old}/download.svg +0 -0
  1289. /package/dist/assets/{icons → icons-old}/envelope.svg +0 -0
  1290. /package/dist/assets/{icons → icons-old}/explanation.svg +0 -0
  1291. /package/dist/assets/{icons → icons-old}/eye.svg +0 -0
  1292. /package/dist/assets/{icons → icons-old}/fa/piggy.svg +0 -0
  1293. /package/dist/assets/{icons → icons-old}/filter.svg +0 -0
  1294. /package/dist/assets/{icons → icons-old}/folder.svg +0 -0
  1295. /package/dist/assets/{icons → icons-old}/formula.svg +0 -0
  1296. /package/dist/assets/{icons → icons-old}/grid.svg +0 -0
  1297. /package/dist/assets/{icons → icons-old}/hashtag.svg +0 -0
  1298. /package/dist/assets/{icons → icons-old}/headset.svg +0 -0
  1299. /package/dist/assets/{icons → icons-old}/hidden.svg +0 -0
  1300. /package/dist/assets/{icons → icons-old}/iDeal.svg +0 -0
  1301. /package/dist/assets/{icons → icons-old}/integration.svg +0 -0
  1302. /package/dist/assets/{icons → icons-old}/list.svg +0 -0
  1303. /package/dist/assets/{icons → icons-old}/location.svg +0 -0
  1304. /package/dist/assets/{icons → icons-old}/lock.svg +0 -0
  1305. /package/dist/assets/{icons → icons-old}/megaphone.svg +0 -0
  1306. /package/dist/assets/{icons → icons-old}/menu.svg +0 -0
  1307. /package/dist/assets/{icons → icons-old}/minus.svg +0 -0
  1308. /package/dist/assets/{icons → icons-old}/more.svg +0 -0
  1309. /package/dist/assets/{icons → icons-old}/negative.svg +0 -0
  1310. /package/dist/assets/{icons → icons-old}/notification.svg +0 -0
  1311. /package/dist/assets/{icons → icons-old}/pagination.svg +0 -0
  1312. /package/dist/assets/{icons → icons-old}/payment.svg +0 -0
  1313. /package/dist/assets/{icons → icons-old}/pencil.svg +0 -0
  1314. /package/dist/assets/{icons → icons-old}/person.svg +0 -0
  1315. /package/dist/assets/{icons → icons-old}/plan.svg +0 -0
  1316. /package/dist/assets/{icons → icons-old}/plus.svg +0 -0
  1317. /package/dist/assets/{icons → icons-old}/question.svg +0 -0
  1318. /package/dist/assets/{icons → icons-old}/receipt.svg +0 -0
  1319. /package/dist/assets/{icons → icons-old}/reload.svg +0 -0
  1320. /package/dist/assets/{icons → icons-old}/report.svg +0 -0
  1321. /package/dist/assets/{icons → icons-old}/review.svg +0 -0
  1322. /package/dist/assets/{icons → icons-old}/search.svg +0 -0
  1323. /package/dist/assets/{icons → icons-old}/settings.svg +0 -0
  1324. /package/dist/assets/{icons → icons-old}/sick.svg +0 -0
  1325. /package/dist/assets/{icons → icons-old}/signout.svg +0 -0
  1326. /package/dist/assets/{icons → icons-old}/switch.svg +0 -0
  1327. /package/dist/assets/{icons → icons-old}/tachometer.svg +0 -0
  1328. /package/dist/assets/{icons → icons-old}/task.svg +0 -0
  1329. /package/dist/assets/{icons → icons-old}/template.svg +0 -0
  1330. /package/dist/assets/{icons → icons-old}/tool.svg +0 -0
  1331. /package/dist/assets/{icons → icons-old}/trash.svg +0 -0
  1332. /package/dist/assets/{icons → icons-old}/turn.svg +0 -0
  1333. /package/dist/assets/{icons → icons-old}/unlock.svg +0 -0
  1334. /package/dist/assets/{icons → icons-old}/upload.svg +0 -0
  1335. /package/dist/assets/{icons → icons-old}/warning.svg +0 -0
  1336. /package/dist/build/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
  1337. /package/dist/build/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
  1338. /package/dist/build/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
  1339. /package/dist/build/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
  1340. /package/dist/build/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
  1341. /package/dist/build/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
  1342. /package/dist/build/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
  1343. /package/dist/build/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
  1344. /package/dist/build/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
  1345. /package/dist/collection/assets/{icons → icons-old}/arrow.svg +0 -0
  1346. /package/dist/collection/assets/{icons → icons-old}/attachment.svg +0 -0
  1347. /package/dist/collection/assets/{icons → icons-old}/bread.svg +0 -0
  1348. /package/dist/collection/assets/{icons → icons-old}/calendar.svg +0 -0
  1349. /package/dist/collection/assets/{icons → icons-old}/camera.svg +0 -0
  1350. /package/dist/collection/assets/{icons → icons-old}/car.svg +0 -0
  1351. /package/dist/collection/assets/{icons → icons-old}/checklist.svg +0 -0
  1352. /package/dist/collection/assets/{icons → icons-old}/checkmark.svg +0 -0
  1353. /package/dist/collection/assets/{icons → icons-old}/chevron.svg +0 -0
  1354. /package/dist/collection/assets/{icons → icons-old}/chevrons.svg +0 -0
  1355. /package/dist/collection/assets/{icons → icons-old}/clock.svg +0 -0
  1356. /package/dist/collection/assets/{icons → icons-old}/cogs.svg +0 -0
  1357. /package/dist/collection/assets/{icons → icons-old}/colleagues.svg +0 -0
  1358. /package/dist/collection/assets/{icons → icons-old}/comment.svg +0 -0
  1359. /package/dist/collection/assets/{icons → icons-old}/companies.svg +0 -0
  1360. /package/dist/collection/assets/{icons → icons-old}/company.svg +0 -0
  1361. /package/dist/collection/assets/{icons → icons-old}/deactivate.svg +0 -0
  1362. /package/dist/collection/assets/{icons → icons-old}/document.svg +0 -0
  1363. /package/dist/collection/assets/{icons → icons-old}/download.svg +0 -0
  1364. /package/dist/collection/assets/{icons → icons-old}/envelope.svg +0 -0
  1365. /package/dist/collection/assets/{icons → icons-old}/explanation.svg +0 -0
  1366. /package/dist/collection/assets/{icons → icons-old}/eye.svg +0 -0
  1367. /package/dist/collection/assets/{icons → icons-old}/fa/piggy.svg +0 -0
  1368. /package/dist/collection/assets/{icons → icons-old}/filter.svg +0 -0
  1369. /package/dist/collection/assets/{icons → icons-old}/folder.svg +0 -0
  1370. /package/dist/collection/assets/{icons → icons-old}/formula.svg +0 -0
  1371. /package/dist/collection/assets/{icons → icons-old}/grid.svg +0 -0
  1372. /package/dist/collection/assets/{icons → icons-old}/hashtag.svg +0 -0
  1373. /package/dist/collection/assets/{icons → icons-old}/headset.svg +0 -0
  1374. /package/dist/collection/assets/{icons → icons-old}/hidden.svg +0 -0
  1375. /package/dist/collection/assets/{icons → icons-old}/iDeal.svg +0 -0
  1376. /package/dist/collection/assets/{icons → icons-old}/integration.svg +0 -0
  1377. /package/dist/collection/assets/{icons → icons-old}/list.svg +0 -0
  1378. /package/dist/collection/assets/{icons → icons-old}/location.svg +0 -0
  1379. /package/dist/collection/assets/{icons → icons-old}/lock.svg +0 -0
  1380. /package/dist/collection/assets/{icons → icons-old}/megaphone.svg +0 -0
  1381. /package/dist/collection/assets/{icons → icons-old}/menu.svg +0 -0
  1382. /package/dist/collection/assets/{icons → icons-old}/minus.svg +0 -0
  1383. /package/dist/collection/assets/{icons → icons-old}/more.svg +0 -0
  1384. /package/dist/collection/assets/{icons → icons-old}/negative.svg +0 -0
  1385. /package/dist/collection/assets/{icons → icons-old}/notification.svg +0 -0
  1386. /package/dist/collection/assets/{icons → icons-old}/pagination.svg +0 -0
  1387. /package/dist/collection/assets/{icons → icons-old}/payment.svg +0 -0
  1388. /package/dist/collection/assets/{icons → icons-old}/pencil.svg +0 -0
  1389. /package/dist/collection/assets/{icons → icons-old}/person.svg +0 -0
  1390. /package/dist/collection/assets/{icons → icons-old}/plan.svg +0 -0
  1391. /package/dist/collection/assets/{icons → icons-old}/plus.svg +0 -0
  1392. /package/dist/collection/assets/{icons → icons-old}/question.svg +0 -0
  1393. /package/dist/collection/assets/{icons → icons-old}/receipt.svg +0 -0
  1394. /package/dist/collection/assets/{icons → icons-old}/reload.svg +0 -0
  1395. /package/dist/collection/assets/{icons → icons-old}/report.svg +0 -0
  1396. /package/dist/collection/assets/{icons → icons-old}/review.svg +0 -0
  1397. /package/dist/collection/assets/{icons → icons-old}/search.svg +0 -0
  1398. /package/dist/collection/assets/{icons → icons-old}/settings.svg +0 -0
  1399. /package/dist/collection/assets/{icons → icons-old}/sick.svg +0 -0
  1400. /package/dist/collection/assets/{icons → icons-old}/signout.svg +0 -0
  1401. /package/dist/collection/assets/{icons → icons-old}/switch.svg +0 -0
  1402. /package/dist/collection/assets/{icons → icons-old}/tachometer.svg +0 -0
  1403. /package/dist/collection/assets/{icons → icons-old}/task.svg +0 -0
  1404. /package/dist/collection/assets/{icons → icons-old}/template.svg +0 -0
  1405. /package/dist/collection/assets/{icons → icons-old}/tool.svg +0 -0
  1406. /package/dist/collection/assets/{icons → icons-old}/trash.svg +0 -0
  1407. /package/dist/collection/assets/{icons → icons-old}/turn.svg +0 -0
  1408. /package/dist/collection/assets/{icons → icons-old}/unlock.svg +0 -0
  1409. /package/dist/collection/assets/{icons → icons-old}/upload.svg +0 -0
  1410. /package/dist/collection/assets/{icons → icons-old}/warning.svg +0 -0
  1411. /package/dist/collection/components/{atoms → molecules}/button/test/button.component.e2e.js +0 -0
  1412. /package/dist/collection/components/{atoms → molecules}/button/test/button.component.spec.js +0 -0
  1413. /package/dist/paperless/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
  1414. /package/dist/paperless/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
  1415. /package/dist/paperless/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
  1416. /package/dist/paperless/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
  1417. /package/dist/paperless/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
  1418. /package/dist/paperless/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
  1419. /package/dist/paperless/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
  1420. /package/dist/paperless/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
  1421. /package/dist/paperless/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
2
2
  import { c as childOf } from './child-of-fec6ab3a.js';
3
3
  import { _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, r as requiredArgs, t as toDate, b as getUTCWeek, c as toInteger, d as getUTCISOWeek, e as getDefaultOptions, l as longFormatters, f as subMilliseconds, h as getTimezoneOffsetInMilliseconds, i as locale, j as isProtectedWeekYearToken, k as throwProtectedError, m as isProtectedDayOfYearToken, n as isValid, o as isBefore, p as isAfter, q as startOfDay, u as isSameDay, v as format } from './index-5fa2e728.js';
4
4
 
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-f99096d4.js';
2
2
 
3
- const dividerComponentCss = ".mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.my-0{margin-bottom:0!important;margin-top:0!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!important}.h-full{height:100%!important}.h-px{height:1px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-px{width:1px!important}.flex-1{flex:1 1 0%!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(227 236 243/var(--tw-text-opacity));display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;height:1px}:host([variant=vertical]){display:block;height:100%;margin:0 .5rem;width:auto}:host([variant=vertical]) .content{flex-direction:column;height:100%;width:auto}:host([variant=vertical]) .content:after,:host([variant=vertical]) .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;width:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xxs{font-size:.6875rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}";
3
+ const dividerComponentCss = ".mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.my-0{margin-bottom:0!important;margin-top:0!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!important}.h-full{height:100%!important}.h-px{height:1px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-px{width:1px!important}.flex-1{flex:1 1 0%!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(227 236 243/var(--tw-text-opacity,1));display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;height:1px}:host([variant=vertical]){display:block;height:100%;margin:0 .5rem;width:auto}:host([variant=vertical]) .content{flex-direction:column;height:100%;width:auto}:host([variant=vertical]) .content:after,:host([variant=vertical]) .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;width:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity,1))!important}";
4
4
 
5
5
  const Divider = class {
6
6
  constructor(hostRef) {
@@ -10,7 +10,7 @@ const Divider = class {
10
10
  render() {
11
11
  var _a;
12
12
  const hasSlotted = !!((_a = this._el.innerHTML) === null || _a === void 0 ? void 0 : _a.length);
13
- return (h(Host, { class: "p-divider" }, h("div", { class: "content" }, h("div", { class: `flex items-center ${hasSlotted && 'px-2'} text-xxs font-semibold uppercase text-storm-light` }, h("slot", null)))));
13
+ return (h(Host, { class: 'p-divider' }, h("div", { class: 'content' }, h("div", { class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, h("slot", null)))));
14
14
  }
15
15
  get _el() { return getElement(this); }
16
16
  };
@@ -1 +1 @@
1
- {"file":"p-divider.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,y4CAAy4C;;MCOx5C,OAAO;;;mBAI2C,YAAY;;EAO1E,MAAM;;IACL,MAAM,UAAU,GAAG,CAAC,EAAC,MAAA,IAAI,CAAC,GAAG,CAAC,SAAS,0CAAE,MAAM,CAAA,CAAC;IAChD,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,WAAW,IACtB,WAAK,KAAK,EAAC,SAAS,IACnB,WACC,KAAK,EAAE,qBACN,UAAU,IAAI,MACf,oDAAoD,IAEpD,eAAQ,CACH,CACD,CACA,EACN;GACF;;;;;;;","names":[],"sources":["src/components/atoms/divider/divider.component.scss?tag=p-divider&encapsulation=shadow","src/components/atoms/divider/divider.component.tsx"],"sourcesContent":[":host {\n\t@apply my-2 block w-full text-mystic-medium;\n\n\t.content {\n\t\t@apply flex w-full items-center;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply h-px flex-1 bg-current;\n\t\t}\n\t}\n}\n\n:host([variant='vertical']) {\n\t@apply mx-2 my-0 block h-full w-auto;\n\n\t.content {\n\t\t@apply h-full w-auto flex-col;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply w-px flex-1 bg-current;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-divider',\n\tstyleUrl: 'divider.component.scss',\n\tshadow: true,\n})\nexport class Divider {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop({ reflect: true }) variant: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\trender() {\n\t\tconst hasSlotted = !!this._el.innerHTML?.length;\n\t\treturn (\n\t\t\t<Host class=\"p-divider\">\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`flex items-center ${\n\t\t\t\t\t\t\thasSlotted && 'px-2'\n\t\t\t\t\t\t} text-xxs font-semibold uppercase text-storm-light`}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-divider.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,q6CAAq6C;;MCOp7C,OAAO;;;mBAI2C,YAAY;;EAO1E,MAAM;;IACL,MAAM,UAAU,GAAG,CAAC,EAAC,MAAA,IAAI,CAAC,GAAG,CAAC,SAAS,0CAAE,MAAM,CAAA,CAAC;IAChD,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,WAAW,IACtB,WAAK,KAAK,EAAC,SAAS,IACnB,WACC,KAAK,EAAE,qBACN,UAAU,IAAI,MACf,mDAAmD,IAEnD,eAAQ,CACH,CACD,CACA,EACN;GACF;;;;;;;","names":[],"sources":["src/components/atoms/divider/divider.component.scss?tag=p-divider&encapsulation=shadow","src/components/atoms/divider/divider.component.tsx"],"sourcesContent":[":host {\n\t@apply my-2 block w-full text-mystic-medium;\n\n\t.content {\n\t\t@apply flex w-full items-center;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply h-px flex-1 bg-current;\n\t\t}\n\t}\n}\n\n:host([variant='vertical']) {\n\t@apply mx-2 my-0 block h-full w-auto;\n\n\t.content {\n\t\t@apply h-full w-auto flex-col;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply w-px flex-1 bg-current;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-divider',\n\tstyleUrl: 'divider.component.scss',\n\tshadow: true,\n})\nexport class Divider {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop({ reflect: true }) variant: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\trender() {\n\t\tconst hasSlotted = !!this._el.innerHTML?.length;\n\t\treturn (\n\t\t\t<Host class='p-divider'>\n\t\t\t\t<div class='content'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`flex items-center ${\n\t\t\t\t\t\t\thasSlotted && 'px-2'\n\t\t\t\t\t\t} text-xs font-semibold uppercase text-storm-light`}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host, c as createEvent } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host, c as createEvent } from './index-f99096d4.js';
2
2
 
3
- const drawerBodyComponentCss = ".flex{display:flex!important}.min-h-full{min-height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity));display:flex;flex:1 1 0%;flex-direction:column;min-height:100%;padding:1.5rem 1rem env(safe-area-inset-bottom,0);width:100%}.static{position:static!important}";
3
+ const drawerBodyComponentCss = ".flex{display:flex!important}.min-h-full{min-height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity,1));display:flex;flex:1 1 0%;flex-direction:column;min-height:100%;padding:1.5rem 1rem env(safe-area-inset-bottom,0);width:100%}.static{position:static!important}";
4
4
 
5
5
  const ModalBody = class {
6
6
  constructor(hostRef) {
@@ -13,7 +13,7 @@ const ModalBody = class {
13
13
  };
14
14
  ModalBody.style = drawerBodyComponentCss;
15
15
 
16
- const drawerContainerComponentCss = ".z-drawer{z-index:500!important}.flex{display:flex!important}.w-full{width:100%!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}p-drawer-container{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;animation:slideInRight .5s ease forwards;background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;min-height:100vh;width:100%;z-index:500}@media (min-width:40rem){p-drawer-container{width:22.5rem}}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes slideOutRight{0%{transform:translateX(0)}to{transform:translateX(100%)}}p-drawer-container.closing{animation:slideOutRight .2s ease forwards}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem!important}}.static{position:static!important}";
16
+ const drawerContainerComponentCss = ".z-drawer{z-index:500!important}.flex{display:flex!important}.w-full{width:100%!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.animate-in{--tw-enter-opacity:initial!important;--tw-enter-scale:initial!important;--tw-enter-rotate:initial!important;--tw-enter-translate-x:initial!important;--tw-enter-translate-y:initial!important;animation-duration:.15s!important;animation-name:enter!important}*{box-sizing:border-box}p-drawer-container{--tw-bg-opacity:1;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;--tw-enter-translate-x:100%;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;animation-duration:.15s;animation-name:enter;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;min-height:100vh;width:100%;z-index:500}@media (min-width:40rem){p-drawer-container{width:22.5rem}}p-drawer-container.closing{--tw-exit-translate-x:100%}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem!important}}.static{position:static!important}";
17
17
 
18
18
  const ModalContainer = class {
19
19
  constructor(hostRef) {
@@ -26,7 +26,7 @@ const ModalContainer = class {
26
26
  };
27
27
  ModalContainer.style = drawerContainerComponentCss;
28
28
 
29
- const drawerHeaderComponentCss = ".absolute{position:absolute!important}.sticky{position:sticky!important}.top-0{top:0!important}.z-drawer-header{z-index:501!important}.flex{display:flex!important}.items-center{align-items:center!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-b-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity))!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-width:0!important;border-bottom:1px rgb(218 230 240/var(--tw-border-opacity))!important;border-style:solid!important;color:rgb(39 40 56/var(--tw-text-opacity));display:flex;font-size:1.25rem;font-weight:600;justify-content:center;line-height:1.75rem;padding:calc(env(safe-area-inset-top, 0) + 1rem) 1rem 1rem;position:sticky;top:0;z-index:501}:host p-button{left:1rem;position:absolute;top:calc(env(safe-area-inset-top, 0) + 1rem)}.static{position:static!important}";
29
+ const drawerHeaderComponentCss = ".absolute{position:absolute!important}.sticky{position:sticky!important}.top-0{top:0!important}.z-drawer-header{z-index:501!important}.flex{display:flex!important}.items-center{align-items:center!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-b-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity,1))!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-width:0!important;border-bottom:1px rgb(218 230 240/var(--tw-border-opacity,1))!important;border-style:solid!important;color:rgb(39 40 56/var(--tw-text-opacity,1));display:flex;font-size:1.25rem;font-weight:600;justify-content:center;line-height:1.75rem;padding:calc(env(safe-area-inset-top, 0) + 1rem) 1rem 1rem;position:sticky;top:0;z-index:501}:host p-button{left:1rem;position:absolute;top:calc(env(safe-area-inset-top, 0) + 1rem)}.static{position:static!important}";
30
30
 
31
31
  const ModalHeader = class {
32
32
  constructor(hostRef) {
@@ -35,7 +35,7 @@ const ModalHeader = class {
35
35
  this.showClose = true;
36
36
  }
37
37
  render() {
38
- return (h(Host, { class: "p-drawer-header" }, this.showClose && (h("p-button", { variant: "secondary", icon: "negative", iconOnly: true, onClick: () => this.close.emit(), size: "small" })), h("slot", null)));
38
+ return (h(Host, { class: 'p-drawer-header' }, this.showClose && (h("p-button", { variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), h("slot", null)));
39
39
  }
40
40
  };
41
41
  ModalHeader.style = drawerHeaderComponentCss;
@@ -1 +1 @@
1
- {"file":"p-drawer-body.p-drawer-container.p-drawer-header.entry.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,ocAAoc;;MCOtd,SAAS;;;mBAIkB,SAAS;;EAEhD,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,yBAAyB,IAAI,CAAC,OAAO,EAAE,IACnD,eAAQ,CACF,EACN;GACF;;;;ACnBF,MAAM,2BAA2B,GAAG,q3CAAq3C;;MCY54C,cAAc;;;mBAIC,KAAK;;EAEhC,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,sBAAsB,IAAI,CAAC,OAAO,IAAI,SAAS,EAAE,IAC7D,eAAQ,CACF,EACN;GACF;;;;ACxBF,MAAM,wBAAwB,GAAG,0rCAA0rC;;MCO9sC,WAAW;;;;qBAIH,IAAI;;EAUxB,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB,IAC3B,IAAI,CAAC,SAAS,KACd,gBACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAChC,IAAI,EAAC,OAAO,GACD,CACZ,EAED,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/drawer-body/drawer-body.component.scss?tag=p-drawer-body&encapsulation=shadow","src/components/atoms/drawer-body/drawer-body.component.tsx","src/components/atoms/drawer-container/drawer-container.component.scss?tag=p-drawer-container","src/components/atoms/drawer-container/drawer-container.component.tsx","src/components/atoms/drawer-header/drawer-header.component.scss?tag=p-drawer-header&encapsulation=shadow","src/components/atoms/drawer-header/drawer-header.component.tsx"],"sourcesContent":[":host {\n\t@apply flex flex-1 flex-col;\n\t@apply min-h-full w-full px-4 py-6;\n\t@apply bg-mystic;\n\n\tpadding-bottom: env(safe-area-inset-bottom, 0);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-body',\n\tstyleUrl: 'drawer-body.component.scss',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-body variant-${this.variant}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-drawer-container {\n\t@apply z-drawer flex flex-col;\n\t// tablet:w-[22.5rem]\n\t@apply w-full tablet:w-[22.5rem];\n\t@apply bg-white;\n\t@apply animate-slide-in-right;\n\t@apply min-h-screen;\n\n\t@apply shadow-4 #{!important};\n\n\t&.closing {\n\t\t@apply animate-slide-out-right;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $drawer-xs: 20rem;\n// $drawer-sm: 33.5rem;\n// $drawer-md: 38rem;\n// $drawer-lg: 47.5rem;\n// $drawer-xl: 57.5rem;\n\n@Component({\n\ttag: 'p-drawer-container',\n\tstyleUrl: 'drawer-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-container ${this.closing && 'closing'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply bg-white;\n\t@apply sticky top-0 flex items-center justify-center;\n\t@apply z-drawer-header p-4;\n\n\tpadding-top: calc(env(safe-area-inset-top, 0) + 1rem);\n\n\t@apply text-xl font-semibold text-storm-dark;\n\n\t@apply border-0 border-b border-solid border-b-mystic-dark #{!important};\n\n\tp-button {\n\t\t@apply absolute left-4;\n\n\t\ttop: calc(env(safe-area-inset-top, 0) + 1rem);\n\t}\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-header',\n\tstyleUrl: 'drawer-header.component.scss',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-drawer-header\">\n\t\t\t\t{this.showClose && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\ticon=\"negative\"\n\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\tonClick={() => this.close.emit()}\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-drawer-body.p-drawer-container.p-drawer-header.entry.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,scAAsc;;MCOxd,SAAS;;;mBAIkB,SAAS;;EAEhD,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,yBAAyB,IAAI,CAAC,OAAO,EAAE,IACnD,eAAQ,CACF,EACN;GACF;;;;ACnBF,MAAM,2BAA2B,GAAG,4oDAA4oD;;MCYnqD,cAAc;;;mBAIC,KAAK;;EAEhC,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,sBAAsB,IAAI,CAAC,OAAO,IAAI,SAAS,EAAE,IAC7D,eAAQ,CACF,EACN;GACF;;;;ACxBF,MAAM,wBAAwB,GAAG,ksCAAksC;;MCOttC,WAAW;;;;qBAIH,IAAI;;EAUxB,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB,IAC3B,IAAI,CAAC,SAAS,KACd,gBACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAChC,IAAI,EAAC,IAAI,GACE,CACZ,EAED,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/drawer-body/drawer-body.component.scss?tag=p-drawer-body&encapsulation=shadow","src/components/atoms/drawer-body/drawer-body.component.tsx","src/components/atoms/drawer-container/drawer-container.component.scss?tag=p-drawer-container","src/components/atoms/drawer-container/drawer-container.component.tsx","src/components/atoms/drawer-header/drawer-header.component.scss?tag=p-drawer-header&encapsulation=shadow","src/components/atoms/drawer-header/drawer-header.component.tsx"],"sourcesContent":[":host {\n\t@apply flex flex-1 flex-col;\n\t@apply min-h-full w-full px-4 py-6;\n\t@apply bg-mystic;\n\n\tpadding-bottom: env(safe-area-inset-bottom, 0);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-body',\n\tstyleUrl: 'drawer-body.component.scss',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-body variant-${this.variant}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-drawer-container {\n\t@apply z-drawer flex flex-col;\n\t// tablet:w-[22.5rem]\n\t@apply w-full tablet:w-[22.5rem];\n\t@apply bg-white;\n\t@apply min-h-screen;\n\t@apply animate-in slide-in-from-right;\n\n\t@apply shadow-3 #{!important};\n\n\t&.closing {\n\t\t@apply slide-out-to-right;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $drawer-xs: 20rem;\n// $drawer-sm: 33.5rem;\n// $drawer-md: 38rem;\n// $drawer-lg: 47.5rem;\n// $drawer-xl: 57.5rem;\n\n@Component({\n\ttag: 'p-drawer-container',\n\tstyleUrl: 'drawer-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-container ${this.closing && 'closing'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply bg-white;\n\t@apply sticky top-0 flex items-center justify-center;\n\t@apply z-drawer-header p-4;\n\n\tpadding-top: calc(env(safe-area-inset-top, 0) + 1rem);\n\n\t@apply text-xl font-semibold text-storm-dark;\n\n\t@apply border-0 border-b border-solid border-b-mystic-dark #{!important};\n\n\tp-button {\n\t\t@apply absolute left-4;\n\n\t\ttop: calc(env(safe-area-inset-top, 0) + 1rem);\n\t}\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-header',\n\tstyleUrl: 'drawer-header.component.scss',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-drawer-header'>\n\t\t\t\t{this.showClose && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\tonClick={() => this.close.emit()}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
2
2
 
3
3
  const drawerComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block}.static{position:static!important}";
4
4
 
@@ -1,17 +1,58 @@
1
- import { r as registerInstance, h, H as Host } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
2
+ import { c as cva } from './index-10317a74.js';
3
+ import './clsx-297c1ffe.js';
2
4
 
3
- const dropdownMenuContainerComponentCss = ".z-10{z-index:10!important}.flex{display:flex!important}.hidden{display:none!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-full{width:100%!important}.max-w-\\[222px\\]{max-width:222px!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.rounded-xxlarge{border-radius:.75rem!important}.drop-shadow-4{--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13))!important}.drop-shadow-4,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}p-dropdown-menu-container{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.75rem;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);width:auto;z-index:10}p-dropdown-menu-container .content{display:flex;flex-direction:column;gap:1px;padding:.5rem;width:100%}p-dropdown-menu-container.full-width{width:100%}p-dropdown-menu-container.no-overflow{overflow-x:hidden;overflow-y:auto}p-dropdown-menu-container.max-width{max-width:222px}p-dropdown-menu-container.scrollable{max-height:11.5rem;scrollbar-width:none}p-dropdown-menu-container.scrollable::-webkit-scrollbar{display:none}p-dropdown-menu-container.scrollable .content{height:100%}p-dropdown-menu-container.scrollable.scrollable-large{max-height:13.875rem}p-dropdown-menu-container.scrollable.scrollable-xlarge{max-height:20rem}.static{position:static!important}";
5
+ const dropdownMenuContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
4
6
 
7
+ const dropdownMenuContainer = cva([
8
+ 'p-dropdown-menu-container',
9
+ 'w-auto p-1',
10
+ 'bg-white rounded-lg z-10 drop-shadow-2',
11
+ 'border border-black-teal-100',
12
+ ], {
13
+ variants: {
14
+ fullWidth: {
15
+ false: null,
16
+ true: 'w-full',
17
+ },
18
+ allowOverflow: {
19
+ false: 'overflow-y-auto overflow-x-hidden',
20
+ true: null,
21
+ },
22
+ scrollable: {
23
+ none: null,
24
+ default: 'max-h-[11.5rem]',
25
+ large: 'max-h-[13.875rem]',
26
+ xlarge: 'max-h-[20rem]',
27
+ },
28
+ maxWidth: {
29
+ false: null,
30
+ true: 'max-w-[13.875rem]',
31
+ },
32
+ },
33
+ });
5
34
  const DropdownMenuContainer = class {
6
35
  constructor(hostRef) {
7
36
  registerInstance(this, hostRef);
8
37
  this.maxWidth = true;
38
+ this.class = undefined;
9
39
  this.fullWidth = true;
10
40
  this.allowOverflow = false;
11
41
  this.scrollable = false;
12
42
  }
13
43
  render() {
14
- return (h(Host, { class: `p-dropdown-menu-container ${this.maxWidth && 'max-width'} ${this.fullWidth && 'full-width'} ${!this.allowOverflow && 'no-overflow'} ${!!this.scrollable && 'scrollable'} ${this.scrollable === 'large' ? 'scrollable-large' : ''} ${this.scrollable === 'xlarge' ? 'scrollable-xlarge' : ''}` }, h("div", { class: "content" }, h("slot", null))));
44
+ const scrollable = this.scrollable === false
45
+ ? 'none'
46
+ : this.scrollable === true
47
+ ? 'default'
48
+ : this.scrollable;
49
+ return (h(Host, { class: dropdownMenuContainer({
50
+ class: this.class,
51
+ fullWidth: this.fullWidth,
52
+ allowOverflow: this.allowOverflow,
53
+ scrollable,
54
+ maxWidth: this.maxWidth,
55
+ }) }, h("div", { class: 'flex w-full flex-col gap-[1px]' }, h("slot", null))));
15
56
  }
16
57
  };
17
58
  DropdownMenuContainer.style = dropdownMenuContainerComponentCss;
@@ -1 +1 @@
1
- {"file":"p-dropdown-menu-container.entry.js","mappings":";;AAAA,MAAM,iCAAiC,GAAG,66DAA66D;;MCO18D,qBAAqB;;;oBAIL,IAAI;qBAKH,IAAI;yBAKA,KAAK;sBAKyB,KAAK;;EAEpE,MAAM;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,6BACN,IAAI,CAAC,QAAQ,IAAI,WAClB,IAAI,IAAI,CAAC,SAAS,IAAI,YAAY,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,aAAa,IACzE,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,YACtB,IAAI,IAAI,CAAC,UAAU,KAAK,OAAO,GAAG,kBAAkB,GAAG,EAAE,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,GAAG,mBAAmB,GAAG,EAAE,EAAE,IAEtH,WAAK,KAAK,EAAC,SAAS,IACnB,eAAQ,CACH,CACA,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.scss?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":["@import '../../../style/mixins';\n\np-dropdown-menu-container {\n\t@apply w-auto;\n\t@apply rounded-xxlarge bg-white;\n\t@apply z-10 drop-shadow-4 filter;\n\n\t.content {\n\t\t@apply w-full p-2;\n\t\t@apply flex flex-col gap-[1px];\n\t}\n\n\t&.full-width {\n\t\t@apply w-full;\n\t}\n\n\t&.no-overflow {\n\t\t@apply overflow-y-auto overflow-x-hidden;\n\t}\n\n\t&.max-width {\n\t\t@apply max-w-[222px];\n\t}\n\n\t&.scrollable {\n\t\t@apply max-h-[11.5rem];\n\n\t\tscrollbar-width: none;\n\t\t&::-webkit-scrollbar {\n\t\t\t@apply hidden;\n\t\t}\n\n\t\t.content {\n\t\t\t@apply h-full;\n\t\t}\n\n\t\t&.scrollable-large {\n\t\t\t@apply max-h-[13.875rem];\n\t\t}\n\n\t\t&.scrollable-xlarge {\n\t\t\t@apply max-h-[20rem];\n\t\t}\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.scss',\n\t// shadow: true,\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-dropdown-menu-container ${\n\t\t\t\t\tthis.maxWidth && 'max-width'\n\t\t\t\t} ${this.fullWidth && 'full-width'} ${!this.allowOverflow && 'no-overflow'} ${\n\t\t\t\t\t!!this.scrollable && 'scrollable'\n\t\t\t\t} ${this.scrollable === 'large' ? 'scrollable-large' : ''} ${this.scrollable === 'xlarge' ? 'scrollable-xlarge' : ''}`}\n\t\t\t>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-dropdown-menu-container.entry.js","mappings":";;;;AAAA,MAAM,iCAAiC,GAAG,4sCAA4sC;;ACGtvC,MAAM,qBAAqB,GAAG,GAAG,CAChC;EACC,2BAA2B;EAC3B,YAAY;EACZ,wCAAwC;EACxC,8BAA8B;CAC9B,EACD;EACC,QAAQ,EAAE;IACT,SAAS,EAAE;MACV,KAAK,EAAE,IAAI;MACX,IAAI,EAAE,QAAQ;KACd;IACD,aAAa,EAAE;MACd,KAAK,EAAE,mCAAmC;MAC1C,IAAI,EAAE,IAAI;KACV;IACD,UAAU,EAAE;MACX,IAAI,EAAE,IAAI;MACV,OAAO,EAAE,iBAAiB;MAC1B,KAAK,EAAE,mBAAmB;MAC1B,MAAM,EAAE,eAAe;KACvB;IACD,QAAQ,EAAE;MACT,KAAK,EAAE,IAAI;MACX,IAAI,EAAE,mBAAmB;KACzB;GACD;CACD,CACD,CAAC;MAMW,qBAAqB;;;oBAIL,IAAI;;qBAUH,IAAI;yBAKA,KAAK;sBAKyB,KAAK;;EAEpE,MAAM;IACL,MAAM,UAAU,GACf,IAAI,CAAC,UAAU,KAAK,KAAK;QACtB,MAAM;QACN,IAAI,CAAC,UAAU,KAAK,IAAI;UACxB,SAAS;UACT,IAAI,CAAC,UAAU,CAAC;IAEpB,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,qBAAqB,CAAC;QAC5B,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU;QACV,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACvB,CAAC,IAEF,WAAK,KAAK,EAAC,gCAAgC,IAC1C,eAAQ,CACH,CACA,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.scss?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuContainer = cva(\n\t[\n\t\t'p-dropdown-menu-container',\n\t\t'w-auto p-1',\n\t\t'bg-white rounded-lg z-10 drop-shadow-2',\n\t\t'border border-black-teal-100',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfullWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-full',\n\t\t\t},\n\t\t\tallowOverflow: {\n\t\t\t\tfalse: 'overflow-y-auto overflow-x-hidden',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tscrollable: {\n\t\t\t\tnone: null,\n\t\t\t\tdefault: 'max-h-[11.5rem]',\n\t\t\t\tlarge: 'max-h-[13.875rem]',\n\t\t\t\txlarge: 'max-h-[20rem]',\n\t\t\t},\n\t\t\tmaxWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'max-w-[13.875rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.scss',\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\tconst scrollable =\n\t\t\tthis.scrollable === false\n\t\t\t\t? 'none'\n\t\t\t\t: this.scrollable === true\n\t\t\t\t? 'default'\n\t\t\t\t: this.scrollable;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuContainer({\n\t\t\t\t\tclass: this.class,\n\t\t\t\t\tfullWidth: this.fullWidth,\n\t\t\t\t\tallowOverflow: this.allowOverflow,\n\t\t\t\t\tscrollable,\n\t\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div class='flex w-full flex-col gap-[1px]'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,9 +1,19 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
2
2
  import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom.esm-314a52b2.js';
3
+ import { c as cva } from './index-10317a74.js';
3
4
  import { c as childOf } from './child-of-fec6ab3a.js';
5
+ import './clsx-297c1ffe.js';
4
6
 
5
- const dropdownComponentCss = ".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-0{left:0!important}.top-0{top:0!important}.z-dropdown{z-index:200!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-auto{height:auto!important}*{box-sizing:border-box}:host{display:block;position:relative}:host .trigger{display:block;height:auto;position:relative;width:auto}:host p-dropdown-menu-container{display:none;left:0;top:0;z-index:200}:host p-dropdown-menu-container[data-show]{display:flex}:host p-dropdown-menu-container[data-strategy=absolute]{position:absolute}:host p-dropdown-menu-container[data-strategy=fixed]{position:fixed}.visible{visibility:visible!important}.static{position:static!important}";
7
+ const dropdownComponentCss = ".flex{display:flex!important}.hidden{display:none!important}*{box-sizing:border-box}p-dropdown p-dropdown-menu-container{display:none}p-dropdown p-dropdown-menu-container[data-show]{display:flex}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}.w-inherit{width:inherit!important}";
6
8
 
9
+ const dropdownContainer = cva(['z-dropdown'], {
10
+ variants: {
11
+ strategy: {
12
+ absolute: 'absolute',
13
+ fixed: 'fixed',
14
+ },
15
+ },
16
+ });
7
17
  const Dropdown = class {
8
18
  constructor(hostRef) {
9
19
  registerInstance(this, hostRef);
@@ -27,6 +37,9 @@ const Dropdown = class {
27
37
  componentShouldUpdate() {
28
38
  this._update();
29
39
  }
40
+ componentDidLoad() {
41
+ this._checkButton();
42
+ }
30
43
  disconnectedCallback() {
31
44
  if (this._cleanup) {
32
45
  this._cleanup();
@@ -34,23 +47,24 @@ const Dropdown = class {
34
47
  }
35
48
  }
36
49
  render() {
37
- return (h(Host, { class: "p-dropdown" }, h("div", { class: "trigger", ref: (ref) => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { onSlotchange: (ev) => this._checkButton(ev), name: "trigger" })), h("p-dropdown-menu-container", { role: "popover", maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, ref: (el) => this._load(el), "data-placement": this.placement, "data-strategy": this.strategy, onClick: () => this._containerClickHandler(), scrollable: this.scrollable }, h("slot", { name: "items" }))));
50
+ return (h(Host, { class: 'p-dropdown relative' }, h("div", { class: 'relative w-inherit', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { name: 'trigger' })), h("p-dropdown-menu-container", { class: dropdownContainer({
51
+ strategy: this.strategy,
52
+ }), role: 'popover', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, ref: el => this._load(el), "data-placement": this.placement, "data-strategy": this.strategy, onClick: () => this._containerClickHandler(), scrollable: this.scrollable }, h("slot", { name: 'items' }))));
38
53
  }
39
- _checkButton({ target }) {
54
+ _checkButton(active = false) {
40
55
  if (!this.applyChevron) {
41
56
  return;
42
57
  }
43
- const slot = target;
44
- const children = slot.assignedElements();
45
- for (let child of children) {
46
- if (child.nodeName === 'P-BUTTON') {
47
- child.chevronPosition = this.chevronPosition;
48
- child.chevron = this.chevronDirection
49
- ? this.chevronDirection
50
- : this.placement.indexOf('top') >= 0
51
- ? 'up'
52
- : 'down';
53
- }
58
+ const buttons = this._el.querySelectorAll('p-button');
59
+ for (let button of buttons) {
60
+ button.chevronPosition = this.chevronPosition;
61
+ button.chevron = this.chevronDirection
62
+ ? this.chevronDirection
63
+ : this.placement.indexOf('top') >= 0
64
+ ? 'up'
65
+ : 'down';
66
+ button.disabled = this.disableTriggerClick;
67
+ button.active = active;
54
68
  }
55
69
  }
56
70
  onShowChange(show) {
@@ -64,8 +78,7 @@ const Dropdown = class {
64
78
  this._show();
65
79
  }
66
80
  documentClickHandler({ target }) {
67
- if (!this._menu.hasAttribute('data-show') ||
68
- childOf(target, this._el)) {
81
+ if (!this._menu.hasAttribute('data-show') || childOf(target, this._el)) {
69
82
  return;
70
83
  }
71
84
  this._hide();
@@ -109,6 +122,7 @@ const Dropdown = class {
109
122
  this._cleanup = autoUpdate(this._el, this._menu, () => this._update());
110
123
  this._menu.setAttribute('data-show', '');
111
124
  this.isOpen.emit(true);
125
+ this._checkButton(true);
112
126
  }
113
127
  _hide() {
114
128
  if (!this._loaded || this.show) {
@@ -121,6 +135,7 @@ const Dropdown = class {
121
135
  // Hide the popover
122
136
  this._menu.removeAttribute('data-show');
123
137
  this.isOpen.emit(false);
138
+ this._checkButton(false);
124
139
  }
125
140
  _update() {
126
141
  if (!this._menu) {
@@ -145,19 +160,70 @@ const Dropdown = class {
145
160
  };
146
161
  Dropdown.style = dropdownComponentCss;
147
162
 
148
- const dropdownMenuItemComponentCss = ".block{display:block!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.w-\\[2\\.375rem\\]{width:2.375rem!important}.w-full{width:100%!important}.translate-x-0{--tw-translate-x:0px!important}.translate-x-0,.translate-x-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-x-3{--tw-translate-x:0.75rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-negative{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.bg-mystic-dark{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.bg-mystic-dark,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-center{background-position:50%!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;justify-content:flex-start;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}:host input[type=checkbox].p-input{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}:host input[type=checkbox].p-input+label{margin-left:.2rem;margin-top:.05rem}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]{opacity:.4}:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host input[type=checkbox].p-input.size-small{height:1rem;width:1rem}:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-toggle{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}:host input[type=checkbox].p-toggle:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]{opacity:.4}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host .text-container{display:block;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(.hover:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.flex-shrink-0{flex-shrink:0!important}";
163
+ const dropdownMenuItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.max-w-full{max-width:100%!important}.flex-shrink-0{flex-shrink:0!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-start{text-align:start!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.hover\\:bg-supportive-lilac-50:hover{--tw-bg-opacity:1!important;background-color:rgb(250 247 255/var(--tw-bg-opacity,1))!important}";
149
164
 
165
+ const dropdownMenuItem = cva([
166
+ 'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',
167
+ ], {
168
+ variants: {
169
+ active: {
170
+ false: null,
171
+ true: 'bg-supportive-lilac-100',
172
+ },
173
+ disabled: {
174
+ false: null,
175
+ true: 'bg-supportive-lilac-100 text-black-teal-200 cursor-not-allowed',
176
+ },
177
+ enableHover: {
178
+ false: null,
179
+ true: null,
180
+ },
181
+ },
182
+ compoundVariants: [
183
+ {
184
+ active: false,
185
+ enableHover: true,
186
+ disabled: false,
187
+ class: 'hover:bg-supportive-lilac-50',
188
+ },
189
+ {
190
+ enableHover: true,
191
+ disabled: false,
192
+ class: 'cursor-pointer',
193
+ },
194
+ ],
195
+ });
196
+ const dropdownMenuItemIcon = cva(['text-base'], {
197
+ variants: {
198
+ active: {
199
+ false: 'text-black-teal-300',
200
+ true: false,
201
+ },
202
+ disabled: {
203
+ false: false,
204
+ true: 'text-black-teal-100',
205
+ },
206
+ },
207
+ });
150
208
  const DropdownMenuItem = class {
151
209
  constructor(hostRef) {
152
210
  registerInstance(this, hostRef);
153
211
  this.active = false;
154
212
  this.variant = 'default';
155
213
  this.enableHover = true;
214
+ this.disabled = false;
156
215
  this.icon = undefined;
157
216
  this.useContainer = true;
158
217
  }
159
218
  render() {
160
- return (h(Host, { class: `p-dropdown-menu-item ${this.active && 'active'} ${this.enableHover && 'hover'}` }, this.icon && h("p-icon", { variant: this.icon }), this.variant === 'checkbox' && (h("input", { type: 'checkbox', class: 'p-input size-small flex-shrink-0', checked: this.active })), this.useContainer ? (h("div", { class: 'text-container' }, h("slot", null))) : (h("slot", null))));
219
+ return (h(Host, { class: dropdownMenuItem({
220
+ active: this.active,
221
+ enableHover: this.enableHover,
222
+ disabled: this.disabled,
223
+ }) }, this.icon && (h("p-icon", { class: dropdownMenuItemIcon({
224
+ active: this.active,
225
+ disabled: this.disabled,
226
+ }), variant: this.icon })), this.variant === 'checkbox' && (h("input", { type: 'checkbox', class: 'p-input size-small flex-shrink-0', checked: this.active })), this.useContainer ? (h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, h("slot", null))) : (h("slot", null))));
161
227
  }
162
228
  };
163
229
  DropdownMenuItem.style = dropdownMenuItemComponentCss;
@@ -1 +1 @@
1
- {"file":"p-dropdown.p-dropdown-menu-item.entry.js","mappings":"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","names":[],"sources":["src/components/molecules/dropdown/dropdown.component.scss?tag=p-dropdown&encapsulation=shadow","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.scss?tag=p-dropdown-menu-item&encapsulation=shadow","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative block;\n\n\t.trigger {\n\t\t@apply relative block h-auto w-auto;\n\t}\n\n\tp-dropdown-menu-container {\n\t\t@apply left-0 top-0 z-dropdown hidden;\n\n\t\t&[data-show] {\n\t\t\t@apply flex;\n\t\t}\n\n\t\t&[data-strategy='absolute'] {\n\t\t\t@apply absolute;\n\t\t}\n\n\t\t&[data-strategy='fixed'] {\n\t\t\t@apply fixed;\n\t\t}\n\t}\n}\n","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { childOf } from '../../../utils/child-of';\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.scss',\n\tshadow: true,\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-dropdown\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"trigger\"\n\t\t\t\t\tref={(ref) => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot\n\t\t\t\t\t\tonSlotchange={(ev) => this._checkButton(ev)}\n\t\t\t\t\t\tname=\"trigger\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\trole=\"popover\"\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tref={(el) => this._load(el)}\n\t\t\t\t\tdata-placement={this.placement}\n\t\t\t\t\tdata-strategy={this.strategy}\n\t\t\t\t\tonClick={() => this._containerClickHandler()}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"items\" />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButton({ target }: Event) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst slot = target as HTMLSlotElement;\n\t\tconst children = slot.assignedElements();\n\n\t\tfor (let child of children) {\n\t\t\tif (child.nodeName === 'P-BUTTON') {\n\t\t\t\t(child as any).chevronPosition = this.chevronPosition;\n\t\t\t\t(child as any).chevron = this.chevronDirection\n\t\t\t\t\t? this.chevronDirection\n\t\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t\t\t? 'up'\n\t\t\t\t\t\t: 'down';\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (\n\t\t\t!this._menu.hasAttribute('data-show') ||\n\t\t\tchildOf(target, this._el)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n",":host {\n\t@import '../../../style/form/checkbox';\n\n\t@apply flex h-8 w-full items-center justify-start gap-2 rounded px-2;\n\t@apply text-sm font-semibold text-storm;\n\t@apply cursor-pointer;\n\n\t.text-container {\n\t\t@apply block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start;\n\t}\n}\n\n:host(.hover:hover) {\n\t@apply bg-indigo-light text-storm;\n}\n\n:host(.active) {\n\t@apply bg-indigo-light text-indigo;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.scss',\n\tshadow: true,\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'checkbox' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-dropdown-menu-item ${this.active && 'active'} ${\n\t\t\t\t\tthis.enableHover && 'hover'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this.icon && <p-icon variant={this.icon} />}\n\n\t\t\t\t{this.variant === 'checkbox' && (\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\tclass='p-input size-small flex-shrink-0'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-dropdown.p-dropdown-menu-item.entry.js","mappings":"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","names":[],"sources":["src/components/molecules/dropdown/dropdown.component.scss?tag=p-dropdown","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.scss?tag=p-dropdown-menu-item","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":["p-dropdown {\n\tp-dropdown-menu-container {\n\t\t@apply hidden;\n\n\t\t&[data-show] {\n\t\t\t@apply flex;\n\t\t}\n\t}\n}\n","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainer = cva(['z-dropdown'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.scss',\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButton();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='relative w-inherit'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tclass={dropdownContainer({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\trole='popover'\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tref={el => this._load(el)}\n\t\t\t\t\tdata-placement={this.placement}\n\t\t\t\t\tdata-strategy={this.strategy}\n\t\t\t\t\tonClick={() => this._containerClickHandler()}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t>\n\t\t\t\t\t<slot name='items' />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButton(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>('p-button');\n\t\tfor (let button of buttons) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButton(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButton(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n","","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuItem = cva(\n\t[\n\t\t'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'bg-supportive-lilac-100',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'bg-supportive-lilac-100 text-black-teal-200 cursor-not-allowed',\n\t\t\t},\n\t\t\tenableHover: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'hover:bg-supportive-lilac-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'cursor-pointer',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst dropdownMenuItemIcon = cva(['text-base'], {\n\tvariants: {\n\t\tactive: {\n\t\t\tfalse: 'text-black-teal-300',\n\t\t\ttrue: false,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: false,\n\t\t\ttrue: 'text-black-teal-100',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.scss',\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'checkbox' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Wether the item is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuItem({\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\tenableHover: this.enableHover,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{/* class={`p-dropdown-menu-item ${this.active && 'active'} ${ */}\n\t\t\t\t{/* \tthis.enableHover && 'hover' */}\n\t\t\t\t{/* }`} */}\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={dropdownMenuItemIcon({\n\t\t\t\t\t\t\tactive: this.active,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.variant === 'checkbox' && (\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\tclass='p-input size-small flex-shrink-0'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}