@paperless/core 0.1.0-alpha.10 → 0.1.0-alpha.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (448) hide show
  1. package/CHANGELOG.md +924 -0
  2. package/README.md +1 -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/menu.svg +25 -0
  7. package/dist/assets/icons/more.svg +18 -0
  8. package/dist/assets/icons/signout.svg +23 -0
  9. package/dist/assets/icons/switch.svg +20 -0
  10. package/dist/assets/icons/task.svg +17 -0
  11. package/dist/assets/icons/template.svg +17 -0
  12. package/dist/assets/illustrations/e-mail.svg +1 -0
  13. package/dist/build/p-113baa35.entry.js +1 -0
  14. package/dist/build/p-19c20c8e.entry.js +1 -0
  15. package/dist/build/p-1ef22f4e.entry.js +1 -0
  16. package/dist/build/p-2672f14b.entry.js +1 -0
  17. package/dist/build/p-2beaf0e8.entry.js +1 -0
  18. package/dist/build/p-4336cbbc.entry.js +1 -0
  19. package/dist/build/p-58ce5668.entry.js +1 -0
  20. package/dist/build/p-6088647a.entry.js +1 -0
  21. package/dist/build/p-6835a9e3.entry.js +1 -0
  22. package/dist/build/p-6e778574.entry.js +1 -0
  23. package/dist/build/p-79d3258f.entry.js +1 -0
  24. package/dist/build/p-801d05b6.entry.js +1 -0
  25. package/dist/build/p-829c4101.entry.js +1 -0
  26. package/dist/build/p-89fda3a8.entry.js +1 -0
  27. package/dist/build/p-8ac8a69d.entry.js +1 -0
  28. package/dist/build/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
  29. package/dist/build/p-92b6c76c.entry.js +1 -0
  30. package/dist/build/p-938f52ee.entry.js +1 -0
  31. package/dist/build/p-985ee694.entry.js +1 -0
  32. package/dist/build/p-9d98d0d9.entry.js +1 -0
  33. package/dist/build/p-a5ebbd0c.entry.js +1 -0
  34. package/dist/build/p-a6127c75.entry.js +1 -0
  35. package/dist/build/p-a7086ffa.js +1 -0
  36. package/dist/build/p-bc7e8cc4.js +2 -0
  37. package/dist/build/p-bd50db3d.entry.js +1 -0
  38. package/dist/build/p-c27046e6.entry.js +1 -0
  39. package/dist/build/p-c59d9fc2.entry.js +1 -0
  40. package/dist/build/p-cc177072.entry.js +1 -0
  41. package/dist/build/p-cece7715.entry.js +1 -0
  42. package/dist/build/p-d32f2578.entry.js +1 -0
  43. package/dist/build/p-e20a1842.entry.js +1 -0
  44. package/dist/build/p-e2a98d53.entry.js +1 -0
  45. package/dist/build/p-e934ef94.entry.js +1 -0
  46. package/dist/build/p-e9e20ac3.entry.js +1 -0
  47. package/dist/build/p-ec2a5f95.entry.js +1 -0
  48. package/dist/build/p-ede5e914.entry.js +1 -0
  49. package/dist/build/paperless.css +190 -18
  50. package/dist/build/paperless.esm.js +1 -1
  51. package/dist/cjs/{index-7caa3dae.js → index-9d3b51c9.js} +235 -5
  52. package/dist/cjs/loader.cjs.js +3 -3
  53. package/dist/cjs/p-accordion.cjs.entry.js +42 -0
  54. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  55. package/dist/cjs/p-avatar_2.cjs.entry.js +179 -0
  56. package/dist/cjs/p-button_3.cjs.entry.js +265 -13
  57. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  58. package/dist/cjs/p-card-container.cjs.entry.js +27 -0
  59. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  60. package/dist/cjs/p-content-slider.cjs.entry.js +153 -0
  61. package/dist/cjs/p-counter.cjs.entry.js +11 -3
  62. package/dist/cjs/p-divider.cjs.entry.js +22 -0
  63. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  64. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  65. package/dist/cjs/p-helper.cjs.entry.js +7 -3
  66. package/dist/cjs/p-illustration.cjs.entry.js +5 -2
  67. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  68. package/dist/cjs/p-input-group.cjs.entry.js +51 -0
  69. package/dist/cjs/p-layout.cjs.entry.js +23 -0
  70. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +101 -0
  71. package/dist/cjs/p-modal.cjs.entry.js +48 -0
  72. package/dist/cjs/p-navbar.cjs.entry.js +34 -0
  73. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  74. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  75. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  76. package/dist/cjs/p-profile.cjs.entry.js +46 -0
  77. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  78. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  79. package/dist/cjs/p-slider-indicator.cjs.entry.js +23 -0
  80. package/dist/cjs/p-status.cjs.entry.js +49 -0
  81. package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
  82. package/dist/cjs/p-stepper.cjs.entry.js +71 -0
  83. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  84. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  85. package/dist/cjs/p-tag.cjs.entry.js +27 -0
  86. package/dist/cjs/p-tooltip.cjs.entry.js +35 -1807
  87. package/dist/cjs/paperless.cjs.js +3 -3
  88. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  89. package/dist/collection/assets/icons/checklist.svg +17 -0
  90. package/dist/collection/assets/icons/folder.svg +19 -0
  91. package/dist/collection/assets/icons/integration.svg +17 -0
  92. package/dist/collection/assets/icons/menu.svg +25 -0
  93. package/dist/collection/assets/icons/more.svg +18 -0
  94. package/dist/collection/assets/icons/signout.svg +23 -0
  95. package/dist/collection/assets/icons/switch.svg +20 -0
  96. package/dist/collection/assets/icons/task.svg +17 -0
  97. package/dist/collection/assets/icons/template.svg +17 -0
  98. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  99. package/dist/collection/collection-manifest.json +35 -2
  100. package/dist/collection/components/atoms/avatar/avatar.component.css +12 -19
  101. package/dist/collection/components/atoms/avatar/avatar.component.js +10 -5
  102. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  103. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  104. package/dist/collection/components/atoms/button/button.component.css +41 -17
  105. package/dist/collection/components/atoms/button/button.component.js +109 -11
  106. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  107. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  108. package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
  109. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
  110. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  111. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  112. package/dist/collection/components/atoms/counter/counter.component.css +26 -1
  113. package/dist/collection/components/atoms/counter/counter.component.js +50 -2
  114. package/dist/collection/components/atoms/divider/divider.component.css +10 -0
  115. package/dist/collection/components/atoms/divider/divider.component.js +20 -0
  116. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +6 -0
  117. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  118. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  119. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +64 -0
  120. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  121. package/dist/collection/components/atoms/helper/helper.component.js +33 -2
  122. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  123. package/dist/collection/components/atoms/icon/icon.component.js +62 -13
  124. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  125. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  126. package/dist/collection/components/atoms/layout/layout.component.css +73 -0
  127. package/dist/collection/components/atoms/layout/layout.component.js +47 -0
  128. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  129. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  130. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  131. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  132. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  133. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  134. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  135. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  136. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +8 -0
  137. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +42 -0
  138. package/dist/collection/components/atoms/modal-header/modal-header.component.css +16 -0
  139. package/dist/collection/components/atoms/modal-header/modal-header.component.js +64 -0
  140. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  141. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  142. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  143. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  144. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  145. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  146. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +7 -0
  147. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +40 -0
  148. package/dist/collection/components/atoms/status/status.component.css +16 -0
  149. package/dist/collection/components/atoms/status/status.component.js +133 -0
  150. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
  151. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
  152. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  153. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  154. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  155. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  156. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  157. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  158. package/dist/collection/components/atoms/tag/tag.component.css +51 -0
  159. package/dist/collection/components/atoms/tag/tag.component.js +64 -0
  160. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  161. package/dist/collection/components/atoms/tooltip/tooltip.component.js +77 -24
  162. package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
  163. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
  164. package/dist/collection/components/molecules/content-slider/content-slider.component.css +26 -0
  165. package/dist/collection/components/molecules/content-slider/content-slider.component.js +229 -0
  166. package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
  167. package/dist/collection/components/molecules/dropdown/dropdown.component.js +267 -0
  168. package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
  169. package/dist/collection/components/molecules/input-group/input-group.component.js +264 -0
  170. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +22 -0
  171. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  172. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  173. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  174. package/dist/collection/components/molecules/profile/profile.component.css +36 -0
  175. package/dist/collection/components/molecules/profile/profile.component.js +92 -0
  176. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  177. package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
  178. package/dist/collection/components/organisms/modal/modal.component.js +175 -0
  179. package/dist/collection/components/organisms/navbar/navbar.component.css +56 -0
  180. package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
  181. package/dist/collection/tailwind/animation.js +17 -0
  182. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  183. package/dist/collection/tailwind/border-radius.js +8 -7
  184. package/dist/collection/tailwind/screens.js +8 -0
  185. package/dist/collection/tailwind/shadows.js +9 -5
  186. package/dist/collection/tailwind/spacing.js +10 -0
  187. package/dist/collection/tailwind/typography.js +21 -0
  188. package/dist/collection/tailwind/width.js +18 -0
  189. package/dist/collection/tailwind/z-index.js +3 -0
  190. package/dist/collection/tailwind.config.js +26 -14
  191. package/dist/collection/utils/child-of.js +5 -0
  192. package/dist/collection/utils/icons.js +18 -0
  193. package/dist/collection/utils/illustrations.js +2 -0
  194. package/dist/collection/utils/types.js +1 -0
  195. package/dist/components/avatar.component.js +54 -0
  196. package/dist/components/button.component.js +119 -0
  197. package/dist/components/counter.component.js +41 -0
  198. package/dist/components/divider.component.js +33 -0
  199. package/dist/components/dropdown-menu-container.component.js +29 -0
  200. package/dist/components/dropdown.component.js +170 -0
  201. package/dist/components/helper.component.js +42 -0
  202. package/dist/components/icon.component.js +236 -5
  203. package/dist/components/index.d.ts +42 -9
  204. package/dist/components/index.js +33 -0
  205. package/dist/components/loader.component.js +5 -4
  206. package/dist/components/modal-backdrop.component.js +30 -0
  207. package/dist/components/modal-body.component.js +36 -0
  208. package/dist/components/modal-container.component.js +48 -0
  209. package/dist/components/modal-footer.component.js +42 -0
  210. package/dist/components/modal-header.component.js +43 -0
  211. package/dist/components/p-accordion.d.ts +11 -0
  212. package/dist/components/p-accordion.js +73 -0
  213. package/dist/components/p-avatar-group.d.ts +11 -0
  214. package/dist/components/p-avatar-group.js +34 -0
  215. package/dist/components/p-avatar.js +1 -47
  216. package/dist/components/p-button.js +1 -93
  217. package/dist/components/p-card-body.d.ts +11 -0
  218. package/dist/components/p-card-body.js +38 -0
  219. package/dist/components/p-card-container.d.ts +11 -0
  220. package/dist/components/p-card-container.js +44 -0
  221. package/dist/components/p-card-header.d.ts +11 -0
  222. package/dist/components/p-card-header.js +46 -0
  223. package/dist/components/p-content-slider.d.ts +11 -0
  224. package/dist/components/p-content-slider.js +181 -0
  225. package/dist/components/p-counter.js +1 -28
  226. package/dist/components/p-divider.d.ts +11 -0
  227. package/dist/components/p-divider.js +6 -0
  228. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  229. package/dist/components/p-dropdown-menu-container.js +6 -0
  230. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  231. package/dist/components/p-dropdown-menu-item.js +46 -0
  232. package/dist/components/p-dropdown.d.ts +11 -0
  233. package/dist/components/p-dropdown.js +6 -0
  234. package/dist/components/p-helper.js +1 -34
  235. package/dist/components/p-illustration.js +3 -0
  236. package/dist/components/p-info-panel.js +1 -1
  237. package/dist/components/p-input-group.d.ts +11 -0
  238. package/dist/components/p-input-group.js +96 -0
  239. package/dist/components/p-layout.d.ts +11 -0
  240. package/dist/components/p-layout.js +39 -0
  241. package/dist/components/p-modal-backdrop.d.ts +11 -0
  242. package/dist/components/p-modal-backdrop.js +6 -0
  243. package/dist/components/p-modal-body.d.ts +11 -0
  244. package/dist/components/p-modal-body.js +6 -0
  245. package/dist/components/p-modal-container.d.ts +11 -0
  246. package/dist/components/p-modal-container.js +6 -0
  247. package/dist/components/p-modal-footer.d.ts +11 -0
  248. package/dist/components/p-modal-footer.js +6 -0
  249. package/dist/components/p-modal-header.d.ts +11 -0
  250. package/dist/components/p-modal-header.js +6 -0
  251. package/dist/components/p-modal.d.ts +11 -0
  252. package/dist/components/p-modal.js +111 -0
  253. package/dist/components/p-navbar.d.ts +11 -0
  254. package/dist/components/p-navbar.js +70 -0
  255. package/dist/components/p-navigation-item.d.ts +11 -0
  256. package/dist/components/p-navigation-item.js +55 -0
  257. package/dist/components/p-pagination-item.d.ts +11 -0
  258. package/dist/components/p-pagination-item.js +6 -0
  259. package/dist/components/p-pagination.d.ts +11 -0
  260. package/dist/components/p-pagination.js +200 -0
  261. package/dist/components/p-profile.d.ts +11 -0
  262. package/dist/components/p-profile.js +88 -0
  263. package/dist/components/p-segment-container.d.ts +11 -0
  264. package/dist/components/p-segment-container.js +32 -0
  265. package/dist/components/p-segment-item.d.ts +11 -0
  266. package/dist/components/p-segment-item.js +54 -0
  267. package/dist/components/p-slider-indicator.d.ts +11 -0
  268. package/dist/components/p-slider-indicator.js +6 -0
  269. package/dist/components/p-status.d.ts +11 -0
  270. package/dist/components/p-status.js +73 -0
  271. package/dist/components/p-stepper-item.d.ts +11 -0
  272. package/dist/components/p-stepper-item.js +6 -0
  273. package/dist/components/p-stepper-line.d.ts +11 -0
  274. package/dist/components/p-stepper-line.js +6 -0
  275. package/dist/components/p-stepper.d.ts +11 -0
  276. package/dist/components/p-stepper.js +106 -0
  277. package/dist/components/p-tab-group.d.ts +11 -0
  278. package/dist/components/p-tab-group.js +39 -0
  279. package/dist/components/p-tab-item.d.ts +11 -0
  280. package/dist/components/p-tab-item.js +39 -0
  281. package/dist/components/p-tag.d.ts +11 -0
  282. package/dist/components/p-tag.js +44 -0
  283. package/dist/components/pagination-item.component.js +36 -0
  284. package/dist/components/popper.js +1788 -0
  285. package/dist/components/slider-indicator.component.js +36 -0
  286. package/dist/components/stepper-item.component.js +57 -0
  287. package/dist/components/stepper-line.component.js +41 -0
  288. package/dist/components/tooltip.component.js +37 -1808
  289. package/dist/esm/{index-d61d31b2.js → index-9062156b.js} +235 -5
  290. package/dist/esm/loader.js +3 -3
  291. package/dist/esm/p-accordion.entry.js +38 -0
  292. package/dist/esm/p-avatar-group.entry.js +15 -0
  293. package/dist/esm/p-avatar_2.entry.js +174 -0
  294. package/dist/esm/p-button_3.entry.js +265 -13
  295. package/dist/esm/p-card-body.entry.js +19 -0
  296. package/dist/esm/p-card-container.entry.js +23 -0
  297. package/dist/esm/p-card-header.entry.js +20 -0
  298. package/dist/esm/p-content-slider.entry.js +149 -0
  299. package/dist/esm/p-counter.entry.js +11 -3
  300. package/dist/esm/p-divider.entry.js +18 -0
  301. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  302. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  303. package/dist/esm/p-helper.entry.js +7 -3
  304. package/dist/esm/p-illustration.entry.js +5 -2
  305. package/dist/esm/p-info-panel.entry.js +2 -2
  306. package/dist/esm/p-input-group.entry.js +47 -0
  307. package/dist/esm/p-layout.entry.js +19 -0
  308. package/dist/esm/p-modal-backdrop_5.entry.js +93 -0
  309. package/dist/esm/p-modal.entry.js +44 -0
  310. package/dist/esm/p-navbar.entry.js +30 -0
  311. package/dist/esm/p-navigation-item.entry.js +19 -0
  312. package/dist/esm/p-pagination-item.entry.js +19 -0
  313. package/dist/esm/p-pagination.entry.js +167 -0
  314. package/dist/esm/p-profile.entry.js +42 -0
  315. package/dist/esm/p-segment-container.entry.js +15 -0
  316. package/dist/esm/p-segment-item.entry.js +25 -0
  317. package/dist/esm/p-slider-indicator.entry.js +19 -0
  318. package/dist/esm/p-status.entry.js +45 -0
  319. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  320. package/dist/esm/p-stepper.entry.js +67 -0
  321. package/dist/esm/p-tab-group.entry.js +15 -0
  322. package/dist/esm/p-tab-item.entry.js +19 -0
  323. package/dist/esm/p-tag.entry.js +23 -0
  324. package/dist/esm/p-tooltip.entry.js +35 -1807
  325. package/dist/esm/paperless.js +3 -3
  326. package/dist/esm/polyfills/core-js.js +0 -0
  327. package/dist/esm/polyfills/dom.js +0 -0
  328. package/dist/esm/polyfills/es5-html-element.js +0 -0
  329. package/dist/esm/polyfills/index.js +0 -0
  330. package/dist/esm/polyfills/system.js +0 -0
  331. package/dist/esm/popper-41c6f9cd.js +1788 -0
  332. package/dist/index.html +1 -1
  333. package/dist/paperless/p-113baa35.entry.js +1 -0
  334. package/dist/paperless/p-19c20c8e.entry.js +1 -0
  335. package/dist/paperless/p-1ef22f4e.entry.js +1 -0
  336. package/dist/paperless/p-2672f14b.entry.js +1 -0
  337. package/dist/paperless/p-2beaf0e8.entry.js +1 -0
  338. package/dist/paperless/p-4336cbbc.entry.js +1 -0
  339. package/dist/paperless/p-58ce5668.entry.js +1 -0
  340. package/dist/paperless/p-6088647a.entry.js +1 -0
  341. package/dist/paperless/p-6835a9e3.entry.js +1 -0
  342. package/dist/paperless/p-6e778574.entry.js +1 -0
  343. package/dist/paperless/p-79d3258f.entry.js +1 -0
  344. package/dist/paperless/p-801d05b6.entry.js +1 -0
  345. package/dist/paperless/p-829c4101.entry.js +1 -0
  346. package/dist/paperless/p-89fda3a8.entry.js +1 -0
  347. package/dist/paperless/p-8ac8a69d.entry.js +1 -0
  348. package/dist/paperless/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
  349. package/dist/paperless/p-92b6c76c.entry.js +1 -0
  350. package/dist/paperless/p-938f52ee.entry.js +1 -0
  351. package/dist/paperless/p-985ee694.entry.js +1 -0
  352. package/dist/paperless/p-9d98d0d9.entry.js +1 -0
  353. package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
  354. package/dist/paperless/p-a6127c75.entry.js +1 -0
  355. package/dist/paperless/p-a7086ffa.js +1 -0
  356. package/dist/paperless/p-bc7e8cc4.js +2 -0
  357. package/dist/paperless/p-bd50db3d.entry.js +1 -0
  358. package/dist/paperless/p-c27046e6.entry.js +1 -0
  359. package/dist/paperless/p-c59d9fc2.entry.js +1 -0
  360. package/dist/paperless/p-cc177072.entry.js +1 -0
  361. package/dist/paperless/p-cece7715.entry.js +1 -0
  362. package/dist/paperless/p-d32f2578.entry.js +1 -0
  363. package/dist/paperless/p-e20a1842.entry.js +1 -0
  364. package/dist/paperless/p-e2a98d53.entry.js +1 -0
  365. package/dist/paperless/p-e934ef94.entry.js +1 -0
  366. package/dist/paperless/p-e9e20ac3.entry.js +1 -0
  367. package/dist/paperless/p-ec2a5f95.entry.js +1 -0
  368. package/dist/paperless/p-ede5e914.entry.js +1 -0
  369. package/dist/paperless/paperless.css +288 -26451
  370. package/dist/paperless/paperless.esm.js +1 -1
  371. package/dist/sw.js +2 -368
  372. package/dist/sw.js.map +1 -0
  373. package/dist/tailwind/animation.js +17 -0
  374. package/dist/tailwind/backdrop-blur.js +3 -0
  375. package/dist/tailwind/border-radius.js +10 -0
  376. package/dist/tailwind/colors.js +52 -0
  377. package/dist/tailwind/rotate.js +8 -0
  378. package/dist/tailwind/scale.js +3 -0
  379. package/dist/tailwind/screens.js +8 -0
  380. package/dist/tailwind/shadows.js +11 -0
  381. package/dist/tailwind/spacing.js +10 -0
  382. package/dist/tailwind/typography.js +21 -0
  383. package/dist/tailwind/width.js +18 -0
  384. package/dist/tailwind/z-index.js +3 -0
  385. package/dist/tailwind.config.js +26 -14
  386. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  387. package/dist/types/components/atoms/button/button.component.d.ts +18 -1
  388. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  389. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  390. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  391. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  392. package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
  393. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  394. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -0
  395. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  396. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  397. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  398. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  399. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  400. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  401. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +7 -0
  402. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  403. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  404. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  405. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  406. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  407. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  408. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  409. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  410. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  411. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  412. package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
  413. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +12 -3
  414. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  415. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
  416. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
  417. package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
  418. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  419. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  420. package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
  421. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  422. package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
  423. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  424. package/dist/types/components.d.ts +1277 -140
  425. package/dist/types/utils/child-of.d.ts +1 -0
  426. package/dist/types/utils/icons.d.ts +9 -0
  427. package/dist/types/utils/illustrations.d.ts +1 -0
  428. package/dist/types/utils/types.d.ts +2 -0
  429. package/dist/workbox-5fe694da.js +2 -0
  430. package/dist/workbox-5fe694da.js.map +1 -0
  431. package/package.json +61 -61
  432. package/dist/build/p-44a929c9.entry.js +0 -1
  433. package/dist/build/p-6794871e.entry.js +0 -1
  434. package/dist/build/p-8cb80a47.entry.js +0 -1
  435. package/dist/build/p-a2fc051b.entry.js +0 -1
  436. package/dist/build/p-a4ea5760.entry.js +0 -1
  437. package/dist/build/p-b4ef7a57.entry.js +0 -1
  438. package/dist/build/p-fa6ab882.js +0 -2
  439. package/dist/cjs/p-avatar.cjs.entry.js +0 -32
  440. package/dist/collection/tailwind/grid.js +0 -26
  441. package/dist/esm/p-avatar.entry.js +0 -28
  442. package/dist/paperless/p-44a929c9.entry.js +0 -1
  443. package/dist/paperless/p-6794871e.entry.js +0 -1
  444. package/dist/paperless/p-8cb80a47.entry.js +0 -1
  445. package/dist/paperless/p-a2fc051b.entry.js +0 -1
  446. package/dist/paperless/p-a4ea5760.entry.js +0 -1
  447. package/dist/paperless/p-b4ef7a57.entry.js +0 -1
  448. package/dist/paperless/p-fa6ab882.js +0 -2
@@ -0,0 +1,204 @@
1
+ :host {
2
+ @apply flex flex-col w-full;
3
+ }
4
+ :host .input-label {
5
+ @apply text-xs text-storm-vague font-semibold uppercase tracking-wider;
6
+ }
7
+ :host .input-header {
8
+ @apply flex gap-2 items-end mb-[2px];
9
+ }
10
+ :host .content {
11
+ @apply flex;
12
+ }
13
+ :host .content .prefix,
14
+ :host .content .suffix {
15
+ @apply flex justify-start items-center h-10;
16
+ @apply text-storm-dark;
17
+ @apply bg-white px-4 w-full;
18
+ @apply rounded-large;
19
+ @apply border border-mystic-dark border-solid !important;
20
+ @apply outline-0 !important;
21
+ @apply flex-1 text-storm box-border;
22
+ }
23
+ :host .content .prefix::placeholder,
24
+ :host .content .suffix::placeholder {
25
+ @apply text-storm-medium;
26
+ }
27
+ :host .content .prefix:focus, :host .content .prefix:focus-visible, :host .content .prefix.focus,
28
+ :host .content .suffix:focus,
29
+ :host .content .suffix:focus-visible,
30
+ :host .content .suffix.focus {
31
+ @apply border-indigo !important;
32
+ }
33
+ :host .content .prefix {
34
+ @apply rounded-tr-none rounded-br-none;
35
+ @apply border-r-0 !important;
36
+ @apply order-1;
37
+ @apply pr-2;
38
+ }
39
+ :host .content .suffix {
40
+ @apply rounded-tl-none rounded-bl-none;
41
+ @apply border-l-0 !important;
42
+ @apply order-3;
43
+ @apply pl-2;
44
+ }
45
+ :host .content ::slotted(input[type=text].p-input),
46
+ :host .content ::slotted(input[type=number].p-input),
47
+ :host .content ::slotted(input[type=date].p-input),
48
+ :host .content ::slotted(input[type=month].p-input),
49
+ :host .content ::slotted(input[type=datetime-local].p-input),
50
+ :host .content ::slotted(input[type=time].p-input),
51
+ :host .content ::slotted(input[type=tel].p-input),
52
+ :host .content ::slotted(input[type=password].p-input),
53
+ :host .content ::slotted(input[type=email].p-input) {
54
+ @apply order-2;
55
+ }
56
+ :host .content .prefix + ::slotted(input[type=text].p-input),
57
+ :host .content .prefix + ::slotted(input[type=number].p-input),
58
+ :host .content .prefix + ::slotted(input[type=date].p-input),
59
+ :host .content .prefix + ::slotted(input[type=month].p-input),
60
+ :host .content .prefix + ::slotted(input[type=datetime-local].p-input),
61
+ :host .content .prefix + ::slotted(input[type=time].p-input),
62
+ :host .content .prefix + ::slotted(input[type=tel].p-input),
63
+ :host .content .prefix + ::slotted(input[type=password].p-input),
64
+ :host .content .prefix + ::slotted(input[type=email].p-input) {
65
+ @apply rounded-tl-none rounded-bl-none !important;
66
+ @apply flex-auto;
67
+ @apply border-l-0 pl-0 !important;
68
+ }
69
+ :host .content .suffix + ::slotted(input[type=text].p-input),
70
+ :host .content .suffix + ::slotted(input[type=number].p-input),
71
+ :host .content .suffix + ::slotted(input[type=date].p-input),
72
+ :host .content .suffix + ::slotted(input[type=month].p-input),
73
+ :host .content .suffix + ::slotted(input[type=datetime-local].p-input),
74
+ :host .content .suffix + ::slotted(input[type=time].p-input),
75
+ :host .content .suffix + ::slotted(input[type=tel].p-input),
76
+ :host .content .suffix + ::slotted(input[type=password].p-input),
77
+ :host .content .suffix + ::slotted(input[type=email].p-input) {
78
+ @apply rounded-tr-none rounded-br-none !important;
79
+ @apply flex-auto;
80
+ @apply border-r-0 pr-0 !important;
81
+ }
82
+
83
+ :host(.focused) .prefix,
84
+ :host(.focused) .suffix,
85
+ :host([focused]) .prefix,
86
+ :host([focused]) .suffix,
87
+ :host(:focus-within) .prefix,
88
+ :host(:focus-within) .suffix {
89
+ @apply border-indigo !important;
90
+ @apply text-indigo;
91
+ }
92
+ :host(.focused) ::slotted(input[type=text].p-input),
93
+ :host(.focused) ::slotted(input[type=number].p-input),
94
+ :host(.focused) ::slotted(input[type=date].p-input),
95
+ :host(.focused) ::slotted(input[type=month].p-input),
96
+ :host(.focused) ::slotted(input[type=datetime-local].p-input),
97
+ :host(.focused) ::slotted(input[type=time].p-input),
98
+ :host(.focused) ::slotted(input[type=tel].p-input),
99
+ :host(.focused) ::slotted(input[type=password].p-input),
100
+ :host(.focused) ::slotted(input[type=email].p-input),
101
+ :host([focused]) ::slotted(input[type=text].p-input),
102
+ :host([focused]) ::slotted(input[type=number].p-input),
103
+ :host([focused]) ::slotted(input[type=date].p-input),
104
+ :host([focused]) ::slotted(input[type=month].p-input),
105
+ :host([focused]) ::slotted(input[type=datetime-local].p-input),
106
+ :host([focused]) ::slotted(input[type=time].p-input),
107
+ :host([focused]) ::slotted(input[type=tel].p-input),
108
+ :host([focused]) ::slotted(input[type=password].p-input),
109
+ :host([focused]) ::slotted(input[type=email].p-input),
110
+ :host(:focus-within) ::slotted(input[type=text].p-input),
111
+ :host(:focus-within) ::slotted(input[type=number].p-input),
112
+ :host(:focus-within) ::slotted(input[type=date].p-input),
113
+ :host(:focus-within) ::slotted(input[type=month].p-input),
114
+ :host(:focus-within) ::slotted(input[type=datetime-local].p-input),
115
+ :host(:focus-within) ::slotted(input[type=time].p-input),
116
+ :host(:focus-within) ::slotted(input[type=tel].p-input),
117
+ :host(:focus-within) ::slotted(input[type=password].p-input),
118
+ :host(:focus-within) ::slotted(input[type=email].p-input) {
119
+ @apply border-indigo !important;
120
+ }
121
+
122
+ :host(.error) .prefix,
123
+ :host(.error) .suffix,
124
+ :host([error]) .prefix,
125
+ :host([error]) .suffix {
126
+ @apply text-negative-dark;
127
+ @apply border-negative !important;
128
+ @apply text-negative;
129
+ }
130
+ :host(.error) .prefix::placeholder,
131
+ :host(.error) .suffix::placeholder,
132
+ :host([error]) .prefix::placeholder,
133
+ :host([error]) .suffix::placeholder {
134
+ @apply text-negative-light;
135
+ }
136
+ :host(.error) ::slotted(input[type=text].p-input),
137
+ :host(.error) ::slotted(input[type=number].p-input),
138
+ :host(.error) ::slotted(input[type=date].p-input),
139
+ :host(.error) ::slotted(input[type=month].p-input),
140
+ :host(.error) ::slotted(input[type=datetime-local].p-input),
141
+ :host(.error) ::slotted(input[type=time].p-input),
142
+ :host(.error) ::slotted(input[type=tel].p-input),
143
+ :host(.error) ::slotted(input[type=password].p-input),
144
+ :host(.error) ::slotted(input[type=email].p-input),
145
+ :host([error]) ::slotted(input[type=text].p-input),
146
+ :host([error]) ::slotted(input[type=number].p-input),
147
+ :host([error]) ::slotted(input[type=date].p-input),
148
+ :host([error]) ::slotted(input[type=month].p-input),
149
+ :host([error]) ::slotted(input[type=datetime-local].p-input),
150
+ :host([error]) ::slotted(input[type=time].p-input),
151
+ :host([error]) ::slotted(input[type=tel].p-input),
152
+ :host([error]) ::slotted(input[type=password].p-input),
153
+ :host([error]) ::slotted(input[type=email].p-input) {
154
+ @apply text-negative-dark;
155
+ @apply border-negative !important;
156
+ }
157
+ :host(.error) ::slotted(input[type=text].p-input)::placeholder,
158
+ :host(.error) ::slotted(input[type=number].p-input)::placeholder,
159
+ :host(.error) ::slotted(input[type=date].p-input)::placeholder,
160
+ :host(.error) ::slotted(input[type=month].p-input)::placeholder,
161
+ :host(.error) ::slotted(input[type=datetime-local].p-input)::placeholder,
162
+ :host(.error) ::slotted(input[type=time].p-input)::placeholder,
163
+ :host(.error) ::slotted(input[type=tel].p-input)::placeholder,
164
+ :host(.error) ::slotted(input[type=password].p-input)::placeholder,
165
+ :host(.error) ::slotted(input[type=email].p-input)::placeholder,
166
+ :host([error]) ::slotted(input[type=text].p-input)::placeholder,
167
+ :host([error]) ::slotted(input[type=number].p-input)::placeholder,
168
+ :host([error]) ::slotted(input[type=date].p-input)::placeholder,
169
+ :host([error]) ::slotted(input[type=month].p-input)::placeholder,
170
+ :host([error]) ::slotted(input[type=datetime-local].p-input)::placeholder,
171
+ :host([error]) ::slotted(input[type=time].p-input)::placeholder,
172
+ :host([error]) ::slotted(input[type=tel].p-input)::placeholder,
173
+ :host([error]) ::slotted(input[type=password].p-input)::placeholder,
174
+ :host([error]) ::slotted(input[type=email].p-input)::placeholder {
175
+ @apply text-negative-light;
176
+ }
177
+
178
+ :host(.disabled) .prefix,
179
+ :host(.disabled) .suffix,
180
+ :host([disabled]) .prefix,
181
+ :host([disabled]) .suffix {
182
+ @apply opacity-40;
183
+ }
184
+ :host(.disabled) ::slotted(input[type=text].p-input),
185
+ :host(.disabled) ::slotted(input[type=number].p-input),
186
+ :host(.disabled) ::slotted(input[type=date].p-input),
187
+ :host(.disabled) ::slotted(input[type=month].p-input),
188
+ :host(.disabled) ::slotted(input[type=datetime-local].p-input),
189
+ :host(.disabled) ::slotted(input[type=time].p-input),
190
+ :host(.disabled) ::slotted(input[type=tel].p-input),
191
+ :host(.disabled) ::slotted(input[type=password].p-input),
192
+ :host(.disabled) ::slotted(input[type=email].p-input),
193
+ :host([disabled]) ::slotted(input[type=text].p-input),
194
+ :host([disabled]) ::slotted(input[type=number].p-input),
195
+ :host([disabled]) ::slotted(input[type=date].p-input),
196
+ :host([disabled]) ::slotted(input[type=month].p-input),
197
+ :host([disabled]) ::slotted(input[type=datetime-local].p-input),
198
+ :host([disabled]) ::slotted(input[type=time].p-input),
199
+ :host([disabled]) ::slotted(input[type=tel].p-input),
200
+ :host([disabled]) ::slotted(input[type=password].p-input),
201
+ :host([disabled]) ::slotted(input[type=email].p-input) {
202
+ @apply opacity-40;
203
+ pointer-events: none;
204
+ } .static{position:static!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}*{box-sizing:border-box}.hover\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}
@@ -0,0 +1,264 @@
1
+ import { Component, Element, h, Host, Listen, Prop, State, } from '@stencil/core';
2
+ export class InputGroup {
3
+ constructor() {
4
+ /**
5
+ * Wether the input group is disabled
6
+ */
7
+ this.disabled = false;
8
+ /**
9
+ * Wether the input group is focused
10
+ */
11
+ this.focused = false;
12
+ this._showTooltip = false;
13
+ this._forceShowTooltip = false;
14
+ }
15
+ render() {
16
+ var _a;
17
+ const hasHelperSlot = !!this._el.querySelector('[slot="helper"]');
18
+ const hasLabelSlot = !!this._el.querySelector('[slot="label"]');
19
+ const hasPrefixSlot = !!this._el.querySelector('[slot="prefix"]');
20
+ const hasSuffixSlot = !!this._el.querySelector('[slot="suffix"]');
21
+ const hasHeaderSlot = !!this._el.querySelector('[slot="header"]');
22
+ const helper = hasHelperSlot ? h("slot", { name: "helper" }) : this.helper;
23
+ const label = hasLabelSlot ? h("slot", { name: "label" }) : this.label;
24
+ const prefix = hasPrefixSlot ? h("slot", { name: "prefix" }) : this.prefix;
25
+ const suffix = hasSuffixSlot ? h("slot", { name: "suffix" }) : this.suffix;
26
+ const errorAndErrorIsNotBoolean = this.error &&
27
+ typeof this.error === 'string' &&
28
+ this.error !== 'true';
29
+ return (h(Host, { class: `p-input-group ${((_a = this.error) === null || _a === void 0 ? void 0 : _a.length) && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'}` },
30
+ h("div", { class: "flex justify-between items-end" },
31
+ label && h("div", { class: "input-label" }, label),
32
+ (helper || hasHeaderSlot) && (h("div", { class: "input-header" },
33
+ hasHeaderSlot && h("slot", { name: "header" }),
34
+ helper && (h("p-helper", { class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: "top-end" }, helper))))),
35
+ h("div", { class: "content" },
36
+ (prefix || this.icon) && (h("div", { class: "prefix" }, this.icon ? (h("p-icon", { class: "flex", variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))),
37
+ (suffix || errorAndErrorIsNotBoolean) && (h("div", { class: "suffix" }, errorAndErrorIsNotBoolean ? (h("p-tooltip", { variant: "error", popover: this.error, show: this._forceShowTooltip, onIsOpen: (ev) => (this._showTooltip = ev.detail) },
38
+ h("p-icon", { class: `${this._showTooltip
39
+ ? 'text-negative'
40
+ : 'text-negative-light'} hover:text-negative`, slot: "content", variant: "explanation" }))) : (suffix))),
41
+ h("slot", { name: "input" }))));
42
+ }
43
+ handleFocusIn() {
44
+ this._forceShowTooltip = true;
45
+ }
46
+ handleFocusOut() {
47
+ this._forceShowTooltip = false;
48
+ }
49
+ static get is() { return "p-input-group"; }
50
+ static get encapsulation() { return "shadow"; }
51
+ static get originalStyleUrls() { return {
52
+ "$": ["./input-group.component.scss"]
53
+ }; }
54
+ static get styleUrls() { return {
55
+ "$": ["input-group.component.css"]
56
+ }; }
57
+ static get properties() { return {
58
+ "prefix": {
59
+ "type": "string",
60
+ "mutable": false,
61
+ "complexType": {
62
+ "original": "string",
63
+ "resolved": "string",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": "The prefix of the input group"
71
+ },
72
+ "attribute": "prefix",
73
+ "reflect": false
74
+ },
75
+ "suffix": {
76
+ "type": "string",
77
+ "mutable": false,
78
+ "complexType": {
79
+ "original": "string",
80
+ "resolved": "string",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": false,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": "The suffix of the input group"
88
+ },
89
+ "attribute": "suffix",
90
+ "reflect": false
91
+ },
92
+ "icon": {
93
+ "type": "string",
94
+ "mutable": false,
95
+ "complexType": {
96
+ "original": "IconVariant",
97
+ "resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"menu\" | \"minus\" | \"more\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"signout\" | \"switch\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
98
+ "references": {
99
+ "IconVariant": {
100
+ "location": "import",
101
+ "path": "../../atoms/icon/icon.component"
102
+ }
103
+ }
104
+ },
105
+ "required": false,
106
+ "optional": false,
107
+ "docs": {
108
+ "tags": [],
109
+ "text": "Icon of the navigation item"
110
+ },
111
+ "attribute": "icon",
112
+ "reflect": false
113
+ },
114
+ "iconFlip": {
115
+ "type": "string",
116
+ "mutable": false,
117
+ "complexType": {
118
+ "original": "IconFlipOptions",
119
+ "resolved": "\"horizontal\" | \"vertical\"",
120
+ "references": {
121
+ "IconFlipOptions": {
122
+ "location": "import",
123
+ "path": "../../atoms/icon/icon.component"
124
+ }
125
+ }
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": "Icon flip"
132
+ },
133
+ "attribute": "icon-flip",
134
+ "reflect": false
135
+ },
136
+ "iconRotate": {
137
+ "type": "number",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "RotateOptions",
141
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
142
+ "references": {
143
+ "RotateOptions": {
144
+ "location": "import",
145
+ "path": "../../../utils/types"
146
+ }
147
+ }
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Icon rotate"
154
+ },
155
+ "attribute": "icon-rotate",
156
+ "reflect": false
157
+ },
158
+ "label": {
159
+ "type": "string",
160
+ "mutable": false,
161
+ "complexType": {
162
+ "original": "string",
163
+ "resolved": "string",
164
+ "references": {}
165
+ },
166
+ "required": false,
167
+ "optional": false,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "The label of the input group"
171
+ },
172
+ "attribute": "label",
173
+ "reflect": false
174
+ },
175
+ "helper": {
176
+ "type": "string",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "string",
180
+ "resolved": "string",
181
+ "references": {}
182
+ },
183
+ "required": false,
184
+ "optional": false,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": "The helper of the input group"
188
+ },
189
+ "attribute": "helper",
190
+ "reflect": false
191
+ },
192
+ "error": {
193
+ "type": "string",
194
+ "mutable": false,
195
+ "complexType": {
196
+ "original": "string",
197
+ "resolved": "string",
198
+ "references": {}
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": "The helper of the input group"
205
+ },
206
+ "attribute": "error",
207
+ "reflect": true
208
+ },
209
+ "disabled": {
210
+ "type": "boolean",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "boolean",
214
+ "resolved": "boolean",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "Wether the input group is disabled"
222
+ },
223
+ "attribute": "disabled",
224
+ "reflect": true,
225
+ "defaultValue": "false"
226
+ },
227
+ "focused": {
228
+ "type": "boolean",
229
+ "mutable": false,
230
+ "complexType": {
231
+ "original": "boolean",
232
+ "resolved": "boolean",
233
+ "references": {}
234
+ },
235
+ "required": false,
236
+ "optional": false,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": "Wether the input group is focused"
240
+ },
241
+ "attribute": "focused",
242
+ "reflect": true,
243
+ "defaultValue": "false"
244
+ }
245
+ }; }
246
+ static get states() { return {
247
+ "_showTooltip": {},
248
+ "_forceShowTooltip": {}
249
+ }; }
250
+ static get elementRef() { return "_el"; }
251
+ static get listeners() { return [{
252
+ "name": "focusin",
253
+ "method": "handleFocusIn",
254
+ "target": undefined,
255
+ "capture": false,
256
+ "passive": false
257
+ }, {
258
+ "name": "focusout",
259
+ "method": "handleFocusOut",
260
+ "target": undefined,
261
+ "capture": false,
262
+ "passive": false
263
+ }]; }
264
+ }
@@ -0,0 +1,22 @@
1
+ :host {
2
+ @apply w-full inline-block mb-1;
3
+ }
4
+ :host > a {
5
+ @apply w-full h-8 px-2 cursor-pointer rounded-large no-underline;
6
+ @apply flex items-center gap-2;
7
+ @apply text-storm font-semibold;
8
+ @apply hover:bg-indigo-light;
9
+ }
10
+ :host > a > p-icon {
11
+ @apply text-storm;
12
+ }
13
+ :host > a > p-counter {
14
+ @apply ml-auto;
15
+ }
16
+
17
+ :host(.active) > a {
18
+ @apply text-indigo bg-indigo-light;
19
+ }
20
+ :host(.active) > a > p-icon {
21
+ @apply text-indigo;
22
+ } .static{position:static!important}*{box-sizing:border-box}
@@ -0,0 +1,118 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class NavigationItem {
3
+ constructor() {
4
+ /**
5
+ * Wether the navigation item is active
6
+ */
7
+ this.active = false;
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-navigation-item ${this.active && 'active'}` },
11
+ h("a", { href: this.href, target: this.target },
12
+ this.icon && h("p-icon", { variant: this.icon }),
13
+ h("span", { class: this.counter && 'has-counter' },
14
+ h("slot", null)),
15
+ this.counter && (h("p-counter", { variant: "negative" }, this.counter)))));
16
+ }
17
+ static get is() { return "p-navigation-item"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() { return {
20
+ "$": ["navigation-item.component.scss"]
21
+ }; }
22
+ static get styleUrls() { return {
23
+ "$": ["navigation-item.component.css"]
24
+ }; }
25
+ static get properties() { return {
26
+ "active": {
27
+ "type": "boolean",
28
+ "mutable": false,
29
+ "complexType": {
30
+ "original": "boolean",
31
+ "resolved": "boolean",
32
+ "references": {}
33
+ },
34
+ "required": false,
35
+ "optional": false,
36
+ "docs": {
37
+ "tags": [],
38
+ "text": "Wether the navigation item is active"
39
+ },
40
+ "attribute": "active",
41
+ "reflect": false,
42
+ "defaultValue": "false"
43
+ },
44
+ "icon": {
45
+ "type": "string",
46
+ "mutable": false,
47
+ "complexType": {
48
+ "original": "IconVariant",
49
+ "resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"menu\" | \"minus\" | \"more\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"signout\" | \"switch\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
50
+ "references": {
51
+ "IconVariant": {
52
+ "location": "import",
53
+ "path": "../../atoms/icon/icon.component"
54
+ }
55
+ }
56
+ },
57
+ "required": false,
58
+ "optional": false,
59
+ "docs": {
60
+ "tags": [],
61
+ "text": "Icon of the navigation item"
62
+ },
63
+ "attribute": "icon",
64
+ "reflect": false
65
+ },
66
+ "counter": {
67
+ "type": "any",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "number | string",
71
+ "resolved": "number | string",
72
+ "references": {}
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "Icon of the navigation item"
79
+ },
80
+ "attribute": "counter",
81
+ "reflect": false
82
+ },
83
+ "href": {
84
+ "type": "string",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "string",
88
+ "resolved": "string",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": "The href of the navigation item"
96
+ },
97
+ "attribute": "href",
98
+ "reflect": false
99
+ },
100
+ "target": {
101
+ "type": "string",
102
+ "mutable": false,
103
+ "complexType": {
104
+ "original": "string",
105
+ "resolved": "string",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": false,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": "The target of the navigation item"
113
+ },
114
+ "attribute": "target",
115
+ "reflect": false
116
+ }
117
+ }; }
118
+ }
@@ -0,0 +1,3 @@
1
+ p-pagination {
2
+ @apply flex;
3
+ } .static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}