@sankhyatronics/sankhya-cms 0.1.3 → 0.1.5
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/custom-elements.json +2255 -1328
- package/dist/bento-grid/index.d.ts +5 -1
- package/dist/bento-grid/index.js +1 -1
- package/dist/{chunk-OEX5FDMR.js → chunk-2JGWWXEI.js} +4 -2
- package/dist/chunk-2JGWWXEI.js.map +1 -0
- package/dist/{chunk-PKTRYUGP.js → chunk-5KHI36M5.js} +7 -2
- package/dist/chunk-5KHI36M5.js.map +1 -0
- package/dist/{chunk-FWIG6GEZ.js → chunk-5MTPMXAQ.js} +171 -5
- package/dist/chunk-5MTPMXAQ.js.map +1 -0
- package/dist/{chunk-USNFT4DU.js → chunk-6H262SG6.js} +8 -6
- package/dist/chunk-6H262SG6.js.map +1 -0
- package/dist/{chunk-E52WO7R7.js → chunk-BQTDFQ4V.js} +5 -3
- package/dist/chunk-BQTDFQ4V.js.map +1 -0
- package/dist/{chunk-74MILER4.js → chunk-EMVHNAID.js} +5 -3
- package/dist/chunk-EMVHNAID.js.map +1 -0
- package/dist/{chunk-3ERKQNZT.js → chunk-HGJT24UG.js} +7 -5
- package/dist/chunk-HGJT24UG.js.map +1 -0
- package/dist/chunk-HGTC3LCW.js +607 -0
- package/dist/chunk-HGTC3LCW.js.map +1 -0
- package/dist/{chunk-5DNVCMOO.js → chunk-IDBEZY2O.js} +8 -6
- package/dist/chunk-IDBEZY2O.js.map +1 -0
- package/dist/{chunk-TH5NZXA7.js → chunk-KHPJ5FAJ.js} +80 -4
- package/dist/chunk-KHPJ5FAJ.js.map +1 -0
- package/dist/{chunk-2VZFHTBC.js → chunk-MW43OS47.js} +5 -3
- package/dist/chunk-MW43OS47.js.map +1 -0
- package/dist/{chunk-N63TVWK3.js → chunk-NN3OCPDV.js} +23 -19
- package/dist/chunk-NN3OCPDV.js.map +1 -0
- package/dist/{chunk-3TCP25JG.js → chunk-PB7ZPPLP.js} +9 -1
- package/dist/chunk-PB7ZPPLP.js.map +1 -0
- package/dist/{chunk-5UFRGZWG.js → chunk-TLHG33MM.js} +2 -2
- package/dist/{chunk-IMACP7HN.js → chunk-UVNBZD7R.js} +5 -3
- package/dist/chunk-UVNBZD7R.js.map +1 -0
- package/dist/{chunk-5REZSZCK.js → chunk-VRRBMOUP.js} +5 -3
- package/dist/chunk-VRRBMOUP.js.map +1 -0
- package/dist/cms-theme.css +11 -0
- package/dist/content-block/index.d.ts +2 -0
- package/dist/content-block/index.js +1 -1
- package/dist/cookie-consent/index.d.ts +2 -0
- package/dist/cookie-consent/index.js +1 -1
- package/dist/dropdown/index.d.ts +30 -2
- package/dist/dropdown/index.js +2 -1
- package/dist/feature-split/index.d.ts +5 -1
- package/dist/feature-split/index.js +1 -1
- package/dist/features-section/index.d.ts +2 -0
- package/dist/features-section/index.js +1 -1
- package/dist/header/index.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +42 -34
- package/dist/items-accordion/index.d.ts +5 -1
- package/dist/items-accordion/index.js +1 -1
- package/dist/mega-menu/index.d.ts +142 -0
- package/dist/mega-menu/index.js +14 -0
- package/dist/mega-menu/index.js.map +1 -0
- package/dist/menu-item/index.d.ts +3 -0
- package/dist/menu-item/index.js +2 -1
- package/dist/promo-banner/index.d.ts +3 -0
- package/dist/promo-banner/index.js +1 -1
- package/dist/schema/index.d.ts +3 -0
- package/dist/schema/index.js +3 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/section/index.d.ts +1 -0
- package/dist/section/index.js +1 -1
- package/dist/select/index.js +2 -2
- package/dist/shared/icons.d.ts +3 -1
- package/dist/shared/icons.js +3 -1
- package/dist/stats/index.d.ts +6 -1
- package/dist/stats/index.js +1 -1
- package/dist/testimonials/index.d.ts +1 -0
- package/dist/testimonials/index.js +2 -2
- package/package.json +18 -23
- package/LICENSE +0 -21
- package/dist/chunk-2VZFHTBC.js.map +0 -1
- package/dist/chunk-3ERKQNZT.js.map +0 -1
- package/dist/chunk-3TCP25JG.js.map +0 -1
- package/dist/chunk-5DNVCMOO.js.map +0 -1
- package/dist/chunk-5REZSZCK.js.map +0 -1
- package/dist/chunk-74MILER4.js.map +0 -1
- package/dist/chunk-E52WO7R7.js.map +0 -1
- package/dist/chunk-FWIG6GEZ.js.map +0 -1
- package/dist/chunk-IMACP7HN.js.map +0 -1
- package/dist/chunk-N63TVWK3.js.map +0 -1
- package/dist/chunk-OEX5FDMR.js.map +0 -1
- package/dist/chunk-PKTRYUGP.js.map +0 -1
- package/dist/chunk-TH5NZXA7.js.map +0 -1
- package/dist/chunk-USNFT4DU.js.map +0 -1
- /package/dist/{chunk-5UFRGZWG.js.map → chunk-TLHG33MM.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "A responsive 4-column bento grid of icon/image cards. Items are set via the `items` property.",
|
|
12
12
|
"name": "BentoGrid",
|
|
13
|
+
"cssProperties": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Overrides the block's padding.",
|
|
16
|
+
"name": "--st-bento-grid-padding"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
13
19
|
"members": [
|
|
14
20
|
{
|
|
15
21
|
"kind": "field",
|
|
@@ -114,6 +120,135 @@
|
|
|
114
120
|
}
|
|
115
121
|
]
|
|
116
122
|
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "javascript-module",
|
|
125
|
+
"path": "src/card/Card.ts",
|
|
126
|
+
"declarations": [
|
|
127
|
+
{
|
|
128
|
+
"kind": "class",
|
|
129
|
+
"description": "A surfaced container — content goes in the default slot. Ports `SankhyaUI`'s React `Card`\r\n(`variant`, `padding`, `elevation`, `hoverable`, `inverted`); `onClick` is just a native `click`\r\nlistener on the element. `padding` takes `none | small | medium | large` (the source's\r\n`sm|md|lg`, spelled like `paddingScaleStyles`); `elevation` takes `none | sm | md | lg`.",
|
|
130
|
+
"name": "Card",
|
|
131
|
+
"members": [
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "variant",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "'default' | 'bordered'"
|
|
137
|
+
},
|
|
138
|
+
"default": "'default'",
|
|
139
|
+
"attribute": "variant",
|
|
140
|
+
"reflects": true
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "field",
|
|
144
|
+
"name": "padding",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
147
|
+
},
|
|
148
|
+
"default": "'medium'",
|
|
149
|
+
"attribute": "padding",
|
|
150
|
+
"reflects": true
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"kind": "field",
|
|
154
|
+
"name": "elevation",
|
|
155
|
+
"type": {
|
|
156
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
157
|
+
},
|
|
158
|
+
"default": "'sm'",
|
|
159
|
+
"attribute": "elevation",
|
|
160
|
+
"reflects": true
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"kind": "field",
|
|
164
|
+
"name": "hoverable",
|
|
165
|
+
"type": {
|
|
166
|
+
"text": "boolean"
|
|
167
|
+
},
|
|
168
|
+
"default": "false",
|
|
169
|
+
"attribute": "hoverable",
|
|
170
|
+
"reflects": true
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "field",
|
|
174
|
+
"name": "inverted",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"default": "false",
|
|
179
|
+
"attribute": "inverted",
|
|
180
|
+
"reflects": true
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"attributes": [
|
|
184
|
+
{
|
|
185
|
+
"name": "variant",
|
|
186
|
+
"type": {
|
|
187
|
+
"text": "'default' | 'bordered'"
|
|
188
|
+
},
|
|
189
|
+
"default": "'default'",
|
|
190
|
+
"fieldName": "variant"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "padding",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
196
|
+
},
|
|
197
|
+
"default": "'medium'",
|
|
198
|
+
"fieldName": "padding"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "elevation",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
204
|
+
},
|
|
205
|
+
"default": "'sm'",
|
|
206
|
+
"fieldName": "elevation"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "hoverable",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "boolean"
|
|
212
|
+
},
|
|
213
|
+
"default": "false",
|
|
214
|
+
"fieldName": "hoverable"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "inverted",
|
|
218
|
+
"type": {
|
|
219
|
+
"text": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"default": "false",
|
|
222
|
+
"fieldName": "inverted"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"superclass": {
|
|
226
|
+
"name": "LitElement",
|
|
227
|
+
"package": "lit"
|
|
228
|
+
},
|
|
229
|
+
"tagName": "st-card",
|
|
230
|
+
"customElement": true
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"exports": [
|
|
234
|
+
{
|
|
235
|
+
"kind": "js",
|
|
236
|
+
"name": "Card",
|
|
237
|
+
"declaration": {
|
|
238
|
+
"name": "Card",
|
|
239
|
+
"module": "src/card/Card.ts"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "custom-element-definition",
|
|
244
|
+
"name": "st-card",
|
|
245
|
+
"declaration": {
|
|
246
|
+
"name": "Card",
|
|
247
|
+
"module": "src/card/Card.ts"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
117
252
|
{
|
|
118
253
|
"kind": "javascript-module",
|
|
119
254
|
"path": "src/carousel/Carousel.ts",
|
|
@@ -513,52 +648,83 @@
|
|
|
513
648
|
},
|
|
514
649
|
{
|
|
515
650
|
"kind": "javascript-module",
|
|
516
|
-
"path": "src/
|
|
651
|
+
"path": "src/content-block/ContentBlock.ts",
|
|
517
652
|
"declarations": [
|
|
518
653
|
{
|
|
519
654
|
"kind": "class",
|
|
520
|
-
"description": "A
|
|
521
|
-
"name": "
|
|
655
|
+
"description": "A long-form article section: centered title/subtitle, an optional featured image with caption,\r\nthen Markdown body text. Ports `SankhyaUI`'s React `ContentBlock`. The body comes from\r\n`content-src` (a Markdown URL, as in the source) or an inline `content` string (added so the\r\nblock works without a fetch); `content-src` wins when both are set.",
|
|
656
|
+
"name": "ContentBlock",
|
|
657
|
+
"cssProperties": [
|
|
658
|
+
{
|
|
659
|
+
"description": "Overrides the block's padding.",
|
|
660
|
+
"name": "--st-content-block-padding"
|
|
661
|
+
}
|
|
662
|
+
],
|
|
522
663
|
"members": [
|
|
523
664
|
{
|
|
524
665
|
"kind": "field",
|
|
525
|
-
"name": "
|
|
666
|
+
"name": "title",
|
|
526
667
|
"type": {
|
|
527
|
-
"text": "
|
|
668
|
+
"text": "string"
|
|
528
669
|
},
|
|
529
|
-
"default": "'
|
|
530
|
-
"attribute": "
|
|
531
|
-
"reflects": true
|
|
670
|
+
"default": "''",
|
|
671
|
+
"attribute": "title"
|
|
532
672
|
},
|
|
533
673
|
{
|
|
534
674
|
"kind": "field",
|
|
535
|
-
"name": "
|
|
675
|
+
"name": "subtitle",
|
|
536
676
|
"type": {
|
|
537
|
-
"text": "
|
|
677
|
+
"text": "string"
|
|
538
678
|
},
|
|
539
|
-
"default": "'
|
|
540
|
-
"attribute": "
|
|
541
|
-
"reflects": true
|
|
679
|
+
"default": "''",
|
|
680
|
+
"attribute": "subtitle"
|
|
542
681
|
},
|
|
543
682
|
{
|
|
544
683
|
"kind": "field",
|
|
545
|
-
"name": "
|
|
684
|
+
"name": "contentSrc",
|
|
546
685
|
"type": {
|
|
547
|
-
"text": "
|
|
686
|
+
"text": "string"
|
|
548
687
|
},
|
|
549
|
-
"default": "'
|
|
550
|
-
"
|
|
551
|
-
"
|
|
688
|
+
"default": "''",
|
|
689
|
+
"description": "URL of a Markdown file.",
|
|
690
|
+
"attribute": "content-src"
|
|
552
691
|
},
|
|
553
692
|
{
|
|
554
693
|
"kind": "field",
|
|
555
|
-
"name": "
|
|
694
|
+
"name": "content",
|
|
556
695
|
"type": {
|
|
557
|
-
"text": "
|
|
696
|
+
"text": "string"
|
|
558
697
|
},
|
|
559
|
-
"default": "
|
|
560
|
-
"
|
|
561
|
-
"
|
|
698
|
+
"default": "''",
|
|
699
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
700
|
+
"attribute": "content"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"kind": "field",
|
|
704
|
+
"name": "imageSrc",
|
|
705
|
+
"type": {
|
|
706
|
+
"text": "string"
|
|
707
|
+
},
|
|
708
|
+
"default": "''",
|
|
709
|
+
"attribute": "image-src"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"kind": "field",
|
|
713
|
+
"name": "imageAlt",
|
|
714
|
+
"type": {
|
|
715
|
+
"text": "string"
|
|
716
|
+
},
|
|
717
|
+
"default": "''",
|
|
718
|
+
"attribute": "image-alt"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"kind": "field",
|
|
722
|
+
"name": "imageCaption",
|
|
723
|
+
"type": {
|
|
724
|
+
"text": "string"
|
|
725
|
+
},
|
|
726
|
+
"default": "''",
|
|
727
|
+
"attribute": "image-caption"
|
|
562
728
|
},
|
|
563
729
|
{
|
|
564
730
|
"kind": "field",
|
|
@@ -573,69 +739,95 @@
|
|
|
573
739
|
],
|
|
574
740
|
"attributes": [
|
|
575
741
|
{
|
|
576
|
-
"name": "
|
|
742
|
+
"name": "title",
|
|
577
743
|
"type": {
|
|
578
|
-
"text": "
|
|
744
|
+
"text": "string"
|
|
579
745
|
},
|
|
580
|
-
"default": "'
|
|
581
|
-
"fieldName": "
|
|
746
|
+
"default": "''",
|
|
747
|
+
"fieldName": "title"
|
|
582
748
|
},
|
|
583
749
|
{
|
|
584
|
-
"name": "
|
|
750
|
+
"name": "subtitle",
|
|
585
751
|
"type": {
|
|
586
|
-
"text": "
|
|
752
|
+
"text": "string"
|
|
587
753
|
},
|
|
588
|
-
"default": "'
|
|
589
|
-
"fieldName": "
|
|
754
|
+
"default": "''",
|
|
755
|
+
"fieldName": "subtitle"
|
|
590
756
|
},
|
|
591
757
|
{
|
|
592
|
-
"name": "
|
|
758
|
+
"name": "content-src",
|
|
593
759
|
"type": {
|
|
594
|
-
"text": "
|
|
760
|
+
"text": "string"
|
|
595
761
|
},
|
|
596
|
-
"default": "'
|
|
597
|
-
"
|
|
762
|
+
"default": "''",
|
|
763
|
+
"description": "URL of a Markdown file.",
|
|
764
|
+
"fieldName": "contentSrc"
|
|
598
765
|
},
|
|
599
766
|
{
|
|
600
|
-
"name": "
|
|
767
|
+
"name": "content",
|
|
601
768
|
"type": {
|
|
602
|
-
"text": "
|
|
769
|
+
"text": "string"
|
|
603
770
|
},
|
|
604
|
-
"default": "
|
|
605
|
-
"
|
|
771
|
+
"default": "''",
|
|
772
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
773
|
+
"fieldName": "content"
|
|
606
774
|
},
|
|
607
775
|
{
|
|
608
|
-
"name": "
|
|
776
|
+
"name": "image-src",
|
|
609
777
|
"type": {
|
|
610
|
-
"text": "
|
|
778
|
+
"text": "string"
|
|
611
779
|
},
|
|
612
|
-
"default": "
|
|
613
|
-
"fieldName": "
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
780
|
+
"default": "''",
|
|
781
|
+
"fieldName": "imageSrc"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "image-alt",
|
|
785
|
+
"type": {
|
|
786
|
+
"text": "string"
|
|
787
|
+
},
|
|
788
|
+
"default": "''",
|
|
789
|
+
"fieldName": "imageAlt"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "image-caption",
|
|
793
|
+
"type": {
|
|
794
|
+
"text": "string"
|
|
795
|
+
},
|
|
796
|
+
"default": "''",
|
|
797
|
+
"fieldName": "imageCaption"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "inverted",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"default": "false",
|
|
805
|
+
"fieldName": "inverted"
|
|
806
|
+
}
|
|
807
|
+
],
|
|
808
|
+
"superclass": {
|
|
809
|
+
"name": "LitElement",
|
|
810
|
+
"package": "lit"
|
|
811
|
+
},
|
|
812
|
+
"tagName": "st-content-block",
|
|
813
|
+
"customElement": true
|
|
622
814
|
}
|
|
623
815
|
],
|
|
624
816
|
"exports": [
|
|
625
817
|
{
|
|
626
818
|
"kind": "js",
|
|
627
|
-
"name": "
|
|
819
|
+
"name": "ContentBlock",
|
|
628
820
|
"declaration": {
|
|
629
|
-
"name": "
|
|
630
|
-
"module": "src/
|
|
821
|
+
"name": "ContentBlock",
|
|
822
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
631
823
|
}
|
|
632
824
|
},
|
|
633
825
|
{
|
|
634
826
|
"kind": "custom-element-definition",
|
|
635
|
-
"name": "st-
|
|
827
|
+
"name": "st-content-block",
|
|
636
828
|
"declaration": {
|
|
637
|
-
"name": "
|
|
638
|
-
"module": "src/
|
|
829
|
+
"name": "ContentBlock",
|
|
830
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
639
831
|
}
|
|
640
832
|
}
|
|
641
833
|
]
|
|
@@ -648,6 +840,12 @@
|
|
|
648
840
|
"kind": "class",
|
|
649
841
|
"description": "Fixed bottom consent bar. The source read/wrote consent through a React `UserContext`; here the\r\nelement persists the choice itself in localStorage (`storage-key`, default the source's\r\n`sankhya_ui_cookie_consent`; storage errors are ignored) and renders nothing once a choice\r\nexists. Fires `cookie-consent-accept` / `cookie-consent-refuse` (detail `{ status }`). The\r\ndefault slot replaces the message text.",
|
|
650
842
|
"name": "CookieConsent",
|
|
843
|
+
"cssProperties": [
|
|
844
|
+
{
|
|
845
|
+
"description": "Overrides the bar's padding.",
|
|
846
|
+
"name": "--st-cookie-consent-padding"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
651
849
|
"members": [
|
|
652
850
|
{
|
|
653
851
|
"kind": "field",
|
|
@@ -825,817 +1023,772 @@
|
|
|
825
1023
|
},
|
|
826
1024
|
{
|
|
827
1025
|
"kind": "javascript-module",
|
|
828
|
-
"path": "src/
|
|
1026
|
+
"path": "src/dropdown/Dropdown.ts",
|
|
829
1027
|
"declarations": [
|
|
830
1028
|
{
|
|
831
1029
|
"kind": "class",
|
|
832
|
-
"description": "A
|
|
833
|
-
"name": "
|
|
1030
|
+
"description": "A labeled trigger + slotted dropdown panel — nav menus (typically holding an `st-menu-grid`),\r\naction menus, anything \"click a trigger, show content under it\". A 1:1 port of `SankhyaUI`'s\r\nReact `Dropdown` (`SankhyaCMS/SankhyaUI/src/components/Dropdown`): same markup\r\n(`.menu` > `.menu-title` + `.menu-dropdown`), sizes, 0.3s slide/fade, and behavior —\r\n\r\n- only one dropdown is open at a time (the source's `DropdownProvider`, built in here, so no\r\n provider element is needed);\r\n- a mousedown outside, Escape, or a click inside the panel closes it;\r\n- an `href` trigger toggles the panel when it has content, and is a plain link when it doesn't;\r\n- `inline` opens the panel in the flow, the source's `.touch-device` layout.\r\n\r\nColors and the panel's surface come from the suite theme (the source left those to the\r\nconsumer's `className`/`itemGroupClassName` utility classes). Two source rules are left out\r\nbecause they break existing suite uses (`st-source-bar`'s site/library menus): the 100vw panel\r\nat <=768px (overflows the screen from wherever the trigger sits; the header uses `inline`\r\ninstead) and `overflow: hidden` on slotted children (clips their focus rings). Suite additions\r\nkept on top: `align`, `active`, `disabled`, `inline`, and the `dropdown-toggle` event — plus\r\n`mega` and `open-on-hover` for an okta.com-style mega menu (see `st-mega-menu`).",
|
|
1031
|
+
"name": "Dropdown",
|
|
1032
|
+
"cssProperties": [
|
|
1033
|
+
{
|
|
1034
|
+
"description": "Maximum width of a `mega` panel (default `1400px`).",
|
|
1035
|
+
"name": "--st-mega-menu-max-width"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"description": "Minimum space between a `mega` panel and the header's sides (default `1rem`).",
|
|
1039
|
+
"name": "--st-mega-menu-inset"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"description": "Space between the header and a `mega` panel (default `12px`).",
|
|
1043
|
+
"name": "--st-mega-menu-gap"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"description": "Corner radius of a `mega` panel (default `24px`).",
|
|
1047
|
+
"name": "--st-mega-menu-radius"
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
834
1050
|
"members": [
|
|
835
1051
|
{
|
|
836
1052
|
"kind": "field",
|
|
837
|
-
"name": "
|
|
1053
|
+
"name": "openDropdown",
|
|
838
1054
|
"type": {
|
|
839
|
-
"text": "
|
|
1055
|
+
"text": "Dropdown | null"
|
|
840
1056
|
},
|
|
841
|
-
"
|
|
842
|
-
"
|
|
1057
|
+
"privacy": "private",
|
|
1058
|
+
"static": true,
|
|
1059
|
+
"default": "null",
|
|
1060
|
+
"description": "The open dropdown, if any — the source's `DropdownContext.activeDropdown`."
|
|
843
1061
|
},
|
|
844
1062
|
{
|
|
845
1063
|
"kind": "field",
|
|
846
|
-
"name": "
|
|
1064
|
+
"name": "label",
|
|
847
1065
|
"type": {
|
|
848
1066
|
"text": "string"
|
|
849
1067
|
},
|
|
850
1068
|
"default": "''",
|
|
851
|
-
"
|
|
1069
|
+
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\r\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1070
|
+
"attribute": "label"
|
|
852
1071
|
},
|
|
853
1072
|
{
|
|
854
1073
|
"kind": "field",
|
|
855
|
-
"name": "
|
|
1074
|
+
"name": "href",
|
|
856
1075
|
"type": {
|
|
857
1076
|
"text": "string"
|
|
858
1077
|
},
|
|
859
1078
|
"default": "''",
|
|
860
|
-
"description": "
|
|
861
|
-
"attribute": "
|
|
1079
|
+
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\r\nthe source); with none it navigates.",
|
|
1080
|
+
"attribute": "href"
|
|
862
1081
|
},
|
|
863
1082
|
{
|
|
864
1083
|
"kind": "field",
|
|
865
|
-
"name": "
|
|
1084
|
+
"name": "iconPosition",
|
|
866
1085
|
"type": {
|
|
867
|
-
"text": "
|
|
1086
|
+
"text": "'left' | 'right'"
|
|
868
1087
|
},
|
|
869
|
-
"default": "''",
|
|
870
|
-
"
|
|
871
|
-
"attribute": "content"
|
|
1088
|
+
"default": "'left'",
|
|
1089
|
+
"attribute": "icon-position"
|
|
872
1090
|
},
|
|
873
1091
|
{
|
|
874
1092
|
"kind": "field",
|
|
875
|
-
"name": "
|
|
1093
|
+
"name": "iconSize",
|
|
876
1094
|
"type": {
|
|
877
1095
|
"text": "string"
|
|
878
1096
|
},
|
|
879
|
-
"default": "''",
|
|
880
|
-
"
|
|
1097
|
+
"default": "'1.2rem'",
|
|
1098
|
+
"description": "Inline `width`/`height` of the `slot=\"icon\"` wrapper (source: `iconSize`, default `1.2rem`).",
|
|
1099
|
+
"attribute": "icon-size"
|
|
881
1100
|
},
|
|
882
1101
|
{
|
|
883
1102
|
"kind": "field",
|
|
884
|
-
"name": "
|
|
1103
|
+
"name": "iconColor",
|
|
885
1104
|
"type": {
|
|
886
1105
|
"text": "string"
|
|
887
1106
|
},
|
|
888
|
-
"default": "''",
|
|
889
|
-
"
|
|
1107
|
+
"default": "'currentColor'",
|
|
1108
|
+
"description": "Inline `color` of the `slot=\"icon\"` wrapper (source: `iconColor`).",
|
|
1109
|
+
"attribute": "icon-color"
|
|
890
1110
|
},
|
|
891
1111
|
{
|
|
892
1112
|
"kind": "field",
|
|
893
|
-
"name": "
|
|
1113
|
+
"name": "align",
|
|
894
1114
|
"type": {
|
|
895
|
-
"text": "
|
|
1115
|
+
"text": "'left' | 'right'"
|
|
896
1116
|
},
|
|
897
|
-
"default": "''",
|
|
898
|
-
"
|
|
1117
|
+
"default": "'left'",
|
|
1118
|
+
"description": "Which edge of the trigger the panel lines up with.",
|
|
1119
|
+
"attribute": "align"
|
|
899
1120
|
},
|
|
900
1121
|
{
|
|
901
1122
|
"kind": "field",
|
|
902
|
-
"name": "
|
|
903
|
-
"type": {
|
|
904
|
-
"text": "boolean"
|
|
905
|
-
},
|
|
906
|
-
"default": "false",
|
|
907
|
-
"attribute": "inverted",
|
|
908
|
-
"reflects": true
|
|
909
|
-
}
|
|
910
|
-
],
|
|
911
|
-
"attributes": [
|
|
912
|
-
{
|
|
913
|
-
"name": "title",
|
|
1123
|
+
"name": "target",
|
|
914
1124
|
"type": {
|
|
915
1125
|
"text": "string"
|
|
916
1126
|
},
|
|
917
|
-
"default": "''",
|
|
918
|
-
"
|
|
1127
|
+
"default": "'_self'",
|
|
1128
|
+
"description": "`target` of an `href` trigger (source default `_self`).",
|
|
1129
|
+
"attribute": "target"
|
|
919
1130
|
},
|
|
920
1131
|
{
|
|
921
|
-
"
|
|
1132
|
+
"kind": "field",
|
|
1133
|
+
"name": "triggerClassName",
|
|
922
1134
|
"type": {
|
|
923
1135
|
"text": "string"
|
|
924
1136
|
},
|
|
925
1137
|
"default": "''",
|
|
926
|
-
"
|
|
1138
|
+
"description": "Extra class(es) on the trigger (source: `className`; a `class` on `st-dropdown` styles the host).",
|
|
1139
|
+
"attribute": "trigger-class-name"
|
|
927
1140
|
},
|
|
928
1141
|
{
|
|
929
|
-
"
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "itemGroupClassName",
|
|
930
1144
|
"type": {
|
|
931
1145
|
"text": "string"
|
|
932
1146
|
},
|
|
933
1147
|
"default": "''",
|
|
934
|
-
"description": "
|
|
935
|
-
"
|
|
1148
|
+
"description": "Extra class(es) on the panel (source: `itemGroupClassName`).",
|
|
1149
|
+
"attribute": "item-group-class-name"
|
|
936
1150
|
},
|
|
937
1151
|
{
|
|
938
|
-
"
|
|
1152
|
+
"kind": "field",
|
|
1153
|
+
"name": "itemClassName",
|
|
939
1154
|
"type": {
|
|
940
1155
|
"text": "string"
|
|
941
1156
|
},
|
|
942
1157
|
"default": "''",
|
|
943
|
-
"description": "
|
|
944
|
-
"
|
|
1158
|
+
"description": "Unused, as in the source (`itemClassName` is never read there); kept for prop parity.",
|
|
1159
|
+
"attribute": "item-class-name"
|
|
945
1160
|
},
|
|
946
1161
|
{
|
|
947
|
-
"
|
|
1162
|
+
"kind": "field",
|
|
1163
|
+
"name": "disabled",
|
|
948
1164
|
"type": {
|
|
949
|
-
"text": "
|
|
1165
|
+
"text": "boolean"
|
|
950
1166
|
},
|
|
951
|
-
"default": "
|
|
952
|
-
"
|
|
1167
|
+
"default": "false",
|
|
1168
|
+
"attribute": "disabled",
|
|
1169
|
+
"reflects": true
|
|
953
1170
|
},
|
|
954
1171
|
{
|
|
955
|
-
"
|
|
1172
|
+
"kind": "field",
|
|
1173
|
+
"name": "active",
|
|
956
1174
|
"type": {
|
|
957
|
-
"text": "
|
|
1175
|
+
"text": "boolean"
|
|
958
1176
|
},
|
|
959
|
-
"default": "
|
|
960
|
-
"
|
|
1177
|
+
"default": "false",
|
|
1178
|
+
"description": "Highlights the trigger as the current section (e.g. the current page is one of its items).",
|
|
1179
|
+
"attribute": "active",
|
|
1180
|
+
"reflects": true
|
|
961
1181
|
},
|
|
962
1182
|
{
|
|
963
|
-
"
|
|
1183
|
+
"kind": "field",
|
|
1184
|
+
"name": "inline",
|
|
964
1185
|
"type": {
|
|
965
|
-
"text": "
|
|
1186
|
+
"text": "boolean"
|
|
966
1187
|
},
|
|
967
|
-
"default": "
|
|
968
|
-
"
|
|
1188
|
+
"default": "false",
|
|
1189
|
+
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\r\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1190
|
+
"attribute": "inline",
|
|
1191
|
+
"reflects": true
|
|
969
1192
|
},
|
|
970
1193
|
{
|
|
971
|
-
"
|
|
1194
|
+
"kind": "field",
|
|
1195
|
+
"name": "open",
|
|
972
1196
|
"type": {
|
|
973
1197
|
"text": "boolean"
|
|
974
1198
|
},
|
|
975
1199
|
"default": "false",
|
|
976
|
-
"
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
"name": "LitElement",
|
|
981
|
-
"package": "lit"
|
|
982
|
-
},
|
|
983
|
-
"tagName": "st-content-block",
|
|
984
|
-
"customElement": true
|
|
985
|
-
}
|
|
986
|
-
],
|
|
987
|
-
"exports": [
|
|
988
|
-
{
|
|
989
|
-
"kind": "js",
|
|
990
|
-
"name": "ContentBlock",
|
|
991
|
-
"declaration": {
|
|
992
|
-
"name": "ContentBlock",
|
|
993
|
-
"module": "src/content-block/ContentBlock.ts"
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"kind": "custom-element-definition",
|
|
998
|
-
"name": "st-content-block",
|
|
999
|
-
"declaration": {
|
|
1000
|
-
"name": "ContentBlock",
|
|
1001
|
-
"module": "src/content-block/ContentBlock.ts"
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
]
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
"kind": "javascript-module",
|
|
1008
|
-
"path": "src/feature-split/FeatureSplit.ts",
|
|
1009
|
-
"declarations": [
|
|
1010
|
-
{
|
|
1011
|
-
"kind": "class",
|
|
1012
|
-
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
1013
|
-
"name": "FeatureSplit",
|
|
1014
|
-
"members": [
|
|
1200
|
+
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1201
|
+
"attribute": "open",
|
|
1202
|
+
"reflects": true
|
|
1203
|
+
},
|
|
1015
1204
|
{
|
|
1016
1205
|
"kind": "field",
|
|
1017
|
-
"name": "
|
|
1206
|
+
"name": "mega",
|
|
1018
1207
|
"type": {
|
|
1019
1208
|
"text": "boolean"
|
|
1020
1209
|
},
|
|
1021
1210
|
"default": "false",
|
|
1022
|
-
"
|
|
1211
|
+
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\r\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\r\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\r\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\r\ncloses it when it lands on a link.",
|
|
1212
|
+
"attribute": "mega",
|
|
1023
1213
|
"reflects": true
|
|
1024
1214
|
},
|
|
1025
1215
|
{
|
|
1026
1216
|
"kind": "field",
|
|
1027
|
-
"name": "
|
|
1217
|
+
"name": "openOnHover",
|
|
1028
1218
|
"type": {
|
|
1029
|
-
"text": "
|
|
1219
|
+
"text": "boolean"
|
|
1030
1220
|
},
|
|
1031
|
-
"default": "
|
|
1032
|
-
"
|
|
1221
|
+
"default": "false",
|
|
1222
|
+
"description": "Opens the panel while a mouse hovers the trigger or panel (touch and keyboard still click). Off while `inline`.",
|
|
1223
|
+
"attribute": "open-on-hover"
|
|
1033
1224
|
},
|
|
1034
1225
|
{
|
|
1035
1226
|
"kind": "field",
|
|
1036
|
-
"name": "
|
|
1227
|
+
"name": "backLabel",
|
|
1037
1228
|
"type": {
|
|
1038
1229
|
"text": "string"
|
|
1039
1230
|
},
|
|
1040
|
-
"default": "''",
|
|
1041
|
-
"description": "
|
|
1042
|
-
"attribute": "
|
|
1231
|
+
"default": "'Back'",
|
|
1232
|
+
"description": "Text of the Back button in the `mega` + `inline` drill-down panel.",
|
|
1233
|
+
"attribute": "back-label"
|
|
1043
1234
|
},
|
|
1044
1235
|
{
|
|
1045
1236
|
"kind": "field",
|
|
1046
|
-
"name": "
|
|
1237
|
+
"name": "hoverTimer",
|
|
1047
1238
|
"type": {
|
|
1048
|
-
"text": "
|
|
1239
|
+
"text": "number"
|
|
1049
1240
|
},
|
|
1050
|
-
"
|
|
1241
|
+
"privacy": "private",
|
|
1242
|
+
"default": "0"
|
|
1051
1243
|
},
|
|
1052
1244
|
{
|
|
1053
1245
|
"kind": "field",
|
|
1054
|
-
"name": "
|
|
1246
|
+
"name": "hoverOpenedAt",
|
|
1055
1247
|
"type": {
|
|
1056
|
-
"text": "
|
|
1248
|
+
"text": "number"
|
|
1057
1249
|
},
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1250
|
+
"privacy": "private",
|
|
1251
|
+
"default": "0",
|
|
1252
|
+
"description": "When hover last opened the panel — a click right after that keeps it open instead of toggling it shut."
|
|
1060
1253
|
},
|
|
1061
1254
|
{
|
|
1062
1255
|
"kind": "field",
|
|
1063
|
-
"name": "
|
|
1256
|
+
"name": "hasContent",
|
|
1064
1257
|
"type": {
|
|
1065
|
-
"text": "
|
|
1258
|
+
"text": "boolean"
|
|
1066
1259
|
},
|
|
1067
|
-
"
|
|
1068
|
-
"
|
|
1260
|
+
"privacy": "private",
|
|
1261
|
+
"default": "false",
|
|
1262
|
+
"description": "Whether the default slot has content — the source's `children` check."
|
|
1069
1263
|
},
|
|
1070
1264
|
{
|
|
1071
1265
|
"kind": "field",
|
|
1072
|
-
"name": "
|
|
1266
|
+
"name": "hasIcon",
|
|
1073
1267
|
"type": {
|
|
1074
|
-
"text": "
|
|
1268
|
+
"text": "boolean"
|
|
1075
1269
|
},
|
|
1076
|
-
"
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1270
|
+
"privacy": "private",
|
|
1271
|
+
"default": "false",
|
|
1272
|
+
"description": "Whether `slot=\"icon\"` has content."
|
|
1079
1273
|
},
|
|
1080
1274
|
{
|
|
1081
|
-
"kind": "
|
|
1082
|
-
"name": "
|
|
1083
|
-
"
|
|
1084
|
-
|
|
1275
|
+
"kind": "method",
|
|
1276
|
+
"name": "setOpen",
|
|
1277
|
+
"privacy": "private",
|
|
1278
|
+
"return": {
|
|
1279
|
+
"type": {
|
|
1280
|
+
"text": "void"
|
|
1281
|
+
}
|
|
1085
1282
|
},
|
|
1086
|
-
"
|
|
1087
|
-
|
|
1283
|
+
"parameters": [
|
|
1284
|
+
{
|
|
1285
|
+
"name": "open",
|
|
1286
|
+
"type": {
|
|
1287
|
+
"text": "boolean"
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
]
|
|
1088
1291
|
},
|
|
1089
1292
|
{
|
|
1090
|
-
"kind": "
|
|
1091
|
-
"name": "
|
|
1092
|
-
"
|
|
1093
|
-
|
|
1293
|
+
"kind": "method",
|
|
1294
|
+
"name": "hovers",
|
|
1295
|
+
"privacy": "private",
|
|
1296
|
+
"return": {
|
|
1297
|
+
"type": {
|
|
1298
|
+
"text": "boolean"
|
|
1299
|
+
}
|
|
1094
1300
|
},
|
|
1095
|
-
"
|
|
1096
|
-
|
|
1301
|
+
"parameters": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "event",
|
|
1304
|
+
"type": {
|
|
1305
|
+
"text": "PointerEvent"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1097
1309
|
},
|
|
1098
1310
|
{
|
|
1099
|
-
"kind": "
|
|
1100
|
-
"name": "
|
|
1311
|
+
"kind": "field",
|
|
1312
|
+
"name": "onPointerEnter",
|
|
1313
|
+
"privacy": "private",
|
|
1314
|
+
"description": "Short delays so a pointer crossing the gap between trigger and panel doesn't close it."
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"kind": "field",
|
|
1318
|
+
"name": "onPointerLeave",
|
|
1101
1319
|
"privacy": "private"
|
|
1102
|
-
}
|
|
1103
|
-
],
|
|
1104
|
-
"attributes": [
|
|
1320
|
+
},
|
|
1105
1321
|
{
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
|
|
1109
|
-
},
|
|
1110
|
-
"default": "false",
|
|
1111
|
-
"fieldName": "inverted"
|
|
1322
|
+
"kind": "field",
|
|
1323
|
+
"name": "onBackClick",
|
|
1324
|
+
"privacy": "private"
|
|
1112
1325
|
},
|
|
1113
1326
|
{
|
|
1114
|
-
"
|
|
1115
|
-
"
|
|
1116
|
-
|
|
1117
|
-
},
|
|
1118
|
-
"default": "''",
|
|
1119
|
-
"fieldName": "title"
|
|
1327
|
+
"kind": "field",
|
|
1328
|
+
"name": "closeOnOutsideMouseDown",
|
|
1329
|
+
"privacy": "private"
|
|
1120
1330
|
},
|
|
1121
1331
|
{
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1124
|
-
|
|
1125
|
-
},
|
|
1126
|
-
"default": "''",
|
|
1127
|
-
"description": "Markdown.",
|
|
1128
|
-
"fieldName": "subtitle"
|
|
1332
|
+
"kind": "field",
|
|
1333
|
+
"name": "closeOnEscape",
|
|
1334
|
+
"privacy": "private"
|
|
1129
1335
|
},
|
|
1130
1336
|
{
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1337
|
+
"kind": "method",
|
|
1338
|
+
"name": "trigger",
|
|
1339
|
+
"privacy": "private",
|
|
1340
|
+
"return": {
|
|
1341
|
+
"type": {
|
|
1342
|
+
"text": "HTMLElement | null"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1137
1345
|
},
|
|
1138
1346
|
{
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1141
|
-
|
|
1347
|
+
"kind": "method",
|
|
1348
|
+
"name": "panelItems",
|
|
1349
|
+
"privacy": "private",
|
|
1350
|
+
"return": {
|
|
1351
|
+
"type": {
|
|
1352
|
+
"text": "HTMLElement[]"
|
|
1353
|
+
}
|
|
1142
1354
|
},
|
|
1143
|
-
"
|
|
1144
|
-
"fieldName": "imageAlt"
|
|
1355
|
+
"description": "Keyboard-reachable entries in the panel, in order: menu items (they delegate focus to their\r\nown link) plus any plain links/buttons/tabbable elements a caller slots in."
|
|
1145
1356
|
},
|
|
1146
1357
|
{
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1149
|
-
|
|
1358
|
+
"kind": "method",
|
|
1359
|
+
"name": "focusItem",
|
|
1360
|
+
"privacy": "private",
|
|
1361
|
+
"return": {
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "void"
|
|
1364
|
+
}
|
|
1150
1365
|
},
|
|
1151
|
-
"
|
|
1152
|
-
|
|
1366
|
+
"parameters": [
|
|
1367
|
+
{
|
|
1368
|
+
"name": "pick",
|
|
1369
|
+
"type": {
|
|
1370
|
+
"text": "(items: HTMLElement[]) => HTMLElement | undefined"
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\r\n`show` class lands, and hidden elements can't take focus)."
|
|
1153
1375
|
},
|
|
1154
1376
|
{
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
"default": "''",
|
|
1160
|
-
"fieldName": "actionLabel"
|
|
1377
|
+
"kind": "field",
|
|
1378
|
+
"name": "onTitleKeyDown",
|
|
1379
|
+
"privacy": "private",
|
|
1380
|
+
"description": "Enter/Space/ArrowDown open the panel and focus its first entry; ArrowUp its last."
|
|
1161
1381
|
},
|
|
1162
1382
|
{
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
"fieldName": "href"
|
|
1169
|
-
}
|
|
1170
|
-
],
|
|
1171
|
-
"superclass": {
|
|
1172
|
-
"name": "LitElement",
|
|
1173
|
-
"package": "lit"
|
|
1174
|
-
},
|
|
1175
|
-
"tagName": "st-feature-split",
|
|
1176
|
-
"customElement": true
|
|
1177
|
-
}
|
|
1178
|
-
],
|
|
1179
|
-
"exports": [
|
|
1180
|
-
{
|
|
1181
|
-
"kind": "js",
|
|
1182
|
-
"name": "FeatureSplit",
|
|
1183
|
-
"declaration": {
|
|
1184
|
-
"name": "FeatureSplit",
|
|
1185
|
-
"module": "src/feature-split/FeatureSplit.ts"
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
{
|
|
1189
|
-
"kind": "custom-element-definition",
|
|
1190
|
-
"name": "st-feature-split",
|
|
1191
|
-
"declaration": {
|
|
1192
|
-
"name": "FeatureSplit",
|
|
1193
|
-
"module": "src/feature-split/FeatureSplit.ts"
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
]
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
"kind": "javascript-module",
|
|
1200
|
-
"path": "src/dropdown/Dropdown.ts",
|
|
1201
|
-
"declarations": [
|
|
1202
|
-
{
|
|
1203
|
-
"kind": "class",
|
|
1204
|
-
"description": "A labeled trigger + slotted dropdown panel — nav menus (typically holding an `st-menu-grid`),\r\naction menus, anything \"click a trigger, show content under it\". A 1:1 port of `SankhyaUI`'s\r\nReact `Dropdown` (`SankhyaCMS/SankhyaUI/src/components/Dropdown`): same markup\r\n(`.menu` > `.menu-title` + `.menu-dropdown`), sizes, 0.3s slide/fade, and behavior —\r\n\r\n- only one dropdown is open at a time (the source's `DropdownProvider`, built in here, so no\r\n provider element is needed);\r\n- a mousedown outside, Escape, or a click inside the panel closes it;\r\n- an `href` trigger toggles the panel when it has content, and is a plain link when it doesn't;\r\n- `inline` opens the panel in the flow, the source's `.touch-device` layout.\r\n\r\nColors and the panel's surface come from the suite theme (the source left those to the\r\nconsumer's `className`/`itemGroupClassName` utility classes). Two source rules are left out\r\nbecause they break existing suite uses (`st-source-bar`'s site/library menus): the 100vw panel\r\nat <=768px (overflows the screen from wherever the trigger sits; the header uses `inline`\r\ninstead) and `overflow: hidden` on slotted children (clips their focus rings). Suite additions\r\nkept on top: `align`, `active`, `disabled`, `inline`, and the `dropdown-toggle` event.",
|
|
1205
|
-
"name": "Dropdown",
|
|
1206
|
-
"members": [
|
|
1383
|
+
"kind": "field",
|
|
1384
|
+
"name": "onPanelKeyDown",
|
|
1385
|
+
"privacy": "private",
|
|
1386
|
+
"description": "Arrow keys/Home/End move between the panel's entries; Tab closes the panel and moves on."
|
|
1387
|
+
},
|
|
1207
1388
|
{
|
|
1208
1389
|
"kind": "field",
|
|
1209
|
-
"name": "
|
|
1210
|
-
"
|
|
1211
|
-
|
|
1212
|
-
|
|
1390
|
+
"name": "onTitleClick",
|
|
1391
|
+
"privacy": "private"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "field",
|
|
1395
|
+
"name": "onPanelClick",
|
|
1213
1396
|
"privacy": "private",
|
|
1214
|
-
"
|
|
1215
|
-
|
|
1216
|
-
|
|
1397
|
+
"description": "A click anywhere inside the panel closes it, as in the source — for `mega`, only a click on a\r\nlink: a big panel has headings and gaps, and a click there shouldn't also close st-header's\r\nhamburger layer."
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "field",
|
|
1401
|
+
"name": "onContentSlotChange",
|
|
1402
|
+
"privacy": "private"
|
|
1217
1403
|
},
|
|
1218
1404
|
{
|
|
1219
1405
|
"kind": "field",
|
|
1406
|
+
"name": "onIconSlotChange",
|
|
1407
|
+
"privacy": "private"
|
|
1408
|
+
}
|
|
1409
|
+
],
|
|
1410
|
+
"events": [
|
|
1411
|
+
{
|
|
1412
|
+
"name": "dropdown-toggle",
|
|
1413
|
+
"type": {
|
|
1414
|
+
"text": "CustomEvent"
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"attributes": [
|
|
1419
|
+
{
|
|
1220
1420
|
"name": "label",
|
|
1221
1421
|
"type": {
|
|
1222
1422
|
"text": "string"
|
|
1223
1423
|
},
|
|
1224
1424
|
"default": "''",
|
|
1225
1425
|
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\r\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1226
|
-
"
|
|
1426
|
+
"fieldName": "label"
|
|
1227
1427
|
},
|
|
1228
1428
|
{
|
|
1229
|
-
"kind": "field",
|
|
1230
1429
|
"name": "href",
|
|
1231
1430
|
"type": {
|
|
1232
1431
|
"text": "string"
|
|
1233
1432
|
},
|
|
1234
1433
|
"default": "''",
|
|
1235
1434
|
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\r\nthe source); with none it navigates.",
|
|
1236
|
-
"
|
|
1435
|
+
"fieldName": "href"
|
|
1237
1436
|
},
|
|
1238
1437
|
{
|
|
1239
|
-
"
|
|
1240
|
-
"name": "iconPosition",
|
|
1438
|
+
"name": "icon-position",
|
|
1241
1439
|
"type": {
|
|
1242
1440
|
"text": "'left' | 'right'"
|
|
1243
1441
|
},
|
|
1244
1442
|
"default": "'left'",
|
|
1245
|
-
"
|
|
1443
|
+
"fieldName": "iconPosition"
|
|
1246
1444
|
},
|
|
1247
1445
|
{
|
|
1248
|
-
"
|
|
1249
|
-
"name": "iconSize",
|
|
1446
|
+
"name": "icon-size",
|
|
1250
1447
|
"type": {
|
|
1251
1448
|
"text": "string"
|
|
1252
1449
|
},
|
|
1253
1450
|
"default": "'1.2rem'",
|
|
1254
1451
|
"description": "Inline `width`/`height` of the `slot=\"icon\"` wrapper (source: `iconSize`, default `1.2rem`).",
|
|
1255
|
-
"
|
|
1452
|
+
"fieldName": "iconSize"
|
|
1256
1453
|
},
|
|
1257
1454
|
{
|
|
1258
|
-
"
|
|
1259
|
-
"name": "iconColor",
|
|
1455
|
+
"name": "icon-color",
|
|
1260
1456
|
"type": {
|
|
1261
1457
|
"text": "string"
|
|
1262
1458
|
},
|
|
1263
1459
|
"default": "'currentColor'",
|
|
1264
1460
|
"description": "Inline `color` of the `slot=\"icon\"` wrapper (source: `iconColor`).",
|
|
1265
|
-
"
|
|
1461
|
+
"fieldName": "iconColor"
|
|
1266
1462
|
},
|
|
1267
1463
|
{
|
|
1268
|
-
"kind": "field",
|
|
1269
1464
|
"name": "align",
|
|
1270
1465
|
"type": {
|
|
1271
1466
|
"text": "'left' | 'right'"
|
|
1272
1467
|
},
|
|
1273
1468
|
"default": "'left'",
|
|
1274
1469
|
"description": "Which edge of the trigger the panel lines up with.",
|
|
1275
|
-
"
|
|
1470
|
+
"fieldName": "align"
|
|
1276
1471
|
},
|
|
1277
1472
|
{
|
|
1278
|
-
"kind": "field",
|
|
1279
1473
|
"name": "target",
|
|
1280
1474
|
"type": {
|
|
1281
1475
|
"text": "string"
|
|
1282
1476
|
},
|
|
1283
1477
|
"default": "'_self'",
|
|
1284
1478
|
"description": "`target` of an `href` trigger (source default `_self`).",
|
|
1285
|
-
"
|
|
1479
|
+
"fieldName": "target"
|
|
1286
1480
|
},
|
|
1287
1481
|
{
|
|
1288
|
-
"
|
|
1289
|
-
"name": "triggerClassName",
|
|
1482
|
+
"name": "trigger-class-name",
|
|
1290
1483
|
"type": {
|
|
1291
1484
|
"text": "string"
|
|
1292
1485
|
},
|
|
1293
1486
|
"default": "''",
|
|
1294
1487
|
"description": "Extra class(es) on the trigger (source: `className`; a `class` on `st-dropdown` styles the host).",
|
|
1295
|
-
"
|
|
1488
|
+
"fieldName": "triggerClassName"
|
|
1296
1489
|
},
|
|
1297
1490
|
{
|
|
1298
|
-
"
|
|
1299
|
-
"name": "itemGroupClassName",
|
|
1491
|
+
"name": "item-group-class-name",
|
|
1300
1492
|
"type": {
|
|
1301
1493
|
"text": "string"
|
|
1302
1494
|
},
|
|
1303
1495
|
"default": "''",
|
|
1304
1496
|
"description": "Extra class(es) on the panel (source: `itemGroupClassName`).",
|
|
1305
|
-
"
|
|
1497
|
+
"fieldName": "itemGroupClassName"
|
|
1306
1498
|
},
|
|
1307
1499
|
{
|
|
1308
|
-
"
|
|
1309
|
-
"name": "itemClassName",
|
|
1500
|
+
"name": "item-class-name",
|
|
1310
1501
|
"type": {
|
|
1311
1502
|
"text": "string"
|
|
1312
1503
|
},
|
|
1313
1504
|
"default": "''",
|
|
1314
1505
|
"description": "Unused, as in the source (`itemClassName` is never read there); kept for prop parity.",
|
|
1315
|
-
"
|
|
1506
|
+
"fieldName": "itemClassName"
|
|
1316
1507
|
},
|
|
1317
1508
|
{
|
|
1318
|
-
"kind": "field",
|
|
1319
1509
|
"name": "disabled",
|
|
1320
1510
|
"type": {
|
|
1321
1511
|
"text": "boolean"
|
|
1322
1512
|
},
|
|
1323
1513
|
"default": "false",
|
|
1324
|
-
"
|
|
1325
|
-
"reflects": true
|
|
1514
|
+
"fieldName": "disabled"
|
|
1326
1515
|
},
|
|
1327
1516
|
{
|
|
1328
|
-
"kind": "field",
|
|
1329
1517
|
"name": "active",
|
|
1330
1518
|
"type": {
|
|
1331
1519
|
"text": "boolean"
|
|
1332
1520
|
},
|
|
1333
1521
|
"default": "false",
|
|
1334
1522
|
"description": "Highlights the trigger as the current section (e.g. the current page is one of its items).",
|
|
1335
|
-
"
|
|
1336
|
-
"reflects": true
|
|
1523
|
+
"fieldName": "active"
|
|
1337
1524
|
},
|
|
1338
1525
|
{
|
|
1339
|
-
"kind": "field",
|
|
1340
1526
|
"name": "inline",
|
|
1341
1527
|
"type": {
|
|
1342
1528
|
"text": "boolean"
|
|
1343
1529
|
},
|
|
1344
1530
|
"default": "false",
|
|
1345
1531
|
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\r\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1346
|
-
"
|
|
1347
|
-
"reflects": true
|
|
1532
|
+
"fieldName": "inline"
|
|
1348
1533
|
},
|
|
1349
1534
|
{
|
|
1350
|
-
"kind": "field",
|
|
1351
1535
|
"name": "open",
|
|
1352
1536
|
"type": {
|
|
1353
1537
|
"text": "boolean"
|
|
1354
1538
|
},
|
|
1355
1539
|
"default": "false",
|
|
1356
1540
|
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1357
|
-
"
|
|
1358
|
-
"reflects": true
|
|
1541
|
+
"fieldName": "open"
|
|
1359
1542
|
},
|
|
1360
1543
|
{
|
|
1361
|
-
"
|
|
1362
|
-
"name": "hasContent",
|
|
1544
|
+
"name": "mega",
|
|
1363
1545
|
"type": {
|
|
1364
1546
|
"text": "boolean"
|
|
1365
1547
|
},
|
|
1366
|
-
"privacy": "private",
|
|
1367
1548
|
"default": "false",
|
|
1368
|
-
"description": "
|
|
1549
|
+
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\r\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\r\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\r\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\r\ncloses it when it lands on a link.",
|
|
1550
|
+
"fieldName": "mega"
|
|
1369
1551
|
},
|
|
1370
1552
|
{
|
|
1371
|
-
"
|
|
1372
|
-
"name": "hasIcon",
|
|
1553
|
+
"name": "open-on-hover",
|
|
1373
1554
|
"type": {
|
|
1374
1555
|
"text": "boolean"
|
|
1375
1556
|
},
|
|
1376
|
-
"privacy": "private",
|
|
1377
1557
|
"default": "false",
|
|
1378
|
-
"description": "
|
|
1558
|
+
"description": "Opens the panel while a mouse hovers the trigger or panel (touch and keyboard still click). Off while `inline`.",
|
|
1559
|
+
"fieldName": "openOnHover"
|
|
1379
1560
|
},
|
|
1380
1561
|
{
|
|
1381
|
-
"
|
|
1382
|
-
"
|
|
1383
|
-
|
|
1384
|
-
"return": {
|
|
1385
|
-
"type": {
|
|
1386
|
-
"text": "void"
|
|
1387
|
-
}
|
|
1562
|
+
"name": "back-label",
|
|
1563
|
+
"type": {
|
|
1564
|
+
"text": "string"
|
|
1388
1565
|
},
|
|
1389
|
-
"
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1566
|
+
"default": "'Back'",
|
|
1567
|
+
"description": "Text of the Back button in the `mega` + `inline` drill-down panel.",
|
|
1568
|
+
"fieldName": "backLabel"
|
|
1569
|
+
}
|
|
1570
|
+
],
|
|
1571
|
+
"superclass": {
|
|
1572
|
+
"name": "LitElement",
|
|
1573
|
+
"package": "lit"
|
|
1574
|
+
},
|
|
1575
|
+
"tagName": "st-dropdown",
|
|
1576
|
+
"customElement": true
|
|
1577
|
+
}
|
|
1578
|
+
],
|
|
1579
|
+
"exports": [
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "js",
|
|
1582
|
+
"name": "Dropdown",
|
|
1583
|
+
"declaration": {
|
|
1584
|
+
"name": "Dropdown",
|
|
1585
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"kind": "custom-element-definition",
|
|
1590
|
+
"name": "st-dropdown",
|
|
1591
|
+
"declaration": {
|
|
1592
|
+
"name": "Dropdown",
|
|
1593
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"kind": "javascript-module",
|
|
1600
|
+
"path": "src/feature-split/FeatureSplit.ts",
|
|
1601
|
+
"declarations": [
|
|
1602
|
+
{
|
|
1603
|
+
"kind": "class",
|
|
1604
|
+
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
1605
|
+
"name": "FeatureSplit",
|
|
1606
|
+
"cssProperties": [
|
|
1398
1607
|
{
|
|
1399
|
-
"
|
|
1400
|
-
"name": "
|
|
1401
|
-
|
|
1402
|
-
|
|
1608
|
+
"description": "Overrides the block's padding.",
|
|
1609
|
+
"name": "--st-feature-split-padding"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"members": [
|
|
1403
1613
|
{
|
|
1404
1614
|
"kind": "field",
|
|
1405
|
-
"name": "
|
|
1406
|
-
"
|
|
1615
|
+
"name": "inverted",
|
|
1616
|
+
"type": {
|
|
1617
|
+
"text": "boolean"
|
|
1618
|
+
},
|
|
1619
|
+
"default": "false",
|
|
1620
|
+
"attribute": "inverted",
|
|
1621
|
+
"reflects": true
|
|
1407
1622
|
},
|
|
1408
1623
|
{
|
|
1409
|
-
"kind": "
|
|
1410
|
-
"name": "
|
|
1411
|
-
"
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
}
|
|
1624
|
+
"kind": "field",
|
|
1625
|
+
"name": "title",
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "string"
|
|
1628
|
+
},
|
|
1629
|
+
"default": "''",
|
|
1630
|
+
"attribute": "title"
|
|
1417
1631
|
},
|
|
1418
1632
|
{
|
|
1419
|
-
"kind": "
|
|
1420
|
-
"name": "
|
|
1421
|
-
"
|
|
1422
|
-
|
|
1423
|
-
"type": {
|
|
1424
|
-
"text": "HTMLElement[]"
|
|
1425
|
-
}
|
|
1633
|
+
"kind": "field",
|
|
1634
|
+
"name": "subtitle",
|
|
1635
|
+
"type": {
|
|
1636
|
+
"text": "string"
|
|
1426
1637
|
},
|
|
1427
|
-
"
|
|
1638
|
+
"default": "''",
|
|
1639
|
+
"description": "Markdown.",
|
|
1640
|
+
"attribute": "subtitle"
|
|
1428
1641
|
},
|
|
1429
1642
|
{
|
|
1430
|
-
"kind": "
|
|
1431
|
-
"name": "
|
|
1432
|
-
"
|
|
1433
|
-
|
|
1434
|
-
"type": {
|
|
1435
|
-
"text": "void"
|
|
1436
|
-
}
|
|
1643
|
+
"kind": "field",
|
|
1644
|
+
"name": "items",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "FeatureSplitItem[]"
|
|
1437
1647
|
},
|
|
1438
|
-
"
|
|
1439
|
-
{
|
|
1440
|
-
"name": "pick",
|
|
1441
|
-
"type": {
|
|
1442
|
-
"text": "(items: HTMLElement[]) => HTMLElement | undefined"
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
],
|
|
1446
|
-
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\r\n`show` class lands, and hidden elements can't take focus)."
|
|
1648
|
+
"default": "[]"
|
|
1447
1649
|
},
|
|
1448
1650
|
{
|
|
1449
1651
|
"kind": "field",
|
|
1450
|
-
"name": "
|
|
1451
|
-
"
|
|
1452
|
-
|
|
1652
|
+
"name": "imageSrc",
|
|
1653
|
+
"type": {
|
|
1654
|
+
"text": "string"
|
|
1655
|
+
},
|
|
1656
|
+
"default": "''",
|
|
1657
|
+
"attribute": "image-src"
|
|
1453
1658
|
},
|
|
1454
1659
|
{
|
|
1455
1660
|
"kind": "field",
|
|
1456
|
-
"name": "
|
|
1457
|
-
"
|
|
1458
|
-
|
|
1661
|
+
"name": "imageAlt",
|
|
1662
|
+
"type": {
|
|
1663
|
+
"text": "string"
|
|
1664
|
+
},
|
|
1665
|
+
"default": "''",
|
|
1666
|
+
"attribute": "image-alt"
|
|
1459
1667
|
},
|
|
1460
1668
|
{
|
|
1461
1669
|
"kind": "field",
|
|
1462
|
-
"name": "
|
|
1463
|
-
"
|
|
1670
|
+
"name": "imagePosition",
|
|
1671
|
+
"type": {
|
|
1672
|
+
"text": "FeatureSplitImagePosition"
|
|
1673
|
+
},
|
|
1674
|
+
"default": "'right'",
|
|
1675
|
+
"attribute": "image-position",
|
|
1676
|
+
"reflects": true
|
|
1464
1677
|
},
|
|
1465
1678
|
{
|
|
1466
1679
|
"kind": "field",
|
|
1467
|
-
"name": "
|
|
1468
|
-
"
|
|
1469
|
-
|
|
1680
|
+
"name": "actionLabel",
|
|
1681
|
+
"type": {
|
|
1682
|
+
"text": "string"
|
|
1683
|
+
},
|
|
1684
|
+
"default": "''",
|
|
1685
|
+
"attribute": "action-label"
|
|
1470
1686
|
},
|
|
1471
1687
|
{
|
|
1472
1688
|
"kind": "field",
|
|
1473
|
-
"name": "
|
|
1474
|
-
"
|
|
1689
|
+
"name": "href",
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"default": "''",
|
|
1694
|
+
"attribute": "href"
|
|
1475
1695
|
},
|
|
1476
1696
|
{
|
|
1477
|
-
"kind": "
|
|
1478
|
-
"name": "
|
|
1697
|
+
"kind": "method",
|
|
1698
|
+
"name": "onAction",
|
|
1479
1699
|
"privacy": "private"
|
|
1480
1700
|
}
|
|
1481
1701
|
],
|
|
1482
|
-
"
|
|
1702
|
+
"attributes": [
|
|
1483
1703
|
{
|
|
1484
|
-
"name": "
|
|
1704
|
+
"name": "inverted",
|
|
1485
1705
|
"type": {
|
|
1486
|
-
"text": "
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1706
|
+
"text": "boolean"
|
|
1707
|
+
},
|
|
1708
|
+
"default": "false",
|
|
1709
|
+
"fieldName": "inverted"
|
|
1710
|
+
},
|
|
1491
1711
|
{
|
|
1492
|
-
"name": "
|
|
1712
|
+
"name": "title",
|
|
1493
1713
|
"type": {
|
|
1494
1714
|
"text": "string"
|
|
1495
1715
|
},
|
|
1496
1716
|
"default": "''",
|
|
1497
|
-
"
|
|
1498
|
-
"fieldName": "label"
|
|
1717
|
+
"fieldName": "title"
|
|
1499
1718
|
},
|
|
1500
1719
|
{
|
|
1501
|
-
"name": "
|
|
1720
|
+
"name": "subtitle",
|
|
1502
1721
|
"type": {
|
|
1503
1722
|
"text": "string"
|
|
1504
1723
|
},
|
|
1505
1724
|
"default": "''",
|
|
1506
|
-
"description": "
|
|
1507
|
-
"fieldName": "
|
|
1725
|
+
"description": "Markdown.",
|
|
1726
|
+
"fieldName": "subtitle"
|
|
1508
1727
|
},
|
|
1509
1728
|
{
|
|
1510
|
-
"name": "
|
|
1729
|
+
"name": "image-src",
|
|
1511
1730
|
"type": {
|
|
1512
|
-
"text": "
|
|
1731
|
+
"text": "string"
|
|
1513
1732
|
},
|
|
1514
|
-
"default": "'
|
|
1515
|
-
"fieldName": "
|
|
1733
|
+
"default": "''",
|
|
1734
|
+
"fieldName": "imageSrc"
|
|
1516
1735
|
},
|
|
1517
1736
|
{
|
|
1518
|
-
"name": "
|
|
1737
|
+
"name": "image-alt",
|
|
1519
1738
|
"type": {
|
|
1520
1739
|
"text": "string"
|
|
1521
1740
|
},
|
|
1522
|
-
"default": "'
|
|
1523
|
-
"
|
|
1524
|
-
"fieldName": "iconSize"
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
"name": "icon-color",
|
|
1528
|
-
"type": {
|
|
1529
|
-
"text": "string"
|
|
1530
|
-
},
|
|
1531
|
-
"default": "'currentColor'",
|
|
1532
|
-
"description": "Inline `color` of the `slot=\"icon\"` wrapper (source: `iconColor`).",
|
|
1533
|
-
"fieldName": "iconColor"
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
"name": "align",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "'left' | 'right'"
|
|
1539
|
-
},
|
|
1540
|
-
"default": "'left'",
|
|
1541
|
-
"description": "Which edge of the trigger the panel lines up with.",
|
|
1542
|
-
"fieldName": "align"
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"name": "target",
|
|
1546
|
-
"type": {
|
|
1547
|
-
"text": "string"
|
|
1548
|
-
},
|
|
1549
|
-
"default": "'_self'",
|
|
1550
|
-
"description": "`target` of an `href` trigger (source default `_self`).",
|
|
1551
|
-
"fieldName": "target"
|
|
1741
|
+
"default": "''",
|
|
1742
|
+
"fieldName": "imageAlt"
|
|
1552
1743
|
},
|
|
1553
1744
|
{
|
|
1554
|
-
"name": "
|
|
1745
|
+
"name": "image-position",
|
|
1555
1746
|
"type": {
|
|
1556
|
-
"text": "
|
|
1747
|
+
"text": "FeatureSplitImagePosition"
|
|
1557
1748
|
},
|
|
1558
|
-
"default": "''",
|
|
1559
|
-
"
|
|
1560
|
-
"fieldName": "triggerClassName"
|
|
1749
|
+
"default": "'right'",
|
|
1750
|
+
"fieldName": "imagePosition"
|
|
1561
1751
|
},
|
|
1562
1752
|
{
|
|
1563
|
-
"name": "
|
|
1753
|
+
"name": "action-label",
|
|
1564
1754
|
"type": {
|
|
1565
1755
|
"text": "string"
|
|
1566
1756
|
},
|
|
1567
1757
|
"default": "''",
|
|
1568
|
-
"
|
|
1569
|
-
"fieldName": "itemGroupClassName"
|
|
1758
|
+
"fieldName": "actionLabel"
|
|
1570
1759
|
},
|
|
1571
1760
|
{
|
|
1572
|
-
"name": "
|
|
1761
|
+
"name": "href",
|
|
1573
1762
|
"type": {
|
|
1574
1763
|
"text": "string"
|
|
1575
1764
|
},
|
|
1576
1765
|
"default": "''",
|
|
1577
|
-
"
|
|
1578
|
-
"fieldName": "itemClassName"
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"name": "disabled",
|
|
1582
|
-
"type": {
|
|
1583
|
-
"text": "boolean"
|
|
1584
|
-
},
|
|
1585
|
-
"default": "false",
|
|
1586
|
-
"fieldName": "disabled"
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"name": "active",
|
|
1590
|
-
"type": {
|
|
1591
|
-
"text": "boolean"
|
|
1592
|
-
},
|
|
1593
|
-
"default": "false",
|
|
1594
|
-
"description": "Highlights the trigger as the current section (e.g. the current page is one of its items).",
|
|
1595
|
-
"fieldName": "active"
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
"name": "inline",
|
|
1599
|
-
"type": {
|
|
1600
|
-
"text": "boolean"
|
|
1601
|
-
},
|
|
1602
|
-
"default": "false",
|
|
1603
|
-
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\r\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1604
|
-
"fieldName": "inline"
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
"name": "open",
|
|
1608
|
-
"type": {
|
|
1609
|
-
"text": "boolean"
|
|
1610
|
-
},
|
|
1611
|
-
"default": "false",
|
|
1612
|
-
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1613
|
-
"fieldName": "open"
|
|
1766
|
+
"fieldName": "href"
|
|
1614
1767
|
}
|
|
1615
1768
|
],
|
|
1616
1769
|
"superclass": {
|
|
1617
1770
|
"name": "LitElement",
|
|
1618
1771
|
"package": "lit"
|
|
1619
1772
|
},
|
|
1620
|
-
"tagName": "st-
|
|
1773
|
+
"tagName": "st-feature-split",
|
|
1621
1774
|
"customElement": true
|
|
1622
1775
|
}
|
|
1623
1776
|
],
|
|
1624
1777
|
"exports": [
|
|
1625
1778
|
{
|
|
1626
1779
|
"kind": "js",
|
|
1627
|
-
"name": "
|
|
1780
|
+
"name": "FeatureSplit",
|
|
1628
1781
|
"declaration": {
|
|
1629
|
-
"name": "
|
|
1630
|
-
"module": "src/
|
|
1782
|
+
"name": "FeatureSplit",
|
|
1783
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1631
1784
|
}
|
|
1632
1785
|
},
|
|
1633
1786
|
{
|
|
1634
1787
|
"kind": "custom-element-definition",
|
|
1635
|
-
"name": "st-
|
|
1788
|
+
"name": "st-feature-split",
|
|
1636
1789
|
"declaration": {
|
|
1637
|
-
"name": "
|
|
1638
|
-
"module": "src/
|
|
1790
|
+
"name": "FeatureSplit",
|
|
1791
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1639
1792
|
}
|
|
1640
1793
|
}
|
|
1641
1794
|
]
|
|
@@ -1794,6 +1947,12 @@
|
|
|
1794
1947
|
"kind": "class",
|
|
1795
1948
|
"description": "A titled grid of feature tiles. Ports `SankhyaUI`'s React `FeaturesSection`: tiles come from the\r\n`items` property, from slotted `st-feature-item` elements (the source's `children`), or both\r\n(slotted first). `columns` sets the grid width (default 2; one column below 768px). `inverted`\r\nis passed on to the `items` tiles; slotted tiles need their own `inverted` attribute.",
|
|
1796
1949
|
"name": "FeaturesSection",
|
|
1950
|
+
"cssProperties": [
|
|
1951
|
+
{
|
|
1952
|
+
"description": "Overrides the section's padding.",
|
|
1953
|
+
"name": "--st-features-section-padding"
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1797
1956
|
"members": [
|
|
1798
1957
|
{
|
|
1799
1958
|
"kind": "field",
|
|
@@ -1924,287 +2083,558 @@
|
|
|
1924
2083
|
},
|
|
1925
2084
|
{
|
|
1926
2085
|
"kind": "javascript-module",
|
|
1927
|
-
"path": "src/
|
|
2086
|
+
"path": "src/footer/Footer.ts",
|
|
1928
2087
|
"declarations": [
|
|
1929
2088
|
{
|
|
1930
2089
|
"kind": "class",
|
|
1931
|
-
"description": "The
|
|
1932
|
-
"name": "
|
|
2090
|
+
"description": "The footer, in two layouts:\r\n\r\n- **Bar** (default): a copyright line plus an optional \"powered by\" link — what the suite's\r\n authenticated apps use.\r\n- **Site**: when `columns`, `socialLinks`, `description` or `imageSrc` is set, the footer becomes a\r\n marketing-site footer — brand (logo/company name, description, social icons), link columns and a\r\n bottom bar with the copyright and \"powered by\".\r\n\r\nFires a cancelable `footer-link` event (detail `{ href }`) when an internal link is clicked.",
|
|
2091
|
+
"name": "Footer",
|
|
1933
2092
|
"members": [
|
|
1934
2093
|
{
|
|
1935
2094
|
"kind": "field",
|
|
1936
|
-
"name": "
|
|
2095
|
+
"name": "inverted",
|
|
1937
2096
|
"type": {
|
|
1938
|
-
"text": "
|
|
2097
|
+
"text": "boolean"
|
|
1939
2098
|
},
|
|
1940
|
-
"default": "
|
|
1941
|
-
"
|
|
2099
|
+
"default": "false",
|
|
2100
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2101
|
+
"attribute": "inverted",
|
|
2102
|
+
"reflects": true
|
|
1942
2103
|
},
|
|
1943
2104
|
{
|
|
1944
2105
|
"kind": "field",
|
|
1945
|
-
"name": "
|
|
2106
|
+
"name": "companyName",
|
|
1946
2107
|
"type": {
|
|
1947
2108
|
"text": "string"
|
|
1948
2109
|
},
|
|
1949
2110
|
"default": "''",
|
|
1950
|
-
"description": "
|
|
1951
|
-
"attribute": "
|
|
2111
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2112
|
+
"attribute": "company-name"
|
|
1952
2113
|
},
|
|
1953
2114
|
{
|
|
1954
2115
|
"kind": "field",
|
|
1955
|
-
"name": "
|
|
2116
|
+
"name": "copyright",
|
|
1956
2117
|
"type": {
|
|
1957
2118
|
"text": "string"
|
|
1958
2119
|
},
|
|
1959
|
-
"default": "'
|
|
1960
|
-
"description": "
|
|
1961
|
-
"attribute": "
|
|
2120
|
+
"default": "''",
|
|
2121
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2122
|
+
"attribute": "copyright"
|
|
1962
2123
|
},
|
|
1963
2124
|
{
|
|
1964
2125
|
"kind": "field",
|
|
1965
|
-
"name": "
|
|
2126
|
+
"name": "poweredBy",
|
|
1966
2127
|
"type": {
|
|
1967
2128
|
"text": "string"
|
|
1968
2129
|
},
|
|
1969
2130
|
"default": "''",
|
|
1970
|
-
"
|
|
1971
|
-
"attribute": "logoHref"
|
|
2131
|
+
"attribute": "powered-by"
|
|
1972
2132
|
},
|
|
1973
2133
|
{
|
|
1974
2134
|
"kind": "field",
|
|
1975
|
-
"name": "
|
|
2135
|
+
"name": "poweredByLink",
|
|
1976
2136
|
"type": {
|
|
1977
2137
|
"text": "string"
|
|
1978
2138
|
},
|
|
1979
|
-
"default": "'
|
|
1980
|
-
"
|
|
1981
|
-
"attribute": "logo-target"
|
|
2139
|
+
"default": "''",
|
|
2140
|
+
"attribute": "powered-by-link"
|
|
1982
2141
|
},
|
|
1983
2142
|
{
|
|
1984
2143
|
"kind": "field",
|
|
1985
|
-
"name": "
|
|
2144
|
+
"name": "version",
|
|
1986
2145
|
"type": {
|
|
1987
2146
|
"text": "string"
|
|
1988
2147
|
},
|
|
1989
2148
|
"default": "''",
|
|
1990
|
-
"description": "
|
|
1991
|
-
"attribute": "
|
|
2149
|
+
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\r\nversion in the footer rather than the header title.",
|
|
2150
|
+
"attribute": "version"
|
|
1992
2151
|
},
|
|
1993
2152
|
{
|
|
1994
2153
|
"kind": "field",
|
|
1995
|
-
"name": "
|
|
2154
|
+
"name": "imageSrc",
|
|
1996
2155
|
"type": {
|
|
1997
|
-
"text": "
|
|
2156
|
+
"text": "string"
|
|
1998
2157
|
},
|
|
1999
|
-
"default": "
|
|
2000
|
-
"description": "
|
|
2001
|
-
"attribute": "
|
|
2002
|
-
"reflects": true
|
|
2158
|
+
"default": "''",
|
|
2159
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2160
|
+
"attribute": "image-src"
|
|
2003
2161
|
},
|
|
2004
2162
|
{
|
|
2005
2163
|
"kind": "field",
|
|
2006
|
-
"name": "
|
|
2164
|
+
"name": "description",
|
|
2007
2165
|
"type": {
|
|
2008
|
-
"text": "
|
|
2166
|
+
"text": "string"
|
|
2009
2167
|
},
|
|
2010
|
-
"default": "
|
|
2011
|
-
"
|
|
2012
|
-
"
|
|
2168
|
+
"default": "''",
|
|
2169
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2170
|
+
"attribute": "description"
|
|
2013
2171
|
},
|
|
2014
2172
|
{
|
|
2015
2173
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
2174
|
+
"name": "columns",
|
|
2017
2175
|
"type": {
|
|
2018
|
-
"text": "
|
|
2176
|
+
"text": "FooterColumn[]"
|
|
2019
2177
|
},
|
|
2020
|
-
"default": "
|
|
2021
|
-
"description": "
|
|
2022
|
-
"attribute": "transparent",
|
|
2023
|
-
"reflects": true
|
|
2178
|
+
"default": "[]",
|
|
2179
|
+
"description": "Link columns (site layout)."
|
|
2024
2180
|
},
|
|
2025
2181
|
{
|
|
2026
2182
|
"kind": "field",
|
|
2027
|
-
"name": "
|
|
2183
|
+
"name": "socialLinks",
|
|
2028
2184
|
"type": {
|
|
2029
|
-
"text": "
|
|
2185
|
+
"text": "FooterSocialLink[]"
|
|
2030
2186
|
},
|
|
2031
|
-
"default": "
|
|
2032
|
-
"description": "
|
|
2033
|
-
"attribute": "hide-on-scroll",
|
|
2034
|
-
"reflects": true
|
|
2187
|
+
"default": "[]",
|
|
2188
|
+
"description": "Social icon links under the description (site layout)."
|
|
2035
2189
|
},
|
|
2036
2190
|
{
|
|
2037
2191
|
"kind": "field",
|
|
2038
|
-
"name": "
|
|
2192
|
+
"name": "isSite",
|
|
2039
2193
|
"type": {
|
|
2040
|
-
"text": "
|
|
2194
|
+
"text": "boolean"
|
|
2041
2195
|
},
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
2044
|
-
"attribute": "scroll-threshold"
|
|
2196
|
+
"privacy": "private",
|
|
2197
|
+
"readonly": true
|
|
2045
2198
|
},
|
|
2046
2199
|
{
|
|
2047
2200
|
"kind": "field",
|
|
2048
|
-
"name": "
|
|
2201
|
+
"name": "resolvedCopyright",
|
|
2049
2202
|
"type": {
|
|
2050
|
-
"text": "
|
|
2203
|
+
"text": "string"
|
|
2051
2204
|
},
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2054
|
-
"attribute": "scrolled",
|
|
2055
|
-
"reflects": true
|
|
2205
|
+
"privacy": "private",
|
|
2206
|
+
"readonly": true
|
|
2056
2207
|
},
|
|
2057
2208
|
{
|
|
2058
|
-
"kind": "
|
|
2059
|
-
"name": "
|
|
2060
|
-
"
|
|
2061
|
-
|
|
2209
|
+
"kind": "method",
|
|
2210
|
+
"name": "onLinkClick",
|
|
2211
|
+
"privacy": "private",
|
|
2212
|
+
"return": {
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "void"
|
|
2215
|
+
}
|
|
2062
2216
|
},
|
|
2063
|
-
"
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2217
|
+
"parameters": [
|
|
2218
|
+
{
|
|
2219
|
+
"name": "event",
|
|
2220
|
+
"type": {
|
|
2221
|
+
"text": "MouseEvent"
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "href",
|
|
2226
|
+
"type": {
|
|
2227
|
+
"text": "string"
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
]
|
|
2067
2231
|
},
|
|
2068
2232
|
{
|
|
2069
|
-
"kind": "
|
|
2070
|
-
"name": "
|
|
2071
|
-
"type": {
|
|
2072
|
-
"text": "number"
|
|
2073
|
-
},
|
|
2233
|
+
"kind": "method",
|
|
2234
|
+
"name": "renderLink",
|
|
2074
2235
|
"privacy": "private",
|
|
2075
|
-
"
|
|
2236
|
+
"parameters": [
|
|
2237
|
+
{
|
|
2238
|
+
"name": "link",
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "FooterLink"
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
]
|
|
2076
2244
|
},
|
|
2077
2245
|
{
|
|
2078
|
-
"kind": "
|
|
2079
|
-
"name": "
|
|
2080
|
-
"
|
|
2081
|
-
|
|
2246
|
+
"kind": "method",
|
|
2247
|
+
"name": "renderPoweredBy",
|
|
2248
|
+
"privacy": "private"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"kind": "method",
|
|
2252
|
+
"name": "renderSite",
|
|
2253
|
+
"privacy": "private"
|
|
2254
|
+
}
|
|
2255
|
+
],
|
|
2256
|
+
"attributes": [
|
|
2257
|
+
{
|
|
2258
|
+
"name": "inverted",
|
|
2259
|
+
"type": {
|
|
2260
|
+
"text": "boolean"
|
|
2082
2261
|
},
|
|
2083
|
-
"
|
|
2084
|
-
"
|
|
2262
|
+
"default": "false",
|
|
2263
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2264
|
+
"fieldName": "inverted"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "company-name",
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "string"
|
|
2270
|
+
},
|
|
2271
|
+
"default": "''",
|
|
2272
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2273
|
+
"fieldName": "companyName"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"name": "copyright",
|
|
2277
|
+
"type": {
|
|
2278
|
+
"text": "string"
|
|
2279
|
+
},
|
|
2280
|
+
"default": "''",
|
|
2281
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2282
|
+
"fieldName": "copyright"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"name": "powered-by",
|
|
2286
|
+
"type": {
|
|
2287
|
+
"text": "string"
|
|
2288
|
+
},
|
|
2289
|
+
"default": "''",
|
|
2290
|
+
"fieldName": "poweredBy"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"name": "powered-by-link",
|
|
2294
|
+
"type": {
|
|
2295
|
+
"text": "string"
|
|
2296
|
+
},
|
|
2297
|
+
"default": "''",
|
|
2298
|
+
"fieldName": "poweredByLink"
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"name": "version",
|
|
2302
|
+
"type": {
|
|
2303
|
+
"text": "string"
|
|
2304
|
+
},
|
|
2305
|
+
"default": "''",
|
|
2306
|
+
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\r\nversion in the footer rather than the header title.",
|
|
2307
|
+
"fieldName": "version"
|
|
2085
2308
|
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "image-src",
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "string"
|
|
2313
|
+
},
|
|
2314
|
+
"default": "''",
|
|
2315
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2316
|
+
"fieldName": "imageSrc"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "description",
|
|
2320
|
+
"type": {
|
|
2321
|
+
"text": "string"
|
|
2322
|
+
},
|
|
2323
|
+
"default": "''",
|
|
2324
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2325
|
+
"fieldName": "description"
|
|
2326
|
+
}
|
|
2327
|
+
],
|
|
2328
|
+
"superclass": {
|
|
2329
|
+
"name": "LitElement",
|
|
2330
|
+
"package": "lit"
|
|
2331
|
+
},
|
|
2332
|
+
"tagName": "st-footer",
|
|
2333
|
+
"customElement": true
|
|
2334
|
+
}
|
|
2335
|
+
],
|
|
2336
|
+
"exports": [
|
|
2337
|
+
{
|
|
2338
|
+
"kind": "js",
|
|
2339
|
+
"name": "Footer",
|
|
2340
|
+
"declaration": {
|
|
2341
|
+
"name": "Footer",
|
|
2342
|
+
"module": "src/footer/Footer.ts"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"kind": "custom-element-definition",
|
|
2347
|
+
"name": "st-footer",
|
|
2348
|
+
"declaration": {
|
|
2349
|
+
"name": "Footer",
|
|
2350
|
+
"module": "src/footer/Footer.ts"
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"kind": "javascript-module",
|
|
2357
|
+
"path": "src/header/Header.ts",
|
|
2358
|
+
"declarations": [
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "class",
|
|
2361
|
+
"description": "The app-shell header bar — brand (image + title, or title alone) on the left, a `slot=\"menu\"`\r\nfor primary nav (e.g. `st-dropdown`/`st-menu-grid` mega-menus, or plain links) taking the\r\nmiddle, and a `slot=\"utility\"` for account/app-switcher/theme controls on the right. Ported\r\nfrom `SankhyaUI`'s React `Header` (a separate, unrelated marketing-site project) to this\r\npackage's Lit conventions and this workspace's actual needs — that source component takes an\r\n`imageSrc` logo with no text fallback, but none of this suite's apps has a logo image today, so\r\n`title` is the primary brand prop here and `brand-image-url` is optional, mirroring\r\n`st-app-header`'s own brand/title split (this component's slotted-menu/utility shape is a\r\ndeliberately different, more generic surface than `st-app-header`'s fixed nav-links/user-menu\r\nprops — pick whichever fits a given app's header).\r\n\r\nLayout follows the source's `Header.css`: the menu starts 4rem after the brand, the utility\r\ncontrols sit after a vertical divider, and below `BREAKPOINT_TABLET` (900px here; 768px in the\r\nsource) `menu`/`utility` collapse behind a hamburger toggle into a full-screen layer under the\r\ntoggle (closes on Escape or a click inside it), where the menu's `st-dropdown`s are switched to\r\n`inline` so they open in the flow — the same two slotted elements just get repositioned by CSS\r\n(`.mobile-panel`'s `display: contents` at desktop width vs. a real fixed-position box below\r\n`BREAKPOINT_TABLET`), rather than the slots being duplicated in the template, since a shadow\r\nroot can only ever assign a given light-DOM child to the *first* slot of a given name.\r\n\r\nAlso carries an optional built-in language switcher (`languages`/`currentLanguageCode`, fires\r\n`language-change`) — ported from `st-app-header`'s own implementation verbatim rather than\r\nrebuilt, since the source `Header`'s reference story shows an equivalent flag/language `Select`\r\nas a first-class header utility. Hidden entirely when `languages` has fewer than two entries.\r\nThis component has no translation logic itself; the consuming app owns what a language `code`\r\nmeans and which content it re-renders in response.",
|
|
2362
|
+
"name": "Header",
|
|
2363
|
+
"members": [
|
|
2086
2364
|
{
|
|
2087
2365
|
"kind": "field",
|
|
2088
|
-
"name": "
|
|
2089
|
-
"
|
|
2366
|
+
"name": "title",
|
|
2367
|
+
"type": {
|
|
2368
|
+
"text": "string"
|
|
2369
|
+
},
|
|
2370
|
+
"default": "''",
|
|
2371
|
+
"attribute": "title"
|
|
2090
2372
|
},
|
|
2091
2373
|
{
|
|
2092
2374
|
"kind": "field",
|
|
2093
|
-
"name": "
|
|
2375
|
+
"name": "brandImageUrl",
|
|
2094
2376
|
"type": {
|
|
2095
|
-
"text": "
|
|
2377
|
+
"text": "string"
|
|
2096
2378
|
},
|
|
2097
|
-
"default": "
|
|
2098
|
-
"description": "
|
|
2379
|
+
"default": "''",
|
|
2380
|
+
"description": "Optional logo image URL, shown before `title`. Omitted entirely when empty — none of this suite's apps has one today. Matches the source component's `imageSrc` (renamed here to pair with `title`/`logoHref`, since this component's only image use is the brand mark).",
|
|
2381
|
+
"attribute": "brand-image-url"
|
|
2099
2382
|
},
|
|
2100
2383
|
{
|
|
2101
2384
|
"kind": "field",
|
|
2102
|
-
"name": "
|
|
2385
|
+
"name": "altText",
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "string"
|
|
2388
|
+
},
|
|
2389
|
+
"default": "'Logo'",
|
|
2390
|
+
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2391
|
+
"attribute": "alt-text"
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "field",
|
|
2395
|
+
"name": "logoHref",
|
|
2103
2396
|
"type": {
|
|
2104
2397
|
"text": "string"
|
|
2105
2398
|
},
|
|
2106
2399
|
"default": "''",
|
|
2107
|
-
"
|
|
2400
|
+
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2401
|
+
"attribute": "logoHref"
|
|
2108
2402
|
},
|
|
2109
2403
|
{
|
|
2110
2404
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2405
|
+
"name": "logoTarget",
|
|
2112
2406
|
"type": {
|
|
2113
2407
|
"text": "string"
|
|
2114
2408
|
},
|
|
2115
|
-
"default": "'
|
|
2116
|
-
"
|
|
2409
|
+
"default": "'_self'",
|
|
2410
|
+
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2411
|
+
"attribute": "logo-target"
|
|
2117
2412
|
},
|
|
2118
2413
|
{
|
|
2119
2414
|
"kind": "field",
|
|
2120
|
-
"name": "
|
|
2415
|
+
"name": "logoClassName",
|
|
2416
|
+
"type": {
|
|
2417
|
+
"text": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"default": "''",
|
|
2420
|
+
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2421
|
+
"attribute": "logo-class-name"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"kind": "field",
|
|
2425
|
+
"name": "inverted",
|
|
2121
2426
|
"type": {
|
|
2122
2427
|
"text": "boolean"
|
|
2123
2428
|
},
|
|
2124
2429
|
"default": "false",
|
|
2125
|
-
"description": "
|
|
2126
|
-
"attribute": "
|
|
2430
|
+
"description": "Inverts the header's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`).",
|
|
2431
|
+
"attribute": "inverted",
|
|
2127
2432
|
"reflects": true
|
|
2128
2433
|
},
|
|
2129
2434
|
{
|
|
2130
2435
|
"kind": "field",
|
|
2131
|
-
"name": "
|
|
2436
|
+
"name": "sticky",
|
|
2132
2437
|
"type": {
|
|
2133
2438
|
"text": "boolean"
|
|
2134
2439
|
},
|
|
2135
2440
|
"default": "false",
|
|
2136
|
-
"
|
|
2137
|
-
"attribute": "compact",
|
|
2441
|
+
"attribute": "sticky",
|
|
2138
2442
|
"reflects": true
|
|
2139
2443
|
},
|
|
2140
2444
|
{
|
|
2141
2445
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2446
|
+
"name": "transparent",
|
|
2143
2447
|
"type": {
|
|
2144
2448
|
"text": "boolean"
|
|
2145
2449
|
},
|
|
2146
|
-
"
|
|
2147
|
-
"
|
|
2450
|
+
"default": "false",
|
|
2451
|
+
"description": "Fixes the header over the top of the page and makes it see-through, with light text\r\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\r\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\r\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2452
|
+
"attribute": "transparent",
|
|
2453
|
+
"reflects": true
|
|
2148
2454
|
},
|
|
2149
2455
|
{
|
|
2150
2456
|
"kind": "field",
|
|
2151
|
-
"name": "
|
|
2457
|
+
"name": "hideOnScroll",
|
|
2152
2458
|
"type": {
|
|
2153
2459
|
"text": "boolean"
|
|
2154
2460
|
},
|
|
2155
|
-
"privacy": "private",
|
|
2156
2461
|
"default": "false",
|
|
2157
|
-
"description": "
|
|
2462
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2463
|
+
"attribute": "hide-on-scroll",
|
|
2464
|
+
"reflects": true
|
|
2158
2465
|
},
|
|
2159
2466
|
{
|
|
2160
2467
|
"kind": "field",
|
|
2161
|
-
"name": "
|
|
2468
|
+
"name": "scrollThreshold",
|
|
2162
2469
|
"type": {
|
|
2163
|
-
"text": "
|
|
2470
|
+
"text": "number"
|
|
2164
2471
|
},
|
|
2165
|
-
"
|
|
2472
|
+
"default": "8",
|
|
2473
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2474
|
+
"attribute": "scroll-threshold"
|
|
2166
2475
|
},
|
|
2167
2476
|
{
|
|
2168
2477
|
"kind": "field",
|
|
2169
|
-
"name": "
|
|
2478
|
+
"name": "scrolled",
|
|
2170
2479
|
"type": {
|
|
2171
|
-
"text": "
|
|
2480
|
+
"text": "boolean"
|
|
2172
2481
|
},
|
|
2173
|
-
"
|
|
2174
|
-
"description": "
|
|
2482
|
+
"default": "false",
|
|
2483
|
+
"description": "True once the page has scrolled past `scroll-threshold`; reflected so pages can style `st-header[scrolled]`. Set by the header, never from outside.",
|
|
2484
|
+
"attribute": "scrolled",
|
|
2485
|
+
"reflects": true
|
|
2175
2486
|
},
|
|
2176
2487
|
{
|
|
2177
2488
|
"kind": "field",
|
|
2178
|
-
"name": "
|
|
2489
|
+
"name": "scrollHidden",
|
|
2490
|
+
"type": {
|
|
2491
|
+
"text": "boolean"
|
|
2492
|
+
},
|
|
2493
|
+
"default": "false",
|
|
2494
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2495
|
+
"attribute": "scroll-hidden",
|
|
2496
|
+
"reflects": true
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"kind": "field",
|
|
2500
|
+
"name": "lastScrollY",
|
|
2501
|
+
"type": {
|
|
2502
|
+
"text": "number"
|
|
2503
|
+
},
|
|
2179
2504
|
"privacy": "private",
|
|
2180
|
-
"default": "
|
|
2181
|
-
"description": "The dropdowns this header switched to `inline` — only these are switched back, so a caller's\r\nown `inline` setting is left alone."
|
|
2505
|
+
"default": "0"
|
|
2182
2506
|
},
|
|
2183
2507
|
{
|
|
2184
2508
|
"kind": "field",
|
|
2185
|
-
"name": "
|
|
2509
|
+
"name": "scrollFrame",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "number"
|
|
2512
|
+
},
|
|
2186
2513
|
"privacy": "private",
|
|
2187
|
-
"
|
|
2514
|
+
"default": "0"
|
|
2188
2515
|
},
|
|
2189
2516
|
{
|
|
2190
2517
|
"kind": "field",
|
|
2191
|
-
"name": "
|
|
2518
|
+
"name": "onScroll",
|
|
2192
2519
|
"privacy": "private"
|
|
2193
2520
|
},
|
|
2194
2521
|
{
|
|
2195
2522
|
"kind": "field",
|
|
2196
|
-
"name": "
|
|
2197
|
-
"
|
|
2523
|
+
"name": "languages",
|
|
2524
|
+
"type": {
|
|
2525
|
+
"text": "{ code: string; label: string }[]"
|
|
2526
|
+
},
|
|
2527
|
+
"default": "[]",
|
|
2528
|
+
"description": "Language switcher options, e.g. `[{ code: 'en', label: 'English' }, ...]` — hidden entirely\r\nwhen empty or when only one language is offered (same convention as `st-app-header`'s\r\n`languages`, which this reuses verbatim). This component has no translation logic itself —\r\nselecting an option fires `language-change` (detail: `{ code }`), and the consuming app owns\r\nwhat `code` actually means and which content it re-renders."
|
|
2198
2529
|
},
|
|
2199
2530
|
{
|
|
2200
2531
|
"kind": "field",
|
|
2201
|
-
"name": "
|
|
2532
|
+
"name": "currentLanguageCode",
|
|
2202
2533
|
"type": {
|
|
2203
|
-
"text": "
|
|
2534
|
+
"text": "string"
|
|
2204
2535
|
},
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2207
|
-
|
|
2536
|
+
"default": "''",
|
|
2537
|
+
"attribute": "current-language-code"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"kind": "field",
|
|
2541
|
+
"name": "languageMenuLabel",
|
|
2542
|
+
"type": {
|
|
2543
|
+
"text": "string"
|
|
2544
|
+
},
|
|
2545
|
+
"default": "'Language'",
|
|
2546
|
+
"attribute": "language-menu-label"
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"kind": "field",
|
|
2550
|
+
"name": "mobileOpen",
|
|
2551
|
+
"type": {
|
|
2552
|
+
"text": "boolean"
|
|
2553
|
+
},
|
|
2554
|
+
"default": "false",
|
|
2555
|
+
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\r\nthe `:host([mobile-open])` CSS selector above can react to it — not meant to be set from\r\noutside.",
|
|
2556
|
+
"attribute": "mobile-open",
|
|
2557
|
+
"reflects": true
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"kind": "field",
|
|
2561
|
+
"name": "compact",
|
|
2562
|
+
"type": {
|
|
2563
|
+
"text": "boolean"
|
|
2564
|
+
},
|
|
2565
|
+
"default": "false",
|
|
2566
|
+
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\r\nhamburger layout it uses on a narrow screen. Set by `evaluateFit`, never from outside.",
|
|
2567
|
+
"attribute": "compact",
|
|
2568
|
+
"reflects": true
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "field",
|
|
2572
|
+
"name": "languageMenuOpen",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "boolean"
|
|
2575
|
+
},
|
|
2576
|
+
"privacy": "private",
|
|
2577
|
+
"default": "false"
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"kind": "field",
|
|
2581
|
+
"name": "hasUtility",
|
|
2582
|
+
"type": {
|
|
2583
|
+
"text": "boolean"
|
|
2584
|
+
},
|
|
2585
|
+
"privacy": "private",
|
|
2586
|
+
"default": "false",
|
|
2587
|
+
"description": "Whether `slot=\"utility\"` has content — an empty utility row (and its divider) is hidden."
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"kind": "field",
|
|
2591
|
+
"name": "resizeObserver",
|
|
2592
|
+
"type": {
|
|
2593
|
+
"text": "ResizeObserver | undefined"
|
|
2594
|
+
},
|
|
2595
|
+
"privacy": "private"
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "field",
|
|
2599
|
+
"name": "narrowQuery",
|
|
2600
|
+
"type": {
|
|
2601
|
+
"text": "MediaQueryList | undefined"
|
|
2602
|
+
},
|
|
2603
|
+
"privacy": "private",
|
|
2604
|
+
"description": "Matches below BREAKPOINT_TABLET, where the hamburger layout is always on."
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
"kind": "field",
|
|
2608
|
+
"name": "inlinedDropdowns",
|
|
2609
|
+
"privacy": "private",
|
|
2610
|
+
"default": "new Set<HTMLElement & { inline: boolean; open: boolean }>()",
|
|
2611
|
+
"description": "The dropdowns this header switched to `inline` — only these are switched back, so a caller's\r\nown `inline` setting is left alone."
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"kind": "field",
|
|
2615
|
+
"name": "syncInlineDropdowns",
|
|
2616
|
+
"privacy": "private",
|
|
2617
|
+
"description": "While the hamburger layout is on, the dropdowns in the header open in the flow of the\r\nfull-screen panel instead of floating over it (SankhyaUI's touch-device layout)."
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"kind": "field",
|
|
2621
|
+
"name": "onUtilitySlotChange",
|
|
2622
|
+
"privacy": "private"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"kind": "field",
|
|
2626
|
+
"name": "onMenuSlotChange",
|
|
2627
|
+
"privacy": "private"
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"kind": "field",
|
|
2631
|
+
"name": "collapsedAtWidth",
|
|
2632
|
+
"type": {
|
|
2633
|
+
"text": "number"
|
|
2634
|
+
},
|
|
2635
|
+
"privacy": "private",
|
|
2636
|
+
"default": "0",
|
|
2637
|
+
"description": "The bar width at which the menu last overflowed — the bar only expands again once it is\r\nclearly wider than this, so it can't flip back and forth right at the threshold."
|
|
2208
2638
|
},
|
|
2209
2639
|
{
|
|
2210
2640
|
"kind": "field",
|
|
@@ -2377,420 +2807,1044 @@
|
|
|
2377
2807
|
"fieldName": "scrollThreshold"
|
|
2378
2808
|
},
|
|
2379
2809
|
{
|
|
2380
|
-
"name": "scrolled",
|
|
2810
|
+
"name": "scrolled",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "boolean"
|
|
2813
|
+
},
|
|
2814
|
+
"default": "false",
|
|
2815
|
+
"description": "True once the page has scrolled past `scroll-threshold`; reflected so pages can style `st-header[scrolled]`. Set by the header, never from outside.",
|
|
2816
|
+
"fieldName": "scrolled"
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
"name": "scroll-hidden",
|
|
2820
|
+
"type": {
|
|
2821
|
+
"text": "boolean"
|
|
2822
|
+
},
|
|
2823
|
+
"default": "false",
|
|
2824
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2825
|
+
"fieldName": "scrollHidden"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "current-language-code",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "string"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "''",
|
|
2833
|
+
"fieldName": "currentLanguageCode"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "language-menu-label",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "string"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "'Language'",
|
|
2841
|
+
"fieldName": "languageMenuLabel"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "mobile-open",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "false",
|
|
2849
|
+
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\r\nthe `:host([mobile-open])` CSS selector above can react to it — not meant to be set from\r\noutside.",
|
|
2850
|
+
"fieldName": "mobileOpen"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"name": "compact",
|
|
2854
|
+
"type": {
|
|
2855
|
+
"text": "boolean"
|
|
2856
|
+
},
|
|
2857
|
+
"default": "false",
|
|
2858
|
+
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\r\nhamburger layout it uses on a narrow screen. Set by `evaluateFit`, never from outside.",
|
|
2859
|
+
"fieldName": "compact"
|
|
2860
|
+
}
|
|
2861
|
+
],
|
|
2862
|
+
"superclass": {
|
|
2863
|
+
"name": "LitElement",
|
|
2864
|
+
"package": "lit"
|
|
2865
|
+
},
|
|
2866
|
+
"tagName": "st-header",
|
|
2867
|
+
"customElement": true
|
|
2868
|
+
}
|
|
2869
|
+
],
|
|
2870
|
+
"exports": [
|
|
2871
|
+
{
|
|
2872
|
+
"kind": "js",
|
|
2873
|
+
"name": "Header",
|
|
2874
|
+
"declaration": {
|
|
2875
|
+
"name": "Header",
|
|
2876
|
+
"module": "src/header/Header.ts"
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "custom-element-definition",
|
|
2881
|
+
"name": "st-header",
|
|
2882
|
+
"declaration": {
|
|
2883
|
+
"name": "Header",
|
|
2884
|
+
"module": "src/header/Header.ts"
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
]
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "javascript-module",
|
|
2891
|
+
"path": "src/hero/Hero.ts",
|
|
2892
|
+
"declarations": [
|
|
2893
|
+
{
|
|
2894
|
+
"kind": "class",
|
|
2895
|
+
"description": "Full-width hero banner: background image with a darkening overlay, optional eyebrow, title,\r\noptional subtitle and up to two call-to-action links. Port of `SankhyaUI`'s React `Hero`; the\r\nframer-motion entrance is redone as CSS keyframes (skipped under `prefers-reduced-motion`).\r\n\r\n`size`, `content-position` and `overlay=\"gradient\"` give the large editorial layout (copy on the\r\nlower left over a gradient that darkens towards it) used by enterprise marketing heroes; the\r\ndefaults keep the original centered banner. Put several heroes in an `st-carousel` with\r\n`indicator-style=\"tabs\"` for a tabbed hero carousel.",
|
|
2896
|
+
"name": "Hero",
|
|
2897
|
+
"cssProperties": [
|
|
2898
|
+
{
|
|
2899
|
+
"description": "Text colour over the image.",
|
|
2900
|
+
"name": "--st-hero-text-color"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"description": "Minimum height when `size` is `large` (default `640px`).",
|
|
2904
|
+
"name": "--st-hero-min-height"
|
|
2905
|
+
}
|
|
2906
|
+
],
|
|
2907
|
+
"cssParts": [
|
|
2908
|
+
{
|
|
2909
|
+
"description": "The small label above the title.",
|
|
2910
|
+
"name": "eyebrow"
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"description": "The outlined second button.",
|
|
2914
|
+
"name": "secondary-action"
|
|
2915
|
+
}
|
|
2916
|
+
],
|
|
2917
|
+
"members": [
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "field",
|
|
2920
|
+
"name": "title",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"default": "''",
|
|
2925
|
+
"attribute": "title"
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"kind": "field",
|
|
2929
|
+
"name": "subtitle",
|
|
2930
|
+
"type": {
|
|
2931
|
+
"text": "string"
|
|
2932
|
+
},
|
|
2933
|
+
"default": "''",
|
|
2934
|
+
"attribute": "subtitle"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"kind": "field",
|
|
2938
|
+
"name": "imageSrc",
|
|
2939
|
+
"type": {
|
|
2940
|
+
"text": "string"
|
|
2941
|
+
},
|
|
2942
|
+
"default": "''",
|
|
2943
|
+
"attribute": "image-src"
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"kind": "field",
|
|
2947
|
+
"name": "actionLabel",
|
|
2948
|
+
"type": {
|
|
2949
|
+
"text": "string"
|
|
2950
|
+
},
|
|
2951
|
+
"default": "''",
|
|
2952
|
+
"attribute": "action-label"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "href",
|
|
2957
|
+
"type": {
|
|
2958
|
+
"text": "string"
|
|
2959
|
+
},
|
|
2960
|
+
"default": "''",
|
|
2961
|
+
"attribute": "href"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"kind": "field",
|
|
2965
|
+
"name": "textAlignment",
|
|
2966
|
+
"type": {
|
|
2967
|
+
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
2968
|
+
},
|
|
2969
|
+
"default": "'left'",
|
|
2970
|
+
"attribute": "text-alignment",
|
|
2971
|
+
"reflects": true
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "field",
|
|
2975
|
+
"name": "padding",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "'none'",
|
|
2980
|
+
"attribute": "padding",
|
|
2981
|
+
"reflects": true
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "field",
|
|
2985
|
+
"name": "inverted",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "boolean"
|
|
2988
|
+
},
|
|
2989
|
+
"default": "false",
|
|
2990
|
+
"attribute": "inverted",
|
|
2991
|
+
"reflects": true
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"kind": "field",
|
|
2995
|
+
"name": "focalPoint",
|
|
2996
|
+
"type": {
|
|
2997
|
+
"text": "'top' | 'left' | 'right' | 'bottom' | 'center'"
|
|
2998
|
+
},
|
|
2999
|
+
"default": "'center'",
|
|
3000
|
+
"attribute": "focal-point"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "field",
|
|
3004
|
+
"name": "eyebrow",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "string"
|
|
3007
|
+
},
|
|
3008
|
+
"default": "''",
|
|
3009
|
+
"description": "Small uppercase label above the title (e.g. an event or product name).",
|
|
3010
|
+
"attribute": "eyebrow"
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
"kind": "field",
|
|
3014
|
+
"name": "secondaryActionLabel",
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"default": "''",
|
|
3019
|
+
"description": "Label of an outlined second button next to the primary one.",
|
|
3020
|
+
"attribute": "secondary-action-label"
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"kind": "field",
|
|
3024
|
+
"name": "secondaryHref",
|
|
3025
|
+
"type": {
|
|
3026
|
+
"text": "string"
|
|
3027
|
+
},
|
|
3028
|
+
"default": "''",
|
|
3029
|
+
"attribute": "secondary-href"
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "field",
|
|
3033
|
+
"name": "size",
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "'auto' | 'large' | 'full'"
|
|
3036
|
+
},
|
|
3037
|
+
"default": "'auto'",
|
|
3038
|
+
"description": "`auto` sizes to the content; `large` is a tall editorial hero (`--st-hero-min-height`); `full` fills the viewport.",
|
|
3039
|
+
"attribute": "size",
|
|
3040
|
+
"reflects": true
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "field",
|
|
3044
|
+
"name": "contentPosition",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "'center' | 'bottom'"
|
|
3047
|
+
},
|
|
3048
|
+
"default": "'center'",
|
|
3049
|
+
"description": "`center` keeps the copy in the middle; `bottom` puts it in the lower part of the hero, on the page container.",
|
|
3050
|
+
"attribute": "content-position",
|
|
3051
|
+
"reflects": true
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"kind": "field",
|
|
3055
|
+
"name": "overlay",
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "'even' | 'gradient' | 'none'"
|
|
3058
|
+
},
|
|
3059
|
+
"default": "'even'",
|
|
3060
|
+
"description": "`even` darkens the whole image; `gradient` darkens behind the copy only; `none` shows the image as is.",
|
|
3061
|
+
"attribute": "overlay",
|
|
3062
|
+
"reflects": true
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"kind": "field",
|
|
3066
|
+
"name": "positions",
|
|
3067
|
+
"privacy": "private",
|
|
3068
|
+
"static": true,
|
|
3069
|
+
"default": "{ top: 'center top', left: 'left center', right: 'right center', bottom: 'center bottom', center: 'center center' }",
|
|
3070
|
+
"type": {
|
|
3071
|
+
"text": "{\r\n top: 'center top',\r\n left: 'left center',\r\n right: 'right center',\r\n bottom: 'center bottom',\r\n center: 'center center'\r\n }"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "method",
|
|
3076
|
+
"name": "emitAction",
|
|
3077
|
+
"privacy": "private",
|
|
3078
|
+
"return": {
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "void"
|
|
3081
|
+
}
|
|
3082
|
+
},
|
|
3083
|
+
"parameters": [
|
|
3084
|
+
{
|
|
3085
|
+
"name": "event",
|
|
3086
|
+
"type": {
|
|
3087
|
+
"text": "MouseEvent"
|
|
3088
|
+
}
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"name": "href",
|
|
3092
|
+
"type": {
|
|
3093
|
+
"text": "string"
|
|
3094
|
+
}
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"name": "kind",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "'primary' | 'secondary'"
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
]
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "field",
|
|
3106
|
+
"name": "onClick",
|
|
3107
|
+
"privacy": "private"
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "field",
|
|
3111
|
+
"name": "onSecondaryClick",
|
|
3112
|
+
"privacy": "private"
|
|
3113
|
+
}
|
|
3114
|
+
],
|
|
3115
|
+
"events": [
|
|
3116
|
+
{
|
|
3117
|
+
"description": "Cancelable, before navigating. Detail `{ href, kind }`, `kind` being `primary` or `secondary`.",
|
|
3118
|
+
"name": "action"
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
"attributes": [
|
|
3122
|
+
{
|
|
3123
|
+
"name": "title",
|
|
3124
|
+
"type": {
|
|
3125
|
+
"text": "string"
|
|
3126
|
+
},
|
|
3127
|
+
"default": "''",
|
|
3128
|
+
"fieldName": "title"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"name": "subtitle",
|
|
3132
|
+
"type": {
|
|
3133
|
+
"text": "string"
|
|
3134
|
+
},
|
|
3135
|
+
"default": "''",
|
|
3136
|
+
"fieldName": "subtitle"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"name": "image-src",
|
|
3140
|
+
"type": {
|
|
3141
|
+
"text": "string"
|
|
3142
|
+
},
|
|
3143
|
+
"default": "''",
|
|
3144
|
+
"fieldName": "imageSrc"
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"name": "action-label",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "string"
|
|
3150
|
+
},
|
|
3151
|
+
"default": "''",
|
|
3152
|
+
"fieldName": "actionLabel"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"name": "href",
|
|
3156
|
+
"type": {
|
|
3157
|
+
"text": "string"
|
|
3158
|
+
},
|
|
3159
|
+
"default": "''",
|
|
3160
|
+
"fieldName": "href"
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"name": "text-alignment",
|
|
3164
|
+
"type": {
|
|
3165
|
+
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
3166
|
+
},
|
|
3167
|
+
"default": "'left'",
|
|
3168
|
+
"fieldName": "textAlignment"
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
"name": "padding",
|
|
3172
|
+
"type": {
|
|
3173
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
3174
|
+
},
|
|
3175
|
+
"default": "'none'",
|
|
3176
|
+
"fieldName": "padding"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"name": "inverted",
|
|
3180
|
+
"type": {
|
|
3181
|
+
"text": "boolean"
|
|
3182
|
+
},
|
|
3183
|
+
"default": "false",
|
|
3184
|
+
"fieldName": "inverted"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"name": "focal-point",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "'top' | 'left' | 'right' | 'bottom' | 'center'"
|
|
3190
|
+
},
|
|
3191
|
+
"default": "'center'",
|
|
3192
|
+
"fieldName": "focalPoint"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"name": "eyebrow",
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "string"
|
|
3198
|
+
},
|
|
3199
|
+
"default": "''",
|
|
3200
|
+
"description": "Small uppercase label above the title (e.g. an event or product name).",
|
|
3201
|
+
"fieldName": "eyebrow"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"name": "secondary-action-label",
|
|
3205
|
+
"type": {
|
|
3206
|
+
"text": "string"
|
|
3207
|
+
},
|
|
3208
|
+
"default": "''",
|
|
3209
|
+
"description": "Label of an outlined second button next to the primary one.",
|
|
3210
|
+
"fieldName": "secondaryActionLabel"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"name": "secondary-href",
|
|
3214
|
+
"type": {
|
|
3215
|
+
"text": "string"
|
|
3216
|
+
},
|
|
3217
|
+
"default": "''",
|
|
3218
|
+
"fieldName": "secondaryHref"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "size",
|
|
3222
|
+
"type": {
|
|
3223
|
+
"text": "'auto' | 'large' | 'full'"
|
|
3224
|
+
},
|
|
3225
|
+
"default": "'auto'",
|
|
3226
|
+
"description": "`auto` sizes to the content; `large` is a tall editorial hero (`--st-hero-min-height`); `full` fills the viewport.",
|
|
3227
|
+
"fieldName": "size"
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"name": "content-position",
|
|
3231
|
+
"type": {
|
|
3232
|
+
"text": "'center' | 'bottom'"
|
|
3233
|
+
},
|
|
3234
|
+
"default": "'center'",
|
|
3235
|
+
"description": "`center` keeps the copy in the middle; `bottom` puts it in the lower part of the hero, on the page container.",
|
|
3236
|
+
"fieldName": "contentPosition"
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"name": "overlay",
|
|
3240
|
+
"type": {
|
|
3241
|
+
"text": "'even' | 'gradient' | 'none'"
|
|
3242
|
+
},
|
|
3243
|
+
"default": "'even'",
|
|
3244
|
+
"description": "`even` darkens the whole image; `gradient` darkens behind the copy only; `none` shows the image as is.",
|
|
3245
|
+
"fieldName": "overlay"
|
|
3246
|
+
}
|
|
3247
|
+
],
|
|
3248
|
+
"superclass": {
|
|
3249
|
+
"name": "LitElement",
|
|
3250
|
+
"package": "lit"
|
|
3251
|
+
},
|
|
3252
|
+
"tagName": "st-hero",
|
|
3253
|
+
"customElement": true
|
|
3254
|
+
}
|
|
3255
|
+
],
|
|
3256
|
+
"exports": [
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "js",
|
|
3259
|
+
"name": "Hero",
|
|
3260
|
+
"declaration": {
|
|
3261
|
+
"name": "Hero",
|
|
3262
|
+
"module": "src/hero/Hero.ts"
|
|
3263
|
+
}
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
"kind": "custom-element-definition",
|
|
3267
|
+
"name": "st-hero",
|
|
3268
|
+
"declaration": {
|
|
3269
|
+
"name": "Hero",
|
|
3270
|
+
"module": "src/hero/Hero.ts"
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
]
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"kind": "javascript-module",
|
|
3277
|
+
"path": "src/icon-button/IconButton.ts",
|
|
3278
|
+
"declarations": [
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "class",
|
|
3281
|
+
"description": "A small, icon-only action button — ported from `SankhyaUI`'s React `IconButton` (a separate,\r\nunrelated marketing-site project; that source takes an iconify string `icon` prop, this package\r\nhas no iconify dependency, so the icon is default-slotted content instead, same convention as\r\n`st-dropdown`/`st-menu-grid-item`'s `slot=\"icon\"`).\r\n\r\nFires a plain native `click` — no custom event, since a caller just wants an ordinary button.",
|
|
3282
|
+
"name": "IconButton",
|
|
3283
|
+
"members": [
|
|
3284
|
+
{
|
|
3285
|
+
"kind": "field",
|
|
3286
|
+
"name": "label",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "string"
|
|
3289
|
+
},
|
|
3290
|
+
"default": "''",
|
|
3291
|
+
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\r\nbrowsers already expose a native `ariaLabel` reflected property on every `Element`, so reusing\r\nthat exact name as a Lit reactive property would shadow it). Required for a control with no\r\nvisible text.",
|
|
3292
|
+
"attribute": "label"
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
"kind": "field",
|
|
3296
|
+
"name": "disabled",
|
|
3297
|
+
"type": {
|
|
3298
|
+
"text": "boolean"
|
|
3299
|
+
},
|
|
3300
|
+
"default": "false",
|
|
3301
|
+
"attribute": "disabled",
|
|
3302
|
+
"reflects": true
|
|
3303
|
+
}
|
|
3304
|
+
],
|
|
3305
|
+
"attributes": [
|
|
3306
|
+
{
|
|
3307
|
+
"name": "label",
|
|
3308
|
+
"type": {
|
|
3309
|
+
"text": "string"
|
|
3310
|
+
},
|
|
3311
|
+
"default": "''",
|
|
3312
|
+
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\r\nbrowsers already expose a native `ariaLabel` reflected property on every `Element`, so reusing\r\nthat exact name as a Lit reactive property would shadow it). Required for a control with no\r\nvisible text.",
|
|
3313
|
+
"fieldName": "label"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"name": "disabled",
|
|
3317
|
+
"type": {
|
|
3318
|
+
"text": "boolean"
|
|
3319
|
+
},
|
|
3320
|
+
"default": "false",
|
|
3321
|
+
"fieldName": "disabled"
|
|
3322
|
+
}
|
|
3323
|
+
],
|
|
3324
|
+
"superclass": {
|
|
3325
|
+
"name": "LitElement",
|
|
3326
|
+
"package": "lit"
|
|
3327
|
+
},
|
|
3328
|
+
"tagName": "st-icon-button",
|
|
3329
|
+
"customElement": true
|
|
3330
|
+
}
|
|
3331
|
+
],
|
|
3332
|
+
"exports": [
|
|
3333
|
+
{
|
|
3334
|
+
"kind": "js",
|
|
3335
|
+
"name": "IconButton",
|
|
3336
|
+
"declaration": {
|
|
3337
|
+
"name": "IconButton",
|
|
3338
|
+
"module": "src/icon-button/IconButton.ts"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"kind": "custom-element-definition",
|
|
3343
|
+
"name": "st-icon-button",
|
|
3344
|
+
"declaration": {
|
|
3345
|
+
"name": "IconButton",
|
|
3346
|
+
"module": "src/icon-button/IconButton.ts"
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
]
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "javascript-module",
|
|
3353
|
+
"path": "src/items-accordion/ItemsAccordion.ts",
|
|
3354
|
+
"declarations": [
|
|
3355
|
+
{
|
|
3356
|
+
"kind": "class",
|
|
3357
|
+
"description": "A vertical list of collapsible title/content rows; one open at a time unless `allow-multiple`.",
|
|
3358
|
+
"name": "ItemsAccordion",
|
|
3359
|
+
"cssProperties": [
|
|
3360
|
+
{
|
|
3361
|
+
"description": "Overrides the block's padding.",
|
|
3362
|
+
"name": "--st-items-accordion-padding"
|
|
3363
|
+
}
|
|
3364
|
+
],
|
|
3365
|
+
"members": [
|
|
3366
|
+
{
|
|
3367
|
+
"kind": "field",
|
|
3368
|
+
"name": "title",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"default": "''",
|
|
3373
|
+
"attribute": "title"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"kind": "field",
|
|
3377
|
+
"name": "subtitle",
|
|
3378
|
+
"type": {
|
|
3379
|
+
"text": "string"
|
|
3380
|
+
},
|
|
3381
|
+
"default": "''",
|
|
3382
|
+
"attribute": "subtitle"
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "field",
|
|
3386
|
+
"name": "items",
|
|
3387
|
+
"type": {
|
|
3388
|
+
"text": "AccordionItem[]"
|
|
3389
|
+
},
|
|
3390
|
+
"default": "[]"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "field",
|
|
3394
|
+
"name": "allowMultiple",
|
|
3395
|
+
"type": {
|
|
3396
|
+
"text": "boolean"
|
|
3397
|
+
},
|
|
3398
|
+
"default": "false",
|
|
3399
|
+
"attribute": "allow-multiple"
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"kind": "field",
|
|
3403
|
+
"name": "openIds",
|
|
3404
|
+
"privacy": "private",
|
|
3405
|
+
"default": "new Set<string>()"
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
"kind": "method",
|
|
3409
|
+
"name": "toggle",
|
|
3410
|
+
"privacy": "private",
|
|
3411
|
+
"parameters": [
|
|
3412
|
+
{
|
|
3413
|
+
"name": "id",
|
|
3414
|
+
"type": {
|
|
3415
|
+
"text": "string"
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
]
|
|
3419
|
+
}
|
|
3420
|
+
],
|
|
3421
|
+
"events": [
|
|
3422
|
+
{
|
|
3423
|
+
"name": "accordion-toggle",
|
|
3424
|
+
"type": {
|
|
3425
|
+
"text": "CustomEvent"
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
],
|
|
3429
|
+
"attributes": [
|
|
3430
|
+
{
|
|
3431
|
+
"name": "title",
|
|
3432
|
+
"type": {
|
|
3433
|
+
"text": "string"
|
|
3434
|
+
},
|
|
3435
|
+
"default": "''",
|
|
3436
|
+
"fieldName": "title"
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"name": "subtitle",
|
|
3440
|
+
"type": {
|
|
3441
|
+
"text": "string"
|
|
3442
|
+
},
|
|
3443
|
+
"default": "''",
|
|
3444
|
+
"fieldName": "subtitle"
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "allow-multiple",
|
|
3448
|
+
"type": {
|
|
3449
|
+
"text": "boolean"
|
|
3450
|
+
},
|
|
3451
|
+
"default": "false",
|
|
3452
|
+
"fieldName": "allowMultiple"
|
|
3453
|
+
}
|
|
3454
|
+
],
|
|
3455
|
+
"superclass": {
|
|
3456
|
+
"name": "LitElement",
|
|
3457
|
+
"package": "lit"
|
|
3458
|
+
},
|
|
3459
|
+
"tagName": "st-items-accordion",
|
|
3460
|
+
"customElement": true
|
|
3461
|
+
}
|
|
3462
|
+
],
|
|
3463
|
+
"exports": [
|
|
3464
|
+
{
|
|
3465
|
+
"kind": "js",
|
|
3466
|
+
"name": "ItemsAccordion",
|
|
3467
|
+
"declaration": {
|
|
3468
|
+
"name": "ItemsAccordion",
|
|
3469
|
+
"module": "src/items-accordion/ItemsAccordion.ts"
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "custom-element-definition",
|
|
3474
|
+
"name": "st-items-accordion",
|
|
3475
|
+
"declaration": {
|
|
3476
|
+
"name": "ItemsAccordion",
|
|
3477
|
+
"module": "src/items-accordion/ItemsAccordion.ts"
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
]
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"kind": "javascript-module",
|
|
3484
|
+
"path": "src/markdown/Markdown.ts",
|
|
3485
|
+
"declarations": [
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "class",
|
|
3488
|
+
"description": "Renders Markdown (GFM, single newlines become `<br>`) from either an inline `content` string or\r\na `src` URL it fetches. Ports `SankhyaUI`'s `useMarkdown` hook + `react-markdown` (remark-gfm,\r\nremark-breaks); output is sanitized with DOMPurify. `src` wins over `content` when both are set.\r\nWhile a fetch is pending it shows \"Loading content...\"; on failure \"Error loading content.\" and\r\na `markdown-error` event (detail: `{ error }`).\r\n\r\nText color is inherited from the parent so inverted containers just work.",
|
|
3489
|
+
"name": "Markdown",
|
|
3490
|
+
"members": [
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "field",
|
|
3493
|
+
"name": "content",
|
|
3494
|
+
"type": {
|
|
3495
|
+
"text": "string"
|
|
3496
|
+
},
|
|
3497
|
+
"default": "''",
|
|
3498
|
+
"description": "Inline Markdown source. Ignored when `src` is set.",
|
|
3499
|
+
"attribute": "content"
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"kind": "field",
|
|
3503
|
+
"name": "src",
|
|
3504
|
+
"type": {
|
|
3505
|
+
"text": "string"
|
|
3506
|
+
},
|
|
3507
|
+
"default": "''",
|
|
3508
|
+
"description": "URL of a Markdown file to fetch.",
|
|
3509
|
+
"attribute": "src"
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
"kind": "field",
|
|
3513
|
+
"name": "fetched",
|
|
2381
3514
|
"type": {
|
|
2382
|
-
"text": "
|
|
3515
|
+
"text": "string"
|
|
2383
3516
|
},
|
|
2384
|
-
"
|
|
2385
|
-
"
|
|
2386
|
-
"fieldName": "scrolled"
|
|
3517
|
+
"privacy": "private",
|
|
3518
|
+
"default": "''"
|
|
2387
3519
|
},
|
|
2388
3520
|
{
|
|
2389
|
-
"
|
|
3521
|
+
"kind": "field",
|
|
3522
|
+
"name": "loading",
|
|
2390
3523
|
"type": {
|
|
2391
3524
|
"text": "boolean"
|
|
2392
3525
|
},
|
|
2393
|
-
"
|
|
2394
|
-
"
|
|
2395
|
-
"fieldName": "scrollHidden"
|
|
3526
|
+
"privacy": "private",
|
|
3527
|
+
"default": "false"
|
|
2396
3528
|
},
|
|
2397
3529
|
{
|
|
2398
|
-
"
|
|
3530
|
+
"kind": "field",
|
|
3531
|
+
"name": "error",
|
|
2399
3532
|
"type": {
|
|
2400
|
-
"text": "
|
|
3533
|
+
"text": "Error | null"
|
|
2401
3534
|
},
|
|
2402
|
-
"
|
|
2403
|
-
"
|
|
3535
|
+
"privacy": "private",
|
|
3536
|
+
"default": "null"
|
|
2404
3537
|
},
|
|
2405
3538
|
{
|
|
2406
|
-
"
|
|
3539
|
+
"kind": "field",
|
|
3540
|
+
"name": "abort",
|
|
2407
3541
|
"type": {
|
|
2408
|
-
"text": "
|
|
3542
|
+
"text": "AbortController | undefined"
|
|
2409
3543
|
},
|
|
2410
|
-
"
|
|
2411
|
-
"fieldName": "languageMenuLabel"
|
|
3544
|
+
"privacy": "private"
|
|
2412
3545
|
},
|
|
2413
3546
|
{
|
|
2414
|
-
"
|
|
3547
|
+
"kind": "method",
|
|
3548
|
+
"name": "load",
|
|
3549
|
+
"privacy": "private",
|
|
3550
|
+
"return": {
|
|
3551
|
+
"type": {
|
|
3552
|
+
"text": "Promise<void>"
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
],
|
|
3557
|
+
"events": [
|
|
3558
|
+
{
|
|
3559
|
+
"name": "markdown-error",
|
|
2415
3560
|
"type": {
|
|
2416
|
-
"text": "
|
|
3561
|
+
"text": "CustomEvent"
|
|
3562
|
+
}
|
|
3563
|
+
}
|
|
3564
|
+
],
|
|
3565
|
+
"attributes": [
|
|
3566
|
+
{
|
|
3567
|
+
"name": "content",
|
|
3568
|
+
"type": {
|
|
3569
|
+
"text": "string"
|
|
2417
3570
|
},
|
|
2418
|
-
"default": "
|
|
2419
|
-
"description": "
|
|
2420
|
-
"fieldName": "
|
|
3571
|
+
"default": "''",
|
|
3572
|
+
"description": "Inline Markdown source. Ignored when `src` is set.",
|
|
3573
|
+
"fieldName": "content"
|
|
2421
3574
|
},
|
|
2422
3575
|
{
|
|
2423
|
-
"name": "
|
|
3576
|
+
"name": "src",
|
|
2424
3577
|
"type": {
|
|
2425
|
-
"text": "
|
|
3578
|
+
"text": "string"
|
|
2426
3579
|
},
|
|
2427
|
-
"default": "
|
|
2428
|
-
"description": "
|
|
2429
|
-
"fieldName": "
|
|
3580
|
+
"default": "''",
|
|
3581
|
+
"description": "URL of a Markdown file to fetch.",
|
|
3582
|
+
"fieldName": "src"
|
|
2430
3583
|
}
|
|
2431
3584
|
],
|
|
2432
3585
|
"superclass": {
|
|
2433
3586
|
"name": "LitElement",
|
|
2434
3587
|
"package": "lit"
|
|
2435
3588
|
},
|
|
2436
|
-
"tagName": "st-
|
|
3589
|
+
"tagName": "st-markdown",
|
|
2437
3590
|
"customElement": true
|
|
2438
3591
|
}
|
|
2439
3592
|
],
|
|
2440
3593
|
"exports": [
|
|
2441
3594
|
{
|
|
2442
3595
|
"kind": "js",
|
|
2443
|
-
"name": "
|
|
3596
|
+
"name": "Markdown",
|
|
2444
3597
|
"declaration": {
|
|
2445
|
-
"name": "
|
|
2446
|
-
"module": "src/
|
|
3598
|
+
"name": "Markdown",
|
|
3599
|
+
"module": "src/markdown/Markdown.ts"
|
|
2447
3600
|
}
|
|
2448
3601
|
},
|
|
2449
3602
|
{
|
|
2450
3603
|
"kind": "custom-element-definition",
|
|
2451
|
-
"name": "st-
|
|
3604
|
+
"name": "st-markdown",
|
|
2452
3605
|
"declaration": {
|
|
2453
|
-
"name": "
|
|
2454
|
-
"module": "src/
|
|
3606
|
+
"name": "Markdown",
|
|
3607
|
+
"module": "src/markdown/Markdown.ts"
|
|
2455
3608
|
}
|
|
2456
3609
|
}
|
|
2457
3610
|
]
|
|
2458
3611
|
},
|
|
2459
3612
|
{
|
|
2460
3613
|
"kind": "javascript-module",
|
|
2461
|
-
"path": "src/
|
|
3614
|
+
"path": "src/mega-menu/MegaMenu.ts",
|
|
2462
3615
|
"declarations": [
|
|
2463
3616
|
{
|
|
2464
3617
|
"kind": "class",
|
|
2465
|
-
"description": "The
|
|
2466
|
-
"name": "
|
|
2467
|
-
"
|
|
3618
|
+
"description": "The rich layout of a mega-menu panel, after okta.com: an optional intro column on the left (a\nlarge `heading`, a `description` and, under a divider, quick links in `slot=\"intro\"`), then the\nlink columns side by side (`st-mega-menu-column`s in the default slot), then an optional\nfeatured column on the right (`featured-heading` over the `st-mega-menu-feature` cards in\n`slot=\"featured\"`). Slot it into an `st-dropdown` with `mega` set.\n\nThe layout follows the width it is given, not the viewport (a container query): side by side\nwhen there is room; intro and featured column above/below two link columns on a medium panel;\neverything stacked in the narrow drill-down panel `st-header` shows on a phone (where the intro\nheading is left out — the drill-down already shows the section's name).",
|
|
3619
|
+
"name": "MegaMenu",
|
|
3620
|
+
"cssParts": [
|
|
2468
3621
|
{
|
|
2469
|
-
"
|
|
2470
|
-
"name": "
|
|
2471
|
-
"type": {
|
|
2472
|
-
"text": "boolean"
|
|
2473
|
-
},
|
|
2474
|
-
"default": "false",
|
|
2475
|
-
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2476
|
-
"attribute": "inverted",
|
|
2477
|
-
"reflects": true
|
|
3622
|
+
"description": "The grid holding every area.",
|
|
3623
|
+
"name": "inner"
|
|
2478
3624
|
},
|
|
2479
3625
|
{
|
|
2480
|
-
"
|
|
2481
|
-
"name": "
|
|
2482
|
-
"type": {
|
|
2483
|
-
"text": "string"
|
|
2484
|
-
},
|
|
2485
|
-
"default": "''",
|
|
2486
|
-
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2487
|
-
"attribute": "company-name"
|
|
3626
|
+
"description": "The intro column.",
|
|
3627
|
+
"name": "intro"
|
|
2488
3628
|
},
|
|
2489
3629
|
{
|
|
2490
|
-
"
|
|
2491
|
-
"name": "
|
|
2492
|
-
"type": {
|
|
2493
|
-
"text": "string"
|
|
2494
|
-
},
|
|
2495
|
-
"default": "''",
|
|
2496
|
-
"description": "Overrides the default computed copyright line entirely.",
|
|
2497
|
-
"attribute": "copyright"
|
|
3630
|
+
"description": "The grid holding the link columns.",
|
|
3631
|
+
"name": "columns"
|
|
2498
3632
|
},
|
|
2499
3633
|
{
|
|
2500
|
-
"
|
|
2501
|
-
"name": "
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
"
|
|
3634
|
+
"description": "The featured column.",
|
|
3635
|
+
"name": "featured"
|
|
3636
|
+
}
|
|
3637
|
+
],
|
|
3638
|
+
"slots": [
|
|
3639
|
+
{
|
|
3640
|
+
"description": "The link columns (`st-mega-menu-column`s, or any blocks).",
|
|
3641
|
+
"name": ""
|
|
2507
3642
|
},
|
|
2508
3643
|
{
|
|
2509
|
-
"
|
|
2510
|
-
"name": "
|
|
2511
|
-
"type": {
|
|
2512
|
-
"text": "string"
|
|
2513
|
-
},
|
|
2514
|
-
"default": "''",
|
|
2515
|
-
"attribute": "powered-by-link"
|
|
3644
|
+
"description": "Quick links under the intro text, e.g. `st-menu-item`s with an icon.",
|
|
3645
|
+
"name": "intro"
|
|
2516
3646
|
},
|
|
3647
|
+
{
|
|
3648
|
+
"description": "Promo cards (`st-mega-menu-feature`s), stacked.",
|
|
3649
|
+
"name": "featured"
|
|
3650
|
+
}
|
|
3651
|
+
],
|
|
3652
|
+
"members": [
|
|
2517
3653
|
{
|
|
2518
3654
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
3655
|
+
"name": "heading",
|
|
2520
3656
|
"type": {
|
|
2521
3657
|
"text": "string"
|
|
2522
3658
|
},
|
|
2523
3659
|
"default": "''",
|
|
2524
|
-
"description": "
|
|
2525
|
-
"attribute": "
|
|
3660
|
+
"description": "Large title of the intro column.",
|
|
3661
|
+
"attribute": "heading"
|
|
2526
3662
|
},
|
|
2527
3663
|
{
|
|
2528
3664
|
"kind": "field",
|
|
2529
|
-
"name": "
|
|
3665
|
+
"name": "description",
|
|
2530
3666
|
"type": {
|
|
2531
3667
|
"text": "string"
|
|
2532
3668
|
},
|
|
2533
3669
|
"default": "''",
|
|
2534
|
-
"description": "
|
|
2535
|
-
"attribute": "
|
|
3670
|
+
"description": "Text under the intro title.",
|
|
3671
|
+
"attribute": "description"
|
|
2536
3672
|
},
|
|
2537
3673
|
{
|
|
2538
3674
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
3675
|
+
"name": "featuredHeading",
|
|
2540
3676
|
"type": {
|
|
2541
3677
|
"text": "string"
|
|
2542
3678
|
},
|
|
2543
3679
|
"default": "''",
|
|
2544
|
-
"description": "
|
|
2545
|
-
"attribute": "
|
|
3680
|
+
"description": "Heading over the featured cards.",
|
|
3681
|
+
"attribute": "featured-heading"
|
|
2546
3682
|
},
|
|
2547
3683
|
{
|
|
2548
3684
|
"kind": "field",
|
|
2549
3685
|
"name": "columns",
|
|
2550
3686
|
"type": {
|
|
2551
|
-
"text": "
|
|
3687
|
+
"text": "number"
|
|
2552
3688
|
},
|
|
2553
|
-
"default": "
|
|
2554
|
-
"description": "
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"description": "Number of link columns side by side at full width. `0` (the default) uses one per slotted column.",
|
|
3691
|
+
"attribute": "columns"
|
|
2555
3692
|
},
|
|
2556
3693
|
{
|
|
2557
3694
|
"kind": "field",
|
|
2558
|
-
"name": "
|
|
3695
|
+
"name": "columnCount",
|
|
2559
3696
|
"type": {
|
|
2560
|
-
"text": "
|
|
3697
|
+
"text": "number"
|
|
2561
3698
|
},
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
3699
|
+
"privacy": "private",
|
|
3700
|
+
"default": "1"
|
|
2564
3701
|
},
|
|
2565
3702
|
{
|
|
2566
3703
|
"kind": "field",
|
|
2567
|
-
"name": "
|
|
3704
|
+
"name": "hasIntroLinks",
|
|
2568
3705
|
"type": {
|
|
2569
3706
|
"text": "boolean"
|
|
2570
3707
|
},
|
|
2571
3708
|
"privacy": "private",
|
|
2572
|
-
"
|
|
3709
|
+
"default": "false"
|
|
2573
3710
|
},
|
|
2574
3711
|
{
|
|
2575
3712
|
"kind": "field",
|
|
2576
|
-
"name": "
|
|
3713
|
+
"name": "hasFeatured",
|
|
2577
3714
|
"type": {
|
|
2578
|
-
"text": "
|
|
3715
|
+
"text": "boolean"
|
|
2579
3716
|
},
|
|
2580
3717
|
"privacy": "private",
|
|
2581
|
-
"
|
|
2582
|
-
},
|
|
2583
|
-
{
|
|
2584
|
-
"kind": "method",
|
|
2585
|
-
"name": "onLinkClick",
|
|
2586
|
-
"privacy": "private",
|
|
2587
|
-
"return": {
|
|
2588
|
-
"type": {
|
|
2589
|
-
"text": "void"
|
|
2590
|
-
}
|
|
2591
|
-
},
|
|
2592
|
-
"parameters": [
|
|
2593
|
-
{
|
|
2594
|
-
"name": "event",
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "MouseEvent"
|
|
2597
|
-
}
|
|
2598
|
-
},
|
|
2599
|
-
{
|
|
2600
|
-
"name": "href",
|
|
2601
|
-
"type": {
|
|
2602
|
-
"text": "string"
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
]
|
|
3718
|
+
"default": "false"
|
|
2606
3719
|
},
|
|
2607
3720
|
{
|
|
2608
|
-
"kind": "
|
|
2609
|
-
"name": "
|
|
2610
|
-
"privacy": "private"
|
|
2611
|
-
"parameters": [
|
|
2612
|
-
{
|
|
2613
|
-
"name": "link",
|
|
2614
|
-
"type": {
|
|
2615
|
-
"text": "FooterLink"
|
|
2616
|
-
}
|
|
2617
|
-
}
|
|
2618
|
-
]
|
|
3721
|
+
"kind": "field",
|
|
3722
|
+
"name": "onColumnsSlotChange",
|
|
3723
|
+
"privacy": "private"
|
|
2619
3724
|
},
|
|
2620
3725
|
{
|
|
2621
|
-
"kind": "
|
|
2622
|
-
"name": "
|
|
3726
|
+
"kind": "field",
|
|
3727
|
+
"name": "onIntroSlotChange",
|
|
2623
3728
|
"privacy": "private"
|
|
2624
3729
|
},
|
|
2625
3730
|
{
|
|
2626
|
-
"kind": "
|
|
2627
|
-
"name": "
|
|
3731
|
+
"kind": "field",
|
|
3732
|
+
"name": "onFeaturedSlotChange",
|
|
2628
3733
|
"privacy": "private"
|
|
2629
3734
|
}
|
|
2630
3735
|
],
|
|
2631
3736
|
"attributes": [
|
|
2632
3737
|
{
|
|
2633
|
-
"name": "
|
|
2634
|
-
"type": {
|
|
2635
|
-
"text": "boolean"
|
|
2636
|
-
},
|
|
2637
|
-
"default": "false",
|
|
2638
|
-
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2639
|
-
"fieldName": "inverted"
|
|
2640
|
-
},
|
|
2641
|
-
{
|
|
2642
|
-
"name": "company-name",
|
|
2643
|
-
"type": {
|
|
2644
|
-
"text": "string"
|
|
2645
|
-
},
|
|
2646
|
-
"default": "''",
|
|
2647
|
-
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2648
|
-
"fieldName": "companyName"
|
|
2649
|
-
},
|
|
2650
|
-
{
|
|
2651
|
-
"name": "copyright",
|
|
2652
|
-
"type": {
|
|
2653
|
-
"text": "string"
|
|
2654
|
-
},
|
|
2655
|
-
"default": "''",
|
|
2656
|
-
"description": "Overrides the default computed copyright line entirely.",
|
|
2657
|
-
"fieldName": "copyright"
|
|
2658
|
-
},
|
|
2659
|
-
{
|
|
2660
|
-
"name": "powered-by",
|
|
2661
|
-
"type": {
|
|
2662
|
-
"text": "string"
|
|
2663
|
-
},
|
|
2664
|
-
"default": "''",
|
|
2665
|
-
"fieldName": "poweredBy"
|
|
2666
|
-
},
|
|
2667
|
-
{
|
|
2668
|
-
"name": "powered-by-link",
|
|
3738
|
+
"name": "heading",
|
|
2669
3739
|
"type": {
|
|
2670
3740
|
"text": "string"
|
|
2671
3741
|
},
|
|
2672
3742
|
"default": "''",
|
|
2673
|
-
"
|
|
3743
|
+
"description": "Large title of the intro column.",
|
|
3744
|
+
"fieldName": "heading"
|
|
2674
3745
|
},
|
|
2675
3746
|
{
|
|
2676
|
-
"name": "
|
|
3747
|
+
"name": "description",
|
|
2677
3748
|
"type": {
|
|
2678
3749
|
"text": "string"
|
|
2679
3750
|
},
|
|
2680
3751
|
"default": "''",
|
|
2681
|
-
"description": "
|
|
2682
|
-
"fieldName": "
|
|
3752
|
+
"description": "Text under the intro title.",
|
|
3753
|
+
"fieldName": "description"
|
|
2683
3754
|
},
|
|
2684
3755
|
{
|
|
2685
|
-
"name": "
|
|
3756
|
+
"name": "featured-heading",
|
|
2686
3757
|
"type": {
|
|
2687
3758
|
"text": "string"
|
|
2688
3759
|
},
|
|
2689
3760
|
"default": "''",
|
|
2690
|
-
"description": "
|
|
2691
|
-
"fieldName": "
|
|
3761
|
+
"description": "Heading over the featured cards.",
|
|
3762
|
+
"fieldName": "featuredHeading"
|
|
2692
3763
|
},
|
|
2693
3764
|
{
|
|
2694
|
-
"name": "
|
|
3765
|
+
"name": "columns",
|
|
2695
3766
|
"type": {
|
|
2696
|
-
"text": "
|
|
3767
|
+
"text": "number"
|
|
2697
3768
|
},
|
|
2698
|
-
"default": "
|
|
2699
|
-
"description": "
|
|
2700
|
-
"fieldName": "
|
|
3769
|
+
"default": "0",
|
|
3770
|
+
"description": "Number of link columns side by side at full width. `0` (the default) uses one per slotted column.",
|
|
3771
|
+
"fieldName": "columns"
|
|
2701
3772
|
}
|
|
2702
3773
|
],
|
|
2703
3774
|
"superclass": {
|
|
2704
3775
|
"name": "LitElement",
|
|
2705
3776
|
"package": "lit"
|
|
2706
3777
|
},
|
|
2707
|
-
"tagName": "st-
|
|
3778
|
+
"tagName": "st-mega-menu",
|
|
2708
3779
|
"customElement": true
|
|
2709
3780
|
}
|
|
2710
3781
|
],
|
|
2711
3782
|
"exports": [
|
|
2712
3783
|
{
|
|
2713
3784
|
"kind": "js",
|
|
2714
|
-
"name": "
|
|
3785
|
+
"name": "MegaMenu",
|
|
2715
3786
|
"declaration": {
|
|
2716
|
-
"name": "
|
|
2717
|
-
"module": "src/
|
|
3787
|
+
"name": "MegaMenu",
|
|
3788
|
+
"module": "src/mega-menu/MegaMenu.ts"
|
|
2718
3789
|
}
|
|
2719
3790
|
},
|
|
2720
3791
|
{
|
|
2721
3792
|
"kind": "custom-element-definition",
|
|
2722
|
-
"name": "st-
|
|
3793
|
+
"name": "st-mega-menu",
|
|
2723
3794
|
"declaration": {
|
|
2724
|
-
"name": "
|
|
2725
|
-
"module": "src/
|
|
3795
|
+
"name": "MegaMenu",
|
|
3796
|
+
"module": "src/mega-menu/MegaMenu.ts"
|
|
2726
3797
|
}
|
|
2727
3798
|
}
|
|
2728
3799
|
]
|
|
2729
3800
|
},
|
|
2730
3801
|
{
|
|
2731
3802
|
"kind": "javascript-module",
|
|
2732
|
-
"path": "src/
|
|
3803
|
+
"path": "src/mega-menu/MegaMenuColumn.ts",
|
|
2733
3804
|
"declarations": [
|
|
2734
3805
|
{
|
|
2735
3806
|
"kind": "class",
|
|
2736
|
-
"description": "
|
|
2737
|
-
"name": "
|
|
3807
|
+
"description": "One column (or one group within a column) of an `st-mega-menu`: a heading, an optional line of\ndescription, then its links stacked — usually `st-menu-item`s with `variant=\"link\"`. Nest\ncolumns to stack several headed groups in one column, as okta.com does.\n\n`variant=\"card\"` puts the column on a tinted rounded tile and `variant=\"accent\"` on a solid\naccent tile with light text; both suit a row of equal columns without intro or featured area.\n`cta-label` + `cta-href` add a pill button at the bottom of the column.\n\nThe heading (when `href` is set) and the button fire a *cancelable* `mega-menu-select` event\n(detail: `{ href }`) before navigating; a host doing client-side routing calls\n`event.preventDefault()` on it.",
|
|
3808
|
+
"name": "MegaMenuColumn",
|
|
2738
3809
|
"cssProperties": [
|
|
2739
3810
|
{
|
|
2740
|
-
"description": "
|
|
2741
|
-
"name": "--st-
|
|
2742
|
-
},
|
|
2743
|
-
{
|
|
2744
|
-
"description": "Minimum height when `size` is `large` (default `640px`).",
|
|
2745
|
-
"name": "--st-hero-min-height"
|
|
3811
|
+
"description": "Overrides the padding of a `card`/`accent` column.",
|
|
3812
|
+
"name": "--st-mega-menu-column-padding"
|
|
2746
3813
|
}
|
|
2747
3814
|
],
|
|
2748
3815
|
"cssParts": [
|
|
2749
3816
|
{
|
|
2750
|
-
"description": "The
|
|
2751
|
-
"name": "
|
|
3817
|
+
"description": "The heading text or link.",
|
|
3818
|
+
"name": "heading"
|
|
2752
3819
|
},
|
|
2753
3820
|
{
|
|
2754
|
-
"description": "The
|
|
2755
|
-
"name": "
|
|
2756
|
-
}
|
|
2757
|
-
],
|
|
2758
|
-
"members": [
|
|
2759
|
-
{
|
|
2760
|
-
"kind": "field",
|
|
2761
|
-
"name": "title",
|
|
2762
|
-
"type": {
|
|
2763
|
-
"text": "string"
|
|
2764
|
-
},
|
|
2765
|
-
"default": "''",
|
|
2766
|
-
"attribute": "title"
|
|
3821
|
+
"description": "The line under the heading.",
|
|
3822
|
+
"name": "description"
|
|
2767
3823
|
},
|
|
2768
3824
|
{
|
|
2769
|
-
"
|
|
2770
|
-
"name": "
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "string"
|
|
2773
|
-
},
|
|
2774
|
-
"default": "''",
|
|
2775
|
-
"attribute": "subtitle"
|
|
3825
|
+
"description": "The box holding the links.",
|
|
3826
|
+
"name": "items"
|
|
2776
3827
|
},
|
|
2777
3828
|
{
|
|
2778
|
-
"
|
|
2779
|
-
"name": "
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
"
|
|
2785
|
-
|
|
3829
|
+
"description": "The pill button.",
|
|
3830
|
+
"name": "cta"
|
|
3831
|
+
}
|
|
3832
|
+
],
|
|
3833
|
+
"slots": [
|
|
3834
|
+
{
|
|
3835
|
+
"description": "The column's links, or nested `st-mega-menu-column` groups.",
|
|
3836
|
+
"name": ""
|
|
3837
|
+
}
|
|
3838
|
+
],
|
|
3839
|
+
"members": [
|
|
2786
3840
|
{
|
|
2787
3841
|
"kind": "field",
|
|
2788
|
-
"name": "
|
|
3842
|
+
"name": "heading",
|
|
2789
3843
|
"type": {
|
|
2790
3844
|
"text": "string"
|
|
2791
3845
|
},
|
|
2792
3846
|
"default": "''",
|
|
2793
|
-
"attribute": "
|
|
3847
|
+
"attribute": "heading"
|
|
2794
3848
|
},
|
|
2795
3849
|
{
|
|
2796
3850
|
"kind": "field",
|
|
@@ -2799,122 +3853,51 @@
|
|
|
2799
3853
|
"text": "string"
|
|
2800
3854
|
},
|
|
2801
3855
|
"default": "''",
|
|
3856
|
+
"description": "Makes the heading a link (e.g. to the section's overview page).",
|
|
2802
3857
|
"attribute": "href"
|
|
2803
3858
|
},
|
|
2804
3859
|
{
|
|
2805
3860
|
"kind": "field",
|
|
2806
|
-
"name": "
|
|
2807
|
-
"type": {
|
|
2808
|
-
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
2809
|
-
},
|
|
2810
|
-
"default": "'left'",
|
|
2811
|
-
"attribute": "text-alignment",
|
|
2812
|
-
"reflects": true
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "field",
|
|
2816
|
-
"name": "padding",
|
|
3861
|
+
"name": "description",
|
|
2817
3862
|
"type": {
|
|
2818
|
-
"text": "
|
|
3863
|
+
"text": "string"
|
|
2819
3864
|
},
|
|
2820
|
-
"default": "'
|
|
2821
|
-
"attribute": "
|
|
2822
|
-
"reflects": true
|
|
3865
|
+
"default": "''",
|
|
3866
|
+
"attribute": "description"
|
|
2823
3867
|
},
|
|
2824
3868
|
{
|
|
2825
3869
|
"kind": "field",
|
|
2826
|
-
"name": "
|
|
3870
|
+
"name": "variant",
|
|
2827
3871
|
"type": {
|
|
2828
|
-
"text": "
|
|
3872
|
+
"text": "'plain' | 'card' | 'accent'"
|
|
2829
3873
|
},
|
|
2830
|
-
"default": "
|
|
2831
|
-
"
|
|
3874
|
+
"default": "'plain'",
|
|
3875
|
+
"description": "`plain` (default), `card` (tinted tile) or `accent` (solid accent tile, light text).",
|
|
3876
|
+
"attribute": "variant",
|
|
2832
3877
|
"reflects": true
|
|
2833
3878
|
},
|
|
2834
3879
|
{
|
|
2835
3880
|
"kind": "field",
|
|
2836
|
-
"name": "
|
|
2837
|
-
"type": {
|
|
2838
|
-
"text": "'top' | 'left' | 'right' | 'bottom' | 'center'"
|
|
2839
|
-
},
|
|
2840
|
-
"default": "'center'",
|
|
2841
|
-
"attribute": "focal-point"
|
|
2842
|
-
},
|
|
2843
|
-
{
|
|
2844
|
-
"kind": "field",
|
|
2845
|
-
"name": "eyebrow",
|
|
2846
|
-
"type": {
|
|
2847
|
-
"text": "string"
|
|
2848
|
-
},
|
|
2849
|
-
"default": "''",
|
|
2850
|
-
"description": "Small uppercase label above the title (e.g. an event or product name).",
|
|
2851
|
-
"attribute": "eyebrow"
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "field",
|
|
2855
|
-
"name": "secondaryActionLabel",
|
|
3881
|
+
"name": "ctaLabel",
|
|
2856
3882
|
"type": {
|
|
2857
3883
|
"text": "string"
|
|
2858
3884
|
},
|
|
2859
3885
|
"default": "''",
|
|
2860
|
-
"description": "
|
|
2861
|
-
"attribute": "
|
|
3886
|
+
"description": "Text of a pill button at the bottom of the column; needs `cta-href`.",
|
|
3887
|
+
"attribute": "cta-label"
|
|
2862
3888
|
},
|
|
2863
3889
|
{
|
|
2864
3890
|
"kind": "field",
|
|
2865
|
-
"name": "
|
|
3891
|
+
"name": "ctaHref",
|
|
2866
3892
|
"type": {
|
|
2867
3893
|
"text": "string"
|
|
2868
3894
|
},
|
|
2869
3895
|
"default": "''",
|
|
2870
|
-
"attribute": "
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
"kind": "field",
|
|
2874
|
-
"name": "size",
|
|
2875
|
-
"type": {
|
|
2876
|
-
"text": "'auto' | 'large' | 'full'"
|
|
2877
|
-
},
|
|
2878
|
-
"default": "'auto'",
|
|
2879
|
-
"description": "`auto` sizes to the content; `large` is a tall editorial hero (`--st-hero-min-height`); `full` fills the viewport.",
|
|
2880
|
-
"attribute": "size",
|
|
2881
|
-
"reflects": true
|
|
2882
|
-
},
|
|
2883
|
-
{
|
|
2884
|
-
"kind": "field",
|
|
2885
|
-
"name": "contentPosition",
|
|
2886
|
-
"type": {
|
|
2887
|
-
"text": "'center' | 'bottom'"
|
|
2888
|
-
},
|
|
2889
|
-
"default": "'center'",
|
|
2890
|
-
"description": "`center` keeps the copy in the middle; `bottom` puts it in the lower part of the hero, on the page container.",
|
|
2891
|
-
"attribute": "content-position",
|
|
2892
|
-
"reflects": true
|
|
2893
|
-
},
|
|
2894
|
-
{
|
|
2895
|
-
"kind": "field",
|
|
2896
|
-
"name": "overlay",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "'even' | 'gradient' | 'none'"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "'even'",
|
|
2901
|
-
"description": "`even` darkens the whole image; `gradient` darkens behind the copy only; `none` shows the image as is.",
|
|
2902
|
-
"attribute": "overlay",
|
|
2903
|
-
"reflects": true
|
|
2904
|
-
},
|
|
2905
|
-
{
|
|
2906
|
-
"kind": "field",
|
|
2907
|
-
"name": "positions",
|
|
2908
|
-
"privacy": "private",
|
|
2909
|
-
"static": true,
|
|
2910
|
-
"default": "{ top: 'center top', left: 'left center', right: 'right center', bottom: 'center bottom', center: 'center center' }",
|
|
2911
|
-
"type": {
|
|
2912
|
-
"text": "{\r\n top: 'center top',\r\n left: 'left center',\r\n right: 'right center',\r\n bottom: 'center bottom',\r\n center: 'center center'\r\n }"
|
|
2913
|
-
}
|
|
3896
|
+
"attribute": "cta-href"
|
|
2914
3897
|
},
|
|
2915
3898
|
{
|
|
2916
3899
|
"kind": "method",
|
|
2917
|
-
"name": "
|
|
3900
|
+
"name": "select",
|
|
2918
3901
|
"privacy": "private",
|
|
2919
3902
|
"return": {
|
|
2920
3903
|
"type": {
|
|
@@ -2933,513 +3916,411 @@
|
|
|
2933
3916
|
"type": {
|
|
2934
3917
|
"text": "string"
|
|
2935
3918
|
}
|
|
2936
|
-
},
|
|
2937
|
-
{
|
|
2938
|
-
"name": "kind",
|
|
2939
|
-
"type": {
|
|
2940
|
-
"text": "'primary' | 'secondary'"
|
|
2941
|
-
}
|
|
2942
3919
|
}
|
|
2943
3920
|
]
|
|
2944
3921
|
},
|
|
2945
3922
|
{
|
|
2946
|
-
"kind": "
|
|
2947
|
-
"name": "
|
|
3923
|
+
"kind": "method",
|
|
3924
|
+
"name": "renderHeading",
|
|
2948
3925
|
"privacy": "private"
|
|
2949
3926
|
},
|
|
2950
3927
|
{
|
|
2951
|
-
"kind": "
|
|
2952
|
-
"name": "
|
|
3928
|
+
"kind": "method",
|
|
3929
|
+
"name": "renderCta",
|
|
2953
3930
|
"privacy": "private"
|
|
2954
3931
|
}
|
|
2955
3932
|
],
|
|
2956
|
-
"events": [
|
|
2957
|
-
{
|
|
2958
|
-
"description": "Cancelable, before navigating. Detail `{ href, kind }`, `kind` being `primary` or `secondary`.",
|
|
2959
|
-
"name": "action"
|
|
2960
|
-
}
|
|
2961
|
-
],
|
|
2962
|
-
"attributes": [
|
|
2963
|
-
{
|
|
2964
|
-
"name": "title",
|
|
2965
|
-
"type": {
|
|
2966
|
-
"text": "string"
|
|
2967
|
-
},
|
|
2968
|
-
"default": "''",
|
|
2969
|
-
"fieldName": "title"
|
|
2970
|
-
},
|
|
2971
|
-
{
|
|
2972
|
-
"name": "subtitle",
|
|
2973
|
-
"type": {
|
|
2974
|
-
"text": "string"
|
|
2975
|
-
},
|
|
2976
|
-
"default": "''",
|
|
2977
|
-
"fieldName": "subtitle"
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "image-src",
|
|
2981
|
-
"type": {
|
|
2982
|
-
"text": "string"
|
|
2983
|
-
},
|
|
2984
|
-
"default": "''",
|
|
2985
|
-
"fieldName": "imageSrc"
|
|
2986
|
-
},
|
|
2987
|
-
{
|
|
2988
|
-
"name": "action-label",
|
|
2989
|
-
"type": {
|
|
2990
|
-
"text": "string"
|
|
2991
|
-
},
|
|
2992
|
-
"default": "''",
|
|
2993
|
-
"fieldName": "actionLabel"
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
"name": "href",
|
|
2997
|
-
"type": {
|
|
2998
|
-
"text": "string"
|
|
2999
|
-
},
|
|
3000
|
-
"default": "''",
|
|
3001
|
-
"fieldName": "href"
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
"name": "text-alignment",
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
3007
|
-
},
|
|
3008
|
-
"default": "'left'",
|
|
3009
|
-
"fieldName": "textAlignment"
|
|
3010
|
-
},
|
|
3011
|
-
{
|
|
3012
|
-
"name": "padding",
|
|
3013
|
-
"type": {
|
|
3014
|
-
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
3015
|
-
},
|
|
3016
|
-
"default": "'none'",
|
|
3017
|
-
"fieldName": "padding"
|
|
3018
|
-
},
|
|
3019
|
-
{
|
|
3020
|
-
"name": "inverted",
|
|
3021
|
-
"type": {
|
|
3022
|
-
"text": "boolean"
|
|
3023
|
-
},
|
|
3024
|
-
"default": "false",
|
|
3025
|
-
"fieldName": "inverted"
|
|
3026
|
-
},
|
|
3027
|
-
{
|
|
3028
|
-
"name": "focal-point",
|
|
3029
|
-
"type": {
|
|
3030
|
-
"text": "'top' | 'left' | 'right' | 'bottom' | 'center'"
|
|
3031
|
-
},
|
|
3032
|
-
"default": "'center'",
|
|
3033
|
-
"fieldName": "focalPoint"
|
|
3034
|
-
},
|
|
3933
|
+
"events": [
|
|
3035
3934
|
{
|
|
3036
|
-
"
|
|
3935
|
+
"description": "The heading link or the button was clicked (cancelable; detail `{ href }`).",
|
|
3936
|
+
"name": "mega-menu-select"
|
|
3937
|
+
}
|
|
3938
|
+
],
|
|
3939
|
+
"attributes": [
|
|
3940
|
+
{
|
|
3941
|
+
"name": "heading",
|
|
3037
3942
|
"type": {
|
|
3038
3943
|
"text": "string"
|
|
3039
3944
|
},
|
|
3040
3945
|
"default": "''",
|
|
3041
|
-
"
|
|
3042
|
-
"fieldName": "eyebrow"
|
|
3946
|
+
"fieldName": "heading"
|
|
3043
3947
|
},
|
|
3044
3948
|
{
|
|
3045
|
-
"name": "
|
|
3949
|
+
"name": "href",
|
|
3046
3950
|
"type": {
|
|
3047
3951
|
"text": "string"
|
|
3048
3952
|
},
|
|
3049
3953
|
"default": "''",
|
|
3050
|
-
"description": "
|
|
3051
|
-
"fieldName": "
|
|
3954
|
+
"description": "Makes the heading a link (e.g. to the section's overview page).",
|
|
3955
|
+
"fieldName": "href"
|
|
3052
3956
|
},
|
|
3053
3957
|
{
|
|
3054
|
-
"name": "
|
|
3958
|
+
"name": "description",
|
|
3055
3959
|
"type": {
|
|
3056
3960
|
"text": "string"
|
|
3057
3961
|
},
|
|
3058
3962
|
"default": "''",
|
|
3059
|
-
"fieldName": "
|
|
3963
|
+
"fieldName": "description"
|
|
3060
3964
|
},
|
|
3061
3965
|
{
|
|
3062
|
-
"name": "
|
|
3966
|
+
"name": "variant",
|
|
3063
3967
|
"type": {
|
|
3064
|
-
"text": "'
|
|
3968
|
+
"text": "'plain' | 'card' | 'accent'"
|
|
3065
3969
|
},
|
|
3066
|
-
"default": "'
|
|
3067
|
-
"description": "`
|
|
3068
|
-
"fieldName": "
|
|
3970
|
+
"default": "'plain'",
|
|
3971
|
+
"description": "`plain` (default), `card` (tinted tile) or `accent` (solid accent tile, light text).",
|
|
3972
|
+
"fieldName": "variant"
|
|
3069
3973
|
},
|
|
3070
3974
|
{
|
|
3071
|
-
"name": "
|
|
3975
|
+
"name": "cta-label",
|
|
3072
3976
|
"type": {
|
|
3073
|
-
"text": "
|
|
3977
|
+
"text": "string"
|
|
3074
3978
|
},
|
|
3075
|
-
"default": "'
|
|
3076
|
-
"description": "
|
|
3077
|
-
"fieldName": "
|
|
3979
|
+
"default": "''",
|
|
3980
|
+
"description": "Text of a pill button at the bottom of the column; needs `cta-href`.",
|
|
3981
|
+
"fieldName": "ctaLabel"
|
|
3078
3982
|
},
|
|
3079
3983
|
{
|
|
3080
|
-
"name": "
|
|
3984
|
+
"name": "cta-href",
|
|
3081
3985
|
"type": {
|
|
3082
|
-
"text": "
|
|
3986
|
+
"text": "string"
|
|
3083
3987
|
},
|
|
3084
|
-
"default": "'
|
|
3085
|
-
"
|
|
3086
|
-
"fieldName": "overlay"
|
|
3988
|
+
"default": "''",
|
|
3989
|
+
"fieldName": "ctaHref"
|
|
3087
3990
|
}
|
|
3088
3991
|
],
|
|
3089
3992
|
"superclass": {
|
|
3090
3993
|
"name": "LitElement",
|
|
3091
3994
|
"package": "lit"
|
|
3092
3995
|
},
|
|
3093
|
-
"tagName": "st-
|
|
3996
|
+
"tagName": "st-mega-menu-column",
|
|
3094
3997
|
"customElement": true
|
|
3095
3998
|
}
|
|
3096
3999
|
],
|
|
3097
4000
|
"exports": [
|
|
3098
4001
|
{
|
|
3099
4002
|
"kind": "js",
|
|
3100
|
-
"name": "
|
|
4003
|
+
"name": "MegaMenuColumn",
|
|
3101
4004
|
"declaration": {
|
|
3102
|
-
"name": "
|
|
3103
|
-
"module": "src/
|
|
4005
|
+
"name": "MegaMenuColumn",
|
|
4006
|
+
"module": "src/mega-menu/MegaMenuColumn.ts"
|
|
3104
4007
|
}
|
|
3105
4008
|
},
|
|
3106
4009
|
{
|
|
3107
4010
|
"kind": "custom-element-definition",
|
|
3108
|
-
"name": "st-
|
|
4011
|
+
"name": "st-mega-menu-column",
|
|
3109
4012
|
"declaration": {
|
|
3110
|
-
"name": "
|
|
3111
|
-
"module": "src/
|
|
4013
|
+
"name": "MegaMenuColumn",
|
|
4014
|
+
"module": "src/mega-menu/MegaMenuColumn.ts"
|
|
3112
4015
|
}
|
|
3113
4016
|
}
|
|
3114
4017
|
]
|
|
3115
4018
|
},
|
|
3116
4019
|
{
|
|
3117
4020
|
"kind": "javascript-module",
|
|
3118
|
-
"path": "src/
|
|
4021
|
+
"path": "src/mega-menu/MegaMenuFeature.ts",
|
|
3119
4022
|
"declarations": [
|
|
3120
4023
|
{
|
|
3121
4024
|
"kind": "class",
|
|
3122
|
-
"description": "A
|
|
3123
|
-
"name": "
|
|
4025
|
+
"description": "A promo card for the featured column of an `st-mega-menu` (`slot=\"featured\"`). The whole card\nis one link. Two looks, after okta.com:\n\n- `story` (default): a rounded image on top, then the description and an underlined\n call-to-action line — a customer story or announcement.\n- `overlay`: a tile with light text over `image-url` (darkened), or over an accent gradient when\n there is no image — an optional `logo-url` top left, the title and description at the bottom.\n\nAn `http(s)` `href` opens in a new tab unless `target` says otherwise. Any other `href` fires a\n*cancelable* `mega-menu-select` event (detail: `{ href }`) first; a host doing client-side\nrouting calls `event.preventDefault()` on it.",
|
|
4026
|
+
"name": "MegaMenuFeature",
|
|
4027
|
+
"cssProperties": [
|
|
4028
|
+
{
|
|
4029
|
+
"description": "Start colour of the `overlay` gradient (default: the accent colour).",
|
|
4030
|
+
"name": "--st-mega-menu-feature-from"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"description": "End colour of the `overlay` gradient.",
|
|
4034
|
+
"name": "--st-mega-menu-feature-to"
|
|
4035
|
+
}
|
|
4036
|
+
],
|
|
4037
|
+
"cssParts": [
|
|
4038
|
+
{
|
|
4039
|
+
"description": "The card link.",
|
|
4040
|
+
"name": "card"
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
"description": "The image (`story`).",
|
|
4044
|
+
"name": "image"
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
"description": "The logo (`overlay`).",
|
|
4048
|
+
"name": "logo"
|
|
4049
|
+
},
|
|
4050
|
+
{
|
|
4051
|
+
"description": "The small label above the title.",
|
|
4052
|
+
"name": "eyebrow"
|
|
4053
|
+
},
|
|
4054
|
+
{
|
|
4055
|
+
"description": "The title.",
|
|
4056
|
+
"name": "title"
|
|
4057
|
+
},
|
|
4058
|
+
{
|
|
4059
|
+
"description": "The description.",
|
|
4060
|
+
"name": "description"
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"description": "The call-to-action line.",
|
|
4064
|
+
"name": "cta"
|
|
4065
|
+
}
|
|
4066
|
+
],
|
|
3124
4067
|
"members": [
|
|
3125
4068
|
{
|
|
3126
4069
|
"kind": "field",
|
|
3127
|
-
"name": "
|
|
4070
|
+
"name": "shadowRootOptions",
|
|
3128
4071
|
"type": {
|
|
3129
|
-
"text": "
|
|
4072
|
+
"text": "object"
|
|
3130
4073
|
},
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
4074
|
+
"static": true,
|
|
4075
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }",
|
|
4076
|
+
"description": "`focus()` on the element focuses its link, so `st-dropdown` can arrow-key to it."
|
|
3134
4077
|
},
|
|
3135
4078
|
{
|
|
3136
4079
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
4080
|
+
"name": "variant",
|
|
3138
4081
|
"type": {
|
|
3139
|
-
"text": "
|
|
4082
|
+
"text": "'story' | 'overlay'"
|
|
3140
4083
|
},
|
|
3141
|
-
"default": "
|
|
3142
|
-
"
|
|
4084
|
+
"default": "'story'",
|
|
4085
|
+
"description": "`story` (default) or `overlay` — see the element description.",
|
|
4086
|
+
"attribute": "variant",
|
|
3143
4087
|
"reflects": true
|
|
3144
|
-
}
|
|
3145
|
-
],
|
|
3146
|
-
"attributes": [
|
|
4088
|
+
},
|
|
3147
4089
|
{
|
|
3148
|
-
"
|
|
4090
|
+
"kind": "field",
|
|
4091
|
+
"name": "title",
|
|
3149
4092
|
"type": {
|
|
3150
4093
|
"text": "string"
|
|
3151
4094
|
},
|
|
3152
4095
|
"default": "''",
|
|
3153
|
-
"
|
|
3154
|
-
"fieldName": "label"
|
|
4096
|
+
"attribute": "title"
|
|
3155
4097
|
},
|
|
3156
4098
|
{
|
|
3157
|
-
"
|
|
4099
|
+
"kind": "field",
|
|
4100
|
+
"name": "description",
|
|
3158
4101
|
"type": {
|
|
3159
|
-
"text": "
|
|
4102
|
+
"text": "string"
|
|
3160
4103
|
},
|
|
3161
|
-
"default": "
|
|
3162
|
-
"
|
|
3163
|
-
}
|
|
3164
|
-
],
|
|
3165
|
-
"superclass": {
|
|
3166
|
-
"name": "LitElement",
|
|
3167
|
-
"package": "lit"
|
|
3168
|
-
},
|
|
3169
|
-
"tagName": "st-icon-button",
|
|
3170
|
-
"customElement": true
|
|
3171
|
-
}
|
|
3172
|
-
],
|
|
3173
|
-
"exports": [
|
|
3174
|
-
{
|
|
3175
|
-
"kind": "js",
|
|
3176
|
-
"name": "IconButton",
|
|
3177
|
-
"declaration": {
|
|
3178
|
-
"name": "IconButton",
|
|
3179
|
-
"module": "src/icon-button/IconButton.ts"
|
|
3180
|
-
}
|
|
3181
|
-
},
|
|
3182
|
-
{
|
|
3183
|
-
"kind": "custom-element-definition",
|
|
3184
|
-
"name": "st-icon-button",
|
|
3185
|
-
"declaration": {
|
|
3186
|
-
"name": "IconButton",
|
|
3187
|
-
"module": "src/icon-button/IconButton.ts"
|
|
3188
|
-
}
|
|
3189
|
-
}
|
|
3190
|
-
]
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
"kind": "javascript-module",
|
|
3194
|
-
"path": "src/items-accordion/ItemsAccordion.ts",
|
|
3195
|
-
"declarations": [
|
|
3196
|
-
{
|
|
3197
|
-
"kind": "class",
|
|
3198
|
-
"description": "A vertical list of collapsible title/content rows; one open at a time unless `allow-multiple`.",
|
|
3199
|
-
"name": "ItemsAccordion",
|
|
3200
|
-
"members": [
|
|
4104
|
+
"default": "''",
|
|
4105
|
+
"attribute": "description"
|
|
4106
|
+
},
|
|
3201
4107
|
{
|
|
3202
4108
|
"kind": "field",
|
|
3203
|
-
"name": "
|
|
4109
|
+
"name": "eyebrow",
|
|
3204
4110
|
"type": {
|
|
3205
4111
|
"text": "string"
|
|
3206
4112
|
},
|
|
3207
4113
|
"default": "''",
|
|
3208
|
-
"
|
|
4114
|
+
"description": "Small label above the title, e.g. \"New\" or \"Report\".",
|
|
4115
|
+
"attribute": "eyebrow"
|
|
3209
4116
|
},
|
|
3210
4117
|
{
|
|
3211
4118
|
"kind": "field",
|
|
3212
|
-
"name": "
|
|
4119
|
+
"name": "href",
|
|
3213
4120
|
"type": {
|
|
3214
4121
|
"text": "string"
|
|
3215
4122
|
},
|
|
3216
4123
|
"default": "''",
|
|
3217
|
-
"attribute": "
|
|
4124
|
+
"attribute": "href"
|
|
3218
4125
|
},
|
|
3219
4126
|
{
|
|
3220
4127
|
"kind": "field",
|
|
3221
|
-
"name": "
|
|
4128
|
+
"name": "target",
|
|
3222
4129
|
"type": {
|
|
3223
|
-
"text": "
|
|
4130
|
+
"text": "string"
|
|
3224
4131
|
},
|
|
3225
|
-
"default": "
|
|
4132
|
+
"default": "''",
|
|
4133
|
+
"description": "`target` for the link. Defaults to `_blank` for an `http(s)` `href`, `_self` otherwise.",
|
|
4134
|
+
"attribute": "target"
|
|
3226
4135
|
},
|
|
3227
4136
|
{
|
|
3228
4137
|
"kind": "field",
|
|
3229
|
-
"name": "
|
|
4138
|
+
"name": "imageUrl",
|
|
3230
4139
|
"type": {
|
|
3231
|
-
"text": "
|
|
4140
|
+
"text": "string"
|
|
3232
4141
|
},
|
|
3233
|
-
"default": "
|
|
3234
|
-
"
|
|
4142
|
+
"default": "''",
|
|
4143
|
+
"description": "Image on top (`story`) or behind the text (`overlay`).",
|
|
4144
|
+
"attribute": "image-url"
|
|
3235
4145
|
},
|
|
3236
4146
|
{
|
|
3237
4147
|
"kind": "field",
|
|
3238
|
-
"name": "
|
|
3239
|
-
"
|
|
3240
|
-
|
|
4148
|
+
"name": "imageAlt",
|
|
4149
|
+
"type": {
|
|
4150
|
+
"text": "string"
|
|
4151
|
+
},
|
|
4152
|
+
"default": "''",
|
|
4153
|
+
"attribute": "image-alt"
|
|
3241
4154
|
},
|
|
3242
4155
|
{
|
|
3243
|
-
"kind": "
|
|
3244
|
-
"name": "
|
|
3245
|
-
"privacy": "private",
|
|
3246
|
-
"parameters": [
|
|
3247
|
-
{
|
|
3248
|
-
"name": "id",
|
|
3249
|
-
"type": {
|
|
3250
|
-
"text": "string"
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
]
|
|
3254
|
-
}
|
|
3255
|
-
],
|
|
3256
|
-
"events": [
|
|
3257
|
-
{
|
|
3258
|
-
"name": "accordion-toggle",
|
|
4156
|
+
"kind": "field",
|
|
4157
|
+
"name": "logoUrl",
|
|
3259
4158
|
"type": {
|
|
3260
|
-
"text": "
|
|
3261
|
-
}
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
4159
|
+
"text": "string"
|
|
4160
|
+
},
|
|
4161
|
+
"default": "''",
|
|
4162
|
+
"description": "Logo at the top of an `overlay` card.",
|
|
4163
|
+
"attribute": "logo-url"
|
|
4164
|
+
},
|
|
3265
4165
|
{
|
|
3266
|
-
"
|
|
4166
|
+
"kind": "field",
|
|
4167
|
+
"name": "logoAlt",
|
|
3267
4168
|
"type": {
|
|
3268
4169
|
"text": "string"
|
|
3269
4170
|
},
|
|
3270
4171
|
"default": "''",
|
|
3271
|
-
"
|
|
4172
|
+
"attribute": "logo-alt"
|
|
3272
4173
|
},
|
|
3273
4174
|
{
|
|
3274
|
-
"
|
|
4175
|
+
"kind": "field",
|
|
4176
|
+
"name": "ctaLabel",
|
|
3275
4177
|
"type": {
|
|
3276
4178
|
"text": "string"
|
|
3277
4179
|
},
|
|
3278
4180
|
"default": "''",
|
|
3279
|
-
"
|
|
4181
|
+
"description": "Call-to-action text at the bottom of the card; empty hides it.",
|
|
4182
|
+
"attribute": "cta-label"
|
|
3280
4183
|
},
|
|
3281
4184
|
{
|
|
3282
|
-
"
|
|
4185
|
+
"kind": "field",
|
|
4186
|
+
"name": "isExternal",
|
|
3283
4187
|
"type": {
|
|
3284
4188
|
"text": "boolean"
|
|
3285
4189
|
},
|
|
3286
|
-
"
|
|
3287
|
-
"
|
|
4190
|
+
"privacy": "private",
|
|
4191
|
+
"readonly": true
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
"kind": "field",
|
|
4195
|
+
"name": "onClick",
|
|
4196
|
+
"privacy": "private"
|
|
3288
4197
|
}
|
|
3289
|
-
],
|
|
3290
|
-
"
|
|
3291
|
-
"name": "LitElement",
|
|
3292
|
-
"package": "lit"
|
|
3293
|
-
},
|
|
3294
|
-
"tagName": "st-items-accordion",
|
|
3295
|
-
"customElement": true
|
|
3296
|
-
}
|
|
3297
|
-
],
|
|
3298
|
-
"exports": [
|
|
3299
|
-
{
|
|
3300
|
-
"kind": "js",
|
|
3301
|
-
"name": "ItemsAccordion",
|
|
3302
|
-
"declaration": {
|
|
3303
|
-
"name": "ItemsAccordion",
|
|
3304
|
-
"module": "src/items-accordion/ItemsAccordion.ts"
|
|
3305
|
-
}
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "custom-element-definition",
|
|
3309
|
-
"name": "st-items-accordion",
|
|
3310
|
-
"declaration": {
|
|
3311
|
-
"name": "ItemsAccordion",
|
|
3312
|
-
"module": "src/items-accordion/ItemsAccordion.ts"
|
|
3313
|
-
}
|
|
3314
|
-
}
|
|
3315
|
-
]
|
|
3316
|
-
},
|
|
3317
|
-
{
|
|
3318
|
-
"kind": "javascript-module",
|
|
3319
|
-
"path": "src/markdown/Markdown.ts",
|
|
3320
|
-
"declarations": [
|
|
3321
|
-
{
|
|
3322
|
-
"kind": "class",
|
|
3323
|
-
"description": "Renders Markdown (GFM, single newlines become `<br>`) from either an inline `content` string or\r\na `src` URL it fetches. Ports `SankhyaUI`'s `useMarkdown` hook + `react-markdown` (remark-gfm,\r\nremark-breaks); output is sanitized with DOMPurify. `src` wins over `content` when both are set.\r\nWhile a fetch is pending it shows \"Loading content...\"; on failure \"Error loading content.\" and\r\na `markdown-error` event (detail: `{ error }`).\r\n\r\nText color is inherited from the parent so inverted containers just work.",
|
|
3324
|
-
"name": "Markdown",
|
|
3325
|
-
"members": [
|
|
4198
|
+
],
|
|
4199
|
+
"events": [
|
|
3326
4200
|
{
|
|
3327
|
-
"
|
|
3328
|
-
"name": "
|
|
4201
|
+
"description": "The card was clicked (cancelable; detail `{ href }`).",
|
|
4202
|
+
"name": "mega-menu-select"
|
|
4203
|
+
}
|
|
4204
|
+
],
|
|
4205
|
+
"attributes": [
|
|
4206
|
+
{
|
|
4207
|
+
"name": "variant",
|
|
4208
|
+
"type": {
|
|
4209
|
+
"text": "'story' | 'overlay'"
|
|
4210
|
+
},
|
|
4211
|
+
"default": "'story'",
|
|
4212
|
+
"description": "`story` (default) or `overlay` — see the element description.",
|
|
4213
|
+
"fieldName": "variant"
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"name": "title",
|
|
3329
4217
|
"type": {
|
|
3330
4218
|
"text": "string"
|
|
3331
4219
|
},
|
|
3332
4220
|
"default": "''",
|
|
3333
|
-
"
|
|
3334
|
-
"attribute": "content"
|
|
4221
|
+
"fieldName": "title"
|
|
3335
4222
|
},
|
|
3336
4223
|
{
|
|
3337
|
-
"
|
|
3338
|
-
"name": "src",
|
|
4224
|
+
"name": "description",
|
|
3339
4225
|
"type": {
|
|
3340
4226
|
"text": "string"
|
|
3341
4227
|
},
|
|
3342
4228
|
"default": "''",
|
|
3343
|
-
"
|
|
3344
|
-
"attribute": "src"
|
|
4229
|
+
"fieldName": "description"
|
|
3345
4230
|
},
|
|
3346
4231
|
{
|
|
3347
|
-
"
|
|
3348
|
-
"name": "fetched",
|
|
4232
|
+
"name": "eyebrow",
|
|
3349
4233
|
"type": {
|
|
3350
4234
|
"text": "string"
|
|
3351
4235
|
},
|
|
3352
|
-
"
|
|
3353
|
-
"
|
|
4236
|
+
"default": "''",
|
|
4237
|
+
"description": "Small label above the title, e.g. \"New\" or \"Report\".",
|
|
4238
|
+
"fieldName": "eyebrow"
|
|
3354
4239
|
},
|
|
3355
4240
|
{
|
|
3356
|
-
"
|
|
3357
|
-
"name": "loading",
|
|
4241
|
+
"name": "href",
|
|
3358
4242
|
"type": {
|
|
3359
|
-
"text": "
|
|
4243
|
+
"text": "string"
|
|
3360
4244
|
},
|
|
3361
|
-
"
|
|
3362
|
-
"
|
|
4245
|
+
"default": "''",
|
|
4246
|
+
"fieldName": "href"
|
|
3363
4247
|
},
|
|
3364
4248
|
{
|
|
3365
|
-
"
|
|
3366
|
-
"name": "error",
|
|
4249
|
+
"name": "target",
|
|
3367
4250
|
"type": {
|
|
3368
|
-
"text": "
|
|
4251
|
+
"text": "string"
|
|
3369
4252
|
},
|
|
3370
|
-
"
|
|
3371
|
-
"
|
|
4253
|
+
"default": "''",
|
|
4254
|
+
"description": "`target` for the link. Defaults to `_blank` for an `http(s)` `href`, `_self` otherwise.",
|
|
4255
|
+
"fieldName": "target"
|
|
3372
4256
|
},
|
|
3373
4257
|
{
|
|
3374
|
-
"
|
|
3375
|
-
"name": "abort",
|
|
4258
|
+
"name": "image-url",
|
|
3376
4259
|
"type": {
|
|
3377
|
-
"text": "
|
|
4260
|
+
"text": "string"
|
|
3378
4261
|
},
|
|
3379
|
-
"
|
|
4262
|
+
"default": "''",
|
|
4263
|
+
"description": "Image on top (`story`) or behind the text (`overlay`).",
|
|
4264
|
+
"fieldName": "imageUrl"
|
|
3380
4265
|
},
|
|
3381
4266
|
{
|
|
3382
|
-
"
|
|
3383
|
-
"
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
}
|
|
3390
|
-
}
|
|
3391
|
-
],
|
|
3392
|
-
"events": [
|
|
4267
|
+
"name": "image-alt",
|
|
4268
|
+
"type": {
|
|
4269
|
+
"text": "string"
|
|
4270
|
+
},
|
|
4271
|
+
"default": "''",
|
|
4272
|
+
"fieldName": "imageAlt"
|
|
4273
|
+
},
|
|
3393
4274
|
{
|
|
3394
|
-
"name": "
|
|
4275
|
+
"name": "logo-url",
|
|
3395
4276
|
"type": {
|
|
3396
|
-
"text": "
|
|
3397
|
-
}
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
4277
|
+
"text": "string"
|
|
4278
|
+
},
|
|
4279
|
+
"default": "''",
|
|
4280
|
+
"description": "Logo at the top of an `overlay` card.",
|
|
4281
|
+
"fieldName": "logoUrl"
|
|
4282
|
+
},
|
|
3401
4283
|
{
|
|
3402
|
-
"name": "
|
|
4284
|
+
"name": "logo-alt",
|
|
3403
4285
|
"type": {
|
|
3404
4286
|
"text": "string"
|
|
3405
4287
|
},
|
|
3406
4288
|
"default": "''",
|
|
3407
|
-
"
|
|
3408
|
-
"fieldName": "content"
|
|
4289
|
+
"fieldName": "logoAlt"
|
|
3409
4290
|
},
|
|
3410
4291
|
{
|
|
3411
|
-
"name": "
|
|
4292
|
+
"name": "cta-label",
|
|
3412
4293
|
"type": {
|
|
3413
4294
|
"text": "string"
|
|
3414
4295
|
},
|
|
3415
4296
|
"default": "''",
|
|
3416
|
-
"description": "
|
|
3417
|
-
"fieldName": "
|
|
4297
|
+
"description": "Call-to-action text at the bottom of the card; empty hides it.",
|
|
4298
|
+
"fieldName": "ctaLabel"
|
|
3418
4299
|
}
|
|
3419
4300
|
],
|
|
3420
4301
|
"superclass": {
|
|
3421
4302
|
"name": "LitElement",
|
|
3422
4303
|
"package": "lit"
|
|
3423
4304
|
},
|
|
3424
|
-
"tagName": "st-
|
|
4305
|
+
"tagName": "st-mega-menu-feature",
|
|
3425
4306
|
"customElement": true
|
|
3426
4307
|
}
|
|
3427
4308
|
],
|
|
3428
4309
|
"exports": [
|
|
3429
4310
|
{
|
|
3430
4311
|
"kind": "js",
|
|
3431
|
-
"name": "
|
|
4312
|
+
"name": "MegaMenuFeature",
|
|
3432
4313
|
"declaration": {
|
|
3433
|
-
"name": "
|
|
3434
|
-
"module": "src/
|
|
4314
|
+
"name": "MegaMenuFeature",
|
|
4315
|
+
"module": "src/mega-menu/MegaMenuFeature.ts"
|
|
3435
4316
|
}
|
|
3436
4317
|
},
|
|
3437
4318
|
{
|
|
3438
4319
|
"kind": "custom-element-definition",
|
|
3439
|
-
"name": "st-
|
|
4320
|
+
"name": "st-mega-menu-feature",
|
|
3440
4321
|
"declaration": {
|
|
3441
|
-
"name": "
|
|
3442
|
-
"module": "src/
|
|
4322
|
+
"name": "MegaMenuFeature",
|
|
4323
|
+
"module": "src/mega-menu/MegaMenuFeature.ts"
|
|
3443
4324
|
}
|
|
3444
4325
|
}
|
|
3445
4326
|
]
|
|
@@ -3821,6 +4702,17 @@
|
|
|
3821
4702
|
"description": "`target` for the `<a>` (source default `_self`).",
|
|
3822
4703
|
"attribute": "target"
|
|
3823
4704
|
},
|
|
4705
|
+
{
|
|
4706
|
+
"kind": "field",
|
|
4707
|
+
"name": "variant",
|
|
4708
|
+
"type": {
|
|
4709
|
+
"text": "'default' | 'link'"
|
|
4710
|
+
},
|
|
4711
|
+
"default": "'default'",
|
|
4712
|
+
"description": "`default` (a row with a hover box) or `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab).",
|
|
4713
|
+
"attribute": "variant",
|
|
4714
|
+
"reflects": true
|
|
4715
|
+
},
|
|
3824
4716
|
{
|
|
3825
4717
|
"kind": "field",
|
|
3826
4718
|
"name": "hasIcon",
|
|
@@ -3910,6 +4802,15 @@
|
|
|
3910
4802
|
"default": "'_self'",
|
|
3911
4803
|
"description": "`target` for the `<a>` (source default `_self`).",
|
|
3912
4804
|
"fieldName": "target"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"name": "variant",
|
|
4808
|
+
"type": {
|
|
4809
|
+
"text": "'default' | 'link'"
|
|
4810
|
+
},
|
|
4811
|
+
"default": "'default'",
|
|
4812
|
+
"description": "`default` (a row with a hover box) or `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab).",
|
|
4813
|
+
"fieldName": "variant"
|
|
3913
4814
|
}
|
|
3914
4815
|
],
|
|
3915
4816
|
"superclass": {
|
|
@@ -3947,6 +4848,16 @@
|
|
|
3947
4848
|
"kind": "class",
|
|
3948
4849
|
"description": "Rounded call-to-action banner (title, subtitle, one outlined button) on a dark panel or a\r\nbackground image. Port of `SankhyaUI`'s React `PromoBanner`; the button fires an `action` event\r\n(detail `{ href }`, empty unless set) in place of `onAction`.",
|
|
3949
4850
|
"name": "PromoBanner",
|
|
4851
|
+
"cssProperties": [
|
|
4852
|
+
{
|
|
4853
|
+
"description": "Overrides the banner's margin.",
|
|
4854
|
+
"name": "--st-promo-banner-margin"
|
|
4855
|
+
},
|
|
4856
|
+
{
|
|
4857
|
+
"description": "Overrides the banner's padding.",
|
|
4858
|
+
"name": "--st-promo-banner-padding"
|
|
4859
|
+
}
|
|
4860
|
+
],
|
|
3950
4861
|
"members": [
|
|
3951
4862
|
{
|
|
3952
4863
|
"kind": "field",
|
|
@@ -4098,6 +5009,10 @@
|
|
|
4098
5009
|
{
|
|
4099
5010
|
"description": "Overrides the background colour picked by `background`.",
|
|
4100
5011
|
"name": "--st-section-bg"
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"description": "Overrides the left/right padding (not with `width=\"full\"`).",
|
|
5015
|
+
"name": "--st-section-padding-inline"
|
|
4101
5016
|
}
|
|
4102
5017
|
],
|
|
4103
5018
|
"cssParts": [
|
|
@@ -4524,6 +5439,77 @@
|
|
|
4524
5439
|
}
|
|
4525
5440
|
]
|
|
4526
5441
|
},
|
|
5442
|
+
{
|
|
5443
|
+
"kind": "javascript-module",
|
|
5444
|
+
"path": "src/stats/Stats.ts",
|
|
5445
|
+
"declarations": [
|
|
5446
|
+
{
|
|
5447
|
+
"kind": "class",
|
|
5448
|
+
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.\r\n`inverted` puts it on the dark band (`--st-cms-band-dark-bg`), which stays dark in the dark theme.",
|
|
5449
|
+
"name": "Stats",
|
|
5450
|
+
"cssProperties": [
|
|
5451
|
+
{
|
|
5452
|
+
"description": "Overrides the block's padding.",
|
|
5453
|
+
"name": "--st-stats-padding"
|
|
5454
|
+
}
|
|
5455
|
+
],
|
|
5456
|
+
"members": [
|
|
5457
|
+
{
|
|
5458
|
+
"kind": "field",
|
|
5459
|
+
"name": "items",
|
|
5460
|
+
"type": {
|
|
5461
|
+
"text": "StatItem[]"
|
|
5462
|
+
},
|
|
5463
|
+
"default": "[]"
|
|
5464
|
+
},
|
|
5465
|
+
{
|
|
5466
|
+
"kind": "field",
|
|
5467
|
+
"name": "inverted",
|
|
5468
|
+
"type": {
|
|
5469
|
+
"text": "boolean"
|
|
5470
|
+
},
|
|
5471
|
+
"default": "false",
|
|
5472
|
+
"attribute": "inverted",
|
|
5473
|
+
"reflects": true
|
|
5474
|
+
}
|
|
5475
|
+
],
|
|
5476
|
+
"attributes": [
|
|
5477
|
+
{
|
|
5478
|
+
"name": "inverted",
|
|
5479
|
+
"type": {
|
|
5480
|
+
"text": "boolean"
|
|
5481
|
+
},
|
|
5482
|
+
"default": "false",
|
|
5483
|
+
"fieldName": "inverted"
|
|
5484
|
+
}
|
|
5485
|
+
],
|
|
5486
|
+
"superclass": {
|
|
5487
|
+
"name": "LitElement",
|
|
5488
|
+
"package": "lit"
|
|
5489
|
+
},
|
|
5490
|
+
"tagName": "st-stats",
|
|
5491
|
+
"customElement": true
|
|
5492
|
+
}
|
|
5493
|
+
],
|
|
5494
|
+
"exports": [
|
|
5495
|
+
{
|
|
5496
|
+
"kind": "js",
|
|
5497
|
+
"name": "Stats",
|
|
5498
|
+
"declaration": {
|
|
5499
|
+
"name": "Stats",
|
|
5500
|
+
"module": "src/stats/Stats.ts"
|
|
5501
|
+
}
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
"kind": "custom-element-definition",
|
|
5505
|
+
"name": "st-stats",
|
|
5506
|
+
"declaration": {
|
|
5507
|
+
"name": "Stats",
|
|
5508
|
+
"module": "src/stats/Stats.ts"
|
|
5509
|
+
}
|
|
5510
|
+
}
|
|
5511
|
+
]
|
|
5512
|
+
},
|
|
4527
5513
|
{
|
|
4528
5514
|
"kind": "javascript-module",
|
|
4529
5515
|
"path": "src/testimonials/Testimonials.ts",
|
|
@@ -4532,6 +5518,12 @@
|
|
|
4532
5518
|
"kind": "class",
|
|
4533
5519
|
"description": "Section heading plus customer quotes or stories. Port of React `Testimonials`.\n\nEach card shows whatever its item has: a cover image, the customer logo, a story headline, a\nquote with star rating, result metrics, the author and a \"See full story\" link. `layout=\"grid\"`\n(default) lays the cards out in a grid; `layout=\"carousel\"` puts them on one horizontally\nscrolling, snapping row with previous/next buttons next to the heading — the customer-story\ncarousel of enterprise marketing pages. `action-label`/`action-href` add a section-level link\n(e.g. \"Explore customer stories\").",
|
|
4534
5520
|
"name": "Testimonials",
|
|
5521
|
+
"cssProperties": [
|
|
5522
|
+
{
|
|
5523
|
+
"description": "Overrides the section's padding.",
|
|
5524
|
+
"name": "--st-testimonials-padding"
|
|
5525
|
+
}
|
|
5526
|
+
],
|
|
4535
5527
|
"members": [
|
|
4536
5528
|
{
|
|
4537
5529
|
"kind": "field",
|
|
@@ -4829,71 +5821,6 @@
|
|
|
4829
5821
|
}
|
|
4830
5822
|
}
|
|
4831
5823
|
]
|
|
4832
|
-
},
|
|
4833
|
-
{
|
|
4834
|
-
"kind": "javascript-module",
|
|
4835
|
-
"path": "src/stats/Stats.ts",
|
|
4836
|
-
"declarations": [
|
|
4837
|
-
{
|
|
4838
|
-
"kind": "class",
|
|
4839
|
-
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.",
|
|
4840
|
-
"name": "Stats",
|
|
4841
|
-
"members": [
|
|
4842
|
-
{
|
|
4843
|
-
"kind": "field",
|
|
4844
|
-
"name": "items",
|
|
4845
|
-
"type": {
|
|
4846
|
-
"text": "StatItem[]"
|
|
4847
|
-
},
|
|
4848
|
-
"default": "[]"
|
|
4849
|
-
},
|
|
4850
|
-
{
|
|
4851
|
-
"kind": "field",
|
|
4852
|
-
"name": "inverted",
|
|
4853
|
-
"type": {
|
|
4854
|
-
"text": "boolean"
|
|
4855
|
-
},
|
|
4856
|
-
"default": "false",
|
|
4857
|
-
"attribute": "inverted",
|
|
4858
|
-
"reflects": true
|
|
4859
|
-
}
|
|
4860
|
-
],
|
|
4861
|
-
"attributes": [
|
|
4862
|
-
{
|
|
4863
|
-
"name": "inverted",
|
|
4864
|
-
"type": {
|
|
4865
|
-
"text": "boolean"
|
|
4866
|
-
},
|
|
4867
|
-
"default": "false",
|
|
4868
|
-
"fieldName": "inverted"
|
|
4869
|
-
}
|
|
4870
|
-
],
|
|
4871
|
-
"superclass": {
|
|
4872
|
-
"name": "LitElement",
|
|
4873
|
-
"package": "lit"
|
|
4874
|
-
},
|
|
4875
|
-
"tagName": "st-stats",
|
|
4876
|
-
"customElement": true
|
|
4877
|
-
}
|
|
4878
|
-
],
|
|
4879
|
-
"exports": [
|
|
4880
|
-
{
|
|
4881
|
-
"kind": "js",
|
|
4882
|
-
"name": "Stats",
|
|
4883
|
-
"declaration": {
|
|
4884
|
-
"name": "Stats",
|
|
4885
|
-
"module": "src/stats/Stats.ts"
|
|
4886
|
-
}
|
|
4887
|
-
},
|
|
4888
|
-
{
|
|
4889
|
-
"kind": "custom-element-definition",
|
|
4890
|
-
"name": "st-stats",
|
|
4891
|
-
"declaration": {
|
|
4892
|
-
"name": "Stats",
|
|
4893
|
-
"module": "src/stats/Stats.ts"
|
|
4894
|
-
}
|
|
4895
|
-
}
|
|
4896
|
-
]
|
|
4897
5824
|
}
|
|
4898
5825
|
]
|
|
4899
5826
|
}
|