@paperless/core 1.59.3 → 1.61.0

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 (64) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/assets/icons/lock.svg +8 -0
  3. package/dist/assets/icons/unlock.svg +8 -0
  4. package/dist/build/p-2c2cf3cf.entry.js +2 -0
  5. package/dist/build/p-2c2cf3cf.entry.js.map +1 -0
  6. package/dist/build/{p-2b4bdcd9.entry.js → p-dd070ee8.entry.js} +2 -2
  7. package/dist/build/p-dd070ee8.entry.js.map +1 -0
  8. package/dist/build/paperless.esm.js +1 -1
  9. package/dist/build/paperless.esm.js.map +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/p-button_3.cjs.entry.js +22 -0
  12. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -2
  14. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  15. package/dist/cjs/paperless.cjs.js +1 -1
  16. package/dist/collection/assets/icons/lock.svg +8 -0
  17. package/dist/collection/assets/icons/unlock.svg +8 -0
  18. package/dist/collection/components/atoms/button/button.component.js +1 -1
  19. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +1 -1
  20. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  21. package/dist/collection/components/atoms/label/label.component.js +1 -1
  22. package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -1
  23. package/dist/collection/components/atoms/status/status.component.js +1 -1
  24. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  25. package/dist/collection/components/molecules/input-group/input-group.component.js +1 -1
  26. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  27. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +40 -2
  28. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  29. package/dist/collection/components/molecules/select/select.component.js +2 -2
  30. package/dist/collection/components/molecules/table-header/table-header.component.js +1 -1
  31. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  32. package/dist/collection/components/organisms/table/table.component.js +1 -1
  33. package/dist/collection/utils/icons.js +4 -0
  34. package/dist/collection/utils/icons.js.map +1 -1
  35. package/dist/components/icon.component.js +22 -0
  36. package/dist/components/icon.component.js.map +1 -1
  37. package/dist/components/p-navigation-item.js +16 -6
  38. package/dist/components/p-navigation-item.js.map +1 -1
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/esm/p-button_3.entry.js +22 -0
  41. package/dist/esm/p-button_3.entry.js.map +1 -1
  42. package/dist/esm/p-navigation-item.entry.js +4 -2
  43. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  44. package/dist/esm/paperless.js +1 -1
  45. package/dist/index.html +1 -1
  46. package/dist/paperless/p-2c2cf3cf.entry.js +2 -0
  47. package/dist/paperless/p-2c2cf3cf.entry.js.map +1 -0
  48. package/dist/paperless/{p-2b4bdcd9.entry.js → p-dd070ee8.entry.js} +2 -2
  49. package/dist/paperless/p-dd070ee8.entry.js.map +1 -0
  50. package/dist/paperless/paperless.esm.js +1 -1
  51. package/dist/paperless/paperless.esm.js.map +1 -1
  52. package/dist/sw.js +1 -1
  53. package/dist/sw.js.map +1 -1
  54. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +8 -0
  55. package/dist/types/components.d.ts +16 -0
  56. package/dist/types/utils/icons.d.ts +2 -0
  57. package/hydrate/index.js +28 -2
  58. package/package.json +1 -1
  59. package/dist/build/p-2b4bdcd9.entry.js.map +0 -1
  60. package/dist/build/p-fffaacc2.entry.js +0 -2
  61. package/dist/build/p-fffaacc2.entry.js.map +0 -1
  62. package/dist/paperless/p-2b4bdcd9.entry.js.map +0 -1
  63. package/dist/paperless/p-fffaacc2.entry.js +0 -2
  64. package/dist/paperless/p-fffaacc2.entry.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.61.0](https://github.com/ionic-team/stencil-component-starter/compare/v1.60.0...v1.61.0) (2025-01-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **molecules/navigation-item:** Add icon position & loading state ([2e82003](https://github.com/ionic-team/stencil-component-starter/commit/2e820032f2dd918aab3183176b0b48ccbc28ceae))
12
+
13
+
14
+
15
+
16
+
17
+ # [1.60.0](https://github.com/ionic-team/stencil-component-starter/compare/v1.59.3...v1.60.0) (2025-01-15)
18
+
19
+
20
+ ### Features
21
+
22
+ * **atoms/icon:** Add lock & unlock icon ([b94640e](https://github.com/ionic-team/stencil-component-starter/commit/b94640eac103109771c3e58129f6072e63116054))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [1.59.3](https://github.com/ionic-team/stencil-component-starter/compare/v1.59.2...v1.59.3) (2025-01-13)
7
29
 
8
30
  **Note:** Version bump only for package @paperless/core
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>⚛️ Atoms/icons/lock</title>
4
+ <g id="⚛️-Atoms/icons/lock" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <rect id="Bounding-box" x="0" y="0" width="16" height="16"></rect>
6
+ <path d="M8,2 C6.34314575,2 5,3.34314575 5,5 L3,5 C3,2.23857625 5.23857625,0 8,0 C10.7614237,0 13,2.23857625 13,5 L14,5 C15.1045695,5 16,5.8954305 16,7 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,7 C0,5.8954305 0.8954305,5 2,5 L11,5 C11,3.34314575 9.65685425,2 8,2 Z M8,8 C7.17157288,8 6.5,8.67157288 6.5,9.5 C6.5,10.1532187 6.91754351,10.7089149 7.50029246,10.9147505 L7.5,12.5 C7.5,12.7761424 7.72385763,13 8,13 C8.27614237,13 8.5,12.7761424 8.5,12.5 L8.50070296,10.9143985 C9.08293192,10.7082819 9.5,10.1528467 9.5,9.5 C9.5,8.67157288 8.82842712,8 8,8 Z" id="Combined-Shape" fill="currentColor"></path>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1em" height="1em" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>⚛️ Atoms/icons/unlock</title>
4
+ <g id="⚛️-Atoms/icons/unlock" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <rect id="Bounding-box" x="0" y="0" width="16" height="16"></rect>
6
+ <path d="M8,0 C9.60444989,0 11.0837446,0.762152961 12.0202415,2.02675058 C12.3489217,2.4705836 12.255572,3.09682932 11.811739,3.42550957 C11.3679059,3.75418981 10.7416602,3.66084004 10.41298,3.21700703 C9.84974471,2.45644289 8.96381554,2 8,2 C6.34314575,2 5,3.34314575 5,5 L14,5 C15.1045695,5 16,5.8954305 16,7 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,7 C0,5.8954305 0.8954305,5 2,5 L3,5 C3,2.23857625 5.23857625,0 8,0 Z M8,8 C7.17157288,8 6.5,8.67157288 6.5,9.5 C6.5,10.1532187 6.91754351,10.7089149 7.50029246,10.9147505 L7.5,12.5 C7.5,12.7761424 7.72385763,13 8,13 C8.27614237,13 8.5,12.7761424 8.5,12.5 L8.50070296,10.9143985 C9.08293192,10.7082819 9.5,10.1528467 9.5,9.5 C9.5,8.67157288 8.82842712,8 8,8 Z" id="Combined-Shape" fill="currentColor"></path>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,2 @@
1
+ import{r as t,h as i,H as o}from"./p-e4d5e7a7.js";const r=".mb-1{margin-bottom:.25rem!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.rounded-large{border-radius:.375rem!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}:host{display:inline-block;margin-bottom:.25rem;width:100%}:host>a{--tw-text-opacity:1;align-items:center;border-radius:.375rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-weight:600;gap:.5rem;height:2rem;padding-left:.5rem;padding-right:.5rem;text-decoration-line:none;width:100%}:host>a:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity))}:host>a>p-icon{--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host>a>span{margin-right:auto}:host(.active)>a{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}:host(.active)>a>p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}";const a=class{constructor(i){t(this,i);this.active=false;this.loading=false;this.icon=undefined;this.iconPosition="start";this.counter=undefined;this.href=undefined;this.target=undefined}render(){return i(o,{class:`p-navigation-item ${this.active&&"active"}`},i("a",{href:this.href,target:this.target},this.icon&&this.iconPosition=="start"&&i("p-icon",{variant:this.icon}),i("span",{class:this.counter&&"has-counter"},i("slot",null)),!!this.counter&&this.counter!=="0"&&!this.loading&&i("p-counter",{variant:"negative"},this.counter),this.icon&&this.iconPosition=="end"&&!this.loading&&i("p-icon",{variant:this.icon}),this.loading&&i("p-loader",null)))}};a.style=r;export{a as p_navigation_item};
2
+ //# sourceMappingURL=p-2c2cf3cf.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["navigationItemComponentCss","NavigationItem","render","h","Host","class","this","active","href","target","icon","iconPosition","variant","counter","loading"],"sources":["src/components/molecules/navigation-item/navigation-item.component.scss?tag=p-navigation-item&encapsulation=shadow","src/components/molecules/navigation-item/navigation-item.component.tsx"],"sourcesContent":[":host {\n\t@apply mb-1 inline-block w-full;\n\n\t> a {\n\t\t@apply h-8 w-full cursor-pointer rounded-large px-2 no-underline;\n\t\t@apply flex items-center gap-2;\n\t\t@apply font-semibold text-storm;\n\n\t\t@apply hover:bg-indigo-light;\n\n\t\t> p-icon {\n\t\t\t@apply text-storm;\n\t\t}\n\n\t\t> span {\n\t\t\t@apply mr-auto;\n\t\t}\n\t}\n}\n\n:host(.active) {\n\t> a {\n\t\t@apply bg-indigo-light text-indigo;\n\n\t\t> p-icon {\n\t\t\t@apply text-indigo;\n\t\t}\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-navigation-item',\n\tstyleUrl: 'navigation-item.component.scss',\n\tshadow: true,\n})\nexport class NavigationItem {\n\t/**\n\t * Wether the navigation item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * The icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() counter: number | string;\n\n\t/**\n\t * The href of the navigation item\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * The target of the navigation item\n\t */\n\t@Prop() target: string;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-navigation-item ${this.active && 'active'}`}>\n\t\t\t\t<a\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t>\n\t\t\t\t\t{this.icon && this.iconPosition == 'start' && (\n\t\t\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t\t)}\n\n\t\t\t\t\t<span class={this.counter && 'has-counter'}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{!!this.counter && this.counter !== '0' && !this.loading && (\n\t\t\t\t\t\t<p-counter variant='negative'>{this.counter}</p-counter>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon && this.iconPosition == 'end' && !this.loading && (\n\t\t\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.loading && <p-loader />}\n\t\t\t\t</a>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAA6B,kzC,MCQtBC,EAAc,M,qCAIA,M,aAKC,M,sCAUa,Q,iEAiBxC,MAAAC,GACC,OACCC,EAACC,EAAI,CAACC,MAAO,qBAAqBC,KAAKC,QAAU,YAChDJ,EAAA,KACCK,KAAMF,KAAKE,KACXC,OAAQH,KAAKG,QAEZH,KAAKI,MAAQJ,KAAKK,cAAgB,SAClCR,EAAA,UAAQS,QAASN,KAAKI,OAGvBP,EAAA,QAAME,MAAOC,KAAKO,SAAW,eAC5BV,EAAA,gBAGEG,KAAKO,SAAWP,KAAKO,UAAY,MAAQP,KAAKQ,SAChDX,EAAA,aAAWS,QAAQ,YAAYN,KAAKO,SAGpCP,KAAKI,MAAQJ,KAAKK,cAAgB,QAAUL,KAAKQ,SACjDX,EAAA,UAAQS,QAASN,KAAKI,OAGtBJ,KAAKQ,SAAWX,EAAA,kB"}