@deepfuture/dui-cdn 1.1.0 → 1.1.1
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/dui.js +3 -2
- package/dui.min.js +3 -2
- package/package.json +1 -1
package/dui.js
CHANGED
|
@@ -2229,7 +2229,8 @@ h6 { font-size: var(--text-base); line-height: var(--text-base--line-height); }
|
|
|
2229
2229
|
* not CSS line-box edges, to the 4px grid.
|
|
2230
2230
|
* ================================================================= */
|
|
2231
2231
|
h1, h2, h3, h4, h5, h6,
|
|
2232
|
-
p, li, blockquote, dt, dd
|
|
2232
|
+
p, li, blockquote, dt, dd,
|
|
2233
|
+
label, legend, caption, figcaption, th, td {
|
|
2233
2234
|
text-box: trim-both cap alphabetic;
|
|
2234
2235
|
}
|
|
2235
2236
|
`;
|
|
@@ -14493,6 +14494,7 @@ var styles89 = i5`
|
|
|
14493
14494
|
display: flex;
|
|
14494
14495
|
width: 100%;
|
|
14495
14496
|
height: 100%;
|
|
14497
|
+
min-height: inherit;
|
|
14496
14498
|
}
|
|
14497
14499
|
`;
|
|
14498
14500
|
var __ctx_dec16, _isMobile_dec, _openMobile_dec, _internalOpen_dec6, _collapsible_dec, _variant_dec, _side_dec5, _defaultOpen_dec6, _open_dec6, _a42, _init42, _open6, _defaultOpen6, _side5, _variant, _collapsible, _internalOpen6, _b29, internalOpen_get6, internalOpen_set6, _DuiSidebarProviderPrimitive_instances, _openMobile, _c16, openMobile_get, openMobile_set, _isMobile, _d10, isMobile_get, isMobile_set, _mediaQuery, _boundOnMediaChange, _boundOnKeyDown, isOpen_get5, _setOpen, _toggleSidebar, _onMediaChange, _onKeyDown6, __ctx16, buildContext_fn8;
|
|
@@ -14623,7 +14625,6 @@ var styles90 = i5`
|
|
|
14623
14625
|
:host {
|
|
14624
14626
|
display: block;
|
|
14625
14627
|
flex-shrink: 0;
|
|
14626
|
-
height: 100%;
|
|
14627
14628
|
}
|
|
14628
14629
|
|
|
14629
14630
|
.DesktopOuter {
|
package/dui.min.js
CHANGED
|
@@ -582,7 +582,8 @@ h6 { font-size: var(--text-base); line-height: var(--text-base--line-height); }
|
|
|
582
582
|
* not CSS line-box edges, to the 4px grid.
|
|
583
583
|
* ================================================================= */
|
|
584
584
|
h1, h2, h3, h4, h5, h6,
|
|
585
|
-
p, li, blockquote, dt, dd
|
|
585
|
+
p, li, blockquote, dt, dd,
|
|
586
|
+
label, legend, caption, figcaption, th, td {
|
|
586
587
|
text-box: trim-both cap alphabetic;
|
|
587
588
|
}
|
|
588
589
|
`;var p1=`/* =================================================================
|
|
@@ -5501,12 +5502,12 @@ p, li, blockquote, dt, dd {
|
|
|
5501
5502
|
display: flex;
|
|
5502
5503
|
width: 100%;
|
|
5503
5504
|
height: 100%;
|
|
5505
|
+
min-height: inherit;
|
|
5504
5506
|
}
|
|
5505
5507
|
`,XI,JI,QI,ZI,tO,eO,oO,rO,sO,iO,wt,ok,rk,sk,ik,nk,ak,lk,nO,mk,ut,dk,ck,fk,Fu,pk,hk,Kd,gk,Yr,oi,ri,Uu,Gd,Yd,qu,Pu,uk,Vu,ve=class extends(iO=b,sO=[h({type:Boolean})],rO=[h({type:Boolean,attribute:"default-open"})],oO=[h({reflect:!0})],eO=[h({reflect:!0})],tO=[h({reflect:!0})],ZI=[E()],QI=[E()],JI=[E()],XI=[Et({context:tr}),E()],iO){constructor(){super(...arguments);n(this,ut);n(this,ok,i(wt,8,this)),i(wt,11,this);n(this,rk,i(wt,12,this,!0)),i(wt,15,this);n(this,sk,i(wt,16,this,"left")),i(wt,19,this);n(this,ik,i(wt,20,this,"")),i(wt,23,this);n(this,nk,i(wt,24,this,"offcanvas")),i(wt,27,this);n(this,ak,i(wt,28,this,!0)),i(wt,31,this);n(this,dk,i(wt,32,this,!1)),i(wt,35,this);n(this,pk,i(wt,36,this,!1)),i(wt,39,this);n(this,Yr);n(this,oi);n(this,ri);n(this,Gd,t=>{r(this,ut,Kd)?p(this,ut,t,Fu):(this.open===void 0&&p(this,ut,t,mk),this.dispatchEvent(vk({open:t})))});n(this,Yd,()=>{r(this,ut,Kd)?p(this,ut,!r(this,ut,fk),Fu):r(this,Gd).call(this,!r(this,ut,Uu))});n(this,qu,t=>{p(this,ut,!t.matches,gk),r(this,ut,Kd)||p(this,ut,!1,Fu)});n(this,Pu,t=>{t.key==="b"&&(t.metaKey||t.ctrlKey)&&(t.preventDefault(),r(this,Yd).call(this))});n(this,uk,i(wt,40,this,u(this,ut,Vu).call(this))),i(wt,43,this)}connectedCallback(){super.connectedCallback(),this.open===void 0&&p(this,ut,this.defaultOpen,mk),p(this,Yr,matchMedia("(min-width: 768px)")),p(this,ut,!r(this,Yr).matches,gk),p(this,oi,r(this,qu).bind(this)),r(this,Yr).addEventListener("change",r(this,oi)),p(this,ri,r(this,Pu).bind(this)),document.addEventListener("keydown",r(this,ri)),this._ctx=u(this,ut,Vu).call(this)}disconnectedCallback(){super.disconnectedCallback(),r(this,Yr)&&r(this,oi)&&r(this,Yr).removeEventListener("change",r(this,oi)),r(this,ri)&&document.removeEventListener("keydown",r(this,ri))}willUpdate(){this._ctx=u(this,ut,Vu).call(this)}render(){return m`<slot></slot>`}};wt=T(iO),ok=new WeakMap,rk=new WeakMap,sk=new WeakMap,ik=new WeakMap,nk=new WeakMap,ak=new WeakMap,ut=new WeakSet,dk=new WeakMap,pk=new WeakMap,Yr=new WeakMap,oi=new WeakMap,ri=new WeakMap,Uu=function(){return this.open??r(this,ut,nO)},Gd=new WeakMap,Yd=new WeakMap,qu=new WeakMap,Pu=new WeakMap,uk=new WeakMap,Vu=function(){return{state:r(this,ut,Uu)?"expanded":"collapsed",open:r(this,ut,Uu),openMobile:r(this,ut,fk),isMobile:r(this,ut,Kd),side:this.side,variant:this.variant,collapsible:this.collapsible,setOpen:r(this,Gd),toggleSidebar:r(this,Yd)}},d(wt,4,"open",sO,ve,ok),d(wt,4,"defaultOpen",rO,ve,rk),d(wt,4,"side",oO,ve,sk),d(wt,4,"variant",eO,ve,ik),d(wt,4,"collapsible",tO,ve,nk),lk=d(wt,20,"#internalOpen",ZI,ut,ak),nO=lk.get,mk=lk.set,ck=d(wt,20,"#openMobile",QI,ut,dk),fk=ck.get,Fu=ck.set,hk=d(wt,20,"#isMobile",JI,ut,pk),Kd=hk.get,gk=hk.set,d(wt,4,"_ctx",XI,ve,uk),$(wt,ve),v(ve,"tagName","dui-sidebar-provider"),v(ve,"styles",[y,FD]);var UD=g`
|
|
5506
5508
|
:host {
|
|
5507
5509
|
display: block;
|
|
5508
5510
|
flex-shrink: 0;
|
|
5509
|
-
height: 100%;
|
|
5510
5511
|
}
|
|
5511
5512
|
|
|
5512
5513
|
.DesktopOuter {
|