@paperless/core 3.28.3 → 3.28.5

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 (41) hide show
  1. package/dist/build/index.esm.js +1 -1
  2. package/dist/build/p-93a57d38.entry.js +1 -0
  3. package/dist/build/{p-7b1535af.js → p-9430fadc.js} +1 -1
  4. package/dist/build/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
  5. package/dist/{paperless/p-fccb23e5.entry.js → build/p-b042c605.entry.js} +1 -1
  6. package/dist/build/paperless.esm.js +1 -1
  7. package/dist/cjs/index.cjs.js +19 -1
  8. package/dist/cjs/p-empty-state_8.cjs.entry.js +5 -5
  9. package/dist/cjs/p-table.cjs.entry.js +1 -1
  10. package/dist/cjs/{table-helpers-CskH_8AL.js → table-helpers-BMTEeBOx.js} +3 -3
  11. package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
  12. package/dist/collection/components/molecules/empty-state/empty-state.component.js +3 -3
  13. package/dist/collection/tailwind/theme/animation.js +18 -0
  14. package/dist/collection/utils/table-helpers.js +3 -3
  15. package/dist/components/index.js +1 -1
  16. package/dist/components/{p-D0469rhA.js → p-B2SjLmdM.js} +1 -1
  17. package/dist/components/p-Dg_DgmLY.js +1 -0
  18. package/dist/components/{p-WEZng7dj.js → p-PGY9gVyt.js} +1 -1
  19. package/dist/components/p-empty-state.js +1 -1
  20. package/dist/components/p-table-cell.js +1 -1
  21. package/dist/components/p-table.js +1 -1
  22. package/dist/esm/index.js +19 -1
  23. package/dist/esm/p-empty-state_8.entry.js +5 -5
  24. package/dist/esm/p-table.entry.js +1 -1
  25. package/dist/esm/{table-helpers-Bvtfm-ta.js → table-helpers-BDN3t0Wa.js} +3 -3
  26. package/dist/index.html +1 -1
  27. package/dist/paperless/index.esm.js +1 -1
  28. package/dist/paperless/p-93a57d38.entry.js +1 -0
  29. package/dist/paperless/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
  30. package/dist/{build/p-fccb23e5.entry.js → paperless/p-b042c605.entry.js} +1 -1
  31. package/dist/paperless/paperless.esm.js +1 -1
  32. package/dist/sw.js +1 -1
  33. package/dist/sw.js.map +1 -1
  34. package/dist/tailwind/theme/animation.ts +18 -0
  35. package/dist/types/tailwind/theme/animation.d.ts +18 -0
  36. package/hydrate/index.js +7 -7
  37. package/hydrate/index.mjs +7 -7
  38. package/package.json +1 -1
  39. package/dist/build/p-ce56d534.entry.js +0 -1
  40. package/dist/components/p-4-PxF11o.js +0 -1
  41. package/dist/paperless/p-ce56d534.entry.js +0 -1
@@ -91,16 +91,25 @@ export default {
91
91
  display: 'flex',
92
92
  transform: 'translateY(0)',
93
93
  opacity: '100',
94
+ height: '9999',
95
+ 'margin-top': '1rem',
96
+ 'margin-bottom': '1rem',
94
97
  },
95
98
  '99%': {
96
99
  display: 'flex',
97
100
  transform: 'translateY(100%)',
98
101
  opacity: '0',
102
+ height: '0',
103
+ 'margin-top': '0',
104
+ 'margin-bottom': '0',
99
105
  },
100
106
  '100%': {
101
107
  display: 'none',
102
108
  transform: 'translateY(100%)',
103
109
  opacity: '0',
110
+ height: '0',
111
+ 'margin-top': '0',
112
+ 'margin-bottom': '0',
104
113
  },
105
114
  },
106
115
  floatingMenuContainerIn: {
@@ -108,16 +117,25 @@ export default {
108
117
  display: 'none',
109
118
  transform: 'translateY(100%)',
110
119
  opacity: '0',
120
+ height: '0',
121
+ 'margin-top': '0',
122
+ 'margin-bottom': '0',
111
123
  },
112
124
  '1%': {
113
125
  display: 'flex',
114
126
  transform: 'translateY(100%)',
115
127
  opacity: '0',
128
+ height: '0',
129
+ 'margin-top': '0',
130
+ 'margin-bottom': '0',
116
131
  },
117
132
  '100%': {
118
133
  display: 'flex',
119
134
  transform: 'translateY(0)',
120
135
  opacity: '100',
136
+ height: '9999',
137
+ 'margin-top': '1rem',
138
+ 'margin-bottom': '1rem',
121
139
  },
122
140
  },
123
141
  wave: {
@@ -154,16 +154,25 @@ declare const _default: {
154
154
  display: string;
155
155
  transform: string;
156
156
  opacity: string;
157
+ height: string;
158
+ 'margin-top': string;
159
+ 'margin-bottom': string;
157
160
  };
158
161
  '99%': {
159
162
  display: string;
160
163
  transform: string;
161
164
  opacity: string;
165
+ height: string;
166
+ 'margin-top': string;
167
+ 'margin-bottom': string;
162
168
  };
163
169
  '100%': {
164
170
  display: string;
165
171
  transform: string;
166
172
  opacity: string;
173
+ height: string;
174
+ 'margin-top': string;
175
+ 'margin-bottom': string;
167
176
  };
168
177
  };
169
178
  floatingMenuContainerIn: {
@@ -171,16 +180,25 @@ declare const _default: {
171
180
  display: string;
172
181
  transform: string;
173
182
  opacity: string;
183
+ height: string;
184
+ 'margin-top': string;
185
+ 'margin-bottom': string;
174
186
  };
175
187
  '1%': {
176
188
  display: string;
177
189
  transform: string;
178
190
  opacity: string;
191
+ height: string;
192
+ 'margin-top': string;
193
+ 'margin-bottom': string;
179
194
  };
180
195
  '100%': {
181
196
  display: string;
182
197
  transform: string;
183
198
  opacity: string;
199
+ height: string;
200
+ 'margin-top': string;
201
+ 'margin-bottom': string;
184
202
  };
185
203
  };
186
204
  wave: {
package/hydrate/index.js CHANGED
@@ -8697,8 +8697,8 @@ const getTableCellSizes = ({ sizes, } /* Table Definition */, variant) => {
8697
8697
  const floatingMenuContainerClass = cva(['sticky self-center'], {
8698
8698
  variants: {
8699
8699
  hasFooter: {
8700
- true: 'bottom-11 z-[3] -mb-5 mt-4',
8701
- false: 'bottom-0 my-4',
8700
+ true: 'bottom-11 z-[3] -mb-5',
8701
+ false: 'bottom-0',
8702
8702
  },
8703
8703
  active: {
8704
8704
  false: 'pointer-events-none animate-floating-menu-container-out',
@@ -8706,7 +8706,7 @@ const floatingMenuContainerClass = cva(['sticky self-center'], {
8706
8706
  },
8707
8707
  shown: {
8708
8708
  false: 'hidden',
8709
- true: 'inline-block',
8709
+ true: '',
8710
8710
  },
8711
8711
  },
8712
8712
  });
@@ -95504,9 +95504,9 @@ class Dropzone {
95504
95504
  }; }
95505
95505
  }
95506
95506
 
95507
- const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
95507
+ const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[27\\.5rem\\]{max-width:27.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
95508
95508
 
95509
- const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
95509
+ const emptyState = cva(['flex w-full max-w-[27.5rem] flex-col items-center justify-start'], {
95510
95510
  variants: {
95511
95511
  enableAction: {
95512
95512
  true: 'cursor-pointer',
@@ -95564,11 +95564,11 @@ class EmptyState {
95564
95564
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
95565
95565
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
95566
95566
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
95567
- return (hAsync(ThemedHost, { key: 'd84ee5a8579403223bb5cfe7bdec07866b47f8ff' }, hAsync("div", { key: 'd973a6e27f7e87f162b01f5f8762fd5a3e421f7b', class: emptyState({
95567
+ return (hAsync(ThemedHost, { key: 'eed19be38cd66ad6c316f45ecec5d92612bfa98e' }, hAsync("div", { key: '2a4e2dcd83b5716770fa459d6c2701af6ea9a5e3', class: emptyState({
95568
95568
  enableAction: asBoolean(this.enableAction, true),
95569
95569
  }), onClick: ev => this.enableAction && !this.actionLoading
95570
95570
  ? this.action.emit(ev)
95571
- : undefined }, this.illustration && (hAsync("p-illustration", { key: '1fabcdf5a64f7162d0485665c273b3bacc6a7a4e', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
95571
+ : undefined }, this.illustration && (hAsync("p-illustration", { key: '4165b934ab83562aafe5c855a772475c363e79a4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
95572
95572
  (hasActionSlot ? (hAsync("slot", { name: 'action' })) : (hAsync("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
95573
95573
  }
95574
95574
  static get style() { return emptyStateComponentCss(); }
package/hydrate/index.mjs CHANGED
@@ -8695,8 +8695,8 @@ const getTableCellSizes = ({ sizes, } /* Table Definition */, variant) => {
8695
8695
  const floatingMenuContainerClass = cva(['sticky self-center'], {
8696
8696
  variants: {
8697
8697
  hasFooter: {
8698
- true: 'bottom-11 z-[3] -mb-5 mt-4',
8699
- false: 'bottom-0 my-4',
8698
+ true: 'bottom-11 z-[3] -mb-5',
8699
+ false: 'bottom-0',
8700
8700
  },
8701
8701
  active: {
8702
8702
  false: 'pointer-events-none animate-floating-menu-container-out',
@@ -8704,7 +8704,7 @@ const floatingMenuContainerClass = cva(['sticky self-center'], {
8704
8704
  },
8705
8705
  shown: {
8706
8706
  false: 'hidden',
8707
- true: 'inline-block',
8707
+ true: '',
8708
8708
  },
8709
8709
  },
8710
8710
  });
@@ -95502,9 +95502,9 @@ class Dropzone {
95502
95502
  }; }
95503
95503
  }
95504
95504
 
95505
- const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
95505
+ const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[27\\.5rem\\]{max-width:27.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
95506
95506
 
95507
- const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
95507
+ const emptyState = cva(['flex w-full max-w-[27.5rem] flex-col items-center justify-start'], {
95508
95508
  variants: {
95509
95509
  enableAction: {
95510
95510
  true: 'cursor-pointer',
@@ -95562,11 +95562,11 @@ class EmptyState {
95562
95562
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
95563
95563
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
95564
95564
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
95565
- return (hAsync(ThemedHost, { key: 'd84ee5a8579403223bb5cfe7bdec07866b47f8ff' }, hAsync("div", { key: 'd973a6e27f7e87f162b01f5f8762fd5a3e421f7b', class: emptyState({
95565
+ return (hAsync(ThemedHost, { key: 'eed19be38cd66ad6c316f45ecec5d92612bfa98e' }, hAsync("div", { key: '2a4e2dcd83b5716770fa459d6c2701af6ea9a5e3', class: emptyState({
95566
95566
  enableAction: asBoolean(this.enableAction, true),
95567
95567
  }), onClick: ev => this.enableAction && !this.actionLoading
95568
95568
  ? this.action.emit(ev)
95569
- : undefined }, this.illustration && (hAsync("p-illustration", { key: '1fabcdf5a64f7162d0485665c273b3bacc6a7a4e', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
95569
+ : undefined }, this.illustration && (hAsync("p-illustration", { key: '4165b934ab83562aafe5c855a772475c363e79a4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
95570
95570
  (hasActionSlot ? (hAsync("slot", { name: 'action' })) : (hAsync("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
95571
95571
  }
95572
95572
  static get style() { return emptyStateComponentCss(); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "3.28.3",
3
+ "version": "3.28.5",
4
4
  "description": "Stencil Component Starter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",