@paperless/core 0.0.3-alpha.5 → 0.1.0-alpha.100

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 (545) hide show
  1. package/CHANGELOG.md +1073 -0
  2. package/README.md +31 -10
  3. package/dist/assets/icons/arrow.svg +2 -2
  4. package/dist/assets/icons/attachment.svg +2 -2
  5. package/dist/assets/icons/bread.svg +2 -2
  6. package/dist/assets/icons/calendar.svg +2 -2
  7. package/dist/assets/icons/car.svg +2 -2
  8. package/dist/assets/icons/checklist.svg +17 -0
  9. package/dist/assets/icons/checkmark.svg +2 -2
  10. package/dist/assets/icons/chevron.svg +2 -2
  11. package/dist/assets/icons/clock.svg +2 -2
  12. package/dist/assets/icons/cogs.svg +2 -2
  13. package/dist/assets/icons/comment.svg +2 -2
  14. package/dist/assets/icons/document.svg +2 -2
  15. package/dist/assets/icons/download.svg +2 -2
  16. package/dist/assets/icons/envelope.svg +2 -2
  17. package/dist/assets/icons/explanation.svg +2 -2
  18. package/dist/assets/icons/eye.svg +2 -2
  19. package/dist/assets/icons/filter.svg +2 -2
  20. package/dist/assets/icons/folder.svg +19 -0
  21. package/dist/assets/icons/grid.svg +2 -2
  22. package/dist/assets/icons/headset.svg +2 -2
  23. package/dist/assets/icons/integration.svg +17 -0
  24. package/dist/assets/icons/list.svg +2 -2
  25. package/dist/assets/icons/location.svg +2 -2
  26. package/dist/assets/icons/megaphone.svg +2 -2
  27. package/dist/assets/icons/menu.svg +25 -0
  28. package/dist/assets/icons/minus.svg +2 -2
  29. package/dist/assets/icons/more.svg +18 -0
  30. package/dist/assets/icons/negative.svg +2 -2
  31. package/dist/assets/icons/pagination.svg +2 -2
  32. package/dist/assets/icons/payment.svg +2 -2
  33. package/dist/assets/icons/pencil.svg +2 -2
  34. package/dist/assets/icons/person.svg +2 -2
  35. package/dist/assets/icons/plus.svg +2 -2
  36. package/dist/assets/icons/question.svg +2 -2
  37. package/dist/assets/icons/receipt.svg +2 -2
  38. package/dist/assets/icons/report.svg +2 -2
  39. package/dist/assets/icons/search.svg +2 -2
  40. package/dist/assets/icons/settings.svg +2 -2
  41. package/dist/assets/icons/sick.svg +2 -2
  42. package/dist/assets/icons/signout.svg +23 -0
  43. package/dist/assets/icons/switch.svg +20 -0
  44. package/dist/assets/icons/tachometer.svg +2 -2
  45. package/dist/assets/icons/task.svg +17 -0
  46. package/dist/assets/icons/template.svg +17 -0
  47. package/dist/assets/icons/tool.svg +2 -2
  48. package/dist/assets/icons/trash.svg +2 -2
  49. package/dist/assets/icons/turn.svg +2 -2
  50. package/dist/assets/icons/upload.svg +2 -2
  51. package/dist/assets/icons/warning.svg +2 -2
  52. package/dist/assets/illustrations/e-mail.svg +1 -0
  53. package/dist/assets/images/avatar/company-default.svg +12 -0
  54. package/dist/assets/images/avatar/user-default.svg +12 -0
  55. package/dist/assets/images/helper/helper-hover.svg +15 -0
  56. package/dist/assets/images/helper/helper.svg +15 -0
  57. package/dist/build/p-113baa35.entry.js +1 -0
  58. package/dist/build/p-19c20c8e.entry.js +1 -0
  59. package/dist/build/p-1ef22f4e.entry.js +1 -0
  60. package/dist/build/p-2672f14b.entry.js +1 -0
  61. package/dist/build/p-2beaf0e8.entry.js +1 -0
  62. package/dist/build/p-4336cbbc.entry.js +1 -0
  63. package/dist/build/p-58ce5668.entry.js +1 -0
  64. package/dist/build/p-6088647a.entry.js +1 -0
  65. package/dist/build/p-6835a9e3.entry.js +1 -0
  66. package/dist/build/p-6e778574.entry.js +1 -0
  67. package/dist/build/p-79d3258f.entry.js +1 -0
  68. package/dist/build/p-801d05b6.entry.js +1 -0
  69. package/dist/build/p-829c4101.entry.js +1 -0
  70. package/dist/build/p-89fda3a8.entry.js +1 -0
  71. package/dist/build/p-8ac8a69d.entry.js +1 -0
  72. package/dist/build/p-8b743795.entry.js +1 -0
  73. package/dist/build/p-92b6c76c.entry.js +1 -0
  74. package/dist/build/p-938f52ee.entry.js +1 -0
  75. package/dist/build/p-985ee694.entry.js +1 -0
  76. package/dist/build/p-9d98d0d9.entry.js +1 -0
  77. package/dist/build/p-a5ebbd0c.entry.js +1 -0
  78. package/dist/build/p-a6127c75.entry.js +1 -0
  79. package/dist/build/p-a7086ffa.js +1 -0
  80. package/dist/build/p-bc7e8cc4.js +2 -0
  81. package/dist/build/p-bd50db3d.entry.js +1 -0
  82. package/dist/build/p-c27046e6.entry.js +1 -0
  83. package/dist/build/p-c59d9fc2.entry.js +1 -0
  84. package/dist/build/p-cc177072.entry.js +1 -0
  85. package/dist/build/p-cece7715.entry.js +1 -0
  86. package/dist/build/p-d32f2578.entry.js +1 -0
  87. package/dist/build/p-e20a1842.entry.js +1 -0
  88. package/dist/build/p-e2a98d53.entry.js +1 -0
  89. package/dist/build/p-e934ef94.entry.js +1 -0
  90. package/dist/build/p-e9e20ac3.entry.js +1 -0
  91. package/dist/build/p-ec2a5f95.entry.js +1 -0
  92. package/dist/build/p-ede5e914.entry.js +1 -0
  93. package/dist/build/paperless.css +199 -16
  94. package/dist/build/paperless.esm.js +1 -1
  95. package/dist/cjs/{index-e3e940d8.js → index-9d3b51c9.js} +844 -20
  96. package/dist/cjs/loader.cjs.js +3 -3
  97. package/dist/cjs/p-accordion.cjs.entry.js +42 -0
  98. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  99. package/dist/cjs/p-avatar_2.cjs.entry.js +179 -0
  100. package/dist/cjs/p-button_3.cjs.entry.js +1157 -0
  101. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  102. package/dist/cjs/p-card-container.cjs.entry.js +27 -0
  103. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  104. package/dist/cjs/p-content-slider.cjs.entry.js +153 -0
  105. package/dist/cjs/p-counter.cjs.entry.js +27 -0
  106. package/dist/cjs/p-divider.cjs.entry.js +22 -0
  107. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  108. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  109. package/dist/cjs/p-helper.cjs.entry.js +23 -0
  110. package/dist/cjs/p-illustration.cjs.entry.js +1426 -0
  111. package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
  112. package/dist/cjs/p-input-group.cjs.entry.js +51 -0
  113. package/dist/cjs/p-layout.cjs.entry.js +23 -0
  114. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +101 -0
  115. package/dist/cjs/p-modal.cjs.entry.js +48 -0
  116. package/dist/cjs/p-navbar.cjs.entry.js +34 -0
  117. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  118. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  119. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  120. package/dist/cjs/p-profile.cjs.entry.js +46 -0
  121. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  122. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  123. package/dist/cjs/p-slider-indicator.cjs.entry.js +23 -0
  124. package/dist/cjs/p-status.cjs.entry.js +49 -0
  125. package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
  126. package/dist/cjs/p-stepper.cjs.entry.js +71 -0
  127. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  128. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  129. package/dist/cjs/p-tag.cjs.entry.js +27 -0
  130. package/dist/cjs/p-tooltip.cjs.entry.js +143 -0
  131. package/dist/cjs/paperless.cjs.js +3 -3
  132. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  133. package/dist/collection/assets/icons/arrow.svg +2 -2
  134. package/dist/collection/assets/icons/attachment.svg +2 -2
  135. package/dist/collection/assets/icons/bread.svg +2 -2
  136. package/dist/collection/assets/icons/calendar.svg +2 -2
  137. package/dist/collection/assets/icons/car.svg +2 -2
  138. package/dist/collection/assets/icons/checklist.svg +17 -0
  139. package/dist/collection/assets/icons/checkmark.svg +2 -2
  140. package/dist/collection/assets/icons/chevron.svg +2 -2
  141. package/dist/collection/assets/icons/clock.svg +2 -2
  142. package/dist/collection/assets/icons/cogs.svg +2 -2
  143. package/dist/collection/assets/icons/comment.svg +2 -2
  144. package/dist/collection/assets/icons/document.svg +2 -2
  145. package/dist/collection/assets/icons/download.svg +2 -2
  146. package/dist/collection/assets/icons/envelope.svg +2 -2
  147. package/dist/collection/assets/icons/explanation.svg +2 -2
  148. package/dist/collection/assets/icons/eye.svg +2 -2
  149. package/dist/collection/assets/icons/filter.svg +2 -2
  150. package/dist/collection/assets/icons/folder.svg +19 -0
  151. package/dist/collection/assets/icons/grid.svg +2 -2
  152. package/dist/collection/assets/icons/headset.svg +2 -2
  153. package/dist/collection/assets/icons/integration.svg +17 -0
  154. package/dist/collection/assets/icons/list.svg +2 -2
  155. package/dist/collection/assets/icons/location.svg +2 -2
  156. package/dist/collection/assets/icons/megaphone.svg +2 -2
  157. package/dist/collection/assets/icons/menu.svg +25 -0
  158. package/dist/collection/assets/icons/minus.svg +2 -2
  159. package/dist/collection/assets/icons/more.svg +18 -0
  160. package/dist/collection/assets/icons/negative.svg +2 -2
  161. package/dist/collection/assets/icons/pagination.svg +2 -2
  162. package/dist/collection/assets/icons/payment.svg +2 -2
  163. package/dist/collection/assets/icons/pencil.svg +2 -2
  164. package/dist/collection/assets/icons/person.svg +2 -2
  165. package/dist/collection/assets/icons/plus.svg +2 -2
  166. package/dist/collection/assets/icons/question.svg +2 -2
  167. package/dist/collection/assets/icons/receipt.svg +2 -2
  168. package/dist/collection/assets/icons/report.svg +2 -2
  169. package/dist/collection/assets/icons/search.svg +2 -2
  170. package/dist/collection/assets/icons/settings.svg +2 -2
  171. package/dist/collection/assets/icons/sick.svg +2 -2
  172. package/dist/collection/assets/icons/signout.svg +23 -0
  173. package/dist/collection/assets/icons/switch.svg +20 -0
  174. package/dist/collection/assets/icons/tachometer.svg +2 -2
  175. package/dist/collection/assets/icons/task.svg +17 -0
  176. package/dist/collection/assets/icons/template.svg +17 -0
  177. package/dist/collection/assets/icons/tool.svg +2 -2
  178. package/dist/collection/assets/icons/trash.svg +2 -2
  179. package/dist/collection/assets/icons/turn.svg +2 -2
  180. package/dist/collection/assets/icons/upload.svg +2 -2
  181. package/dist/collection/assets/icons/warning.svg +2 -2
  182. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  183. package/dist/collection/assets/images/avatar/company-default.svg +12 -0
  184. package/dist/collection/assets/images/avatar/user-default.svg +12 -0
  185. package/dist/collection/assets/images/helper/helper-hover.svg +15 -0
  186. package/dist/collection/assets/images/helper/helper.svg +15 -0
  187. package/dist/collection/collection-manifest.json +43 -2
  188. package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
  189. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -0
  190. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  191. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  192. package/dist/collection/components/atoms/button/button.component.css +95 -0
  193. package/dist/collection/components/atoms/button/button.component.js +374 -0
  194. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  195. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  196. package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
  197. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
  198. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  199. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  200. package/dist/collection/components/atoms/counter/counter.component.css +30 -0
  201. package/dist/collection/components/atoms/counter/counter.component.js +63 -0
  202. package/dist/collection/components/atoms/divider/divider.component.css +10 -0
  203. package/dist/collection/components/atoms/divider/divider.component.js +20 -0
  204. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +6 -0
  205. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  206. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  207. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +64 -0
  208. package/dist/collection/components/atoms/helper/helper.component.css +7 -0
  209. package/dist/collection/components/atoms/helper/helper.component.js +49 -0
  210. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  211. package/dist/collection/components/atoms/icon/icon.component.js +156 -0
  212. package/dist/collection/components/atoms/illustration/illustration.component.js +32 -0
  213. package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
  214. package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
  215. package/dist/collection/components/atoms/layout/layout.component.css +73 -0
  216. package/dist/collection/components/atoms/layout/layout.component.js +47 -0
  217. package/dist/collection/components/atoms/loader/loader.component.css +26 -0
  218. package/dist/collection/components/atoms/loader/loader.component.js +154 -0
  219. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  220. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  221. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  222. package/dist/collection/components/{button/button.component.js → atoms/modal-body/modal-body.component.js} +12 -12
  223. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  224. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  225. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +8 -0
  226. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +42 -0
  227. package/dist/collection/components/atoms/modal-header/modal-header.component.css +16 -0
  228. package/dist/collection/components/atoms/modal-header/modal-header.component.js +64 -0
  229. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  230. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  231. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  232. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  233. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  234. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  235. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +7 -0
  236. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +40 -0
  237. package/dist/collection/components/atoms/status/status.component.css +16 -0
  238. package/dist/collection/components/atoms/status/status.component.js +133 -0
  239. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
  240. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
  241. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  242. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  243. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  244. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  245. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  246. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  247. package/dist/collection/components/atoms/tag/tag.component.css +51 -0
  248. package/dist/collection/components/atoms/tag/tag.component.js +64 -0
  249. package/dist/collection/components/atoms/tooltip/tooltip.component.css +43 -0
  250. package/dist/collection/components/atoms/tooltip/tooltip.component.js +317 -0
  251. package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
  252. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
  253. package/dist/collection/components/molecules/content-slider/content-slider.component.css +26 -0
  254. package/dist/collection/components/molecules/content-slider/content-slider.component.js +229 -0
  255. package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
  256. package/dist/collection/components/molecules/dropdown/dropdown.component.js +267 -0
  257. package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
  258. package/dist/collection/components/molecules/input-group/input-group.component.js +264 -0
  259. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +22 -0
  260. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  261. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  262. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  263. package/dist/collection/components/molecules/profile/profile.component.css +36 -0
  264. package/dist/collection/components/molecules/profile/profile.component.js +92 -0
  265. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  266. package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
  267. package/dist/collection/components/organisms/modal/modal.component.js +175 -0
  268. package/dist/collection/components/organisms/navbar/navbar.component.css +56 -0
  269. package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
  270. package/dist/collection/tailwind/animation.js +17 -0
  271. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  272. package/dist/collection/tailwind/border-radius.js +8 -5
  273. package/dist/collection/tailwind/rotate.js +8 -0
  274. package/dist/collection/tailwind/scale.js +3 -0
  275. package/dist/collection/tailwind/screens.js +8 -0
  276. package/dist/collection/tailwind/shadows.js +9 -5
  277. package/dist/collection/tailwind/spacing.js +10 -0
  278. package/dist/collection/tailwind/typography.js +21 -0
  279. package/dist/collection/tailwind/width.js +18 -0
  280. package/dist/collection/tailwind/z-index.js +3 -0
  281. package/dist/collection/tailwind.config.js +28 -12
  282. package/dist/collection/utils/child-of.js +5 -0
  283. package/dist/collection/utils/icons.js +100 -0
  284. package/dist/collection/utils/illustrations.js +20 -0
  285. package/dist/collection/utils/types.js +1 -0
  286. package/dist/components/avatar.component.js +54 -0
  287. package/dist/components/button.component.js +119 -0
  288. package/dist/components/counter.component.js +41 -0
  289. package/dist/components/divider.component.js +33 -0
  290. package/dist/components/dropdown-menu-container.component.js +29 -0
  291. package/dist/components/dropdown.component.js +170 -0
  292. package/dist/components/helper.component.js +42 -0
  293. package/dist/components/icon.component.js +1044 -0
  294. package/dist/components/index.d.ts +42 -1
  295. package/dist/components/index.js +41 -0
  296. package/dist/components/loader.component.js +75 -0
  297. package/dist/components/modal-backdrop.component.js +30 -0
  298. package/dist/components/modal-body.component.js +36 -0
  299. package/dist/components/modal-container.component.js +48 -0
  300. package/dist/components/modal-footer.component.js +42 -0
  301. package/dist/components/modal-header.component.js +43 -0
  302. package/dist/components/p-accordion.d.ts +11 -0
  303. package/dist/components/p-accordion.js +73 -0
  304. package/dist/components/p-avatar-group.d.ts +11 -0
  305. package/dist/components/p-avatar-group.js +34 -0
  306. package/dist/components/p-avatar.d.ts +11 -0
  307. package/dist/components/p-avatar.js +6 -0
  308. package/dist/components/p-button.js +1 -34
  309. package/dist/components/p-card-body.d.ts +11 -0
  310. package/dist/components/p-card-body.js +38 -0
  311. package/dist/components/p-card-container.d.ts +11 -0
  312. package/dist/components/p-card-container.js +44 -0
  313. package/dist/components/p-card-header.d.ts +11 -0
  314. package/dist/components/p-card-header.js +46 -0
  315. package/dist/components/p-content-slider.d.ts +11 -0
  316. package/dist/components/p-content-slider.js +181 -0
  317. package/dist/components/p-counter.d.ts +11 -0
  318. package/dist/components/p-counter.js +6 -0
  319. package/dist/components/p-divider.d.ts +11 -0
  320. package/dist/components/p-divider.js +6 -0
  321. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  322. package/dist/components/p-dropdown-menu-container.js +6 -0
  323. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  324. package/dist/components/p-dropdown-menu-item.js +46 -0
  325. package/dist/components/p-dropdown.d.ts +11 -0
  326. package/dist/components/p-dropdown.js +6 -0
  327. package/dist/components/p-helper.d.ts +11 -0
  328. package/dist/components/p-helper.js +6 -0
  329. package/dist/components/p-icon.d.ts +11 -0
  330. package/dist/components/p-icon.js +6 -0
  331. package/dist/components/p-illustration.d.ts +11 -0
  332. package/dist/components/p-illustration.js +1440 -0
  333. package/dist/components/p-info-panel.d.ts +11 -0
  334. package/dist/components/p-info-panel.js +56 -0
  335. package/dist/components/p-input-group.d.ts +11 -0
  336. package/dist/components/p-input-group.js +96 -0
  337. package/dist/components/p-layout.d.ts +11 -0
  338. package/dist/components/p-layout.js +39 -0
  339. package/dist/components/p-loader.d.ts +11 -0
  340. package/dist/components/p-loader.js +6 -0
  341. package/dist/components/p-modal-backdrop.d.ts +11 -0
  342. package/dist/components/p-modal-backdrop.js +6 -0
  343. package/dist/components/p-modal-body.d.ts +11 -0
  344. package/dist/components/p-modal-body.js +6 -0
  345. package/dist/components/p-modal-container.d.ts +11 -0
  346. package/dist/components/p-modal-container.js +6 -0
  347. package/dist/components/p-modal-footer.d.ts +11 -0
  348. package/dist/components/p-modal-footer.js +6 -0
  349. package/dist/components/p-modal-header.d.ts +11 -0
  350. package/dist/components/p-modal-header.js +6 -0
  351. package/dist/components/p-modal.d.ts +11 -0
  352. package/dist/components/p-modal.js +111 -0
  353. package/dist/components/p-navbar.d.ts +11 -0
  354. package/dist/components/p-navbar.js +70 -0
  355. package/dist/components/p-navigation-item.d.ts +11 -0
  356. package/dist/components/p-navigation-item.js +55 -0
  357. package/dist/components/p-pagination-item.d.ts +11 -0
  358. package/dist/components/p-pagination-item.js +6 -0
  359. package/dist/components/p-pagination.d.ts +11 -0
  360. package/dist/components/p-pagination.js +200 -0
  361. package/dist/components/p-profile.d.ts +11 -0
  362. package/dist/components/p-profile.js +88 -0
  363. package/dist/components/p-segment-container.d.ts +11 -0
  364. package/dist/components/p-segment-container.js +32 -0
  365. package/dist/components/p-segment-item.d.ts +11 -0
  366. package/dist/components/p-segment-item.js +54 -0
  367. package/dist/components/p-slider-indicator.d.ts +11 -0
  368. package/dist/components/p-slider-indicator.js +6 -0
  369. package/dist/components/p-status.d.ts +11 -0
  370. package/dist/components/p-status.js +73 -0
  371. package/dist/components/p-stepper-item.d.ts +11 -0
  372. package/dist/components/p-stepper-item.js +6 -0
  373. package/dist/components/p-stepper-line.d.ts +11 -0
  374. package/dist/components/p-stepper-line.js +6 -0
  375. package/dist/components/p-stepper.d.ts +11 -0
  376. package/dist/components/p-stepper.js +106 -0
  377. package/dist/components/p-tab-group.d.ts +11 -0
  378. package/dist/components/p-tab-group.js +39 -0
  379. package/dist/components/p-tab-item.d.ts +11 -0
  380. package/dist/components/p-tab-item.js +39 -0
  381. package/dist/components/p-tag.d.ts +11 -0
  382. package/dist/components/p-tag.js +44 -0
  383. package/dist/components/p-tooltip.d.ts +11 -0
  384. package/dist/components/p-tooltip.js +6 -0
  385. package/dist/components/pagination-item.component.js +36 -0
  386. package/dist/components/popper.js +1788 -0
  387. package/dist/components/slider-indicator.component.js +36 -0
  388. package/dist/components/stepper-item.component.js +57 -0
  389. package/dist/components/stepper-line.component.js +41 -0
  390. package/dist/components/tooltip.component.js +161 -0
  391. package/dist/esm/{index-100a5ae6.js → index-9062156b.js} +842 -21
  392. package/dist/esm/loader.js +3 -3
  393. package/dist/esm/p-accordion.entry.js +38 -0
  394. package/dist/esm/p-avatar-group.entry.js +15 -0
  395. package/dist/esm/p-avatar_2.entry.js +174 -0
  396. package/dist/esm/p-button_3.entry.js +1151 -0
  397. package/dist/esm/p-card-body.entry.js +19 -0
  398. package/dist/esm/p-card-container.entry.js +23 -0
  399. package/dist/esm/p-card-header.entry.js +20 -0
  400. package/dist/esm/p-content-slider.entry.js +149 -0
  401. package/dist/esm/p-counter.entry.js +23 -0
  402. package/dist/esm/p-divider.entry.js +18 -0
  403. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  404. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  405. package/dist/esm/p-helper.entry.js +19 -0
  406. package/dist/esm/p-illustration.entry.js +1422 -0
  407. package/dist/esm/p-info-panel.entry.js +27 -0
  408. package/dist/esm/p-input-group.entry.js +47 -0
  409. package/dist/esm/p-layout.entry.js +19 -0
  410. package/dist/esm/p-modal-backdrop_5.entry.js +93 -0
  411. package/dist/esm/p-modal.entry.js +44 -0
  412. package/dist/esm/p-navbar.entry.js +30 -0
  413. package/dist/esm/p-navigation-item.entry.js +19 -0
  414. package/dist/esm/p-pagination-item.entry.js +19 -0
  415. package/dist/esm/p-pagination.entry.js +167 -0
  416. package/dist/esm/p-profile.entry.js +42 -0
  417. package/dist/esm/p-segment-container.entry.js +15 -0
  418. package/dist/esm/p-segment-item.entry.js +25 -0
  419. package/dist/esm/p-slider-indicator.entry.js +19 -0
  420. package/dist/esm/p-status.entry.js +45 -0
  421. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  422. package/dist/esm/p-stepper.entry.js +67 -0
  423. package/dist/esm/p-tab-group.entry.js +15 -0
  424. package/dist/esm/p-tab-item.entry.js +19 -0
  425. package/dist/esm/p-tag.entry.js +23 -0
  426. package/dist/esm/p-tooltip.entry.js +139 -0
  427. package/dist/esm/paperless.js +3 -3
  428. package/dist/esm/polyfills/core-js.js +0 -0
  429. package/dist/esm/polyfills/dom.js +0 -0
  430. package/dist/esm/polyfills/es5-html-element.js +0 -0
  431. package/dist/esm/polyfills/index.js +0 -0
  432. package/dist/esm/polyfills/system.js +0 -0
  433. package/dist/esm/popper-41c6f9cd.js +1788 -0
  434. package/dist/index.html +1 -1
  435. package/dist/paperless/p-113baa35.entry.js +1 -0
  436. package/dist/paperless/p-19c20c8e.entry.js +1 -0
  437. package/dist/paperless/p-1ef22f4e.entry.js +1 -0
  438. package/dist/paperless/p-2672f14b.entry.js +1 -0
  439. package/dist/paperless/p-2beaf0e8.entry.js +1 -0
  440. package/dist/paperless/p-4336cbbc.entry.js +1 -0
  441. package/dist/paperless/p-58ce5668.entry.js +1 -0
  442. package/dist/paperless/p-6088647a.entry.js +1 -0
  443. package/dist/paperless/p-6835a9e3.entry.js +1 -0
  444. package/dist/paperless/p-6e778574.entry.js +1 -0
  445. package/dist/paperless/p-79d3258f.entry.js +1 -0
  446. package/dist/paperless/p-801d05b6.entry.js +1 -0
  447. package/dist/paperless/p-829c4101.entry.js +1 -0
  448. package/dist/paperless/p-89fda3a8.entry.js +1 -0
  449. package/dist/paperless/p-8ac8a69d.entry.js +1 -0
  450. package/dist/paperless/p-8b743795.entry.js +1 -0
  451. package/dist/paperless/p-92b6c76c.entry.js +1 -0
  452. package/dist/paperless/p-938f52ee.entry.js +1 -0
  453. package/dist/paperless/p-985ee694.entry.js +1 -0
  454. package/dist/paperless/p-9d98d0d9.entry.js +1 -0
  455. package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
  456. package/dist/paperless/p-a6127c75.entry.js +1 -0
  457. package/dist/paperless/p-a7086ffa.js +1 -0
  458. package/dist/paperless/p-bc7e8cc4.js +2 -0
  459. package/dist/paperless/p-bd50db3d.entry.js +1 -0
  460. package/dist/paperless/p-c27046e6.entry.js +1 -0
  461. package/dist/paperless/p-c59d9fc2.entry.js +1 -0
  462. package/dist/paperless/p-cc177072.entry.js +1 -0
  463. package/dist/paperless/p-cece7715.entry.js +1 -0
  464. package/dist/paperless/p-d32f2578.entry.js +1 -0
  465. package/dist/paperless/p-e20a1842.entry.js +1 -0
  466. package/dist/paperless/p-e2a98d53.entry.js +1 -0
  467. package/dist/paperless/p-e934ef94.entry.js +1 -0
  468. package/dist/paperless/p-e9e20ac3.entry.js +1 -0
  469. package/dist/paperless/p-ec2a5f95.entry.js +1 -0
  470. package/dist/paperless/p-ede5e914.entry.js +1 -0
  471. package/dist/paperless/paperless.css +290 -22746
  472. package/dist/paperless/paperless.esm.js +1 -1
  473. package/dist/sw.js +2 -169
  474. package/dist/sw.js.map +1 -0
  475. package/dist/tailwind/animation.js +17 -0
  476. package/dist/tailwind/backdrop-blur.js +3 -0
  477. package/dist/tailwind/border-radius.js +10 -0
  478. package/dist/tailwind/colors.js +52 -0
  479. package/dist/tailwind/rotate.js +8 -0
  480. package/dist/tailwind/scale.js +3 -0
  481. package/dist/tailwind/screens.js +8 -0
  482. package/dist/tailwind/shadows.js +11 -0
  483. package/dist/tailwind/spacing.js +10 -0
  484. package/dist/tailwind/typography.js +21 -0
  485. package/dist/tailwind/width.js +18 -0
  486. package/dist/tailwind/z-index.js +3 -0
  487. package/dist/tailwind.config.js +28 -12
  488. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  489. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  490. package/dist/types/components/atoms/button/button.component.d.ts +68 -0
  491. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  492. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  493. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  494. package/dist/types/components/atoms/counter/counter.component.d.ts +11 -0
  495. package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
  496. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  497. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -0
  498. package/dist/types/components/atoms/helper/helper.component.d.ts +8 -0
  499. package/dist/types/components/atoms/icon/icon.component.d.ts +23 -0
  500. package/dist/types/components/atoms/illustration/illustration.component.d.ts +9 -0
  501. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  502. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  503. package/dist/types/components/atoms/loader/loader.component.d.ts +30 -0
  504. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  505. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  506. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  507. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +7 -0
  508. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  509. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  510. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  511. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  512. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  513. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  514. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  515. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  516. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  517. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  518. package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
  519. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +49 -0
  520. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  521. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
  522. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
  523. package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
  524. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  525. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  526. package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
  527. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  528. package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
  529. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  530. package/dist/types/components.d.ts +1526 -16
  531. package/dist/types/utils/child-of.d.ts +1 -0
  532. package/dist/types/utils/icons.d.ts +52 -0
  533. package/dist/types/utils/illustrations.d.ts +12 -0
  534. package/dist/types/utils/types.d.ts +2 -0
  535. package/dist/workbox-5fe694da.js +2 -0
  536. package/dist/workbox-5fe694da.js.map +1 -0
  537. package/package.json +61 -58
  538. package/dist/build/p-54459ae1.js +0 -2
  539. package/dist/build/p-e61ff856.entry.js +0 -1
  540. package/dist/cjs/p-button.cjs.entry.js +0 -23
  541. package/dist/collection/components/button/button.component.css +0 -6
  542. package/dist/esm/p-button.entry.js +0 -19
  543. package/dist/paperless/p-54459ae1.js +0 -2
  544. package/dist/paperless/p-e61ff856.entry.js +0 -1
  545. package/dist/types/components/button/button.component.d.ts +0 -7
@@ -5,41 +5,1551 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { IconFlipOptions, IconVariant } from "./components/atoms/icon/icon.component";
9
+ import { RotateOptions, TextSizeOptions } from "./utils/types";
10
+ import { Placement, PositioningStrategy } from "@popperjs/core";
11
+ import { IconFlipOptions as IconFlipOptions1, IconVariant as IconVariant1 } from "./components/atoms/icon/icon.component";
12
+ import { IllustrationVariant } from "./components/atoms/illustration/illustration.component";
13
+ import { Observable } from "rxjs";
8
14
  export namespace Components {
9
- interface PButton {
15
+ interface PAccordion {
16
+ /**
17
+ * Wether the accordion can be closed
18
+ */
19
+ "closeable": boolean;
20
+ /**
21
+ * Header of the accordion
22
+ */
23
+ "header": string;
24
+ /**
25
+ * Wether the accordion is open
26
+ */
27
+ "open": boolean;
10
28
  /**
11
- * The name
29
+ * Wether the accordion can be opened
12
30
  */
13
- "variant": 'primary' | 'secondary';
31
+ "openable": boolean;
14
32
  }
15
- }
16
- declare global {
17
- interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
33
+ interface PAvatar {
34
+ /**
35
+ * The default image to show on errors
36
+ */
37
+ "defaultImage": string;
38
+ /**
39
+ * The size of the avatar
40
+ */
41
+ "size": 'small' | 'medium' | 'large';
42
+ /**
43
+ * The image used for the avatar
44
+ */
45
+ "src": string;
46
+ /**
47
+ * The variant of the avatar
48
+ */
49
+ "variant": 'user' | 'company';
18
50
  }
19
- var HTMLPButtonElement: {
20
- prototype: HTMLPButtonElement;
21
- new (): HTMLPButtonElement;
22
- };
23
- interface HTMLElementTagNameMap {
24
- "p-button": HTMLPButtonElement;
51
+ interface PAvatarGroup {
52
+ /**
53
+ * The amount to show after the avatars
54
+ */
55
+ "extra": number;
25
56
  }
26
- }
27
- declare namespace LocalJSX {
28
57
  interface PButton {
29
58
  /**
30
- * The name
59
+ * Wether to show a chevron or not
60
+ */
61
+ "chevron": boolean | 'up' | 'down';
62
+ /**
63
+ * Wether the button is disabled
64
+ */
65
+ "disabled": boolean;
66
+ /**
67
+ * Href in case of "text" version
68
+ */
69
+ "href": string;
70
+ /**
71
+ * Icon to show on the button
72
+ */
73
+ "icon": IconVariant;
74
+ /**
75
+ * Icon flip
76
+ */
77
+ "iconFlip": IconFlipOptions;
78
+ /**
79
+ * Wether the button is icon only
80
+ */
81
+ "iconOnly": boolean;
82
+ /**
83
+ * Icon position
84
+ */
85
+ "iconPosition": 'start' | 'end';
86
+ /**
87
+ * Icon rotate
88
+ */
89
+ "iconRotate": RotateOptions;
90
+ /**
91
+ * Wether the button should inherit text styles
92
+ */
93
+ "inheritText": boolean;
94
+ /**
95
+ * Wether to show a loader or not
96
+ */
97
+ "loading": boolean;
98
+ /**
99
+ * The size of the button
100
+ */
101
+ "size": 'small' | 'medium';
102
+ /**
103
+ * Target in case of "text" version
104
+ */
105
+ "target": string;
106
+ /**
107
+ * The variant of the button
108
+ */
109
+ "variant": 'primary' | 'secondary' | 'text';
110
+ /**
111
+ * The width of the button
112
+ */
113
+ "width": 'auto' | 'full';
114
+ }
115
+ interface PCardBody {
116
+ /**
117
+ * Wether the button should inherit text styles
118
+ */
119
+ "inheritText": boolean;
120
+ }
121
+ interface PCardContainer {
122
+ /**
123
+ * Wether the card should be hoverable
124
+ */
125
+ "hoverable": boolean;
126
+ /**
127
+ * Wether the card should have shadow
128
+ */
129
+ "shadow": boolean;
130
+ }
131
+ interface PCardHeader {
132
+ /**
133
+ * Enable the title arrow
134
+ */
135
+ "arrow": boolean;
136
+ /**
137
+ * Content of the card header
138
+ */
139
+ "header": string;
140
+ }
141
+ interface PContentSlider {
142
+ /**
143
+ * Wether to disable dragging the content
144
+ */
145
+ "disableDrag": boolean;
146
+ /**
147
+ * Wether to disable clicking the indicator scrolls content
148
+ */
149
+ "disableIndicatorClick": boolean;
150
+ /**
151
+ * Wether to hide the indicator on mobile
152
+ */
153
+ "hideMobileIndicator": boolean;
154
+ }
155
+ interface PCounter {
156
+ /**
157
+ * The size of the counter
158
+ */
159
+ "size": 'default' | 'mini';
160
+ /**
161
+ * The variant of the counter
162
+ */
163
+ "variant": 'info' | 'negative' | 'positive' | 'unbiased';
164
+ }
165
+ interface PDivider {
166
+ }
167
+ interface PDropdown {
168
+ /**
169
+ * Wether to automatically close the dropdown menu after clicking inside
170
+ */
171
+ "disableTriggerClick": boolean;
172
+ /**
173
+ * Wether to automatically close the dropdown menu after clicking inside
174
+ */
175
+ "insideClick": boolean;
176
+ /**
177
+ * The content of the dropdown menu
178
+ */
179
+ "placement": Placement;
180
+ /**
181
+ * Wether to show the dropdown menu
182
+ */
183
+ "show": boolean;
184
+ /**
185
+ * The strategy of the popover placement
186
+ */
187
+ "strategy": PositioningStrategy;
188
+ }
189
+ interface PDropdownMenuContainer {
190
+ }
191
+ interface PDropdownMenuItem {
192
+ /**
193
+ * Wether the dropdown menu item is active
194
+ */
195
+ "active": boolean;
196
+ /**
197
+ * Icon of the navigation item
198
+ */
199
+ "icon": IconVariant;
200
+ }
201
+ interface PHelper {
202
+ /**
203
+ * The placement of the helper popover
204
+ */
205
+ "placement": Placement;
206
+ }
207
+ interface PIcon {
208
+ /**
209
+ * Wether to flip the icon horizontally or vertically
210
+ */
211
+ "flip": IconFlipOptions;
212
+ /**
213
+ * Wether to rotate the icon x degrees
214
+ */
215
+ "rotate": RotateOptions;
216
+ /**
217
+ * The size of the icon, using tailwind sizes
218
+ */
219
+ "size": TextSizeOptions;
220
+ /**
221
+ * The icon the be displayed
222
+ */
223
+ "variant": IconVariant;
224
+ }
225
+ interface PIllustration {
226
+ /**
227
+ * The icon the be displayed
228
+ */
229
+ "variant": IllustrationVariant;
230
+ }
231
+ interface PInfoPanel {
232
+ /**
233
+ * Wether the panel can be closed
234
+ */
235
+ "closeable": boolean;
236
+ /**
237
+ * The content of the info panel
238
+ */
239
+ "content": string;
240
+ /**
241
+ * The header of the info panel
242
+ */
243
+ "header": string;
244
+ /**
245
+ * The variant of the info panel
246
+ */
247
+ "variant": 'info' | 'negative' | 'positive' | 'unbiased';
248
+ }
249
+ interface PInputGroup {
250
+ /**
251
+ * Wether the input group is disabled
252
+ */
253
+ "disabled": boolean;
254
+ /**
255
+ * The helper of the input group
256
+ */
257
+ "error": string;
258
+ /**
259
+ * Wether the input group is focused
260
+ */
261
+ "focused": boolean;
262
+ /**
263
+ * The helper of the input group
264
+ */
265
+ "helper": string;
266
+ /**
267
+ * Icon of the navigation item
268
+ */
269
+ "icon": IconVariant;
270
+ /**
271
+ * Icon flip
272
+ */
273
+ "iconFlip": IconFlipOptions;
274
+ /**
275
+ * Icon rotate
276
+ */
277
+ "iconRotate": RotateOptions;
278
+ /**
279
+ * The label of the input group
280
+ */
281
+ "label": string;
282
+ /**
283
+ * The prefix of the input group
284
+ */
285
+ "prefix": string;
286
+ /**
287
+ * The suffix of the input group
288
+ */
289
+ "suffix": string;
290
+ }
291
+ interface PLayout {
292
+ /**
293
+ * Variant of the layout
294
+ */
295
+ "variant": 'default' | 'login';
296
+ }
297
+ interface PLoader {
298
+ /**
299
+ * Color of the loader
300
+ */
301
+ "color": 'indigo' | 'white' | 'storm';
302
+ /**
303
+ * !NOT IMPLEMENTED! Modal description for modal variant
304
+ */
305
+ "modalDescription": string;
306
+ /**
307
+ * !NOT IMPLEMENTED! Modal title for modal variant
308
+ */
309
+ "modalTitle": string;
310
+ /**
311
+ * Wether to show or hide the loader
312
+ */
313
+ "show": boolean | Observable<boolean>;
314
+ /**
315
+ * Variant of loader
316
+ */
317
+ "variant": 'inline' | 'full-width' | 'full-screen' | 'modal';
318
+ }
319
+ interface PModal {
320
+ /**
321
+ * The Header of the modal
322
+ */
323
+ "header": string;
324
+ /**
325
+ * Wether to show the modal or not
326
+ */
327
+ "show": boolean;
328
+ /**
329
+ * Wether to show the close on mobile in the header
330
+ */
331
+ "showMobileClose": boolean;
332
+ /**
333
+ * Wether to show the footer on mobile
334
+ */
335
+ "showMobileFooter": boolean;
336
+ /**
337
+ * The size of the modal container
338
+ */
339
+ "size": 'sm' | 'md' | 'lg' | 'xl';
340
+ /**
341
+ * The variant of the modal body
342
+ */
343
+ "variant": 'default' | 'table';
344
+ }
345
+ interface PModalBackdrop {
346
+ }
347
+ interface PModalBody {
348
+ /**
349
+ * The variant of the modal body
350
+ */
351
+ "variant": 'default' | 'table';
352
+ }
353
+ interface PModalContainer {
354
+ /**
355
+ * The size of the modal container
356
+ */
357
+ "size": 'sm' | 'md' | 'lg' | 'xl';
358
+ }
359
+ interface PModalFooter {
360
+ /**
361
+ * Wether to show the footer on mobile
362
+ */
363
+ "hideOnMobile": boolean;
364
+ }
365
+ interface PModalHeader {
366
+ /**
367
+ * Wether to show the close button on mobile
368
+ */
369
+ "showMobileClose": boolean;
370
+ }
371
+ interface PNavbar {
372
+ /**
373
+ * The text to display for the close button
374
+ */
375
+ "closeText": string;
376
+ /**
377
+ * The text to display for the menu button & sidebar title
378
+ */
379
+ "menuText": string;
380
+ }
381
+ interface PNavigationItem {
382
+ /**
383
+ * Wether the navigation item is active
384
+ */
385
+ "active": boolean;
386
+ /**
387
+ * Icon of the navigation item
388
+ */
389
+ "counter": number | string;
390
+ /**
391
+ * The href of the navigation item
392
+ */
393
+ "href": string;
394
+ /**
395
+ * Icon of the navigation item
396
+ */
397
+ "icon": IconVariant;
398
+ /**
399
+ * The target of the navigation item
400
+ */
401
+ "target": string;
402
+ }
403
+ interface PPagination {
404
+ /**
405
+ * The current page
406
+ */
407
+ "page": number;
408
+ /**
409
+ * The amount of items per page
410
+ */
411
+ "pageSize": number;
412
+ /**
413
+ * The total amount of items
414
+ */
415
+ "total": number;
416
+ }
417
+ interface PPaginationItem {
418
+ /**
419
+ * Wether the pagination item is active
420
+ */
421
+ "active": boolean;
422
+ }
423
+ interface PProfile {
424
+ /**
425
+ * The size of the profile avatar
426
+ */
427
+ "size": 'small' | 'medium' | 'large';
428
+ /**
429
+ * The variant of the profile
430
+ */
431
+ "variant": 'company' | 'user';
432
+ }
433
+ interface PSegmentContainer {
434
+ }
435
+ interface PSegmentItem {
436
+ /**
437
+ * Wether the segment item is active
438
+ */
439
+ "active": boolean;
440
+ /**
441
+ * Icon to show on the segment item
442
+ */
443
+ "icon": IconVariant;
444
+ /**
445
+ * Icon flip
446
+ */
447
+ "iconFlip": IconFlipOptions;
448
+ /**
449
+ * Icon rotate
450
+ */
451
+ "iconRotate": RotateOptions;
452
+ }
453
+ interface PSliderIndicator {
454
+ /**
455
+ * Wether the slider indicator is active
456
+ */
457
+ "active": boolean;
458
+ }
459
+ interface PStatus {
460
+ /**
461
+ * Icon to show on the status
462
+ */
463
+ "icon": IconVariant;
464
+ /**
465
+ * Icon flip
466
+ */
467
+ "iconFlip": IconFlipOptions;
468
+ /**
469
+ * Icon rotate
470
+ */
471
+ "iconRotate": RotateOptions;
472
+ /**
473
+ * The variant of the status
474
+ */
475
+ "variant": 'default' | 'positive' | 'unbiased' | 'negative';
476
+ }
477
+ interface PStepper {
478
+ /**
479
+ * The currently active step
480
+ */
481
+ "activeStep": number;
482
+ /**
483
+ * The direction of the stepper
484
+ */
485
+ "direction": 'horizontal' | 'vertical';
486
+ }
487
+ interface PStepperItem {
488
+ /**
489
+ * Wether the step is active
490
+ */
491
+ "active": boolean;
492
+ /**
493
+ * The alignment of the step content
494
+ */
495
+ "align": 'start' | 'center' | 'end';
496
+ /**
497
+ * The direction of the stepper step
498
+ */
499
+ "direction": 'horizontal' | 'vertical';
500
+ /**
501
+ * Wether the step is finished
502
+ */
503
+ "finished": boolean;
504
+ }
505
+ interface PStepperLine {
506
+ /**
507
+ * Wether the line is active
508
+ */
509
+ "active": boolean;
510
+ /**
511
+ * The direction of the stepper line
512
+ */
513
+ "direction": 'horizontal' | 'vertical';
514
+ }
515
+ interface PTabGroup {
516
+ }
517
+ interface PTabItem {
518
+ /**
519
+ * Wether the tab item is active
520
+ */
521
+ "active": boolean;
522
+ }
523
+ interface PTag {
524
+ /**
525
+ * Wether to add the circle or not
526
+ */
527
+ "circle": boolean;
528
+ /**
529
+ * Variant of the tag
530
+ */
531
+ "variant": | 'positive'
532
+ | 'unbiased'
533
+ | 'negative'
534
+ | 'info';
535
+ }
536
+ interface PTooltip {
537
+ /**
538
+ * Wether to someone can manually close the popover
539
+ */
540
+ "canManuallyClose": boolean;
541
+ /**
542
+ * The placement of the popover
543
+ */
544
+ "placement": Placement;
545
+ /**
546
+ * The content of the popover
547
+ */
548
+ "popover": any;
549
+ /**
550
+ * Wether to show the popover
551
+ */
552
+ "show": boolean;
553
+ /**
554
+ * The strategy of the popover placement
555
+ */
556
+ "strategy": PositioningStrategy;
557
+ /**
558
+ * The variant of the popover
559
+ */
560
+ "variant": 'hover' | 'click' | 'error';
561
+ }
562
+ }
563
+ export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
564
+ detail: T;
565
+ target: HTMLPAccordionElement;
566
+ }
567
+ export interface PButtonCustomEvent<T> extends CustomEvent<T> {
568
+ detail: T;
569
+ target: HTMLPButtonElement;
570
+ }
571
+ export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
572
+ detail: T;
573
+ target: HTMLPDropdownElement;
574
+ }
575
+ export interface PModalCustomEvent<T> extends CustomEvent<T> {
576
+ detail: T;
577
+ target: HTMLPModalElement;
578
+ }
579
+ export interface PModalHeaderCustomEvent<T> extends CustomEvent<T> {
580
+ detail: T;
581
+ target: HTMLPModalHeaderElement;
582
+ }
583
+ export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
584
+ detail: T;
585
+ target: HTMLPPaginationElement;
586
+ }
587
+ export interface PTooltipCustomEvent<T> extends CustomEvent<T> {
588
+ detail: T;
589
+ target: HTMLPTooltipElement;
590
+ }
591
+ declare global {
592
+ interface HTMLPAccordionElement extends Components.PAccordion, HTMLStencilElement {
593
+ }
594
+ var HTMLPAccordionElement: {
595
+ prototype: HTMLPAccordionElement;
596
+ new (): HTMLPAccordionElement;
597
+ };
598
+ interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
599
+ }
600
+ var HTMLPAvatarElement: {
601
+ prototype: HTMLPAvatarElement;
602
+ new (): HTMLPAvatarElement;
603
+ };
604
+ interface HTMLPAvatarGroupElement extends Components.PAvatarGroup, HTMLStencilElement {
605
+ }
606
+ var HTMLPAvatarGroupElement: {
607
+ prototype: HTMLPAvatarGroupElement;
608
+ new (): HTMLPAvatarGroupElement;
609
+ };
610
+ interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
611
+ }
612
+ var HTMLPButtonElement: {
613
+ prototype: HTMLPButtonElement;
614
+ new (): HTMLPButtonElement;
615
+ };
616
+ interface HTMLPCardBodyElement extends Components.PCardBody, HTMLStencilElement {
617
+ }
618
+ var HTMLPCardBodyElement: {
619
+ prototype: HTMLPCardBodyElement;
620
+ new (): HTMLPCardBodyElement;
621
+ };
622
+ interface HTMLPCardContainerElement extends Components.PCardContainer, HTMLStencilElement {
623
+ }
624
+ var HTMLPCardContainerElement: {
625
+ prototype: HTMLPCardContainerElement;
626
+ new (): HTMLPCardContainerElement;
627
+ };
628
+ interface HTMLPCardHeaderElement extends Components.PCardHeader, HTMLStencilElement {
629
+ }
630
+ var HTMLPCardHeaderElement: {
631
+ prototype: HTMLPCardHeaderElement;
632
+ new (): HTMLPCardHeaderElement;
633
+ };
634
+ interface HTMLPContentSliderElement extends Components.PContentSlider, HTMLStencilElement {
635
+ }
636
+ var HTMLPContentSliderElement: {
637
+ prototype: HTMLPContentSliderElement;
638
+ new (): HTMLPContentSliderElement;
639
+ };
640
+ interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
641
+ }
642
+ var HTMLPCounterElement: {
643
+ prototype: HTMLPCounterElement;
644
+ new (): HTMLPCounterElement;
645
+ };
646
+ interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
647
+ }
648
+ var HTMLPDividerElement: {
649
+ prototype: HTMLPDividerElement;
650
+ new (): HTMLPDividerElement;
651
+ };
652
+ interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
653
+ }
654
+ var HTMLPDropdownElement: {
655
+ prototype: HTMLPDropdownElement;
656
+ new (): HTMLPDropdownElement;
657
+ };
658
+ interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
659
+ }
660
+ var HTMLPDropdownMenuContainerElement: {
661
+ prototype: HTMLPDropdownMenuContainerElement;
662
+ new (): HTMLPDropdownMenuContainerElement;
663
+ };
664
+ interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
665
+ }
666
+ var HTMLPDropdownMenuItemElement: {
667
+ prototype: HTMLPDropdownMenuItemElement;
668
+ new (): HTMLPDropdownMenuItemElement;
669
+ };
670
+ interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
671
+ }
672
+ var HTMLPHelperElement: {
673
+ prototype: HTMLPHelperElement;
674
+ new (): HTMLPHelperElement;
675
+ };
676
+ interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
677
+ }
678
+ var HTMLPIconElement: {
679
+ prototype: HTMLPIconElement;
680
+ new (): HTMLPIconElement;
681
+ };
682
+ interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
683
+ }
684
+ var HTMLPIllustrationElement: {
685
+ prototype: HTMLPIllustrationElement;
686
+ new (): HTMLPIllustrationElement;
687
+ };
688
+ interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
689
+ }
690
+ var HTMLPInfoPanelElement: {
691
+ prototype: HTMLPInfoPanelElement;
692
+ new (): HTMLPInfoPanelElement;
693
+ };
694
+ interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
695
+ }
696
+ var HTMLPInputGroupElement: {
697
+ prototype: HTMLPInputGroupElement;
698
+ new (): HTMLPInputGroupElement;
699
+ };
700
+ interface HTMLPLayoutElement extends Components.PLayout, HTMLStencilElement {
701
+ }
702
+ var HTMLPLayoutElement: {
703
+ prototype: HTMLPLayoutElement;
704
+ new (): HTMLPLayoutElement;
705
+ };
706
+ interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
707
+ }
708
+ var HTMLPLoaderElement: {
709
+ prototype: HTMLPLoaderElement;
710
+ new (): HTMLPLoaderElement;
711
+ };
712
+ interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
713
+ }
714
+ var HTMLPModalElement: {
715
+ prototype: HTMLPModalElement;
716
+ new (): HTMLPModalElement;
717
+ };
718
+ interface HTMLPModalBackdropElement extends Components.PModalBackdrop, HTMLStencilElement {
719
+ }
720
+ var HTMLPModalBackdropElement: {
721
+ prototype: HTMLPModalBackdropElement;
722
+ new (): HTMLPModalBackdropElement;
723
+ };
724
+ interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
725
+ }
726
+ var HTMLPModalBodyElement: {
727
+ prototype: HTMLPModalBodyElement;
728
+ new (): HTMLPModalBodyElement;
729
+ };
730
+ interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
731
+ }
732
+ var HTMLPModalContainerElement: {
733
+ prototype: HTMLPModalContainerElement;
734
+ new (): HTMLPModalContainerElement;
735
+ };
736
+ interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
737
+ }
738
+ var HTMLPModalFooterElement: {
739
+ prototype: HTMLPModalFooterElement;
740
+ new (): HTMLPModalFooterElement;
741
+ };
742
+ interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
743
+ }
744
+ var HTMLPModalHeaderElement: {
745
+ prototype: HTMLPModalHeaderElement;
746
+ new (): HTMLPModalHeaderElement;
747
+ };
748
+ interface HTMLPNavbarElement extends Components.PNavbar, HTMLStencilElement {
749
+ }
750
+ var HTMLPNavbarElement: {
751
+ prototype: HTMLPNavbarElement;
752
+ new (): HTMLPNavbarElement;
753
+ };
754
+ interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
755
+ }
756
+ var HTMLPNavigationItemElement: {
757
+ prototype: HTMLPNavigationItemElement;
758
+ new (): HTMLPNavigationItemElement;
759
+ };
760
+ interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
761
+ }
762
+ var HTMLPPaginationElement: {
763
+ prototype: HTMLPPaginationElement;
764
+ new (): HTMLPPaginationElement;
765
+ };
766
+ interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
767
+ }
768
+ var HTMLPPaginationItemElement: {
769
+ prototype: HTMLPPaginationItemElement;
770
+ new (): HTMLPPaginationItemElement;
771
+ };
772
+ interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
773
+ }
774
+ var HTMLPProfileElement: {
775
+ prototype: HTMLPProfileElement;
776
+ new (): HTMLPProfileElement;
777
+ };
778
+ interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
779
+ }
780
+ var HTMLPSegmentContainerElement: {
781
+ prototype: HTMLPSegmentContainerElement;
782
+ new (): HTMLPSegmentContainerElement;
783
+ };
784
+ interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
785
+ }
786
+ var HTMLPSegmentItemElement: {
787
+ prototype: HTMLPSegmentItemElement;
788
+ new (): HTMLPSegmentItemElement;
789
+ };
790
+ interface HTMLPSliderIndicatorElement extends Components.PSliderIndicator, HTMLStencilElement {
791
+ }
792
+ var HTMLPSliderIndicatorElement: {
793
+ prototype: HTMLPSliderIndicatorElement;
794
+ new (): HTMLPSliderIndicatorElement;
795
+ };
796
+ interface HTMLPStatusElement extends Components.PStatus, HTMLStencilElement {
797
+ }
798
+ var HTMLPStatusElement: {
799
+ prototype: HTMLPStatusElement;
800
+ new (): HTMLPStatusElement;
801
+ };
802
+ interface HTMLPStepperElement extends Components.PStepper, HTMLStencilElement {
803
+ }
804
+ var HTMLPStepperElement: {
805
+ prototype: HTMLPStepperElement;
806
+ new (): HTMLPStepperElement;
807
+ };
808
+ interface HTMLPStepperItemElement extends Components.PStepperItem, HTMLStencilElement {
809
+ }
810
+ var HTMLPStepperItemElement: {
811
+ prototype: HTMLPStepperItemElement;
812
+ new (): HTMLPStepperItemElement;
813
+ };
814
+ interface HTMLPStepperLineElement extends Components.PStepperLine, HTMLStencilElement {
815
+ }
816
+ var HTMLPStepperLineElement: {
817
+ prototype: HTMLPStepperLineElement;
818
+ new (): HTMLPStepperLineElement;
819
+ };
820
+ interface HTMLPTabGroupElement extends Components.PTabGroup, HTMLStencilElement {
821
+ }
822
+ var HTMLPTabGroupElement: {
823
+ prototype: HTMLPTabGroupElement;
824
+ new (): HTMLPTabGroupElement;
825
+ };
826
+ interface HTMLPTabItemElement extends Components.PTabItem, HTMLStencilElement {
827
+ }
828
+ var HTMLPTabItemElement: {
829
+ prototype: HTMLPTabItemElement;
830
+ new (): HTMLPTabItemElement;
831
+ };
832
+ interface HTMLPTagElement extends Components.PTag, HTMLStencilElement {
833
+ }
834
+ var HTMLPTagElement: {
835
+ prototype: HTMLPTagElement;
836
+ new (): HTMLPTagElement;
837
+ };
838
+ interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
839
+ }
840
+ var HTMLPTooltipElement: {
841
+ prototype: HTMLPTooltipElement;
842
+ new (): HTMLPTooltipElement;
843
+ };
844
+ interface HTMLElementTagNameMap {
845
+ "p-accordion": HTMLPAccordionElement;
846
+ "p-avatar": HTMLPAvatarElement;
847
+ "p-avatar-group": HTMLPAvatarGroupElement;
848
+ "p-button": HTMLPButtonElement;
849
+ "p-card-body": HTMLPCardBodyElement;
850
+ "p-card-container": HTMLPCardContainerElement;
851
+ "p-card-header": HTMLPCardHeaderElement;
852
+ "p-content-slider": HTMLPContentSliderElement;
853
+ "p-counter": HTMLPCounterElement;
854
+ "p-divider": HTMLPDividerElement;
855
+ "p-dropdown": HTMLPDropdownElement;
856
+ "p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
857
+ "p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
858
+ "p-helper": HTMLPHelperElement;
859
+ "p-icon": HTMLPIconElement;
860
+ "p-illustration": HTMLPIllustrationElement;
861
+ "p-info-panel": HTMLPInfoPanelElement;
862
+ "p-input-group": HTMLPInputGroupElement;
863
+ "p-layout": HTMLPLayoutElement;
864
+ "p-loader": HTMLPLoaderElement;
865
+ "p-modal": HTMLPModalElement;
866
+ "p-modal-backdrop": HTMLPModalBackdropElement;
867
+ "p-modal-body": HTMLPModalBodyElement;
868
+ "p-modal-container": HTMLPModalContainerElement;
869
+ "p-modal-footer": HTMLPModalFooterElement;
870
+ "p-modal-header": HTMLPModalHeaderElement;
871
+ "p-navbar": HTMLPNavbarElement;
872
+ "p-navigation-item": HTMLPNavigationItemElement;
873
+ "p-pagination": HTMLPPaginationElement;
874
+ "p-pagination-item": HTMLPPaginationItemElement;
875
+ "p-profile": HTMLPProfileElement;
876
+ "p-segment-container": HTMLPSegmentContainerElement;
877
+ "p-segment-item": HTMLPSegmentItemElement;
878
+ "p-slider-indicator": HTMLPSliderIndicatorElement;
879
+ "p-status": HTMLPStatusElement;
880
+ "p-stepper": HTMLPStepperElement;
881
+ "p-stepper-item": HTMLPStepperItemElement;
882
+ "p-stepper-line": HTMLPStepperLineElement;
883
+ "p-tab-group": HTMLPTabGroupElement;
884
+ "p-tab-item": HTMLPTabItemElement;
885
+ "p-tag": HTMLPTagElement;
886
+ "p-tooltip": HTMLPTooltipElement;
887
+ }
888
+ }
889
+ declare namespace LocalJSX {
890
+ interface PAccordion {
891
+ /**
892
+ * Wether the accordion can be closed
893
+ */
894
+ "closeable"?: boolean;
895
+ /**
896
+ * Header of the accordion
897
+ */
898
+ "header": string;
899
+ /**
900
+ * Open change event
901
+ */
902
+ "onIsOpen"?: (event: PAccordionCustomEvent<boolean>) => void;
903
+ /**
904
+ * Wether the accordion is open
905
+ */
906
+ "open"?: boolean;
907
+ /**
908
+ * Wether the accordion can be opened
909
+ */
910
+ "openable"?: boolean;
911
+ }
912
+ interface PAvatar {
913
+ /**
914
+ * The default image to show on errors
915
+ */
916
+ "defaultImage"?: string;
917
+ /**
918
+ * The size of the avatar
919
+ */
920
+ "size"?: 'small' | 'medium' | 'large';
921
+ /**
922
+ * The image used for the avatar
923
+ */
924
+ "src": string;
925
+ /**
926
+ * The variant of the avatar
927
+ */
928
+ "variant"?: 'user' | 'company';
929
+ }
930
+ interface PAvatarGroup {
931
+ /**
932
+ * The amount to show after the avatars
933
+ */
934
+ "extra"?: number;
935
+ }
936
+ interface PButton {
937
+ /**
938
+ * Wether to show a chevron or not
939
+ */
940
+ "chevron"?: boolean | 'up' | 'down';
941
+ /**
942
+ * Wether the button is disabled
943
+ */
944
+ "disabled"?: boolean;
945
+ /**
946
+ * Href in case of "text" version
947
+ */
948
+ "href"?: string;
949
+ /**
950
+ * Icon to show on the button
951
+ */
952
+ "icon"?: IconVariant;
953
+ /**
954
+ * Icon flip
955
+ */
956
+ "iconFlip"?: IconFlipOptions;
957
+ /**
958
+ * Wether the button is icon only
959
+ */
960
+ "iconOnly"?: boolean;
961
+ /**
962
+ * Icon position
963
+ */
964
+ "iconPosition"?: 'start' | 'end';
965
+ /**
966
+ * Icon rotate
967
+ */
968
+ "iconRotate"?: RotateOptions;
969
+ /**
970
+ * Wether the button should inherit text styles
971
+ */
972
+ "inheritText"?: boolean;
973
+ /**
974
+ * Wether to show a loader or not
975
+ */
976
+ "loading"?: boolean;
977
+ /**
978
+ * Button click event
979
+ */
980
+ "onOnClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
981
+ /**
982
+ * The size of the button
983
+ */
984
+ "size"?: 'small' | 'medium';
985
+ /**
986
+ * Target in case of "text" version
987
+ */
988
+ "target"?: string;
989
+ /**
990
+ * The variant of the button
991
+ */
992
+ "variant"?: 'primary' | 'secondary' | 'text';
993
+ /**
994
+ * The width of the button
995
+ */
996
+ "width"?: 'auto' | 'full';
997
+ }
998
+ interface PCardBody {
999
+ /**
1000
+ * Wether the button should inherit text styles
1001
+ */
1002
+ "inheritText"?: boolean;
1003
+ }
1004
+ interface PCardContainer {
1005
+ /**
1006
+ * Wether the card should be hoverable
1007
+ */
1008
+ "hoverable"?: boolean;
1009
+ /**
1010
+ * Wether the card should have shadow
1011
+ */
1012
+ "shadow"?: boolean;
1013
+ }
1014
+ interface PCardHeader {
1015
+ /**
1016
+ * Enable the title arrow
1017
+ */
1018
+ "arrow"?: boolean;
1019
+ /**
1020
+ * Content of the card header
1021
+ */
1022
+ "header"?: string;
1023
+ }
1024
+ interface PContentSlider {
1025
+ /**
1026
+ * Wether to disable dragging the content
1027
+ */
1028
+ "disableDrag"?: boolean;
1029
+ /**
1030
+ * Wether to disable clicking the indicator scrolls content
1031
+ */
1032
+ "disableIndicatorClick"?: boolean;
1033
+ /**
1034
+ * Wether to hide the indicator on mobile
1035
+ */
1036
+ "hideMobileIndicator"?: boolean;
1037
+ }
1038
+ interface PCounter {
1039
+ /**
1040
+ * The size of the counter
1041
+ */
1042
+ "size"?: 'default' | 'mini';
1043
+ /**
1044
+ * The variant of the counter
1045
+ */
1046
+ "variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
1047
+ }
1048
+ interface PDivider {
1049
+ }
1050
+ interface PDropdown {
1051
+ /**
1052
+ * Wether to automatically close the dropdown menu after clicking inside
1053
+ */
1054
+ "disableTriggerClick"?: boolean;
1055
+ /**
1056
+ * Wether to automatically close the dropdown menu after clicking inside
1057
+ */
1058
+ "insideClick"?: boolean;
1059
+ /**
1060
+ * Open change event
1061
+ */
1062
+ "onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
1063
+ /**
1064
+ * The content of the dropdown menu
1065
+ */
1066
+ "placement"?: Placement;
1067
+ /**
1068
+ * Wether to show the dropdown menu
1069
+ */
1070
+ "show"?: boolean;
1071
+ /**
1072
+ * The strategy of the popover placement
1073
+ */
1074
+ "strategy"?: PositioningStrategy;
1075
+ }
1076
+ interface PDropdownMenuContainer {
1077
+ }
1078
+ interface PDropdownMenuItem {
1079
+ /**
1080
+ * Wether the dropdown menu item is active
1081
+ */
1082
+ "active"?: boolean;
1083
+ /**
1084
+ * Icon of the navigation item
1085
+ */
1086
+ "icon"?: IconVariant;
1087
+ }
1088
+ interface PHelper {
1089
+ /**
1090
+ * The placement of the helper popover
1091
+ */
1092
+ "placement"?: Placement;
1093
+ }
1094
+ interface PIcon {
1095
+ /**
1096
+ * Wether to flip the icon horizontally or vertically
1097
+ */
1098
+ "flip"?: IconFlipOptions;
1099
+ /**
1100
+ * Wether to rotate the icon x degrees
1101
+ */
1102
+ "rotate"?: RotateOptions;
1103
+ /**
1104
+ * The size of the icon, using tailwind sizes
1105
+ */
1106
+ "size"?: TextSizeOptions;
1107
+ /**
1108
+ * The icon the be displayed
1109
+ */
1110
+ "variant": IconVariant;
1111
+ }
1112
+ interface PIllustration {
1113
+ /**
1114
+ * The icon the be displayed
1115
+ */
1116
+ "variant": IllustrationVariant;
1117
+ }
1118
+ interface PInfoPanel {
1119
+ /**
1120
+ * Wether the panel can be closed
1121
+ */
1122
+ "closeable"?: boolean;
1123
+ /**
1124
+ * The content of the info panel
1125
+ */
1126
+ "content"?: string;
1127
+ /**
1128
+ * The header of the info panel
1129
+ */
1130
+ "header"?: string;
1131
+ /**
1132
+ * The variant of the info panel
1133
+ */
1134
+ "variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
1135
+ }
1136
+ interface PInputGroup {
1137
+ /**
1138
+ * Wether the input group is disabled
1139
+ */
1140
+ "disabled"?: boolean;
1141
+ /**
1142
+ * The helper of the input group
1143
+ */
1144
+ "error"?: string;
1145
+ /**
1146
+ * Wether the input group is focused
1147
+ */
1148
+ "focused"?: boolean;
1149
+ /**
1150
+ * The helper of the input group
1151
+ */
1152
+ "helper"?: string;
1153
+ /**
1154
+ * Icon of the navigation item
1155
+ */
1156
+ "icon"?: IconVariant;
1157
+ /**
1158
+ * Icon flip
1159
+ */
1160
+ "iconFlip"?: IconFlipOptions;
1161
+ /**
1162
+ * Icon rotate
1163
+ */
1164
+ "iconRotate"?: RotateOptions;
1165
+ /**
1166
+ * The label of the input group
1167
+ */
1168
+ "label"?: string;
1169
+ /**
1170
+ * The prefix of the input group
1171
+ */
1172
+ "prefix"?: string;
1173
+ /**
1174
+ * The suffix of the input group
1175
+ */
1176
+ "suffix"?: string;
1177
+ }
1178
+ interface PLayout {
1179
+ /**
1180
+ * Variant of the layout
1181
+ */
1182
+ "variant"?: 'default' | 'login';
1183
+ }
1184
+ interface PLoader {
1185
+ /**
1186
+ * Color of the loader
1187
+ */
1188
+ "color"?: 'indigo' | 'white' | 'storm';
1189
+ /**
1190
+ * !NOT IMPLEMENTED! Modal description for modal variant
1191
+ */
1192
+ "modalDescription"?: string;
1193
+ /**
1194
+ * !NOT IMPLEMENTED! Modal title for modal variant
1195
+ */
1196
+ "modalTitle"?: string;
1197
+ /**
1198
+ * Wether to show or hide the loader
1199
+ */
1200
+ "show"?: boolean | Observable<boolean>;
1201
+ /**
1202
+ * Variant of loader
1203
+ */
1204
+ "variant"?: 'inline' | 'full-width' | 'full-screen' | 'modal';
1205
+ }
1206
+ interface PModal {
1207
+ /**
1208
+ * The Header of the modal
1209
+ */
1210
+ "header"?: string;
1211
+ /**
1212
+ * Close click event
1213
+ */
1214
+ "onClose"?: (event: PModalCustomEvent<MouseEvent>) => void;
1215
+ /**
1216
+ * Wether to show the modal or not
1217
+ */
1218
+ "show"?: boolean;
1219
+ /**
1220
+ * Wether to show the close on mobile in the header
1221
+ */
1222
+ "showMobileClose"?: boolean;
1223
+ /**
1224
+ * Wether to show the footer on mobile
1225
+ */
1226
+ "showMobileFooter"?: boolean;
1227
+ /**
1228
+ * The size of the modal container
1229
+ */
1230
+ "size"?: 'sm' | 'md' | 'lg' | 'xl';
1231
+ /**
1232
+ * The variant of the modal body
1233
+ */
1234
+ "variant"?: 'default' | 'table';
1235
+ }
1236
+ interface PModalBackdrop {
1237
+ }
1238
+ interface PModalBody {
1239
+ /**
1240
+ * The variant of the modal body
1241
+ */
1242
+ "variant"?: 'default' | 'table';
1243
+ }
1244
+ interface PModalContainer {
1245
+ /**
1246
+ * The size of the modal container
1247
+ */
1248
+ "size"?: 'sm' | 'md' | 'lg' | 'xl';
1249
+ }
1250
+ interface PModalFooter {
1251
+ /**
1252
+ * Wether to show the footer on mobile
1253
+ */
1254
+ "hideOnMobile"?: boolean;
1255
+ }
1256
+ interface PModalHeader {
1257
+ /**
1258
+ * Close click event
1259
+ */
1260
+ "onClose"?: (event: PModalHeaderCustomEvent<MouseEvent>) => void;
1261
+ /**
1262
+ * Wether to show the close button on mobile
1263
+ */
1264
+ "showMobileClose"?: boolean;
1265
+ }
1266
+ interface PNavbar {
1267
+ /**
1268
+ * The text to display for the close button
1269
+ */
1270
+ "closeText"?: string;
1271
+ /**
1272
+ * The text to display for the menu button & sidebar title
1273
+ */
1274
+ "menuText"?: string;
1275
+ }
1276
+ interface PNavigationItem {
1277
+ /**
1278
+ * Wether the navigation item is active
1279
+ */
1280
+ "active"?: boolean;
1281
+ /**
1282
+ * Icon of the navigation item
1283
+ */
1284
+ "counter"?: number | string;
1285
+ /**
1286
+ * The href of the navigation item
1287
+ */
1288
+ "href"?: string;
1289
+ /**
1290
+ * Icon of the navigation item
1291
+ */
1292
+ "icon"?: IconVariant;
1293
+ /**
1294
+ * The target of the navigation item
1295
+ */
1296
+ "target"?: string;
1297
+ }
1298
+ interface PPagination {
1299
+ "onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
1300
+ /**
1301
+ * The current page
1302
+ */
1303
+ "page"?: number;
1304
+ /**
1305
+ * The amount of items per page
1306
+ */
1307
+ "pageSize"?: number;
1308
+ /**
1309
+ * The total amount of items
1310
+ */
1311
+ "total": number;
1312
+ }
1313
+ interface PPaginationItem {
1314
+ /**
1315
+ * Wether the pagination item is active
1316
+ */
1317
+ "active"?: boolean;
1318
+ }
1319
+ interface PProfile {
1320
+ /**
1321
+ * The size of the profile avatar
1322
+ */
1323
+ "size"?: 'small' | 'medium' | 'large';
1324
+ /**
1325
+ * The variant of the profile
1326
+ */
1327
+ "variant"?: 'company' | 'user';
1328
+ }
1329
+ interface PSegmentContainer {
1330
+ }
1331
+ interface PSegmentItem {
1332
+ /**
1333
+ * Wether the segment item is active
1334
+ */
1335
+ "active"?: boolean;
1336
+ /**
1337
+ * Icon to show on the segment item
1338
+ */
1339
+ "icon"?: IconVariant;
1340
+ /**
1341
+ * Icon flip
1342
+ */
1343
+ "iconFlip"?: IconFlipOptions;
1344
+ /**
1345
+ * Icon rotate
1346
+ */
1347
+ "iconRotate"?: RotateOptions;
1348
+ }
1349
+ interface PSliderIndicator {
1350
+ /**
1351
+ * Wether the slider indicator is active
1352
+ */
1353
+ "active"?: boolean;
1354
+ }
1355
+ interface PStatus {
1356
+ /**
1357
+ * Icon to show on the status
1358
+ */
1359
+ "icon"?: IconVariant;
1360
+ /**
1361
+ * Icon flip
1362
+ */
1363
+ "iconFlip"?: IconFlipOptions;
1364
+ /**
1365
+ * Icon rotate
1366
+ */
1367
+ "iconRotate"?: RotateOptions;
1368
+ /**
1369
+ * The variant of the status
1370
+ */
1371
+ "variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
1372
+ }
1373
+ interface PStepper {
1374
+ /**
1375
+ * The currently active step
1376
+ */
1377
+ "activeStep"?: number;
1378
+ /**
1379
+ * The direction of the stepper
1380
+ */
1381
+ "direction"?: 'horizontal' | 'vertical';
1382
+ }
1383
+ interface PStepperItem {
1384
+ /**
1385
+ * Wether the step is active
1386
+ */
1387
+ "active"?: boolean;
1388
+ /**
1389
+ * The alignment of the step content
1390
+ */
1391
+ "align"?: 'start' | 'center' | 'end';
1392
+ /**
1393
+ * The direction of the stepper step
1394
+ */
1395
+ "direction"?: 'horizontal' | 'vertical';
1396
+ /**
1397
+ * Wether the step is finished
1398
+ */
1399
+ "finished"?: boolean;
1400
+ }
1401
+ interface PStepperLine {
1402
+ /**
1403
+ * Wether the line is active
1404
+ */
1405
+ "active"?: boolean;
1406
+ /**
1407
+ * The direction of the stepper line
1408
+ */
1409
+ "direction"?: 'horizontal' | 'vertical';
1410
+ }
1411
+ interface PTabGroup {
1412
+ }
1413
+ interface PTabItem {
1414
+ /**
1415
+ * Wether the tab item is active
1416
+ */
1417
+ "active"?: boolean;
1418
+ }
1419
+ interface PTag {
1420
+ /**
1421
+ * Wether to add the circle or not
1422
+ */
1423
+ "circle"?: boolean;
1424
+ /**
1425
+ * Variant of the tag
1426
+ */
1427
+ "variant"?: | 'positive'
1428
+ | 'unbiased'
1429
+ | 'negative'
1430
+ | 'info';
1431
+ }
1432
+ interface PTooltip {
1433
+ /**
1434
+ * Wether to someone can manually close the popover
1435
+ */
1436
+ "canManuallyClose"?: boolean;
1437
+ /**
1438
+ * Open change event
1439
+ */
1440
+ "onIsOpen"?: (event: PTooltipCustomEvent<boolean>) => void;
1441
+ /**
1442
+ * The placement of the popover
1443
+ */
1444
+ "placement"?: Placement;
1445
+ /**
1446
+ * The content of the popover
1447
+ */
1448
+ "popover"?: any;
1449
+ /**
1450
+ * Wether to show the popover
1451
+ */
1452
+ "show"?: boolean;
1453
+ /**
1454
+ * The strategy of the popover placement
1455
+ */
1456
+ "strategy"?: PositioningStrategy;
1457
+ /**
1458
+ * The variant of the popover
31
1459
  */
32
- "variant"?: 'primary' | 'secondary';
1460
+ "variant"?: 'hover' | 'click' | 'error';
33
1461
  }
34
1462
  interface IntrinsicElements {
1463
+ "p-accordion": PAccordion;
1464
+ "p-avatar": PAvatar;
1465
+ "p-avatar-group": PAvatarGroup;
35
1466
  "p-button": PButton;
1467
+ "p-card-body": PCardBody;
1468
+ "p-card-container": PCardContainer;
1469
+ "p-card-header": PCardHeader;
1470
+ "p-content-slider": PContentSlider;
1471
+ "p-counter": PCounter;
1472
+ "p-divider": PDivider;
1473
+ "p-dropdown": PDropdown;
1474
+ "p-dropdown-menu-container": PDropdownMenuContainer;
1475
+ "p-dropdown-menu-item": PDropdownMenuItem;
1476
+ "p-helper": PHelper;
1477
+ "p-icon": PIcon;
1478
+ "p-illustration": PIllustration;
1479
+ "p-info-panel": PInfoPanel;
1480
+ "p-input-group": PInputGroup;
1481
+ "p-layout": PLayout;
1482
+ "p-loader": PLoader;
1483
+ "p-modal": PModal;
1484
+ "p-modal-backdrop": PModalBackdrop;
1485
+ "p-modal-body": PModalBody;
1486
+ "p-modal-container": PModalContainer;
1487
+ "p-modal-footer": PModalFooter;
1488
+ "p-modal-header": PModalHeader;
1489
+ "p-navbar": PNavbar;
1490
+ "p-navigation-item": PNavigationItem;
1491
+ "p-pagination": PPagination;
1492
+ "p-pagination-item": PPaginationItem;
1493
+ "p-profile": PProfile;
1494
+ "p-segment-container": PSegmentContainer;
1495
+ "p-segment-item": PSegmentItem;
1496
+ "p-slider-indicator": PSliderIndicator;
1497
+ "p-status": PStatus;
1498
+ "p-stepper": PStepper;
1499
+ "p-stepper-item": PStepperItem;
1500
+ "p-stepper-line": PStepperLine;
1501
+ "p-tab-group": PTabGroup;
1502
+ "p-tab-item": PTabItem;
1503
+ "p-tag": PTag;
1504
+ "p-tooltip": PTooltip;
36
1505
  }
37
1506
  }
38
1507
  export { LocalJSX as JSX };
39
1508
  declare module "@stencil/core" {
40
1509
  export namespace JSX {
41
1510
  interface IntrinsicElements {
1511
+ "p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
1512
+ "p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
1513
+ "p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
42
1514
  "p-button": LocalJSX.PButton & JSXBase.HTMLAttributes<HTMLPButtonElement>;
1515
+ "p-card-body": LocalJSX.PCardBody & JSXBase.HTMLAttributes<HTMLPCardBodyElement>;
1516
+ "p-card-container": LocalJSX.PCardContainer & JSXBase.HTMLAttributes<HTMLPCardContainerElement>;
1517
+ "p-card-header": LocalJSX.PCardHeader & JSXBase.HTMLAttributes<HTMLPCardHeaderElement>;
1518
+ "p-content-slider": LocalJSX.PContentSlider & JSXBase.HTMLAttributes<HTMLPContentSliderElement>;
1519
+ "p-counter": LocalJSX.PCounter & JSXBase.HTMLAttributes<HTMLPCounterElement>;
1520
+ "p-divider": LocalJSX.PDivider & JSXBase.HTMLAttributes<HTMLPDividerElement>;
1521
+ "p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
1522
+ "p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
1523
+ "p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
1524
+ "p-helper": LocalJSX.PHelper & JSXBase.HTMLAttributes<HTMLPHelperElement>;
1525
+ "p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
1526
+ "p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
1527
+ "p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
1528
+ "p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
1529
+ "p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
1530
+ "p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
1531
+ "p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
1532
+ "p-modal-backdrop": LocalJSX.PModalBackdrop & JSXBase.HTMLAttributes<HTMLPModalBackdropElement>;
1533
+ "p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
1534
+ "p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
1535
+ "p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
1536
+ "p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
1537
+ "p-navbar": LocalJSX.PNavbar & JSXBase.HTMLAttributes<HTMLPNavbarElement>;
1538
+ "p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
1539
+ "p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
1540
+ "p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
1541
+ "p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
1542
+ "p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
1543
+ "p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
1544
+ "p-slider-indicator": LocalJSX.PSliderIndicator & JSXBase.HTMLAttributes<HTMLPSliderIndicatorElement>;
1545
+ "p-status": LocalJSX.PStatus & JSXBase.HTMLAttributes<HTMLPStatusElement>;
1546
+ "p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
1547
+ "p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
1548
+ "p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
1549
+ "p-tab-group": LocalJSX.PTabGroup & JSXBase.HTMLAttributes<HTMLPTabGroupElement>;
1550
+ "p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
1551
+ "p-tag": LocalJSX.PTag & JSXBase.HTMLAttributes<HTMLPTagElement>;
1552
+ "p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
43
1553
  }
44
1554
  }
45
1555
  }