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