@ctrliq/quantic-components 1.62.2 → 1.63.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.
- package/dist/index.js.map +1 -1
- package/dist/layout/index.stories.d.ts +1 -0
- package/dist/layout/index.stories.js +26 -0
- package/dist/layout/sidebar.component.js +50 -25
- package/dist/meta/index.js.map +1 -1
- package/dist/quantic-components.js +50 -25
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +50 -26
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/types/layout/index.stories.d.ts +1 -0
- package/package.json +1 -1
|
@@ -37611,32 +37611,38 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37611
37611
|
aria-label=${this.ariaLabel}
|
|
37612
37612
|
aria-expanded=${!1!==this.isAsideExpanded?"true":"false"}
|
|
37613
37613
|
>
|
|
37614
|
-
<div class="
|
|
37615
|
-
<slot @slotchange=${this.handleAutoHide}></slot>
|
|
37614
|
+
<div class="header">
|
|
37615
|
+
<slot name="header" @slotchange=${this.handleAutoHide}></slot>
|
|
37616
37616
|
</div>
|
|
37617
37617
|
|
|
37618
|
-
<div class="
|
|
37619
|
-
<
|
|
37620
|
-
|
|
37618
|
+
<div class="scroll-area">
|
|
37619
|
+
<div class="body">
|
|
37620
|
+
<slot @slotchange=${this.handleAutoHide}></slot>
|
|
37621
|
+
</div>
|
|
37621
37622
|
|
|
37622
|
-
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
|
|
37628
|
-
|
|
37629
|
-
|
|
37630
|
-
|
|
37631
|
-
|
|
37632
|
-
|
|
37633
|
-
|
|
37634
|
-
|
|
37635
|
-
|
|
37636
|
-
|
|
37637
|
-
|
|
37623
|
+
<div class="footer">
|
|
37624
|
+
<slot name="footer" @slotchange=${this.handleAutoHide}></slot>
|
|
37625
|
+
</div>
|
|
37626
|
+
|
|
37627
|
+
${this.isDesktopViewport&&this.collapsible?je`<div class="toggle-container">
|
|
37628
|
+
<quantic-sidebar-menu-item
|
|
37629
|
+
@click=${this.handleToggle}
|
|
37630
|
+
title=${this.isAsideExpanded?"Collapse sidebar":"Expand sidebar"}
|
|
37631
|
+
label=${this.isAsideExpanded?"Collapse":"Expand sidebar"}
|
|
37632
|
+
variant=${Co.Secondary}
|
|
37633
|
+
>
|
|
37634
|
+
${this.isAsideExpanded?je`<quantic-icon-lucide-panel-left-close
|
|
37635
|
+
slot="icon"
|
|
37636
|
+
size="sm"
|
|
37637
|
+
></quantic-icon-lucide-panel-left-close>`:je`<quantic-icon-lucide-panel-left
|
|
37638
|
+
slot="icon"
|
|
37639
|
+
size="sm"
|
|
37640
|
+
></quantic-icon-lucide-panel-left>`}
|
|
37641
|
+
</quantic-sidebar-menu-item>
|
|
37642
|
+
</div>`:null}
|
|
37643
|
+
</div>
|
|
37638
37644
|
</nav>
|
|
37639
|
-
`}},e.Sidebar.meta={tag:"quantic-sidebar",description:"Collapsible side navigation panel placed in the sidebar slot of quantic-layout. On desktop it can collapse to an icon rail; on mobile it is controlled by the layout as a drawer.",category:"navigation",subComponents:["quantic-sidebar-menu-item","quantic-sidebar-menu-item-group"],slots:{"":{description:"Primary nav items (quantic-sidebar-menu-item or quantic-sidebar-menu-item-group)."},footer:{description:"Footer nav items pinned to the bottom of the sidebar."}},relatedTo:["quantic-layout","quantic-sidebar-menu-item"]},e.Sidebar.styles=l`
|
|
37645
|
+
`}},e.Sidebar.meta={tag:"quantic-sidebar",description:"Collapsible side navigation panel placed in the sidebar slot of quantic-layout. On desktop it can collapse to an icon rail; on mobile it is controlled by the layout as a drawer.",category:"navigation",subComponents:["quantic-sidebar-menu-item","quantic-sidebar-menu-item-group"],slots:{header:{description:"Optional sticky header rendered above the scrollable content."},"":{description:"Primary nav items (quantic-sidebar-menu-item or quantic-sidebar-menu-item-group)."},footer:{description:"Footer nav items pinned to the bottom of the sidebar."}},relatedTo:["quantic-layout","quantic-sidebar-menu-item"]},e.Sidebar.styles=l`
|
|
37640
37646
|
:host {
|
|
37641
37647
|
height: 100%;
|
|
37642
37648
|
}
|
|
@@ -37646,6 +37652,24 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37646
37652
|
flex-direction: column;
|
|
37647
37653
|
height: 100%;
|
|
37648
37654
|
flex: 1;
|
|
37655
|
+
box-sizing: border-box;
|
|
37656
|
+
overflow: hidden;
|
|
37657
|
+
}
|
|
37658
|
+
|
|
37659
|
+
.header {
|
|
37660
|
+
padding: var(--quantic-spacing-2);
|
|
37661
|
+
padding-bottom: 0;
|
|
37662
|
+
flex-shrink: 0;
|
|
37663
|
+
}
|
|
37664
|
+
|
|
37665
|
+
.header:has(slot[hidden]) {
|
|
37666
|
+
display: none;
|
|
37667
|
+
}
|
|
37668
|
+
|
|
37669
|
+
.scroll-area {
|
|
37670
|
+
flex: 1;
|
|
37671
|
+
display: flex;
|
|
37672
|
+
flex-direction: column;
|
|
37649
37673
|
padding: var(--quantic-spacing-2);
|
|
37650
37674
|
box-sizing: border-box;
|
|
37651
37675
|
overflow-x: hidden;
|
|
@@ -37654,20 +37678,20 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37654
37678
|
scrollbar-color: var(--quantic-border-secondary) transparent;
|
|
37655
37679
|
}
|
|
37656
37680
|
|
|
37657
|
-
.
|
|
37681
|
+
.scroll-area::-webkit-scrollbar {
|
|
37658
37682
|
width: 4px;
|
|
37659
37683
|
}
|
|
37660
37684
|
|
|
37661
|
-
.
|
|
37685
|
+
.scroll-area::-webkit-scrollbar-track {
|
|
37662
37686
|
background: transparent;
|
|
37663
37687
|
}
|
|
37664
37688
|
|
|
37665
|
-
.
|
|
37689
|
+
.scroll-area::-webkit-scrollbar-thumb {
|
|
37666
37690
|
background: var(--quantic-border-secondary);
|
|
37667
37691
|
border-radius: var(--quantic-radius-full);
|
|
37668
37692
|
}
|
|
37669
37693
|
|
|
37670
|
-
.main:not(.is-aside-expanded) .
|
|
37694
|
+
.main:not(.is-aside-expanded) .scroll-area {
|
|
37671
37695
|
padding: var(--quantic-spacing-1);
|
|
37672
37696
|
}
|
|
37673
37697
|
|