@refineui/react 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/authoring-manifest.cjs +1812 -1060
  2. package/dist/authoring-manifest.cjs.map +1 -1
  3. package/dist/authoring-manifest.js +1812 -1060
  4. package/dist/authoring-manifest.js.map +1 -1
  5. package/dist/index.cjs +6013 -5103
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +176 -22
  8. package/dist/index.d.ts +176 -22
  9. package/dist/index.js +6331 -5444
  10. package/dist/index.js.map +1 -1
  11. package/dist/spec/authoring/components/calendar.json +14 -1
  12. package/dist/spec/authoring/components/code-block-actions.json +28 -0
  13. package/dist/spec/authoring/components/code-block-content.json +45 -0
  14. package/dist/spec/authoring/components/code-block-copy-button.json +28 -0
  15. package/dist/spec/authoring/components/code-block-header.json +28 -0
  16. package/dist/spec/authoring/components/code-block-line.json +31 -0
  17. package/dist/spec/authoring/components/code-block-title.json +18 -0
  18. package/dist/spec/authoring/components/code-block.json +90 -0
  19. package/dist/spec/authoring/components/date-input.json +61 -0
  20. package/dist/spec/authoring/components/kbd.json +48 -0
  21. package/dist/spec/authoring/components/marker-content.json +18 -0
  22. package/dist/spec/authoring/components/marker-icon.json +18 -0
  23. package/dist/spec/authoring/components/marker.json +41 -0
  24. package/dist/spec/authoring/components/message-avatar.json +18 -0
  25. package/dist/spec/authoring/components/message-content.json +18 -0
  26. package/dist/spec/authoring/components/message-footer.json +18 -0
  27. package/dist/spec/authoring/components/message.json +42 -0
  28. package/dist/spec/authoring/components/popover-content.json +18 -1
  29. package/dist/spec/authoring/components/result-actions.json +18 -0
  30. package/dist/spec/authoring/components/result-button.json +18 -0
  31. package/dist/spec/authoring/components/result-description.json +18 -0
  32. package/dist/spec/authoring/components/result-icon.json +18 -0
  33. package/dist/spec/authoring/components/result-title.json +18 -0
  34. package/dist/spec/authoring/components/result.json +44 -0
  35. package/dist/spec/authoring/components/time-input.json +38 -0
  36. package/dist/spec/authoring/manifest.json +1812 -1060
  37. package/dist/spec/components/calendar.json +9 -0
  38. package/dist/spec/components/code-block.json +18 -0
  39. package/dist/spec/components/date-input.json +71 -0
  40. package/dist/spec/components/kbd.json +16 -0
  41. package/dist/spec/components/marker.json +21 -0
  42. package/dist/spec/components/message.json +22 -0
  43. package/dist/spec/components/result.json +1 -0
  44. package/dist/spec/components/time-input.json +24 -0
  45. package/dist/spec/contract-index.json +25 -1
  46. package/dist/spec/manifest.json +24 -0
  47. package/dist/spec/token-trace-v2.json +1 -1
  48. package/package.json +2 -2
  49. package/refineui.css +211 -32
  50. package/spec/authoring/components/calendar.json +14 -1
  51. package/spec/authoring/components/code-block-actions.json +28 -0
  52. package/spec/authoring/components/code-block-content.json +45 -0
  53. package/spec/authoring/components/code-block-copy-button.json +28 -0
  54. package/spec/authoring/components/code-block-header.json +28 -0
  55. package/spec/authoring/components/code-block-line.json +31 -0
  56. package/spec/authoring/components/code-block-title.json +18 -0
  57. package/spec/authoring/components/code-block.json +90 -0
  58. package/spec/authoring/components/date-input.json +61 -0
  59. package/spec/authoring/components/kbd.json +48 -0
  60. package/spec/authoring/components/marker-content.json +18 -0
  61. package/spec/authoring/components/marker-icon.json +18 -0
  62. package/spec/authoring/components/marker.json +41 -0
  63. package/spec/authoring/components/message-avatar.json +18 -0
  64. package/spec/authoring/components/message-content.json +18 -0
  65. package/spec/authoring/components/message-footer.json +18 -0
  66. package/spec/authoring/components/message.json +42 -0
  67. package/spec/authoring/components/popover-content.json +18 -1
  68. package/spec/authoring/components/result-actions.json +18 -0
  69. package/spec/authoring/components/result-button.json +18 -0
  70. package/spec/authoring/components/result-description.json +18 -0
  71. package/spec/authoring/components/result-icon.json +18 -0
  72. package/spec/authoring/components/result-title.json +18 -0
  73. package/spec/authoring/components/result.json +44 -0
  74. package/spec/authoring/components/time-input.json +38 -0
  75. package/spec/authoring/manifest.json +1812 -1060
  76. package/spec/components/calendar.json +9 -0
  77. package/spec/components/code-block.json +18 -0
  78. package/spec/components/date-input.json +71 -0
  79. package/spec/components/kbd.json +16 -0
  80. package/spec/components/marker.json +21 -0
  81. package/spec/components/message.json +22 -0
  82. package/spec/components/result.json +1 -0
  83. package/spec/components/time-input.json +24 -0
  84. package/spec/manifest.json +24 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "refineui.authoring/1",
3
3
  "packageName": "@refineui/react",
4
- "packageVersion": "0.3.0",
4
+ "packageVersion": "0.4.1",
5
5
  "css": [
6
6
  "@refineui/react/refineui.css"
7
7
  ],
@@ -195,34 +195,24 @@
195
195
  ]
196
196
  },
197
197
  {
198
- "id": "input-otp",
198
+ "id": "date-input",
199
199
  "exportPath": "@refineui/react",
200
- "exportName": "InputOTP",
200
+ "exportName": "DateInput",
201
201
  "kind": "root",
202
202
  "category": "components",
203
- "label": "Input OTP",
203
+ "label": "Date Input",
204
204
  "props": [
205
205
  {
206
- "name": "size",
207
- "label": "size",
206
+ "name": "mode",
207
+ "label": "mode",
208
208
  "valueType": "enum",
209
209
  "control": "segmented",
210
210
  "options": [
211
- "sm",
212
- "md",
213
- "lg"
211
+ "single",
212
+ "range"
214
213
  ],
215
- "defaultValue": "sm",
214
+ "defaultValue": "single",
216
215
  "section": "variants"
217
- },
218
- {
219
- "name": "maxLength",
220
- "label": "max Length",
221
- "valueType": "number",
222
- "control": "number",
223
- "defaultValue": 4,
224
- "required": true,
225
- "section": "properties"
226
216
  }
227
217
  ],
228
218
  "preview": {
@@ -231,48 +221,27 @@
231
221
  "slots": [
232
222
  {
233
223
  "name": "children",
234
- "accepts": [
235
- "InputOTPSlot"
236
- ],
224
+ "accepts": [],
237
225
  "repeatable": true,
238
- "min": 1
226
+ "allowText": true,
227
+ "allowAnyComponent": true,
228
+ "defaultChildren": []
239
229
  }
240
230
  ],
241
231
  "presets": [
242
232
  {
243
- "id": "code",
244
- "label": "Verification code",
233
+ "id": "default",
234
+ "label": "Default",
245
235
  "root": {
246
- "component": "InputOTP",
247
- "props": {
248
- "maxLength": 4,
249
- "aria-label": "Verification code"
250
- },
236
+ "component": "DateInput",
251
237
  "slots": {
252
238
  "children": [
253
239
  {
254
- "component": "InputOTPSlot",
255
- "props": {
256
- "index": 0
257
- }
258
- },
259
- {
260
- "component": "InputOTPSlot",
261
- "props": {
262
- "index": 1
263
- }
264
- },
265
- {
266
- "component": "InputOTPSlot",
267
- "props": {
268
- "index": 2
269
- }
270
- },
271
- {
272
- "component": "InputOTPSlot",
240
+ "component": "Text",
273
241
  "props": {
274
- "index": 3
275
- }
242
+ "variant": "bodyMd"
243
+ },
244
+ "text": "Date Input"
276
245
  }
277
246
  ]
278
247
  }
@@ -287,66 +256,51 @@
287
256
  ]
288
257
  },
289
258
  {
290
- "id": "input-otpslot",
259
+ "id": "time-input",
291
260
  "exportPath": "@refineui/react",
292
- "exportName": "InputOTPSlot",
293
- "kind": "part",
294
- "category": "parts",
295
- "label": "Input OTPSlot",
296
- "props": [
297
- {
298
- "name": "index",
299
- "label": "index",
300
- "valueType": "number",
301
- "control": "number",
302
- "required": true,
303
- "section": "properties"
304
- }
305
- ],
261
+ "exportName": "TimeInput",
262
+ "kind": "root",
263
+ "category": "utilities",
264
+ "label": "Time Input",
265
+ "props": [],
306
266
  "preview": {
307
267
  "mode": "full"
308
268
  },
309
- "parents": [
269
+ "slots": [
310
270
  {
311
- "component": "InputOTP",
312
- "slot": "children"
271
+ "name": "children",
272
+ "accepts": [],
273
+ "repeatable": true,
274
+ "allowText": false,
275
+ "allowAnyComponent": true,
276
+ "defaultChildren": []
277
+ }
278
+ ],
279
+ "presets": [
280
+ {
281
+ "id": "default",
282
+ "label": "Default",
283
+ "root": {
284
+ "component": "TimeInput",
285
+ "slots": {}
286
+ }
287
+ }
288
+ ],
289
+ "events": [
290
+ {
291
+ "name": "click",
292
+ "payload": "void"
313
293
  }
314
294
  ]
315
295
  },
316
296
  {
317
- "id": "search-field",
297
+ "id": "code-block",
318
298
  "exportPath": "@refineui/react",
319
- "exportName": "SearchField",
299
+ "exportName": "CodeBlock",
320
300
  "kind": "root",
321
301
  "category": "components",
322
- "label": "Search Field",
323
- "props": [
324
- {
325
- "name": "appearance",
326
- "label": "appearance",
327
- "valueType": "enum",
328
- "control": "segmented",
329
- "options": [
330
- "filled",
331
- "plain"
332
- ],
333
- "defaultValue": "filled",
334
- "section": "variants"
335
- },
336
- {
337
- "name": "size",
338
- "label": "size",
339
- "valueType": "enum",
340
- "control": "segmented",
341
- "options": [
342
- "sm",
343
- "md",
344
- "lg"
345
- ],
346
- "defaultValue": "sm",
347
- "section": "variants"
348
- }
349
- ],
302
+ "label": "Code Block",
303
+ "props": [],
350
304
  "preview": {
351
305
  "mode": "full"
352
306
  },
@@ -354,272 +308,288 @@
354
308
  {
355
309
  "name": "children",
356
310
  "accepts": [
357
- "SearchFieldIcon",
358
- "SearchFieldInput",
359
- "SearchFieldClear"
311
+ "CodeBlockHeader",
312
+ "CodeBlockContent"
360
313
  ],
361
314
  "repeatable": true
362
315
  }
363
316
  ],
364
317
  "presets": [
365
318
  {
366
- "id": "search",
367
- "label": "Search field",
319
+ "id": "typescript",
320
+ "label": "TypeScript",
368
321
  "root": {
369
- "component": "SearchField",
370
- "props": {
371
- "aria-label": "Search"
372
- },
322
+ "component": "CodeBlock",
373
323
  "slots": {
374
324
  "children": [
375
325
  {
376
- "component": "SearchFieldIcon"
326
+ "component": "CodeBlockHeader",
327
+ "slots": {
328
+ "children": [
329
+ {
330
+ "component": "CodeBlockTitle",
331
+ "text": "app/api/chat/route.ts"
332
+ },
333
+ {
334
+ "component": "CodeBlockActions",
335
+ "slots": {
336
+ "children": [
337
+ {
338
+ "component": "CodeBlockCopyButton",
339
+ "props": {
340
+ "value": "export async function POST() {\n return Response.json({ ok: true });\n}"
341
+ }
342
+ }
343
+ ]
344
+ }
345
+ }
346
+ ]
347
+ }
377
348
  },
378
349
  {
379
- "component": "SearchFieldInput",
350
+ "component": "CodeBlockContent",
380
351
  "props": {
381
- "placeholder": "Search"
352
+ "lineNumbers": true
353
+ },
354
+ "slots": {
355
+ "children": [
356
+ {
357
+ "component": "CodeBlockLine",
358
+ "text": "export async function POST() {"
359
+ },
360
+ {
361
+ "component": "CodeBlockLine",
362
+ "props": {
363
+ "variant": "highlighted"
364
+ },
365
+ "text": " return Response.json({ ok: true });"
366
+ },
367
+ {
368
+ "component": "CodeBlockLine",
369
+ "text": "}"
370
+ }
371
+ ]
382
372
  }
383
- },
384
- {
385
- "component": "SearchFieldClear"
386
373
  }
387
374
  ]
388
375
  }
389
376
  }
390
377
  }
391
378
  ],
392
- "stateBindings": [
393
- {
394
- "name": "value",
395
- "valueProp": "value",
396
- "defaultValueProp": "defaultValue",
397
- "changeEvent": "onValueChange",
398
- "valueType": "string"
399
- }
400
- ],
401
379
  "events": [
402
380
  {
403
381
  "name": "click",
404
382
  "payload": "void"
405
- },
406
- {
407
- "name": "onValueChange",
408
- "payload": "string"
409
383
  }
410
384
  ]
411
385
  },
412
386
  {
413
- "id": "search-field-clear",
387
+ "id": "code-block-actions",
414
388
  "exportPath": "@refineui/react",
415
- "exportName": "SearchFieldClear",
389
+ "exportName": "CodeBlockActions",
416
390
  "kind": "part",
417
391
  "category": "parts",
418
- "label": "Search Field Clear",
392
+ "label": "Code Block Actions",
419
393
  "props": [],
420
394
  "preview": {
421
395
  "mode": "full"
422
396
  },
423
397
  "parents": [
424
398
  {
425
- "component": "SearchField",
399
+ "component": "CodeBlockHeader",
426
400
  "slot": "children"
427
401
  }
402
+ ],
403
+ "slots": [
404
+ {
405
+ "name": "children",
406
+ "accepts": [
407
+ "CodeBlockCopyButton",
408
+ "Button"
409
+ ],
410
+ "repeatable": true
411
+ }
428
412
  ]
429
413
  },
430
414
  {
431
- "id": "search-field-icon",
415
+ "id": "code-block-content",
432
416
  "exportPath": "@refineui/react",
433
- "exportName": "SearchFieldIcon",
417
+ "exportName": "CodeBlockContent",
434
418
  "kind": "part",
435
419
  "category": "parts",
436
- "label": "Search Field Icon",
437
- "props": [],
420
+ "label": "Code Block Content",
421
+ "props": [
422
+ {
423
+ "name": "wrap",
424
+ "valueType": "boolean",
425
+ "control": "toggle",
426
+ "defaultValue": false,
427
+ "section": "properties",
428
+ "label": "wrap"
429
+ },
430
+ {
431
+ "name": "lineNumbers",
432
+ "valueType": "boolean",
433
+ "control": "toggle",
434
+ "defaultValue": false,
435
+ "section": "properties",
436
+ "label": "line Numbers"
437
+ }
438
+ ],
438
439
  "preview": {
439
440
  "mode": "full"
440
441
  },
441
442
  "parents": [
442
443
  {
443
- "component": "SearchField",
444
+ "component": "CodeBlock",
444
445
  "slot": "children"
445
446
  }
447
+ ],
448
+ "slots": [
449
+ {
450
+ "name": "children",
451
+ "accepts": [
452
+ "CodeBlockLine"
453
+ ],
454
+ "repeatable": true,
455
+ "min": 1
456
+ }
446
457
  ]
447
458
  },
448
459
  {
449
- "id": "search-field-input",
460
+ "id": "code-block-copy-button",
450
461
  "exportPath": "@refineui/react",
451
- "exportName": "SearchFieldInput",
462
+ "exportName": "CodeBlockCopyButton",
452
463
  "kind": "part",
453
464
  "category": "parts",
454
- "label": "Search Field Input",
455
- "props": [],
465
+ "label": "Code Block Copy Button",
466
+ "props": [
467
+ {
468
+ "name": "value",
469
+ "label": "value",
470
+ "valueType": "string",
471
+ "control": "textarea",
472
+ "defaultValue": "",
473
+ "required": true,
474
+ "section": "properties"
475
+ }
476
+ ],
456
477
  "preview": {
457
478
  "mode": "full"
458
479
  },
459
480
  "parents": [
460
481
  {
461
- "component": "SearchField",
482
+ "component": "CodeBlockActions",
462
483
  "slot": "children"
463
484
  }
464
485
  ]
465
486
  },
466
487
  {
467
- "id": "text",
488
+ "id": "code-block-header",
468
489
  "exportPath": "@refineui/react",
469
- "exportName": "Text",
470
- "kind": "root",
471
- "category": "components",
472
- "label": "Text",
473
- "props": [
490
+ "exportName": "CodeBlockHeader",
491
+ "kind": "part",
492
+ "category": "parts",
493
+ "label": "Code Block Header",
494
+ "props": [],
495
+ "preview": {
496
+ "mode": "full"
497
+ },
498
+ "parents": [
474
499
  {
475
- "name": "variant",
476
- "label": "Text style",
477
- "valueType": "enum",
478
- "control": "select",
479
- "options": [
480
- "displayLg",
481
- "displayMd",
482
- "displaySm",
483
- "headingLg",
484
- "headingMd",
485
- "headingSm",
486
- "titleLg",
487
- "titleMd",
488
- "titleSm",
489
- "subtitleLg",
490
- "subtitleMd",
491
- "bodyLg",
492
- "bodyMd",
493
- "bodySm",
494
- "bodyXs",
495
- "labelLg",
496
- "labelMd",
497
- "labelSm",
498
- "captionLg",
499
- "captionMd",
500
- "captionSm"
501
- ],
502
- "defaultValue": "bodyMd",
503
- "required": true,
504
- "section": "variants"
500
+ "component": "CodeBlock",
501
+ "slot": "children"
505
502
  }
506
503
  ],
507
- "preview": {
508
- "mode": "full"
509
- },
510
504
  "slots": [
511
505
  {
512
506
  "name": "children",
513
- "accepts": [],
514
- "repeatable": true,
515
- "allowText": true,
516
- "allowAnyComponent": true,
517
- "defaultChildren": []
507
+ "accepts": [
508
+ "CodeBlockTitle",
509
+ "CodeBlockActions"
510
+ ],
511
+ "repeatable": true
518
512
  }
519
- ],
520
- "presets": [
513
+ ]
514
+ },
515
+ {
516
+ "id": "code-block-line",
517
+ "exportPath": "@refineui/react",
518
+ "exportName": "CodeBlockLine",
519
+ "kind": "part",
520
+ "category": "parts",
521
+ "label": "Code Block Line",
522
+ "props": [
521
523
  {
522
- "id": "default",
523
- "label": "Default",
524
- "root": {
525
- "component": "Text",
526
- "props": {
527
- "variant": "bodyMd"
528
- },
529
- "slots": {
530
- "children": [
531
- {
532
- "component": "Text",
533
- "props": {
534
- "variant": "bodyMd"
535
- },
536
- "text": "Text"
537
- }
538
- ]
539
- }
540
- }
524
+ "name": "variant",
525
+ "valueType": "enum",
526
+ "control": "segmented",
527
+ "options": [
528
+ "default",
529
+ "highlighted"
530
+ ],
531
+ "defaultValue": "default",
532
+ "section": "variants",
533
+ "label": "variant"
541
534
  }
542
535
  ],
543
- "events": [
536
+ "preview": {
537
+ "mode": "full"
538
+ },
539
+ "parents": [
544
540
  {
545
- "name": "click",
546
- "payload": "void"
541
+ "component": "CodeBlockContent",
542
+ "slot": "children"
547
543
  }
548
544
  ]
549
545
  },
550
546
  {
551
- "id": "textarea",
547
+ "id": "code-block-title",
552
548
  "exportPath": "@refineui/react",
553
- "exportName": "Textarea",
554
- "kind": "root",
555
- "category": "components",
556
- "label": "Textarea",
549
+ "exportName": "CodeBlockTitle",
550
+ "kind": "part",
551
+ "category": "parts",
552
+ "label": "Code Block Title",
557
553
  "props": [],
558
554
  "preview": {
559
555
  "mode": "full"
560
556
  },
561
- "slots": [
562
- {
563
- "name": "children",
564
- "accepts": [],
565
- "repeatable": true,
566
- "allowText": false,
567
- "allowAnyComponent": true,
568
- "defaultChildren": []
569
- }
570
- ],
571
- "presets": [
572
- {
573
- "id": "default",
574
- "label": "Default",
575
- "root": {
576
- "component": "Textarea",
577
- "slots": {}
578
- }
579
- }
580
- ],
581
- "events": [
557
+ "parents": [
582
558
  {
583
- "name": "click",
584
- "payload": "void"
559
+ "component": "CodeBlockHeader",
560
+ "slot": "children"
585
561
  }
586
562
  ]
587
563
  },
588
564
  {
589
- "id": "badge",
565
+ "id": "input-otp",
590
566
  "exportPath": "@refineui/react",
591
- "exportName": "Badge",
567
+ "exportName": "InputOTP",
592
568
  "kind": "root",
593
569
  "category": "components",
594
- "label": "Badge",
570
+ "label": "Input OTP",
595
571
  "props": [
596
572
  {
597
- "name": "variant",
598
- "label": "variant",
573
+ "name": "size",
574
+ "label": "size",
599
575
  "valueType": "enum",
600
- "control": "select",
576
+ "control": "segmented",
601
577
  "options": [
602
- "default",
603
- "neutral",
604
- "outline",
605
- "success",
606
- "warning",
607
- "danger"
578
+ "sm",
579
+ "md",
580
+ "lg"
608
581
  ],
609
- "defaultValue": "default",
582
+ "defaultValue": "sm",
610
583
  "section": "variants"
611
584
  },
612
585
  {
613
- "name": "layout",
614
- "label": "layout",
615
- "valueType": "enum",
616
- "control": "segmented",
617
- "options": [
618
- "label",
619
- "number"
620
- ],
621
- "defaultValue": "label",
622
- "section": "variants"
586
+ "name": "maxLength",
587
+ "label": "max Length",
588
+ "valueType": "number",
589
+ "control": "number",
590
+ "defaultValue": 4,
591
+ "required": true,
592
+ "section": "properties"
623
593
  }
624
594
  ],
625
595
  "preview": {
@@ -628,27 +598,48 @@
628
598
  "slots": [
629
599
  {
630
600
  "name": "children",
631
- "accepts": [],
601
+ "accepts": [
602
+ "InputOTPSlot"
603
+ ],
632
604
  "repeatable": true,
633
- "allowText": true,
634
- "allowAnyComponent": true,
635
- "defaultChildren": []
605
+ "min": 1
636
606
  }
637
607
  ],
638
608
  "presets": [
639
609
  {
640
- "id": "default",
641
- "label": "Default",
610
+ "id": "code",
611
+ "label": "Verification code",
642
612
  "root": {
643
- "component": "Badge",
613
+ "component": "InputOTP",
614
+ "props": {
615
+ "maxLength": 4,
616
+ "aria-label": "Verification code"
617
+ },
644
618
  "slots": {
645
619
  "children": [
646
620
  {
647
- "component": "Text",
621
+ "component": "InputOTPSlot",
648
622
  "props": {
649
- "variant": "bodyMd"
650
- },
651
- "text": "Badge"
623
+ "index": 0
624
+ }
625
+ },
626
+ {
627
+ "component": "InputOTPSlot",
628
+ "props": {
629
+ "index": 1
630
+ }
631
+ },
632
+ {
633
+ "component": "InputOTPSlot",
634
+ "props": {
635
+ "index": 2
636
+ }
637
+ },
638
+ {
639
+ "component": "InputOTPSlot",
640
+ "props": {
641
+ "index": 3
642
+ }
652
643
  }
653
644
  ]
654
645
  }
@@ -663,23 +654,63 @@
663
654
  ]
664
655
  },
665
656
  {
666
- "id": "card",
657
+ "id": "input-otpslot",
667
658
  "exportPath": "@refineui/react",
668
- "exportName": "Card",
659
+ "exportName": "InputOTPSlot",
660
+ "kind": "part",
661
+ "category": "parts",
662
+ "label": "Input OTPSlot",
663
+ "props": [
664
+ {
665
+ "name": "index",
666
+ "label": "index",
667
+ "valueType": "number",
668
+ "control": "number",
669
+ "required": true,
670
+ "section": "properties"
671
+ }
672
+ ],
673
+ "preview": {
674
+ "mode": "full"
675
+ },
676
+ "parents": [
677
+ {
678
+ "component": "InputOTP",
679
+ "slot": "children"
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "id": "search-field",
685
+ "exportPath": "@refineui/react",
686
+ "exportName": "SearchField",
669
687
  "kind": "root",
670
688
  "category": "components",
671
- "label": "Card",
689
+ "label": "Search Field",
672
690
  "props": [
673
691
  {
674
- "name": "variant",
675
- "label": "variant",
692
+ "name": "appearance",
693
+ "label": "appearance",
676
694
  "valueType": "enum",
677
695
  "control": "segmented",
678
696
  "options": [
679
- "elevated",
680
- "outlined"
697
+ "filled",
698
+ "plain"
681
699
  ],
682
- "defaultValue": "elevated",
700
+ "defaultValue": "filled",
701
+ "section": "variants"
702
+ },
703
+ {
704
+ "name": "size",
705
+ "label": "size",
706
+ "valueType": "enum",
707
+ "control": "segmented",
708
+ "options": [
709
+ "sm",
710
+ "md",
711
+ "lg"
712
+ ],
713
+ "defaultValue": "sm",
683
714
  "section": "variants"
684
715
  }
685
716
  ],
@@ -690,237 +721,153 @@
690
721
  {
691
722
  "name": "children",
692
723
  "accepts": [
693
- "CardHeader",
694
- "CardContent",
695
- "CardFooter"
724
+ "SearchFieldIcon",
725
+ "SearchFieldInput",
726
+ "SearchFieldClear"
696
727
  ],
697
728
  "repeatable": true
698
729
  }
699
730
  ],
700
731
  "presets": [
701
732
  {
702
- "id": "content",
703
- "label": "Content card",
733
+ "id": "search",
734
+ "label": "Search field",
704
735
  "root": {
705
- "component": "Card",
736
+ "component": "SearchField",
737
+ "props": {
738
+ "aria-label": "Search"
739
+ },
706
740
  "slots": {
707
741
  "children": [
708
742
  {
709
- "component": "CardHeader",
710
- "slots": {
711
- "children": [
712
- {
713
- "component": "CardHeaderMain",
714
- "slots": {
715
- "children": [
716
- {
717
- "component": "CardTitle",
718
- "text": "Card title"
719
- },
720
- {
721
- "component": "CardDescription",
722
- "text": "A concise description."
723
- }
724
- ]
725
- }
726
- }
727
- ]
728
- }
743
+ "component": "SearchFieldIcon"
729
744
  },
730
745
  {
731
- "component": "CardContent",
732
- "text": "Card content"
746
+ "component": "SearchFieldInput",
747
+ "props": {
748
+ "placeholder": "Search"
749
+ }
733
750
  },
734
751
  {
735
- "component": "CardFooter",
736
- "text": "Footer"
752
+ "component": "SearchFieldClear"
737
753
  }
738
754
  ]
739
755
  }
740
756
  }
741
757
  }
742
758
  ],
759
+ "stateBindings": [
760
+ {
761
+ "name": "value",
762
+ "valueProp": "value",
763
+ "defaultValueProp": "defaultValue",
764
+ "changeEvent": "onValueChange",
765
+ "valueType": "string"
766
+ }
767
+ ],
743
768
  "events": [
744
769
  {
745
770
  "name": "click",
746
771
  "payload": "void"
747
- }
748
- ]
749
- },
750
- {
751
- "id": "card-action",
752
- "exportPath": "@refineui/react",
753
- "exportName": "CardAction",
754
- "kind": "part",
755
- "category": "parts",
756
- "label": "Card Action",
757
- "props": [],
758
- "preview": {
759
- "mode": "full"
760
- },
761
- "parents": [
762
- {
763
- "component": "CardHeader",
764
- "slot": "children"
765
- }
766
- ]
767
- },
768
- {
769
- "id": "card-content",
770
- "exportPath": "@refineui/react",
771
- "exportName": "CardContent",
772
- "kind": "part",
773
- "category": "parts",
774
- "label": "Card Content",
775
- "props": [],
776
- "preview": {
777
- "mode": "full"
778
- },
779
- "parents": [
780
- {
781
- "component": "Card",
782
- "slot": "children"
783
- }
784
- ]
785
- },
786
- {
787
- "id": "card-description",
788
- "exportPath": "@refineui/react",
789
- "exportName": "CardDescription",
790
- "kind": "part",
791
- "category": "parts",
792
- "label": "Card Description",
793
- "props": [],
794
- "preview": {
795
- "mode": "full"
796
- },
797
- "parents": [
798
- {
799
- "component": "CardHeader",
800
- "slot": "children"
801
772
  },
802
773
  {
803
- "component": "CardHeaderMain",
804
- "slot": "children"
805
- }
806
- ]
807
- },
808
- {
809
- "id": "card-footer",
810
- "exportPath": "@refineui/react",
811
- "exportName": "CardFooter",
812
- "kind": "part",
813
- "category": "parts",
814
- "label": "Card Footer",
815
- "props": [],
816
- "preview": {
817
- "mode": "full"
818
- },
819
- "parents": [
820
- {
821
- "component": "Card",
822
- "slot": "children"
774
+ "name": "onValueChange",
775
+ "payload": "string"
823
776
  }
824
777
  ]
825
778
  },
826
779
  {
827
- "id": "card-header",
780
+ "id": "search-field-clear",
828
781
  "exportPath": "@refineui/react",
829
- "exportName": "CardHeader",
782
+ "exportName": "SearchFieldClear",
830
783
  "kind": "part",
831
784
  "category": "parts",
832
- "label": "Card Header",
785
+ "label": "Search Field Clear",
833
786
  "props": [],
834
787
  "preview": {
835
788
  "mode": "full"
836
789
  },
837
790
  "parents": [
838
791
  {
839
- "component": "Card",
792
+ "component": "SearchField",
840
793
  "slot": "children"
841
794
  }
842
- ],
843
- "slots": [
844
- {
845
- "name": "children",
846
- "accepts": [
847
- "CardHeaderMain",
848
- "CardAction",
849
- "CardTitle",
850
- "CardDescription"
851
- ],
852
- "repeatable": true
853
- }
854
795
  ]
855
796
  },
856
797
  {
857
- "id": "card-header-main",
798
+ "id": "search-field-icon",
858
799
  "exportPath": "@refineui/react",
859
- "exportName": "CardHeaderMain",
800
+ "exportName": "SearchFieldIcon",
860
801
  "kind": "part",
861
802
  "category": "parts",
862
- "label": "Card Header Main",
803
+ "label": "Search Field Icon",
863
804
  "props": [],
864
805
  "preview": {
865
806
  "mode": "full"
866
807
  },
867
808
  "parents": [
868
809
  {
869
- "component": "CardHeader",
810
+ "component": "SearchField",
870
811
  "slot": "children"
871
812
  }
872
- ],
873
- "slots": [
874
- {
875
- "name": "children",
876
- "accepts": [
877
- "CardTitle",
878
- "CardDescription"
879
- ],
880
- "repeatable": true
881
- }
882
813
  ]
883
814
  },
884
815
  {
885
- "id": "card-title",
816
+ "id": "search-field-input",
886
817
  "exportPath": "@refineui/react",
887
- "exportName": "CardTitle",
818
+ "exportName": "SearchFieldInput",
888
819
  "kind": "part",
889
820
  "category": "parts",
890
- "label": "Card Title",
821
+ "label": "Search Field Input",
891
822
  "props": [],
892
823
  "preview": {
893
824
  "mode": "full"
894
825
  },
895
826
  "parents": [
896
827
  {
897
- "component": "CardHeader",
898
- "slot": "children"
899
- },
900
- {
901
- "component": "CardHeaderMain",
828
+ "component": "SearchField",
902
829
  "slot": "children"
903
830
  }
904
831
  ]
905
832
  },
906
833
  {
907
- "id": "checkbox",
834
+ "id": "text",
908
835
  "exportPath": "@refineui/react",
909
- "exportName": "Checkbox",
836
+ "exportName": "Text",
910
837
  "kind": "root",
911
838
  "category": "components",
912
- "label": "Checkbox",
839
+ "label": "Text",
913
840
  "props": [
914
841
  {
915
842
  "name": "variant",
916
- "label": "variant",
843
+ "label": "Text style",
917
844
  "valueType": "enum",
918
- "control": "segmented",
845
+ "control": "select",
919
846
  "options": [
920
- "default",
921
- "circular"
847
+ "displayLg",
848
+ "displayMd",
849
+ "displaySm",
850
+ "headingLg",
851
+ "headingMd",
852
+ "headingSm",
853
+ "titleLg",
854
+ "titleMd",
855
+ "titleSm",
856
+ "subtitleLg",
857
+ "subtitleMd",
858
+ "bodyLg",
859
+ "bodyMd",
860
+ "bodySm",
861
+ "bodyXs",
862
+ "labelLg",
863
+ "labelMd",
864
+ "labelSm",
865
+ "captionLg",
866
+ "captionMd",
867
+ "captionSm"
922
868
  ],
923
- "defaultValue": "default",
869
+ "defaultValue": "bodyMd",
870
+ "required": true,
924
871
  "section": "variants"
925
872
  }
926
873
  ],
@@ -932,7 +879,7 @@
932
879
  "name": "children",
933
880
  "accepts": [],
934
881
  "repeatable": true,
935
- "allowText": false,
882
+ "allowText": true,
936
883
  "allowAnyComponent": true,
937
884
  "defaultChildren": []
938
885
  }
@@ -942,8 +889,21 @@
942
889
  "id": "default",
943
890
  "label": "Default",
944
891
  "root": {
945
- "component": "Checkbox",
946
- "slots": {}
892
+ "component": "Text",
893
+ "props": {
894
+ "variant": "bodyMd"
895
+ },
896
+ "slots": {
897
+ "children": [
898
+ {
899
+ "component": "Text",
900
+ "props": {
901
+ "variant": "bodyMd"
902
+ },
903
+ "text": "Text"
904
+ }
905
+ ]
906
+ }
947
907
  }
948
908
  }
949
909
  ],
@@ -955,12 +915,12 @@
955
915
  ]
956
916
  },
957
917
  {
958
- "id": "radio",
918
+ "id": "textarea",
959
919
  "exportPath": "@refineui/react",
960
- "exportName": "Radio",
920
+ "exportName": "Textarea",
961
921
  "kind": "root",
962
922
  "category": "components",
963
- "label": "Radio",
923
+ "label": "Textarea",
964
924
  "props": [],
965
925
  "preview": {
966
926
  "mode": "full"
@@ -968,24 +928,20 @@
968
928
  "slots": [
969
929
  {
970
930
  "name": "children",
971
- "accepts": [
972
- "RadioInput"
973
- ],
931
+ "accepts": [],
974
932
  "repeatable": true,
975
933
  "allowText": false,
976
- "allowAnyComponent": false,
934
+ "allowAnyComponent": true,
977
935
  "defaultChildren": []
978
936
  }
979
937
  ],
980
938
  "presets": [
981
939
  {
982
- "id": "choice",
983
- "label": "Radio choice",
940
+ "id": "default",
941
+ "label": "Default",
984
942
  "root": {
985
- "component": "Radio",
986
- "props": {
987
- "label": "Choose this option"
988
- }
943
+ "component": "Textarea",
944
+ "slots": {}
989
945
  }
990
946
  }
991
947
  ],
@@ -997,296 +953,287 @@
997
953
  ]
998
954
  },
999
955
  {
1000
- "id": "radio-input",
956
+ "id": "badge",
1001
957
  "exportPath": "@refineui/react",
1002
- "exportName": "RadioInput",
1003
- "kind": "part",
1004
- "category": "parts",
1005
- "label": "Radio Input",
1006
- "props": [],
958
+ "exportName": "Badge",
959
+ "kind": "root",
960
+ "category": "components",
961
+ "label": "Badge",
962
+ "props": [
963
+ {
964
+ "name": "variant",
965
+ "label": "variant",
966
+ "valueType": "enum",
967
+ "control": "select",
968
+ "options": [
969
+ "default",
970
+ "neutral",
971
+ "outline",
972
+ "success",
973
+ "warning",
974
+ "danger"
975
+ ],
976
+ "defaultValue": "default",
977
+ "section": "variants"
978
+ },
979
+ {
980
+ "name": "layout",
981
+ "label": "layout",
982
+ "valueType": "enum",
983
+ "control": "segmented",
984
+ "options": [
985
+ "label",
986
+ "number"
987
+ ],
988
+ "defaultValue": "label",
989
+ "section": "variants"
990
+ }
991
+ ],
1007
992
  "preview": {
1008
993
  "mode": "full"
1009
994
  },
1010
- "parents": [
995
+ "slots": [
1011
996
  {
1012
- "component": "Radio",
1013
- "slot": "children"
997
+ "name": "children",
998
+ "accepts": [],
999
+ "repeatable": true,
1000
+ "allowText": true,
1001
+ "allowAnyComponent": true,
1002
+ "defaultChildren": []
1003
+ }
1004
+ ],
1005
+ "presets": [
1006
+ {
1007
+ "id": "default",
1008
+ "label": "Default",
1009
+ "root": {
1010
+ "component": "Badge",
1011
+ "slots": {
1012
+ "children": [
1013
+ {
1014
+ "component": "Text",
1015
+ "props": {
1016
+ "variant": "bodyMd"
1017
+ },
1018
+ "text": "Badge"
1019
+ }
1020
+ ]
1021
+ }
1022
+ }
1023
+ }
1024
+ ],
1025
+ "events": [
1026
+ {
1027
+ "name": "click",
1028
+ "payload": "void"
1014
1029
  }
1015
1030
  ]
1016
1031
  },
1017
1032
  {
1018
- "id": "select",
1033
+ "id": "card",
1019
1034
  "exportPath": "@refineui/react",
1020
- "exportName": "Select",
1035
+ "exportName": "Card",
1021
1036
  "kind": "root",
1022
1037
  "category": "components",
1023
- "label": "Select",
1038
+ "label": "Card",
1024
1039
  "props": [
1025
1040
  {
1026
- "name": "appearance",
1027
- "label": "appearance",
1041
+ "name": "variant",
1042
+ "label": "variant",
1028
1043
  "valueType": "enum",
1029
1044
  "control": "segmented",
1030
1045
  "options": [
1031
- "filled",
1032
- "ghost",
1033
- "plain"
1046
+ "elevated",
1047
+ "outlined"
1034
1048
  ],
1035
- "defaultValue": "filled",
1049
+ "defaultValue": "elevated",
1036
1050
  "section": "variants"
1037
1051
  }
1038
1052
  ],
1039
1053
  "preview": {
1040
1054
  "mode": "full"
1041
1055
  },
1042
- "portal": {
1043
- "strategy": "themed-overlay-root",
1044
- "inheritsTheme": true,
1045
- "containerComponent": "SelectPortal",
1046
- "containerProp": "container"
1047
- },
1048
1056
  "slots": [
1049
1057
  {
1050
1058
  "name": "children",
1051
1059
  "accepts": [
1052
- "SelectTrigger",
1053
- "SelectPortal"
1060
+ "CardHeader",
1061
+ "CardContent",
1062
+ "CardFooter"
1054
1063
  ],
1055
1064
  "repeatable": true
1056
1065
  }
1057
1066
  ],
1058
1067
  "presets": [
1059
1068
  {
1060
- "id": "options",
1061
- "label": "Options",
1069
+ "id": "content",
1070
+ "label": "Content card",
1062
1071
  "root": {
1063
- "component": "Select",
1064
- "props": {
1065
- "defaultValue": "option-1",
1066
- "placeholder": "Select an option"
1067
- },
1072
+ "component": "Card",
1068
1073
  "slots": {
1069
1074
  "children": [
1070
1075
  {
1071
- "component": "SelectTrigger",
1072
- "slots": {
1073
- "children": [
1074
- {
1075
- "component": "SelectValue",
1076
- "props": {
1077
- "placeholder": "Select an option"
1078
- }
1079
- },
1080
- {
1081
- "component": "SelectIcon"
1082
- }
1083
- ]
1084
- }
1085
- },
1086
- {
1087
- "component": "SelectPortal",
1076
+ "component": "CardHeader",
1088
1077
  "slots": {
1089
1078
  "children": [
1090
1079
  {
1091
- "component": "SelectContent",
1080
+ "component": "CardHeaderMain",
1092
1081
  "slots": {
1093
1082
  "children": [
1094
1083
  {
1095
- "component": "SelectViewport",
1096
- "slots": {
1097
- "children": [
1098
- {
1099
- "component": "SelectItem",
1100
- "props": {
1101
- "value": "option-1",
1102
- "textValue": "Option 1"
1103
- },
1104
- "slots": {
1105
- "children": [
1106
- {
1107
- "component": "SelectItemText",
1108
- "text": "Option 1"
1109
- }
1110
- ]
1111
- }
1112
- },
1113
- {
1114
- "component": "SelectItem",
1115
- "props": {
1116
- "value": "option-2",
1117
- "textValue": "Option 2"
1118
- },
1119
- "slots": {
1120
- "children": [
1121
- {
1122
- "component": "SelectItemText",
1123
- "text": "Option 2"
1124
- }
1125
- ]
1126
- }
1127
- }
1128
- ]
1129
- }
1084
+ "component": "CardTitle",
1085
+ "text": "Card title"
1086
+ },
1087
+ {
1088
+ "component": "CardDescription",
1089
+ "text": "A concise description."
1130
1090
  }
1131
1091
  ]
1132
1092
  }
1133
1093
  }
1134
1094
  ]
1135
1095
  }
1096
+ },
1097
+ {
1098
+ "component": "CardContent",
1099
+ "text": "Card content"
1100
+ },
1101
+ {
1102
+ "component": "CardFooter",
1103
+ "text": "Footer"
1136
1104
  }
1137
1105
  ]
1138
1106
  }
1139
1107
  }
1140
1108
  }
1141
1109
  ],
1142
- "stateBindings": [
1143
- {
1144
- "name": "value",
1145
- "valueProp": "value",
1146
- "defaultValueProp": "defaultValue",
1147
- "changeEvent": "onValueChange",
1148
- "valueType": "string"
1149
- }
1150
- ],
1151
1110
  "events": [
1152
1111
  {
1153
1112
  "name": "click",
1154
1113
  "payload": "void"
1155
- },
1156
- {
1157
- "name": "onValueChange",
1158
- "payload": "string"
1159
1114
  }
1160
1115
  ]
1161
1116
  },
1162
1117
  {
1163
- "id": "select-arrow",
1118
+ "id": "card-action",
1164
1119
  "exportPath": "@refineui/react",
1165
- "exportName": "SelectArrow",
1120
+ "exportName": "CardAction",
1166
1121
  "kind": "part",
1167
1122
  "category": "parts",
1168
- "label": "Select Arrow",
1123
+ "label": "Card Action",
1169
1124
  "props": [],
1170
1125
  "preview": {
1171
1126
  "mode": "full"
1172
1127
  },
1173
1128
  "parents": [
1174
1129
  {
1175
- "component": "SelectTrigger",
1130
+ "component": "CardHeader",
1176
1131
  "slot": "children"
1177
1132
  }
1178
1133
  ]
1179
1134
  },
1180
1135
  {
1181
- "id": "select-content",
1136
+ "id": "card-content",
1182
1137
  "exportPath": "@refineui/react",
1183
- "exportName": "SelectContent",
1138
+ "exportName": "CardContent",
1184
1139
  "kind": "part",
1185
1140
  "category": "parts",
1186
- "label": "Select Content",
1141
+ "label": "Card Content",
1187
1142
  "props": [],
1188
1143
  "preview": {
1189
1144
  "mode": "full"
1190
1145
  },
1191
1146
  "parents": [
1192
1147
  {
1193
- "component": "SelectPortal",
1148
+ "component": "Card",
1194
1149
  "slot": "children"
1195
1150
  }
1196
- ],
1197
- "slots": [
1198
- {
1199
- "name": "children",
1200
- "accepts": [
1201
- "SelectScrollUpButton",
1202
- "SelectViewport",
1203
- "SelectScrollDownButton"
1204
- ],
1205
- "repeatable": true
1206
- }
1207
1151
  ]
1208
1152
  },
1209
1153
  {
1210
- "id": "select-group",
1154
+ "id": "card-description",
1211
1155
  "exportPath": "@refineui/react",
1212
- "exportName": "SelectGroup",
1156
+ "exportName": "CardDescription",
1213
1157
  "kind": "part",
1214
1158
  "category": "parts",
1215
- "label": "Select Group",
1159
+ "label": "Card Description",
1216
1160
  "props": [],
1217
1161
  "preview": {
1218
1162
  "mode": "full"
1219
1163
  },
1220
1164
  "parents": [
1221
1165
  {
1222
- "component": "SelectViewport",
1166
+ "component": "CardHeader",
1223
1167
  "slot": "children"
1224
- }
1225
- ],
1226
- "slots": [
1168
+ },
1227
1169
  {
1228
- "name": "children",
1229
- "accepts": [
1230
- "SelectLabel",
1231
- "SelectItem",
1232
- "SelectSeparator"
1233
- ],
1234
- "repeatable": true
1170
+ "component": "CardHeaderMain",
1171
+ "slot": "children"
1235
1172
  }
1236
1173
  ]
1237
1174
  },
1238
1175
  {
1239
- "id": "select-icon",
1176
+ "id": "card-footer",
1240
1177
  "exportPath": "@refineui/react",
1241
- "exportName": "SelectIcon",
1178
+ "exportName": "CardFooter",
1242
1179
  "kind": "part",
1243
1180
  "category": "parts",
1244
- "label": "Select Icon",
1181
+ "label": "Card Footer",
1245
1182
  "props": [],
1246
1183
  "preview": {
1247
1184
  "mode": "full"
1248
1185
  },
1249
1186
  "parents": [
1250
1187
  {
1251
- "component": "SelectTrigger",
1188
+ "component": "Card",
1252
1189
  "slot": "children"
1253
1190
  }
1254
1191
  ]
1255
1192
  },
1256
1193
  {
1257
- "id": "select-item",
1194
+ "id": "card-header",
1258
1195
  "exportPath": "@refineui/react",
1259
- "exportName": "SelectItem",
1196
+ "exportName": "CardHeader",
1260
1197
  "kind": "part",
1261
1198
  "category": "parts",
1262
- "label": "Select Item",
1263
- "props": [
1264
- {
1265
- "name": "textValue",
1266
- "valueType": "string",
1267
- "control": "text",
1268
- "section": "accessibility",
1269
- "label": "text Value"
1270
- },
1199
+ "label": "Card Header",
1200
+ "props": [],
1201
+ "preview": {
1202
+ "mode": "full"
1203
+ },
1204
+ "parents": [
1271
1205
  {
1272
- "name": "value",
1273
- "label": "value",
1274
- "valueType": "string",
1275
- "control": "text",
1276
- "required": true,
1277
- "section": "properties"
1206
+ "component": "Card",
1207
+ "slot": "children"
1278
1208
  }
1279
1209
  ],
1210
+ "slots": [
1211
+ {
1212
+ "name": "children",
1213
+ "accepts": [
1214
+ "CardHeaderMain",
1215
+ "CardAction",
1216
+ "CardTitle",
1217
+ "CardDescription"
1218
+ ],
1219
+ "repeatable": true
1220
+ }
1221
+ ]
1222
+ },
1223
+ {
1224
+ "id": "card-header-main",
1225
+ "exportPath": "@refineui/react",
1226
+ "exportName": "CardHeaderMain",
1227
+ "kind": "part",
1228
+ "category": "parts",
1229
+ "label": "Card Header Main",
1230
+ "props": [],
1280
1231
  "preview": {
1281
1232
  "mode": "full"
1282
1233
  },
1283
1234
  "parents": [
1284
1235
  {
1285
- "component": "SelectViewport",
1286
- "slot": "children"
1287
- },
1288
- {
1289
- "component": "SelectGroup",
1236
+ "component": "CardHeader",
1290
1237
  "slot": "children"
1291
1238
  }
1292
1239
  ],
@@ -1294,213 +1241,1097 @@
1294
1241
  {
1295
1242
  "name": "children",
1296
1243
  "accepts": [
1297
- "SelectItemIndicator",
1298
- "SelectItemText"
1244
+ "CardTitle",
1245
+ "CardDescription"
1299
1246
  ],
1300
1247
  "repeatable": true
1301
1248
  }
1302
1249
  ]
1303
1250
  },
1304
1251
  {
1305
- "id": "select-item-indicator",
1252
+ "id": "card-title",
1306
1253
  "exportPath": "@refineui/react",
1307
- "exportName": "SelectItemIndicator",
1254
+ "exportName": "CardTitle",
1308
1255
  "kind": "part",
1309
1256
  "category": "parts",
1310
- "label": "Select Item Indicator",
1257
+ "label": "Card Title",
1311
1258
  "props": [],
1312
1259
  "preview": {
1313
1260
  "mode": "full"
1314
1261
  },
1315
1262
  "parents": [
1316
1263
  {
1317
- "component": "SelectItem",
1264
+ "component": "CardHeader",
1265
+ "slot": "children"
1266
+ },
1267
+ {
1268
+ "component": "CardHeaderMain",
1318
1269
  "slot": "children"
1319
1270
  }
1320
1271
  ]
1321
1272
  },
1322
1273
  {
1323
- "id": "select-item-text",
1274
+ "id": "checkbox",
1324
1275
  "exportPath": "@refineui/react",
1325
- "exportName": "SelectItemText",
1276
+ "exportName": "Checkbox",
1277
+ "kind": "root",
1278
+ "category": "components",
1279
+ "label": "Checkbox",
1280
+ "props": [
1281
+ {
1282
+ "name": "variant",
1283
+ "label": "variant",
1284
+ "valueType": "enum",
1285
+ "control": "segmented",
1286
+ "options": [
1287
+ "default",
1288
+ "circular"
1289
+ ],
1290
+ "defaultValue": "default",
1291
+ "section": "variants"
1292
+ }
1293
+ ],
1294
+ "preview": {
1295
+ "mode": "full"
1296
+ },
1297
+ "slots": [
1298
+ {
1299
+ "name": "children",
1300
+ "accepts": [],
1301
+ "repeatable": true,
1302
+ "allowText": false,
1303
+ "allowAnyComponent": true,
1304
+ "defaultChildren": []
1305
+ }
1306
+ ],
1307
+ "presets": [
1308
+ {
1309
+ "id": "default",
1310
+ "label": "Default",
1311
+ "root": {
1312
+ "component": "Checkbox",
1313
+ "slots": {}
1314
+ }
1315
+ }
1316
+ ],
1317
+ "events": [
1318
+ {
1319
+ "name": "click",
1320
+ "payload": "void"
1321
+ }
1322
+ ]
1323
+ },
1324
+ {
1325
+ "id": "radio",
1326
+ "exportPath": "@refineui/react",
1327
+ "exportName": "Radio",
1328
+ "kind": "root",
1329
+ "category": "components",
1330
+ "label": "Radio",
1331
+ "props": [],
1332
+ "preview": {
1333
+ "mode": "full"
1334
+ },
1335
+ "slots": [
1336
+ {
1337
+ "name": "children",
1338
+ "accepts": [
1339
+ "RadioInput"
1340
+ ],
1341
+ "repeatable": true,
1342
+ "allowText": false,
1343
+ "allowAnyComponent": false,
1344
+ "defaultChildren": []
1345
+ }
1346
+ ],
1347
+ "presets": [
1348
+ {
1349
+ "id": "choice",
1350
+ "label": "Radio choice",
1351
+ "root": {
1352
+ "component": "Radio",
1353
+ "props": {
1354
+ "label": "Choose this option"
1355
+ }
1356
+ }
1357
+ }
1358
+ ],
1359
+ "events": [
1360
+ {
1361
+ "name": "click",
1362
+ "payload": "void"
1363
+ }
1364
+ ]
1365
+ },
1366
+ {
1367
+ "id": "radio-input",
1368
+ "exportPath": "@refineui/react",
1369
+ "exportName": "RadioInput",
1326
1370
  "kind": "part",
1327
1371
  "category": "parts",
1328
- "label": "Select Item Text",
1372
+ "label": "Radio Input",
1329
1373
  "props": [],
1330
1374
  "preview": {
1331
1375
  "mode": "full"
1332
1376
  },
1333
1377
  "parents": [
1334
1378
  {
1335
- "component": "SelectItem",
1336
- "slot": "children"
1379
+ "component": "Radio",
1380
+ "slot": "children"
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "id": "select",
1386
+ "exportPath": "@refineui/react",
1387
+ "exportName": "Select",
1388
+ "kind": "root",
1389
+ "category": "components",
1390
+ "label": "Select",
1391
+ "props": [
1392
+ {
1393
+ "name": "appearance",
1394
+ "label": "appearance",
1395
+ "valueType": "enum",
1396
+ "control": "segmented",
1397
+ "options": [
1398
+ "filled",
1399
+ "ghost",
1400
+ "plain"
1401
+ ],
1402
+ "defaultValue": "filled",
1403
+ "section": "variants"
1404
+ }
1405
+ ],
1406
+ "preview": {
1407
+ "mode": "full"
1408
+ },
1409
+ "portal": {
1410
+ "strategy": "themed-overlay-root",
1411
+ "inheritsTheme": true,
1412
+ "containerComponent": "SelectPortal",
1413
+ "containerProp": "container"
1414
+ },
1415
+ "slots": [
1416
+ {
1417
+ "name": "children",
1418
+ "accepts": [
1419
+ "SelectTrigger",
1420
+ "SelectPortal"
1421
+ ],
1422
+ "repeatable": true
1423
+ }
1424
+ ],
1425
+ "presets": [
1426
+ {
1427
+ "id": "options",
1428
+ "label": "Options",
1429
+ "root": {
1430
+ "component": "Select",
1431
+ "props": {
1432
+ "defaultValue": "option-1",
1433
+ "placeholder": "Select an option"
1434
+ },
1435
+ "slots": {
1436
+ "children": [
1437
+ {
1438
+ "component": "SelectTrigger",
1439
+ "slots": {
1440
+ "children": [
1441
+ {
1442
+ "component": "SelectValue",
1443
+ "props": {
1444
+ "placeholder": "Select an option"
1445
+ }
1446
+ },
1447
+ {
1448
+ "component": "SelectIcon"
1449
+ }
1450
+ ]
1451
+ }
1452
+ },
1453
+ {
1454
+ "component": "SelectPortal",
1455
+ "slots": {
1456
+ "children": [
1457
+ {
1458
+ "component": "SelectContent",
1459
+ "slots": {
1460
+ "children": [
1461
+ {
1462
+ "component": "SelectViewport",
1463
+ "slots": {
1464
+ "children": [
1465
+ {
1466
+ "component": "SelectItem",
1467
+ "props": {
1468
+ "value": "option-1",
1469
+ "textValue": "Option 1"
1470
+ },
1471
+ "slots": {
1472
+ "children": [
1473
+ {
1474
+ "component": "SelectItemText",
1475
+ "text": "Option 1"
1476
+ }
1477
+ ]
1478
+ }
1479
+ },
1480
+ {
1481
+ "component": "SelectItem",
1482
+ "props": {
1483
+ "value": "option-2",
1484
+ "textValue": "Option 2"
1485
+ },
1486
+ "slots": {
1487
+ "children": [
1488
+ {
1489
+ "component": "SelectItemText",
1490
+ "text": "Option 2"
1491
+ }
1492
+ ]
1493
+ }
1494
+ }
1495
+ ]
1496
+ }
1497
+ }
1498
+ ]
1499
+ }
1500
+ }
1501
+ ]
1502
+ }
1503
+ }
1504
+ ]
1505
+ }
1506
+ }
1507
+ }
1508
+ ],
1509
+ "stateBindings": [
1510
+ {
1511
+ "name": "value",
1512
+ "valueProp": "value",
1513
+ "defaultValueProp": "defaultValue",
1514
+ "changeEvent": "onValueChange",
1515
+ "valueType": "string"
1516
+ }
1517
+ ],
1518
+ "events": [
1519
+ {
1520
+ "name": "click",
1521
+ "payload": "void"
1522
+ },
1523
+ {
1524
+ "name": "onValueChange",
1525
+ "payload": "string"
1526
+ }
1527
+ ]
1528
+ },
1529
+ {
1530
+ "id": "select-arrow",
1531
+ "exportPath": "@refineui/react",
1532
+ "exportName": "SelectArrow",
1533
+ "kind": "part",
1534
+ "category": "parts",
1535
+ "label": "Select Arrow",
1536
+ "props": [],
1537
+ "preview": {
1538
+ "mode": "full"
1539
+ },
1540
+ "parents": [
1541
+ {
1542
+ "component": "SelectTrigger",
1543
+ "slot": "children"
1544
+ }
1545
+ ]
1546
+ },
1547
+ {
1548
+ "id": "select-content",
1549
+ "exportPath": "@refineui/react",
1550
+ "exportName": "SelectContent",
1551
+ "kind": "part",
1552
+ "category": "parts",
1553
+ "label": "Select Content",
1554
+ "props": [],
1555
+ "preview": {
1556
+ "mode": "full"
1557
+ },
1558
+ "parents": [
1559
+ {
1560
+ "component": "SelectPortal",
1561
+ "slot": "children"
1562
+ }
1563
+ ],
1564
+ "slots": [
1565
+ {
1566
+ "name": "children",
1567
+ "accepts": [
1568
+ "SelectScrollUpButton",
1569
+ "SelectViewport",
1570
+ "SelectScrollDownButton"
1571
+ ],
1572
+ "repeatable": true
1573
+ }
1574
+ ]
1575
+ },
1576
+ {
1577
+ "id": "select-group",
1578
+ "exportPath": "@refineui/react",
1579
+ "exportName": "SelectGroup",
1580
+ "kind": "part",
1581
+ "category": "parts",
1582
+ "label": "Select Group",
1583
+ "props": [],
1584
+ "preview": {
1585
+ "mode": "full"
1586
+ },
1587
+ "parents": [
1588
+ {
1589
+ "component": "SelectViewport",
1590
+ "slot": "children"
1591
+ }
1592
+ ],
1593
+ "slots": [
1594
+ {
1595
+ "name": "children",
1596
+ "accepts": [
1597
+ "SelectLabel",
1598
+ "SelectItem",
1599
+ "SelectSeparator"
1600
+ ],
1601
+ "repeatable": true
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "id": "select-icon",
1607
+ "exportPath": "@refineui/react",
1608
+ "exportName": "SelectIcon",
1609
+ "kind": "part",
1610
+ "category": "parts",
1611
+ "label": "Select Icon",
1612
+ "props": [],
1613
+ "preview": {
1614
+ "mode": "full"
1615
+ },
1616
+ "parents": [
1617
+ {
1618
+ "component": "SelectTrigger",
1619
+ "slot": "children"
1620
+ }
1621
+ ]
1622
+ },
1623
+ {
1624
+ "id": "select-item",
1625
+ "exportPath": "@refineui/react",
1626
+ "exportName": "SelectItem",
1627
+ "kind": "part",
1628
+ "category": "parts",
1629
+ "label": "Select Item",
1630
+ "props": [
1631
+ {
1632
+ "name": "textValue",
1633
+ "valueType": "string",
1634
+ "control": "text",
1635
+ "section": "accessibility",
1636
+ "label": "text Value"
1637
+ },
1638
+ {
1639
+ "name": "value",
1640
+ "label": "value",
1641
+ "valueType": "string",
1642
+ "control": "text",
1643
+ "required": true,
1644
+ "section": "properties"
1645
+ }
1646
+ ],
1647
+ "preview": {
1648
+ "mode": "full"
1649
+ },
1650
+ "parents": [
1651
+ {
1652
+ "component": "SelectViewport",
1653
+ "slot": "children"
1654
+ },
1655
+ {
1656
+ "component": "SelectGroup",
1657
+ "slot": "children"
1658
+ }
1659
+ ],
1660
+ "slots": [
1661
+ {
1662
+ "name": "children",
1663
+ "accepts": [
1664
+ "SelectItemIndicator",
1665
+ "SelectItemText"
1666
+ ],
1667
+ "repeatable": true
1668
+ }
1669
+ ]
1670
+ },
1671
+ {
1672
+ "id": "select-item-indicator",
1673
+ "exportPath": "@refineui/react",
1674
+ "exportName": "SelectItemIndicator",
1675
+ "kind": "part",
1676
+ "category": "parts",
1677
+ "label": "Select Item Indicator",
1678
+ "props": [],
1679
+ "preview": {
1680
+ "mode": "full"
1681
+ },
1682
+ "parents": [
1683
+ {
1684
+ "component": "SelectItem",
1685
+ "slot": "children"
1686
+ }
1687
+ ]
1688
+ },
1689
+ {
1690
+ "id": "select-item-text",
1691
+ "exportPath": "@refineui/react",
1692
+ "exportName": "SelectItemText",
1693
+ "kind": "part",
1694
+ "category": "parts",
1695
+ "label": "Select Item Text",
1696
+ "props": [],
1697
+ "preview": {
1698
+ "mode": "full"
1699
+ },
1700
+ "parents": [
1701
+ {
1702
+ "component": "SelectItem",
1703
+ "slot": "children"
1704
+ }
1705
+ ]
1706
+ },
1707
+ {
1708
+ "id": "select-label",
1709
+ "exportPath": "@refineui/react",
1710
+ "exportName": "SelectLabel",
1711
+ "kind": "part",
1712
+ "category": "parts",
1713
+ "label": "Select Label",
1714
+ "props": [],
1715
+ "preview": {
1716
+ "mode": "full"
1717
+ },
1718
+ "parents": [
1719
+ {
1720
+ "component": "SelectGroup",
1721
+ "slot": "children"
1722
+ }
1723
+ ]
1724
+ },
1725
+ {
1726
+ "id": "select-portal",
1727
+ "exportPath": "@refineui/react",
1728
+ "exportName": "SelectPortal",
1729
+ "kind": "provider",
1730
+ "category": "parts",
1731
+ "label": "Select Portal",
1732
+ "props": [],
1733
+ "preview": {
1734
+ "mode": "full"
1735
+ },
1736
+ "parents": [
1737
+ {
1738
+ "component": "Select",
1739
+ "slot": "children"
1740
+ }
1741
+ ],
1742
+ "slots": [
1743
+ {
1744
+ "name": "children",
1745
+ "accepts": [
1746
+ "SelectContent"
1747
+ ],
1748
+ "max": 1
1749
+ }
1750
+ ]
1751
+ },
1752
+ {
1753
+ "id": "select-scroll-down-button",
1754
+ "exportPath": "@refineui/react",
1755
+ "exportName": "SelectScrollDownButton",
1756
+ "kind": "part",
1757
+ "category": "parts",
1758
+ "label": "Select Scroll Down Button",
1759
+ "props": [],
1760
+ "preview": {
1761
+ "mode": "full"
1762
+ },
1763
+ "parents": [
1764
+ {
1765
+ "component": "SelectContent",
1766
+ "slot": "children"
1767
+ }
1768
+ ]
1769
+ },
1770
+ {
1771
+ "id": "select-scroll-up-button",
1772
+ "exportPath": "@refineui/react",
1773
+ "exportName": "SelectScrollUpButton",
1774
+ "kind": "part",
1775
+ "category": "parts",
1776
+ "label": "Select Scroll Up Button",
1777
+ "props": [],
1778
+ "preview": {
1779
+ "mode": "full"
1780
+ },
1781
+ "parents": [
1782
+ {
1783
+ "component": "SelectContent",
1784
+ "slot": "children"
1785
+ }
1786
+ ]
1787
+ },
1788
+ {
1789
+ "id": "select-separator",
1790
+ "exportPath": "@refineui/react",
1791
+ "exportName": "SelectSeparator",
1792
+ "kind": "part",
1793
+ "category": "parts",
1794
+ "label": "Select Separator",
1795
+ "props": [],
1796
+ "preview": {
1797
+ "mode": "full"
1798
+ },
1799
+ "parents": [
1800
+ {
1801
+ "component": "SelectViewport",
1802
+ "slot": "children"
1803
+ },
1804
+ {
1805
+ "component": "SelectGroup",
1806
+ "slot": "children"
1807
+ }
1808
+ ]
1809
+ },
1810
+ {
1811
+ "id": "select-trigger",
1812
+ "exportPath": "@refineui/react",
1813
+ "exportName": "SelectTrigger",
1814
+ "kind": "part",
1815
+ "category": "parts",
1816
+ "label": "Select Trigger",
1817
+ "props": [],
1818
+ "preview": {
1819
+ "mode": "full"
1820
+ },
1821
+ "parents": [
1822
+ {
1823
+ "component": "Select",
1824
+ "slot": "children"
1825
+ }
1826
+ ],
1827
+ "slots": [
1828
+ {
1829
+ "name": "children",
1830
+ "accepts": [
1831
+ "SelectValue",
1832
+ "SelectIcon",
1833
+ "SelectArrow"
1834
+ ],
1835
+ "repeatable": true
1836
+ }
1837
+ ]
1838
+ },
1839
+ {
1840
+ "id": "select-value",
1841
+ "exportPath": "@refineui/react",
1842
+ "exportName": "SelectValue",
1843
+ "kind": "part",
1844
+ "category": "parts",
1845
+ "label": "Select Value",
1846
+ "props": [],
1847
+ "preview": {
1848
+ "mode": "full"
1849
+ },
1850
+ "parents": [
1851
+ {
1852
+ "component": "SelectTrigger",
1853
+ "slot": "children"
1854
+ }
1855
+ ]
1856
+ },
1857
+ {
1858
+ "id": "select-viewport",
1859
+ "exportPath": "@refineui/react",
1860
+ "exportName": "SelectViewport",
1861
+ "kind": "part",
1862
+ "category": "parts",
1863
+ "label": "Select Viewport",
1864
+ "props": [],
1865
+ "preview": {
1866
+ "mode": "full"
1867
+ },
1868
+ "parents": [
1869
+ {
1870
+ "component": "SelectContent",
1871
+ "slot": "children"
1872
+ }
1873
+ ],
1874
+ "slots": [
1875
+ {
1876
+ "name": "children",
1877
+ "accepts": [
1878
+ "SelectGroup",
1879
+ "SelectItem",
1880
+ "SelectSeparator"
1881
+ ],
1882
+ "repeatable": true
1883
+ }
1884
+ ]
1885
+ },
1886
+ {
1887
+ "id": "toggle",
1888
+ "exportPath": "@refineui/react",
1889
+ "exportName": "Toggle",
1890
+ "kind": "root",
1891
+ "category": "utilities",
1892
+ "label": "Toggle",
1893
+ "props": [],
1894
+ "preview": {
1895
+ "mode": "full"
1896
+ },
1897
+ "slots": [
1898
+ {
1899
+ "name": "children",
1900
+ "accepts": [],
1901
+ "repeatable": true,
1902
+ "allowText": true,
1903
+ "allowAnyComponent": true,
1904
+ "defaultChildren": []
1905
+ }
1906
+ ],
1907
+ "presets": [
1908
+ {
1909
+ "id": "default",
1910
+ "label": "Default",
1911
+ "root": {
1912
+ "component": "Toggle",
1913
+ "slots": {
1914
+ "children": [
1915
+ {
1916
+ "component": "Text",
1917
+ "props": {
1918
+ "variant": "bodyMd"
1919
+ },
1920
+ "text": "Toggle"
1921
+ }
1922
+ ]
1923
+ }
1924
+ }
1925
+ }
1926
+ ],
1927
+ "events": [
1928
+ {
1929
+ "name": "click",
1930
+ "payload": "void"
1931
+ }
1932
+ ]
1933
+ },
1934
+ {
1935
+ "id": "switch",
1936
+ "exportPath": "@refineui/react",
1937
+ "exportName": "Switch",
1938
+ "kind": "root",
1939
+ "category": "components",
1940
+ "label": "Switch",
1941
+ "props": [],
1942
+ "preview": {
1943
+ "mode": "full"
1944
+ },
1945
+ "slots": [
1946
+ {
1947
+ "name": "children",
1948
+ "accepts": [],
1949
+ "repeatable": true,
1950
+ "allowText": false,
1951
+ "allowAnyComponent": true,
1952
+ "defaultChildren": []
1953
+ }
1954
+ ],
1955
+ "presets": [
1956
+ {
1957
+ "id": "default",
1958
+ "label": "Default",
1959
+ "root": {
1960
+ "component": "Switch",
1961
+ "slots": {}
1962
+ }
1963
+ }
1964
+ ],
1965
+ "events": [
1966
+ {
1967
+ "name": "click",
1968
+ "payload": "void"
1969
+ }
1970
+ ]
1971
+ },
1972
+ {
1973
+ "id": "chip",
1974
+ "exportPath": "@refineui/react",
1975
+ "exportName": "Chip",
1976
+ "kind": "root",
1977
+ "category": "components",
1978
+ "label": "Chip",
1979
+ "props": [
1980
+ {
1981
+ "name": "variant",
1982
+ "label": "variant",
1983
+ "valueType": "enum",
1984
+ "control": "segmented",
1985
+ "options": [
1986
+ "default",
1987
+ "outline",
1988
+ "filled"
1989
+ ],
1990
+ "defaultValue": "default",
1991
+ "section": "variants"
1992
+ },
1993
+ {
1994
+ "name": "size",
1995
+ "label": "size",
1996
+ "valueType": "enum",
1997
+ "control": "segmented",
1998
+ "options": [
1999
+ "sm",
2000
+ "md",
2001
+ "lg"
2002
+ ],
2003
+ "defaultValue": "sm",
2004
+ "section": "variants"
2005
+ }
2006
+ ],
2007
+ "preview": {
2008
+ "mode": "full"
2009
+ },
2010
+ "slots": [
2011
+ {
2012
+ "name": "children",
2013
+ "accepts": [],
2014
+ "repeatable": true,
2015
+ "allowText": true,
2016
+ "allowAnyComponent": true,
2017
+ "defaultChildren": []
2018
+ }
2019
+ ],
2020
+ "presets": [
2021
+ {
2022
+ "id": "default",
2023
+ "label": "Default",
2024
+ "root": {
2025
+ "component": "Chip",
2026
+ "slots": {
2027
+ "children": [
2028
+ {
2029
+ "component": "Text",
2030
+ "props": {
2031
+ "variant": "bodyMd"
2032
+ },
2033
+ "text": "Chip"
2034
+ }
2035
+ ]
2036
+ }
2037
+ }
2038
+ }
2039
+ ],
2040
+ "events": [
2041
+ {
2042
+ "name": "click",
2043
+ "payload": "void"
2044
+ }
2045
+ ]
2046
+ },
2047
+ {
2048
+ "id": "command",
2049
+ "exportPath": "@refineui/react",
2050
+ "exportName": "Command",
2051
+ "kind": "root",
2052
+ "category": "components",
2053
+ "label": "Command",
2054
+ "props": [
2055
+ {
2056
+ "name": "size",
2057
+ "label": "size",
2058
+ "valueType": "enum",
2059
+ "control": "segmented",
2060
+ "options": [
2061
+ "sm",
2062
+ "md",
2063
+ "lg"
2064
+ ],
2065
+ "defaultValue": "sm",
2066
+ "section": "variants"
2067
+ }
2068
+ ],
2069
+ "preview": {
2070
+ "mode": "full"
2071
+ },
2072
+ "slots": [
2073
+ {
2074
+ "name": "children",
2075
+ "accepts": [
2076
+ "CommandInput",
2077
+ "CommandList"
2078
+ ],
2079
+ "repeatable": true
2080
+ }
2081
+ ],
2082
+ "presets": [
2083
+ {
2084
+ "id": "commands",
2085
+ "label": "Command menu",
2086
+ "root": {
2087
+ "component": "Command",
2088
+ "props": {
2089
+ "label": "Commands"
2090
+ },
2091
+ "slots": {
2092
+ "children": [
2093
+ {
2094
+ "component": "CommandInput",
2095
+ "props": {
2096
+ "placeholder": "Search commands"
2097
+ }
2098
+ },
2099
+ {
2100
+ "component": "CommandList",
2101
+ "slots": {
2102
+ "children": [
2103
+ {
2104
+ "component": "CommandGroup",
2105
+ "slots": {
2106
+ "children": [
2107
+ {
2108
+ "component": "CommandGroupHeading",
2109
+ "text": "Actions"
2110
+ },
2111
+ {
2112
+ "component": "CommandItem",
2113
+ "props": {
2114
+ "value": "new"
2115
+ },
2116
+ "text": "New item"
2117
+ },
2118
+ {
2119
+ "component": "CommandItem",
2120
+ "props": {
2121
+ "value": "open"
2122
+ },
2123
+ "text": "Open"
2124
+ }
2125
+ ]
2126
+ }
2127
+ }
2128
+ ]
2129
+ }
2130
+ }
2131
+ ]
2132
+ }
2133
+ }
2134
+ }
2135
+ ],
2136
+ "stateBindings": [
2137
+ {
2138
+ "name": "value",
2139
+ "valueProp": "value",
2140
+ "defaultValueProp": "defaultValue",
2141
+ "changeEvent": "onValueChange",
2142
+ "valueType": "string"
2143
+ },
2144
+ {
2145
+ "name": "selected",
2146
+ "valueProp": "selectedValue",
2147
+ "defaultValueProp": "defaultSelectedValue",
2148
+ "changeEvent": "onSelectedValueChange",
2149
+ "valueType": "string"
1337
2150
  }
1338
- ]
1339
- },
1340
- {
1341
- "id": "select-label",
1342
- "exportPath": "@refineui/react",
1343
- "exportName": "SelectLabel",
1344
- "kind": "part",
1345
- "category": "parts",
1346
- "label": "Select Label",
1347
- "props": [],
1348
- "preview": {
1349
- "mode": "full"
1350
- },
1351
- "parents": [
2151
+ ],
2152
+ "events": [
1352
2153
  {
1353
- "component": "SelectGroup",
1354
- "slot": "children"
2154
+ "name": "click",
2155
+ "payload": "void"
2156
+ },
2157
+ {
2158
+ "name": "onValueChange",
2159
+ "payload": "string"
2160
+ },
2161
+ {
2162
+ "name": "onSelectedValueChange",
2163
+ "payload": "string"
1355
2164
  }
1356
2165
  ]
1357
2166
  },
1358
2167
  {
1359
- "id": "select-portal",
2168
+ "id": "command-dialog",
1360
2169
  "exportPath": "@refineui/react",
1361
- "exportName": "SelectPortal",
1362
- "kind": "provider",
1363
- "category": "parts",
1364
- "label": "Select Portal",
2170
+ "exportName": "CommandDialog",
2171
+ "kind": "root",
2172
+ "category": "components",
2173
+ "label": "Command Dialog",
1365
2174
  "props": [],
1366
2175
  "preview": {
1367
2176
  "mode": "full"
1368
2177
  },
1369
- "parents": [
1370
- {
1371
- "component": "Select",
1372
- "slot": "children"
1373
- }
1374
- ],
1375
2178
  "slots": [
1376
2179
  {
1377
2180
  "name": "children",
1378
2181
  "accepts": [
1379
- "SelectContent"
2182
+ "Command"
1380
2183
  ],
1381
2184
  "max": 1
1382
2185
  }
2186
+ ],
2187
+ "presets": [
2188
+ {
2189
+ "id": "default",
2190
+ "label": "Command dialog",
2191
+ "root": {
2192
+ "component": "CommandDialog",
2193
+ "slots": {
2194
+ "children": [
2195
+ {
2196
+ "component": "Command"
2197
+ }
2198
+ ]
2199
+ }
2200
+ }
2201
+ }
1383
2202
  ]
1384
2203
  },
1385
2204
  {
1386
- "id": "select-scroll-down-button",
2205
+ "id": "command-empty",
1387
2206
  "exportPath": "@refineui/react",
1388
- "exportName": "SelectScrollDownButton",
2207
+ "exportName": "CommandEmpty",
1389
2208
  "kind": "part",
1390
2209
  "category": "parts",
1391
- "label": "Select Scroll Down Button",
2210
+ "label": "Command Empty",
1392
2211
  "props": [],
1393
2212
  "preview": {
1394
2213
  "mode": "full"
1395
2214
  },
1396
2215
  "parents": [
1397
2216
  {
1398
- "component": "SelectContent",
2217
+ "component": "CommandList",
1399
2218
  "slot": "children"
1400
2219
  }
1401
2220
  ]
1402
2221
  },
1403
2222
  {
1404
- "id": "select-scroll-up-button",
2223
+ "id": "command-group",
1405
2224
  "exportPath": "@refineui/react",
1406
- "exportName": "SelectScrollUpButton",
2225
+ "exportName": "CommandGroup",
1407
2226
  "kind": "part",
1408
2227
  "category": "parts",
1409
- "label": "Select Scroll Up Button",
2228
+ "label": "Command Group",
1410
2229
  "props": [],
1411
2230
  "preview": {
1412
2231
  "mode": "full"
1413
2232
  },
1414
2233
  "parents": [
1415
2234
  {
1416
- "component": "SelectContent",
2235
+ "component": "CommandList",
1417
2236
  "slot": "children"
1418
2237
  }
2238
+ ],
2239
+ "slots": [
2240
+ {
2241
+ "name": "children",
2242
+ "accepts": [
2243
+ "CommandGroupHeading",
2244
+ "CommandItem"
2245
+ ],
2246
+ "repeatable": true
2247
+ }
1419
2248
  ]
1420
2249
  },
1421
2250
  {
1422
- "id": "select-separator",
2251
+ "id": "command-group-heading",
1423
2252
  "exportPath": "@refineui/react",
1424
- "exportName": "SelectSeparator",
2253
+ "exportName": "CommandGroupHeading",
1425
2254
  "kind": "part",
1426
2255
  "category": "parts",
1427
- "label": "Select Separator",
2256
+ "label": "Command Group Heading",
1428
2257
  "props": [],
1429
2258
  "preview": {
1430
2259
  "mode": "full"
1431
2260
  },
1432
2261
  "parents": [
1433
2262
  {
1434
- "component": "SelectViewport",
1435
- "slot": "children"
1436
- },
1437
- {
1438
- "component": "SelectGroup",
2263
+ "component": "CommandGroup",
1439
2264
  "slot": "children"
1440
2265
  }
1441
2266
  ]
1442
2267
  },
1443
2268
  {
1444
- "id": "select-trigger",
2269
+ "id": "command-input",
1445
2270
  "exportPath": "@refineui/react",
1446
- "exportName": "SelectTrigger",
2271
+ "exportName": "CommandInput",
1447
2272
  "kind": "part",
1448
2273
  "category": "parts",
1449
- "label": "Select Trigger",
2274
+ "label": "Command Input",
1450
2275
  "props": [],
1451
2276
  "preview": {
1452
2277
  "mode": "full"
1453
2278
  },
1454
2279
  "parents": [
1455
2280
  {
1456
- "component": "Select",
2281
+ "component": "Command",
1457
2282
  "slot": "children"
1458
2283
  }
1459
2284
  ],
1460
2285
  "slots": [
1461
2286
  {
1462
- "name": "children",
2287
+ "name": "startIcon",
2288
+ "prop": "startIcon",
2289
+ "target": "prop",
1463
2290
  "accepts": [
1464
- "SelectValue",
1465
- "SelectIcon",
1466
- "SelectArrow"
2291
+ "WebIcon"
1467
2292
  ],
1468
- "repeatable": true
2293
+ "max": 1
1469
2294
  }
1470
- ]
1471
- },
1472
- {
1473
- "id": "select-value",
1474
- "exportPath": "@refineui/react",
1475
- "exportName": "SelectValue",
1476
- "kind": "part",
1477
- "category": "parts",
1478
- "label": "Select Value",
1479
- "props": [],
1480
- "preview": {
1481
- "mode": "full"
1482
- },
1483
- "parents": [
2295
+ ],
2296
+ "iconSlots": [
1484
2297
  {
1485
- "component": "SelectTrigger",
1486
- "slot": "children"
2298
+ "name": "startIcon",
2299
+ "optional": true,
2300
+ "accepts": [
2301
+ "refineui-icon",
2302
+ "svg",
2303
+ "image"
2304
+ ]
1487
2305
  }
1488
2306
  ]
1489
2307
  },
1490
2308
  {
1491
- "id": "select-viewport",
2309
+ "id": "command-item",
1492
2310
  "exportPath": "@refineui/react",
1493
- "exportName": "SelectViewport",
2311
+ "exportName": "CommandItem",
1494
2312
  "kind": "part",
1495
2313
  "category": "parts",
1496
- "label": "Select Viewport",
1497
- "props": [],
2314
+ "label": "Command Item",
2315
+ "props": [
2316
+ {
2317
+ "name": "value",
2318
+ "label": "value",
2319
+ "valueType": "string",
2320
+ "control": "text",
2321
+ "required": true,
2322
+ "section": "properties"
2323
+ }
2324
+ ],
1498
2325
  "preview": {
1499
2326
  "mode": "full"
1500
2327
  },
1501
2328
  "parents": [
1502
2329
  {
1503
- "component": "SelectContent",
2330
+ "component": "CommandGroup",
2331
+ "slot": "children"
2332
+ },
2333
+ {
2334
+ "component": "CommandList",
1504
2335
  "slot": "children"
1505
2336
  }
1506
2337
  ],
@@ -1508,107 +2339,124 @@
1508
2339
  {
1509
2340
  "name": "children",
1510
2341
  "accepts": [
1511
- "SelectGroup",
1512
- "SelectItem",
1513
- "SelectSeparator"
2342
+ "CommandShortcut"
1514
2343
  ],
1515
- "repeatable": true
1516
- }
1517
- ]
1518
- },
1519
- {
1520
- "id": "toggle",
1521
- "exportPath": "@refineui/react",
1522
- "exportName": "Toggle",
1523
- "kind": "root",
1524
- "category": "utilities",
1525
- "label": "Toggle",
1526
- "props": [],
1527
- "preview": {
1528
- "mode": "full"
1529
- },
1530
- "slots": [
1531
- {
1532
- "name": "children",
1533
- "accepts": [],
1534
2344
  "repeatable": true,
1535
- "allowText": true,
1536
- "allowAnyComponent": true,
1537
- "defaultChildren": []
1538
- }
1539
- ],
1540
- "presets": [
2345
+ "allowText": true
2346
+ },
1541
2347
  {
1542
- "id": "default",
1543
- "label": "Default",
1544
- "root": {
1545
- "component": "Toggle",
1546
- "slots": {
1547
- "children": [
1548
- {
1549
- "component": "Text",
1550
- "props": {
1551
- "variant": "bodyMd"
1552
- },
1553
- "text": "Toggle"
1554
- }
1555
- ]
1556
- }
1557
- }
2348
+ "name": "startIcon",
2349
+ "prop": "startIcon",
2350
+ "target": "prop",
2351
+ "accepts": [
2352
+ "WebIcon"
2353
+ ],
2354
+ "max": 1
2355
+ },
2356
+ {
2357
+ "name": "endIcon",
2358
+ "prop": "endIcon",
2359
+ "target": "prop",
2360
+ "accepts": [
2361
+ "WebIcon"
2362
+ ],
2363
+ "max": 1
1558
2364
  }
1559
2365
  ],
1560
- "events": [
2366
+ "iconSlots": [
1561
2367
  {
1562
- "name": "click",
1563
- "payload": "void"
2368
+ "name": "startIcon",
2369
+ "optional": true,
2370
+ "accepts": [
2371
+ "refineui-icon",
2372
+ "svg",
2373
+ "image"
2374
+ ]
2375
+ },
2376
+ {
2377
+ "name": "endIcon",
2378
+ "optional": true,
2379
+ "accepts": [
2380
+ "refineui-icon",
2381
+ "svg",
2382
+ "image"
2383
+ ]
1564
2384
  }
1565
2385
  ]
1566
2386
  },
1567
2387
  {
1568
- "id": "switch",
2388
+ "id": "command-list",
1569
2389
  "exportPath": "@refineui/react",
1570
- "exportName": "Switch",
1571
- "kind": "root",
1572
- "category": "components",
1573
- "label": "Switch",
2390
+ "exportName": "CommandList",
2391
+ "kind": "part",
2392
+ "category": "parts",
2393
+ "label": "Command List",
1574
2394
  "props": [],
1575
2395
  "preview": {
1576
2396
  "mode": "full"
1577
2397
  },
2398
+ "parents": [
2399
+ {
2400
+ "component": "Command",
2401
+ "slot": "children"
2402
+ }
2403
+ ],
1578
2404
  "slots": [
1579
2405
  {
1580
2406
  "name": "children",
1581
- "accepts": [],
1582
- "repeatable": true,
1583
- "allowText": false,
1584
- "allowAnyComponent": true,
1585
- "defaultChildren": []
2407
+ "accepts": [
2408
+ "CommandEmpty",
2409
+ "CommandGroup",
2410
+ "CommandItem",
2411
+ "CommandSeparator"
2412
+ ],
2413
+ "repeatable": true
1586
2414
  }
1587
- ],
1588
- "presets": [
2415
+ ]
2416
+ },
2417
+ {
2418
+ "id": "command-separator",
2419
+ "exportPath": "@refineui/react",
2420
+ "exportName": "CommandSeparator",
2421
+ "kind": "part",
2422
+ "category": "parts",
2423
+ "label": "Command Separator",
2424
+ "props": [],
2425
+ "preview": {
2426
+ "mode": "full"
2427
+ },
2428
+ "parents": [
1589
2429
  {
1590
- "id": "default",
1591
- "label": "Default",
1592
- "root": {
1593
- "component": "Switch",
1594
- "slots": {}
1595
- }
2430
+ "component": "CommandList",
2431
+ "slot": "children"
1596
2432
  }
1597
- ],
1598
- "events": [
2433
+ ]
2434
+ },
2435
+ {
2436
+ "id": "command-shortcut",
2437
+ "exportPath": "@refineui/react",
2438
+ "exportName": "CommandShortcut",
2439
+ "kind": "part",
2440
+ "category": "parts",
2441
+ "label": "Command Shortcut",
2442
+ "props": [],
2443
+ "preview": {
2444
+ "mode": "full"
2445
+ },
2446
+ "parents": [
1599
2447
  {
1600
- "name": "click",
1601
- "payload": "void"
2448
+ "component": "CommandItem",
2449
+ "slot": "children"
1602
2450
  }
1603
2451
  ]
1604
2452
  },
1605
2453
  {
1606
- "id": "chip",
2454
+ "id": "tag",
1607
2455
  "exportPath": "@refineui/react",
1608
- "exportName": "Chip",
2456
+ "exportName": "Tag",
1609
2457
  "kind": "root",
1610
2458
  "category": "components",
1611
- "label": "Chip",
2459
+ "label": "Tag",
1612
2460
  "props": [
1613
2461
  {
1614
2462
  "name": "variant",
@@ -1655,7 +2503,7 @@
1655
2503
  "id": "default",
1656
2504
  "label": "Default",
1657
2505
  "root": {
1658
- "component": "Chip",
2506
+ "component": "Tag",
1659
2507
  "slots": {
1660
2508
  "children": [
1661
2509
  {
@@ -1663,7 +2511,7 @@
1663
2511
  "props": {
1664
2512
  "variant": "bodyMd"
1665
2513
  },
1666
- "text": "Chip"
2514
+ "text": "Tag"
1667
2515
  }
1668
2516
  ]
1669
2517
  }
@@ -1678,27 +2526,13 @@
1678
2526
  ]
1679
2527
  },
1680
2528
  {
1681
- "id": "command",
2529
+ "id": "result",
1682
2530
  "exportPath": "@refineui/react",
1683
- "exportName": "Command",
2531
+ "exportName": "Result",
1684
2532
  "kind": "root",
1685
- "category": "components",
1686
- "label": "Command",
1687
- "props": [
1688
- {
1689
- "name": "size",
1690
- "label": "size",
1691
- "valueType": "enum",
1692
- "control": "segmented",
1693
- "options": [
1694
- "sm",
1695
- "md",
1696
- "lg"
1697
- ],
1698
- "defaultValue": "sm",
1699
- "section": "variants"
1700
- }
1701
- ],
2533
+ "category": "utilities",
2534
+ "label": "Result",
2535
+ "props": [],
1702
2536
  "preview": {
1703
2537
  "mode": "full"
1704
2538
  },
@@ -1706,428 +2540,290 @@
1706
2540
  {
1707
2541
  "name": "children",
1708
2542
  "accepts": [
1709
- "CommandInput",
1710
- "CommandList"
2543
+ "ResultActions",
2544
+ "ResultButton",
2545
+ "ResultDescription",
2546
+ "ResultIcon",
2547
+ "ResultTitle"
1711
2548
  ],
1712
- "repeatable": true
2549
+ "repeatable": true,
2550
+ "allowText": false,
2551
+ "allowAnyComponent": false,
2552
+ "defaultChildren": []
1713
2553
  }
1714
2554
  ],
1715
2555
  "presets": [
1716
2556
  {
1717
- "id": "commands",
1718
- "label": "Command menu",
2557
+ "id": "default",
2558
+ "label": "Default",
1719
2559
  "root": {
1720
- "component": "Command",
1721
- "props": {
1722
- "label": "Commands"
1723
- },
1724
- "slots": {
1725
- "children": [
1726
- {
1727
- "component": "CommandInput",
1728
- "props": {
1729
- "placeholder": "Search commands"
1730
- }
1731
- },
1732
- {
1733
- "component": "CommandList",
1734
- "slots": {
1735
- "children": [
1736
- {
1737
- "component": "CommandGroup",
1738
- "slots": {
1739
- "children": [
1740
- {
1741
- "component": "CommandGroupHeading",
1742
- "text": "Actions"
1743
- },
1744
- {
1745
- "component": "CommandItem",
1746
- "props": {
1747
- "value": "new"
1748
- },
1749
- "text": "New item"
1750
- },
1751
- {
1752
- "component": "CommandItem",
1753
- "props": {
1754
- "value": "open"
1755
- },
1756
- "text": "Open"
1757
- }
1758
- ]
1759
- }
1760
- }
1761
- ]
1762
- }
1763
- }
1764
- ]
1765
- }
2560
+ "component": "Result",
2561
+ "slots": {}
1766
2562
  }
1767
2563
  }
1768
2564
  ],
1769
- "stateBindings": [
1770
- {
1771
- "name": "value",
1772
- "valueProp": "value",
1773
- "defaultValueProp": "defaultValue",
1774
- "changeEvent": "onValueChange",
1775
- "valueType": "string"
1776
- },
1777
- {
1778
- "name": "selected",
1779
- "valueProp": "selectedValue",
1780
- "defaultValueProp": "defaultSelectedValue",
1781
- "changeEvent": "onSelectedValueChange",
1782
- "valueType": "string"
1783
- }
1784
- ],
1785
2565
  "events": [
1786
2566
  {
1787
2567
  "name": "click",
1788
2568
  "payload": "void"
1789
- },
1790
- {
1791
- "name": "onValueChange",
1792
- "payload": "string"
1793
- },
1794
- {
1795
- "name": "onSelectedValueChange",
1796
- "payload": "string"
1797
2569
  }
1798
2570
  ]
1799
2571
  },
1800
2572
  {
1801
- "id": "command-dialog",
2573
+ "id": "result-actions",
1802
2574
  "exportPath": "@refineui/react",
1803
- "exportName": "CommandDialog",
1804
- "kind": "root",
1805
- "category": "components",
1806
- "label": "Command Dialog",
2575
+ "exportName": "ResultActions",
2576
+ "kind": "part",
2577
+ "category": "parts",
2578
+ "label": "Result Actions",
1807
2579
  "props": [],
1808
2580
  "preview": {
1809
2581
  "mode": "full"
1810
2582
  },
1811
- "slots": [
1812
- {
1813
- "name": "children",
1814
- "accepts": [
1815
- "Command"
1816
- ],
1817
- "max": 1
1818
- }
1819
- ],
1820
- "presets": [
2583
+ "parents": [
1821
2584
  {
1822
- "id": "default",
1823
- "label": "Command dialog",
1824
- "root": {
1825
- "component": "CommandDialog",
1826
- "slots": {
1827
- "children": [
1828
- {
1829
- "component": "Command"
1830
- }
1831
- ]
1832
- }
1833
- }
2585
+ "component": "Result",
2586
+ "slot": "children"
1834
2587
  }
1835
2588
  ]
1836
2589
  },
1837
2590
  {
1838
- "id": "command-empty",
2591
+ "id": "result-button",
1839
2592
  "exportPath": "@refineui/react",
1840
- "exportName": "CommandEmpty",
2593
+ "exportName": "ResultButton",
1841
2594
  "kind": "part",
1842
2595
  "category": "parts",
1843
- "label": "Command Empty",
2596
+ "label": "Result Button",
1844
2597
  "props": [],
1845
2598
  "preview": {
1846
2599
  "mode": "full"
1847
2600
  },
1848
2601
  "parents": [
1849
2602
  {
1850
- "component": "CommandList",
2603
+ "component": "Result",
1851
2604
  "slot": "children"
1852
2605
  }
1853
2606
  ]
1854
2607
  },
1855
2608
  {
1856
- "id": "command-group",
2609
+ "id": "result-description",
1857
2610
  "exportPath": "@refineui/react",
1858
- "exportName": "CommandGroup",
2611
+ "exportName": "ResultDescription",
1859
2612
  "kind": "part",
1860
2613
  "category": "parts",
1861
- "label": "Command Group",
2614
+ "label": "Result Description",
1862
2615
  "props": [],
1863
2616
  "preview": {
1864
2617
  "mode": "full"
1865
2618
  },
1866
2619
  "parents": [
1867
2620
  {
1868
- "component": "CommandList",
2621
+ "component": "Result",
1869
2622
  "slot": "children"
1870
2623
  }
1871
- ],
1872
- "slots": [
2624
+ ]
2625
+ },
2626
+ {
2627
+ "id": "result-icon",
2628
+ "exportPath": "@refineui/react",
2629
+ "exportName": "ResultIcon",
2630
+ "kind": "part",
2631
+ "category": "parts",
2632
+ "label": "Result Icon",
2633
+ "props": [],
2634
+ "preview": {
2635
+ "mode": "full"
2636
+ },
2637
+ "parents": [
1873
2638
  {
1874
- "name": "children",
1875
- "accepts": [
1876
- "CommandGroupHeading",
1877
- "CommandItem"
1878
- ],
1879
- "repeatable": true
2639
+ "component": "Result",
2640
+ "slot": "children"
1880
2641
  }
1881
2642
  ]
1882
2643
  },
1883
2644
  {
1884
- "id": "command-group-heading",
2645
+ "id": "result-title",
1885
2646
  "exportPath": "@refineui/react",
1886
- "exportName": "CommandGroupHeading",
2647
+ "exportName": "ResultTitle",
1887
2648
  "kind": "part",
1888
2649
  "category": "parts",
1889
- "label": "Command Group Heading",
2650
+ "label": "Result Title",
1890
2651
  "props": [],
1891
2652
  "preview": {
1892
2653
  "mode": "full"
1893
2654
  },
1894
2655
  "parents": [
1895
2656
  {
1896
- "component": "CommandGroup",
2657
+ "component": "Result",
1897
2658
  "slot": "children"
1898
2659
  }
1899
2660
  ]
1900
2661
  },
1901
2662
  {
1902
- "id": "command-input",
2663
+ "id": "kbd",
1903
2664
  "exportPath": "@refineui/react",
1904
- "exportName": "CommandInput",
1905
- "kind": "part",
1906
- "category": "parts",
1907
- "label": "Command Input",
2665
+ "exportName": "Kbd",
2666
+ "kind": "root",
2667
+ "category": "utilities",
2668
+ "label": "Kbd",
1908
2669
  "props": [],
1909
2670
  "preview": {
1910
2671
  "mode": "full"
1911
2672
  },
1912
- "parents": [
2673
+ "slots": [
1913
2674
  {
1914
- "component": "Command",
1915
- "slot": "children"
2675
+ "name": "children",
2676
+ "accepts": [],
2677
+ "repeatable": true,
2678
+ "allowText": true,
2679
+ "allowAnyComponent": true,
2680
+ "defaultChildren": []
1916
2681
  }
1917
2682
  ],
1918
- "slots": [
2683
+ "presets": [
1919
2684
  {
1920
- "name": "startIcon",
1921
- "prop": "startIcon",
1922
- "target": "prop",
1923
- "accepts": [
1924
- "WebIcon"
1925
- ],
1926
- "max": 1
2685
+ "id": "default",
2686
+ "label": "Default",
2687
+ "root": {
2688
+ "component": "Kbd",
2689
+ "slots": {
2690
+ "children": [
2691
+ {
2692
+ "component": "Text",
2693
+ "props": {
2694
+ "variant": "bodyMd"
2695
+ },
2696
+ "text": "Kbd"
2697
+ }
2698
+ ]
2699
+ }
2700
+ }
1927
2701
  }
1928
2702
  ],
1929
- "iconSlots": [
2703
+ "events": [
1930
2704
  {
1931
- "name": "startIcon",
1932
- "optional": true,
1933
- "accepts": [
1934
- "refineui-icon",
1935
- "svg",
1936
- "image"
1937
- ]
2705
+ "name": "click",
2706
+ "payload": "void"
1938
2707
  }
1939
2708
  ]
1940
2709
  },
1941
2710
  {
1942
- "id": "command-item",
2711
+ "id": "message",
1943
2712
  "exportPath": "@refineui/react",
1944
- "exportName": "CommandItem",
1945
- "kind": "part",
1946
- "category": "parts",
1947
- "label": "Command Item",
1948
- "props": [
1949
- {
1950
- "name": "value",
1951
- "label": "value",
1952
- "valueType": "string",
1953
- "control": "text",
1954
- "required": true,
1955
- "section": "properties"
1956
- }
1957
- ],
2713
+ "exportName": "Message",
2714
+ "kind": "root",
2715
+ "category": "utilities",
2716
+ "label": "Message",
2717
+ "props": [],
1958
2718
  "preview": {
1959
2719
  "mode": "full"
1960
2720
  },
1961
- "parents": [
1962
- {
1963
- "component": "CommandGroup",
1964
- "slot": "children"
1965
- },
1966
- {
1967
- "component": "CommandList",
1968
- "slot": "children"
1969
- }
1970
- ],
1971
2721
  "slots": [
1972
2722
  {
1973
2723
  "name": "children",
1974
2724
  "accepts": [
1975
- "CommandShortcut"
2725
+ "MessageAvatar",
2726
+ "MessageContent",
2727
+ "MessageFooter"
1976
2728
  ],
1977
2729
  "repeatable": true,
1978
- "allowText": true
1979
- },
1980
- {
1981
- "name": "startIcon",
1982
- "prop": "startIcon",
1983
- "target": "prop",
1984
- "accepts": [
1985
- "WebIcon"
1986
- ],
1987
- "max": 1
1988
- },
1989
- {
1990
- "name": "endIcon",
1991
- "prop": "endIcon",
1992
- "target": "prop",
1993
- "accepts": [
1994
- "WebIcon"
1995
- ],
1996
- "max": 1
2730
+ "allowText": true,
2731
+ "allowAnyComponent": false,
2732
+ "defaultChildren": []
1997
2733
  }
1998
2734
  ],
1999
- "iconSlots": [
2735
+ "presets": [
2000
2736
  {
2001
- "name": "startIcon",
2002
- "optional": true,
2003
- "accepts": [
2004
- "refineui-icon",
2005
- "svg",
2006
- "image"
2007
- ]
2008
- },
2737
+ "id": "default",
2738
+ "label": "Default",
2739
+ "root": {
2740
+ "component": "Message",
2741
+ "slots": {}
2742
+ }
2743
+ }
2744
+ ],
2745
+ "events": [
2009
2746
  {
2010
- "name": "endIcon",
2011
- "optional": true,
2012
- "accepts": [
2013
- "refineui-icon",
2014
- "svg",
2015
- "image"
2016
- ]
2747
+ "name": "click",
2748
+ "payload": "void"
2017
2749
  }
2018
2750
  ]
2019
2751
  },
2020
2752
  {
2021
- "id": "command-list",
2753
+ "id": "message-avatar",
2022
2754
  "exportPath": "@refineui/react",
2023
- "exportName": "CommandList",
2755
+ "exportName": "MessageAvatar",
2024
2756
  "kind": "part",
2025
2757
  "category": "parts",
2026
- "label": "Command List",
2758
+ "label": "Message Avatar",
2027
2759
  "props": [],
2028
2760
  "preview": {
2029
2761
  "mode": "full"
2030
2762
  },
2031
2763
  "parents": [
2032
2764
  {
2033
- "component": "Command",
2765
+ "component": "Message",
2034
2766
  "slot": "children"
2035
2767
  }
2036
- ],
2037
- "slots": [
2038
- {
2039
- "name": "children",
2040
- "accepts": [
2041
- "CommandEmpty",
2042
- "CommandGroup",
2043
- "CommandItem",
2044
- "CommandSeparator"
2045
- ],
2046
- "repeatable": true
2047
- }
2048
2768
  ]
2049
2769
  },
2050
2770
  {
2051
- "id": "command-separator",
2771
+ "id": "message-content",
2052
2772
  "exportPath": "@refineui/react",
2053
- "exportName": "CommandSeparator",
2773
+ "exportName": "MessageContent",
2054
2774
  "kind": "part",
2055
2775
  "category": "parts",
2056
- "label": "Command Separator",
2776
+ "label": "Message Content",
2057
2777
  "props": [],
2058
2778
  "preview": {
2059
2779
  "mode": "full"
2060
2780
  },
2061
2781
  "parents": [
2062
2782
  {
2063
- "component": "CommandList",
2783
+ "component": "Message",
2064
2784
  "slot": "children"
2065
2785
  }
2066
2786
  ]
2067
2787
  },
2068
2788
  {
2069
- "id": "command-shortcut",
2789
+ "id": "message-footer",
2070
2790
  "exportPath": "@refineui/react",
2071
- "exportName": "CommandShortcut",
2791
+ "exportName": "MessageFooter",
2072
2792
  "kind": "part",
2073
2793
  "category": "parts",
2074
- "label": "Command Shortcut",
2794
+ "label": "Message Footer",
2075
2795
  "props": [],
2076
2796
  "preview": {
2077
2797
  "mode": "full"
2078
2798
  },
2079
2799
  "parents": [
2080
2800
  {
2081
- "component": "CommandItem",
2801
+ "component": "Message",
2082
2802
  "slot": "children"
2083
2803
  }
2084
2804
  ]
2085
2805
  },
2086
2806
  {
2087
- "id": "tag",
2807
+ "id": "marker",
2088
2808
  "exportPath": "@refineui/react",
2089
- "exportName": "Tag",
2809
+ "exportName": "Marker",
2090
2810
  "kind": "root",
2091
- "category": "components",
2092
- "label": "Tag",
2093
- "props": [
2094
- {
2095
- "name": "variant",
2096
- "label": "variant",
2097
- "valueType": "enum",
2098
- "control": "segmented",
2099
- "options": [
2100
- "default",
2101
- "outline",
2102
- "filled"
2103
- ],
2104
- "defaultValue": "default",
2105
- "section": "variants"
2106
- },
2107
- {
2108
- "name": "size",
2109
- "label": "size",
2110
- "valueType": "enum",
2111
- "control": "segmented",
2112
- "options": [
2113
- "sm",
2114
- "md",
2115
- "lg"
2116
- ],
2117
- "defaultValue": "sm",
2118
- "section": "variants"
2119
- }
2120
- ],
2811
+ "category": "utilities",
2812
+ "label": "Marker",
2813
+ "props": [],
2121
2814
  "preview": {
2122
2815
  "mode": "full"
2123
2816
  },
2124
2817
  "slots": [
2125
2818
  {
2126
2819
  "name": "children",
2127
- "accepts": [],
2820
+ "accepts": [
2821
+ "MarkerContent",
2822
+ "MarkerIcon"
2823
+ ],
2128
2824
  "repeatable": true,
2129
2825
  "allowText": true,
2130
- "allowAnyComponent": true,
2826
+ "allowAnyComponent": false,
2131
2827
  "defaultChildren": []
2132
2828
  }
2133
2829
  ],
@@ -2136,18 +2832,8 @@
2136
2832
  "id": "default",
2137
2833
  "label": "Default",
2138
2834
  "root": {
2139
- "component": "Tag",
2140
- "slots": {
2141
- "children": [
2142
- {
2143
- "component": "Text",
2144
- "props": {
2145
- "variant": "bodyMd"
2146
- },
2147
- "text": "Tag"
2148
- }
2149
- ]
2150
- }
2835
+ "component": "Marker",
2836
+ "slots": {}
2151
2837
  }
2152
2838
  }
2153
2839
  ],
@@ -2158,6 +2844,42 @@
2158
2844
  }
2159
2845
  ]
2160
2846
  },
2847
+ {
2848
+ "id": "marker-content",
2849
+ "exportPath": "@refineui/react",
2850
+ "exportName": "MarkerContent",
2851
+ "kind": "part",
2852
+ "category": "parts",
2853
+ "label": "Marker Content",
2854
+ "props": [],
2855
+ "preview": {
2856
+ "mode": "full"
2857
+ },
2858
+ "parents": [
2859
+ {
2860
+ "component": "Marker",
2861
+ "slot": "children"
2862
+ }
2863
+ ]
2864
+ },
2865
+ {
2866
+ "id": "marker-icon",
2867
+ "exportPath": "@refineui/react",
2868
+ "exportName": "MarkerIcon",
2869
+ "kind": "part",
2870
+ "category": "parts",
2871
+ "label": "Marker Icon",
2872
+ "props": [],
2873
+ "preview": {
2874
+ "mode": "full"
2875
+ },
2876
+ "parents": [
2877
+ {
2878
+ "component": "Marker",
2879
+ "slot": "children"
2880
+ }
2881
+ ]
2882
+ },
2161
2883
  {
2162
2884
  "id": "avatar",
2163
2885
  "exportPath": "@refineui/react",
@@ -4523,7 +5245,20 @@
4523
5245
  "kind": "root",
4524
5246
  "category": "components",
4525
5247
  "label": "Calendar",
4526
- "props": [],
5248
+ "props": [
5249
+ {
5250
+ "name": "mode",
5251
+ "label": "mode",
5252
+ "valueType": "enum",
5253
+ "control": "segmented",
5254
+ "options": [
5255
+ "single",
5256
+ "range"
5257
+ ],
5258
+ "defaultValue": "single",
5259
+ "section": "variants"
5260
+ }
5261
+ ],
4527
5262
  "preview": {
4528
5263
  "mode": "full"
4529
5264
  },
@@ -7294,7 +8029,24 @@
7294
8029
  "kind": "part",
7295
8030
  "category": "parts",
7296
8031
  "label": "Popover Content",
7297
- "props": [],
8032
+ "props": [
8033
+ {
8034
+ "name": "surface",
8035
+ "valueType": "boolean",
8036
+ "control": "toggle",
8037
+ "defaultValue": true,
8038
+ "section": "properties",
8039
+ "label": "surface"
8040
+ },
8041
+ {
8042
+ "name": "fitContent",
8043
+ "valueType": "boolean",
8044
+ "control": "toggle",
8045
+ "defaultValue": false,
8046
+ "section": "properties",
8047
+ "label": "fit Content"
8048
+ }
8049
+ ],
7298
8050
  "preview": {
7299
8051
  "mode": "full"
7300
8052
  },