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