@paperless/core 2.0.1-beta.13 → 2.0.1-beta.2

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 (169) hide show
  1. package/CHANGELOG.md +0 -137
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/p-1fc0a8b4.entry.js +2 -0
  5. package/dist/build/p-1fc0a8b4.entry.js.map +1 -0
  6. package/dist/build/p-79cc09c0.entry.js +2 -0
  7. package/dist/build/p-79cc09c0.entry.js.map +1 -0
  8. package/dist/build/p-7d5f6497.entry.js +2 -0
  9. package/dist/build/p-7d5f6497.entry.js.map +1 -0
  10. package/dist/build/p-95eadadd.entry.js +2 -0
  11. package/dist/build/p-95eadadd.entry.js.map +1 -0
  12. package/dist/build/p-af4aedaf.entry.js +2 -0
  13. package/dist/build/p-af4aedaf.entry.js.map +1 -0
  14. package/dist/build/p-b5430fae.entry.js +2 -0
  15. package/dist/build/p-b5430fae.entry.js.map +1 -0
  16. package/dist/build/paperless.esm.js +1 -1
  17. package/dist/build/paperless.esm.js.map +1 -1
  18. package/dist/cjs/index-02e05522.js +2 -6
  19. package/dist/cjs/index.cjs.js +22 -5
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/p-avatar.cjs.entry.js +4 -5
  23. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  24. package/dist/cjs/p-button_3.cjs.entry.js +14 -50
  25. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  26. package/dist/cjs/p-dropdown_2.cjs.entry.js +2 -6
  27. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  28. package/dist/cjs/p-navbar.cjs.entry.js +3 -2
  29. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  30. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -2819
  31. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  32. package/dist/cjs/p-profile.cjs.entry.js +16 -16
  33. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  34. package/dist/cjs/paperless.cjs.js +1 -1
  35. package/dist/collection/collection-manifest.json +0 -1
  36. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
  37. package/dist/collection/components/atoms/avatar/avatar.component.js +5 -5
  38. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  39. package/dist/collection/components/atoms/icon/icon.component.js +2 -2
  40. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  41. package/dist/collection/components/molecules/button/button.component.css +1 -1
  42. package/dist/collection/components/molecules/button/button.component.js +14 -85
  43. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  44. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -6
  45. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  46. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -24
  47. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  48. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  49. package/dist/collection/components/molecules/profile/profile.component.js +34 -25
  50. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  51. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  52. package/dist/collection/components/organisms/navbar/navbar.component.js +24 -1
  53. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  54. package/dist/components/avatar.component.js +4 -5
  55. package/dist/components/avatar.component.js.map +1 -1
  56. package/dist/components/button.component.js +14 -52
  57. package/dist/components/button.component.js.map +1 -1
  58. package/dist/components/dropdown.component.js +2 -6
  59. package/dist/components/dropdown.component.js.map +1 -1
  60. package/dist/components/icon.component.js +1 -1
  61. package/dist/components/icon.component.js.map +1 -1
  62. package/dist/components/index.js +18 -1
  63. package/dist/components/index.js.map +1 -1
  64. package/dist/components/p-navbar.js +4 -2
  65. package/dist/components/p-navbar.js.map +1 -1
  66. package/dist/components/p-navigation-item.js +5 -2821
  67. package/dist/components/p-navigation-item.js.map +1 -1
  68. package/dist/components/p-navigation-title.js +27 -1
  69. package/dist/components/p-navigation-title.js.map +1 -1
  70. package/dist/components/p-profile.js +24 -35
  71. package/dist/components/p-profile.js.map +1 -1
  72. package/dist/esm/index-f99096d4.js +2 -6
  73. package/dist/esm/index.js +18 -1
  74. package/dist/esm/index.js.map +1 -1
  75. package/dist/esm/loader.js +1 -1
  76. package/dist/esm/p-avatar.entry.js +4 -5
  77. package/dist/esm/p-avatar.entry.js.map +1 -1
  78. package/dist/esm/p-button_3.entry.js +14 -50
  79. package/dist/esm/p-button_3.entry.js.map +1 -1
  80. package/dist/esm/p-dropdown_2.entry.js +2 -6
  81. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  82. package/dist/esm/p-navbar.entry.js +3 -2
  83. package/dist/esm/p-navbar.entry.js.map +1 -1
  84. package/dist/esm/p-navigation-item.entry.js +4 -2819
  85. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  86. package/dist/esm/p-profile.entry.js +16 -16
  87. package/dist/esm/p-profile.entry.js.map +1 -1
  88. package/dist/esm/paperless.js +1 -1
  89. package/dist/index.html +1 -1
  90. package/dist/paperless/index.esm.js +1 -1
  91. package/dist/paperless/index.esm.js.map +1 -1
  92. package/dist/paperless/p-1fc0a8b4.entry.js +2 -0
  93. package/dist/paperless/p-1fc0a8b4.entry.js.map +1 -0
  94. package/dist/paperless/p-79cc09c0.entry.js +2 -0
  95. package/dist/paperless/p-79cc09c0.entry.js.map +1 -0
  96. package/dist/paperless/p-7d5f6497.entry.js +2 -0
  97. package/dist/paperless/p-7d5f6497.entry.js.map +1 -0
  98. package/dist/paperless/p-95eadadd.entry.js +2 -0
  99. package/dist/paperless/p-95eadadd.entry.js.map +1 -0
  100. package/dist/paperless/p-af4aedaf.entry.js +2 -0
  101. package/dist/paperless/p-af4aedaf.entry.js.map +1 -0
  102. package/dist/paperless/p-b5430fae.entry.js +2 -0
  103. package/dist/paperless/p-b5430fae.entry.js.map +1 -0
  104. package/dist/paperless/paperless.esm.js +1 -1
  105. package/dist/paperless/paperless.esm.js.map +1 -1
  106. package/dist/sw.js +1 -1
  107. package/dist/sw.js.map +1 -1
  108. package/dist/types/components/molecules/button/button.component.d.ts +1 -9
  109. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +0 -4
  110. package/dist/types/components/molecules/profile/profile.component.d.ts +5 -2
  111. package/dist/types/components/organisms/navbar/navbar.component.d.ts +4 -0
  112. package/dist/types/components.d.ts +32 -55
  113. package/hydrate/index.js +48 -2942
  114. package/package.json +1 -1
  115. package/dist/build/p-190704d1.entry.js +0 -2
  116. package/dist/build/p-190704d1.entry.js.map +0 -1
  117. package/dist/build/p-5ab354bf.entry.js +0 -2
  118. package/dist/build/p-5ab354bf.entry.js.map +0 -1
  119. package/dist/build/p-60492c98.entry.js +0 -2
  120. package/dist/build/p-60492c98.entry.js.map +0 -1
  121. package/dist/build/p-64765a81.js +0 -2
  122. package/dist/build/p-64765a81.js.map +0 -1
  123. package/dist/build/p-aab1cda1.entry.js +0 -2
  124. package/dist/build/p-aab1cda1.entry.js.map +0 -1
  125. package/dist/build/p-cb8a454c.entry.js +0 -2
  126. package/dist/build/p-cb8a454c.entry.js.map +0 -1
  127. package/dist/build/p-d7dbd13e.entry.js +0 -2
  128. package/dist/build/p-d7dbd13e.entry.js.map +0 -1
  129. package/dist/build/p-ece8998b.entry.js +0 -2
  130. package/dist/build/p-ece8998b.entry.js.map +0 -1
  131. package/dist/cjs/_commonjsHelpers-4213291f.js +0 -24
  132. package/dist/cjs/_commonjsHelpers-4213291f.js.map +0 -1
  133. package/dist/cjs/p-navigation-section.cjs.entry.js +0 -23
  134. package/dist/cjs/p-navigation-section.cjs.entry.js.map +0 -1
  135. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +0 -1
  136. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +0 -43
  137. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +0 -1
  138. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +0 -26
  139. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +0 -1
  140. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +0 -17
  141. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +0 -1
  142. package/dist/components/_commonjsHelpers.js +0 -21
  143. package/dist/components/_commonjsHelpers.js.map +0 -1
  144. package/dist/components/navigation-title.component.js +0 -31
  145. package/dist/components/navigation-title.component.js.map +0 -1
  146. package/dist/components/p-navigation-section.d.ts +0 -11
  147. package/dist/components/p-navigation-section.js +0 -44
  148. package/dist/components/p-navigation-section.js.map +0 -1
  149. package/dist/esm/_commonjsHelpers-e9b9b14e.js +0 -21
  150. package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +0 -1
  151. package/dist/esm/p-navigation-section.entry.js +0 -19
  152. package/dist/esm/p-navigation-section.entry.js.map +0 -1
  153. package/dist/paperless/p-190704d1.entry.js +0 -2
  154. package/dist/paperless/p-190704d1.entry.js.map +0 -1
  155. package/dist/paperless/p-5ab354bf.entry.js +0 -2
  156. package/dist/paperless/p-5ab354bf.entry.js.map +0 -1
  157. package/dist/paperless/p-60492c98.entry.js +0 -2
  158. package/dist/paperless/p-60492c98.entry.js.map +0 -1
  159. package/dist/paperless/p-64765a81.js +0 -2
  160. package/dist/paperless/p-64765a81.js.map +0 -1
  161. package/dist/paperless/p-aab1cda1.entry.js +0 -2
  162. package/dist/paperless/p-aab1cda1.entry.js.map +0 -1
  163. package/dist/paperless/p-cb8a454c.entry.js +0 -2
  164. package/dist/paperless/p-cb8a454c.entry.js.map +0 -1
  165. package/dist/paperless/p-d7dbd13e.entry.js +0 -2
  166. package/dist/paperless/p-d7dbd13e.entry.js.map +0 -1
  167. package/dist/paperless/p-ece8998b.entry.js +0 -2
  168. package/dist/paperless/p-ece8998b.entry.js.map +0 -1
  169. package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +0 -7
@@ -9,11 +9,7 @@ export declare class Button {
9
9
  /**
10
10
  * The variant of the button
11
11
  */
12
- variant: 'primary' | 'secondary' | 'transparent' | 'text' | 'dropdown';
13
- /**
14
- * Wether to force an active state
15
- */
16
- active: boolean;
12
+ variant: 'primary' | 'secondary' | 'transparent' | 'text';
17
13
  /**
18
14
  * Wether the text variant has underline
19
15
  */
@@ -78,10 +74,6 @@ export declare class Button {
78
74
  * Position of the button in the button group, mostly un-used if not in a group
79
75
  */
80
76
  buttonGroupPosition: 'start' | 'center' | 'end' | 'none';
81
- /**
82
- * The class of the container passed by parent
83
- */
84
- class: string;
85
77
  /**
86
78
  * Button click event
87
79
  */
@@ -24,9 +24,5 @@ export declare class NavigationItem {
24
24
  * The target of the navigation item
25
25
  */
26
26
  target: string;
27
- /**
28
- * The class of the container passed by parent
29
- */
30
- class: string;
31
27
  render(): any;
32
28
  }
@@ -3,6 +3,10 @@ export declare class Profile {
3
3
  * The position of the dropdown
4
4
  */
5
5
  dropdownLocation: 'top-end' | 'bottom-end';
6
+ /**
7
+ * The size of the profile avatar
8
+ */
9
+ size: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
6
10
  /**
7
11
  * The host element
8
12
  */
@@ -12,8 +16,7 @@ export declare class Profile {
12
16
  componentWillLoad(): void;
13
17
  componentWillRender(): void;
14
18
  render(): any;
15
- slotchange(): void;
16
- private _checkDropdownSlot;
17
19
  private _getContent;
18
20
  private _updateAvatar;
21
+ private _getIcon;
19
22
  }
@@ -1,4 +1,8 @@
1
1
  export declare class Navbar {
2
+ /**
3
+ * The text to display for the menu button & sidebar title
4
+ */
5
+ menuText: string;
2
6
  private _show;
3
7
  render(): any;
4
8
  handleCloseNavbar(): void;
@@ -130,10 +130,6 @@ export namespace Components {
130
130
  interface PBadge {
131
131
  }
132
132
  interface PButton {
133
- /**
134
- * Wether to force an active state
135
- */
136
- "active": boolean;
137
133
  /**
138
134
  * The type of the button
139
135
  */
@@ -150,10 +146,6 @@ export namespace Components {
150
146
  * Chevron position
151
147
  */
152
148
  "chevronPosition": 'start' | 'end';
153
- /**
154
- * The class of the container passed by parent
155
- */
156
- "class": string;
157
149
  /**
158
150
  * Wether the button is disabled
159
151
  */
@@ -209,11 +201,7 @@ export namespace Components {
209
201
  /**
210
202
  * The variant of the button
211
203
  */
212
- "variant": | 'primary'
213
- | 'secondary'
214
- | 'transparent'
215
- | 'text'
216
- | 'dropdown';
204
+ "variant": 'primary' | 'secondary' | 'transparent' | 'text';
217
205
  }
218
206
  interface PButtonGroup {
219
207
  /**
@@ -887,6 +875,10 @@ export namespace Components {
887
875
  "showClose": boolean;
888
876
  }
889
877
  interface PNavbar {
878
+ /**
879
+ * The text to display for the menu button & sidebar title
880
+ */
881
+ "menuText": string;
890
882
  }
891
883
  interface PNavigationItem {
892
884
  /**
@@ -897,10 +889,6 @@ export namespace Components {
897
889
  * The element to use for the navigation item
898
890
  */
899
891
  "as": string;
900
- /**
901
- * The class of the container passed by parent
902
- */
903
- "class": string;
904
892
  /**
905
893
  * Icon of the navigation item
906
894
  */
@@ -918,12 +906,6 @@ export namespace Components {
918
906
  */
919
907
  "target": string;
920
908
  }
921
- interface PNavigationSection {
922
- /**
923
- * The header of the section
924
- */
925
- "header": string;
926
- }
927
909
  interface PNavigationTitle {
928
910
  }
929
911
  interface PPageSizeSelect {
@@ -985,6 +967,17 @@ export namespace Components {
985
967
  * The position of the dropdown
986
968
  */
987
969
  "dropdownLocation": 'top-end' | 'bottom-end';
970
+ /**
971
+ * The size of the profile avatar
972
+ */
973
+ "size": | 'xs'
974
+ | 'sm'
975
+ | 'base'
976
+ | 'lg'
977
+ | 'xl'
978
+ | '2xl'
979
+ | '3xl'
980
+ | '4xl';
988
981
  }
989
982
  interface PSegmentContainer {
990
983
  }
@@ -2070,12 +2063,6 @@ declare global {
2070
2063
  prototype: HTMLPNavigationItemElement;
2071
2064
  new (): HTMLPNavigationItemElement;
2072
2065
  };
2073
- interface HTMLPNavigationSectionElement extends Components.PNavigationSection, HTMLStencilElement {
2074
- }
2075
- var HTMLPNavigationSectionElement: {
2076
- prototype: HTMLPNavigationSectionElement;
2077
- new (): HTMLPNavigationSectionElement;
2078
- };
2079
2066
  interface HTMLPNavigationTitleElement extends Components.PNavigationTitle, HTMLStencilElement {
2080
2067
  }
2081
2068
  var HTMLPNavigationTitleElement: {
@@ -2277,7 +2264,6 @@ declare global {
2277
2264
  "p-modal-header": HTMLPModalHeaderElement;
2278
2265
  "p-navbar": HTMLPNavbarElement;
2279
2266
  "p-navigation-item": HTMLPNavigationItemElement;
2280
- "p-navigation-section": HTMLPNavigationSectionElement;
2281
2267
  "p-navigation-title": HTMLPNavigationTitleElement;
2282
2268
  "p-page-size-select": HTMLPPageSizeSelectElement;
2283
2269
  "p-pagination": HTMLPPaginationElement;
@@ -2415,10 +2401,6 @@ declare namespace LocalJSX {
2415
2401
  interface PBadge {
2416
2402
  }
2417
2403
  interface PButton {
2418
- /**
2419
- * Wether to force an active state
2420
- */
2421
- "active"?: boolean;
2422
2404
  /**
2423
2405
  * The type of the button
2424
2406
  */
@@ -2435,10 +2417,6 @@ declare namespace LocalJSX {
2435
2417
  * Chevron position
2436
2418
  */
2437
2419
  "chevronPosition"?: 'start' | 'end';
2438
- /**
2439
- * The class of the container passed by parent
2440
- */
2441
- "class"?: string;
2442
2420
  /**
2443
2421
  * Wether the button is disabled
2444
2422
  */
@@ -2498,11 +2476,7 @@ declare namespace LocalJSX {
2498
2476
  /**
2499
2477
  * The variant of the button
2500
2478
  */
2501
- "variant"?: | 'primary'
2502
- | 'secondary'
2503
- | 'transparent'
2504
- | 'text'
2505
- | 'dropdown';
2479
+ "variant"?: 'primary' | 'secondary' | 'transparent' | 'text';
2506
2480
  }
2507
2481
  interface PButtonGroup {
2508
2482
  /**
@@ -3224,6 +3198,10 @@ declare namespace LocalJSX {
3224
3198
  "showClose"?: boolean;
3225
3199
  }
3226
3200
  interface PNavbar {
3201
+ /**
3202
+ * The text to display for the menu button & sidebar title
3203
+ */
3204
+ "menuText"?: string;
3227
3205
  }
3228
3206
  interface PNavigationItem {
3229
3207
  /**
@@ -3234,10 +3212,6 @@ declare namespace LocalJSX {
3234
3212
  * The element to use for the navigation item
3235
3213
  */
3236
3214
  "as"?: string;
3237
- /**
3238
- * The class of the container passed by parent
3239
- */
3240
- "class"?: string;
3241
3215
  /**
3242
3216
  * Icon of the navigation item
3243
3217
  */
@@ -3255,12 +3229,6 @@ declare namespace LocalJSX {
3255
3229
  */
3256
3230
  "target"?: string;
3257
3231
  }
3258
- interface PNavigationSection {
3259
- /**
3260
- * The header of the section
3261
- */
3262
- "header"?: string;
3263
- }
3264
3232
  interface PNavigationTitle {
3265
3233
  }
3266
3234
  interface PPageSizeSelect {
@@ -3330,6 +3298,17 @@ declare namespace LocalJSX {
3330
3298
  * The position of the dropdown
3331
3299
  */
3332
3300
  "dropdownLocation"?: 'top-end' | 'bottom-end';
3301
+ /**
3302
+ * The size of the profile avatar
3303
+ */
3304
+ "size"?: | 'xs'
3305
+ | 'sm'
3306
+ | 'base'
3307
+ | 'lg'
3308
+ | 'xl'
3309
+ | '2xl'
3310
+ | '3xl'
3311
+ | '4xl';
3333
3312
  }
3334
3313
  interface PSegmentContainer {
3335
3314
  }
@@ -4218,7 +4197,6 @@ declare namespace LocalJSX {
4218
4197
  "p-modal-header": PModalHeader;
4219
4198
  "p-navbar": PNavbar;
4220
4199
  "p-navigation-item": PNavigationItem;
4221
- "p-navigation-section": PNavigationSection;
4222
4200
  "p-navigation-title": PNavigationTitle;
4223
4201
  "p-page-size-select": PPageSizeSelect;
4224
4202
  "p-pagination": PPagination;
@@ -4295,7 +4273,6 @@ declare module "@stencil/core" {
4295
4273
  "p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
4296
4274
  "p-navbar": LocalJSX.PNavbar & JSXBase.HTMLAttributes<HTMLPNavbarElement>;
4297
4275
  "p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
4298
- "p-navigation-section": LocalJSX.PNavigationSection & JSXBase.HTMLAttributes<HTMLPNavigationSectionElement>;
4299
4276
  "p-navigation-title": LocalJSX.PNavigationTitle & JSXBase.HTMLAttributes<HTMLPNavigationTitleElement>;
4300
4277
  "p-page-size-select": LocalJSX.PPageSizeSelect & JSXBase.HTMLAttributes<HTMLPPageSizeSelectElement>;
4301
4278
  "p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;