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

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 (373) hide show
  1. package/CHANGELOG.md +463 -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-2a3dd70b.entry.js +1 -0
  19. package/dist/build/p-2c23d197.entry.js +1 -0
  20. package/dist/build/p-2c7eebe0.entry.js +1 -0
  21. package/dist/build/p-30026c58.entry.js +1 -0
  22. package/dist/build/p-3b491ca2.entry.js +1 -0
  23. package/dist/build/p-3f6d3736.entry.js +1 -0
  24. package/dist/build/p-4a85b858.entry.js +1 -0
  25. package/dist/build/p-5101f35f.entry.js +1 -0
  26. package/dist/build/p-5438d70e.entry.js +1 -0
  27. package/dist/build/p-67fc89a6.entry.js +1 -0
  28. package/dist/build/p-6e60b92a.entry.js +1 -0
  29. package/dist/build/p-7784ee14.entry.js +1 -0
  30. package/dist/build/p-7cf04cb4.entry.js +1 -0
  31. package/dist/build/p-7e05bc4b.entry.js +1 -0
  32. package/dist/build/p-864ac423.entry.js +1 -0
  33. package/dist/build/p-a69581db.entry.js +1 -0
  34. package/dist/build/p-a7086ffa.js +1 -0
  35. package/dist/build/p-b68368f3.entry.js +1 -0
  36. package/dist/build/p-c64e2313.entry.js +1 -0
  37. package/dist/build/p-ccbddcbb.entry.js +1 -0
  38. package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  39. package/dist/build/p-f50c6e5b.entry.js +1 -0
  40. package/dist/build/p-fb1e33eb.entry.js +1 -0
  41. package/dist/build/p-ffeed7c6.entry.js +1 -0
  42. package/dist/build/paperless.css +29 -18
  43. package/dist/build/paperless.esm.js +1 -1
  44. package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +213 -3
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  47. package/dist/cjs/p-avatar.cjs.entry.js +38 -0
  48. package/dist/cjs/p-button_3.cjs.entry.js +162 -17
  49. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  50. package/dist/cjs/p-card-container.cjs.entry.js +23 -0
  51. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  52. package/dist/cjs/p-counter.cjs.entry.js +19 -0
  53. package/dist/cjs/p-divider.cjs.entry.js +19 -0
  54. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  55. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  56. package/dist/cjs/p-dropdown.cjs.entry.js +141 -0
  57. package/dist/cjs/p-helper.cjs.entry.js +19 -0
  58. package/dist/cjs/p-illustration.cjs.entry.js +9 -12
  59. package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
  60. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
  61. package/dist/cjs/p-modal.cjs.entry.js +39 -0
  62. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  63. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  64. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  65. package/dist/cjs/p-profile.cjs.entry.js +26 -0
  66. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  67. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  68. package/dist/cjs/p-status.cjs.entry.js +49 -0
  69. package/dist/cjs/p-stepper-line_2.cjs.entry.js +56 -0
  70. package/dist/cjs/p-stepper.cjs.entry.js +72 -0
  71. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  72. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  73. package/dist/cjs/p-tooltip.cjs.entry.js +75 -1811
  74. package/dist/cjs/paperless.cjs.js +2 -2
  75. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  76. package/dist/collection/assets/icons/checklist.svg +17 -0
  77. package/dist/collection/assets/icons/folder.svg +19 -0
  78. package/dist/collection/assets/icons/integration.svg +17 -0
  79. package/dist/collection/assets/icons/task.svg +17 -0
  80. package/dist/collection/assets/icons/template.svg +17 -0
  81. package/dist/collection/assets/images/avatar/company-default.svg +12 -0
  82. package/dist/collection/assets/images/avatar/user-default.svg +12 -0
  83. package/dist/collection/assets/images/helper/helper-hover.svg +15 -0
  84. package/dist/collection/assets/images/helper/helper.svg +15 -0
  85. package/dist/collection/collection-manifest.json +31 -1
  86. package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
  87. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -0
  88. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  89. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  90. package/dist/collection/components/atoms/button/button.component.css +23 -1
  91. package/dist/collection/components/atoms/button/button.component.js +86 -10
  92. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  93. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  94. package/dist/collection/components/atoms/card-container/card-container.component.css +13 -0
  95. package/dist/collection/components/atoms/card-container/card-container.component.js +41 -0
  96. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  97. package/dist/collection/components/atoms/card-header/card-header.component.js +60 -0
  98. package/dist/collection/components/atoms/counter/counter.component.css +5 -0
  99. package/dist/collection/components/atoms/counter/counter.component.js +15 -0
  100. package/dist/collection/components/atoms/divider/divider.component.css +3 -0
  101. package/dist/collection/components/atoms/divider/divider.component.js +14 -0
  102. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -0
  103. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  104. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  105. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +41 -0
  106. package/dist/collection/components/atoms/helper/helper.component.css +7 -0
  107. package/dist/collection/components/atoms/helper/helper.component.js +18 -0
  108. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  109. package/dist/collection/components/atoms/icon/icon.component.js +63 -20
  110. package/dist/collection/components/atoms/illustration/illustration.component.js +2 -9
  111. package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
  112. package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
  113. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  114. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  115. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  116. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  117. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  118. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  119. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  120. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  121. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  122. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  123. package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
  124. package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
  125. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  126. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  127. package/dist/collection/components/atoms/profile/profile.component.css +13 -0
  128. package/dist/collection/components/atoms/profile/profile.component.js +25 -0
  129. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  130. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  131. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  132. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  133. package/dist/collection/components/atoms/status/status.component.css +16 -0
  134. package/dist/collection/components/atoms/status/status.component.js +133 -0
  135. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  136. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  137. package/dist/collection/components/atoms/stepper-step/stepper-step.component.css +59 -0
  138. package/dist/collection/components/atoms/stepper-step/stepper-step.component.js +109 -0
  139. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  140. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  141. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  142. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  143. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  144. package/dist/collection/components/atoms/tooltip/tooltip.component.js +133 -35
  145. package/dist/collection/components/molecules/dropdown/dropdown.component.css +9 -0
  146. package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
  147. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -0
  148. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  149. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  150. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  151. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  152. package/dist/collection/components/molecules/stepper/stepper.component.js +107 -0
  153. package/dist/collection/components/organisms/modal/modal.component.js +111 -0
  154. package/dist/collection/tailwind/animation.js +17 -0
  155. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  156. package/dist/collection/tailwind/border-radius.js +8 -6
  157. package/dist/collection/tailwind/grid.js +24 -4
  158. package/dist/collection/tailwind/typography.js +21 -0
  159. package/dist/collection/tailwind/z-index.js +3 -0
  160. package/dist/collection/tailwind.config.js +21 -13
  161. package/dist/collection/utils/child-of.js +5 -0
  162. package/dist/collection/utils/icons.js +10 -0
  163. package/dist/collection/utils/types.js +1 -0
  164. package/dist/components/avatar.component.js +54 -0
  165. package/dist/components/counter.component.js +30 -0
  166. package/dist/components/divider.component.js +30 -0
  167. package/dist/components/dropdown-menu-container.component.js +29 -0
  168. package/dist/components/icon.component.js +137 -9
  169. package/dist/components/index.d.ts +30 -0
  170. package/dist/components/index.js +30 -0
  171. package/dist/components/loader.component.js +5 -4
  172. package/dist/components/modal-backdrop.component.js +30 -0
  173. package/dist/components/modal-body.component.js +36 -0
  174. package/dist/components/modal-container.component.js +48 -0
  175. package/dist/components/modal-footer.component.js +36 -0
  176. package/dist/components/modal-header.component.js +30 -0
  177. package/dist/components/p-avatar-group.d.ts +11 -0
  178. package/dist/components/p-avatar-group.js +34 -0
  179. package/dist/components/p-avatar.d.ts +11 -0
  180. package/dist/components/p-avatar.js +6 -0
  181. package/dist/components/p-button.js +23 -4
  182. package/dist/components/p-card-body.d.ts +11 -0
  183. package/dist/components/p-card-body.js +38 -0
  184. package/dist/components/p-card-container.d.ts +11 -0
  185. package/dist/components/p-card-container.js +39 -0
  186. package/dist/components/p-card-header.d.ts +11 -0
  187. package/dist/components/p-card-header.js +46 -0
  188. package/dist/components/p-counter.d.ts +11 -0
  189. package/dist/components/p-counter.js +6 -0
  190. package/dist/components/p-divider.d.ts +11 -0
  191. package/dist/components/p-divider.js +6 -0
  192. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  193. package/dist/components/p-dropdown-menu-container.js +6 -0
  194. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  195. package/dist/components/p-dropdown-menu-item.js +39 -0
  196. package/dist/components/p-dropdown.d.ts +11 -0
  197. package/dist/components/p-dropdown.js +166 -0
  198. package/dist/components/p-helper.d.ts +11 -0
  199. package/dist/components/p-helper.js +39 -0
  200. package/dist/components/p-illustration.js +0 -4
  201. package/dist/components/p-info-panel.d.ts +11 -0
  202. package/dist/components/p-info-panel.js +56 -0
  203. package/dist/components/p-modal-backdrop.d.ts +11 -0
  204. package/dist/components/p-modal-backdrop.js +6 -0
  205. package/dist/components/p-modal-body.d.ts +11 -0
  206. package/dist/components/p-modal-body.js +6 -0
  207. package/dist/components/p-modal-container.d.ts +11 -0
  208. package/dist/components/p-modal-container.js +6 -0
  209. package/dist/components/p-modal-footer.d.ts +11 -0
  210. package/dist/components/p-modal-footer.js +6 -0
  211. package/dist/components/p-modal-header.d.ts +11 -0
  212. package/dist/components/p-modal-header.js +6 -0
  213. package/dist/components/p-modal.d.ts +11 -0
  214. package/dist/components/p-modal.js +94 -0
  215. package/dist/components/p-navigation-item.d.ts +11 -0
  216. package/dist/components/p-navigation-item.js +55 -0
  217. package/dist/components/p-pagination-item.d.ts +11 -0
  218. package/dist/components/p-pagination-item.js +6 -0
  219. package/dist/components/p-pagination.d.ts +11 -0
  220. package/dist/components/p-pagination.js +200 -0
  221. package/dist/components/p-profile.d.ts +11 -0
  222. package/dist/components/p-profile.js +46 -0
  223. package/dist/components/p-segment-container.d.ts +11 -0
  224. package/dist/components/p-segment-container.js +32 -0
  225. package/dist/components/p-segment-item.d.ts +11 -0
  226. package/dist/components/p-segment-item.js +54 -0
  227. package/dist/components/p-status.d.ts +11 -0
  228. package/dist/components/p-status.js +73 -0
  229. package/dist/components/p-stepper-line.d.ts +11 -0
  230. package/dist/components/p-stepper-line.js +6 -0
  231. package/dist/components/p-stepper-step.d.ts +11 -0
  232. package/dist/components/p-stepper-step.js +6 -0
  233. package/dist/components/p-stepper.d.ts +11 -0
  234. package/dist/components/p-stepper.js +107 -0
  235. package/dist/components/p-tab-group.d.ts +11 -0
  236. package/dist/components/p-tab-group.js +39 -0
  237. package/dist/components/p-tab-item.d.ts +11 -0
  238. package/dist/components/p-tab-item.js +39 -0
  239. package/dist/components/p-tooltip.js +1 -1886
  240. package/dist/components/pagination-item.component.js +36 -0
  241. package/dist/components/popper.js +1788 -0
  242. package/dist/components/stepper-line.component.js +41 -0
  243. package/dist/components/stepper-step.component.js +57 -0
  244. package/dist/components/tooltip.component.js +154 -0
  245. package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +213 -3
  246. package/dist/esm/loader.js +2 -2
  247. package/dist/esm/p-avatar-group.entry.js +15 -0
  248. package/dist/esm/p-avatar.entry.js +34 -0
  249. package/dist/esm/p-button_3.entry.js +162 -17
  250. package/dist/esm/p-card-body.entry.js +19 -0
  251. package/dist/esm/p-card-container.entry.js +19 -0
  252. package/dist/esm/p-card-header.entry.js +20 -0
  253. package/dist/esm/p-counter.entry.js +15 -0
  254. package/dist/esm/p-divider.entry.js +15 -0
  255. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  256. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  257. package/dist/esm/p-dropdown.entry.js +137 -0
  258. package/dist/esm/p-helper.entry.js +15 -0
  259. package/dist/esm/p-illustration.entry.js +9 -12
  260. package/dist/esm/p-info-panel.entry.js +27 -0
  261. package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
  262. package/dist/esm/p-modal.entry.js +35 -0
  263. package/dist/esm/p-navigation-item.entry.js +19 -0
  264. package/dist/esm/p-pagination-item.entry.js +19 -0
  265. package/dist/esm/p-pagination.entry.js +167 -0
  266. package/dist/esm/p-profile.entry.js +22 -0
  267. package/dist/esm/p-segment-container.entry.js +15 -0
  268. package/dist/esm/p-segment-item.entry.js +25 -0
  269. package/dist/esm/p-status.entry.js +45 -0
  270. package/dist/esm/p-stepper-line_2.entry.js +51 -0
  271. package/dist/esm/p-stepper.entry.js +68 -0
  272. package/dist/esm/p-tab-group.entry.js +15 -0
  273. package/dist/esm/p-tab-item.entry.js +19 -0
  274. package/dist/esm/p-tooltip.entry.js +75 -1811
  275. package/dist/esm/paperless.js +2 -2
  276. package/dist/esm/polyfills/core-js.js +0 -0
  277. package/dist/esm/polyfills/dom.js +0 -0
  278. package/dist/esm/polyfills/es5-html-element.js +0 -0
  279. package/dist/esm/polyfills/index.js +0 -0
  280. package/dist/esm/polyfills/system.js +0 -0
  281. package/dist/esm/popper-41c6f9cd.js +1788 -0
  282. package/dist/index.html +1 -1
  283. package/dist/paperless/p-0100c1a2.js +2 -0
  284. package/dist/paperless/p-0fc4e043.entry.js +1 -0
  285. package/dist/paperless/p-11d24001.entry.js +1 -0
  286. package/dist/paperless/p-19254809.entry.js +1 -0
  287. package/dist/paperless/p-2120a0b7.entry.js +1 -0
  288. package/dist/paperless/p-27914eed.entry.js +1 -0
  289. package/dist/paperless/p-2a3dd70b.entry.js +1 -0
  290. package/dist/paperless/p-2c23d197.entry.js +1 -0
  291. package/dist/paperless/p-2c7eebe0.entry.js +1 -0
  292. package/dist/paperless/p-30026c58.entry.js +1 -0
  293. package/dist/paperless/p-3b491ca2.entry.js +1 -0
  294. package/dist/paperless/p-3f6d3736.entry.js +1 -0
  295. package/dist/paperless/p-4a85b858.entry.js +1 -0
  296. package/dist/paperless/p-5101f35f.entry.js +1 -0
  297. package/dist/paperless/p-5438d70e.entry.js +1 -0
  298. package/dist/paperless/p-67fc89a6.entry.js +1 -0
  299. package/dist/paperless/p-6e60b92a.entry.js +1 -0
  300. package/dist/paperless/p-7784ee14.entry.js +1 -0
  301. package/dist/paperless/p-7cf04cb4.entry.js +1 -0
  302. package/dist/paperless/p-7e05bc4b.entry.js +1 -0
  303. package/dist/paperless/p-864ac423.entry.js +1 -0
  304. package/dist/paperless/p-a69581db.entry.js +1 -0
  305. package/dist/paperless/p-a7086ffa.js +1 -0
  306. package/dist/paperless/p-b68368f3.entry.js +1 -0
  307. package/dist/paperless/p-c64e2313.entry.js +1 -0
  308. package/dist/paperless/p-ccbddcbb.entry.js +1 -0
  309. package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  310. package/dist/paperless/p-f50c6e5b.entry.js +1 -0
  311. package/dist/paperless/p-fb1e33eb.entry.js +1 -0
  312. package/dist/paperless/p-ffeed7c6.entry.js +1 -0
  313. package/dist/paperless/paperless.css +82 -26376
  314. package/dist/paperless/paperless.esm.js +1 -1
  315. package/dist/sw.js +2 -260
  316. package/dist/sw.js.map +1 -0
  317. package/dist/tailwind/animation.js +17 -0
  318. package/dist/tailwind/backdrop-blur.js +3 -0
  319. package/dist/tailwind/border-radius.js +10 -0
  320. package/dist/tailwind/colors.js +52 -0
  321. package/dist/tailwind/grid.js +26 -0
  322. package/dist/tailwind/rotate.js +8 -0
  323. package/dist/tailwind/scale.js +3 -0
  324. package/dist/tailwind/shadows.js +7 -0
  325. package/dist/tailwind/typography.js +21 -0
  326. package/dist/tailwind/z-index.js +3 -0
  327. package/dist/tailwind.config.js +21 -13
  328. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  329. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  330. package/dist/types/components/atoms/button/button.component.d.ts +14 -1
  331. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  332. package/dist/types/components/atoms/card-container/card-container.component.d.ts +7 -0
  333. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  334. package/dist/types/components/atoms/counter/counter.component.d.ts +3 -0
  335. package/dist/types/components/atoms/divider/divider.component.d.ts +3 -0
  336. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  337. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +7 -0
  338. package/dist/types/components/atoms/helper/helper.component.d.ts +3 -0
  339. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  340. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  341. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  342. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  343. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  344. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  345. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
  346. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  347. package/dist/types/components/atoms/profile/profile.component.d.ts +8 -0
  348. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  349. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  350. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  351. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  352. package/dist/types/components/atoms/stepper-step/stepper-step.component.d.ts +19 -0
  353. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  354. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  355. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +20 -8
  356. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
  357. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  358. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  359. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  360. package/dist/types/components/organisms/modal/modal.component.d.ts +25 -0
  361. package/dist/types/components.d.ts +864 -20
  362. package/dist/types/utils/child-of.d.ts +1 -0
  363. package/dist/types/utils/icons.d.ts +5 -0
  364. package/dist/types/utils/types.d.ts +2 -0
  365. package/dist/workbox-5fe694da.js +2 -0
  366. package/dist/workbox-5fe694da.js.map +1 -0
  367. package/package.json +61 -61
  368. package/dist/build/p-4144f8a0.entry.js +0 -1
  369. package/dist/build/p-c04e9d44.entry.js +0 -1
  370. package/dist/build/p-f33e1285.js +0 -2
  371. package/dist/paperless/p-4144f8a0.entry.js +0 -1
  372. package/dist/paperless/p-c04e9d44.entry.js +0 -1
  373. package/dist/paperless/p-f33e1285.js +0 -2
@@ -13,7 +13,7 @@
13
13
  @apply fixed top-0 left-0 w-screen h-screen;
14
14
  @apply flex items-center justify-center;
15
15
  @apply bg-mystic;
16
- z-index: 9999;
16
+ z-index: 1001;
17
17
  }
18
18
  :host .loading-screen .content {
19
19
  @apply max-w-xs;
@@ -23,4 +23,4 @@
23
23
  }
24
24
  :host .loading-screen .content .loader-wrapper .loader {
25
25
  @apply text-4xl;
26
- }
26
+ } .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}.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}
@@ -27,13 +27,14 @@ export class Loader {
27
27
  return;
28
28
  }
29
29
  if (this.variant === 'full-screen') {
30
- return (h(Host, { class: "p-loader" },
30
+ return (h(Host, { class: "p-loader variant-full-screen" },
31
31
  h("div", { class: "loading-screen" },
32
32
  h("div", { class: "content" },
33
33
  h("slot", null),
34
34
  h("div", { class: "loader-wrapper" }, this._loader)))));
35
35
  }
36
- return h(Host, { class: `p-loader ${this.variant === 'full-width' && 'w-100 d-block flex justify-center text-4xl'}` }, this._loader);
36
+ return (h(Host, { class: `p-loader flex ${this.variant === 'full-width' &&
37
+ 'w-full flex justify-center text-4xl'}` }, this._loader));
37
38
  }
38
39
  _checkShow() {
39
40
  var _a;
@@ -42,7 +43,7 @@ export class Loader {
42
43
  this._showSubscriber = null;
43
44
  }
44
45
  if (typeof this.show !== 'boolean') {
45
- this._showSubscriber = (_a = this.show) === null || _a === void 0 ? void 0 : _a.subscribe(show => (this._show = show));
46
+ this._showSubscriber = (_a = this.show) === null || _a === void 0 ? void 0 : _a.subscribe((show) => (this._show = show));
46
47
  return;
47
48
  }
48
49
  this._show = this.show;
@@ -0,0 +1,7 @@
1
+ :host {
2
+ @apply fixed top-0 left-0 z-modal;
3
+ @apply h-screen w-screen p-16;
4
+ @apply backdrop-blur-xs bg-storm/50;
5
+ @apply flex justify-center items-center;
6
+ @apply animate-fade-in;
7
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,15 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalBackdrop {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-backdrop" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-modal-backdrop"; }
8
+ static get encapsulation() { return "shadow"; }
9
+ static get originalStyleUrls() { return {
10
+ "$": ["modal-backdrop.component.scss"]
11
+ }; }
12
+ static get styleUrls() { return {
13
+ "$": ["modal-backdrop.component.css"]
14
+ }; }
15
+ }
@@ -0,0 +1,7 @@
1
+ :host {
2
+ @apply px-14 py-6;
3
+ }
4
+
5
+ :host(.variant-table) {
6
+ @apply px-6;
7
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,41 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class ModalBody {
3
+ constructor() {
4
+ /**
5
+ * The variant of the modal body
6
+ */
7
+ this.variant = 'default';
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-modal-body variant-${this.variant}` },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-modal-body"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() { return {
16
+ "$": ["modal-body.component.scss"]
17
+ }; }
18
+ static get styleUrls() { return {
19
+ "$": ["modal-body.component.css"]
20
+ }; }
21
+ static get properties() { return {
22
+ "variant": {
23
+ "type": "string",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "'default' | 'table'",
27
+ "resolved": "\"default\" | \"table\"",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": "The variant of the modal body"
35
+ },
36
+ "attribute": "variant",
37
+ "reflect": false,
38
+ "defaultValue": "'default'"
39
+ }
40
+ }; }
41
+ }
@@ -0,0 +1,6 @@
1
+ p-modal-container {
2
+ @apply flex flex-col;
3
+ @apply bg-white rounded-xxlarge;
4
+ @apply overflow-hidden;
5
+ @apply shadow-4 !important;
6
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}
@@ -0,0 +1,53 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ // $modal-xs: 20rem;
3
+ // $modal-sm: 33.5rem;
4
+ // $modal-md: 38rem;
5
+ // $modal-lg: 47.5rem;
6
+ // $modal-xl: 57.5rem;
7
+ const modalSizes = {
8
+ xs: 'w-80',
9
+ sm: 'w-[33.5rem]',
10
+ md: 'w-[38rem]',
11
+ lg: 'w-[47.5rem]',
12
+ xl: 'w-[57.5rem]',
13
+ };
14
+ export class ModalContainer {
15
+ constructor() {
16
+ /**
17
+ * The size of the modal container
18
+ */
19
+ this.size = 'md';
20
+ }
21
+ render() {
22
+ const sizeClass = modalSizes[this.size];
23
+ return (h(Host, { class: `p-modal-container ${sizeClass}` },
24
+ h("slot", null)));
25
+ }
26
+ static get is() { return "p-modal-container"; }
27
+ static get originalStyleUrls() { return {
28
+ "$": ["modal-container.component.scss"]
29
+ }; }
30
+ static get styleUrls() { return {
31
+ "$": ["modal-container.component.css"]
32
+ }; }
33
+ static get properties() { return {
34
+ "size": {
35
+ "type": "string",
36
+ "mutable": false,
37
+ "complexType": {
38
+ "original": "'sm' | 'md' | 'lg' | 'xl'",
39
+ "resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
40
+ "references": {}
41
+ },
42
+ "required": false,
43
+ "optional": false,
44
+ "docs": {
45
+ "tags": [],
46
+ "text": "The size of the modal container"
47
+ },
48
+ "attribute": "size",
49
+ "reflect": false,
50
+ "defaultValue": "'md'"
51
+ }
52
+ }; }
53
+ }
@@ -0,0 +1,4 @@
1
+ :host {
2
+ @apply flex flex-col;
3
+ @apply pb-6 px-6;
4
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}
@@ -0,0 +1,16 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalFooter {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-footer" },
5
+ h("p-divider", { class: "mb-6 mt-0" }),
6
+ h("slot", null)));
7
+ }
8
+ static get is() { return "p-modal-footer"; }
9
+ static get encapsulation() { return "shadow"; }
10
+ static get originalStyleUrls() { return {
11
+ "$": ["modal-footer.component.scss"]
12
+ }; }
13
+ static get styleUrls() { return {
14
+ "$": ["modal-footer.component.css"]
15
+ }; }
16
+ }
@@ -0,0 +1,6 @@
1
+ :host {
2
+ @apply bg-mystic;
3
+ @apply block px-8 py-6;
4
+ @apply text-storm-dark text-3xl font-bold;
5
+ @apply border-b border-b-mystic-medium !important;
6
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,15 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalHeader {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-header" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-modal-header"; }
8
+ static get encapsulation() { return "shadow"; }
9
+ static get originalStyleUrls() { return {
10
+ "$": ["modal-header.component.scss"]
11
+ }; }
12
+ static get styleUrls() { return {
13
+ "$": ["modal-header.component.css"]
14
+ }; }
15
+ }
@@ -0,0 +1,16 @@
1
+ :host {
2
+ @apply h-8 w-8;
3
+ @apply flex justify-center items-center;
4
+ @apply font-semibold text-storm-medium text-sm;
5
+ @apply rounded;
6
+ @apply cursor-pointer;
7
+ }
8
+
9
+ :host(:hover),
10
+ :host(:focus) {
11
+ @apply text-storm;
12
+ }
13
+
14
+ :host(.active) {
15
+ @apply text-indigo bg-indigo-light;
16
+ } .static{position:static!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,41 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class PaginationItem {
3
+ constructor() {
4
+ /**
5
+ * Wether the pagination item is active
6
+ */
7
+ this.active = false;
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-pagination-item ${this.active && 'active'}` },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-pagination-item"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() { return {
16
+ "$": ["pagination-item.component.scss"]
17
+ }; }
18
+ static get styleUrls() { return {
19
+ "$": ["pagination-item.component.css"]
20
+ }; }
21
+ static get properties() { return {
22
+ "active": {
23
+ "type": "boolean",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "boolean",
27
+ "resolved": "boolean",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": "Wether the pagination item is active"
35
+ },
36
+ "attribute": "active",
37
+ "reflect": false,
38
+ "defaultValue": "false"
39
+ }
40
+ }; }
41
+ }
@@ -0,0 +1,13 @@
1
+ :host {
2
+ @apply flex gap-4 items-center;
3
+ }
4
+ :host .name {
5
+ @apply flex flex-col justify-center;
6
+ }
7
+ :host .name > *:nth-child(1) {
8
+ @apply text-sm text-storm-dark;
9
+ @apply font-semibold;
10
+ }
11
+ :host .name > *:nth-child(2) {
12
+ @apply text-sm text-storm-vague;
13
+ } .static{position:static!important}.flex{display:flex!important}
@@ -0,0 +1,25 @@
1
+ import { Component, Element, h, Host } from '@stencil/core';
2
+ export class Profile {
3
+ render() {
4
+ const avatar = this._generateAvatar();
5
+ return (h(Host, { class: "p-profile" },
6
+ avatar,
7
+ h("div", { class: "name" },
8
+ h("slot", { name: "title" }),
9
+ h("slot", { name: "subtitle" }))));
10
+ }
11
+ _generateAvatar() {
12
+ var _a, _b;
13
+ const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
14
+ return (h("p-avatar", { class: "flex", src: (_a = avatar.src) !== null && _a !== void 0 ? _a : null, "default-image": (_b = avatar.defaultImage) !== null && _b !== void 0 ? _b : null, variant: avatar.variant, size: "small" }));
15
+ }
16
+ static get is() { return "p-profile"; }
17
+ static get encapsulation() { return "shadow"; }
18
+ static get originalStyleUrls() { return {
19
+ "$": ["profile.component.scss"]
20
+ }; }
21
+ static get styleUrls() { return {
22
+ "$": ["profile.component.css"]
23
+ }; }
24
+ static get elementRef() { return "_el"; }
25
+ }
@@ -0,0 +1,5 @@
1
+ p-segment-container {
2
+ @apply flex bg-white rounded;
3
+ @apply filter drop-shadow-4;
4
+ @apply h-8 p-1;
5
+ } .static{position:static!important}
@@ -0,0 +1,14 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class SegmentContainer {
3
+ render() {
4
+ return (h(Host, { class: "p-segment-container" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-segment-container"; }
8
+ static get originalStyleUrls() { return {
9
+ "$": ["segment-container.component.scss"]
10
+ }; }
11
+ static get styleUrls() { return {
12
+ "$": ["segment-container.component.css"]
13
+ }; }
14
+ }
@@ -0,0 +1,21 @@
1
+ :host {
2
+ @apply h-6 flex items-center px-2 rounded font-medium mr-1;
3
+ @apply text-storm-light text-sm;
4
+ @apply cursor-pointer;
5
+ }
6
+
7
+ :host(.variant-icon) {
8
+ @apply w-6 justify-center px-0;
9
+ }
10
+
11
+ :host(:hover) {
12
+ @apply text-storm-medium;
13
+ }
14
+
15
+ :host(.active) {
16
+ @apply text-indigo bg-indigo-light;
17
+ }
18
+
19
+ :host(:last-child) {
20
+ @apply mr-0;
21
+ } .static{position:static!important}
@@ -0,0 +1,112 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class SegmentItem {
3
+ constructor() {
4
+ /**
5
+ * Wether the segment item is active
6
+ */
7
+ this.active = false;
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-segment-item variant-${this.icon ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon ? this._getIcon() : h("slot", null)));
11
+ }
12
+ _getIcon() {
13
+ if (!this.icon) {
14
+ return;
15
+ }
16
+ return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
17
+ }
18
+ static get is() { return "p-segment-item"; }
19
+ static get encapsulation() { return "shadow"; }
20
+ static get originalStyleUrls() { return {
21
+ "$": ["segment-item.component.scss"]
22
+ }; }
23
+ static get styleUrls() { return {
24
+ "$": ["segment-item.component.css"]
25
+ }; }
26
+ static get properties() { return {
27
+ "active": {
28
+ "type": "boolean",
29
+ "mutable": false,
30
+ "complexType": {
31
+ "original": "boolean",
32
+ "resolved": "boolean",
33
+ "references": {}
34
+ },
35
+ "required": false,
36
+ "optional": false,
37
+ "docs": {
38
+ "tags": [],
39
+ "text": "Wether the segment item is active"
40
+ },
41
+ "attribute": "active",
42
+ "reflect": false,
43
+ "defaultValue": "false"
44
+ },
45
+ "icon": {
46
+ "type": "string",
47
+ "mutable": false,
48
+ "complexType": {
49
+ "original": "IconVariant",
50
+ "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\"",
51
+ "references": {
52
+ "IconVariant": {
53
+ "location": "import",
54
+ "path": "../icon/icon.component"
55
+ }
56
+ }
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": "Icon to show on the segment item"
63
+ },
64
+ "attribute": "icon",
65
+ "reflect": false
66
+ },
67
+ "iconFlip": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "IconFlipOptions",
72
+ "resolved": "\"horizontal\" | \"vertical\"",
73
+ "references": {
74
+ "IconFlipOptions": {
75
+ "location": "import",
76
+ "path": "../icon/icon.component"
77
+ }
78
+ }
79
+ },
80
+ "required": false,
81
+ "optional": false,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": "Icon flip"
85
+ },
86
+ "attribute": "icon-flip",
87
+ "reflect": false
88
+ },
89
+ "iconRotate": {
90
+ "type": "number",
91
+ "mutable": false,
92
+ "complexType": {
93
+ "original": "RotateOptions",
94
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
95
+ "references": {
96
+ "RotateOptions": {
97
+ "location": "import",
98
+ "path": "../../../utils/types"
99
+ }
100
+ }
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Icon rotate"
107
+ },
108
+ "attribute": "icon-rotate",
109
+ "reflect": false
110
+ }
111
+ }; }
112
+ }
@@ -0,0 +1,16 @@
1
+ p-status {
2
+ @apply flex items-center;
3
+ @apply text-sm text-storm-vague font-medium;
4
+ }
5
+ p-status p-icon {
6
+ @apply mr-2 text-base;
7
+ }
8
+ p-status.variant-positive {
9
+ @apply text-positive;
10
+ }
11
+ p-status.variant-unbiased {
12
+ @apply text-unbiased;
13
+ }
14
+ p-status.variant-negative {
15
+ @apply text-negative;
16
+ } .static{position:static!important}
@@ -0,0 +1,133 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class Status {
3
+ constructor() {
4
+ /**
5
+ * The variant of the status
6
+ */
7
+ this.variant = 'default';
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-status variant-${this.variant}
11
+ }` },
12
+ this._getIcon(),
13
+ h("slot", null)));
14
+ }
15
+ _getIcon() {
16
+ const icon = this.icon || this._getVariantIcon();
17
+ if (!icon) {
18
+ return;
19
+ }
20
+ return (h("p-icon", { variant: icon, flip: this.iconFlip, rotate: this.iconRotate }));
21
+ }
22
+ _getVariantIcon() {
23
+ let icon = null;
24
+ switch (this.variant) {
25
+ case 'positive':
26
+ icon = 'checkmark';
27
+ break;
28
+ case 'negative':
29
+ icon = 'negative';
30
+ break;
31
+ case 'unbiased':
32
+ icon = 'clock';
33
+ break;
34
+ default:
35
+ icon = null;
36
+ break;
37
+ }
38
+ return icon;
39
+ }
40
+ static get is() { return "p-status"; }
41
+ static get originalStyleUrls() { return {
42
+ "$": ["status.component.scss"]
43
+ }; }
44
+ static get styleUrls() { return {
45
+ "$": ["status.component.css"]
46
+ }; }
47
+ static get properties() { return {
48
+ "variant": {
49
+ "type": "string",
50
+ "mutable": false,
51
+ "complexType": {
52
+ "original": "'default' | 'positive' | 'unbiased' | 'negative'",
53
+ "resolved": "\"default\" | \"negative\" | \"positive\" | \"unbiased\"",
54
+ "references": {}
55
+ },
56
+ "required": false,
57
+ "optional": false,
58
+ "docs": {
59
+ "tags": [],
60
+ "text": "The variant of the status"
61
+ },
62
+ "attribute": "variant",
63
+ "reflect": false,
64
+ "defaultValue": "'default'"
65
+ },
66
+ "icon": {
67
+ "type": "string",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "IconVariant",
71
+ "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\"",
72
+ "references": {
73
+ "IconVariant": {
74
+ "location": "import",
75
+ "path": "../icon/icon.component"
76
+ }
77
+ }
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Icon to show on the status"
84
+ },
85
+ "attribute": "icon",
86
+ "reflect": false
87
+ },
88
+ "iconFlip": {
89
+ "type": "string",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "IconFlipOptions",
93
+ "resolved": "\"horizontal\" | \"vertical\"",
94
+ "references": {
95
+ "IconFlipOptions": {
96
+ "location": "import",
97
+ "path": "../icon/icon.component"
98
+ }
99
+ }
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": "Icon flip"
106
+ },
107
+ "attribute": "icon-flip",
108
+ "reflect": false
109
+ },
110
+ "iconRotate": {
111
+ "type": "number",
112
+ "mutable": false,
113
+ "complexType": {
114
+ "original": "RotateOptions",
115
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
116
+ "references": {
117
+ "RotateOptions": {
118
+ "location": "import",
119
+ "path": "../../../utils/types"
120
+ }
121
+ }
122
+ },
123
+ "required": false,
124
+ "optional": false,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": "Icon rotate"
128
+ },
129
+ "attribute": "icon-rotate",
130
+ "reflect": false
131
+ }
132
+ }; }
133
+ }