@genesislcap/foundation-zero 14.147.1-alpha-e9dbeac.0 → 14.148.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +683 -683
- package/package.json +12 -12
|
@@ -677,6 +677,145 @@
|
|
|
677
677
|
}
|
|
678
678
|
]
|
|
679
679
|
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "javascript-module",
|
|
682
|
+
"path": "src/_common/colors.hex.ts",
|
|
683
|
+
"declarations": [],
|
|
684
|
+
"exports": []
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "javascript-module",
|
|
688
|
+
"path": "src/_common/colors.ts",
|
|
689
|
+
"declarations": [
|
|
690
|
+
{
|
|
691
|
+
"kind": "variable",
|
|
692
|
+
"name": "defaultRapidTextColor"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"kind": "variable",
|
|
696
|
+
"name": "defaultRapidBGColor"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "variable",
|
|
700
|
+
"name": "defaultRapidLabelColor"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"kind": "variable",
|
|
704
|
+
"name": "defaultRapidActiveBGColor"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "variable",
|
|
708
|
+
"name": "defaultRapidBorderUnfocusedColor"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"kind": "variable",
|
|
712
|
+
"name": "FastAppearanceValues",
|
|
713
|
+
"type": {
|
|
714
|
+
"text": "array"
|
|
715
|
+
},
|
|
716
|
+
"default": "['accent', 'lightweight', 'neutral', 'outline', 'stealth']"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"kind": "variable",
|
|
720
|
+
"name": "ZeroAppearanceValues"
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"exports": [
|
|
724
|
+
{
|
|
725
|
+
"kind": "js",
|
|
726
|
+
"name": "defaultRapidTextColor",
|
|
727
|
+
"declaration": {
|
|
728
|
+
"name": "defaultRapidTextColor",
|
|
729
|
+
"module": "src/_common/colors.ts"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "js",
|
|
734
|
+
"name": "defaultRapidBGColor",
|
|
735
|
+
"declaration": {
|
|
736
|
+
"name": "defaultRapidBGColor",
|
|
737
|
+
"module": "src/_common/colors.ts"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"kind": "js",
|
|
742
|
+
"name": "defaultRapidLabelColor",
|
|
743
|
+
"declaration": {
|
|
744
|
+
"name": "defaultRapidLabelColor",
|
|
745
|
+
"module": "src/_common/colors.ts"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "js",
|
|
750
|
+
"name": "defaultRapidActiveBGColor",
|
|
751
|
+
"declaration": {
|
|
752
|
+
"name": "defaultRapidActiveBGColor",
|
|
753
|
+
"module": "src/_common/colors.ts"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "js",
|
|
758
|
+
"name": "defaultRapidBorderUnfocusedColor",
|
|
759
|
+
"declaration": {
|
|
760
|
+
"name": "defaultRapidBorderUnfocusedColor",
|
|
761
|
+
"module": "src/_common/colors.ts"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "js",
|
|
766
|
+
"name": "FastAppearanceValues",
|
|
767
|
+
"declaration": {
|
|
768
|
+
"name": "FastAppearanceValues",
|
|
769
|
+
"module": "src/_common/colors.ts"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"kind": "js",
|
|
774
|
+
"name": "ZeroAppearanceValues",
|
|
775
|
+
"declaration": {
|
|
776
|
+
"name": "ZeroAppearanceValues",
|
|
777
|
+
"module": "src/_common/colors.ts"
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"kind": "javascript-module",
|
|
784
|
+
"path": "src/_common/colors.util.ts",
|
|
785
|
+
"declarations": [],
|
|
786
|
+
"exports": []
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"kind": "javascript-module",
|
|
790
|
+
"path": "src/_common/index.ts",
|
|
791
|
+
"declarations": [],
|
|
792
|
+
"exports": [
|
|
793
|
+
{
|
|
794
|
+
"kind": "js",
|
|
795
|
+
"name": "*",
|
|
796
|
+
"declaration": {
|
|
797
|
+
"name": "*",
|
|
798
|
+
"package": "./colors"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "js",
|
|
803
|
+
"name": "*",
|
|
804
|
+
"declaration": {
|
|
805
|
+
"name": "*",
|
|
806
|
+
"package": "./colors.hex"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "js",
|
|
811
|
+
"name": "*",
|
|
812
|
+
"declaration": {
|
|
813
|
+
"name": "*",
|
|
814
|
+
"package": "./colors.util"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
},
|
|
680
819
|
{
|
|
681
820
|
"kind": "javascript-module",
|
|
682
821
|
"path": "src/_config/index.ts",
|
|
@@ -708,6 +847,194 @@
|
|
|
708
847
|
}
|
|
709
848
|
]
|
|
710
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "javascript-module",
|
|
852
|
+
"path": "src/accordion/accordion.stories.ts",
|
|
853
|
+
"declarations": [
|
|
854
|
+
{
|
|
855
|
+
"kind": "variable",
|
|
856
|
+
"name": "meta",
|
|
857
|
+
"type": {
|
|
858
|
+
"text": "Meta"
|
|
859
|
+
},
|
|
860
|
+
"default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"kind": "variable",
|
|
864
|
+
"name": "Primary",
|
|
865
|
+
"type": {
|
|
866
|
+
"text": "StoryObj"
|
|
867
|
+
},
|
|
868
|
+
"default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
|
|
869
|
+
}
|
|
870
|
+
],
|
|
871
|
+
"exports": [
|
|
872
|
+
{
|
|
873
|
+
"kind": "js",
|
|
874
|
+
"name": "default",
|
|
875
|
+
"declaration": {
|
|
876
|
+
"name": "meta",
|
|
877
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"kind": "js",
|
|
882
|
+
"name": "Primary",
|
|
883
|
+
"declaration": {
|
|
884
|
+
"name": "Primary",
|
|
885
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
]
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"kind": "javascript-module",
|
|
892
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
893
|
+
"declarations": [
|
|
894
|
+
{
|
|
895
|
+
"kind": "function",
|
|
896
|
+
"name": "zeroAccordionStyles",
|
|
897
|
+
"return": {
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "ElementStyles"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"parameters": [
|
|
903
|
+
{
|
|
904
|
+
"name": "context",
|
|
905
|
+
"type": {
|
|
906
|
+
"text": "ElementDefinitionContext"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "definition",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "FoundationElementDefinition"
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
]
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"exports": [
|
|
919
|
+
{
|
|
920
|
+
"kind": "js",
|
|
921
|
+
"name": "zeroAccordionStyles",
|
|
922
|
+
"declaration": {
|
|
923
|
+
"name": "zeroAccordionStyles",
|
|
924
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
]
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"kind": "javascript-module",
|
|
931
|
+
"path": "src/accordion/accordion.template.ts",
|
|
932
|
+
"declarations": [
|
|
933
|
+
{
|
|
934
|
+
"kind": "function",
|
|
935
|
+
"name": "zeroAccordionTemplate",
|
|
936
|
+
"return": {
|
|
937
|
+
"type": {
|
|
938
|
+
"text": "ViewTemplate<Accordion>"
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"parameters": [
|
|
942
|
+
{
|
|
943
|
+
"name": "context",
|
|
944
|
+
"type": {
|
|
945
|
+
"text": "ElementDefinitionContext"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "definition",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "FoundationElementDefinition"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
]
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"exports": [
|
|
958
|
+
{
|
|
959
|
+
"kind": "js",
|
|
960
|
+
"name": "zeroAccordionTemplate",
|
|
961
|
+
"declaration": {
|
|
962
|
+
"name": "zeroAccordionTemplate",
|
|
963
|
+
"module": "src/accordion/accordion.template.ts"
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
]
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"kind": "javascript-module",
|
|
970
|
+
"path": "src/accordion/accordion.ts",
|
|
971
|
+
"declarations": [
|
|
972
|
+
{
|
|
973
|
+
"kind": "class",
|
|
974
|
+
"description": "",
|
|
975
|
+
"name": "Accordion",
|
|
976
|
+
"superclass": {
|
|
977
|
+
"name": "FoundationAccordion",
|
|
978
|
+
"package": "@genesislcap/foundation-ui"
|
|
979
|
+
},
|
|
980
|
+
"tagName": "%%prefix%%-card",
|
|
981
|
+
"customElement": true
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "variable",
|
|
985
|
+
"name": "zeroAccordion"
|
|
986
|
+
}
|
|
987
|
+
],
|
|
988
|
+
"exports": [
|
|
989
|
+
{
|
|
990
|
+
"kind": "js",
|
|
991
|
+
"name": "Accordion",
|
|
992
|
+
"declaration": {
|
|
993
|
+
"name": "Accordion",
|
|
994
|
+
"module": "src/accordion/accordion.ts"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"kind": "js",
|
|
999
|
+
"name": "zeroAccordion",
|
|
1000
|
+
"declaration": {
|
|
1001
|
+
"name": "zeroAccordion",
|
|
1002
|
+
"module": "src/accordion/accordion.ts"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
]
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"kind": "javascript-module",
|
|
1009
|
+
"path": "src/accordion/index.ts",
|
|
1010
|
+
"declarations": [],
|
|
1011
|
+
"exports": [
|
|
1012
|
+
{
|
|
1013
|
+
"kind": "js",
|
|
1014
|
+
"name": "*",
|
|
1015
|
+
"declaration": {
|
|
1016
|
+
"name": "*",
|
|
1017
|
+
"package": "./accordion"
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "js",
|
|
1022
|
+
"name": "*",
|
|
1023
|
+
"declaration": {
|
|
1024
|
+
"name": "*",
|
|
1025
|
+
"package": "./accordion.styles"
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"kind": "js",
|
|
1030
|
+
"name": "*",
|
|
1031
|
+
"declaration": {
|
|
1032
|
+
"name": "*",
|
|
1033
|
+
"package": "./accordion.template"
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
]
|
|
1037
|
+
},
|
|
711
1038
|
{
|
|
712
1039
|
"kind": "javascript-module",
|
|
713
1040
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1068,145 +1395,6 @@
|
|
|
1068
1395
|
}
|
|
1069
1396
|
]
|
|
1070
1397
|
},
|
|
1071
|
-
{
|
|
1072
|
-
"kind": "javascript-module",
|
|
1073
|
-
"path": "src/_common/colors.hex.ts",
|
|
1074
|
-
"declarations": [],
|
|
1075
|
-
"exports": []
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
"kind": "javascript-module",
|
|
1079
|
-
"path": "src/_common/colors.ts",
|
|
1080
|
-
"declarations": [
|
|
1081
|
-
{
|
|
1082
|
-
"kind": "variable",
|
|
1083
|
-
"name": "defaultRapidTextColor"
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
"kind": "variable",
|
|
1087
|
-
"name": "defaultRapidBGColor"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "variable",
|
|
1091
|
-
"name": "defaultRapidLabelColor"
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
"kind": "variable",
|
|
1095
|
-
"name": "defaultRapidActiveBGColor"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "variable",
|
|
1099
|
-
"name": "defaultRapidBorderUnfocusedColor"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "variable",
|
|
1103
|
-
"name": "FastAppearanceValues",
|
|
1104
|
-
"type": {
|
|
1105
|
-
"text": "array"
|
|
1106
|
-
},
|
|
1107
|
-
"default": "['accent', 'lightweight', 'neutral', 'outline', 'stealth']"
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
"kind": "variable",
|
|
1111
|
-
"name": "ZeroAppearanceValues"
|
|
1112
|
-
}
|
|
1113
|
-
],
|
|
1114
|
-
"exports": [
|
|
1115
|
-
{
|
|
1116
|
-
"kind": "js",
|
|
1117
|
-
"name": "defaultRapidTextColor",
|
|
1118
|
-
"declaration": {
|
|
1119
|
-
"name": "defaultRapidTextColor",
|
|
1120
|
-
"module": "src/_common/colors.ts"
|
|
1121
|
-
}
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
"kind": "js",
|
|
1125
|
-
"name": "defaultRapidBGColor",
|
|
1126
|
-
"declaration": {
|
|
1127
|
-
"name": "defaultRapidBGColor",
|
|
1128
|
-
"module": "src/_common/colors.ts"
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"kind": "js",
|
|
1133
|
-
"name": "defaultRapidLabelColor",
|
|
1134
|
-
"declaration": {
|
|
1135
|
-
"name": "defaultRapidLabelColor",
|
|
1136
|
-
"module": "src/_common/colors.ts"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
"kind": "js",
|
|
1141
|
-
"name": "defaultRapidActiveBGColor",
|
|
1142
|
-
"declaration": {
|
|
1143
|
-
"name": "defaultRapidActiveBGColor",
|
|
1144
|
-
"module": "src/_common/colors.ts"
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"kind": "js",
|
|
1149
|
-
"name": "defaultRapidBorderUnfocusedColor",
|
|
1150
|
-
"declaration": {
|
|
1151
|
-
"name": "defaultRapidBorderUnfocusedColor",
|
|
1152
|
-
"module": "src/_common/colors.ts"
|
|
1153
|
-
}
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
"kind": "js",
|
|
1157
|
-
"name": "FastAppearanceValues",
|
|
1158
|
-
"declaration": {
|
|
1159
|
-
"name": "FastAppearanceValues",
|
|
1160
|
-
"module": "src/_common/colors.ts"
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"kind": "js",
|
|
1165
|
-
"name": "ZeroAppearanceValues",
|
|
1166
|
-
"declaration": {
|
|
1167
|
-
"name": "ZeroAppearanceValues",
|
|
1168
|
-
"module": "src/_common/colors.ts"
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
]
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"kind": "javascript-module",
|
|
1175
|
-
"path": "src/_common/colors.util.ts",
|
|
1176
|
-
"declarations": [],
|
|
1177
|
-
"exports": []
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"kind": "javascript-module",
|
|
1181
|
-
"path": "src/_common/index.ts",
|
|
1182
|
-
"declarations": [],
|
|
1183
|
-
"exports": [
|
|
1184
|
-
{
|
|
1185
|
-
"kind": "js",
|
|
1186
|
-
"name": "*",
|
|
1187
|
-
"declaration": {
|
|
1188
|
-
"name": "*",
|
|
1189
|
-
"package": "./colors"
|
|
1190
|
-
}
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"kind": "js",
|
|
1194
|
-
"name": "*",
|
|
1195
|
-
"declaration": {
|
|
1196
|
-
"name": "*",
|
|
1197
|
-
"package": "./colors.hex"
|
|
1198
|
-
}
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
"kind": "js",
|
|
1202
|
-
"name": "*",
|
|
1203
|
-
"declaration": {
|
|
1204
|
-
"name": "*",
|
|
1205
|
-
"package": "./colors.util"
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
]
|
|
1209
|
-
},
|
|
1210
1398
|
{
|
|
1211
1399
|
"kind": "javascript-module",
|
|
1212
1400
|
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
@@ -2361,194 +2549,6 @@
|
|
|
2361
2549
|
}
|
|
2362
2550
|
]
|
|
2363
2551
|
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "javascript-module",
|
|
2366
|
-
"path": "src/accordion/accordion.stories.ts",
|
|
2367
|
-
"declarations": [
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "variable",
|
|
2370
|
-
"name": "meta",
|
|
2371
|
-
"type": {
|
|
2372
|
-
"text": "Meta"
|
|
2373
|
-
},
|
|
2374
|
-
"default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
"kind": "variable",
|
|
2378
|
-
"name": "Primary",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "StoryObj"
|
|
2381
|
-
},
|
|
2382
|
-
"default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
|
|
2383
|
-
}
|
|
2384
|
-
],
|
|
2385
|
-
"exports": [
|
|
2386
|
-
{
|
|
2387
|
-
"kind": "js",
|
|
2388
|
-
"name": "default",
|
|
2389
|
-
"declaration": {
|
|
2390
|
-
"name": "meta",
|
|
2391
|
-
"module": "src/accordion/accordion.stories.ts"
|
|
2392
|
-
}
|
|
2393
|
-
},
|
|
2394
|
-
{
|
|
2395
|
-
"kind": "js",
|
|
2396
|
-
"name": "Primary",
|
|
2397
|
-
"declaration": {
|
|
2398
|
-
"name": "Primary",
|
|
2399
|
-
"module": "src/accordion/accordion.stories.ts"
|
|
2400
|
-
}
|
|
2401
|
-
}
|
|
2402
|
-
]
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"kind": "javascript-module",
|
|
2406
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
2407
|
-
"declarations": [
|
|
2408
|
-
{
|
|
2409
|
-
"kind": "function",
|
|
2410
|
-
"name": "zeroAccordionStyles",
|
|
2411
|
-
"return": {
|
|
2412
|
-
"type": {
|
|
2413
|
-
"text": "ElementStyles"
|
|
2414
|
-
}
|
|
2415
|
-
},
|
|
2416
|
-
"parameters": [
|
|
2417
|
-
{
|
|
2418
|
-
"name": "context",
|
|
2419
|
-
"type": {
|
|
2420
|
-
"text": "ElementDefinitionContext"
|
|
2421
|
-
}
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"name": "definition",
|
|
2425
|
-
"type": {
|
|
2426
|
-
"text": "FoundationElementDefinition"
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
]
|
|
2430
|
-
}
|
|
2431
|
-
],
|
|
2432
|
-
"exports": [
|
|
2433
|
-
{
|
|
2434
|
-
"kind": "js",
|
|
2435
|
-
"name": "zeroAccordionStyles",
|
|
2436
|
-
"declaration": {
|
|
2437
|
-
"name": "zeroAccordionStyles",
|
|
2438
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
]
|
|
2442
|
-
},
|
|
2443
|
-
{
|
|
2444
|
-
"kind": "javascript-module",
|
|
2445
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2446
|
-
"declarations": [
|
|
2447
|
-
{
|
|
2448
|
-
"kind": "function",
|
|
2449
|
-
"name": "zeroAccordionTemplate",
|
|
2450
|
-
"return": {
|
|
2451
|
-
"type": {
|
|
2452
|
-
"text": "ViewTemplate<Accordion>"
|
|
2453
|
-
}
|
|
2454
|
-
},
|
|
2455
|
-
"parameters": [
|
|
2456
|
-
{
|
|
2457
|
-
"name": "context",
|
|
2458
|
-
"type": {
|
|
2459
|
-
"text": "ElementDefinitionContext"
|
|
2460
|
-
}
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"name": "definition",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "FoundationElementDefinition"
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
]
|
|
2469
|
-
}
|
|
2470
|
-
],
|
|
2471
|
-
"exports": [
|
|
2472
|
-
{
|
|
2473
|
-
"kind": "js",
|
|
2474
|
-
"name": "zeroAccordionTemplate",
|
|
2475
|
-
"declaration": {
|
|
2476
|
-
"name": "zeroAccordionTemplate",
|
|
2477
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
|
-
]
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
"kind": "javascript-module",
|
|
2484
|
-
"path": "src/accordion/accordion.ts",
|
|
2485
|
-
"declarations": [
|
|
2486
|
-
{
|
|
2487
|
-
"kind": "class",
|
|
2488
|
-
"description": "",
|
|
2489
|
-
"name": "Accordion",
|
|
2490
|
-
"superclass": {
|
|
2491
|
-
"name": "FoundationAccordion",
|
|
2492
|
-
"package": "@genesislcap/foundation-ui"
|
|
2493
|
-
},
|
|
2494
|
-
"tagName": "%%prefix%%-card",
|
|
2495
|
-
"customElement": true
|
|
2496
|
-
},
|
|
2497
|
-
{
|
|
2498
|
-
"kind": "variable",
|
|
2499
|
-
"name": "zeroAccordion"
|
|
2500
|
-
}
|
|
2501
|
-
],
|
|
2502
|
-
"exports": [
|
|
2503
|
-
{
|
|
2504
|
-
"kind": "js",
|
|
2505
|
-
"name": "Accordion",
|
|
2506
|
-
"declaration": {
|
|
2507
|
-
"name": "Accordion",
|
|
2508
|
-
"module": "src/accordion/accordion.ts"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"kind": "js",
|
|
2513
|
-
"name": "zeroAccordion",
|
|
2514
|
-
"declaration": {
|
|
2515
|
-
"name": "zeroAccordion",
|
|
2516
|
-
"module": "src/accordion/accordion.ts"
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
"kind": "javascript-module",
|
|
2523
|
-
"path": "src/accordion/index.ts",
|
|
2524
|
-
"declarations": [],
|
|
2525
|
-
"exports": [
|
|
2526
|
-
{
|
|
2527
|
-
"kind": "js",
|
|
2528
|
-
"name": "*",
|
|
2529
|
-
"declaration": {
|
|
2530
|
-
"name": "*",
|
|
2531
|
-
"package": "./accordion"
|
|
2532
|
-
}
|
|
2533
|
-
},
|
|
2534
|
-
{
|
|
2535
|
-
"kind": "js",
|
|
2536
|
-
"name": "*",
|
|
2537
|
-
"declaration": {
|
|
2538
|
-
"name": "*",
|
|
2539
|
-
"package": "./accordion.styles"
|
|
2540
|
-
}
|
|
2541
|
-
},
|
|
2542
|
-
{
|
|
2543
|
-
"kind": "js",
|
|
2544
|
-
"name": "*",
|
|
2545
|
-
"declaration": {
|
|
2546
|
-
"name": "*",
|
|
2547
|
-
"package": "./accordion.template"
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
]
|
|
2551
|
-
},
|
|
2552
2552
|
{
|
|
2553
2553
|
"kind": "javascript-module",
|
|
2554
2554
|
"path": "src/anchored-region/anchored-region.stories.ts",
|
|
@@ -32793,362 +32793,6 @@
|
|
|
32793
32793
|
}
|
|
32794
32794
|
]
|
|
32795
32795
|
},
|
|
32796
|
-
{
|
|
32797
|
-
"kind": "javascript-module",
|
|
32798
|
-
"path": "src/toast/index.ts",
|
|
32799
|
-
"declarations": [],
|
|
32800
|
-
"exports": [
|
|
32801
|
-
{
|
|
32802
|
-
"kind": "js",
|
|
32803
|
-
"name": "*",
|
|
32804
|
-
"declaration": {
|
|
32805
|
-
"name": "*",
|
|
32806
|
-
"package": "./toast.styles"
|
|
32807
|
-
}
|
|
32808
|
-
},
|
|
32809
|
-
{
|
|
32810
|
-
"kind": "js",
|
|
32811
|
-
"name": "*",
|
|
32812
|
-
"declaration": {
|
|
32813
|
-
"name": "*",
|
|
32814
|
-
"package": "./toast"
|
|
32815
|
-
}
|
|
32816
|
-
},
|
|
32817
|
-
{
|
|
32818
|
-
"kind": "js",
|
|
32819
|
-
"name": "zeroToastTemplate",
|
|
32820
|
-
"declaration": {
|
|
32821
|
-
"name": "foundationToastTemplate",
|
|
32822
|
-
"package": "@genesislcap/foundation-ui"
|
|
32823
|
-
}
|
|
32824
|
-
}
|
|
32825
|
-
]
|
|
32826
|
-
},
|
|
32827
|
-
{
|
|
32828
|
-
"kind": "javascript-module",
|
|
32829
|
-
"path": "src/toast/toast.stories.ts",
|
|
32830
|
-
"declarations": [
|
|
32831
|
-
{
|
|
32832
|
-
"kind": "variable",
|
|
32833
|
-
"name": "meta",
|
|
32834
|
-
"type": {
|
|
32835
|
-
"text": "Meta"
|
|
32836
|
-
},
|
|
32837
|
-
"default": "{\n title: 'Toast',\n component: 'zero-toast',\n}"
|
|
32838
|
-
},
|
|
32839
|
-
{
|
|
32840
|
-
"kind": "variable",
|
|
32841
|
-
"name": "Primary",
|
|
32842
|
-
"type": {
|
|
32843
|
-
"text": "StoryObj"
|
|
32844
|
-
},
|
|
32845
|
-
"default": "{\n render: () => html`\n <div style=\"position: absolute; right: 0; top: 0; display: flex; flex-direction: column\">\n <zero-toast notify=\"warning\" auto-close=\"true\" close-timeout=\"5000\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast notify=\"success\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n <zero-button appearance=\"primary-gradient\" slot=\"bottom\">Close notification</zero-button>\n </foundation-toast>\n </div>\n `,\n}"
|
|
32846
|
-
}
|
|
32847
|
-
],
|
|
32848
|
-
"exports": [
|
|
32849
|
-
{
|
|
32850
|
-
"kind": "js",
|
|
32851
|
-
"name": "default",
|
|
32852
|
-
"declaration": {
|
|
32853
|
-
"name": "meta",
|
|
32854
|
-
"module": "src/toast/toast.stories.ts"
|
|
32855
|
-
}
|
|
32856
|
-
},
|
|
32857
|
-
{
|
|
32858
|
-
"kind": "js",
|
|
32859
|
-
"name": "Primary",
|
|
32860
|
-
"declaration": {
|
|
32861
|
-
"name": "Primary",
|
|
32862
|
-
"module": "src/toast/toast.stories.ts"
|
|
32863
|
-
}
|
|
32864
|
-
}
|
|
32865
|
-
]
|
|
32866
|
-
},
|
|
32867
|
-
{
|
|
32868
|
-
"kind": "javascript-module",
|
|
32869
|
-
"path": "src/toast/toast.styles.ts",
|
|
32870
|
-
"declarations": [
|
|
32871
|
-
{
|
|
32872
|
-
"kind": "variable",
|
|
32873
|
-
"name": "zeroToastStyles",
|
|
32874
|
-
"default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
|
|
32875
|
-
}
|
|
32876
|
-
],
|
|
32877
|
-
"exports": [
|
|
32878
|
-
{
|
|
32879
|
-
"kind": "js",
|
|
32880
|
-
"name": "zeroToastStyles",
|
|
32881
|
-
"declaration": {
|
|
32882
|
-
"name": "zeroToastStyles",
|
|
32883
|
-
"module": "src/toast/toast.styles.ts"
|
|
32884
|
-
}
|
|
32885
|
-
}
|
|
32886
|
-
]
|
|
32887
|
-
},
|
|
32888
|
-
{
|
|
32889
|
-
"kind": "javascript-module",
|
|
32890
|
-
"path": "src/toast/toast.ts",
|
|
32891
|
-
"declarations": [
|
|
32892
|
-
{
|
|
32893
|
-
"kind": "variable",
|
|
32894
|
-
"name": "defaultToastConfig",
|
|
32895
|
-
"default": "foundationConfig"
|
|
32896
|
-
},
|
|
32897
|
-
{
|
|
32898
|
-
"kind": "variable",
|
|
32899
|
-
"name": "zeroToastShadowOptions",
|
|
32900
|
-
"default": "foundationToastShadowOptions"
|
|
32901
|
-
},
|
|
32902
|
-
{
|
|
32903
|
-
"kind": "class",
|
|
32904
|
-
"description": "",
|
|
32905
|
-
"name": "Toast",
|
|
32906
|
-
"superclass": {
|
|
32907
|
-
"name": "FoundationToast",
|
|
32908
|
-
"package": "@genesislcap/foundation-ui"
|
|
32909
|
-
},
|
|
32910
|
-
"tagName": "%%prefix%%-toast",
|
|
32911
|
-
"customElement": true,
|
|
32912
|
-
"attributes": [
|
|
32913
|
-
{
|
|
32914
|
-
"name": "close-timeout",
|
|
32915
|
-
"type": {
|
|
32916
|
-
"text": "number"
|
|
32917
|
-
},
|
|
32918
|
-
"default": "10000",
|
|
32919
|
-
"fieldName": "closeTimeout",
|
|
32920
|
-
"inheritedFrom": {
|
|
32921
|
-
"name": "Toast",
|
|
32922
|
-
"module": "src/toast/toast.ts"
|
|
32923
|
-
}
|
|
32924
|
-
},
|
|
32925
|
-
{
|
|
32926
|
-
"name": "auto-close",
|
|
32927
|
-
"type": {
|
|
32928
|
-
"text": "boolean"
|
|
32929
|
-
},
|
|
32930
|
-
"default": "false",
|
|
32931
|
-
"fieldName": "autoClose",
|
|
32932
|
-
"inheritedFrom": {
|
|
32933
|
-
"name": "Toast",
|
|
32934
|
-
"module": "src/toast/toast.ts"
|
|
32935
|
-
}
|
|
32936
|
-
}
|
|
32937
|
-
],
|
|
32938
|
-
"members": [
|
|
32939
|
-
{
|
|
32940
|
-
"kind": "field",
|
|
32941
|
-
"name": "toast",
|
|
32942
|
-
"type": {
|
|
32943
|
-
"text": "HTMLElement"
|
|
32944
|
-
},
|
|
32945
|
-
"privacy": "public",
|
|
32946
|
-
"inheritedFrom": {
|
|
32947
|
-
"name": "Toast",
|
|
32948
|
-
"module": "src/toast/toast.ts"
|
|
32949
|
-
}
|
|
32950
|
-
},
|
|
32951
|
-
{
|
|
32952
|
-
"kind": "field",
|
|
32953
|
-
"name": "deleteAnimation",
|
|
32954
|
-
"type": {
|
|
32955
|
-
"text": "string"
|
|
32956
|
-
},
|
|
32957
|
-
"default": "''",
|
|
32958
|
-
"inheritedFrom": {
|
|
32959
|
-
"name": "Toast",
|
|
32960
|
-
"module": "src/toast/toast.ts"
|
|
32961
|
-
}
|
|
32962
|
-
},
|
|
32963
|
-
{
|
|
32964
|
-
"kind": "field",
|
|
32965
|
-
"name": "closeTimeout",
|
|
32966
|
-
"type": {
|
|
32967
|
-
"text": "number"
|
|
32968
|
-
},
|
|
32969
|
-
"default": "10000",
|
|
32970
|
-
"inheritedFrom": {
|
|
32971
|
-
"name": "Toast",
|
|
32972
|
-
"module": "src/toast/toast.ts"
|
|
32973
|
-
}
|
|
32974
|
-
},
|
|
32975
|
-
{
|
|
32976
|
-
"kind": "field",
|
|
32977
|
-
"name": "autoClose",
|
|
32978
|
-
"type": {
|
|
32979
|
-
"text": "boolean"
|
|
32980
|
-
},
|
|
32981
|
-
"default": "false",
|
|
32982
|
-
"inheritedFrom": {
|
|
32983
|
-
"name": "Toast",
|
|
32984
|
-
"module": "src/toast/toast.ts"
|
|
32985
|
-
}
|
|
32986
|
-
},
|
|
32987
|
-
{
|
|
32988
|
-
"kind": "method",
|
|
32989
|
-
"name": "close",
|
|
32990
|
-
"privacy": "public",
|
|
32991
|
-
"description": "Remove the toast from display.",
|
|
32992
|
-
"inheritedFrom": {
|
|
32993
|
-
"name": "Toast",
|
|
32994
|
-
"module": "src/toast/toast.ts"
|
|
32995
|
-
}
|
|
32996
|
-
},
|
|
32997
|
-
{
|
|
32998
|
-
"kind": "field",
|
|
32999
|
-
"name": "_presentation",
|
|
33000
|
-
"type": {
|
|
33001
|
-
"text": "ComponentPresentation | null | undefined"
|
|
33002
|
-
},
|
|
33003
|
-
"privacy": "private",
|
|
33004
|
-
"default": "void 0",
|
|
33005
|
-
"inheritedFrom": {
|
|
33006
|
-
"name": "FoundationElement",
|
|
33007
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33008
|
-
}
|
|
33009
|
-
},
|
|
33010
|
-
{
|
|
33011
|
-
"kind": "field",
|
|
33012
|
-
"name": "$presentation",
|
|
33013
|
-
"type": {
|
|
33014
|
-
"text": "ComponentPresentation | null"
|
|
33015
|
-
},
|
|
33016
|
-
"privacy": "public",
|
|
33017
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
33018
|
-
"inheritedFrom": {
|
|
33019
|
-
"name": "FoundationElement",
|
|
33020
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33021
|
-
}
|
|
33022
|
-
},
|
|
33023
|
-
{
|
|
33024
|
-
"kind": "field",
|
|
33025
|
-
"name": "template",
|
|
33026
|
-
"type": {
|
|
33027
|
-
"text": "ElementViewTemplate | void | null"
|
|
33028
|
-
},
|
|
33029
|
-
"privacy": "public",
|
|
33030
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
33031
|
-
"inheritedFrom": {
|
|
33032
|
-
"name": "FoundationElement",
|
|
33033
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33034
|
-
}
|
|
33035
|
-
},
|
|
33036
|
-
{
|
|
33037
|
-
"kind": "method",
|
|
33038
|
-
"name": "templateChanged",
|
|
33039
|
-
"privacy": "protected",
|
|
33040
|
-
"return": {
|
|
33041
|
-
"type": {
|
|
33042
|
-
"text": "void"
|
|
33043
|
-
}
|
|
33044
|
-
},
|
|
33045
|
-
"inheritedFrom": {
|
|
33046
|
-
"name": "FoundationElement",
|
|
33047
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33048
|
-
}
|
|
33049
|
-
},
|
|
33050
|
-
{
|
|
33051
|
-
"kind": "field",
|
|
33052
|
-
"name": "styles",
|
|
33053
|
-
"type": {
|
|
33054
|
-
"text": "ElementStyles | void | null"
|
|
33055
|
-
},
|
|
33056
|
-
"privacy": "public",
|
|
33057
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
33058
|
-
"inheritedFrom": {
|
|
33059
|
-
"name": "FoundationElement",
|
|
33060
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33061
|
-
}
|
|
33062
|
-
},
|
|
33063
|
-
{
|
|
33064
|
-
"kind": "method",
|
|
33065
|
-
"name": "stylesChanged",
|
|
33066
|
-
"privacy": "protected",
|
|
33067
|
-
"return": {
|
|
33068
|
-
"type": {
|
|
33069
|
-
"text": "void"
|
|
33070
|
-
}
|
|
33071
|
-
},
|
|
33072
|
-
"inheritedFrom": {
|
|
33073
|
-
"name": "FoundationElement",
|
|
33074
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33075
|
-
}
|
|
33076
|
-
},
|
|
33077
|
-
{
|
|
33078
|
-
"kind": "method",
|
|
33079
|
-
"name": "compose",
|
|
33080
|
-
"privacy": "public",
|
|
33081
|
-
"static": true,
|
|
33082
|
-
"return": {
|
|
33083
|
-
"type": {
|
|
33084
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
33085
|
-
}
|
|
33086
|
-
},
|
|
33087
|
-
"parameters": [
|
|
33088
|
-
{
|
|
33089
|
-
"name": "this",
|
|
33090
|
-
"type": {
|
|
33091
|
-
"text": "K"
|
|
33092
|
-
}
|
|
33093
|
-
},
|
|
33094
|
-
{
|
|
33095
|
-
"name": "elementDefinition",
|
|
33096
|
-
"type": {
|
|
33097
|
-
"text": "T"
|
|
33098
|
-
},
|
|
33099
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
33100
|
-
}
|
|
33101
|
-
],
|
|
33102
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
33103
|
-
"inheritedFrom": {
|
|
33104
|
-
"name": "FoundationElement",
|
|
33105
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
33106
|
-
}
|
|
33107
|
-
}
|
|
33108
|
-
]
|
|
33109
|
-
},
|
|
33110
|
-
{
|
|
33111
|
-
"kind": "variable",
|
|
33112
|
-
"name": "zeroToast",
|
|
33113
|
-
"description": "The Zero Toast",
|
|
33114
|
-
"privacy": "public"
|
|
33115
|
-
}
|
|
33116
|
-
],
|
|
33117
|
-
"exports": [
|
|
33118
|
-
{
|
|
33119
|
-
"kind": "js",
|
|
33120
|
-
"name": "defaultToastConfig",
|
|
33121
|
-
"declaration": {
|
|
33122
|
-
"name": "defaultToastConfig",
|
|
33123
|
-
"module": "src/toast/toast.ts"
|
|
33124
|
-
}
|
|
33125
|
-
},
|
|
33126
|
-
{
|
|
33127
|
-
"kind": "js",
|
|
33128
|
-
"name": "zeroToastShadowOptions",
|
|
33129
|
-
"declaration": {
|
|
33130
|
-
"name": "zeroToastShadowOptions",
|
|
33131
|
-
"module": "src/toast/toast.ts"
|
|
33132
|
-
}
|
|
33133
|
-
},
|
|
33134
|
-
{
|
|
33135
|
-
"kind": "js",
|
|
33136
|
-
"name": "Toast",
|
|
33137
|
-
"declaration": {
|
|
33138
|
-
"name": "Toast",
|
|
33139
|
-
"module": "src/toast/toast.ts"
|
|
33140
|
-
}
|
|
33141
|
-
},
|
|
33142
|
-
{
|
|
33143
|
-
"kind": "js",
|
|
33144
|
-
"name": "zeroToast",
|
|
33145
|
-
"declaration": {
|
|
33146
|
-
"name": "zeroToast",
|
|
33147
|
-
"module": "src/toast/toast.ts"
|
|
33148
|
-
}
|
|
33149
|
-
}
|
|
33150
|
-
]
|
|
33151
|
-
},
|
|
33152
32796
|
{
|
|
33153
32797
|
"kind": "javascript-module",
|
|
33154
32798
|
"path": "src/text-field/index.ts",
|
|
@@ -33927,6 +33571,362 @@
|
|
|
33927
33571
|
}
|
|
33928
33572
|
]
|
|
33929
33573
|
},
|
|
33574
|
+
{
|
|
33575
|
+
"kind": "javascript-module",
|
|
33576
|
+
"path": "src/toast/index.ts",
|
|
33577
|
+
"declarations": [],
|
|
33578
|
+
"exports": [
|
|
33579
|
+
{
|
|
33580
|
+
"kind": "js",
|
|
33581
|
+
"name": "*",
|
|
33582
|
+
"declaration": {
|
|
33583
|
+
"name": "*",
|
|
33584
|
+
"package": "./toast.styles"
|
|
33585
|
+
}
|
|
33586
|
+
},
|
|
33587
|
+
{
|
|
33588
|
+
"kind": "js",
|
|
33589
|
+
"name": "*",
|
|
33590
|
+
"declaration": {
|
|
33591
|
+
"name": "*",
|
|
33592
|
+
"package": "./toast"
|
|
33593
|
+
}
|
|
33594
|
+
},
|
|
33595
|
+
{
|
|
33596
|
+
"kind": "js",
|
|
33597
|
+
"name": "zeroToastTemplate",
|
|
33598
|
+
"declaration": {
|
|
33599
|
+
"name": "foundationToastTemplate",
|
|
33600
|
+
"package": "@genesislcap/foundation-ui"
|
|
33601
|
+
}
|
|
33602
|
+
}
|
|
33603
|
+
]
|
|
33604
|
+
},
|
|
33605
|
+
{
|
|
33606
|
+
"kind": "javascript-module",
|
|
33607
|
+
"path": "src/toast/toast.stories.ts",
|
|
33608
|
+
"declarations": [
|
|
33609
|
+
{
|
|
33610
|
+
"kind": "variable",
|
|
33611
|
+
"name": "meta",
|
|
33612
|
+
"type": {
|
|
33613
|
+
"text": "Meta"
|
|
33614
|
+
},
|
|
33615
|
+
"default": "{\n title: 'Toast',\n component: 'zero-toast',\n}"
|
|
33616
|
+
},
|
|
33617
|
+
{
|
|
33618
|
+
"kind": "variable",
|
|
33619
|
+
"name": "Primary",
|
|
33620
|
+
"type": {
|
|
33621
|
+
"text": "StoryObj"
|
|
33622
|
+
},
|
|
33623
|
+
"default": "{\n render: () => html`\n <div style=\"position: absolute; right: 0; top: 0; display: flex; flex-direction: column\">\n <zero-toast notify=\"warning\" auto-close=\"true\" close-timeout=\"5000\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast notify=\"success\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n <zero-button appearance=\"primary-gradient\" slot=\"bottom\">Close notification</zero-button>\n </foundation-toast>\n </div>\n `,\n}"
|
|
33624
|
+
}
|
|
33625
|
+
],
|
|
33626
|
+
"exports": [
|
|
33627
|
+
{
|
|
33628
|
+
"kind": "js",
|
|
33629
|
+
"name": "default",
|
|
33630
|
+
"declaration": {
|
|
33631
|
+
"name": "meta",
|
|
33632
|
+
"module": "src/toast/toast.stories.ts"
|
|
33633
|
+
}
|
|
33634
|
+
},
|
|
33635
|
+
{
|
|
33636
|
+
"kind": "js",
|
|
33637
|
+
"name": "Primary",
|
|
33638
|
+
"declaration": {
|
|
33639
|
+
"name": "Primary",
|
|
33640
|
+
"module": "src/toast/toast.stories.ts"
|
|
33641
|
+
}
|
|
33642
|
+
}
|
|
33643
|
+
]
|
|
33644
|
+
},
|
|
33645
|
+
{
|
|
33646
|
+
"kind": "javascript-module",
|
|
33647
|
+
"path": "src/toast/toast.styles.ts",
|
|
33648
|
+
"declarations": [
|
|
33649
|
+
{
|
|
33650
|
+
"kind": "variable",
|
|
33651
|
+
"name": "zeroToastStyles",
|
|
33652
|
+
"default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
|
|
33653
|
+
}
|
|
33654
|
+
],
|
|
33655
|
+
"exports": [
|
|
33656
|
+
{
|
|
33657
|
+
"kind": "js",
|
|
33658
|
+
"name": "zeroToastStyles",
|
|
33659
|
+
"declaration": {
|
|
33660
|
+
"name": "zeroToastStyles",
|
|
33661
|
+
"module": "src/toast/toast.styles.ts"
|
|
33662
|
+
}
|
|
33663
|
+
}
|
|
33664
|
+
]
|
|
33665
|
+
},
|
|
33666
|
+
{
|
|
33667
|
+
"kind": "javascript-module",
|
|
33668
|
+
"path": "src/toast/toast.ts",
|
|
33669
|
+
"declarations": [
|
|
33670
|
+
{
|
|
33671
|
+
"kind": "variable",
|
|
33672
|
+
"name": "defaultToastConfig",
|
|
33673
|
+
"default": "foundationConfig"
|
|
33674
|
+
},
|
|
33675
|
+
{
|
|
33676
|
+
"kind": "variable",
|
|
33677
|
+
"name": "zeroToastShadowOptions",
|
|
33678
|
+
"default": "foundationToastShadowOptions"
|
|
33679
|
+
},
|
|
33680
|
+
{
|
|
33681
|
+
"kind": "class",
|
|
33682
|
+
"description": "",
|
|
33683
|
+
"name": "Toast",
|
|
33684
|
+
"superclass": {
|
|
33685
|
+
"name": "FoundationToast",
|
|
33686
|
+
"package": "@genesislcap/foundation-ui"
|
|
33687
|
+
},
|
|
33688
|
+
"tagName": "%%prefix%%-toast",
|
|
33689
|
+
"customElement": true,
|
|
33690
|
+
"attributes": [
|
|
33691
|
+
{
|
|
33692
|
+
"name": "close-timeout",
|
|
33693
|
+
"type": {
|
|
33694
|
+
"text": "number"
|
|
33695
|
+
},
|
|
33696
|
+
"default": "10000",
|
|
33697
|
+
"fieldName": "closeTimeout",
|
|
33698
|
+
"inheritedFrom": {
|
|
33699
|
+
"name": "Toast",
|
|
33700
|
+
"module": "src/toast/toast.ts"
|
|
33701
|
+
}
|
|
33702
|
+
},
|
|
33703
|
+
{
|
|
33704
|
+
"name": "auto-close",
|
|
33705
|
+
"type": {
|
|
33706
|
+
"text": "boolean"
|
|
33707
|
+
},
|
|
33708
|
+
"default": "false",
|
|
33709
|
+
"fieldName": "autoClose",
|
|
33710
|
+
"inheritedFrom": {
|
|
33711
|
+
"name": "Toast",
|
|
33712
|
+
"module": "src/toast/toast.ts"
|
|
33713
|
+
}
|
|
33714
|
+
}
|
|
33715
|
+
],
|
|
33716
|
+
"members": [
|
|
33717
|
+
{
|
|
33718
|
+
"kind": "field",
|
|
33719
|
+
"name": "toast",
|
|
33720
|
+
"type": {
|
|
33721
|
+
"text": "HTMLElement"
|
|
33722
|
+
},
|
|
33723
|
+
"privacy": "public",
|
|
33724
|
+
"inheritedFrom": {
|
|
33725
|
+
"name": "Toast",
|
|
33726
|
+
"module": "src/toast/toast.ts"
|
|
33727
|
+
}
|
|
33728
|
+
},
|
|
33729
|
+
{
|
|
33730
|
+
"kind": "field",
|
|
33731
|
+
"name": "deleteAnimation",
|
|
33732
|
+
"type": {
|
|
33733
|
+
"text": "string"
|
|
33734
|
+
},
|
|
33735
|
+
"default": "''",
|
|
33736
|
+
"inheritedFrom": {
|
|
33737
|
+
"name": "Toast",
|
|
33738
|
+
"module": "src/toast/toast.ts"
|
|
33739
|
+
}
|
|
33740
|
+
},
|
|
33741
|
+
{
|
|
33742
|
+
"kind": "field",
|
|
33743
|
+
"name": "closeTimeout",
|
|
33744
|
+
"type": {
|
|
33745
|
+
"text": "number"
|
|
33746
|
+
},
|
|
33747
|
+
"default": "10000",
|
|
33748
|
+
"inheritedFrom": {
|
|
33749
|
+
"name": "Toast",
|
|
33750
|
+
"module": "src/toast/toast.ts"
|
|
33751
|
+
}
|
|
33752
|
+
},
|
|
33753
|
+
{
|
|
33754
|
+
"kind": "field",
|
|
33755
|
+
"name": "autoClose",
|
|
33756
|
+
"type": {
|
|
33757
|
+
"text": "boolean"
|
|
33758
|
+
},
|
|
33759
|
+
"default": "false",
|
|
33760
|
+
"inheritedFrom": {
|
|
33761
|
+
"name": "Toast",
|
|
33762
|
+
"module": "src/toast/toast.ts"
|
|
33763
|
+
}
|
|
33764
|
+
},
|
|
33765
|
+
{
|
|
33766
|
+
"kind": "method",
|
|
33767
|
+
"name": "close",
|
|
33768
|
+
"privacy": "public",
|
|
33769
|
+
"description": "Remove the toast from display.",
|
|
33770
|
+
"inheritedFrom": {
|
|
33771
|
+
"name": "Toast",
|
|
33772
|
+
"module": "src/toast/toast.ts"
|
|
33773
|
+
}
|
|
33774
|
+
},
|
|
33775
|
+
{
|
|
33776
|
+
"kind": "field",
|
|
33777
|
+
"name": "_presentation",
|
|
33778
|
+
"type": {
|
|
33779
|
+
"text": "ComponentPresentation | null | undefined"
|
|
33780
|
+
},
|
|
33781
|
+
"privacy": "private",
|
|
33782
|
+
"default": "void 0",
|
|
33783
|
+
"inheritedFrom": {
|
|
33784
|
+
"name": "FoundationElement",
|
|
33785
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33786
|
+
}
|
|
33787
|
+
},
|
|
33788
|
+
{
|
|
33789
|
+
"kind": "field",
|
|
33790
|
+
"name": "$presentation",
|
|
33791
|
+
"type": {
|
|
33792
|
+
"text": "ComponentPresentation | null"
|
|
33793
|
+
},
|
|
33794
|
+
"privacy": "public",
|
|
33795
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
33796
|
+
"inheritedFrom": {
|
|
33797
|
+
"name": "FoundationElement",
|
|
33798
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33799
|
+
}
|
|
33800
|
+
},
|
|
33801
|
+
{
|
|
33802
|
+
"kind": "field",
|
|
33803
|
+
"name": "template",
|
|
33804
|
+
"type": {
|
|
33805
|
+
"text": "ElementViewTemplate | void | null"
|
|
33806
|
+
},
|
|
33807
|
+
"privacy": "public",
|
|
33808
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
33809
|
+
"inheritedFrom": {
|
|
33810
|
+
"name": "FoundationElement",
|
|
33811
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33812
|
+
}
|
|
33813
|
+
},
|
|
33814
|
+
{
|
|
33815
|
+
"kind": "method",
|
|
33816
|
+
"name": "templateChanged",
|
|
33817
|
+
"privacy": "protected",
|
|
33818
|
+
"return": {
|
|
33819
|
+
"type": {
|
|
33820
|
+
"text": "void"
|
|
33821
|
+
}
|
|
33822
|
+
},
|
|
33823
|
+
"inheritedFrom": {
|
|
33824
|
+
"name": "FoundationElement",
|
|
33825
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33826
|
+
}
|
|
33827
|
+
},
|
|
33828
|
+
{
|
|
33829
|
+
"kind": "field",
|
|
33830
|
+
"name": "styles",
|
|
33831
|
+
"type": {
|
|
33832
|
+
"text": "ElementStyles | void | null"
|
|
33833
|
+
},
|
|
33834
|
+
"privacy": "public",
|
|
33835
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
33836
|
+
"inheritedFrom": {
|
|
33837
|
+
"name": "FoundationElement",
|
|
33838
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33839
|
+
}
|
|
33840
|
+
},
|
|
33841
|
+
{
|
|
33842
|
+
"kind": "method",
|
|
33843
|
+
"name": "stylesChanged",
|
|
33844
|
+
"privacy": "protected",
|
|
33845
|
+
"return": {
|
|
33846
|
+
"type": {
|
|
33847
|
+
"text": "void"
|
|
33848
|
+
}
|
|
33849
|
+
},
|
|
33850
|
+
"inheritedFrom": {
|
|
33851
|
+
"name": "FoundationElement",
|
|
33852
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33853
|
+
}
|
|
33854
|
+
},
|
|
33855
|
+
{
|
|
33856
|
+
"kind": "method",
|
|
33857
|
+
"name": "compose",
|
|
33858
|
+
"privacy": "public",
|
|
33859
|
+
"static": true,
|
|
33860
|
+
"return": {
|
|
33861
|
+
"type": {
|
|
33862
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
33863
|
+
}
|
|
33864
|
+
},
|
|
33865
|
+
"parameters": [
|
|
33866
|
+
{
|
|
33867
|
+
"name": "this",
|
|
33868
|
+
"type": {
|
|
33869
|
+
"text": "K"
|
|
33870
|
+
}
|
|
33871
|
+
},
|
|
33872
|
+
{
|
|
33873
|
+
"name": "elementDefinition",
|
|
33874
|
+
"type": {
|
|
33875
|
+
"text": "T"
|
|
33876
|
+
},
|
|
33877
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
33878
|
+
}
|
|
33879
|
+
],
|
|
33880
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
33881
|
+
"inheritedFrom": {
|
|
33882
|
+
"name": "FoundationElement",
|
|
33883
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33884
|
+
}
|
|
33885
|
+
}
|
|
33886
|
+
]
|
|
33887
|
+
},
|
|
33888
|
+
{
|
|
33889
|
+
"kind": "variable",
|
|
33890
|
+
"name": "zeroToast",
|
|
33891
|
+
"description": "The Zero Toast",
|
|
33892
|
+
"privacy": "public"
|
|
33893
|
+
}
|
|
33894
|
+
],
|
|
33895
|
+
"exports": [
|
|
33896
|
+
{
|
|
33897
|
+
"kind": "js",
|
|
33898
|
+
"name": "defaultToastConfig",
|
|
33899
|
+
"declaration": {
|
|
33900
|
+
"name": "defaultToastConfig",
|
|
33901
|
+
"module": "src/toast/toast.ts"
|
|
33902
|
+
}
|
|
33903
|
+
},
|
|
33904
|
+
{
|
|
33905
|
+
"kind": "js",
|
|
33906
|
+
"name": "zeroToastShadowOptions",
|
|
33907
|
+
"declaration": {
|
|
33908
|
+
"name": "zeroToastShadowOptions",
|
|
33909
|
+
"module": "src/toast/toast.ts"
|
|
33910
|
+
}
|
|
33911
|
+
},
|
|
33912
|
+
{
|
|
33913
|
+
"kind": "js",
|
|
33914
|
+
"name": "Toast",
|
|
33915
|
+
"declaration": {
|
|
33916
|
+
"name": "Toast",
|
|
33917
|
+
"module": "src/toast/toast.ts"
|
|
33918
|
+
}
|
|
33919
|
+
},
|
|
33920
|
+
{
|
|
33921
|
+
"kind": "js",
|
|
33922
|
+
"name": "zeroToast",
|
|
33923
|
+
"declaration": {
|
|
33924
|
+
"name": "zeroToast",
|
|
33925
|
+
"module": "src/toast/toast.ts"
|
|
33926
|
+
}
|
|
33927
|
+
}
|
|
33928
|
+
]
|
|
33929
|
+
},
|
|
33930
33930
|
{
|
|
33931
33931
|
"kind": "javascript-module",
|
|
33932
33932
|
"path": "src/toolbar/index.ts",
|