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

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 (38) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/build/p-190704d1.entry.js +2 -0
  3. package/dist/{paperless/p-28d14744.entry.js.map → build/p-190704d1.entry.js.map} +1 -1
  4. package/dist/build/p-60492c98.entry.js +2 -0
  5. package/dist/{paperless/p-92f2aa3a.entry.js.map → build/p-60492c98.entry.js.map} +1 -1
  6. package/dist/build/paperless.esm.js +1 -1
  7. package/dist/cjs/p-navigation-section.cjs.entry.js +2 -2
  8. package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -1
  9. package/dist/cjs/p-profile.cjs.entry.js +2 -2
  10. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  11. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -1
  12. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  13. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -1
  14. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  15. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  16. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  17. package/dist/components/p-navigation-section.js +2 -2
  18. package/dist/components/p-navigation-section.js.map +1 -1
  19. package/dist/components/p-profile.js +2 -2
  20. package/dist/components/p-profile.js.map +1 -1
  21. package/dist/esm/p-navigation-section.entry.js +2 -2
  22. package/dist/esm/p-navigation-section.entry.js.map +1 -1
  23. package/dist/esm/p-profile.entry.js +2 -2
  24. package/dist/esm/p-profile.entry.js.map +1 -1
  25. package/dist/index.html +1 -1
  26. package/dist/paperless/p-190704d1.entry.js +2 -0
  27. package/dist/{build/p-28d14744.entry.js.map → paperless/p-190704d1.entry.js.map} +1 -1
  28. package/dist/paperless/p-60492c98.entry.js +2 -0
  29. package/dist/{build/p-92f2aa3a.entry.js.map → paperless/p-60492c98.entry.js.map} +1 -1
  30. package/dist/paperless/paperless.esm.js +1 -1
  31. package/dist/sw.js +1 -1
  32. package/dist/sw.js.map +1 -1
  33. package/hydrate/index.js +4 -4
  34. package/package.json +1 -1
  35. package/dist/build/p-28d14744.entry.js +0 -2
  36. package/dist/build/p-92f2aa3a.entry.js +0 -2
  37. package/dist/paperless/p-28d14744.entry.js +0 -2
  38. package/dist/paperless/p-92f2aa3a.entry.js +0 -2
package/hydrate/index.js CHANGED
@@ -25670,7 +25670,7 @@ class NavigationItem {
25670
25670
  }; }
25671
25671
  }
25672
25672
 
25673
- const navigationSectionComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}";
25673
+ const navigationSectionComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}";
25674
25674
 
25675
25675
  class NavigationSection {
25676
25676
  constructor(hostRef) {
@@ -25679,7 +25679,7 @@ class NavigationSection {
25679
25679
  }
25680
25680
  render() {
25681
25681
  var _a;
25682
- return (hAsync(Host, { class: 'p-navigation-section flex flex-col' }, ((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("p-navigation-title", null, this.header)), hAsync("slot", null)));
25682
+ return (hAsync(Host, { class: 'p-navigation-section flex flex-col gap-2' }, ((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("p-navigation-title", null, this.header)), hAsync("div", { class: 'flex flex-col' }, hAsync("slot", null))));
25683
25683
  }
25684
25684
  static get style() { return navigationSectionComponentCss; }
25685
25685
  static get cmpMeta() { return {
@@ -25968,7 +25968,7 @@ class PaginationItem {
25968
25968
  }; }
25969
25969
  }
25970
25970
 
25971
- const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
25971
+ const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.max-w-full{max-width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
25972
25972
 
25973
25973
  const profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {
25974
25974
  variants: {
@@ -26007,7 +26007,7 @@ class Profile {
26007
26007
  _getContent() {
26008
26008
  return (hAsync("div", { class: profileContent({
26009
26009
  dropdown: this._hasDropdownSlot,
26010
- }) }, hAsync("slot", { name: 'avatar' }), hAsync("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, hAsync("p", { class: 'w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium' }, hAsync("slot", { name: 'title' })), hAsync("p", { class: 'w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300' }, hAsync("slot", { name: 'subtitle' }))), hAsync("slot", { name: 'post-title' })));
26010
+ }) }, hAsync("slot", { name: 'avatar' }), hAsync("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, hAsync("p", { class: 'w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium' }, hAsync("slot", { name: 'title' })), hAsync("p", { class: 'w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300' }, hAsync("slot", { name: 'subtitle' }))), hAsync("slot", { name: 'post-title' })));
26011
26011
  }
26012
26012
  _updateAvatar() {
26013
26013
  const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "2.0.1-beta.11",
3
+ "version": "2.0.1-beta.13",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as e,g as o}from"./p-64b68231.js";import{c as s}from"./p-8a5b8196.js";import"./p-8a1a6e56.js";const a="*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";const n=s(["flex gap-2 items-center flex-1 min-w-0"],{variants:{dropdown:{false:"h-10 py-1",true:null}}});const l=class{constructor(i){t(this,i);this.dropdownLocation="bottom-end";this._dropdownOpen=false;this._hasDropdownSlot=false}componentWillLoad(){this._checkDropdownSlot()}componentWillRender(){this._updateAvatar()}render(){const t=this._getContent();return i(e,{class:"p-profile inline-block w-inherit"},this._hasDropdownSlot?i("p-dropdown",{class:"block",strategy:"absolute",placement:this.dropdownLocation,applyFullWidth:true,applyMaxWidth:false,onIsOpen:t=>this._dropdownOpen=t.detail},i("p-button",{variant:"dropdown",chevron:this._dropdownOpen?"up":"down",active:this._dropdownOpen,slot:"trigger",size:"lg",class:"w-full"},t),i("div",{slot:"items"},i("slot",{name:"dropdown",onSlotchange:()=>this._checkDropdownSlot()}))):t)}slotchange(){this._checkDropdownSlot()}_checkDropdownSlot(){this._hasDropdownSlot=!!this._el.querySelector(':scope > [slot="dropdown"]');if(!this._hasDropdownSlot&&this._dropdownOpen){this._dropdownOpen=false}}_getContent(){return i("div",{class:n({dropdown:this._hasDropdownSlot})},i("slot",{name:"avatar"}),i("div",{class:"flex min-w-0 flex-1 flex-col items-start"},i("p",{class:"w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium"},i("slot",{name:"title"})),i("p",{class:"w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300"},i("slot",{name:"subtitle"}))),i("slot",{name:"post-title"}))}_updateAvatar(){const t=this._el.querySelector('p-avatar[slot="avatar"]');if(!t){return}t.size=this._hasDropdownSlot?"sm":t.size}get _el(){return o(this)}};l.style=a;export{l as p_profile};
2
- //# sourceMappingURL=p-28d14744.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as o}from"./p-64b68231.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}";const s=class{constructor(i){t(this,i);this.header=undefined}render(){var t;return i(o,{class:"p-navigation-section flex flex-col"},((t=this.header)===null||t===void 0?void 0:t.length)>0&&i("p-navigation-title",null,this.header),i("slot",null))}};s.style=n;export{s as p_navigation_section};
2
- //# sourceMappingURL=p-92f2aa3a.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as e,g as o}from"./p-64b68231.js";import{c as s}from"./p-8a5b8196.js";import"./p-8a1a6e56.js";const a="*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";const n=s(["flex gap-2 items-center flex-1 min-w-0"],{variants:{dropdown:{false:"h-10 py-1",true:null}}});const l=class{constructor(i){t(this,i);this.dropdownLocation="bottom-end";this._dropdownOpen=false;this._hasDropdownSlot=false}componentWillLoad(){this._checkDropdownSlot()}componentWillRender(){this._updateAvatar()}render(){const t=this._getContent();return i(e,{class:"p-profile inline-block w-inherit"},this._hasDropdownSlot?i("p-dropdown",{class:"block",strategy:"absolute",placement:this.dropdownLocation,applyFullWidth:true,applyMaxWidth:false,onIsOpen:t=>this._dropdownOpen=t.detail},i("p-button",{variant:"dropdown",chevron:this._dropdownOpen?"up":"down",active:this._dropdownOpen,slot:"trigger",size:"lg",class:"w-full"},t),i("div",{slot:"items"},i("slot",{name:"dropdown",onSlotchange:()=>this._checkDropdownSlot()}))):t)}slotchange(){this._checkDropdownSlot()}_checkDropdownSlot(){this._hasDropdownSlot=!!this._el.querySelector(':scope > [slot="dropdown"]');if(!this._hasDropdownSlot&&this._dropdownOpen){this._dropdownOpen=false}}_getContent(){return i("div",{class:n({dropdown:this._hasDropdownSlot})},i("slot",{name:"avatar"}),i("div",{class:"flex min-w-0 flex-1 flex-col items-start"},i("p",{class:"w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium"},i("slot",{name:"title"})),i("p",{class:"w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300"},i("slot",{name:"subtitle"}))),i("slot",{name:"post-title"}))}_updateAvatar(){const t=this._el.querySelector('p-avatar[slot="avatar"]');if(!t){return}t.size=this._hasDropdownSlot?"sm":t.size}get _el(){return o(this)}};l.style=a;export{l as p_profile};
2
- //# sourceMappingURL=p-28d14744.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as o}from"./p-64b68231.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}";const s=class{constructor(i){t(this,i);this.header=undefined}render(){var t;return i(o,{class:"p-navigation-section flex flex-col"},((t=this.header)===null||t===void 0?void 0:t.length)>0&&i("p-navigation-title",null,this.header),i("slot",null))}};s.style=n;export{s as p_navigation_section};
2
- //# sourceMappingURL=p-92f2aa3a.entry.js.map