@paperless/core 0.1.0-alpha.5 → 0.1.0-alpha.50

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 (345) hide show
  1. package/CHANGELOG.md +441 -0
  2. package/README.md +18 -1
  3. package/dist/assets/icons/checklist.svg +17 -0
  4. package/dist/assets/icons/folder.svg +19 -0
  5. package/dist/assets/icons/integration.svg +17 -0
  6. package/dist/assets/icons/task.svg +17 -0
  7. package/dist/assets/icons/template.svg +17 -0
  8. package/dist/assets/images/avatar/company-default.svg +12 -0
  9. package/dist/assets/images/avatar/user-default.svg +12 -0
  10. package/dist/assets/images/helper/helper-hover.svg +15 -0
  11. package/dist/assets/images/helper/helper.svg +15 -0
  12. package/dist/build/p-0100c1a2.js +2 -0
  13. package/dist/build/p-0fc4e043.entry.js +1 -0
  14. package/dist/build/p-11d24001.entry.js +1 -0
  15. package/dist/build/p-19254809.entry.js +1 -0
  16. package/dist/build/p-2120a0b7.entry.js +1 -0
  17. package/dist/build/p-27914eed.entry.js +1 -0
  18. package/dist/build/p-2c23d197.entry.js +1 -0
  19. package/dist/build/p-2c7eebe0.entry.js +1 -0
  20. package/dist/build/p-3b491ca2.entry.js +1 -0
  21. package/dist/build/p-3f6d3736.entry.js +1 -0
  22. package/dist/build/p-4a85b858.entry.js +1 -0
  23. package/dist/build/p-5101f35f.entry.js +1 -0
  24. package/dist/build/p-5438d70e.entry.js +1 -0
  25. package/dist/build/p-67079a0b.entry.js +1 -0
  26. package/dist/build/p-67fc89a6.entry.js +1 -0
  27. package/dist/build/p-6e60b92a.entry.js +1 -0
  28. package/dist/build/p-7784ee14.entry.js +1 -0
  29. package/dist/build/p-7cf04cb4.entry.js +1 -0
  30. package/dist/build/p-864ac423.entry.js +1 -0
  31. package/dist/build/p-a7086ffa.js +1 -0
  32. package/dist/build/p-b68368f3.entry.js +1 -0
  33. package/dist/build/p-c64e2313.entry.js +1 -0
  34. package/dist/build/p-ccbddcbb.entry.js +1 -0
  35. package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  36. package/dist/build/p-f50c6e5b.entry.js +1 -0
  37. package/dist/build/p-fb1e33eb.entry.js +1 -0
  38. package/dist/build/p-ffeed7c6.entry.js +1 -0
  39. package/dist/build/paperless.css +29 -18
  40. package/dist/build/paperless.esm.js +1 -1
  41. package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +201 -3
  42. package/dist/cjs/loader.cjs.js +2 -2
  43. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  44. package/dist/cjs/p-avatar.cjs.entry.js +35 -0
  45. package/dist/cjs/p-button_3.cjs.entry.js +162 -17
  46. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  47. package/dist/cjs/p-card-container.cjs.entry.js +23 -0
  48. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  49. package/dist/cjs/p-counter.cjs.entry.js +19 -0
  50. package/dist/cjs/p-divider.cjs.entry.js +19 -0
  51. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  52. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  53. package/dist/cjs/p-dropdown.cjs.entry.js +141 -0
  54. package/dist/cjs/p-helper.cjs.entry.js +19 -0
  55. package/dist/cjs/p-illustration.cjs.entry.js +9 -12
  56. package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
  57. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
  58. package/dist/cjs/p-modal.cjs.entry.js +39 -0
  59. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  60. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  61. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  62. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  63. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  64. package/dist/cjs/p-status.cjs.entry.js +49 -0
  65. package/dist/cjs/p-stepper-line_2.cjs.entry.js +56 -0
  66. package/dist/cjs/p-stepper.cjs.entry.js +72 -0
  67. package/dist/cjs/p-tooltip.cjs.entry.js +75 -1811
  68. package/dist/cjs/paperless.cjs.js +2 -2
  69. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  70. package/dist/collection/assets/icons/checklist.svg +17 -0
  71. package/dist/collection/assets/icons/folder.svg +19 -0
  72. package/dist/collection/assets/icons/integration.svg +17 -0
  73. package/dist/collection/assets/icons/task.svg +17 -0
  74. package/dist/collection/assets/icons/template.svg +17 -0
  75. package/dist/collection/assets/images/avatar/company-default.svg +12 -0
  76. package/dist/collection/assets/images/avatar/user-default.svg +12 -0
  77. package/dist/collection/assets/images/helper/helper-hover.svg +15 -0
  78. package/dist/collection/assets/images/helper/helper.svg +15 -0
  79. package/dist/collection/collection-manifest.json +28 -1
  80. package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
  81. package/dist/collection/components/atoms/avatar/avatar.component.js +107 -0
  82. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  83. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  84. package/dist/collection/components/atoms/button/button.component.css +23 -1
  85. package/dist/collection/components/atoms/button/button.component.js +86 -10
  86. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  87. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  88. package/dist/collection/components/atoms/card-container/card-container.component.css +13 -0
  89. package/dist/collection/components/atoms/card-container/card-container.component.js +41 -0
  90. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  91. package/dist/collection/components/atoms/card-header/card-header.component.js +60 -0
  92. package/dist/collection/components/atoms/counter/counter.component.css +5 -0
  93. package/dist/collection/components/atoms/counter/counter.component.js +15 -0
  94. package/dist/collection/components/atoms/divider/divider.component.css +3 -0
  95. package/dist/collection/components/atoms/divider/divider.component.js +14 -0
  96. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -0
  97. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  98. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  99. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +41 -0
  100. package/dist/collection/components/atoms/helper/helper.component.css +7 -0
  101. package/dist/collection/components/atoms/helper/helper.component.js +18 -0
  102. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  103. package/dist/collection/components/atoms/icon/icon.component.js +63 -20
  104. package/dist/collection/components/atoms/illustration/illustration.component.js +2 -9
  105. package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
  106. package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
  107. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  108. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  109. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  110. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  111. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  112. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  113. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  114. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  115. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  116. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  117. package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
  118. package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
  119. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  120. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  121. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  122. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  123. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  124. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  125. package/dist/collection/components/atoms/status/status.component.css +16 -0
  126. package/dist/collection/components/atoms/status/status.component.js +133 -0
  127. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  128. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  129. package/dist/collection/components/atoms/stepper-step/stepper-step.component.css +59 -0
  130. package/dist/collection/components/atoms/stepper-step/stepper-step.component.js +109 -0
  131. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  132. package/dist/collection/components/atoms/tooltip/tooltip.component.js +133 -35
  133. package/dist/collection/components/molecules/dropdown/dropdown.component.css +9 -0
  134. package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
  135. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -0
  136. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  137. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  138. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  139. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  140. package/dist/collection/components/molecules/stepper/stepper.component.js +107 -0
  141. package/dist/collection/components/organisms/modal/modal.component.js +111 -0
  142. package/dist/collection/tailwind/animation.js +17 -0
  143. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  144. package/dist/collection/tailwind/border-radius.js +8 -6
  145. package/dist/collection/tailwind/grid.js +24 -4
  146. package/dist/collection/tailwind/typography.js +21 -0
  147. package/dist/collection/tailwind/z-index.js +3 -0
  148. package/dist/collection/tailwind.config.js +21 -13
  149. package/dist/collection/utils/child-of.js +5 -0
  150. package/dist/collection/utils/icons.js +10 -0
  151. package/dist/collection/utils/types.js +1 -0
  152. package/dist/components/counter.component.js +30 -0
  153. package/dist/components/divider.component.js +30 -0
  154. package/dist/components/dropdown-menu-container.component.js +29 -0
  155. package/dist/components/icon.component.js +137 -9
  156. package/dist/components/index.d.ts +27 -0
  157. package/dist/components/index.js +27 -0
  158. package/dist/components/loader.component.js +5 -4
  159. package/dist/components/modal-backdrop.component.js +30 -0
  160. package/dist/components/modal-body.component.js +36 -0
  161. package/dist/components/modal-container.component.js +48 -0
  162. package/dist/components/modal-footer.component.js +36 -0
  163. package/dist/components/modal-header.component.js +30 -0
  164. package/dist/components/p-avatar-group.d.ts +11 -0
  165. package/dist/components/p-avatar-group.js +34 -0
  166. package/dist/components/p-avatar.d.ts +11 -0
  167. package/dist/components/p-avatar.js +54 -0
  168. package/dist/components/p-button.js +23 -4
  169. package/dist/components/p-card-body.d.ts +11 -0
  170. package/dist/components/p-card-body.js +38 -0
  171. package/dist/components/p-card-container.d.ts +11 -0
  172. package/dist/components/p-card-container.js +39 -0
  173. package/dist/components/p-card-header.d.ts +11 -0
  174. package/dist/components/p-card-header.js +46 -0
  175. package/dist/components/p-counter.d.ts +11 -0
  176. package/dist/components/p-counter.js +6 -0
  177. package/dist/components/p-divider.d.ts +11 -0
  178. package/dist/components/p-divider.js +6 -0
  179. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  180. package/dist/components/p-dropdown-menu-container.js +6 -0
  181. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  182. package/dist/components/p-dropdown-menu-item.js +39 -0
  183. package/dist/components/p-dropdown.d.ts +11 -0
  184. package/dist/components/p-dropdown.js +166 -0
  185. package/dist/components/p-helper.d.ts +11 -0
  186. package/dist/components/p-helper.js +39 -0
  187. package/dist/components/p-illustration.js +0 -4
  188. package/dist/components/p-info-panel.d.ts +11 -0
  189. package/dist/components/p-info-panel.js +56 -0
  190. package/dist/components/p-modal-backdrop.d.ts +11 -0
  191. package/dist/components/p-modal-backdrop.js +6 -0
  192. package/dist/components/p-modal-body.d.ts +11 -0
  193. package/dist/components/p-modal-body.js +6 -0
  194. package/dist/components/p-modal-container.d.ts +11 -0
  195. package/dist/components/p-modal-container.js +6 -0
  196. package/dist/components/p-modal-footer.d.ts +11 -0
  197. package/dist/components/p-modal-footer.js +6 -0
  198. package/dist/components/p-modal-header.d.ts +11 -0
  199. package/dist/components/p-modal-header.js +6 -0
  200. package/dist/components/p-modal.d.ts +11 -0
  201. package/dist/components/p-modal.js +94 -0
  202. package/dist/components/p-navigation-item.d.ts +11 -0
  203. package/dist/components/p-navigation-item.js +55 -0
  204. package/dist/components/p-pagination-item.d.ts +11 -0
  205. package/dist/components/p-pagination-item.js +6 -0
  206. package/dist/components/p-pagination.d.ts +11 -0
  207. package/dist/components/p-pagination.js +200 -0
  208. package/dist/components/p-segment-container.d.ts +11 -0
  209. package/dist/components/p-segment-container.js +32 -0
  210. package/dist/components/p-segment-item.d.ts +11 -0
  211. package/dist/components/p-segment-item.js +54 -0
  212. package/dist/components/p-status.d.ts +11 -0
  213. package/dist/components/p-status.js +73 -0
  214. package/dist/components/p-stepper-line.d.ts +11 -0
  215. package/dist/components/p-stepper-line.js +6 -0
  216. package/dist/components/p-stepper-step.d.ts +11 -0
  217. package/dist/components/p-stepper-step.js +6 -0
  218. package/dist/components/p-stepper.d.ts +11 -0
  219. package/dist/components/p-stepper.js +107 -0
  220. package/dist/components/p-tooltip.js +1 -1886
  221. package/dist/components/pagination-item.component.js +36 -0
  222. package/dist/components/popper.js +1788 -0
  223. package/dist/components/stepper-line.component.js +41 -0
  224. package/dist/components/stepper-step.component.js +57 -0
  225. package/dist/components/tooltip.component.js +154 -0
  226. package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +201 -3
  227. package/dist/esm/loader.js +2 -2
  228. package/dist/esm/p-avatar-group.entry.js +15 -0
  229. package/dist/esm/p-avatar.entry.js +31 -0
  230. package/dist/esm/p-button_3.entry.js +162 -17
  231. package/dist/esm/p-card-body.entry.js +19 -0
  232. package/dist/esm/p-card-container.entry.js +19 -0
  233. package/dist/esm/p-card-header.entry.js +20 -0
  234. package/dist/esm/p-counter.entry.js +15 -0
  235. package/dist/esm/p-divider.entry.js +15 -0
  236. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  237. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  238. package/dist/esm/p-dropdown.entry.js +137 -0
  239. package/dist/esm/p-helper.entry.js +15 -0
  240. package/dist/esm/p-illustration.entry.js +9 -12
  241. package/dist/esm/p-info-panel.entry.js +27 -0
  242. package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
  243. package/dist/esm/p-modal.entry.js +35 -0
  244. package/dist/esm/p-navigation-item.entry.js +19 -0
  245. package/dist/esm/p-pagination-item.entry.js +19 -0
  246. package/dist/esm/p-pagination.entry.js +167 -0
  247. package/dist/esm/p-segment-container.entry.js +15 -0
  248. package/dist/esm/p-segment-item.entry.js +25 -0
  249. package/dist/esm/p-status.entry.js +45 -0
  250. package/dist/esm/p-stepper-line_2.entry.js +51 -0
  251. package/dist/esm/p-stepper.entry.js +68 -0
  252. package/dist/esm/p-tooltip.entry.js +75 -1811
  253. package/dist/esm/paperless.js +2 -2
  254. package/dist/esm/polyfills/core-js.js +0 -0
  255. package/dist/esm/polyfills/dom.js +0 -0
  256. package/dist/esm/polyfills/es5-html-element.js +0 -0
  257. package/dist/esm/polyfills/index.js +0 -0
  258. package/dist/esm/polyfills/system.js +0 -0
  259. package/dist/esm/popper-41c6f9cd.js +1788 -0
  260. package/dist/index.html +1 -1
  261. package/dist/paperless/p-0100c1a2.js +2 -0
  262. package/dist/paperless/p-0fc4e043.entry.js +1 -0
  263. package/dist/paperless/p-11d24001.entry.js +1 -0
  264. package/dist/paperless/p-19254809.entry.js +1 -0
  265. package/dist/paperless/p-2120a0b7.entry.js +1 -0
  266. package/dist/paperless/p-27914eed.entry.js +1 -0
  267. package/dist/paperless/p-2c23d197.entry.js +1 -0
  268. package/dist/paperless/p-2c7eebe0.entry.js +1 -0
  269. package/dist/paperless/p-3b491ca2.entry.js +1 -0
  270. package/dist/paperless/p-3f6d3736.entry.js +1 -0
  271. package/dist/paperless/p-4a85b858.entry.js +1 -0
  272. package/dist/paperless/p-5101f35f.entry.js +1 -0
  273. package/dist/paperless/p-5438d70e.entry.js +1 -0
  274. package/dist/paperless/p-67079a0b.entry.js +1 -0
  275. package/dist/paperless/p-67fc89a6.entry.js +1 -0
  276. package/dist/paperless/p-6e60b92a.entry.js +1 -0
  277. package/dist/paperless/p-7784ee14.entry.js +1 -0
  278. package/dist/paperless/p-7cf04cb4.entry.js +1 -0
  279. package/dist/paperless/p-864ac423.entry.js +1 -0
  280. package/dist/paperless/p-a7086ffa.js +1 -0
  281. package/dist/paperless/p-b68368f3.entry.js +1 -0
  282. package/dist/paperless/p-c64e2313.entry.js +1 -0
  283. package/dist/paperless/p-ccbddcbb.entry.js +1 -0
  284. package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  285. package/dist/paperless/p-f50c6e5b.entry.js +1 -0
  286. package/dist/paperless/p-fb1e33eb.entry.js +1 -0
  287. package/dist/paperless/p-ffeed7c6.entry.js +1 -0
  288. package/dist/paperless/paperless.css +82 -26376
  289. package/dist/paperless/paperless.esm.js +1 -1
  290. package/dist/sw.js +2 -260
  291. package/dist/sw.js.map +1 -0
  292. package/dist/tailwind/animation.js +17 -0
  293. package/dist/tailwind/backdrop-blur.js +3 -0
  294. package/dist/tailwind/border-radius.js +10 -0
  295. package/dist/tailwind/colors.js +52 -0
  296. package/dist/tailwind/grid.js +26 -0
  297. package/dist/tailwind/rotate.js +8 -0
  298. package/dist/tailwind/scale.js +3 -0
  299. package/dist/tailwind/shadows.js +7 -0
  300. package/dist/tailwind/typography.js +21 -0
  301. package/dist/tailwind/z-index.js +3 -0
  302. package/dist/tailwind.config.js +21 -13
  303. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  304. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  305. package/dist/types/components/atoms/button/button.component.d.ts +14 -1
  306. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  307. package/dist/types/components/atoms/card-container/card-container.component.d.ts +7 -0
  308. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  309. package/dist/types/components/atoms/counter/counter.component.d.ts +3 -0
  310. package/dist/types/components/atoms/divider/divider.component.d.ts +3 -0
  311. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  312. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +7 -0
  313. package/dist/types/components/atoms/helper/helper.component.d.ts +3 -0
  314. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  315. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  316. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  317. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  318. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  319. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  320. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
  321. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  322. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  323. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  324. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  325. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  326. package/dist/types/components/atoms/stepper-step/stepper-step.component.d.ts +19 -0
  327. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +20 -8
  328. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
  329. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  330. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  331. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  332. package/dist/types/components/organisms/modal/modal.component.d.ts +25 -0
  333. package/dist/types/components.d.ts +817 -20
  334. package/dist/types/utils/child-of.d.ts +1 -0
  335. package/dist/types/utils/icons.d.ts +5 -0
  336. package/dist/types/utils/types.d.ts +2 -0
  337. package/dist/workbox-5fe694da.js +2 -0
  338. package/dist/workbox-5fe694da.js.map +1 -0
  339. package/package.json +61 -61
  340. package/dist/build/p-4144f8a0.entry.js +0 -1
  341. package/dist/build/p-c04e9d44.entry.js +0 -1
  342. package/dist/build/p-f33e1285.js +0 -2
  343. package/dist/paperless/p-4144f8a0.entry.js +0 -1
  344. package/dist/paperless/p-c04e9d44.entry.js +0 -1
  345. package/dist/paperless/p-f33e1285.js +0 -2
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>default</title>
4
+ <g id="✔️-Collections" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="⚛️-Atoms---Icons" transform="translate(-299.000000, -1526.000000)" fill="currentColor">
6
+ <g id="Collection---Icons" transform="translate(56.000000, 56.000000)">
7
+ <g id="icons" transform="translate(0.000000, 152.000000)">
8
+ <g id="checklist" transform="translate(0.000000, 1318.000000)">
9
+ <g id="⚛️-Atoms/icons/checklist" transform="translate(243.000000, 0.000000)">
10
+ <path d="M1,0 L3,0 C3.55228475,-1.01453063e-16 4,0.44771525 4,1 L4,3 C4,3.55228475 3.55228475,4 3,4 L1,4 C0.44771525,4 6.76353751e-17,3.55228475 0,3 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z M7,1 L15,1 C15.5522847,1 16,1.44771525 16,2 C16,2.55228475 15.5522847,3 15,3 L7,3 C6.44771525,3 6,2.55228475 6,2 C6,1.44771525 6.44771525,1 7,1 Z M7,7 L15,7 C15.5522847,7 16,7.44771525 16,8 C16,8.55228475 15.5522847,9 15,9 L7,9 C6.44771525,9 6,8.55228475 6,8 C6,7.44771525 6.44771525,7 7,7 Z M7,13 L15,13 C15.5522847,13 16,13.4477153 16,14 C16,14.5522847 15.5522847,15 15,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 Z M1,6 L3,6 C3.55228475,6 4,6.44771525 4,7 L4,9 C4,9.55228475 3.55228475,10 3,10 L1,10 C0.44771525,10 6.76353751e-17,9.55228475 0,9 L0,7 C-6.76353751e-17,6.44771525 0.44771525,6 1,6 Z M1,12 L3,12 C3.55228475,12 4,12.4477153 4,13 L4,15 C4,15.5522847 3.55228475,16 3,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13 C-6.76353751e-17,12.4477153 0.44771525,12 1,12 Z" id="Combined-Shape"></path>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>default</title>
4
+ <g id="✔️-Collections" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="⚛️-Atoms---Icons" transform="translate(-299.000000, -1622.000000)" fill="currentColor">
6
+ <g id="Collection---Icons" transform="translate(56.000000, 56.000000)">
7
+ <g id="icons" transform="translate(0.000000, 152.000000)">
8
+ <g id="projects" transform="translate(0.000000, 1414.000000)">
9
+ <g id="default" transform="translate(243.000000, 0.000000)">
10
+ <g id="⚛️-Atoms/icons/projects" transform="translate(0.000000, 1.000000)">
11
+ <path d="M1,0 L5.58578644,0 C5.85100293,-1.26996481e-15 6.10535684,0.10535684 6.29289322,0.292893219 L7.70710678,1.70710678 C7.89464316,1.89464316 8.14899707,2 8.41421356,2 L15,2 C15.5522847,2 16,2.44771525 16,3 L16,13 C16,13.5522847 15.5522847,14 15,14 L1,14 C0.44771525,14 6.76353751e-17,13.5522847 0,13 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-4.5365845e-16 1,0 Z" id="Combined-Shape"></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </g>
18
+ </g>
19
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>default</title>
4
+ <g id="✔️-Collections" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="⚛️-Atoms---Icons" transform="translate(-299.000000, -1590.000000)" fill="currentColor">
6
+ <g id="Collection---Icons" transform="translate(56.000000, 56.000000)">
7
+ <g id="icons" transform="translate(0.000000, 152.000000)">
8
+ <g id="koppelingen" transform="translate(0.000000, 1382.000000)">
9
+ <g id="⚛️-Atoms/icons/koppelingen" transform="translate(243.000000, 0.000000)">
10
+ <path d="M1,0 L6,0 C6.55228475,-1.01453063e-16 7,0.44771525 7,1 L7,6 C7,6.55228475 6.55228475,7 6,7 L1,7 C0.44771525,7 6.76353751e-17,6.55228475 0,6 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z M1,9 L6,9 C6.55228475,9 7,9.44771525 7,10 L7,15 C7,15.5522847 6.55228475,16 6,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,10 C-6.76353751e-17,9.44771525 0.44771525,9 1,9 Z M10,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,6 C16,6.55228475 15.5522847,7 15,7 L10,7 C9.44771525,7 9,6.55228475 9,6 L9,1 C9,0.44771525 9.44771525,1.01453063e-16 10,0 Z M12.5,9 C13.0522847,9 13.5,9.44771525 13.5,10 L13.5,11.5 L15,11.5 C15.5522847,11.5 16,11.9477153 16,12.5 C16,13.0522847 15.5522847,13.5 15,13.5 L13.5,13.5 L13.5,15 C13.5,15.5522847 13.0522847,16 12.5,16 C11.9477153,16 11.5,15.5522847 11.5,15 L11.5,13.5 L10,13.5 C9.44771525,13.5 9,13.0522847 9,12.5 C9,11.9477153 9.44771525,11.5 10,11.5 L11.5,11.5 L11.5,10 C11.5,9.44771525 11.9477153,9 12.5,9 Z" id="Combined-Shape"></path>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>default</title>
4
+ <g id="✔️-Collections" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="⚛️-Atoms---Icons" transform="translate(-299.000000, -1494.000000)" fill="currentColor">
6
+ <g id="Collection---Icons" transform="translate(56.000000, 56.000000)">
7
+ <g id="icons" transform="translate(0.000000, 152.000000)">
8
+ <g id="task" transform="translate(0.000000, 1286.000000)">
9
+ <g id="⚛️-Atoms/icons/task" transform="translate(243.000000, 0.000000)">
10
+ <path d="M14,0 C15.1045695,-2.02906125e-16 16,0.8954305 16,2 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 1.3527075e-16,15.1045695 0,14 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 L14,0 Z M12.5824067,4.15329919 C12.2191499,3.89109673 11.7287641,3.97276881 11.4568977,4.34074885 L11.4568977,4.34074885 L6.727,10.74 L4.48421797,8.28557606 C4.2033448,7.97804494 3.76334089,7.9304898 3.43345171,8.15708233 L3.34641434,8.22568799 L3.28382396,8.28198278 C3.11439636,8.43435761 3.01189474,8.65551042 3.00097092,8.89225358 C2.9900471,9.12899673 3.07168957,9.35990745 3.22626317,9.52945129 L3.22626317,9.52945129 L6.15124558,12.7298698 C6.40900695,13.0122133 6.80862496,13.0809955 7.13592632,12.899353 C7.28904921,12.8466515 7.42987755,12.7460396 7.5366165,12.6011104 L7.5366165,12.6011104 L12.8282975,5.43729943 C12.9657189,5.25134381 13.0245403,5.01239255 12.9905957,4.77799163 C12.9566512,4.5435907 12.8330171,4.33498317 12.6494679,4.20240741 L12.6494679,4.20240741 Z" id="Combined-Shape"></path>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>default</title>
4
+ <g id="✔️-Collections" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="⚛️-Atoms---Icons" transform="translate(-299.000000, -1558.000000)" fill="currentColor">
6
+ <g id="Collection---Icons" transform="translate(56.000000, 56.000000)">
7
+ <g id="icons" transform="translate(0.000000, 152.000000)">
8
+ <g id="template" transform="translate(0.000000, 1350.000000)">
9
+ <g id="⚛️-Atoms/icons/template" transform="translate(243.000000, 0.000000)">
10
+ <path d="M14,0 C15.1045695,-2.02906125e-16 16,0.8954305 16,2 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 1.3527075e-16,15.1045695 0,14 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 L14,0 Z M8,3 C7.44771525,3 7,3.44771525 7,4 L7,4 L7,7 L4,7 C3.44771525,7 3,7.44771525 3,8 C3,8.55228475 3.44771525,9 4,9 L4,9 L7,9 L7,12 C7,12.5522847 7.44771525,13 8,13 C8.55228475,13 9,12.5522847 9,12 L9,12 L9,9 L12,9 C12.5522847,9 13,8.55228475 13,8 C13,7.44771525 12.5522847,7 12,7 L12,7 L9,7 L9,4 C9,3.44771525 8.55228475,3 8,3 Z" id="Combined-Shape"></path>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32">
2
+ <defs>
3
+ <rect id="a" width="32" height="32" rx="4"/>
4
+ </defs>
5
+ <g fill="none" fill-rule="evenodd">
6
+ <mask id="b" fill="#fff">
7
+ <use xlink:href="#a"/>
8
+ </mask>
9
+ <use fill="#FFE8EA" fill-rule="nonzero" xlink:href="#a"/>
10
+ <path fill="#FF7D88" fill-rule="nonzero" d="M16 20.5l-5.29 2.781 1.01-5.89-4.28-4.172 5.915-.86L16 7l2.645 5.36 5.915.859-4.28 4.172 1.01 5.89z" mask="url(#b)"/>
11
+ </g>
12
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="104" height="104" viewBox="0 0 104 104">
2
+ <defs>
3
+ <rect id="a" width="104" height="104" rx="52"/>
4
+ </defs>
5
+ <g fill="none" fill-rule="evenodd">
6
+ <mask id="b" fill="#fff">
7
+ <use xlink:href="#a"/>
8
+ </mask>
9
+ <use fill="#F7FAFC" xlink:href="#a"/>
10
+ <path fill="#E3ECF3" fill-rule="nonzero" d="M52.5 23C60.717 23 71 29.402 71 42c0 12.598-8.283 23-18.5 23S34 54.598 34 42s10.283-19 18.5-19zM24 77c15-10 41-10 56 0 10 6.667 10 23 0 49H24c-10-26-10-42.333 0-49z" mask="url(#b)"/>
11
+ </g>
12
+ </svg>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 49.2 (51160) - http://www.bohemiancoding.com/sketch -->
4
+ <title>icon - 21</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="icon---21" fill-rule="nonzero">
9
+ <rect id="Rectangle-path" fill="#30C2C9" x="0" y="0" width="12" height="12" rx="3"></rect>
10
+ <g id="icon---21-b-link" transform="translate(4.000000, 2.000000)" fill="#FFFFFF">
11
+ <path d="M4.20169494,2.05088469 C4.20169494,2.90088469 3.68169494,3.31088469 3.41169494,3.53088469 L2.96745401,4.03088469 C2.69745401,4.26088469 2.66745401,4.38088469 2.65745401,4.63088469 L2.64745401,4.96088469 L1.10581057,4.96088469 L1.10581057,4.53088469 C1.08581057,4.08088469 1.58581057,3.36380227 1.83581057,3.16380227 C2.08581057,2.96380227 2.72169494,2.80726703 2.72169494,2.33612319 C2.72169494,1.86497934 2.30756831,1.6573357 1.93756831,1.6573357 C1.56756831,1.6573357 0.94169494,1.88088469 0.79169494,2.03088469 L0,0.9190163 C0.15,0.7690163 0.95649746,0 2.15649746,0 C3.35649746,0 4.20169494,1.20088469 4.20169494,2.05088469 Z M2.96745401,6.46948689 C2.96745401,6.86948689 2.66245401,7.32102543 2.16149746,7.32102543 C1.66054091,7.32102543 1.32164313,6.94462439 1.32164313,6.46948689 C1.32164313,5.99434938 1.53925393,5.67842783 2.16149746,5.67842783 C2.78374099,5.67842783 2.96745401,6.06948689 2.96745401,6.46948689 Z" id="icon---21-b"></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
4
+ <title>helper</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="helper" fill-rule="nonzero">
9
+ <rect id="Rectangle-path" fill="#D0F5F7" x="0" y="0" width="12" height="12" rx="3"></rect>
10
+ <g id="icon---19-b-link" transform="translate(3.000000, 2.000000)" fill="#1EDAE3">
11
+ <path d="M5.03019748,2.07245686 C5.03019748,2.92245686 4.51019748,3.33245686 4.24019748,3.55245686 L3.79595655,4.05245686 C3.52595655,4.28245686 3.49595655,4.40245686 3.48595655,4.65245686 L3.47595655,4.98245686 L1.93431311,4.98245686 L1.93431311,4.55245686 C1.91431311,4.10245686 2.41431311,3.38537444 2.66431311,3.18537444 C2.91431311,2.98537444 3.55019748,2.8288392 3.55019748,2.35769536 C3.55019748,1.88655151 3.13607085,1.67890787 2.76607085,1.67890787 C2.39607085,1.67890787 1.77019748,1.90245686 1.62019748,2.05245686 L0.82850254,0.94058847 C0.97850254,0.79058847 1.785,0.02157217 2.985,0.02157217 C4.185,0.02157217 5.03019748,1.22245686 5.03019748,2.07245686 Z M3.79595655,6.49105906 C3.79595655,6.89105906 3.49095655,7.3425976 2.99,7.3425976 C2.48904345,7.3425976 2.15014567,6.96619656 2.15014567,6.49105906 C2.15014567,6.01592155 2.36775647,5.7 2.99,5.7 C3.61224353,5.7 3.79595655,6.09105906 3.79595655,6.49105906 Z" id="icon---19-b"></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </svg>
@@ -2,9 +2,36 @@
2
2
  "entries": [
3
3
  "./components/atoms/icon/icon.component.js",
4
4
  "./components/atoms/illustration/illustration.component.js",
5
+ "./components/atoms/avatar/avatar.component.js",
6
+ "./components/atoms/avatar-group/avatar-group.component.js",
5
7
  "./components/atoms/button/button.component.js",
8
+ "./components/atoms/card-body/card-body.component.js",
9
+ "./components/atoms/card-container/card-container.component.js",
10
+ "./components/atoms/card-header/card-header.component.js",
11
+ "./components/atoms/counter/counter.component.js",
12
+ "./components/atoms/divider/divider.component.js",
13
+ "./components/atoms/dropdown-menu-container/dropdown-menu-container.component.js",
14
+ "./components/atoms/dropdown-menu-item/dropdown-menu-item.component.js",
15
+ "./components/atoms/helper/helper.component.js",
16
+ "./components/atoms/info-panel/info-panel.component.js",
6
17
  "./components/atoms/loader/loader.component.js",
7
- "./components/atoms/tooltip/tooltip.component.js"
18
+ "./components/atoms/modal-backdrop/modal-backdrop.component.js",
19
+ "./components/atoms/modal-body/modal-body.component.js",
20
+ "./components/atoms/modal-container/modal-container.component.js",
21
+ "./components/atoms/modal-footer/modal-footer.component.js",
22
+ "./components/atoms/modal-header/modal-header.component.js",
23
+ "./components/atoms/pagination-item/pagination-item.component.js",
24
+ "./components/atoms/segment-container/segment-container.component.js",
25
+ "./components/atoms/segment-item/segment-item.component.js",
26
+ "./components/atoms/status/status.component.js",
27
+ "./components/atoms/stepper-line/stepper-line.component.js",
28
+ "./components/atoms/stepper-step/stepper-step.component.js",
29
+ "./components/atoms/tooltip/tooltip.component.js",
30
+ "./components/molecules/dropdown/dropdown.component.js",
31
+ "./components/molecules/navigation-item/navigation-item.component.js",
32
+ "./components/molecules/pagination/pagination.component.js",
33
+ "./components/molecules/stepper/stepper.component.js",
34
+ "./components/organisms/modal/modal.component.js"
8
35
  ],
9
36
  "compiler": {
10
37
  "name": "@stencil/core",
@@ -0,0 +1,24 @@
1
+ p-avatar {
2
+ @apply inline-block;
3
+ }
4
+ p-avatar > img {
5
+ @apply object-cover object-center;
6
+ }
7
+ p-avatar[size=small] > img {
8
+ @apply w-10 h-10;
9
+ }
10
+ p-avatar[size=medium] > img {
11
+ @apply w-20 h-20;
12
+ }
13
+ p-avatar[size=large] > img {
14
+ @apply w-28 h-28;
15
+ }
16
+ p-avatar[variant=company] > img {
17
+ @apply rounded;
18
+ }
19
+ p-avatar[variant=company][size=medium] > img, p-avatar[variant=company][size=large] > img {
20
+ @apply rounded-large;
21
+ }
22
+ p-avatar[variant=user] > img {
23
+ @apply rounded-round;
24
+ } .static{position:static!important}
@@ -0,0 +1,107 @@
1
+ import { Component, h, Host, Prop, State } from '@stencil/core';
2
+ export class Avatar {
3
+ constructor() {
4
+ /**
5
+ * The variant of the avatar
6
+ */
7
+ this.variant = 'user';
8
+ /**
9
+ * The size of the avatar
10
+ */
11
+ this.size = 'medium';
12
+ this._src = this.src;
13
+ }
14
+ render() {
15
+ return (h(Host, { class: "p-avatar" },
16
+ h("img", { src: this._src, onError: () => this._setDefaultLink() })));
17
+ }
18
+ _setDefaultLink() {
19
+ var _a;
20
+ this._src =
21
+ (_a = this.defaultImage) !== null && _a !== void 0 ? _a : (this.variant === 'user'
22
+ ? '/assets/images/avatar/user-default.svg'
23
+ : '/assets/images/avatar/company-default.svg');
24
+ }
25
+ static get is() { return "p-avatar"; }
26
+ static get originalStyleUrls() { return {
27
+ "$": ["avatar.component.scss"]
28
+ }; }
29
+ static get styleUrls() { return {
30
+ "$": ["avatar.component.css"]
31
+ }; }
32
+ static get properties() { return {
33
+ "variant": {
34
+ "type": "string",
35
+ "mutable": false,
36
+ "complexType": {
37
+ "original": "'user' | 'company'",
38
+ "resolved": "\"company\" | \"user\"",
39
+ "references": {}
40
+ },
41
+ "required": false,
42
+ "optional": false,
43
+ "docs": {
44
+ "tags": [],
45
+ "text": "The variant of the avatar"
46
+ },
47
+ "attribute": "variant",
48
+ "reflect": true,
49
+ "defaultValue": "'user'"
50
+ },
51
+ "size": {
52
+ "type": "string",
53
+ "mutable": false,
54
+ "complexType": {
55
+ "original": "'small' | 'medium' | 'large'",
56
+ "resolved": "\"large\" | \"medium\" | \"small\"",
57
+ "references": {}
58
+ },
59
+ "required": false,
60
+ "optional": false,
61
+ "docs": {
62
+ "tags": [],
63
+ "text": "The size of the avatar"
64
+ },
65
+ "attribute": "size",
66
+ "reflect": true,
67
+ "defaultValue": "'medium'"
68
+ },
69
+ "defaultImage": {
70
+ "type": "string",
71
+ "mutable": false,
72
+ "complexType": {
73
+ "original": "string",
74
+ "resolved": "string",
75
+ "references": {}
76
+ },
77
+ "required": false,
78
+ "optional": false,
79
+ "docs": {
80
+ "tags": [],
81
+ "text": "The default image to show on errors"
82
+ },
83
+ "attribute": "default-image",
84
+ "reflect": false
85
+ },
86
+ "src": {
87
+ "type": "string",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "string",
91
+ "resolved": "string",
92
+ "references": {}
93
+ },
94
+ "required": true,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": "The image used for the avatar"
99
+ },
100
+ "attribute": "src",
101
+ "reflect": false
102
+ }
103
+ }; }
104
+ static get states() { return {
105
+ "_src": {}
106
+ }; }
107
+ }
@@ -0,0 +1,18 @@
1
+ p-avatar-group {
2
+ @apply flex -space-x-1 overflow-hidden items-center;
3
+ }
4
+ p-avatar-group p-avatar > img {
5
+ @apply ring-2 ring-white;
6
+ }
7
+ p-avatar-group p-avatar:nth-child(1) {
8
+ z-index: 3;
9
+ }
10
+ p-avatar-group p-avatar:nth-child(2) {
11
+ z-index: 2;
12
+ }
13
+ p-avatar-group p-avatar:nth-child(3) {
14
+ z-index: 1;
15
+ }
16
+ p-avatar-group .extra {
17
+ @apply text-sm text-storm-vague pl-4;
18
+ } .static{position:static!important}
@@ -0,0 +1,36 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class AvatarGroup {
3
+ render() {
4
+ return (h(Host, { class: "p-avatar-group" },
5
+ h("slot", null),
6
+ this.extra && h("span", { class: "extra" },
7
+ "+",
8
+ this.extra)));
9
+ }
10
+ static get is() { return "p-avatar-group"; }
11
+ static get originalStyleUrls() { return {
12
+ "$": ["avatar-group.component.scss"]
13
+ }; }
14
+ static get styleUrls() { return {
15
+ "$": ["avatar-group.component.css"]
16
+ }; }
17
+ static get properties() { return {
18
+ "extra": {
19
+ "type": "number",
20
+ "mutable": false,
21
+ "complexType": {
22
+ "original": "number",
23
+ "resolved": "number",
24
+ "references": {}
25
+ },
26
+ "required": false,
27
+ "optional": false,
28
+ "docs": {
29
+ "tags": [],
30
+ "text": "The amount to show after the avatars"
31
+ },
32
+ "attribute": "extra",
33
+ "reflect": false
34
+ }
35
+ }; }
36
+ }
@@ -68,4 +68,26 @@ p-button > a.size-small {
68
68
  p-button > button[disabled],
69
69
  p-button > a[disabled] {
70
70
  @apply opacity-50;
71
- }
71
+ }
72
+ p-button > button.has-chevron,
73
+ p-button > a.has-chevron {
74
+ @apply pr-2;
75
+ }
76
+ p-button > button.has-chevron.variant-secondary:hover p-icon:last-child,
77
+ p-button > a.has-chevron.variant-secondary:hover p-icon:last-child {
78
+ @apply text-indigo;
79
+ }
80
+ p-button > button.has-icon-only,
81
+ p-button > a.has-icon-only {
82
+ @apply px-2;
83
+ }
84
+ p-button > button.has-icon-only > p-icon:first-child,
85
+ p-button > a.has-icon-only > p-icon:first-child {
86
+ @apply mx-0;
87
+ }
88
+ p-button > button.should-inherit-text,
89
+ p-button > a.should-inherit-text {
90
+ color: inherit !important;
91
+ font-size: inherit !important;
92
+ font-weight: inherit !important;
93
+ } .static{position:static!important}.static{position:static!important}.inline-block{display:inline-block!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-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}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.static{position:static!important}.inline{display:inline!important}.flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}
@@ -1,4 +1,4 @@
1
- import { Component, Event, h, Host, Listen, Prop } from '@stencil/core';
1
+ import { Component, Event, h, Host, Listen, Prop, } from '@stencil/core';
2
2
  export class Button {
3
3
  constructor() {
4
4
  /**
@@ -13,14 +13,26 @@ export class Button {
13
13
  * Wether to show a loader or not
14
14
  */
15
15
  this.loading = false;
16
+ /**
17
+ * Wether to show a chevron or not
18
+ */
19
+ this.chevron = false;
16
20
  /**
17
21
  * Wether the button is disabled
18
22
  */
19
23
  this.disabled = false;
24
+ /**
25
+ * Wether the button is icon only
26
+ */
27
+ this.iconOnly = false;
20
28
  /**
21
29
  * Icon position
22
30
  */
23
31
  this.iconPosition = 'end';
32
+ /**
33
+ * Wether the button should inherit text styles
34
+ */
35
+ this.inheritText = false;
24
36
  }
25
37
  render() {
26
38
  let loaderColor = 'white';
@@ -34,11 +46,16 @@ export class Button {
34
46
  }
35
47
  const VariableTag = this.variant === 'text' ? 'a' : 'button';
36
48
  return (h(Host, { class: "p-button" },
37
- h(VariableTag, { class: `variant-${this.variant} size-${this.size} icon-position-${this.iconPosition}`, disabled: this.disabled, href: this.href, target: this.target },
38
- this.icon && this.iconPosition === 'start' && this._getIcon(),
49
+ h(VariableTag, { class: `variant-${this.variant} size-${this.size} 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 },
50
+ this.icon &&
51
+ this.iconPosition === 'start' &&
52
+ this._getIcon(),
39
53
  h("slot", null),
40
- this.icon && this.iconPosition === 'end' && this._getIcon(),
41
- this.loading && h("p-loader", { color: loaderColor }))));
54
+ this.icon &&
55
+ this.iconPosition === 'end' &&
56
+ this._getIcon(),
57
+ this.loading && h("p-loader", { color: loaderColor }),
58
+ this.chevron && (h("p-icon", { variant: "chevron", rotate: this.chevron === 'up' ? 180 : 0 })))));
42
59
  }
43
60
  handleClick(ev) {
44
61
  if (this.loading || this.disabled) {
@@ -50,7 +67,7 @@ export class Button {
50
67
  if (!this.icon) {
51
68
  return;
52
69
  }
53
- return h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate });
70
+ return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
54
71
  }
55
72
  static get is() { return "p-button"; }
56
73
  static get originalStyleUrls() { return {
@@ -148,6 +165,24 @@ export class Button {
148
165
  "reflect": false,
149
166
  "defaultValue": "false"
150
167
  },
168
+ "chevron": {
169
+ "type": "any",
170
+ "mutable": false,
171
+ "complexType": {
172
+ "original": "boolean | 'up' | 'down'",
173
+ "resolved": "\"down\" | \"up\" | boolean",
174
+ "references": {}
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": "Wether to show a chevron or not"
181
+ },
182
+ "attribute": "chevron",
183
+ "reflect": false,
184
+ "defaultValue": "false"
185
+ },
151
186
  "disabled": {
152
187
  "type": "boolean",
153
188
  "mutable": false,
@@ -171,7 +206,7 @@ export class Button {
171
206
  "mutable": false,
172
207
  "complexType": {
173
208
  "original": "IconVariant",
174
- "resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"grid\" | \"headset\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
209
+ "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\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
175
210
  "references": {
176
211
  "IconVariant": {
177
212
  "location": "import",
@@ -188,6 +223,24 @@ export class Button {
188
223
  "attribute": "icon",
189
224
  "reflect": false
190
225
  },
226
+ "iconOnly": {
227
+ "type": "boolean",
228
+ "mutable": false,
229
+ "complexType": {
230
+ "original": "boolean",
231
+ "resolved": "boolean",
232
+ "references": {}
233
+ },
234
+ "required": false,
235
+ "optional": false,
236
+ "docs": {
237
+ "tags": [],
238
+ "text": "Wether the button is icon only"
239
+ },
240
+ "attribute": "icon-only",
241
+ "reflect": false,
242
+ "defaultValue": "false"
243
+ },
191
244
  "iconPosition": {
192
245
  "type": "string",
193
246
  "mutable": false,
@@ -232,9 +285,14 @@ export class Button {
232
285
  "type": "number",
233
286
  "mutable": false,
234
287
  "complexType": {
235
- "original": "number",
236
- "resolved": "number",
237
- "references": {}
288
+ "original": "RotateOptions",
289
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
290
+ "references": {
291
+ "RotateOptions": {
292
+ "location": "import",
293
+ "path": "../../../utils/types"
294
+ }
295
+ }
238
296
  },
239
297
  "required": false,
240
298
  "optional": false,
@@ -244,6 +302,24 @@ export class Button {
244
302
  },
245
303
  "attribute": "icon-rotate",
246
304
  "reflect": false
305
+ },
306
+ "inheritText": {
307
+ "type": "boolean",
308
+ "mutable": false,
309
+ "complexType": {
310
+ "original": "boolean",
311
+ "resolved": "boolean",
312
+ "references": {}
313
+ },
314
+ "required": false,
315
+ "optional": false,
316
+ "docs": {
317
+ "tags": [],
318
+ "text": "Wether the button should inherit text styles"
319
+ },
320
+ "attribute": "inherit-text",
321
+ "reflect": false,
322
+ "defaultValue": "false"
247
323
  }
248
324
  }; }
249
325
  static get events() { return [{
@@ -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.should-inherit-text {
6
+ color: inherit !important;
7
+ font-size: inherit !important;
8
+ font-weight: inherit !important;
9
+ } .static{position:static!important}
@@ -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 ${this.inheritText && 'should-inherit-text'}` },
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": false,
37
+ "defaultValue": "false"
38
+ }
39
+ }; }
40
+ }