@paperless/core 2.0.1-beta.53 → 2.0.1-beta.55

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 (724) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/{p-4983a0d1.entry.js → p-008e9556.entry.js} +2 -2
  5. package/dist/build/{p-6a92ae6e.entry.js → p-01011a86.entry.js} +2 -2
  6. package/dist/{paperless/p-a5cca13e.entry.js → build/p-03bf9ae8.entry.js} +2 -2
  7. package/dist/build/p-0b15c904.entry.js +2 -0
  8. package/dist/{paperless/p-00fe07fa.entry.js.map → build/p-0b15c904.entry.js.map} +1 -1
  9. package/dist/build/{p-613c983c.entry.js → p-0cdd9a34.entry.js} +2 -2
  10. package/dist/build/p-0e2df91d.entry.js +2 -0
  11. package/dist/build/{p-48c3698b.entry.js → p-18b8822c.entry.js} +2 -2
  12. package/dist/build/p-1f20292e.css +1 -0
  13. package/dist/build/p-244968bd.entry.js +2 -0
  14. package/dist/{paperless/p-c39c9780.entry.js → build/p-355cbd7b.entry.js} +2 -2
  15. package/dist/build/{p-f7cfc0a8.entry.js → p-39515ee1.entry.js} +2 -2
  16. package/dist/build/p-43693929.entry.js +2 -0
  17. package/dist/build/p-43693929.entry.js.map +1 -0
  18. package/dist/build/{p-38c62293.entry.js → p-47b47475.entry.js} +2 -2
  19. package/dist/build/p-47e97f8b.entry.js +2 -0
  20. package/dist/build/{p-4c700290.entry.js → p-4b2245bf.entry.js} +2 -2
  21. package/dist/build/p-4c318a7e.entry.js +2 -0
  22. package/dist/build/p-4c318a7e.entry.js.map +1 -0
  23. package/dist/build/p-4e704926.entry.js +2 -0
  24. package/dist/build/p-519504d2.entry.js +2 -0
  25. package/dist/build/p-519504d2.entry.js.map +1 -0
  26. package/dist/build/{p-6ba956b0.entry.js → p-5769eaeb.entry.js} +2 -2
  27. package/dist/build/p-612f8b0a.entry.js +2 -0
  28. package/dist/build/{p-5fa54f43.entry.js.map → p-612f8b0a.entry.js.map} +1 -1
  29. package/dist/{paperless/p-b0f468c0.entry.js → build/p-621a37c0.entry.js} +2 -2
  30. package/dist/build/p-69bf2e8a.entry.js +2 -0
  31. package/dist/build/p-6b9ae643.entry.js +2 -0
  32. package/dist/{paperless/p-013d7e13.entry.js → build/p-6fdb490c.entry.js} +2 -2
  33. package/dist/build/{p-2986ef0a.entry.js → p-70883f65.entry.js} +2 -2
  34. package/dist/build/{p-1ec7ac2d.entry.js → p-727a9fd3.entry.js} +2 -2
  35. package/dist/build/p-72dc3715.entry.js +2 -0
  36. package/dist/build/p-72dc3715.entry.js.map +1 -0
  37. package/dist/{paperless/p-cb18f4ac.entry.js → build/p-744ea9a0.entry.js} +2 -2
  38. package/dist/build/p-7a5e4081.entry.js +2 -0
  39. package/dist/build/{p-cfa83ad4.entry.js.map → p-7a5e4081.entry.js.map} +1 -1
  40. package/dist/build/{p-c27fee4b.entry.js → p-7ad4fe38.entry.js} +2 -2
  41. package/dist/{paperless/p-4d21da5d.entry.js → build/p-7eee6673.entry.js} +2 -2
  42. package/dist/{paperless/p-4ce5a008.entry.js → build/p-8e20e931.entry.js} +2 -2
  43. package/dist/build/p-93b92b37.entry.js +2 -0
  44. package/dist/build/{p-42416c69.entry.js.map → p-93b92b37.entry.js.map} +1 -1
  45. package/dist/build/{p-a3ad118d.entry.js → p-94a69631.entry.js} +2 -2
  46. package/dist/build/p-CT54OXR2.js +2 -0
  47. package/dist/build/p-CT54OXR2.js.map +1 -0
  48. package/dist/build/{p-c0b769b4.entry.js → p-a1674acd.entry.js} +2 -2
  49. package/dist/build/{p-4de1ba9d.entry.js → p-acd7dd6b.entry.js} +2 -2
  50. package/dist/{paperless/p-74f10d72.entry.js → build/p-ad5e0d36.entry.js} +2 -2
  51. package/dist/build/p-backdrop.entry.esm.js.map +1 -1
  52. package/dist/build/p-bbfb067c.entry.js +2 -0
  53. package/dist/build/p-bc7e1fa1.entry.js +2 -0
  54. package/dist/build/p-bc7e1fa1.entry.js.map +1 -0
  55. package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  56. package/dist/build/{p-7516f0e3.entry.js → p-c1b25e59.entry.js} +2 -2
  57. package/dist/build/p-c4f2d4a2.entry.js +2 -0
  58. package/dist/build/p-c4f2d4a2.entry.js.map +1 -0
  59. package/dist/build/{p-c8133f04.entry.js → p-c98b14bd.entry.js} +2 -2
  60. package/dist/build/{p-12f0b242.entry.js → p-ca03c040.entry.js} +2 -2
  61. package/dist/{paperless/p-a9601a00.entry.js → build/p-cb08d5db.entry.js} +2 -2
  62. package/dist/build/p-cb4f619c.js +2 -0
  63. package/dist/build/{p-19505985.entry.js → p-d2bc9a74.entry.js} +2 -2
  64. package/dist/build/{p-bfaaeb71.entry.js → p-d657dfff.entry.js} +2 -2
  65. package/dist/{paperless/p-adae70ec.entry.js → build/p-d9c3b86c.entry.js} +2 -2
  66. package/dist/build/p-divider.entry.esm.js.map +1 -1
  67. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  68. package/dist/build/{p-bd2cbf63.entry.js → p-e28427c0.entry.js} +2 -2
  69. package/dist/{paperless/p-cc7bd29f.entry.js → build/p-e3d8c6d2.entry.js} +2 -2
  70. package/dist/build/{p-76ec0b7d.entry.js → p-e4cbcec7.entry.js} +2 -2
  71. package/dist/build/{p-abbdbdb3.entry.js → p-e4e1c19d.entry.js} +2 -2
  72. package/dist/{paperless/p-abbdbdb3.entry.js.map → build/p-e4e1c19d.entry.js.map} +1 -1
  73. package/dist/build/{p-6d3d326d.entry.js → p-f0585175.entry.js} +2 -2
  74. package/dist/build/{p-3afec17c.entry.js → p-fcc4b9b1.entry.js} +2 -2
  75. package/dist/{paperless/p-3afec17c.entry.js.map → build/p-fcc4b9b1.entry.js.map} +1 -1
  76. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  77. package/dist/build/p-modal.entry.esm.js.map +1 -1
  78. package/dist/build/p-smile-footer.entry.esm.js.map +1 -0
  79. package/dist/build/p-stepper-item.entry.esm.js.map +1 -1
  80. package/dist/build/p-stepper-line.entry.esm.js.map +1 -1
  81. package/dist/build/paperless.css +1 -1
  82. package/dist/build/paperless.esm.js +1 -1
  83. package/dist/cjs/{cn-Cd68UVBT.js → cn-BGmLaIp8.js} +276 -32
  84. package/dist/cjs/cn-BGmLaIp8.js.map +1 -0
  85. package/dist/cjs/index-DLcBertx.js +4 -0
  86. package/dist/cjs/index.cjs.js +8 -207
  87. package/dist/cjs/index.cjs.js.map +1 -1
  88. package/dist/cjs/loader.cjs.js +1 -1
  89. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  90. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  91. package/dist/cjs/p-backdrop.cjs.entry.js +5 -5
  92. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  93. package/dist/cjs/p-backdrop.entry.cjs.js.map +1 -1
  94. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  95. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  96. package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
  97. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  98. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  99. package/dist/cjs/p-calendar.cjs.entry.js +2 -2
  100. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  101. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  102. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  103. package/dist/cjs/p-checkbox_2.cjs.entry.js +4 -4
  104. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  105. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  106. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  107. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  108. package/dist/cjs/p-divider.cjs.entry.js +8 -14
  109. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  110. package/dist/cjs/p-divider.entry.cjs.js.map +1 -1
  111. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  112. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  113. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  114. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  115. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +6 -6
  116. package/dist/cjs/p-field_2.cjs.entry.js +4 -4
  117. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +8 -8
  118. package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
  119. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  120. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  121. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  122. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  123. package/dist/cjs/p-label.cjs.entry.js +4 -4
  124. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  125. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  126. package/dist/cjs/p-modal-body_4.cjs.entry.js +70 -30
  127. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  128. package/dist/cjs/p-modal.cjs.entry.js +21 -15
  129. package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
  130. package/dist/cjs/p-modal.entry.cjs.js.map +1 -1
  131. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  132. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  133. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  134. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  135. package/dist/cjs/p-pagination.cjs.entry.js +3 -3
  136. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  137. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  138. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  139. package/dist/cjs/p-select.cjs.entry.js +1 -1
  140. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  141. package/dist/cjs/p-smile-footer.cjs.entry.js +20 -0
  142. package/dist/cjs/p-smile-footer.cjs.entry.js.map +1 -0
  143. package/dist/cjs/p-smile-footer.entry.cjs.js.map +1 -0
  144. package/dist/cjs/p-status.cjs.entry.js +2 -2
  145. package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
  146. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  147. package/dist/cjs/p-stepper-item.entry.cjs.js.map +1 -1
  148. package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
  149. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  150. package/dist/cjs/p-stepper-line.entry.cjs.js.map +1 -1
  151. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  152. package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
  153. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  154. package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
  155. package/dist/cjs/p-table.cjs.entry.js +1 -1
  156. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  157. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  158. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  159. package/dist/cjs/paperless.cjs.js +1 -1
  160. package/dist/collection/collection-manifest.json +6 -5
  161. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  162. package/dist/collection/components/atoms/backdrop/backdrop.component.js +6 -5
  163. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  164. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  165. package/dist/collection/components/atoms/divider/divider.component.js +13 -14
  166. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  167. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
  168. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
  169. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  170. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  171. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  172. package/dist/collection/components/atoms/modal/body/modal-body.component.css +1 -0
  173. package/dist/collection/components/{deprecated/atoms → atoms}/modal/body/modal-body.component.js +19 -51
  174. package/dist/collection/components/atoms/modal/body/modal-body.component.js.map +1 -0
  175. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -0
  176. package/dist/collection/components/{deprecated/atoms → atoms}/modal/container/modal-container.component.js +33 -20
  177. package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -0
  178. package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -0
  179. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +19 -0
  180. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js.map +1 -0
  181. package/dist/collection/components/atoms/modal/header/modal-header.component.css +1 -0
  182. package/dist/collection/components/{deprecated/atoms → atoms}/modal/header/modal-header.component.js +44 -3
  183. package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -0
  184. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  185. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  186. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  187. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  188. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  189. package/dist/collection/components/atoms/smile-footer/smile-footer.component.css +1 -0
  190. package/dist/collection/components/atoms/smile-footer/smile-footer.component.js +18 -0
  191. package/dist/collection/components/atoms/smile-footer/smile-footer.component.js.map +1 -0
  192. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  193. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  194. package/dist/collection/components/deprecated/atoms/card/body/card-body.component.js +1 -1
  195. package/dist/collection/components/deprecated/atoms/card/container/card-container.component.js +1 -1
  196. package/dist/collection/components/deprecated/atoms/card/header/card-header.component.js +2 -2
  197. package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
  198. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js +1 -1
  199. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.css +1 -1
  200. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.js +1 -1
  201. package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.js +1 -1
  202. package/dist/collection/components/deprecated/atoms/info-panel/info-panel.component.js +1 -1
  203. package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
  204. package/dist/collection/components/deprecated/atoms/loader/loader.component.css +1 -1
  205. package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
  206. package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
  207. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.css +1 -1
  208. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js +1 -1
  209. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.css +1 -1
  210. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js +1 -1
  211. package/dist/collection/components/deprecated/atoms/tab/group/tab-group.component.js +1 -1
  212. package/dist/collection/components/deprecated/atoms/tab/item/tab-item.component.js +1 -1
  213. package/dist/collection/components/deprecated/atoms/table/container/table-container.component.js +1 -1
  214. package/dist/collection/components/deprecated/atoms/toast-container/toast-container.component.js +1 -1
  215. package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
  216. package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
  217. package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
  218. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
  219. package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
  220. package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
  221. package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js +1 -1
  222. package/dist/collection/components/deprecated/molecules/table/cell/table-cell.component.js +1 -1
  223. package/dist/collection/components/deprecated/molecules/table/footer/table-footer.component.js +1 -1
  224. package/dist/collection/components/deprecated/molecules/table/row/table-row.component.js +2 -2
  225. package/dist/collection/components/deprecated/molecules/toast/toast.component.js +1 -1
  226. package/dist/collection/components/helpers/portal/portal.component.js +1 -1
  227. package/dist/collection/components/molecules/button/button.component.js +3 -3
  228. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  229. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  230. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  231. package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
  232. package/dist/collection/components/molecules/field/field/field.component.js +3 -3
  233. package/dist/collection/components/molecules/label/label.component.js +3 -3
  234. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
  235. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  236. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  237. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  238. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  239. package/dist/collection/components/molecules/select/select.component.js +1 -1
  240. package/dist/collection/components/{deprecated/organisms → organisms}/modal/modal.component.js +25 -59
  241. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -0
  242. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  243. package/dist/collection/tailwind/paperless.js +1 -8
  244. package/dist/collection/tailwind/paperless.js.map +1 -1
  245. package/dist/collection/tailwind/theme/shadows.js +7 -0
  246. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  247. package/dist/collection/tailwind.config.js +0 -1
  248. package/dist/collection/tailwind.config.js.map +1 -1
  249. package/dist/components/index.js +8 -207
  250. package/dist/components/index.js.map +1 -1
  251. package/dist/components/p--LlCJnZJ.js +39 -0
  252. package/dist/components/p--LlCJnZJ.js.map +1 -0
  253. package/dist/components/p-BABnzdIg.js +61 -0
  254. package/dist/components/p-BABnzdIg.js.map +1 -0
  255. package/dist/components/{p-DTNp_N73.js → p-BFgor4dI.js} +5 -5
  256. package/dist/components/{p-DTNp_N73.js.map → p-BFgor4dI.js.map} +1 -1
  257. package/dist/components/{p-BM1VKum1.js → p-BG6U7QYz.js} +3 -3
  258. package/dist/components/{p-BM1VKum1.js.map → p-BG6U7QYz.js.map} +1 -1
  259. package/dist/components/{p-DjK4atKh.js → p-BM8Lv22C.js} +11 -11
  260. package/dist/components/{p-DjK4atKh.js.map → p-BM8Lv22C.js.map} +1 -1
  261. package/dist/components/{p-Cz_cUyMW.js → p-BO10PaSR.js} +4 -4
  262. package/dist/components/{p-Cz_cUyMW.js.map → p-BO10PaSR.js.map} +1 -1
  263. package/dist/components/{p-DTgB2PCO.js → p-BWOIzq0V.js} +5 -5
  264. package/dist/components/{p-DTgB2PCO.js.map → p-BWOIzq0V.js.map} +1 -1
  265. package/dist/components/{p-DmdS4ixK.js → p-Bd5S170U.js} +12 -12
  266. package/dist/components/{p-DmdS4ixK.js.map → p-Bd5S170U.js.map} +1 -1
  267. package/dist/components/p-BeoE8y4t.js +40 -0
  268. package/dist/components/p-BeoE8y4t.js.map +1 -0
  269. package/dist/components/{p-BY0H39XY.js → p-C65dU-F-.js} +7 -7
  270. package/dist/components/{p-BY0H39XY.js.map → p-C65dU-F-.js.map} +1 -1
  271. package/dist/components/{p-DzRWzJmf.js → p-C9_6jSTk.js} +276 -32
  272. package/dist/components/p-C9_6jSTk.js.map +1 -0
  273. package/dist/components/{p-opsKG2Eb.js → p-CJvopJ3x.js} +4 -4
  274. package/dist/components/{p-opsKG2Eb.js.map → p-CJvopJ3x.js.map} +1 -1
  275. package/dist/components/{p-BqOefaSc.js → p-COTTTg9c.js} +8 -8
  276. package/dist/components/{p-BqOefaSc.js.map → p-COTTTg9c.js.map} +1 -1
  277. package/dist/components/{p-fgCai9gE.js → p-CUDyKiPX.js} +3 -3
  278. package/dist/components/{p-fgCai9gE.js.map → p-CUDyKiPX.js.map} +1 -1
  279. package/dist/components/{p-Cwl9G2yh.js → p-CXRp-6BG.js} +5 -5
  280. package/dist/components/{p-Cwl9G2yh.js.map → p-CXRp-6BG.js.map} +1 -1
  281. package/dist/components/p-C_sIecbu.js +70 -0
  282. package/dist/components/p-C_sIecbu.js.map +1 -0
  283. package/dist/components/{p-B6GGNVz2.js → p-Cf24ESpf.js} +6 -6
  284. package/dist/components/{p-B6GGNVz2.js.map → p-Cf24ESpf.js.map} +1 -1
  285. package/dist/components/{p-CvbYpfDR.js → p-CnABRyX2.js} +4 -4
  286. package/dist/components/{p-CvbYpfDR.js.map → p-CnABRyX2.js.map} +1 -1
  287. package/dist/components/{p-BiItbUez.js → p-CubiUj-9.js} +3 -3
  288. package/dist/components/{p-BiItbUez.js.map → p-CubiUj-9.js.map} +1 -1
  289. package/dist/components/{p-Pt0o65Cn.js → p-CwLMxCol.js} +5 -5
  290. package/dist/components/{p-Pt0o65Cn.js.map → p-CwLMxCol.js.map} +1 -1
  291. package/dist/components/{p-DI2Fs1EY.js → p-D24IHbvN.js} +7 -7
  292. package/dist/components/{p-DI2Fs1EY.js.map → p-D24IHbvN.js.map} +1 -1
  293. package/dist/components/p-D6r97Zk0.js +91 -0
  294. package/dist/components/p-D6r97Zk0.js.map +1 -0
  295. package/dist/components/{p-BdpJbfnc.js → p-DHB3oMcL.js} +3 -3
  296. package/dist/components/{p-BdpJbfnc.js.map → p-DHB3oMcL.js.map} +1 -1
  297. package/dist/components/{p-CFTssBCC.js → p-DH_hwyeE.js} +6 -6
  298. package/dist/components/{p-CFTssBCC.js.map → p-DH_hwyeE.js.map} +1 -1
  299. package/dist/components/{p-DbKboE3F.js → p-DNJBM2XN.js} +3 -3
  300. package/dist/components/{p-DbKboE3F.js.map → p-DNJBM2XN.js.map} +1 -1
  301. package/dist/components/{p-BXAHgoEY.js → p-DP9DUvTl.js} +10 -9
  302. package/dist/components/p-DP9DUvTl.js.map +1 -0
  303. package/dist/components/{p-mKrnxw_1.js → p-DUNfb2X8.js} +4 -4
  304. package/dist/components/{p-mKrnxw_1.js.map → p-DUNfb2X8.js.map} +1 -1
  305. package/dist/components/{p-BIRMn8wQ.js → p-DV-XACGy.js} +3 -3
  306. package/dist/components/{p-BIRMn8wQ.js.map → p-DV-XACGy.js.map} +1 -1
  307. package/dist/components/{p-BhiuVzSA.js → p-DavTK-FW.js} +5 -5
  308. package/dist/components/{p-BhiuVzSA.js.map → p-DavTK-FW.js.map} +1 -1
  309. package/dist/components/{p-Bff_TG6G.js → p-DoulR9IJ.js} +4 -4
  310. package/dist/components/{p-Bff_TG6G.js.map → p-DoulR9IJ.js.map} +1 -1
  311. package/dist/components/p-Dyfjx_j0.js +56 -0
  312. package/dist/components/p-Dyfjx_j0.js.map +1 -0
  313. package/dist/components/{p-BHSmQ31H.js → p-E29xiZ5o.js} +4 -4
  314. package/dist/components/{p-BHSmQ31H.js.map → p-E29xiZ5o.js.map} +1 -1
  315. package/dist/components/{p-DWRGcIVC.js → p-GVeLi99N.js} +3 -3
  316. package/dist/components/{p-DWRGcIVC.js.map → p-GVeLi99N.js.map} +1 -1
  317. package/dist/components/{p-Cdz6WnSV.js → p-IyfiAeqp.js} +6 -6
  318. package/dist/components/{p-Cdz6WnSV.js.map → p-IyfiAeqp.js.map} +1 -1
  319. package/dist/components/{p-97AAwgHg.js → p-URubCDKj.js} +5 -5
  320. package/dist/components/{p-97AAwgHg.js.map → p-URubCDKj.js.map} +1 -1
  321. package/dist/components/{p--FcCSVgz.js → p-Xa-E5Gqm.js} +3 -3
  322. package/dist/components/{p--FcCSVgz.js.map → p-Xa-E5Gqm.js.map} +1 -1
  323. package/dist/components/p-ZJWCfnJD.js +33 -0
  324. package/dist/components/p-ZJWCfnJD.js.map +1 -0
  325. package/dist/components/{p-Dd3idUM3.js → p-_5LSH8yj.js} +11 -11
  326. package/dist/components/{p-Dd3idUM3.js.map → p-_5LSH8yj.js.map} +1 -1
  327. package/dist/components/p-accordion.js +2 -2
  328. package/dist/components/p-attachment.js +9 -9
  329. package/dist/components/p-backdrop.js +1 -1
  330. package/dist/components/p-button-group.js +1 -1
  331. package/dist/components/p-button.js +1 -1
  332. package/dist/components/p-calendar.js +1 -1
  333. package/dist/components/p-card-body.js +1 -1
  334. package/dist/components/p-card-container.js +1 -1
  335. package/dist/components/p-card-header.js +2 -2
  336. package/dist/components/p-content-slider.js +3 -3
  337. package/dist/components/p-counter.js +1 -1
  338. package/dist/components/p-cropper.js +2 -2
  339. package/dist/components/p-datepicker.js +12 -12
  340. package/dist/components/p-divider.js +1 -1
  341. package/dist/components/p-drawer-body.js +1 -1
  342. package/dist/components/p-drawer-container.js +1 -1
  343. package/dist/components/p-drawer-header.js +1 -1
  344. package/dist/components/p-drawer.js +6 -6
  345. package/dist/components/p-dropdown-menu-container.js +1 -1
  346. package/dist/components/p-dropdown-menu-item.js +1 -1
  347. package/dist/components/p-dropdown.js +1 -1
  348. package/dist/components/p-field-container.js +1 -1
  349. package/dist/components/p-field.js +1 -1
  350. package/dist/components/p-floating-menu-container.js +1 -1
  351. package/dist/components/p-floating-menu-item.js +1 -1
  352. package/dist/components/p-helper.js +1 -1
  353. package/dist/components/p-iban-icon.js +1 -1
  354. package/dist/components/p-info-panel.js +1 -1
  355. package/dist/components/p-input-error.js +1 -1
  356. package/dist/components/p-input-group.js +7 -7
  357. package/dist/components/p-label.js +4 -4
  358. package/dist/components/p-layout.js +1 -1
  359. package/dist/components/p-loader.js +1 -1
  360. package/dist/components/p-modal-body.js +1 -1
  361. package/dist/components/p-modal-container.js +1 -1
  362. package/dist/components/p-modal-footer.js +1 -1
  363. package/dist/components/p-modal-header.js +1 -1
  364. package/dist/components/p-modal.js +46 -36
  365. package/dist/components/p-modal.js.map +1 -1
  366. package/dist/components/p-navbar.js +4 -4
  367. package/dist/components/p-navigation-item.js +4 -4
  368. package/dist/components/p-navigation-section.js +2 -2
  369. package/dist/components/p-navigation-title.js +1 -1
  370. package/dist/components/p-pagination-pages-item.js +1 -1
  371. package/dist/components/p-pagination-pages.js +1 -1
  372. package/dist/components/p-pagination-size.js +1 -1
  373. package/dist/components/p-pagination.js +11 -11
  374. package/dist/components/p-portal.js +1 -1
  375. package/dist/components/p-profile.js +6 -6
  376. package/dist/components/p-radio.js +3 -3
  377. package/dist/components/p-segment-container.js +1 -1
  378. package/dist/components/p-segment-item.js +1 -1
  379. package/dist/components/p-select.js +11 -11
  380. package/dist/components/p-slider-indicator.js +1 -1
  381. package/dist/components/p-smile-footer.d.ts +11 -0
  382. package/dist/components/p-smile-footer.js +9 -0
  383. package/dist/components/p-smile-footer.js.map +1 -0
  384. package/dist/components/p-status.js +2 -2
  385. package/dist/components/p-stepper-item.js +2 -2
  386. package/dist/components/p-stepper-item.js.map +1 -1
  387. package/dist/components/p-stepper-line.js +1 -1
  388. package/dist/components/p-stepper.js +2 -2
  389. package/dist/components/p-tab-group.js +2 -2
  390. package/dist/components/p-tab-item.js +1 -1
  391. package/dist/components/p-table-cell.js +1 -1
  392. package/dist/components/p-table-container.js +1 -1
  393. package/dist/components/p-table-footer.js +1 -1
  394. package/dist/components/p-table-header.js +1 -1
  395. package/dist/components/p-table-row.js +1 -1
  396. package/dist/components/p-table.js +24 -24
  397. package/dist/components/p-toast-container.js +1 -1
  398. package/dist/components/p-toast.js +3 -3
  399. package/dist/components/p-toggle.js +3 -3
  400. package/dist/components/p-tooltip.js +1 -1
  401. package/dist/esm/{cn-CsNqHcjL.js → cn-BniKgfyU.js} +276 -32
  402. package/dist/esm/cn-BniKgfyU.js.map +1 -0
  403. package/dist/esm/index-I9JY9uxk.js +4 -0
  404. package/dist/esm/index.js +8 -207
  405. package/dist/esm/index.js.map +1 -1
  406. package/dist/esm/loader.js +1 -1
  407. package/dist/esm/p-accordion.entry.js +1 -1
  408. package/dist/esm/p-attachment.entry.js +4 -4
  409. package/dist/esm/p-backdrop.entry.js +6 -6
  410. package/dist/esm/p-backdrop.entry.js.map +1 -1
  411. package/dist/esm/p-badge_3.entry.js +3 -3
  412. package/dist/esm/p-button-group.entry.js +1 -1
  413. package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
  414. package/dist/esm/p-button_3.entry.js +5 -5
  415. package/dist/esm/p-button_3.entry.js.map +1 -1
  416. package/dist/esm/p-calendar.entry.js +2 -2
  417. package/dist/esm/p-card-body.entry.js +1 -1
  418. package/dist/esm/p-card-container.entry.js +1 -1
  419. package/dist/esm/p-card-header.entry.js +2 -2
  420. package/dist/esm/p-checkbox_2.entry.js +4 -4
  421. package/dist/esm/p-content-slider.entry.js +2 -2
  422. package/dist/esm/p-counter.entry.js +1 -1
  423. package/dist/esm/p-cropper.entry.js +2 -2
  424. package/dist/esm/p-datepicker.entry.js +2 -2
  425. package/dist/esm/p-divider.entry.js +9 -15
  426. package/dist/esm/p-divider.entry.js.map +1 -1
  427. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  428. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  429. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  430. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  431. package/dist/esm/p-dropdown-menu-item_4.entry.js +6 -6
  432. package/dist/esm/p-field_2.entry.js +4 -4
  433. package/dist/esm/p-floating-menu-container_8.entry.js +8 -8
  434. package/dist/esm/p-helper_2.entry.js +5 -5
  435. package/dist/esm/p-iban-icon.entry.js +1 -1
  436. package/dist/esm/p-info-panel.entry.js +1 -1
  437. package/dist/esm/p-input-error.entry.js +1 -1
  438. package/dist/esm/p-input-group.entry.js +3 -3
  439. package/dist/esm/p-label.entry.js +4 -4
  440. package/dist/esm/p-layout.entry.js +1 -1
  441. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  442. package/dist/esm/p-modal-body_4.entry.js +71 -31
  443. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  444. package/dist/esm/p-modal.entry.js +22 -16
  445. package/dist/esm/p-modal.entry.js.map +1 -1
  446. package/dist/esm/p-navbar.entry.js +1 -1
  447. package/dist/esm/p-navigation-item.entry.js +3 -3
  448. package/dist/esm/p-navigation-section.entry.js +1 -1
  449. package/dist/esm/p-navigation-title.entry.js +1 -1
  450. package/dist/esm/p-pagination.entry.js +3 -3
  451. package/dist/esm/p-portal.entry.js +1 -1
  452. package/dist/esm/p-profile.entry.js +1 -1
  453. package/dist/esm/p-radio.entry.js +3 -3
  454. package/dist/esm/p-select.entry.js +1 -1
  455. package/dist/esm/p-slider-indicator.entry.js +1 -1
  456. package/dist/esm/p-smile-footer.entry.js +18 -0
  457. package/dist/esm/p-smile-footer.entry.js.map +1 -0
  458. package/dist/esm/p-status.entry.js +2 -2
  459. package/dist/esm/p-stepper-item.entry.js +2 -2
  460. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  461. package/dist/esm/p-stepper-line.entry.js +2 -2
  462. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  463. package/dist/esm/p-stepper.entry.js +1 -1
  464. package/dist/esm/p-tab-group.entry.js +2 -2
  465. package/dist/esm/p-tab-item.entry.js +1 -1
  466. package/dist/esm/p-table-row-action.entry.js +1 -1
  467. package/dist/esm/p-table.entry.js +1 -1
  468. package/dist/esm/p-toast-container.entry.js +1 -1
  469. package/dist/esm/p-toast.entry.js +1 -1
  470. package/dist/esm/p-toggle.entry.js +3 -3
  471. package/dist/esm/paperless.js +1 -1
  472. package/dist/index.html +1 -1
  473. package/dist/paperless/index.esm.js +1 -1
  474. package/dist/paperless/index.esm.js.map +1 -1
  475. package/dist/paperless/{p-4983a0d1.entry.js → p-008e9556.entry.js} +2 -2
  476. package/dist/paperless/{p-6a92ae6e.entry.js → p-01011a86.entry.js} +2 -2
  477. package/dist/{build/p-a5cca13e.entry.js → paperless/p-03bf9ae8.entry.js} +2 -2
  478. package/dist/paperless/p-0b15c904.entry.js +2 -0
  479. package/dist/{build/p-00fe07fa.entry.js.map → paperless/p-0b15c904.entry.js.map} +1 -1
  480. package/dist/paperless/{p-613c983c.entry.js → p-0cdd9a34.entry.js} +2 -2
  481. package/dist/paperless/p-0e2df91d.entry.js +2 -0
  482. package/dist/paperless/{p-48c3698b.entry.js → p-18b8822c.entry.js} +2 -2
  483. package/dist/paperless/p-244968bd.entry.js +2 -0
  484. package/dist/{build/p-c39c9780.entry.js → paperless/p-355cbd7b.entry.js} +2 -2
  485. package/dist/paperless/{p-f7cfc0a8.entry.js → p-39515ee1.entry.js} +2 -2
  486. package/dist/paperless/p-43693929.entry.js +2 -0
  487. package/dist/paperless/p-43693929.entry.js.map +1 -0
  488. package/dist/paperless/{p-38c62293.entry.js → p-47b47475.entry.js} +2 -2
  489. package/dist/paperless/p-47e97f8b.entry.js +2 -0
  490. package/dist/paperless/{p-4c700290.entry.js → p-4b2245bf.entry.js} +2 -2
  491. package/dist/paperless/p-4c318a7e.entry.js +2 -0
  492. package/dist/paperless/p-4c318a7e.entry.js.map +1 -0
  493. package/dist/paperless/p-4e704926.entry.js +2 -0
  494. package/dist/paperless/p-519504d2.entry.js +2 -0
  495. package/dist/paperless/p-519504d2.entry.js.map +1 -0
  496. package/dist/paperless/{p-6ba956b0.entry.js → p-5769eaeb.entry.js} +2 -2
  497. package/dist/paperless/p-612f8b0a.entry.js +2 -0
  498. package/dist/paperless/{p-5fa54f43.entry.js.map → p-612f8b0a.entry.js.map} +1 -1
  499. package/dist/{build/p-b0f468c0.entry.js → paperless/p-621a37c0.entry.js} +2 -2
  500. package/dist/paperless/p-69bf2e8a.entry.js +2 -0
  501. package/dist/paperless/p-6b9ae643.entry.js +2 -0
  502. package/dist/{build/p-013d7e13.entry.js → paperless/p-6fdb490c.entry.js} +2 -2
  503. package/dist/paperless/{p-2986ef0a.entry.js → p-70883f65.entry.js} +2 -2
  504. package/dist/paperless/{p-1ec7ac2d.entry.js → p-727a9fd3.entry.js} +2 -2
  505. package/dist/paperless/p-72dc3715.entry.js +2 -0
  506. package/dist/paperless/p-72dc3715.entry.js.map +1 -0
  507. package/dist/{build/p-cb18f4ac.entry.js → paperless/p-744ea9a0.entry.js} +2 -2
  508. package/dist/paperless/p-7a5e4081.entry.js +2 -0
  509. package/dist/paperless/{p-cfa83ad4.entry.js.map → p-7a5e4081.entry.js.map} +1 -1
  510. package/dist/paperless/{p-c27fee4b.entry.js → p-7ad4fe38.entry.js} +2 -2
  511. package/dist/{build/p-4d21da5d.entry.js → paperless/p-7eee6673.entry.js} +2 -2
  512. package/dist/{build/p-4ce5a008.entry.js → paperless/p-8e20e931.entry.js} +2 -2
  513. package/dist/paperless/p-93b92b37.entry.js +2 -0
  514. package/dist/paperless/{p-42416c69.entry.js.map → p-93b92b37.entry.js.map} +1 -1
  515. package/dist/paperless/{p-a3ad118d.entry.js → p-94a69631.entry.js} +2 -2
  516. package/dist/paperless/p-CT54OXR2.js +2 -0
  517. package/dist/paperless/p-CT54OXR2.js.map +1 -0
  518. package/dist/paperless/{p-c0b769b4.entry.js → p-a1674acd.entry.js} +2 -2
  519. package/dist/paperless/{p-4de1ba9d.entry.js → p-acd7dd6b.entry.js} +2 -2
  520. package/dist/{build/p-74f10d72.entry.js → paperless/p-ad5e0d36.entry.js} +2 -2
  521. package/dist/paperless/p-backdrop.entry.esm.js.map +1 -1
  522. package/dist/paperless/p-bbfb067c.entry.js +2 -0
  523. package/dist/paperless/p-bc7e1fa1.entry.js +2 -0
  524. package/dist/paperless/p-bc7e1fa1.entry.js.map +1 -0
  525. package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  526. package/dist/paperless/{p-7516f0e3.entry.js → p-c1b25e59.entry.js} +2 -2
  527. package/dist/paperless/p-c4f2d4a2.entry.js +2 -0
  528. package/dist/paperless/p-c4f2d4a2.entry.js.map +1 -0
  529. package/dist/paperless/{p-c8133f04.entry.js → p-c98b14bd.entry.js} +2 -2
  530. package/dist/paperless/{p-12f0b242.entry.js → p-ca03c040.entry.js} +2 -2
  531. package/dist/{build/p-a9601a00.entry.js → paperless/p-cb08d5db.entry.js} +2 -2
  532. package/dist/paperless/{p-19505985.entry.js → p-d2bc9a74.entry.js} +2 -2
  533. package/dist/paperless/{p-bfaaeb71.entry.js → p-d657dfff.entry.js} +2 -2
  534. package/dist/{build/p-adae70ec.entry.js → paperless/p-d9c3b86c.entry.js} +2 -2
  535. package/dist/paperless/p-divider.entry.esm.js.map +1 -1
  536. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  537. package/dist/paperless/{p-bd2cbf63.entry.js → p-e28427c0.entry.js} +2 -2
  538. package/dist/{build/p-cc7bd29f.entry.js → paperless/p-e3d8c6d2.entry.js} +2 -2
  539. package/dist/paperless/{p-76ec0b7d.entry.js → p-e4cbcec7.entry.js} +2 -2
  540. package/dist/paperless/{p-abbdbdb3.entry.js → p-e4e1c19d.entry.js} +2 -2
  541. package/dist/{build/p-abbdbdb3.entry.js.map → paperless/p-e4e1c19d.entry.js.map} +1 -1
  542. package/dist/paperless/{p-6d3d326d.entry.js → p-f0585175.entry.js} +2 -2
  543. package/dist/paperless/{p-3afec17c.entry.js → p-fcc4b9b1.entry.js} +2 -2
  544. package/dist/{build/p-3afec17c.entry.js.map → paperless/p-fcc4b9b1.entry.js.map} +1 -1
  545. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  546. package/dist/paperless/p-modal.entry.esm.js.map +1 -1
  547. package/dist/paperless/p-smile-footer.entry.esm.js.map +1 -0
  548. package/dist/paperless/p-stepper-item.entry.esm.js.map +1 -1
  549. package/dist/paperless/p-stepper-line.entry.esm.js.map +1 -1
  550. package/dist/paperless/paperless.css +1 -1
  551. package/dist/paperless/paperless.esm.js +1 -1
  552. package/dist/style/_fonts.scss +4 -6
  553. package/dist/style/_reset.scss +27 -29
  554. package/dist/style/_tailwind.scss +1 -1
  555. package/dist/style/_typograhpy.scss +21 -23
  556. package/dist/sw.js +1 -1
  557. package/dist/sw.js.map +1 -1
  558. package/dist/tailwind/paperless.ts +1 -8
  559. package/dist/tailwind/theme/shadows.ts +7 -0
  560. package/dist/tailwind.config.ts +0 -1
  561. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  562. package/dist/types/components/{deprecated/atoms → atoms}/modal/body/modal-body.component.d.ts +0 -8
  563. package/dist/types/components/{deprecated/atoms → atoms}/modal/container/modal-container.component.d.ts +1 -1
  564. package/dist/types/components/{deprecated/atoms → atoms}/modal/header/modal-header.component.d.ts +5 -1
  565. package/dist/types/components/atoms/smile-footer/smile-footer.component.d.ts +3 -0
  566. package/dist/types/components/{deprecated/organisms → organisms}/modal/modal.component.d.ts +3 -10
  567. package/dist/types/components.d.ts +25 -36
  568. package/dist/types/tailwind/theme/shadows.d.ts +1 -0
  569. package/package.json +2 -5
  570. package/dist/build/p-00fe07fa.entry.js +0 -2
  571. package/dist/build/p-1a343a7c.entry.js +0 -2
  572. package/dist/build/p-1b5ed517.js +0 -2
  573. package/dist/build/p-2cd3ba5d.entry.js +0 -2
  574. package/dist/build/p-3d8db318.css +0 -1
  575. package/dist/build/p-42416c69.entry.js +0 -2
  576. package/dist/build/p-54bab963.entry.js +0 -2
  577. package/dist/build/p-5fa54f43.entry.js +0 -2
  578. package/dist/build/p-6c529e21.entry.js +0 -2
  579. package/dist/build/p-6c529e21.entry.js.map +0 -1
  580. package/dist/build/p-8f42c8c3.entry.js +0 -2
  581. package/dist/build/p-a242d99b.entry.js +0 -2
  582. package/dist/build/p-a242d99b.entry.js.map +0 -1
  583. package/dist/build/p-a8bfe512.entry.js +0 -2
  584. package/dist/build/p-a8bfe512.entry.js.map +0 -1
  585. package/dist/build/p-b4a3fd64.entry.js +0 -2
  586. package/dist/build/p-cd18d223.entry.js +0 -2
  587. package/dist/build/p-cd18d223.entry.js.map +0 -1
  588. package/dist/build/p-cf2cfa24.entry.js +0 -2
  589. package/dist/build/p-cfa83ad4.entry.js +0 -2
  590. package/dist/build/p-cfd14b04.entry.js +0 -2
  591. package/dist/build/p-ffdd2cc3.entry.js +0 -2
  592. package/dist/build/p-ffdd2cc3.entry.js.map +0 -1
  593. package/dist/build/p-xs4N_Y-0.js +0 -2
  594. package/dist/build/p-xs4N_Y-0.js.map +0 -1
  595. package/dist/cjs/cn-Cd68UVBT.js.map +0 -1
  596. package/dist/collection/components/deprecated/atoms/modal/body/modal-body.component.css +0 -1
  597. package/dist/collection/components/deprecated/atoms/modal/body/modal-body.component.js.map +0 -1
  598. package/dist/collection/components/deprecated/atoms/modal/container/modal-container.component.css +0 -1
  599. package/dist/collection/components/deprecated/atoms/modal/container/modal-container.component.js.map +0 -1
  600. package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.css +0 -1
  601. package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.js +0 -19
  602. package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.js.map +0 -1
  603. package/dist/collection/components/deprecated/atoms/modal/header/modal-header.component.css +0 -1
  604. package/dist/collection/components/deprecated/atoms/modal/header/modal-header.component.js.map +0 -1
  605. package/dist/collection/components/deprecated/organisms/modal/modal.component.js.map +0 -1
  606. package/dist/components/p-07fGAiCb.js +0 -61
  607. package/dist/components/p-07fGAiCb.js.map +0 -1
  608. package/dist/components/p-BSAFZSVl.js +0 -40
  609. package/dist/components/p-BSAFZSVl.js.map +0 -1
  610. package/dist/components/p-BXAHgoEY.js.map +0 -1
  611. package/dist/components/p-BacnlWAP.js +0 -63
  612. package/dist/components/p-BacnlWAP.js.map +0 -1
  613. package/dist/components/p-C4xUhAnC.js +0 -57
  614. package/dist/components/p-C4xUhAnC.js.map +0 -1
  615. package/dist/components/p-DzRWzJmf.js.map +0 -1
  616. package/dist/components/p-ZHyxp0Dc.js +0 -39
  617. package/dist/components/p-ZHyxp0Dc.js.map +0 -1
  618. package/dist/components/p-n07zIH56.js +0 -55
  619. package/dist/components/p-n07zIH56.js.map +0 -1
  620. package/dist/esm/cn-CsNqHcjL.js.map +0 -1
  621. package/dist/paperless/p-00fe07fa.entry.js +0 -2
  622. package/dist/paperless/p-1a343a7c.entry.js +0 -2
  623. package/dist/paperless/p-2cd3ba5d.entry.js +0 -2
  624. package/dist/paperless/p-42416c69.entry.js +0 -2
  625. package/dist/paperless/p-54bab963.entry.js +0 -2
  626. package/dist/paperless/p-5fa54f43.entry.js +0 -2
  627. package/dist/paperless/p-6c529e21.entry.js +0 -2
  628. package/dist/paperless/p-6c529e21.entry.js.map +0 -1
  629. package/dist/paperless/p-8f42c8c3.entry.js +0 -2
  630. package/dist/paperless/p-a242d99b.entry.js +0 -2
  631. package/dist/paperless/p-a242d99b.entry.js.map +0 -1
  632. package/dist/paperless/p-a8bfe512.entry.js +0 -2
  633. package/dist/paperless/p-a8bfe512.entry.js.map +0 -1
  634. package/dist/paperless/p-b4a3fd64.entry.js +0 -2
  635. package/dist/paperless/p-cd18d223.entry.js +0 -2
  636. package/dist/paperless/p-cd18d223.entry.js.map +0 -1
  637. package/dist/paperless/p-cf2cfa24.entry.js +0 -2
  638. package/dist/paperless/p-cfa83ad4.entry.js +0 -2
  639. package/dist/paperless/p-cfd14b04.entry.js +0 -2
  640. package/dist/paperless/p-ffdd2cc3.entry.js +0 -2
  641. package/dist/paperless/p-ffdd2cc3.entry.js.map +0 -1
  642. package/dist/paperless/p-xs4N_Y-0.js +0 -2
  643. package/dist/paperless/p-xs4N_Y-0.js.map +0 -1
  644. /package/dist/build/{p-4983a0d1.entry.js.map → p-008e9556.entry.js.map} +0 -0
  645. /package/dist/build/{p-6a92ae6e.entry.js.map → p-01011a86.entry.js.map} +0 -0
  646. /package/dist/build/{p-a5cca13e.entry.js.map → p-03bf9ae8.entry.js.map} +0 -0
  647. /package/dist/build/{p-613c983c.entry.js.map → p-0cdd9a34.entry.js.map} +0 -0
  648. /package/dist/build/{p-54bab963.entry.js.map → p-0e2df91d.entry.js.map} +0 -0
  649. /package/dist/build/{p-48c3698b.entry.js.map → p-18b8822c.entry.js.map} +0 -0
  650. /package/dist/build/{p-b4a3fd64.entry.js.map → p-244968bd.entry.js.map} +0 -0
  651. /package/dist/build/{p-c39c9780.entry.js.map → p-355cbd7b.entry.js.map} +0 -0
  652. /package/dist/build/{p-f7cfc0a8.entry.js.map → p-39515ee1.entry.js.map} +0 -0
  653. /package/dist/build/{p-38c62293.entry.js.map → p-47b47475.entry.js.map} +0 -0
  654. /package/dist/build/{p-cf2cfa24.entry.js.map → p-47e97f8b.entry.js.map} +0 -0
  655. /package/dist/build/{p-4c700290.entry.js.map → p-4b2245bf.entry.js.map} +0 -0
  656. /package/dist/build/{p-8f42c8c3.entry.js.map → p-4e704926.entry.js.map} +0 -0
  657. /package/dist/build/{p-6ba956b0.entry.js.map → p-5769eaeb.entry.js.map} +0 -0
  658. /package/dist/build/{p-b0f468c0.entry.js.map → p-621a37c0.entry.js.map} +0 -0
  659. /package/dist/build/{p-2cd3ba5d.entry.js.map → p-69bf2e8a.entry.js.map} +0 -0
  660. /package/dist/build/{p-1a343a7c.entry.js.map → p-6b9ae643.entry.js.map} +0 -0
  661. /package/dist/build/{p-013d7e13.entry.js.map → p-6fdb490c.entry.js.map} +0 -0
  662. /package/dist/build/{p-2986ef0a.entry.js.map → p-70883f65.entry.js.map} +0 -0
  663. /package/dist/build/{p-1ec7ac2d.entry.js.map → p-727a9fd3.entry.js.map} +0 -0
  664. /package/dist/build/{p-cb18f4ac.entry.js.map → p-744ea9a0.entry.js.map} +0 -0
  665. /package/dist/build/{p-c27fee4b.entry.js.map → p-7ad4fe38.entry.js.map} +0 -0
  666. /package/dist/build/{p-4d21da5d.entry.js.map → p-7eee6673.entry.js.map} +0 -0
  667. /package/dist/build/{p-4ce5a008.entry.js.map → p-8e20e931.entry.js.map} +0 -0
  668. /package/dist/build/{p-a3ad118d.entry.js.map → p-94a69631.entry.js.map} +0 -0
  669. /package/dist/build/{p-c0b769b4.entry.js.map → p-a1674acd.entry.js.map} +0 -0
  670. /package/dist/build/{p-4de1ba9d.entry.js.map → p-acd7dd6b.entry.js.map} +0 -0
  671. /package/dist/build/{p-74f10d72.entry.js.map → p-ad5e0d36.entry.js.map} +0 -0
  672. /package/dist/build/{p-cfd14b04.entry.js.map → p-bbfb067c.entry.js.map} +0 -0
  673. /package/dist/build/{p-7516f0e3.entry.js.map → p-c1b25e59.entry.js.map} +0 -0
  674. /package/dist/build/{p-c8133f04.entry.js.map → p-c98b14bd.entry.js.map} +0 -0
  675. /package/dist/build/{p-12f0b242.entry.js.map → p-ca03c040.entry.js.map} +0 -0
  676. /package/dist/build/{p-a9601a00.entry.js.map → p-cb08d5db.entry.js.map} +0 -0
  677. /package/dist/build/{p-19505985.entry.js.map → p-d2bc9a74.entry.js.map} +0 -0
  678. /package/dist/build/{p-bfaaeb71.entry.js.map → p-d657dfff.entry.js.map} +0 -0
  679. /package/dist/build/{p-adae70ec.entry.js.map → p-d9c3b86c.entry.js.map} +0 -0
  680. /package/dist/build/{p-bd2cbf63.entry.js.map → p-e28427c0.entry.js.map} +0 -0
  681. /package/dist/build/{p-cc7bd29f.entry.js.map → p-e3d8c6d2.entry.js.map} +0 -0
  682. /package/dist/build/{p-76ec0b7d.entry.js.map → p-e4cbcec7.entry.js.map} +0 -0
  683. /package/dist/build/{p-6d3d326d.entry.js.map → p-f0585175.entry.js.map} +0 -0
  684. /package/dist/paperless/{p-4983a0d1.entry.js.map → p-008e9556.entry.js.map} +0 -0
  685. /package/dist/paperless/{p-6a92ae6e.entry.js.map → p-01011a86.entry.js.map} +0 -0
  686. /package/dist/paperless/{p-a5cca13e.entry.js.map → p-03bf9ae8.entry.js.map} +0 -0
  687. /package/dist/paperless/{p-613c983c.entry.js.map → p-0cdd9a34.entry.js.map} +0 -0
  688. /package/dist/paperless/{p-54bab963.entry.js.map → p-0e2df91d.entry.js.map} +0 -0
  689. /package/dist/paperless/{p-48c3698b.entry.js.map → p-18b8822c.entry.js.map} +0 -0
  690. /package/dist/paperless/{p-b4a3fd64.entry.js.map → p-244968bd.entry.js.map} +0 -0
  691. /package/dist/paperless/{p-c39c9780.entry.js.map → p-355cbd7b.entry.js.map} +0 -0
  692. /package/dist/paperless/{p-f7cfc0a8.entry.js.map → p-39515ee1.entry.js.map} +0 -0
  693. /package/dist/paperless/{p-38c62293.entry.js.map → p-47b47475.entry.js.map} +0 -0
  694. /package/dist/paperless/{p-cf2cfa24.entry.js.map → p-47e97f8b.entry.js.map} +0 -0
  695. /package/dist/paperless/{p-4c700290.entry.js.map → p-4b2245bf.entry.js.map} +0 -0
  696. /package/dist/paperless/{p-8f42c8c3.entry.js.map → p-4e704926.entry.js.map} +0 -0
  697. /package/dist/paperless/{p-6ba956b0.entry.js.map → p-5769eaeb.entry.js.map} +0 -0
  698. /package/dist/paperless/{p-b0f468c0.entry.js.map → p-621a37c0.entry.js.map} +0 -0
  699. /package/dist/paperless/{p-2cd3ba5d.entry.js.map → p-69bf2e8a.entry.js.map} +0 -0
  700. /package/dist/paperless/{p-1a343a7c.entry.js.map → p-6b9ae643.entry.js.map} +0 -0
  701. /package/dist/paperless/{p-013d7e13.entry.js.map → p-6fdb490c.entry.js.map} +0 -0
  702. /package/dist/paperless/{p-2986ef0a.entry.js.map → p-70883f65.entry.js.map} +0 -0
  703. /package/dist/paperless/{p-1ec7ac2d.entry.js.map → p-727a9fd3.entry.js.map} +0 -0
  704. /package/dist/paperless/{p-cb18f4ac.entry.js.map → p-744ea9a0.entry.js.map} +0 -0
  705. /package/dist/paperless/{p-c27fee4b.entry.js.map → p-7ad4fe38.entry.js.map} +0 -0
  706. /package/dist/paperless/{p-4d21da5d.entry.js.map → p-7eee6673.entry.js.map} +0 -0
  707. /package/dist/paperless/{p-4ce5a008.entry.js.map → p-8e20e931.entry.js.map} +0 -0
  708. /package/dist/paperless/{p-a3ad118d.entry.js.map → p-94a69631.entry.js.map} +0 -0
  709. /package/dist/paperless/{p-c0b769b4.entry.js.map → p-a1674acd.entry.js.map} +0 -0
  710. /package/dist/paperless/{p-4de1ba9d.entry.js.map → p-acd7dd6b.entry.js.map} +0 -0
  711. /package/dist/paperless/{p-74f10d72.entry.js.map → p-ad5e0d36.entry.js.map} +0 -0
  712. /package/dist/paperless/{p-cfd14b04.entry.js.map → p-bbfb067c.entry.js.map} +0 -0
  713. /package/dist/paperless/{p-7516f0e3.entry.js.map → p-c1b25e59.entry.js.map} +0 -0
  714. /package/dist/paperless/{p-c8133f04.entry.js.map → p-c98b14bd.entry.js.map} +0 -0
  715. /package/dist/paperless/{p-12f0b242.entry.js.map → p-ca03c040.entry.js.map} +0 -0
  716. /package/dist/paperless/{p-a9601a00.entry.js.map → p-cb08d5db.entry.js.map} +0 -0
  717. /package/dist/paperless/{p-19505985.entry.js.map → p-d2bc9a74.entry.js.map} +0 -0
  718. /package/dist/paperless/{p-bfaaeb71.entry.js.map → p-d657dfff.entry.js.map} +0 -0
  719. /package/dist/paperless/{p-adae70ec.entry.js.map → p-d9c3b86c.entry.js.map} +0 -0
  720. /package/dist/paperless/{p-bd2cbf63.entry.js.map → p-e28427c0.entry.js.map} +0 -0
  721. /package/dist/paperless/{p-cc7bd29f.entry.js.map → p-e3d8c6d2.entry.js.map} +0 -0
  722. /package/dist/paperless/{p-76ec0b7d.entry.js.map → p-e4cbcec7.entry.js.map} +0 -0
  723. /package/dist/paperless/{p-6d3d326d.entry.js.map → p-f0585175.entry.js.map} +0 -0
  724. /package/dist/types/components/{deprecated/atoms → atoms}/modal/footer/modal-footer.component.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/deprecated/atoms/modal/body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","src/components/deprecated/atoms/modal/body/modal-body.component.tsx","src/components/deprecated/atoms/modal/container/modal-container.component.scss?tag=p-modal-container","src/components/deprecated/atoms/modal/container/modal-container.component.tsx","src/components/deprecated/atoms/modal/footer/modal-footer.component.scss?tag=p-modal-footer&encapsulation=shadow","src/components/deprecated/atoms/modal/footer/modal-footer.component.tsx","src/components/deprecated/atoms/modal/header/modal-header.component.scss?tag=p-modal-header&encapsulation=shadow","src/components/deprecated/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":[":host {\n\t@apply bg-white;\n\t@apply px-6 py-6;\n}\n\n:host(.variant-table-flush) {\n\t@apply p-0 #{!important};\n}\n\n:host(.is-rounded-bottom) {\n\t@apply rounded-b-none desktop-xs:rounded-b-2xl;\n}\n\n:host(.is-rounded-top) {\n\t@apply rounded-t-lg desktop-xs:rounded-t-2xl;\n}\n\n:host(.no-padding) {\n\t@apply p-0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-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-flush' = 'default';\n\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\t/**\n\t * Wether the body should have padding\n\t */\n\t@Prop() padding: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-body variant-${this.variant} ${\n\t\t\t\t\tthis.roundedBottom && 'is-rounded-bottom'\n\t\t\t\t} ${\n\t\t\t\t\tthis.roundedTop && 'is-rounded-top'\n\t\t\t\t} ${!this.padding && 'no-padding'}`}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-modal-container {\n\t@apply z-modal flex w-full flex-col tablet:w-auto;\n\t@apply rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl;\n\n\t@apply desktop-xs:m-auto;\n\t@apply max-h-[calc(100dvh-4rem)] desktop-xs:max-h-none;\n\n\t@apply animate-in slide-in-from-bottom desktop-xs:slide-in-from-bottom-16 #{!important};\n\n\t@apply shadow-3 #{!important};\n\n\t&.closing {\n\t\t@apply slide-out-to-bottom desktop-xs:slide-out-to-bottom-16 #{!important};\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $modal-xs: 20rem;\n// $modal-sm: 33.5rem;\n// $modal-md: 38rem;\n// $modal-lg: 47.5rem;\n// $modal-xl: 57.5rem;\n\nconst modalSizes = {\n\txs: 'tablet:w-80',\n\tsm: 'tablet:w-[33.5rem]',\n\tmd: 'tablet:w-[38rem]',\n\tlg: 'tablet:w-[47.5rem]',\n\txl: 'tablet:w-[57.5rem]',\n};\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\tconst sizeClass = modalSizes[this.size];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-container ${\n\t\t\t\t\tthis.closing && 'closing'\n\t\t\t\t} ${sizeClass}`}\n\t\t\t>\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 flex flex-col;\n\t@apply px-6 pb-6;\n\t@apply rounded-b-none desktop-xs:rounded-b-2xl;\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.scss',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-modal-footer\">\n\t\t\t\t<p-divider class=\"mb-6 mt-0 hidden desktop-xs:flex\" />\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply rounded-t-2xl bg-mystic;\n\t@apply flex items-center justify-between;\n\t@apply p-4 desktop-xs:p-6;\n\n\t@apply text-xl font-semibold text-storm-dark;\n\t@apply desktop-xs:text-3xl desktop-xs:font-bold;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-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-modal-header'>\n\t\t\t\t<span>\n\t\t\t\t\t<slot />\n\t\t\t\t</span>\n\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={ev => this.close.emit(ev)}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,qBAAqB,GAAG,y6BAAy6B;;MCO17B,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,OAAO,GAA8B,SAAS;AAEtD;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;AAEnC;;AAEG;IACK,OAAO,GAAY,IAAI;IAE/B,MAAM,GAAA;QACL,QACC,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAwB,qBAAA,EAAA,IAAI,CAAC,OAAO,CAC1C,CAAA,EAAA,IAAI,CAAC,aAAa,IAAI,mBACvB,CAAA,CAAA,EACC,IAAI,CAAC,UAAU,IAAI,gBACpB,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,YAAY,CAAA,CAAE,EAAA,EAEnC,CAAQ,CAAA,MAAA,EAAA,EAAA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L,MAAM,GAAA;AACL,QAAA,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EAC3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACF,EAEN,IAAI,CAAC,SAAS,KACd,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAClC,IAAI,EAAC,IAAI,GACE,CACZ,CACK;;;;;;;"}
1
+ {"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst body = cva('bg-white p-4 overflow-y-scroll', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={body({\n\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\troundedTop: this.roundedTop,\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",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n\n\t&.opening {\n\t\t@apply animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small !important;\n\t}\n\n\t&.closing {\n\t\t@apply animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small !important;\n\t}\n}\n","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","","import { Component, h } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<div class='flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl'>\n\t\t\t\t<p-divider class='mb-4 hidden desktop-xs:inline-block' />\n\n\t\t\t\t<div class='flex flex-col gap-4 px-4 tablet:flex-row'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n","/* :host { */\n/* @apply rounded-t-2xl bg-mystic; */\n/* @apply flex items-center justify-between; */\n/* @apply p-4 desktop-xs:p-6; */\n/**/\n/* @apply text-xl font-semibold text-storm-dark; */\n/* @apply desktop-xs:text-3xl desktop-xs:font-bold; */\n/* } */\n","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"],"names":[],"mappings":";;;;;AAAA,MAAM,qBAAqB,GAAG,osBAAosB;;ACGluB,MAAM,IAAI,GAAG,GAAG,CAAC,gCAAgC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,yCAAyC;AAC/C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,U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E,IAAI,CAAC,IAAI,EAAE,CAAC,EAAA,EACvC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,KAAK,EAAE,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EAEL,IAAI,CAAC,SAAS,KACd,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAA,CACvB,CACZ,CACI,EAEN,CAAkB,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACb;;;;;;;"}
@@ -1,15 +1,26 @@
1
- import { r as registerInstance, h, H as Host, c as createEvent } from './index-I9JY9uxk.js';
1
+ import { r as registerInstance, h, c as createEvent } from './index-I9JY9uxk.js';
2
+ import { c as cva } from './index-CO0T2jO4.js';
3
+ import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
4
+ import './clsx-ChV9xqsO.js';
2
5
 
3
- const modalBodyComponentCss = ".rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.p-0{padding:0!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));padding:1.5rem}:host(.variant-table-flush){padding:0!important}:host(.is-rounded-bottom){border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width:64rem){:host(.is-rounded-bottom){border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}:host(.is-rounded-top){border-top-left-radius:.5rem;border-top-right-radius:.5rem}@media (min-width:64rem){:host(.is-rounded-top){border-top-left-radius:1rem;border-top-right-radius:1rem}}:host(.no-padding){padding:0}.static{position:static!important}.rounded{border-radius:.25rem!important}";
6
+ const modalBodyComponentCss = "*{box-sizing:border-box}.static{position:static!important}.overflow-y-scroll{overflow-y:scroll!important}.rounded{border-radius:.25rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!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}@media (min-width:64rem){.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.desktop-xs\\:rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}}";
4
7
 
8
+ const body = cva('bg-white p-4 overflow-y-scroll', {
9
+ variants: {
10
+ roundedBottom: {
11
+ true: 'rounded-b-none desktop-xs:rounded-b-2xl',
12
+ false: null,
13
+ },
14
+ roundedTop: {
15
+ true: 'rounded-t-lg desktop-xs:rounded-t-2xl',
16
+ false: null,
17
+ },
18
+ },
19
+ });
5
20
  const ModalBody = class {
6
21
  constructor(hostRef) {
7
22
  registerInstance(this, hostRef);
8
23
  }
9
- /**
10
- * The variant of the modal body
11
- */
12
- variant = 'default';
13
24
  /**
14
25
  * Wether the modal body should be rounded at the bottom
15
26
  */
@@ -18,30 +29,37 @@ const ModalBody = class {
18
29
  * Wether the modal body should be rounded at the top
19
30
  */
20
31
  roundedTop = false;
21
- /**
22
- * Wether the body should have padding
23
- */
24
- padding = true;
25
32
  render() {
26
- return (h(Host, { key: '7a4301fb73fc5e1797d24487868a3a8ceb47b1d6', class: `p-modal-body variant-${this.variant} ${this.roundedBottom && 'is-rounded-bottom'} ${this.roundedTop && 'is-rounded-top'} ${!this.padding && 'no-padding'}` }, h("slot", { key: '7c4924ba0bdaf66fdf86427928ffd19a69c9306c' })));
33
+ return (h("div", { key: 'b919ad927432ccfb9c77b6f4f25ee5f6dab3385a', class: body({
34
+ roundedBottom: this.roundedBottom,
35
+ roundedTop: this.roundedTop,
36
+ }) }, h("slot", { key: '6dbc9c3125e90650223261c0f17ea2bcf0ea32ee' })));
27
37
  }
28
38
  };
29
39
  ModalBody.style = modalBodyComponentCss;
30
40
 
31
- const modalContainerComponentCss = ".z-modal{z-index:600!important}.flex{display:flex!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.w-full{width:100%!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-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}.slide-in-from-bottom{--tw-enter-translate-y:100%!important}.slide-out-to-bottom{--tw-exit-translate-y:100%!important}*{box-sizing:border-box}p-modal-container{--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;--tw-enter-translate-y:100%!important;--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!important;animation-name:enter!important;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:1rem;border-top-right-radius:1rem;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;max-height:calc(100dvh - 4rem);width:100%;z-index:600}@media (min-width:40rem){p-modal-container{width:auto}}@media (min-width:64rem){p-modal-container{--tw-enter-translate-y:4rem!important;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem;margin:auto;max-height:none}}p-modal-container.closing{--tw-exit-translate-y:100%!important}@media (min-width:64rem){p-modal-container.closing{--tw-exit-translate-y:4rem!important}.desktop-xs\\:slide-in-from-bottom-16{--tw-enter-translate-y:4rem!important}.desktop-xs\\:slide-out-to-bottom-16{--tw-exit-translate-y:4rem!important}}.static{position:static!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\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";
41
+ const modalContainerComponentCss = ".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}}";
32
42
 
33
- // $modal-xs: 20rem;
34
- // $modal-sm: 33.5rem;
35
- // $modal-md: 38rem;
36
- // $modal-lg: 47.5rem;
37
- // $modal-xl: 57.5rem;
38
- const modalSizes = {
39
- xs: 'tablet:w-80',
40
- sm: 'tablet:w-[33.5rem]',
41
- md: 'tablet:w-[38rem]',
42
- lg: 'tablet:w-[47.5rem]',
43
- xl: 'tablet:w-[57.5rem]',
44
- };
43
+ const container = cva([
44
+ 'flex-1 min-w-0 w-full',
45
+ 'z-modal flex flex-col',
46
+ 'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',
47
+ 'max-h-[calc(100dvh-4rem)]',
48
+ 'shadow-modal',
49
+ ], {
50
+ variants: {
51
+ size: {
52
+ base: 'tablet:max-w-[35rem]',
53
+ lg: 'tablet:max-w-[40rem]',
54
+ xl: 'tablet:max-w-[45rem]',
55
+ '2xl': 'tablet:max-w-[65rem]',
56
+ },
57
+ closing: {
58
+ false: 'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small opening',
59
+ true: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small closing',
60
+ },
61
+ },
62
+ });
45
63
  const ModalContainer = class {
46
64
  constructor(hostRef) {
47
65
  registerInstance(this, hostRef);
@@ -49,37 +67,59 @@ const ModalContainer = class {
49
67
  /**
50
68
  * The size of the modal container
51
69
  */
52
- size = 'md';
70
+ size = 'base';
53
71
  /**
54
72
  * Wether the container is closing
55
73
  */
56
74
  closing = false;
57
75
  render() {
58
- const sizeClass = modalSizes[this.size];
59
- return (h(Host, { key: '70b5847d0bd4b12aa443ff0ac26dfb94239aa7c0', class: `p-modal-container ${this.closing && 'closing'} ${sizeClass}` }, h("slot", { key: '6e57ca3998d34204caefa3b74fe2206c58a41925' })));
76
+ return (h("div", { key: '267d424bc9f365fa5887ed15f7fc92ce55d3d46d', class: container({
77
+ size: this.size,
78
+ closing: asBoolean(this.closing),
79
+ }) }, h("slot", { key: 'ee1aedf34b4d04394778fbec1eb7184189fddd07' })));
60
80
  }
61
81
  };
62
82
  ModalContainer.style = modalContainerComponentCss;
63
83
 
64
- const modalFooterComponentCss = ".flex{display:flex!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-bottom-left-radius:0;border-bottom-right-radius:0;display:flex;flex-direction:column;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem}@media (min-width:64rem){:host{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.hidden{display:none!important}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}";
84
+ const modalFooterComponentCss = "*{box-sizing:border-box}.static{position:static!important}.mb-4{margin-bottom:1rem!important}.flex{display:flex!important}.hidden{display:none!important}.flex-col{flex-direction:column!important}.gap-4{gap:1rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.pb-4{padding-bottom:1rem!important}@media (min-width:40rem){.tablet\\:flex-row{flex-direction:row!important}}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}";
65
85
 
66
86
  const ModalFooter = class {
67
87
  constructor(hostRef) {
68
88
  registerInstance(this, hostRef);
69
89
  }
70
90
  render() {
71
- return (h(Host, { key: '0e06d01cf59b27ae773cd51a65fd9af244dfba0c', class: "p-modal-footer" }, h("p-divider", { key: '435542399f6bf7e8a9c13d5270b00e81c93b882f', class: "mb-6 mt-0 hidden desktop-xs:flex" }), h("slot", { key: 'b7aea6eb887c1eb6b24268fcb54984d85b59889b' })));
91
+ 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' }))));
72
92
  }
73
93
  };
74
94
  ModalFooter.style = modalFooterComponentCss;
75
95
 
76
- const modalHeaderComponentCss = ".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}:host{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(247 250 252/var(--tw-bg-opacity,1));border-top-left-radius:1rem;border-top-right-radius:1rem;color:rgb(39 40 56/var(--tw-text-opacity,1));display:flex;font-size:1.25rem;font-weight:600;justify-content:space-between;line-height:1.75rem;padding:1rem}@media (min-width:64rem){:host{font-size:2rem;font-weight:700;line-height:2.5rem;padding:1.5rem}}@media (min-width:64rem){.desktop-xs\\:text-3xl{font-size:2rem!important;line-height:2.5rem!important}}.static{position:static!important}";
96
+ const modalHeaderComponentCss = ".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}";
77
97
 
98
+ const header = cva('inline-flex w-full flex-col relative bg-white rounded-t-2xl overflow-hidden');
99
+ const content = cva(['flex justify-end', 'w-full p-4 pb-0 bg-off-white -mb-1'], {
100
+ variants: {
101
+ size: {
102
+ base: 'h-12',
103
+ lg: '',
104
+ xl: '',
105
+ '2xl': '',
106
+ },
107
+ },
108
+ });
109
+ const title = cva([
110
+ 'flex-1 text-center',
111
+ 'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',
112
+ 'black-teal-500 text-2xl text-ambit font-bold',
113
+ ]);
78
114
  const ModalHeader = class {
79
115
  constructor(hostRef) {
80
116
  registerInstance(this, hostRef);
81
117
  this.close = createEvent(this, "close", 3);
82
118
  }
119
+ /**
120
+ * Size of the header
121
+ */
122
+ size = 'base';
83
123
  /**
84
124
  * Wether to show the close button on mobile
85
125
  */
@@ -89,7 +129,7 @@ const ModalHeader = class {
89
129
  */
90
130
  close;
91
131
  render() {
92
- return (h(Host, { key: '2fe0012198430583e060f784c5d07606b9e19b94', class: 'p-modal-header' }, h("span", { key: '975691cdebc9846fe72c796a13217a276403fd22' }, h("slot", { key: 'e8fa4f6d4d10482f892edd6161f76dfd593dd802' })), this.showClose && (h("p-button", { key: '349a8a86a713028c3e73b93a1048a02785a8ca3e', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev), size: 'sm' }))));
132
+ 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' })));
93
133
  }
94
134
  };
95
135
  ModalHeader.style = modalHeaderComponentCss;
@@ -1 +1 @@
1
- {"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":";;AAAA,MAAM,qBAAqB,GAAG,y6BAAy6B;;MCO17B,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,OAAO,GAA8B,SAAS;AAEtD;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;AAEnC;;AAEG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A,0CAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EAC3B,CAAW,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kCAAkC,EAAG,CAAA,EAEtD,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;ACdV,MAAM,uBAAuB,GAAG,43BAA43B;;MCO/4B,WAAW,GAAA,MAAA;;;;;AACvB;;AAEG;IACK,SAAS,GAAG,IAAI;AAExB;;AAEG;AAIH,IAAA,KAAK;IAEL,MAAM,GAAA;AACL,QAAA,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EAC3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACF,EAEN,IAAI,CAAC,SAAS,KACd,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAClC,IAAI,EAAC,IAAI,GACE,CACZ,CACK;;;;;;;","names":[],"sources":["src/components/deprecated/atoms/modal/body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","src/components/deprecated/atoms/modal/body/modal-body.component.tsx","src/components/deprecated/atoms/modal/container/modal-container.component.scss?tag=p-modal-container","src/components/deprecated/atoms/modal/container/modal-container.component.tsx","src/components/deprecated/atoms/modal/footer/modal-footer.component.scss?tag=p-modal-footer&encapsulation=shadow","src/components/deprecated/atoms/modal/footer/modal-footer.component.tsx","src/components/deprecated/atoms/modal/header/modal-header.component.scss?tag=p-modal-header&encapsulation=shadow","src/components/deprecated/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":[":host {\n\t@apply bg-white;\n\t@apply px-6 py-6;\n}\n\n:host(.variant-table-flush) {\n\t@apply p-0 #{!important};\n}\n\n:host(.is-rounded-bottom) {\n\t@apply rounded-b-none desktop-xs:rounded-b-2xl;\n}\n\n:host(.is-rounded-top) {\n\t@apply rounded-t-lg desktop-xs:rounded-t-2xl;\n}\n\n:host(.no-padding) {\n\t@apply p-0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-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-flush' = 'default';\n\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\t/**\n\t * Wether the body should have padding\n\t */\n\t@Prop() padding: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-body variant-${this.variant} ${\n\t\t\t\t\tthis.roundedBottom && 'is-rounded-bottom'\n\t\t\t\t} ${\n\t\t\t\t\tthis.roundedTop && 'is-rounded-top'\n\t\t\t\t} ${!this.padding && 'no-padding'}`}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-modal-container {\n\t@apply z-modal flex w-full flex-col tablet:w-auto;\n\t@apply rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl;\n\n\t@apply desktop-xs:m-auto;\n\t@apply max-h-[calc(100dvh-4rem)] desktop-xs:max-h-none;\n\n\t@apply animate-in slide-in-from-bottom desktop-xs:slide-in-from-bottom-16 #{!important};\n\n\t@apply shadow-3 #{!important};\n\n\t&.closing {\n\t\t@apply slide-out-to-bottom desktop-xs:slide-out-to-bottom-16 #{!important};\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $modal-xs: 20rem;\n// $modal-sm: 33.5rem;\n// $modal-md: 38rem;\n// $modal-lg: 47.5rem;\n// $modal-xl: 57.5rem;\n\nconst modalSizes = {\n\txs: 'tablet:w-80',\n\tsm: 'tablet:w-[33.5rem]',\n\tmd: 'tablet:w-[38rem]',\n\tlg: 'tablet:w-[47.5rem]',\n\txl: 'tablet:w-[57.5rem]',\n};\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\tconst sizeClass = modalSizes[this.size];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-container ${\n\t\t\t\t\tthis.closing && 'closing'\n\t\t\t\t} ${sizeClass}`}\n\t\t\t>\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 flex flex-col;\n\t@apply px-6 pb-6;\n\t@apply rounded-b-none desktop-xs:rounded-b-2xl;\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.scss',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-modal-footer\">\n\t\t\t\t<p-divider class=\"mb-6 mt-0 hidden desktop-xs:flex\" />\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply rounded-t-2xl bg-mystic;\n\t@apply flex items-center justify-between;\n\t@apply p-4 desktop-xs:p-6;\n\n\t@apply text-xl font-semibold text-storm-dark;\n\t@apply desktop-xs:text-3xl desktop-xs:font-bold;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-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-modal-header'>\n\t\t\t\t<span>\n\t\t\t\t\t<slot />\n\t\t\t\t</span>\n\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={ev => this.close.emit(ev)}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":";;;;;AAAA,MAAM,qBAAqB,GAAG,osBAAosB;;ACGluB,MAAM,IAAI,GAAG,GAAG,CAAC,gCAAgC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,yCAAyC;AAC/C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;AACL,QAAA,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aA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AA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EAEL,IAAI,CAAC,SAAS,KACd,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAA,CACvB,CACZ,CACI,EAEN,CAAkB,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACb;;;;;;;","names":[],"sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst body = cva('bg-white p-4 overflow-y-scroll', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={body({\n\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\troundedTop: this.roundedTop,\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",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n\n\t&.opening {\n\t\t@apply animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small !important;\n\t}\n\n\t&.closing {\n\t\t@apply animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small !important;\n\t}\n}\n","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","","import { Component, h } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<div class='flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl'>\n\t\t\t\t<p-divider class='mb-4 hidden desktop-xs:inline-block' />\n\n\t\t\t\t<div class='flex flex-col gap-4 px-4 tablet:flex-row'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n","/* :host { */\n/* @apply rounded-t-2xl bg-mystic; */\n/* @apply flex items-center justify-between; */\n/* @apply p-4 desktop-xs:p-6; */\n/**/\n/* @apply text-xl font-semibold text-storm-dark; */\n/* @apply desktop-xs:text-3xl desktop-xs:font-bold; */\n/* } */\n","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"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-I9JY9uxk.js';
1
+ import { r as registerInstance, c as createEvent, g as getElement, h } from './index-I9JY9uxk.js';
2
2
 
3
3
  const Modal = class {
4
4
  constructor(hostRef) {
@@ -9,11 +9,7 @@ const Modal = class {
9
9
  /**
10
10
  * The size of the modal container
11
11
  */
12
- size = 'md';
13
- /**
14
- * The variant of the modal body
15
- */
16
- variant = 'default';
12
+ size = 'base';
17
13
  /**
18
14
  * The Header of the modal
19
15
  */
@@ -42,10 +38,6 @@ const Modal = class {
42
38
  * Wether we should scroll lock the body
43
39
  */
44
40
  scrollLock = true;
45
- /**
46
- * Wether the body should have padding
47
- */
48
- padding = true;
49
41
  /**
50
42
  * Close click event
51
43
  */
@@ -66,19 +58,33 @@ const Modal = class {
66
58
  if (!this.show) {
67
59
  return;
68
60
  }
69
- const headerContent = h("slot", { name: "header" });
70
- const bodyContent = h("slot", { name: "content" });
71
- const footerContent = h("slot", { name: "footer" });
72
- return (h(Host, { class: "p-modal" }, h("p-backdrop", { applyBlur: this.applyBlur, onClicked: (ev) => this._backdropClick(ev.detail), closing: this._closing, scrollLock: this.scrollLock }, h("p-modal-container", { size: this.size, closing: this._closing }, (this.header?.length || this._hasHeaderSlot) && (h("p-modal-header", { showClose: this.showClose, onClose: (ev) => this.close('button', ev.detail) }, this._hasHeaderSlot
73
- ? headerContent
74
- : this.header)), h("p-modal-body", { variant: this.variant, roundedBottom: !this._hasFooterSlot, roundedTop: !this._hasHeaderSlot && !this.header?.length, padding: this.padding }, bodyContent), this._hasFooterSlot && (h("p-modal-footer", null, footerContent))))));
61
+ const headerContent = h("slot", { name: 'header' });
62
+ const bodyContent = h("slot", { name: 'content' });
63
+ const footerContent = h("slot", { name: 'footer' });
64
+ return (h("p-backdrop", { applyBlur: this.applyBlur, onClicked: ev => this._backdropClick(ev.detail), closing: this._closing, scrollLock: this.scrollLock }, h("p-modal-container", { size: this.size, closing: this._closing }, (this.header?.length || this._hasHeaderSlot) && (h("p-modal-header", { size: this.size, showClose: this.showClose, onClose: ev => this.close('button', ev.detail) }, this._hasHeaderSlot ? headerContent : this.header)), h("p-modal-body", { roundedBottom: !this._hasFooterSlot, roundedTop: !this._hasHeaderSlot && !this.header?.length }, bodyContent), this._hasFooterSlot && (h("p-modal-footer", null, footerContent)))));
75
65
  }
76
66
  _backdropClick(ev) {
77
67
  if (!this.backdropClickClose) {
78
68
  return;
79
69
  }
70
+ const modal = this._findModal(ev.target);
71
+ if (modal) {
72
+ return;
73
+ }
80
74
  this.close('backdrop', ev);
81
75
  }
76
+ _findModal(el) {
77
+ if (!el) {
78
+ return null;
79
+ }
80
+ if (el.nodeName.toLowerCase() === 'p-modal-container') {
81
+ return el;
82
+ }
83
+ if (el?.tagName?.toLowerCase() === 'p-backdrop') {
84
+ return null;
85
+ }
86
+ return this._findModal(el?.parentElement);
87
+ }
82
88
  close(reason, ev) {
83
89
  this.closeClicked.emit(ev);
84
90
  this._closing = true;
@@ -1 +1 @@
1
- {"version":3,"file":"p-modal.entry.js","sources":["src/components/deprecated/organisms/modal/modal.component.tsx"],"sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal',\n\tshadow: true,\n})\nexport class Modal {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table-flush' = 'default';\n\n\t/**\n\t * The Header of the modal\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * Wether to show the modal or not\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to apply blur to the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether to show the close button in the header\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Wether to show the footer on mobile\n\t */\n\t@Prop() showMobileFooter = false;\n\n\t/**\n\t * Wether to hide the modal when the backdrop is clicked\n\t */\n\t@Prop() backdropClickClose = true;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * Wether the body should have padding\n\t */\n\t@Prop() padding: boolean = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tcloseClicked: EventEmitter<MouseEvent>;\n\n\t/**\n\t * Closed event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclosed: EventEmitter<string>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasFooterSlot = false;\n\tprivate _hasHeaderSlot = false;\n\n\t@State() private _closing = false;\n\n\tcomponentWillLoad() {\n\t\tthis._hasFooterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"footer\"]'\n\t\t);\n\t\tthis._hasHeaderSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"header\"]'\n\t\t);\n\t}\n\n\trender() {\n\t\tif (!this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst headerContent = <slot name=\"header\" />;\n\t\tconst bodyContent = <slot name=\"content\" />;\n\t\tconst footerContent = <slot name=\"footer\" />;\n\n\t\treturn (\n\t\t\t<Host class=\"p-modal\">\n\t\t\t\t<p-backdrop\n\t\t\t\t\tapplyBlur={this.applyBlur}\n\t\t\t\t\tonClicked={(ev) => this._backdropClick(ev.detail)}\n\t\t\t\t\tclosing={this._closing}\n\t\t\t\t\tscrollLock={this.scrollLock}\n\t\t\t\t>\n\t\t\t\t\t<p-modal-container size={this.size} closing={this._closing}>\n\t\t\t\t\t\t{(this.header?.length || this._hasHeaderSlot) && (\n\t\t\t\t\t\t\t<p-modal-header\n\t\t\t\t\t\t\t\tshowClose={this.showClose}\n\t\t\t\t\t\t\t\tonClose={(ev) => this.close('button', ev.detail)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._hasHeaderSlot\n\t\t\t\t\t\t\t\t\t? headerContent\n\t\t\t\t\t\t\t\t\t: this.header}\n\t\t\t\t\t\t\t</p-modal-header>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<p-modal-body\n\t\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\t\troundedBottom={!this._hasFooterSlot}\n\t\t\t\t\t\t\troundedTop={!this._hasHeaderSlot && !this.header?.length}\n\t\t\t\t\t\t\tpadding={this.padding}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{bodyContent}\n\t\t\t\t\t\t</p-modal-body>\n\t\t\t\t\t\t{this._hasFooterSlot && (\n\t\t\t\t\t\t\t<p-modal-footer>{footerContent}</p-modal-footer>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p-modal-container>\n\t\t\t\t</p-backdrop>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _backdropClick(ev: MouseEvent) {\n\t\tif (!this.backdropClickClose) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.close('backdrop', ev);\n\t}\n\n\tpublic close(reason: string, ev?: MouseEvent) {\n\t\tthis.closeClicked.emit(ev);\n\n\t\tthis._closing = true;\n\n\t\tsetTimeout(() => {\n\t\t\tthis.show = false;\n\t\t\tthis._closing = false;\n\n\t\t\tthis.closed.emit(reason);\n\t\t}, 550);\n\t}\n\n\t@Listen('closeModal', { target: 'window' })\n\thandleCloseModal() {\n\t\tthis.close('event');\n\t}\n}\n"],"names":[],"mappings":";;MAgBa,KAAK,GAAA,MAAA;;;;;;AACjB;;AAEG;IACK,IAAI,GAA8B,IAAI;AAE9C;;AAEG;IACK,OAAO,GAA8B,SAAS;AAEtD;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;IACK,IAAI,GAAY,KAAK;AAE7B;;AAEG;IACK,SAAS,GAAY,KAAK;AAElC;;AAEG;IACK,SAAS,GAAG,IAAI;AAExB;;AAEG;IACK,gBAAgB,GAAG,KAAK;AAEhC;;AAEG;IACK,kBAAkB,GAAG,IAAI;AAEjC;;AAEG;IACK,UAAU,GAAY,IAAI;AAElC;;AAEG;IACK,OAAO,GAAY,IAAI;AAE/B;;AAEG;AAIH,IAAA,YAAY;AAEZ;;AAEG;AAIH,IAAA,MAAM;;IAOE,cAAc,GAAG,KAAK;IACtB,cAAc,GAAG,KAAK;IAEb,QAAQ,GAAG,KAAK;IAEjC,iBAAiB,GAAA;AAChB,QAAA,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC7C,0BAA0B,CAC1B;AACD,QAAA,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC7C,0BAA0B,CAC1B;;IAGF,MAAM,GAAA;AACL,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACf;;AAGD,QAAA,MAAM,aAAa,GAAG,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,QAAQ,GAAG;AAC5C,QAAA,MAAM,WAAW,GAAG,CAAA,CA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AA;AACpC,QAAA,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC7B;;AAGD,QAAA,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,CAAC;;IAGpB,KAAK,CAAC,MAAc,EAAE,EAAe,EAAA;AAC3C,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;AAE1B,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;QAEpB,UAAU,CAAC,MAAK;AACf,YAAA,IAAI,CAAC,IAAI,GAAG,KAAK;AACjB,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AAErB,YAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;SACxB,EAAE,GAAG,CAAC;;IAIR,gBAAgB,GAAA;AACf,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;;;;;;"}
1
+ {"version":3,"file":"p-modal.entry.js","sources":["src/components/organisms/modal/modal.component.tsx"],"sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal',\n\tshadow: true,\n})\nexport class Modal {\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 * The Header of the modal\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * Wether to show the modal or not\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to apply blur to the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether to show the close button in the header\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Wether to show the footer on mobile\n\t */\n\t@Prop() showMobileFooter = false;\n\n\t/**\n\t * Wether to hide the modal when the backdrop is clicked\n\t */\n\t@Prop() backdropClickClose = true;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tcloseClicked: EventEmitter<MouseEvent>;\n\n\t/**\n\t * Closed event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclosed: EventEmitter<string>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasFooterSlot = false;\n\tprivate _hasHeaderSlot = false;\n\n\t@State() private _closing = false;\n\n\tcomponentWillLoad() {\n\t\tthis._hasFooterSlot = !!this._el.querySelector(':scope > [slot=\"footer\"]');\n\t\tthis._hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t}\n\n\trender() {\n\t\tif (!this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst headerContent = <slot name='header' />;\n\t\tconst bodyContent = <slot name='content' />;\n\t\tconst footerContent = <slot name='footer' />;\n\n\t\treturn (\n\t\t\t<p-backdrop\n\t\t\t\tapplyBlur={this.applyBlur}\n\t\t\t\tonClicked={ev => this._backdropClick(ev.detail)}\n\t\t\t\tclosing={this._closing}\n\t\t\t\tscrollLock={this.scrollLock}\n\t\t\t>\n\t\t\t\t<p-modal-container\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tclosing={this._closing}\n\t\t\t\t>\n\t\t\t\t\t{(this.header?.length || this._hasHeaderSlot) && (\n\t\t\t\t\t\t<p-modal-header\n\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\tshowClose={this.showClose}\n\t\t\t\t\t\t\tonClose={ev => this.close('button', ev.detail)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._hasHeaderSlot ? headerContent : this.header}\n\t\t\t\t\t\t</p-modal-header>\n\t\t\t\t\t)}\n\t\t\t\t\t<p-modal-body\n\t\t\t\t\t\troundedBottom={!this._hasFooterSlot}\n\t\t\t\t\t\troundedTop={!this._hasHeaderSlot && !this.header?.length}\n\t\t\t\t\t>\n\t\t\t\t\t\t{bodyContent}\n\t\t\t\t\t</p-modal-body>\n\t\t\t\t\t{this._hasFooterSlot && (\n\t\t\t\t\t\t<p-modal-footer>{footerContent}</p-modal-footer>\n\t\t\t\t\t)}\n\t\t\t\t</p-modal-container>\n\t\t\t</p-backdrop>\n\t\t);\n\t}\n\n\tprivate _backdropClick(ev: MouseEvent) {\n\t\tif (!this.backdropClickClose) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst modal = this._findModal(ev.target as HTMLElement);\n\t\tif (modal) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.close('backdrop', ev);\n\t}\n\n\tprivate _findModal(el: HTMLElement | null): any {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (el.nodeName.toLowerCase() === 'p-modal-container') {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-backdrop') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findModal(el?.parentElement);\n\t}\n\n\tpublic close(reason: string, ev?: MouseEvent) {\n\t\tthis.closeClicked.emit(ev);\n\n\t\tthis._closing = true;\n\n\t\tsetTimeout(() => {\n\t\t\tthis.show = false;\n\t\t\tthis._closing = false;\n\n\t\t\tthis.closed.emit(reason);\n\t\t}, 550);\n\t}\n\n\t@Listen('closeModal', { target: 'window' })\n\thandleCloseModal() {\n\t\tthis.close('event');\n\t}\n}\n"],"names":[],"mappings":";;MAea,KAAK,GAAA,MAAA;;;;;;AACjB;;AAEG;IACK,IAAI,GAAiC,MAAM;AAEnD;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;IACK,IAAI,GAAY,KAAK;AAE7B;;AAEG;IACK,SAAS,GAAY,KAAK;AAElC;;AAEG;IACK,SAAS,GAAG,IAAI;AAExB;;AAEG;IACK,gBAAgB,GAAG,KAAK;AAEhC;;AAEG;IACK,kBAAkB,GAAG,IAAI;AAEjC;;AAEG;IACK,UAAU,GAAY,IAAI;AAElC;;AAEG;AAIH,IAAA,YAAY;AAEZ;;AAEG;AA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AAErB,YAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;SACxB,EAAE,GAAG,CAAC;;IAIR,gBAAgB,GAAA;AACf,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;;;;;;"}
@@ -49,7 +49,7 @@ const Navbar = class {
49
49
  }
50
50
  _show = false;
51
51
  render() {
52
- return (h(Host, { key: 'de0a7273112c8004394fac871dc11b42594f870d', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, h("p-backdrop", { key: 'bb0e286f77ccacd71c622e4bca44b7721a34f758', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'ad5ca2284cee827aadd6b7400ed5b729fcf109be', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '2b009d0dd527eb8098923ff5b5889690a1b61930', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: 'b77861d630264442541a75faa38a6ca7d7b950f6', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: 'f3770d1dc21c967586f38889bce7b87a1be7a855', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: 'e7549b21687c361ec945141fc6fb7a62d8a35152', name: 'company' })), h("div", { key: 'daddb745aaf8b21bcd2f68e801b670a13f430095', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '1c2acaafe3e244808cb3fa52b324ccd8ac9c92fc', name: 'content' })), h("div", { key: '2107d8099967f9725e9d95666bd1ca0b97089aa4', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '02f87d20e0c76d4c36ccc99277f314fab5dcdf95', name: 'user' }))), h("div", { key: '339c6b81be30fafc499efb89067dc64c2568ca21', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '3421d7353ffa03fdd53b1a7686bbe468d9721687', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: 'a508317c8683c53258a572fd87a4de4986f9f24d', name: 'topbar' }))));
52
+ return (h(Host, { key: '1089baa509795310aa9e9c4b4c1a54624a7ef31c', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, h("p-backdrop", { key: '2c415cc864f3d338b987b41429f98b090ddf53b7', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '55761ceaea587deb639a7a00a21ce4b1de8d1077', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '73550d0731b0cd8f16176031bec6b22b222cf6d3', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: '40296bbaf4062f58668be3a9678eeee72e384bdc', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '7e9e3ccc2e67346753f5857627f14177927190f1', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: '93eee53bb316df4b4e1979ca2305538b93f9dad7', name: 'company' })), h("div", { key: '101a6607ac9fa0404c478132db8d6dc187941d0e', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '40f3116758e9dcb1b9cd95a3ea0abfe63f556df5', name: 'content' })), h("div", { key: '9eda09f5fe5723f3e4a2275dbc12e93e1f017a21', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '2f56fa2058cd4769f1bd494d688ac4005bc91ff4', name: 'user' }))), h("div", { key: 'bdc8cd868d4a1c144d3808d7b9387a50d630deb3', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '78d95e0d63fd0f1e7831d4fbbaa2638129473f90', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: 'd234f98d3764d1c23e75bd50b4a44152c8f8a401', name: 'topbar' }))));
53
53
  }
54
54
  handleCloseNavbar() {
55
55
  this._show = false;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-I9JY9uxk.js';
2
2
  import { c as cva } from './index-CO0T2jO4.js';
3
- import { c as cn } from './cn-CsNqHcjL.js';
3
+ import { c as cn } from './cn-BniKgfyU.js';
4
4
  import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
5
5
  import './clsx-ChV9xqsO.js';
6
6
 
@@ -73,10 +73,10 @@ const NavigationItem = class {
73
73
  render() {
74
74
  const TagType = this.as;
75
75
  const active = asBoolean(this.active) || this.class?.includes('active');
76
- return (h(Host, { key: '79994e86292f09cfc75ff2f3975030ee9e9dce06', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: 'bed91b063af5892b731a872fbb0949b539f4591c', class: navigationItem({
76
+ return (h(Host, { key: 'a87f509578f0ce6740dd69fc69e0fa04ed0ee2b2', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '4609e8924e72646b9802e869c50c80e47a78ac30', class: navigationItem({
77
77
  icon: !!this.icon,
78
78
  active,
79
- }), href: this.href, target: this.target }, h("div", { key: '207d64b0404e1bbd61c01ebbe48011e3c5bb4f92', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'babf7766bd3e6c4abe920e080c36d2bf940ea480', variant: this.icon })), h("span", { key: '64bcff00187439b6d894682f3b3b77d4f34e5865', class: this.counter && 'has-counter' }, h("slot", { key: '7810eb410817292b67cb540bc406aca91c07c5b3' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'b1da55a598b0e7ee9af2d8f8b5814af7ee7fc1a9' }, this.counter)), !!this.loading && h("p-loader", { key: '0617f2cbd8a40642ec4fd992ca0daed95c44d0bf', class: 'ml-auto' }))));
79
+ }), href: this.href, target: this.target }, h("div", { key: '468f0196ea467f1dd47b3afc56abff04b76036da', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'a868bd9dda5e0b2f45a5519a0b91b00c7fb69411', variant: this.icon })), h("span", { key: '6de006baa0a070f31f1c3dae2a12c13a45161df3', class: this.counter && 'has-counter' }, h("slot", { key: 'cb79f483fe8571267edc88b0d5ba3714b058ab69' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '7984ff9391669ab92375d11756dc320a099ac412' }, this.counter)), !!this.loading && h("p-loader", { key: '7f9b7682218b062de8cafd6999c3d4739cdebd28', class: 'ml-auto' }))));
80
80
  }
81
81
  };
82
82
  NavigationItem.style = navigationItemComponentCss;
@@ -11,7 +11,7 @@ const NavigationSection = class {
11
11
  */
12
12
  header;
13
13
  render() {
14
- return (h(Host, { key: 'f4f2bcc2770ff5c35006c726fa8eaa766c0576c1', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '54a51bf17ffcc7ab14f254e22ab912d479ecf47e' }, this.header)), h("div", { key: '3f0d55eda9f0f0dcf6a5d12be309d9310a29d67d', class: 'flex flex-col' }, h("slot", { key: '47119d190320bf6e916ee65b53db59f0b7308e25' }))));
14
+ return (h(Host, { key: '656b8844f21a7487d1988f82ef95e6f7f8071b6f', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '13774787edcc7fb4056c2b6b8780827407535dd0' }, this.header)), h("div", { key: 'b9a92a246a30ce332c6a754136cfcd2ab3f74a9a', class: 'flex flex-col' }, h("slot", { key: '090c9b6453469778bce1291541f326edac343fe9' }))));
15
15
  }
16
16
  };
17
17
  NavigationSection.style = navigationSectionComponentCss;
@@ -7,7 +7,7 @@ const NavigationTitle = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'd7464c49abfeb84ac59e53f5ee93d42895aa0a73', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: 'e3c2d4f9b646328f5020b920185c13387ab95c35' })));
10
+ return (h(Host, { key: 'fc1f419cd81c04ad18fd482b822e765dc0b6230d', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: '1637274efa34db023290373d07c9a1e693b87ce0' })));
11
11
  }
12
12
  };
13
13
  NavigationTitle.style = navigationTitleComponentCss;
@@ -64,12 +64,12 @@ const Pagination = class {
64
64
  _hasPaginationPages = true;
65
65
  render() {
66
66
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
67
- return (h(Host, { key: 'e4dafb4d00fe57e1f56d4e4c892b63cfb3562216', class: pagination({
67
+ return (h(Host, { key: 'd621942e09c5c48e4fa43a01ebff160a9e80b62b', class: pagination({
68
68
  hidden: (hidePageSizeSelect && !this.enablePaginationSize) ||
69
69
  (!this.enablePaginationSize && !this.enablePaginationPages),
70
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '44a1132a9402ce841e0ac111e52d2414e7d09d18' }, h("p-pagination-size", { key: '81088b332c027e799beedb92b609c825e28d0db0', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
70
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '93ee58473f0494ee0201af1ccff452de809fac9c' }, h("p-pagination-size", { key: '4655daf55b5a42d7e06486582c668ec61f52bd1d', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
71
71
  this.hideOnSinglePage &&
72
- this._hasPaginationPages && (h("p-divider", { key: '7ba1c2fdfa070d230ec312c8aaa772177d4c6f51', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '229ec3acb75a7076bf7f67411ed23b5143a498fe', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
72
+ this._hasPaginationPages && (h("p-divider", { key: '3ed490e233d902ad86f4d718beee5f64c826dbb5', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '3307cb66009c30099b6fa236aec627600196229f', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
73
73
  }
74
74
  _changePageSize(s) {
75
75
  if (!s) {
@@ -16,7 +16,7 @@ const Portal = class {
16
16
  this._moved ? this._el.remove() : (this._moved = true);
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '4dc8c030ff629d3b44072c6abd4767cc8cbe33af' }, h("slot", { key: 'adc1b43bc7454423ed39af107d87a5fda7501a11' })));
19
+ return (h(Host, { key: 'd1932f08bcd675a36f4ab38f80b0600b3be37837' }, h("slot", { key: '6c6d36bb258590934c5b7a7f6498f5a7a548f6ff' })));
20
20
  }
21
21
  };
22
22
 
@@ -31,7 +31,7 @@ const Profile = class {
31
31
  }
32
32
  render() {
33
33
  const content = this._getContent();
34
- return (h(Host, { key: '924a53724123db1114424a326b281ae4ac1450f1', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
34
+ return (h(Host, { key: '3429f2c599ed9a16edcb44bffb7bf937dcdfe028', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
35
35
  }
36
36
  slotchange() {
37
37
  this._checkDropdownSlot();
@@ -84,11 +84,11 @@ const Radio = class {
84
84
  checkedChange;
85
85
  _nonce = nonce(5);
86
86
  render() {
87
- return (h(Host, { key: '8e608ec2fb314e40a66b72ddbae8eff93b6fc36a', class: 'p-radio' }, h("label", { key: '5e1ea70d0a70918aaf6a812f388efea422d329c2', htmlFor: this.id?.length ? this.id : this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '9e9654e0252ac94c0827d22192f29706bd8b1e9e', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '86fe67a11b8ca0b2f6ef1e264fa3a5ef6851b588', class: radio({
87
+ return (h(Host, { key: '6638ffb8a344e1f1d8fd8151325f1a7b03cfcda3', class: 'p-radio' }, h("label", { key: '9558d0c136974b26e1c09fdafa909c36dc2699a2', htmlFor: this.id?.length ? this.id : this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '8f1b876a7a9290467ea00876d167f131eb2a00bc', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '7a1855289d2060d8bc379d922234adde088a0dc6', class: radio({
88
88
  disabled: asBoolean(this.disabled),
89
- }), type: 'radio', id: this.id?.length ? this.id : this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '12b7898a144dca6adfe4d3679eaa91de92dd416d', class: circle({
89
+ }), type: 'radio', id: this.id?.length ? this.id : this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '07cdb6d6ae5eedfbae3c1b959fd2ea91812cd365', class: circle({
90
90
  disabled: asBoolean(this.disabled),
91
- }) })), h("slot", { key: '31cea45bfaa8cba4b3d8bda8d17ac437b8aaab53' }))));
91
+ }) })), h("slot", { key: '7033aa1f87f896e0e80f85b1043d518290b3fb86' }))));
92
92
  }
93
93
  _onChange(ev) {
94
94
  if (asBoolean(this.disabled)) {
@@ -281,7 +281,7 @@ const Select = class {
281
281
  }
282
282
  }
283
283
  render() {
284
- return (h(Host, { key: '09f49a3f2f56a185d2cf3bc5fe291863dac662c8', class: 'p-select' }, h("p-dropdown", { key: 'd2c5b649fba5a2f2aac49758dbb6e46bb6cfa69b', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: '2eef2b44ddbfe59e8bb24041f4db5df368c36eb9', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: 'f9380f93e8c93a21159b7613562919c4ac7c114b', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: 'fba077b335c6625cad40e437f67bbe6cb5df839f', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
284
+ return (h(Host, { key: 'ff43aa586a6ea21661882466be86ae01d7ee30ae', class: 'p-select' }, h("p-dropdown", { key: '37f3195b9c4b1ad3a13a3037bc3360eb13756ed0', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: 'ecec7c0a970b95a289f0429db859b0e83a336b3d', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '7d9211431dfd440efae432a234488fb8d135324a', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '4ca1f6b776d3461cd1edfe3da7d97b6404690cc8', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
285
285
  }
286
286
  documentClickHandler({ target }) {
287
287
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -11,7 +11,7 @@ const SliderIndicator = class {
11
11
  */
12
12
  active = false;
13
13
  render() {
14
- return (h(Host, { key: '713dcd78b015cee1243dfd2e4e9f394605515974', class: `p-slider-indicator ${this.active && 'active'}` }));
14
+ return (h(Host, { key: 'eb181ba58becb6dbe087245f06463959d5ccc4db', class: `p-slider-indicator ${this.active && 'active'}` }));
15
15
  }
16
16
  };
17
17
  SliderIndicator.style = sliderIndicatorComponentCss;
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h, H as Host } from './index-I9JY9uxk.js';
2
+
3
+ const smileFooterComponentCss = "*{box-sizing:border-box}.static{position:static!important}.aspect-\\[15\\/1\\]{aspect-ratio:15/1!important}.w-full{width:100%!important}.bg-off-white-500{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}";
4
+
5
+ const SmileFooter = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h(Host, { key: 'b431aeca4715fab3ced80de580616122e3a9fab0', class: "content-[' '] rounded-[50% 50% 0 0/100% 100% 0 0] aspect-[15/1] w-full bg-off-white-500", style: { 'border-radius': '0 0 50% 50%/0 0 100% 100%' } }));
11
+ }
12
+ };
13
+ SmileFooter.style = smileFooterComponentCss;
14
+
15
+ export { SmileFooter as p_smile_footer };
16
+ //# sourceMappingURL=p-smile-footer.entry.js.map
17
+
18
+ //# sourceMappingURL=p-smile-footer.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-smile-footer.entry.js","sources":["src/components/atoms/smile-footer/smile-footer.component.css?tag=p-smile-footer","src/components/atoms/smile-footer/smile-footer.component.tsx"],"sourcesContent":["","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-smile-footer',\n\tstyleUrl: 'smile-footer.component.css',\n})\nexport class SmileFooter {\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass=\"content-[' '] rounded-[50% 50% 0 0/100% 100% 0 0] aspect-[15/1] w-full bg-off-white-500\"\n\t\t\t\tstyle={{ 'border-radius': '0 0 50% 50%/0 0 100% 100%' }}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,uBAAuB,GAAG,2PAA2P;;MCM9Q,WAAW,GAAA,MAAA;;;;IACvB,MAAM,GAAA;QACL,QACC,CAAC,CAAA,IAAI,EACJ,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yFAAyF,EAC/F,KAAK,EAAE,EAAE,eAAe,EAAE,2BAA2B,EAAE,EAAA,CAChD;;;;;;;"}