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