@paperless/core 2.0.1-beta.41 → 2.0.1-beta.43

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 (304) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{paperless/p-462a2f03.entry.js → build/p-00d50041.entry.js} +2 -2
  3. package/dist/{paperless/p-485ae49a.entry.js → build/p-04459f71.entry.js} +2 -2
  4. package/dist/{paperless/p-3b42a234.entry.js → build/p-05a76cb5.entry.js} +2 -2
  5. package/dist/{paperless/p-6cd52774.entry.js → build/p-08b8a232.entry.js} +2 -2
  6. package/dist/build/{p-fb384da3.entry.js → p-1b5ec2b1.entry.js} +2 -2
  7. package/dist/build/p-1c725862.entry.js +2 -0
  8. package/dist/build/p-1c725862.entry.js.map +1 -0
  9. package/dist/build/{p-0dc44bc0.entry.js → p-1ed4a75e.entry.js} +2 -2
  10. package/dist/build/{p-6dcd243c.js → p-2218e936.js} +1 -1
  11. package/dist/build/{p-12262429.entry.js → p-241ff529.entry.js} +2 -2
  12. package/dist/{paperless/p-836ece67.entry.js → build/p-2841c42f.entry.js} +2 -2
  13. package/dist/build/{p-3cde5f71.entry.js → p-2bd123f4.entry.js} +2 -2
  14. package/dist/build/{p-184afd44.entry.js → p-46362798.entry.js} +2 -2
  15. package/dist/build/{p-2236add8.entry.js → p-590a1b81.entry.js} +2 -2
  16. package/dist/build/p-7142a11d.entry.js +2 -0
  17. package/dist/build/{p-80bdc264.entry.js → p-885497ca.entry.js} +2 -2
  18. package/dist/build/p-8e4a33d5.entry.js +2 -0
  19. package/dist/{paperless/p-76e05fbf.entry.js → build/p-8faffde8.entry.js} +2 -2
  20. package/dist/build/{p-b040b0ef.entry.js → p-9046b01a.entry.js} +2 -2
  21. package/dist/build/{p-ccd419a0.entry.js → p-a56474ea.entry.js} +2 -2
  22. package/dist/build/{p-a0337437.entry.js → p-a5934232.entry.js} +2 -2
  23. package/dist/build/p-a64d7a8d.entry.js +2 -0
  24. package/dist/build/p-a64d7a8d.entry.js.map +1 -0
  25. package/dist/build/{p-8bfd2e4c.entry.js → p-ba0e7853.entry.js} +2 -2
  26. package/dist/build/{p-f667ab81.entry.js → p-c374399e.entry.js} +2 -2
  27. package/dist/build/p-c8e79e30.entry.js +2 -0
  28. package/dist/build/{p-5eda67b1.entry.js → p-cba876e7.entry.js} +2 -2
  29. package/dist/{paperless/p-8f235c34.entry.js → build/p-ce509c15.entry.js} +2 -2
  30. package/dist/build/{p-e1703baf.entry.js → p-d041a74e.entry.js} +2 -2
  31. package/dist/build/{p-9a3b9697.entry.js → p-d6bda000.entry.js} +2 -2
  32. package/dist/build/{p-8b1f5d30.entry.js → p-d9fae6bd.entry.js} +2 -2
  33. package/dist/build/{p-916af5c4.entry.js → p-e9d44525.entry.js} +2 -2
  34. package/dist/{paperless/p-9008a038.entry.js → build/p-eb654d58.entry.js} +2 -2
  35. package/dist/{paperless/p-55b58b85.entry.js → build/p-eec56c71.entry.js} +2 -2
  36. package/dist/build/{p-025624f6.entry.js → p-f40f89a7.entry.js} +2 -2
  37. package/dist/build/{p-fa27b5a7.entry.js → p-fd53acd3.entry.js} +2 -2
  38. package/dist/build/paperless.esm.js +1 -1
  39. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  40. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  41. package/dist/cjs/p-badge_3.cjs.entry.js +4 -5
  42. package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
  43. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  44. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  45. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  46. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  47. package/dist/cjs/p-checkbox_2.cjs.entry.js +3 -3
  48. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  49. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  50. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  51. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +1 -1
  52. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  53. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +5 -5
  54. package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
  55. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  56. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  57. package/dist/cjs/p-label.cjs.entry.js +3 -3
  58. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  59. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  60. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  61. package/dist/cjs/p-pagination.cjs.entry.js +3 -3
  62. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  63. package/dist/cjs/p-select.cjs.entry.js +1 -1
  64. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  65. package/dist/cjs/p-status.cjs.entry.js +2 -2
  66. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  67. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  68. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  69. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  70. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  71. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  72. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  73. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  74. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  75. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -4
  76. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -1
  77. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  78. package/dist/collection/components/atoms/status/status.component.js +2 -2
  79. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  80. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  81. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  82. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  83. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  84. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  85. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  86. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  87. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  88. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  89. package/dist/collection/components/molecules/button/button.component.css +1 -1
  90. package/dist/collection/components/molecules/button/button.component.js +4 -4
  91. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  92. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  93. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  94. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  95. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  96. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  97. package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
  98. package/dist/collection/components/molecules/field/field.component.js +3 -3
  99. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  100. package/dist/collection/components/molecules/input-group/input-group.component.js +3 -3
  101. package/dist/collection/components/molecules/label/label.component.js +3 -3
  102. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
  103. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  104. package/dist/collection/components/molecules/pagination/pagination.component.js +3 -3
  105. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +1 -1
  106. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  107. package/dist/collection/components/molecules/select/select.component.js +1 -1
  108. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  109. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  110. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
  111. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  112. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  113. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  114. package/dist/components/button.component.js +5 -5
  115. package/dist/components/button.component.js.map +1 -1
  116. package/dist/components/calendar.component.js +1 -1
  117. package/dist/components/dropdown.component.js +3 -3
  118. package/dist/components/field.component.js +3 -3
  119. package/dist/components/input-error.component.js +1 -1
  120. package/dist/components/p-accordion.js +1 -1
  121. package/dist/components/p-attachment.js +4 -4
  122. package/dist/components/p-button-group.js +1 -1
  123. package/dist/components/p-content-slider.js +2 -2
  124. package/dist/components/p-cropper.js +2 -2
  125. package/dist/components/p-datepicker.js +2 -2
  126. package/dist/components/p-input-group.js +3 -3
  127. package/dist/components/p-label.js +3 -3
  128. package/dist/components/p-navbar.js +1 -1
  129. package/dist/components/p-navigation-item.js +2 -2
  130. package/dist/components/p-navigation-section.js +1 -1
  131. package/dist/components/p-pagination.js +3 -3
  132. package/dist/components/p-profile.js +1 -1
  133. package/dist/components/p-select.js +1 -1
  134. package/dist/components/p-status.js +2 -2
  135. package/dist/components/p-stepper-item.js +1 -1
  136. package/dist/components/p-stepper.js +1 -1
  137. package/dist/components/p-tab-group.js +1 -1
  138. package/dist/components/p-tab-item.js +1 -1
  139. package/dist/components/p-toast-container.js +1 -1
  140. package/dist/components/p-toast.js +1 -1
  141. package/dist/components/p-toggle.js +3 -3
  142. package/dist/components/pagination-pages.component.js +1 -1
  143. package/dist/components/segment-item.component.js +4 -5
  144. package/dist/components/segment-item.component.js.map +1 -1
  145. package/dist/components/slider-indicator.component.js +1 -1
  146. package/dist/components/stepper-line.component.js +1 -1
  147. package/dist/components/table-cell.component.js +1 -1
  148. package/dist/components/table-container.component.js +1 -1
  149. package/dist/components/table-footer.component.js +1 -1
  150. package/dist/components/table-row.component.js +2 -2
  151. package/dist/components/tooltip.component.js +4 -4
  152. package/dist/esm/p-accordion.entry.js +1 -1
  153. package/dist/esm/p-attachment.entry.js +4 -4
  154. package/dist/esm/p-badge_3.entry.js +4 -5
  155. package/dist/esm/p-badge_3.entry.js.map +1 -1
  156. package/dist/esm/p-button-group.entry.js +1 -1
  157. package/dist/esm/p-button_3.entry.js +5 -5
  158. package/dist/esm/p-button_3.entry.js.map +1 -1
  159. package/dist/esm/p-calendar.entry.js +1 -1
  160. package/dist/esm/p-checkbox_2.entry.js +3 -3
  161. package/dist/esm/p-content-slider.entry.js +2 -2
  162. package/dist/esm/p-cropper.entry.js +2 -2
  163. package/dist/esm/p-datepicker.entry.js +2 -2
  164. package/dist/esm/p-dropdown-menu-item_4.entry.js +1 -1
  165. package/dist/esm/p-field_2.entry.js +3 -3
  166. package/dist/esm/p-floating-menu-container_8.entry.js +5 -5
  167. package/dist/esm/p-helper_2.entry.js +4 -4
  168. package/dist/esm/p-input-error.entry.js +1 -1
  169. package/dist/esm/p-input-group.entry.js +3 -3
  170. package/dist/esm/p-label.entry.js +3 -3
  171. package/dist/esm/p-navbar.entry.js +1 -1
  172. package/dist/esm/p-navigation-item.entry.js +2 -2
  173. package/dist/esm/p-navigation-section.entry.js +1 -1
  174. package/dist/esm/p-pagination.entry.js +3 -3
  175. package/dist/esm/p-profile.entry.js +1 -1
  176. package/dist/esm/p-select.entry.js +1 -1
  177. package/dist/esm/p-slider-indicator.entry.js +1 -1
  178. package/dist/esm/p-status.entry.js +2 -2
  179. package/dist/esm/p-stepper-item.entry.js +1 -1
  180. package/dist/esm/p-stepper-line.entry.js +1 -1
  181. package/dist/esm/p-stepper.entry.js +1 -1
  182. package/dist/esm/p-tab-group.entry.js +1 -1
  183. package/dist/esm/p-tab-item.entry.js +1 -1
  184. package/dist/esm/p-toast-container.entry.js +1 -1
  185. package/dist/esm/p-toast.entry.js +1 -1
  186. package/dist/esm/p-toggle.entry.js +3 -3
  187. package/dist/index.html +1 -1
  188. package/dist/{build/p-462a2f03.entry.js → paperless/p-00d50041.entry.js} +2 -2
  189. package/dist/{build/p-485ae49a.entry.js → paperless/p-04459f71.entry.js} +2 -2
  190. package/dist/{build/p-3b42a234.entry.js → paperless/p-05a76cb5.entry.js} +2 -2
  191. package/dist/{build/p-6cd52774.entry.js → paperless/p-08b8a232.entry.js} +2 -2
  192. package/dist/paperless/{p-fb384da3.entry.js → p-1b5ec2b1.entry.js} +2 -2
  193. package/dist/paperless/p-1c725862.entry.js +2 -0
  194. package/dist/paperless/p-1c725862.entry.js.map +1 -0
  195. package/dist/paperless/{p-0dc44bc0.entry.js → p-1ed4a75e.entry.js} +2 -2
  196. package/dist/paperless/{p-12262429.entry.js → p-241ff529.entry.js} +2 -2
  197. package/dist/{build/p-836ece67.entry.js → paperless/p-2841c42f.entry.js} +2 -2
  198. package/dist/paperless/{p-3cde5f71.entry.js → p-2bd123f4.entry.js} +2 -2
  199. package/dist/paperless/{p-184afd44.entry.js → p-46362798.entry.js} +2 -2
  200. package/dist/paperless/{p-2236add8.entry.js → p-590a1b81.entry.js} +2 -2
  201. package/dist/paperless/p-7142a11d.entry.js +2 -0
  202. package/dist/paperless/{p-80bdc264.entry.js → p-885497ca.entry.js} +2 -2
  203. package/dist/paperless/p-8e4a33d5.entry.js +2 -0
  204. package/dist/{build/p-76e05fbf.entry.js → paperless/p-8faffde8.entry.js} +2 -2
  205. package/dist/paperless/{p-b040b0ef.entry.js → p-9046b01a.entry.js} +2 -2
  206. package/dist/paperless/{p-ccd419a0.entry.js → p-a56474ea.entry.js} +2 -2
  207. package/dist/paperless/{p-a0337437.entry.js → p-a5934232.entry.js} +2 -2
  208. package/dist/paperless/p-a64d7a8d.entry.js +2 -0
  209. package/dist/paperless/p-a64d7a8d.entry.js.map +1 -0
  210. package/dist/paperless/{p-8bfd2e4c.entry.js → p-ba0e7853.entry.js} +2 -2
  211. package/dist/paperless/{p-f667ab81.entry.js → p-c374399e.entry.js} +2 -2
  212. package/dist/paperless/p-c8e79e30.entry.js +2 -0
  213. package/dist/paperless/{p-5eda67b1.entry.js → p-cba876e7.entry.js} +2 -2
  214. package/dist/{build/p-8f235c34.entry.js → paperless/p-ce509c15.entry.js} +2 -2
  215. package/dist/paperless/{p-e1703baf.entry.js → p-d041a74e.entry.js} +2 -2
  216. package/dist/paperless/{p-9a3b9697.entry.js → p-d6bda000.entry.js} +2 -2
  217. package/dist/paperless/{p-8b1f5d30.entry.js → p-d9fae6bd.entry.js} +2 -2
  218. package/dist/paperless/{p-916af5c4.entry.js → p-e9d44525.entry.js} +2 -2
  219. package/dist/{build/p-9008a038.entry.js → paperless/p-eb654d58.entry.js} +2 -2
  220. package/dist/{build/p-55b58b85.entry.js → paperless/p-eec56c71.entry.js} +2 -2
  221. package/dist/paperless/{p-025624f6.entry.js → p-f40f89a7.entry.js} +2 -2
  222. package/dist/paperless/{p-fa27b5a7.entry.js → p-fd53acd3.entry.js} +2 -2
  223. package/dist/paperless/paperless.esm.js +1 -1
  224. package/dist/sw.js +1 -1
  225. package/dist/sw.js.map +1 -1
  226. package/hydrate/index.js +67 -68
  227. package/hydrate/index.mjs +67 -68
  228. package/package.json +1 -1
  229. package/dist/build/p-17d2ac87.entry.js +0 -2
  230. package/dist/build/p-17d2ac87.entry.js.map +0 -1
  231. package/dist/build/p-1d336c69.entry.js +0 -2
  232. package/dist/build/p-2e482a47.entry.js +0 -2
  233. package/dist/build/p-2e482a47.entry.js.map +0 -1
  234. package/dist/build/p-387ddb95.entry.js +0 -2
  235. package/dist/build/p-d9d5bc98.entry.js +0 -2
  236. package/dist/paperless/p-17d2ac87.entry.js +0 -2
  237. package/dist/paperless/p-17d2ac87.entry.js.map +0 -1
  238. package/dist/paperless/p-1d336c69.entry.js +0 -2
  239. package/dist/paperless/p-2e482a47.entry.js +0 -2
  240. package/dist/paperless/p-2e482a47.entry.js.map +0 -1
  241. package/dist/paperless/p-387ddb95.entry.js +0 -2
  242. package/dist/paperless/p-d9d5bc98.entry.js +0 -2
  243. /package/dist/build/{p-462a2f03.entry.js.map → p-00d50041.entry.js.map} +0 -0
  244. /package/dist/build/{p-485ae49a.entry.js.map → p-04459f71.entry.js.map} +0 -0
  245. /package/dist/build/{p-3b42a234.entry.js.map → p-05a76cb5.entry.js.map} +0 -0
  246. /package/dist/build/{p-6cd52774.entry.js.map → p-08b8a232.entry.js.map} +0 -0
  247. /package/dist/build/{p-fb384da3.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  248. /package/dist/build/{p-0dc44bc0.entry.js.map → p-1ed4a75e.entry.js.map} +0 -0
  249. /package/dist/build/{p-12262429.entry.js.map → p-241ff529.entry.js.map} +0 -0
  250. /package/dist/build/{p-836ece67.entry.js.map → p-2841c42f.entry.js.map} +0 -0
  251. /package/dist/build/{p-3cde5f71.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  252. /package/dist/build/{p-184afd44.entry.js.map → p-46362798.entry.js.map} +0 -0
  253. /package/dist/build/{p-2236add8.entry.js.map → p-590a1b81.entry.js.map} +0 -0
  254. /package/dist/build/{p-387ddb95.entry.js.map → p-7142a11d.entry.js.map} +0 -0
  255. /package/dist/build/{p-80bdc264.entry.js.map → p-885497ca.entry.js.map} +0 -0
  256. /package/dist/build/{p-1d336c69.entry.js.map → p-8e4a33d5.entry.js.map} +0 -0
  257. /package/dist/build/{p-76e05fbf.entry.js.map → p-8faffde8.entry.js.map} +0 -0
  258. /package/dist/build/{p-b040b0ef.entry.js.map → p-9046b01a.entry.js.map} +0 -0
  259. /package/dist/build/{p-ccd419a0.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  260. /package/dist/build/{p-a0337437.entry.js.map → p-a5934232.entry.js.map} +0 -0
  261. /package/dist/build/{p-8bfd2e4c.entry.js.map → p-ba0e7853.entry.js.map} +0 -0
  262. /package/dist/build/{p-f667ab81.entry.js.map → p-c374399e.entry.js.map} +0 -0
  263. /package/dist/build/{p-d9d5bc98.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  264. /package/dist/build/{p-5eda67b1.entry.js.map → p-cba876e7.entry.js.map} +0 -0
  265. /package/dist/build/{p-8f235c34.entry.js.map → p-ce509c15.entry.js.map} +0 -0
  266. /package/dist/build/{p-e1703baf.entry.js.map → p-d041a74e.entry.js.map} +0 -0
  267. /package/dist/build/{p-9a3b9697.entry.js.map → p-d6bda000.entry.js.map} +0 -0
  268. /package/dist/build/{p-8b1f5d30.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  269. /package/dist/build/{p-916af5c4.entry.js.map → p-e9d44525.entry.js.map} +0 -0
  270. /package/dist/build/{p-9008a038.entry.js.map → p-eb654d58.entry.js.map} +0 -0
  271. /package/dist/build/{p-55b58b85.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  272. /package/dist/build/{p-025624f6.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  273. /package/dist/build/{p-fa27b5a7.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
  274. /package/dist/paperless/{p-462a2f03.entry.js.map → p-00d50041.entry.js.map} +0 -0
  275. /package/dist/paperless/{p-485ae49a.entry.js.map → p-04459f71.entry.js.map} +0 -0
  276. /package/dist/paperless/{p-3b42a234.entry.js.map → p-05a76cb5.entry.js.map} +0 -0
  277. /package/dist/paperless/{p-6cd52774.entry.js.map → p-08b8a232.entry.js.map} +0 -0
  278. /package/dist/paperless/{p-fb384da3.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  279. /package/dist/paperless/{p-0dc44bc0.entry.js.map → p-1ed4a75e.entry.js.map} +0 -0
  280. /package/dist/paperless/{p-12262429.entry.js.map → p-241ff529.entry.js.map} +0 -0
  281. /package/dist/paperless/{p-836ece67.entry.js.map → p-2841c42f.entry.js.map} +0 -0
  282. /package/dist/paperless/{p-3cde5f71.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  283. /package/dist/paperless/{p-184afd44.entry.js.map → p-46362798.entry.js.map} +0 -0
  284. /package/dist/paperless/{p-2236add8.entry.js.map → p-590a1b81.entry.js.map} +0 -0
  285. /package/dist/paperless/{p-387ddb95.entry.js.map → p-7142a11d.entry.js.map} +0 -0
  286. /package/dist/paperless/{p-80bdc264.entry.js.map → p-885497ca.entry.js.map} +0 -0
  287. /package/dist/paperless/{p-1d336c69.entry.js.map → p-8e4a33d5.entry.js.map} +0 -0
  288. /package/dist/paperless/{p-76e05fbf.entry.js.map → p-8faffde8.entry.js.map} +0 -0
  289. /package/dist/paperless/{p-b040b0ef.entry.js.map → p-9046b01a.entry.js.map} +0 -0
  290. /package/dist/paperless/{p-ccd419a0.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  291. /package/dist/paperless/{p-a0337437.entry.js.map → p-a5934232.entry.js.map} +0 -0
  292. /package/dist/paperless/{p-8bfd2e4c.entry.js.map → p-ba0e7853.entry.js.map} +0 -0
  293. /package/dist/paperless/{p-f667ab81.entry.js.map → p-c374399e.entry.js.map} +0 -0
  294. /package/dist/paperless/{p-d9d5bc98.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  295. /package/dist/paperless/{p-5eda67b1.entry.js.map → p-cba876e7.entry.js.map} +0 -0
  296. /package/dist/paperless/{p-8f235c34.entry.js.map → p-ce509c15.entry.js.map} +0 -0
  297. /package/dist/paperless/{p-e1703baf.entry.js.map → p-d041a74e.entry.js.map} +0 -0
  298. /package/dist/paperless/{p-9a3b9697.entry.js.map → p-d6bda000.entry.js.map} +0 -0
  299. /package/dist/paperless/{p-8b1f5d30.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  300. /package/dist/paperless/{p-916af5c4.entry.js.map → p-e9d44525.entry.js.map} +0 -0
  301. /package/dist/paperless/{p-9008a038.entry.js.map → p-eb654d58.entry.js.map} +0 -0
  302. /package/dist/paperless/{p-55b58b85.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  303. /package/dist/paperless/{p-025624f6.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  304. /package/dist/paperless/{p-fa27b5a7.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
@@ -69,11 +69,11 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
69
69
  */
70
70
  indeterminateChange;
71
71
  render() {
72
- return (h(Host, { key: '343a2f15e00552e1c98099187d517ee5382a8212', class: 'p-checkbox' }, h("label", { key: 'a49806ad26fa79f7305c2b0409b4f34682df9da6', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'c83e7b20bae3ce7253109250e3241aed337e8a6a', class: 'group relative flex flex-shrink-0 items-center' }, h("input", { key: '1d4a8f295d844486020be169f4dd241564c2f9b4', class: checkbox({
72
+ return (h(Host, { key: '2eb5fbb512368179d3c5241a894e8e26846f61f5', class: 'p-checkbox' }, h("label", { key: 'f058bbab3426392b0cae97759c913f39934a0b3a', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'c07339b5e6ac8f42eff1fcfd4159a695577be3a5', class: 'group relative flex flex-shrink-0 items-center' }, h("input", { key: 'f7b3debaf7a516cbacd5e8a1c33e24765052c595', class: checkbox({
73
73
  disabled: this.disabled,
74
- }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '81fd3e19d2b08cd58000a9a6b8bda688591c7cfd', class: circle({
74
+ }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '0fb49b68ca77711a496bba9d67bb3389e384ced5', class: circle({
75
75
  disabled: this.disabled,
76
- }) })), h("slot", { key: 'f620848c4a6576f9e573d0fad4433525e7153291' }))));
76
+ }) })), h("slot", { key: '271b918b319a8ae027ed106f3ba32d833e2215df' }))));
77
77
  }
78
78
  _onChange(ev) {
79
79
  if (this.disabled) {
@@ -39,7 +39,7 @@ const PaginationPages = /*@__PURE__*/ proxyCustomElement(class PaginationPages e
39
39
  this._generate();
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: '3a62206e22addc7b51dadd6d01e26a9117099fa0', class: pagination({
42
+ return (h(Host, { key: '3c36b80fbd5f20ca793773747b3797af2158af3f', class: pagination({
43
43
  hidden: this.hideOnSinglePage && this._set?.length === 3,
44
44
  }) }, this._set?.map(p => {
45
45
  if (p.type === 'previous' || p.type === 'next') {
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { c as cva } from './index2.js';
3
3
  import { d as defineCustomElement$1 } from './icon.component.js';
4
4
 
5
- const segmentItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-2xl{border-radius:1rem!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.hover\\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}";
5
+ const segmentItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.rounded-2xl{border-radius:1rem!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.hover\\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}";
6
6
  const PSegmentItemStyle0 = segmentItemComponentCss;
7
7
 
8
8
  const segmentItem = cva([
@@ -14,7 +14,7 @@ const segmentItem = cva([
14
14
  variants: {
15
15
  variant: {
16
16
  default: 'h-6 gap-2',
17
- block: 'flex-col p-4',
17
+ block: 'flex-col p-4 text-center',
18
18
  },
19
19
  active: {
20
20
  false: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',
@@ -38,13 +38,12 @@ const SegmentItem = /*@__PURE__*/ proxyCustomElement(class SegmentItem extends H
38
38
  this.iconRotate = undefined;
39
39
  }
40
40
  render() {
41
- const titleSlot = this.variant === 'block' ? h("slot", { name: 'title' }) : h("slot", null);
42
41
  const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
43
- return (h(Host, { key: 'a160255a99d71a1e519b891344f71759a31ddd5f', class: segmentItem({
42
+ return (h(Host, { key: 'c1593f415fee9946b8c5e294dfea65c6c1713260', class: segmentItem({
44
43
  variant: this.variant,
45
44
  active: this.active,
46
45
  iconOnly: this.iconOnly,
47
- }) }, this.icon && (h("p-icon", { key: '3772d4284db51ad59a43a491fabcdd17c8af4a87', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), h("p", { key: 'f801028324c0570439d7834546b48b603942b6df', class: 'empty:hidden' }, titleSlot), descriptionSlot && h("p", { key: '71bd8cdbd3058fbeaa76c5f84b35145f747ac318' }, descriptionSlot)));
46
+ }) }, this.icon && (h("p-icon", { key: '95f240924717fc1d68e8e5c29bd89079a114a0e3', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center gap-1' }, h("p", { class: 'font-semibold empty:hidden' }, h("slot", { name: 'title' })), descriptionSlot && h("p", { class: 'text-xs' }, descriptionSlot)))));
48
47
  }
49
48
  static get style() { return PSegmentItemStyle0; }
50
49
  }, [4, "p-segment-item", {
@@ -1 +1 @@
1
- {"file":"segment-item.component.js","mappings":";;;;AAAA,MAAM,uBAAuB,GAAG,4iCAA4iC,CAAC;AAC7kC,2BAAe,uBAAuB;;ACItC,MAAM,WAAW,GAAG,GAAG,CACtB;IACC,gBAAgB;IAChB,kCAAkC;IAClC,aAAa;IACb,wBAAwB;CACxB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,WAAW;YACpB,KAAK,EAAE,cAAc;SACrB;QACD,MAAM,EAAE;YACP,KAAK,EAAE,2DAA2D;YAClE,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,KAAK;SACX;KACD;CACD,CACD,CAAC;MAMW,WAAW;;;;uBAIgB,SAAS;sBAKtB,KAAK;wBAKH,KAAK;;;;;IAiBjC,MAAM;QACL,MAAM,SAAS,GACd,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,OAAO,GAAG,GAAG,eAAQ,CAAC;QAC7D,MAAM,eAAe,GACpB,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,aAAa,GAAG,GAAG,IAAI,CAAC;QAE/D,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,WAAW,CAAC;gBAClB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAED,IAAI,CAAC,IAAI,KACT,+DACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,EACD,0DAAG,KAAK,EAAC,cAAc,IAAE,SAAS,CAAK,EACtC,eAAe,IAAI,4DAAI,eAAe,CAAK,CACtC,EACN;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/segment-item/segment-item.component.css?tag=p-segment-item","src/components/atoms/segment-item/segment-item.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'rounded-2xl',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'h-6 gap-2',\n\t\t\t\tblock: 'flex-col p-4',\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-600 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * The size of the\n\t */\n\t@Prop() variant: 'default' | 'block' = 'default';\n\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\tconst titleSlot =\n\t\t\tthis.variant === 'block' ? <slot name='title' /> : <slot />;\n\t\tconst descriptionSlot =\n\t\t\tthis.variant === 'block' ? <slot name='description' /> : null;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t<p class='empty:hidden'>{titleSlot}</p>\n\t\t\t\t{descriptionSlot && <p>{descriptionSlot}</p>}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"segment-item.component.js","mappings":";;;;AAAA,MAAM,uBAAuB,GAAG,ytCAAytC,CAAC;AAC1vC,2BAAe,uBAAuB;;ACItC,MAAM,WAAW,GAAG,GAAG,CACtB;IACC,gBAAgB;IAChB,kCAAkC;IAClC,aAAa;IACb,wBAAwB;CACxB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,WAAW;YACpB,KAAK,EAAE,0BAA0B;SACjC;QACD,MAAM,EAAE;YACP,KAAK,EAAE,2DAA2D;YAClE,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,KAAK;SACX;KACD;CACD,CACD,CAAC;MAMW,WAAW;;;;uBAIgB,SAAS;sBAKtB,KAAK;wBAKH,KAAK;;;;;IAiBjC,MAAM;QACL,MAAM,eAAe,GACpB,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,aAAa,GAAG,GAAG,IAAI,CAAC;QAE/D,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,WAAW,CAAC;gBAClB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAED,IAAI,CAAC,IAAI,KACT,+DACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,EAEA,IAAI,CAAC,OAAO,KAAK,SAAS,IAC1B,eAAQ,KAER,WAAK,KAAK,EAAC,kCAAkC,IAC5C,SAAG,KAAK,EAAC,4BAA4B,IACpC,YAAM,IAAI,EAAC,OAAO,GAAG,CAClB,EACH,eAAe,IAAI,SAAG,KAAK,EAAC,SAAS,IAAE,eAAe,CAAK,CACvD,CACN,CACK,EACN;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/segment-item/segment-item.component.css?tag=p-segment-item","src/components/atoms/segment-item/segment-item.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'rounded-2xl',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'h-6 gap-2',\n\t\t\t\tblock: 'flex-col p-4 text-center',\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-600 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * The size of the\n\t */\n\t@Prop() variant: 'default' | 'block' = 'default';\n\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\tconst descriptionSlot =\n\t\t\tthis.variant === 'block' ? <slot name='description' /> : null;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.variant === 'default' ? (\n\t\t\t\t\t<slot />\n\t\t\t\t) : (\n\t\t\t\t\t<div class='flex flex-col items-center gap-1'>\n\t\t\t\t\t\t<p class='font-semibold empty:hidden'>\n\t\t\t\t\t\t\t<slot name='title' />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t{descriptionSlot && <p class='text-xs'>{descriptionSlot}</p>}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -11,7 +11,7 @@ const SliderIndicator = /*@__PURE__*/ proxyCustomElement(class SliderIndicator e
11
11
  this.active = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '75891ea5bef3249a9b82b1d3d56d5d39eb34f56a', class: `p-slider-indicator ${this.active && 'active'}` }));
14
+ return (h(Host, { key: 'b881e676d31e9db8b09093c2ad767467584194aa', class: `p-slider-indicator ${this.active && 'active'}` }));
15
15
  }
16
16
  static get style() { return PSliderIndicatorStyle0; }
17
17
  }, [1, "p-slider-indicator", {
@@ -12,7 +12,7 @@ const StepperLine = /*@__PURE__*/ proxyCustomElement(class StepperLine extends H
12
12
  this.direction = 'horizontal';
13
13
  }
14
14
  render() {
15
- return h(Host, { key: 'b059725be480ead173c2c60f9168651e62a9ad8a', class: "p-stepper-line" });
15
+ return h(Host, { key: 'a098b7140c582af2edc9cdd7b4f8c37f5396223f', class: "p-stepper-line" });
16
16
  }
17
17
  static get style() { return PStepperLineStyle0; }
18
18
  }, [1, "p-stepper-line", {
@@ -33,7 +33,7 @@ const TableCell = /*@__PURE__*/ proxyCustomElement(class TableCell extends HTMLE
33
33
  };
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '3ee5dc1b38a97dd051e92244510ee788da353f86', class: {
36
+ return (h(Host, { key: 'aed9f680d3bcf69fa859bbc41c0ac516179cc5ca', class: {
37
37
  'p-table-cell': true,
38
38
  [`variant-${this.variant}`]: true,
39
39
  ...this._getColumnClasses(),
@@ -11,7 +11,7 @@ const TableContainer = /*@__PURE__*/ proxyCustomElement(class TableContainer ext
11
11
  this.shadow = true;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '1620fc3c471e1742c2d573cc1aed5cebfc06b733', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: 'aac6e741bd0d970dfe62cae13f40d482bba73803' })));
14
+ return (h(Host, { key: '3093de271c11a50d334006232f4cd02a66131191', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '76d6ab8ecf532e2a4d43f6b7257135c4881176e3' })));
15
15
  }
16
16
  static get style() { return PTableContainerStyle0; }
17
17
  }, [1, "p-table-container", {
@@ -52,7 +52,7 @@ const TableFooter = /*@__PURE__*/ proxyCustomElement(class TableFooter extends H
52
52
  }
53
53
  render() {
54
54
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
55
- return (h(Host, { key: '3f3fb01b9dfc6478a92cebabafbaabc09d9f668c', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-pagination-size", { key: 'aecc6975f3b4f3a9a1f5fbc4499f55d950485153', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '6600175af8ae1c6ca1398b9f7faf67ab075e5756', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination-pages", { key: '3de08299ab61880c9a694d2ddac8c5a6b5c23d67', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: '704479e31d00ce99fc44b9f3a47c1fa7b111e773', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
55
+ return (h(Host, { key: '1e8fa77a43fa2a0ca8f98fe2b4291ded2f952fae', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-pagination-size", { key: 'd81462642de31029d474c7302f4e1faa76b0b03c', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '0211947a68731af42fd746a43b457c02557a1818', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination-pages", { key: 'e1be658ebcdf28726a401625ec5e0290c96db7de', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: 'e49dcdbd2e9be4be6ef9e16cce722288898dc9e1', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
56
56
  }
57
57
  async _setLocales() {
58
58
  this._locales = await getLocaleComponentStrings(this._el);
@@ -13,9 +13,9 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
13
13
  this.enableHover = true;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'b3334bb02a39cb94645988ab4f8e6499fd9f14dc', class: `p-table-row variant-${this.variant} ${this.enableHover &&
16
+ return (h(Host, { key: '08f29eb6dce0cbef7ed57564d3d076bcfc3f41f7', class: `p-table-row variant-${this.variant} ${this.enableHover &&
17
17
  this.variant === 'default' &&
18
- 'enable-hover'} group` }, h("div", { key: 'a7e53f9a41fc46c690e1da35817ed6e5a3db8542', class: "content" }, h("slot", { key: '68363f50f183b16665cedafa70adb19282378d2c' })), this.variant === 'default' && h("p-divider", { key: '39336cf15687ee6a2ee4ec1756eaa46c3cc5c4c7', class: "m-0" })));
18
+ 'enable-hover'} group` }, h("div", { key: '84d2219be0973c6a65b1375032e37f7ee2245c43', class: "content" }, h("slot", { key: 'c271a9a254ca90182e3cd205dc8ad45cd71f42aa' })), this.variant === 'default' && h("p-divider", { key: 'fa44a81c164ef18e142010792e4cedf4943f4546', class: "m-0" })));
19
19
  }
20
20
  static get style() { return PTableRowStyle0; }
21
21
  }, [1, "p-table-row", {
@@ -89,19 +89,19 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
89
89
  ref: el => this._load(el),
90
90
  };
91
91
  let tooltip;
92
- const tooltipElement = (h("div", { key: 'cdbd3581045fcc75697729ef130a3889678548e8', class: popover({
92
+ const tooltipElement = (h("div", { key: '169616082faa134096b7513e8f6239a6d9334b69', class: popover({
93
93
  variant: this.variant,
94
94
  strategy: this.usePortal ? 'none' : this.strategy,
95
- }), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '1f63d8147a4e72c11bfab46ee5024a8375062a9f', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '7058fe70c44b493597311c7c1411c7c4df841674', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
95
+ }), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '046701610de74bb4019432e5fb75c2c5cc0e8e20', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '7bfddd1714489c190a8cdbda40a024b1801ca139', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
96
96
  if (this.usePortal) {
97
- tooltip = (h("p-portal", { key: '96739f0e7e664da33491259e2f15e894ff69920f', class: portal({
97
+ tooltip = (h("p-portal", { key: '6b89ce1a9d535875f7a721b7c7d434e0d1f8734e', class: portal({
98
98
  strategy: this.strategy,
99
99
  }), ...tooltipProps }, tooltipElement));
100
100
  }
101
101
  else {
102
102
  tooltip = tooltipElement;
103
103
  }
104
- return (h(Host, { key: 'ebe04491e3fea086bc1930399482a3ed78e985d2', class: 'p-popover flex cursor-pointer' }, h("div", { key: '38ecf980c282fb9b2ba83d08b0b53bfd16c87482', class: 'relative h-inherit w-inherit' }, h("slot", { key: '56f04f37ee6cbdb038718090c82d4ea1b2e382f3', name: 'trigger' }), tooltip)));
104
+ return (h(Host, { key: 'a9e4f7ab599b3a911187e9e7a2bd534a5025e3af', class: 'p-popover flex cursor-pointer' }, h("div", { key: '61b93f1f661ba02a2abef879da30b969ac9407af', class: 'relative h-inherit w-inherit' }, h("slot", { key: '38461c917337eead796bc6ce7e5e7f24782199a8', name: 'trigger' }), tooltip)));
105
105
  }
106
106
  clickHandler() {
107
107
  if (this.variant === 'hover' || !this.enableUserInput) {
@@ -17,7 +17,7 @@ const Accordion = class {
17
17
  */
18
18
  isOpen;
19
19
  render() {
20
- return (h(Host, { key: '7ad723f9d462475bbde3b153d9933ae8aa486087', class: 'p-accordion' }, h("div", { key: 'd84095e73c10d45be714b9dc5be39f8cb46eae07', class: 'flex cursor-pointer items-center gap-3 text-storm-vague', onClick: () => this._onClick() }, h("p-icon", { key: '91b832f408a54a7c157de9da7e5eeceb2e40c22c', class: 'flex', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'ecee19be59e16078a4b451674ed44d73114e523d', class: 'm-0 whitespace-nowrap text-lg font-medium' }, this.header), h("p-divider", { key: '99dc087bff6db71f175f66ca150fe81eb1b77bc0' })), this.open && (h("div", { key: 'cd20ff3a60c59c2b7f14ee7d4082fc9afe4064c8', class: 'mt-6' }, h("slot", { key: '4b293f8ddc3dd60d1e2dae75f4707eb5b78e7183' })))));
20
+ return (h(Host, { key: '1987c3d70bcb8cbf640c5df6f3f4f9d6b4e91580', class: 'p-accordion' }, h("div", { key: '6b1b9e48c71f8eaf4d57d3ad0d200c7a1d5786e7', class: 'flex cursor-pointer items-center gap-3 text-storm-vague', onClick: () => this._onClick() }, h("p-icon", { key: 'a3730b1c6a0df8ea19b0bd0a860f297fda3950a1', class: 'flex', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'd1c3e010caf52118b2f949f63cbf38f5958f08f8', class: 'm-0 whitespace-nowrap text-lg font-medium' }, this.header), h("p-divider", { key: '64e9ea96be09d1c832ca29bb25d00ff8093d21ee' })), this.open && (h("div", { key: '0b233c739b2b4f4619d59a479fb201bfff84d68d', class: 'mt-6' }, h("slot", { key: '1c2423d144b81593b8a282233169be7d87271f5f' })))));
21
21
  }
22
22
  _onClick() {
23
23
  if (!this.closeable && this.open) {
@@ -22,14 +22,14 @@ const Attachment = class {
22
22
  */
23
23
  delete;
24
24
  render() {
25
- let prefix = h("p-icon", { key: 'e23ed6e11a562258c720881549f28a7abb584f3d', variant: 'attachment' });
25
+ let prefix = h("p-icon", { key: '91f61402860b721f93e4d39092d1a7287c7d76be', variant: 'attachment' });
26
26
  if (this.loading) {
27
- prefix = h("p-loader", { key: 'f97752af8256bbdae224e3567d96004df480ce0b' });
27
+ prefix = h("p-loader", { key: '2d80997d3d7586bd94cacf836973d52bf1e5d33c' });
28
28
  }
29
29
  if (this.error) {
30
- prefix = (h("p-icon", { key: '0a9913dded62bb2b899aebef67e612cf6decd4f8', variant: 'warning', class: 'text-negative' }));
30
+ prefix = (h("p-icon", { key: '79811465cf29931d832ceb81ba11a3d0aad8987b', variant: 'warning', class: 'text-negative' }));
31
31
  }
32
- return (h(Host, { key: '9d4d8572b25dc995f2b1fc078cc6066124331ea1', class: 'p-attachment flex items-start gap-4' }, h("div", { key: 'be153b4d1970343f7bb0ea67eac8b1fa246f9bb5', class: `flex h-8 min-w-0 flex-1 items-center justify-start gap-2 rounded-lg bg-mystic px-2 ${this.error?.length ? 'text-negative' : 'text-storm-medium'}` }, prefix, h("span", { key: '80d5a254322f25126ccfdd375bfd089c70513237', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap' }, h("slot", { key: '667ab94cb746606eb4f6466570b550c07aa97cfa' })), this.error?.length && h("p-input-error", { key: '6edb2fdb1734929bf6288c1d3670678eef7f8c60', error: this.error })), h("p-button", { key: '3d616711ff6c9f351410fe6b613edd04eee363c9', variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : 'trash', disabled: this.loading, loading: this.mode === 'read' && this.downloading, size: 'sm', onOnClick: () => (this.mode === 'read' ? this.download : this.delete).emit() })));
32
+ return (h(Host, { key: '159cf6563bbe844c1992605de10d1518e2087d77', class: 'p-attachment flex items-start gap-4' }, h("div", { key: 'a04aad61a2ea29086ffc2fcbee6dd2c2299fab3b', class: `flex h-8 min-w-0 flex-1 items-center justify-start gap-2 rounded-lg bg-mystic px-2 ${this.error?.length ? 'text-negative' : 'text-storm-medium'}` }, prefix, h("span", { key: '5061aeaa9cc1884529a8b68a93f70180eca4cf8c', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap' }, h("slot", { key: '4a11f180fac573f1e5de447552f4f711e2d083d1' })), this.error?.length && h("p-input-error", { key: 'cad249378d27241da65d7c1c15a886f12e8adbf2', error: this.error })), h("p-button", { key: '1587915332cf3a281f88f8e0d28b525c37bafade', variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : 'trash', disabled: this.loading, loading: this.mode === 'read' && this.downloading, size: 'sm', onOnClick: () => (this.mode === 'read' ? this.download : this.delete).emit() })));
33
33
  }
34
34
  };
35
35
  Attachment.style = PAttachmentStyle0;
@@ -28,7 +28,7 @@ const SegmentContainer = class {
28
28
  };
29
29
  SegmentContainer.style = PSegmentContainerStyle0;
30
30
 
31
- const segmentItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-2xl{border-radius:1rem!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.hover\\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}";
31
+ const segmentItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.rounded-2xl{border-radius:1rem!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.hover\\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}";
32
32
  const PSegmentItemStyle0 = segmentItemComponentCss;
33
33
 
34
34
  const segmentItem = cva([
@@ -40,7 +40,7 @@ const segmentItem = cva([
40
40
  variants: {
41
41
  variant: {
42
42
  default: 'h-6 gap-2',
43
- block: 'flex-col p-4',
43
+ block: 'flex-col p-4 text-center',
44
44
  },
45
45
  active: {
46
46
  false: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',
@@ -63,13 +63,12 @@ const SegmentItem = class {
63
63
  this.iconRotate = undefined;
64
64
  }
65
65
  render() {
66
- const titleSlot = this.variant === 'block' ? h("slot", { name: 'title' }) : h("slot", null);
67
66
  const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
68
- return (h(Host, { key: 'a160255a99d71a1e519b891344f71759a31ddd5f', class: segmentItem({
67
+ return (h(Host, { key: 'c1593f415fee9946b8c5e294dfea65c6c1713260', class: segmentItem({
69
68
  variant: this.variant,
70
69
  active: this.active,
71
70
  iconOnly: this.iconOnly,
72
- }) }, this.icon && (h("p-icon", { key: '3772d4284db51ad59a43a491fabcdd17c8af4a87', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), h("p", { key: 'f801028324c0570439d7834546b48b603942b6df', class: 'empty:hidden' }, titleSlot), descriptionSlot && h("p", { key: '71bd8cdbd3058fbeaa76c5f84b35145f747ac318' }, descriptionSlot)));
71
+ }) }, this.icon && (h("p-icon", { key: '95f240924717fc1d68e8e5c29bd89079a114a0e3', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center gap-1' }, h("p", { class: 'font-semibold empty:hidden' }, h("slot", { name: 'title' })), descriptionSlot && h("p", { class: 'text-xs' }, descriptionSlot)))));
73
72
  }
74
73
  };
75
74
  SegmentItem.style = PSegmentItemStyle0;
@@ -1 +1 @@
1
- {"file":"p-badge.p-segment-container.p-segment-item.entry.js","mappings":";;;;AAAA,MAAM,iBAAiB,GAAG,0tBAA0tB,CAAC;AACrvB,qBAAe,iBAAiB;;MCMnB,KAAK;;;;IACjB,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,2IAA2I,IACtJ,8DAAQ,CACF,EACN;KACF;;;;ACdF,MAAM,4BAA4B,GAAG,ydAAyd,CAAC;AAC/f,gCAAe,4BAA4B;;MCK9B,gBAAgB;;;;IAC5B,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,oGAAoG,IAC/G,8DAAQ,CACF,EACN;KACF;;;;ACbF,MAAM,uBAAuB,GAAG,4iCAA4iC,CAAC;AAC7kC,2BAAe,uBAAuB;;ACItC,MAAM,WAAW,GAAG,GAAG,CACtB;IACC,gBAAgB;IAChB,kCAAkC;IAClC,aAAa;IACb,wBAAwB;CACxB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,WAAW;YACpB,KAAK,EAAE,cAAc;SACrB;QACD,MAAM,EAAE;YACP,KAAK,EAAE,2DAA2D;YAClE,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,KAAK;SACX;KACD;CACD,CACD,CAAC;MAMW,WAAW;;;uBAIgB,SAAS;sBAKtB,KAAK;wBAKH,KAAK;;;;;IAiBjC,MAAM;QACL,MAAM,SAAS,GACd,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,OAAO,GAAG,GAAG,eAAQ,CAAC;QAC7D,MAAM,eAAe,GACpB,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,aAAa,GAAG,GAAG,IAAI,CAAC;QAE/D,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,WAAW,CAAC;gBAClB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAED,IAAI,CAAC,IAAI,KACT,+DACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,EACD,0DAAG,KAAK,EAAC,cAAc,IAAE,SAAS,CAAK,EACtC,eAAe,IAAI,4DAAI,eAAe,CAAK,CACtC,EACN;KACF;;;;;;","names":[],"sources":["src/components/atoms/badge/badge.component.css?tag=p-badge","src/components/atoms/badge/badge.component.tsx","src/components/atoms/segment-container/segment-container.component.css?tag=p-segment-container","src/components/atoms/segment-container/segment-container.component.tsx","src/components/atoms/segment-item/segment-item.component.css?tag=p-segment-item","src/components/atoms/segment-item/segment-item.component.tsx"],"sourcesContent":["","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-badge',\n\tstyleUrl: 'badge.component.css',\n\tshadow: false,\n})\nexport class Badge {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-badge inline-flex h-4 min-w-[1.5rem] items-center justify-center rounded-full bg-teal px-1 text-center text-xs font-semibold text-white'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-segment-container',\n\tstyleUrl: 'segment-container.component.css',\n})\nexport class SegmentContainer {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-segment-container flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'rounded-2xl',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'h-6 gap-2',\n\t\t\t\tblock: 'flex-col p-4',\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-600 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * The size of the\n\t */\n\t@Prop() variant: 'default' | 'block' = 'default';\n\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\tconst titleSlot =\n\t\t\tthis.variant === 'block' ? <slot name='title' /> : <slot />;\n\t\tconst descriptionSlot =\n\t\t\tthis.variant === 'block' ? <slot name='description' /> : null;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t<p class='empty:hidden'>{titleSlot}</p>\n\t\t\t\t{descriptionSlot && <p>{descriptionSlot}</p>}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-badge.p-segment-container.p-segment-item.entry.js","mappings":";;;;AAAA,MAAM,iBAAiB,GAAG,0tBAA0tB,CAAC;AACrvB,qBAAe,iBAAiB;;MCMnB,KAAK;;;;IACjB,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,2IAA2I,IACtJ,8DAAQ,CACF,EACN;KACF;;;;ACdF,MAAM,4BAA4B,GAAG,ydAAyd,CAAC;AAC/f,gCAAe,4BAA4B;;MCK9B,gBAAgB;;;;IAC5B,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,oGAAoG,IAC/G,8DAAQ,CACF,EACN;KACF;;;;ACbF,MAAM,uBAAuB,GAAG,ytCAAytC,CAAC;AAC1vC,2BAAe,uBAAuB;;ACItC,MAAM,WAAW,GAAG,GAAG,CACtB;IACC,gBAAgB;IAChB,kCAAkC;IAClC,aAAa;IACb,wBAAwB;CACxB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,WAAW;YACpB,KAAK,EAAE,0BAA0B;SACjC;QACD,MAAM,EAAE;YACP,KAAK,EAAE,2DAA2D;YAClE,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,KAAK;SACX;KACD;CACD,CACD,CAAC;MAMW,WAAW;;;uBAIgB,SAAS;sBAKtB,KAAK;wBAKH,KAAK;;;;;IAiBjC,MAAM;QACL,MAAM,eAAe,GACpB,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAM,IAAI,EAAC,aAAa,GAAG,GAAG,IAAI,CAAC;QAE/D,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,WAAW,CAAC;gBAClB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAED,IAAI,CAAC,IAAI,KACT,+DACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,EAEA,IAAI,CAAC,OAAO,KAAK,SAAS,IAC1B,eAAQ,KAER,WAAK,KAAK,EAAC,kCAAkC,IAC5C,SAAG,KAAK,EAAC,4BAA4B,IACpC,YAAM,IAAI,EAAC,OAAO,GAAG,CAClB,EACH,eAAe,IAAI,SAAG,KAAK,EAAC,SAAS,IAAE,eAAe,CAAK,CACvD,CACN,CACK,EACN;KACF;;;;;;","names":[],"sources":["src/components/atoms/badge/badge.component.css?tag=p-badge","src/components/atoms/badge/badge.component.tsx","src/components/atoms/segment-container/segment-container.component.css?tag=p-segment-container","src/components/atoms/segment-container/segment-container.component.tsx","src/components/atoms/segment-item/segment-item.component.css?tag=p-segment-item","src/components/atoms/segment-item/segment-item.component.tsx"],"sourcesContent":["","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-badge',\n\tstyleUrl: 'badge.component.css',\n\tshadow: false,\n})\nexport class Badge {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-badge inline-flex h-4 min-w-[1.5rem] items-center justify-center rounded-full bg-teal px-1 text-center text-xs font-semibold text-white'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-segment-container',\n\tstyleUrl: 'segment-container.component.css',\n})\nexport class SegmentContainer {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-segment-container flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'rounded-2xl',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'h-6 gap-2',\n\t\t\t\tblock: 'flex-col p-4 text-center',\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-600 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * The size of the\n\t */\n\t@Prop() variant: 'default' | 'block' = 'default';\n\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\tconst descriptionSlot =\n\t\t\tthis.variant === 'block' ? <slot name='description' /> : null;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.variant === 'default' ? (\n\t\t\t\t\t<slot />\n\t\t\t\t) : (\n\t\t\t\t\t<div class='flex flex-col items-center gap-1'>\n\t\t\t\t\t\t<p class='font-semibold empty:hidden'>\n\t\t\t\t\t\t\t<slot name='title' />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t{descriptionSlot && <p class='text-xs'>{descriptionSlot}</p>}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -13,7 +13,7 @@ const ButtonGroup = class {
13
13
  this._checkButtons();
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'e6f8f11913c961bcd9eb60dbe3701d4d6b0ddda8', class: 'p-button-group flex items-center' }, h("slot", { key: '0fc6046183416abb64e79afd71d388c02e88e13d' })));
16
+ return (h(Host, { key: 'c183ec62037fba80a35f89e6832b14a915cfdc30', class: 'p-button-group flex items-center' }, h("slot", { key: 'a097cd98632d55f5f6a23189ee5c894805c038d6' })));
17
17
  }
18
18
  slotchange() {
19
19
  this._checkButtons();
@@ -3,7 +3,7 @@ import { c as cva } from './index-10317a74.js';
3
3
  import { i as icons } from './icons-7312d60c.js';
4
4
  import './clsx-297c1ffe.js';
5
5
 
6
- const buttonComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-10{width:2.5rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-inherit{width:inherit!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.rounded-e-lg{border-end-end-radius:.5rem!important;border-start-end-radius:.5rem!important}.rounded-s-lg{border-end-start-radius:.5rem!important;border-start-start-radius:.5rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-black-teal\\/10{border-color:rgba(3,42,36,.1)!important}.border-black-teal\\/20{border-color:rgba(3,42,36,.2)!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.border-teal{border-color:rgb(8 136 121/var(--tw-border-opacity,1))!important}.border-teal,.border-teal-100{--tw-border-opacity:1!important}.border-teal-100{border-color:rgb(206 231 228/var(--tw-border-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.leading-4{line-height:1rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.text-dark-teal-100\\/60{color:rgba(204,220,218,.6)!important}.text-dark-teal-200{--tw-text-opacity:1!important;color:rgb(153 185 182/var(--tw-text-opacity,1))!important}.text-teal{color:rgb(8 136 121/var(--tw-text-opacity,1))!important}.text-teal,.text-teal-100{--tw-text-opacity:1!important}.text-teal-100{color:rgb(206 231 228/var(--tw-text-opacity,1))!important}.text-teal-300{--tw-text-opacity:1!important;color:rgb(107 184 175/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.drop-shadow-1{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.drop-shadow-1,.drop-shadow-supportive-lilac{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-supportive-lilac{--tw-drop-shadow:drop-shadow(0px 1px 1px rgba(189,140,255,.2))!important}.hover\\:bg-dark-teal:hover{--tw-bg-opacity:1!important;background-color:rgb(0 81 72/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-700:hover{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.hover\\:bg-white-600:hover{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.hover\\:drop-shadow-1:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.hover\\:drop-shadow-1:hover,.hover\\:drop-shadow-2:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.hover\\:drop-shadow-2:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.active\\:border-supportive-lilac-800:active{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.active\\:text-black-teal\\/60:active{color:rgba(3,42,36,.6)!important}.active\\:text-dark-teal-100\\/60:active{color:rgba(204,220,218,.6)!important}.active\\:text-teal-800:active{--tw-text-opacity:1!important;color:rgb(2 102 92/var(--tw-text-opacity,1))!important}.active\\:ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-2:active,.active\\:ring:active{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.active\\:ring-2:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-black-teal\\/10:active{--tw-ring-color:rgba(3,42,36,.1)!important}.active\\:ring-supportive-lilac-100:active{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.group:hover .group-hover\\:text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-teal{--tw-text-opacity:1!important;color:rgb(8 136 121/var(--tw-text-opacity,1))!important}";
6
+ const buttonComponentCss = "*{box-sizing:border-box}.static{position:static!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-10{width:2.5rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-inherit{width:inherit!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.rounded-e-lg{border-end-end-radius:.5rem!important;border-start-end-radius:.5rem!important}.rounded-s-lg{border-end-start-radius:.5rem!important;border-start-start-radius:.5rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-black-teal\\/10{border-color:rgba(3,42,36,.1)!important}.border-black-teal\\/20{border-color:rgba(3,42,36,.2)!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.border-teal{border-color:rgb(8 136 121/var(--tw-border-opacity,1))!important}.border-teal,.border-teal-100{--tw-border-opacity:1!important}.border-teal-100{border-color:rgb(206 231 228/var(--tw-border-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.leading-4{line-height:1rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.text-dark-teal-100\\/60{color:rgba(204,220,218,.6)!important}.text-dark-teal-200{--tw-text-opacity:1!important;color:rgb(153 185 182/var(--tw-text-opacity,1))!important}.text-teal{color:rgb(8 136 121/var(--tw-text-opacity,1))!important}.text-teal,.text-teal-100{--tw-text-opacity:1!important}.text-teal-100{color:rgb(206 231 228/var(--tw-text-opacity,1))!important}.text-teal-300{--tw-text-opacity:1!important;color:rgb(107 184 175/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.drop-shadow-1{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.drop-shadow-1,.drop-shadow-supportive-lilac{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-supportive-lilac{--tw-drop-shadow:drop-shadow(0px 1px 1px rgba(189,140,255,.2))!important}.hover\\:bg-dark-teal:hover{--tw-bg-opacity:1!important;background-color:rgb(0 81 72/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-700:hover{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.hover\\:bg-white-600:hover{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.hover\\:drop-shadow-1:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.hover\\:drop-shadow-1:hover,.hover\\:drop-shadow-2:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.hover\\:drop-shadow-2:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.active\\:border-supportive-lilac-800:active{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.active\\:text-black-teal\\/60:active{color:rgba(3,42,36,.6)!important}.active\\:text-dark-teal-100\\/60:active{color:rgba(204,220,218,.6)!important}.active\\:text-teal-800:active{--tw-text-opacity:1!important;color:rgb(2 102 92/var(--tw-text-opacity,1))!important}.active\\:ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-2:active,.active\\:ring:active{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.active\\:ring-2:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-black-teal\\/10:active{--tw-ring-color:rgba(3,42,36,.1)!important}.active\\:ring-supportive-lilac-100:active{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.group:hover .group-hover\\:text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-teal{--tw-text-opacity:1!important;color:rgb(8 136 121/var(--tw-text-opacity,1))!important}";
7
7
  const PButtonStyle0 = buttonComponentCss;
8
8
 
9
9
  const button = cva([
@@ -297,7 +297,7 @@ const Button = class {
297
297
  ? 'a'
298
298
  : 'button';
299
299
  const active = this.active || this.class?.includes('active');
300
- return (h(Host, { key: '251179ea78d507fa286630b54a5f6428197b145d', class: 'p-button block' }, h(VariableTag, { key: '092b9ca97a306740c172e7ed0219fa97a3df6141', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
300
+ return (h(Host, { key: '953bc72ccbf5cbaf885fdfedcba5b93d5e75331e', class: 'p-button inline-block' }, h(VariableTag, { key: '6e32032b8f01ca2e1183fdada3233b0f8038a88c', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
301
301
  variant: this.variant,
302
302
  size: this.size,
303
303
  underline: this.underline,
@@ -306,14 +306,14 @@ const Button = class {
306
306
  buttonGroupPosition: this.buttonGroupPosition,
307
307
  iconOnly: this.iconOnly,
308
308
  active,
309
- }) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '58c2c59f55ad78836ff6f2fca8682f9e6765116d', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
309
+ }) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '1e147d6354410e5eb10dea1762a07a3e07482dd5', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
310
310
  this.iconPosition === 'start' &&
311
311
  !(this.iconOnly && this.loading) &&
312
- this._getIcon(), h("slot", { key: '33802c3da8a69fe76fdc3bfe04d3e631a49ddf5d' }), this.icon &&
312
+ this._getIcon(), h("slot", { key: '145ebb2b41c0e1bc120512d17f240e6378416e7f' }), this.icon &&
313
313
  this.iconPosition === 'end' &&
314
314
  !this.loading &&
315
315
  !this.chevron &&
316
- this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'aeaca35833821ed80b487989421d3cae3fda143f', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '9cb1ca66aca004cda537a9e2b53a468b47714691', color: loaderColor }))));
316
+ this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '41da9a08e588012f5e92368061280d4f77dac48e', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '88edf474096e64d4c04f019f6fcd59645594388b', color: loaderColor }))));
317
317
  }
318
318
  handleClick(ev) {
319
319
  if (this.loading || this.disabled) {
@@ -1 +1 @@
1
- {"file":"p-button.p-icon.p-loader.entry.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,25NAA25N,CAAC;AACv7N,sBAAe,kBAAkB;;ACYjC,MAAM,MAAM,GAAG,GAAG,CACjB;IACC,OAAO;IACP,yBAAyB;IACzB,wCAAwC;IACxC,gBAAgB;CAChB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,0CAA0C,CAAC;YACrD,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,CAAC,WAAW,CAAC;YACnB,WAAW,EAAE,CAAC,gBAAgB,CAAC;YAC/B,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,IAAI;SACX;QACD,OAAO,EAAE;YACR,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,IAAI;SACX;QACD,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,aAAa,CAAC;YACnB,IAAI,EAAE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MAAM;QACL,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YAChB,OAAO;SACP;QAED,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO,EAAE;YAC7B,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,wBAAwB,GAAQ,CAAC;SACpD;QAED,MAAM,MAAM,GAAG,WAAK,KAAK,EAAE,gBAAgB,IAAI,CAAC,KAAK,EAAE,GAAQ,CAAC;QAEhE,IAAI,IAAI,CAAC,OAAO,KAAK,aAAa,EAAE;YACnC,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,8BAA8B,IACzC,WAAK,KAAK,EAAC,gBAAgB,IAC1B,WAAK,KAAK,EAAC,SAAS,IACnB,eAAQ,EAER,WAAK,KAAK,EAAC,gBAAgB,IAAE,MAAM,CAAO,CACrC,CACD,CACA,EACN;SACF;QAED,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,iCACN,IAAI,CAAC,OAAO,KAAK,YAAY,IAAI,qCAClC,EAAE,IAED,MAAM,CACD,EACN;KACF;IAEO,UAAU;QACjB,IAAI,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;SAC5B;QAED,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC;YACzE,OAAO;SACP;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;KACvB;;;;;;","names":["icon"],"sources":["src/components/molecules/button/button.component.css?tag=p-button","src/components/molecules/button/button.component.tsx","src/components/atoms/icon/icon.component.css?tag=p-icon","src/components/atoms/icon/icon.component.tsx","src/components/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/atoms/loader/loader.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\nconst button = cva(\n\t[\n\t\t'group',\n\t\t'font-semibold leading-4',\n\t\t'flex items-center justify-center gap-2',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tprimary: ['bg-supportive-lilac border-black-teal/20'],\n\t\t\t\tsecondary: null,\n\t\t\t\ttext: ['text-teal'],\n\t\t\t\ttransparent: ['bg-transparent'],\n\t\t\t\tdropdown: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tloading: {\n\t\t\t\ttrue: 'cursor-wait',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: ['text-xs h-6'],\n\t\t\t\tbase: ['text-sm h-8'],\n\t\t\t\tlg: ['text-base h-10'],\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tunderline: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tbuttonGroupPosition: {\n\t\t\t\tnone: null,\n\t\t\t\tstart: null,\n\t\t\t\tcenter: null,\n\t\t\t\tend: null,\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\ttrue: 'justify-center',\n\t\t\t\tfalse: 'w-inherit py-1',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t// variants\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tclass: ['bg-white border-black-teal/10'],\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:border-supportive-lilac-800 active:ring active:ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'border-supportive-lilac-800 ring ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'none',\n\t\t\t\tclass: 'rounded-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'start',\n\t\t\t\tclass: 'rounded-s-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'end',\n\t\t\t\tclass: 'rounded-e-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-supportive-lilac hover:drop-shadow-2 hover:bg-supportive-lilac-700 active:text-black-teal/60 active:ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border bg-white-600 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:text-black-teal/60 active:ring-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border-b border-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border-b border-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:text-teal-800',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'hover:bg-dark-teal active:text-dark-teal-100/60',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-dark-teal-100/60',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: ['base', 'sm'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-3',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'dropdown',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'text'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'py-1',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-8',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-10',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva([], {\n\tvariants: {\n\t\tsize: {\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-base',\n\t\t},\n\t\tvariant: {\n\t\t\tprimary: null,\n\t\t\tsecondary: null,\n\t\t\ttext: null,\n\t\t\ttransparent: null,\n\t\t\tdropdown: null,\n\t\t},\n\t\tdisabled: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-black-teal-300 group-hover:text-black-teal',\n\t\t},\n\t\t{\n\t\t\tvariant: 'text',\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-teal-300 group-hover:text-teal',\n\t\t},\n\t\t{\n\t\t\tvariant: 'transparent',\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-dark-teal-200 group-hover:text-dark-teal-100',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-button',\n\tstyleUrl: 'button.component.css',\n})\nexport class Button {\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() as: 'a' | 'button' = 'button';\n\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant:\n\t\t| 'primary'\n\t\t| 'secondary'\n\t\t| 'transparent'\n\t\t| 'text'\n\t\t| 'dropdown' = 'primary';\n\n\t/**\n\t * Wether to force an active state\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the text variant has underline\n\t */\n\t@Prop() underline: boolean = true;\n\n\t/**\n\t * Href in case of \"text\" version\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * Target in case of \"text\" version\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() type: 'button' | 'submit' = 'button';\n\n\t/**\n\t * Wether to show a loader or not\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show a chevron or not\n\t */\n\t@Prop() chevron: boolean | 'up' | 'down' = false;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the button is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Wether the button is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop() inheritText: boolean = false;\n\n\t/**\n\t * Position of the button in the button group, mostly un-used if not in a group\n\t */\n\t@Prop() buttonGroupPosition: 'start' | 'center' | 'end' | 'none' = 'none';\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tonClick: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\tlet loaderColor: 'white' | 'storm' | 'indigo' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\t\tloaderColor = 'storm';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'indigo';\n\t\t\t\tbreak;\n\t\t}\n\n\t\tconst VariableTag =\n\t\t\tthis.variant === 'text' || this.href?.length || this.as === 'a'\n\t\t\t\t? 'a'\n\t\t\t\t: 'button';\n\n\t\tconst active = this.active || this.class?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class='p-button block'>\n\t\t\t\t<VariableTag\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttype={this.variant !== 'text' ? this.type : undefined}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tclass={button({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tunderline: this.underline,\n\t\t\t\t\t\tloading: this.loading,\n\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\tbuttonGroupPosition: this.buttonGroupPosition,\n\t\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'start' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'start' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t<slot />\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'end' &&\n\t\t\t\t\t\t!this.loading &&\n\t\t\t\t\t\t!this.chevron &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.chevron && !this.loading && this.chevronPosition === 'end' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.loading && <p-loader color={loaderColor} />}\n\t\t\t\t</VariableTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (this.loading || this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.onClick.emit(ev);\n\t}\n\n\tprivate _getIcon() {\n\t\tif (!this.icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tclass={icon({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t})}\n\t\t\t\tvariant={this.icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n}\n","","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { TextSizeOptions } from '../../../types/tailwind';\nimport { icons } from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'none' | 'horizontal' | 'vertical';\n\nconst icon = cva(['p-icon flex'], {\n\tvariants: {\n\t\tflip: {\n\t\t\tnone: null,\n\t\t\thorizontal: 'scale-x-flip',\n\t\t\tvertical: 'scale-y-flip',\n\t\t},\n\t\tsize: {\n\t\t\tauto: 'text-auto',\n\t\t\txxs: 'text-xxs',\n\t\t\txs: 'text-xs',\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-lg',\n\t\t\txl: 'text-xl',\n\t\t\t'2xl': 'text-2xl',\n\t\t\t'3xl': 'text-3xl',\n\t\t\t'4xl': 'text-4xl',\n\t\t},\n\t\ttransform: {\n\t\t\ttrue: 'transform-gpu scale-[0.99]',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.css',\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'base';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: number = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = 'none';\n\n\trender() {\n\t\tconst svg = icons[this.variant];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={icon({\n\t\t\t\t\tflip: this.flip,\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\ttransform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\t'--tw-rotate': `${this.rotate}deg`,\n\t\t\t\t}}\n\t\t\t\tinnerHTML={svg}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n",":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply fixed left-0 top-0 h-screen-safe w-screen-safe;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant: 'inline' | 'full-width' | 'full-screen' | 'modal' | 'ghost' =\n\t\t'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show: boolean | Observable<boolean> = false;\n\tprivate _showSubscriber: Subscription;\n\n\tcomponendDidLoad() {\n\t\tthis._show = this.show;\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class='p-loader variant-ghost'></Host>;\n\t\t}\n\n\t\tconst loader = <div class={`loader color-${this.color}`}></div>;\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class='p-loader variant-full-screen'>\n\t\t\t\t\t<div class='loading-screen'>\n\t\t\t\t\t\t<div class='content'>\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class='loader-wrapper'>{loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' && 'flex w-full justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(show => (this._show = show));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
1
+ {"file":"p-button.p-icon.p-loader.entry.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,y6NAAy6N,CAAC;AACr8N,sBAAe,kBAAkB;;ACYjC,MAAM,MAAM,GAAG,GAAG,CACjB;IACC,OAAO;IACP,yBAAyB;IACzB,wCAAwC;IACxC,gBAAgB;CAChB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,0CAA0C,CAAC;YACrD,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,CAAC,WAAW,CAAC;YACnB,WAAW,EAAE,CAAC,gBAAgB,CAAC;YAC/B,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,IAAI;SACX;QACD,OAAO,EAAE;YACR,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,IAAI;SACX;QACD,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,aAAa,CAAC;YACnB,IAAI,EAAE,CAAC,aAAa,CAAC;YACrB,EAAE,EAAE,CAAC,gBAAgB,CAAC;SACtB;QACD,QAAQ,EAAE;YACT,IAAI,EAAE,oBAAoB;YAC1B,KAAK,EAAE,IAAI;SACX;QACD,SAAS,EAAE;YACV,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,IAAI;SACX;QACD,mBAAmB,EAAE;YACpB,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,IAAI;YACZ,GAAG,EAAE,IAAI;SACT;QACD,QAAQ,EAAE;YACT,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE,gBAAgB;SACvB;KACD;IACD,gBAAgB,EAAE;;QAEjB;YACC,OAAO,EAAE,CAAC,WAAW,EAAE,UAAU,CAA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AAE,MAAM,CAAO,CACrC,CACD,CACA,EACN;SACF;QAED,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,iCACN,IAAI,CAAC,OAAO,KAAK,YAAY,IAAI,qCAClC,EAAE,IAED,MAAM,CACD,EACN;KACF;IAEO,UAAU;QACjB,IAAI,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;SAC5B;QAED,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC;YACzE,OAAO;SACP;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;KACvB;;;;;;","names":["icon"],"sources":["src/components/molecules/button/button.component.css?tag=p-button","src/components/molecules/button/button.component.tsx","src/components/atoms/icon/icon.component.css?tag=p-icon","src/components/atoms/icon/icon.component.tsx","src/components/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/atoms/loader/loader.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\nconst button = cva(\n\t[\n\t\t'group',\n\t\t'font-semibold leading-4',\n\t\t'flex items-center justify-center gap-2',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tprimary: ['bg-supportive-lilac border-black-teal/20'],\n\t\t\t\tsecondary: null,\n\t\t\t\ttext: ['text-teal'],\n\t\t\t\ttransparent: ['bg-transparent'],\n\t\t\t\tdropdown: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tloading: {\n\t\t\t\ttrue: 'cursor-wait',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: ['text-xs h-6'],\n\t\t\t\tbase: ['text-sm h-8'],\n\t\t\t\tlg: ['text-base h-10'],\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tunderline: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tbuttonGroupPosition: {\n\t\t\t\tnone: null,\n\t\t\t\tstart: null,\n\t\t\t\tcenter: null,\n\t\t\t\tend: null,\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\ttrue: 'justify-center',\n\t\t\t\tfalse: 'w-inherit py-1',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t// variants\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tclass: ['bg-white border-black-teal/10'],\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:border-supportive-lilac-800 active:ring active:ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'border-supportive-lilac-800 ring ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'none',\n\t\t\t\tclass: 'rounded-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'start',\n\t\t\t\tclass: 'rounded-s-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'end',\n\t\t\t\tclass: 'rounded-e-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-supportive-lilac hover:drop-shadow-2 hover:bg-supportive-lilac-700 active:text-black-teal/60 active:ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border bg-white-600 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:text-black-teal/60 active:ring-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border-b border-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border-b border-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:text-teal-800',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'hover:bg-dark-teal active:text-dark-teal-100/60',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-dark-teal-100/60',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: ['base', 'sm'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-3',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'dropdown',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'text'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'py-1',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-8',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-10',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva([], {\n\tvariants: {\n\t\tsize: {\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-base',\n\t\t},\n\t\tvariant: {\n\t\t\tprimary: null,\n\t\t\tsecondary: null,\n\t\t\ttext: null,\n\t\t\ttransparent: null,\n\t\t\tdropdown: null,\n\t\t},\n\t\tdisabled: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-black-teal-300 group-hover:text-black-teal',\n\t\t},\n\t\t{\n\t\t\tvariant: 'text',\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-teal-300 group-hover:text-teal',\n\t\t},\n\t\t{\n\t\t\tvariant: 'transparent',\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-dark-teal-200 group-hover:text-dark-teal-100',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-button',\n\tstyleUrl: 'button.component.css',\n})\nexport class Button {\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() as: 'a' | 'button' = 'button';\n\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant:\n\t\t| 'primary'\n\t\t| 'secondary'\n\t\t| 'transparent'\n\t\t| 'text'\n\t\t| 'dropdown' = 'primary';\n\n\t/**\n\t * Wether to force an active state\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the text variant has underline\n\t */\n\t@Prop() underline: boolean = true;\n\n\t/**\n\t * Href in case of \"text\" version\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * Target in case of \"text\" version\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() type: 'button' | 'submit' = 'button';\n\n\t/**\n\t * Wether to show a loader or not\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show a chevron or not\n\t */\n\t@Prop() chevron: boolean | 'up' | 'down' = false;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the button is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Wether the button is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop() inheritText: boolean = false;\n\n\t/**\n\t * Position of the button in the button group, mostly un-used if not in a group\n\t */\n\t@Prop() buttonGroupPosition: 'start' | 'center' | 'end' | 'none' = 'none';\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tonClick: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\tlet loaderColor: 'white' | 'storm' | 'indigo' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\t\tloaderColor = 'storm';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'indigo';\n\t\t\t\tbreak;\n\t\t}\n\n\t\tconst VariableTag =\n\t\t\tthis.variant === 'text' || this.href?.length || this.as === 'a'\n\t\t\t\t? 'a'\n\t\t\t\t: 'button';\n\n\t\tconst active = this.active || this.class?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class='p-button inline-block'>\n\t\t\t\t<VariableTag\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttype={this.variant !== 'text' ? this.type : undefined}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tclass={button({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tunderline: this.underline,\n\t\t\t\t\t\tloading: this.loading,\n\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\tbuttonGroupPosition: this.buttonGroupPosition,\n\t\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'start' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'start' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t<slot />\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'end' &&\n\t\t\t\t\t\t!this.loading &&\n\t\t\t\t\t\t!this.chevron &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.chevron && !this.loading && this.chevronPosition === 'end' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.loading && <p-loader color={loaderColor} />}\n\t\t\t\t</VariableTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (this.loading || this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.onClick.emit(ev);\n\t}\n\n\tprivate _getIcon() {\n\t\tif (!this.icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tclass={icon({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t})}\n\t\t\t\tvariant={this.icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n}\n","","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { TextSizeOptions } from '../../../types/tailwind';\nimport { icons } from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'none' | 'horizontal' | 'vertical';\n\nconst icon = cva(['p-icon flex'], {\n\tvariants: {\n\t\tflip: {\n\t\t\tnone: null,\n\t\t\thorizontal: 'scale-x-flip',\n\t\t\tvertical: 'scale-y-flip',\n\t\t},\n\t\tsize: {\n\t\t\tauto: 'text-auto',\n\t\t\txxs: 'text-xxs',\n\t\t\txs: 'text-xs',\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-lg',\n\t\t\txl: 'text-xl',\n\t\t\t'2xl': 'text-2xl',\n\t\t\t'3xl': 'text-3xl',\n\t\t\t'4xl': 'text-4xl',\n\t\t},\n\t\ttransform: {\n\t\t\ttrue: 'transform-gpu scale-[0.99]',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.css',\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'base';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: number = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = 'none';\n\n\trender() {\n\t\tconst svg = icons[this.variant];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={icon({\n\t\t\t\t\tflip: this.flip,\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\ttransform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\t'--tw-rotate': `${this.rotate}deg`,\n\t\t\t\t}}\n\t\t\t\tinnerHTML={svg}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n",":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply fixed left-0 top-0 h-screen-safe w-screen-safe;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant: 'inline' | 'full-width' | 'full-screen' | 'modal' | 'ghost' =\n\t\t'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show: boolean | Observable<boolean> = false;\n\tprivate _showSubscriber: Subscription;\n\n\tcomponendDidLoad() {\n\t\tthis._show = this.show;\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class='p-loader variant-ghost'></Host>;\n\t\t}\n\n\t\tconst loader = <div class={`loader color-${this.color}`}></div>;\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class='p-loader variant-full-screen'>\n\t\t\t\t\t<div class='loading-screen'>\n\t\t\t\t\t\t<div class='content'>\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class='loader-wrapper'>{loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' && 'flex w-full justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(show => (this._show = show));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
@@ -502,7 +502,7 @@ const Calendar = class {
502
502
  .filter(date => isValid(date));
503
503
  }
504
504
  render() {
505
- return (h(Host, { key: '46faa32e58b38b7d391ab869ee87321605543a2a', class: calendar({ variant: this.variant }) }, this._getView()));
505
+ return (h(Host, { key: 'd3c7dfcd3dc0c0e7a0cb2443501f427e30689ae7', class: calendar({ variant: this.variant }) }, this._getView()));
506
506
  }
507
507
  _getView() {
508
508
  if (this._view === 'year') {
@@ -169,12 +169,12 @@ const Dropdown = class {
169
169
  };
170
170
  let dropdownContainer;
171
171
  if (this.usePortal) {
172
- dropdownContainer = (h("p-portal", { key: '188521ef2a7d7bc4717fd3661b015bc67c8f15c5', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: 'f2eba007ccc859a0b4be038d32591f9baa763d44', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, h("slot", { key: 'f35f9a5de0cace36910a23bcc997013a68dd2bdc', name: 'items' }))));
172
+ dropdownContainer = (h("p-portal", { key: '935807ad31dfa041a8b9bfbbf9ea8167c97edd28', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: '64f108172d4ab77c179c7e74085c14828bc72daf', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, h("slot", { key: '92a9011b96df6168cd2800aa5e682133a9b71624', name: 'items' }))));
173
173
  }
174
174
  else {
175
- dropdownContainer = (h("p-dropdown-menu-container", { key: '9f8d9139afc893f4254fffe6fc51ea1886f4626a', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, h("slot", { key: '71a1a3b86796beb146db387981e6f433357aec6f', name: 'items' })));
175
+ dropdownContainer = (h("p-dropdown-menu-container", { key: '653ca26a3360e09396b8d03d936848cf156316a4', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, h("slot", { key: '4ad64aaa104e21c0e17b695e1e0b81406ccbdd0b', name: 'items' })));
176
176
  }
177
- return (h(Host, { key: '6ae014439828ff99141a49489420a59132ab8f41', class: 'p-dropdown relative' }, h("div", { key: '30b1fb302a160457356906ba9922155af3b572d6', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '6144e09dd66466030d46d80a3264c1851923c398', name: 'trigger' })), dropdownContainer));
177
+ return (h(Host, { key: '1314337c4ed060ec1e1fc0194cd3a0eaf21fa31d', class: 'p-dropdown relative' }, h("div", { key: '5ca13d9b0e6a1aa6f78acd8e877828a98d465b1f', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '4034d754a6a2971d3491dcaface58fb66162894d', name: 'trigger' })), dropdownContainer));
178
178
  }
179
179
  _checkButtons(active = false) {
180
180
  if (!this.applyChevron) {
@@ -41,9 +41,9 @@ const ContentSlider = class {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'd6b4692cc1d43891354a500329fff9580ed44740', class: "p-content-slider" }, h("div", { key: 'e8cc6a05ce6dc25b78965d668e3bace718f16a6a', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
44
+ return (h(Host, { key: 'e996c635c0cf4b6079e446ce63d73f1b9852726b', class: "p-content-slider" }, h("div", { key: '184859d7f3cc545fed4b2cd81ec40f1faf231a14', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
45
45
  height: `${this._outerHeight}px`,
46
- }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '6168400b01a4f4effa2793fd39c1a1da08177944', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '09562df788a6cf274356c8abd72939dfe3007d2b' }))), h("div", { key: 'e1cab5a4ab8d6c8b580c484daf61ab5f7bb81c8c', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
46
+ }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'cbeab030c9c898ee3f13b18c542673057113a74d', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '3a750b867b7abd33b4ad25dd08b7e634fbddd957' }))), h("div", { key: '6fb3c9c1bfcaf67067858c71de4058be1e6fd8b8', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
47
47
  }
48
48
  _mouseDownHandler(e) {
49
49
  if (this.disableDrag || this._dragging) {
@@ -2838,10 +2838,10 @@ const Cropper = class {
2838
2838
  }, 200);
2839
2839
  }
2840
2840
  render() {
2841
- return (h(Host, { key: 'b2e007b713b03eb78e4be7089d12c98b340de901', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'ebf28d49ad1946d5d436875dc9dc8339f926210d', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: 'd6b6b2a3943c503aa0d2082be017c50563d0dfd9', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: 'bad24efa774726cf6030d45657380a61149dce1f', class: clsx({
2841
+ return (h(Host, { key: 'afd5e10b35660436241cd4bf34804ff18d38e63c', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'b83a601fdc5e6dd0bdab4091dce8536dd8098abd', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '92f70e3d205a72e87c4454f6f2ffb3ecb7c2a2c4', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: 'cb819b4d9a2e28263555c888b4db913d6d8d9f45', class: clsx({
2842
2842
  'rounded-round': this.variant === 'user',
2843
2843
  rounded: this.variant === 'company',
2844
- }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: 'fa46a342c0cb0a42eb2ece0ab624bd9e5c086f3e', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '5c6ab0d8b01095170e08717b37982f420c8de6f3', action: 'move', plain: true }))), h("div", { key: '3d23297da018576b20048beaeff88158e311b726', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '8571b7630258792e532caee07f277d88ef111a6c', variant: 'minus' }), h("input", { key: 'e3440014fafc4b7dd4f38684c7565ec807c897cb', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '047adaf1e384ae862200760220adc8d3027dc66c', variant: 'plus' }))));
2844
+ }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '65e6df8e4166009cc27e83c173203c7dfe163bd8', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '2c7e8c3b91c7bf71ac9ab34f12d7533ac32686d1', action: 'move', plain: true }))), h("div", { key: 'f8bdfafaebb8ec4da34b01bbbefc8a56f34a9696', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '883df6ef54a39ab1fbc2b1d3e1940aaec0f0d97f', variant: 'minus' }), h("input", { key: '8d39562d4df89cf00479cc3ff97194c14622fd31', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '9b0ba4eae79add1f148a884013f8ad3f8d7d75cd', variant: 'plus' }))));
2845
2845
  }
2846
2846
  _setImageRef(ref) {
2847
2847
  if (this._imageRef) {