@nexus-cross/design-system 1.0.3 → 1.0.4
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/cursor-rules/nexus-ui-api.mdc +208 -0
- package/dist/alert.d.mts +17 -0
- package/dist/alert.d.ts +17 -0
- package/dist/alert.js +16 -0
- package/dist/alert.mjs +3 -0
- package/dist/badge.d.mts +18 -0
- package/dist/badge.d.ts +18 -0
- package/dist/badge.js +16 -0
- package/dist/badge.mjs +3 -0
- package/dist/breadcrumb.d.mts +15 -0
- package/dist/breadcrumb.d.ts +15 -0
- package/dist/breadcrumb.js +12 -0
- package/dist/breadcrumb.mjs +3 -0
- package/dist/chunks/chunk-2N2EPBO4.js +120 -0
- package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
- package/dist/chunks/chunk-3ZWN66YH.js +53 -0
- package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
- package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
- package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
- package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
- package/dist/chunks/chunk-C2DSAJTL.js +109 -0
- package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
- package/dist/chunks/chunk-CV4GMFWP.js +174 -0
- package/dist/chunks/chunk-DICN6GKE.js +99 -0
- package/dist/chunks/chunk-DYPPVXQF.js +143 -0
- package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
- package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
- package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
- package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
- package/dist/chunks/chunk-KZ7S5VN2.js +7 -0
- package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
- package/dist/chunks/chunk-NZHK76R3.js +109 -0
- package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
- package/dist/chunks/chunk-PDJTSQOC.js +59 -0
- package/dist/chunks/chunk-PI464222.mjs +5 -0
- package/dist/chunks/chunk-S2GMEC43.js +109 -0
- package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
- package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
- package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
- package/dist/date-picker.d.mts +17 -0
- package/dist/date-picker.d.ts +17 -0
- package/dist/date-picker.js +12 -0
- package/dist/date-picker.mjs +3 -0
- package/dist/dropdown-menu.d.mts +30 -0
- package/dist/dropdown-menu.d.ts +30 -0
- package/dist/dropdown-menu.js +32 -0
- package/dist/dropdown-menu.mjs +3 -0
- package/dist/empty-state.d.mts +16 -0
- package/dist/empty-state.d.ts +16 -0
- package/dist/empty-state.js +16 -0
- package/dist/empty-state.mjs +3 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +267 -155
- package/dist/index.mjs +28 -16
- package/dist/modal/index.js +12 -12
- package/dist/modal/index.mjs +3 -3
- package/dist/nx-image.d.mts +13 -0
- package/dist/nx-image.d.ts +13 -0
- package/dist/nx-image.js +12 -0
- package/dist/nx-image.mjs +3 -0
- package/dist/progress.d.mts +18 -0
- package/dist/progress.d.ts +18 -0
- package/dist/progress.js +16 -0
- package/dist/progress.mjs +3 -0
- package/dist/schemas/_all.json +787 -4
- package/dist/schemas/alert.json +49 -0
- package/dist/schemas/badge.json +76 -0
- package/dist/schemas/breadcrumb.json +47 -0
- package/dist/schemas/datePicker.json +56 -0
- package/dist/schemas/dropdownMenu.json +83 -0
- package/dist/schemas/emptyState.json +44 -0
- package/dist/schemas/nxImage.json +56 -0
- package/dist/schemas/progress.json +63 -0
- package/dist/schemas/slider.json +78 -0
- package/dist/schemas/stepper.json +73 -0
- package/dist/schemas/tagInput.json +70 -0
- package/dist/schemas/toggleGroup.json +88 -0
- package/dist/schemas.d.mts +603 -143
- package/dist/schemas.d.ts +603 -143
- package/dist/schemas.js +160 -0
- package/dist/schemas.mjs +149 -1
- package/dist/slider.d.mts +20 -0
- package/dist/slider.d.ts +20 -0
- package/dist/slider.js +16 -0
- package/dist/slider.mjs +3 -0
- package/dist/stepper.d.mts +20 -0
- package/dist/stepper.d.ts +20 -0
- package/dist/stepper.js +16 -0
- package/dist/stepper.mjs +3 -0
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +1190 -69
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +1190 -69
- package/dist/styles.mjs +1 -1
- package/dist/tag-input.d.mts +21 -0
- package/dist/tag-input.d.ts +21 -0
- package/dist/tag-input.js +16 -0
- package/dist/tag-input.mjs +3 -0
- package/dist/toggle-group.d.mts +36 -0
- package/dist/toggle-group.d.ts +36 -0
- package/dist/toggle-group.js +16 -0
- package/dist/toggle-group.mjs +3 -0
- package/package.json +67 -2
- package/dist/chunks/chunk-RLPPNY5F.js +0 -7
- package/dist/chunks/chunk-W7IPMNN2.mjs +0 -5
- package/dist/chunks/{chunk-3VFBPFZF.mjs → chunk-CWMLTXOH.mjs} +2 -2
- package/dist/chunks/{chunk-U53UA76K.js → chunk-HFBTS42N.js} +2 -2
package/dist/schemas/_all.json
CHANGED
|
@@ -103,6 +103,55 @@
|
|
|
103
103
|
},
|
|
104
104
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
105
105
|
},
|
|
106
|
+
"alert": {
|
|
107
|
+
"$ref": "#/definitions/alertPropsSchema",
|
|
108
|
+
"definitions": {
|
|
109
|
+
"alertPropsSchema": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"variant": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"enum": [
|
|
115
|
+
"info",
|
|
116
|
+
"success",
|
|
117
|
+
"warning",
|
|
118
|
+
"danger"
|
|
119
|
+
],
|
|
120
|
+
"default": "info",
|
|
121
|
+
"description": "Alert type / color"
|
|
122
|
+
},
|
|
123
|
+
"title": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Alert title (bold)"
|
|
126
|
+
},
|
|
127
|
+
"children": {
|
|
128
|
+
"description": "Alert description (ReactNode)"
|
|
129
|
+
},
|
|
130
|
+
"icon": {
|
|
131
|
+
"description": "Custom icon (ReactNode). Auto icon by variant if omitted"
|
|
132
|
+
},
|
|
133
|
+
"closable": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"default": false,
|
|
136
|
+
"description": "Show close button"
|
|
137
|
+
},
|
|
138
|
+
"onClose": {
|
|
139
|
+
"description": "Close callback () => void"
|
|
140
|
+
},
|
|
141
|
+
"action": {
|
|
142
|
+
"description": "Action area (ReactNode, e.g. Button)"
|
|
143
|
+
},
|
|
144
|
+
"className": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "Style override"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"additionalProperties": false,
|
|
150
|
+
"description": "Alert / Banner. Inline notification with icon, title, description."
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
154
|
+
},
|
|
106
155
|
"avatar": {
|
|
107
156
|
"$ref": "#/definitions/avatarPropsSchema",
|
|
108
157
|
"definitions": {
|
|
@@ -158,6 +207,129 @@
|
|
|
158
207
|
},
|
|
159
208
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
160
209
|
},
|
|
210
|
+
"badge": {
|
|
211
|
+
"$ref": "#/definitions/badgePropsSchema",
|
|
212
|
+
"definitions": {
|
|
213
|
+
"badgePropsSchema": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"properties": {
|
|
216
|
+
"count": {
|
|
217
|
+
"type": "number",
|
|
218
|
+
"description": "Badge count number"
|
|
219
|
+
},
|
|
220
|
+
"max": {
|
|
221
|
+
"type": "number",
|
|
222
|
+
"default": 99,
|
|
223
|
+
"description": "Max count (shows \"99+\" when exceeded)"
|
|
224
|
+
},
|
|
225
|
+
"dot": {
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"default": false,
|
|
228
|
+
"description": "Show as dot instead of count"
|
|
229
|
+
},
|
|
230
|
+
"showZero": {
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"default": false,
|
|
233
|
+
"description": "Show badge when count is 0"
|
|
234
|
+
},
|
|
235
|
+
"variant": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"danger",
|
|
239
|
+
"primary",
|
|
240
|
+
"secondary",
|
|
241
|
+
"info",
|
|
242
|
+
"success",
|
|
243
|
+
"warning"
|
|
244
|
+
],
|
|
245
|
+
"default": "danger",
|
|
246
|
+
"description": "Color variant"
|
|
247
|
+
},
|
|
248
|
+
"size": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"enum": [
|
|
251
|
+
"sm",
|
|
252
|
+
"md",
|
|
253
|
+
"lg"
|
|
254
|
+
],
|
|
255
|
+
"default": "md",
|
|
256
|
+
"description": "Size"
|
|
257
|
+
},
|
|
258
|
+
"offset": {
|
|
259
|
+
"type": "array",
|
|
260
|
+
"minItems": 2,
|
|
261
|
+
"maxItems": 2,
|
|
262
|
+
"items": [
|
|
263
|
+
{
|
|
264
|
+
"type": "number"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "number"
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"description": "Position offset [x, y] in px"
|
|
271
|
+
},
|
|
272
|
+
"children": {
|
|
273
|
+
"description": "Anchor element to attach badge to (ReactNode)"
|
|
274
|
+
},
|
|
275
|
+
"className": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"description": "Style override"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"additionalProperties": false,
|
|
281
|
+
"description": "Badge indicator. Dot or count display. Wraps children when provided."
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
285
|
+
},
|
|
286
|
+
"breadcrumb": {
|
|
287
|
+
"$ref": "#/definitions/breadcrumbPropsSchema",
|
|
288
|
+
"definitions": {
|
|
289
|
+
"breadcrumbPropsSchema": {
|
|
290
|
+
"type": "object",
|
|
291
|
+
"properties": {
|
|
292
|
+
"items": {
|
|
293
|
+
"type": "array",
|
|
294
|
+
"items": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"label": {
|
|
298
|
+
"description": "Display text or element (ReactNode)"
|
|
299
|
+
},
|
|
300
|
+
"href": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Link URL"
|
|
303
|
+
},
|
|
304
|
+
"onClick": {
|
|
305
|
+
"description": "Click handler () => void"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"additionalProperties": false
|
|
309
|
+
},
|
|
310
|
+
"description": "Breadcrumb items array (required)"
|
|
311
|
+
},
|
|
312
|
+
"separator": {
|
|
313
|
+
"description": "Custom separator (ReactNode). Default: chevron"
|
|
314
|
+
},
|
|
315
|
+
"maxItems": {
|
|
316
|
+
"type": "number",
|
|
317
|
+
"description": "Max visible items (collapses middle with \"...\")"
|
|
318
|
+
},
|
|
319
|
+
"className": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "Style override"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"items"
|
|
326
|
+
],
|
|
327
|
+
"additionalProperties": false,
|
|
328
|
+
"description": "Breadcrumb navigation. Shows current location path."
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
332
|
+
},
|
|
161
333
|
"button": {
|
|
162
334
|
"$ref": "#/definitions/buttonPropsSchema",
|
|
163
335
|
"definitions": {
|
|
@@ -659,6 +831,62 @@
|
|
|
659
831
|
},
|
|
660
832
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
661
833
|
},
|
|
834
|
+
"datePicker": {
|
|
835
|
+
"$ref": "#/definitions/datePickerPropsSchema",
|
|
836
|
+
"definitions": {
|
|
837
|
+
"datePickerPropsSchema": {
|
|
838
|
+
"type": "object",
|
|
839
|
+
"properties": {
|
|
840
|
+
"value": {
|
|
841
|
+
"description": "Controlled date value (Date)"
|
|
842
|
+
},
|
|
843
|
+
"defaultValue": {
|
|
844
|
+
"description": "Default date (Date)"
|
|
845
|
+
},
|
|
846
|
+
"onChange": {
|
|
847
|
+
"description": "Date change callback (date: Date | undefined) => void"
|
|
848
|
+
},
|
|
849
|
+
"placeholder": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"default": "날짜 선택",
|
|
852
|
+
"description": "Placeholder text"
|
|
853
|
+
},
|
|
854
|
+
"disabled": {
|
|
855
|
+
"type": "boolean",
|
|
856
|
+
"default": false,
|
|
857
|
+
"description": "Disabled"
|
|
858
|
+
},
|
|
859
|
+
"minDate": {
|
|
860
|
+
"description": "Minimum selectable date (Date)"
|
|
861
|
+
},
|
|
862
|
+
"maxDate": {
|
|
863
|
+
"description": "Maximum selectable date (Date)"
|
|
864
|
+
},
|
|
865
|
+
"locale": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"enum": [
|
|
868
|
+
"ko",
|
|
869
|
+
"en"
|
|
870
|
+
],
|
|
871
|
+
"default": "ko",
|
|
872
|
+
"description": "Calendar locale"
|
|
873
|
+
},
|
|
874
|
+
"formatStr": {
|
|
875
|
+
"type": "string",
|
|
876
|
+
"default": "yyyy-MM-dd",
|
|
877
|
+
"description": "Date format string (date-fns format)"
|
|
878
|
+
},
|
|
879
|
+
"className": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"description": "Style override"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"additionalProperties": false,
|
|
885
|
+
"description": "DatePicker. Calendar popup for date selection. Based on react-day-picker."
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
889
|
+
},
|
|
662
890
|
"divider": {
|
|
663
891
|
"$ref": "#/definitions/dividerPropsSchema",
|
|
664
892
|
"definitions": {
|
|
@@ -886,6 +1114,89 @@
|
|
|
886
1114
|
},
|
|
887
1115
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
888
1116
|
},
|
|
1117
|
+
"dropdownMenu": {
|
|
1118
|
+
"$ref": "#/definitions/dropdownMenuPropsSchema",
|
|
1119
|
+
"definitions": {
|
|
1120
|
+
"dropdownMenuPropsSchema": {
|
|
1121
|
+
"type": "object",
|
|
1122
|
+
"properties": {
|
|
1123
|
+
"children": {
|
|
1124
|
+
"description": "Trigger element (ReactNode, required)"
|
|
1125
|
+
},
|
|
1126
|
+
"items": {
|
|
1127
|
+
"type": "array",
|
|
1128
|
+
"items": {
|
|
1129
|
+
"type": "object",
|
|
1130
|
+
"properties": {
|
|
1131
|
+
"label": {
|
|
1132
|
+
"description": "Menu item text (ReactNode)"
|
|
1133
|
+
},
|
|
1134
|
+
"value": {
|
|
1135
|
+
"type": "string",
|
|
1136
|
+
"description": "Item identifier"
|
|
1137
|
+
},
|
|
1138
|
+
"icon": {
|
|
1139
|
+
"description": "Left icon (ReactNode)"
|
|
1140
|
+
},
|
|
1141
|
+
"onClick": {
|
|
1142
|
+
"description": "Click handler () => void"
|
|
1143
|
+
},
|
|
1144
|
+
"disabled": {
|
|
1145
|
+
"type": "boolean",
|
|
1146
|
+
"description": "Disabled"
|
|
1147
|
+
},
|
|
1148
|
+
"danger": {
|
|
1149
|
+
"type": "boolean",
|
|
1150
|
+
"description": "Danger/destructive style"
|
|
1151
|
+
},
|
|
1152
|
+
"separator": {
|
|
1153
|
+
"type": "boolean",
|
|
1154
|
+
"description": "If true, renders as separator line"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"additionalProperties": false
|
|
1158
|
+
},
|
|
1159
|
+
"description": "Menu items array (required)"
|
|
1160
|
+
},
|
|
1161
|
+
"align": {
|
|
1162
|
+
"type": "string",
|
|
1163
|
+
"enum": [
|
|
1164
|
+
"start",
|
|
1165
|
+
"center",
|
|
1166
|
+
"end"
|
|
1167
|
+
],
|
|
1168
|
+
"default": "start",
|
|
1169
|
+
"description": "Alignment"
|
|
1170
|
+
},
|
|
1171
|
+
"side": {
|
|
1172
|
+
"type": "string",
|
|
1173
|
+
"enum": [
|
|
1174
|
+
"top",
|
|
1175
|
+
"right",
|
|
1176
|
+
"bottom",
|
|
1177
|
+
"left"
|
|
1178
|
+
],
|
|
1179
|
+
"default": "bottom",
|
|
1180
|
+
"description": "Position"
|
|
1181
|
+
},
|
|
1182
|
+
"className": {
|
|
1183
|
+
"type": "string",
|
|
1184
|
+
"description": "Trigger wrapper style"
|
|
1185
|
+
},
|
|
1186
|
+
"contentClassName": {
|
|
1187
|
+
"type": "string",
|
|
1188
|
+
"description": "Content panel style"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"required": [
|
|
1192
|
+
"items"
|
|
1193
|
+
],
|
|
1194
|
+
"additionalProperties": false,
|
|
1195
|
+
"description": "Dropdown menu. Based on Radix DropdownMenu. Action menu for context/more menus."
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1199
|
+
},
|
|
889
1200
|
"ellipsis": {
|
|
890
1201
|
"$ref": "#/definitions/ellipsisPropsSchema",
|
|
891
1202
|
"definitions": {
|
|
@@ -935,6 +1246,50 @@
|
|
|
935
1246
|
},
|
|
936
1247
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
937
1248
|
},
|
|
1249
|
+
"emptyState": {
|
|
1250
|
+
"$ref": "#/definitions/emptyStatePropsSchema",
|
|
1251
|
+
"definitions": {
|
|
1252
|
+
"emptyStatePropsSchema": {
|
|
1253
|
+
"type": "object",
|
|
1254
|
+
"properties": {
|
|
1255
|
+
"icon": {
|
|
1256
|
+
"description": "Custom icon (ReactNode). Default inbox icon"
|
|
1257
|
+
},
|
|
1258
|
+
"title": {
|
|
1259
|
+
"type": "string",
|
|
1260
|
+
"description": "Title text"
|
|
1261
|
+
},
|
|
1262
|
+
"description": {
|
|
1263
|
+
"type": "string",
|
|
1264
|
+
"description": "Description text"
|
|
1265
|
+
},
|
|
1266
|
+
"action": {
|
|
1267
|
+
"description": "Action area (ReactNode, e.g. Button)"
|
|
1268
|
+
},
|
|
1269
|
+
"size": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"enum": [
|
|
1272
|
+
"sm",
|
|
1273
|
+
"md",
|
|
1274
|
+
"lg"
|
|
1275
|
+
],
|
|
1276
|
+
"default": "md",
|
|
1277
|
+
"description": "Overall size"
|
|
1278
|
+
},
|
|
1279
|
+
"children": {
|
|
1280
|
+
"description": "Additional content (ReactNode)"
|
|
1281
|
+
},
|
|
1282
|
+
"className": {
|
|
1283
|
+
"type": "string",
|
|
1284
|
+
"description": "Style override"
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
"additionalProperties": false,
|
|
1288
|
+
"description": "Empty state placeholder. Shown when data is empty or unavailable."
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1292
|
+
},
|
|
938
1293
|
"errorBoundary": {
|
|
939
1294
|
"$ref": "#/definitions/errorBoundaryPropsSchema",
|
|
940
1295
|
"definitions": {
|
|
@@ -1391,13 +1746,69 @@
|
|
|
1391
1746
|
},
|
|
1392
1747
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1393
1748
|
},
|
|
1394
|
-
"
|
|
1395
|
-
"$ref": "#/definitions/
|
|
1749
|
+
"nxImage": {
|
|
1750
|
+
"$ref": "#/definitions/nxImagePropsSchema",
|
|
1396
1751
|
"definitions": {
|
|
1397
|
-
"
|
|
1752
|
+
"nxImagePropsSchema": {
|
|
1398
1753
|
"type": "object",
|
|
1399
1754
|
"properties": {
|
|
1400
|
-
"
|
|
1755
|
+
"src": {
|
|
1756
|
+
"type": "string",
|
|
1757
|
+
"description": "Image source URL"
|
|
1758
|
+
},
|
|
1759
|
+
"alt": {
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"description": "Alt text"
|
|
1762
|
+
},
|
|
1763
|
+
"fallback": {
|
|
1764
|
+
"description": "Custom fallback element (ReactNode)"
|
|
1765
|
+
},
|
|
1766
|
+
"fallbackSrc": {
|
|
1767
|
+
"type": "string",
|
|
1768
|
+
"description": "Fallback image URL on error"
|
|
1769
|
+
},
|
|
1770
|
+
"aspectRatio": {
|
|
1771
|
+
"type": "string",
|
|
1772
|
+
"description": "CSS aspect-ratio (e.g. \"16/9\", \"1/1\")"
|
|
1773
|
+
},
|
|
1774
|
+
"objectFit": {
|
|
1775
|
+
"type": "string",
|
|
1776
|
+
"enum": [
|
|
1777
|
+
"cover",
|
|
1778
|
+
"contain",
|
|
1779
|
+
"fill",
|
|
1780
|
+
"none"
|
|
1781
|
+
],
|
|
1782
|
+
"default": "cover",
|
|
1783
|
+
"description": "Object-fit mode"
|
|
1784
|
+
},
|
|
1785
|
+
"lazy": {
|
|
1786
|
+
"type": "boolean",
|
|
1787
|
+
"default": true,
|
|
1788
|
+
"description": "Enable lazy loading (loading=\"lazy\")"
|
|
1789
|
+
},
|
|
1790
|
+
"wrapperClassName": {
|
|
1791
|
+
"type": "string",
|
|
1792
|
+
"description": "Wrapper div style"
|
|
1793
|
+
},
|
|
1794
|
+
"className": {
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"description": "Image element style"
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"additionalProperties": false,
|
|
1800
|
+
"description": "Enhanced image. Lazy loading, fallback, aspect-ratio support."
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1804
|
+
},
|
|
1805
|
+
"pagination": {
|
|
1806
|
+
"$ref": "#/definitions/paginationPropsSchema",
|
|
1807
|
+
"definitions": {
|
|
1808
|
+
"paginationPropsSchema": {
|
|
1809
|
+
"type": "object",
|
|
1810
|
+
"properties": {
|
|
1811
|
+
"currentPage": {
|
|
1401
1812
|
"type": "number",
|
|
1402
1813
|
"description": "Current page (1-based, required)"
|
|
1403
1814
|
},
|
|
@@ -1612,6 +2023,69 @@
|
|
|
1612
2023
|
},
|
|
1613
2024
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1614
2025
|
},
|
|
2026
|
+
"progress": {
|
|
2027
|
+
"$ref": "#/definitions/progressPropsSchema",
|
|
2028
|
+
"definitions": {
|
|
2029
|
+
"progressPropsSchema": {
|
|
2030
|
+
"type": "object",
|
|
2031
|
+
"properties": {
|
|
2032
|
+
"value": {
|
|
2033
|
+
"type": "number",
|
|
2034
|
+
"default": 0,
|
|
2035
|
+
"description": "Current progress value"
|
|
2036
|
+
},
|
|
2037
|
+
"max": {
|
|
2038
|
+
"type": "number",
|
|
2039
|
+
"default": 100,
|
|
2040
|
+
"description": "Maximum value"
|
|
2041
|
+
},
|
|
2042
|
+
"variant": {
|
|
2043
|
+
"type": "string",
|
|
2044
|
+
"enum": [
|
|
2045
|
+
"primary",
|
|
2046
|
+
"success",
|
|
2047
|
+
"warning",
|
|
2048
|
+
"danger",
|
|
2049
|
+
"info"
|
|
2050
|
+
],
|
|
2051
|
+
"default": "primary",
|
|
2052
|
+
"description": "Color variant"
|
|
2053
|
+
},
|
|
2054
|
+
"size": {
|
|
2055
|
+
"type": "string",
|
|
2056
|
+
"enum": [
|
|
2057
|
+
"sm",
|
|
2058
|
+
"md",
|
|
2059
|
+
"lg"
|
|
2060
|
+
],
|
|
2061
|
+
"default": "md",
|
|
2062
|
+
"description": "Bar height"
|
|
2063
|
+
},
|
|
2064
|
+
"showValue": {
|
|
2065
|
+
"type": "boolean",
|
|
2066
|
+
"default": false,
|
|
2067
|
+
"description": "Show percentage text"
|
|
2068
|
+
},
|
|
2069
|
+
"indeterminate": {
|
|
2070
|
+
"type": "boolean",
|
|
2071
|
+
"default": false,
|
|
2072
|
+
"description": "Indeterminate loading animation"
|
|
2073
|
+
},
|
|
2074
|
+
"label": {
|
|
2075
|
+
"type": "string",
|
|
2076
|
+
"description": "Label text above the bar"
|
|
2077
|
+
},
|
|
2078
|
+
"className": {
|
|
2079
|
+
"type": "string",
|
|
2080
|
+
"description": "Style override"
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
"additionalProperties": false,
|
|
2084
|
+
"description": "Progress bar. Linear progress indicator with percentage display."
|
|
2085
|
+
}
|
|
2086
|
+
},
|
|
2087
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2088
|
+
},
|
|
1615
2089
|
"radioGroup": {
|
|
1616
2090
|
"$ref": "#/definitions/radioGroupPropsSchema",
|
|
1617
2091
|
"definitions": {
|
|
@@ -1866,6 +2340,84 @@
|
|
|
1866
2340
|
},
|
|
1867
2341
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1868
2342
|
},
|
|
2343
|
+
"slider": {
|
|
2344
|
+
"$ref": "#/definitions/sliderPropsSchema",
|
|
2345
|
+
"definitions": {
|
|
2346
|
+
"sliderPropsSchema": {
|
|
2347
|
+
"type": "object",
|
|
2348
|
+
"properties": {
|
|
2349
|
+
"value": {
|
|
2350
|
+
"type": "array",
|
|
2351
|
+
"items": {
|
|
2352
|
+
"type": "number"
|
|
2353
|
+
},
|
|
2354
|
+
"description": "Controlled value (number[]). Use [50] for single, [20, 80] for range"
|
|
2355
|
+
},
|
|
2356
|
+
"defaultValue": {
|
|
2357
|
+
"type": "array",
|
|
2358
|
+
"items": {
|
|
2359
|
+
"type": "number"
|
|
2360
|
+
},
|
|
2361
|
+
"description": "Default value"
|
|
2362
|
+
},
|
|
2363
|
+
"min": {
|
|
2364
|
+
"type": "number",
|
|
2365
|
+
"default": 0,
|
|
2366
|
+
"description": "Minimum"
|
|
2367
|
+
},
|
|
2368
|
+
"max": {
|
|
2369
|
+
"type": "number",
|
|
2370
|
+
"default": 100,
|
|
2371
|
+
"description": "Maximum"
|
|
2372
|
+
},
|
|
2373
|
+
"step": {
|
|
2374
|
+
"type": "number",
|
|
2375
|
+
"default": 1,
|
|
2376
|
+
"description": "Step increment"
|
|
2377
|
+
},
|
|
2378
|
+
"size": {
|
|
2379
|
+
"type": "string",
|
|
2380
|
+
"enum": [
|
|
2381
|
+
"sm",
|
|
2382
|
+
"md",
|
|
2383
|
+
"lg"
|
|
2384
|
+
],
|
|
2385
|
+
"default": "md",
|
|
2386
|
+
"description": "Track height / thumb size"
|
|
2387
|
+
},
|
|
2388
|
+
"showValue": {
|
|
2389
|
+
"type": "boolean",
|
|
2390
|
+
"default": false,
|
|
2391
|
+
"description": "Show current value text"
|
|
2392
|
+
},
|
|
2393
|
+
"formatValue": {
|
|
2394
|
+
"description": "Value format function (value: number) => string"
|
|
2395
|
+
},
|
|
2396
|
+
"label": {
|
|
2397
|
+
"type": "string",
|
|
2398
|
+
"description": "Label text"
|
|
2399
|
+
},
|
|
2400
|
+
"disabled": {
|
|
2401
|
+
"type": "boolean",
|
|
2402
|
+
"description": "Disabled"
|
|
2403
|
+
},
|
|
2404
|
+
"onValueChange": {
|
|
2405
|
+
"description": "Value change callback (value: number[]) => void"
|
|
2406
|
+
},
|
|
2407
|
+
"onValueCommit": {
|
|
2408
|
+
"description": "Committed value callback (on pointer up)"
|
|
2409
|
+
},
|
|
2410
|
+
"className": {
|
|
2411
|
+
"type": "string",
|
|
2412
|
+
"description": "Style override"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
"additionalProperties": false,
|
|
2416
|
+
"description": "Slider / Range input. Based on Radix Slider. Supports single and range mode."
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2420
|
+
},
|
|
1869
2421
|
"spinner": {
|
|
1870
2422
|
"$ref": "#/definitions/spinnerPropsSchema",
|
|
1871
2423
|
"definitions": {
|
|
@@ -1900,6 +2452,79 @@
|
|
|
1900
2452
|
},
|
|
1901
2453
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1902
2454
|
},
|
|
2455
|
+
"stepper": {
|
|
2456
|
+
"$ref": "#/definitions/stepperPropsSchema",
|
|
2457
|
+
"definitions": {
|
|
2458
|
+
"stepperPropsSchema": {
|
|
2459
|
+
"type": "object",
|
|
2460
|
+
"properties": {
|
|
2461
|
+
"steps": {
|
|
2462
|
+
"type": "array",
|
|
2463
|
+
"items": {
|
|
2464
|
+
"type": "object",
|
|
2465
|
+
"properties": {
|
|
2466
|
+
"label": {
|
|
2467
|
+
"type": "string",
|
|
2468
|
+
"description": "Step title"
|
|
2469
|
+
},
|
|
2470
|
+
"description": {
|
|
2471
|
+
"type": "string",
|
|
2472
|
+
"description": "Step description"
|
|
2473
|
+
}
|
|
2474
|
+
},
|
|
2475
|
+
"required": [
|
|
2476
|
+
"label"
|
|
2477
|
+
],
|
|
2478
|
+
"additionalProperties": false
|
|
2479
|
+
},
|
|
2480
|
+
"description": "Step items array (required)"
|
|
2481
|
+
},
|
|
2482
|
+
"current": {
|
|
2483
|
+
"type": "number",
|
|
2484
|
+
"default": 0,
|
|
2485
|
+
"description": "Current step index (0-based)"
|
|
2486
|
+
},
|
|
2487
|
+
"status": {
|
|
2488
|
+
"type": "string",
|
|
2489
|
+
"enum": [
|
|
2490
|
+
"process",
|
|
2491
|
+
"error"
|
|
2492
|
+
],
|
|
2493
|
+
"default": "process",
|
|
2494
|
+
"description": "Current step status"
|
|
2495
|
+
},
|
|
2496
|
+
"orientation": {
|
|
2497
|
+
"type": "string",
|
|
2498
|
+
"enum": [
|
|
2499
|
+
"horizontal",
|
|
2500
|
+
"vertical"
|
|
2501
|
+
],
|
|
2502
|
+
"default": "horizontal",
|
|
2503
|
+
"description": "Layout direction"
|
|
2504
|
+
},
|
|
2505
|
+
"size": {
|
|
2506
|
+
"type": "string",
|
|
2507
|
+
"enum": [
|
|
2508
|
+
"sm",
|
|
2509
|
+
"md"
|
|
2510
|
+
],
|
|
2511
|
+
"default": "md",
|
|
2512
|
+
"description": "Size"
|
|
2513
|
+
},
|
|
2514
|
+
"className": {
|
|
2515
|
+
"type": "string",
|
|
2516
|
+
"description": "Style override"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"required": [
|
|
2520
|
+
"steps"
|
|
2521
|
+
],
|
|
2522
|
+
"additionalProperties": false,
|
|
2523
|
+
"description": "Stepper. Step-by-step progress indicator."
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2527
|
+
},
|
|
1903
2528
|
"switch": {
|
|
1904
2529
|
"$ref": "#/definitions/switchPropsSchema",
|
|
1905
2530
|
"definitions": {
|
|
@@ -2255,6 +2880,76 @@
|
|
|
2255
2880
|
},
|
|
2256
2881
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2257
2882
|
},
|
|
2883
|
+
"tagInput": {
|
|
2884
|
+
"$ref": "#/definitions/tagInputPropsSchema",
|
|
2885
|
+
"definitions": {
|
|
2886
|
+
"tagInputPropsSchema": {
|
|
2887
|
+
"type": "object",
|
|
2888
|
+
"properties": {
|
|
2889
|
+
"value": {
|
|
2890
|
+
"type": "array",
|
|
2891
|
+
"items": {
|
|
2892
|
+
"type": "string"
|
|
2893
|
+
},
|
|
2894
|
+
"description": "Controlled tags array"
|
|
2895
|
+
},
|
|
2896
|
+
"defaultValue": {
|
|
2897
|
+
"type": "array",
|
|
2898
|
+
"items": {
|
|
2899
|
+
"type": "string"
|
|
2900
|
+
},
|
|
2901
|
+
"description": "Default tags"
|
|
2902
|
+
},
|
|
2903
|
+
"onChange": {
|
|
2904
|
+
"description": "Tags change callback (tags: string[]) => void"
|
|
2905
|
+
},
|
|
2906
|
+
"placeholder": {
|
|
2907
|
+
"type": "string",
|
|
2908
|
+
"default": "태그 입력 후 Enter",
|
|
2909
|
+
"description": "Input placeholder"
|
|
2910
|
+
},
|
|
2911
|
+
"max": {
|
|
2912
|
+
"type": "number",
|
|
2913
|
+
"description": "Maximum number of tags"
|
|
2914
|
+
},
|
|
2915
|
+
"disabled": {
|
|
2916
|
+
"type": "boolean",
|
|
2917
|
+
"description": "Disabled"
|
|
2918
|
+
},
|
|
2919
|
+
"allowDuplicates": {
|
|
2920
|
+
"type": "boolean",
|
|
2921
|
+
"default": false,
|
|
2922
|
+
"description": "Allow duplicate tags"
|
|
2923
|
+
},
|
|
2924
|
+
"label": {
|
|
2925
|
+
"type": "string",
|
|
2926
|
+
"description": "Label text"
|
|
2927
|
+
},
|
|
2928
|
+
"description": {
|
|
2929
|
+
"type": "string",
|
|
2930
|
+
"description": "Helper text below input"
|
|
2931
|
+
},
|
|
2932
|
+
"size": {
|
|
2933
|
+
"type": "string",
|
|
2934
|
+
"enum": [
|
|
2935
|
+
"sm",
|
|
2936
|
+
"md",
|
|
2937
|
+
"lg"
|
|
2938
|
+
],
|
|
2939
|
+
"default": "md",
|
|
2940
|
+
"description": "Size"
|
|
2941
|
+
},
|
|
2942
|
+
"className": {
|
|
2943
|
+
"type": "string",
|
|
2944
|
+
"description": "Style override"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
"additionalProperties": false,
|
|
2948
|
+
"description": "Tag input. Enter key to add, Backspace to delete last tag."
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2952
|
+
},
|
|
2258
2953
|
"textArea": {
|
|
2259
2954
|
"$ref": "#/definitions/textAreaPropsSchema",
|
|
2260
2955
|
"definitions": {
|
|
@@ -2686,6 +3381,94 @@
|
|
|
2686
3381
|
},
|
|
2687
3382
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2688
3383
|
},
|
|
3384
|
+
"toggleGroup": {
|
|
3385
|
+
"$ref": "#/definitions/toggleGroupPropsSchema",
|
|
3386
|
+
"definitions": {
|
|
3387
|
+
"toggleGroupPropsSchema": {
|
|
3388
|
+
"type": "object",
|
|
3389
|
+
"properties": {
|
|
3390
|
+
"type": {
|
|
3391
|
+
"type": "string",
|
|
3392
|
+
"enum": [
|
|
3393
|
+
"single",
|
|
3394
|
+
"multiple"
|
|
3395
|
+
],
|
|
3396
|
+
"default": "single",
|
|
3397
|
+
"description": "Selection mode"
|
|
3398
|
+
},
|
|
3399
|
+
"items": {
|
|
3400
|
+
"type": "array",
|
|
3401
|
+
"items": {
|
|
3402
|
+
"type": "object",
|
|
3403
|
+
"properties": {
|
|
3404
|
+
"value": {
|
|
3405
|
+
"type": "string",
|
|
3406
|
+
"description": "Item value"
|
|
3407
|
+
},
|
|
3408
|
+
"label": {
|
|
3409
|
+
"description": "Display label (ReactNode)"
|
|
3410
|
+
},
|
|
3411
|
+
"icon": {
|
|
3412
|
+
"description": "Icon (ReactNode)"
|
|
3413
|
+
},
|
|
3414
|
+
"disabled": {
|
|
3415
|
+
"type": "boolean",
|
|
3416
|
+
"description": "Disabled"
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"required": [
|
|
3420
|
+
"value"
|
|
3421
|
+
],
|
|
3422
|
+
"additionalProperties": false
|
|
3423
|
+
},
|
|
3424
|
+
"description": "Toggle items array (required)"
|
|
3425
|
+
},
|
|
3426
|
+
"value": {
|
|
3427
|
+
"description": "Controlled value (string | string[])"
|
|
3428
|
+
},
|
|
3429
|
+
"defaultValue": {
|
|
3430
|
+
"description": "Default value"
|
|
3431
|
+
},
|
|
3432
|
+
"onValueChange": {
|
|
3433
|
+
"description": "Value change callback"
|
|
3434
|
+
},
|
|
3435
|
+
"variant": {
|
|
3436
|
+
"type": "string",
|
|
3437
|
+
"enum": [
|
|
3438
|
+
"default",
|
|
3439
|
+
"outline"
|
|
3440
|
+
],
|
|
3441
|
+
"default": "default",
|
|
3442
|
+
"description": "Style variant"
|
|
3443
|
+
},
|
|
3444
|
+
"size": {
|
|
3445
|
+
"type": "string",
|
|
3446
|
+
"enum": [
|
|
3447
|
+
"sm",
|
|
3448
|
+
"md",
|
|
3449
|
+
"lg"
|
|
3450
|
+
],
|
|
3451
|
+
"default": "md",
|
|
3452
|
+
"description": "Size"
|
|
3453
|
+
},
|
|
3454
|
+
"disabled": {
|
|
3455
|
+
"type": "boolean",
|
|
3456
|
+
"description": "Disable all items"
|
|
3457
|
+
},
|
|
3458
|
+
"className": {
|
|
3459
|
+
"type": "string",
|
|
3460
|
+
"description": "Style override"
|
|
3461
|
+
}
|
|
3462
|
+
},
|
|
3463
|
+
"required": [
|
|
3464
|
+
"items"
|
|
3465
|
+
],
|
|
3466
|
+
"additionalProperties": false,
|
|
3467
|
+
"description": "Toggle group / Segment control. Based on Radix ToggleGroup."
|
|
3468
|
+
}
|
|
3469
|
+
},
|
|
3470
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3471
|
+
},
|
|
2689
3472
|
"tooltip": {
|
|
2690
3473
|
"$ref": "#/definitions/tooltipPropsSchema",
|
|
2691
3474
|
"definitions": {
|