@paperless/core 2.0.1-beta.57 → 2.0.1-beta.59

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 (432) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/other/smile.svg +4 -0
  3. package/dist/build/index.esm.js +1 -1
  4. package/dist/build/index.esm.js.map +1 -1
  5. package/dist/build/p-19552afe.js +2 -0
  6. package/dist/build/p-1b6abd13.entry.js +2 -0
  7. package/dist/build/{p-bc7e1fa1.entry.js.map → p-1b6abd13.entry.js.map} +1 -1
  8. package/dist/build/{p-d9c3b86c.entry.js → p-1bcab63c.entry.js} +2 -2
  9. package/dist/build/p-1dea5dbe.entry.js +2 -0
  10. package/dist/build/p-1dea5dbe.entry.js.map +1 -0
  11. package/dist/build/{p-ad5e0d36.entry.js → p-2a308795.entry.js} +2 -2
  12. package/dist/{paperless/p-e3d8c6d2.entry.js → build/p-34c50c0c.entry.js} +2 -2
  13. package/dist/build/p-47e7d592.entry.js +2 -0
  14. package/dist/build/p-47e7d592.entry.js.map +1 -0
  15. package/dist/build/{p-8e20e931.entry.js → p-5eeacebe.entry.js} +2 -2
  16. package/dist/build/p-77d65809.entry.js +2 -0
  17. package/dist/{paperless/p-c4f2d4a2.entry.js.map → build/p-77d65809.entry.js.map} +1 -1
  18. package/dist/build/{p-43693929.entry.js → p-7b742ec4.entry.js} +2 -2
  19. package/dist/{paperless/p-47e97f8b.entry.js → build/p-8035bea4.entry.js} +2 -2
  20. package/dist/build/p-804047e3.entry.js +2 -0
  21. package/dist/build/p-804047e3.entry.js.map +1 -0
  22. package/dist/build/p-8752ec1d.entry.js +2 -0
  23. package/dist/build/p-8752ec1d.entry.js.map +1 -0
  24. package/dist/build/p-backdrop.entry.esm.js.map +1 -1
  25. package/dist/build/p-bc5ea786.entry.js +2 -0
  26. package/dist/build/p-bc5ea786.entry.js.map +1 -0
  27. package/dist/build/{p-fcc4b9b1.entry.js → p-beb2f576.entry.js} +2 -2
  28. package/dist/build/{p-612f8b0a.entry.js → p-c4d49657.entry.js} +2 -2
  29. package/dist/build/p-card-body.entry.esm.js.map +1 -1
  30. package/dist/build/p-card-container.entry.esm.js.map +1 -1
  31. package/dist/build/p-card-header.entry.esm.js.map +1 -1
  32. package/dist/build/p-dba6b57e.entry.js +2 -0
  33. package/dist/build/p-dba6b57e.entry.js.map +1 -0
  34. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  35. package/dist/build/{p-6fdb490c.entry.js → p-e2269c0d.entry.js} +2 -2
  36. package/dist/build/p-e6275ef7.entry.js +2 -0
  37. package/dist/{paperless/p-93b92b37.entry.js.map → build/p-e6275ef7.entry.js.map} +1 -1
  38. package/dist/build/{p-7eee6673.entry.js → p-f316ca4a.entry.js} +2 -2
  39. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  40. package/dist/build/p-modal.entry.esm.js.map +1 -1
  41. package/dist/build/p-smile.entry.esm.js.map +1 -0
  42. package/dist/build/paperless.esm.js +1 -1
  43. package/dist/cjs/index-DLcBertx.js +8 -8
  44. package/dist/cjs/index.cjs.js +5 -5
  45. package/dist/cjs/index.cjs.js.map +1 -1
  46. package/dist/cjs/loader.cjs.js +1 -1
  47. package/dist/cjs/p-backdrop.cjs.entry.js +1 -1
  48. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  49. package/dist/cjs/p-backdrop.entry.cjs.js.map +1 -1
  50. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  51. package/dist/cjs/p-card-body.cjs.entry.js +2 -6
  52. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
  53. package/dist/cjs/p-card-body.entry.cjs.js.map +1 -1
  54. package/dist/cjs/p-card-container.cjs.entry.js +30 -2
  55. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  56. package/dist/cjs/p-card-container.entry.cjs.js.map +1 -1
  57. package/dist/cjs/p-card-header.cjs.entry.js +39 -14
  58. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
  59. package/dist/cjs/p-card-header.entry.cjs.js.map +1 -1
  60. package/dist/cjs/p-checkbox_2.cjs.entry.js +4 -4
  61. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  62. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  63. package/dist/cjs/p-drawer-body_3.cjs.entry.js +1 -1
  64. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  65. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  66. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +5 -5
  67. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +2 -2
  68. package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
  69. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  70. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  71. package/dist/cjs/p-modal-body_4.cjs.entry.js +15 -25
  72. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  73. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
  75. package/dist/cjs/p-modal.entry.cjs.js.map +1 -1
  76. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  77. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  78. package/dist/cjs/p-smile.cjs.entry.js +40 -0
  79. package/dist/cjs/p-smile.cjs.entry.js.map +1 -0
  80. package/dist/cjs/p-smile.entry.cjs.js.map +1 -0
  81. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  82. package/dist/cjs/paperless.cjs.js +1 -1
  83. package/dist/collection/assets/other/smile.svg +4 -0
  84. package/dist/collection/collection-manifest.json +4 -4
  85. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  86. package/dist/collection/components/atoms/card/body/card-body.component.css +1 -0
  87. package/dist/collection/components/atoms/card/body/card-body.component.js +19 -0
  88. package/dist/collection/components/atoms/card/body/card-body.component.js.map +1 -0
  89. package/dist/collection/components/atoms/card/container/card-container.component.css +1 -0
  90. package/dist/collection/components/{deprecated/atoms → atoms}/card/container/card-container.component.js +30 -3
  91. package/dist/collection/components/atoms/card/container/card-container.component.js.map +1 -0
  92. package/dist/collection/components/atoms/card/header/card-header.component.css +1 -0
  93. package/dist/collection/components/atoms/card/header/card-header.component.js +179 -0
  94. package/dist/collection/components/atoms/card/header/card-header.component.js.map +1 -0
  95. package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
  96. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  97. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
  98. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
  99. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  100. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  101. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  102. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  103. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
  104. package/dist/collection/components/atoms/modal/container/modal-container.component.js +4 -4
  105. package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
  106. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  107. package/dist/collection/components/atoms/modal/header/modal-header.component.css +1 -1
  108. package/dist/collection/components/atoms/modal/header/modal-header.component.js +6 -36
  109. package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -1
  110. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  111. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  112. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  113. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  114. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  115. package/dist/collection/components/atoms/smile/smile.component.css +1 -0
  116. package/dist/collection/components/atoms/smile/smile.component.js +56 -0
  117. package/dist/collection/components/atoms/smile/smile.component.js.map +1 -0
  118. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  119. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  120. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.css +1 -1
  121. package/dist/collection/components/organisms/modal/modal.component.js +1 -1
  122. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
  123. package/dist/collection/tailwind/paperless.js +1 -1
  124. package/dist/collection/tailwind/paperless.js.map +1 -1
  125. package/dist/collection/tailwind/theme/animation.js +4 -4
  126. package/dist/collection/tailwind/theme/animation.js.map +1 -1
  127. package/dist/components/index.js +5 -5
  128. package/dist/components/index.js.map +1 -1
  129. package/dist/components/{p-DtNXXDfQ.js → p-4hDfHOnN.js} +3 -3
  130. package/dist/components/{p-DtNXXDfQ.js.map → p-4hDfHOnN.js.map} +1 -1
  131. package/dist/components/{p-Bd5S170U.js → p-BQb5Fem8.js} +11 -11
  132. package/dist/components/{p-Bd5S170U.js.map → p-BQb5Fem8.js.map} +1 -1
  133. package/dist/components/{p-CXRp-6BG.js → p-BUL3X-CN.js} +5 -5
  134. package/dist/components/{p-CXRp-6BG.js.map → p-BUL3X-CN.js.map} +1 -1
  135. package/dist/components/{p-DavTK-FW.js → p-BVE9SgcU.js} +3 -3
  136. package/dist/components/{p-DavTK-FW.js.map → p-BVE9SgcU.js.map} +1 -1
  137. package/dist/components/{p-CwLMxCol.js → p-BYHTrD1s.js} +4 -4
  138. package/dist/components/{p-CwLMxCol.js.map → p-BYHTrD1s.js.map} +1 -1
  139. package/dist/components/p-BfI2YZrh.js +54 -0
  140. package/dist/components/p-BfI2YZrh.js.map +1 -0
  141. package/dist/components/{p-D24IHbvN.js → p-BmhUOEHd.js} +7 -7
  142. package/dist/components/{p-D24IHbvN.js.map → p-BmhUOEHd.js.map} +1 -1
  143. package/dist/components/{p-C65dU-F-.js → p-BxmFB53M.js} +5 -5
  144. package/dist/components/{p-C65dU-F-.js.map → p-BxmFB53M.js.map} +1 -1
  145. package/dist/components/{p-DNJBM2XN.js → p-ByUK5grd.js} +3 -3
  146. package/dist/components/{p-DNJBM2XN.js.map → p-ByUK5grd.js.map} +1 -1
  147. package/dist/components/{p-CubiUj-9.js → p-Bz6McjV2.js} +3 -3
  148. package/dist/components/{p-CubiUj-9.js.map → p-Bz6McjV2.js.map} +1 -1
  149. package/dist/components/{p-BABnzdIg.js → p-BzTCgxsR.js} +5 -5
  150. package/dist/components/{p-BABnzdIg.js.map → p-BzTCgxsR.js.map} +1 -1
  151. package/dist/components/{p-_5LSH8yj.js → p-BzmTy5Gw.js} +11 -11
  152. package/dist/components/{p-_5LSH8yj.js.map → p-BzmTy5Gw.js.map} +1 -1
  153. package/dist/components/{p-Dtck_OHl.js → p-C0kL1elG.js} +3 -3
  154. package/dist/components/{p-Dtck_OHl.js.map → p-C0kL1elG.js.map} +1 -1
  155. package/dist/components/p-C29uSkwR.js +80 -0
  156. package/dist/components/p-C29uSkwR.js.map +1 -0
  157. package/dist/components/{p-Cf24ESpf.js → p-C7_AiY7m.js} +8 -8
  158. package/dist/components/{p-Cf24ESpf.js.map → p-C7_AiY7m.js.map} +1 -1
  159. package/dist/components/{p-CJvopJ3x.js → p-CGF6m01Z.js} +5 -5
  160. package/dist/components/{p-CJvopJ3x.js.map → p-CGF6m01Z.js.map} +1 -1
  161. package/dist/components/{p-DP9DUvTl.js → p-CJbLHJtK.js} +4 -4
  162. package/dist/components/{p-DP9DUvTl.js.map → p-CJbLHJtK.js.map} +1 -1
  163. package/dist/components/{p-BG6U7QYz.js → p-CRSsPnsr.js} +5 -5
  164. package/dist/components/{p-BG6U7QYz.js.map → p-CRSsPnsr.js.map} +1 -1
  165. package/dist/components/p-CV1ND9Ew.js +70 -0
  166. package/dist/components/p-CV1ND9Ew.js.map +1 -0
  167. package/dist/components/{p-E29xiZ5o.js → p-CYEljMcS.js} +6 -6
  168. package/dist/components/{p-E29xiZ5o.js.map → p-CYEljMcS.js.map} +1 -1
  169. package/dist/components/{p-IyfiAeqp.js → p-CaCNqcUA.js} +6 -6
  170. package/dist/components/{p-IyfiAeqp.js.map → p-CaCNqcUA.js.map} +1 -1
  171. package/dist/components/{p-C9_6jSTk.js → p-Cb5QxFb_.js} +3 -3
  172. package/dist/components/{p-C9_6jSTk.js.map → p-Cb5QxFb_.js.map} +1 -1
  173. package/dist/components/{p-BM8Lv22C.js → p-DBXWe3iO.js} +8 -8
  174. package/dist/components/{p-BM8Lv22C.js.map → p-DBXWe3iO.js.map} +1 -1
  175. package/dist/components/{p-DoulR9IJ.js → p-DH8d75aS.js} +5 -5
  176. package/dist/components/{p-DoulR9IJ.js.map → p-DH8d75aS.js.map} +1 -1
  177. package/dist/components/{p-DH_hwyeE.js → p-DLn2pEjF.js} +6 -6
  178. package/dist/components/{p-DH_hwyeE.js.map → p-DLn2pEjF.js.map} +1 -1
  179. package/dist/components/{p-Dyfjx_j0.js → p-DO2aNiJs.js} +4 -4
  180. package/dist/components/{p-Dyfjx_j0.js.map → p-DO2aNiJs.js.map} +1 -1
  181. package/dist/components/{p-BFgor4dI.js → p-DwU0JpMk.js} +4 -4
  182. package/dist/components/{p-BFgor4dI.js.map → p-DwU0JpMk.js.map} +1 -1
  183. package/dist/components/{p-BWOIzq0V.js → p-DyEKeWcm.js} +8 -8
  184. package/dist/components/{p-BWOIzq0V.js.map → p-DyEKeWcm.js.map} +1 -1
  185. package/dist/components/{p-1Wq1CH33.js → p-Dyyeb5Ij.js} +8 -8
  186. package/dist/components/{p-1Wq1CH33.js.map → p-Dyyeb5Ij.js.map} +1 -1
  187. package/dist/components/{p-BeoE8y4t.js → p-DzKgvS22.js} +4 -4
  188. package/dist/components/{p-BeoE8y4t.js.map → p-DzKgvS22.js.map} +1 -1
  189. package/dist/components/{p-URubCDKj.js → p-EbcwAVic.js} +6 -6
  190. package/dist/components/{p-URubCDKj.js.map → p-EbcwAVic.js.map} +1 -1
  191. package/dist/components/{p-KMoX6P83.js → p-JmXtrW5O.js} +3 -3
  192. package/dist/components/{p-KMoX6P83.js.map → p-JmXtrW5O.js.map} +1 -1
  193. package/dist/components/{p--LlCJnZJ.js → p-RPL9p7PQ.js} +3 -3
  194. package/dist/components/{p--LlCJnZJ.js.map → p-RPL9p7PQ.js.map} +1 -1
  195. package/dist/components/{p-CnABRyX2.js → p-VvFdEXYw.js} +5 -5
  196. package/dist/components/{p-CnABRyX2.js.map → p-VvFdEXYw.js.map} +1 -1
  197. package/dist/components/p-accordion.js +2 -2
  198. package/dist/components/p-attachment.js +4 -4
  199. package/dist/components/p-avatar.js +1 -1
  200. package/dist/components/p-backdrop.js +1 -1
  201. package/dist/components/p-badge.js +1 -1
  202. package/dist/components/p-button.js +1 -1
  203. package/dist/components/p-calendar.js +1 -1
  204. package/dist/components/p-card-body.js +5 -10
  205. package/dist/components/p-card-body.js.map +1 -1
  206. package/dist/components/p-card-container.js +30 -3
  207. package/dist/components/p-card-container.js.map +1 -1
  208. package/dist/components/p-card-header.js +59 -19
  209. package/dist/components/p-card-header.js.map +1 -1
  210. package/dist/components/p-checkbox.js +1 -1
  211. package/dist/components/p-cropper.js +2 -2
  212. package/dist/components/p-datepicker.js +9 -9
  213. package/dist/components/p-divider.js +1 -1
  214. package/dist/components/p-drawer-container.js +1 -1
  215. package/dist/components/p-drawer-header.js +1 -1
  216. package/dist/components/p-drawer.js +5 -5
  217. package/dist/components/p-dropdown-menu-container.js +1 -1
  218. package/dist/components/p-dropdown-menu-item.js +1 -1
  219. package/dist/components/p-dropdown.js +1 -1
  220. package/dist/components/p-field-container.js +1 -1
  221. package/dist/components/p-field.js +1 -1
  222. package/dist/components/p-floating-menu-container.js +1 -1
  223. package/dist/components/p-floating-menu-item.js +1 -1
  224. package/dist/components/p-helper.js +1 -1
  225. package/dist/components/{p-B2ynMJEJ.js → p-hoTzvAXz.js} +3 -3
  226. package/dist/components/{p-B2ynMJEJ.js.map → p-hoTzvAXz.js.map} +1 -1
  227. package/dist/components/p-iban-icon.js +1 -1
  228. package/dist/components/p-icon.js +1 -1
  229. package/dist/components/p-info-panel.js +1 -1
  230. package/dist/components/p-input-error.js +1 -1
  231. package/dist/components/p-input-group.js +4 -4
  232. package/dist/components/p-label.js +3 -3
  233. package/dist/components/p-modal-body.js +1 -1
  234. package/dist/components/p-modal-container.js +1 -1
  235. package/dist/components/p-modal-footer.js +1 -1
  236. package/dist/components/p-modal-header.js +1 -1
  237. package/dist/components/p-modal.js +12 -12
  238. package/dist/components/p-modal.js.map +1 -1
  239. package/dist/components/p-navbar.js +4 -4
  240. package/dist/components/p-navigation-item.js +4 -4
  241. package/dist/components/p-navigation-section.js +1 -1
  242. package/dist/components/p-navigation-title.js +1 -1
  243. package/dist/components/p-pagination-pages-item.js +1 -1
  244. package/dist/components/p-pagination-pages.js +1 -1
  245. package/dist/components/p-pagination-size.js +1 -1
  246. package/dist/components/p-pagination.js +10 -10
  247. package/dist/components/p-profile.js +5 -5
  248. package/dist/components/p-radio.js +4 -4
  249. package/dist/components/p-segment-container.js +1 -1
  250. package/dist/components/p-segment-item.js +1 -1
  251. package/dist/components/p-select.js +12 -12
  252. package/dist/components/{p-smile-footer.d.ts → p-smile.d.ts} +4 -4
  253. package/dist/components/p-smile.js +9 -0
  254. package/dist/components/p-smile.js.map +1 -0
  255. package/dist/components/p-status.js +1 -1
  256. package/dist/components/p-stepper-item.js +1 -1
  257. package/dist/components/{p-COTTTg9c.js → p-swYFtOs2.js} +4 -4
  258. package/dist/components/{p-COTTTg9c.js.map → p-swYFtOs2.js.map} +1 -1
  259. package/dist/components/p-tab-group.js +1 -1
  260. package/dist/components/p-table-footer.js +1 -1
  261. package/dist/components/p-table-header.js +1 -1
  262. package/dist/components/p-table-row.js +1 -1
  263. package/dist/components/p-table.js +23 -23
  264. package/dist/components/p-toast.js +2 -2
  265. package/dist/components/p-toggle.js +4 -4
  266. package/dist/components/p-tooltip.js +1 -1
  267. package/dist/esm/index-I9JY9uxk.js +8 -8
  268. package/dist/esm/index.js +5 -5
  269. package/dist/esm/index.js.map +1 -1
  270. package/dist/esm/loader.js +1 -1
  271. package/dist/esm/p-backdrop.entry.js +1 -1
  272. package/dist/esm/p-backdrop.entry.js.map +1 -1
  273. package/dist/esm/p-badge_3.entry.js +3 -3
  274. package/dist/esm/p-card-body.entry.js +3 -7
  275. package/dist/esm/p-card-body.entry.js.map +1 -1
  276. package/dist/esm/p-card-container.entry.js +31 -3
  277. package/dist/esm/p-card-container.entry.js.map +1 -1
  278. package/dist/esm/p-card-header.entry.js +40 -15
  279. package/dist/esm/p-card-header.entry.js.map +1 -1
  280. package/dist/esm/p-checkbox_2.entry.js +4 -4
  281. package/dist/esm/p-divider.entry.js +1 -1
  282. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  283. package/dist/esm/p-drawer-body_3.entry.js +1 -1
  284. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  285. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  286. package/dist/esm/p-dropdown-menu-item_4.entry.js +5 -5
  287. package/dist/esm/p-floating-menu-container_8.entry.js +2 -2
  288. package/dist/esm/p-helper_2.entry.js +5 -5
  289. package/dist/esm/p-iban-icon.entry.js +1 -1
  290. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  291. package/dist/esm/p-modal-body_4.entry.js +15 -25
  292. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  293. package/dist/esm/p-modal.entry.js +1 -1
  294. package/dist/esm/p-modal.entry.js.map +1 -1
  295. package/dist/esm/p-navigation-title.entry.js +1 -1
  296. package/dist/esm/p-radio.entry.js +3 -3
  297. package/dist/esm/p-smile.entry.js +38 -0
  298. package/dist/esm/p-smile.entry.js.map +1 -0
  299. package/dist/esm/p-toggle.entry.js +3 -3
  300. package/dist/esm/paperless.js +1 -1
  301. package/dist/index.html +1 -1
  302. package/dist/paperless/index.esm.js +1 -1
  303. package/dist/paperless/index.esm.js.map +1 -1
  304. package/dist/paperless/p-1b6abd13.entry.js +2 -0
  305. package/dist/paperless/{p-bc7e1fa1.entry.js.map → p-1b6abd13.entry.js.map} +1 -1
  306. package/dist/paperless/{p-d9c3b86c.entry.js → p-1bcab63c.entry.js} +2 -2
  307. package/dist/paperless/p-1dea5dbe.entry.js +2 -0
  308. package/dist/paperless/p-1dea5dbe.entry.js.map +1 -0
  309. package/dist/paperless/{p-ad5e0d36.entry.js → p-2a308795.entry.js} +2 -2
  310. package/dist/{build/p-e3d8c6d2.entry.js → paperless/p-34c50c0c.entry.js} +2 -2
  311. package/dist/paperless/p-47e7d592.entry.js +2 -0
  312. package/dist/paperless/p-47e7d592.entry.js.map +1 -0
  313. package/dist/paperless/{p-8e20e931.entry.js → p-5eeacebe.entry.js} +2 -2
  314. package/dist/paperless/p-77d65809.entry.js +2 -0
  315. package/dist/{build/p-c4f2d4a2.entry.js.map → paperless/p-77d65809.entry.js.map} +1 -1
  316. package/dist/paperless/{p-43693929.entry.js → p-7b742ec4.entry.js} +2 -2
  317. package/dist/{build/p-47e97f8b.entry.js → paperless/p-8035bea4.entry.js} +2 -2
  318. package/dist/paperless/p-804047e3.entry.js +2 -0
  319. package/dist/paperless/p-804047e3.entry.js.map +1 -0
  320. package/dist/paperless/p-8752ec1d.entry.js +2 -0
  321. package/dist/paperless/p-8752ec1d.entry.js.map +1 -0
  322. package/dist/paperless/p-backdrop.entry.esm.js.map +1 -1
  323. package/dist/paperless/p-bc5ea786.entry.js +2 -0
  324. package/dist/paperless/p-bc5ea786.entry.js.map +1 -0
  325. package/dist/paperless/{p-fcc4b9b1.entry.js → p-beb2f576.entry.js} +2 -2
  326. package/dist/paperless/{p-612f8b0a.entry.js → p-c4d49657.entry.js} +2 -2
  327. package/dist/paperless/p-card-body.entry.esm.js.map +1 -1
  328. package/dist/paperless/p-card-container.entry.esm.js.map +1 -1
  329. package/dist/paperless/p-card-header.entry.esm.js.map +1 -1
  330. package/dist/paperless/p-dba6b57e.entry.js +2 -0
  331. package/dist/paperless/p-dba6b57e.entry.js.map +1 -0
  332. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  333. package/dist/paperless/{p-6fdb490c.entry.js → p-e2269c0d.entry.js} +2 -2
  334. package/dist/paperless/p-e6275ef7.entry.js +2 -0
  335. package/dist/{build/p-93b92b37.entry.js.map → paperless/p-e6275ef7.entry.js.map} +1 -1
  336. package/dist/paperless/{p-7eee6673.entry.js → p-f316ca4a.entry.js} +2 -2
  337. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  338. package/dist/paperless/p-modal.entry.esm.js.map +1 -1
  339. package/dist/paperless/p-smile.entry.esm.js.map +1 -0
  340. package/dist/paperless/paperless.esm.js +1 -1
  341. package/dist/sw.js +1 -1
  342. package/dist/sw.js.map +1 -1
  343. package/dist/tailwind/paperless.ts +1 -1
  344. package/dist/tailwind/theme/animation.ts +4 -4
  345. package/dist/types/components/atoms/card/body/card-body.component.d.ts +3 -0
  346. package/dist/types/components/atoms/card/header/card-header.component.d.ts +25 -0
  347. package/dist/types/components/atoms/modal/header/modal-header.component.d.ts +0 -4
  348. package/dist/types/components/atoms/smile/smile.component.d.ts +7 -0
  349. package/dist/types/components.d.ts +49 -33
  350. package/dist/types/tailwind/theme/animation.d.ts +4 -4
  351. package/package.json +1 -1
  352. package/dist/build/p-4b2245bf.entry.js +0 -2
  353. package/dist/build/p-4b2245bf.entry.js.map +0 -1
  354. package/dist/build/p-4c318a7e.entry.js +0 -2
  355. package/dist/build/p-4c318a7e.entry.js.map +0 -1
  356. package/dist/build/p-519504d2.entry.js +0 -2
  357. package/dist/build/p-519504d2.entry.js.map +0 -1
  358. package/dist/build/p-72dc3715.entry.js +0 -2
  359. package/dist/build/p-72dc3715.entry.js.map +0 -1
  360. package/dist/build/p-93b92b37.entry.js +0 -2
  361. package/dist/build/p-bc7e1fa1.entry.js +0 -2
  362. package/dist/build/p-c4f2d4a2.entry.js +0 -2
  363. package/dist/build/p-ca03c040.entry.js +0 -2
  364. package/dist/build/p-ca03c040.entry.js.map +0 -1
  365. package/dist/build/p-cb4f619c.js +0 -2
  366. package/dist/build/p-f0585175.entry.js +0 -2
  367. package/dist/build/p-f0585175.entry.js.map +0 -1
  368. package/dist/build/p-smile-footer.entry.esm.js.map +0 -1
  369. package/dist/cjs/p-smile-footer.cjs.entry.js +0 -20
  370. package/dist/cjs/p-smile-footer.cjs.entry.js.map +0 -1
  371. package/dist/cjs/p-smile-footer.entry.cjs.js.map +0 -1
  372. package/dist/collection/components/atoms/smile-footer/smile-footer.component.css +0 -1
  373. package/dist/collection/components/atoms/smile-footer/smile-footer.component.js +0 -18
  374. package/dist/collection/components/atoms/smile-footer/smile-footer.component.js.map +0 -1
  375. package/dist/collection/components/deprecated/atoms/card/body/card-body.component.css +0 -1
  376. package/dist/collection/components/deprecated/atoms/card/body/card-body.component.js +0 -46
  377. package/dist/collection/components/deprecated/atoms/card/body/card-body.component.js.map +0 -1
  378. package/dist/collection/components/deprecated/atoms/card/container/card-container.component.css +0 -1
  379. package/dist/collection/components/deprecated/atoms/card/container/card-container.component.js.map +0 -1
  380. package/dist/collection/components/deprecated/atoms/card/header/card-header.component.css +0 -1
  381. package/dist/collection/components/deprecated/atoms/card/header/card-header.component.js +0 -83
  382. package/dist/collection/components/deprecated/atoms/card/header/card-header.component.js.map +0 -1
  383. package/dist/components/p-C_sIecbu.js +0 -70
  384. package/dist/components/p-C_sIecbu.js.map +0 -1
  385. package/dist/components/p-D6r97Zk0.js +0 -91
  386. package/dist/components/p-D6r97Zk0.js.map +0 -1
  387. package/dist/components/p-ZJWCfnJD.js +0 -33
  388. package/dist/components/p-ZJWCfnJD.js.map +0 -1
  389. package/dist/components/p-smile-footer.js +0 -9
  390. package/dist/components/p-smile-footer.js.map +0 -1
  391. package/dist/esm/p-smile-footer.entry.js +0 -18
  392. package/dist/esm/p-smile-footer.entry.js.map +0 -1
  393. package/dist/paperless/p-4b2245bf.entry.js +0 -2
  394. package/dist/paperless/p-4b2245bf.entry.js.map +0 -1
  395. package/dist/paperless/p-4c318a7e.entry.js +0 -2
  396. package/dist/paperless/p-4c318a7e.entry.js.map +0 -1
  397. package/dist/paperless/p-519504d2.entry.js +0 -2
  398. package/dist/paperless/p-519504d2.entry.js.map +0 -1
  399. package/dist/paperless/p-72dc3715.entry.js +0 -2
  400. package/dist/paperless/p-72dc3715.entry.js.map +0 -1
  401. package/dist/paperless/p-93b92b37.entry.js +0 -2
  402. package/dist/paperless/p-bc7e1fa1.entry.js +0 -2
  403. package/dist/paperless/p-c4f2d4a2.entry.js +0 -2
  404. package/dist/paperless/p-ca03c040.entry.js +0 -2
  405. package/dist/paperless/p-ca03c040.entry.js.map +0 -1
  406. package/dist/paperless/p-f0585175.entry.js +0 -2
  407. package/dist/paperless/p-f0585175.entry.js.map +0 -1
  408. package/dist/paperless/p-smile-footer.entry.esm.js.map +0 -1
  409. package/dist/types/components/atoms/smile-footer/smile-footer.component.d.ts +0 -3
  410. package/dist/types/components/deprecated/atoms/card/body/card-body.component.d.ts +0 -7
  411. package/dist/types/components/deprecated/atoms/card/header/card-header.component.d.ts +0 -18
  412. /package/dist/build/{p-d9c3b86c.entry.js.map → p-1bcab63c.entry.js.map} +0 -0
  413. /package/dist/build/{p-ad5e0d36.entry.js.map → p-2a308795.entry.js.map} +0 -0
  414. /package/dist/build/{p-e3d8c6d2.entry.js.map → p-34c50c0c.entry.js.map} +0 -0
  415. /package/dist/build/{p-8e20e931.entry.js.map → p-5eeacebe.entry.js.map} +0 -0
  416. /package/dist/build/{p-43693929.entry.js.map → p-7b742ec4.entry.js.map} +0 -0
  417. /package/dist/build/{p-47e97f8b.entry.js.map → p-8035bea4.entry.js.map} +0 -0
  418. /package/dist/build/{p-fcc4b9b1.entry.js.map → p-beb2f576.entry.js.map} +0 -0
  419. /package/dist/build/{p-612f8b0a.entry.js.map → p-c4d49657.entry.js.map} +0 -0
  420. /package/dist/build/{p-6fdb490c.entry.js.map → p-e2269c0d.entry.js.map} +0 -0
  421. /package/dist/build/{p-7eee6673.entry.js.map → p-f316ca4a.entry.js.map} +0 -0
  422. /package/dist/paperless/{p-d9c3b86c.entry.js.map → p-1bcab63c.entry.js.map} +0 -0
  423. /package/dist/paperless/{p-ad5e0d36.entry.js.map → p-2a308795.entry.js.map} +0 -0
  424. /package/dist/paperless/{p-e3d8c6d2.entry.js.map → p-34c50c0c.entry.js.map} +0 -0
  425. /package/dist/paperless/{p-8e20e931.entry.js.map → p-5eeacebe.entry.js.map} +0 -0
  426. /package/dist/paperless/{p-43693929.entry.js.map → p-7b742ec4.entry.js.map} +0 -0
  427. /package/dist/paperless/{p-47e97f8b.entry.js.map → p-8035bea4.entry.js.map} +0 -0
  428. /package/dist/paperless/{p-fcc4b9b1.entry.js.map → p-beb2f576.entry.js.map} +0 -0
  429. /package/dist/paperless/{p-612f8b0a.entry.js.map → p-c4d49657.entry.js.map} +0 -0
  430. /package/dist/paperless/{p-6fdb490c.entry.js.map → p-e2269c0d.entry.js.map} +0 -0
  431. /package/dist/paperless/{p-7eee6673.entry.js.map → p-f316ca4a.entry.js.map} +0 -0
  432. /package/dist/types/components/{deprecated/atoms → atoms}/card/container/card-container.component.d.ts +0 -0
@@ -0,0 +1,19 @@
1
+ import { h } from "@stencil/core";
2
+ export class CardBody {
3
+ render() {
4
+ return h("slot", { key: '4d413bbe646e1b3b8089d99ee582dbc2080c6a33' });
5
+ }
6
+ static get is() { return "p-card-body"; }
7
+ static get encapsulation() { return "shadow"; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["card-body.component.css"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["card-body.component.css"]
16
+ };
17
+ }
18
+ }
19
+ //# sourceMappingURL=card-body.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-body.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/card/body/card-body.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAO7C,MAAM,OAAO,QAAQ;IACpB,MAAM;QACL,OAAO,8DAAQ,CAAC;IACjB,CAAC;;;;;;;;;CACD","sourcesContent":["import { Component, h } from '@stencil/core';\n\n@Component({\n\ttag: 'p-card-body',\n\tstyleUrl: 'card-body.component.css',\n\tshadow: true,\n})\nexport class CardBody {\n\trender() {\n\t\treturn <slot />;\n\t}\n}\n"]}
@@ -0,0 +1 @@
1
+ .inline-block{display:inline-block!important}*{box-sizing:border-box}:host{display:inline-block;width:100%}.static{position:static!important}.flex{display:flex!important}.w-inherit{width:inherit!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.rounded-2xl{border-radius:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-200{--tw-bg-opacity:1!important;background-color:rgb(250 249 248/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px 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}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\:bg-off-white-200:hover{--tw-bg-opacity:1!important;background-color:rgb(250 249 248/var(--tw-bg-opacity,1))!important}.hover\:shadow-2:hover{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!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}
@@ -1,4 +1,28 @@
1
- import { h, Host } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
+ import { cva } from "class-variance-authority";
3
+ import { asBoolean } from "../../../../utils/as-boolean";
4
+ const container = cva([
5
+ 'flex flex-col w-inherit',
6
+ 'rounded-2xl border border-solid border-off-white-700 bg-white',
7
+ ], {
8
+ variants: {
9
+ hoverable: {
10
+ true: 'cursor-pointer bg-off-white-200',
11
+ false: null,
12
+ },
13
+ shadow: {
14
+ false: null,
15
+ true: 'shadow-1',
16
+ },
17
+ },
18
+ compoundVariants: [
19
+ {
20
+ shadow: true,
21
+ hoverable: true,
22
+ class: 'hover:shadow-2 hover:bg-off-white-200',
23
+ },
24
+ ],
25
+ });
2
26
  export class CardContainer {
3
27
  /**
4
28
  * Wether the card should be hoverable
@@ -9,13 +33,16 @@ export class CardContainer {
9
33
  */
10
34
  shadow = true;
11
35
  render() {
12
- return (h(Host, { key: 'c6bb3d675bd6615a6278f4bf90a3fda724e981e2', class: 'p-card-container group' }, h("slot", { key: '938732fdd89a18dca94336b2e5089e6e64c37647' })));
36
+ return (h("div", { key: '00e6b84100fa3f75de46c27a6653a66bef61ce6e', class: container({
37
+ shadow: asBoolean(this.shadow, true),
38
+ hoverable: asBoolean(this.hoverable, false),
39
+ }) }, h("slot", { key: '5fc4e674a3aa17742565a9f9c3a720c71fe88852' })));
13
40
  }
14
41
  static get is() { return "p-card-container"; }
15
42
  static get encapsulation() { return "shadow"; }
16
43
  static get originalStyleUrls() {
17
44
  return {
18
- "$": ["card-container.component.scss"]
45
+ "$": ["card-container.component.css"]
19
46
  };
20
47
  }
21
48
  static get styleUrls() {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-container.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/card/container/card-container.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,yBAAyB;IACzB,+DAA+D;CAC/D,EACD;IACC,QAAQ,EAAE;QACT,SAAS,EAAE;YACV,IAAI,EAAE,iCAAiC;YACvC,KAAK,EAAE,IAAI;SACX;QACD,MAAM,EAAE;YACP,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,UAAU;SAChB;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,uCAAuC;SAC9C;KACD;CACD,CACD,CAAC;AAOF,MAAM,OAAO,aAAa;IACzB;;OAEG;IACsB,SAAS,GAAY,KAAK,CAAC;IAEpD;;OAEG;IACsB,MAAM,GAAY,IAAI,CAAC;IAEhD,MAAM;QACL,OAAO,CACN,4DACC,KAAK,EAAE,SAAS,CAAC;gBAChB,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC;gBACpC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;aAC3C,CAAC;YAEF,8DAAQ,CACH,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex flex-col w-inherit',\n\t\t'rounded-2xl border border-solid border-off-white-700 bg-white',\n\t],\n\t{\n\t\tvariants: {\n\t\t\thoverable: {\n\t\t\t\ttrue: 'cursor-pointer bg-off-white-200',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tshadow: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'shadow-1',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tshadow: true,\n\t\t\t\thoverable: true,\n\t\t\t\tclass: 'hover:shadow-2 hover:bg-off-white-200',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-card-container',\n\tstyleUrl: 'card-container.component.css',\n\tshadow: true,\n})\nexport class CardContainer {\n\t/**\n\t * Wether the card should be hoverable\n\t */\n\t@Prop({ reflect: true }) hoverable: boolean = false;\n\n\t/**\n\t * Wether the card should have shadow\n\t */\n\t@Prop({ reflect: true }) shadow: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={container({\n\t\t\t\t\tshadow: asBoolean(this.shadow, true),\n\t\t\t\t\thoverable: asBoolean(this.hoverable, false),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -0,0 +1 @@
1
+ *{box-sizing:border-box}.static{position:static!important}.relative{position:relative!important}.z-\[1\]{z-index:1!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.aspect-\[5\/1\]{aspect-ratio:5/1!important}.h-8{height:2rem!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-3{padding-bottom:.75rem!important}.pt-3,.py-3{padding-top:.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-bold{font-weight:700!important}.empty\:hidden:empty{display:none!important}
@@ -0,0 +1,179 @@
1
+ import { h } from "@stencil/core";
2
+ import { cva } from "class-variance-authority";
3
+ const header = cva('inline-flex w-full relative flex-col justify-start z-[1] rounded-t-2xl overflow-hidden relative', {
4
+ variants: {
5
+ variant: {
6
+ default: 'px-4',
7
+ curve: 'aspect-[5/1]',
8
+ },
9
+ },
10
+ });
11
+ const content = cva('flex items-center gap-2', {
12
+ variants: {
13
+ variant: {
14
+ default: 'py-3',
15
+ curve: 'px-4 pt-3',
16
+ },
17
+ },
18
+ });
19
+ const title = cva('h-8 flex items-center font-bold text-sm');
20
+ export class CardHeader {
21
+ /**
22
+ * The variant of the card header
23
+ */
24
+ variant = 'default';
25
+ /**
26
+ * Content of the card header
27
+ */
28
+ header;
29
+ /**
30
+ * Icon to show on the button
31
+ */
32
+ icon;
33
+ /**
34
+ * Icon flip
35
+ */
36
+ iconFlip;
37
+ /**
38
+ * Icon rotate
39
+ */
40
+ iconRotate;
41
+ render() {
42
+ return (h("div", { key: '6378b016cd5dc26146638c4eae348b1ed8f5fce6', class: header({
43
+ variant: this.variant,
44
+ }) }, h("div", { key: 'b9b14f7de0f83e331ee2850559f274682d9f4db4', class: content({
45
+ variant: this.variant,
46
+ }) }, this.icon ? (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })) : (h("slot", { name: 'prefix' })), h("div", { key: '5cdc183c798abab177305ef88e9ed7ff04740d64', class: title() }, h("span", { key: 'c96e5d70c6a96bf82feaedfb0540cbd433d15ec1' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '8de7948c875639fc2331c610fcf6c11103908647', name: 'content-suffix' })), h("div", { key: '58d8681aac18b416462e266336bb3e2d33de6436', class: 'ml-auto empty:hidden' }, h("slot", { key: '5fa851c3ec83e9fb74115183b6f83282d0702451', name: 'suffix' }))), this.variant === 'default' ? (h("p-divider", null)) : (h("p-smile", { variant: 'card' }))));
47
+ }
48
+ static get is() { return "p-card-header"; }
49
+ static get encapsulation() { return "shadow"; }
50
+ static get originalStyleUrls() {
51
+ return {
52
+ "$": ["card-header.component.css"]
53
+ };
54
+ }
55
+ static get styleUrls() {
56
+ return {
57
+ "$": ["card-header.component.css"]
58
+ };
59
+ }
60
+ static get properties() {
61
+ return {
62
+ "variant": {
63
+ "type": "string",
64
+ "attribute": "variant",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "'default' | 'curve'",
68
+ "resolved": "\"curve\" | \"default\"",
69
+ "references": {}
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "The variant of the card header"
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": false,
80
+ "defaultValue": "'default'"
81
+ },
82
+ "header": {
83
+ "type": "string",
84
+ "attribute": "header",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "string",
88
+ "resolved": "string",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": "Content of the card header"
96
+ },
97
+ "getter": false,
98
+ "setter": false,
99
+ "reflect": false
100
+ },
101
+ "icon": {
102
+ "type": "string",
103
+ "attribute": "icon",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "IconVariant",
107
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\" | \"checkmarkThick\"",
108
+ "references": {
109
+ "IconVariant": {
110
+ "location": "import",
111
+ "path": "../../../atoms/icon/icon.component",
112
+ "id": "src/components/atoms/icon/icon.component.tsx::IconVariant"
113
+ }
114
+ }
115
+ },
116
+ "required": false,
117
+ "optional": true,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "Icon to show on the button"
121
+ },
122
+ "getter": false,
123
+ "setter": false,
124
+ "reflect": false
125
+ },
126
+ "iconFlip": {
127
+ "type": "string",
128
+ "attribute": "icon-flip",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "IconFlipOptions",
132
+ "resolved": "\"horizontal\" | \"none\" | \"vertical\"",
133
+ "references": {
134
+ "IconFlipOptions": {
135
+ "location": "import",
136
+ "path": "../../../atoms/icon/icon.component",
137
+ "id": "src/components/atoms/icon/icon.component.tsx::IconFlipOptions"
138
+ }
139
+ }
140
+ },
141
+ "required": false,
142
+ "optional": true,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": "Icon flip"
146
+ },
147
+ "getter": false,
148
+ "setter": false,
149
+ "reflect": false
150
+ },
151
+ "iconRotate": {
152
+ "type": "number",
153
+ "attribute": "icon-rotate",
154
+ "mutable": false,
155
+ "complexType": {
156
+ "original": "RotateOptions",
157
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
158
+ "references": {
159
+ "RotateOptions": {
160
+ "location": "import",
161
+ "path": "../../../../types/tailwind",
162
+ "id": "src/types/tailwind.ts::RotateOptions"
163
+ }
164
+ }
165
+ },
166
+ "required": false,
167
+ "optional": true,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "Icon rotate"
171
+ },
172
+ "getter": false,
173
+ "setter": false,
174
+ "reflect": false
175
+ }
176
+ };
177
+ }
178
+ }
179
+ //# sourceMappingURL=card-header.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-header.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/card/header/card-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAQ/C,MAAM,MAAM,GAAG,GAAG,CACjB,iGAAiG,EACjG;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,cAAc;SACrB;KACD;CACD,CACD,CAAC;AAEF,MAAM,OAAO,GAAG,GAAG,CAAC,yBAAyB,EAAE;IAC9C,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,WAAW;SAClB;KACD;CACD,CAAC,CAAC;AACH,MAAM,KAAK,GAAG,GAAG,CAAC,yCAAyC,CAAC,CAAC;AAO7D,MAAM,OAAO,UAAU;IACtB;;OAEG;IACK,OAAO,GAAwB,SAAS,CAAC;IAEjD;;OAEG;IACK,MAAM,CAAS;IAEvB;;OAEG;IACK,IAAI,CAAe;IAE3B;;OAEG;IACK,QAAQ,CAAmB;IAEnC;;OAEG;IACK,UAAU,CAAiB;IAEnC,MAAM;QACL,OAAO,CACN,4DACC,KAAK,EAAE,MAAM,CAAC;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;aACrB,CAAC;YAEF,4DACC,KAAK,EAAE,OAAO,CAAC;oBACd,OAAO,EAAE,IAAI,CAAC,OAAO;iBACrB,CAAC;gBAED,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACZ,cACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,CAAC,CAAC,CAAC,CACH,YAAM,IAAI,EAAC,QAAQ,GAAG,CACtB;gBAED,4DAAK,KAAK,EAAE,KAAK,EAAE;oBAClB,+DAAO,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,eAAQ,CAAQ;oBAE3D,6DAAM,IAAI,EAAC,gBAAgB,GAAG,CACzB;gBAEN,4DAAK,KAAK,EAAC,sBAAsB;oBAChC,6DAAM,IAAI,EAAC,QAAQ,GAAG,CACjB,CACD;YAEL,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,oBAAa,CACb,CAAC,CAAC,CAAC,CACH,eAAS,OAAO,EAAC,MAAM,GAAG,CAC1B,CACI,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nimport { RotateOptions } from '../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\n\nconst header = cva(\n\t'inline-flex w-full relative flex-col justify-start z-[1] rounded-t-2xl overflow-hidden relative',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'px-4',\n\t\t\t\tcurve: 'aspect-[5/1]',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst content = cva('flex items-center gap-2', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: 'py-3',\n\t\t\tcurve: 'px-4 pt-3',\n\t\t},\n\t},\n});\nconst title = cva('h-8 flex items-center font-bold text-sm');\n\n@Component({\n\ttag: 'p-card-header',\n\tstyleUrl: 'card-header.component.css',\n\tshadow: true,\n})\nexport class CardHeader {\n\t/**\n\t * The variant of the card header\n\t */\n\t@Prop() variant: 'default' | 'curve' = 'default';\n\n\t/**\n\t * Content of the card header\n\t */\n\t@Prop() header: string;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon?: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip?: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate?: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={header({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass={content({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.icon ? (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<slot name='prefix' />\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t<span>{this.header?.length ? this.header : <slot />}</span>\n\n\t\t\t\t\t\t<slot name='content-suffix' />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class='ml-auto empty:hidden'>\n\t\t\t\t\t\t<slot name='suffix' />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t{this.variant === 'default' ? (\n\t\t\t\t\t<p-divider />\n\t\t\t\t) : (\n\t\t\t\t\t<p-smile variant='card' />\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -78,13 +78,13 @@ export class Checkbox {
78
78
  indeterminateChange;
79
79
  _nonce = nonce(5);
80
80
  render() {
81
- return (h(Host, { key: 'd9573457ec4d42d1ff4c538031513b8e4554a850', class: 'p-checkbox' }, h("label", { key: '4f0f1243d89cc87ed848108fce70a33bb7cd5856', htmlFor: this.id ?? this._nonce, class: 'group/p-checkbox flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '6df67fb1f0fc97b7bd7d80bbbd7e8cc892460275', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: 'c4e6e00a2840aabcc6c1d49ddc76bf9d688a42e5', class: checkbox({
81
+ return (h(Host, { key: '67d7d568e204e24280ec939c20b9df9940d32866', class: 'p-checkbox' }, h("label", { key: '1726a9fd3784633f385ab222399e0d9749d9a757', htmlFor: this.id ?? this._nonce, class: 'group/p-checkbox flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '0dbf6abd950aa26e270ab2d7ca561636693d1cad', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '50d16cd9e048c16b4d0e65b92f757822f5902b1b', class: checkbox({
82
82
  disabled: asBoolean(this.disabled),
83
- }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: asBoolean(this.required), checked: asBoolean(this.checked), indeterminate: asBoolean(this.indeterminate), disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '9ee2ebc27b636a474e63e44c3515ea0fef9a1887', class: iconContainer({
83
+ }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: asBoolean(this.required), checked: asBoolean(this.checked), indeterminate: asBoolean(this.indeterminate), disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'f2277819802479082dcde7b097cc50dd63ef6b96', class: iconContainer({
84
84
  disabled: asBoolean(this.disabled),
85
- }) }, h("p-icon", { key: '24ca637e5aa34589876a5eb2708860e2352ef223', class: icon({
85
+ }) }, h("p-icon", { key: 'aa0fac6a58bc4ea1d8b58ccaf0bcdb68b75720b9', class: icon({
86
86
  disabled: asBoolean(this.disabled),
87
- }), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("slot", { key: '7ea90515e5a5a438e39a9036ff6827c446dfc631' }))));
87
+ }), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("slot", { key: '0157e7ac4d91ce25d30b3464a91b9473228d6320' }))));
88
88
  }
89
89
  _onChange(ev) {
90
90
  if (this.disabled) {
@@ -24,7 +24,7 @@ export class Divider {
24
24
  _el;
25
25
  render() {
26
26
  const hasContent = this._el.innerHTML?.length > 0;
27
- return (h("div", { key: 'a9dbb1e137960e8c18d0e76b7a0bf5512f51a31d', class: content({ variant: this.variant }) }, h("div", { key: '160e331e3324c4c44f7fbc5173b408aa324b59a7', class: 'flex items-center px-2 text-xs font-semibold uppercase text-black-teal-200 empty:px-0' }, hasContent && h("slot", { key: 'eaa13d94955eae527c020ebfddefd340a7e5af2d' }))));
27
+ return (h("div", { key: '6842e9c1ed25dfedf512699ccefd6a6238f73069', class: content({ variant: this.variant }) }, h("div", { key: 'a88cbab05f70668e43dcf8dec50b35388ae00b64', class: 'flex items-center px-2 text-xs font-semibold uppercase text-black-teal-200 empty:px-0' }, hasContent && h("slot", { key: '51a6bdbba2d414ce0edf068761a29623e14ed6eb' }))));
28
28
  }
29
29
  static get is() { return "p-divider"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -65,14 +65,14 @@ export class DropdownMenuContainer {
65
65
  : this.scrollable === true
66
66
  ? 'default'
67
67
  : this.scrollable;
68
- return (h(Host, { key: 'dfb6388466c6837cd2a14e6d99f5e6ac8563715e', class: dropdownMenuContainer({
68
+ return (h(Host, { key: '0e445331c36d540c7940b47d6147d6db9816a874', class: dropdownMenuContainer({
69
69
  class: this.class,
70
70
  variant: this.variant,
71
71
  fullWidth: asBoolean(this.fullWidth, true),
72
72
  allowOverflow: asBoolean(this.allowOverflow),
73
73
  scrollable,
74
74
  maxWidth: this.maxWidth,
75
- }) }, h("div", { key: 'b2e60a775b74c83b4c5645ace6b53bc2589d0b38', class: 'flex w-full flex-col gap-[1px]' }, h("slot", { key: '85780cfca828d4f5e768d1dee91d5e0d45c4b419' }))));
75
+ }) }, h("div", { key: '3d53bacb58aaff1e821b55370ba356af07d5963a', class: 'flex w-full flex-col gap-[1px]' }, h("slot", { key: 'ab9b394b139acd57b525cf8be333710ca3de63a8' }))));
76
76
  }
77
77
  static get is() { return "p-dropdown-menu-container"; }
78
78
  static get originalStyleUrls() {
@@ -180,16 +180,16 @@ export class DropdownMenuItem {
180
180
  */
181
181
  useContainer = true;
182
182
  render() {
183
- return (h(Host, { key: '52bc9a53da295c486a45e0144251e9c0add3077b' }, h("div", { key: 'b48d2752af7a092538a01d27628618badf2fb04d', class: dropdownMenuItem({
183
+ return (h(Host, { key: '9988f9820d29da62faa86e699b579bd1f0182dd3' }, h("div", { key: '572c2fb6e83f3b16442f1d632a0670d2ba597818', class: dropdownMenuItem({
184
184
  variant: this.variant,
185
185
  active: asBoolean(this.active),
186
186
  enableHover: asBoolean(this.enableHover ?? true, true),
187
187
  disabled: asBoolean(this.disabled),
188
- }) }, this.icon && (h("p-icon", { key: '34a7a4e66d782633ce30adaf6b6969340fbf3fe2', class: dropdownMenuItemIcon({
188
+ }) }, this.icon && (h("p-icon", { key: 'b8ea66b55ebc40d2335b4111d35168c652ebcc88', class: dropdownMenuItemIcon({
189
189
  variant: this.variant,
190
190
  active: asBoolean(this.active),
191
191
  disabled: asBoolean(this.disabled),
192
- }), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '1c41fe15dbd87d4300ea4278f7ffd0c0f16fc5f9', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, h("slot", null))) : (h("slot", null)))));
192
+ }), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: 'c3d848b1ac7bb769fed2a504cc7f07213d27ac97', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, h("slot", null))) : (h("slot", null)))));
193
193
  }
194
194
  static get is() { return "p-dropdown-menu-item"; }
195
195
  static get encapsulation() { return "shadow"; }
@@ -73,10 +73,10 @@ export class FloatingMenuItem {
73
73
  */
74
74
  iconRotate;
75
75
  render() {
76
- return (h(Host, { key: '5d26c80c60e69c0fd4c8bebd737919dd3e31498d', class: item({
76
+ return (h(Host, { key: '3ef3d546e4935bb5e8d7869e059a53352ed28c20', class: item({
77
77
  hover: asBoolean(this.hover) && !asBoolean(this.loading),
78
78
  disabled: asBoolean(this.disabled),
79
- }) }, this._getIcon(), h("p", { key: 'bf1efcfefa4c7f0316f178ae31b4fa57be7a5aeb', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold' }, h("slot", { key: '25363959562da60c3905693b2c509e8ac83a118c' }))));
79
+ }) }, this._getIcon(), h("p", { key: 'f3f2afe092dbf59117576e25634dd24588b446d3', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold' }, h("slot", { key: '187d4b148f1a8c8299262b1713e6437920f956d8' }))));
80
80
  }
81
81
  _getIcon() {
82
82
  if (!this.icon && !this.loading) {
@@ -9,7 +9,7 @@ export class Helper {
9
9
  */
10
10
  placement = 'top';
11
11
  render() {
12
- return (h(Host, { key: 'f55580e64c528a42e1c88e7b380792597563988a', class: 'p-helper' }, h("p-tooltip", { key: 'da374164ea5130aa3cea52300e6f003aed9d09dc', placement: this.placement, strategy: this.strategy }, h("div", { key: '4374e85d301a309e721c1552402baa1431196c87', slot: 'content' }, h("slot", { key: '17f08b3f95c01f218e7b858f4e9a01907c663d47' })), h("p-icon", { key: '0740675127e9a2808c8902de287edc5eddb6073d', size: 'sm', class: 'cursor-pointer text-black-teal-300 hover:text-black-teal', variant: 'question-circle', slot: 'trigger' }))));
12
+ return (h(Host, { key: 'e34ef3cf17fbaf8e34187cc04e2dd70b733bc15e', class: 'p-helper' }, h("p-tooltip", { key: '584b53eb4935c0e2e6c1f05c64355bb975ec073c', placement: this.placement, strategy: this.strategy }, h("div", { key: '45cef81d85e6c7cbf8b3551cb05301f96b584d45', slot: 'content' }, h("slot", { key: 'e9f0ee0db5f8acaa87f8b80311daa7783900426f' })), h("p-icon", { key: 'ae7a0a5de07501bc6a47b452cfb0dab0c7de93dc', size: 'sm', class: 'cursor-pointer text-black-teal-300 hover:text-black-teal', variant: 'question-circle', slot: 'trigger' }))));
13
13
  }
14
14
  static get is() { return "p-helper"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class IbanIcon {
15
15
  variant = this.iban.slice(4, 8).toLowerCase();
16
16
  }
17
17
  const exists = IBAN_ICON_VARIANTS_ARRAY.includes(variant);
18
- return (exists && (h(Host, { key: 'fab68ec2bcac1f7e973be4703df6fd24b983fa1e', class: 'p-iban-icon' }, this._getIcon(variant))));
18
+ return (exists && (h(Host, { key: '09a55e1cab7d1f89d1929d4d1f9467641a7af8bc', class: 'p-iban-icon' }, this._getIcon(variant))));
19
19
  }
20
20
  _getIcon(variant) {
21
21
  switch (variant) {
@@ -22,10 +22,10 @@ export class ModalBody {
22
22
  */
23
23
  roundedTop = false;
24
24
  render() {
25
- return (h("div", { key: 'b919ad927432ccfb9c77b6f4f25ee5f6dab3385a', class: body({
25
+ return (h("div", { key: '245ca00373550d46435d4d94e6ce057196827cc0', class: body({
26
26
  roundedBottom: this.roundedBottom,
27
27
  roundedTop: this.roundedTop,
28
- }) }, h("slot", { key: '6dbc9c3125e90650223261c0f17ea2bcf0ea32ee' })));
28
+ }) }, h("slot", { key: 'da8d9ad1be38ecdb4596fd3fcbbc219b59de0669' })));
29
29
  }
30
30
  static get is() { return "p-modal-body"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- .flex{display:flex!important}.w-full{width:100%!important}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%;&.opening{animation:slideInBottom .5s ease forwards!important}@media (min-width:64rem){&.opening{animation:slideInBottomSmall .5s ease forwards!important}}&.closing{animation:slideOutBottom .5s ease forwards!important}@media (min-width:64rem){&.closing{animation:slideOutBottomSmall .5s ease forwards!important}}}@media (min-width:64rem){:host{margin:auto}}@media (min-width:64rem){.desktop-xs\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}.desktop-xs\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\[calc\(100dvh-4rem\)\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 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}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\:max-w-\[35rem\]{max-width:35rem!important}.tablet\:max-w-\[40rem\]{max-width:40rem!important}.tablet\:max-w-\[45rem\]{max-width:45rem!important}.tablet\:max-w-\[65rem\]{max-width:65rem!important}}@media (min-width:64rem){.desktop-xs\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}
1
+ .flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\[calc\(100dvh-4rem\)\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 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}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\:max-w-\[35rem\]{max-width:35rem!important}.tablet\:max-w-\[40rem\]{max-width:40rem!important}.tablet\:max-w-\[45rem\]{max-width:45rem!important}.tablet\:max-w-\[65rem\]{max-width:65rem!important}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}.desktop-xs\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}
@@ -16,8 +16,8 @@ const container = cva([
16
16
  '2xl': 'tablet:max-w-[65rem]',
17
17
  },
18
18
  closing: {
19
- false: 'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small opening',
20
- true: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small closing',
19
+ false: 'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',
20
+ true: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',
21
21
  },
22
22
  },
23
23
  });
@@ -31,10 +31,10 @@ export class ModalContainer {
31
31
  */
32
32
  closing = false;
33
33
  render() {
34
- return (h("div", { key: '267d424bc9f365fa5887ed15f7fc92ce55d3d46d', class: container({
34
+ return (h("div", { key: '8ded1d67155fb117f94008ef1699160d69bca523', class: container({
35
35
  size: this.size,
36
36
  closing: asBoolean(this.closing),
37
- }) }, h("slot", { key: 'ee1aedf34b4d04394778fbec1eb7184189fddd07' })));
37
+ }) }, h("slot", { key: '6b8dab4204171b31e79b4951105f25dc2496110b' })));
38
38
  }
39
39
  static get is() { return "p-modal-container"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"modal-container.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/modal/container/modal-container.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,uBAAuB;IAEvB,uBAAuB;IACvB,uDAAuD;IAEvD,2BAA2B;IAE3B,cAAc;CACd,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,IAAI,EAAE,sBAAsB;YAC5B,EAAE,EAAE,sBAAsB;YAC1B,EAAE,EAAE,sBAAsB;YAC1B,KAAK,EAAE,sBAAsB;SAC7B;QACD,OAAO,EAAE;YACR,KAAK,EACJ,0EAA0E;YAC3E,IAAI,EAAE,4EAA4E;SAClF;KACD;CACD,CACD,CAAC;AAOF,MAAM,OAAO,cAAc;IAC1B;;OAEG;IACK,IAAI,GAAiC,MAAM,CAAC;IAEpD;;OAEG;IACK,OAAO,GAAY,KAAK,CAAC;IAEjC,MAAM;QACL,OAAO,CACN,4DACC,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;aAChC,CAAC;YAEF,8DAAQ,CACH,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[40rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small opening',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small closing',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\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<div\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"modal-container.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/modal/container/modal-container.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,uBAAuB;IAEvB,uBAAuB;IACvB,uDAAuD;IAEvD,2BAA2B;IAE3B,cAAc;CACd,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,IAAI,EAAE,sBAAsB;YAC5B,EAAE,EAAE,sBAAsB;YAC1B,EAAE,EAAE,sBAAsB;YAC1B,KAAK,EAAE,sBAAsB;SAC7B;QACD,OAAO,EAAE;YACR,KAAK,EACJ,kEAAkE;YACnE,IAAI,EAAE,wFAAwF;SAC9F;KACD;CACD,CACD,CAAC;AAOF,MAAM,OAAO,cAAc;IAC1B;;OAEG;IACK,IAAI,GAAiC,MAAM,CAAC;IAEpD;;OAEG;IACK,OAAO,GAAY,KAAK,CAAC;IAEjC,MAAM;QACL,OAAO,CACN,4DACC,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;aAChC,CAAC;YAEF,8DAAQ,CACH,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[40rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\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<div\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ModalFooter {
3
3
  render() {
4
- return (h("div", { key: 'ace18a75652b870bd7bef7e929c2a8c7e6e1b3dc', class: 'flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl' }, h("p-divider", { key: '3a71bdc738d5ff7aa975c4d51a19071ee33c1ad5', class: 'mb-4 hidden desktop-xs:inline-block' }), h("div", { key: 'c60cd78982573439cb8cafe14fdc343957d7dfe0', class: 'flex flex-col gap-4 px-4 tablet:flex-row' }, h("slot", { key: 'bc90d117ae82393da5346481decee6b9307c5f2d' }))));
4
+ return (h("div", { key: '297a22e286ff7d80cea94bfdbd934e7cd1918c28', class: 'flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl' }, h("p-divider", { key: 'b3abfeefbc033d06e3bc2336ab13a64db9e3d204', class: 'mb-4 hidden desktop-xs:inline-block' }), h("div", { key: 'f1171bafd44d460bc00968cc2c33e2aff658eddc', class: 'flex flex-col gap-4 px-4 tablet:flex-row' }, h("slot", { key: 'd6f31b6a024b40f5fc2d759e892f4a73e28eb4c8' }))));
5
5
  }
6
6
  static get is() { return "p-modal-footer"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- .flex{display:flex!important}.items-center{align-items:center!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.p-4{padding:1rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:text-3xl{font-size:2rem!important;line-height:2.5rem!important}}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\/2{left:50%!important}.top-1\/2{top:50%!important}.-mb-1{margin-bottom:-.25rem!important}.inline-flex{display:inline-flex!important}.h-12{height:3rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{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-y-1\/2{--tw-translate-y:-50%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.overflow-hidden{overflow:hidden!important}.bg-off-white{background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.bg-off-white,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.pb-0{padding-bottom:0!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.font-bold{font-weight:700!important}
1
+ *{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\/2{left:50%!important}.top-1\/2{top:50%!important}.z-\[1\]{z-index:1!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.aspect-\[7\/1\]{aspect-ratio:7/1!important}.h-12{height:3rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{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-y-1\/2{--tw-translate-y:-50%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.overflow-hidden{overflow:hidden!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.pb-0{padding-bottom:0!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.font-bold{font-weight:700!important}
@@ -1,26 +1,16 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { cva } from "class-variance-authority";
3
- const header = cva('inline-flex w-full flex-col relative bg-white rounded-t-2xl overflow-hidden');
4
- const content = cva(['flex justify-end', 'w-full p-4 pb-0 bg-off-white -mb-1'], {
5
- variants: {
6
- size: {
7
- base: 'h-12',
8
- lg: '',
9
- xl: '',
10
- '2xl': '',
11
- },
12
- },
13
- });
3
+ const header = cva([
4
+ 'w-full flex-col bg-white relative rounded-t-2xl overflow-hidden z-[1]',
5
+ 'inline-flex aspect-[7/1]',
6
+ ]);
7
+ const content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);
14
8
  const title = cva([
15
9
  'flex-1 text-center',
16
10
  'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',
17
11
  'black-teal-500 text-2xl text-ambit font-bold',
18
12
  ]);
19
13
  export class ModalHeader {
20
- /**
21
- * Size of the header
22
- */
23
- size = 'base';
24
14
  /**
25
15
  * Wether to show the close button on mobile
26
16
  */
@@ -30,7 +20,7 @@ export class ModalHeader {
30
20
  */
31
21
  close;
32
22
  render() {
33
- return (h("div", { key: '30f0b347adaabbe1d0368c44f9e99ba28ba490f5', class: header() }, h("div", { key: 'f95496775cdc43b4a2e660a63abba497e6215469', class: content({ size: this.size }) }, h("div", { key: '54042cb8c2f0e9380debb23d161adb74c40af84b', class: title() }, h("slot", { key: '2a425351844b751b324b0fbfd25154fb82baa3e0' })), this.showClose && (h("p-button", { key: 'b61a673aeddb37f9cefd5f64802f11ee79038ddd', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile-footer", { key: '33b02706d4ae226ec537d6eee00369f744998ece' })));
23
+ return (h("div", { key: '35537185c1df8e75d88c745cfc7085d94bb5ace2', class: header() }, h("div", { key: 'e681fa5e87bcb0f00cb86c7f095af92609a86374', class: content() }, h("div", { key: '442f12759e04559cbbb85dcc0fc731012f45405b', class: title() }, h("slot", { key: '2aa0b1a8ed5c6e9cdefb324c9521568a9d4e91e6' })), this.showClose && (h("p-button", { key: 'f2a6d115f98e146631e2f46155be2e033167545e', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '2b49a666d8f9d84cf20e50649c1d7e389d065d10' })));
34
24
  }
35
25
  static get is() { return "p-modal-header"; }
36
26
  static get encapsulation() { return "shadow"; }
@@ -46,26 +36,6 @@ export class ModalHeader {
46
36
  }
47
37
  static get properties() {
48
38
  return {
49
- "size": {
50
- "type": "string",
51
- "attribute": "size",
52
- "mutable": false,
53
- "complexType": {
54
- "original": "'base' | 'lg' | 'xl' | '2xl'",
55
- "resolved": "\"2xl\" | \"base\" | \"lg\" | \"xl\"",
56
- "references": {}
57
- },
58
- "required": false,
59
- "optional": false,
60
- "docs": {
61
- "tags": [],
62
- "text": "Size of the header"
63
- },
64
- "getter": false,
65
- "setter": false,
66
- "reflect": false,
67
- "defaultValue": "'base'"
68
- },
69
39
  "showClose": {
70
40
  "type": "boolean",
71
41
  "attribute": "show-close",
@@ -1 +1 @@
1
- {"version":3,"file":"modal-header.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/modal/header/modal-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,MAAM,GAAG,GAAG,CACjB,6EAA6E,CAC7E,CAAC;AAEF,MAAM,OAAO,GAAG,GAAG,CAClB,CAAC,kBAAkB,EAAE,qCAAqC,CAAC,EAC3D;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,EAAE;SACT;KACD;CACD,CACD,CAAC;AAEF,MAAM,KAAK,GAAG,GAAG,CAAC;IACjB,oBAAoB;IACpB,6DAA6D;IAC7D,8CAA8C;CAC9C,CAAC,CAAC;AAOH,MAAM,OAAO,WAAW;IACvB;;OAEG;IACK,IAAI,GAAiC,MAAM,CAAC;IAEpD;;OAEG;IACK,SAAS,GAAG,IAAI,CAAC;IAEzB;;OAEG;IAIH,KAAK,CAA2B;IAEhC,MAAM;QACL,OAAO,CACN,4DAAK,KAAK,EAAE,MAAM,EAAE;YACnB,4DAAK,KAAK,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;gBACvC,4DAAK,KAAK,EAAE,KAAK,EAAE;oBAClB,8DAAQ,CACH;gBAEL,IAAI,CAAC,SAAS,IAAI,CAClB,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GACvB,CACZ,CACI;YAEN,wEAAkB,CACb,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst header = cva(\n\t'inline-flex w-full flex-col relative bg-white rounded-t-2xl overflow-hidden'\n);\n\nconst content = cva(\n\t['flex justify-end', 'w-full p-4 pb-0 bg-off-white -mb-1'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tbase: 'h-12',\n\t\t\t\tlg: '',\n\t\t\t\txl: '',\n\t\t\t\t'2xl': '',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'black-teal-500 text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Size of the header\n\t */\n\t@Prop() size: 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\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<div class={header()}>\n\t\t\t\t<div class={content({ size: this.size })}>\n\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t></p-button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<p-smile-footer />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"modal-header.component.js","sourceRoot":"","sources":["../../../../../src/components/atoms/modal/header/modal-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,MAAM,GAAG,GAAG,CAAC;IAClB,uEAAuE;IACvE,0BAA0B;CAC1B,CAAC,CAAC;AAEH,MAAM,OAAO,GAAG,GAAG,CAAC,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAElE,MAAM,KAAK,GAAG,GAAG,CAAC;IACjB,oBAAoB;IACpB,6DAA6D;IAC7D,8CAA8C;CAC9C,CAAC,CAAC;AAOH,MAAM,OAAO,WAAW;IACvB;;OAEG;IACK,SAAS,GAAG,IAAI,CAAC;IAEzB;;OAEG;IAIH,KAAK,CAA2B;IAEhC,MAAM;QACL,OAAO,CACN,4DAAK,KAAK,EAAE,MAAM,EAAE;YACnB,4DAAK,KAAK,EAAE,OAAO,EAAE;gBACpB,4DAAK,KAAK,EAAE,KAAK,EAAE;oBAClB,8DAAQ,CACH;gBAEL,IAAI,CAAC,SAAS,IAAI,CAClB,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GACvB,CACZ,CACI;YAEN,iEAAW,CACN,CACN,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst header = cva([\n\t'w-full flex-col bg-white relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1]',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'black-teal-500 text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\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<div class={header()}>\n\t\t\t\t<div class={content()}>\n\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t></p-button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<p-smile />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class NavigationTitle {
3
3
  render() {
4
- return (h(Host, { key: 'fc1f419cd81c04ad18fd482b822e765dc0b6230d', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: '1637274efa34db023290373d07c9a1e693b87ce0' })));
4
+ return (h(Host, { key: '8dff1f21fc4702f62522bcee7d6bb34532d65b05', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: '42eaab0169b94b59df690e53eb7c2941297a64e4' })));
5
5
  }
6
6
  static get is() { return "p-navigation-title"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -77,12 +77,12 @@ export class PaginationPagesItem {
77
77
  */
78
78
  disabled = false;
79
79
  render() {
80
- return (h(Host, { key: 'e6821c7c1142bff0ce42c38c00745b761539d01c', class: item({
80
+ return (h(Host, { key: '425619bc3e67a537c12ec15a4c52c3b2f2563b66', class: item({
81
81
  variant: this.variant,
82
82
  active: this.active,
83
83
  hover: this.hover,
84
84
  disabled: this.disabled,
85
- }) }, h("slot", { key: 'e539bc94d4200ae9678e8e64235bf083cca8d077' })));
85
+ }) }, h("slot", { key: 'e0cde9991e9ca4b735ac449a70b41383b09f77ea' })));
86
86
  }
87
87
  static get is() { return "p-pagination-pages-item"; }
88
88
  static get originalStyleUrls() {