@paperless/core 0.1.0-alpha.26 → 0.1.0-alpha.261

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 (583) hide show
  1. package/CHANGELOG.md +2387 -0
  2. package/README.md +9 -1
  3. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  4. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  5. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  6. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  7. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  8. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  9. package/dist/assets/i18n/table.i18n.en.json +13 -0
  10. package/dist/assets/i18n/table.i18n.nl.json +13 -0
  11. package/dist/assets/icons/camera.svg +10 -0
  12. package/dist/assets/icons/checklist.svg +17 -0
  13. package/dist/assets/icons/folder.svg +19 -0
  14. package/dist/assets/icons/integration.svg +17 -0
  15. package/dist/assets/icons/menu.svg +25 -0
  16. package/dist/assets/icons/more.svg +18 -0
  17. package/dist/assets/icons/signout.svg +23 -0
  18. package/dist/assets/icons/switch.svg +20 -0
  19. package/dist/assets/icons/task.svg +17 -0
  20. package/dist/assets/icons/template.svg +17 -0
  21. package/dist/assets/illustrations/e-mail.svg +1 -0
  22. package/dist/assets/illustrations/empty-state-overview.svg +65 -0
  23. package/dist/assets/illustrations/empty-state-search.svg +88 -0
  24. package/dist/build/index.esm.js +1 -0
  25. package/dist/build/p-06899ffb.entry.js +1 -0
  26. package/dist/build/p-0818aeaa.entry.js +1 -0
  27. package/dist/build/p-09ea2a1a.js +1 -0
  28. package/dist/build/p-150aadaf.entry.js +1 -0
  29. package/dist/build/p-15d13147.entry.js +1 -0
  30. package/dist/build/p-251145a1.entry.js +1 -0
  31. package/dist/build/p-25ed4eb4.entry.js +1 -0
  32. package/dist/build/p-3180c96e.entry.js +1 -0
  33. package/dist/build/p-337ad423.entry.js +1 -0
  34. package/dist/build/p-3c606afb.entry.js +1 -0
  35. package/dist/build/p-41588819.entry.js +1 -0
  36. package/dist/build/p-44d46765.entry.js +1 -0
  37. package/dist/build/p-4588a510.entry.js +1 -0
  38. package/dist/build/p-4ac1f4de.entry.js +1 -0
  39. package/dist/build/p-4e650fe4.js +1 -0
  40. package/dist/build/p-50fb85bd.entry.js +1 -0
  41. package/dist/build/p-52ab1f62.entry.js +1 -0
  42. package/dist/build/p-55c5a1bd.entry.js +1 -0
  43. package/dist/build/p-58dd41be.entry.js +1 -0
  44. package/dist/build/p-5a71d6ae.entry.js +1 -0
  45. package/dist/build/p-600a2f21.entry.js +1 -0
  46. package/dist/build/p-638e7554.entry.js +1 -0
  47. package/dist/build/p-69d31689.entry.js +1 -0
  48. package/dist/build/p-6c60fd3d.js +1 -0
  49. package/dist/build/p-76377ad7.entry.js +1 -0
  50. package/dist/build/p-7e40c097.entry.js +1 -0
  51. package/dist/build/p-7e9a866e.entry.js +1 -0
  52. package/dist/build/p-8614bd10.entry.js +1 -0
  53. package/dist/build/p-86a6c56a.entry.js +1 -0
  54. package/dist/build/p-8a6728d5.js +1 -0
  55. package/dist/build/p-8f179b0d.entry.js +1 -0
  56. package/dist/build/p-a7086ffa.js +1 -0
  57. package/dist/build/p-ad147b1b.entry.js +1 -0
  58. package/dist/build/p-bd31605b.entry.js +1 -0
  59. package/dist/build/p-c11282d2.entry.js +1 -0
  60. package/dist/build/p-c4110c09.entry.js +1 -0
  61. package/dist/build/p-d17b038f.entry.js +1 -0
  62. package/dist/build/p-d9c1fe13.js +2 -0
  63. package/dist/build/p-f370ee4d.entry.js +1 -0
  64. package/dist/build/paperless.css +331 -20
  65. package/dist/build/paperless.esm.js +1 -1
  66. package/dist/cjs/child-of-e472f812.js +9 -0
  67. package/dist/cjs/constants-a4459ec9.js +7 -0
  68. package/dist/cjs/{index-a46a39a5.js → index-cf92051a.js} +197 -5
  69. package/dist/cjs/index.cjs.js +17 -0
  70. package/dist/cjs/loader.cjs.js +3 -3
  71. package/dist/cjs/localization-9e2ac7f3.js +60 -0
  72. package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
  73. package/dist/cjs/p-accordion.cjs.entry.js +42 -0
  74. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  75. package/dist/cjs/p-avatar.cjs.entry.js +19 -5
  76. package/dist/cjs/p-backdrop_5.cjs.entry.js +98 -0
  77. package/dist/cjs/p-button_3.cjs.entry.js +329 -63
  78. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  79. package/dist/cjs/p-card-container.cjs.entry.js +27 -0
  80. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  81. package/dist/cjs/p-content-slider.cjs.entry.js +221 -0
  82. package/dist/cjs/p-counter.cjs.entry.js +11 -3
  83. package/dist/cjs/p-divider.cjs.entry.js +6 -3
  84. package/dist/cjs/p-dropdown_3.cjs.entry.js +205 -0
  85. package/dist/cjs/p-helper_2.cjs.entry.js +160 -0
  86. package/dist/cjs/p-illustration_6.cjs.entry.js +2772 -0
  87. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  88. package/dist/cjs/p-input-group_4.cjs.entry.js +144 -0
  89. package/dist/cjs/p-layout.cjs.entry.js +23 -0
  90. package/dist/cjs/p-modal.cjs.entry.js +57 -0
  91. package/dist/cjs/p-navbar.cjs.entry.js +34 -0
  92. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  93. package/dist/cjs/p-page-size-select_3.cjs.entry.js +257 -0
  94. package/dist/cjs/p-profile.cjs.entry.js +49 -0
  95. package/dist/cjs/p-select.cjs.entry.js +198 -0
  96. package/dist/cjs/p-slider-indicator.cjs.entry.js +23 -0
  97. package/dist/cjs/p-status.cjs.entry.js +49 -0
  98. package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
  99. package/dist/cjs/p-stepper.cjs.entry.js +49 -0
  100. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  101. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  102. package/dist/cjs/p-table-column.cjs.entry.js +36 -0
  103. package/dist/cjs/p-table.cjs.entry.js +380 -0
  104. package/dist/cjs/p-toast-container.cjs.entry.js +23 -0
  105. package/dist/cjs/p-toast.cjs.entry.js +38 -0
  106. package/dist/cjs/paperless.cjs.js +3 -3
  107. package/dist/{esm/p-tooltip.entry.js → cjs/popper-e0c4ed4c.js} +2 -123
  108. package/dist/collection/assets/icons/camera.svg +10 -0
  109. package/dist/collection/assets/icons/checklist.svg +17 -0
  110. package/dist/collection/assets/icons/folder.svg +19 -0
  111. package/dist/collection/assets/icons/integration.svg +17 -0
  112. package/dist/collection/assets/icons/menu.svg +25 -0
  113. package/dist/collection/assets/icons/more.svg +18 -0
  114. package/dist/collection/assets/icons/signout.svg +23 -0
  115. package/dist/collection/assets/icons/switch.svg +20 -0
  116. package/dist/collection/assets/icons/task.svg +17 -0
  117. package/dist/collection/assets/icons/template.svg +17 -0
  118. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  119. package/dist/collection/assets/illustrations/empty-state-overview.svg +65 -0
  120. package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
  121. package/dist/collection/collection-manifest.json +42 -2
  122. package/dist/collection/components/atoms/avatar/avatar.component.css +16 -20
  123. package/dist/collection/components/atoms/avatar/avatar.component.js +23 -9
  124. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  125. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  126. package/dist/collection/components/atoms/backdrop/backdrop.component.css +11 -0
  127. package/dist/collection/components/atoms/backdrop/backdrop.component.js +38 -0
  128. package/dist/collection/components/atoms/button/button.component.css +92 -42
  129. package/dist/collection/components/atoms/button/button.component.js +110 -11
  130. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  131. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  132. package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
  133. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
  134. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  135. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  136. package/dist/collection/components/atoms/counter/counter.component.css +26 -1
  137. package/dist/collection/components/atoms/counter/counter.component.js +50 -2
  138. package/dist/collection/components/atoms/divider/divider.component.css +9 -2
  139. package/dist/collection/components/atoms/divider/divider.component.js +8 -2
  140. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +8 -0
  141. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +40 -0
  142. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +16 -0
  143. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +87 -0
  144. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  145. package/dist/collection/components/atoms/helper/helper.component.js +33 -2
  146. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  147. package/dist/collection/components/atoms/icon/icon.component.js +62 -13
  148. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  149. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  150. package/dist/collection/components/atoms/label/label.component.css +85 -0
  151. package/dist/collection/components/atoms/label/label.component.js +203 -0
  152. package/dist/collection/components/atoms/layout/layout.component.css +73 -0
  153. package/dist/collection/components/atoms/layout/layout.component.js +47 -0
  154. package/dist/collection/components/atoms/loader/loader.component.css +29 -3
  155. package/dist/collection/components/atoms/loader/loader.component.js +6 -3
  156. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  157. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  158. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  159. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  160. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  161. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  162. package/dist/collection/components/atoms/modal-header/modal-header.component.css +7 -0
  163. package/dist/collection/components/atoms/modal-header/modal-header.component.js +63 -0
  164. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  165. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  166. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  167. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  168. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  169. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +7 -0
  170. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +40 -0
  171. package/dist/collection/components/atoms/status/status.component.css +16 -0
  172. package/dist/collection/components/atoms/status/status.component.js +133 -0
  173. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
  174. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
  175. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  176. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  177. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  178. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  179. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  180. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  181. package/dist/collection/components/atoms/table-container/table-container.component.css +5 -0
  182. package/dist/collection/components/atoms/table-container/table-container.component.js +15 -0
  183. package/dist/collection/components/atoms/toast-container/toast-container.component.css +27 -0
  184. package/dist/collection/components/atoms/toast-container/toast-container.component.js +41 -0
  185. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  186. package/dist/collection/components/atoms/tooltip/tooltip.component.js +77 -24
  187. package/dist/collection/components/helpers/table-column/table-column.component.js +157 -0
  188. package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
  189. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
  190. package/dist/collection/components/molecules/content-slider/content-slider.component.css +44 -0
  191. package/dist/collection/components/molecules/content-slider/content-slider.component.js +322 -0
  192. package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
  193. package/dist/collection/components/molecules/dropdown/dropdown.component.js +346 -0
  194. package/dist/collection/components/molecules/input-group/input-group.component.css +324 -0
  195. package/dist/collection/components/molecules/input-group/input-group.component.js +339 -0
  196. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +6 -12
  197. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
  198. package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
  199. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +223 -0
  200. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  201. package/dist/collection/components/molecules/pagination/pagination.component.js +25 -4
  202. package/dist/collection/components/molecules/profile/profile.component.css +60 -0
  203. package/dist/collection/components/molecules/profile/profile.component.js +95 -0
  204. package/dist/collection/components/molecules/select/select.component.css +6 -0
  205. package/dist/collection/components/molecules/select/select.component.js +576 -0
  206. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  207. package/dist/collection/components/molecules/stepper/stepper.component.js +84 -0
  208. package/dist/collection/components/molecules/table-cell/table-cell.component.css +3 -0
  209. package/dist/collection/components/molecules/table-cell/table-cell.component.js +258 -0
  210. package/dist/collection/components/molecules/table-footer/table-footer.component.css +30 -0
  211. package/dist/collection/components/molecules/table-footer/table-footer.component.js +268 -0
  212. package/dist/collection/components/molecules/table-header/table-header.component.css +16 -0
  213. package/dist/collection/components/molecules/table-header/table-header.component.js +386 -0
  214. package/dist/collection/components/molecules/table-row/table-row.component.css +21 -0
  215. package/dist/collection/components/molecules/table-row/table-row.component.js +67 -0
  216. package/dist/collection/components/molecules/toast/toast.component.css +23 -0
  217. package/dist/collection/components/molecules/toast/toast.component.js +197 -0
  218. package/dist/collection/components/organisms/modal/modal.component.js +202 -0
  219. package/dist/collection/components/organisms/navbar/navbar.component.css +59 -0
  220. package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
  221. package/dist/collection/components/organisms/table/table.component.css +3 -0
  222. package/dist/collection/components/organisms/table/table.component.js +1163 -0
  223. package/dist/collection/index.js +2 -1
  224. package/dist/collection/tailwind/animation.js +17 -0
  225. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  226. package/dist/collection/tailwind/border-radius.js +8 -7
  227. package/dist/collection/tailwind/height.js +3 -0
  228. package/dist/collection/tailwind/screens.js +8 -0
  229. package/dist/collection/tailwind/shadows.js +11 -5
  230. package/dist/collection/tailwind/spacing.js +10 -0
  231. package/dist/collection/tailwind/typography.js +21 -0
  232. package/dist/collection/tailwind/width.js +18 -0
  233. package/dist/collection/tailwind/z-index.js +11 -0
  234. package/dist/collection/tailwind.config.js +28 -14
  235. package/dist/collection/types/index.js +2 -0
  236. package/dist/collection/types/table.js +1 -0
  237. package/dist/collection/types/tailwind.js +1 -0
  238. package/dist/collection/utils/child-of.js +5 -0
  239. package/dist/collection/utils/icons.js +20 -0
  240. package/dist/collection/utils/illustrations.js +6 -0
  241. package/dist/collection/utils/index.js +6 -0
  242. package/dist/collection/utils/localization.js +55 -0
  243. package/dist/collection/utils/object-get-by-path.js +8 -0
  244. package/dist/collection/utils/transformers.js +4 -0
  245. package/dist/components/backdrop.component.js +33 -0
  246. package/dist/components/button.component.js +119 -0
  247. package/dist/components/counter.component.js +14 -3
  248. package/dist/components/divider.component.js +33 -0
  249. package/dist/components/dropdown-menu-container.component.js +35 -0
  250. package/dist/components/dropdown-menu-item.component.js +48 -0
  251. package/dist/components/dropdown.component.js +198 -0
  252. package/dist/components/helper.component.js +42 -0
  253. package/dist/components/icon.component.js +248 -5
  254. package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +187 -16
  255. package/dist/components/index.d.ts +53 -13
  256. package/dist/components/index.js +50 -0
  257. package/dist/components/input-group.component.js +116 -0
  258. package/dist/components/label.component.js +69 -0
  259. package/dist/components/loader.component.js +5 -2
  260. package/dist/components/localization.js +57 -0
  261. package/dist/components/modal-body.component.js +36 -0
  262. package/dist/components/modal-container.component.js +48 -0
  263. package/dist/components/modal-footer.component.js +36 -0
  264. package/dist/components/modal-header.component.js +55 -0
  265. package/dist/components/p-accordion.d.ts +11 -0
  266. package/dist/components/p-accordion.js +73 -0
  267. package/dist/components/p-avatar-group.d.ts +11 -0
  268. package/dist/components/p-avatar-group.js +34 -0
  269. package/dist/components/p-avatar.js +21 -8
  270. package/dist/components/p-backdrop.d.ts +11 -0
  271. package/dist/components/p-backdrop.js +6 -0
  272. package/dist/components/p-button.js +1 -93
  273. package/dist/components/p-card-body.d.ts +11 -0
  274. package/dist/components/p-card-body.js +38 -0
  275. package/dist/components/p-card-container.d.ts +11 -0
  276. package/dist/components/p-card-container.js +44 -0
  277. package/dist/components/p-card-header.d.ts +11 -0
  278. package/dist/components/p-card-header.js +46 -0
  279. package/dist/components/p-content-slider.d.ts +11 -0
  280. package/dist/components/p-content-slider.js +250 -0
  281. package/dist/components/p-divider.js +1 -28
  282. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  283. package/dist/components/p-dropdown-menu-container.js +6 -0
  284. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  285. package/dist/components/p-dropdown-menu-item.js +6 -0
  286. package/dist/components/p-dropdown.d.ts +11 -0
  287. package/dist/components/p-dropdown.js +6 -0
  288. package/dist/components/p-helper.js +1 -34
  289. package/dist/components/p-illustration.js +1 -1432
  290. package/dist/components/p-info-panel.js +1 -1
  291. package/dist/components/p-input-group.d.ts +11 -0
  292. package/dist/components/p-input-group.js +6 -0
  293. package/dist/components/p-label.d.ts +11 -0
  294. package/dist/components/p-label.js +6 -0
  295. package/dist/components/p-layout.d.ts +11 -0
  296. package/dist/components/p-layout.js +39 -0
  297. package/dist/components/p-modal-body.d.ts +11 -0
  298. package/dist/components/p-modal-body.js +6 -0
  299. package/dist/components/p-modal-container.d.ts +11 -0
  300. package/dist/components/p-modal-container.js +6 -0
  301. package/dist/components/p-modal-footer.d.ts +11 -0
  302. package/dist/components/p-modal-footer.js +6 -0
  303. package/dist/components/p-modal-header.d.ts +11 -0
  304. package/dist/components/p-modal-header.js +6 -0
  305. package/dist/components/p-modal.d.ts +11 -0
  306. package/dist/components/p-modal.js +133 -0
  307. package/dist/components/p-navbar.d.ts +11 -0
  308. package/dist/components/p-navbar.js +70 -0
  309. package/dist/components/p-navigation-item.js +2 -2
  310. package/dist/components/p-page-size-select.d.ts +11 -0
  311. package/dist/components/p-page-size-select.js +6 -0
  312. package/dist/components/p-pagination.js +1 -196
  313. package/dist/components/p-profile.d.ts +11 -0
  314. package/dist/components/p-profile.js +85 -0
  315. package/dist/components/p-segment-container.d.ts +11 -0
  316. package/dist/components/p-segment-container.js +6 -0
  317. package/dist/components/p-segment-item.d.ts +11 -0
  318. package/dist/components/p-segment-item.js +6 -0
  319. package/dist/components/p-select.d.ts +11 -0
  320. package/dist/components/p-select.js +280 -0
  321. package/dist/components/p-slider-indicator.d.ts +11 -0
  322. package/dist/components/p-slider-indicator.js +6 -0
  323. package/dist/components/p-status.d.ts +11 -0
  324. package/dist/components/p-status.js +73 -0
  325. package/dist/components/p-stepper-item.d.ts +11 -0
  326. package/dist/components/p-stepper-item.js +6 -0
  327. package/dist/components/p-stepper-line.d.ts +11 -0
  328. package/dist/components/p-stepper-line.js +6 -0
  329. package/dist/components/p-stepper.d.ts +11 -0
  330. package/dist/components/p-stepper.js +84 -0
  331. package/dist/components/p-tab-group.d.ts +11 -0
  332. package/dist/components/p-tab-group.js +39 -0
  333. package/dist/components/p-tab-item.d.ts +11 -0
  334. package/dist/components/p-tab-item.js +39 -0
  335. package/dist/components/p-table-cell.d.ts +11 -0
  336. package/dist/components/p-table-cell.js +6 -0
  337. package/dist/components/p-table-column.d.ts +11 -0
  338. package/dist/components/p-table-column.js +56 -0
  339. package/dist/components/p-table-container.d.ts +11 -0
  340. package/dist/components/p-table-container.js +6 -0
  341. package/dist/components/p-table-footer.d.ts +11 -0
  342. package/dist/components/p-table-footer.js +6 -0
  343. package/dist/components/p-table-header.d.ts +11 -0
  344. package/dist/components/p-table-header.js +6 -0
  345. package/dist/components/p-table-row.d.ts +11 -0
  346. package/dist/components/p-table-row.js +6 -0
  347. package/dist/components/p-table.d.ts +11 -0
  348. package/dist/components/p-table.js +558 -0
  349. package/dist/components/p-toast-container.d.ts +11 -0
  350. package/dist/components/p-toast-container.js +39 -0
  351. package/dist/components/p-toast.d.ts +11 -0
  352. package/dist/components/p-toast.js +78 -0
  353. package/dist/components/page-size-select.component.js +129 -0
  354. package/dist/components/pagination-item.component.js +1 -1
  355. package/dist/components/pagination.component.js +202 -0
  356. package/dist/{cjs/p-tooltip.cjs.entry.js → components/popper.js} +1 -128
  357. package/dist/components/segment-container.component.js +29 -0
  358. package/dist/components/segment-item.component.js +51 -0
  359. package/dist/components/slider-indicator.component.js +36 -0
  360. package/dist/components/stepper-item.component.js +57 -0
  361. package/dist/components/stepper-line.component.js +41 -0
  362. package/dist/components/table-cell.component.js +143 -0
  363. package/dist/components/table-container.component.js +30 -0
  364. package/dist/components/table-footer.component.js +146 -0
  365. package/dist/components/table-header.component.js +1068 -0
  366. package/dist/components/table-row.component.js +49 -0
  367. package/dist/components/tooltip.component.js +37 -1808
  368. package/dist/esm/child-of-90a8c4b5.js +7 -0
  369. package/dist/esm/constants-826f9460.js +4 -0
  370. package/dist/esm/{index-a68e547b.js → index-7c99f044.js} +197 -5
  371. package/dist/esm/index.js +9 -0
  372. package/dist/esm/loader.js +3 -3
  373. package/dist/esm/localization-901dc2d3.js +57 -0
  374. package/dist/esm/object-get-by-path-d6427a61.js +10 -0
  375. package/dist/esm/p-accordion.entry.js +38 -0
  376. package/dist/esm/p-avatar-group.entry.js +15 -0
  377. package/dist/esm/p-avatar.entry.js +19 -5
  378. package/dist/esm/p-backdrop_5.entry.js +90 -0
  379. package/dist/esm/p-button_3.entry.js +329 -63
  380. package/dist/esm/p-card-body.entry.js +19 -0
  381. package/dist/esm/p-card-container.entry.js +23 -0
  382. package/dist/esm/p-card-header.entry.js +20 -0
  383. package/dist/esm/p-content-slider.entry.js +217 -0
  384. package/dist/esm/p-counter.entry.js +11 -3
  385. package/dist/esm/p-divider.entry.js +6 -3
  386. package/dist/esm/p-dropdown_3.entry.js +199 -0
  387. package/dist/esm/p-helper_2.entry.js +155 -0
  388. package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1347 -3
  389. package/dist/esm/p-info-panel.entry.js +2 -2
  390. package/dist/esm/p-input-group_4.entry.js +137 -0
  391. package/dist/esm/p-layout.entry.js +19 -0
  392. package/dist/esm/p-modal.entry.js +53 -0
  393. package/dist/esm/p-navbar.entry.js +30 -0
  394. package/dist/esm/p-navigation-item.entry.js +3 -3
  395. package/dist/esm/p-page-size-select_3.entry.js +251 -0
  396. package/dist/esm/p-profile.entry.js +45 -0
  397. package/dist/esm/p-select.entry.js +194 -0
  398. package/dist/esm/p-slider-indicator.entry.js +19 -0
  399. package/dist/esm/p-status.entry.js +45 -0
  400. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  401. package/dist/esm/p-stepper.entry.js +45 -0
  402. package/dist/esm/p-tab-group.entry.js +15 -0
  403. package/dist/esm/p-tab-item.entry.js +19 -0
  404. package/dist/esm/p-table-column.entry.js +32 -0
  405. package/dist/esm/p-table.entry.js +376 -0
  406. package/dist/esm/p-toast-container.entry.js +19 -0
  407. package/dist/esm/p-toast.entry.js +34 -0
  408. package/dist/esm/paperless.js +3 -3
  409. package/dist/esm/polyfills/core-js.js +0 -0
  410. package/dist/esm/polyfills/dom.js +0 -0
  411. package/dist/esm/polyfills/es5-html-element.js +0 -0
  412. package/dist/esm/polyfills/index.js +0 -0
  413. package/dist/esm/polyfills/system.js +0 -0
  414. package/dist/esm/popper-41c6f9cd.js +1788 -0
  415. package/dist/index.html +1 -1
  416. package/dist/paperless/index.esm.js +1 -0
  417. package/dist/paperless/p-06899ffb.entry.js +1 -0
  418. package/dist/paperless/p-0818aeaa.entry.js +1 -0
  419. package/dist/paperless/p-09ea2a1a.js +1 -0
  420. package/dist/paperless/p-150aadaf.entry.js +1 -0
  421. package/dist/paperless/p-15d13147.entry.js +1 -0
  422. package/dist/paperless/p-251145a1.entry.js +1 -0
  423. package/dist/paperless/p-25ed4eb4.entry.js +1 -0
  424. package/dist/paperless/p-3180c96e.entry.js +1 -0
  425. package/dist/paperless/p-337ad423.entry.js +1 -0
  426. package/dist/paperless/p-3c606afb.entry.js +1 -0
  427. package/dist/paperless/p-41588819.entry.js +1 -0
  428. package/dist/paperless/p-44d46765.entry.js +1 -0
  429. package/dist/paperless/p-4588a510.entry.js +1 -0
  430. package/dist/paperless/p-4ac1f4de.entry.js +1 -0
  431. package/dist/paperless/p-4e650fe4.js +1 -0
  432. package/dist/paperless/p-50fb85bd.entry.js +1 -0
  433. package/dist/paperless/p-52ab1f62.entry.js +1 -0
  434. package/dist/paperless/p-55c5a1bd.entry.js +1 -0
  435. package/dist/paperless/p-58dd41be.entry.js +1 -0
  436. package/dist/paperless/p-5a71d6ae.entry.js +1 -0
  437. package/dist/paperless/p-600a2f21.entry.js +1 -0
  438. package/dist/paperless/p-638e7554.entry.js +1 -0
  439. package/dist/paperless/p-69d31689.entry.js +1 -0
  440. package/dist/paperless/p-6c60fd3d.js +1 -0
  441. package/dist/paperless/p-76377ad7.entry.js +1 -0
  442. package/dist/paperless/p-7e40c097.entry.js +1 -0
  443. package/dist/paperless/p-7e9a866e.entry.js +1 -0
  444. package/dist/paperless/p-8614bd10.entry.js +1 -0
  445. package/dist/paperless/p-86a6c56a.entry.js +1 -0
  446. package/dist/paperless/p-8a6728d5.js +1 -0
  447. package/dist/paperless/p-8f179b0d.entry.js +1 -0
  448. package/dist/paperless/p-a7086ffa.js +1 -0
  449. package/dist/paperless/p-ad147b1b.entry.js +1 -0
  450. package/dist/paperless/p-bd31605b.entry.js +1 -0
  451. package/dist/paperless/p-c11282d2.entry.js +1 -0
  452. package/dist/paperless/p-c4110c09.entry.js +1 -0
  453. package/dist/paperless/p-d17b038f.entry.js +1 -0
  454. package/dist/paperless/p-d9c1fe13.js +2 -0
  455. package/dist/paperless/p-f370ee4d.entry.js +1 -0
  456. package/dist/paperless/paperless.css +475 -26447
  457. package/dist/paperless/paperless.esm.js +1 -1
  458. package/dist/style/_fonts.scss +70 -0
  459. package/dist/style/_reset.scss +31 -0
  460. package/dist/style/_tailwind.scss +3 -0
  461. package/dist/style/_typograhpy.scss +29 -0
  462. package/dist/style/_variables.scss +2 -0
  463. package/dist/style/form/_checkbox.scss +62 -0
  464. package/dist/style/form/_input.scss +22 -0
  465. package/dist/style/form/_mixins.scss +107 -0
  466. package/dist/style/form/_radio.scss +58 -0
  467. package/dist/style/form/_textarea.scss +18 -0
  468. package/dist/style/form/index.scss +4 -0
  469. package/dist/style/paperless.scss +10 -0
  470. package/dist/sw.js +2 -471
  471. package/dist/sw.js.map +1 -0
  472. package/dist/tailwind/animation.js +17 -0
  473. package/dist/tailwind/backdrop-blur.js +3 -0
  474. package/dist/tailwind/border-radius.js +10 -0
  475. package/dist/tailwind/colors.js +52 -0
  476. package/dist/tailwind/height.js +3 -0
  477. package/dist/tailwind/rotate.js +8 -0
  478. package/dist/tailwind/scale.js +3 -0
  479. package/dist/tailwind/screens.js +8 -0
  480. package/dist/tailwind/shadows.js +13 -0
  481. package/dist/tailwind/spacing.js +10 -0
  482. package/dist/tailwind/typography.js +21 -0
  483. package/dist/tailwind/width.js +18 -0
  484. package/dist/tailwind/z-index.js +11 -0
  485. package/dist/tailwind.config.js +28 -14
  486. package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
  487. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  488. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +4 -0
  489. package/dist/types/components/atoms/button/button.component.d.ts +18 -1
  490. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  491. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  492. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  493. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  494. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  495. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +7 -0
  496. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +16 -0
  497. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  498. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  499. package/dist/types/components/atoms/label/label.component.d.ts +37 -0
  500. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  501. package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
  502. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  503. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  504. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  505. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  506. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  507. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  508. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  509. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  510. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  511. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  512. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  513. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  514. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  515. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
  516. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +12 -3
  517. package/dist/types/components/helpers/table-column/table-column.component.d.ts +34 -0
  518. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  519. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +53 -0
  520. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +61 -0
  521. package/dist/types/components/molecules/input-group/input-group.component.d.ts +67 -0
  522. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  523. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
  524. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  525. package/dist/types/components/molecules/profile/profile.component.d.ts +20 -0
  526. package/dist/types/components/molecules/select/select.component.d.ts +115 -0
  527. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  528. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
  529. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +59 -0
  530. package/dist/types/components/molecules/table-header/table-header.component.d.ts +83 -0
  531. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  532. package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
  533. package/dist/types/components/organisms/modal/modal.component.d.ts +43 -0
  534. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  535. package/dist/types/components/organisms/table/table.component.d.ts +206 -0
  536. package/dist/types/components.d.ts +2384 -195
  537. package/dist/types/index.d.ts +2 -0
  538. package/dist/types/types/index.d.ts +2 -0
  539. package/dist/types/types/table.d.ts +27 -0
  540. package/dist/types/types/tailwind.d.ts +2 -0
  541. package/dist/types/utils/child-of.d.ts +1 -0
  542. package/dist/types/utils/icons.d.ts +10 -0
  543. package/dist/types/utils/illustrations.d.ts +3 -0
  544. package/dist/types/utils/index.d.ts +6 -0
  545. package/dist/types/utils/localization.d.ts +2 -0
  546. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  547. package/dist/types/utils/transformers.d.ts +2 -0
  548. package/dist/workbox-5fe694da.js +2 -0
  549. package/dist/workbox-5fe694da.js.map +1 -0
  550. package/package.json +61 -61
  551. package/dist/build/p-17c11169.entry.js +0 -1
  552. package/dist/build/p-42dab9d4.entry.js +0 -1
  553. package/dist/build/p-47b52f92.entry.js +0 -1
  554. package/dist/build/p-5ec6ea71.entry.js +0 -1
  555. package/dist/build/p-76464e0b.js +0 -2
  556. package/dist/build/p-8501ba07.entry.js +0 -1
  557. package/dist/build/p-a223175e.entry.js +0 -1
  558. package/dist/build/p-aae3d4f0.entry.js +0 -1
  559. package/dist/build/p-adcb0b93.entry.js +0 -1
  560. package/dist/build/p-b39e8fc9.entry.js +0 -1
  561. package/dist/build/p-bbec0e86.entry.js +0 -1
  562. package/dist/build/p-f65d7bbf.entry.js +0 -1
  563. package/dist/cjs/p-helper.cjs.entry.js +0 -19
  564. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  565. package/dist/cjs/p-pagination.cjs.entry.js +0 -172
  566. package/dist/collection/tailwind/grid.js +0 -26
  567. package/dist/collection/utils/utils.js +0 -3
  568. package/dist/esm/p-helper.entry.js +0 -15
  569. package/dist/esm/p-pagination-item.entry.js +0 -19
  570. package/dist/esm/p-pagination.entry.js +0 -168
  571. package/dist/paperless/p-17c11169.entry.js +0 -1
  572. package/dist/paperless/p-42dab9d4.entry.js +0 -1
  573. package/dist/paperless/p-47b52f92.entry.js +0 -1
  574. package/dist/paperless/p-5ec6ea71.entry.js +0 -1
  575. package/dist/paperless/p-76464e0b.js +0 -2
  576. package/dist/paperless/p-8501ba07.entry.js +0 -1
  577. package/dist/paperless/p-a223175e.entry.js +0 -1
  578. package/dist/paperless/p-aae3d4f0.entry.js +0 -1
  579. package/dist/paperless/p-adcb0b93.entry.js +0 -1
  580. package/dist/paperless/p-b39e8fc9.entry.js +0 -1
  581. package/dist/paperless/p-bbec0e86.entry.js +0 -1
  582. package/dist/paperless/p-f65d7bbf.entry.js +0 -1
  583. package/dist/types/utils/utils.d.ts +0 -1
@@ -0,0 +1,9 @@
1
+ :host {
2
+ @apply flex w-full flex-col relative;
3
+ }
4
+ :host .content {
5
+ @apply flex gap-5 w-full z-10;
6
+ }
7
+ :host p-divider {
8
+ @apply m-0 absolute bottom-0 left-0 w-full;
9
+ } .static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,17 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class TabGroup {
3
+ render() {
4
+ return (h(Host, { class: "p-tab-group" },
5
+ h("div", { class: "content" },
6
+ h("slot", null)),
7
+ h("p-divider", null)));
8
+ }
9
+ static get is() { return "p-tab-group"; }
10
+ static get encapsulation() { return "shadow"; }
11
+ static get originalStyleUrls() { return {
12
+ "$": ["tab-group.component.scss"]
13
+ }; }
14
+ static get styleUrls() { return {
15
+ "$": ["tab-group.component.css"]
16
+ }; }
17
+ }
@@ -0,0 +1,10 @@
1
+ :host {
2
+ @apply flex items-center h-10;
3
+ @apply font-semibold text-storm-medium;
4
+ @apply cursor-pointer;
5
+ @apply border-0 border-b-2 border-transparent !important;
6
+ }
7
+
8
+ :host(.active) {
9
+ @apply border-indigo text-indigo !important;
10
+ } .static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,41 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class TabItem {
3
+ constructor() {
4
+ /**
5
+ * Wether the tab item is active
6
+ */
7
+ this.active = false;
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-tab-item ${this.active && 'active'}` },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-tab-item"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() { return {
16
+ "$": ["tab-item.component.scss"]
17
+ }; }
18
+ static get styleUrls() { return {
19
+ "$": ["tab-item.component.css"]
20
+ }; }
21
+ static get properties() { return {
22
+ "active": {
23
+ "type": "boolean",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "boolean",
27
+ "resolved": "boolean",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": "Wether the tab item is active"
35
+ },
36
+ "attribute": "active",
37
+ "reflect": false,
38
+ "defaultValue": "false"
39
+ }
40
+ }; }
41
+ }
@@ -0,0 +1,5 @@
1
+ :host {
2
+ @apply flex flex-col w-full;
3
+ @apply bg-white rounded-large;
4
+ @apply shadow-4 !important;
5
+ } .static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.hidden{display:none!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.static{position:static!important}.m-0{margin:0!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,15 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class TableContainer {
3
+ render() {
4
+ return (h(Host, { class: "p-table-container" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-table-container"; }
8
+ static get encapsulation() { return "shadow"; }
9
+ static get originalStyleUrls() { return {
10
+ "$": ["table-container.component.scss"]
11
+ }; }
12
+ static get styleUrls() { return {
13
+ "$": ["table-container.component.css"]
14
+ }; }
15
+ }
@@ -0,0 +1,27 @@
1
+ :host {
2
+ @apply fixed flex flex-col gap-4 z-toast;
3
+ @apply tablet:max-w-[26.5rem];
4
+ @apply z-[600];
5
+ width: calc(100% - (env(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) + 2rem));
6
+ max-width: calc(100% - (env(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) + 2rem));
7
+ }
8
+
9
+ :host(.placement-top-start) {
10
+ top: calc(env(safe-area-inset-top, 0) + 1rem);
11
+ left: calc(env(safe-area-inset-left, 0) + 1rem);
12
+ }
13
+
14
+ :host(.placement-top-end) {
15
+ top: calc(env(safe-area-inset-top, 0) + 1rem);
16
+ right: calc(env(safe-area-inset-right, 0) + 1rem);
17
+ }
18
+
19
+ :host(.placement-bottom-start) {
20
+ bottom: calc(env(safe-area-inset-bottom, 0) + 1rem);
21
+ left: calc(env(safe-area-inset-left, 0) + 1rem);
22
+ }
23
+
24
+ :host(.placement-bottom-end) {
25
+ bottom: calc(env(safe-area-inset-bottom, 0) + 1rem);
26
+ right: calc(env(safe-area-inset-right, 0) + 1rem);
27
+ } .static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}
@@ -0,0 +1,41 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class ToastContainer {
3
+ constructor() {
4
+ /**
5
+ * The placement of the container
6
+ */
7
+ this.placement = 'top-end';
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-toast-container placement-${this.placement}` },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-toast-container"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() { return {
16
+ "$": ["toast-container.component.scss"]
17
+ }; }
18
+ static get styleUrls() { return {
19
+ "$": ["toast-container.component.css"]
20
+ }; }
21
+ static get properties() { return {
22
+ "placement": {
23
+ "type": "string",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'",
27
+ "resolved": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\"",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": "The placement of the container"
35
+ },
36
+ "attribute": "placement",
37
+ "reflect": false,
38
+ "defaultValue": "'top-end'"
39
+ }
40
+ }; }
41
+ }
@@ -1,37 +1,43 @@
1
1
  :host {
2
- @apply cursor-pointer inline-block;
2
+ @apply flex cursor-pointer;
3
3
  }
4
- :host .popover {
4
+ :host .popover-container {
5
+ @apply w-0 h-0 relative;
6
+ }
7
+ :host .popover-container .popover {
5
8
  @apply bg-white hidden text-xs font-medium py-2 px-3 rounded drop-shadow-4;
6
9
  max-width: 14.5rem;
7
10
  }
8
- :host .popover.variant-hover {
11
+ :host .popover-container .popover.variant-hover, :host .popover-container .popover.variant-error {
9
12
  @apply bg-storm text-white py-1;
10
13
  }
11
- :host .popover[data-show] {
14
+ :host .popover-container .popover.variant-error {
15
+ @apply bg-negative uppercase tracking-wider;
16
+ }
17
+ :host .popover-container .popover[data-show] {
12
18
  @apply block;
13
19
  }
14
- :host .popover .arrow,
15
- :host .popover .arrow::before {
20
+ :host .popover-container .popover .arrow,
21
+ :host .popover-container .popover .arrow::before {
16
22
  background: inherit;
17
23
  @apply absolute w-2 h-2;
18
24
  }
19
- :host .popover .arrow {
25
+ :host .popover-container .popover .arrow {
20
26
  visibility: hidden;
21
27
  }
22
- :host .popover .arrow::before {
28
+ :host .popover-container .popover .arrow::before {
23
29
  @apply visible transform rotate-45;
24
30
  content: "";
25
31
  }
26
- :host .popover[data-popper-placement^=top] > .arrow {
32
+ :host .popover-container .popover[data-popper-placement^=top] > .arrow {
27
33
  @apply -bottom-1;
28
34
  }
29
- :host .popover[data-popper-placement^=bottom] > .arrow {
35
+ :host .popover-container .popover[data-popper-placement^=bottom] > .arrow {
30
36
  @apply -top-1;
31
37
  }
32
- :host .popover[data-popper-placement^=left] > .arrow {
38
+ :host .popover-container .popover[data-popper-placement^=left] > .arrow {
33
39
  @apply -right-1;
34
40
  }
35
- :host .popover[data-popper-placement^=right] > .arrow {
41
+ :host .popover-container .popover[data-popper-placement^=right] > .arrow {
36
42
  @apply -left-1;
37
- }
43
+ } .static{position:static!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.hidden{display:none!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.static{position:static!important}.m-0{margin:0!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}*{box-sizing:border-box}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.static{position:static!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}*{box-sizing:border-box}.hover\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}
@@ -1,5 +1,5 @@
1
1
  import { createPopper } from '@popperjs/core';
2
- import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';
2
+ import { Component, Element, Event, h, Host, Listen, Prop, } from '@stencil/core';
3
3
  export class Tooltip {
4
4
  constructor() {
5
5
  /**
@@ -11,9 +11,13 @@ export class Tooltip {
11
11
  */
12
12
  this.popover = null;
13
13
  /**
14
- * The content of the popover
14
+ * The placement of the popover
15
15
  */
16
16
  this.placement = 'top';
17
+ /**
18
+ * The strategy of the popover placement
19
+ */
20
+ this.strategy = 'fixed';
17
21
  /**
18
22
  * Wether to show the popover
19
23
  */
@@ -26,16 +30,14 @@ export class Tooltip {
26
30
  }
27
31
  componentShouldUpdate() {
28
32
  this._setOptions();
29
- if (this._loaded && this.show) {
30
- this._show();
31
- }
32
33
  }
33
34
  render() {
34
35
  return (h(Host, { class: "p-popover" },
35
36
  h("slot", { name: "content" }),
36
- h("div", { class: `popover variant-${this.variant}`, role: "popover", ref: el => this._load(el) },
37
- this.popover ? this.popover : h("slot", { name: "popover" }),
38
- h("div", { class: "arrow", "data-popper-arrow": true }))));
37
+ h("div", { class: "popover-container" },
38
+ h("div", { class: `popover variant-${this.variant}`, role: "popover", ref: (el) => this._load(el) },
39
+ this.popover ? this.popover : h("slot", { name: "popover" }),
40
+ h("div", { class: "arrow", "data-popper-arrow": true })))));
39
41
  }
40
42
  clickHandler() {
41
43
  if (this.variant === 'hover') {
@@ -44,9 +46,7 @@ export class Tooltip {
44
46
  if (this._popover.hasAttribute('data-show')) {
45
47
  return;
46
48
  }
47
- if (!this._popover.hasAttribute('data-show')) {
48
- this._show();
49
- }
49
+ this._show();
50
50
  }
51
51
  documentClickHandler() {
52
52
  if (this.variant === 'hover' || !this.canManuallyClose) {
@@ -55,18 +55,16 @@ export class Tooltip {
55
55
  if (!this._popover.hasAttribute('data-show')) {
56
56
  return;
57
57
  }
58
- if (this._popover.hasAttribute('data-show')) {
59
- this._hide();
60
- }
58
+ this._hide();
61
59
  }
62
60
  mouseEnterHandler() {
63
- if (this.variant === 'click') {
61
+ if (this.variant !== 'hover') {
64
62
  return;
65
63
  }
66
64
  this._show();
67
65
  }
68
66
  mouseLeaveHandler() {
69
- if (this.show || this.variant === 'click') {
67
+ if (this.show || this.variant !== 'hover') {
70
68
  return;
71
69
  }
72
70
  this._hide();
@@ -78,9 +76,13 @@ export class Tooltip {
78
76
  // Make the popover visible
79
77
  this._popover.setAttribute('data-show', '');
80
78
  // Enable the event listeners
81
- this._popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [...options.modifiers, { name: 'eventListeners', enabled: true }] })));
79
+ this._popper.setOptions((options) => (Object.assign(Object.assign({}, options), { modifiers: [
80
+ ...options.modifiers,
81
+ { name: 'eventListeners', enabled: true },
82
+ ] })));
82
83
  // Update its position
83
84
  this._popper.update();
85
+ this.isOpen.emit(true);
84
86
  }
85
87
  _hide() {
86
88
  if (!this._loaded) {
@@ -89,12 +91,18 @@ export class Tooltip {
89
91
  // Hide the popover
90
92
  this._popover.removeAttribute('data-show');
91
93
  // Disable the event listeners
92
- this._popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [...options.modifiers, { name: 'eventListeners', enabled: false }] })));
94
+ this._popper.setOptions((options) => (Object.assign(Object.assign({}, options), { modifiers: [
95
+ ...options.modifiers,
96
+ { name: 'eventListeners', enabled: false },
97
+ ] })));
98
+ this.isOpen.emit(false);
93
99
  }
94
100
  _load(popover) {
95
101
  this._popover = popover;
96
102
  if (popover) {
97
- this._popper = createPopper(this._el, popover);
103
+ this._popper = createPopper(this._el, popover, {
104
+ strategy: this.strategy,
105
+ });
98
106
  this._setOptions();
99
107
  this._loaded = true;
100
108
  if (this.show) {
@@ -107,12 +115,18 @@ export class Tooltip {
107
115
  return;
108
116
  }
109
117
  this._popper.setOptions({
110
- placement: this.placement,
118
+ placement: this.variant === 'error' ? 'top-end' : this.placement,
111
119
  modifiers: [
112
120
  {
113
121
  name: 'offset',
114
122
  options: {
115
- offset: [0, 8],
123
+ offset: this.variant === 'error' ? [8, 14] : [0, 8],
124
+ },
125
+ },
126
+ {
127
+ name: 'arrow',
128
+ options: {
129
+ padding: 4,
116
130
  },
117
131
  },
118
132
  ],
@@ -131,8 +145,8 @@ export class Tooltip {
131
145
  "type": "string",
132
146
  "mutable": false,
133
147
  "complexType": {
134
- "original": "'hover' | 'click'",
135
- "resolved": "\"click\" | \"hover\"",
148
+ "original": "'hover' | 'click' | 'error'",
149
+ "resolved": "\"click\" | \"error\" | \"hover\"",
136
150
  "references": {}
137
151
  },
138
152
  "required": false,
@@ -180,12 +194,35 @@ export class Tooltip {
180
194
  "optional": false,
181
195
  "docs": {
182
196
  "tags": [],
183
- "text": "The content of the popover"
197
+ "text": "The placement of the popover"
184
198
  },
185
199
  "attribute": "placement",
186
200
  "reflect": false,
187
201
  "defaultValue": "'top'"
188
202
  },
203
+ "strategy": {
204
+ "type": "string",
205
+ "mutable": false,
206
+ "complexType": {
207
+ "original": "PositioningStrategy",
208
+ "resolved": "\"absolute\" | \"fixed\"",
209
+ "references": {
210
+ "PositioningStrategy": {
211
+ "location": "import",
212
+ "path": "@popperjs/core"
213
+ }
214
+ }
215
+ },
216
+ "required": false,
217
+ "optional": false,
218
+ "docs": {
219
+ "tags": [],
220
+ "text": "The strategy of the popover placement"
221
+ },
222
+ "attribute": "strategy",
223
+ "reflect": false,
224
+ "defaultValue": "'fixed'"
225
+ },
189
226
  "show": {
190
227
  "type": "boolean",
191
228
  "mutable": false,
@@ -223,6 +260,22 @@ export class Tooltip {
223
260
  "defaultValue": "true"
224
261
  }
225
262
  }; }
263
+ static get events() { return [{
264
+ "method": "isOpen",
265
+ "name": "isOpen",
266
+ "bubbles": true,
267
+ "cancelable": true,
268
+ "composed": true,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": "Open change event"
272
+ },
273
+ "complexType": {
274
+ "original": "boolean",
275
+ "resolved": "boolean",
276
+ "references": {}
277
+ }
278
+ }]; }
226
279
  static get elementRef() { return "_el"; }
227
280
  static get listeners() { return [{
228
281
  "name": "click",
@@ -0,0 +1,157 @@
1
+ import { Component, Event, Prop } from '@stencil/core';
2
+ export class TableColumn {
3
+ constructor() {
4
+ /**
5
+ * The type of the column
6
+ */
7
+ this.type = 'td';
8
+ /**
9
+ * Wether the column should use the slot
10
+ */
11
+ this.useSlot = false;
12
+ /**
13
+ * The alignment of the column
14
+ */
15
+ this.align = 'start';
16
+ /**
17
+ * The sizes of the column
18
+ */
19
+ this.sizes = 'auto';
20
+ }
21
+ componentDidUpdate() {
22
+ this.tableDefinitionChanged.emit(true);
23
+ }
24
+ render() {
25
+ return;
26
+ }
27
+ static get is() { return "p-table-column"; }
28
+ static get properties() { return {
29
+ "path": {
30
+ "type": "string",
31
+ "mutable": true,
32
+ "complexType": {
33
+ "original": "string",
34
+ "resolved": "string",
35
+ "references": {}
36
+ },
37
+ "required": false,
38
+ "optional": false,
39
+ "docs": {
40
+ "tags": [],
41
+ "text": "The path of the value of the item you want to display"
42
+ },
43
+ "attribute": "path",
44
+ "reflect": true
45
+ },
46
+ "type": {
47
+ "type": "string",
48
+ "mutable": true,
49
+ "complexType": {
50
+ "original": "'td' | 'th'",
51
+ "resolved": "\"td\" | \"th\"",
52
+ "references": {}
53
+ },
54
+ "required": false,
55
+ "optional": false,
56
+ "docs": {
57
+ "tags": [],
58
+ "text": "The type of the column"
59
+ },
60
+ "attribute": "type",
61
+ "reflect": true,
62
+ "defaultValue": "'td'"
63
+ },
64
+ "name": {
65
+ "type": "string",
66
+ "mutable": true,
67
+ "complexType": {
68
+ "original": "string",
69
+ "resolved": "string",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": false,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": "The name of the column"
77
+ },
78
+ "attribute": "name",
79
+ "reflect": true
80
+ },
81
+ "useSlot": {
82
+ "type": "boolean",
83
+ "mutable": true,
84
+ "complexType": {
85
+ "original": "boolean",
86
+ "resolved": "boolean",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": "Wether the column should use the slot"
94
+ },
95
+ "attribute": "use-slot",
96
+ "reflect": true,
97
+ "defaultValue": "false"
98
+ },
99
+ "align": {
100
+ "type": "string",
101
+ "mutable": true,
102
+ "complexType": {
103
+ "original": "'start' | 'center' | 'end'",
104
+ "resolved": "\"center\" | \"end\" | \"start\"",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": "The alignment of the column"
112
+ },
113
+ "attribute": "align",
114
+ "reflect": true,
115
+ "defaultValue": "'start'"
116
+ },
117
+ "sizes": {
118
+ "type": "any",
119
+ "mutable": true,
120
+ "complexType": {
121
+ "original": "'auto' | number | TableColumnSizes",
122
+ "resolved": "\"auto\" | TableColumnSizes | number",
123
+ "references": {
124
+ "TableColumnSizes": {
125
+ "location": "import",
126
+ "path": "../../../types/table"
127
+ }
128
+ }
129
+ },
130
+ "required": false,
131
+ "optional": false,
132
+ "docs": {
133
+ "tags": [],
134
+ "text": "The sizes of the column"
135
+ },
136
+ "attribute": "sizes",
137
+ "reflect": false,
138
+ "defaultValue": "'auto'"
139
+ }
140
+ }; }
141
+ static get events() { return [{
142
+ "method": "tableDefinitionChanged",
143
+ "name": "tableDefinitionChanged",
144
+ "bubbles": true,
145
+ "cancelable": true,
146
+ "composed": true,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": "Event to let the table know it has to re render"
150
+ },
151
+ "complexType": {
152
+ "original": "boolean",
153
+ "resolved": "boolean",
154
+ "references": {}
155
+ }
156
+ }]; }
157
+ }
@@ -0,0 +1,3 @@
1
+ :host {
2
+ @apply block mb-6;
3
+ } .static{position:static!important}.m-0{margin:0!important}.mt-6{margin-top:1.5rem!important}.flex{display:flex!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.font-medium{font-weight:500!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important;line-height:1!important}.text-6xl{font-size:3.75rem!important;line-height:1!important}*{box-sizing:border-box}