@nexus-cross/design-system 1.0.1 → 1.0.2
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-project-setup.mdc +150 -150
- package/cursor-rules/nexus-ui-api.mdc +659 -316
- package/cursor-rules/nexus-ui-components.mdc +162 -96
- package/dist/chunks/chunk-55IEEVNR.js +7 -0
- package/dist/chunks/{chunk-5JHN4FCY.mjs → chunk-K2TBLM3F.mjs} +1 -4
- package/dist/chunks/{chunk-MTX7GD3H.js → chunk-PEIEVKD5.js} +1 -4
- package/dist/chunks/chunk-XMG7ZEYY.mjs +5 -0
- package/dist/data-list.js +2 -2
- package/dist/data-list.mjs +1 -1
- package/dist/error-boundary.d.mts +1 -1
- package/dist/error-boundary.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/schemas/_all.json +480 -480
- package/dist/schemas/accordion.json +12 -12
- package/dist/schemas/avatar.json +9 -9
- package/dist/schemas/button.json +13 -13
- package/dist/schemas/carousel.json +6 -6
- package/dist/schemas/carouselButton.json +3 -3
- package/dist/schemas/carouselDots.json +2 -2
- package/dist/schemas/carouselSlide.json +3 -3
- package/dist/schemas/checkBox.json +15 -15
- package/dist/schemas/chip.json +9 -9
- package/dist/schemas/clientOnly.json +3 -3
- package/dist/schemas/countdown.json +8 -8
- package/dist/schemas/counter.json +11 -11
- package/dist/schemas/dataList.json +10 -10
- package/dist/schemas/divider.json +6 -6
- package/dist/schemas/drawer.json +8 -8
- package/dist/schemas/drawerClose.json +4 -4
- package/dist/schemas/drawerContent.json +7 -7
- package/dist/schemas/drawerDescription.json +3 -3
- package/dist/schemas/drawerTitle.json +3 -3
- package/dist/schemas/drawerTrigger.json +4 -4
- package/dist/schemas/ellipsis.json +9 -9
- package/dist/schemas/errorBoundary.json +4 -4
- package/dist/schemas/infiniteScroll.json +12 -12
- package/dist/schemas/marquee.json +8 -8
- package/dist/schemas/modalCall.json +20 -20
- package/dist/schemas/modalTemplate.json +26 -26
- package/dist/schemas/numberInput.json +19 -19
- package/dist/schemas/pagination.json +8 -8
- package/dist/schemas/popover.json +12 -12
- package/dist/schemas/radioGroup.json +12 -12
- package/dist/schemas/radioItem.json +7 -7
- package/dist/schemas/select.json +11 -11
- package/dist/schemas/selectItem.json +5 -5
- package/dist/schemas/skeleton.json +8 -8
- package/dist/schemas/spinner.json +6 -6
- package/dist/schemas/switch.json +10 -10
- package/dist/schemas/tab.json +15 -15
- package/dist/schemas/table.json +14 -14
- package/dist/schemas/tableRow.json +5 -5
- package/dist/schemas/tdColumn.json +17 -17
- package/dist/schemas/textArea.json +18 -18
- package/dist/schemas/textInput.json +25 -25
- package/dist/schemas/themeProvider.json +10 -10
- package/dist/schemas/toastOptions.json +17 -17
- package/dist/schemas/toaster.json +12 -12
- package/dist/schemas/tooltip.json +10 -10
- package/dist/schemas/virtualGrid.json +11 -11
- package/dist/schemas/virtualList.json +10 -10
- package/dist/schemas.js +475 -475
- package/dist/schemas.mjs +475 -475
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +28 -15
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +28 -15
- package/dist/styles.mjs +1 -1
- package/package.json +8 -6
- package/scripts/setup-cursor-rules.cjs +6 -6
- package/dist/chunks/chunk-GMGG4VZM.mjs +0 -5
- package/dist/chunks/chunk-N75GAGAG.js +0 -7
package/dist/schemas/_all.json
CHANGED
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"properties": {
|
|
16
16
|
"id": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "Unique ID"
|
|
19
19
|
},
|
|
20
20
|
"trigger": {
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Trigger content (ReactNode)"
|
|
22
22
|
},
|
|
23
23
|
"content": {
|
|
24
|
-
"description": "
|
|
24
|
+
"description": "Expandable content (ReactNode)"
|
|
25
25
|
},
|
|
26
26
|
"disabled": {
|
|
27
27
|
"type": "boolean",
|
|
28
|
-
"description": "
|
|
28
|
+
"description": "Disabled"
|
|
29
29
|
},
|
|
30
30
|
"className": {
|
|
31
31
|
"type": "string"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"additionalProperties": false
|
|
44
44
|
},
|
|
45
|
-
"description": "
|
|
45
|
+
"description": "Accordion item array (required)"
|
|
46
46
|
},
|
|
47
47
|
"type": {
|
|
48
48
|
"type": "string",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"multiple"
|
|
52
52
|
],
|
|
53
53
|
"default": "single",
|
|
54
|
-
"description": "
|
|
54
|
+
"description": "Single/multiple open mode"
|
|
55
55
|
},
|
|
56
56
|
"collapsible": {
|
|
57
57
|
"type": "boolean",
|
|
58
58
|
"default": true,
|
|
59
|
-
"description": "
|
|
59
|
+
"description": "Allow collapsing all"
|
|
60
60
|
},
|
|
61
61
|
"value": {
|
|
62
62
|
"anyOf": [
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
|
-
"description": "
|
|
73
|
+
"description": "Controlled mode"
|
|
74
74
|
},
|
|
75
75
|
"defaultValue": {
|
|
76
76
|
"anyOf": [
|
|
@@ -84,21 +84,21 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
],
|
|
87
|
-
"description": "
|
|
87
|
+
"description": "Uncontrolled initial value"
|
|
88
88
|
},
|
|
89
89
|
"onValueChange": {
|
|
90
|
-
"description": "
|
|
90
|
+
"description": "Open item change callback (value: string | string[]) => void"
|
|
91
91
|
},
|
|
92
92
|
"className": {
|
|
93
93
|
"type": "string",
|
|
94
|
-
"description": "Root
|
|
94
|
+
"description": "Root style"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"required": [
|
|
98
98
|
"items"
|
|
99
99
|
],
|
|
100
100
|
"additionalProperties": false,
|
|
101
|
-
"description": "
|
|
101
|
+
"description": "Accordion. Supports both items array and composable patterns."
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
"properties": {
|
|
112
112
|
"src": {
|
|
113
113
|
"type": "string",
|
|
114
|
-
"description": "
|
|
114
|
+
"description": "Image URL"
|
|
115
115
|
},
|
|
116
116
|
"alt": {
|
|
117
117
|
"type": "string",
|
|
118
|
-
"description": "
|
|
118
|
+
"description": "Alt text"
|
|
119
119
|
},
|
|
120
120
|
"fallback": {
|
|
121
|
-
"description": "
|
|
121
|
+
"description": "Displayed on image load failure (ReactNode)"
|
|
122
122
|
},
|
|
123
123
|
"size": {
|
|
124
124
|
"type": "string",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"xl"
|
|
131
131
|
],
|
|
132
132
|
"default": "md",
|
|
133
|
-
"description": "
|
|
133
|
+
"description": "Size"
|
|
134
134
|
},
|
|
135
135
|
"shape": {
|
|
136
136
|
"type": "string",
|
|
@@ -139,21 +139,21 @@
|
|
|
139
139
|
"square"
|
|
140
140
|
],
|
|
141
141
|
"default": "circle",
|
|
142
|
-
"description": "
|
|
142
|
+
"description": "Shape"
|
|
143
143
|
},
|
|
144
144
|
"children": {
|
|
145
|
-
"description": "
|
|
145
|
+
"description": "Custom image element (e.g. Next.js Image)"
|
|
146
146
|
},
|
|
147
147
|
"onImageError": {
|
|
148
|
-
"description": "
|
|
148
|
+
"description": "Image load error callback () => void"
|
|
149
149
|
},
|
|
150
150
|
"className": {
|
|
151
151
|
"type": "string",
|
|
152
|
-
"description": "
|
|
152
|
+
"description": "Style override"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
"additionalProperties": false,
|
|
156
|
-
"description": "
|
|
156
|
+
"description": "Avatar. Supports image, fallback text, and children."
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"danger"
|
|
174
174
|
],
|
|
175
175
|
"default": "primary",
|
|
176
|
-
"description": "
|
|
176
|
+
"description": "Color theme (primary=main, secondary=sub, normal=neutral, danger=danger)"
|
|
177
177
|
},
|
|
178
178
|
"variant": {
|
|
179
179
|
"type": "string",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"ghost"
|
|
185
185
|
],
|
|
186
186
|
"default": "contained",
|
|
187
|
-
"description": "
|
|
187
|
+
"description": "Visual style (contained=filled, outlined=border, subtle=light bg, ghost=transparent)"
|
|
188
188
|
},
|
|
189
189
|
"size": {
|
|
190
190
|
"type": "string",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"sm"
|
|
196
196
|
],
|
|
197
197
|
"default": "md",
|
|
198
|
-
"description": "
|
|
198
|
+
"description": "Size"
|
|
199
199
|
},
|
|
200
200
|
"radius": {
|
|
201
201
|
"type": "string",
|
|
@@ -204,25 +204,25 @@
|
|
|
204
204
|
"circle"
|
|
205
205
|
],
|
|
206
206
|
"default": "default",
|
|
207
|
-
"description": "
|
|
207
|
+
"description": "Corner radius (default=size-based radius, circle=pill shape)"
|
|
208
208
|
},
|
|
209
209
|
"asChild": {
|
|
210
210
|
"type": "boolean",
|
|
211
|
-
"description": "true
|
|
211
|
+
"description": "If true, renders as child element (Slot pattern)"
|
|
212
212
|
},
|
|
213
213
|
"detectDoubleClick": {
|
|
214
214
|
"type": "boolean",
|
|
215
|
-
"description": "
|
|
215
|
+
"description": "Prevent double click within 500ms"
|
|
216
216
|
},
|
|
217
217
|
"disabled": {
|
|
218
218
|
"type": "boolean",
|
|
219
|
-
"description": "
|
|
219
|
+
"description": "Disabled (auto aria-disabled)"
|
|
220
220
|
},
|
|
221
221
|
"children": {
|
|
222
|
-
"description": "
|
|
222
|
+
"description": "Button content (ReactNode)"
|
|
223
223
|
},
|
|
224
224
|
"onClick": {
|
|
225
|
-
"description": "
|
|
225
|
+
"description": "Click event handler"
|
|
226
226
|
},
|
|
227
227
|
"type": {
|
|
228
228
|
"type": "string",
|
|
@@ -231,18 +231,18 @@
|
|
|
231
231
|
"submit",
|
|
232
232
|
"reset"
|
|
233
233
|
],
|
|
234
|
-
"description": "HTML button type (
|
|
234
|
+
"description": "HTML button type (default: button)"
|
|
235
235
|
},
|
|
236
236
|
"style": {
|
|
237
|
-
"description": "
|
|
237
|
+
"description": "Inline style (CSSProperties)"
|
|
238
238
|
},
|
|
239
239
|
"className": {
|
|
240
240
|
"type": "string",
|
|
241
|
-
"description": "
|
|
241
|
+
"description": "Style override"
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
"additionalProperties": false,
|
|
245
|
-
"description": "
|
|
245
|
+
"description": "Interactive button. semantic(color) x variant(style) 2-axis system. Rendering element changeable via asChild."
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -256,25 +256,25 @@
|
|
|
256
256
|
"opts": {
|
|
257
257
|
"type": "object",
|
|
258
258
|
"additionalProperties": {},
|
|
259
|
-
"description": "Embla
|
|
259
|
+
"description": "Embla options (loop, align, etc.)"
|
|
260
260
|
},
|
|
261
261
|
"plugins": {
|
|
262
262
|
"type": "array",
|
|
263
|
-
"description": "Embla
|
|
263
|
+
"description": "Embla plugins"
|
|
264
264
|
},
|
|
265
265
|
"onApiChange": {
|
|
266
|
-
"description": "Embla API
|
|
266
|
+
"description": "Embla API change callback (api: CarouselApi) => void"
|
|
267
267
|
},
|
|
268
268
|
"children": {
|
|
269
|
-
"description": "
|
|
269
|
+
"description": "Carousel slides and sub-components (ReactNode)"
|
|
270
270
|
},
|
|
271
271
|
"className": {
|
|
272
272
|
"type": "string",
|
|
273
|
-
"description": "
|
|
273
|
+
"description": "Style override"
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
"additionalProperties": false,
|
|
277
|
-
"description": "
|
|
277
|
+
"description": "Carousel. Based on Embla Carousel. Sub-components: CarouselSlide, CarouselPrev, CarouselNext, CarouselDots."
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -287,14 +287,14 @@
|
|
|
287
287
|
"properties": {
|
|
288
288
|
"className": {
|
|
289
289
|
"type": "string",
|
|
290
|
-
"description": "
|
|
290
|
+
"description": "Slide style (use basis-1/3 etc. for multi-slide view)"
|
|
291
291
|
},
|
|
292
292
|
"children": {
|
|
293
|
-
"description": "
|
|
293
|
+
"description": "Slide content (ReactNode, required)"
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
"additionalProperties": false,
|
|
297
|
-
"description": "
|
|
297
|
+
"description": "Carousel slide. Used inside Carousel."
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -307,14 +307,14 @@
|
|
|
307
307
|
"properties": {
|
|
308
308
|
"className": {
|
|
309
309
|
"type": "string",
|
|
310
|
-
"description": "
|
|
310
|
+
"description": "Button style override"
|
|
311
311
|
},
|
|
312
312
|
"children": {
|
|
313
|
-
"description": "
|
|
313
|
+
"description": "Custom icon (ReactNode, default: chevron)"
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
"additionalProperties": false,
|
|
317
|
-
"description": "CarouselPrev / CarouselNext.
|
|
317
|
+
"description": "CarouselPrev / CarouselNext. Previous/next navigation buttons."
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
320
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -327,11 +327,11 @@
|
|
|
327
327
|
"properties": {
|
|
328
328
|
"className": {
|
|
329
329
|
"type": "string",
|
|
330
|
-
"description": "
|
|
330
|
+
"description": "Dot container style"
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
"additionalProperties": false,
|
|
334
|
-
"description": "CarouselDots.
|
|
334
|
+
"description": "CarouselDots. Slide indicator dots."
|
|
335
335
|
}
|
|
336
336
|
},
|
|
337
337
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"md"
|
|
350
350
|
],
|
|
351
351
|
"default": "md",
|
|
352
|
-
"description": "
|
|
352
|
+
"description": "Size"
|
|
353
353
|
},
|
|
354
354
|
"shape": {
|
|
355
355
|
"type": "string",
|
|
@@ -358,55 +358,55 @@
|
|
|
358
358
|
"round"
|
|
359
359
|
],
|
|
360
360
|
"default": "square",
|
|
361
|
-
"description": "
|
|
361
|
+
"description": "Shape"
|
|
362
362
|
},
|
|
363
363
|
"checked": {
|
|
364
364
|
"type": "boolean",
|
|
365
|
-
"description": "
|
|
365
|
+
"description": "Checked state"
|
|
366
366
|
},
|
|
367
367
|
"indeterminate": {
|
|
368
368
|
"type": "boolean",
|
|
369
|
-
"description": "
|
|
369
|
+
"description": "Indeterminate state (aria-checked=\"mixed\")"
|
|
370
370
|
},
|
|
371
371
|
"disabled": {
|
|
372
372
|
"type": "boolean",
|
|
373
|
-
"description": "
|
|
373
|
+
"description": "Disabled"
|
|
374
374
|
},
|
|
375
375
|
"readOnly": {
|
|
376
376
|
"type": "boolean",
|
|
377
|
-
"description": "
|
|
377
|
+
"description": "Read-only"
|
|
378
378
|
},
|
|
379
379
|
"label": {
|
|
380
|
-
"description": "
|
|
380
|
+
"description": "Label text (ReactNode)"
|
|
381
381
|
},
|
|
382
382
|
"children": {
|
|
383
|
-
"description": "
|
|
383
|
+
"description": "Label alternative content (ReactNode)"
|
|
384
384
|
},
|
|
385
385
|
"name": {
|
|
386
386
|
"type": "string",
|
|
387
|
-
"description": "
|
|
387
|
+
"description": "Form field name"
|
|
388
388
|
},
|
|
389
389
|
"id": {
|
|
390
390
|
"type": "string",
|
|
391
|
-
"description": "
|
|
391
|
+
"description": "Element ID"
|
|
392
392
|
},
|
|
393
393
|
"value": {
|
|
394
394
|
"type": "string",
|
|
395
|
-
"description": "
|
|
395
|
+
"description": "Value for form submission"
|
|
396
396
|
},
|
|
397
397
|
"onCheckedChange": {
|
|
398
|
-
"description": "
|
|
398
|
+
"description": "Checked state change callback (checked: boolean) => void"
|
|
399
399
|
},
|
|
400
400
|
"onChange": {
|
|
401
|
-
"description": "
|
|
401
|
+
"description": "Native change event handler"
|
|
402
402
|
},
|
|
403
403
|
"className": {
|
|
404
404
|
"type": "string",
|
|
405
|
-
"description": "
|
|
405
|
+
"description": "Style override"
|
|
406
406
|
}
|
|
407
407
|
},
|
|
408
408
|
"additionalProperties": false,
|
|
409
|
-
"description": "
|
|
409
|
+
"description": "Checkbox. Native input-based, supports square/round shapes."
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
412
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"accent"
|
|
427
427
|
],
|
|
428
428
|
"default": "default",
|
|
429
|
-
"description": "
|
|
429
|
+
"description": "Style"
|
|
430
430
|
},
|
|
431
431
|
"size": {
|
|
432
432
|
"type": "string",
|
|
@@ -436,32 +436,32 @@
|
|
|
436
436
|
"lg"
|
|
437
437
|
],
|
|
438
438
|
"default": "md",
|
|
439
|
-
"description": "
|
|
439
|
+
"description": "Size"
|
|
440
440
|
},
|
|
441
441
|
"asChild": {
|
|
442
442
|
"type": "boolean",
|
|
443
|
-
"description": "true
|
|
443
|
+
"description": "If true, renders as child element (Slot pattern)"
|
|
444
444
|
},
|
|
445
445
|
"disabled": {
|
|
446
446
|
"type": "boolean",
|
|
447
|
-
"description": "
|
|
447
|
+
"description": "Disabled (auto aria-disabled)"
|
|
448
448
|
},
|
|
449
449
|
"children": {
|
|
450
|
-
"description": "
|
|
450
|
+
"description": "Chip content (ReactNode)"
|
|
451
451
|
},
|
|
452
452
|
"onClose": {
|
|
453
|
-
"description": "
|
|
453
|
+
"description": "Close button click callback (e: MouseEvent) => void. Shows X button when provided"
|
|
454
454
|
},
|
|
455
455
|
"onClick": {
|
|
456
|
-
"description": "
|
|
456
|
+
"description": "Click event handler"
|
|
457
457
|
},
|
|
458
458
|
"className": {
|
|
459
459
|
"type": "string",
|
|
460
|
-
"description": "
|
|
460
|
+
"description": "Style override"
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
"additionalProperties": false,
|
|
464
|
-
"description": "
|
|
464
|
+
"description": "Chip/tag/badge. Close button displayed via onClose prop."
|
|
465
465
|
}
|
|
466
466
|
},
|
|
467
467
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -473,14 +473,14 @@
|
|
|
473
473
|
"type": "object",
|
|
474
474
|
"properties": {
|
|
475
475
|
"children": {
|
|
476
|
-
"description": "
|
|
476
|
+
"description": "Element to render only on client (ReactNode, required)"
|
|
477
477
|
},
|
|
478
478
|
"fallback": {
|
|
479
|
-
"description": "
|
|
479
|
+
"description": "Fallback UI during SSR (ReactNode, default: null)"
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
482
|
"additionalProperties": false,
|
|
483
|
-
"description": "
|
|
483
|
+
"description": "Client-only rendering. Prevents hydration mismatch in SSR environments."
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -493,16 +493,16 @@
|
|
|
493
493
|
"properties": {
|
|
494
494
|
"endTimestamp": {
|
|
495
495
|
"type": "number",
|
|
496
|
-
"description": "
|
|
496
|
+
"description": "End time (Unix ms, required)"
|
|
497
497
|
},
|
|
498
498
|
"separator": {
|
|
499
499
|
"default": ":",
|
|
500
|
-
"description": "
|
|
500
|
+
"description": "Separator (ReactNode)"
|
|
501
501
|
},
|
|
502
502
|
"showDays": {
|
|
503
503
|
"type": "boolean",
|
|
504
504
|
"default": true,
|
|
505
|
-
"description": "
|
|
505
|
+
"description": "Show days unit"
|
|
506
506
|
},
|
|
507
507
|
"labels": {
|
|
508
508
|
"type": "object",
|
|
@@ -521,24 +521,24 @@
|
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
"additionalProperties": false,
|
|
524
|
-
"description": "
|
|
524
|
+
"description": "Unit labels"
|
|
525
525
|
},
|
|
526
526
|
"render": {
|
|
527
|
-
"description": "
|
|
527
|
+
"description": "Custom render function"
|
|
528
528
|
},
|
|
529
529
|
"onEnd": {
|
|
530
|
-
"description": "
|
|
530
|
+
"description": "Countdown end callback () => void"
|
|
531
531
|
},
|
|
532
532
|
"className": {
|
|
533
533
|
"type": "string",
|
|
534
|
-
"description": "
|
|
534
|
+
"description": "Style override"
|
|
535
535
|
}
|
|
536
536
|
},
|
|
537
537
|
"required": [
|
|
538
538
|
"endTimestamp"
|
|
539
539
|
],
|
|
540
540
|
"additionalProperties": false,
|
|
541
|
-
"description": "
|
|
541
|
+
"description": "Countdown timer."
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -551,54 +551,54 @@
|
|
|
551
551
|
"properties": {
|
|
552
552
|
"endValue": {
|
|
553
553
|
"type": "number",
|
|
554
|
-
"description": "
|
|
554
|
+
"description": "Target value (required)"
|
|
555
555
|
},
|
|
556
556
|
"startValue": {
|
|
557
557
|
"type": "number",
|
|
558
558
|
"default": 0,
|
|
559
|
-
"description": "
|
|
559
|
+
"description": "Start value"
|
|
560
560
|
},
|
|
561
561
|
"duration": {
|
|
562
562
|
"type": "number",
|
|
563
563
|
"default": 1500,
|
|
564
|
-
"description": "
|
|
564
|
+
"description": "Animation duration (ms)"
|
|
565
565
|
},
|
|
566
566
|
"delay": {
|
|
567
567
|
"type": "number",
|
|
568
568
|
"default": 0,
|
|
569
|
-
"description": "
|
|
569
|
+
"description": "Start delay (ms)"
|
|
570
570
|
},
|
|
571
571
|
"separator": {
|
|
572
572
|
"type": "boolean",
|
|
573
573
|
"default": true,
|
|
574
|
-
"description": "
|
|
574
|
+
"description": "Thousands separator"
|
|
575
575
|
},
|
|
576
576
|
"digits": {
|
|
577
577
|
"type": "number",
|
|
578
578
|
"default": 0,
|
|
579
|
-
"description": "
|
|
579
|
+
"description": "Decimal places"
|
|
580
580
|
},
|
|
581
581
|
"triggerOnView": {
|
|
582
582
|
"type": "boolean",
|
|
583
583
|
"default": false,
|
|
584
|
-
"description": "
|
|
584
|
+
"description": "Start on viewport entry"
|
|
585
585
|
},
|
|
586
586
|
"onEnd": {
|
|
587
|
-
"description": "
|
|
587
|
+
"description": "Count complete callback () => void"
|
|
588
588
|
},
|
|
589
589
|
"style": {
|
|
590
|
-
"description": "
|
|
590
|
+
"description": "Inline style (CSSProperties)"
|
|
591
591
|
},
|
|
592
592
|
"className": {
|
|
593
593
|
"type": "string",
|
|
594
|
-
"description": "
|
|
594
|
+
"description": "Style override"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"required": [
|
|
598
598
|
"endValue"
|
|
599
599
|
],
|
|
600
600
|
"additionalProperties": false,
|
|
601
|
-
"description": "
|
|
601
|
+
"description": "Number count animation."
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -618,43 +618,43 @@
|
|
|
618
618
|
"type": "null"
|
|
619
619
|
}
|
|
620
620
|
],
|
|
621
|
-
"description": "
|
|
621
|
+
"description": "Data array to render. null = loading state (required)"
|
|
622
622
|
},
|
|
623
623
|
"noDataMessage": {
|
|
624
|
-
"description": "
|
|
624
|
+
"description": "Message for empty array (string | ReactElement)"
|
|
625
625
|
},
|
|
626
626
|
"errorFallback": {
|
|
627
|
-
"description": "
|
|
627
|
+
"description": "Fallback on error (ReactNode)"
|
|
628
628
|
},
|
|
629
629
|
"loadingElement": {
|
|
630
|
-
"description": "
|
|
630
|
+
"description": "Custom loading element (default: Spinner)"
|
|
631
631
|
},
|
|
632
632
|
"skeletonElement": {
|
|
633
|
-
"description": "
|
|
633
|
+
"description": "Skeleton element during loading (ReactElement)"
|
|
634
634
|
},
|
|
635
635
|
"skeletonCount": {
|
|
636
636
|
"type": "number",
|
|
637
637
|
"default": 3,
|
|
638
|
-
"description": "
|
|
638
|
+
"description": "Skeleton repeat count"
|
|
639
639
|
},
|
|
640
640
|
"loading": {
|
|
641
641
|
"type": "boolean",
|
|
642
642
|
"default": false,
|
|
643
|
-
"description": "
|
|
643
|
+
"description": "Force loading state"
|
|
644
644
|
},
|
|
645
645
|
"children": {
|
|
646
|
-
"description": "
|
|
646
|
+
"description": "Item render function: ({ item, index }) => ReactNode (required)"
|
|
647
647
|
},
|
|
648
648
|
"className": {
|
|
649
649
|
"type": "string",
|
|
650
|
-
"description": "
|
|
650
|
+
"description": "Root element style"
|
|
651
651
|
}
|
|
652
652
|
},
|
|
653
653
|
"required": [
|
|
654
654
|
"list"
|
|
655
655
|
],
|
|
656
656
|
"additionalProperties": false,
|
|
657
|
-
"description": "
|
|
657
|
+
"description": "Data list. Automatically handles loading/skeleton/empty/data states based on list. Built-in ErrorBoundary."
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
660
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
"vertical"
|
|
673
673
|
],
|
|
674
674
|
"default": "horizontal",
|
|
675
|
-
"description": "
|
|
675
|
+
"description": "Direction"
|
|
676
676
|
},
|
|
677
677
|
"variant": {
|
|
678
678
|
"type": "string",
|
|
@@ -682,22 +682,22 @@
|
|
|
682
682
|
"dotted"
|
|
683
683
|
],
|
|
684
684
|
"default": "solid",
|
|
685
|
-
"description": "
|
|
685
|
+
"description": "Line style"
|
|
686
686
|
},
|
|
687
687
|
"color": {
|
|
688
688
|
"type": "string",
|
|
689
|
-
"description": "
|
|
689
|
+
"description": "Custom color (CSS value)"
|
|
690
690
|
},
|
|
691
691
|
"style": {
|
|
692
|
-
"description": "
|
|
692
|
+
"description": "Inline style (CSSProperties)"
|
|
693
693
|
},
|
|
694
694
|
"className": {
|
|
695
695
|
"type": "string",
|
|
696
|
-
"description": "
|
|
696
|
+
"description": "Style override"
|
|
697
697
|
}
|
|
698
698
|
},
|
|
699
699
|
"additionalProperties": false,
|
|
700
|
-
"description": "
|
|
700
|
+
"description": "Divider. Supports horizontal/vertical, solid/dashed/dotted."
|
|
701
701
|
}
|
|
702
702
|
},
|
|
703
703
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -717,33 +717,33 @@
|
|
|
717
717
|
"right"
|
|
718
718
|
],
|
|
719
719
|
"default": "bottom",
|
|
720
|
-
"description": "
|
|
720
|
+
"description": "Direction"
|
|
721
721
|
},
|
|
722
722
|
"open": {
|
|
723
723
|
"type": "boolean",
|
|
724
|
-
"description": "
|
|
724
|
+
"description": "Open state (controlled mode)"
|
|
725
725
|
},
|
|
726
726
|
"onOpenChange": {
|
|
727
|
-
"description": "
|
|
727
|
+
"description": "Open state change callback (open: boolean) => void"
|
|
728
728
|
},
|
|
729
729
|
"dismissible": {
|
|
730
730
|
"type": "boolean",
|
|
731
|
-
"description": "
|
|
731
|
+
"description": "Allow close via swipe/outside click (default true)"
|
|
732
732
|
},
|
|
733
733
|
"modal": {
|
|
734
734
|
"type": "boolean",
|
|
735
|
-
"description": "
|
|
735
|
+
"description": "Modal mode (default true). If false, background is interactive"
|
|
736
736
|
},
|
|
737
737
|
"shouldScaleBackground": {
|
|
738
738
|
"type": "boolean",
|
|
739
|
-
"description": "
|
|
739
|
+
"description": "Background scale effect (default false)"
|
|
740
740
|
},
|
|
741
741
|
"children": {
|
|
742
|
-
"description": "Drawer
|
|
742
|
+
"description": "Drawer sub-components (ReactNode, required)"
|
|
743
743
|
}
|
|
744
744
|
},
|
|
745
745
|
"additionalProperties": false,
|
|
746
|
-
"description": "
|
|
746
|
+
"description": "Drawer/bottom sheet. Based on Vaul. Compound component pattern."
|
|
747
747
|
}
|
|
748
748
|
},
|
|
749
749
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
"right"
|
|
764
764
|
],
|
|
765
765
|
"default": "bottom",
|
|
766
|
-
"description": "
|
|
766
|
+
"description": "Direction (Context takes priority)"
|
|
767
767
|
},
|
|
768
768
|
"blur": {
|
|
769
769
|
"type": "string",
|
|
@@ -773,27 +773,27 @@
|
|
|
773
773
|
"md"
|
|
774
774
|
],
|
|
775
775
|
"default": "none",
|
|
776
|
-
"description": "
|
|
776
|
+
"description": "Overlay blur"
|
|
777
777
|
},
|
|
778
778
|
"showHandle": {
|
|
779
779
|
"type": "boolean",
|
|
780
780
|
"default": true,
|
|
781
|
-
"description": "
|
|
781
|
+
"description": "Show handle bar"
|
|
782
782
|
},
|
|
783
783
|
"children": {
|
|
784
|
-
"description": "
|
|
784
|
+
"description": "Content area (ReactNode)"
|
|
785
785
|
},
|
|
786
786
|
"overlayClassName": {
|
|
787
787
|
"type": "string",
|
|
788
|
-
"description": "
|
|
788
|
+
"description": "Overlay style"
|
|
789
789
|
},
|
|
790
790
|
"className": {
|
|
791
791
|
"type": "string",
|
|
792
|
-
"description": "
|
|
792
|
+
"description": "Panel style"
|
|
793
793
|
}
|
|
794
794
|
},
|
|
795
795
|
"additionalProperties": false,
|
|
796
|
-
"description": "Drawer.Content
|
|
796
|
+
"description": "Drawer.Content area."
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
799
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -806,18 +806,18 @@
|
|
|
806
806
|
"properties": {
|
|
807
807
|
"asChild": {
|
|
808
808
|
"type": "boolean",
|
|
809
|
-
"description": "
|
|
809
|
+
"description": "Render as child element"
|
|
810
810
|
},
|
|
811
811
|
"children": {
|
|
812
|
-
"description": "
|
|
812
|
+
"description": "Trigger element (ReactNode, required)"
|
|
813
813
|
},
|
|
814
814
|
"className": {
|
|
815
815
|
"type": "string",
|
|
816
|
-
"description": "
|
|
816
|
+
"description": "Style override"
|
|
817
817
|
}
|
|
818
818
|
},
|
|
819
819
|
"additionalProperties": false,
|
|
820
|
-
"description": "Drawer
|
|
820
|
+
"description": "Drawer open trigger."
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -830,18 +830,18 @@
|
|
|
830
830
|
"properties": {
|
|
831
831
|
"asChild": {
|
|
832
832
|
"type": "boolean",
|
|
833
|
-
"description": "
|
|
833
|
+
"description": "Render as child element"
|
|
834
834
|
},
|
|
835
835
|
"children": {
|
|
836
|
-
"description": "
|
|
836
|
+
"description": "Close element (ReactNode, required)"
|
|
837
837
|
},
|
|
838
838
|
"className": {
|
|
839
839
|
"type": "string",
|
|
840
|
-
"description": "
|
|
840
|
+
"description": "Style override"
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
843
|
"additionalProperties": false,
|
|
844
|
-
"description": "Drawer
|
|
844
|
+
"description": "Drawer close button."
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
847
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -853,15 +853,15 @@
|
|
|
853
853
|
"type": "object",
|
|
854
854
|
"properties": {
|
|
855
855
|
"children": {
|
|
856
|
-
"description": "
|
|
856
|
+
"description": "Title text (ReactNode, required)"
|
|
857
857
|
},
|
|
858
858
|
"className": {
|
|
859
859
|
"type": "string",
|
|
860
|
-
"description": "
|
|
860
|
+
"description": "Style override"
|
|
861
861
|
}
|
|
862
862
|
},
|
|
863
863
|
"additionalProperties": false,
|
|
864
|
-
"description": "Drawer
|
|
864
|
+
"description": "Drawer title (required for accessibility)."
|
|
865
865
|
}
|
|
866
866
|
},
|
|
867
867
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -873,15 +873,15 @@
|
|
|
873
873
|
"type": "object",
|
|
874
874
|
"properties": {
|
|
875
875
|
"children": {
|
|
876
|
-
"description": "
|
|
876
|
+
"description": "Description text (ReactNode, required)"
|
|
877
877
|
},
|
|
878
878
|
"className": {
|
|
879
879
|
"type": "string",
|
|
880
|
-
"description": "
|
|
880
|
+
"description": "Style override"
|
|
881
881
|
}
|
|
882
882
|
},
|
|
883
883
|
"additionalProperties": false,
|
|
884
|
-
"description": "Drawer
|
|
884
|
+
"description": "Drawer description."
|
|
885
885
|
}
|
|
886
886
|
},
|
|
887
887
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -894,43 +894,43 @@
|
|
|
894
894
|
"properties": {
|
|
895
895
|
"content": {
|
|
896
896
|
"default": "",
|
|
897
|
-
"description": "
|
|
897
|
+
"description": "Body text (ReactNode)"
|
|
898
898
|
},
|
|
899
899
|
"lineClamp": {
|
|
900
900
|
"type": "number",
|
|
901
901
|
"default": 2,
|
|
902
|
-
"description": "
|
|
902
|
+
"description": "Line clamp limit"
|
|
903
903
|
},
|
|
904
904
|
"triggerMore": {
|
|
905
905
|
"default": "more",
|
|
906
|
-
"description": "
|
|
906
|
+
"description": "Show more text (ReactNode)"
|
|
907
907
|
},
|
|
908
908
|
"triggerLess": {
|
|
909
909
|
"default": "less",
|
|
910
|
-
"description": "
|
|
910
|
+
"description": "Show less text (ReactNode)"
|
|
911
911
|
},
|
|
912
912
|
"defaultShortened": {
|
|
913
913
|
"type": "boolean",
|
|
914
914
|
"default": true,
|
|
915
|
-
"description": "
|
|
915
|
+
"description": "Initial collapsed state"
|
|
916
916
|
},
|
|
917
917
|
"observingEnvs": {
|
|
918
918
|
"type": "array",
|
|
919
919
|
"items": {
|
|
920
920
|
"type": "boolean"
|
|
921
921
|
},
|
|
922
|
-
"description": "
|
|
922
|
+
"description": "Re-measure on external condition change"
|
|
923
923
|
},
|
|
924
924
|
"onShowMoreLessClick": {
|
|
925
|
-
"description": "
|
|
925
|
+
"description": "Show more/less click callback () => void"
|
|
926
926
|
},
|
|
927
927
|
"className": {
|
|
928
928
|
"type": "string",
|
|
929
|
-
"description": "
|
|
929
|
+
"description": "Style override"
|
|
930
930
|
}
|
|
931
931
|
},
|
|
932
932
|
"additionalProperties": false,
|
|
933
|
-
"description": "
|
|
933
|
+
"description": "Text ellipsis. Built-in show more/less toggle."
|
|
934
934
|
}
|
|
935
935
|
},
|
|
936
936
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -942,17 +942,17 @@
|
|
|
942
942
|
"type": "object",
|
|
943
943
|
"properties": {
|
|
944
944
|
"children": {
|
|
945
|
-
"description": "
|
|
945
|
+
"description": "Child elements to wrap (ReactNode, required)"
|
|
946
946
|
},
|
|
947
947
|
"fallback": {
|
|
948
|
-
"description": "
|
|
948
|
+
"description": "Fallback UI on error (ReactNode)"
|
|
949
949
|
},
|
|
950
950
|
"onError": {
|
|
951
|
-
"description": "
|
|
951
|
+
"description": "Error callback (error: Error, errorInfo: ErrorInfo) => void"
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
"additionalProperties": false,
|
|
955
|
-
"description": "
|
|
955
|
+
"description": "Error boundary. Catches child component render errors and displays fallback UI."
|
|
956
956
|
}
|
|
957
957
|
},
|
|
958
958
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -972,52 +972,52 @@
|
|
|
972
972
|
"type": "null"
|
|
973
973
|
}
|
|
974
974
|
],
|
|
975
|
-
"description": "
|
|
975
|
+
"description": "Current data array (required)"
|
|
976
976
|
},
|
|
977
977
|
"totalCount": {
|
|
978
978
|
"type": "number",
|
|
979
|
-
"description": "
|
|
979
|
+
"description": "Total count (mutually exclusive with hasMore)"
|
|
980
980
|
},
|
|
981
981
|
"hasMore": {
|
|
982
982
|
"type": "boolean",
|
|
983
|
-
"description": "
|
|
983
|
+
"description": "Has more items (mutually exclusive with totalCount)"
|
|
984
984
|
},
|
|
985
985
|
"tag": {
|
|
986
986
|
"type": "string",
|
|
987
987
|
"default": "div",
|
|
988
|
-
"description": "
|
|
988
|
+
"description": "Children wrapper tag"
|
|
989
989
|
},
|
|
990
990
|
"rootMargin": {
|
|
991
991
|
"type": "number",
|
|
992
992
|
"default": 100,
|
|
993
|
-
"description": "
|
|
993
|
+
"description": "Detection margin (px)"
|
|
994
994
|
},
|
|
995
995
|
"loading": {
|
|
996
996
|
"type": "boolean",
|
|
997
|
-
"description": "
|
|
997
|
+
"description": "Loading state"
|
|
998
998
|
},
|
|
999
999
|
"loadingElement": {
|
|
1000
|
-
"description": "
|
|
1000
|
+
"description": "Custom loading element"
|
|
1001
1001
|
},
|
|
1002
1002
|
"handleLoadMore": {
|
|
1003
|
-
"description": "
|
|
1003
|
+
"description": "Load more callback () => void, required"
|
|
1004
1004
|
},
|
|
1005
1005
|
"scrollTarget": {
|
|
1006
|
-
"description": "
|
|
1006
|
+
"description": "Scroll target element (HTMLElement | Document | MutableRefObject)"
|
|
1007
1007
|
},
|
|
1008
1008
|
"children": {
|
|
1009
|
-
"description": "
|
|
1009
|
+
"description": "List item rendering (ReactNode, required)"
|
|
1010
1010
|
},
|
|
1011
1011
|
"className": {
|
|
1012
1012
|
"type": "string",
|
|
1013
|
-
"description": "
|
|
1013
|
+
"description": "Style override"
|
|
1014
1014
|
}
|
|
1015
1015
|
},
|
|
1016
1016
|
"required": [
|
|
1017
1017
|
"list"
|
|
1018
1018
|
],
|
|
1019
1019
|
"additionalProperties": false,
|
|
1020
|
-
"description": "
|
|
1020
|
+
"description": "Infinite scroll. Based on IntersectionObserver."
|
|
1021
1021
|
}
|
|
1022
1022
|
},
|
|
1023
1023
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1037,36 +1037,36 @@
|
|
|
1037
1037
|
"down"
|
|
1038
1038
|
],
|
|
1039
1039
|
"default": "left",
|
|
1040
|
-
"description": "
|
|
1040
|
+
"description": "Direction"
|
|
1041
1041
|
},
|
|
1042
1042
|
"speed": {
|
|
1043
1043
|
"type": "number",
|
|
1044
1044
|
"default": 40,
|
|
1045
|
-
"description": "
|
|
1045
|
+
"description": "Animation speed (seconds)"
|
|
1046
1046
|
},
|
|
1047
1047
|
"pauseOnHover": {
|
|
1048
1048
|
"type": "boolean",
|
|
1049
1049
|
"default": false,
|
|
1050
|
-
"description": "
|
|
1050
|
+
"description": "Pause on hover"
|
|
1051
1051
|
},
|
|
1052
1052
|
"gap": {
|
|
1053
1053
|
"type": "number",
|
|
1054
1054
|
"default": 16,
|
|
1055
|
-
"description": "
|
|
1055
|
+
"description": "Item gap (px)"
|
|
1056
1056
|
},
|
|
1057
1057
|
"children": {
|
|
1058
|
-
"description": "
|
|
1058
|
+
"description": "Content to repeat (ReactNode, required)"
|
|
1059
1059
|
},
|
|
1060
1060
|
"style": {
|
|
1061
|
-
"description": "
|
|
1061
|
+
"description": "Inline style (CSSProperties)"
|
|
1062
1062
|
},
|
|
1063
1063
|
"className": {
|
|
1064
1064
|
"type": "string",
|
|
1065
|
-
"description": "
|
|
1065
|
+
"description": "Style override"
|
|
1066
1066
|
}
|
|
1067
1067
|
},
|
|
1068
1068
|
"additionalProperties": false,
|
|
1069
|
-
"description": "
|
|
1069
|
+
"description": "Marquee (scrolling text/elements)."
|
|
1070
1070
|
}
|
|
1071
1071
|
},
|
|
1072
1072
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1078,10 +1078,10 @@
|
|
|
1078
1078
|
"type": "object",
|
|
1079
1079
|
"properties": {
|
|
1080
1080
|
"title": {
|
|
1081
|
-
"description": "
|
|
1081
|
+
"description": "Header title (ReactNode)"
|
|
1082
1082
|
},
|
|
1083
1083
|
"desc": {
|
|
1084
|
-
"description": "
|
|
1084
|
+
"description": "Header description (ReactNode)"
|
|
1085
1085
|
},
|
|
1086
1086
|
"layout": {
|
|
1087
1087
|
"type": "string",
|
|
@@ -1095,104 +1095,104 @@
|
|
|
1095
1095
|
"draggable"
|
|
1096
1096
|
],
|
|
1097
1097
|
"default": "default",
|
|
1098
|
-
"description": "
|
|
1098
|
+
"description": "Layout"
|
|
1099
1099
|
},
|
|
1100
1100
|
"showDim": {
|
|
1101
1101
|
"type": "boolean",
|
|
1102
1102
|
"default": true,
|
|
1103
|
-
"description": "
|
|
1103
|
+
"description": "Show dim overlay"
|
|
1104
1104
|
},
|
|
1105
1105
|
"dimClose": {
|
|
1106
1106
|
"type": "boolean",
|
|
1107
1107
|
"default": true,
|
|
1108
|
-
"description": "
|
|
1108
|
+
"description": "Close on dim click"
|
|
1109
1109
|
},
|
|
1110
1110
|
"hideHeader": {
|
|
1111
1111
|
"type": "boolean",
|
|
1112
1112
|
"default": false,
|
|
1113
|
-
"description": "
|
|
1113
|
+
"description": "Hide header"
|
|
1114
1114
|
},
|
|
1115
1115
|
"hideFooter": {
|
|
1116
1116
|
"type": "boolean",
|
|
1117
1117
|
"default": true,
|
|
1118
|
-
"description": "
|
|
1118
|
+
"description": "Hide footer"
|
|
1119
1119
|
},
|
|
1120
1120
|
"footer": {
|
|
1121
|
-
"description": "
|
|
1121
|
+
"description": "Custom footer (ReactElement)"
|
|
1122
1122
|
},
|
|
1123
1123
|
"animation": {
|
|
1124
1124
|
"type": "object",
|
|
1125
1125
|
"properties": {
|
|
1126
1126
|
"name": {
|
|
1127
1127
|
"type": "string",
|
|
1128
|
-
"description": "
|
|
1128
|
+
"description": "Animation name"
|
|
1129
1129
|
},
|
|
1130
1130
|
"mobile": {
|
|
1131
1131
|
"type": "string",
|
|
1132
|
-
"description": "
|
|
1132
|
+
"description": "Mobile animation name"
|
|
1133
1133
|
},
|
|
1134
1134
|
"delay": {
|
|
1135
1135
|
"type": "number",
|
|
1136
|
-
"description": "
|
|
1136
|
+
"description": "Delay (ms)"
|
|
1137
1137
|
},
|
|
1138
1138
|
"duration": {
|
|
1139
1139
|
"type": "number",
|
|
1140
|
-
"description": "
|
|
1140
|
+
"description": "Duration (ms)"
|
|
1141
1141
|
},
|
|
1142
1142
|
"timingFunc": {
|
|
1143
1143
|
"type": "string",
|
|
1144
|
-
"description": "
|
|
1144
|
+
"description": "Timing function"
|
|
1145
1145
|
},
|
|
1146
1146
|
"leaveTimingFunc": {
|
|
1147
1147
|
"type": "string",
|
|
1148
|
-
"description": "
|
|
1148
|
+
"description": "Exit timing function"
|
|
1149
1149
|
}
|
|
1150
1150
|
},
|
|
1151
1151
|
"additionalProperties": false,
|
|
1152
|
-
"description": "
|
|
1152
|
+
"description": "Modal animation"
|
|
1153
1153
|
},
|
|
1154
1154
|
"enableDrag": {
|
|
1155
1155
|
"type": "boolean",
|
|
1156
1156
|
"default": true,
|
|
1157
|
-
"description": "
|
|
1157
|
+
"description": "Enable drag (bottom-sheet/draggable layouts)"
|
|
1158
1158
|
},
|
|
1159
1159
|
"dragPersistKey": {
|
|
1160
1160
|
"type": "string",
|
|
1161
|
-
"description": "
|
|
1161
|
+
"description": "Drag position persistence key"
|
|
1162
1162
|
},
|
|
1163
1163
|
"close": {
|
|
1164
|
-
"description": "
|
|
1164
|
+
"description": "Modal close function (isAnimation?: boolean) => void (auto-injected)"
|
|
1165
1165
|
},
|
|
1166
1166
|
"children": {
|
|
1167
|
-
"description": "
|
|
1167
|
+
"description": "Modal body (ReactNode, required)"
|
|
1168
1168
|
},
|
|
1169
1169
|
"className": {
|
|
1170
1170
|
"type": "string",
|
|
1171
|
-
"description": "
|
|
1171
|
+
"description": "Root wrapper style"
|
|
1172
1172
|
},
|
|
1173
1173
|
"innerClassName": {
|
|
1174
1174
|
"type": "string",
|
|
1175
|
-
"description": "
|
|
1175
|
+
"description": "Modal body style"
|
|
1176
1176
|
},
|
|
1177
1177
|
"bodyClassName": {
|
|
1178
1178
|
"type": "string",
|
|
1179
|
-
"description": "
|
|
1179
|
+
"description": "Body area style"
|
|
1180
1180
|
},
|
|
1181
1181
|
"footerClassName": {
|
|
1182
1182
|
"type": "string",
|
|
1183
|
-
"description": "
|
|
1183
|
+
"description": "Footer area style"
|
|
1184
1184
|
},
|
|
1185
1185
|
"dimClassName": {
|
|
1186
1186
|
"type": "string",
|
|
1187
|
-
"description": "
|
|
1187
|
+
"description": "Dim overlay style"
|
|
1188
1188
|
},
|
|
1189
1189
|
"headerClassName": {
|
|
1190
1190
|
"type": "string",
|
|
1191
|
-
"description": "
|
|
1191
|
+
"description": "Header area style"
|
|
1192
1192
|
}
|
|
1193
1193
|
},
|
|
1194
1194
|
"additionalProperties": false,
|
|
1195
|
-
"description": "
|
|
1195
|
+
"description": "Modal template. All modal components must be wrapped with ModalTemplate."
|
|
1196
1196
|
}
|
|
1197
1197
|
},
|
|
1198
1198
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1204,16 +1204,16 @@
|
|
|
1204
1204
|
"type": "object",
|
|
1205
1205
|
"properties": {
|
|
1206
1206
|
"component": {
|
|
1207
|
-
"description": "
|
|
1207
|
+
"description": "Modal component (required). Automatically receives close/resolve as props"
|
|
1208
1208
|
},
|
|
1209
1209
|
"props": {
|
|
1210
1210
|
"type": "object",
|
|
1211
1211
|
"additionalProperties": {},
|
|
1212
|
-
"description": "
|
|
1212
|
+
"description": "Props to pass to component"
|
|
1213
1213
|
},
|
|
1214
1214
|
"id": {
|
|
1215
1215
|
"type": "string",
|
|
1216
|
-
"description": "
|
|
1216
|
+
"description": "Modal ID (used for duplicate check)"
|
|
1217
1217
|
},
|
|
1218
1218
|
"layout": {
|
|
1219
1219
|
"type": "string",
|
|
@@ -1226,72 +1226,72 @@
|
|
|
1226
1226
|
"full-page-reverse",
|
|
1227
1227
|
"draggable"
|
|
1228
1228
|
],
|
|
1229
|
-
"description": "
|
|
1229
|
+
"description": "Layout"
|
|
1230
1230
|
},
|
|
1231
1231
|
"animation": {
|
|
1232
1232
|
"type": "object",
|
|
1233
1233
|
"properties": {
|
|
1234
1234
|
"name": {
|
|
1235
1235
|
"type": "string",
|
|
1236
|
-
"description": "
|
|
1236
|
+
"description": "Animation name"
|
|
1237
1237
|
},
|
|
1238
1238
|
"mobile": {
|
|
1239
1239
|
"type": "string",
|
|
1240
|
-
"description": "
|
|
1240
|
+
"description": "Mobile animation name"
|
|
1241
1241
|
},
|
|
1242
1242
|
"delay": {
|
|
1243
1243
|
"type": "number",
|
|
1244
|
-
"description": "
|
|
1244
|
+
"description": "Delay (ms)"
|
|
1245
1245
|
},
|
|
1246
1246
|
"duration": {
|
|
1247
1247
|
"type": "number",
|
|
1248
|
-
"description": "
|
|
1248
|
+
"description": "Duration (ms)"
|
|
1249
1249
|
},
|
|
1250
1250
|
"timingFunc": {
|
|
1251
1251
|
"type": "string",
|
|
1252
|
-
"description": "
|
|
1252
|
+
"description": "Timing function"
|
|
1253
1253
|
},
|
|
1254
1254
|
"leaveTimingFunc": {
|
|
1255
1255
|
"type": "string",
|
|
1256
|
-
"description": "
|
|
1256
|
+
"description": "Exit timing function"
|
|
1257
1257
|
}
|
|
1258
1258
|
},
|
|
1259
1259
|
"additionalProperties": false,
|
|
1260
|
-
"description": "
|
|
1260
|
+
"description": "Modal animation"
|
|
1261
1261
|
},
|
|
1262
1262
|
"scrollEnable": {
|
|
1263
1263
|
"type": "boolean",
|
|
1264
|
-
"description": "
|
|
1264
|
+
"description": "Allow background scroll"
|
|
1265
1265
|
},
|
|
1266
1266
|
"isToggle": {
|
|
1267
1267
|
"type": "boolean",
|
|
1268
|
-
"description": "
|
|
1268
|
+
"description": "Toggle mode (close on re-call of same modal)"
|
|
1269
1269
|
},
|
|
1270
1270
|
"isAlone": {
|
|
1271
1271
|
"type": "boolean",
|
|
1272
|
-
"description": "
|
|
1272
|
+
"description": "Alone mode (close all existing modals before opening)"
|
|
1273
1273
|
},
|
|
1274
1274
|
"duplicateCheck": {
|
|
1275
1275
|
"type": "boolean",
|
|
1276
|
-
"description": "
|
|
1276
|
+
"description": "Prevent duplicate opening of same component"
|
|
1277
1277
|
},
|
|
1278
1278
|
"disableEscapeKeyPress": {
|
|
1279
1279
|
"type": "boolean",
|
|
1280
|
-
"description": "
|
|
1280
|
+
"description": "Disable close via ESC key"
|
|
1281
1281
|
},
|
|
1282
1282
|
"componentName": {
|
|
1283
1283
|
"type": "string",
|
|
1284
|
-
"description": "
|
|
1284
|
+
"description": "Modal identifier name (used for duplicate check, modal search)"
|
|
1285
1285
|
},
|
|
1286
1286
|
"onOpen": {
|
|
1287
|
-
"description": "
|
|
1287
|
+
"description": "Callback when modal opens"
|
|
1288
1288
|
},
|
|
1289
1289
|
"onClose": {
|
|
1290
|
-
"description": "
|
|
1290
|
+
"description": "Callback when modal closes"
|
|
1291
1291
|
}
|
|
1292
1292
|
},
|
|
1293
1293
|
"additionalProperties": false,
|
|
1294
|
-
"description": "modal()
|
|
1294
|
+
"description": "modal() function call options. component automatically receives close/resolve as props."
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
1297
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1307,7 +1307,7 @@
|
|
|
1307
1307
|
"number",
|
|
1308
1308
|
"string"
|
|
1309
1309
|
],
|
|
1310
|
-
"description": "
|
|
1310
|
+
"description": "Current value"
|
|
1311
1311
|
},
|
|
1312
1312
|
"size": {
|
|
1313
1313
|
"type": "string",
|
|
@@ -1318,75 +1318,75 @@
|
|
|
1318
1318
|
"xl"
|
|
1319
1319
|
],
|
|
1320
1320
|
"default": "md",
|
|
1321
|
-
"description": "
|
|
1321
|
+
"description": "Size"
|
|
1322
1322
|
},
|
|
1323
1323
|
"error": {
|
|
1324
1324
|
"type": "boolean",
|
|
1325
|
-
"description": "
|
|
1325
|
+
"description": "Error state"
|
|
1326
1326
|
},
|
|
1327
1327
|
"min": {
|
|
1328
1328
|
"type": "number",
|
|
1329
|
-
"description": "
|
|
1329
|
+
"description": "Minimum value"
|
|
1330
1330
|
},
|
|
1331
1331
|
"max": {
|
|
1332
1332
|
"type": "number",
|
|
1333
|
-
"description": "
|
|
1333
|
+
"description": "Maximum value"
|
|
1334
1334
|
},
|
|
1335
1335
|
"step": {
|
|
1336
1336
|
"type": "number",
|
|
1337
1337
|
"default": 1,
|
|
1338
|
-
"description": "
|
|
1338
|
+
"description": "Step increment"
|
|
1339
1339
|
},
|
|
1340
1340
|
"digit": {
|
|
1341
1341
|
"type": "number",
|
|
1342
1342
|
"default": 0,
|
|
1343
|
-
"description": "
|
|
1343
|
+
"description": "Decimal places"
|
|
1344
1344
|
},
|
|
1345
1345
|
"hideButtons": {
|
|
1346
1346
|
"type": "boolean",
|
|
1347
1347
|
"default": false,
|
|
1348
|
-
"description": "
|
|
1348
|
+
"description": "Hide default spin buttons. Use with numberInputBind for external button event binding"
|
|
1349
1349
|
},
|
|
1350
1350
|
"disabled": {
|
|
1351
1351
|
"type": "boolean",
|
|
1352
|
-
"description": "
|
|
1352
|
+
"description": "Disabled"
|
|
1353
1353
|
},
|
|
1354
1354
|
"readOnly": {
|
|
1355
1355
|
"type": "boolean",
|
|
1356
|
-
"description": "
|
|
1356
|
+
"description": "Read-only (includes hiding spin buttons)"
|
|
1357
1357
|
},
|
|
1358
1358
|
"placeholder": {
|
|
1359
1359
|
"type": "string",
|
|
1360
|
-
"description": "
|
|
1360
|
+
"description": "Placeholder"
|
|
1361
1361
|
},
|
|
1362
1362
|
"name": {
|
|
1363
1363
|
"type": "string",
|
|
1364
|
-
"description": "
|
|
1364
|
+
"description": "Form field name"
|
|
1365
1365
|
},
|
|
1366
1366
|
"id": {
|
|
1367
1367
|
"type": "string",
|
|
1368
|
-
"description": "
|
|
1368
|
+
"description": "Element ID"
|
|
1369
1369
|
},
|
|
1370
1370
|
"autoFocus": {
|
|
1371
1371
|
"type": "boolean",
|
|
1372
|
-
"description": "
|
|
1372
|
+
"description": "Auto focus"
|
|
1373
1373
|
},
|
|
1374
1374
|
"onValueChange": {
|
|
1375
|
-
"description": "
|
|
1375
|
+
"description": "Value change callback (value: number | undefined) => void"
|
|
1376
1376
|
},
|
|
1377
1377
|
"onBlur": {
|
|
1378
|
-
"description": "
|
|
1378
|
+
"description": "Blur callback"
|
|
1379
1379
|
},
|
|
1380
1380
|
"onFocus": {
|
|
1381
|
-
"description": "
|
|
1381
|
+
"description": "Focus callback"
|
|
1382
1382
|
},
|
|
1383
1383
|
"className": {
|
|
1384
1384
|
"type": "string",
|
|
1385
|
-
"description": "
|
|
1385
|
+
"description": "Style override"
|
|
1386
1386
|
}
|
|
1387
1387
|
},
|
|
1388
1388
|
"additionalProperties": false,
|
|
1389
|
-
"description": "
|
|
1389
|
+
"description": "Number input. Accelerated increment on long press. Exposes increment/decrement methods via ref. numberInputBind(ref, direction) binds same acceleration to external buttons."
|
|
1390
1390
|
}
|
|
1391
1391
|
},
|
|
1392
1392
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1399,20 +1399,20 @@
|
|
|
1399
1399
|
"properties": {
|
|
1400
1400
|
"currentPage": {
|
|
1401
1401
|
"type": "number",
|
|
1402
|
-
"description": "
|
|
1402
|
+
"description": "Current page (1-based, required)"
|
|
1403
1403
|
},
|
|
1404
1404
|
"totalPages": {
|
|
1405
1405
|
"type": "number",
|
|
1406
|
-
"description": "
|
|
1406
|
+
"description": "Total page count (required)"
|
|
1407
1407
|
},
|
|
1408
1408
|
"siblingCount": {
|
|
1409
1409
|
"type": "number",
|
|
1410
1410
|
"default": 1,
|
|
1411
|
-
"description": "
|
|
1411
|
+
"description": "Number of pages shown on each side of current"
|
|
1412
1412
|
},
|
|
1413
1413
|
"showEdges": {
|
|
1414
1414
|
"type": "boolean",
|
|
1415
|
-
"description": "
|
|
1415
|
+
"description": "Always show first/last page"
|
|
1416
1416
|
},
|
|
1417
1417
|
"size": {
|
|
1418
1418
|
"type": "string",
|
|
@@ -1421,14 +1421,14 @@
|
|
|
1421
1421
|
"md"
|
|
1422
1422
|
],
|
|
1423
1423
|
"default": "md",
|
|
1424
|
-
"description": "
|
|
1424
|
+
"description": "Size"
|
|
1425
1425
|
},
|
|
1426
1426
|
"onPageChange": {
|
|
1427
|
-
"description": "
|
|
1427
|
+
"description": "Page change callback (page: number) => void, required"
|
|
1428
1428
|
},
|
|
1429
1429
|
"className": {
|
|
1430
1430
|
"type": "string",
|
|
1431
|
-
"description": "<nav>
|
|
1431
|
+
"description": "<nav> style"
|
|
1432
1432
|
}
|
|
1433
1433
|
},
|
|
1434
1434
|
"required": [
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
"totalPages"
|
|
1437
1437
|
],
|
|
1438
1438
|
"additionalProperties": false,
|
|
1439
|
-
"description": "
|
|
1439
|
+
"description": "Pagination. Previous/next + page number buttons."
|
|
1440
1440
|
}
|
|
1441
1441
|
},
|
|
1442
1442
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1448,7 +1448,7 @@
|
|
|
1448
1448
|
"type": "object",
|
|
1449
1449
|
"properties": {
|
|
1450
1450
|
"trigger": {
|
|
1451
|
-
"description": "
|
|
1451
|
+
"description": "Trigger element (ReactNode, required)"
|
|
1452
1452
|
},
|
|
1453
1453
|
"side": {
|
|
1454
1454
|
"type": "string",
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
"left"
|
|
1460
1460
|
],
|
|
1461
1461
|
"default": "bottom",
|
|
1462
|
-
"description": "
|
|
1462
|
+
"description": "Position"
|
|
1463
1463
|
},
|
|
1464
1464
|
"align": {
|
|
1465
1465
|
"type": "string",
|
|
@@ -1469,41 +1469,41 @@
|
|
|
1469
1469
|
"end"
|
|
1470
1470
|
],
|
|
1471
1471
|
"default": "center",
|
|
1472
|
-
"description": "
|
|
1472
|
+
"description": "Alignment"
|
|
1473
1473
|
},
|
|
1474
1474
|
"sideOffset": {
|
|
1475
1475
|
"type": "number",
|
|
1476
1476
|
"default": 4,
|
|
1477
|
-
"description": "
|
|
1477
|
+
"description": "Position offset (px)"
|
|
1478
1478
|
},
|
|
1479
1479
|
"alignOffset": {
|
|
1480
1480
|
"type": "number",
|
|
1481
|
-
"description": "
|
|
1481
|
+
"description": "Alignment offset (px)"
|
|
1482
1482
|
},
|
|
1483
1483
|
"open": {
|
|
1484
1484
|
"type": "boolean",
|
|
1485
|
-
"description": "
|
|
1485
|
+
"description": "Controlled mode"
|
|
1486
1486
|
},
|
|
1487
1487
|
"onOpenChange": {
|
|
1488
|
-
"description": "
|
|
1488
|
+
"description": "Open/close state change callback (open: boolean) => void"
|
|
1489
1489
|
},
|
|
1490
1490
|
"onClickTrigger": {
|
|
1491
|
-
"description": "
|
|
1491
|
+
"description": "Callback on trigger element click. Passed to PopoverPrimitive.Trigger onClick."
|
|
1492
1492
|
},
|
|
1493
1493
|
"children": {
|
|
1494
|
-
"description": "
|
|
1494
|
+
"description": "Popover body (ReactNode)"
|
|
1495
1495
|
},
|
|
1496
1496
|
"className": {
|
|
1497
1497
|
"type": "string",
|
|
1498
|
-
"description": "Content
|
|
1498
|
+
"description": "Content style"
|
|
1499
1499
|
},
|
|
1500
1500
|
"arrowClassName": {
|
|
1501
1501
|
"type": "string",
|
|
1502
|
-
"description": "Arrow
|
|
1502
|
+
"description": "Arrow style"
|
|
1503
1503
|
}
|
|
1504
1504
|
},
|
|
1505
1505
|
"additionalProperties": false,
|
|
1506
|
-
"description": "
|
|
1506
|
+
"description": "Popover. Based on Radix Popover."
|
|
1507
1507
|
}
|
|
1508
1508
|
},
|
|
1509
1509
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1516,15 +1516,15 @@
|
|
|
1516
1516
|
"properties": {
|
|
1517
1517
|
"name": {
|
|
1518
1518
|
"type": "string",
|
|
1519
|
-
"description": "
|
|
1519
|
+
"description": "Form name (required)"
|
|
1520
1520
|
},
|
|
1521
1521
|
"value": {
|
|
1522
1522
|
"type": "string",
|
|
1523
|
-
"description": "
|
|
1523
|
+
"description": "Selected value (controlled)"
|
|
1524
1524
|
},
|
|
1525
1525
|
"defaultValue": {
|
|
1526
1526
|
"type": "string",
|
|
1527
|
-
"description": "
|
|
1527
|
+
"description": "Initial value (uncontrolled)"
|
|
1528
1528
|
},
|
|
1529
1529
|
"size": {
|
|
1530
1530
|
"type": "string",
|
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
"md"
|
|
1534
1534
|
],
|
|
1535
1535
|
"default": "md",
|
|
1536
|
-
"description": "
|
|
1536
|
+
"description": "Size"
|
|
1537
1537
|
},
|
|
1538
1538
|
"orientation": {
|
|
1539
1539
|
"type": "string",
|
|
@@ -1542,36 +1542,36 @@
|
|
|
1542
1542
|
"vertical"
|
|
1543
1543
|
],
|
|
1544
1544
|
"default": "vertical",
|
|
1545
|
-
"description": "
|
|
1545
|
+
"description": "Layout direction"
|
|
1546
1546
|
},
|
|
1547
1547
|
"disabled": {
|
|
1548
1548
|
"type": "boolean",
|
|
1549
|
-
"description": "
|
|
1549
|
+
"description": "Disabled"
|
|
1550
1550
|
},
|
|
1551
1551
|
"children": {
|
|
1552
|
-
"description": "RadioItem
|
|
1552
|
+
"description": "RadioItem list (ReactNode, required)"
|
|
1553
1553
|
},
|
|
1554
1554
|
"aria-label": {
|
|
1555
1555
|
"type": "string",
|
|
1556
|
-
"description": "
|
|
1556
|
+
"description": "Accessibility label"
|
|
1557
1557
|
},
|
|
1558
1558
|
"aria-labelledby": {
|
|
1559
1559
|
"type": "string",
|
|
1560
|
-
"description": "
|
|
1560
|
+
"description": "Accessibility label reference ID"
|
|
1561
1561
|
},
|
|
1562
1562
|
"onValueChange": {
|
|
1563
|
-
"description": "
|
|
1563
|
+
"description": "Value change callback (value: string) => void"
|
|
1564
1564
|
},
|
|
1565
1565
|
"className": {
|
|
1566
1566
|
"type": "string",
|
|
1567
|
-
"description": "
|
|
1567
|
+
"description": "Style override"
|
|
1568
1568
|
}
|
|
1569
1569
|
},
|
|
1570
1570
|
"required": [
|
|
1571
1571
|
"name"
|
|
1572
1572
|
],
|
|
1573
1573
|
"additionalProperties": false,
|
|
1574
|
-
"description": "
|
|
1574
|
+
"description": "Radio group. Used with RadioItem."
|
|
1575
1575
|
}
|
|
1576
1576
|
},
|
|
1577
1577
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1584,7 +1584,7 @@
|
|
|
1584
1584
|
"properties": {
|
|
1585
1585
|
"value": {
|
|
1586
1586
|
"type": "string",
|
|
1587
|
-
"description": "
|
|
1587
|
+
"description": "Item value (required)"
|
|
1588
1588
|
},
|
|
1589
1589
|
"size": {
|
|
1590
1590
|
"type": "string",
|
|
@@ -1592,28 +1592,28 @@
|
|
|
1592
1592
|
"sm",
|
|
1593
1593
|
"md"
|
|
1594
1594
|
],
|
|
1595
|
-
"description": "
|
|
1595
|
+
"description": "Size (overrides group)"
|
|
1596
1596
|
},
|
|
1597
1597
|
"label": {
|
|
1598
|
-
"description": "
|
|
1598
|
+
"description": "Label text (ReactNode)"
|
|
1599
1599
|
},
|
|
1600
1600
|
"children": {
|
|
1601
|
-
"description": "
|
|
1601
|
+
"description": "Label alternative content (ReactNode)"
|
|
1602
1602
|
},
|
|
1603
1603
|
"disabled": {
|
|
1604
1604
|
"type": "boolean",
|
|
1605
|
-
"description": "
|
|
1605
|
+
"description": "Disabled"
|
|
1606
1606
|
},
|
|
1607
1607
|
"className": {
|
|
1608
1608
|
"type": "string",
|
|
1609
|
-
"description": "
|
|
1609
|
+
"description": "Style override"
|
|
1610
1610
|
}
|
|
1611
1611
|
},
|
|
1612
1612
|
"required": [
|
|
1613
1613
|
"value"
|
|
1614
1614
|
],
|
|
1615
1615
|
"additionalProperties": false,
|
|
1616
|
-
"description": "
|
|
1616
|
+
"description": "Individual option within RadioGroup."
|
|
1617
1617
|
}
|
|
1618
1618
|
},
|
|
1619
1619
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1626,11 +1626,11 @@
|
|
|
1626
1626
|
"properties": {
|
|
1627
1627
|
"value": {
|
|
1628
1628
|
"type": "string",
|
|
1629
|
-
"description": "
|
|
1629
|
+
"description": "Selected value"
|
|
1630
1630
|
},
|
|
1631
1631
|
"placeholder": {
|
|
1632
1632
|
"type": "string",
|
|
1633
|
-
"description": "
|
|
1633
|
+
"description": "Placeholder"
|
|
1634
1634
|
},
|
|
1635
1635
|
"variant": {
|
|
1636
1636
|
"type": "string",
|
|
@@ -1639,7 +1639,7 @@
|
|
|
1639
1639
|
"outline"
|
|
1640
1640
|
],
|
|
1641
1641
|
"default": "default",
|
|
1642
|
-
"description": "
|
|
1642
|
+
"description": "Trigger style"
|
|
1643
1643
|
},
|
|
1644
1644
|
"size": {
|
|
1645
1645
|
"type": "string",
|
|
@@ -1650,32 +1650,32 @@
|
|
|
1650
1650
|
"full"
|
|
1651
1651
|
],
|
|
1652
1652
|
"default": "full",
|
|
1653
|
-
"description": "
|
|
1653
|
+
"description": "Width"
|
|
1654
1654
|
},
|
|
1655
1655
|
"disabled": {
|
|
1656
1656
|
"type": "boolean",
|
|
1657
|
-
"description": "
|
|
1657
|
+
"description": "Disabled"
|
|
1658
1658
|
},
|
|
1659
1659
|
"onValueChange": {
|
|
1660
|
-
"description": "
|
|
1660
|
+
"description": "Value change callback (value: string) => void"
|
|
1661
1661
|
},
|
|
1662
1662
|
"displayComponent": {
|
|
1663
|
-
"description": "
|
|
1663
|
+
"description": "Custom display in trigger (ReactNode)"
|
|
1664
1664
|
},
|
|
1665
1665
|
"children": {
|
|
1666
|
-
"description": "SelectItem
|
|
1666
|
+
"description": "SelectItem list (ReactNode, required)"
|
|
1667
1667
|
},
|
|
1668
1668
|
"className": {
|
|
1669
1669
|
"type": "string",
|
|
1670
|
-
"description": "
|
|
1670
|
+
"description": "Wrapper style"
|
|
1671
1671
|
},
|
|
1672
1672
|
"triggerClassName": {
|
|
1673
1673
|
"type": "string",
|
|
1674
|
-
"description": "
|
|
1674
|
+
"description": "Trigger style override"
|
|
1675
1675
|
}
|
|
1676
1676
|
},
|
|
1677
1677
|
"additionalProperties": false,
|
|
1678
|
-
"description": "
|
|
1678
|
+
"description": "Dropdown select. Based on Radix Select. Used with SelectItem."
|
|
1679
1679
|
}
|
|
1680
1680
|
},
|
|
1681
1681
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1688,25 +1688,25 @@
|
|
|
1688
1688
|
"properties": {
|
|
1689
1689
|
"value": {
|
|
1690
1690
|
"type": "string",
|
|
1691
|
-
"description": "
|
|
1691
|
+
"description": "Item value"
|
|
1692
1692
|
},
|
|
1693
1693
|
"children": {
|
|
1694
|
-
"description": "
|
|
1694
|
+
"description": "Item content (ReactNode, required)"
|
|
1695
1695
|
},
|
|
1696
1696
|
"disabled": {
|
|
1697
1697
|
"type": "boolean",
|
|
1698
|
-
"description": "
|
|
1698
|
+
"description": "Disabled"
|
|
1699
1699
|
},
|
|
1700
1700
|
"className": {
|
|
1701
1701
|
"type": "string",
|
|
1702
|
-
"description": "
|
|
1702
|
+
"description": "Style override"
|
|
1703
1703
|
}
|
|
1704
1704
|
},
|
|
1705
1705
|
"required": [
|
|
1706
1706
|
"value"
|
|
1707
1707
|
],
|
|
1708
1708
|
"additionalProperties": false,
|
|
1709
|
-
"description": "
|
|
1709
|
+
"description": "Individual option within Select."
|
|
1710
1710
|
}
|
|
1711
1711
|
},
|
|
1712
1712
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1724,40 +1724,40 @@
|
|
|
1724
1724
|
"span"
|
|
1725
1725
|
],
|
|
1726
1726
|
"default": "div",
|
|
1727
|
-
"description": "
|
|
1727
|
+
"description": "Rendered tag"
|
|
1728
1728
|
},
|
|
1729
1729
|
"circle": {
|
|
1730
1730
|
"type": "boolean",
|
|
1731
1731
|
"default": false,
|
|
1732
|
-
"description": "
|
|
1732
|
+
"description": "Circle skeleton (rounded-full)"
|
|
1733
1733
|
},
|
|
1734
1734
|
"width": {
|
|
1735
1735
|
"type": [
|
|
1736
1736
|
"string",
|
|
1737
1737
|
"number"
|
|
1738
1738
|
],
|
|
1739
|
-
"description": "
|
|
1739
|
+
"description": "Width (e.g. '100px', '50%', 200)"
|
|
1740
1740
|
},
|
|
1741
1741
|
"height": {
|
|
1742
1742
|
"type": [
|
|
1743
1743
|
"string",
|
|
1744
1744
|
"number"
|
|
1745
1745
|
],
|
|
1746
|
-
"description": "
|
|
1746
|
+
"description": "Height (e.g. '16px', 40)"
|
|
1747
1747
|
},
|
|
1748
1748
|
"children": {
|
|
1749
|
-
"description": "
|
|
1749
|
+
"description": "Inner content (shown when loaded, maintains actual size)"
|
|
1750
1750
|
},
|
|
1751
1751
|
"style": {
|
|
1752
|
-
"description": "
|
|
1752
|
+
"description": "Inline style (CSSProperties)"
|
|
1753
1753
|
},
|
|
1754
1754
|
"className": {
|
|
1755
1755
|
"type": "string",
|
|
1756
|
-
"description": "
|
|
1756
|
+
"description": "Style override"
|
|
1757
1757
|
}
|
|
1758
1758
|
},
|
|
1759
1759
|
"additionalProperties": false,
|
|
1760
|
-
"description": "
|
|
1760
|
+
"description": "Skeleton loading placeholder. Size/shape via className. With children, wraps transparently to maintain actual size."
|
|
1761
1761
|
}
|
|
1762
1762
|
},
|
|
1763
1763
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1771,27 +1771,27 @@
|
|
|
1771
1771
|
"size": {
|
|
1772
1772
|
"type": "number",
|
|
1773
1773
|
"default": 20,
|
|
1774
|
-
"description": "px
|
|
1774
|
+
"description": "Size in px"
|
|
1775
1775
|
},
|
|
1776
1776
|
"color": {
|
|
1777
1777
|
"type": "string",
|
|
1778
|
-
"description": "
|
|
1778
|
+
"description": "Color (CSS color value, default currentColor)"
|
|
1779
1779
|
},
|
|
1780
1780
|
"aria-label": {
|
|
1781
1781
|
"type": "string",
|
|
1782
1782
|
"default": "Loading",
|
|
1783
|
-
"description": "
|
|
1783
|
+
"description": "Accessibility label"
|
|
1784
1784
|
},
|
|
1785
1785
|
"style": {
|
|
1786
|
-
"description": "
|
|
1786
|
+
"description": "Inline style (CSSProperties)"
|
|
1787
1787
|
},
|
|
1788
1788
|
"className": {
|
|
1789
1789
|
"type": "string",
|
|
1790
|
-
"description": "
|
|
1790
|
+
"description": "Color override etc."
|
|
1791
1791
|
}
|
|
1792
1792
|
},
|
|
1793
1793
|
"additionalProperties": false,
|
|
1794
|
-
"description": "
|
|
1794
|
+
"description": "Loading indicator. SVG-based. Built-in role=\"status\"."
|
|
1795
1795
|
}
|
|
1796
1796
|
},
|
|
1797
1797
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1809,41 +1809,41 @@
|
|
|
1809
1809
|
"md"
|
|
1810
1810
|
],
|
|
1811
1811
|
"default": "md",
|
|
1812
|
-
"description": "
|
|
1812
|
+
"description": "Size"
|
|
1813
1813
|
},
|
|
1814
1814
|
"checked": {
|
|
1815
1815
|
"type": "boolean",
|
|
1816
|
-
"description": "
|
|
1816
|
+
"description": "On/off state"
|
|
1817
1817
|
},
|
|
1818
1818
|
"disabled": {
|
|
1819
1819
|
"type": "boolean",
|
|
1820
|
-
"description": "
|
|
1820
|
+
"description": "Disabled"
|
|
1821
1821
|
},
|
|
1822
1822
|
"readOnly": {
|
|
1823
1823
|
"type": "boolean",
|
|
1824
|
-
"description": "
|
|
1824
|
+
"description": "Read-only"
|
|
1825
1825
|
},
|
|
1826
1826
|
"name": {
|
|
1827
1827
|
"type": "string",
|
|
1828
|
-
"description": "
|
|
1828
|
+
"description": "Form field name"
|
|
1829
1829
|
},
|
|
1830
1830
|
"id": {
|
|
1831
1831
|
"type": "string",
|
|
1832
|
-
"description": "
|
|
1832
|
+
"description": "Element ID"
|
|
1833
1833
|
},
|
|
1834
1834
|
"onCheckedChange": {
|
|
1835
|
-
"description": "
|
|
1835
|
+
"description": "Toggle state change callback (checked: boolean) => void"
|
|
1836
1836
|
},
|
|
1837
1837
|
"onChange": {
|
|
1838
|
-
"description": "
|
|
1838
|
+
"description": "Native change event handler (ChangeEvent)"
|
|
1839
1839
|
},
|
|
1840
1840
|
"className": {
|
|
1841
1841
|
"type": "string",
|
|
1842
|
-
"description": "
|
|
1842
|
+
"description": "Style override"
|
|
1843
1843
|
}
|
|
1844
1844
|
},
|
|
1845
1845
|
"additionalProperties": false,
|
|
1846
|
-
"description": "
|
|
1846
|
+
"description": "Toggle switch. Native checkbox-based, role=\"switch\"."
|
|
1847
1847
|
}
|
|
1848
1848
|
},
|
|
1849
1849
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1861,17 +1861,17 @@
|
|
|
1861
1861
|
"properties": {
|
|
1862
1862
|
"key": {
|
|
1863
1863
|
"type": "string",
|
|
1864
|
-
"description": "
|
|
1864
|
+
"description": "Tab unique key"
|
|
1865
1865
|
},
|
|
1866
1866
|
"label": {
|
|
1867
|
-
"description": "
|
|
1867
|
+
"description": "Tab label (ReactNode)"
|
|
1868
1868
|
},
|
|
1869
1869
|
"children": {
|
|
1870
|
-
"description": "
|
|
1870
|
+
"description": "Tab panel content (ReactNode)"
|
|
1871
1871
|
},
|
|
1872
1872
|
"disabled": {
|
|
1873
1873
|
"type": "boolean",
|
|
1874
|
-
"description": "
|
|
1874
|
+
"description": "Disabled"
|
|
1875
1875
|
}
|
|
1876
1876
|
},
|
|
1877
1877
|
"required": [
|
|
@@ -1879,15 +1879,15 @@
|
|
|
1879
1879
|
],
|
|
1880
1880
|
"additionalProperties": false
|
|
1881
1881
|
},
|
|
1882
|
-
"description": "
|
|
1882
|
+
"description": "Tab item array (required)"
|
|
1883
1883
|
},
|
|
1884
1884
|
"activeKey": {
|
|
1885
1885
|
"type": "string",
|
|
1886
|
-
"description": "
|
|
1886
|
+
"description": "Controlled mode active key"
|
|
1887
1887
|
},
|
|
1888
1888
|
"defaultActiveKey": {
|
|
1889
1889
|
"type": "string",
|
|
1890
|
-
"description": "
|
|
1890
|
+
"description": "Uncontrolled initial key"
|
|
1891
1891
|
},
|
|
1892
1892
|
"variant": {
|
|
1893
1893
|
"type": "string",
|
|
@@ -1896,7 +1896,7 @@
|
|
|
1896
1896
|
"pill"
|
|
1897
1897
|
],
|
|
1898
1898
|
"default": "line",
|
|
1899
|
-
"description": "
|
|
1899
|
+
"description": "Style"
|
|
1900
1900
|
},
|
|
1901
1901
|
"size": {
|
|
1902
1902
|
"type": "string",
|
|
@@ -1905,34 +1905,34 @@
|
|
|
1905
1905
|
"md"
|
|
1906
1906
|
],
|
|
1907
1907
|
"default": "md",
|
|
1908
|
-
"description": "
|
|
1908
|
+
"description": "Size"
|
|
1909
1909
|
},
|
|
1910
1910
|
"destroyInactive": {
|
|
1911
1911
|
"type": "boolean",
|
|
1912
1912
|
"default": false,
|
|
1913
|
-
"description": "
|
|
1913
|
+
"description": "Unmount inactive panels"
|
|
1914
1914
|
},
|
|
1915
1915
|
"onTabChange": {
|
|
1916
|
-
"description": "
|
|
1916
|
+
"description": "Tab change callback (key: string) => void"
|
|
1917
1917
|
},
|
|
1918
1918
|
"className": {
|
|
1919
1919
|
"type": "string",
|
|
1920
|
-
"description": "
|
|
1920
|
+
"description": "Root style"
|
|
1921
1921
|
},
|
|
1922
1922
|
"tabListClassName": {
|
|
1923
1923
|
"type": "string",
|
|
1924
|
-
"description": "
|
|
1924
|
+
"description": "Tab list style"
|
|
1925
1925
|
},
|
|
1926
1926
|
"tabPanelClassName": {
|
|
1927
1927
|
"type": "string",
|
|
1928
|
-
"description": "
|
|
1928
|
+
"description": "Tab panel style"
|
|
1929
1929
|
}
|
|
1930
1930
|
},
|
|
1931
1931
|
"required": [
|
|
1932
1932
|
"items"
|
|
1933
1933
|
],
|
|
1934
1934
|
"additionalProperties": false,
|
|
1935
|
-
"description": "
|
|
1935
|
+
"description": "Tab navigation. line/pill variants."
|
|
1936
1936
|
}
|
|
1937
1937
|
},
|
|
1938
1938
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1952,18 +1952,18 @@
|
|
|
1952
1952
|
"type": "null"
|
|
1953
1953
|
}
|
|
1954
1954
|
],
|
|
1955
|
-
"description": "
|
|
1955
|
+
"description": "Data array. null/undefined = loading state (required)"
|
|
1956
1956
|
},
|
|
1957
1957
|
"children": {
|
|
1958
|
-
"description": "
|
|
1958
|
+
"description": "Row render function ({ item, index }) => ReactNode (required)"
|
|
1959
1959
|
},
|
|
1960
1960
|
"hideThead": {
|
|
1961
1961
|
"type": "boolean",
|
|
1962
|
-
"description": "
|
|
1962
|
+
"description": "Hide table header"
|
|
1963
1963
|
},
|
|
1964
1964
|
"loading": {
|
|
1965
1965
|
"type": "boolean",
|
|
1966
|
-
"description": "
|
|
1966
|
+
"description": "Force loading state"
|
|
1967
1967
|
},
|
|
1968
1968
|
"loadingType": {
|
|
1969
1969
|
"type": "string",
|
|
@@ -1972,42 +1972,42 @@
|
|
|
1972
1972
|
"skeleton"
|
|
1973
1973
|
],
|
|
1974
1974
|
"default": "skeleton",
|
|
1975
|
-
"description": "
|
|
1975
|
+
"description": "Loading display type"
|
|
1976
1976
|
},
|
|
1977
1977
|
"loadingElement": {
|
|
1978
|
-
"description": "
|
|
1978
|
+
"description": "Custom loading element (ReactElement)"
|
|
1979
1979
|
},
|
|
1980
1980
|
"skeletonCount": {
|
|
1981
1981
|
"type": "number",
|
|
1982
1982
|
"default": 10,
|
|
1983
|
-
"description": "
|
|
1983
|
+
"description": "Skeleton row count"
|
|
1984
1984
|
},
|
|
1985
1985
|
"noDataMsg": {
|
|
1986
|
-
"description": "
|
|
1986
|
+
"description": "No data message (ReactElement | string)"
|
|
1987
1987
|
},
|
|
1988
1988
|
"notification": {
|
|
1989
|
-
"description": "
|
|
1989
|
+
"description": "Table top notification area (ReactNode)"
|
|
1990
1990
|
},
|
|
1991
1991
|
"sortUpElement": {
|
|
1992
|
-
"description": "
|
|
1992
|
+
"description": "Ascending sort icon (ReactElement)"
|
|
1993
1993
|
},
|
|
1994
1994
|
"sortDownElement": {
|
|
1995
|
-
"description": "
|
|
1995
|
+
"description": "Descending sort icon (ReactElement)"
|
|
1996
1996
|
},
|
|
1997
1997
|
"className": {
|
|
1998
1998
|
"type": "string",
|
|
1999
|
-
"description": "
|
|
1999
|
+
"description": "Table wrapper style"
|
|
2000
2000
|
},
|
|
2001
2001
|
"theadClassName": {
|
|
2002
2002
|
"type": "string",
|
|
2003
|
-
"description": "
|
|
2003
|
+
"description": "Header row style"
|
|
2004
2004
|
}
|
|
2005
2005
|
},
|
|
2006
2006
|
"required": [
|
|
2007
2007
|
"list"
|
|
2008
2008
|
],
|
|
2009
2009
|
"additionalProperties": false,
|
|
2010
|
-
"description": "
|
|
2010
|
+
"description": "Table. Column definitions via TdColumn, row wrapping via TableRow. Built-in sorting/skeleton loading."
|
|
2011
2011
|
}
|
|
2012
2012
|
},
|
|
2013
2013
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2025,21 +2025,21 @@
|
|
|
2025
2025
|
"accent"
|
|
2026
2026
|
],
|
|
2027
2027
|
"default": "default",
|
|
2028
|
-
"description": "
|
|
2028
|
+
"description": "Row style"
|
|
2029
2029
|
},
|
|
2030
2030
|
"className": {
|
|
2031
2031
|
"type": "string",
|
|
2032
|
-
"description": "
|
|
2032
|
+
"description": "Style override"
|
|
2033
2033
|
},
|
|
2034
2034
|
"children": {
|
|
2035
|
-
"description": "TdColumn
|
|
2035
|
+
"description": "TdColumn list (ReactNode, required)"
|
|
2036
2036
|
},
|
|
2037
2037
|
"onClick": {
|
|
2038
|
-
"description": "
|
|
2038
|
+
"description": "Row click callback (e: MouseEvent) => void"
|
|
2039
2039
|
}
|
|
2040
2040
|
},
|
|
2041
2041
|
"additionalProperties": false,
|
|
2042
|
-
"description": "
|
|
2042
|
+
"description": "Table row. Used inside Table."
|
|
2043
2043
|
}
|
|
2044
2044
|
},
|
|
2045
2045
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2051,21 +2051,21 @@
|
|
|
2051
2051
|
"type": "object",
|
|
2052
2052
|
"properties": {
|
|
2053
2053
|
"label": {
|
|
2054
|
-
"description": "
|
|
2054
|
+
"description": "Header label (ReactElement | string)"
|
|
2055
2055
|
},
|
|
2056
2056
|
"fieldId": {
|
|
2057
2057
|
"type": [
|
|
2058
2058
|
"string",
|
|
2059
2059
|
"null"
|
|
2060
2060
|
],
|
|
2061
|
-
"description": "
|
|
2061
|
+
"description": "Column identifier (sort key, required)"
|
|
2062
2062
|
},
|
|
2063
2063
|
"size": {
|
|
2064
2064
|
"type": [
|
|
2065
2065
|
"number",
|
|
2066
2066
|
"string"
|
|
2067
2067
|
],
|
|
2068
|
-
"description": "
|
|
2068
|
+
"description": "Column width (number → px, string → CSS value)"
|
|
2069
2069
|
},
|
|
2070
2070
|
"align": {
|
|
2071
2071
|
"type": "string",
|
|
@@ -2075,7 +2075,7 @@
|
|
|
2075
2075
|
"right"
|
|
2076
2076
|
],
|
|
2077
2077
|
"default": "left",
|
|
2078
|
-
"description": "
|
|
2078
|
+
"description": "Text alignment"
|
|
2079
2079
|
},
|
|
2080
2080
|
"textOverflow": {
|
|
2081
2081
|
"type": "string",
|
|
@@ -2086,34 +2086,34 @@
|
|
|
2086
2086
|
"break-all"
|
|
2087
2087
|
],
|
|
2088
2088
|
"default": "truncate",
|
|
2089
|
-
"description": "
|
|
2089
|
+
"description": "Text overflow handling"
|
|
2090
2090
|
},
|
|
2091
2091
|
"highlightKey": {
|
|
2092
2092
|
"type": [
|
|
2093
2093
|
"string",
|
|
2094
2094
|
"null"
|
|
2095
2095
|
],
|
|
2096
|
-
"description": "
|
|
2096
|
+
"description": "Hover highlight group key"
|
|
2097
2097
|
},
|
|
2098
2098
|
"colSpan": {
|
|
2099
2099
|
"type": "number",
|
|
2100
|
-
"description": "
|
|
2100
|
+
"description": "Column span"
|
|
2101
2101
|
},
|
|
2102
2102
|
"rowSpan": {
|
|
2103
2103
|
"type": "number",
|
|
2104
|
-
"description": "
|
|
2104
|
+
"description": "Row span"
|
|
2105
2105
|
},
|
|
2106
2106
|
"thColSpan": {
|
|
2107
2107
|
"type": "number",
|
|
2108
|
-
"description": "
|
|
2108
|
+
"description": "Header colSpan (<th>)"
|
|
2109
2109
|
},
|
|
2110
2110
|
"thRowSpan": {
|
|
2111
2111
|
"type": "number",
|
|
2112
|
-
"description": "
|
|
2112
|
+
"description": "Header rowSpan (<th>)"
|
|
2113
2113
|
},
|
|
2114
2114
|
"enableSorting": {
|
|
2115
2115
|
"type": "boolean",
|
|
2116
|
-
"description": "
|
|
2116
|
+
"description": "Enable sorting"
|
|
2117
2117
|
},
|
|
2118
2118
|
"order": {
|
|
2119
2119
|
"type": "string",
|
|
@@ -2122,31 +2122,31 @@
|
|
|
2122
2122
|
"asc",
|
|
2123
2123
|
""
|
|
2124
2124
|
],
|
|
2125
|
-
"description": "
|
|
2125
|
+
"description": "Current sort direction"
|
|
2126
2126
|
},
|
|
2127
2127
|
"sortValue": {
|
|
2128
2128
|
"type": [
|
|
2129
2129
|
"string",
|
|
2130
2130
|
"number"
|
|
2131
2131
|
],
|
|
2132
|
-
"description": "
|
|
2132
|
+
"description": "Sort criterion value"
|
|
2133
2133
|
},
|
|
2134
2134
|
"handleClickSort": {
|
|
2135
|
-
"description": "
|
|
2135
|
+
"description": "Sort click callback ({ index, fieldId, order }) => void"
|
|
2136
2136
|
},
|
|
2137
2137
|
"children": {
|
|
2138
|
-
"description": "
|
|
2138
|
+
"description": "Cell content (ReactNode, required)"
|
|
2139
2139
|
},
|
|
2140
2140
|
"className": {
|
|
2141
2141
|
"type": "string",
|
|
2142
|
-
"description": "
|
|
2142
|
+
"description": "Style override"
|
|
2143
2143
|
}
|
|
2144
2144
|
},
|
|
2145
2145
|
"required": [
|
|
2146
2146
|
"fieldId"
|
|
2147
2147
|
],
|
|
2148
2148
|
"additionalProperties": false,
|
|
2149
|
-
"description": "
|
|
2149
|
+
"description": "Table cell/column definition. Used inside TableRow."
|
|
2150
2150
|
}
|
|
2151
2151
|
},
|
|
2152
2152
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2159,71 +2159,71 @@
|
|
|
2159
2159
|
"properties": {
|
|
2160
2160
|
"error": {
|
|
2161
2161
|
"type": "boolean",
|
|
2162
|
-
"description": "
|
|
2162
|
+
"description": "Error state (auto aria-invalid)"
|
|
2163
2163
|
},
|
|
2164
2164
|
"showCount": {
|
|
2165
2165
|
"type": "boolean",
|
|
2166
|
-
"description": "
|
|
2166
|
+
"description": "Show character count (requires maxLength)"
|
|
2167
2167
|
},
|
|
2168
2168
|
"maxLength": {
|
|
2169
2169
|
"type": "number",
|
|
2170
|
-
"description": "
|
|
2170
|
+
"description": "Maximum character count"
|
|
2171
2171
|
},
|
|
2172
2172
|
"placeholder": {
|
|
2173
2173
|
"type": "string",
|
|
2174
|
-
"description": "
|
|
2174
|
+
"description": "Placeholder"
|
|
2175
2175
|
},
|
|
2176
2176
|
"rows": {
|
|
2177
2177
|
"type": "number",
|
|
2178
|
-
"description": "
|
|
2178
|
+
"description": "Visible row count"
|
|
2179
2179
|
},
|
|
2180
2180
|
"disabled": {
|
|
2181
2181
|
"type": "boolean",
|
|
2182
|
-
"description": "
|
|
2182
|
+
"description": "Disabled"
|
|
2183
2183
|
},
|
|
2184
2184
|
"readOnly": {
|
|
2185
2185
|
"type": "boolean",
|
|
2186
|
-
"description": "
|
|
2186
|
+
"description": "Read-only"
|
|
2187
2187
|
},
|
|
2188
2188
|
"value": {
|
|
2189
2189
|
"type": "string",
|
|
2190
|
-
"description": "
|
|
2190
|
+
"description": "Input value (controlled mode)"
|
|
2191
2191
|
},
|
|
2192
2192
|
"defaultValue": {
|
|
2193
2193
|
"type": "string",
|
|
2194
|
-
"description": "
|
|
2194
|
+
"description": "Initial value (uncontrolled mode)"
|
|
2195
2195
|
},
|
|
2196
2196
|
"name": {
|
|
2197
2197
|
"type": "string",
|
|
2198
|
-
"description": "
|
|
2198
|
+
"description": "Form field name"
|
|
2199
2199
|
},
|
|
2200
2200
|
"id": {
|
|
2201
2201
|
"type": "string",
|
|
2202
|
-
"description": "
|
|
2202
|
+
"description": "Element ID"
|
|
2203
2203
|
},
|
|
2204
2204
|
"autoFocus": {
|
|
2205
2205
|
"type": "boolean",
|
|
2206
|
-
"description": "
|
|
2206
|
+
"description": "Auto focus"
|
|
2207
2207
|
},
|
|
2208
2208
|
"onValueChange": {
|
|
2209
|
-
"description": "
|
|
2209
|
+
"description": "Value change callback (value: string) => void"
|
|
2210
2210
|
},
|
|
2211
2211
|
"onChange": {
|
|
2212
|
-
"description": "
|
|
2212
|
+
"description": "Native change event handler"
|
|
2213
2213
|
},
|
|
2214
2214
|
"onBlur": {
|
|
2215
|
-
"description": "
|
|
2215
|
+
"description": "Blur callback"
|
|
2216
2216
|
},
|
|
2217
2217
|
"onFocus": {
|
|
2218
|
-
"description": "
|
|
2218
|
+
"description": "Focus callback"
|
|
2219
2219
|
},
|
|
2220
2220
|
"className": {
|
|
2221
2221
|
"type": "string",
|
|
2222
|
-
"description": "
|
|
2222
|
+
"description": "Style override"
|
|
2223
2223
|
}
|
|
2224
2224
|
},
|
|
2225
2225
|
"additionalProperties": false,
|
|
2226
|
-
"description": "
|
|
2226
|
+
"description": "Multi-line text input. Built-in character counter."
|
|
2227
2227
|
}
|
|
2228
2228
|
},
|
|
2229
2229
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2242,95 +2242,95 @@
|
|
|
2242
2242
|
"xl"
|
|
2243
2243
|
],
|
|
2244
2244
|
"default": "md",
|
|
2245
|
-
"description": "
|
|
2245
|
+
"description": "Size"
|
|
2246
2246
|
},
|
|
2247
2247
|
"error": {
|
|
2248
2248
|
"type": "boolean",
|
|
2249
|
-
"description": "
|
|
2249
|
+
"description": "Error state (auto aria-invalid)"
|
|
2250
2250
|
},
|
|
2251
2251
|
"prefixIcon": {
|
|
2252
|
-
"description": "
|
|
2252
|
+
"description": "Prefix icon (ReactNode)"
|
|
2253
2253
|
},
|
|
2254
2254
|
"suffixIcon": {
|
|
2255
|
-
"description": "
|
|
2255
|
+
"description": "Suffix icon (ReactNode)"
|
|
2256
2256
|
},
|
|
2257
2257
|
"label": {
|
|
2258
|
-
"description": "
|
|
2258
|
+
"description": "Label above input field (ReactNode)"
|
|
2259
2259
|
},
|
|
2260
2260
|
"description": {
|
|
2261
|
-
"description": "
|
|
2261
|
+
"description": "Description below input field (ReactNode, red on error)"
|
|
2262
2262
|
},
|
|
2263
2263
|
"showCount": {
|
|
2264
2264
|
"type": "boolean",
|
|
2265
|
-
"description": "
|
|
2265
|
+
"description": "Show character count (requires maxLength)"
|
|
2266
2266
|
},
|
|
2267
2267
|
"maxLength": {
|
|
2268
2268
|
"type": "number",
|
|
2269
|
-
"description": "
|
|
2269
|
+
"description": "Maximum character count"
|
|
2270
2270
|
},
|
|
2271
2271
|
"clearable": {
|
|
2272
2272
|
"type": "boolean",
|
|
2273
|
-
"description": "
|
|
2273
|
+
"description": "Clear input via X button"
|
|
2274
2274
|
},
|
|
2275
2275
|
"placeholder": {
|
|
2276
2276
|
"type": "string",
|
|
2277
|
-
"description": "
|
|
2277
|
+
"description": "Placeholder"
|
|
2278
2278
|
},
|
|
2279
2279
|
"disabled": {
|
|
2280
2280
|
"type": "boolean",
|
|
2281
|
-
"description": "
|
|
2281
|
+
"description": "Disabled"
|
|
2282
2282
|
},
|
|
2283
2283
|
"readOnly": {
|
|
2284
2284
|
"type": "boolean",
|
|
2285
|
-
"description": "
|
|
2285
|
+
"description": "Read-only"
|
|
2286
2286
|
},
|
|
2287
2287
|
"value": {
|
|
2288
2288
|
"type": "string",
|
|
2289
|
-
"description": "
|
|
2289
|
+
"description": "Input value (controlled mode)"
|
|
2290
2290
|
},
|
|
2291
2291
|
"defaultValue": {
|
|
2292
2292
|
"type": "string",
|
|
2293
|
-
"description": "
|
|
2293
|
+
"description": "Initial value (uncontrolled mode)"
|
|
2294
2294
|
},
|
|
2295
2295
|
"type": {
|
|
2296
2296
|
"type": "string",
|
|
2297
|
-
"description": "
|
|
2297
|
+
"description": "Input type (text, password, email, url, etc.)"
|
|
2298
2298
|
},
|
|
2299
2299
|
"name": {
|
|
2300
2300
|
"type": "string",
|
|
2301
|
-
"description": "
|
|
2301
|
+
"description": "Form field name"
|
|
2302
2302
|
},
|
|
2303
2303
|
"id": {
|
|
2304
2304
|
"type": "string",
|
|
2305
|
-
"description": "
|
|
2305
|
+
"description": "Element ID (for label htmlFor binding)"
|
|
2306
2306
|
},
|
|
2307
2307
|
"autoFocus": {
|
|
2308
2308
|
"type": "boolean",
|
|
2309
|
-
"description": "
|
|
2309
|
+
"description": "Auto focus"
|
|
2310
2310
|
},
|
|
2311
2311
|
"autoComplete": {
|
|
2312
2312
|
"type": "string",
|
|
2313
|
-
"description": "
|
|
2313
|
+
"description": "Autocomplete hint (on, off, email, etc.)"
|
|
2314
2314
|
},
|
|
2315
2315
|
"onValueChange": {
|
|
2316
|
-
"description": "
|
|
2316
|
+
"description": "Value change callback (value: string) => void"
|
|
2317
2317
|
},
|
|
2318
2318
|
"onChange": {
|
|
2319
|
-
"description": "
|
|
2319
|
+
"description": "Native change event handler"
|
|
2320
2320
|
},
|
|
2321
2321
|
"onBlur": {
|
|
2322
|
-
"description": "
|
|
2322
|
+
"description": "Blur callback"
|
|
2323
2323
|
},
|
|
2324
2324
|
"onFocus": {
|
|
2325
|
-
"description": "
|
|
2325
|
+
"description": "Focus callback"
|
|
2326
2326
|
},
|
|
2327
2327
|
"className": {
|
|
2328
2328
|
"type": "string",
|
|
2329
|
-
"description": "
|
|
2329
|
+
"description": "Style override"
|
|
2330
2330
|
}
|
|
2331
2331
|
},
|
|
2332
2332
|
"additionalProperties": false,
|
|
2333
|
-
"description": "
|
|
2333
|
+
"description": "Text input field. Supports label, description, prefix/suffix icons, clearable, character counter."
|
|
2334
2334
|
}
|
|
2335
2335
|
},
|
|
2336
2336
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2342,22 +2342,22 @@
|
|
|
2342
2342
|
"type": "object",
|
|
2343
2343
|
"properties": {
|
|
2344
2344
|
"children": {
|
|
2345
|
-
"description": "
|
|
2345
|
+
"description": "App root element (ReactNode, required)"
|
|
2346
2346
|
},
|
|
2347
2347
|
"defaultTheme": {
|
|
2348
2348
|
"type": "string",
|
|
2349
|
-
"description": "
|
|
2349
|
+
"description": "Default theme (e.g. \"dark\", \"light\")"
|
|
2350
2350
|
},
|
|
2351
2351
|
"storageKey": {
|
|
2352
2352
|
"type": "string",
|
|
2353
|
-
"description": "localStorage
|
|
2353
|
+
"description": "localStorage storage key (default: \"theme\")"
|
|
2354
2354
|
},
|
|
2355
2355
|
"themes": {
|
|
2356
2356
|
"type": "array",
|
|
2357
2357
|
"items": {
|
|
2358
2358
|
"type": "string"
|
|
2359
2359
|
},
|
|
2360
|
-
"description": "
|
|
2360
|
+
"description": "Available theme list (default: [\"light\", \"dark\"])"
|
|
2361
2361
|
},
|
|
2362
2362
|
"attribute": {
|
|
2363
2363
|
"anyOf": [
|
|
@@ -2371,23 +2371,23 @@
|
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
2373
|
],
|
|
2374
|
-
"description": "
|
|
2374
|
+
"description": "Theme HTML attribute (default: \"data-theme\")"
|
|
2375
2375
|
},
|
|
2376
2376
|
"enableSystem": {
|
|
2377
2377
|
"type": "boolean",
|
|
2378
|
-
"description": "
|
|
2378
|
+
"description": "Enable system theme detection"
|
|
2379
2379
|
},
|
|
2380
2380
|
"disableTransitionOnChange": {
|
|
2381
2381
|
"type": "boolean",
|
|
2382
|
-
"description": "
|
|
2382
|
+
"description": "Disable transitions on theme change"
|
|
2383
2383
|
},
|
|
2384
2384
|
"forcedTheme": {
|
|
2385
2385
|
"type": "string",
|
|
2386
|
-
"description": "
|
|
2386
|
+
"description": "Forced theme (user cannot change)"
|
|
2387
2387
|
},
|
|
2388
2388
|
"enableColorScheme": {
|
|
2389
2389
|
"type": "boolean",
|
|
2390
|
-
"description": "color-scheme CSS
|
|
2390
|
+
"description": "Auto-set color-scheme CSS property"
|
|
2391
2391
|
},
|
|
2392
2392
|
"nonce": {
|
|
2393
2393
|
"type": "string",
|
|
@@ -2395,7 +2395,7 @@
|
|
|
2395
2395
|
}
|
|
2396
2396
|
},
|
|
2397
2397
|
"additionalProperties": false,
|
|
2398
|
-
"description": "
|
|
2398
|
+
"description": "Theme provider. Based on next-themes. Access theme state via useTheme() hook."
|
|
2399
2399
|
}
|
|
2400
2400
|
},
|
|
2401
2401
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2407,36 +2407,36 @@
|
|
|
2407
2407
|
"type": "object",
|
|
2408
2408
|
"properties": {
|
|
2409
2409
|
"description": {
|
|
2410
|
-
"description": "
|
|
2410
|
+
"description": "Toast subtitle (ReactNode)"
|
|
2411
2411
|
},
|
|
2412
2412
|
"duration": {
|
|
2413
2413
|
"type": "number",
|
|
2414
|
-
"description": "
|
|
2414
|
+
"description": "Auto-dismiss duration (ms). Default 4000"
|
|
2415
2415
|
},
|
|
2416
2416
|
"icon": {
|
|
2417
|
-
"description": "
|
|
2417
|
+
"description": "Custom icon (ReactNode)"
|
|
2418
2418
|
},
|
|
2419
2419
|
"action": {
|
|
2420
|
-
"description": "
|
|
2420
|
+
"description": "Action button. { label: ReactNode, onClick: () => void }"
|
|
2421
2421
|
},
|
|
2422
2422
|
"cancel": {
|
|
2423
|
-
"description": "
|
|
2423
|
+
"description": "Cancel button. { label: ReactNode, onClick: () => void }"
|
|
2424
2424
|
},
|
|
2425
2425
|
"closeButton": {
|
|
2426
2426
|
"type": "boolean",
|
|
2427
|
-
"description": "
|
|
2427
|
+
"description": "Show close (X) button"
|
|
2428
2428
|
},
|
|
2429
2429
|
"dismissible": {
|
|
2430
2430
|
"type": "boolean",
|
|
2431
|
-
"description": "
|
|
2431
|
+
"description": "Allow dismiss via swipe/click"
|
|
2432
2432
|
},
|
|
2433
2433
|
"richColors": {
|
|
2434
2434
|
"type": "boolean",
|
|
2435
|
-
"description": "success/error/warning/info
|
|
2435
|
+
"description": "Apply strong colors for success/error/warning/info"
|
|
2436
2436
|
},
|
|
2437
2437
|
"invert": {
|
|
2438
2438
|
"type": "boolean",
|
|
2439
|
-
"description": "
|
|
2439
|
+
"description": "Invert colors (dark↔light)"
|
|
2440
2440
|
},
|
|
2441
2441
|
"position": {
|
|
2442
2442
|
"type": "string",
|
|
@@ -2448,35 +2448,35 @@
|
|
|
2448
2448
|
"bottom-center",
|
|
2449
2449
|
"bottom-right"
|
|
2450
2450
|
],
|
|
2451
|
-
"description": "
|
|
2451
|
+
"description": "Individual position for this toast"
|
|
2452
2452
|
},
|
|
2453
2453
|
"onDismiss": {
|
|
2454
|
-
"description": "
|
|
2454
|
+
"description": "Dismiss callback (toast: ToastT) => void"
|
|
2455
2455
|
},
|
|
2456
2456
|
"onAutoClose": {
|
|
2457
|
-
"description": "
|
|
2457
|
+
"description": "Auto-close callback (toast: ToastT) => void"
|
|
2458
2458
|
},
|
|
2459
2459
|
"className": {
|
|
2460
2460
|
"type": "string",
|
|
2461
|
-
"description": "
|
|
2461
|
+
"description": "Toast custom class"
|
|
2462
2462
|
},
|
|
2463
2463
|
"style": {
|
|
2464
|
-
"description": "
|
|
2464
|
+
"description": "Toast inline style (CSSProperties)"
|
|
2465
2465
|
},
|
|
2466
2466
|
"unstyled": {
|
|
2467
2467
|
"type": "boolean",
|
|
2468
|
-
"description": "
|
|
2468
|
+
"description": "Remove default styles (for custom styling)"
|
|
2469
2469
|
},
|
|
2470
2470
|
"id": {
|
|
2471
2471
|
"type": [
|
|
2472
2472
|
"string",
|
|
2473
2473
|
"number"
|
|
2474
2474
|
],
|
|
2475
|
-
"description": "
|
|
2475
|
+
"description": "Toast ID (for deduplication or updates)"
|
|
2476
2476
|
}
|
|
2477
2477
|
},
|
|
2478
2478
|
"additionalProperties": false,
|
|
2479
|
-
"description": "toast()
|
|
2479
|
+
"description": "toast() call options. Used as toast(message, options). Fully customizable via toast.custom(jsx)."
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
2482
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2498,12 +2498,12 @@
|
|
|
2498
2498
|
"bottom-right"
|
|
2499
2499
|
],
|
|
2500
2500
|
"default": "top-center",
|
|
2501
|
-
"description": "
|
|
2501
|
+
"description": "Default toast position"
|
|
2502
2502
|
},
|
|
2503
2503
|
"unstyled": {
|
|
2504
2504
|
"type": "boolean",
|
|
2505
2505
|
"default": false,
|
|
2506
|
-
"description": "
|
|
2506
|
+
"description": "Remove default styles (for custom styling)"
|
|
2507
2507
|
},
|
|
2508
2508
|
"theme": {
|
|
2509
2509
|
"type": "string",
|
|
@@ -2512,34 +2512,34 @@
|
|
|
2512
2512
|
"dark",
|
|
2513
2513
|
"system"
|
|
2514
2514
|
],
|
|
2515
|
-
"description": "
|
|
2515
|
+
"description": "Theme setting"
|
|
2516
2516
|
},
|
|
2517
2517
|
"richColors": {
|
|
2518
2518
|
"type": "boolean",
|
|
2519
|
-
"description": "success/error/warning/info
|
|
2519
|
+
"description": "Apply strong colors for success/error/warning/info"
|
|
2520
2520
|
},
|
|
2521
2521
|
"expand": {
|
|
2522
2522
|
"type": "boolean",
|
|
2523
|
-
"description": "
|
|
2523
|
+
"description": "Always show toasts in expanded state"
|
|
2524
2524
|
},
|
|
2525
2525
|
"duration": {
|
|
2526
2526
|
"type": "number",
|
|
2527
|
-
"description": "
|
|
2527
|
+
"description": "Global auto-dismiss duration (ms). Default 4000"
|
|
2528
2528
|
},
|
|
2529
2529
|
"visibleToasts": {
|
|
2530
2530
|
"type": "number",
|
|
2531
|
-
"description": "
|
|
2531
|
+
"description": "Maximum visible toasts at once"
|
|
2532
2532
|
},
|
|
2533
2533
|
"closeButton": {
|
|
2534
2534
|
"type": "boolean",
|
|
2535
|
-
"description": "
|
|
2535
|
+
"description": "Show close button on all toasts"
|
|
2536
2536
|
},
|
|
2537
2537
|
"gap": {
|
|
2538
2538
|
"type": "number",
|
|
2539
|
-
"description": "
|
|
2539
|
+
"description": "Gap between toasts (px)"
|
|
2540
2540
|
},
|
|
2541
2541
|
"offset": {
|
|
2542
|
-
"description": "
|
|
2542
|
+
"description": "Offset from screen edge. string | number | { top, right, bottom, left }"
|
|
2543
2543
|
},
|
|
2544
2544
|
"dir": {
|
|
2545
2545
|
"type": "string",
|
|
@@ -2548,11 +2548,11 @@
|
|
|
2548
2548
|
"rtl",
|
|
2549
2549
|
"auto"
|
|
2550
2550
|
],
|
|
2551
|
-
"description": "
|
|
2551
|
+
"description": "Text direction"
|
|
2552
2552
|
}
|
|
2553
2553
|
},
|
|
2554
2554
|
"additionalProperties": false,
|
|
2555
|
-
"description": "Toaster
|
|
2555
|
+
"description": "Toaster config. Place once at app root. Display notifications via toast(). Based on sonner."
|
|
2556
2556
|
}
|
|
2557
2557
|
},
|
|
2558
2558
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2564,10 +2564,10 @@
|
|
|
2564
2564
|
"type": "object",
|
|
2565
2565
|
"properties": {
|
|
2566
2566
|
"children": {
|
|
2567
|
-
"description": "
|
|
2567
|
+
"description": "Trigger element (ReactNode, required)"
|
|
2568
2568
|
},
|
|
2569
2569
|
"content": {
|
|
2570
|
-
"description": "
|
|
2570
|
+
"description": "Tooltip content (ReactNode, required)"
|
|
2571
2571
|
},
|
|
2572
2572
|
"variant": {
|
|
2573
2573
|
"type": "string",
|
|
@@ -2576,7 +2576,7 @@
|
|
|
2576
2576
|
"light"
|
|
2577
2577
|
],
|
|
2578
2578
|
"default": "dark",
|
|
2579
|
-
"description": "
|
|
2579
|
+
"description": "Style"
|
|
2580
2580
|
},
|
|
2581
2581
|
"side": {
|
|
2582
2582
|
"type": "string",
|
|
@@ -2587,7 +2587,7 @@
|
|
|
2587
2587
|
"left"
|
|
2588
2588
|
],
|
|
2589
2589
|
"default": "top",
|
|
2590
|
-
"description": "
|
|
2590
|
+
"description": "Position"
|
|
2591
2591
|
},
|
|
2592
2592
|
"align": {
|
|
2593
2593
|
"type": "string",
|
|
@@ -2597,29 +2597,29 @@
|
|
|
2597
2597
|
"end"
|
|
2598
2598
|
],
|
|
2599
2599
|
"default": "center",
|
|
2600
|
-
"description": "
|
|
2600
|
+
"description": "Alignment"
|
|
2601
2601
|
},
|
|
2602
2602
|
"delayDuration": {
|
|
2603
2603
|
"type": "number",
|
|
2604
2604
|
"default": 200,
|
|
2605
|
-
"description": "
|
|
2605
|
+
"description": "Show delay (ms)"
|
|
2606
2606
|
},
|
|
2607
2607
|
"disabled": {
|
|
2608
2608
|
"type": "boolean",
|
|
2609
2609
|
"default": false,
|
|
2610
|
-
"description": "
|
|
2610
|
+
"description": "Disabled"
|
|
2611
2611
|
},
|
|
2612
2612
|
"className": {
|
|
2613
2613
|
"type": "string",
|
|
2614
|
-
"description": "Content
|
|
2614
|
+
"description": "Content style"
|
|
2615
2615
|
},
|
|
2616
2616
|
"triggerClassName": {
|
|
2617
2617
|
"type": "string",
|
|
2618
|
-
"description": "Trigger
|
|
2618
|
+
"description": "Trigger style"
|
|
2619
2619
|
}
|
|
2620
2620
|
},
|
|
2621
2621
|
"additionalProperties": false,
|
|
2622
|
-
"description": "
|
|
2622
|
+
"description": "Tooltip. Based on Radix Tooltip. Built-in Provider."
|
|
2623
2623
|
}
|
|
2624
2624
|
},
|
|
2625
2625
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2632,7 +2632,7 @@
|
|
|
2632
2632
|
"properties": {
|
|
2633
2633
|
"items": {
|
|
2634
2634
|
"type": "array",
|
|
2635
|
-
"description": "
|
|
2635
|
+
"description": "Data array (required)"
|
|
2636
2636
|
},
|
|
2637
2637
|
"estimateSize": {
|
|
2638
2638
|
"anyOf": [
|
|
@@ -2641,42 +2641,42 @@
|
|
|
2641
2641
|
},
|
|
2642
2642
|
{}
|
|
2643
2643
|
],
|
|
2644
|
-
"description": "
|
|
2644
|
+
"description": "Estimated item height (number or (index) => number, required)"
|
|
2645
2645
|
},
|
|
2646
2646
|
"renderItem": {
|
|
2647
|
-
"description": "
|
|
2647
|
+
"description": "Item renderer (item, index, virtualItem) => ReactNode (required)"
|
|
2648
2648
|
},
|
|
2649
2649
|
"overscan": {
|
|
2650
2650
|
"type": "number",
|
|
2651
2651
|
"default": 5,
|
|
2652
|
-
"description": "
|
|
2652
|
+
"description": "Overscan count"
|
|
2653
2653
|
},
|
|
2654
2654
|
"gap": {
|
|
2655
2655
|
"type": "number",
|
|
2656
2656
|
"default": 0,
|
|
2657
|
-
"description": "
|
|
2657
|
+
"description": "Item gap (px)"
|
|
2658
2658
|
},
|
|
2659
2659
|
"className": {
|
|
2660
2660
|
"type": "string",
|
|
2661
|
-
"description": "
|
|
2661
|
+
"description": "Scroll container style"
|
|
2662
2662
|
},
|
|
2663
2663
|
"style": {
|
|
2664
|
-
"description": "
|
|
2664
|
+
"description": "Inline style (CSSProperties)"
|
|
2665
2665
|
},
|
|
2666
2666
|
"endReachedThreshold": {
|
|
2667
2667
|
"type": "number",
|
|
2668
2668
|
"default": 200,
|
|
2669
|
-
"description": "
|
|
2669
|
+
"description": "End detection threshold (px)"
|
|
2670
2670
|
},
|
|
2671
2671
|
"onEndReached": {
|
|
2672
|
-
"description": "
|
|
2672
|
+
"description": "End reached callback () => void"
|
|
2673
2673
|
}
|
|
2674
2674
|
},
|
|
2675
2675
|
"required": [
|
|
2676
2676
|
"items"
|
|
2677
2677
|
],
|
|
2678
2678
|
"additionalProperties": false,
|
|
2679
|
-
"description": "
|
|
2679
|
+
"description": "Virtual scroll list. Based on @tanstack/react-virtual."
|
|
2680
2680
|
}
|
|
2681
2681
|
},
|
|
2682
2682
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2689,11 +2689,11 @@
|
|
|
2689
2689
|
"properties": {
|
|
2690
2690
|
"items": {
|
|
2691
2691
|
"type": "array",
|
|
2692
|
-
"description": "
|
|
2692
|
+
"description": "Data array (required)"
|
|
2693
2693
|
},
|
|
2694
2694
|
"columns": {
|
|
2695
2695
|
"type": "number",
|
|
2696
|
-
"description": "
|
|
2696
|
+
"description": "Column count (required)"
|
|
2697
2697
|
},
|
|
2698
2698
|
"estimateSize": {
|
|
2699
2699
|
"anyOf": [
|
|
@@ -2702,35 +2702,35 @@
|
|
|
2702
2702
|
},
|
|
2703
2703
|
{}
|
|
2704
2704
|
],
|
|
2705
|
-
"description": "
|
|
2705
|
+
"description": "Estimated item height (required)"
|
|
2706
2706
|
},
|
|
2707
2707
|
"renderItem": {
|
|
2708
|
-
"description": "
|
|
2708
|
+
"description": "Item renderer (item, index) => ReactNode (required)"
|
|
2709
2709
|
},
|
|
2710
2710
|
"overscan": {
|
|
2711
2711
|
"type": "number",
|
|
2712
2712
|
"default": 3,
|
|
2713
|
-
"description": "
|
|
2713
|
+
"description": "Overscan count"
|
|
2714
2714
|
},
|
|
2715
2715
|
"gap": {
|
|
2716
2716
|
"type": "number",
|
|
2717
2717
|
"default": 0,
|
|
2718
|
-
"description": "
|
|
2718
|
+
"description": "Item gap (px)"
|
|
2719
2719
|
},
|
|
2720
2720
|
"className": {
|
|
2721
2721
|
"type": "string",
|
|
2722
|
-
"description": "
|
|
2722
|
+
"description": "Scroll container style"
|
|
2723
2723
|
},
|
|
2724
2724
|
"style": {
|
|
2725
|
-
"description": "
|
|
2725
|
+
"description": "Inline style (CSSProperties)"
|
|
2726
2726
|
},
|
|
2727
2727
|
"endReachedThreshold": {
|
|
2728
2728
|
"type": "number",
|
|
2729
2729
|
"default": 200,
|
|
2730
|
-
"description": "
|
|
2730
|
+
"description": "End detection threshold (px)"
|
|
2731
2731
|
},
|
|
2732
2732
|
"onEndReached": {
|
|
2733
|
-
"description": "
|
|
2733
|
+
"description": "End reached callback () => void"
|
|
2734
2734
|
}
|
|
2735
2735
|
},
|
|
2736
2736
|
"required": [
|
|
@@ -2738,7 +2738,7 @@
|
|
|
2738
2738
|
"columns"
|
|
2739
2739
|
],
|
|
2740
2740
|
"additionalProperties": false,
|
|
2741
|
-
"description": "
|
|
2741
|
+
"description": "Virtual scroll grid. Based on @tanstack/react-virtual."
|
|
2742
2742
|
}
|
|
2743
2743
|
},
|
|
2744
2744
|
"$schema": "http://json-schema.org/draft-07/schema#"
|