@genesislcap/foundation-zero 14.53.1-alpha-d3bad6f.0 → 14.55.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 +549 -1
- package/dist/dts/accordion/accordion.d.ts +8 -0
- package/dist/dts/accordion/accordion.d.ts.map +1 -0
- package/dist/dts/accordion/accordion.stories.d.ts +5 -0
- package/dist/dts/accordion/accordion.stories.d.ts.map +1 -0
- package/dist/dts/accordion/accordion.styles.d.ts +4 -0
- package/dist/dts/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/dts/accordion/accordion.template.d.ts +5 -0
- package/dist/dts/accordion/accordion.template.d.ts.map +1 -0
- package/dist/dts/accordion/index.d.ts +4 -0
- package/dist/dts/accordion/index.d.ts.map +1 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +8 -0
- package/dist/dts/accordion-item/accordion-item.d.ts.map +1 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts +4 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts.map +1 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts +5 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts.map +1 -0
- package/dist/dts/accordion-item/index.d.ts +4 -0
- package/dist/dts/accordion-item/index.d.ts.map +1 -0
- package/dist/dts/base-components.d.ts +3 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/listbox/index.d.ts +4 -0
- package/dist/dts/listbox/index.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.d.ts +8 -0
- package/dist/dts/listbox/listbox.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.stories.d.ts +5 -0
- package/dist/dts/listbox/listbox.stories.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.styles.d.ts +4 -0
- package/dist/dts/listbox/listbox.styles.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.template.d.ts +5 -0
- package/dist/dts/listbox/listbox.template.d.ts.map +1 -0
- package/dist/esm/accordion/accordion.js +10 -0
- package/dist/esm/accordion/accordion.stories.js +28 -0
- package/dist/esm/accordion/accordion.styles.js +5 -0
- package/dist/esm/accordion/accordion.template.js +2 -0
- package/dist/esm/accordion/index.js +3 -0
- package/dist/esm/accordion-item/accordion-item.js +10 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +5 -0
- package/dist/esm/accordion-item/accordion-item.template.js +2 -0
- package/dist/esm/accordion-item/index.js +3 -0
- package/dist/esm/base-components.js +6 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/listbox/index.js +3 -0
- package/dist/esm/listbox/listbox.js +10 -0
- package/dist/esm/listbox/listbox.stories.js +15 -0
- package/dist/esm/listbox/listbox.styles.js +9 -0
- package/dist/esm/listbox/listbox.template.js +2 -0
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n zeroActionsMenu,\n zeroAnchor,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroIcon,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -82,6 +82,22 @@
|
|
|
82
82
|
"package": "./_config"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "js",
|
|
87
|
+
"name": "*",
|
|
88
|
+
"declaration": {
|
|
89
|
+
"name": "*",
|
|
90
|
+
"package": "./accordion"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "js",
|
|
95
|
+
"name": "*",
|
|
96
|
+
"declaration": {
|
|
97
|
+
"name": "*",
|
|
98
|
+
"package": "./accordion-item"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
85
101
|
{
|
|
86
102
|
"kind": "js",
|
|
87
103
|
"name": "*",
|
|
@@ -314,6 +330,14 @@
|
|
|
314
330
|
"package": "./icon"
|
|
315
331
|
}
|
|
316
332
|
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "js",
|
|
335
|
+
"name": "*",
|
|
336
|
+
"declaration": {
|
|
337
|
+
"name": "*",
|
|
338
|
+
"package": "./listbox"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
317
341
|
{
|
|
318
342
|
"kind": "js",
|
|
319
343
|
"name": "*",
|
|
@@ -751,6 +775,342 @@
|
|
|
751
775
|
}
|
|
752
776
|
]
|
|
753
777
|
},
|
|
778
|
+
{
|
|
779
|
+
"kind": "javascript-module",
|
|
780
|
+
"path": "src/accordion/accordion.stories.ts",
|
|
781
|
+
"declarations": [
|
|
782
|
+
{
|
|
783
|
+
"kind": "variable",
|
|
784
|
+
"name": "meta",
|
|
785
|
+
"type": {
|
|
786
|
+
"text": "Meta"
|
|
787
|
+
},
|
|
788
|
+
"default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"kind": "variable",
|
|
792
|
+
"name": "Primary",
|
|
793
|
+
"type": {
|
|
794
|
+
"text": "StoryObj"
|
|
795
|
+
},
|
|
796
|
+
"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}"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"exports": [
|
|
800
|
+
{
|
|
801
|
+
"kind": "js",
|
|
802
|
+
"name": "default",
|
|
803
|
+
"declaration": {
|
|
804
|
+
"name": "meta",
|
|
805
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "js",
|
|
810
|
+
"name": "Primary",
|
|
811
|
+
"declaration": {
|
|
812
|
+
"name": "Primary",
|
|
813
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"kind": "javascript-module",
|
|
820
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
821
|
+
"declarations": [
|
|
822
|
+
{
|
|
823
|
+
"kind": "function",
|
|
824
|
+
"name": "zeroAccordionStyles",
|
|
825
|
+
"return": {
|
|
826
|
+
"type": {
|
|
827
|
+
"text": "ElementStyles"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"parameters": [
|
|
831
|
+
{
|
|
832
|
+
"name": "context",
|
|
833
|
+
"type": {
|
|
834
|
+
"text": "ElementDefinitionContext"
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "definition",
|
|
839
|
+
"type": {
|
|
840
|
+
"text": "FoundationElementDefinition"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"exports": [
|
|
847
|
+
{
|
|
848
|
+
"kind": "js",
|
|
849
|
+
"name": "zeroAccordionStyles",
|
|
850
|
+
"declaration": {
|
|
851
|
+
"name": "zeroAccordionStyles",
|
|
852
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
]
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"kind": "javascript-module",
|
|
859
|
+
"path": "src/accordion/accordion.template.ts",
|
|
860
|
+
"declarations": [
|
|
861
|
+
{
|
|
862
|
+
"kind": "function",
|
|
863
|
+
"name": "zeroAccordionTemplate",
|
|
864
|
+
"return": {
|
|
865
|
+
"type": {
|
|
866
|
+
"text": "ViewTemplate<Accordion>"
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"parameters": [
|
|
870
|
+
{
|
|
871
|
+
"name": "context",
|
|
872
|
+
"type": {
|
|
873
|
+
"text": "ElementDefinitionContext"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"name": "definition",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "FoundationElementDefinition"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
"exports": [
|
|
886
|
+
{
|
|
887
|
+
"kind": "js",
|
|
888
|
+
"name": "zeroAccordionTemplate",
|
|
889
|
+
"declaration": {
|
|
890
|
+
"name": "zeroAccordionTemplate",
|
|
891
|
+
"module": "src/accordion/accordion.template.ts"
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"kind": "javascript-module",
|
|
898
|
+
"path": "src/accordion/accordion.ts",
|
|
899
|
+
"declarations": [
|
|
900
|
+
{
|
|
901
|
+
"kind": "class",
|
|
902
|
+
"description": "",
|
|
903
|
+
"name": "Accordion",
|
|
904
|
+
"superclass": {
|
|
905
|
+
"name": "FoundationAccordion",
|
|
906
|
+
"package": "@genesislcap/foundation-ui"
|
|
907
|
+
},
|
|
908
|
+
"tagName": "%%prefix%%-card",
|
|
909
|
+
"customElement": true
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"kind": "variable",
|
|
913
|
+
"name": "zeroAccordion"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"exports": [
|
|
917
|
+
{
|
|
918
|
+
"kind": "js",
|
|
919
|
+
"name": "Accordion",
|
|
920
|
+
"declaration": {
|
|
921
|
+
"name": "Accordion",
|
|
922
|
+
"module": "src/accordion/accordion.ts"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"kind": "js",
|
|
927
|
+
"name": "zeroAccordion",
|
|
928
|
+
"declaration": {
|
|
929
|
+
"name": "zeroAccordion",
|
|
930
|
+
"module": "src/accordion/accordion.ts"
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "javascript-module",
|
|
937
|
+
"path": "src/accordion/index.ts",
|
|
938
|
+
"declarations": [],
|
|
939
|
+
"exports": [
|
|
940
|
+
{
|
|
941
|
+
"kind": "js",
|
|
942
|
+
"name": "*",
|
|
943
|
+
"declaration": {
|
|
944
|
+
"name": "*",
|
|
945
|
+
"package": "./accordion"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"kind": "js",
|
|
950
|
+
"name": "*",
|
|
951
|
+
"declaration": {
|
|
952
|
+
"name": "*",
|
|
953
|
+
"package": "./accordion.styles"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"kind": "js",
|
|
958
|
+
"name": "*",
|
|
959
|
+
"declaration": {
|
|
960
|
+
"name": "*",
|
|
961
|
+
"package": "./accordion.template"
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"kind": "javascript-module",
|
|
968
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
969
|
+
"declarations": [
|
|
970
|
+
{
|
|
971
|
+
"kind": "function",
|
|
972
|
+
"name": "zeroAccordionItemStyles",
|
|
973
|
+
"return": {
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "ElementStyles"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"parameters": [
|
|
979
|
+
{
|
|
980
|
+
"name": "context",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "ElementDefinitionContext"
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "definition",
|
|
987
|
+
"type": {
|
|
988
|
+
"text": "FoundationElementDefinition"
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"exports": [
|
|
995
|
+
{
|
|
996
|
+
"kind": "js",
|
|
997
|
+
"name": "zeroAccordionItemStyles",
|
|
998
|
+
"declaration": {
|
|
999
|
+
"name": "zeroAccordionItemStyles",
|
|
1000
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"kind": "javascript-module",
|
|
1007
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1008
|
+
"declarations": [
|
|
1009
|
+
{
|
|
1010
|
+
"kind": "function",
|
|
1011
|
+
"name": "zeroAccordionItemTemplate",
|
|
1012
|
+
"return": {
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"parameters": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "context",
|
|
1020
|
+
"type": {
|
|
1021
|
+
"text": "ElementDefinitionContext"
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "definition",
|
|
1026
|
+
"type": {
|
|
1027
|
+
"text": "FoundationElementDefinition"
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
]
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
"exports": [
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "js",
|
|
1036
|
+
"name": "zeroAccordionItemTemplate",
|
|
1037
|
+
"declaration": {
|
|
1038
|
+
"name": "zeroAccordionItemTemplate",
|
|
1039
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"kind": "javascript-module",
|
|
1046
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1047
|
+
"declarations": [
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "class",
|
|
1050
|
+
"description": "",
|
|
1051
|
+
"name": "AccordionItem",
|
|
1052
|
+
"superclass": {
|
|
1053
|
+
"name": "FoundationAccordionItem",
|
|
1054
|
+
"package": "@genesislcap/foundation-ui"
|
|
1055
|
+
},
|
|
1056
|
+
"tagName": "%%prefix%%-card",
|
|
1057
|
+
"customElement": true
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"kind": "variable",
|
|
1061
|
+
"name": "zeroAccordionItem"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"exports": [
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "js",
|
|
1067
|
+
"name": "AccordionItem",
|
|
1068
|
+
"declaration": {
|
|
1069
|
+
"name": "AccordionItem",
|
|
1070
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "js",
|
|
1075
|
+
"name": "zeroAccordionItem",
|
|
1076
|
+
"declaration": {
|
|
1077
|
+
"name": "zeroAccordionItem",
|
|
1078
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"kind": "javascript-module",
|
|
1085
|
+
"path": "src/accordion-item/index.ts",
|
|
1086
|
+
"declarations": [],
|
|
1087
|
+
"exports": [
|
|
1088
|
+
{
|
|
1089
|
+
"kind": "js",
|
|
1090
|
+
"name": "*",
|
|
1091
|
+
"declaration": {
|
|
1092
|
+
"name": "*",
|
|
1093
|
+
"package": "./accordion-item"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "js",
|
|
1098
|
+
"name": "*",
|
|
1099
|
+
"declaration": {
|
|
1100
|
+
"name": "*",
|
|
1101
|
+
"package": "./accordion-item.styles"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "js",
|
|
1106
|
+
"name": "*",
|
|
1107
|
+
"declaration": {
|
|
1108
|
+
"name": "*",
|
|
1109
|
+
"package": "./accordion-item.template"
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
754
1114
|
{
|
|
755
1115
|
"kind": "javascript-module",
|
|
756
1116
|
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
@@ -5833,6 +6193,194 @@
|
|
|
5833
6193
|
}
|
|
5834
6194
|
]
|
|
5835
6195
|
},
|
|
6196
|
+
{
|
|
6197
|
+
"kind": "javascript-module",
|
|
6198
|
+
"path": "src/listbox/index.ts",
|
|
6199
|
+
"declarations": [],
|
|
6200
|
+
"exports": [
|
|
6201
|
+
{
|
|
6202
|
+
"kind": "js",
|
|
6203
|
+
"name": "*",
|
|
6204
|
+
"declaration": {
|
|
6205
|
+
"name": "*",
|
|
6206
|
+
"package": "./listbox.template"
|
|
6207
|
+
}
|
|
6208
|
+
},
|
|
6209
|
+
{
|
|
6210
|
+
"kind": "js",
|
|
6211
|
+
"name": "*",
|
|
6212
|
+
"declaration": {
|
|
6213
|
+
"name": "*",
|
|
6214
|
+
"package": "./listbox.styles"
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
6217
|
+
{
|
|
6218
|
+
"kind": "js",
|
|
6219
|
+
"name": "*",
|
|
6220
|
+
"declaration": {
|
|
6221
|
+
"name": "*",
|
|
6222
|
+
"package": "./listbox"
|
|
6223
|
+
}
|
|
6224
|
+
}
|
|
6225
|
+
]
|
|
6226
|
+
},
|
|
6227
|
+
{
|
|
6228
|
+
"kind": "javascript-module",
|
|
6229
|
+
"path": "src/listbox/listbox.stories.ts",
|
|
6230
|
+
"declarations": [
|
|
6231
|
+
{
|
|
6232
|
+
"kind": "variable",
|
|
6233
|
+
"name": "meta",
|
|
6234
|
+
"type": {
|
|
6235
|
+
"text": "Meta"
|
|
6236
|
+
},
|
|
6237
|
+
"default": "{\n title: 'Listbox',\n component: 'zero-listbox',\n}"
|
|
6238
|
+
},
|
|
6239
|
+
{
|
|
6240
|
+
"kind": "variable",
|
|
6241
|
+
"name": "Primary",
|
|
6242
|
+
"type": {
|
|
6243
|
+
"text": "StoryObj"
|
|
6244
|
+
},
|
|
6245
|
+
"default": "{\n render: () => html`\n <zero-listbox style=\"width: 200px;\">\n <zero-option>Option 1</zero-option>\n <zero-option>Option 2</zero-option>\n <zero-option>Option 3</zero-option>\n </zero-listbox>\n `,\n}"
|
|
6246
|
+
}
|
|
6247
|
+
],
|
|
6248
|
+
"exports": [
|
|
6249
|
+
{
|
|
6250
|
+
"kind": "js",
|
|
6251
|
+
"name": "default",
|
|
6252
|
+
"declaration": {
|
|
6253
|
+
"name": "meta",
|
|
6254
|
+
"module": "src/listbox/listbox.stories.ts"
|
|
6255
|
+
}
|
|
6256
|
+
},
|
|
6257
|
+
{
|
|
6258
|
+
"kind": "js",
|
|
6259
|
+
"name": "Primary",
|
|
6260
|
+
"declaration": {
|
|
6261
|
+
"name": "Primary",
|
|
6262
|
+
"module": "src/listbox/listbox.stories.ts"
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6265
|
+
]
|
|
6266
|
+
},
|
|
6267
|
+
{
|
|
6268
|
+
"kind": "javascript-module",
|
|
6269
|
+
"path": "src/listbox/listbox.styles.ts",
|
|
6270
|
+
"declarations": [
|
|
6271
|
+
{
|
|
6272
|
+
"kind": "function",
|
|
6273
|
+
"name": "zeroListboxStyles",
|
|
6274
|
+
"return": {
|
|
6275
|
+
"type": {
|
|
6276
|
+
"text": "ElementStyles"
|
|
6277
|
+
}
|
|
6278
|
+
},
|
|
6279
|
+
"parameters": [
|
|
6280
|
+
{
|
|
6281
|
+
"name": "context",
|
|
6282
|
+
"type": {
|
|
6283
|
+
"text": "ElementDefinitionContext"
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
{
|
|
6287
|
+
"name": "definition",
|
|
6288
|
+
"type": {
|
|
6289
|
+
"text": "FoundationElementDefinition"
|
|
6290
|
+
}
|
|
6291
|
+
}
|
|
6292
|
+
]
|
|
6293
|
+
}
|
|
6294
|
+
],
|
|
6295
|
+
"exports": [
|
|
6296
|
+
{
|
|
6297
|
+
"kind": "js",
|
|
6298
|
+
"name": "zeroListboxStyles",
|
|
6299
|
+
"declaration": {
|
|
6300
|
+
"name": "zeroListboxStyles",
|
|
6301
|
+
"module": "src/listbox/listbox.styles.ts"
|
|
6302
|
+
}
|
|
6303
|
+
}
|
|
6304
|
+
]
|
|
6305
|
+
},
|
|
6306
|
+
{
|
|
6307
|
+
"kind": "javascript-module",
|
|
6308
|
+
"path": "src/listbox/listbox.template.ts",
|
|
6309
|
+
"declarations": [
|
|
6310
|
+
{
|
|
6311
|
+
"kind": "function",
|
|
6312
|
+
"name": "zeroListboxTemplate",
|
|
6313
|
+
"return": {
|
|
6314
|
+
"type": {
|
|
6315
|
+
"text": "ViewTemplate<Listbox>"
|
|
6316
|
+
}
|
|
6317
|
+
},
|
|
6318
|
+
"parameters": [
|
|
6319
|
+
{
|
|
6320
|
+
"name": "context",
|
|
6321
|
+
"type": {
|
|
6322
|
+
"text": "ElementDefinitionContext"
|
|
6323
|
+
}
|
|
6324
|
+
},
|
|
6325
|
+
{
|
|
6326
|
+
"name": "definition",
|
|
6327
|
+
"type": {
|
|
6328
|
+
"text": "FoundationElementDefinition"
|
|
6329
|
+
}
|
|
6330
|
+
}
|
|
6331
|
+
]
|
|
6332
|
+
}
|
|
6333
|
+
],
|
|
6334
|
+
"exports": [
|
|
6335
|
+
{
|
|
6336
|
+
"kind": "js",
|
|
6337
|
+
"name": "zeroListboxTemplate",
|
|
6338
|
+
"declaration": {
|
|
6339
|
+
"name": "zeroListboxTemplate",
|
|
6340
|
+
"module": "src/listbox/listbox.template.ts"
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
]
|
|
6344
|
+
},
|
|
6345
|
+
{
|
|
6346
|
+
"kind": "javascript-module",
|
|
6347
|
+
"path": "src/listbox/listbox.ts",
|
|
6348
|
+
"declarations": [
|
|
6349
|
+
{
|
|
6350
|
+
"kind": "class",
|
|
6351
|
+
"description": "",
|
|
6352
|
+
"name": "Listbox",
|
|
6353
|
+
"superclass": {
|
|
6354
|
+
"name": "FoundationListbox",
|
|
6355
|
+
"package": "@genesislcap/foundation-ui"
|
|
6356
|
+
},
|
|
6357
|
+
"tagName": "%%prefix%%-listbox",
|
|
6358
|
+
"customElement": true
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
"kind": "variable",
|
|
6362
|
+
"name": "zeroListbox"
|
|
6363
|
+
}
|
|
6364
|
+
],
|
|
6365
|
+
"exports": [
|
|
6366
|
+
{
|
|
6367
|
+
"kind": "js",
|
|
6368
|
+
"name": "Listbox",
|
|
6369
|
+
"declaration": {
|
|
6370
|
+
"name": "Listbox",
|
|
6371
|
+
"module": "src/listbox/listbox.ts"
|
|
6372
|
+
}
|
|
6373
|
+
},
|
|
6374
|
+
{
|
|
6375
|
+
"kind": "js",
|
|
6376
|
+
"name": "zeroListbox",
|
|
6377
|
+
"declaration": {
|
|
6378
|
+
"name": "zeroListbox",
|
|
6379
|
+
"module": "src/listbox/listbox.ts"
|
|
6380
|
+
}
|
|
6381
|
+
}
|
|
6382
|
+
]
|
|
6383
|
+
},
|
|
5836
6384
|
{
|
|
5837
6385
|
"kind": "javascript-module",
|
|
5838
6386
|
"path": "src/listbox-option/index.ts",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Accordion as FoundationAccordion } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-card
|
|
4
|
+
*/
|
|
5
|
+
export declare class Accordion extends FoundationAccordion {
|
|
6
|
+
}
|
|
7
|
+
export declare const zeroAccordion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Accordion>;
|
|
8
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/accordion/accordion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,IAAI,mBAAmB,EAGjC,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,SAAU,SAAQ,mBAAmB;CAAG;AAErD,eAAO,MAAM,aAAa,yTAMxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.stories.d.ts","sourceRoot":"","sources":["../../../src/accordion/accordion.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAqBrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ElementStyles } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
export declare const zeroAccordionStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=accordion.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.styles.d.ts","sourceRoot":"","sources":["../../../src/accordion/accordion.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,mBAAmB,YACrB,wBAAwB,cACrB,2BAA2B,KACtC,aAEF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Accordion } from './accordion';
|
|
4
|
+
export declare const zeroAccordionTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Accordion>;
|
|
5
|
+
//# sourceMappingURL=accordion.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.template.d.ts","sourceRoot":"","sources":["../../../src/accordion/accordion.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,qBAAqB,YACvB,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,SAAS,CAAqD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accordion/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AccordionItem as FoundationAccordionItem } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-card
|
|
4
|
+
*/
|
|
5
|
+
export declare class AccordionItem extends FoundationAccordionItem {
|
|
6
|
+
}
|
|
7
|
+
export declare const zeroAccordionItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof AccordionItem>;
|
|
8
|
+
//# sourceMappingURL=accordion-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,uBAAuB,EAGzC,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,aAAc,SAAQ,uBAAuB;CAAG;AAE7D,eAAO,MAAM,iBAAiB,6TAM5B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ElementStyles } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
export declare const zeroAccordionItemStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=accordion-item.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.styles.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,uBAAuB,YACzB,wBAAwB,cACrB,2BAA2B,KACtC,aAEF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { AccordionItem } from './accordion-item';
|
|
4
|
+
export declare const zeroAccordionItemTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<AccordionItem>;
|
|
5
|
+
//# sourceMappingURL=accordion-item.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.template.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,yBAAyB,YAC3B,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,aAAa,CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Container } from '@microsoft/fast-foundation';
|
|
2
2
|
export declare const baseComponents: {
|
|
3
|
+
zeroAccordion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./accordion").Accordion>;
|
|
4
|
+
zeroAccordionItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./accordion-item").AccordionItem>;
|
|
3
5
|
zeroActionsMenu: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./actions-menu").ActionsMenu>;
|
|
4
6
|
zeroAnchor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./anchor").Anchor>;
|
|
5
7
|
zeroBadge: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./badge").Badge>;
|
|
@@ -159,6 +161,7 @@ export declare const baseComponents: {
|
|
|
159
161
|
template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").GridLayoutItem, any>;
|
|
160
162
|
}, typeof import("./grid-layout-item").GridLayoutItem>;
|
|
161
163
|
zeroIcon: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./icon").Icon>;
|
|
164
|
+
zeroListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./listbox").Listbox>;
|
|
162
165
|
zeroListboxOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./listbox-option").ListboxOption>;
|
|
163
166
|
zeroMenu: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./menu").Menu>;
|
|
164
167
|
zeroMenuItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").MenuItemOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").MenuItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAgE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+DJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { baseComponents, provideDesignSystem };
|
|
|
4
4
|
export declare const registerZeroDesignSystem: () => import("@microsoft/fast-foundation").DesignSystem;
|
|
5
5
|
export * from './_common';
|
|
6
6
|
export * from './_config';
|
|
7
|
+
export * from './accordion';
|
|
8
|
+
export * from './accordion-item';
|
|
7
9
|
export * from './actions-menu';
|
|
8
10
|
export * from './anchor';
|
|
9
11
|
export * from './badge';
|
|
@@ -33,6 +35,7 @@ export * from './flyout';
|
|
|
33
35
|
export * from './grid-layout';
|
|
34
36
|
export * from './grid-layout-item';
|
|
35
37
|
export * from './icon';
|
|
38
|
+
export * from './listbox';
|
|
36
39
|
export * from './listbox-option';
|
|
37
40
|
export * from './menu';
|
|
38
41
|
export * from './menu-item';
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/listbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Listbox as FoundationListbox } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-listbox
|
|
4
|
+
*/
|
|
5
|
+
export declare class Listbox extends FoundationListbox {
|
|
6
|
+
}
|
|
7
|
+
export declare const zeroListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Listbox>;
|
|
8
|
+
//# sourceMappingURL=listbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,OAAO,IAAI,iBAAiB,EAC7B,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,iBAAiB;CAAG;AAEjD,eAAO,MAAM,WAAW,uTAMtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.stories.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAQrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ElementStyles } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
export declare const zeroListboxStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=listbox.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.styles.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,iBAAiB,YACnB,wBAAwB,cACrB,2BAA2B,KACtC,aAMF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Listbox } from './listbox';
|
|
4
|
+
export declare const zeroListboxTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Listbox>;
|
|
5
|
+
//# sourceMappingURL=listbox.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.template.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,mBAAmB,YACrB,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,OAAO,CAAmD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Accordion as FoundationAccordion, defaultAccordionConfig, foundationAccordionShadowOptions, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { zeroAccordionStyles as styles } from './accordion.styles';
|
|
3
|
+
import { zeroAccordionTemplate as template } from './accordion.template';
|
|
4
|
+
/**
|
|
5
|
+
* @tagname %%prefix%%-card
|
|
6
|
+
*/
|
|
7
|
+
export class Accordion extends FoundationAccordion {
|
|
8
|
+
}
|
|
9
|
+
export const zeroAccordion = Accordion.compose(Object.assign({ baseName: 'accordion', template,
|
|
10
|
+
styles, shadowOptions: foundationAccordionShadowOptions }, defaultAccordionConfig));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Accordion',
|
|
4
|
+
component: 'zero-accordion',
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Primary = {
|
|
8
|
+
render: () => html `
|
|
9
|
+
<zero-accordion>
|
|
10
|
+
<zero-accordion-item slot="item" id="accordion-1">
|
|
11
|
+
Accordion one content
|
|
12
|
+
<div slot="heading">Accordion one</div>
|
|
13
|
+
</zero-accordion-item>
|
|
14
|
+
<zero-accordion-item slot="item" id="accordion-2">
|
|
15
|
+
Accordion two content
|
|
16
|
+
<div slot="heading">Accordion two</div>
|
|
17
|
+
</zero-accordion-item>
|
|
18
|
+
<zero-accordion-item slot="item" id="accordion-3">
|
|
19
|
+
Accordion three content
|
|
20
|
+
<div slot="heading">Accordion three</div>
|
|
21
|
+
</zero-accordion-item>
|
|
22
|
+
<zero-accordion-item slot="item" id="accordion-4">
|
|
23
|
+
Accordion four content
|
|
24
|
+
<div slot="heading">Accordion four</div>
|
|
25
|
+
</zero-accordion-item>
|
|
26
|
+
</zero-accordion>
|
|
27
|
+
`,
|
|
28
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccordionItem as FoundationAccordionItem, defaultAccordionItemConfig, foundationAccordionItemShadowOptions, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { zeroAccordionItemStyles as styles } from './accordion-item.styles';
|
|
3
|
+
import { zeroAccordionItemTemplate as template } from './accordion-item.template';
|
|
4
|
+
/**
|
|
5
|
+
* @tagname %%prefix%%-card
|
|
6
|
+
*/
|
|
7
|
+
export class AccordionItem extends FoundationAccordionItem {
|
|
8
|
+
}
|
|
9
|
+
export const zeroAccordionItem = AccordionItem.compose(Object.assign({ baseName: 'accordion-item', template,
|
|
10
|
+
styles, shadowOptions: foundationAccordionItemShadowOptions }, defaultAccordionItemConfig));
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// Genesis Foundation Zero
|
|
2
|
+
import { zeroAccordion } from './accordion';
|
|
3
|
+
import { zeroAccordionItem } from './accordion-item';
|
|
2
4
|
import { zeroActionsMenu } from './actions-menu';
|
|
3
5
|
import { zeroAnchor } from './anchor';
|
|
4
6
|
import { zeroBadge } from './badge';
|
|
@@ -29,6 +31,7 @@ import { zeroFlyout } from './flyout';
|
|
|
29
31
|
import { zeroGridLayout } from './grid-layout';
|
|
30
32
|
import { zeroGridLayoutItem } from './grid-layout-item';
|
|
31
33
|
import { zeroIcon } from './icon';
|
|
34
|
+
import { zeroListbox } from './listbox';
|
|
32
35
|
import { zeroListboxOption } from './listbox-option';
|
|
33
36
|
import { zeroMenu } from './menu';
|
|
34
37
|
import { zeroMenuItem } from './menu-item';
|
|
@@ -59,6 +62,8 @@ import { zeroTreeItem } from './tree-item';
|
|
|
59
62
|
import { zeroTreeView } from './tree-view';
|
|
60
63
|
import { zeroUrlInput } from './url-input';
|
|
61
64
|
export const baseComponents = {
|
|
65
|
+
zeroAccordion,
|
|
66
|
+
zeroAccordionItem,
|
|
62
67
|
zeroActionsMenu,
|
|
63
68
|
zeroAnchor,
|
|
64
69
|
zeroBadge,
|
|
@@ -90,6 +95,7 @@ export const baseComponents = {
|
|
|
90
95
|
zeroGridLayout,
|
|
91
96
|
zeroGridLayoutItem,
|
|
92
97
|
zeroIcon,
|
|
98
|
+
zeroListbox,
|
|
93
99
|
zeroListboxOption,
|
|
94
100
|
zeroMenu,
|
|
95
101
|
zeroMenuItem,
|
package/dist/esm/index.js
CHANGED
|
@@ -4,6 +4,8 @@ export { baseComponents, provideDesignSystem };
|
|
|
4
4
|
export const registerZeroDesignSystem = () => provideDesignSystem().register(baseComponents);
|
|
5
5
|
export * from './_common';
|
|
6
6
|
export * from './_config';
|
|
7
|
+
export * from './accordion';
|
|
8
|
+
export * from './accordion-item';
|
|
7
9
|
export * from './actions-menu';
|
|
8
10
|
export * from './anchor';
|
|
9
11
|
export * from './badge';
|
|
@@ -33,6 +35,7 @@ export * from './flyout';
|
|
|
33
35
|
export * from './grid-layout';
|
|
34
36
|
export * from './grid-layout-item';
|
|
35
37
|
export * from './icon';
|
|
38
|
+
export * from './listbox';
|
|
36
39
|
export * from './listbox-option';
|
|
37
40
|
export * from './menu';
|
|
38
41
|
export * from './menu-item';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defaultListboxConfig, foundationListboxShadowOptions, Listbox as FoundationListbox, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { zeroListboxStyles as styles } from './listbox.styles';
|
|
3
|
+
import { zeroListboxTemplate as template } from './listbox.template';
|
|
4
|
+
/**
|
|
5
|
+
* @tagname %%prefix%%-listbox
|
|
6
|
+
*/
|
|
7
|
+
export class Listbox extends FoundationListbox {
|
|
8
|
+
}
|
|
9
|
+
export const zeroListbox = Listbox.compose(Object.assign({ baseName: 'listbox', template,
|
|
10
|
+
styles, shadowOptions: foundationListboxShadowOptions }, defaultListboxConfig));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Listbox',
|
|
4
|
+
component: 'zero-listbox',
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Primary = {
|
|
8
|
+
render: () => html `
|
|
9
|
+
<zero-listbox style="width: 200px;">
|
|
10
|
+
<zero-option>Option 1</zero-option>
|
|
11
|
+
<zero-option>Option 2</zero-option>
|
|
12
|
+
<zero-option>Option 3</zero-option>
|
|
13
|
+
</zero-listbox>
|
|
14
|
+
`,
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { foundationListboxStyles } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { css } from '@microsoft/fast-element';
|
|
3
|
+
export const zeroListboxStyles = (context, definition) => css `
|
|
4
|
+
${foundationListboxStyles(context, definition)}
|
|
5
|
+
|
|
6
|
+
:host {
|
|
7
|
+
background: #1f2126;
|
|
8
|
+
}
|
|
9
|
+
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero",
|
|
3
3
|
"description": "Genesis Foundation Zero Design System",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.55.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"storybook": "storybook dev -p 6006"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@genesislcap/genx": "14.
|
|
65
|
+
"@genesislcap/genx": "14.55.0",
|
|
66
66
|
"@storybook/addon-essentials": "^7.0.0",
|
|
67
67
|
"@storybook/addon-links": "^7.0.0",
|
|
68
68
|
"@storybook/addons": "^7.0.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"storybook": "^7.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@genesislcap/foundation-comms": "14.
|
|
78
|
-
"@genesislcap/foundation-ui": "14.
|
|
79
|
-
"@genesislcap/foundation-utils": "14.
|
|
77
|
+
"@genesislcap/foundation-comms": "14.55.0",
|
|
78
|
+
"@genesislcap/foundation-ui": "14.55.0",
|
|
79
|
+
"@genesislcap/foundation-utils": "14.55.0",
|
|
80
80
|
"@microsoft/fast-colors": "^5.1.4",
|
|
81
81
|
"@microsoft/fast-components": "^2.21.3",
|
|
82
82
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
95
|
"customElements": "dist/custom-elements.json",
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "436b74d43e8680b340d9ef93b0d90b8605b7f263"
|
|
97
97
|
}
|