@xyd-js/sources 0.0.0-build

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/ISSUES.md +10 -0
  3. package/LICENSE +21 -0
  4. package/README.md +3 -0
  5. package/TODO.md +9 -0
  6. package/__fixtures__/-1.typescript/package.json +5 -0
  7. package/__fixtures__/-1.typescript/src/index.ts +0 -0
  8. package/__fixtures__/-1.typescript/src/settings.ts +592 -0
  9. package/__fixtures__/-1.typescript/tsconfig.json +8 -0
  10. package/__fixtures__/-2.react.basic/1.flat-interface.output.json +114 -0
  11. package/__fixtures__/-2.react.basic/2.file-connect-interface.output.json +60 -0
  12. package/__fixtures__/-2.react.basic/2a.file-connect-interface-advanced.output.json +92 -0
  13. package/__fixtures__/-2.react.basic/3.props-as-variants.output.json +166 -0
  14. package/__fixtures__/-2.react.basic/4.outside-interface.output.json +60 -0
  15. package/__fixtures__/-2.react.basic/5.inline-props.output.json +60 -0
  16. package/__fixtures__/-2.react.basic/5.outside-inline-props.output.json +60 -0
  17. package/__fixtures__/-2.react.basic/5a.inline-props+outside.output.json +60 -0
  18. package/__fixtures__/-2.react.basic/5b.inline-props+interfaces.output.json +92 -0
  19. package/__fixtures__/-2.react.basic/package.json +4 -0
  20. package/__fixtures__/-2.react.basic/src/1.flat-interface.tsx +41 -0
  21. package/__fixtures__/-2.react.basic/src/2.file-connect-interface.tsx +28 -0
  22. package/__fixtures__/-2.react.basic/src/2a.file-connect-interace+advanced.tsx +54 -0
  23. package/__fixtures__/-2.react.basic/src/3.props-as-variants.tsx +67 -0
  24. package/__fixtures__/-2.react.basic/src/4.outside-interface.tsx +13 -0
  25. package/__fixtures__/-2.react.basic/src/4.outside-interface2.ts +15 -0
  26. package/__fixtures__/-2.react.basic/src/5.inline-props.tsx +19 -0
  27. package/__fixtures__/-2.react.basic/src/5a.inline-props+outside.tsx +19 -0
  28. package/__fixtures__/-2.react.basic/src/5b.inline-props+interfaces.tsx +62 -0
  29. package/__fixtures__/-2.react.basic/src/index.ts +0 -0
  30. package/__fixtures__/-2.react.basic/tsconfig.json +8 -0
  31. package/__tests__/sourcesToUniform.test.ts +167 -0
  32. package/__tests__/testResolvePropertySymbol.ts +838 -0
  33. package/__tests__/types.ts +12 -0
  34. package/__tests__/utils.ts +108 -0
  35. package/dist/index.cjs +2 -0
  36. package/dist/index.cjs.map +1 -0
  37. package/dist/index.d.cts +2 -0
  38. package/dist/index.d.ts +2 -0
  39. package/dist/index.js +1 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/react.cjs +237 -0
  42. package/dist/react.cjs.map +1 -0
  43. package/dist/react.d.cts +6 -0
  44. package/dist/react.d.ts +6 -0
  45. package/dist/react.js +212 -0
  46. package/dist/react.js.map +1 -0
  47. package/dist/ts.cjs +1794 -0
  48. package/dist/ts.cjs.map +1 -0
  49. package/dist/ts.d.cts +14 -0
  50. package/dist/ts.d.ts +14 -0
  51. package/dist/ts.js +1760 -0
  52. package/dist/ts.js.map +1 -0
  53. package/package.json +41 -0
  54. package/packages/react/index.ts +1 -0
  55. package/packages/react/uniformToReactUniform.ts +275 -0
  56. package/packages/ts/SignatureText.ts +233 -0
  57. package/packages/ts/TypeDocTransformer.ts +1519 -0
  58. package/packages/ts/__fixtures__/packages/package-a/package.json +4 -0
  59. package/packages/ts/__fixtures__/packages/package-a/src/index.ts +56 -0
  60. package/packages/ts/__fixtures__/packages/package-a/tsconfig.json +23 -0
  61. package/packages/ts/__fixtures__/packages/package-b/package.json +7 -0
  62. package/packages/ts/__fixtures__/packages/package-b/src/billing.ts +193 -0
  63. package/packages/ts/__fixtures__/packages/package-b/src/index.ts +8 -0
  64. package/packages/ts/__fixtures__/packages/package-b/tsconfig.json +20 -0
  65. package/packages/ts/__fixtures__/packages2/package-a/package.json +4 -0
  66. package/packages/ts/__fixtures__/packages2/package-a/src/index.ts +496 -0
  67. package/packages/ts/__fixtures__/packages2/package-a/tsconfig.json +6 -0
  68. package/packages/ts/__fixtures__/packages3/package-a/package.json +4 -0
  69. package/packages/ts/__fixtures__/packages3/package-a/src/index.ts +488 -0
  70. package/packages/ts/__fixtures__/packages3/package-a/tsconfig.json +6 -0
  71. package/packages/ts/__fixtures__/packages3/project.json +171 -0
  72. package/packages/ts/__fixtures__/react/react-a/package.json +5 -0
  73. package/packages/ts/__fixtures__/react/react-a/src/TestAbc.tsx +90 -0
  74. package/packages/ts/__fixtures__/react/react-a/src/TestBasic.tsx +27 -0
  75. package/packages/ts/__fixtures__/react/react-a/src/TestNamedParameters.tsx +27 -0
  76. package/packages/ts/__fixtures__/react/react-a/src/TestNamedParameters2.tsx +26 -0
  77. package/packages/ts/__fixtures__/react/react-a/src/TestUnion.tsx +32 -0
  78. package/packages/ts/__fixtures__/react/react-a/src/index.ts +1 -0
  79. package/packages/ts/__fixtures__/react/react-a/tsconfig.json +8 -0
  80. package/packages/ts/__fixtures__/references-output-project.json +344 -0
  81. package/packages/ts/__fixtures__/references-output-react.json +68 -0
  82. package/packages/ts/__fixtures__/references-output.json +129 -0
  83. package/packages/ts/__tests__/sourcesToUniform.test.ts +106 -0
  84. package/packages/ts/context.ts +0 -0
  85. package/packages/ts/converterts/ts-class.ts +0 -0
  86. package/packages/ts/converterts/ts-enum.ts +0 -0
  87. package/packages/ts/converterts/ts-function.ts +0 -0
  88. package/packages/ts/converterts/ts-interface.ts +0 -0
  89. package/packages/ts/converterts/ts-type.ts +0 -0
  90. package/packages/ts/index.ts +129 -0
  91. package/packages/ts/ts-core.ts +0 -0
  92. package/packages/ts/uniformToMiniUniform.ts +486 -0
  93. package/src/index.ts +0 -0
  94. package/test-cmd/index.ts +62 -0
  95. package/tsconfig.json +38 -0
  96. package/tsup.config.ts +39 -0
  97. package/vitest.config.ts +34 -0
@@ -0,0 +1,114 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "1",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "@xyd-js/sources",
11
+ "fileName": "1.flat-interface.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/1.flat-interface.tsx",
13
+ "line": 36,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "meta": [],
24
+ "category": "Component",
25
+ "group": [
26
+ "@xyd-js",
27
+ "sources",
28
+ "Component"
29
+ ]
30
+ },
31
+ "examples": {
32
+ "groups": []
33
+ },
34
+ "definitions": [
35
+ {
36
+ "title": "Props",
37
+ "properties": [
38
+ {
39
+ "name": "children",
40
+ "type": "React.ReactNode",
41
+ "description": "Content to be displayed in the card body\n",
42
+ "meta": [
43
+ {
44
+ "name": "required",
45
+ "value": "true"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "name": "href",
51
+ "type": "string",
52
+ "description": "URL the card links to\n",
53
+ "meta": [
54
+ {
55
+ "name": "required",
56
+ "value": "true"
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "name": "title",
62
+ "type": "string",
63
+ "description": "Title displayed at the top of the card\n",
64
+ "meta": [
65
+ {
66
+ "name": "required",
67
+ "value": "true"
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "name": "icon",
73
+ "type": "React.ReactNode",
74
+ "description": "Optional icon displayed to the left of the content\n",
75
+ "meta": []
76
+ },
77
+ {
78
+ "name": "kind",
79
+ "type": "\"secondary\"",
80
+ "description": "Visual style variant of the card\n",
81
+ "meta": []
82
+ },
83
+ {
84
+ "name": "size",
85
+ "type": "\"sm\" | \"md\"",
86
+ "description": "Size variant of the card\n",
87
+ "symbolDef": {
88
+ "id": []
89
+ },
90
+ "meta": []
91
+ },
92
+ {
93
+ "name": "className",
94
+ "type": "string",
95
+ "description": "Additional CSS class names to apply to the card\n",
96
+ "meta": []
97
+ },
98
+ {
99
+ "name": "as",
100
+ "type": "React.ElementType<any, keyof IntrinsicElements>",
101
+ "description": "Additional props to pass to the link element\n",
102
+ "meta": []
103
+ }
104
+ ],
105
+ "meta": [
106
+ {
107
+ "name": "type",
108
+ "value": "parameters"
109
+ }
110
+ ]
111
+ }
112
+ ]
113
+ }
114
+ ]
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "14",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "@xyd-js/sources",
11
+ "fileName": "2.file-connect-interface.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/2.file-connect-interface.tsx",
13
+ "line": 23,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "children",
39
+ "type": "React.ReactNode",
40
+ "description": "Content to be displayed in the card body\n"
41
+ },
42
+ {
43
+ "name": "kind",
44
+ "type": "\"primary\" | \"secondary\"",
45
+ "description": "Visual style variant of the card\n",
46
+ "symbolDef": {
47
+ "id": "17"
48
+ }
49
+ }
50
+ ],
51
+ "meta": [
52
+ {
53
+ "name": "type",
54
+ "value": "parameters"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ ]
@@ -0,0 +1,92 @@
1
+ [
2
+ {
3
+ "title": "Text",
4
+ "canonical": "@xyd-js/sources/components/Text",
5
+ "description": "A flexible text component that supports different sizes, styles, and weights.\n",
6
+ "context": {
7
+ "symbolId": "22",
8
+ "symbolName": "Text",
9
+ "symbolKind": 64,
10
+ "packageName": "@xyd-js/sources",
11
+ "fileName": "2a.file-connect-interace+advanced.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/2a.file-connect-interace+advanced.tsx",
13
+ "line": 47,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "size",
39
+ "type": "\"xsmall\" | \"small\" | \"medium\" | \"large\" | \"xlarge\" | \"xxlarge\"",
40
+ "description": "Font size of the text\n",
41
+ "symbolDef": {
42
+ "id": "25"
43
+ }
44
+ },
45
+ {
46
+ "name": "kind",
47
+ "type": "\"default\" | \"ghost\" | \"success\" | \"warn\" | \"error\" | \"primary\" | \"secondary\"",
48
+ "description": "Visual style/kind of the text\n",
49
+ "symbolDef": {
50
+ "id": "26"
51
+ }
52
+ },
53
+ {
54
+ "name": "weight",
55
+ "type": "\"normal\" | \"bold\" | \"extra-bold\"",
56
+ "description": "Font weight of the text\n",
57
+ "symbolDef": {
58
+ "id": "27"
59
+ }
60
+ },
61
+ {
62
+ "name": "children",
63
+ "type": "React.ReactNode",
64
+ "description": "Content to be rendered inside the text component\n"
65
+ },
66
+ {
67
+ "name": "className",
68
+ "type": "string",
69
+ "description": "Additional CSS class name\n"
70
+ },
71
+ {
72
+ "name": "id",
73
+ "type": "string",
74
+ "description": "HTML id attribute\n"
75
+ },
76
+ {
77
+ "name": "onClick",
78
+ "type": "",
79
+ "description": "Click event handler\n",
80
+ "properties": []
81
+ }
82
+ ],
83
+ "meta": [
84
+ {
85
+ "name": "type",
86
+ "value": "parameters"
87
+ }
88
+ ]
89
+ }
90
+ ]
91
+ }
92
+ ]
@@ -0,0 +1,166 @@
1
+ [
2
+ {
3
+ "title": "Details",
4
+ "canonical": "@xyd-js/sources/components/Details",
5
+ "description": "A collapsible details component that supports three variants: primary, secondary, and tertiary.\nEach variant has a different visual style and structure.\n",
6
+ "context": {
7
+ "symbolId": "39",
8
+ "symbolName": "Details",
9
+ "symbolKind": 64,
10
+ "packageName": "@xyd-js/sources",
11
+ "fileName": "3.props-as-variants.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/3.props-as-variants.tsx",
13
+ "line": 60,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [],
37
+ "meta": [
38
+ {
39
+ "name": "type",
40
+ "value": "parameters"
41
+ }
42
+ ],
43
+ "variants": [
44
+ {
45
+ "title": "PrimaryDetailsProps",
46
+ "properties": [
47
+ {
48
+ "name": "children",
49
+ "type": "React.ReactNode",
50
+ "description": "Content to be displayed inside the details element\n"
51
+ },
52
+ {
53
+ "name": "label",
54
+ "type": "string",
55
+ "description": "Label text displayed in the summary\n"
56
+ },
57
+ {
58
+ "name": "icon",
59
+ "type": "React.ReactElement",
60
+ "description": "Optional icon element to be displayed in the summary\n"
61
+ },
62
+ {
63
+ "name": "className",
64
+ "type": "string",
65
+ "description": "Optional CSS class name for custom styling\n"
66
+ },
67
+ {
68
+ "name": "kind",
69
+ "type": "\"primary\"",
70
+ "description": "Specifies the primary variant (default)\n"
71
+ }
72
+ ],
73
+ "meta": [
74
+ {
75
+ "name": "symbolName",
76
+ "value": "PrimaryDetailsProps"
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "title": "SecondaryDetailsProps",
82
+ "properties": [
83
+ {
84
+ "name": "children",
85
+ "type": "React.ReactNode",
86
+ "description": "Content to be displayed inside the details element\n"
87
+ },
88
+ {
89
+ "name": "label",
90
+ "type": "string",
91
+ "description": "Label text displayed in the summary\n"
92
+ },
93
+ {
94
+ "name": "icon",
95
+ "type": "React.ReactElement",
96
+ "description": "Optional icon element to be displayed in the summary\n"
97
+ },
98
+ {
99
+ "name": "className",
100
+ "type": "string",
101
+ "description": "Optional CSS class name for custom styling\n"
102
+ },
103
+ {
104
+ "name": "kind",
105
+ "type": "\"secondary\"",
106
+ "description": "Specifies the secondary variant\n"
107
+ },
108
+ {
109
+ "name": "title",
110
+ "type": "React.ReactNode",
111
+ "description": "Title text or element displayed in the summary\n"
112
+ }
113
+ ],
114
+ "meta": [
115
+ {
116
+ "name": "symbolName",
117
+ "value": "SecondaryDetailsProps"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "title": "TertiaryDetailsProps",
123
+ "properties": [
124
+ {
125
+ "name": "children",
126
+ "type": "React.ReactNode",
127
+ "description": "Content to be displayed inside the details element\n"
128
+ },
129
+ {
130
+ "name": "label",
131
+ "type": "string",
132
+ "description": "Label text displayed in the summary\n"
133
+ },
134
+ {
135
+ "name": "icon",
136
+ "type": "React.ReactElement",
137
+ "description": "Optional icon element to be displayed in the summary\n"
138
+ },
139
+ {
140
+ "name": "className",
141
+ "type": "string",
142
+ "description": "Optional CSS class name for custom styling\n"
143
+ },
144
+ {
145
+ "name": "kind",
146
+ "type": "\"tertiary\"",
147
+ "description": "Specifies the tertiary variant\n"
148
+ },
149
+ {
150
+ "name": "title",
151
+ "type": "React.ReactNode",
152
+ "description": "Title text or element displayed in the summary\n"
153
+ }
154
+ ],
155
+ "meta": [
156
+ {
157
+ "name": "symbolName",
158
+ "value": "TertiaryDetailsProps"
159
+ }
160
+ ]
161
+ }
162
+ ]
163
+ }
164
+ ]
165
+ }
166
+ ]
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "70",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "4.outside-interface",
11
+ "fileName": "4.outside-interface.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/4.outside-interface.tsx",
13
+ "line": 9,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "children",
39
+ "type": "React.ReactNode",
40
+ "description": "Content to be displayed in the card body\n"
41
+ },
42
+ {
43
+ "name": "kind",
44
+ "type": "\"primary\" | \"secondary\"",
45
+ "description": "Visual style variant of the card\n",
46
+ "symbolDef": {
47
+ "id": "74"
48
+ }
49
+ }
50
+ ],
51
+ "meta": [
52
+ {
53
+ "name": "type",
54
+ "value": "parameters"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ ]
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "80",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "5.inline-props",
11
+ "fileName": "5.inline-props.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/5.inline-props.tsx",
13
+ "line": 9,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "children",
39
+ "type": "React.ReactNode",
40
+ "description": "Content to be displayed in the card body\n"
41
+ },
42
+ {
43
+ "name": "",
44
+ "type": "\"primary\" | \"secondary\"",
45
+ "description": "",
46
+ "symbolDef": {
47
+ "id": []
48
+ }
49
+ }
50
+ ],
51
+ "meta": [
52
+ {
53
+ "name": "type",
54
+ "value": "parameters"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ ]
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "1",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "@xyd-js/sources",
11
+ "fileName": "5.inline-props.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/5.inline-props.tsx",
13
+ "line": 9,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "children",
39
+ "type": "React.ReactNode",
40
+ "description": "Content to be displayed in the card body\n"
41
+ },
42
+ {
43
+ "name": "",
44
+ "type": "\"primary\" | \"secondary\"",
45
+ "description": "",
46
+ "symbolDef": {
47
+ "id": []
48
+ }
49
+ }
50
+ ],
51
+ "meta": [
52
+ {
53
+ "name": "type",
54
+ "value": "parameters"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ ]
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "GuideCard",
4
+ "canonical": "@xyd-js/sources/components/GuideCard",
5
+ "description": "A card component that displays content with a title and optional icon.\nThe entire card is clickable and links to the specified URL.\n",
6
+ "context": {
7
+ "symbolId": "94",
8
+ "symbolName": "GuideCard",
9
+ "symbolKind": 64,
10
+ "packageName": "5a.inline-props+outside",
11
+ "fileName": "5a.inline-props+outside.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/5a.inline-props+outside.tsx",
13
+ "line": 9,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "children",
39
+ "type": "React.ReactNode",
40
+ "description": "Content to be displayed in the card body\n"
41
+ },
42
+ {
43
+ "name": "",
44
+ "type": "\"primary\" | \"secondary\"",
45
+ "description": "Kind of card style to apply.\n",
46
+ "symbolDef": {
47
+ "id": []
48
+ }
49
+ }
50
+ ],
51
+ "meta": [
52
+ {
53
+ "name": "type",
54
+ "value": "parameters"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ ]