@paperless/core 0.1.0-alpha.0 → 0.1.0-alpha.101

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 (551) hide show
  1. package/CHANGELOG.md +1033 -0
  2. package/README.md +18 -1
  3. package/dist/assets/icons/arrow.svg +1 -1
  4. package/dist/assets/icons/attachment.svg +1 -1
  5. package/dist/assets/icons/bread.svg +1 -1
  6. package/dist/assets/icons/calendar.svg +1 -1
  7. package/dist/assets/icons/car.svg +1 -1
  8. package/dist/assets/icons/checklist.svg +17 -0
  9. package/dist/assets/icons/checkmark.svg +1 -1
  10. package/dist/assets/icons/chevron.svg +1 -1
  11. package/dist/assets/icons/clock.svg +1 -1
  12. package/dist/assets/icons/cogs.svg +1 -1
  13. package/dist/assets/icons/comment.svg +1 -1
  14. package/dist/assets/icons/document.svg +1 -1
  15. package/dist/assets/icons/download.svg +1 -1
  16. package/dist/assets/icons/envelope.svg +1 -1
  17. package/dist/assets/icons/explanation.svg +1 -1
  18. package/dist/assets/icons/eye.svg +1 -1
  19. package/dist/assets/icons/filter.svg +1 -1
  20. package/dist/assets/icons/folder.svg +19 -0
  21. package/dist/assets/icons/grid.svg +1 -1
  22. package/dist/assets/icons/headset.svg +1 -1
  23. package/dist/assets/icons/integration.svg +17 -0
  24. package/dist/assets/icons/list.svg +1 -1
  25. package/dist/assets/icons/location.svg +1 -1
  26. package/dist/assets/icons/megaphone.svg +1 -1
  27. package/dist/assets/icons/menu.svg +25 -0
  28. package/dist/assets/icons/minus.svg +1 -1
  29. package/dist/assets/icons/more.svg +18 -0
  30. package/dist/assets/icons/negative.svg +1 -1
  31. package/dist/assets/icons/pagination.svg +1 -1
  32. package/dist/assets/icons/payment.svg +1 -1
  33. package/dist/assets/icons/pencil.svg +1 -1
  34. package/dist/assets/icons/person.svg +1 -1
  35. package/dist/assets/icons/plus.svg +1 -1
  36. package/dist/assets/icons/question.svg +1 -1
  37. package/dist/assets/icons/receipt.svg +1 -1
  38. package/dist/assets/icons/report.svg +1 -1
  39. package/dist/assets/icons/search.svg +1 -1
  40. package/dist/assets/icons/settings.svg +1 -1
  41. package/dist/assets/icons/sick.svg +1 -1
  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 +1 -1
  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 +1 -1
  48. package/dist/assets/icons/trash.svg +1 -1
  49. package/dist/assets/icons/turn.svg +1 -1
  50. package/dist/assets/icons/upload.svg +1 -1
  51. package/dist/assets/icons/warning.svg +1 -1
  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-05d5e3fd.entry.js +1 -0
  58. package/dist/build/p-113baa35.entry.js +1 -0
  59. package/dist/build/p-19c20c8e.entry.js +1 -0
  60. package/dist/build/p-1ef22f4e.entry.js +1 -0
  61. package/dist/build/p-2beaf0e8.entry.js +1 -0
  62. package/dist/build/p-3f6c9d44.entry.js +1 -0
  63. package/dist/build/p-4336cbbc.entry.js +1 -0
  64. package/dist/build/p-4ca40a0a.entry.js +1 -0
  65. package/dist/build/p-6088647a.entry.js +1 -0
  66. package/dist/build/p-6835a9e3.entry.js +1 -0
  67. package/dist/build/p-6e778574.entry.js +1 -0
  68. package/dist/build/p-79d3258f.entry.js +1 -0
  69. package/dist/build/p-801d05b6.entry.js +1 -0
  70. package/dist/build/p-829c4101.entry.js +1 -0
  71. package/dist/build/p-89fda3a8.entry.js +1 -0
  72. package/dist/build/p-8ac8a69d.entry.js +1 -0
  73. package/dist/{paperless/p-98d636b6.entry.js → build/p-8b743795.entry.js} +1 -1
  74. package/dist/build/p-910b5034.entry.js +1 -0
  75. package/dist/build/p-92b6c76c.entry.js +1 -0
  76. package/dist/build/p-938f52ee.entry.js +1 -0
  77. package/dist/build/p-9d98d0d9.entry.js +1 -0
  78. package/dist/build/p-a5ebbd0c.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-d32f2578.entry.js +1 -0
  86. package/dist/build/p-e20a1842.entry.js +1 -0
  87. package/dist/build/p-e2a98d53.entry.js +1 -0
  88. package/dist/build/p-e3797d1d.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 +190 -17
  94. package/dist/build/paperless.esm.js +1 -1
  95. package/dist/cjs/{index-6758a39e.js → index-9d3b51c9.js} +690 -14
  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 +14 -14
  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 +84 -1814
  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 +1 -1
  134. package/dist/collection/assets/icons/attachment.svg +1 -1
  135. package/dist/collection/assets/icons/bread.svg +1 -1
  136. package/dist/collection/assets/icons/calendar.svg +1 -1
  137. package/dist/collection/assets/icons/car.svg +1 -1
  138. package/dist/collection/assets/icons/checklist.svg +17 -0
  139. package/dist/collection/assets/icons/checkmark.svg +1 -1
  140. package/dist/collection/assets/icons/chevron.svg +1 -1
  141. package/dist/collection/assets/icons/clock.svg +1 -1
  142. package/dist/collection/assets/icons/cogs.svg +1 -1
  143. package/dist/collection/assets/icons/comment.svg +1 -1
  144. package/dist/collection/assets/icons/document.svg +1 -1
  145. package/dist/collection/assets/icons/download.svg +1 -1
  146. package/dist/collection/assets/icons/envelope.svg +1 -1
  147. package/dist/collection/assets/icons/explanation.svg +1 -1
  148. package/dist/collection/assets/icons/eye.svg +1 -1
  149. package/dist/collection/assets/icons/filter.svg +1 -1
  150. package/dist/collection/assets/icons/folder.svg +19 -0
  151. package/dist/collection/assets/icons/grid.svg +1 -1
  152. package/dist/collection/assets/icons/headset.svg +1 -1
  153. package/dist/collection/assets/icons/integration.svg +17 -0
  154. package/dist/collection/assets/icons/list.svg +1 -1
  155. package/dist/collection/assets/icons/location.svg +1 -1
  156. package/dist/collection/assets/icons/megaphone.svg +1 -1
  157. package/dist/collection/assets/icons/menu.svg +25 -0
  158. package/dist/collection/assets/icons/minus.svg +1 -1
  159. package/dist/collection/assets/icons/more.svg +18 -0
  160. package/dist/collection/assets/icons/negative.svg +1 -1
  161. package/dist/collection/assets/icons/pagination.svg +1 -1
  162. package/dist/collection/assets/icons/payment.svg +1 -1
  163. package/dist/collection/assets/icons/pencil.svg +1 -1
  164. package/dist/collection/assets/icons/person.svg +1 -1
  165. package/dist/collection/assets/icons/plus.svg +1 -1
  166. package/dist/collection/assets/icons/question.svg +1 -1
  167. package/dist/collection/assets/icons/receipt.svg +1 -1
  168. package/dist/collection/assets/icons/report.svg +1 -1
  169. package/dist/collection/assets/icons/search.svg +1 -1
  170. package/dist/collection/assets/icons/settings.svg +1 -1
  171. package/dist/collection/assets/icons/sick.svg +1 -1
  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 +1 -1
  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 +1 -1
  178. package/dist/collection/assets/icons/trash.svg +1 -1
  179. package/dist/collection/assets/icons/turn.svg +1 -1
  180. package/dist/collection/assets/icons/upload.svg +1 -1
  181. package/dist/collection/assets/icons/warning.svg +1 -1
  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 -5
  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/{illustration → atoms/illustration}/illustration.component.js +5 -12
  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 -13
  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 -6
  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 -17
  282. package/dist/collection/utils/child-of.js +5 -0
  283. package/dist/collection/utils/icons.js +18 -0
  284. package/dist/collection/utils/illustrations.js +2 -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/{cjs/p-icon.cjs.entry.js → components/icon.component.js} +300 -58
  294. package/dist/components/index.d.ts +42 -4
  295. package/dist/components/index.js +38 -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.js +1 -815
  330. package/dist/components/p-illustration.js +6 -7
  331. package/dist/components/p-info-panel.d.ts +11 -0
  332. package/dist/components/p-info-panel.js +56 -0
  333. package/dist/components/p-input-group.d.ts +11 -0
  334. package/dist/components/p-input-group.js +96 -0
  335. package/dist/components/p-layout.d.ts +11 -0
  336. package/dist/components/p-layout.js +39 -0
  337. package/dist/components/p-loader.d.ts +11 -0
  338. package/dist/components/p-loader.js +6 -0
  339. package/dist/components/p-modal-backdrop.d.ts +11 -0
  340. package/dist/components/p-modal-backdrop.js +6 -0
  341. package/dist/components/p-modal-body.d.ts +11 -0
  342. package/dist/components/p-modal-body.js +6 -0
  343. package/dist/components/p-modal-container.d.ts +11 -0
  344. package/dist/components/p-modal-container.js +6 -0
  345. package/dist/components/p-modal-footer.d.ts +11 -0
  346. package/dist/components/p-modal-footer.js +6 -0
  347. package/dist/components/p-modal-header.d.ts +11 -0
  348. package/dist/components/p-modal-header.js +6 -0
  349. package/dist/components/p-modal.d.ts +11 -0
  350. package/dist/components/p-modal.js +111 -0
  351. package/dist/components/p-navbar.d.ts +11 -0
  352. package/dist/components/p-navbar.js +70 -0
  353. package/dist/components/p-navigation-item.d.ts +11 -0
  354. package/dist/components/p-navigation-item.js +55 -0
  355. package/dist/components/p-pagination-item.d.ts +11 -0
  356. package/dist/components/p-pagination-item.js +6 -0
  357. package/dist/components/p-pagination.d.ts +11 -0
  358. package/dist/components/p-pagination.js +200 -0
  359. package/dist/components/p-profile.d.ts +11 -0
  360. package/dist/components/p-profile.js +88 -0
  361. package/dist/components/p-segment-container.d.ts +11 -0
  362. package/dist/components/p-segment-container.js +32 -0
  363. package/dist/components/p-segment-item.d.ts +11 -0
  364. package/dist/components/p-segment-item.js +54 -0
  365. package/dist/components/p-slider-indicator.d.ts +11 -0
  366. package/dist/components/p-slider-indicator.js +6 -0
  367. package/dist/components/p-status.d.ts +11 -0
  368. package/dist/components/p-status.js +73 -0
  369. package/dist/components/p-stepper-item.d.ts +11 -0
  370. package/dist/components/p-stepper-item.js +6 -0
  371. package/dist/components/p-stepper-line.d.ts +11 -0
  372. package/dist/components/p-stepper-line.js +6 -0
  373. package/dist/components/p-stepper.d.ts +11 -0
  374. package/dist/components/p-stepper.js +106 -0
  375. package/dist/components/p-tab-group.d.ts +11 -0
  376. package/dist/components/p-tab-group.js +39 -0
  377. package/dist/components/p-tab-item.d.ts +11 -0
  378. package/dist/components/p-tab-item.js +39 -0
  379. package/dist/components/p-tag.d.ts +11 -0
  380. package/dist/components/p-tag.js +44 -0
  381. package/dist/components/p-tooltip.js +1 -1886
  382. package/dist/components/pagination-item.component.js +36 -0
  383. package/dist/components/popper.js +1788 -0
  384. package/dist/components/slider-indicator.component.js +36 -0
  385. package/dist/components/stepper-item.component.js +57 -0
  386. package/dist/components/stepper-line.component.js +41 -0
  387. package/dist/components/tooltip.component.js +161 -0
  388. package/dist/esm/{index-e4d80e41.js → index-9062156b.js} +690 -15
  389. package/dist/esm/loader.js +3 -3
  390. package/dist/esm/p-accordion.entry.js +38 -0
  391. package/dist/esm/p-avatar-group.entry.js +15 -0
  392. package/dist/esm/p-avatar_2.entry.js +174 -0
  393. package/dist/esm/{p-icon.entry.js → p-button_3.entry.js} +403 -50
  394. package/dist/esm/p-card-body.entry.js +19 -0
  395. package/dist/esm/p-card-container.entry.js +23 -0
  396. package/dist/esm/p-card-header.entry.js +20 -0
  397. package/dist/esm/p-content-slider.entry.js +149 -0
  398. package/dist/esm/p-counter.entry.js +23 -0
  399. package/dist/esm/p-divider.entry.js +18 -0
  400. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  401. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  402. package/dist/esm/p-helper.entry.js +19 -0
  403. package/dist/esm/p-illustration.entry.js +14 -14
  404. package/dist/esm/p-info-panel.entry.js +27 -0
  405. package/dist/esm/p-input-group.entry.js +47 -0
  406. package/dist/esm/p-layout.entry.js +19 -0
  407. package/dist/esm/p-modal-backdrop_5.entry.js +93 -0
  408. package/dist/esm/p-modal.entry.js +44 -0
  409. package/dist/esm/p-navbar.entry.js +30 -0
  410. package/dist/esm/p-navigation-item.entry.js +19 -0
  411. package/dist/esm/p-pagination-item.entry.js +19 -0
  412. package/dist/esm/p-pagination.entry.js +167 -0
  413. package/dist/esm/p-profile.entry.js +42 -0
  414. package/dist/esm/p-segment-container.entry.js +15 -0
  415. package/dist/esm/p-segment-item.entry.js +25 -0
  416. package/dist/esm/p-slider-indicator.entry.js +19 -0
  417. package/dist/esm/p-status.entry.js +45 -0
  418. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  419. package/dist/esm/p-stepper.entry.js +67 -0
  420. package/dist/esm/p-tab-group.entry.js +15 -0
  421. package/dist/esm/p-tab-item.entry.js +19 -0
  422. package/dist/esm/p-tag.entry.js +23 -0
  423. package/dist/esm/p-tooltip.entry.js +84 -1814
  424. package/dist/esm/paperless.js +3 -3
  425. package/dist/esm/polyfills/core-js.js +0 -0
  426. package/dist/esm/polyfills/dom.js +0 -0
  427. package/dist/esm/polyfills/es5-html-element.js +0 -0
  428. package/dist/esm/polyfills/index.js +0 -0
  429. package/dist/esm/polyfills/system.js +0 -0
  430. package/dist/esm/popper-41c6f9cd.js +1788 -0
  431. package/dist/index.html +1 -1
  432. package/dist/paperless/p-05d5e3fd.entry.js +1 -0
  433. package/dist/paperless/p-113baa35.entry.js +1 -0
  434. package/dist/paperless/p-19c20c8e.entry.js +1 -0
  435. package/dist/paperless/p-1ef22f4e.entry.js +1 -0
  436. package/dist/paperless/p-2beaf0e8.entry.js +1 -0
  437. package/dist/paperless/p-3f6c9d44.entry.js +1 -0
  438. package/dist/paperless/p-4336cbbc.entry.js +1 -0
  439. package/dist/paperless/p-4ca40a0a.entry.js +1 -0
  440. package/dist/paperless/p-6088647a.entry.js +1 -0
  441. package/dist/paperless/p-6835a9e3.entry.js +1 -0
  442. package/dist/paperless/p-6e778574.entry.js +1 -0
  443. package/dist/paperless/p-79d3258f.entry.js +1 -0
  444. package/dist/paperless/p-801d05b6.entry.js +1 -0
  445. package/dist/paperless/p-829c4101.entry.js +1 -0
  446. package/dist/paperless/p-89fda3a8.entry.js +1 -0
  447. package/dist/paperless/p-8ac8a69d.entry.js +1 -0
  448. package/dist/{build/p-98d636b6.entry.js → paperless/p-8b743795.entry.js} +1 -1
  449. package/dist/paperless/p-910b5034.entry.js +1 -0
  450. package/dist/paperless/p-92b6c76c.entry.js +1 -0
  451. package/dist/paperless/p-938f52ee.entry.js +1 -0
  452. package/dist/paperless/p-9d98d0d9.entry.js +1 -0
  453. package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
  454. package/dist/paperless/p-a7086ffa.js +1 -0
  455. package/dist/paperless/p-bc7e8cc4.js +2 -0
  456. package/dist/paperless/p-bd50db3d.entry.js +1 -0
  457. package/dist/paperless/p-c27046e6.entry.js +1 -0
  458. package/dist/paperless/p-c59d9fc2.entry.js +1 -0
  459. package/dist/paperless/p-cc177072.entry.js +1 -0
  460. package/dist/paperless/p-d32f2578.entry.js +1 -0
  461. package/dist/paperless/p-e20a1842.entry.js +1 -0
  462. package/dist/paperless/p-e2a98d53.entry.js +1 -0
  463. package/dist/paperless/p-e3797d1d.entry.js +1 -0
  464. package/dist/paperless/p-e934ef94.entry.js +1 -0
  465. package/dist/paperless/p-e9e20ac3.entry.js +1 -0
  466. package/dist/paperless/p-ec2a5f95.entry.js +1 -0
  467. package/dist/paperless/p-ede5e914.entry.js +1 -0
  468. package/dist/paperless/paperless.css +290 -22811
  469. package/dist/paperless/paperless.esm.js +1 -1
  470. package/dist/sw.js +2 -248
  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/rotate.js +8 -0
  477. package/dist/tailwind/scale.js +3 -0
  478. package/dist/tailwind/screens.js +8 -0
  479. package/dist/tailwind/shadows.js +11 -0
  480. package/dist/tailwind/spacing.js +10 -0
  481. package/dist/tailwind/typography.js +21 -0
  482. package/dist/tailwind/width.js +18 -0
  483. package/dist/tailwind/z-index.js +3 -0
  484. package/dist/tailwind.config.js +28 -17
  485. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  486. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  487. package/dist/types/components/atoms/button/button.component.d.ts +68 -0
  488. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  489. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  490. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  491. package/dist/types/components/atoms/counter/counter.component.d.ts +11 -0
  492. package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
  493. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  494. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -0
  495. package/dist/types/components/atoms/helper/helper.component.d.ts +8 -0
  496. package/dist/types/components/{icon → atoms/icon}/icon.component.d.ts +6 -5
  497. package/dist/types/components/{illustration → atoms/illustration}/illustration.component.d.ts +2 -2
  498. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  499. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  500. package/dist/types/components/atoms/loader/loader.component.d.ts +30 -0
  501. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  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 +7 -0
  505. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  506. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  507. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  508. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  509. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  510. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  511. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  512. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  513. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  514. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  515. package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
  516. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +49 -0
  517. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  518. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
  519. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
  520. package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
  521. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  522. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  523. package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
  524. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  525. package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
  526. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  527. package/dist/types/components.d.ts +1467 -63
  528. package/dist/types/utils/child-of.d.ts +1 -0
  529. package/dist/types/utils/icons.d.ts +9 -0
  530. package/dist/types/utils/illustrations.d.ts +1 -0
  531. package/dist/types/utils/types.d.ts +2 -0
  532. package/dist/workbox-5fe694da.js +2 -0
  533. package/dist/workbox-5fe694da.js.map +1 -0
  534. package/package.json +61 -60
  535. package/dist/build/p-3318b73b.entry.js +0 -1
  536. package/dist/build/p-6f9229a6.js +0 -2
  537. package/dist/build/p-711630fb.entry.js +0 -1
  538. package/dist/build/p-c3d80205.entry.js +0 -1
  539. package/dist/cjs/p-button.cjs.entry.js +0 -23
  540. package/dist/collection/components/button/button.component.css +0 -6
  541. package/dist/collection/components/icon/icon.component.js +0 -108
  542. package/dist/collection/components/tooltip/tooltip.component.css +0 -34
  543. package/dist/collection/components/tooltip/tooltip.component.js +0 -174
  544. package/dist/collection/tailwind/grid.js +0 -6
  545. package/dist/esm/p-button.entry.js +0 -19
  546. package/dist/paperless/p-3318b73b.entry.js +0 -1
  547. package/dist/paperless/p-6f9229a6.js +0 -2
  548. package/dist/paperless/p-711630fb.entry.js +0 -1
  549. package/dist/paperless/p-c3d80205.entry.js +0 -1
  550. package/dist/types/components/button/button.component.d.ts +0 -7
  551. package/dist/types/components/tooltip/tooltip.component.d.ts +0 -28
@@ -0,0 +1,374 @@
1
+ import { Component, Event, h, Host, Listen, Prop, } from '@stencil/core';
2
+ export class Button {
3
+ constructor() {
4
+ /**
5
+ * The variant of the button
6
+ */
7
+ this.variant = 'primary';
8
+ /**
9
+ * The size of the button
10
+ */
11
+ this.size = 'medium';
12
+ /**
13
+ * The width of the button
14
+ */
15
+ this.width = 'auto';
16
+ /**
17
+ * Wether to show a loader or not
18
+ */
19
+ this.loading = false;
20
+ /**
21
+ * Wether to show a chevron or not
22
+ */
23
+ this.chevron = false;
24
+ /**
25
+ * Wether the button is disabled
26
+ */
27
+ this.disabled = false;
28
+ /**
29
+ * Wether the button is icon only
30
+ */
31
+ this.iconOnly = false;
32
+ /**
33
+ * Icon position
34
+ */
35
+ this.iconPosition = 'end';
36
+ /**
37
+ * Wether the button should inherit text styles
38
+ */
39
+ this.inheritText = false;
40
+ }
41
+ render() {
42
+ let loaderColor = 'white';
43
+ switch (this.variant) {
44
+ case 'secondary':
45
+ loaderColor = 'storm';
46
+ break;
47
+ case 'text':
48
+ loaderColor = 'indigo';
49
+ break;
50
+ }
51
+ const VariableTag = this.variant === 'text' ? 'a' : 'button';
52
+ return (h(Host, { class: `p-button ${this.width === 'full' && 'w-full'}` },
53
+ h(VariableTag, { class: `variant-${this.variant} size-${this.size} width-${this.width} icon-position-${this.iconPosition} ${this.chevron && 'has-chevron'} ${this.iconOnly && 'has-icon-only'} ${this.inheritText && 'should-inherit-text'}`, disabled: this.disabled, href: this.href, target: this.target },
54
+ this.icon &&
55
+ this.iconPosition === 'start' &&
56
+ this._getIcon(),
57
+ h("slot", null),
58
+ this.icon &&
59
+ this.iconPosition === 'end' &&
60
+ this._getIcon(),
61
+ this.loading && h("p-loader", { color: loaderColor }),
62
+ this.chevron && (h("p-icon", { variant: "chevron", rotate: this.chevron === 'up' ? 180 : 0 })))));
63
+ }
64
+ handleClick(ev) {
65
+ if (this.loading || this.disabled) {
66
+ return;
67
+ }
68
+ this.onClick.emit(ev);
69
+ }
70
+ _getIcon() {
71
+ if (!this.icon) {
72
+ return;
73
+ }
74
+ return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
75
+ }
76
+ static get is() { return "p-button"; }
77
+ static get originalStyleUrls() { return {
78
+ "$": ["button.component.scss"]
79
+ }; }
80
+ static get styleUrls() { return {
81
+ "$": ["button.component.css"]
82
+ }; }
83
+ static get properties() { return {
84
+ "variant": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "'primary' | 'secondary' | 'text'",
89
+ "resolved": "\"primary\" | \"secondary\" | \"text\"",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": "The variant of the button"
97
+ },
98
+ "attribute": "variant",
99
+ "reflect": false,
100
+ "defaultValue": "'primary'"
101
+ },
102
+ "href": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "string",
107
+ "resolved": "string",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": "Href in case of \"text\" version"
115
+ },
116
+ "attribute": "href",
117
+ "reflect": false
118
+ },
119
+ "target": {
120
+ "type": "string",
121
+ "mutable": false,
122
+ "complexType": {
123
+ "original": "string",
124
+ "resolved": "string",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": "Target in case of \"text\" version"
132
+ },
133
+ "attribute": "target",
134
+ "reflect": false
135
+ },
136
+ "size": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "'small' | 'medium'",
141
+ "resolved": "\"medium\" | \"small\"",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "The size of the button"
149
+ },
150
+ "attribute": "size",
151
+ "reflect": false,
152
+ "defaultValue": "'medium'"
153
+ },
154
+ "width": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "'auto' | 'full'",
159
+ "resolved": "\"auto\" | \"full\"",
160
+ "references": {}
161
+ },
162
+ "required": false,
163
+ "optional": false,
164
+ "docs": {
165
+ "tags": [],
166
+ "text": "The width of the button"
167
+ },
168
+ "attribute": "width",
169
+ "reflect": false,
170
+ "defaultValue": "'auto'"
171
+ },
172
+ "loading": {
173
+ "type": "boolean",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "boolean",
177
+ "resolved": "boolean",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": "Wether to show a loader or not"
185
+ },
186
+ "attribute": "loading",
187
+ "reflect": false,
188
+ "defaultValue": "false"
189
+ },
190
+ "chevron": {
191
+ "type": "any",
192
+ "mutable": false,
193
+ "complexType": {
194
+ "original": "boolean | 'up' | 'down'",
195
+ "resolved": "\"down\" | \"up\" | boolean",
196
+ "references": {}
197
+ },
198
+ "required": false,
199
+ "optional": false,
200
+ "docs": {
201
+ "tags": [],
202
+ "text": "Wether to show a chevron or not"
203
+ },
204
+ "attribute": "chevron",
205
+ "reflect": false,
206
+ "defaultValue": "false"
207
+ },
208
+ "disabled": {
209
+ "type": "boolean",
210
+ "mutable": false,
211
+ "complexType": {
212
+ "original": "boolean",
213
+ "resolved": "boolean",
214
+ "references": {}
215
+ },
216
+ "required": false,
217
+ "optional": false,
218
+ "docs": {
219
+ "tags": [],
220
+ "text": "Wether the button is disabled"
221
+ },
222
+ "attribute": "disabled",
223
+ "reflect": false,
224
+ "defaultValue": "false"
225
+ },
226
+ "icon": {
227
+ "type": "string",
228
+ "mutable": false,
229
+ "complexType": {
230
+ "original": "IconVariant",
231
+ "resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"menu\" | \"minus\" | \"more\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"signout\" | \"switch\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
232
+ "references": {
233
+ "IconVariant": {
234
+ "location": "import",
235
+ "path": "../icon/icon.component"
236
+ }
237
+ }
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "Icon to show on the button"
244
+ },
245
+ "attribute": "icon",
246
+ "reflect": false
247
+ },
248
+ "iconOnly": {
249
+ "type": "boolean",
250
+ "mutable": false,
251
+ "complexType": {
252
+ "original": "boolean",
253
+ "resolved": "boolean",
254
+ "references": {}
255
+ },
256
+ "required": false,
257
+ "optional": false,
258
+ "docs": {
259
+ "tags": [],
260
+ "text": "Wether the button is icon only"
261
+ },
262
+ "attribute": "icon-only",
263
+ "reflect": false,
264
+ "defaultValue": "false"
265
+ },
266
+ "iconPosition": {
267
+ "type": "string",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "'start' | 'end'",
271
+ "resolved": "\"end\" | \"start\"",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": "Icon position"
279
+ },
280
+ "attribute": "icon-position",
281
+ "reflect": false,
282
+ "defaultValue": "'end'"
283
+ },
284
+ "iconFlip": {
285
+ "type": "string",
286
+ "mutable": false,
287
+ "complexType": {
288
+ "original": "IconFlipOptions",
289
+ "resolved": "\"horizontal\" | \"vertical\"",
290
+ "references": {
291
+ "IconFlipOptions": {
292
+ "location": "import",
293
+ "path": "../icon/icon.component"
294
+ }
295
+ }
296
+ },
297
+ "required": false,
298
+ "optional": false,
299
+ "docs": {
300
+ "tags": [],
301
+ "text": "Icon flip"
302
+ },
303
+ "attribute": "icon-flip",
304
+ "reflect": false
305
+ },
306
+ "iconRotate": {
307
+ "type": "number",
308
+ "mutable": false,
309
+ "complexType": {
310
+ "original": "RotateOptions",
311
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
312
+ "references": {
313
+ "RotateOptions": {
314
+ "location": "import",
315
+ "path": "../../../utils/types"
316
+ }
317
+ }
318
+ },
319
+ "required": false,
320
+ "optional": false,
321
+ "docs": {
322
+ "tags": [],
323
+ "text": "Icon rotate"
324
+ },
325
+ "attribute": "icon-rotate",
326
+ "reflect": false
327
+ },
328
+ "inheritText": {
329
+ "type": "boolean",
330
+ "mutable": false,
331
+ "complexType": {
332
+ "original": "boolean",
333
+ "resolved": "boolean",
334
+ "references": {}
335
+ },
336
+ "required": false,
337
+ "optional": false,
338
+ "docs": {
339
+ "tags": [],
340
+ "text": "Wether the button should inherit text styles"
341
+ },
342
+ "attribute": "inherit-text",
343
+ "reflect": false,
344
+ "defaultValue": "false"
345
+ }
346
+ }; }
347
+ static get events() { return [{
348
+ "method": "onClick",
349
+ "name": "onClick",
350
+ "bubbles": true,
351
+ "cancelable": true,
352
+ "composed": true,
353
+ "docs": {
354
+ "tags": [],
355
+ "text": "Button click event"
356
+ },
357
+ "complexType": {
358
+ "original": "MouseEvent",
359
+ "resolved": "MouseEvent",
360
+ "references": {
361
+ "MouseEvent": {
362
+ "location": "global"
363
+ }
364
+ }
365
+ }
366
+ }]; }
367
+ static get listeners() { return [{
368
+ "name": "click",
369
+ "method": "handleClick",
370
+ "target": undefined,
371
+ "capture": true,
372
+ "passive": false
373
+ }]; }
374
+ }
@@ -0,0 +1,9 @@
1
+ p-card-body {
2
+ @apply px-6 py-4;
3
+ @apply text-sm text-storm-vague;
4
+ }
5
+ p-card-body[inherit-text] {
6
+ color: inherit !important;
7
+ font-size: inherit !important;
8
+ font-weight: inherit !important;
9
+ } .static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,40 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class CardBody {
3
+ constructor() {
4
+ /**
5
+ * Wether the button should inherit text styles
6
+ */
7
+ this.inheritText = false;
8
+ }
9
+ render() {
10
+ return (h(Host, { class: "p-card-body" },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-card-body"; }
14
+ static get originalStyleUrls() { return {
15
+ "$": ["card-body.component.scss"]
16
+ }; }
17
+ static get styleUrls() { return {
18
+ "$": ["card-body.component.css"]
19
+ }; }
20
+ static get properties() { return {
21
+ "inheritText": {
22
+ "type": "boolean",
23
+ "mutable": false,
24
+ "complexType": {
25
+ "original": "boolean",
26
+ "resolved": "boolean",
27
+ "references": {}
28
+ },
29
+ "required": false,
30
+ "optional": false,
31
+ "docs": {
32
+ "tags": [],
33
+ "text": "Wether the button should inherit text styles"
34
+ },
35
+ "attribute": "inherit-text",
36
+ "reflect": true,
37
+ "defaultValue": "false"
38
+ }
39
+ }; }
40
+ }
@@ -0,0 +1,17 @@
1
+ :host {
2
+ @apply flex flex-col w-full;
3
+ @apply bg-white rounded-large;
4
+ @apply filter drop-shadow-4 !important;
5
+ }
6
+
7
+ :host([hoverable]) {
8
+ @apply cursor-pointer;
9
+ }
10
+
11
+ :host([hoverable]:hover) {
12
+ @apply drop-shadow-5 !important;
13
+ }
14
+
15
+ :host([shadow=false]) {
16
+ @apply drop-shadow-transparent !important;
17
+ } .static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,63 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class CardContainer {
3
+ constructor() {
4
+ /**
5
+ * Wether the card should be hoverable
6
+ */
7
+ this.hoverable = false;
8
+ /**
9
+ * Wether the card should have shadow
10
+ */
11
+ this.shadow = true;
12
+ }
13
+ render() {
14
+ return (h(Host, { class: "p-card-container" },
15
+ h("slot", null)));
16
+ }
17
+ static get is() { return "p-card-container"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() { return {
20
+ "$": ["card-container.component.scss"]
21
+ }; }
22
+ static get styleUrls() { return {
23
+ "$": ["card-container.component.css"]
24
+ }; }
25
+ static get properties() { return {
26
+ "hoverable": {
27
+ "type": "boolean",
28
+ "mutable": false,
29
+ "complexType": {
30
+ "original": "boolean",
31
+ "resolved": "boolean",
32
+ "references": {}
33
+ },
34
+ "required": false,
35
+ "optional": false,
36
+ "docs": {
37
+ "tags": [],
38
+ "text": "Wether the card should be hoverable"
39
+ },
40
+ "attribute": "hoverable",
41
+ "reflect": true,
42
+ "defaultValue": "false"
43
+ },
44
+ "shadow": {
45
+ "type": "boolean",
46
+ "mutable": false,
47
+ "complexType": {
48
+ "original": "boolean",
49
+ "resolved": "boolean",
50
+ "references": {}
51
+ },
52
+ "required": false,
53
+ "optional": false,
54
+ "docs": {
55
+ "tags": [],
56
+ "text": "Wether the card should have shadow"
57
+ },
58
+ "attribute": "shadow",
59
+ "reflect": true,
60
+ "defaultValue": "true"
61
+ }
62
+ }; }
63
+ }
@@ -0,0 +1,17 @@
1
+ p-card-header {
2
+ @apply mx-6 py-3;
3
+ @apply flex gap-3 items-center;
4
+ @apply text-storm-medium;
5
+ @apply border-b border-b-mystic-medium !important;
6
+ }
7
+ p-card-header .title {
8
+ @apply flex items-center text-storm;
9
+ @apply font-semibold;
10
+ }
11
+ p-card-header .title > p-icon {
12
+ @apply ml-2 text-mystic-dark;
13
+ }
14
+
15
+ p-card-container.has-hover:hover p-card-header .title > p-icon {
16
+ @apply text-indigo;
17
+ } .static{position:static!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}
@@ -0,0 +1,61 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class CardHeader {
3
+ constructor() {
4
+ /**
5
+ * Enable the title arrow
6
+ */
7
+ this.arrow = false;
8
+ }
9
+ render() {
10
+ var _a, _b;
11
+ return (h(Host, { class: "p-card-header" },
12
+ h("slot", { name: "prefix" }),
13
+ (((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) || this.arrow) && (h("div", { class: "title" }, (_b = this.header) !== null && _b !== void 0 ? _b : '',
14
+ this.arrow && h("p-icon", { variant: "arrow" }))),
15
+ h("slot", { name: "suffix" })));
16
+ }
17
+ static get is() { return "p-card-header"; }
18
+ static get originalStyleUrls() { return {
19
+ "$": ["card-header.component.scss"]
20
+ }; }
21
+ static get styleUrls() { return {
22
+ "$": ["card-header.component.css"]
23
+ }; }
24
+ static get properties() { return {
25
+ "header": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "string",
30
+ "resolved": "string",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": "Content of the card header"
38
+ },
39
+ "attribute": "header",
40
+ "reflect": false
41
+ },
42
+ "arrow": {
43
+ "type": "boolean",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "boolean",
47
+ "resolved": "boolean",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": false,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": "Enable the title arrow"
55
+ },
56
+ "attribute": "arrow",
57
+ "reflect": false,
58
+ "defaultValue": "false"
59
+ }
60
+ }; }
61
+ }
@@ -0,0 +1,30 @@
1
+ :host {
2
+ @apply h-4 px-2 bg-indigo rounded-xlarge;
3
+ @apply text-xs leading-3 text-white font-bold uppercase;
4
+ @apply flex justify-center items-center;
5
+ }
6
+
7
+ :host(.variant-positive),
8
+ :host(.variant-unbiased),
9
+ :host(.variant-negative) {
10
+ @apply rounded px-1 min-w-[1rem];
11
+ }
12
+
13
+ :host(.variant-positive) {
14
+ @apply bg-positive-light text-positive-dark;
15
+ }
16
+
17
+ :host(.variant-unbiased) {
18
+ @apply bg-unbiased-light text-unbiased-dark;
19
+ }
20
+
21
+ :host(.variant-negative) {
22
+ @apply bg-negative-light text-negative-dark;
23
+ }
24
+
25
+ :host(.size-mini) {
26
+ @apply w-2 h-2 rounded-round p-0 min-w-0;
27
+ }
28
+ :host(.size-mini) slot {
29
+ display: none;
30
+ } .static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,63 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class Counter {
3
+ constructor() {
4
+ /**
5
+ * The variant of the counter
6
+ */
7
+ this.variant = 'info';
8
+ /**
9
+ * The size of the counter
10
+ */
11
+ this.size = 'default';
12
+ }
13
+ render() {
14
+ return (h(Host, { class: `p-counter variant-${this.variant} size-${this.size}` },
15
+ h("slot", null)));
16
+ }
17
+ static get is() { return "p-counter"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() { return {
20
+ "$": ["counter.component.scss"]
21
+ }; }
22
+ static get styleUrls() { return {
23
+ "$": ["counter.component.css"]
24
+ }; }
25
+ static get properties() { return {
26
+ "variant": {
27
+ "type": "string",
28
+ "mutable": false,
29
+ "complexType": {
30
+ "original": "'info' | 'negative' | 'positive' | 'unbiased'",
31
+ "resolved": "\"info\" | \"negative\" | \"positive\" | \"unbiased\"",
32
+ "references": {}
33
+ },
34
+ "required": false,
35
+ "optional": false,
36
+ "docs": {
37
+ "tags": [],
38
+ "text": "The variant of the counter"
39
+ },
40
+ "attribute": "variant",
41
+ "reflect": false,
42
+ "defaultValue": "'info'"
43
+ },
44
+ "size": {
45
+ "type": "string",
46
+ "mutable": false,
47
+ "complexType": {
48
+ "original": "'default' | 'mini'",
49
+ "resolved": "\"default\" | \"mini\"",
50
+ "references": {}
51
+ },
52
+ "required": false,
53
+ "optional": false,
54
+ "docs": {
55
+ "tags": [],
56
+ "text": "The size of the counter"
57
+ },
58
+ "attribute": "size",
59
+ "reflect": false,
60
+ "defaultValue": "'default'"
61
+ }
62
+ }; }
63
+ }