@ncds/ui-admin-mcp 1.0.0-alpha.7 → 1.0.0-alpha.9
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/bin/definitions/instructions.md +14 -2
- package/bin/definitions/rules.json +2 -1
- package/bin/server.js +39 -18
- package/bin/tools/renderToHtml.d.ts +3 -2
- package/bin/tools/renderToHtml.js +119 -126
- package/bin/types.d.ts +9 -0
- package/bin/utils/dataLoader.d.ts +1 -10
- package/bin/utils/response.d.ts +2 -0
- package/bin/utils/response.js +7 -1
- package/data/_tokens.json +8 -8
- package/data/badge-group.json +177 -3
- package/data/badge.json +118 -2
- package/data/bread-crumb.json +22 -2
- package/data/button.json +118 -2
- package/data/combo-box.json +19 -3
- package/data/date-picker.json +2 -1
- package/data/dropdown.json +93 -4
- package/data/empty-state.json +165 -2
- package/data/featured-icon.json +1 -1
- package/data/file-input.json +158 -4
- package/data/horizontal-tab.json +216 -1
- package/data/image-file-input.json +158 -4
- package/data/input-base.json +156 -2
- package/data/notification.json +21 -3
- package/data/number-input.json +156 -2
- package/data/password-input.json +220 -2
- package/data/progress-bar.json +21 -2
- package/data/range-date-picker-with-buttons.json +159 -6
- package/data/range-date-picker.json +158 -5
- package/data/select-box.json +19 -3
- package/data/select.json +19 -3
- package/data/spinner.json +1 -2
- package/data/switch.json +24 -2
- package/data/tag.json +59 -1
- package/data/vertical-tab.json +217 -2
- package/package.json +1 -1
- package/bin/instructions.d.ts +0 -1
- package/bin/instructions.js +0 -14
- package/bin/tools/getComponentHtml.d.ts +0 -3
- package/bin/tools/getComponentHtml.js +0 -30
package/data/_tokens.json
CHANGED
|
@@ -557,42 +557,42 @@
|
|
|
557
557
|
]
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
|
-
"name": "shadow
|
|
560
|
+
"name": "shadow",
|
|
561
561
|
"category": "shadow",
|
|
562
562
|
"description": "기본 Elevation. 내부 요소는 외부 요소보다 낮은 단계를 사용.",
|
|
563
563
|
"tokens": [
|
|
564
564
|
{
|
|
565
|
-
"name": "--shadow-
|
|
565
|
+
"name": "--shadow-xs",
|
|
566
566
|
"value": "0 1px 2px 0 rgba(16, 24, 40, 0.05)",
|
|
567
567
|
"description": "내부 카드, 버튼, Input"
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
|
-
"name": "--shadow-
|
|
570
|
+
"name": "--shadow-sm",
|
|
571
571
|
"value": "0 1px 3px 0 rgba(16, 24, 40, 0.10), 0 1px 2px 0 rgba(16, 24, 40, 0.06)",
|
|
572
572
|
"description": "Block Container, PageTitle"
|
|
573
573
|
},
|
|
574
574
|
{
|
|
575
|
-
"name": "--shadow-
|
|
575
|
+
"name": "--shadow-md",
|
|
576
576
|
"value": "0 4px 8px -2px rgba(16, 24, 40, 0.10), 0 2px 4px -2px rgba(16, 24, 40, 0.06)",
|
|
577
577
|
"description": "드래그 중, 플로팅"
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
|
-
"name": "--shadow-
|
|
580
|
+
"name": "--shadow-lg",
|
|
581
581
|
"value": "0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03)",
|
|
582
582
|
"description": "Dropdown 오버레이"
|
|
583
583
|
},
|
|
584
584
|
{
|
|
585
|
-
"name": "--shadow-
|
|
585
|
+
"name": "--shadow-xl",
|
|
586
586
|
"value": "0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03)",
|
|
587
587
|
"description": ""
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
|
-
"name": "--shadow-
|
|
590
|
+
"name": "--shadow-2xl",
|
|
591
591
|
"value": "0 24px 48px -12px rgba(16, 24, 40, 0.18)",
|
|
592
592
|
"description": ""
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"name": "--shadow-
|
|
595
|
+
"name": "--shadow-3xl",
|
|
596
596
|
"value": "0 32px 64px -12px rgba(16, 24, 40, 0.14)",
|
|
597
597
|
"description": ""
|
|
598
598
|
}
|
package/data/badge-group.json
CHANGED
|
@@ -58,7 +58,65 @@
|
|
|
58
58
|
},
|
|
59
59
|
"groupIcon": {
|
|
60
60
|
"type": "object",
|
|
61
|
-
"required": false
|
|
61
|
+
"required": false,
|
|
62
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
63
|
+
"properties": {
|
|
64
|
+
"type": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"required": true,
|
|
67
|
+
"rawType": "\"icon\""
|
|
68
|
+
},
|
|
69
|
+
"icon": {
|
|
70
|
+
"type": "function",
|
|
71
|
+
"required": false
|
|
72
|
+
},
|
|
73
|
+
"color": {
|
|
74
|
+
"type": "enum",
|
|
75
|
+
"required": false,
|
|
76
|
+
"values": [
|
|
77
|
+
"black",
|
|
78
|
+
"blue500",
|
|
79
|
+
"blue600",
|
|
80
|
+
"currentColor",
|
|
81
|
+
"gray100",
|
|
82
|
+
"gray200",
|
|
83
|
+
"gray300",
|
|
84
|
+
"gray400",
|
|
85
|
+
"gray500",
|
|
86
|
+
"gray600",
|
|
87
|
+
"gray700",
|
|
88
|
+
"green500",
|
|
89
|
+
"green600",
|
|
90
|
+
"orange500",
|
|
91
|
+
"orange600",
|
|
92
|
+
"pink100",
|
|
93
|
+
"pink600",
|
|
94
|
+
"red500",
|
|
95
|
+
"red600",
|
|
96
|
+
"secondary-gray-blue-100",
|
|
97
|
+
"secondary-gray-blue-200",
|
|
98
|
+
"secondary-gray-blue-300",
|
|
99
|
+
"secondary-gray-blue-400",
|
|
100
|
+
"secondary-gray-blue-450",
|
|
101
|
+
"secondary-gray-blue-50",
|
|
102
|
+
"secondary-gray-blue-500",
|
|
103
|
+
"secondary-gray-blue-600",
|
|
104
|
+
"secondary-gray-blue-700",
|
|
105
|
+
"violet300",
|
|
106
|
+
"violet600",
|
|
107
|
+
"white",
|
|
108
|
+
"yellow600"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"size": {
|
|
112
|
+
"type": "number",
|
|
113
|
+
"required": false
|
|
114
|
+
},
|
|
115
|
+
"children": {
|
|
116
|
+
"type": "ReactNode",
|
|
117
|
+
"required": false
|
|
118
|
+
}
|
|
119
|
+
}
|
|
62
120
|
},
|
|
63
121
|
"groupLabel": {
|
|
64
122
|
"type": "string",
|
|
@@ -74,7 +132,65 @@
|
|
|
74
132
|
},
|
|
75
133
|
"leadingIcon": {
|
|
76
134
|
"type": "object",
|
|
77
|
-
"required": false
|
|
135
|
+
"required": false,
|
|
136
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
137
|
+
"properties": {
|
|
138
|
+
"type": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"required": true,
|
|
141
|
+
"rawType": "\"icon\""
|
|
142
|
+
},
|
|
143
|
+
"icon": {
|
|
144
|
+
"type": "function",
|
|
145
|
+
"required": false
|
|
146
|
+
},
|
|
147
|
+
"color": {
|
|
148
|
+
"type": "enum",
|
|
149
|
+
"required": false,
|
|
150
|
+
"values": [
|
|
151
|
+
"black",
|
|
152
|
+
"blue500",
|
|
153
|
+
"blue600",
|
|
154
|
+
"currentColor",
|
|
155
|
+
"gray100",
|
|
156
|
+
"gray200",
|
|
157
|
+
"gray300",
|
|
158
|
+
"gray400",
|
|
159
|
+
"gray500",
|
|
160
|
+
"gray600",
|
|
161
|
+
"gray700",
|
|
162
|
+
"green500",
|
|
163
|
+
"green600",
|
|
164
|
+
"orange500",
|
|
165
|
+
"orange600",
|
|
166
|
+
"pink100",
|
|
167
|
+
"pink600",
|
|
168
|
+
"red500",
|
|
169
|
+
"red600",
|
|
170
|
+
"secondary-gray-blue-100",
|
|
171
|
+
"secondary-gray-blue-200",
|
|
172
|
+
"secondary-gray-blue-300",
|
|
173
|
+
"secondary-gray-blue-400",
|
|
174
|
+
"secondary-gray-blue-450",
|
|
175
|
+
"secondary-gray-blue-50",
|
|
176
|
+
"secondary-gray-blue-500",
|
|
177
|
+
"secondary-gray-blue-600",
|
|
178
|
+
"secondary-gray-blue-700",
|
|
179
|
+
"violet300",
|
|
180
|
+
"violet600",
|
|
181
|
+
"white",
|
|
182
|
+
"yellow600"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"size": {
|
|
186
|
+
"type": "number",
|
|
187
|
+
"required": false
|
|
188
|
+
},
|
|
189
|
+
"children": {
|
|
190
|
+
"type": "ReactNode",
|
|
191
|
+
"required": false
|
|
192
|
+
}
|
|
193
|
+
}
|
|
78
194
|
},
|
|
79
195
|
"size": {
|
|
80
196
|
"type": "enum",
|
|
@@ -92,7 +208,65 @@
|
|
|
92
208
|
},
|
|
93
209
|
"trailingIcon": {
|
|
94
210
|
"type": "object",
|
|
95
|
-
"required": false
|
|
211
|
+
"required": false,
|
|
212
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
213
|
+
"properties": {
|
|
214
|
+
"type": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"required": true,
|
|
217
|
+
"rawType": "\"icon\""
|
|
218
|
+
},
|
|
219
|
+
"icon": {
|
|
220
|
+
"type": "function",
|
|
221
|
+
"required": false
|
|
222
|
+
},
|
|
223
|
+
"color": {
|
|
224
|
+
"type": "enum",
|
|
225
|
+
"required": false,
|
|
226
|
+
"values": [
|
|
227
|
+
"black",
|
|
228
|
+
"blue500",
|
|
229
|
+
"blue600",
|
|
230
|
+
"currentColor",
|
|
231
|
+
"gray100",
|
|
232
|
+
"gray200",
|
|
233
|
+
"gray300",
|
|
234
|
+
"gray400",
|
|
235
|
+
"gray500",
|
|
236
|
+
"gray600",
|
|
237
|
+
"gray700",
|
|
238
|
+
"green500",
|
|
239
|
+
"green600",
|
|
240
|
+
"orange500",
|
|
241
|
+
"orange600",
|
|
242
|
+
"pink100",
|
|
243
|
+
"pink600",
|
|
244
|
+
"red500",
|
|
245
|
+
"red600",
|
|
246
|
+
"secondary-gray-blue-100",
|
|
247
|
+
"secondary-gray-blue-200",
|
|
248
|
+
"secondary-gray-blue-300",
|
|
249
|
+
"secondary-gray-blue-400",
|
|
250
|
+
"secondary-gray-blue-450",
|
|
251
|
+
"secondary-gray-blue-50",
|
|
252
|
+
"secondary-gray-blue-500",
|
|
253
|
+
"secondary-gray-blue-600",
|
|
254
|
+
"secondary-gray-blue-700",
|
|
255
|
+
"violet300",
|
|
256
|
+
"violet600",
|
|
257
|
+
"white",
|
|
258
|
+
"yellow600"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"size": {
|
|
262
|
+
"type": "number",
|
|
263
|
+
"required": false
|
|
264
|
+
},
|
|
265
|
+
"children": {
|
|
266
|
+
"type": "ReactNode",
|
|
267
|
+
"required": false
|
|
268
|
+
}
|
|
269
|
+
}
|
|
96
270
|
}
|
|
97
271
|
},
|
|
98
272
|
"html": {},
|
package/data/badge.json
CHANGED
|
@@ -66,7 +66,65 @@
|
|
|
66
66
|
},
|
|
67
67
|
"leadingIcon": {
|
|
68
68
|
"type": "object",
|
|
69
|
-
"required": false
|
|
69
|
+
"required": false,
|
|
70
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
71
|
+
"properties": {
|
|
72
|
+
"type": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"required": true,
|
|
75
|
+
"rawType": "\"icon\""
|
|
76
|
+
},
|
|
77
|
+
"icon": {
|
|
78
|
+
"type": "function",
|
|
79
|
+
"required": false
|
|
80
|
+
},
|
|
81
|
+
"color": {
|
|
82
|
+
"type": "enum",
|
|
83
|
+
"required": false,
|
|
84
|
+
"values": [
|
|
85
|
+
"black",
|
|
86
|
+
"blue500",
|
|
87
|
+
"blue600",
|
|
88
|
+
"currentColor",
|
|
89
|
+
"gray100",
|
|
90
|
+
"gray200",
|
|
91
|
+
"gray300",
|
|
92
|
+
"gray400",
|
|
93
|
+
"gray500",
|
|
94
|
+
"gray600",
|
|
95
|
+
"gray700",
|
|
96
|
+
"green500",
|
|
97
|
+
"green600",
|
|
98
|
+
"orange500",
|
|
99
|
+
"orange600",
|
|
100
|
+
"pink100",
|
|
101
|
+
"pink600",
|
|
102
|
+
"red500",
|
|
103
|
+
"red600",
|
|
104
|
+
"secondary-gray-blue-100",
|
|
105
|
+
"secondary-gray-blue-200",
|
|
106
|
+
"secondary-gray-blue-300",
|
|
107
|
+
"secondary-gray-blue-400",
|
|
108
|
+
"secondary-gray-blue-450",
|
|
109
|
+
"secondary-gray-blue-50",
|
|
110
|
+
"secondary-gray-blue-500",
|
|
111
|
+
"secondary-gray-blue-600",
|
|
112
|
+
"secondary-gray-blue-700",
|
|
113
|
+
"violet300",
|
|
114
|
+
"violet600",
|
|
115
|
+
"white",
|
|
116
|
+
"yellow600"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"size": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"required": false
|
|
122
|
+
},
|
|
123
|
+
"children": {
|
|
124
|
+
"type": "ReactNode",
|
|
125
|
+
"required": false
|
|
126
|
+
}
|
|
127
|
+
}
|
|
70
128
|
},
|
|
71
129
|
"size": {
|
|
72
130
|
"type": "enum",
|
|
@@ -80,7 +138,65 @@
|
|
|
80
138
|
},
|
|
81
139
|
"trailingIcon": {
|
|
82
140
|
"type": "object",
|
|
83
|
-
"required": false
|
|
141
|
+
"required": false,
|
|
142
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
143
|
+
"properties": {
|
|
144
|
+
"type": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"required": true,
|
|
147
|
+
"rawType": "\"icon\""
|
|
148
|
+
},
|
|
149
|
+
"icon": {
|
|
150
|
+
"type": "function",
|
|
151
|
+
"required": false
|
|
152
|
+
},
|
|
153
|
+
"color": {
|
|
154
|
+
"type": "enum",
|
|
155
|
+
"required": false,
|
|
156
|
+
"values": [
|
|
157
|
+
"black",
|
|
158
|
+
"blue500",
|
|
159
|
+
"blue600",
|
|
160
|
+
"currentColor",
|
|
161
|
+
"gray100",
|
|
162
|
+
"gray200",
|
|
163
|
+
"gray300",
|
|
164
|
+
"gray400",
|
|
165
|
+
"gray500",
|
|
166
|
+
"gray600",
|
|
167
|
+
"gray700",
|
|
168
|
+
"green500",
|
|
169
|
+
"green600",
|
|
170
|
+
"orange500",
|
|
171
|
+
"orange600",
|
|
172
|
+
"pink100",
|
|
173
|
+
"pink600",
|
|
174
|
+
"red500",
|
|
175
|
+
"red600",
|
|
176
|
+
"secondary-gray-blue-100",
|
|
177
|
+
"secondary-gray-blue-200",
|
|
178
|
+
"secondary-gray-blue-300",
|
|
179
|
+
"secondary-gray-blue-400",
|
|
180
|
+
"secondary-gray-blue-450",
|
|
181
|
+
"secondary-gray-blue-50",
|
|
182
|
+
"secondary-gray-blue-500",
|
|
183
|
+
"secondary-gray-blue-600",
|
|
184
|
+
"secondary-gray-blue-700",
|
|
185
|
+
"violet300",
|
|
186
|
+
"violet600",
|
|
187
|
+
"white",
|
|
188
|
+
"yellow600"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"size": {
|
|
192
|
+
"type": "number",
|
|
193
|
+
"required": false
|
|
194
|
+
},
|
|
195
|
+
"children": {
|
|
196
|
+
"type": "ReactNode",
|
|
197
|
+
"required": false
|
|
198
|
+
}
|
|
199
|
+
}
|
|
84
200
|
},
|
|
85
201
|
"type": {
|
|
86
202
|
"type": "enum",
|
package/data/bread-crumb.json
CHANGED
|
@@ -33,7 +33,27 @@
|
|
|
33
33
|
"seeAlso": [
|
|
34
34
|
"icon"
|
|
35
35
|
],
|
|
36
|
-
"props": {
|
|
36
|
+
"props": {
|
|
37
|
+
"className": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"required": false
|
|
40
|
+
},
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"required": true,
|
|
44
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/components/bread-crumb/BreadCrumb\").BreadCrumbItemProps[]",
|
|
45
|
+
"properties": {
|
|
46
|
+
"href": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"required": false
|
|
49
|
+
},
|
|
50
|
+
"label": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"required": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
37
57
|
"html": {},
|
|
38
58
|
"bemClasses": [
|
|
39
59
|
"ncua-breadcrumb",
|
|
@@ -45,7 +65,7 @@
|
|
|
45
65
|
"usage": {
|
|
46
66
|
"import": "import { BreadCrumb } from '@ncds/ui-admin';",
|
|
47
67
|
"react": {
|
|
48
|
-
"default": "<BreadCrumb />"
|
|
68
|
+
"default": "<BreadCrumb items=\"\" />"
|
|
49
69
|
}
|
|
50
70
|
}
|
|
51
71
|
}
|
package/data/button.json
CHANGED
|
@@ -76,7 +76,65 @@
|
|
|
76
76
|
},
|
|
77
77
|
"leadingIcon": {
|
|
78
78
|
"type": "object",
|
|
79
|
-
"required": false
|
|
79
|
+
"required": false,
|
|
80
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
81
|
+
"properties": {
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"required": true,
|
|
85
|
+
"rawType": "\"icon\""
|
|
86
|
+
},
|
|
87
|
+
"icon": {
|
|
88
|
+
"type": "function",
|
|
89
|
+
"required": false
|
|
90
|
+
},
|
|
91
|
+
"color": {
|
|
92
|
+
"type": "enum",
|
|
93
|
+
"required": false,
|
|
94
|
+
"values": [
|
|
95
|
+
"black",
|
|
96
|
+
"blue500",
|
|
97
|
+
"blue600",
|
|
98
|
+
"currentColor",
|
|
99
|
+
"gray100",
|
|
100
|
+
"gray200",
|
|
101
|
+
"gray300",
|
|
102
|
+
"gray400",
|
|
103
|
+
"gray500",
|
|
104
|
+
"gray600",
|
|
105
|
+
"gray700",
|
|
106
|
+
"green500",
|
|
107
|
+
"green600",
|
|
108
|
+
"orange500",
|
|
109
|
+
"orange600",
|
|
110
|
+
"pink100",
|
|
111
|
+
"pink600",
|
|
112
|
+
"red500",
|
|
113
|
+
"red600",
|
|
114
|
+
"secondary-gray-blue-100",
|
|
115
|
+
"secondary-gray-blue-200",
|
|
116
|
+
"secondary-gray-blue-300",
|
|
117
|
+
"secondary-gray-blue-400",
|
|
118
|
+
"secondary-gray-blue-450",
|
|
119
|
+
"secondary-gray-blue-50",
|
|
120
|
+
"secondary-gray-blue-500",
|
|
121
|
+
"secondary-gray-blue-600",
|
|
122
|
+
"secondary-gray-blue-700",
|
|
123
|
+
"violet300",
|
|
124
|
+
"violet600",
|
|
125
|
+
"white",
|
|
126
|
+
"yellow600"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"size": {
|
|
130
|
+
"type": "number",
|
|
131
|
+
"required": false
|
|
132
|
+
},
|
|
133
|
+
"children": {
|
|
134
|
+
"type": "ReactNode",
|
|
135
|
+
"required": false
|
|
136
|
+
}
|
|
137
|
+
}
|
|
80
138
|
},
|
|
81
139
|
"onlyIcon": {
|
|
82
140
|
"type": "boolean",
|
|
@@ -94,7 +152,65 @@
|
|
|
94
152
|
},
|
|
95
153
|
"trailingIcon": {
|
|
96
154
|
"type": "object",
|
|
97
|
-
"required": false
|
|
155
|
+
"required": false,
|
|
156
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
157
|
+
"properties": {
|
|
158
|
+
"type": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"required": true,
|
|
161
|
+
"rawType": "\"icon\""
|
|
162
|
+
},
|
|
163
|
+
"icon": {
|
|
164
|
+
"type": "function",
|
|
165
|
+
"required": false
|
|
166
|
+
},
|
|
167
|
+
"color": {
|
|
168
|
+
"type": "enum",
|
|
169
|
+
"required": false,
|
|
170
|
+
"values": [
|
|
171
|
+
"black",
|
|
172
|
+
"blue500",
|
|
173
|
+
"blue600",
|
|
174
|
+
"currentColor",
|
|
175
|
+
"gray100",
|
|
176
|
+
"gray200",
|
|
177
|
+
"gray300",
|
|
178
|
+
"gray400",
|
|
179
|
+
"gray500",
|
|
180
|
+
"gray600",
|
|
181
|
+
"gray700",
|
|
182
|
+
"green500",
|
|
183
|
+
"green600",
|
|
184
|
+
"orange500",
|
|
185
|
+
"orange600",
|
|
186
|
+
"pink100",
|
|
187
|
+
"pink600",
|
|
188
|
+
"red500",
|
|
189
|
+
"red600",
|
|
190
|
+
"secondary-gray-blue-100",
|
|
191
|
+
"secondary-gray-blue-200",
|
|
192
|
+
"secondary-gray-blue-300",
|
|
193
|
+
"secondary-gray-blue-400",
|
|
194
|
+
"secondary-gray-blue-450",
|
|
195
|
+
"secondary-gray-blue-50",
|
|
196
|
+
"secondary-gray-blue-500",
|
|
197
|
+
"secondary-gray-blue-600",
|
|
198
|
+
"secondary-gray-blue-700",
|
|
199
|
+
"violet300",
|
|
200
|
+
"violet600",
|
|
201
|
+
"white",
|
|
202
|
+
"yellow600"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"size": {
|
|
206
|
+
"type": "number",
|
|
207
|
+
"required": false
|
|
208
|
+
},
|
|
209
|
+
"children": {
|
|
210
|
+
"type": "ReactNode",
|
|
211
|
+
"required": false
|
|
212
|
+
}
|
|
213
|
+
}
|
|
98
214
|
},
|
|
99
215
|
"underline": {
|
|
100
216
|
"type": "boolean",
|
package/data/combo-box.json
CHANGED
|
@@ -90,9 +90,24 @@
|
|
|
90
90
|
"required": false
|
|
91
91
|
},
|
|
92
92
|
"optionItems": {
|
|
93
|
-
"type": "
|
|
93
|
+
"type": "object",
|
|
94
94
|
"required": false,
|
|
95
95
|
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/dropdown/option\").OptionType[] | undefined",
|
|
96
|
+
"properties": {
|
|
97
|
+
"id": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"required": true,
|
|
100
|
+
"rawType": "string | number"
|
|
101
|
+
},
|
|
102
|
+
"label": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"required": true
|
|
105
|
+
},
|
|
106
|
+
"icon": {
|
|
107
|
+
"type": "function",
|
|
108
|
+
"required": false
|
|
109
|
+
}
|
|
110
|
+
},
|
|
96
111
|
"default": "[]"
|
|
97
112
|
},
|
|
98
113
|
"placeholder": {
|
|
@@ -102,7 +117,8 @@
|
|
|
102
117
|
},
|
|
103
118
|
"register": {
|
|
104
119
|
"type": "object",
|
|
105
|
-
"required": false
|
|
120
|
+
"required": false,
|
|
121
|
+
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/node_modules/react-hook-form/dist/types/form\").UseFormRegisterReturn | undefined"
|
|
106
122
|
},
|
|
107
123
|
"required": {
|
|
108
124
|
"type": "boolean",
|
|
@@ -129,7 +145,7 @@
|
|
|
129
145
|
"default": "xs"
|
|
130
146
|
},
|
|
131
147
|
"value": {
|
|
132
|
-
"type": "
|
|
148
|
+
"type": "object",
|
|
133
149
|
"required": false,
|
|
134
150
|
"rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/types/dropdown/option\").OptionValue | undefined"
|
|
135
151
|
}
|
package/data/date-picker.json
CHANGED
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
},
|
|
49
49
|
"datePickerOptions": {
|
|
50
50
|
"type": "object",
|
|
51
|
-
"required": false
|
|
51
|
+
"required": false,
|
|
52
|
+
"rawType": "Partial<import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/node_modules/flatpickr/dist/types/options\").BaseOptions> | undefined"
|
|
52
53
|
},
|
|
53
54
|
"destructive": {
|
|
54
55
|
"type": "string",
|