@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
@@ -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.4.0",
8
+ packageVersion: "0.5.0",
9
9
  css: [
10
10
  "@refineui/react/refineui.css"
11
11
  ],
@@ -146,6 +146,110 @@ var manifest_default = {
146
146
  }
147
147
  ]
148
148
  },
149
+ {
150
+ id: "button-group",
151
+ exportPath: "@refineui/react",
152
+ exportName: "ButtonGroup",
153
+ kind: "root",
154
+ category: "components",
155
+ label: "Button Group",
156
+ props: [
157
+ {
158
+ name: "size",
159
+ label: "Size",
160
+ valueType: "enum",
161
+ control: "segmented",
162
+ options: [
163
+ "sm",
164
+ "md",
165
+ "lg"
166
+ ],
167
+ defaultValue: "md",
168
+ section: "variants"
169
+ },
170
+ {
171
+ name: "variant",
172
+ label: "Variant",
173
+ valueType: "enum",
174
+ control: "select",
175
+ options: [
176
+ "primary",
177
+ "secondary",
178
+ "outline",
179
+ "ghost"
180
+ ],
181
+ defaultValue: "ghost",
182
+ section: "variants"
183
+ },
184
+ {
185
+ name: "orientation",
186
+ label: "Orientation",
187
+ valueType: "enum",
188
+ control: "segmented",
189
+ options: [
190
+ "horizontal",
191
+ "vertical"
192
+ ],
193
+ defaultValue: "horizontal",
194
+ section: "variants"
195
+ },
196
+ {
197
+ name: "attached",
198
+ label: "Attached",
199
+ valueType: "boolean",
200
+ control: "toggle",
201
+ defaultValue: true,
202
+ section: "properties"
203
+ }
204
+ ],
205
+ preview: {
206
+ mode: "full"
207
+ },
208
+ slots: [
209
+ {
210
+ name: "children",
211
+ accepts: [
212
+ "Button"
213
+ ],
214
+ repeatable: true,
215
+ min: 1
216
+ }
217
+ ],
218
+ presets: [
219
+ {
220
+ id: "actions",
221
+ label: "Item actions",
222
+ root: {
223
+ component: "ButtonGroup",
224
+ props: {
225
+ "aria-label": "Item actions"
226
+ },
227
+ slots: {
228
+ children: [
229
+ {
230
+ component: "Button",
231
+ text: "Edit"
232
+ },
233
+ {
234
+ component: "Button",
235
+ text: "Duplicate"
236
+ },
237
+ {
238
+ component: "Button",
239
+ text: "Archive"
240
+ }
241
+ ]
242
+ }
243
+ }
244
+ }
245
+ ],
246
+ events: [
247
+ {
248
+ name: "click",
249
+ payload: "void"
250
+ }
251
+ ]
252
+ },
149
253
  {
150
254
  id: "input",
151
255
  exportPath: "@refineui/react",
@@ -198,6 +302,373 @@ var manifest_default = {
198
302
  }
199
303
  ]
200
304
  },
305
+ {
306
+ id: "date-input",
307
+ exportPath: "@refineui/react",
308
+ exportName: "DateInput",
309
+ kind: "root",
310
+ category: "components",
311
+ label: "Date Input",
312
+ props: [
313
+ {
314
+ name: "mode",
315
+ label: "mode",
316
+ valueType: "enum",
317
+ control: "segmented",
318
+ options: [
319
+ "single",
320
+ "range"
321
+ ],
322
+ defaultValue: "single",
323
+ section: "variants"
324
+ }
325
+ ],
326
+ preview: {
327
+ mode: "full"
328
+ },
329
+ slots: [
330
+ {
331
+ name: "children",
332
+ accepts: [],
333
+ repeatable: true,
334
+ allowText: true,
335
+ allowAnyComponent: true,
336
+ defaultChildren: []
337
+ }
338
+ ],
339
+ presets: [
340
+ {
341
+ id: "default",
342
+ label: "Default",
343
+ root: {
344
+ component: "DateInput",
345
+ slots: {
346
+ children: [
347
+ {
348
+ component: "Text",
349
+ props: {
350
+ variant: "bodyMd"
351
+ },
352
+ text: "Date Input"
353
+ }
354
+ ]
355
+ }
356
+ }
357
+ }
358
+ ],
359
+ events: [
360
+ {
361
+ name: "click",
362
+ payload: "void"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ id: "time-input",
368
+ exportPath: "@refineui/react",
369
+ exportName: "TimeInput",
370
+ kind: "root",
371
+ category: "utilities",
372
+ label: "Time Input",
373
+ props: [],
374
+ preview: {
375
+ mode: "full"
376
+ },
377
+ slots: [
378
+ {
379
+ name: "children",
380
+ accepts: [],
381
+ repeatable: true,
382
+ allowText: false,
383
+ allowAnyComponent: true,
384
+ defaultChildren: []
385
+ }
386
+ ],
387
+ presets: [
388
+ {
389
+ id: "default",
390
+ label: "Default",
391
+ root: {
392
+ component: "TimeInput",
393
+ slots: {}
394
+ }
395
+ }
396
+ ],
397
+ events: [
398
+ {
399
+ name: "click",
400
+ payload: "void"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ id: "code-block",
406
+ exportPath: "@refineui/react",
407
+ exportName: "CodeBlock",
408
+ kind: "root",
409
+ category: "components",
410
+ label: "Code Block",
411
+ props: [],
412
+ preview: {
413
+ mode: "full"
414
+ },
415
+ slots: [
416
+ {
417
+ name: "children",
418
+ accepts: [
419
+ "CodeBlockHeader",
420
+ "CodeBlockContent"
421
+ ],
422
+ repeatable: true
423
+ }
424
+ ],
425
+ presets: [
426
+ {
427
+ id: "typescript",
428
+ label: "TypeScript",
429
+ root: {
430
+ component: "CodeBlock",
431
+ slots: {
432
+ children: [
433
+ {
434
+ component: "CodeBlockHeader",
435
+ slots: {
436
+ children: [
437
+ {
438
+ component: "CodeBlockTitle",
439
+ text: "app/api/chat/route.ts"
440
+ },
441
+ {
442
+ component: "CodeBlockActions",
443
+ slots: {
444
+ children: [
445
+ {
446
+ component: "CodeBlockCopyButton",
447
+ props: {
448
+ value: "export async function POST() {\n return Response.json({ ok: true });\n}"
449
+ }
450
+ }
451
+ ]
452
+ }
453
+ }
454
+ ]
455
+ }
456
+ },
457
+ {
458
+ component: "CodeBlockContent",
459
+ props: {
460
+ lineNumbers: true
461
+ },
462
+ slots: {
463
+ children: [
464
+ {
465
+ component: "CodeBlockLine",
466
+ text: "export async function POST() {"
467
+ },
468
+ {
469
+ component: "CodeBlockLine",
470
+ props: {
471
+ variant: "highlighted"
472
+ },
473
+ text: " return Response.json({ ok: true });"
474
+ },
475
+ {
476
+ component: "CodeBlockLine",
477
+ text: "}"
478
+ }
479
+ ]
480
+ }
481
+ }
482
+ ]
483
+ }
484
+ }
485
+ }
486
+ ],
487
+ events: [
488
+ {
489
+ name: "click",
490
+ payload: "void"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ id: "code-block-actions",
496
+ exportPath: "@refineui/react",
497
+ exportName: "CodeBlockActions",
498
+ kind: "part",
499
+ category: "parts",
500
+ label: "Code Block Actions",
501
+ props: [],
502
+ preview: {
503
+ mode: "full"
504
+ },
505
+ parents: [
506
+ {
507
+ component: "CodeBlockHeader",
508
+ slot: "children"
509
+ }
510
+ ],
511
+ slots: [
512
+ {
513
+ name: "children",
514
+ accepts: [
515
+ "CodeBlockCopyButton",
516
+ "Button"
517
+ ],
518
+ repeatable: true
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ id: "code-block-content",
524
+ exportPath: "@refineui/react",
525
+ exportName: "CodeBlockContent",
526
+ kind: "part",
527
+ category: "parts",
528
+ label: "Code Block Content",
529
+ props: [
530
+ {
531
+ name: "wrap",
532
+ valueType: "boolean",
533
+ control: "toggle",
534
+ defaultValue: false,
535
+ section: "properties",
536
+ label: "wrap"
537
+ },
538
+ {
539
+ name: "lineNumbers",
540
+ valueType: "boolean",
541
+ control: "toggle",
542
+ defaultValue: false,
543
+ section: "properties",
544
+ label: "line Numbers"
545
+ }
546
+ ],
547
+ preview: {
548
+ mode: "full"
549
+ },
550
+ parents: [
551
+ {
552
+ component: "CodeBlock",
553
+ slot: "children"
554
+ }
555
+ ],
556
+ slots: [
557
+ {
558
+ name: "children",
559
+ accepts: [
560
+ "CodeBlockLine"
561
+ ],
562
+ repeatable: true,
563
+ min: 1
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ id: "code-block-copy-button",
569
+ exportPath: "@refineui/react",
570
+ exportName: "CodeBlockCopyButton",
571
+ kind: "part",
572
+ category: "parts",
573
+ label: "Code Block Copy Button",
574
+ props: [
575
+ {
576
+ name: "value",
577
+ label: "value",
578
+ valueType: "string",
579
+ control: "textarea",
580
+ defaultValue: "",
581
+ required: true,
582
+ section: "properties"
583
+ }
584
+ ],
585
+ preview: {
586
+ mode: "full"
587
+ },
588
+ parents: [
589
+ {
590
+ component: "CodeBlockActions",
591
+ slot: "children"
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ id: "code-block-header",
597
+ exportPath: "@refineui/react",
598
+ exportName: "CodeBlockHeader",
599
+ kind: "part",
600
+ category: "parts",
601
+ label: "Code Block Header",
602
+ props: [],
603
+ preview: {
604
+ mode: "full"
605
+ },
606
+ parents: [
607
+ {
608
+ component: "CodeBlock",
609
+ slot: "children"
610
+ }
611
+ ],
612
+ slots: [
613
+ {
614
+ name: "children",
615
+ accepts: [
616
+ "CodeBlockTitle",
617
+ "CodeBlockActions"
618
+ ],
619
+ repeatable: true
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ id: "code-block-line",
625
+ exportPath: "@refineui/react",
626
+ exportName: "CodeBlockLine",
627
+ kind: "part",
628
+ category: "parts",
629
+ label: "Code Block Line",
630
+ props: [
631
+ {
632
+ name: "variant",
633
+ valueType: "enum",
634
+ control: "segmented",
635
+ options: [
636
+ "default",
637
+ "highlighted"
638
+ ],
639
+ defaultValue: "default",
640
+ section: "variants",
641
+ label: "variant"
642
+ }
643
+ ],
644
+ preview: {
645
+ mode: "full"
646
+ },
647
+ parents: [
648
+ {
649
+ component: "CodeBlockContent",
650
+ slot: "children"
651
+ }
652
+ ]
653
+ },
654
+ {
655
+ id: "code-block-title",
656
+ exportPath: "@refineui/react",
657
+ exportName: "CodeBlockTitle",
658
+ kind: "part",
659
+ category: "parts",
660
+ label: "Code Block Title",
661
+ props: [],
662
+ preview: {
663
+ mode: "full"
664
+ },
665
+ parents: [
666
+ {
667
+ component: "CodeBlockHeader",
668
+ slot: "children"
669
+ }
670
+ ]
671
+ },
201
672
  {
202
673
  id: "input-otp",
203
674
  exportPath: "@refineui/react",
@@ -1233,7 +1704,7 @@ var manifest_default = {
1233
1704
  accepts: [
1234
1705
  "SelectLabel",
1235
1706
  "SelectItem",
1236
- "SelectSeparator"
1707
+ "SelectDivider"
1237
1708
  ],
1238
1709
  repeatable: true
1239
1710
  }
@@ -1423,12 +1894,12 @@ var manifest_default = {
1423
1894
  ]
1424
1895
  },
1425
1896
  {
1426
- id: "select-separator",
1897
+ id: "select-divider",
1427
1898
  exportPath: "@refineui/react",
1428
- exportName: "SelectSeparator",
1899
+ exportName: "SelectDivider",
1429
1900
  kind: "part",
1430
1901
  category: "parts",
1431
- label: "Select Separator",
1902
+ label: "Select Divider",
1432
1903
  props: [],
1433
1904
  preview: {
1434
1905
  mode: "full"
@@ -1514,7 +1985,7 @@ var manifest_default = {
1514
1985
  accepts: [
1515
1986
  "SelectGroup",
1516
1987
  "SelectItem",
1517
- "SelectSeparator"
1988
+ "SelectDivider"
1518
1989
  ],
1519
1990
  repeatable: true
1520
1991
  }
@@ -2045,19 +2516,19 @@ var manifest_default = {
2045
2516
  "CommandEmpty",
2046
2517
  "CommandGroup",
2047
2518
  "CommandItem",
2048
- "CommandSeparator"
2519
+ "CommandDivider"
2049
2520
  ],
2050
2521
  repeatable: true
2051
2522
  }
2052
2523
  ]
2053
2524
  },
2054
2525
  {
2055
- id: "command-separator",
2526
+ id: "command-divider",
2056
2527
  exportPath: "@refineui/react",
2057
- exportName: "CommandSeparator",
2528
+ exportName: "CommandDivider",
2058
2529
  kind: "part",
2059
2530
  category: "parts",
2060
- label: "Command Separator",
2531
+ label: "Command Divider",
2061
2532
  props: [],
2062
2533
  preview: {
2063
2534
  mode: "full"
@@ -2121,44 +2592,178 @@ var manifest_default = {
2121
2592
  defaultValue: "sm",
2122
2593
  section: "variants"
2123
2594
  }
2124
- ],
2595
+ ],
2596
+ preview: {
2597
+ mode: "full"
2598
+ },
2599
+ slots: [
2600
+ {
2601
+ name: "children",
2602
+ accepts: [],
2603
+ repeatable: true,
2604
+ allowText: true,
2605
+ allowAnyComponent: true,
2606
+ defaultChildren: []
2607
+ }
2608
+ ],
2609
+ presets: [
2610
+ {
2611
+ id: "default",
2612
+ label: "Default",
2613
+ root: {
2614
+ component: "Tag",
2615
+ slots: {
2616
+ children: [
2617
+ {
2618
+ component: "Text",
2619
+ props: {
2620
+ variant: "bodyMd"
2621
+ },
2622
+ text: "Tag"
2623
+ }
2624
+ ]
2625
+ }
2626
+ }
2627
+ }
2628
+ ],
2629
+ events: [
2630
+ {
2631
+ name: "click",
2632
+ payload: "void"
2633
+ }
2634
+ ]
2635
+ },
2636
+ {
2637
+ id: "result",
2638
+ exportPath: "@refineui/react",
2639
+ exportName: "Result",
2640
+ kind: "root",
2641
+ category: "utilities",
2642
+ label: "Result",
2643
+ props: [],
2644
+ preview: {
2645
+ mode: "full"
2646
+ },
2647
+ slots: [
2648
+ {
2649
+ name: "children",
2650
+ accepts: [
2651
+ "ResultActions",
2652
+ "ResultButton",
2653
+ "ResultDescription",
2654
+ "ResultIcon",
2655
+ "ResultTitle"
2656
+ ],
2657
+ repeatable: true,
2658
+ allowText: false,
2659
+ allowAnyComponent: false,
2660
+ defaultChildren: []
2661
+ }
2662
+ ],
2663
+ presets: [
2664
+ {
2665
+ id: "default",
2666
+ label: "Default",
2667
+ root: {
2668
+ component: "Result",
2669
+ slots: {}
2670
+ }
2671
+ }
2672
+ ],
2673
+ events: [
2674
+ {
2675
+ name: "click",
2676
+ payload: "void"
2677
+ }
2678
+ ]
2679
+ },
2680
+ {
2681
+ id: "result-actions",
2682
+ exportPath: "@refineui/react",
2683
+ exportName: "ResultActions",
2684
+ kind: "part",
2685
+ category: "parts",
2686
+ label: "Result Actions",
2687
+ props: [],
2688
+ preview: {
2689
+ mode: "full"
2690
+ },
2691
+ parents: [
2692
+ {
2693
+ component: "Result",
2694
+ slot: "children"
2695
+ }
2696
+ ]
2697
+ },
2698
+ {
2699
+ id: "result-button",
2700
+ exportPath: "@refineui/react",
2701
+ exportName: "ResultButton",
2702
+ kind: "part",
2703
+ category: "parts",
2704
+ label: "Result Button",
2705
+ props: [],
2706
+ preview: {
2707
+ mode: "full"
2708
+ },
2709
+ parents: [
2710
+ {
2711
+ component: "Result",
2712
+ slot: "children"
2713
+ }
2714
+ ]
2715
+ },
2716
+ {
2717
+ id: "result-description",
2718
+ exportPath: "@refineui/react",
2719
+ exportName: "ResultDescription",
2720
+ kind: "part",
2721
+ category: "parts",
2722
+ label: "Result Description",
2723
+ props: [],
2125
2724
  preview: {
2126
2725
  mode: "full"
2127
2726
  },
2128
- slots: [
2727
+ parents: [
2129
2728
  {
2130
- name: "children",
2131
- accepts: [],
2132
- repeatable: true,
2133
- allowText: true,
2134
- allowAnyComponent: true,
2135
- defaultChildren: []
2729
+ component: "Result",
2730
+ slot: "children"
2136
2731
  }
2137
- ],
2138
- presets: [
2732
+ ]
2733
+ },
2734
+ {
2735
+ id: "result-icon",
2736
+ exportPath: "@refineui/react",
2737
+ exportName: "ResultIcon",
2738
+ kind: "part",
2739
+ category: "parts",
2740
+ label: "Result Icon",
2741
+ props: [],
2742
+ preview: {
2743
+ mode: "full"
2744
+ },
2745
+ parents: [
2139
2746
  {
2140
- id: "default",
2141
- label: "Default",
2142
- root: {
2143
- component: "Tag",
2144
- slots: {
2145
- children: [
2146
- {
2147
- component: "Text",
2148
- props: {
2149
- variant: "bodyMd"
2150
- },
2151
- text: "Tag"
2152
- }
2153
- ]
2154
- }
2155
- }
2747
+ component: "Result",
2748
+ slot: "children"
2156
2749
  }
2157
- ],
2158
- events: [
2750
+ ]
2751
+ },
2752
+ {
2753
+ id: "result-title",
2754
+ exportPath: "@refineui/react",
2755
+ exportName: "ResultTitle",
2756
+ kind: "part",
2757
+ category: "parts",
2758
+ label: "Result Title",
2759
+ props: [],
2760
+ preview: {
2761
+ mode: "full"
2762
+ },
2763
+ parents: [
2159
2764
  {
2160
- name: "click",
2161
- payload: "void"
2765
+ component: "Result",
2766
+ slot: "children"
2162
2767
  }
2163
2768
  ]
2164
2769
  },
@@ -4748,7 +5353,20 @@ var manifest_default = {
4748
5353
  kind: "root",
4749
5354
  category: "components",
4750
5355
  label: "Calendar",
4751
- props: [],
5356
+ props: [
5357
+ {
5358
+ name: "mode",
5359
+ label: "mode",
5360
+ valueType: "enum",
5361
+ control: "segmented",
5362
+ options: [
5363
+ "single",
5364
+ "range"
5365
+ ],
5366
+ defaultValue: "single",
5367
+ section: "variants"
5368
+ }
5369
+ ],
4752
5370
  preview: {
4753
5371
  mode: "full"
4754
5372
  },
@@ -5679,7 +6297,7 @@ var manifest_default = {
5679
6297
  "DropdownGroup",
5680
6298
  "DropdownItem",
5681
6299
  "DropdownLabel",
5682
- "DropdownSeparator",
6300
+ "DropdownDivider",
5683
6301
  "DropdownSub"
5684
6302
  ],
5685
6303
  repeatable: true
@@ -5709,7 +6327,7 @@ var manifest_default = {
5709
6327
  accepts: [
5710
6328
  "DropdownItem",
5711
6329
  "DropdownLabel",
5712
- "DropdownSeparator",
6330
+ "DropdownDivider",
5713
6331
  "DropdownSub"
5714
6332
  ],
5715
6333
  repeatable: true
@@ -5798,12 +6416,12 @@ var manifest_default = {
5798
6416
  ]
5799
6417
  },
5800
6418
  {
5801
- id: "dropdown-separator",
6419
+ id: "dropdown-divider",
5802
6420
  exportPath: "@refineui/react",
5803
- exportName: "DropdownSeparator",
6421
+ exportName: "DropdownDivider",
5804
6422
  kind: "part",
5805
6423
  category: "parts",
5806
- label: "Dropdown Separator",
6424
+ label: "Dropdown Divider",
5807
6425
  props: [],
5808
6426
  preview: {
5809
6427
  mode: "full"
@@ -7519,7 +8137,24 @@ var manifest_default = {
7519
8137
  kind: "part",
7520
8138
  category: "parts",
7521
8139
  label: "Popover Content",
7522
- props: [],
8140
+ props: [
8141
+ {
8142
+ name: "surface",
8143
+ valueType: "boolean",
8144
+ control: "toggle",
8145
+ defaultValue: true,
8146
+ section: "properties",
8147
+ label: "surface"
8148
+ },
8149
+ {
8150
+ name: "fitContent",
8151
+ valueType: "boolean",
8152
+ control: "toggle",
8153
+ defaultValue: false,
8154
+ section: "properties",
8155
+ label: "fit Content"
8156
+ }
8157
+ ],
7523
8158
  preview: {
7524
8159
  mode: "full"
7525
8160
  },
@@ -9138,6 +9773,216 @@ var manifest_default = {
9138
9773
  }
9139
9774
  ]
9140
9775
  },
9776
+ {
9777
+ id: "toolbar",
9778
+ exportPath: "@refineui/react",
9779
+ exportName: "Toolbar",
9780
+ kind: "root",
9781
+ category: "components",
9782
+ label: "Toolbar",
9783
+ props: [
9784
+ {
9785
+ name: "size",
9786
+ label: "size",
9787
+ valueType: "enum",
9788
+ control: "segmented",
9789
+ options: [
9790
+ "sm",
9791
+ "md",
9792
+ "lg"
9793
+ ],
9794
+ defaultValue: "sm",
9795
+ section: "variants"
9796
+ },
9797
+ {
9798
+ name: "orientation",
9799
+ label: "orientation",
9800
+ valueType: "enum",
9801
+ control: "segmented",
9802
+ options: [
9803
+ "horizontal",
9804
+ "vertical"
9805
+ ],
9806
+ defaultValue: "horizontal",
9807
+ section: "variants"
9808
+ }
9809
+ ],
9810
+ preview: {
9811
+ mode: "full"
9812
+ },
9813
+ slots: [
9814
+ {
9815
+ name: "children",
9816
+ accepts: [
9817
+ "ToolbarGroup",
9818
+ "ToolbarButton",
9819
+ "ToolbarToggleButton",
9820
+ "ToolbarDivider"
9821
+ ],
9822
+ repeatable: true
9823
+ }
9824
+ ],
9825
+ presets: [
9826
+ {
9827
+ id: "formatting",
9828
+ label: "Text formatting",
9829
+ root: {
9830
+ component: "Toolbar",
9831
+ props: {
9832
+ label: "Text formatting"
9833
+ },
9834
+ slots: {
9835
+ children: [
9836
+ {
9837
+ component: "ToolbarGroup",
9838
+ props: {
9839
+ "aria-label": "Text style"
9840
+ },
9841
+ slots: {
9842
+ children: [
9843
+ {
9844
+ component: "ToolbarToggleButton",
9845
+ props: {
9846
+ "aria-label": "Bold"
9847
+ }
9848
+ },
9849
+ {
9850
+ component: "ToolbarToggleButton",
9851
+ props: {
9852
+ "aria-label": "Italic"
9853
+ }
9854
+ }
9855
+ ]
9856
+ }
9857
+ },
9858
+ {
9859
+ component: "ToolbarDivider"
9860
+ },
9861
+ {
9862
+ component: "ToolbarGroup",
9863
+ props: {
9864
+ "aria-label": "Clipboard"
9865
+ },
9866
+ slots: {
9867
+ children: [
9868
+ {
9869
+ component: "ToolbarButton",
9870
+ props: {
9871
+ "aria-label": "Copy"
9872
+ }
9873
+ },
9874
+ {
9875
+ component: "ToolbarButton",
9876
+ props: {
9877
+ "aria-label": "Cut"
9878
+ }
9879
+ }
9880
+ ]
9881
+ }
9882
+ }
9883
+ ]
9884
+ }
9885
+ }
9886
+ }
9887
+ ],
9888
+ events: [
9889
+ {
9890
+ name: "click",
9891
+ payload: "void"
9892
+ }
9893
+ ]
9894
+ },
9895
+ {
9896
+ id: "toolbar-button",
9897
+ exportPath: "@refineui/react",
9898
+ exportName: "ToolbarButton",
9899
+ kind: "part",
9900
+ category: "parts",
9901
+ label: "Toolbar Button",
9902
+ props: [],
9903
+ preview: {
9904
+ mode: "full"
9905
+ },
9906
+ parents: [
9907
+ {
9908
+ component: "Toolbar",
9909
+ slot: "children"
9910
+ },
9911
+ {
9912
+ component: "ToolbarGroup",
9913
+ slot: "children"
9914
+ }
9915
+ ]
9916
+ },
9917
+ {
9918
+ id: "toolbar-group",
9919
+ exportPath: "@refineui/react",
9920
+ exportName: "ToolbarGroup",
9921
+ kind: "part",
9922
+ category: "parts",
9923
+ label: "Toolbar Group",
9924
+ props: [],
9925
+ preview: {
9926
+ mode: "full"
9927
+ },
9928
+ parents: [
9929
+ {
9930
+ component: "Toolbar",
9931
+ slot: "children"
9932
+ }
9933
+ ],
9934
+ slots: [
9935
+ {
9936
+ name: "children",
9937
+ accepts: [
9938
+ "ToolbarButton",
9939
+ "ToolbarToggleButton"
9940
+ ],
9941
+ repeatable: true,
9942
+ min: 1
9943
+ }
9944
+ ]
9945
+ },
9946
+ {
9947
+ id: "toolbar-divider",
9948
+ exportPath: "@refineui/react",
9949
+ exportName: "ToolbarDivider",
9950
+ kind: "part",
9951
+ category: "parts",
9952
+ label: "Toolbar Divider",
9953
+ props: [],
9954
+ preview: {
9955
+ mode: "full"
9956
+ },
9957
+ parents: [
9958
+ {
9959
+ component: "Toolbar",
9960
+ slot: "children"
9961
+ }
9962
+ ]
9963
+ },
9964
+ {
9965
+ id: "toolbar-toggle-button",
9966
+ exportPath: "@refineui/react",
9967
+ exportName: "ToolbarToggleButton",
9968
+ kind: "part",
9969
+ category: "parts",
9970
+ label: "Toolbar Toggle Button",
9971
+ props: [],
9972
+ preview: {
9973
+ mode: "full"
9974
+ },
9975
+ parents: [
9976
+ {
9977
+ component: "Toolbar",
9978
+ slot: "children"
9979
+ },
9980
+ {
9981
+ component: "ToolbarGroup",
9982
+ slot: "children"
9983
+ }
9984
+ ]
9985
+ },
9141
9986
  {
9142
9987
  id: "chart",
9143
9988
  exportPath: "@refineui/react",
@@ -9794,7 +10639,7 @@ var manifest_default = {
9794
10639
  accepts: [
9795
10640
  "ContextMenuItem",
9796
10641
  "ContextMenuLabel",
9797
- "ContextMenuSeparator",
10642
+ "ContextMenuDivider",
9798
10643
  "ContextMenuSub"
9799
10644
  ],
9800
10645
  repeatable: true
@@ -9906,12 +10751,12 @@ var manifest_default = {
9906
10751
  ]
9907
10752
  },
9908
10753
  {
9909
- id: "context-menu-separator",
10754
+ id: "context-menu-divider",
9910
10755
  exportPath: "@refineui/react",
9911
- exportName: "ContextMenuSeparator",
10756
+ exportName: "ContextMenuDivider",
9912
10757
  kind: "part",
9913
10758
  category: "parts",
9914
- label: "Context Menu Separator",
10759
+ label: "Context Menu Divider",
9915
10760
  props: [],
9916
10761
  preview: {
9917
10762
  mode: "full"
@@ -10032,7 +10877,7 @@ var manifest_default = {
10032
10877
  accepts: [
10033
10878
  "ContextMenuItem",
10034
10879
  "ContextMenuLabel",
10035
- "ContextMenuSeparator",
10880
+ "ContextMenuDivider",
10036
10881
  "ContextMenuSub"
10037
10882
  ],
10038
10883
  repeatable: true