@axis-ds/mcp 1.1.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/LICENSE +21 -0
- package/README.md +34 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2996 -0
- package/dist/registry/data/components.json +228 -0
- package/dist/registry/data/tokens.json +269 -0
- package/package.json +50 -0
- package/src/registry/data/components.json +228 -0
- package/src/registry/data/tokens.json +269 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"name": "button",
|
|
5
|
+
"displayName": "Button",
|
|
6
|
+
"description": "다양한 스타일과 크기를 지원하는 기본 버튼 컴포넌트",
|
|
7
|
+
"category": "core",
|
|
8
|
+
"package": "@axis-ds/ui-react",
|
|
9
|
+
"dependencies": ["@radix-ui/react-slot", "class-variance-authority"],
|
|
10
|
+
"files": [
|
|
11
|
+
{ "path": "components/ui/button.tsx", "type": "component" }
|
|
12
|
+
],
|
|
13
|
+
"props": [
|
|
14
|
+
{ "name": "variant", "type": "\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"", "required": false, "default": "\"default\"", "description": "버튼 스타일 변형" },
|
|
15
|
+
{ "name": "size", "type": "\"default\" | \"sm\" | \"lg\" | \"icon\"", "required": false, "default": "\"default\"", "description": "버튼 크기" },
|
|
16
|
+
{ "name": "asChild", "type": "boolean", "required": false, "default": "false", "description": "자식 요소를 버튼으로 렌더링" }
|
|
17
|
+
],
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"title": "기본 사용",
|
|
21
|
+
"code": "<Button>Click me</Button>",
|
|
22
|
+
"description": "기본 스타일 버튼"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "변형 사용",
|
|
26
|
+
"code": "<Button variant=\"destructive\">Delete</Button>",
|
|
27
|
+
"description": "위험 작업용 버튼"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "input",
|
|
33
|
+
"displayName": "Input",
|
|
34
|
+
"description": "텍스트 입력을 위한 기본 입력 필드 컴포넌트",
|
|
35
|
+
"category": "form",
|
|
36
|
+
"package": "@axis-ds/ui-react",
|
|
37
|
+
"dependencies": [],
|
|
38
|
+
"files": [
|
|
39
|
+
{ "path": "components/ui/input.tsx", "type": "component" }
|
|
40
|
+
],
|
|
41
|
+
"props": [
|
|
42
|
+
{ "name": "type", "type": "string", "required": false, "default": "\"text\"", "description": "입력 타입" },
|
|
43
|
+
{ "name": "placeholder", "type": "string", "required": false, "description": "플레이스홀더 텍스트" },
|
|
44
|
+
{ "name": "disabled", "type": "boolean", "required": false, "default": "false", "description": "비활성화 상태" }
|
|
45
|
+
],
|
|
46
|
+
"examples": [
|
|
47
|
+
{
|
|
48
|
+
"title": "기본 사용",
|
|
49
|
+
"code": "<Input placeholder=\"Enter text...\" />",
|
|
50
|
+
"description": "기본 텍스트 입력"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "label",
|
|
56
|
+
"displayName": "Label",
|
|
57
|
+
"description": "폼 요소에 대한 접근성 레이블 컴포넌트",
|
|
58
|
+
"category": "form",
|
|
59
|
+
"package": "@axis-ds/ui-react",
|
|
60
|
+
"dependencies": ["@radix-ui/react-label"],
|
|
61
|
+
"files": [
|
|
62
|
+
{ "path": "components/ui/label.tsx", "type": "component" }
|
|
63
|
+
],
|
|
64
|
+
"props": [
|
|
65
|
+
{ "name": "htmlFor", "type": "string", "required": false, "description": "연결할 폼 요소의 id" }
|
|
66
|
+
],
|
|
67
|
+
"examples": [
|
|
68
|
+
{
|
|
69
|
+
"title": "기본 사용",
|
|
70
|
+
"code": "<Label htmlFor=\"email\">Email</Label>",
|
|
71
|
+
"description": "폼 레이블"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "card",
|
|
77
|
+
"displayName": "Card",
|
|
78
|
+
"description": "콘텐츠를 그룹화하는 카드 컨테이너 컴포넌트",
|
|
79
|
+
"category": "layout",
|
|
80
|
+
"package": "@axis-ds/ui-react",
|
|
81
|
+
"dependencies": [],
|
|
82
|
+
"files": [
|
|
83
|
+
{ "path": "components/ui/card.tsx", "type": "component" }
|
|
84
|
+
],
|
|
85
|
+
"props": [],
|
|
86
|
+
"examples": [
|
|
87
|
+
{
|
|
88
|
+
"title": "기본 사용",
|
|
89
|
+
"code": "<Card>\n <CardHeader>\n <CardTitle>Title</CardTitle>\n </CardHeader>\n <CardContent>Content</CardContent>\n</Card>",
|
|
90
|
+
"description": "기본 카드 구조"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "badge",
|
|
96
|
+
"displayName": "Badge",
|
|
97
|
+
"description": "상태나 카테고리를 표시하는 작은 레이블 컴포넌트",
|
|
98
|
+
"category": "core",
|
|
99
|
+
"package": "@axis-ds/ui-react",
|
|
100
|
+
"dependencies": ["class-variance-authority"],
|
|
101
|
+
"files": [
|
|
102
|
+
{ "path": "components/ui/badge.tsx", "type": "component" }
|
|
103
|
+
],
|
|
104
|
+
"props": [
|
|
105
|
+
{ "name": "variant", "type": "\"default\" | \"secondary\" | \"destructive\" | \"outline\"", "required": false, "default": "\"default\"", "description": "배지 스타일 변형" }
|
|
106
|
+
],
|
|
107
|
+
"examples": [
|
|
108
|
+
{
|
|
109
|
+
"title": "기본 사용",
|
|
110
|
+
"code": "<Badge>New</Badge>",
|
|
111
|
+
"description": "기본 배지"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "separator",
|
|
117
|
+
"displayName": "Separator",
|
|
118
|
+
"description": "콘텐츠를 시각적으로 구분하는 구분선 컴포넌트",
|
|
119
|
+
"category": "layout",
|
|
120
|
+
"package": "@axis-ds/ui-react",
|
|
121
|
+
"dependencies": ["@radix-ui/react-separator"],
|
|
122
|
+
"files": [
|
|
123
|
+
{ "path": "components/ui/separator.tsx", "type": "component" }
|
|
124
|
+
],
|
|
125
|
+
"props": [
|
|
126
|
+
{ "name": "orientation", "type": "\"horizontal\" | \"vertical\"", "required": false, "default": "\"horizontal\"", "description": "구분선 방향" }
|
|
127
|
+
],
|
|
128
|
+
"examples": [
|
|
129
|
+
{
|
|
130
|
+
"title": "기본 사용",
|
|
131
|
+
"code": "<Separator />",
|
|
132
|
+
"description": "가로 구분선"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "dialog",
|
|
138
|
+
"displayName": "Dialog",
|
|
139
|
+
"description": "모달 다이얼로그 컴포넌트",
|
|
140
|
+
"category": "core",
|
|
141
|
+
"package": "@axis-ds/ui-react",
|
|
142
|
+
"dependencies": ["@radix-ui/react-dialog"],
|
|
143
|
+
"files": [
|
|
144
|
+
{ "path": "components/ui/dialog.tsx", "type": "component" }
|
|
145
|
+
],
|
|
146
|
+
"props": [
|
|
147
|
+
{ "name": "open", "type": "boolean", "required": false, "description": "다이얼로그 열림 상태" },
|
|
148
|
+
{ "name": "onOpenChange", "type": "(open: boolean) => void", "required": false, "description": "열림 상태 변경 콜백" }
|
|
149
|
+
],
|
|
150
|
+
"examples": [
|
|
151
|
+
{
|
|
152
|
+
"title": "기본 사용",
|
|
153
|
+
"code": "<Dialog>\n <DialogTrigger>Open</DialogTrigger>\n <DialogContent>\n <DialogTitle>Title</DialogTitle>\n <DialogDescription>Description</DialogDescription>\n </DialogContent>\n</Dialog>",
|
|
154
|
+
"description": "기본 다이얼로그"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "select",
|
|
160
|
+
"displayName": "Select",
|
|
161
|
+
"description": "드롭다운 선택 컴포넌트",
|
|
162
|
+
"category": "form",
|
|
163
|
+
"package": "@axis-ds/ui-react",
|
|
164
|
+
"dependencies": ["@radix-ui/react-select"],
|
|
165
|
+
"files": [
|
|
166
|
+
{ "path": "components/ui/select.tsx", "type": "component" }
|
|
167
|
+
],
|
|
168
|
+
"props": [
|
|
169
|
+
{ "name": "value", "type": "string", "required": false, "description": "선택된 값" },
|
|
170
|
+
{ "name": "onValueChange", "type": "(value: string) => void", "required": false, "description": "값 변경 콜백" },
|
|
171
|
+
{ "name": "placeholder", "type": "string", "required": false, "description": "플레이스홀더 텍스트" }
|
|
172
|
+
],
|
|
173
|
+
"examples": [
|
|
174
|
+
{
|
|
175
|
+
"title": "기본 사용",
|
|
176
|
+
"code": "<Select>\n <SelectTrigger>\n <SelectValue placeholder=\"Select...\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"1\">Option 1</SelectItem>\n <SelectItem value=\"2\">Option 2</SelectItem>\n </SelectContent>\n</Select>",
|
|
177
|
+
"description": "기본 셀렉트"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "tabs",
|
|
183
|
+
"displayName": "Tabs",
|
|
184
|
+
"description": "탭 네비게이션 컴포넌트",
|
|
185
|
+
"category": "layout",
|
|
186
|
+
"package": "@axis-ds/ui-react",
|
|
187
|
+
"dependencies": ["@radix-ui/react-tabs"],
|
|
188
|
+
"files": [
|
|
189
|
+
{ "path": "components/ui/tabs.tsx", "type": "component" }
|
|
190
|
+
],
|
|
191
|
+
"props": [
|
|
192
|
+
{ "name": "value", "type": "string", "required": false, "description": "활성 탭 값" },
|
|
193
|
+
{ "name": "onValueChange", "type": "(value: string) => void", "required": false, "description": "탭 변경 콜백" },
|
|
194
|
+
{ "name": "defaultValue", "type": "string", "required": false, "description": "기본 활성 탭" }
|
|
195
|
+
],
|
|
196
|
+
"examples": [
|
|
197
|
+
{
|
|
198
|
+
"title": "기본 사용",
|
|
199
|
+
"code": "<Tabs defaultValue=\"tab1\">\n <TabsList>\n <TabsTrigger value=\"tab1\">Tab 1</TabsTrigger>\n <TabsTrigger value=\"tab2\">Tab 2</TabsTrigger>\n </TabsList>\n <TabsContent value=\"tab1\">Content 1</TabsContent>\n <TabsContent value=\"tab2\">Content 2</TabsContent>\n</Tabs>",
|
|
200
|
+
"description": "기본 탭"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "toast",
|
|
206
|
+
"displayName": "Toast",
|
|
207
|
+
"description": "알림 토스트 메시지 컴포넌트",
|
|
208
|
+
"category": "core",
|
|
209
|
+
"package": "@axis-ds/ui-react",
|
|
210
|
+
"dependencies": ["@radix-ui/react-toast"],
|
|
211
|
+
"files": [
|
|
212
|
+
{ "path": "components/ui/toast.tsx", "type": "component" },
|
|
213
|
+
{ "path": "components/ui/toaster.tsx", "type": "component" },
|
|
214
|
+
{ "path": "hooks/use-toast.ts", "type": "component" }
|
|
215
|
+
],
|
|
216
|
+
"props": [
|
|
217
|
+
{ "name": "variant", "type": "\"default\" | \"destructive\"", "required": false, "default": "\"default\"", "description": "토스트 스타일 변형" }
|
|
218
|
+
],
|
|
219
|
+
"examples": [
|
|
220
|
+
{
|
|
221
|
+
"title": "기본 사용",
|
|
222
|
+
"code": "const { toast } = useToast()\ntoast({ title: \"Success!\", description: \"Operation completed.\" })",
|
|
223
|
+
"description": "토스트 표시"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{
|
|
4
|
+
"path": "colors.background",
|
|
5
|
+
"value": "hsl(0 0% 100%)",
|
|
6
|
+
"category": "color",
|
|
7
|
+
"description": "기본 배경색",
|
|
8
|
+
"cssVariable": "--background"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"path": "colors.foreground",
|
|
12
|
+
"value": "hsl(222.2 84% 4.9%)",
|
|
13
|
+
"category": "color",
|
|
14
|
+
"description": "기본 전경색 (텍스트)",
|
|
15
|
+
"cssVariable": "--foreground"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"path": "colors.primary",
|
|
19
|
+
"value": "hsl(222.2 47.4% 11.2%)",
|
|
20
|
+
"category": "color",
|
|
21
|
+
"description": "주요 브랜드 색상",
|
|
22
|
+
"cssVariable": "--primary"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "colors.primary.foreground",
|
|
26
|
+
"value": "hsl(210 40% 98%)",
|
|
27
|
+
"category": "color",
|
|
28
|
+
"description": "주요 색상 위 텍스트",
|
|
29
|
+
"cssVariable": "--primary-foreground"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": "colors.secondary",
|
|
33
|
+
"value": "hsl(210 40% 96.1%)",
|
|
34
|
+
"category": "color",
|
|
35
|
+
"description": "보조 색상",
|
|
36
|
+
"cssVariable": "--secondary"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "colors.secondary.foreground",
|
|
40
|
+
"value": "hsl(222.2 47.4% 11.2%)",
|
|
41
|
+
"category": "color",
|
|
42
|
+
"description": "보조 색상 위 텍스트",
|
|
43
|
+
"cssVariable": "--secondary-foreground"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "colors.muted",
|
|
47
|
+
"value": "hsl(210 40% 96.1%)",
|
|
48
|
+
"category": "color",
|
|
49
|
+
"description": "음소거/비활성 배경색",
|
|
50
|
+
"cssVariable": "--muted"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"path": "colors.muted.foreground",
|
|
54
|
+
"value": "hsl(215.4 16.3% 46.9%)",
|
|
55
|
+
"category": "color",
|
|
56
|
+
"description": "음소거 텍스트 색상",
|
|
57
|
+
"cssVariable": "--muted-foreground"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "colors.accent",
|
|
61
|
+
"value": "hsl(210 40% 96.1%)",
|
|
62
|
+
"category": "color",
|
|
63
|
+
"description": "강조 배경색",
|
|
64
|
+
"cssVariable": "--accent"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "colors.accent.foreground",
|
|
68
|
+
"value": "hsl(222.2 47.4% 11.2%)",
|
|
69
|
+
"category": "color",
|
|
70
|
+
"description": "강조 텍스트 색상",
|
|
71
|
+
"cssVariable": "--accent-foreground"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"path": "colors.destructive",
|
|
75
|
+
"value": "hsl(0 84.2% 60.2%)",
|
|
76
|
+
"category": "color",
|
|
77
|
+
"description": "위험/삭제 작업 색상",
|
|
78
|
+
"cssVariable": "--destructive"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "colors.destructive.foreground",
|
|
82
|
+
"value": "hsl(210 40% 98%)",
|
|
83
|
+
"category": "color",
|
|
84
|
+
"description": "위험 색상 위 텍스트",
|
|
85
|
+
"cssVariable": "--destructive-foreground"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"path": "colors.border",
|
|
89
|
+
"value": "hsl(214.3 31.8% 91.4%)",
|
|
90
|
+
"category": "color",
|
|
91
|
+
"description": "테두리 색상",
|
|
92
|
+
"cssVariable": "--border"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"path": "colors.ring",
|
|
96
|
+
"value": "hsl(222.2 84% 4.9%)",
|
|
97
|
+
"category": "color",
|
|
98
|
+
"description": "포커스 링 색상",
|
|
99
|
+
"cssVariable": "--ring"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "typography.fontFamily.sans",
|
|
103
|
+
"value": "ui-sans-serif, system-ui, sans-serif",
|
|
104
|
+
"category": "typography",
|
|
105
|
+
"description": "기본 산세리프 폰트"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"path": "typography.fontFamily.mono",
|
|
109
|
+
"value": "ui-monospace, monospace",
|
|
110
|
+
"category": "typography",
|
|
111
|
+
"description": "모노스페이스 폰트"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "typography.fontSize.xs",
|
|
115
|
+
"value": "0.75rem",
|
|
116
|
+
"category": "typography",
|
|
117
|
+
"description": "아주 작은 텍스트 (12px)"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": "typography.fontSize.sm",
|
|
121
|
+
"value": "0.875rem",
|
|
122
|
+
"category": "typography",
|
|
123
|
+
"description": "작은 텍스트 (14px)"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "typography.fontSize.base",
|
|
127
|
+
"value": "1rem",
|
|
128
|
+
"category": "typography",
|
|
129
|
+
"description": "기본 텍스트 (16px)"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"path": "typography.fontSize.lg",
|
|
133
|
+
"value": "1.125rem",
|
|
134
|
+
"category": "typography",
|
|
135
|
+
"description": "큰 텍스트 (18px)"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"path": "typography.fontSize.xl",
|
|
139
|
+
"value": "1.25rem",
|
|
140
|
+
"category": "typography",
|
|
141
|
+
"description": "더 큰 텍스트 (20px)"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"path": "typography.fontSize.2xl",
|
|
145
|
+
"value": "1.5rem",
|
|
146
|
+
"category": "typography",
|
|
147
|
+
"description": "제목 텍스트 (24px)"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"path": "spacing.0",
|
|
151
|
+
"value": "0",
|
|
152
|
+
"category": "spacing",
|
|
153
|
+
"description": "0 간격"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "spacing.1",
|
|
157
|
+
"value": "0.25rem",
|
|
158
|
+
"category": "spacing",
|
|
159
|
+
"description": "4px 간격"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"path": "spacing.2",
|
|
163
|
+
"value": "0.5rem",
|
|
164
|
+
"category": "spacing",
|
|
165
|
+
"description": "8px 간격"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"path": "spacing.3",
|
|
169
|
+
"value": "0.75rem",
|
|
170
|
+
"category": "spacing",
|
|
171
|
+
"description": "12px 간격"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"path": "spacing.4",
|
|
175
|
+
"value": "1rem",
|
|
176
|
+
"category": "spacing",
|
|
177
|
+
"description": "16px 간격"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"path": "spacing.6",
|
|
181
|
+
"value": "1.5rem",
|
|
182
|
+
"category": "spacing",
|
|
183
|
+
"description": "24px 간격"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"path": "spacing.8",
|
|
187
|
+
"value": "2rem",
|
|
188
|
+
"category": "spacing",
|
|
189
|
+
"description": "32px 간격"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"path": "radius.none",
|
|
193
|
+
"value": "0",
|
|
194
|
+
"category": "radius",
|
|
195
|
+
"description": "모서리 없음",
|
|
196
|
+
"cssVariable": "--radius-none"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"path": "radius.sm",
|
|
200
|
+
"value": "0.125rem",
|
|
201
|
+
"category": "radius",
|
|
202
|
+
"description": "작은 모서리 (2px)",
|
|
203
|
+
"cssVariable": "--radius-sm"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"path": "radius.md",
|
|
207
|
+
"value": "0.375rem",
|
|
208
|
+
"category": "radius",
|
|
209
|
+
"description": "중간 모서리 (6px)",
|
|
210
|
+
"cssVariable": "--radius"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"path": "radius.lg",
|
|
214
|
+
"value": "0.5rem",
|
|
215
|
+
"category": "radius",
|
|
216
|
+
"description": "큰 모서리 (8px)",
|
|
217
|
+
"cssVariable": "--radius-lg"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"path": "radius.full",
|
|
221
|
+
"value": "9999px",
|
|
222
|
+
"category": "radius",
|
|
223
|
+
"description": "완전한 원형",
|
|
224
|
+
"cssVariable": "--radius-full"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"path": "shadow.sm",
|
|
228
|
+
"value": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
229
|
+
"category": "shadow",
|
|
230
|
+
"description": "작은 그림자"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"path": "shadow.md",
|
|
234
|
+
"value": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
|
|
235
|
+
"category": "shadow",
|
|
236
|
+
"description": "중간 그림자"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"path": "shadow.lg",
|
|
240
|
+
"value": "0 10px 15px -3px rgb(0 0 0 / 0.1)",
|
|
241
|
+
"category": "shadow",
|
|
242
|
+
"description": "큰 그림자"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"path": "animation.duration.fast",
|
|
246
|
+
"value": "150ms",
|
|
247
|
+
"category": "animation",
|
|
248
|
+
"description": "빠른 애니메이션"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"path": "animation.duration.normal",
|
|
252
|
+
"value": "200ms",
|
|
253
|
+
"category": "animation",
|
|
254
|
+
"description": "기본 애니메이션"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"path": "animation.duration.slow",
|
|
258
|
+
"value": "300ms",
|
|
259
|
+
"category": "animation",
|
|
260
|
+
"description": "느린 애니메이션"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"path": "animation.easing.default",
|
|
264
|
+
"value": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
265
|
+
"category": "animation",
|
|
266
|
+
"description": "기본 이징"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@axis-ds/mcp",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "AXIS Design System - MCP Server for AI-assisted component discovery",
|
|
6
|
+
"bin": {
|
|
7
|
+
"axis-mcp": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"src/registry/data"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
20
|
+
"fs-extra": "^11.2.0",
|
|
21
|
+
"node-fetch": "^3.3.0",
|
|
22
|
+
"zod": "^3.23.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/fs-extra": "^11.0.0",
|
|
26
|
+
"@types/node": "^22.0.0",
|
|
27
|
+
"tsup": "^8.0.0",
|
|
28
|
+
"typescript": "^5.7.0"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"mcp",
|
|
32
|
+
"model-context-protocol",
|
|
33
|
+
"ai",
|
|
34
|
+
"design-system",
|
|
35
|
+
"axis"
|
|
36
|
+
],
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/thoughtandaction/axis.git",
|
|
41
|
+
"directory": "packages/axis-mcp"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://axis.minu.best",
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsup src/index.ts --format esm --dts --clean && npm run copy-data",
|
|
46
|
+
"copy-data": "node -e \"const fs=require('fs');fs.cpSync('src/registry/data','dist/registry/data',{recursive:true})\"",
|
|
47
|
+
"dev": "tsup src/index.ts --format esm --watch",
|
|
48
|
+
"clean": "rm -rf dist"
|
|
49
|
+
}
|
|
50
|
+
}
|