@vandeurenglenn/lite-elements 0.3.44 → 0.3.45
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.
- package/exports/bundle/drawer.js +1 -15
- package/exports/bundle/pane.js +2 -1
- package/package.json +2 -2
package/exports/bundle/drawer.js
CHANGED
|
@@ -33,24 +33,10 @@ import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as a,r a
|
|
|
33
33
|
border-top: 1px solid rgba(0, 0, 0, 0.14);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
::slotted([slot='content']) {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
height: 100%;
|
|
40
|
-
width: 100%;
|
|
41
|
-
overflow-y: auto;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
36
|
::slotted(*) {
|
|
45
37
|
pointer-events: none;
|
|
46
38
|
}
|
|
47
|
-
|
|
48
|
-
aside {
|
|
49
|
-
display: flex;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
`;let l=(()=>{let a,l,c,d,m,p,h,g=[s("custom-drawer")],u=[],y=r,f=[],v=[],b=[],_=[],x=[],w=[],j=[],k=[],S=[],z=[];return class extends y{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0})],m=[o({type:String,reflect:!0})],p=[o({type:Boolean})],h=[o({type:String})],t(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},f,v),t(this,null,d,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:e},b,_),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},x,w),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},j,k),t(this,null,h,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:e},S,z),t(null,a={value:l},g,{kind:"class",name:l.name,metadata:e},null,u),l=a.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,f,void 0);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,v),e(this,b,void 0));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,_),e(this,x,void 0));get type(){return this.#s}set type(t){this.#s=t}#a=(e(this,w),e(this,j,void 0));get right(){return this.#a}set right(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get id(){return this.#o}set id(t){this.#o=t}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:t})=>{this.id===t&&(this.open=!1)})),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}static styles=[n];render(){return i`
|
|
39
|
+
`;let l=(()=>{let a,l,c,m,d,p,h,g=[s("custom-drawer")],u=[],y=r,b=[],v=[],f=[],_=[],x=[],w=[],j=[],k=[],S=[],z=[];return class extends y{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],m=[o({type:Boolean,reflect:!0})],d=[o({type:String,reflect:!0})],p=[o({type:Boolean})],h=[o({type:String})],t(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},b,v),t(this,null,m,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:e},f,_),t(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},x,w),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},j,k),t(this,null,h,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:e},S,z),t(null,a={value:l},g,{kind:"class",name:l.name,metadata:e},null,u),l=a.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,b,void 0);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,v),e(this,f,void 0));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,_),e(this,x,void 0));get type(){return this.#s}set type(t){this.#s=t}#a=(e(this,w),e(this,j,void 0));get right(){return this.#a}set right(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get id(){return this.#o}set id(t){this.#o=t}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:t})=>{this.id===t&&(this.open=!1)})),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}static styles=[n];render(){return i`
|
|
54
40
|
<custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type} .id=${this.id}>
|
|
55
41
|
<slot name="headline" slot="headline"></slot>
|
|
56
42
|
<slot name="menu-button" slot="menu-button"></slot>
|
package/exports/bundle/pane.js
CHANGED
|
@@ -65,6 +65,7 @@ import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{L as o,i a
|
|
|
65
65
|
|
|
66
66
|
.content {
|
|
67
67
|
flex: 1;
|
|
68
|
+
overflow-y: auto;
|
|
68
69
|
width: 100%;
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -72,7 +73,7 @@ import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{L as o,i a
|
|
|
72
73
|
transform: rotateZ(180deg);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
slot[name='header']
|
|
76
|
+
slot[name='header'] flex-row {
|
|
76
77
|
padding: var(--custom-pane-header-padding, 8px);
|
|
77
78
|
height: var(--custom-pane-header-height, 54px);
|
|
78
79
|
box-sizing: border-box;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vandeurenglenn/lite-elements",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.45",
|
|
4
4
|
"description": "set of lite elements following Material Design 3 spec",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@material-design-icons/svg": "^0.14.13",
|
|
22
22
|
"@material-symbols/svg-400": "^0.17.0",
|
|
23
23
|
"@material/web": "^1.3.0",
|
|
24
|
-
"@vandeurenglenn/custom-shared-styles": "^0.0.
|
|
24
|
+
"@vandeurenglenn/custom-shared-styles": "^0.0.13",
|
|
25
25
|
"@vandeurenglenn/flex-elements": "^1.3.1",
|
|
26
26
|
"@vandeurenglenn/lite": "^0.2.37",
|
|
27
27
|
"custom-element-decorator": "^0.6.0"
|