@refineui/react 0.4.0 → 0.5.0

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 (104) hide show
  1. package/dist/authoring-manifest.cjs +897 -52
  2. package/dist/authoring-manifest.cjs.map +1 -1
  3. package/dist/authoring-manifest.js +897 -52
  4. package/dist/authoring-manifest.js.map +1 -1
  5. package/dist/index.cjs +6626 -5228
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +191 -11
  8. package/dist/index.d.ts +191 -11
  9. package/dist/index.js +6517 -5142
  10. package/dist/index.js.map +1 -1
  11. package/dist/spec/authoring/components/button-group.json +104 -0
  12. package/dist/spec/authoring/components/calendar.json +14 -1
  13. package/dist/spec/authoring/components/code-block-actions.json +28 -0
  14. package/dist/spec/authoring/components/code-block-content.json +45 -0
  15. package/dist/spec/authoring/components/code-block-copy-button.json +28 -0
  16. package/dist/spec/authoring/components/code-block-header.json +28 -0
  17. package/dist/spec/authoring/components/code-block-line.json +31 -0
  18. package/dist/spec/authoring/components/code-block-title.json +18 -0
  19. package/dist/spec/authoring/components/code-block.json +90 -0
  20. package/dist/spec/authoring/components/{command-separator.json → command-divider.json} +3 -3
  21. package/dist/spec/authoring/components/command-list.json +1 -1
  22. package/dist/spec/authoring/components/context-menu-content.json +1 -1
  23. package/{spec/authoring/components/context-menu-separator.json → dist/spec/authoring/components/context-menu-divider.json} +3 -3
  24. package/dist/spec/authoring/components/context-menu-sub-content.json +1 -1
  25. package/dist/spec/authoring/components/date-input.json +61 -0
  26. package/dist/spec/authoring/components/dropdown-content.json +1 -1
  27. package/{spec/authoring/components/dropdown-separator.json → dist/spec/authoring/components/dropdown-divider.json} +3 -3
  28. package/dist/spec/authoring/components/dropdown-group.json +1 -1
  29. package/dist/spec/authoring/components/popover-content.json +18 -1
  30. package/dist/spec/authoring/components/result-actions.json +18 -0
  31. package/dist/spec/authoring/components/result-button.json +18 -0
  32. package/dist/spec/authoring/components/result-description.json +18 -0
  33. package/dist/spec/authoring/components/result-icon.json +18 -0
  34. package/dist/spec/authoring/components/result-title.json +18 -0
  35. package/dist/spec/authoring/components/result.json +44 -0
  36. package/{spec/authoring/components/select-separator.json → dist/spec/authoring/components/select-divider.json} +3 -3
  37. package/dist/spec/authoring/components/select-group.json +1 -1
  38. package/dist/spec/authoring/components/select-viewport.json +1 -1
  39. package/dist/spec/authoring/components/time-input.json +38 -0
  40. package/dist/spec/authoring/components/toolbar-button.json +22 -0
  41. package/dist/spec/authoring/components/toolbar-divider.json +18 -0
  42. package/dist/spec/authoring/components/toolbar-group.json +29 -0
  43. package/dist/spec/authoring/components/toolbar-toggle-button.json +22 -0
  44. package/dist/spec/authoring/components/toolbar.json +119 -0
  45. package/dist/spec/authoring/manifest.json +897 -52
  46. package/dist/spec/components/button-group.json +77 -0
  47. package/dist/spec/components/calendar.json +9 -0
  48. package/dist/spec/components/code-block.json +18 -0
  49. package/dist/spec/components/command.json +1 -1
  50. package/dist/spec/components/date-input.json +71 -0
  51. package/dist/spec/components/dropdown.json +1 -1
  52. package/dist/spec/components/result.json +1 -0
  53. package/dist/spec/components/time-input.json +24 -0
  54. package/dist/spec/components/toolbar.json +91 -0
  55. package/dist/spec/contract-index.json +48 -3
  56. package/dist/spec/manifest.json +47 -2
  57. package/dist/spec/token-trace-v2.json +1 -1
  58. package/package.json +2 -2
  59. package/refineui.css +235 -20
  60. package/spec/authoring/components/button-group.json +104 -0
  61. package/spec/authoring/components/calendar.json +14 -1
  62. package/spec/authoring/components/code-block-actions.json +28 -0
  63. package/spec/authoring/components/code-block-content.json +45 -0
  64. package/spec/authoring/components/code-block-copy-button.json +28 -0
  65. package/spec/authoring/components/code-block-header.json +28 -0
  66. package/spec/authoring/components/code-block-line.json +31 -0
  67. package/spec/authoring/components/code-block-title.json +18 -0
  68. package/spec/authoring/components/code-block.json +90 -0
  69. package/spec/authoring/components/{command-separator.json → command-divider.json} +3 -3
  70. package/spec/authoring/components/command-list.json +1 -1
  71. package/spec/authoring/components/context-menu-content.json +1 -1
  72. package/{dist/spec/authoring/components/context-menu-separator.json → spec/authoring/components/context-menu-divider.json} +3 -3
  73. package/spec/authoring/components/context-menu-sub-content.json +1 -1
  74. package/spec/authoring/components/date-input.json +61 -0
  75. package/spec/authoring/components/dropdown-content.json +1 -1
  76. package/{dist/spec/authoring/components/dropdown-separator.json → spec/authoring/components/dropdown-divider.json} +3 -3
  77. package/spec/authoring/components/dropdown-group.json +1 -1
  78. package/spec/authoring/components/popover-content.json +18 -1
  79. package/spec/authoring/components/result-actions.json +18 -0
  80. package/spec/authoring/components/result-button.json +18 -0
  81. package/spec/authoring/components/result-description.json +18 -0
  82. package/spec/authoring/components/result-icon.json +18 -0
  83. package/spec/authoring/components/result-title.json +18 -0
  84. package/spec/authoring/components/result.json +44 -0
  85. package/{dist/spec/authoring/components/select-separator.json → spec/authoring/components/select-divider.json} +3 -3
  86. package/spec/authoring/components/select-group.json +1 -1
  87. package/spec/authoring/components/select-viewport.json +1 -1
  88. package/spec/authoring/components/time-input.json +38 -0
  89. package/spec/authoring/components/toolbar-button.json +22 -0
  90. package/spec/authoring/components/toolbar-divider.json +18 -0
  91. package/spec/authoring/components/toolbar-group.json +29 -0
  92. package/spec/authoring/components/toolbar-toggle-button.json +22 -0
  93. package/spec/authoring/components/toolbar.json +119 -0
  94. package/spec/authoring/manifest.json +897 -52
  95. package/spec/components/button-group.json +77 -0
  96. package/spec/components/calendar.json +9 -0
  97. package/spec/components/code-block.json +18 -0
  98. package/spec/components/command.json +1 -1
  99. package/spec/components/date-input.json +71 -0
  100. package/spec/components/dropdown.json +1 -1
  101. package/spec/components/result.json +1 -0
  102. package/spec/components/time-input.json +24 -0
  103. package/spec/components/toolbar.json +91 -0
  104. package/spec/manifest.json +47 -2
@@ -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.4.0",
33
+ packageVersion: "0.5.0",
34
34
  css: [
35
35
  "@refineui/react/refineui.css"
36
36
  ],
@@ -171,6 +171,110 @@ var manifest_default = {
171
171
  }
172
172
  ]
173
173
  },
174
+ {
175
+ id: "button-group",
176
+ exportPath: "@refineui/react",
177
+ exportName: "ButtonGroup",
178
+ kind: "root",
179
+ category: "components",
180
+ label: "Button Group",
181
+ props: [
182
+ {
183
+ name: "size",
184
+ label: "Size",
185
+ valueType: "enum",
186
+ control: "segmented",
187
+ options: [
188
+ "sm",
189
+ "md",
190
+ "lg"
191
+ ],
192
+ defaultValue: "md",
193
+ section: "variants"
194
+ },
195
+ {
196
+ name: "variant",
197
+ label: "Variant",
198
+ valueType: "enum",
199
+ control: "select",
200
+ options: [
201
+ "primary",
202
+ "secondary",
203
+ "outline",
204
+ "ghost"
205
+ ],
206
+ defaultValue: "ghost",
207
+ section: "variants"
208
+ },
209
+ {
210
+ name: "orientation",
211
+ label: "Orientation",
212
+ valueType: "enum",
213
+ control: "segmented",
214
+ options: [
215
+ "horizontal",
216
+ "vertical"
217
+ ],
218
+ defaultValue: "horizontal",
219
+ section: "variants"
220
+ },
221
+ {
222
+ name: "attached",
223
+ label: "Attached",
224
+ valueType: "boolean",
225
+ control: "toggle",
226
+ defaultValue: true,
227
+ section: "properties"
228
+ }
229
+ ],
230
+ preview: {
231
+ mode: "full"
232
+ },
233
+ slots: [
234
+ {
235
+ name: "children",
236
+ accepts: [
237
+ "Button"
238
+ ],
239
+ repeatable: true,
240
+ min: 1
241
+ }
242
+ ],
243
+ presets: [
244
+ {
245
+ id: "actions",
246
+ label: "Item actions",
247
+ root: {
248
+ component: "ButtonGroup",
249
+ props: {
250
+ "aria-label": "Item actions"
251
+ },
252
+ slots: {
253
+ children: [
254
+ {
255
+ component: "Button",
256
+ text: "Edit"
257
+ },
258
+ {
259
+ component: "Button",
260
+ text: "Duplicate"
261
+ },
262
+ {
263
+ component: "Button",
264
+ text: "Archive"
265
+ }
266
+ ]
267
+ }
268
+ }
269
+ }
270
+ ],
271
+ events: [
272
+ {
273
+ name: "click",
274
+ payload: "void"
275
+ }
276
+ ]
277
+ },
174
278
  {
175
279
  id: "input",
176
280
  exportPath: "@refineui/react",
@@ -223,6 +327,373 @@ var manifest_default = {
223
327
  }
224
328
  ]
225
329
  },
330
+ {
331
+ id: "date-input",
332
+ exportPath: "@refineui/react",
333
+ exportName: "DateInput",
334
+ kind: "root",
335
+ category: "components",
336
+ label: "Date Input",
337
+ props: [
338
+ {
339
+ name: "mode",
340
+ label: "mode",
341
+ valueType: "enum",
342
+ control: "segmented",
343
+ options: [
344
+ "single",
345
+ "range"
346
+ ],
347
+ defaultValue: "single",
348
+ section: "variants"
349
+ }
350
+ ],
351
+ preview: {
352
+ mode: "full"
353
+ },
354
+ slots: [
355
+ {
356
+ name: "children",
357
+ accepts: [],
358
+ repeatable: true,
359
+ allowText: true,
360
+ allowAnyComponent: true,
361
+ defaultChildren: []
362
+ }
363
+ ],
364
+ presets: [
365
+ {
366
+ id: "default",
367
+ label: "Default",
368
+ root: {
369
+ component: "DateInput",
370
+ slots: {
371
+ children: [
372
+ {
373
+ component: "Text",
374
+ props: {
375
+ variant: "bodyMd"
376
+ },
377
+ text: "Date Input"
378
+ }
379
+ ]
380
+ }
381
+ }
382
+ }
383
+ ],
384
+ events: [
385
+ {
386
+ name: "click",
387
+ payload: "void"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ id: "time-input",
393
+ exportPath: "@refineui/react",
394
+ exportName: "TimeInput",
395
+ kind: "root",
396
+ category: "utilities",
397
+ label: "Time Input",
398
+ props: [],
399
+ preview: {
400
+ mode: "full"
401
+ },
402
+ slots: [
403
+ {
404
+ name: "children",
405
+ accepts: [],
406
+ repeatable: true,
407
+ allowText: false,
408
+ allowAnyComponent: true,
409
+ defaultChildren: []
410
+ }
411
+ ],
412
+ presets: [
413
+ {
414
+ id: "default",
415
+ label: "Default",
416
+ root: {
417
+ component: "TimeInput",
418
+ slots: {}
419
+ }
420
+ }
421
+ ],
422
+ events: [
423
+ {
424
+ name: "click",
425
+ payload: "void"
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ id: "code-block",
431
+ exportPath: "@refineui/react",
432
+ exportName: "CodeBlock",
433
+ kind: "root",
434
+ category: "components",
435
+ label: "Code Block",
436
+ props: [],
437
+ preview: {
438
+ mode: "full"
439
+ },
440
+ slots: [
441
+ {
442
+ name: "children",
443
+ accepts: [
444
+ "CodeBlockHeader",
445
+ "CodeBlockContent"
446
+ ],
447
+ repeatable: true
448
+ }
449
+ ],
450
+ presets: [
451
+ {
452
+ id: "typescript",
453
+ label: "TypeScript",
454
+ root: {
455
+ component: "CodeBlock",
456
+ slots: {
457
+ children: [
458
+ {
459
+ component: "CodeBlockHeader",
460
+ slots: {
461
+ children: [
462
+ {
463
+ component: "CodeBlockTitle",
464
+ text: "app/api/chat/route.ts"
465
+ },
466
+ {
467
+ component: "CodeBlockActions",
468
+ slots: {
469
+ children: [
470
+ {
471
+ component: "CodeBlockCopyButton",
472
+ props: {
473
+ value: "export async function POST() {\n return Response.json({ ok: true });\n}"
474
+ }
475
+ }
476
+ ]
477
+ }
478
+ }
479
+ ]
480
+ }
481
+ },
482
+ {
483
+ component: "CodeBlockContent",
484
+ props: {
485
+ lineNumbers: true
486
+ },
487
+ slots: {
488
+ children: [
489
+ {
490
+ component: "CodeBlockLine",
491
+ text: "export async function POST() {"
492
+ },
493
+ {
494
+ component: "CodeBlockLine",
495
+ props: {
496
+ variant: "highlighted"
497
+ },
498
+ text: " return Response.json({ ok: true });"
499
+ },
500
+ {
501
+ component: "CodeBlockLine",
502
+ text: "}"
503
+ }
504
+ ]
505
+ }
506
+ }
507
+ ]
508
+ }
509
+ }
510
+ }
511
+ ],
512
+ events: [
513
+ {
514
+ name: "click",
515
+ payload: "void"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ id: "code-block-actions",
521
+ exportPath: "@refineui/react",
522
+ exportName: "CodeBlockActions",
523
+ kind: "part",
524
+ category: "parts",
525
+ label: "Code Block Actions",
526
+ props: [],
527
+ preview: {
528
+ mode: "full"
529
+ },
530
+ parents: [
531
+ {
532
+ component: "CodeBlockHeader",
533
+ slot: "children"
534
+ }
535
+ ],
536
+ slots: [
537
+ {
538
+ name: "children",
539
+ accepts: [
540
+ "CodeBlockCopyButton",
541
+ "Button"
542
+ ],
543
+ repeatable: true
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ id: "code-block-content",
549
+ exportPath: "@refineui/react",
550
+ exportName: "CodeBlockContent",
551
+ kind: "part",
552
+ category: "parts",
553
+ label: "Code Block Content",
554
+ props: [
555
+ {
556
+ name: "wrap",
557
+ valueType: "boolean",
558
+ control: "toggle",
559
+ defaultValue: false,
560
+ section: "properties",
561
+ label: "wrap"
562
+ },
563
+ {
564
+ name: "lineNumbers",
565
+ valueType: "boolean",
566
+ control: "toggle",
567
+ defaultValue: false,
568
+ section: "properties",
569
+ label: "line Numbers"
570
+ }
571
+ ],
572
+ preview: {
573
+ mode: "full"
574
+ },
575
+ parents: [
576
+ {
577
+ component: "CodeBlock",
578
+ slot: "children"
579
+ }
580
+ ],
581
+ slots: [
582
+ {
583
+ name: "children",
584
+ accepts: [
585
+ "CodeBlockLine"
586
+ ],
587
+ repeatable: true,
588
+ min: 1
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ id: "code-block-copy-button",
594
+ exportPath: "@refineui/react",
595
+ exportName: "CodeBlockCopyButton",
596
+ kind: "part",
597
+ category: "parts",
598
+ label: "Code Block Copy Button",
599
+ props: [
600
+ {
601
+ name: "value",
602
+ label: "value",
603
+ valueType: "string",
604
+ control: "textarea",
605
+ defaultValue: "",
606
+ required: true,
607
+ section: "properties"
608
+ }
609
+ ],
610
+ preview: {
611
+ mode: "full"
612
+ },
613
+ parents: [
614
+ {
615
+ component: "CodeBlockActions",
616
+ slot: "children"
617
+ }
618
+ ]
619
+ },
620
+ {
621
+ id: "code-block-header",
622
+ exportPath: "@refineui/react",
623
+ exportName: "CodeBlockHeader",
624
+ kind: "part",
625
+ category: "parts",
626
+ label: "Code Block Header",
627
+ props: [],
628
+ preview: {
629
+ mode: "full"
630
+ },
631
+ parents: [
632
+ {
633
+ component: "CodeBlock",
634
+ slot: "children"
635
+ }
636
+ ],
637
+ slots: [
638
+ {
639
+ name: "children",
640
+ accepts: [
641
+ "CodeBlockTitle",
642
+ "CodeBlockActions"
643
+ ],
644
+ repeatable: true
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ id: "code-block-line",
650
+ exportPath: "@refineui/react",
651
+ exportName: "CodeBlockLine",
652
+ kind: "part",
653
+ category: "parts",
654
+ label: "Code Block Line",
655
+ props: [
656
+ {
657
+ name: "variant",
658
+ valueType: "enum",
659
+ control: "segmented",
660
+ options: [
661
+ "default",
662
+ "highlighted"
663
+ ],
664
+ defaultValue: "default",
665
+ section: "variants",
666
+ label: "variant"
667
+ }
668
+ ],
669
+ preview: {
670
+ mode: "full"
671
+ },
672
+ parents: [
673
+ {
674
+ component: "CodeBlockContent",
675
+ slot: "children"
676
+ }
677
+ ]
678
+ },
679
+ {
680
+ id: "code-block-title",
681
+ exportPath: "@refineui/react",
682
+ exportName: "CodeBlockTitle",
683
+ kind: "part",
684
+ category: "parts",
685
+ label: "Code Block Title",
686
+ props: [],
687
+ preview: {
688
+ mode: "full"
689
+ },
690
+ parents: [
691
+ {
692
+ component: "CodeBlockHeader",
693
+ slot: "children"
694
+ }
695
+ ]
696
+ },
226
697
  {
227
698
  id: "input-otp",
228
699
  exportPath: "@refineui/react",
@@ -1258,7 +1729,7 @@ var manifest_default = {
1258
1729
  accepts: [
1259
1730
  "SelectLabel",
1260
1731
  "SelectItem",
1261
- "SelectSeparator"
1732
+ "SelectDivider"
1262
1733
  ],
1263
1734
  repeatable: true
1264
1735
  }
@@ -1448,12 +1919,12 @@ var manifest_default = {
1448
1919
  ]
1449
1920
  },
1450
1921
  {
1451
- id: "select-separator",
1922
+ id: "select-divider",
1452
1923
  exportPath: "@refineui/react",
1453
- exportName: "SelectSeparator",
1924
+ exportName: "SelectDivider",
1454
1925
  kind: "part",
1455
1926
  category: "parts",
1456
- label: "Select Separator",
1927
+ label: "Select Divider",
1457
1928
  props: [],
1458
1929
  preview: {
1459
1930
  mode: "full"
@@ -1539,7 +2010,7 @@ var manifest_default = {
1539
2010
  accepts: [
1540
2011
  "SelectGroup",
1541
2012
  "SelectItem",
1542
- "SelectSeparator"
2013
+ "SelectDivider"
1543
2014
  ],
1544
2015
  repeatable: true
1545
2016
  }
@@ -2070,19 +2541,19 @@ var manifest_default = {
2070
2541
  "CommandEmpty",
2071
2542
  "CommandGroup",
2072
2543
  "CommandItem",
2073
- "CommandSeparator"
2544
+ "CommandDivider"
2074
2545
  ],
2075
2546
  repeatable: true
2076
2547
  }
2077
2548
  ]
2078
2549
  },
2079
2550
  {
2080
- id: "command-separator",
2551
+ id: "command-divider",
2081
2552
  exportPath: "@refineui/react",
2082
- exportName: "CommandSeparator",
2553
+ exportName: "CommandDivider",
2083
2554
  kind: "part",
2084
2555
  category: "parts",
2085
- label: "Command Separator",
2556
+ label: "Command Divider",
2086
2557
  props: [],
2087
2558
  preview: {
2088
2559
  mode: "full"
@@ -2146,44 +2617,178 @@ var manifest_default = {
2146
2617
  defaultValue: "sm",
2147
2618
  section: "variants"
2148
2619
  }
2149
- ],
2620
+ ],
2621
+ preview: {
2622
+ mode: "full"
2623
+ },
2624
+ slots: [
2625
+ {
2626
+ name: "children",
2627
+ accepts: [],
2628
+ repeatable: true,
2629
+ allowText: true,
2630
+ allowAnyComponent: true,
2631
+ defaultChildren: []
2632
+ }
2633
+ ],
2634
+ presets: [
2635
+ {
2636
+ id: "default",
2637
+ label: "Default",
2638
+ root: {
2639
+ component: "Tag",
2640
+ slots: {
2641
+ children: [
2642
+ {
2643
+ component: "Text",
2644
+ props: {
2645
+ variant: "bodyMd"
2646
+ },
2647
+ text: "Tag"
2648
+ }
2649
+ ]
2650
+ }
2651
+ }
2652
+ }
2653
+ ],
2654
+ events: [
2655
+ {
2656
+ name: "click",
2657
+ payload: "void"
2658
+ }
2659
+ ]
2660
+ },
2661
+ {
2662
+ id: "result",
2663
+ exportPath: "@refineui/react",
2664
+ exportName: "Result",
2665
+ kind: "root",
2666
+ category: "utilities",
2667
+ label: "Result",
2668
+ props: [],
2669
+ preview: {
2670
+ mode: "full"
2671
+ },
2672
+ slots: [
2673
+ {
2674
+ name: "children",
2675
+ accepts: [
2676
+ "ResultActions",
2677
+ "ResultButton",
2678
+ "ResultDescription",
2679
+ "ResultIcon",
2680
+ "ResultTitle"
2681
+ ],
2682
+ repeatable: true,
2683
+ allowText: false,
2684
+ allowAnyComponent: false,
2685
+ defaultChildren: []
2686
+ }
2687
+ ],
2688
+ presets: [
2689
+ {
2690
+ id: "default",
2691
+ label: "Default",
2692
+ root: {
2693
+ component: "Result",
2694
+ slots: {}
2695
+ }
2696
+ }
2697
+ ],
2698
+ events: [
2699
+ {
2700
+ name: "click",
2701
+ payload: "void"
2702
+ }
2703
+ ]
2704
+ },
2705
+ {
2706
+ id: "result-actions",
2707
+ exportPath: "@refineui/react",
2708
+ exportName: "ResultActions",
2709
+ kind: "part",
2710
+ category: "parts",
2711
+ label: "Result Actions",
2712
+ props: [],
2713
+ preview: {
2714
+ mode: "full"
2715
+ },
2716
+ parents: [
2717
+ {
2718
+ component: "Result",
2719
+ slot: "children"
2720
+ }
2721
+ ]
2722
+ },
2723
+ {
2724
+ id: "result-button",
2725
+ exportPath: "@refineui/react",
2726
+ exportName: "ResultButton",
2727
+ kind: "part",
2728
+ category: "parts",
2729
+ label: "Result Button",
2730
+ props: [],
2731
+ preview: {
2732
+ mode: "full"
2733
+ },
2734
+ parents: [
2735
+ {
2736
+ component: "Result",
2737
+ slot: "children"
2738
+ }
2739
+ ]
2740
+ },
2741
+ {
2742
+ id: "result-description",
2743
+ exportPath: "@refineui/react",
2744
+ exportName: "ResultDescription",
2745
+ kind: "part",
2746
+ category: "parts",
2747
+ label: "Result Description",
2748
+ props: [],
2150
2749
  preview: {
2151
2750
  mode: "full"
2152
2751
  },
2153
- slots: [
2752
+ parents: [
2154
2753
  {
2155
- name: "children",
2156
- accepts: [],
2157
- repeatable: true,
2158
- allowText: true,
2159
- allowAnyComponent: true,
2160
- defaultChildren: []
2754
+ component: "Result",
2755
+ slot: "children"
2161
2756
  }
2162
- ],
2163
- presets: [
2757
+ ]
2758
+ },
2759
+ {
2760
+ id: "result-icon",
2761
+ exportPath: "@refineui/react",
2762
+ exportName: "ResultIcon",
2763
+ kind: "part",
2764
+ category: "parts",
2765
+ label: "Result Icon",
2766
+ props: [],
2767
+ preview: {
2768
+ mode: "full"
2769
+ },
2770
+ parents: [
2164
2771
  {
2165
- id: "default",
2166
- label: "Default",
2167
- root: {
2168
- component: "Tag",
2169
- slots: {
2170
- children: [
2171
- {
2172
- component: "Text",
2173
- props: {
2174
- variant: "bodyMd"
2175
- },
2176
- text: "Tag"
2177
- }
2178
- ]
2179
- }
2180
- }
2772
+ component: "Result",
2773
+ slot: "children"
2181
2774
  }
2182
- ],
2183
- events: [
2775
+ ]
2776
+ },
2777
+ {
2778
+ id: "result-title",
2779
+ exportPath: "@refineui/react",
2780
+ exportName: "ResultTitle",
2781
+ kind: "part",
2782
+ category: "parts",
2783
+ label: "Result Title",
2784
+ props: [],
2785
+ preview: {
2786
+ mode: "full"
2787
+ },
2788
+ parents: [
2184
2789
  {
2185
- name: "click",
2186
- payload: "void"
2790
+ component: "Result",
2791
+ slot: "children"
2187
2792
  }
2188
2793
  ]
2189
2794
  },
@@ -4773,7 +5378,20 @@ var manifest_default = {
4773
5378
  kind: "root",
4774
5379
  category: "components",
4775
5380
  label: "Calendar",
4776
- props: [],
5381
+ props: [
5382
+ {
5383
+ name: "mode",
5384
+ label: "mode",
5385
+ valueType: "enum",
5386
+ control: "segmented",
5387
+ options: [
5388
+ "single",
5389
+ "range"
5390
+ ],
5391
+ defaultValue: "single",
5392
+ section: "variants"
5393
+ }
5394
+ ],
4777
5395
  preview: {
4778
5396
  mode: "full"
4779
5397
  },
@@ -5704,7 +6322,7 @@ var manifest_default = {
5704
6322
  "DropdownGroup",
5705
6323
  "DropdownItem",
5706
6324
  "DropdownLabel",
5707
- "DropdownSeparator",
6325
+ "DropdownDivider",
5708
6326
  "DropdownSub"
5709
6327
  ],
5710
6328
  repeatable: true
@@ -5734,7 +6352,7 @@ var manifest_default = {
5734
6352
  accepts: [
5735
6353
  "DropdownItem",
5736
6354
  "DropdownLabel",
5737
- "DropdownSeparator",
6355
+ "DropdownDivider",
5738
6356
  "DropdownSub"
5739
6357
  ],
5740
6358
  repeatable: true
@@ -5823,12 +6441,12 @@ var manifest_default = {
5823
6441
  ]
5824
6442
  },
5825
6443
  {
5826
- id: "dropdown-separator",
6444
+ id: "dropdown-divider",
5827
6445
  exportPath: "@refineui/react",
5828
- exportName: "DropdownSeparator",
6446
+ exportName: "DropdownDivider",
5829
6447
  kind: "part",
5830
6448
  category: "parts",
5831
- label: "Dropdown Separator",
6449
+ label: "Dropdown Divider",
5832
6450
  props: [],
5833
6451
  preview: {
5834
6452
  mode: "full"
@@ -7544,7 +8162,24 @@ var manifest_default = {
7544
8162
  kind: "part",
7545
8163
  category: "parts",
7546
8164
  label: "Popover Content",
7547
- props: [],
8165
+ props: [
8166
+ {
8167
+ name: "surface",
8168
+ valueType: "boolean",
8169
+ control: "toggle",
8170
+ defaultValue: true,
8171
+ section: "properties",
8172
+ label: "surface"
8173
+ },
8174
+ {
8175
+ name: "fitContent",
8176
+ valueType: "boolean",
8177
+ control: "toggle",
8178
+ defaultValue: false,
8179
+ section: "properties",
8180
+ label: "fit Content"
8181
+ }
8182
+ ],
7548
8183
  preview: {
7549
8184
  mode: "full"
7550
8185
  },
@@ -9163,6 +9798,216 @@ var manifest_default = {
9163
9798
  }
9164
9799
  ]
9165
9800
  },
9801
+ {
9802
+ id: "toolbar",
9803
+ exportPath: "@refineui/react",
9804
+ exportName: "Toolbar",
9805
+ kind: "root",
9806
+ category: "components",
9807
+ label: "Toolbar",
9808
+ props: [
9809
+ {
9810
+ name: "size",
9811
+ label: "size",
9812
+ valueType: "enum",
9813
+ control: "segmented",
9814
+ options: [
9815
+ "sm",
9816
+ "md",
9817
+ "lg"
9818
+ ],
9819
+ defaultValue: "sm",
9820
+ section: "variants"
9821
+ },
9822
+ {
9823
+ name: "orientation",
9824
+ label: "orientation",
9825
+ valueType: "enum",
9826
+ control: "segmented",
9827
+ options: [
9828
+ "horizontal",
9829
+ "vertical"
9830
+ ],
9831
+ defaultValue: "horizontal",
9832
+ section: "variants"
9833
+ }
9834
+ ],
9835
+ preview: {
9836
+ mode: "full"
9837
+ },
9838
+ slots: [
9839
+ {
9840
+ name: "children",
9841
+ accepts: [
9842
+ "ToolbarGroup",
9843
+ "ToolbarButton",
9844
+ "ToolbarToggleButton",
9845
+ "ToolbarDivider"
9846
+ ],
9847
+ repeatable: true
9848
+ }
9849
+ ],
9850
+ presets: [
9851
+ {
9852
+ id: "formatting",
9853
+ label: "Text formatting",
9854
+ root: {
9855
+ component: "Toolbar",
9856
+ props: {
9857
+ label: "Text formatting"
9858
+ },
9859
+ slots: {
9860
+ children: [
9861
+ {
9862
+ component: "ToolbarGroup",
9863
+ props: {
9864
+ "aria-label": "Text style"
9865
+ },
9866
+ slots: {
9867
+ children: [
9868
+ {
9869
+ component: "ToolbarToggleButton",
9870
+ props: {
9871
+ "aria-label": "Bold"
9872
+ }
9873
+ },
9874
+ {
9875
+ component: "ToolbarToggleButton",
9876
+ props: {
9877
+ "aria-label": "Italic"
9878
+ }
9879
+ }
9880
+ ]
9881
+ }
9882
+ },
9883
+ {
9884
+ component: "ToolbarDivider"
9885
+ },
9886
+ {
9887
+ component: "ToolbarGroup",
9888
+ props: {
9889
+ "aria-label": "Clipboard"
9890
+ },
9891
+ slots: {
9892
+ children: [
9893
+ {
9894
+ component: "ToolbarButton",
9895
+ props: {
9896
+ "aria-label": "Copy"
9897
+ }
9898
+ },
9899
+ {
9900
+ component: "ToolbarButton",
9901
+ props: {
9902
+ "aria-label": "Cut"
9903
+ }
9904
+ }
9905
+ ]
9906
+ }
9907
+ }
9908
+ ]
9909
+ }
9910
+ }
9911
+ }
9912
+ ],
9913
+ events: [
9914
+ {
9915
+ name: "click",
9916
+ payload: "void"
9917
+ }
9918
+ ]
9919
+ },
9920
+ {
9921
+ id: "toolbar-button",
9922
+ exportPath: "@refineui/react",
9923
+ exportName: "ToolbarButton",
9924
+ kind: "part",
9925
+ category: "parts",
9926
+ label: "Toolbar Button",
9927
+ props: [],
9928
+ preview: {
9929
+ mode: "full"
9930
+ },
9931
+ parents: [
9932
+ {
9933
+ component: "Toolbar",
9934
+ slot: "children"
9935
+ },
9936
+ {
9937
+ component: "ToolbarGroup",
9938
+ slot: "children"
9939
+ }
9940
+ ]
9941
+ },
9942
+ {
9943
+ id: "toolbar-group",
9944
+ exportPath: "@refineui/react",
9945
+ exportName: "ToolbarGroup",
9946
+ kind: "part",
9947
+ category: "parts",
9948
+ label: "Toolbar Group",
9949
+ props: [],
9950
+ preview: {
9951
+ mode: "full"
9952
+ },
9953
+ parents: [
9954
+ {
9955
+ component: "Toolbar",
9956
+ slot: "children"
9957
+ }
9958
+ ],
9959
+ slots: [
9960
+ {
9961
+ name: "children",
9962
+ accepts: [
9963
+ "ToolbarButton",
9964
+ "ToolbarToggleButton"
9965
+ ],
9966
+ repeatable: true,
9967
+ min: 1
9968
+ }
9969
+ ]
9970
+ },
9971
+ {
9972
+ id: "toolbar-divider",
9973
+ exportPath: "@refineui/react",
9974
+ exportName: "ToolbarDivider",
9975
+ kind: "part",
9976
+ category: "parts",
9977
+ label: "Toolbar Divider",
9978
+ props: [],
9979
+ preview: {
9980
+ mode: "full"
9981
+ },
9982
+ parents: [
9983
+ {
9984
+ component: "Toolbar",
9985
+ slot: "children"
9986
+ }
9987
+ ]
9988
+ },
9989
+ {
9990
+ id: "toolbar-toggle-button",
9991
+ exportPath: "@refineui/react",
9992
+ exportName: "ToolbarToggleButton",
9993
+ kind: "part",
9994
+ category: "parts",
9995
+ label: "Toolbar Toggle Button",
9996
+ props: [],
9997
+ preview: {
9998
+ mode: "full"
9999
+ },
10000
+ parents: [
10001
+ {
10002
+ component: "Toolbar",
10003
+ slot: "children"
10004
+ },
10005
+ {
10006
+ component: "ToolbarGroup",
10007
+ slot: "children"
10008
+ }
10009
+ ]
10010
+ },
9166
10011
  {
9167
10012
  id: "chart",
9168
10013
  exportPath: "@refineui/react",
@@ -9819,7 +10664,7 @@ var manifest_default = {
9819
10664
  accepts: [
9820
10665
  "ContextMenuItem",
9821
10666
  "ContextMenuLabel",
9822
- "ContextMenuSeparator",
10667
+ "ContextMenuDivider",
9823
10668
  "ContextMenuSub"
9824
10669
  ],
9825
10670
  repeatable: true
@@ -9931,12 +10776,12 @@ var manifest_default = {
9931
10776
  ]
9932
10777
  },
9933
10778
  {
9934
- id: "context-menu-separator",
10779
+ id: "context-menu-divider",
9935
10780
  exportPath: "@refineui/react",
9936
- exportName: "ContextMenuSeparator",
10781
+ exportName: "ContextMenuDivider",
9937
10782
  kind: "part",
9938
10783
  category: "parts",
9939
- label: "Context Menu Separator",
10784
+ label: "Context Menu Divider",
9940
10785
  props: [],
9941
10786
  preview: {
9942
10787
  mode: "full"
@@ -10057,7 +10902,7 @@ var manifest_default = {
10057
10902
  accepts: [
10058
10903
  "ContextMenuItem",
10059
10904
  "ContextMenuLabel",
10060
- "ContextMenuSeparator",
10905
+ "ContextMenuDivider",
10061
10906
  "ContextMenuSub"
10062
10907
  ],
10063
10908
  repeatable: true