@paperless/core 3.2.3 → 3.3.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 (36) hide show
  1. package/dist/build/p-413e2751.entry.js +1 -0
  2. package/dist/build/p-63ef1d8d.entry.js +1 -0
  3. package/dist/build/{p-340daf05.js → p-d5390a8e.js} +1 -1
  4. package/dist/build/paperless.esm.js +1 -1
  5. package/dist/cjs/p-empty-state_8.cjs.entry.js +2 -2
  6. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -3
  7. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
  8. package/dist/collection/components/atoms/modal/container/modal-container.component.js +5 -4
  9. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  10. package/dist/collection/components/organisms/modal/modal.component.js +2 -2
  11. package/dist/components/p-CrAZWi4n.js +1 -0
  12. package/dist/components/p-CxOhqNqH.js +1 -0
  13. package/dist/components/p-modal-container.js +1 -1
  14. package/dist/components/p-modal.js +1 -1
  15. package/dist/components/p-table-footer.js +1 -1
  16. package/dist/components/p-table.js +1 -1
  17. package/dist/esm/p-empty-state_8.entry.js +2 -2
  18. package/dist/esm/p-modal-body_4.entry.js +4 -3
  19. package/dist/index.html +1 -1
  20. package/dist/paperless/p-413e2751.entry.js +1 -0
  21. package/dist/paperless/p-63ef1d8d.entry.js +1 -0
  22. package/dist/paperless/paperless.esm.js +1 -1
  23. package/dist/sw.js +1 -1
  24. package/dist/sw.js.map +1 -1
  25. package/dist/types/components/atoms/modal/container/modal-container.component.d.ts +1 -1
  26. package/dist/types/components/organisms/modal/modal.component.d.ts +1 -1
  27. package/dist/types/components.d.ts +4 -4
  28. package/hydrate/index.js +6 -5
  29. package/hydrate/index.mjs +6 -5
  30. package/package.json +1 -1
  31. package/dist/build/p-902adabf.entry.js +0 -1
  32. package/dist/build/p-e30ef289.entry.js +0 -1
  33. package/dist/components/p-CCqpQJ15.js +0 -1
  34. package/dist/components/p-CoBFv4r3.js +0 -1
  35. package/dist/paperless/p-902adabf.entry.js +0 -1
  36. package/dist/paperless/p-e30ef289.entry.js +0 -1
@@ -1346,7 +1346,7 @@ export namespace Components {
1346
1346
  * The size of the modal container
1347
1347
  * @default 'base'
1348
1348
  */
1349
- "size": 'xs' | 'base' | 'lg' | 'xl' | '2xl';
1349
+ "size": 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl';
1350
1350
  }
1351
1351
  interface PModalBody {
1352
1352
  /**
@@ -1370,7 +1370,7 @@ export namespace Components {
1370
1370
  * The size of the modal container
1371
1371
  * @default 'base'
1372
1372
  */
1373
- "size": 'xs' | 'base' | 'lg' | 'xl' | '2xl';
1373
+ "size": 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl';
1374
1374
  }
1375
1375
  interface PModalFooter {
1376
1376
  }
@@ -5074,7 +5074,7 @@ declare namespace LocalJSX {
5074
5074
  * The size of the modal container
5075
5075
  * @default 'base'
5076
5076
  */
5077
- "size"?: 'xs' | 'base' | 'lg' | 'xl' | '2xl';
5077
+ "size"?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl';
5078
5078
  }
5079
5079
  interface PModalBody {
5080
5080
  /**
@@ -5098,7 +5098,7 @@ declare namespace LocalJSX {
5098
5098
  * The size of the modal container
5099
5099
  * @default 'base'
5100
5100
  */
5101
- "size"?: 'xs' | 'base' | 'lg' | 'xl' | '2xl';
5101
+ "size"?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl';
5102
5102
  }
5103
5103
  interface PModalFooter {
5104
5104
  }
package/hydrate/index.js CHANGED
@@ -97206,7 +97206,7 @@ class ModalBody {
97206
97206
  }; }
97207
97207
  }
97208
97208
 
97209
- const modalContainerComponentCss = () => `.flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}`;
97209
+ const modalContainerComponentCss = () => `.flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[27\\.5rem\\]{max-width:27.5rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}`;
97210
97210
 
97211
97211
  const container$2 = cva([
97212
97212
  'w-full min-w-0 flex-1',
@@ -97222,6 +97222,7 @@ const container$2 = cva([
97222
97222
  variants: {
97223
97223
  size: {
97224
97224
  xs: 'tablet:max-w-[20rem]',
97225
+ sm: 'tablet:max-w-[27.5rem]',
97225
97226
  base: 'tablet:max-w-[35rem]',
97226
97227
  lg: 'tablet:max-w-[41rem]',
97227
97228
  xl: 'tablet:max-w-[45rem]',
@@ -97252,10 +97253,10 @@ class ModalContainer {
97252
97253
  */
97253
97254
  closing = false;
97254
97255
  render() {
97255
- return (hAsync(ThemedHost, { key: 'd3989b7b4ba97896e66811db665c689d82b32780' }, hAsync("div", { key: 'cf54c0f6285357f72066f7086cd12c1718c9711a', class: container$2({
97256
+ return (hAsync(ThemedHost, { key: '8ed1013a9a1216531efe3e94181c106584d3f407' }, hAsync("div", { key: '2bfb6ca7cc65b070beed31244654a102f9036255', class: container$2({
97256
97257
  size: this.size,
97257
97258
  closing: asBoolean(this.closing),
97258
- }) }, hAsync("slot", { key: '96a7d44c3e1970d6be09f32176eaa47110b775c6' }))));
97259
+ }) }, hAsync("slot", { key: '38ae19861439e290af0109bea1015f9fb862ed15' }))));
97259
97260
  }
97260
97261
  static get style() { return modalContainerComponentCss(); }
97261
97262
  static get cmpMeta() { return {
@@ -101105,7 +101106,7 @@ class TableFooter {
101105
101106
  const rect = this._el.getBoundingClientRect();
101106
101107
  const modal = this._el.closest('p-modal');
101107
101108
  const layout = document.querySelector('p-layout');
101108
- if (modal) {
101109
+ if (modal && !this._hidden) {
101109
101110
  const modalBody = modal.shadowRoot.querySelector('p-modal-body');
101110
101111
  const innerContent = modalBody.shadowRoot.querySelector('div');
101111
101112
  const innerContentComputed = getComputedStyle(innerContent);
@@ -101113,7 +101114,7 @@ class TableFooter {
101113
101114
  this._el.style.bottom = `-${modalPaddingBottom}px`;
101114
101115
  this._el.style.marginBottom = `-${modalPaddingBottom - 1}px`;
101115
101116
  }
101116
- if (layout && !modal) {
101117
+ if (layout && !modal && !this._hidden) {
101117
101118
  const innerContent = layout.shadowRoot.querySelector('.content');
101118
101119
  const innerContentComputed = getComputedStyle(innerContent);
101119
101120
  const layoutPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
package/hydrate/index.mjs CHANGED
@@ -97204,7 +97204,7 @@ class ModalBody {
97204
97204
  }; }
97205
97205
  }
97206
97206
 
97207
- const modalContainerComponentCss = () => `.flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}`;
97207
+ const modalContainerComponentCss = () => `.flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[27\\.5rem\\]{max-width:27.5rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}`;
97208
97208
 
97209
97209
  const container$2 = cva([
97210
97210
  'w-full min-w-0 flex-1',
@@ -97220,6 +97220,7 @@ const container$2 = cva([
97220
97220
  variants: {
97221
97221
  size: {
97222
97222
  xs: 'tablet:max-w-[20rem]',
97223
+ sm: 'tablet:max-w-[27.5rem]',
97223
97224
  base: 'tablet:max-w-[35rem]',
97224
97225
  lg: 'tablet:max-w-[41rem]',
97225
97226
  xl: 'tablet:max-w-[45rem]',
@@ -97250,10 +97251,10 @@ class ModalContainer {
97250
97251
  */
97251
97252
  closing = false;
97252
97253
  render() {
97253
- return (hAsync(ThemedHost, { key: 'd3989b7b4ba97896e66811db665c689d82b32780' }, hAsync("div", { key: 'cf54c0f6285357f72066f7086cd12c1718c9711a', class: container$2({
97254
+ return (hAsync(ThemedHost, { key: '8ed1013a9a1216531efe3e94181c106584d3f407' }, hAsync("div", { key: '2bfb6ca7cc65b070beed31244654a102f9036255', class: container$2({
97254
97255
  size: this.size,
97255
97256
  closing: asBoolean(this.closing),
97256
- }) }, hAsync("slot", { key: '96a7d44c3e1970d6be09f32176eaa47110b775c6' }))));
97257
+ }) }, hAsync("slot", { key: '38ae19861439e290af0109bea1015f9fb862ed15' }))));
97257
97258
  }
97258
97259
  static get style() { return modalContainerComponentCss(); }
97259
97260
  static get cmpMeta() { return {
@@ -101103,7 +101104,7 @@ class TableFooter {
101103
101104
  const rect = this._el.getBoundingClientRect();
101104
101105
  const modal = this._el.closest('p-modal');
101105
101106
  const layout = document.querySelector('p-layout');
101106
- if (modal) {
101107
+ if (modal && !this._hidden) {
101107
101108
  const modalBody = modal.shadowRoot.querySelector('p-modal-body');
101108
101109
  const innerContent = modalBody.shadowRoot.querySelector('div');
101109
101110
  const innerContentComputed = getComputedStyle(innerContent);
@@ -101111,7 +101112,7 @@ class TableFooter {
101111
101112
  this._el.style.bottom = `-${modalPaddingBottom}px`;
101112
101113
  this._el.style.marginBottom = `-${modalPaddingBottom - 1}px`;
101113
101114
  }
101114
- if (layout && !modal) {
101115
+ if (layout && !modal && !this._hidden) {
101115
101116
  const innerContent = layout.shadowRoot.querySelector('.content');
101116
101117
  const innerContentComputed = getComputedStyle(innerContent);
101117
101118
  const layoutPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "3.2.3",
3
+ "version": "3.3.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",