@sankhyatronics/sankhya-cms 0.1.5 → 0.1.6
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 +482 -458
- package/dist/carousel/index.d.ts +7 -2
- package/dist/carousel/index.js +1 -1
- package/dist/{chunk-47RPYNFG.js → chunk-HPIQSECE.js} +10 -3
- package/dist/chunk-HPIQSECE.js.map +1 -0
- package/dist/{chunk-KHPJ5FAJ.js → chunk-URC5XBTL.js} +32 -1
- package/dist/{chunk-KHPJ5FAJ.js.map → chunk-URC5XBTL.js.map} +1 -1
- package/dist/{chunk-IDBEZY2O.js → chunk-ZRXYWH6C.js} +4 -4
- package/dist/index.js +16 -16
- package/dist/menu-item/index.d.ts +4 -3
- package/dist/menu-item/index.js +1 -1
- package/dist/testimonials/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-47RPYNFG.js.map +0 -1
- /package/dist/{chunk-IDBEZY2O.js.map → chunk-ZRXYWH6C.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"declarations": [
|
|
256
256
|
{
|
|
257
257
|
"kind": "class",
|
|
258
|
-
"description": "Cycles through its slotted children, one visible at a time, with optional autoplay, arrows and\ndot indicators. The incoming slide slides in from the travel direction (CSS keyframes in place\nof the source's framer-motion spring), or fades in with `transition=\"fade\"`. Autoplay pauses\nwhile hovered or focused and stops when the element is disconnected; a paused slide
|
|
258
|
+
"description": "Cycles through its slotted children, one visible at a time, with optional autoplay, arrows and\ndot indicators. The incoming slide slides in from the travel direction (CSS keyframes in place\nof the source's framer-motion spring), or fades in with `transition=\"fade\"`. Autoplay pauses\nwhile hovered (unless `pause-on-hover` is turned off, e.g. for a full-screen hero the pointer\nnearly always rests on) or focused, and stops when the element is disconnected; a paused slide\nkeeps the time it had left.\n\n`indicator-style=\"tabs\"` replaces the dots with a row of labelled tabs along the bottom, each\nwith a progress bar that fills while its slide is showing, plus a pause button — the tabbed hero\ncarousel layout (put `st-hero`s in it). Tab labels come from `tab-labels`, else each slide's\n`data-tab-label` attribute, else its `title`.",
|
|
259
259
|
"name": "Carousel",
|
|
260
260
|
"cssProperties": [
|
|
261
261
|
{
|
|
@@ -301,6 +301,16 @@
|
|
|
301
301
|
"description": "Autoplay delay in milliseconds.",
|
|
302
302
|
"attribute": "interval"
|
|
303
303
|
},
|
|
304
|
+
{
|
|
305
|
+
"kind": "field",
|
|
306
|
+
"name": "pauseOnHover",
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "boolean"
|
|
309
|
+
},
|
|
310
|
+
"default": "true",
|
|
311
|
+
"description": "Pause autoplay while the pointer is over the carousel. Turn off for a hero that fills the\nscreen; the tabs' pause button and keyboard focus still pause it.",
|
|
312
|
+
"attribute": "pause-on-hover"
|
|
313
|
+
},
|
|
304
314
|
{
|
|
305
315
|
"kind": "field",
|
|
306
316
|
"name": "showArrows",
|
|
@@ -452,6 +462,11 @@
|
|
|
452
462
|
"name": "pause",
|
|
453
463
|
"privacy": "private"
|
|
454
464
|
},
|
|
465
|
+
{
|
|
466
|
+
"kind": "field",
|
|
467
|
+
"name": "pauseOnEnter",
|
|
468
|
+
"privacy": "private"
|
|
469
|
+
},
|
|
455
470
|
{
|
|
456
471
|
"kind": "field",
|
|
457
472
|
"name": "resume",
|
|
@@ -584,6 +599,15 @@
|
|
|
584
599
|
"description": "Autoplay delay in milliseconds.",
|
|
585
600
|
"fieldName": "interval"
|
|
586
601
|
},
|
|
602
|
+
{
|
|
603
|
+
"name": "pause-on-hover",
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "boolean"
|
|
606
|
+
},
|
|
607
|
+
"default": "true",
|
|
608
|
+
"description": "Pause autoplay while the pointer is over the carousel. Turn off for a hero that fills the\nscreen; the tabs' pause button and keyboard focus still pause it.",
|
|
609
|
+
"fieldName": "pauseOnHover"
|
|
610
|
+
},
|
|
587
611
|
{
|
|
588
612
|
"name": "show-arrows",
|
|
589
613
|
"type": {
|
|
@@ -646,192 +670,6 @@
|
|
|
646
670
|
}
|
|
647
671
|
]
|
|
648
672
|
},
|
|
649
|
-
{
|
|
650
|
-
"kind": "javascript-module",
|
|
651
|
-
"path": "src/content-block/ContentBlock.ts",
|
|
652
|
-
"declarations": [
|
|
653
|
-
{
|
|
654
|
-
"kind": "class",
|
|
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
|
-
],
|
|
663
|
-
"members": [
|
|
664
|
-
{
|
|
665
|
-
"kind": "field",
|
|
666
|
-
"name": "title",
|
|
667
|
-
"type": {
|
|
668
|
-
"text": "string"
|
|
669
|
-
},
|
|
670
|
-
"default": "''",
|
|
671
|
-
"attribute": "title"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"kind": "field",
|
|
675
|
-
"name": "subtitle",
|
|
676
|
-
"type": {
|
|
677
|
-
"text": "string"
|
|
678
|
-
},
|
|
679
|
-
"default": "''",
|
|
680
|
-
"attribute": "subtitle"
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"kind": "field",
|
|
684
|
-
"name": "contentSrc",
|
|
685
|
-
"type": {
|
|
686
|
-
"text": "string"
|
|
687
|
-
},
|
|
688
|
-
"default": "''",
|
|
689
|
-
"description": "URL of a Markdown file.",
|
|
690
|
-
"attribute": "content-src"
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"kind": "field",
|
|
694
|
-
"name": "content",
|
|
695
|
-
"type": {
|
|
696
|
-
"text": "string"
|
|
697
|
-
},
|
|
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"
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"kind": "field",
|
|
731
|
-
"name": "inverted",
|
|
732
|
-
"type": {
|
|
733
|
-
"text": "boolean"
|
|
734
|
-
},
|
|
735
|
-
"default": "false",
|
|
736
|
-
"attribute": "inverted",
|
|
737
|
-
"reflects": true
|
|
738
|
-
}
|
|
739
|
-
],
|
|
740
|
-
"attributes": [
|
|
741
|
-
{
|
|
742
|
-
"name": "title",
|
|
743
|
-
"type": {
|
|
744
|
-
"text": "string"
|
|
745
|
-
},
|
|
746
|
-
"default": "''",
|
|
747
|
-
"fieldName": "title"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"name": "subtitle",
|
|
751
|
-
"type": {
|
|
752
|
-
"text": "string"
|
|
753
|
-
},
|
|
754
|
-
"default": "''",
|
|
755
|
-
"fieldName": "subtitle"
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"name": "content-src",
|
|
759
|
-
"type": {
|
|
760
|
-
"text": "string"
|
|
761
|
-
},
|
|
762
|
-
"default": "''",
|
|
763
|
-
"description": "URL of a Markdown file.",
|
|
764
|
-
"fieldName": "contentSrc"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"name": "content",
|
|
768
|
-
"type": {
|
|
769
|
-
"text": "string"
|
|
770
|
-
},
|
|
771
|
-
"default": "''",
|
|
772
|
-
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
773
|
-
"fieldName": "content"
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
"name": "image-src",
|
|
777
|
-
"type": {
|
|
778
|
-
"text": "string"
|
|
779
|
-
},
|
|
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
|
|
814
|
-
}
|
|
815
|
-
],
|
|
816
|
-
"exports": [
|
|
817
|
-
{
|
|
818
|
-
"kind": "js",
|
|
819
|
-
"name": "ContentBlock",
|
|
820
|
-
"declaration": {
|
|
821
|
-
"name": "ContentBlock",
|
|
822
|
-
"module": "src/content-block/ContentBlock.ts"
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"kind": "custom-element-definition",
|
|
827
|
-
"name": "st-content-block",
|
|
828
|
-
"declaration": {
|
|
829
|
-
"name": "ContentBlock",
|
|
830
|
-
"module": "src/content-block/ContentBlock.ts"
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
]
|
|
834
|
-
},
|
|
835
673
|
{
|
|
836
674
|
"kind": "javascript-module",
|
|
837
675
|
"path": "src/cookie-consent/CookieConsent.ts",
|
|
@@ -1023,74 +861,260 @@
|
|
|
1023
861
|
},
|
|
1024
862
|
{
|
|
1025
863
|
"kind": "javascript-module",
|
|
1026
|
-
"path": "src/
|
|
864
|
+
"path": "src/content-block/ContentBlock.ts",
|
|
1027
865
|
"declarations": [
|
|
1028
866
|
{
|
|
1029
867
|
"kind": "class",
|
|
1030
|
-
"description": "A
|
|
1031
|
-
"name": "
|
|
868
|
+
"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.",
|
|
869
|
+
"name": "ContentBlock",
|
|
1032
870
|
"cssProperties": [
|
|
1033
871
|
{
|
|
1034
|
-
"description": "
|
|
1035
|
-
"name": "--st-
|
|
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"
|
|
872
|
+
"description": "Overrides the block's padding.",
|
|
873
|
+
"name": "--st-content-block-padding"
|
|
1048
874
|
}
|
|
1049
875
|
],
|
|
1050
876
|
"members": [
|
|
1051
877
|
{
|
|
1052
878
|
"kind": "field",
|
|
1053
|
-
"name": "
|
|
879
|
+
"name": "title",
|
|
1054
880
|
"type": {
|
|
1055
|
-
"text": "
|
|
881
|
+
"text": "string"
|
|
1056
882
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"default": "null",
|
|
1060
|
-
"description": "The open dropdown, if any — the source's `DropdownContext.activeDropdown`."
|
|
883
|
+
"default": "''",
|
|
884
|
+
"attribute": "title"
|
|
1061
885
|
},
|
|
1062
886
|
{
|
|
1063
887
|
"kind": "field",
|
|
1064
|
-
"name": "
|
|
888
|
+
"name": "subtitle",
|
|
1065
889
|
"type": {
|
|
1066
890
|
"text": "string"
|
|
1067
891
|
},
|
|
1068
892
|
"default": "''",
|
|
1069
|
-
"
|
|
1070
|
-
"attribute": "label"
|
|
893
|
+
"attribute": "subtitle"
|
|
1071
894
|
},
|
|
1072
895
|
{
|
|
1073
896
|
"kind": "field",
|
|
1074
|
-
"name": "
|
|
897
|
+
"name": "contentSrc",
|
|
1075
898
|
"type": {
|
|
1076
899
|
"text": "string"
|
|
1077
900
|
},
|
|
1078
901
|
"default": "''",
|
|
1079
|
-
"description": "
|
|
1080
|
-
"attribute": "
|
|
902
|
+
"description": "URL of a Markdown file.",
|
|
903
|
+
"attribute": "content-src"
|
|
1081
904
|
},
|
|
1082
905
|
{
|
|
1083
906
|
"kind": "field",
|
|
1084
|
-
"name": "
|
|
907
|
+
"name": "content",
|
|
1085
908
|
"type": {
|
|
1086
|
-
"text": "
|
|
909
|
+
"text": "string"
|
|
1087
910
|
},
|
|
1088
|
-
"default": "'
|
|
1089
|
-
"
|
|
911
|
+
"default": "''",
|
|
912
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
913
|
+
"attribute": "content"
|
|
1090
914
|
},
|
|
1091
915
|
{
|
|
1092
916
|
"kind": "field",
|
|
1093
|
-
"name": "
|
|
917
|
+
"name": "imageSrc",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "string"
|
|
920
|
+
},
|
|
921
|
+
"default": "''",
|
|
922
|
+
"attribute": "image-src"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"kind": "field",
|
|
926
|
+
"name": "imageAlt",
|
|
927
|
+
"type": {
|
|
928
|
+
"text": "string"
|
|
929
|
+
},
|
|
930
|
+
"default": "''",
|
|
931
|
+
"attribute": "image-alt"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"kind": "field",
|
|
935
|
+
"name": "imageCaption",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "string"
|
|
938
|
+
},
|
|
939
|
+
"default": "''",
|
|
940
|
+
"attribute": "image-caption"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"kind": "field",
|
|
944
|
+
"name": "inverted",
|
|
945
|
+
"type": {
|
|
946
|
+
"text": "boolean"
|
|
947
|
+
},
|
|
948
|
+
"default": "false",
|
|
949
|
+
"attribute": "inverted",
|
|
950
|
+
"reflects": true
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"attributes": [
|
|
954
|
+
{
|
|
955
|
+
"name": "title",
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "string"
|
|
958
|
+
},
|
|
959
|
+
"default": "''",
|
|
960
|
+
"fieldName": "title"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "subtitle",
|
|
964
|
+
"type": {
|
|
965
|
+
"text": "string"
|
|
966
|
+
},
|
|
967
|
+
"default": "''",
|
|
968
|
+
"fieldName": "subtitle"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "content-src",
|
|
972
|
+
"type": {
|
|
973
|
+
"text": "string"
|
|
974
|
+
},
|
|
975
|
+
"default": "''",
|
|
976
|
+
"description": "URL of a Markdown file.",
|
|
977
|
+
"fieldName": "contentSrc"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "content",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "string"
|
|
983
|
+
},
|
|
984
|
+
"default": "''",
|
|
985
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
986
|
+
"fieldName": "content"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "image-src",
|
|
990
|
+
"type": {
|
|
991
|
+
"text": "string"
|
|
992
|
+
},
|
|
993
|
+
"default": "''",
|
|
994
|
+
"fieldName": "imageSrc"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "image-alt",
|
|
998
|
+
"type": {
|
|
999
|
+
"text": "string"
|
|
1000
|
+
},
|
|
1001
|
+
"default": "''",
|
|
1002
|
+
"fieldName": "imageAlt"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "image-caption",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "string"
|
|
1008
|
+
},
|
|
1009
|
+
"default": "''",
|
|
1010
|
+
"fieldName": "imageCaption"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "inverted",
|
|
1014
|
+
"type": {
|
|
1015
|
+
"text": "boolean"
|
|
1016
|
+
},
|
|
1017
|
+
"default": "false",
|
|
1018
|
+
"fieldName": "inverted"
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
"superclass": {
|
|
1022
|
+
"name": "LitElement",
|
|
1023
|
+
"package": "lit"
|
|
1024
|
+
},
|
|
1025
|
+
"tagName": "st-content-block",
|
|
1026
|
+
"customElement": true
|
|
1027
|
+
}
|
|
1028
|
+
],
|
|
1029
|
+
"exports": [
|
|
1030
|
+
{
|
|
1031
|
+
"kind": "js",
|
|
1032
|
+
"name": "ContentBlock",
|
|
1033
|
+
"declaration": {
|
|
1034
|
+
"name": "ContentBlock",
|
|
1035
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"kind": "custom-element-definition",
|
|
1040
|
+
"name": "st-content-block",
|
|
1041
|
+
"declaration": {
|
|
1042
|
+
"name": "ContentBlock",
|
|
1043
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
]
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "javascript-module",
|
|
1050
|
+
"path": "src/dropdown/Dropdown.ts",
|
|
1051
|
+
"declarations": [
|
|
1052
|
+
{
|
|
1053
|
+
"kind": "class",
|
|
1054
|
+
"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`).",
|
|
1055
|
+
"name": "Dropdown",
|
|
1056
|
+
"cssProperties": [
|
|
1057
|
+
{
|
|
1058
|
+
"description": "Maximum width of a `mega` panel (default `1400px`).",
|
|
1059
|
+
"name": "--st-mega-menu-max-width"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"description": "Minimum space between a `mega` panel and the header's sides (default `1rem`).",
|
|
1063
|
+
"name": "--st-mega-menu-inset"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"description": "Space between the header and a `mega` panel (default `12px`).",
|
|
1067
|
+
"name": "--st-mega-menu-gap"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"description": "Corner radius of a `mega` panel (default `24px`).",
|
|
1071
|
+
"name": "--st-mega-menu-radius"
|
|
1072
|
+
}
|
|
1073
|
+
],
|
|
1074
|
+
"members": [
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "field",
|
|
1077
|
+
"name": "openDropdown",
|
|
1078
|
+
"type": {
|
|
1079
|
+
"text": "Dropdown | null"
|
|
1080
|
+
},
|
|
1081
|
+
"privacy": "private",
|
|
1082
|
+
"static": true,
|
|
1083
|
+
"default": "null",
|
|
1084
|
+
"description": "The open dropdown, if any — the source's `DropdownContext.activeDropdown`."
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "field",
|
|
1088
|
+
"name": "label",
|
|
1089
|
+
"type": {
|
|
1090
|
+
"text": "string"
|
|
1091
|
+
},
|
|
1092
|
+
"default": "''",
|
|
1093
|
+
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\r\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1094
|
+
"attribute": "label"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "field",
|
|
1098
|
+
"name": "href",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "string"
|
|
1101
|
+
},
|
|
1102
|
+
"default": "''",
|
|
1103
|
+
"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.",
|
|
1104
|
+
"attribute": "href"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"kind": "field",
|
|
1108
|
+
"name": "iconPosition",
|
|
1109
|
+
"type": {
|
|
1110
|
+
"text": "'left' | 'right'"
|
|
1111
|
+
},
|
|
1112
|
+
"default": "'left'",
|
|
1113
|
+
"attribute": "icon-position"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "field",
|
|
1117
|
+
"name": "iconSize",
|
|
1094
1118
|
"type": {
|
|
1095
1119
|
"text": "string"
|
|
1096
1120
|
},
|
|
@@ -4607,23 +4631,23 @@
|
|
|
4607
4631
|
},
|
|
4608
4632
|
{
|
|
4609
4633
|
"kind": "javascript-module",
|
|
4610
|
-
"path": "src/
|
|
4634
|
+
"path": "src/promo-banner/PromoBanner.ts",
|
|
4611
4635
|
"declarations": [
|
|
4612
4636
|
{
|
|
4613
4637
|
"kind": "class",
|
|
4614
|
-
"description": "
|
|
4615
|
-
"name": "
|
|
4616
|
-
"
|
|
4638
|
+
"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`.",
|
|
4639
|
+
"name": "PromoBanner",
|
|
4640
|
+
"cssProperties": [
|
|
4617
4641
|
{
|
|
4618
|
-
"
|
|
4619
|
-
"name": "
|
|
4620
|
-
"type": {
|
|
4621
|
-
"text": "object"
|
|
4622
|
-
},
|
|
4623
|
-
"static": true,
|
|
4624
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }",
|
|
4625
|
-
"description": "`focus()` on the element focuses its link, so `st-dropdown` can arrow-key between items."
|
|
4642
|
+
"description": "Overrides the banner's margin.",
|
|
4643
|
+
"name": "--st-promo-banner-margin"
|
|
4626
4644
|
},
|
|
4645
|
+
{
|
|
4646
|
+
"description": "Overrides the banner's padding.",
|
|
4647
|
+
"name": "--st-promo-banner-padding"
|
|
4648
|
+
}
|
|
4649
|
+
],
|
|
4650
|
+
"members": [
|
|
4627
4651
|
{
|
|
4628
4652
|
"kind": "field",
|
|
4629
4653
|
"name": "title",
|
|
@@ -4635,102 +4659,53 @@
|
|
|
4635
4659
|
},
|
|
4636
4660
|
{
|
|
4637
4661
|
"kind": "field",
|
|
4638
|
-
"name": "
|
|
4662
|
+
"name": "subtitle",
|
|
4639
4663
|
"type": {
|
|
4640
4664
|
"text": "string"
|
|
4641
4665
|
},
|
|
4642
4666
|
"default": "''",
|
|
4643
|
-
"attribute": "
|
|
4667
|
+
"attribute": "subtitle"
|
|
4644
4668
|
},
|
|
4645
4669
|
{
|
|
4646
4670
|
"kind": "field",
|
|
4647
|
-
"name": "
|
|
4671
|
+
"name": "actionLabel",
|
|
4648
4672
|
"type": {
|
|
4649
4673
|
"text": "string"
|
|
4650
4674
|
},
|
|
4651
4675
|
"default": "''",
|
|
4652
|
-
"attribute": "
|
|
4676
|
+
"attribute": "action-label"
|
|
4653
4677
|
},
|
|
4654
4678
|
{
|
|
4655
4679
|
"kind": "field",
|
|
4656
|
-
"name": "
|
|
4680
|
+
"name": "href",
|
|
4657
4681
|
"type": {
|
|
4658
4682
|
"text": "string"
|
|
4659
4683
|
},
|
|
4660
4684
|
"default": "''",
|
|
4661
|
-
"
|
|
4662
|
-
"attribute": "badge"
|
|
4685
|
+
"attribute": "href"
|
|
4663
4686
|
},
|
|
4664
4687
|
{
|
|
4665
4688
|
"kind": "field",
|
|
4666
|
-
"name": "
|
|
4689
|
+
"name": "imageSrc",
|
|
4667
4690
|
"type": {
|
|
4668
|
-
"text": "
|
|
4691
|
+
"text": "string"
|
|
4669
4692
|
},
|
|
4670
|
-
"default": "
|
|
4671
|
-
"
|
|
4672
|
-
"attribute": "active",
|
|
4673
|
-
"reflects": true
|
|
4693
|
+
"default": "''",
|
|
4694
|
+
"attribute": "image-src"
|
|
4674
4695
|
},
|
|
4675
4696
|
{
|
|
4676
4697
|
"kind": "field",
|
|
4677
|
-
"name": "
|
|
4698
|
+
"name": "inverted",
|
|
4678
4699
|
"type": {
|
|
4679
4700
|
"text": "boolean"
|
|
4680
4701
|
},
|
|
4681
4702
|
"default": "false",
|
|
4682
|
-
"attribute": "
|
|
4703
|
+
"attribute": "inverted",
|
|
4683
4704
|
"reflects": true
|
|
4684
4705
|
},
|
|
4685
4706
|
{
|
|
4686
4707
|
"kind": "field",
|
|
4687
|
-
"name": "
|
|
4688
|
-
"type": {
|
|
4689
|
-
"text": "boolean"
|
|
4690
|
-
},
|
|
4691
|
-
"default": "true",
|
|
4692
|
-
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4693
|
-
"attribute": "show-description"
|
|
4694
|
-
},
|
|
4695
|
-
{
|
|
4696
|
-
"kind": "field",
|
|
4697
|
-
"name": "target",
|
|
4698
|
-
"type": {
|
|
4699
|
-
"text": "string"
|
|
4700
|
-
},
|
|
4701
|
-
"default": "'_self'",
|
|
4702
|
-
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4703
|
-
"attribute": "target"
|
|
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
|
-
},
|
|
4716
|
-
{
|
|
4717
|
-
"kind": "field",
|
|
4718
|
-
"name": "hasIcon",
|
|
4719
|
-
"type": {
|
|
4720
|
-
"text": "boolean"
|
|
4721
|
-
},
|
|
4722
|
-
"privacy": "private",
|
|
4723
|
-
"default": "false",
|
|
4724
|
-
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4725
|
-
},
|
|
4726
|
-
{
|
|
4727
|
-
"kind": "field",
|
|
4728
|
-
"name": "onIconSlotChange",
|
|
4729
|
-
"privacy": "private"
|
|
4730
|
-
},
|
|
4731
|
-
{
|
|
4732
|
-
"kind": "field",
|
|
4733
|
-
"name": "onClick",
|
|
4708
|
+
"name": "onAction",
|
|
4734
4709
|
"privacy": "private"
|
|
4735
4710
|
}
|
|
4736
4711
|
],
|
|
@@ -4744,121 +4719,92 @@
|
|
|
4744
4719
|
"fieldName": "title"
|
|
4745
4720
|
},
|
|
4746
4721
|
{
|
|
4747
|
-
"name": "
|
|
4722
|
+
"name": "subtitle",
|
|
4748
4723
|
"type": {
|
|
4749
4724
|
"text": "string"
|
|
4750
4725
|
},
|
|
4751
4726
|
"default": "''",
|
|
4752
|
-
"fieldName": "
|
|
4727
|
+
"fieldName": "subtitle"
|
|
4753
4728
|
},
|
|
4754
4729
|
{
|
|
4755
|
-
"name": "
|
|
4730
|
+
"name": "action-label",
|
|
4756
4731
|
"type": {
|
|
4757
4732
|
"text": "string"
|
|
4758
4733
|
},
|
|
4759
4734
|
"default": "''",
|
|
4760
|
-
"fieldName": "
|
|
4735
|
+
"fieldName": "actionLabel"
|
|
4761
4736
|
},
|
|
4762
4737
|
{
|
|
4763
|
-
"name": "
|
|
4738
|
+
"name": "href",
|
|
4764
4739
|
"type": {
|
|
4765
4740
|
"text": "string"
|
|
4766
4741
|
},
|
|
4767
4742
|
"default": "''",
|
|
4768
|
-
"
|
|
4769
|
-
"fieldName": "badge"
|
|
4743
|
+
"fieldName": "href"
|
|
4770
4744
|
},
|
|
4771
4745
|
{
|
|
4772
|
-
"name": "
|
|
4746
|
+
"name": "image-src",
|
|
4773
4747
|
"type": {
|
|
4774
|
-
"text": "
|
|
4748
|
+
"text": "string"
|
|
4775
4749
|
},
|
|
4776
|
-
"default": "
|
|
4777
|
-
"
|
|
4778
|
-
"fieldName": "active"
|
|
4750
|
+
"default": "''",
|
|
4751
|
+
"fieldName": "imageSrc"
|
|
4779
4752
|
},
|
|
4780
4753
|
{
|
|
4781
|
-
"name": "
|
|
4754
|
+
"name": "inverted",
|
|
4782
4755
|
"type": {
|
|
4783
4756
|
"text": "boolean"
|
|
4784
4757
|
},
|
|
4785
4758
|
"default": "false",
|
|
4786
|
-
"fieldName": "
|
|
4787
|
-
},
|
|
4788
|
-
{
|
|
4789
|
-
"name": "show-description",
|
|
4790
|
-
"type": {
|
|
4791
|
-
"text": "boolean"
|
|
4792
|
-
},
|
|
4793
|
-
"default": "true",
|
|
4794
|
-
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4795
|
-
"fieldName": "showDescription"
|
|
4796
|
-
},
|
|
4797
|
-
{
|
|
4798
|
-
"name": "target",
|
|
4799
|
-
"type": {
|
|
4800
|
-
"text": "string"
|
|
4801
|
-
},
|
|
4802
|
-
"default": "'_self'",
|
|
4803
|
-
"description": "`target` for the `<a>` (source default `_self`).",
|
|
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"
|
|
4759
|
+
"fieldName": "inverted"
|
|
4814
4760
|
}
|
|
4815
4761
|
],
|
|
4816
4762
|
"superclass": {
|
|
4817
4763
|
"name": "LitElement",
|
|
4818
4764
|
"package": "lit"
|
|
4819
4765
|
},
|
|
4820
|
-
"tagName": "st-
|
|
4766
|
+
"tagName": "st-promo-banner",
|
|
4821
4767
|
"customElement": true
|
|
4822
4768
|
}
|
|
4823
4769
|
],
|
|
4824
4770
|
"exports": [
|
|
4825
4771
|
{
|
|
4826
4772
|
"kind": "js",
|
|
4827
|
-
"name": "
|
|
4773
|
+
"name": "PromoBanner",
|
|
4828
4774
|
"declaration": {
|
|
4829
|
-
"name": "
|
|
4830
|
-
"module": "src/
|
|
4775
|
+
"name": "PromoBanner",
|
|
4776
|
+
"module": "src/promo-banner/PromoBanner.ts"
|
|
4831
4777
|
}
|
|
4832
4778
|
},
|
|
4833
4779
|
{
|
|
4834
4780
|
"kind": "custom-element-definition",
|
|
4835
|
-
"name": "st-
|
|
4781
|
+
"name": "st-promo-banner",
|
|
4836
4782
|
"declaration": {
|
|
4837
|
-
"name": "
|
|
4838
|
-
"module": "src/
|
|
4783
|
+
"name": "PromoBanner",
|
|
4784
|
+
"module": "src/promo-banner/PromoBanner.ts"
|
|
4839
4785
|
}
|
|
4840
4786
|
}
|
|
4841
4787
|
]
|
|
4842
4788
|
},
|
|
4843
4789
|
{
|
|
4844
4790
|
"kind": "javascript-module",
|
|
4845
|
-
"path": "src/
|
|
4791
|
+
"path": "src/menu-item/MenuItem.ts",
|
|
4846
4792
|
"declarations": [
|
|
4847
4793
|
{
|
|
4848
4794
|
"kind": "class",
|
|
4849
|
-
"description": "
|
|
4850
|
-
"name": "
|
|
4851
|
-
"
|
|
4795
|
+
"description": "A single flat nav row — icon (`slot=\"icon\"`) + title + badge on one line, an optional\r\ndescription below — as opposed to `st-menu-grid-item`'s card for a multi-column grid. A 1:1\r\nport of `SankhyaUI`'s React `MenuItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same\r\nmarkup and CSS, with its `motion` effects redone in CSS — nudges right and scales to 1.01 on\r\nhover / 0.99 while pressed, the icon tilts on hover, the badge pops in, the description fades\r\nin. Colors come from the suite theme rather than per-item utility classes.\r\n\r\nRenders a real `<a href>` but fires a *cancelable* `menu-item-select` event (detail: `{ href }`)\r\nbefore navigating — a host doing client-side routing calls `event.preventDefault()` on it (the\r\nsource used react-router's `Link` here; the suite apps have no router).",
|
|
4796
|
+
"name": "MenuItem",
|
|
4797
|
+
"members": [
|
|
4852
4798
|
{
|
|
4853
|
-
"
|
|
4854
|
-
"name": "
|
|
4799
|
+
"kind": "field",
|
|
4800
|
+
"name": "shadowRootOptions",
|
|
4801
|
+
"type": {
|
|
4802
|
+
"text": "object"
|
|
4803
|
+
},
|
|
4804
|
+
"static": true,
|
|
4805
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }",
|
|
4806
|
+
"description": "`focus()` on the element focuses its link, so `st-dropdown` can arrow-key between items."
|
|
4855
4807
|
},
|
|
4856
|
-
{
|
|
4857
|
-
"description": "Overrides the banner's padding.",
|
|
4858
|
-
"name": "--st-promo-banner-padding"
|
|
4859
|
-
}
|
|
4860
|
-
],
|
|
4861
|
-
"members": [
|
|
4862
4808
|
{
|
|
4863
4809
|
"kind": "field",
|
|
4864
4810
|
"name": "title",
|
|
@@ -4870,53 +4816,102 @@
|
|
|
4870
4816
|
},
|
|
4871
4817
|
{
|
|
4872
4818
|
"kind": "field",
|
|
4873
|
-
"name": "
|
|
4819
|
+
"name": "href",
|
|
4874
4820
|
"type": {
|
|
4875
4821
|
"text": "string"
|
|
4876
4822
|
},
|
|
4877
4823
|
"default": "''",
|
|
4878
|
-
"attribute": "
|
|
4824
|
+
"attribute": "href"
|
|
4879
4825
|
},
|
|
4880
4826
|
{
|
|
4881
4827
|
"kind": "field",
|
|
4882
|
-
"name": "
|
|
4828
|
+
"name": "description",
|
|
4883
4829
|
"type": {
|
|
4884
4830
|
"text": "string"
|
|
4885
4831
|
},
|
|
4886
4832
|
"default": "''",
|
|
4887
|
-
"attribute": "
|
|
4833
|
+
"attribute": "description"
|
|
4888
4834
|
},
|
|
4889
4835
|
{
|
|
4890
4836
|
"kind": "field",
|
|
4891
|
-
"name": "
|
|
4837
|
+
"name": "badge",
|
|
4892
4838
|
"type": {
|
|
4893
4839
|
"text": "string"
|
|
4894
4840
|
},
|
|
4895
4841
|
"default": "''",
|
|
4896
|
-
"
|
|
4842
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4843
|
+
"attribute": "badge"
|
|
4897
4844
|
},
|
|
4898
4845
|
{
|
|
4899
4846
|
"kind": "field",
|
|
4900
|
-
"name": "
|
|
4847
|
+
"name": "active",
|
|
4901
4848
|
"type": {
|
|
4902
|
-
"text": "
|
|
4849
|
+
"text": "boolean"
|
|
4903
4850
|
},
|
|
4904
|
-
"default": "
|
|
4905
|
-
"
|
|
4851
|
+
"default": "false",
|
|
4852
|
+
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4853
|
+
"attribute": "active",
|
|
4854
|
+
"reflects": true
|
|
4906
4855
|
},
|
|
4907
4856
|
{
|
|
4908
4857
|
"kind": "field",
|
|
4909
|
-
"name": "
|
|
4858
|
+
"name": "compact",
|
|
4910
4859
|
"type": {
|
|
4911
4860
|
"text": "boolean"
|
|
4912
4861
|
},
|
|
4913
4862
|
"default": "false",
|
|
4914
|
-
"attribute": "
|
|
4863
|
+
"attribute": "compact",
|
|
4915
4864
|
"reflects": true
|
|
4916
4865
|
},
|
|
4917
4866
|
{
|
|
4918
4867
|
"kind": "field",
|
|
4919
|
-
"name": "
|
|
4868
|
+
"name": "showDescription",
|
|
4869
|
+
"type": {
|
|
4870
|
+
"text": "boolean"
|
|
4871
|
+
},
|
|
4872
|
+
"default": "true",
|
|
4873
|
+
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4874
|
+
"attribute": "show-description"
|
|
4875
|
+
},
|
|
4876
|
+
{
|
|
4877
|
+
"kind": "field",
|
|
4878
|
+
"name": "target",
|
|
4879
|
+
"type": {
|
|
4880
|
+
"text": "string"
|
|
4881
|
+
},
|
|
4882
|
+
"default": "'_self'",
|
|
4883
|
+
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4884
|
+
"attribute": "target"
|
|
4885
|
+
},
|
|
4886
|
+
{
|
|
4887
|
+
"kind": "field",
|
|
4888
|
+
"name": "variant",
|
|
4889
|
+
"type": {
|
|
4890
|
+
"text": "'default' | 'link' | 'bar'"
|
|
4891
|
+
},
|
|
4892
|
+
"default": "'default'",
|
|
4893
|
+
"description": "`default` (a row with a hover box), `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab) or `bar` (a top-level item in a header bar,\r\nshaped like a mega `st-dropdown`'s trigger pill so it lines up with the dropdowns beside it).",
|
|
4894
|
+
"attribute": "variant",
|
|
4895
|
+
"reflects": true
|
|
4896
|
+
},
|
|
4897
|
+
{
|
|
4898
|
+
"kind": "field",
|
|
4899
|
+
"name": "hasIcon",
|
|
4900
|
+
"type": {
|
|
4901
|
+
"text": "boolean"
|
|
4902
|
+
},
|
|
4903
|
+
"privacy": "private",
|
|
4904
|
+
"default": "false",
|
|
4905
|
+
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4906
|
+
},
|
|
4907
|
+
{
|
|
4908
|
+
"kind": "field",
|
|
4909
|
+
"name": "onIconSlotChange",
|
|
4910
|
+
"privacy": "private"
|
|
4911
|
+
},
|
|
4912
|
+
{
|
|
4913
|
+
"kind": "field",
|
|
4914
|
+
"name": "onClick",
|
|
4920
4915
|
"privacy": "private"
|
|
4921
4916
|
}
|
|
4922
4917
|
],
|
|
@@ -4930,69 +4925,98 @@
|
|
|
4930
4925
|
"fieldName": "title"
|
|
4931
4926
|
},
|
|
4932
4927
|
{
|
|
4933
|
-
"name": "
|
|
4928
|
+
"name": "href",
|
|
4934
4929
|
"type": {
|
|
4935
4930
|
"text": "string"
|
|
4936
4931
|
},
|
|
4937
4932
|
"default": "''",
|
|
4938
|
-
"fieldName": "
|
|
4933
|
+
"fieldName": "href"
|
|
4939
4934
|
},
|
|
4940
4935
|
{
|
|
4941
|
-
"name": "
|
|
4936
|
+
"name": "description",
|
|
4942
4937
|
"type": {
|
|
4943
4938
|
"text": "string"
|
|
4944
4939
|
},
|
|
4945
4940
|
"default": "''",
|
|
4946
|
-
"fieldName": "
|
|
4941
|
+
"fieldName": "description"
|
|
4947
4942
|
},
|
|
4948
4943
|
{
|
|
4949
|
-
"name": "
|
|
4944
|
+
"name": "badge",
|
|
4950
4945
|
"type": {
|
|
4951
4946
|
"text": "string"
|
|
4952
4947
|
},
|
|
4953
4948
|
"default": "''",
|
|
4954
|
-
"
|
|
4949
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4950
|
+
"fieldName": "badge"
|
|
4955
4951
|
},
|
|
4956
4952
|
{
|
|
4957
|
-
"name": "
|
|
4953
|
+
"name": "active",
|
|
4958
4954
|
"type": {
|
|
4959
|
-
"text": "
|
|
4955
|
+
"text": "boolean"
|
|
4960
4956
|
},
|
|
4961
|
-
"default": "
|
|
4962
|
-
"
|
|
4957
|
+
"default": "false",
|
|
4958
|
+
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4959
|
+
"fieldName": "active"
|
|
4963
4960
|
},
|
|
4964
4961
|
{
|
|
4965
|
-
"name": "
|
|
4962
|
+
"name": "compact",
|
|
4966
4963
|
"type": {
|
|
4967
4964
|
"text": "boolean"
|
|
4968
4965
|
},
|
|
4969
4966
|
"default": "false",
|
|
4970
|
-
"fieldName": "
|
|
4967
|
+
"fieldName": "compact"
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
"name": "show-description",
|
|
4971
|
+
"type": {
|
|
4972
|
+
"text": "boolean"
|
|
4973
|
+
},
|
|
4974
|
+
"default": "true",
|
|
4975
|
+
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4976
|
+
"fieldName": "showDescription"
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"name": "target",
|
|
4980
|
+
"type": {
|
|
4981
|
+
"text": "string"
|
|
4982
|
+
},
|
|
4983
|
+
"default": "'_self'",
|
|
4984
|
+
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4985
|
+
"fieldName": "target"
|
|
4986
|
+
},
|
|
4987
|
+
{
|
|
4988
|
+
"name": "variant",
|
|
4989
|
+
"type": {
|
|
4990
|
+
"text": "'default' | 'link' | 'bar'"
|
|
4991
|
+
},
|
|
4992
|
+
"default": "'default'",
|
|
4993
|
+
"description": "`default` (a row with a hover box), `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab) or `bar` (a top-level item in a header bar,\r\nshaped like a mega `st-dropdown`'s trigger pill so it lines up with the dropdowns beside it).",
|
|
4994
|
+
"fieldName": "variant"
|
|
4971
4995
|
}
|
|
4972
4996
|
],
|
|
4973
4997
|
"superclass": {
|
|
4974
4998
|
"name": "LitElement",
|
|
4975
4999
|
"package": "lit"
|
|
4976
5000
|
},
|
|
4977
|
-
"tagName": "st-
|
|
5001
|
+
"tagName": "st-menu-item",
|
|
4978
5002
|
"customElement": true
|
|
4979
5003
|
}
|
|
4980
5004
|
],
|
|
4981
5005
|
"exports": [
|
|
4982
5006
|
{
|
|
4983
5007
|
"kind": "js",
|
|
4984
|
-
"name": "
|
|
5008
|
+
"name": "MenuItem",
|
|
4985
5009
|
"declaration": {
|
|
4986
|
-
"name": "
|
|
4987
|
-
"module": "src/
|
|
5010
|
+
"name": "MenuItem",
|
|
5011
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4988
5012
|
}
|
|
4989
5013
|
},
|
|
4990
5014
|
{
|
|
4991
5015
|
"kind": "custom-element-definition",
|
|
4992
|
-
"name": "st-
|
|
5016
|
+
"name": "st-menu-item",
|
|
4993
5017
|
"declaration": {
|
|
4994
|
-
"name": "
|
|
4995
|
-
"module": "src/
|
|
5018
|
+
"name": "MenuItem",
|
|
5019
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4996
5020
|
}
|
|
4997
5021
|
}
|
|
4998
5022
|
]
|
|
@@ -5213,6 +5237,77 @@
|
|
|
5213
5237
|
}
|
|
5214
5238
|
]
|
|
5215
5239
|
},
|
|
5240
|
+
{
|
|
5241
|
+
"kind": "javascript-module",
|
|
5242
|
+
"path": "src/stats/Stats.ts",
|
|
5243
|
+
"declarations": [
|
|
5244
|
+
{
|
|
5245
|
+
"kind": "class",
|
|
5246
|
+
"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.",
|
|
5247
|
+
"name": "Stats",
|
|
5248
|
+
"cssProperties": [
|
|
5249
|
+
{
|
|
5250
|
+
"description": "Overrides the block's padding.",
|
|
5251
|
+
"name": "--st-stats-padding"
|
|
5252
|
+
}
|
|
5253
|
+
],
|
|
5254
|
+
"members": [
|
|
5255
|
+
{
|
|
5256
|
+
"kind": "field",
|
|
5257
|
+
"name": "items",
|
|
5258
|
+
"type": {
|
|
5259
|
+
"text": "StatItem[]"
|
|
5260
|
+
},
|
|
5261
|
+
"default": "[]"
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
"kind": "field",
|
|
5265
|
+
"name": "inverted",
|
|
5266
|
+
"type": {
|
|
5267
|
+
"text": "boolean"
|
|
5268
|
+
},
|
|
5269
|
+
"default": "false",
|
|
5270
|
+
"attribute": "inverted",
|
|
5271
|
+
"reflects": true
|
|
5272
|
+
}
|
|
5273
|
+
],
|
|
5274
|
+
"attributes": [
|
|
5275
|
+
{
|
|
5276
|
+
"name": "inverted",
|
|
5277
|
+
"type": {
|
|
5278
|
+
"text": "boolean"
|
|
5279
|
+
},
|
|
5280
|
+
"default": "false",
|
|
5281
|
+
"fieldName": "inverted"
|
|
5282
|
+
}
|
|
5283
|
+
],
|
|
5284
|
+
"superclass": {
|
|
5285
|
+
"name": "LitElement",
|
|
5286
|
+
"package": "lit"
|
|
5287
|
+
},
|
|
5288
|
+
"tagName": "st-stats",
|
|
5289
|
+
"customElement": true
|
|
5290
|
+
}
|
|
5291
|
+
],
|
|
5292
|
+
"exports": [
|
|
5293
|
+
{
|
|
5294
|
+
"kind": "js",
|
|
5295
|
+
"name": "Stats",
|
|
5296
|
+
"declaration": {
|
|
5297
|
+
"name": "Stats",
|
|
5298
|
+
"module": "src/stats/Stats.ts"
|
|
5299
|
+
}
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"kind": "custom-element-definition",
|
|
5303
|
+
"name": "st-stats",
|
|
5304
|
+
"declaration": {
|
|
5305
|
+
"name": "Stats",
|
|
5306
|
+
"module": "src/stats/Stats.ts"
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
]
|
|
5310
|
+
},
|
|
5216
5311
|
{
|
|
5217
5312
|
"kind": "javascript-module",
|
|
5218
5313
|
"path": "src/select/Select.ts",
|
|
@@ -5439,77 +5534,6 @@
|
|
|
5439
5534
|
}
|
|
5440
5535
|
]
|
|
5441
5536
|
},
|
|
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
|
-
},
|
|
5513
5537
|
{
|
|
5514
5538
|
"kind": "javascript-module",
|
|
5515
5539
|
"path": "src/testimonials/Testimonials.ts",
|