@planningcenter/tapestry 1.1.0-rc.8 → 1.1.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/components/page-header/PageHeader.d.ts +26 -0
- package/dist/components/page-header/PageHeader.d.ts.map +1 -0
- package/dist/components/page-header/PageHeader.js +13 -0
- package/dist/components/page-header/PageHeader.js.map +1 -0
- package/dist/index.css +161 -99
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/index2.js +22 -0
- package/dist/packages/tapestry-wc/dist/components/index2.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/popover-container.js +93 -7
- package/dist/packages/tapestry-wc/dist/components/popover-container.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/sidenav-popover.js +5 -5
- package/dist/packages/tapestry-wc/dist/components/sidenav-popover.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/sidenav-responsive-header.js +62 -0
- package/dist/packages/tapestry-wc/dist/components/sidenav-responsive-header.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/tds-page-header.js +8 -3
- package/dist/packages/tapestry-wc/dist/components/tds-page-header.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-item.js +23 -11
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-item.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-responsive-header.js +2 -55
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-responsive-header.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-section.js +12 -3
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-section.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav.js +25 -8
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav.js.map +1 -1
- package/dist/unstable.css +164 -100
- package/dist/unstable.css.map +1 -1
- package/dist/webComponents.css +164 -100
- package/dist/webComponents.css.map +1 -1
- package/package.json +4 -3
- package/react-types/index.d.ts +62 -24
- package/dist/packages/tapestry-wc/dist/components/sidenav-item-enhancer.js +0 -63
- package/dist/packages/tapestry-wc/dist/components/sidenav-item-enhancer.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare function PageHeader({ children, actions, navigation, className, inactive, profile, }: {
|
|
3
|
+
/**
|
|
4
|
+
* Additional content (typically actions) that complements the primary slot.
|
|
5
|
+
*/
|
|
6
|
+
actions?: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* The main content of the page header. It will be displayed prominently. For simple pages, providing a h1 will suffice.
|
|
9
|
+
*/
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Indicates whether the page header is inactive or not. When set to true, the page header is visually inactive
|
|
14
|
+
*/
|
|
15
|
+
inactive?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Navigation for the page. Should contain an unstyled unordered list (ul)
|
|
18
|
+
* that contains a list of links or buttons.
|
|
19
|
+
*/
|
|
20
|
+
navigation?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates whether the page header is a profile page header or not. When set to true, the page header will visually center the title and actions at mobile breakpoints.
|
|
23
|
+
*/
|
|
24
|
+
profile?: boolean;
|
|
25
|
+
}): React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/page-header/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,SAAS,EACT,QAAgB,EAChB,OAAe,GAChB,EAAE;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,qBAUA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
function PageHeader({ children, actions, navigation, className, inactive = false, profile = false, }) {
|
|
4
|
+
const inactiveProps = inactive ? { inactive } : {};
|
|
5
|
+
const profileProps = profile ? { profile } : {};
|
|
6
|
+
return (React.createElement("tds-page-header", { ...inactiveProps, ...profileProps, class: className },
|
|
7
|
+
children,
|
|
8
|
+
actions && React.createElement("div", { slot: "actions" }, actions),
|
|
9
|
+
navigation && React.createElement("nav", { slot: "navigation" }, navigation)));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { PageHeader };
|
|
13
|
+
//# sourceMappingURL=PageHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.js","sources":["../../../src/components/page-header/PageHeader.tsx"],"sourcesContent":["import React from \"react\"\n\nexport function PageHeader({\n children,\n actions,\n navigation,\n className,\n inactive = false,\n profile = false,\n}: {\n /**\n * Additional content (typically actions) that complements the primary slot.\n */\n actions?: React.ReactNode\n /**\n * The main content of the page header. It will be displayed prominently. For simple pages, providing a h1 will suffice.\n */\n children: React.ReactNode\n className?: string\n /**\n * Indicates whether the page header is inactive or not. When set to true, the page header is visually inactive\n */\n inactive?: boolean\n /**\n * Navigation for the page. Should contain an unstyled unordered list (ul)\n * that contains a list of links or buttons.\n */\n navigation?: React.ReactNode\n /**\n * Indicates whether the page header is a profile page header or not. When set to true, the page header will visually center the title and actions at mobile breakpoints.\n */\n profile?: boolean\n}) {\n const inactiveProps = inactive ? { inactive } : {}\n const profileProps = profile ? { profile } : {}\n return (\n <tds-page-header {...inactiveProps} {...profileProps} class={className}>\n {children}\n {actions && <div slot=\"actions\">{actions}</div>}\n {navigation && <nav slot=\"navigation\">{navigation}</nav>}\n </tds-page-header>\n )\n}\n"],"names":[],"mappings":";;SAEgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,SAAS,EACT,QAAQ,GAAG,KAAK,EAChB,OAAO,GAAG,KAAK,GAwBhB,EAAA;AACC,IAAA,MAAM,aAAa,GAAG,QAAQ,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAA;AAClD,IAAA,MAAM,YAAY,GAAG,OAAO,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,CAAA;IAC/C,QACE,4CAAqB,aAAa,EAAA,GAAM,YAAY,EAAE,KAAK,EAAE,SAAS,EAAA;QACnE,QAAQ;AACR,QAAA,OAAO,IAAI,KAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EAAE,OAAO,CAAO;QAC9C,UAAU,IAAI,KAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,IAAI,EAAC,YAAY,IAAE,UAAU,CAAO,CACxC,EACnB;AACH;;;;"}
|
package/dist/index.css
CHANGED
|
@@ -516,90 +516,105 @@
|
|
|
516
516
|
@layer t-component {
|
|
517
517
|
.tds-page-header {
|
|
518
518
|
--tds-page-header-background-color: var(--t-surface-color-card);
|
|
519
|
-
--tds-page-header-background-color-inactive:
|
|
520
|
-
|
|
521
|
-
|
|
519
|
+
--tds-page-header-background-color-inactive:
|
|
520
|
+
var(
|
|
521
|
+
--t-fill-color-transparency-dark-010
|
|
522
|
+
);
|
|
522
523
|
--tds-page-header-color: var(--t-text-color-default-secondary);
|
|
523
524
|
--tds-page-header-headline-color: var(--t-text-color-default-headline);
|
|
524
525
|
--tds-page-header-padding-x: var(--t-spacing-2);
|
|
525
526
|
--tds-page-header-padding-y: var(--t-spacing-2);
|
|
526
|
-
--tds-page-header-nav-padding-x:
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
527
|
+
--tds-page-header-nav-padding-x:
|
|
528
|
+
var(
|
|
529
|
+
--tds-page-header-padding-x,
|
|
530
|
+
var(--t-spacing-3)
|
|
531
|
+
);
|
|
532
|
+
--tds-page-header-nav-background:
|
|
533
|
+
linear-gradient(
|
|
534
|
+
180deg,
|
|
535
|
+
rgba(0, 0, 0, 0) 0%,
|
|
536
|
+
rgba(0, 0, 0, .1) 100%
|
|
537
|
+
);
|
|
535
538
|
--tds-page-header-nav-item-padding-x: var(--t-spacing-1);
|
|
536
539
|
--tds-page-header-nav-item-padding-y: var(--t-spacing-1);
|
|
537
540
|
--tds-page-header-nav-item-color: var(--t-text-color-default-primary);
|
|
538
|
-
--tds-page-header-nav-item-background-color:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
+
--tds-page-header-nav-item-background-color:
|
|
542
|
+
var(
|
|
543
|
+
--t-fill-color-transparency-light-060
|
|
544
|
+
);
|
|
541
545
|
--tds-page-header-nav-item-border-width: 0;
|
|
542
546
|
|
|
543
|
-
--tds-page-header-nav-item-border-color:
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
547
|
+
--tds-page-header-nav-item-border-color:
|
|
548
|
+
var(
|
|
549
|
+
--tds-page-header-nav-item-background-color
|
|
550
|
+
);
|
|
551
|
+
--tds-page-header-nav-item-border-bottom-color:
|
|
552
|
+
var(
|
|
553
|
+
--t-border-color-default-base
|
|
554
|
+
);
|
|
549
555
|
|
|
550
556
|
--tds-page-header-nav-item-color-hover: var(--t-text-color-default-primary);
|
|
551
|
-
--tds-page-header-nav-item-background-color-hover:
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
+
--tds-page-header-nav-item-background-color-hover:
|
|
558
|
+
var(
|
|
559
|
+
--t-fill-color-neutral-080
|
|
560
|
+
);
|
|
561
|
+
--tds-page-header-nav-item-border-color-hover:
|
|
562
|
+
var(
|
|
563
|
+
--tds-page-header-nav-item-background-color-hover
|
|
564
|
+
);
|
|
557
565
|
|
|
558
|
-
--tds-page-header-nav-item-background-color-active:
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
566
|
+
--tds-page-header-nav-item-background-color-active:
|
|
567
|
+
var(
|
|
568
|
+
--t-fill-color-neutral-060
|
|
569
|
+
);
|
|
570
|
+
--tds-page-header-nav-item-border-color-active:
|
|
571
|
+
var(
|
|
572
|
+
--tds-page-header-nav-item-background-color-hover
|
|
573
|
+
);
|
|
564
574
|
|
|
565
|
-
--tds-page-header-nav-item-color-disabled:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
575
|
+
--tds-page-header-nav-item-color-disabled:
|
|
576
|
+
var(
|
|
577
|
+
--t-text-color-default-disabled
|
|
578
|
+
);
|
|
579
|
+
--tds-page-header-nav-item-background-color-disabled:
|
|
580
|
+
var(
|
|
581
|
+
--t-fill-color-neutral-080
|
|
582
|
+
);
|
|
583
|
+
--tds-page-header-nav-item-border-color-disabled:
|
|
584
|
+
var(
|
|
585
|
+
--tds-page-header-nav-item-background-color-disabled
|
|
586
|
+
);
|
|
574
587
|
|
|
575
|
-
--tds-page-header-nav-item-color-selected:
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
588
|
+
--tds-page-header-nav-item-color-selected:
|
|
589
|
+
var(
|
|
590
|
+
--t-text-color-default-primary
|
|
591
|
+
);
|
|
592
|
+
--tds-page-header-nav-item-border-color-selected:
|
|
593
|
+
var(
|
|
594
|
+
--t-border-color-default-base
|
|
595
|
+
);
|
|
596
|
+
--tds-page-header-nav-item-background-color-selected:
|
|
597
|
+
var(
|
|
598
|
+
--t-fill-color-neutral-100
|
|
599
|
+
);
|
|
600
|
+
--tds-page-header-nav-item-border-bottom-color-selected:
|
|
601
|
+
var(
|
|
602
|
+
--tds-page-header-nav-item-background-color-selected
|
|
603
|
+
);
|
|
587
604
|
}
|
|
588
605
|
|
|
589
606
|
|
|
590
|
-
@media (width
|
|
607
|
+
@media (min-width: 720px) {
|
|
591
608
|
.tds-page-header {
|
|
592
609
|
--tds-page-header-padding-x: var(--t-spacing-3);
|
|
593
610
|
--tds-page-header-nav-background: transparent;
|
|
594
611
|
--tds-page-header-nav-item-padding-x: var(--t-spacing-2);
|
|
595
612
|
--tds-page-header-nav-item-border-width: 1px;
|
|
596
613
|
--tds-page-header-nav-item-color: var(--t-text-color-default-secondary);
|
|
597
|
-
--tds-page-header-nav-item-background-color:
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
--t-text-color-default-primary
|
|
602
|
-
);
|
|
614
|
+
--tds-page-header-nav-item-background-color:
|
|
615
|
+
var(
|
|
616
|
+
--t-fill-color-neutral-070
|
|
617
|
+
);
|
|
603
618
|
}
|
|
604
619
|
}
|
|
605
620
|
}
|
|
@@ -664,10 +679,10 @@
|
|
|
664
679
|
display: flex;
|
|
665
680
|
gap: var(--t-spacing-half);
|
|
666
681
|
padding: 0 var(--tds-page-header-nav-padding-x);
|
|
667
|
-
margin: 0 0 -1px
|
|
682
|
+
margin: 0 0 -1px;
|
|
668
683
|
overflow: auto;
|
|
669
|
-
background: var(--tds-page-header-nav-background);
|
|
670
684
|
list-style: none;
|
|
685
|
+
background: var(--tds-page-header-nav-background);
|
|
671
686
|
}
|
|
672
687
|
|
|
673
688
|
.tds-page-header nav[slot="navigation"] a,
|
|
@@ -675,19 +690,21 @@
|
|
|
675
690
|
.tds-page-header nav.tds-page-header__nav a,
|
|
676
691
|
.tds-page-header nav.tds-page-header__nav button {
|
|
677
692
|
display: inline-flex;
|
|
678
|
-
padding:
|
|
693
|
+
padding:
|
|
694
|
+
var(--tds-page-header-nav-item-padding-y)
|
|
679
695
|
var(--tds-page-header-nav-item-padding-x);
|
|
680
696
|
font-size: var(--t-font-size-md);
|
|
681
697
|
color: var(--tds-page-header-nav-item-color);
|
|
682
698
|
white-space: nowrap;
|
|
683
699
|
text-decoration: none;
|
|
684
700
|
-webkit-appearance: none;
|
|
685
|
-
|
|
686
|
-
|
|
701
|
+
-moz-appearance: none;
|
|
702
|
+
appearance: none;
|
|
687
703
|
cursor: pointer;
|
|
688
704
|
outline-offset: -2px;
|
|
689
705
|
background-color: var(--tds-page-header-nav-item-background-color);
|
|
690
|
-
border:
|
|
706
|
+
border:
|
|
707
|
+
var(--tds-page-header-nav-item-border-width) solid
|
|
691
708
|
var(--tds-page-header-nav-item-border-color);
|
|
692
709
|
border-bottom: 1px solid var(--tds-page-header-nav-item-border-bottom-color);
|
|
693
710
|
border-radius: var(--t-border-radius-md) var(--t-border-radius-md) 0 0;
|
|
@@ -697,18 +714,22 @@
|
|
|
697
714
|
.tds-page-header nav[slot="navigation"] button.selected,
|
|
698
715
|
.tds-page-header nav.tds-page-header__nav a.selected,
|
|
699
716
|
.tds-page-header nav.tds-page-header__nav button.selected {
|
|
700
|
-
--tds-page-header-nav-item-color:
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
717
|
+
--tds-page-header-nav-item-color:
|
|
718
|
+
var(
|
|
719
|
+
--tds-page-header-nav-item-color-selected
|
|
720
|
+
);
|
|
721
|
+
--tds-page-header-nav-item-border-color:
|
|
722
|
+
var(
|
|
723
|
+
--tds-page-header-nav-item-border-color-selected
|
|
724
|
+
);
|
|
725
|
+
--tds-page-header-nav-item-background-color:
|
|
726
|
+
var(
|
|
727
|
+
--tds-page-header-nav-item-background-color-selected
|
|
728
|
+
);
|
|
729
|
+
--tds-page-header-nav-item-border-bottom-color:
|
|
730
|
+
var(
|
|
731
|
+
--tds-page-header-nav-item-background-color-selected
|
|
732
|
+
);
|
|
712
733
|
}
|
|
713
734
|
|
|
714
735
|
.tds-page-header nav[slot="navigation"] a:not(.selected):hover,
|
|
@@ -716,12 +737,14 @@
|
|
|
716
737
|
.tds-page-header nav.tds-page-header__nav a:not(.selected):hover,
|
|
717
738
|
.tds-page-header nav.tds-page-header__nav button:not(.selected):hover {
|
|
718
739
|
--tds-page-header-nav-item-color: var(--tds-page-header-nav-item-color-hover);
|
|
719
|
-
--tds-page-header-nav-item-background-color:
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
740
|
+
--tds-page-header-nav-item-background-color:
|
|
741
|
+
var(
|
|
742
|
+
--tds-page-header-nav-item-background-color-hover
|
|
743
|
+
);
|
|
744
|
+
--tds-page-header-nav-item-border-color:
|
|
745
|
+
var(
|
|
746
|
+
--tds-page-header-nav-item-border-color-hover
|
|
747
|
+
);
|
|
725
748
|
}
|
|
726
749
|
|
|
727
750
|
.tds-page-header nav[slot="navigation"] a:not(.selected):active,
|
|
@@ -741,7 +764,7 @@
|
|
|
741
764
|
opacity: 1;
|
|
742
765
|
}
|
|
743
766
|
|
|
744
|
-
@media (width
|
|
767
|
+
@media (min-width: 720px) {
|
|
745
768
|
.tds-page-header__title-bar,
|
|
746
769
|
.tds-page-header--profile .tds-page-header__title-bar {
|
|
747
770
|
flex-direction: row;
|
|
@@ -836,7 +859,9 @@
|
|
|
836
859
|
color: var(--t-text-color-default-headline);
|
|
837
860
|
white-space: nowrap;
|
|
838
861
|
text-decoration: none;
|
|
839
|
-
appearance: none;
|
|
862
|
+
-webkit-appearance: none;
|
|
863
|
+
-moz-appearance: none;
|
|
864
|
+
appearance: none;
|
|
840
865
|
cursor: pointer;
|
|
841
866
|
outline: 0;
|
|
842
867
|
background-color: transparent;
|
|
@@ -854,14 +879,14 @@
|
|
|
854
879
|
white-space: nowrap;
|
|
855
880
|
}
|
|
856
881
|
|
|
857
|
-
|
|
882
|
+
.selected > :is(.tds-sidenav-item :is(a,button)) {
|
|
858
883
|
--tds-sidenav-item-nested-background: transparent;
|
|
859
884
|
--tds-sidenav-item-nested-border-color: var(--tds-sidenav-item-nested-border-color-selected);
|
|
860
885
|
font-weight: 600;
|
|
861
886
|
background-color: var(--tds-sidenav-item-background-selected);
|
|
862
887
|
}
|
|
863
888
|
|
|
864
|
-
|
|
889
|
+
:is(.selected > :is(.tds-sidenav-item :is(a,button))) .prefix,:is(.selected > :is(.tds-sidenav-item :is(a,button))) [slot="prefix"] {
|
|
865
890
|
color: var(--t-icon-color-default-primary);
|
|
866
891
|
}
|
|
867
892
|
|
|
@@ -883,6 +908,8 @@
|
|
|
883
908
|
|
|
884
909
|
:is(:is(.tds-sidenav-item :is(a,button)) :is(.prefix,[slot="prefix"])) svg {
|
|
885
910
|
display: block;
|
|
911
|
+
width: 16px;
|
|
912
|
+
height: 16px;
|
|
886
913
|
}
|
|
887
914
|
|
|
888
915
|
:is(.tds-sidenav-item :is(a,button)):has(.prefix,[slot="prefix"]) + .tds-sidenav-section {
|
|
@@ -977,6 +1004,7 @@
|
|
|
977
1004
|
display: flex;
|
|
978
1005
|
align-items: center;
|
|
979
1006
|
justify-content: center;
|
|
1007
|
+
order: 0;
|
|
980
1008
|
height: var(--t-container-size-md);
|
|
981
1009
|
padding: 3px var(--t-spacing-1);
|
|
982
1010
|
background-color: var(--t-fill-color-button-neutral-outline-dim-default);
|
|
@@ -994,34 +1022,68 @@
|
|
|
994
1022
|
|
|
995
1023
|
.tds-sidenav-responsive-header .tds-sidenav-responsive-header-label {
|
|
996
1024
|
flex: 1;
|
|
1025
|
+
order: 1;
|
|
997
1026
|
margin: 0;
|
|
998
1027
|
font-size: var(--t-font-size-lg);
|
|
999
1028
|
font-weight: var(--t-font-weight-medium);
|
|
1000
1029
|
color: var(--t-text-color-default-headline);
|
|
1001
1030
|
}
|
|
1002
1031
|
|
|
1003
|
-
@media (max-width:
|
|
1032
|
+
@media (max-width: 719px) {
|
|
1004
1033
|
.tds-sidenav-collapse {
|
|
1034
|
+
display: none;
|
|
1005
1035
|
position: absolute;
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
padding: var(--t-spacing-2);
|
|
1012
|
-
margin-top: 12px;
|
|
1036
|
+
z-index: 10001;
|
|
1037
|
+
max-width: min(448px, calc(100vw - 48px));
|
|
1038
|
+
padding: 0;
|
|
1039
|
+
margin: 12px 0;
|
|
1040
|
+
overflow: hidden;
|
|
1013
1041
|
outline: 0;
|
|
1014
|
-
background:
|
|
1042
|
+
background: var(--t-surface-color-card);
|
|
1015
1043
|
border: 0;
|
|
1016
1044
|
border-radius: 6px;
|
|
1017
1045
|
box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .25);
|
|
1046
|
+
will-change: transform;
|
|
1047
|
+
position-area: bottom span-right;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.tds-sidenav-collapse:popover-open,
|
|
1051
|
+
.tds-sidenav-collapse.\:popover-open {
|
|
1052
|
+
display: flex;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.tds-sidenav-scroll-container {
|
|
1056
|
+
--webkit-overflow-scrolling: touch;
|
|
1057
|
+
display: block;
|
|
1058
|
+
width: 100%;
|
|
1059
|
+
height: -moz-fit-content;
|
|
1060
|
+
height: fit-content;
|
|
1061
|
+
padding: var(--t-spacing-2);
|
|
1062
|
+
overflow-y: auto;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
.tds-sidenav-item :is(a, button) :is(.prefix, [slot="prefix"]) {
|
|
1066
|
+
display: none;
|
|
1018
1067
|
}
|
|
1019
1068
|
}
|
|
1020
1069
|
|
|
1021
|
-
@media (min-width:
|
|
1070
|
+
@media (min-width: 720px) {
|
|
1022
1071
|
.tds-sidenav-responsive-header {
|
|
1023
1072
|
display: none;
|
|
1024
1073
|
}
|
|
1025
1074
|
}
|
|
1026
1075
|
|
|
1076
|
+
:is(tds-sidenav,tds-sidenav-section,tds-sidenav-item):not(.hydrated) > :not([slot="ssr"]) {
|
|
1077
|
+
display: none;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
:is(tds-sidenav,tds-sidenav-section,tds-sidenav-item):not(.hydrated) > [slot="ssr"] {
|
|
1081
|
+
display: block;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
tds-sidenav-section:not(.hydrated) > [slot="ssr"] {
|
|
1085
|
+
display: flex;
|
|
1086
|
+
flex-direction: column;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1027
1089
|
/*# sourceMappingURL=index.css.map */
|