@sakaniui/mcp 0.13.0 → 0.15.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.
- package/data/AGENTS.md +17 -0
- package/data/CHANGELOG.md +63 -0
- package/data/dist/emoji-index.json +1 -1
- package/data/dist/icon-index.json +1 -1
- package/data/dist/manifest.json +884 -84
- package/data/package.json +1 -1
- package/package.json +1 -1
package/data/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 6,
|
|
3
3
|
"name": "@sakaniui/react",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0",
|
|
5
5
|
"description": "Machine-readable contract of the SakaniUI React library, generated from its TypeScript source.",
|
|
6
6
|
"docs": "https://www.sakaniui.com",
|
|
7
7
|
"guide": "https://www.sakaniui.com/llms-full.txt",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@sakaniui/react/emoji": "Fluent Emoji (full colour): EmojiName, one module each (1594 emoji, 311 with skin tones)."
|
|
25
25
|
},
|
|
26
26
|
"conventions": {
|
|
27
|
-
"version": "This manifest describes @sakaniui/react@0.
|
|
27
|
+
"version": "This manifest describes @sakaniui/react@0.15.0. Each component has `since`, the first release that contained it; a prop added later has its own `since`, and a value added later is listed in the prop's `valuesSince`. If the project has an older version installed, anything newer than that does not exist there.",
|
|
28
28
|
"acceptsNativeProps": "Components forward native HTML attributes (className, style, aria-*, event handlers) to their root element unless a prop says otherwise; only the props that are specific to SakaniUI are listed here.",
|
|
29
29
|
"accessibleName": "When `contract.requiresAccessibleName` is true, a required prop (aria-label, aria-labelledby or an alt text) is the only thing that names the control or image. Do not omit it.",
|
|
30
30
|
"tokens": "Use only the token names listed under `tokens`. Colour tokens follow the theme (the `.dark` class flips them); do not hard-code colours.",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"wrap"
|
|
196
196
|
],
|
|
197
197
|
"tokens": {
|
|
198
|
-
"count":
|
|
198
|
+
"count": 243,
|
|
199
199
|
"groups": {
|
|
200
200
|
"bp": {
|
|
201
201
|
"--bp-sm": "640px",
|
|
@@ -281,6 +281,8 @@
|
|
|
281
281
|
"--color-chart-purple": "#9179D6",
|
|
282
282
|
"--color-chart-gold": "#DCA84F",
|
|
283
283
|
"--color-chart-green": "#12B76A",
|
|
284
|
+
"--color-blue-700": "#33619F",
|
|
285
|
+
"--color-violet-500": "#9179D6",
|
|
284
286
|
"--color-code-keyword": "#7B4BD9",
|
|
285
287
|
"--color-code-string": "#16A34A",
|
|
286
288
|
"--color-bg-canvas": "var(--color-neutral-50)",
|
|
@@ -403,6 +405,16 @@
|
|
|
403
405
|
"--transition-slow": "var(--motion-slow) var(--ease-in-out)",
|
|
404
406
|
"--transition-hover": "var(--motion-slow) var(--ease-out)"
|
|
405
407
|
},
|
|
408
|
+
"ai": {
|
|
409
|
+
"--ai-ember-0": "var(--color-blue-700)",
|
|
410
|
+
"--ai-ember-1": "var(--color-violet-500)",
|
|
411
|
+
"--ai-ember-2": "color-mix(in srgb, var(--color-danger-500) 55%, var(--color-violet-500))",
|
|
412
|
+
"--ai-ember-3": "var(--color-danger-500)",
|
|
413
|
+
"--ai-ember-4": "var(--color-primary-500)",
|
|
414
|
+
"--ai-ember-5": "var(--color-warning-500)",
|
|
415
|
+
"--ai-ember-6": "var(--color-warning-300)",
|
|
416
|
+
"--ai-ember-gradient": "linear-gradient(90deg, var(--ai-ember-0), var(--ai-ember-1), var(--ai-ember-2), var(--ai-ember-3), var(--ai-ember-4), var(--ai-ember-5), var(--ai-ember-6))"
|
|
417
|
+
},
|
|
406
418
|
"glass": {
|
|
407
419
|
"--glass-bg": "rgba(255, 255, 255, 0.64)",
|
|
408
420
|
"--glass-bg-overlay": "rgba(255, 255, 255, 0.76)",
|
|
@@ -461,8 +473,8 @@
|
|
|
461
473
|
}
|
|
462
474
|
},
|
|
463
475
|
"counts": {
|
|
464
|
-
"components":
|
|
465
|
-
"blocks":
|
|
476
|
+
"components": 150,
|
|
477
|
+
"blocks": 44,
|
|
466
478
|
"utilities": 10
|
|
467
479
|
},
|
|
468
480
|
"components": [
|
|
@@ -629,6 +641,81 @@
|
|
|
629
641
|
"since": "0.1.0",
|
|
630
642
|
"example": "import { ActivityFeedHighlight } from '@sakaniui/react';\n\n<ActivityFeedHighlight>Label</ActivityFeedHighlight>"
|
|
631
643
|
},
|
|
644
|
+
{
|
|
645
|
+
"name": "AiMessage",
|
|
646
|
+
"kind": "component",
|
|
647
|
+
"category": "AI",
|
|
648
|
+
"import": "@sakaniui/react",
|
|
649
|
+
"summary": "One turn of an AI conversation.",
|
|
650
|
+
"props": [
|
|
651
|
+
{
|
|
652
|
+
"name": "role",
|
|
653
|
+
"type": "\"assistant\" | \"user\"",
|
|
654
|
+
"required": false,
|
|
655
|
+
"values": [
|
|
656
|
+
"assistant",
|
|
657
|
+
"user"
|
|
658
|
+
],
|
|
659
|
+
"default": "assistant"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "streaming",
|
|
663
|
+
"type": "boolean",
|
|
664
|
+
"required": false,
|
|
665
|
+
"description": "Assistant only: the reply is still arriving."
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "children",
|
|
669
|
+
"type": "ReactNode",
|
|
670
|
+
"required": false,
|
|
671
|
+
"description": "The text."
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "actions",
|
|
675
|
+
"type": "ReactNode",
|
|
676
|
+
"required": false,
|
|
677
|
+
"default": true,
|
|
678
|
+
"description": "Assistant only. `false` leaves the row out; a node replaces it. Default: the four built-in actions."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "onCopy",
|
|
682
|
+
"type": "(() => void)",
|
|
683
|
+
"required": false
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "onRegenerate",
|
|
687
|
+
"type": "(() => void)",
|
|
688
|
+
"required": false
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "onFeedback",
|
|
692
|
+
"type": "((value: \"up\" | \"down\") => void)",
|
|
693
|
+
"required": false
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "className",
|
|
697
|
+
"type": "string",
|
|
698
|
+
"required": false
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
"contract": {
|
|
702
|
+
"requiredProps": [],
|
|
703
|
+
"requiresAccessibleName": false
|
|
704
|
+
},
|
|
705
|
+
"since": "0.15.0",
|
|
706
|
+
"example": "import { AiMessage } from '@sakaniui/react';\n\n<AiMessage />",
|
|
707
|
+
"aliases": [
|
|
708
|
+
"ai chat message",
|
|
709
|
+
"chat message",
|
|
710
|
+
"assistant message",
|
|
711
|
+
"user message",
|
|
712
|
+
"chatgpt message",
|
|
713
|
+
"llm reply",
|
|
714
|
+
"ai reply",
|
|
715
|
+
"message actions",
|
|
716
|
+
"copy regenerate feedback"
|
|
717
|
+
]
|
|
718
|
+
},
|
|
632
719
|
{
|
|
633
720
|
"name": "Alert",
|
|
634
721
|
"kind": "component",
|
|
@@ -836,6 +923,78 @@
|
|
|
836
923
|
"since": "0.1.0",
|
|
837
924
|
"example": "import { AreaChart } from '@sakaniui/react';\n\n<AreaChart data={[{ label: \"Label\", value: 50 }]} />"
|
|
838
925
|
},
|
|
926
|
+
{
|
|
927
|
+
"name": "AttachmentChip",
|
|
928
|
+
"kind": "component",
|
|
929
|
+
"category": "AI",
|
|
930
|
+
"import": "@sakaniui/react",
|
|
931
|
+
"summary": "A file or image attached to a prompt.",
|
|
932
|
+
"props": [
|
|
933
|
+
{
|
|
934
|
+
"name": "type",
|
|
935
|
+
"type": "\"file\" | \"image\" | \"uploading\" | \"error\"",
|
|
936
|
+
"required": false,
|
|
937
|
+
"values": [
|
|
938
|
+
"file",
|
|
939
|
+
"image",
|
|
940
|
+
"uploading",
|
|
941
|
+
"error"
|
|
942
|
+
],
|
|
943
|
+
"default": "file"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "name",
|
|
947
|
+
"type": "string",
|
|
948
|
+
"required": true
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"name": "meta",
|
|
952
|
+
"type": "string",
|
|
953
|
+
"required": false,
|
|
954
|
+
"description": "The second line: \"PDF · 2.4 MB\". Uploading and error replace it with their own text unless you pass one."
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "preview",
|
|
958
|
+
"type": "string",
|
|
959
|
+
"required": false,
|
|
960
|
+
"description": "Image thumbnail URL (type=\"image\")."
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "progress",
|
|
964
|
+
"type": "number",
|
|
965
|
+
"required": false,
|
|
966
|
+
"default": 0,
|
|
967
|
+
"description": "0-100 (type=\"uploading\")."
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "onRemove",
|
|
971
|
+
"type": "(() => void)",
|
|
972
|
+
"required": false,
|
|
973
|
+
"description": "Shows the x."
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "className",
|
|
977
|
+
"type": "string",
|
|
978
|
+
"required": false
|
|
979
|
+
}
|
|
980
|
+
],
|
|
981
|
+
"contract": {
|
|
982
|
+
"requiredProps": [
|
|
983
|
+
"name"
|
|
984
|
+
],
|
|
985
|
+
"requiresAccessibleName": false
|
|
986
|
+
},
|
|
987
|
+
"since": "0.15.0",
|
|
988
|
+
"example": "import { AttachmentChip } from '@sakaniui/react';\n\n<AttachmentChip name=\"Name\" />",
|
|
989
|
+
"aliases": [
|
|
990
|
+
"file chip",
|
|
991
|
+
"attached file",
|
|
992
|
+
"upload chip",
|
|
993
|
+
"file attachment",
|
|
994
|
+
"image attachment",
|
|
995
|
+
"upload progress chip"
|
|
996
|
+
]
|
|
997
|
+
},
|
|
839
998
|
{
|
|
840
999
|
"name": "Avatar",
|
|
841
1000
|
"kind": "component",
|
|
@@ -2266,7 +2425,6 @@
|
|
|
2266
2425
|
"aliases": [
|
|
2267
2426
|
"thought chain",
|
|
2268
2427
|
"reasoning steps",
|
|
2269
|
-
"reasoning trace",
|
|
2270
2428
|
"agent steps",
|
|
2271
2429
|
"agent activity",
|
|
2272
2430
|
"agent trace",
|
|
@@ -2365,7 +2523,6 @@
|
|
|
2365
2523
|
"reasoning step",
|
|
2366
2524
|
"thought step",
|
|
2367
2525
|
"agent step",
|
|
2368
|
-
"tool call",
|
|
2369
2526
|
"search step",
|
|
2370
2527
|
"task step"
|
|
2371
2528
|
]
|
|
@@ -2379,13 +2536,13 @@
|
|
|
2379
2536
|
"props": [
|
|
2380
2537
|
{
|
|
2381
2538
|
"name": "state",
|
|
2382
|
-
"type": "\"default\" | \"
|
|
2539
|
+
"type": "\"default\" | \"uploading\" | \"disabled\" | \"typing\"",
|
|
2383
2540
|
"required": false,
|
|
2384
2541
|
"values": [
|
|
2385
2542
|
"default",
|
|
2543
|
+
"uploading",
|
|
2386
2544
|
"disabled",
|
|
2387
|
-
"typing"
|
|
2388
|
-
"uploading"
|
|
2545
|
+
"typing"
|
|
2389
2546
|
],
|
|
2390
2547
|
"default": "default"
|
|
2391
2548
|
},
|
|
@@ -2445,6 +2602,79 @@
|
|
|
2445
2602
|
"composer"
|
|
2446
2603
|
]
|
|
2447
2604
|
},
|
|
2605
|
+
{
|
|
2606
|
+
"name": "ChatOrb",
|
|
2607
|
+
"kind": "component",
|
|
2608
|
+
"category": "AI",
|
|
2609
|
+
"import": "@sakaniui/react",
|
|
2610
|
+
"summary": "The AI's face: a soft white sphere with two black eyes. It is the assistant avatar in AiMessage and can stand alone as a chat launcher or greeter.",
|
|
2611
|
+
"props": [
|
|
2612
|
+
{
|
|
2613
|
+
"name": "size",
|
|
2614
|
+
"type": "number",
|
|
2615
|
+
"required": false,
|
|
2616
|
+
"default": 28,
|
|
2617
|
+
"description": "Diameter in px. Default 28 (the AiMessage avatar)."
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"name": "look",
|
|
2621
|
+
"type": "boolean",
|
|
2622
|
+
"required": false,
|
|
2623
|
+
"default": true,
|
|
2624
|
+
"description": "The eyes follow the pointer. Default true."
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "blink",
|
|
2628
|
+
"type": "boolean",
|
|
2629
|
+
"required": false,
|
|
2630
|
+
"default": true,
|
|
2631
|
+
"description": "The eyes blink now and then. Default true."
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"name": "thinking",
|
|
2635
|
+
"type": "boolean",
|
|
2636
|
+
"required": false,
|
|
2637
|
+
"default": false,
|
|
2638
|
+
"description": "The AI is thinking: the eyes sweep side to side instead of following the pointer."
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"name": "glance",
|
|
2642
|
+
"type": "boolean",
|
|
2643
|
+
"required": false,
|
|
2644
|
+
"default": false,
|
|
2645
|
+
"description": "The response has arrived: glance toward the text (to the right) for 1.4s, then look straight. Fires each time it turns true."
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "squintOnHover",
|
|
2649
|
+
"type": "boolean",
|
|
2650
|
+
"required": false,
|
|
2651
|
+
"default": true,
|
|
2652
|
+
"description": "The eyes squint while the pointer is over the orb. Default true."
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"name": "label",
|
|
2656
|
+
"type": "string",
|
|
2657
|
+
"required": false,
|
|
2658
|
+
"description": "Accessible name. Omit for a decorative orb."
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"name": "className",
|
|
2662
|
+
"type": "string",
|
|
2663
|
+
"required": false
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"name": "style",
|
|
2667
|
+
"type": "CSSProperties",
|
|
2668
|
+
"required": false
|
|
2669
|
+
}
|
|
2670
|
+
],
|
|
2671
|
+
"contract": {
|
|
2672
|
+
"requiredProps": [],
|
|
2673
|
+
"requiresAccessibleName": false
|
|
2674
|
+
},
|
|
2675
|
+
"since": "0.15.0",
|
|
2676
|
+
"example": "import { ChatOrb } from '@sakaniui/react';\n\n<ChatOrb />"
|
|
2677
|
+
},
|
|
2448
2678
|
{
|
|
2449
2679
|
"name": "Checkbox",
|
|
2450
2680
|
"kind": "component",
|
|
@@ -2868,12 +3098,12 @@
|
|
|
2868
3098
|
},
|
|
2869
3099
|
{
|
|
2870
3100
|
"name": "state",
|
|
2871
|
-
"type": "\"
|
|
3101
|
+
"type": "\"error\" | \"loading\" | \"ready\"",
|
|
2872
3102
|
"required": false,
|
|
2873
3103
|
"values": [
|
|
3104
|
+
"error",
|
|
2874
3105
|
"loading",
|
|
2875
|
-
"ready"
|
|
2876
|
-
"error"
|
|
3106
|
+
"ready"
|
|
2877
3107
|
],
|
|
2878
3108
|
"default": "ready",
|
|
2879
3109
|
"description": "\"loading\" shows skeleton rows, \"error\" the error message."
|
|
@@ -3002,14 +3232,16 @@
|
|
|
3002
3232
|
"name": "previewActions",
|
|
3003
3233
|
"type": "ReactNode | ((item: CommandMenuItem) => ReactNode)",
|
|
3004
3234
|
"required": false,
|
|
3005
|
-
"description": "Buttons or links pinned to the bottom of the detail pane. They stay put while the content above changes from row to row (only `renderPreview`'s content cross-fades); pass a function to read the previewed row. Hidden when a row has no preview."
|
|
3235
|
+
"description": "Buttons or links pinned to the bottom of the detail pane. They stay put while the content above changes from row to row (only `renderPreview`'s content cross-fades); pass a function to read the previewed row. Hidden when a row has no preview.",
|
|
3236
|
+
"since": "0.14.0"
|
|
3006
3237
|
},
|
|
3007
3238
|
{
|
|
3008
3239
|
"name": "previewEmpty",
|
|
3009
3240
|
"type": "ReactNode",
|
|
3010
3241
|
"required": false,
|
|
3011
3242
|
"default": "Nothing to preview for this result",
|
|
3012
|
-
"description": "Shown in the detail pane when the active row has nothing to preview (`renderPreview` returned nothing)."
|
|
3243
|
+
"description": "Shown in the detail pane when the active row has nothing to preview (`renderPreview` returned nothing).",
|
|
3244
|
+
"since": "0.14.0"
|
|
3013
3245
|
},
|
|
3014
3246
|
{
|
|
3015
3247
|
"name": "emptyTitle",
|
|
@@ -3115,19 +3347,22 @@
|
|
|
3115
3347
|
"name": "onReport",
|
|
3116
3348
|
"type": "(() => void)",
|
|
3117
3349
|
"required": false,
|
|
3118
|
-
"description": "A second, quieter action beside \"Try again\" in the error state (\"Report\")."
|
|
3350
|
+
"description": "A second, quieter action beside \"Try again\" in the error state (\"Report\").",
|
|
3351
|
+
"since": "0.14.0"
|
|
3119
3352
|
},
|
|
3120
3353
|
{
|
|
3121
3354
|
"name": "retryLabel",
|
|
3122
3355
|
"type": "ReactNode",
|
|
3123
3356
|
"required": false,
|
|
3124
|
-
"default": "Try again"
|
|
3357
|
+
"default": "Try again",
|
|
3358
|
+
"since": "0.14.0"
|
|
3125
3359
|
},
|
|
3126
3360
|
{
|
|
3127
3361
|
"name": "reportLabel",
|
|
3128
3362
|
"type": "ReactNode",
|
|
3129
3363
|
"required": false,
|
|
3130
|
-
"default": "Report"
|
|
3364
|
+
"default": "Report",
|
|
3365
|
+
"since": "0.14.0"
|
|
3131
3366
|
},
|
|
3132
3367
|
{
|
|
3133
3368
|
"name": "workspace",
|
|
@@ -3215,13 +3450,15 @@
|
|
|
3215
3450
|
"name": "stream",
|
|
3216
3451
|
"type": "boolean",
|
|
3217
3452
|
"required": false,
|
|
3218
|
-
"description": "Writes the answer in word by word, the way a chat reply arrives, and brings in the sources and the follow-up once it is written. Needs `children` to be a plain string; reduced motion shows it at once."
|
|
3453
|
+
"description": "Writes the answer in word by word, the way a chat reply arrives, and brings in the sources and the follow-up once it is written. Needs `children` to be a plain string; reduced motion shows it at once.",
|
|
3454
|
+
"since": "0.14.0"
|
|
3219
3455
|
},
|
|
3220
3456
|
{
|
|
3221
3457
|
"name": "onStreamEnd",
|
|
3222
3458
|
"type": "(() => void)",
|
|
3223
3459
|
"required": false,
|
|
3224
|
-
"description": "Called once when the text has been written (or at once when it is not streamed)."
|
|
3460
|
+
"description": "Called once when the text has been written (or at once when it is not streamed).",
|
|
3461
|
+
"since": "0.14.0"
|
|
3225
3462
|
},
|
|
3226
3463
|
{
|
|
3227
3464
|
"name": "sources",
|
|
@@ -4219,6 +4456,46 @@
|
|
|
4219
4456
|
"name": "trailingIcon",
|
|
4220
4457
|
"type": "ReactNode",
|
|
4221
4458
|
"required": false
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
"name": "variant",
|
|
4462
|
+
"type": "\"default\" | \"ai\"",
|
|
4463
|
+
"required": false,
|
|
4464
|
+
"values": [
|
|
4465
|
+
"default",
|
|
4466
|
+
"ai"
|
|
4467
|
+
],
|
|
4468
|
+
"default": "default",
|
|
4469
|
+
"description": "\"ai\" is the prompt box of an AI product: a pill with a 16px field, action slots and a light around the border. Defaults to \"default\".",
|
|
4470
|
+
"since": "0.14.0"
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
"name": "glow",
|
|
4474
|
+
"type": "\"off\" | \"once\" | \"pulse\" | \"focus\"",
|
|
4475
|
+
"required": false,
|
|
4476
|
+
"values": [
|
|
4477
|
+
"off",
|
|
4478
|
+
"once",
|
|
4479
|
+
"pulse",
|
|
4480
|
+
"focus"
|
|
4481
|
+
],
|
|
4482
|
+
"default": "once",
|
|
4483
|
+
"description": "variant=\"ai\": the light that sweeps clockwise around the border. \"once\" (default) sweeps one lap shortly after it appears and then stays still, focused or not; \"pulse\" sweeps every 2.5s while idle and once each time the field takes focus; \"focus\" sweeps only on focus; \"off\" draws none. Reduced motion draws none.",
|
|
4484
|
+
"since": "0.14.0"
|
|
4485
|
+
},
|
|
4486
|
+
{
|
|
4487
|
+
"name": "leading",
|
|
4488
|
+
"type": "ReactNode",
|
|
4489
|
+
"required": false,
|
|
4490
|
+
"description": "variant=\"ai\": actions before the field, such as an attach button. Interactive content is fine here (unlike `leadingIcon`).",
|
|
4491
|
+
"since": "0.14.0"
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"name": "trailing",
|
|
4495
|
+
"type": "ReactNode",
|
|
4496
|
+
"required": false,
|
|
4497
|
+
"description": "variant=\"ai\": actions after the field, such as a mic and a send button.",
|
|
4498
|
+
"since": "0.14.0"
|
|
4222
4499
|
}
|
|
4223
4500
|
],
|
|
4224
4501
|
"contract": {
|
|
@@ -4636,6 +4913,17 @@
|
|
|
4636
4913
|
"type": "boolean",
|
|
4637
4914
|
"required": false,
|
|
4638
4915
|
"description": "Squish slightly when pressed (buttons, toolbar pills)."
|
|
4916
|
+
},
|
|
4917
|
+
{
|
|
4918
|
+
"name": "reducedTransparency",
|
|
4919
|
+
"type": "\"respect\" | \"ignore\"",
|
|
4920
|
+
"required": false,
|
|
4921
|
+
"values": [
|
|
4922
|
+
"respect",
|
|
4923
|
+
"ignore"
|
|
4924
|
+
],
|
|
4925
|
+
"default": "respect",
|
|
4926
|
+
"description": "'respect' (default): with prefers-reduced-transparency the glass becomes a plain opaque surface. 'ignore': keep the full glass anyway. Only for a decorative showcase that means nothing without it; never for a surface that holds the user's content."
|
|
4639
4927
|
}
|
|
4640
4928
|
],
|
|
4641
4929
|
"contract": {
|
|
@@ -5002,13 +5290,13 @@
|
|
|
5002
5290
|
"description": "Returns the item located at the specified index."
|
|
5003
5291
|
},
|
|
5004
5292
|
{
|
|
5005
|
-
"name": "__@iterator@
|
|
5293
|
+
"name": "__@iterator@16335",
|
|
5006
5294
|
"type": "() => ArrayIterator<number>",
|
|
5007
5295
|
"required": true,
|
|
5008
5296
|
"description": "Iterator"
|
|
5009
5297
|
},
|
|
5010
5298
|
{
|
|
5011
|
-
"name": "__@unscopables@
|
|
5299
|
+
"name": "__@unscopables@16365",
|
|
5012
5300
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5013
5301
|
"required": true,
|
|
5014
5302
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -5584,13 +5872,13 @@
|
|
|
5584
5872
|
"description": "Returns the item located at the specified index."
|
|
5585
5873
|
},
|
|
5586
5874
|
{
|
|
5587
|
-
"name": "__@iterator@
|
|
5875
|
+
"name": "__@iterator@16335",
|
|
5588
5876
|
"type": "() => ArrayIterator<number>",
|
|
5589
5877
|
"required": true,
|
|
5590
5878
|
"description": "Iterator"
|
|
5591
5879
|
},
|
|
5592
5880
|
{
|
|
5593
|
-
"name": "__@unscopables@
|
|
5881
|
+
"name": "__@unscopables@16365",
|
|
5594
5882
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5595
5883
|
"required": true,
|
|
5596
5884
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -5974,13 +6262,13 @@
|
|
|
5974
6262
|
"description": "Returns the item located at the specified index."
|
|
5975
6263
|
},
|
|
5976
6264
|
{
|
|
5977
|
-
"name": "__@iterator@
|
|
6265
|
+
"name": "__@iterator@16335",
|
|
5978
6266
|
"type": "() => ArrayIterator<number>",
|
|
5979
6267
|
"required": true,
|
|
5980
6268
|
"description": "Iterator"
|
|
5981
6269
|
},
|
|
5982
6270
|
{
|
|
5983
|
-
"name": "__@unscopables@
|
|
6271
|
+
"name": "__@unscopables@16365",
|
|
5984
6272
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5985
6273
|
"required": true,
|
|
5986
6274
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6281,13 +6569,13 @@
|
|
|
6281
6569
|
"description": "Returns the item located at the specified index."
|
|
6282
6570
|
},
|
|
6283
6571
|
{
|
|
6284
|
-
"name": "__@iterator@
|
|
6572
|
+
"name": "__@iterator@16335",
|
|
6285
6573
|
"type": "() => ArrayIterator<number>",
|
|
6286
6574
|
"required": true,
|
|
6287
6575
|
"description": "Iterator"
|
|
6288
6576
|
},
|
|
6289
6577
|
{
|
|
6290
|
-
"name": "__@unscopables@
|
|
6578
|
+
"name": "__@unscopables@16365",
|
|
6291
6579
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
6292
6580
|
"required": true,
|
|
6293
6581
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6521,12 +6809,12 @@
|
|
|
6521
6809
|
},
|
|
6522
6810
|
{
|
|
6523
6811
|
"name": "content",
|
|
6524
|
-
"type": "\"
|
|
6812
|
+
"type": "\"file\" | \"image\" | \"text\"",
|
|
6525
6813
|
"required": false,
|
|
6526
6814
|
"values": [
|
|
6527
|
-
"text",
|
|
6528
6815
|
"file",
|
|
6529
|
-
"image"
|
|
6816
|
+
"image",
|
|
6817
|
+
"text"
|
|
6530
6818
|
],
|
|
6531
6819
|
"default": "text"
|
|
6532
6820
|
},
|
|
@@ -7680,66 +7968,203 @@
|
|
|
7680
7968
|
"example": "import { ProgressStat } from '@sakaniui/react';\n\n<ProgressStat label=\"Label\" value=\"Value\" progress={50} />"
|
|
7681
7969
|
},
|
|
7682
7970
|
{
|
|
7683
|
-
"name": "
|
|
7971
|
+
"name": "PromptComposer",
|
|
7684
7972
|
"kind": "component",
|
|
7685
|
-
"category": "
|
|
7973
|
+
"category": "AI",
|
|
7686
7974
|
"import": "@sakaniui/react",
|
|
7687
|
-
"summary": "
|
|
7975
|
+
"summary": "The prompt box of an AI product.",
|
|
7688
7976
|
"props": [
|
|
7689
7977
|
{
|
|
7690
|
-
"name": "
|
|
7691
|
-
"type": "
|
|
7692
|
-
"required": true
|
|
7693
|
-
},
|
|
7694
|
-
{
|
|
7695
|
-
"name": "onQuantityChange",
|
|
7696
|
-
"type": "((quantity: number) => void)",
|
|
7978
|
+
"name": "value",
|
|
7979
|
+
"type": "string",
|
|
7697
7980
|
"required": false
|
|
7698
7981
|
},
|
|
7699
7982
|
{
|
|
7700
|
-
"name": "
|
|
7701
|
-
"type": "
|
|
7983
|
+
"name": "defaultValue",
|
|
7984
|
+
"type": "string",
|
|
7702
7985
|
"required": false,
|
|
7703
|
-
"default":
|
|
7986
|
+
"default": ""
|
|
7704
7987
|
},
|
|
7705
7988
|
{
|
|
7706
|
-
"name": "
|
|
7707
|
-
"type": "
|
|
7989
|
+
"name": "onValueChange",
|
|
7990
|
+
"type": "((value: string) => void)",
|
|
7708
7991
|
"required": false
|
|
7709
7992
|
},
|
|
7710
7993
|
{
|
|
7711
|
-
"name": "
|
|
7994
|
+
"name": "placeholder",
|
|
7712
7995
|
"type": "string",
|
|
7713
7996
|
"required": false,
|
|
7714
|
-
"default": "
|
|
7715
|
-
"description": "Accessible group label, e.g. \"Quantity for Ceramic Pour-Over Mug\"."
|
|
7997
|
+
"default": "Ask anything, or type / for skills"
|
|
7716
7998
|
},
|
|
7717
7999
|
{
|
|
7718
|
-
"name": "
|
|
7719
|
-
"type": "
|
|
8000
|
+
"name": "status",
|
|
8001
|
+
"type": "\"idle\" | \"streaming\"",
|
|
8002
|
+
"required": false,
|
|
8003
|
+
"values": [
|
|
8004
|
+
"idle",
|
|
8005
|
+
"streaming"
|
|
8006
|
+
],
|
|
8007
|
+
"default": "idle",
|
|
8008
|
+
"description": "While `streaming`, send becomes Stop."
|
|
8009
|
+
},
|
|
8010
|
+
{
|
|
8011
|
+
"name": "onSubmit",
|
|
8012
|
+
"type": "((value: string) => void)",
|
|
8013
|
+
"required": false,
|
|
8014
|
+
"description": "Enter, or the send button. Receives the trimmed text."
|
|
8015
|
+
},
|
|
8016
|
+
{
|
|
8017
|
+
"name": "onStop",
|
|
8018
|
+
"type": "(() => void)",
|
|
7720
8019
|
"required": false
|
|
7721
|
-
}
|
|
7722
|
-
],
|
|
7723
|
-
"contract": {
|
|
7724
|
-
"requiredProps": [
|
|
7725
|
-
"quantity"
|
|
7726
|
-
],
|
|
7727
|
-
"requiresAccessibleName": false
|
|
7728
|
-
},
|
|
7729
|
-
"since": "0.3.0",
|
|
7730
|
-
"example": "import { QuantitySelector } from '@sakaniui/react';\n\n<QuantitySelector quantity={1} />"
|
|
7731
|
-
},
|
|
7732
|
-
{
|
|
7733
|
-
"name": "RadarChart",
|
|
7734
|
-
"kind": "component",
|
|
7735
|
-
"category": "Charts",
|
|
7736
|
-
"import": "@sakaniui/react",
|
|
7737
|
-
"summary": "Recharts wrapper styled with Sakani chart tokens.",
|
|
7738
|
-
"props": [
|
|
8020
|
+
},
|
|
7739
8021
|
{
|
|
7740
|
-
"name": "
|
|
7741
|
-
"type": "
|
|
7742
|
-
"required":
|
|
8022
|
+
"name": "onAttach",
|
|
8023
|
+
"type": "(() => void)",
|
|
8024
|
+
"required": false,
|
|
8025
|
+
"description": "The + button. Hidden when there is no handler and `attachments` is unset... pass `onAttach` to show it."
|
|
8026
|
+
},
|
|
8027
|
+
{
|
|
8028
|
+
"name": "onVoice",
|
|
8029
|
+
"type": "(() => void)",
|
|
8030
|
+
"required": false,
|
|
8031
|
+
"description": "The mic. Hidden when there is no handler."
|
|
8032
|
+
},
|
|
8033
|
+
{
|
|
8034
|
+
"name": "attachments",
|
|
8035
|
+
"type": "ReactNode",
|
|
8036
|
+
"required": false,
|
|
8037
|
+
"description": "Chips above the field, usually AttachmentChip."
|
|
8038
|
+
},
|
|
8039
|
+
{
|
|
8040
|
+
"name": "actions",
|
|
8041
|
+
"type": "ReactNode",
|
|
8042
|
+
"required": false,
|
|
8043
|
+
"description": "Extra controls on the left, after the +."
|
|
8044
|
+
},
|
|
8045
|
+
{
|
|
8046
|
+
"name": "maxRows",
|
|
8047
|
+
"type": "number",
|
|
8048
|
+
"required": false,
|
|
8049
|
+
"default": 8,
|
|
8050
|
+
"description": "The most lines the field grows to before it scrolls. Default 8."
|
|
8051
|
+
},
|
|
8052
|
+
{
|
|
8053
|
+
"name": "glow",
|
|
8054
|
+
"type": "\"off\" | \"once\" | \"pulse\" | \"focus\"",
|
|
8055
|
+
"required": false,
|
|
8056
|
+
"values": [
|
|
8057
|
+
"off",
|
|
8058
|
+
"once",
|
|
8059
|
+
"pulse",
|
|
8060
|
+
"focus"
|
|
8061
|
+
],
|
|
8062
|
+
"default": "once",
|
|
8063
|
+
"description": "The ember light round the border (Textarea variant=\"ai\"'s): `once` (default) one lap shortly after it appears, then still; `pulse` every 2.5s while idle; `focus` one lap each time it gains focus; `off` none."
|
|
8064
|
+
},
|
|
8065
|
+
{
|
|
8066
|
+
"name": "disabled",
|
|
8067
|
+
"type": "boolean",
|
|
8068
|
+
"required": false
|
|
8069
|
+
},
|
|
8070
|
+
{
|
|
8071
|
+
"name": "autoFocus",
|
|
8072
|
+
"type": "boolean",
|
|
8073
|
+
"required": false,
|
|
8074
|
+
"description": "Focus the field on mount."
|
|
8075
|
+
},
|
|
8076
|
+
{
|
|
8077
|
+
"name": "aria-label",
|
|
8078
|
+
"type": "string",
|
|
8079
|
+
"required": false,
|
|
8080
|
+
"default": "Message",
|
|
8081
|
+
"description": "Accessible name of the field."
|
|
8082
|
+
},
|
|
8083
|
+
{
|
|
8084
|
+
"name": "className",
|
|
8085
|
+
"type": "string",
|
|
8086
|
+
"required": false
|
|
8087
|
+
}
|
|
8088
|
+
],
|
|
8089
|
+
"contract": {
|
|
8090
|
+
"requiredProps": [],
|
|
8091
|
+
"requiresAccessibleName": false
|
|
8092
|
+
},
|
|
8093
|
+
"since": "0.15.0",
|
|
8094
|
+
"example": "import { PromptComposer } from '@sakaniui/react';\n\n<PromptComposer />",
|
|
8095
|
+
"aliases": [
|
|
8096
|
+
"prompt box",
|
|
8097
|
+
"ai input",
|
|
8098
|
+
"chat input",
|
|
8099
|
+
"message composer",
|
|
8100
|
+
"ask anything",
|
|
8101
|
+
"ai prompt input",
|
|
8102
|
+
"prompt input",
|
|
8103
|
+
"send stop button",
|
|
8104
|
+
"chatgpt input"
|
|
8105
|
+
]
|
|
8106
|
+
},
|
|
8107
|
+
{
|
|
8108
|
+
"name": "QuantitySelector",
|
|
8109
|
+
"kind": "component",
|
|
8110
|
+
"category": "E-commerce",
|
|
8111
|
+
"import": "@sakaniui/react",
|
|
8112
|
+
"summary": "A decrement / value / increment stepper for quantity, bounded by `min` and `max`.",
|
|
8113
|
+
"props": [
|
|
8114
|
+
{
|
|
8115
|
+
"name": "quantity",
|
|
8116
|
+
"type": "number",
|
|
8117
|
+
"required": true
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
"name": "onQuantityChange",
|
|
8121
|
+
"type": "((quantity: number) => void)",
|
|
8122
|
+
"required": false
|
|
8123
|
+
},
|
|
8124
|
+
{
|
|
8125
|
+
"name": "min",
|
|
8126
|
+
"type": "number",
|
|
8127
|
+
"required": false,
|
|
8128
|
+
"default": 1
|
|
8129
|
+
},
|
|
8130
|
+
{
|
|
8131
|
+
"name": "max",
|
|
8132
|
+
"type": "number",
|
|
8133
|
+
"required": false
|
|
8134
|
+
},
|
|
8135
|
+
{
|
|
8136
|
+
"name": "label",
|
|
8137
|
+
"type": "string",
|
|
8138
|
+
"required": false,
|
|
8139
|
+
"default": "Quantity",
|
|
8140
|
+
"description": "Accessible group label, e.g. \"Quantity for Ceramic Pour-Over Mug\"."
|
|
8141
|
+
},
|
|
8142
|
+
{
|
|
8143
|
+
"name": "className",
|
|
8144
|
+
"type": "string",
|
|
8145
|
+
"required": false
|
|
8146
|
+
}
|
|
8147
|
+
],
|
|
8148
|
+
"contract": {
|
|
8149
|
+
"requiredProps": [
|
|
8150
|
+
"quantity"
|
|
8151
|
+
],
|
|
8152
|
+
"requiresAccessibleName": false
|
|
8153
|
+
},
|
|
8154
|
+
"since": "0.3.0",
|
|
8155
|
+
"example": "import { QuantitySelector } from '@sakaniui/react';\n\n<QuantitySelector quantity={1} />"
|
|
8156
|
+
},
|
|
8157
|
+
{
|
|
8158
|
+
"name": "RadarChart",
|
|
8159
|
+
"kind": "component",
|
|
8160
|
+
"category": "Charts",
|
|
8161
|
+
"import": "@sakaniui/react",
|
|
8162
|
+
"summary": "Recharts wrapper styled with Sakani chart tokens.",
|
|
8163
|
+
"props": [
|
|
8164
|
+
{
|
|
8165
|
+
"name": "data",
|
|
8166
|
+
"type": "RadarDatum[]",
|
|
8167
|
+
"required": true,
|
|
7743
8168
|
"shape": {
|
|
7744
8169
|
"type": "RadarDatum",
|
|
7745
8170
|
"collection": "array",
|
|
@@ -7932,6 +8357,80 @@
|
|
|
7932
8357
|
"radio input"
|
|
7933
8358
|
]
|
|
7934
8359
|
},
|
|
8360
|
+
{
|
|
8361
|
+
"name": "ReasoningTrace",
|
|
8362
|
+
"kind": "component",
|
|
8363
|
+
"category": "AI",
|
|
8364
|
+
"import": "@sakaniui/react",
|
|
8365
|
+
"summary": "The thinking panel above a reply.",
|
|
8366
|
+
"props": [
|
|
8367
|
+
{
|
|
8368
|
+
"name": "status",
|
|
8369
|
+
"type": "\"done\" | \"streaming\"",
|
|
8370
|
+
"required": false,
|
|
8371
|
+
"values": [
|
|
8372
|
+
"done",
|
|
8373
|
+
"streaming"
|
|
8374
|
+
],
|
|
8375
|
+
"default": "done"
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"name": "elapsed",
|
|
8379
|
+
"type": "number",
|
|
8380
|
+
"required": false,
|
|
8381
|
+
"description": "Seconds. Streaming: the running time; done: the final time (\"Thought for 6s\")."
|
|
8382
|
+
},
|
|
8383
|
+
{
|
|
8384
|
+
"name": "summary",
|
|
8385
|
+
"type": "string",
|
|
8386
|
+
"required": false,
|
|
8387
|
+
"description": "One line about what it concluded, shown on the closed row."
|
|
8388
|
+
},
|
|
8389
|
+
{
|
|
8390
|
+
"name": "children",
|
|
8391
|
+
"type": "ReactNode",
|
|
8392
|
+
"required": false,
|
|
8393
|
+
"description": "The reasoning, one paragraph per child."
|
|
8394
|
+
},
|
|
8395
|
+
{
|
|
8396
|
+
"name": "open",
|
|
8397
|
+
"type": "boolean",
|
|
8398
|
+
"required": false
|
|
8399
|
+
},
|
|
8400
|
+
{
|
|
8401
|
+
"name": "defaultOpen",
|
|
8402
|
+
"type": "boolean",
|
|
8403
|
+
"required": false,
|
|
8404
|
+
"default": false
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"name": "onOpenChange",
|
|
8408
|
+
"type": "((open: boolean) => void)",
|
|
8409
|
+
"required": false
|
|
8410
|
+
},
|
|
8411
|
+
{
|
|
8412
|
+
"name": "className",
|
|
8413
|
+
"type": "string",
|
|
8414
|
+
"required": false
|
|
8415
|
+
}
|
|
8416
|
+
],
|
|
8417
|
+
"contract": {
|
|
8418
|
+
"requiredProps": [],
|
|
8419
|
+
"requiresAccessibleName": false
|
|
8420
|
+
},
|
|
8421
|
+
"since": "0.15.0",
|
|
8422
|
+
"example": "import { ReasoningTrace } from '@sakaniui/react';\n\n<ReasoningTrace />",
|
|
8423
|
+
"aliases": [
|
|
8424
|
+
"thinking",
|
|
8425
|
+
"thinking panel",
|
|
8426
|
+
"reasoning",
|
|
8427
|
+
"thought for",
|
|
8428
|
+
"chain of thought summary",
|
|
8429
|
+
"ai thinking",
|
|
8430
|
+
"show thinking",
|
|
8431
|
+
"reasoning panel"
|
|
8432
|
+
]
|
|
8433
|
+
},
|
|
7935
8434
|
{
|
|
7936
8435
|
"name": "RichSeparator",
|
|
7937
8436
|
"kind": "component",
|
|
@@ -8309,12 +8808,12 @@
|
|
|
8309
8808
|
"props": [
|
|
8310
8809
|
{
|
|
8311
8810
|
"name": "type",
|
|
8312
|
-
"type": "\"user\" | \"
|
|
8811
|
+
"type": "\"user\" | \"actions\" | \"user-menu\"",
|
|
8313
8812
|
"required": false,
|
|
8314
8813
|
"values": [
|
|
8315
8814
|
"user",
|
|
8316
|
-
"
|
|
8317
|
-
"
|
|
8815
|
+
"actions",
|
|
8816
|
+
"user-menu"
|
|
8318
8817
|
],
|
|
8319
8818
|
"default": "user"
|
|
8320
8819
|
},
|
|
@@ -9114,12 +9613,12 @@
|
|
|
9114
9613
|
},
|
|
9115
9614
|
{
|
|
9116
9615
|
"name": "trend",
|
|
9117
|
-
"type": "\"
|
|
9616
|
+
"type": "\"up\" | \"down\" | \"flat\"",
|
|
9118
9617
|
"required": false,
|
|
9119
9618
|
"values": [
|
|
9120
|
-
"flat",
|
|
9121
9619
|
"up",
|
|
9122
|
-
"down"
|
|
9620
|
+
"down",
|
|
9621
|
+
"flat"
|
|
9123
9622
|
],
|
|
9124
9623
|
"default": "up"
|
|
9125
9624
|
},
|
|
@@ -9528,6 +10027,67 @@
|
|
|
9528
10027
|
"since": "0.3.0",
|
|
9529
10028
|
"example": "import { SubFeature } from '@sakaniui/react';\n\n<SubFeature icon=\"Icon\" title=\"Title\" description=\"Description\" />"
|
|
9530
10029
|
},
|
|
10030
|
+
{
|
|
10031
|
+
"name": "SuggestionChip",
|
|
10032
|
+
"kind": "component",
|
|
10033
|
+
"category": "AI",
|
|
10034
|
+
"import": "@sakaniui/react",
|
|
10035
|
+
"summary": "A suggested prompt.",
|
|
10036
|
+
"props": [
|
|
10037
|
+
{
|
|
10038
|
+
"name": "variant",
|
|
10039
|
+
"type": "\"starter\" | \"follow-up\"",
|
|
10040
|
+
"required": false,
|
|
10041
|
+
"values": [
|
|
10042
|
+
"starter",
|
|
10043
|
+
"follow-up"
|
|
10044
|
+
],
|
|
10045
|
+
"default": "follow-up"
|
|
10046
|
+
},
|
|
10047
|
+
{
|
|
10048
|
+
"name": "label",
|
|
10049
|
+
"type": "string",
|
|
10050
|
+
"required": true,
|
|
10051
|
+
"description": "The prompt. For a starter it is the title."
|
|
10052
|
+
},
|
|
10053
|
+
{
|
|
10054
|
+
"name": "hint",
|
|
10055
|
+
"type": "string",
|
|
10056
|
+
"required": false,
|
|
10057
|
+
"description": "Starter only: a one-line hint under the title."
|
|
10058
|
+
},
|
|
10059
|
+
{
|
|
10060
|
+
"name": "icon",
|
|
10061
|
+
"type": "IconComponent",
|
|
10062
|
+
"required": false,
|
|
10063
|
+
"description": "Starter: the icon in the tile. Follow-up: defaults to an arrow."
|
|
10064
|
+
},
|
|
10065
|
+
{
|
|
10066
|
+
"name": "index",
|
|
10067
|
+
"type": "number",
|
|
10068
|
+
"required": false,
|
|
10069
|
+
"default": 0,
|
|
10070
|
+
"description": "Starter: its place in the row, so each rises 50ms after the one before."
|
|
10071
|
+
}
|
|
10072
|
+
],
|
|
10073
|
+
"contract": {
|
|
10074
|
+
"requiredProps": [
|
|
10075
|
+
"label"
|
|
10076
|
+
],
|
|
10077
|
+
"requiresAccessibleName": false
|
|
10078
|
+
},
|
|
10079
|
+
"since": "0.15.0",
|
|
10080
|
+
"example": "import { SuggestionChip } from '@sakaniui/react';\n\n<SuggestionChip label=\"Label\" />",
|
|
10081
|
+
"aliases": [
|
|
10082
|
+
"suggested prompt",
|
|
10083
|
+
"prompt suggestion",
|
|
10084
|
+
"starter prompt",
|
|
10085
|
+
"follow-up question",
|
|
10086
|
+
"follow up chip",
|
|
10087
|
+
"conversation starter",
|
|
10088
|
+
"quick reply"
|
|
10089
|
+
]
|
|
10090
|
+
},
|
|
9531
10091
|
{
|
|
9532
10092
|
"name": "Switch",
|
|
9533
10093
|
"kind": "component",
|
|
@@ -9955,6 +10515,54 @@
|
|
|
9955
10515
|
"name": "error",
|
|
9956
10516
|
"type": "string",
|
|
9957
10517
|
"required": false
|
|
10518
|
+
},
|
|
10519
|
+
{
|
|
10520
|
+
"name": "variant",
|
|
10521
|
+
"type": "\"default\" | \"ai\"",
|
|
10522
|
+
"required": false,
|
|
10523
|
+
"values": [
|
|
10524
|
+
"default",
|
|
10525
|
+
"ai"
|
|
10526
|
+
],
|
|
10527
|
+
"default": "default",
|
|
10528
|
+
"description": "\"ai\" is the prompt box of an AI product: a 16px-radius box, a 16px field that grows with the text, an actions row and a light around the border. Defaults to \"default\".",
|
|
10529
|
+
"since": "0.14.0"
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
"name": "glow",
|
|
10533
|
+
"type": "\"off\" | \"once\" | \"pulse\" | \"focus\"",
|
|
10534
|
+
"required": false,
|
|
10535
|
+
"values": [
|
|
10536
|
+
"off",
|
|
10537
|
+
"once",
|
|
10538
|
+
"pulse",
|
|
10539
|
+
"focus"
|
|
10540
|
+
],
|
|
10541
|
+
"default": "once",
|
|
10542
|
+
"description": "variant=\"ai\": the light that sweeps clockwise around the border. \"once\" (default) sweeps one lap shortly after it appears and then stays still, focused or not; \"pulse\" sweeps every 2.5s while idle and once each time the field takes focus; \"focus\" sweeps only on focus; \"off\" draws none. Reduced motion draws none.",
|
|
10543
|
+
"since": "0.14.0"
|
|
10544
|
+
},
|
|
10545
|
+
{
|
|
10546
|
+
"name": "leading",
|
|
10547
|
+
"type": "ReactNode",
|
|
10548
|
+
"required": false,
|
|
10549
|
+
"description": "variant=\"ai\": actions on the left of the row under the field, such as an attach button.",
|
|
10550
|
+
"since": "0.14.0"
|
|
10551
|
+
},
|
|
10552
|
+
{
|
|
10553
|
+
"name": "trailing",
|
|
10554
|
+
"type": "ReactNode",
|
|
10555
|
+
"required": false,
|
|
10556
|
+
"description": "variant=\"ai\": actions on the right of that row, such as a mic and a send button.",
|
|
10557
|
+
"since": "0.14.0"
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
"name": "maxRows",
|
|
10561
|
+
"type": "number",
|
|
10562
|
+
"required": false,
|
|
10563
|
+
"default": 8,
|
|
10564
|
+
"description": "variant=\"ai\": the most lines the field grows to before it scrolls. Defaults to 8.",
|
|
10565
|
+
"since": "0.14.0"
|
|
9958
10566
|
}
|
|
9959
10567
|
],
|
|
9960
10568
|
"contract": {
|
|
@@ -9969,6 +10577,33 @@
|
|
|
9969
10577
|
"comment box"
|
|
9970
10578
|
]
|
|
9971
10579
|
},
|
|
10580
|
+
{
|
|
10581
|
+
"name": "ThinkingLoader",
|
|
10582
|
+
"kind": "component",
|
|
10583
|
+
"category": "AI",
|
|
10584
|
+
"import": "@sakaniui/react",
|
|
10585
|
+
"summary": "The status pill of an AI that is working: a ray spinner and a label whose text shimmers, in a 1px-bordered full-radius pill.",
|
|
10586
|
+
"props": [
|
|
10587
|
+
{
|
|
10588
|
+
"name": "label",
|
|
10589
|
+
"type": "string",
|
|
10590
|
+
"required": false,
|
|
10591
|
+
"default": "Thinking",
|
|
10592
|
+
"description": "What it is doing. Default \"Thinking\"."
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"name": "className",
|
|
10596
|
+
"type": "string",
|
|
10597
|
+
"required": false
|
|
10598
|
+
}
|
|
10599
|
+
],
|
|
10600
|
+
"contract": {
|
|
10601
|
+
"requiredProps": [],
|
|
10602
|
+
"requiresAccessibleName": false
|
|
10603
|
+
},
|
|
10604
|
+
"since": "0.15.0",
|
|
10605
|
+
"example": "import { ThinkingLoader } from '@sakaniui/react';\n\n<ThinkingLoader />"
|
|
10606
|
+
},
|
|
9972
10607
|
{
|
|
9973
10608
|
"name": "Ticker",
|
|
9974
10609
|
"kind": "component",
|
|
@@ -10209,6 +10844,94 @@
|
|
|
10209
10844
|
"toast manager"
|
|
10210
10845
|
]
|
|
10211
10846
|
},
|
|
10847
|
+
{
|
|
10848
|
+
"name": "ToolCall",
|
|
10849
|
+
"kind": "component",
|
|
10850
|
+
"category": "AI",
|
|
10851
|
+
"import": "@sakaniui/react",
|
|
10852
|
+
"summary": "The row an agent leaves when it calls a tool.",
|
|
10853
|
+
"props": [
|
|
10854
|
+
{
|
|
10855
|
+
"name": "status",
|
|
10856
|
+
"type": "\"error\" | \"done\" | \"running\"",
|
|
10857
|
+
"required": false,
|
|
10858
|
+
"values": [
|
|
10859
|
+
"error",
|
|
10860
|
+
"done",
|
|
10861
|
+
"running"
|
|
10862
|
+
],
|
|
10863
|
+
"default": "done"
|
|
10864
|
+
},
|
|
10865
|
+
{
|
|
10866
|
+
"name": "name",
|
|
10867
|
+
"type": "string",
|
|
10868
|
+
"required": true,
|
|
10869
|
+
"description": "The tool's name, in code: \"search_crm\"."
|
|
10870
|
+
},
|
|
10871
|
+
{
|
|
10872
|
+
"name": "args",
|
|
10873
|
+
"type": "string",
|
|
10874
|
+
"required": false,
|
|
10875
|
+
"description": "The arguments, in code, muted: `(query=\"Acme Corp\")`."
|
|
10876
|
+
},
|
|
10877
|
+
{
|
|
10878
|
+
"name": "duration",
|
|
10879
|
+
"type": "string",
|
|
10880
|
+
"required": false,
|
|
10881
|
+
"description": "\"1.2s\"."
|
|
10882
|
+
},
|
|
10883
|
+
{
|
|
10884
|
+
"name": "input",
|
|
10885
|
+
"type": "unknown",
|
|
10886
|
+
"required": false,
|
|
10887
|
+
"description": "The call's input: a string, or any value (shown as JSON)."
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
"name": "output",
|
|
10891
|
+
"type": "unknown",
|
|
10892
|
+
"required": false,
|
|
10893
|
+
"description": "The call's output: a string, or any value (shown as JSON)."
|
|
10894
|
+
},
|
|
10895
|
+
{
|
|
10896
|
+
"name": "open",
|
|
10897
|
+
"type": "boolean",
|
|
10898
|
+
"required": false
|
|
10899
|
+
},
|
|
10900
|
+
{
|
|
10901
|
+
"name": "defaultOpen",
|
|
10902
|
+
"type": "boolean",
|
|
10903
|
+
"required": false,
|
|
10904
|
+
"default": false
|
|
10905
|
+
},
|
|
10906
|
+
{
|
|
10907
|
+
"name": "onOpenChange",
|
|
10908
|
+
"type": "((open: boolean) => void)",
|
|
10909
|
+
"required": false
|
|
10910
|
+
},
|
|
10911
|
+
{
|
|
10912
|
+
"name": "className",
|
|
10913
|
+
"type": "string",
|
|
10914
|
+
"required": false
|
|
10915
|
+
}
|
|
10916
|
+
],
|
|
10917
|
+
"contract": {
|
|
10918
|
+
"requiredProps": [
|
|
10919
|
+
"name"
|
|
10920
|
+
],
|
|
10921
|
+
"requiresAccessibleName": false
|
|
10922
|
+
},
|
|
10923
|
+
"since": "0.15.0",
|
|
10924
|
+
"example": "import { ToolCall } from '@sakaniui/react';\n\n<ToolCall name=\"Name\" />",
|
|
10925
|
+
"aliases": [
|
|
10926
|
+
"tool use",
|
|
10927
|
+
"function call",
|
|
10928
|
+
"agent tool call",
|
|
10929
|
+
"mcp tool call",
|
|
10930
|
+
"tool result",
|
|
10931
|
+
"tool input output",
|
|
10932
|
+
"api call row"
|
|
10933
|
+
]
|
|
10934
|
+
},
|
|
10212
10935
|
{
|
|
10213
10936
|
"name": "Tooltip",
|
|
10214
10937
|
"kind": "component",
|
|
@@ -10768,6 +11491,83 @@
|
|
|
10768
11491
|
"since": "0.3.0",
|
|
10769
11492
|
"example": "import { AddCardFormBlock } from '@sakaniui/react/blocks';\n\n<AddCardFormBlock />"
|
|
10770
11493
|
},
|
|
11494
|
+
{
|
|
11495
|
+
"name": "AiChatBlock",
|
|
11496
|
+
"kind": "block",
|
|
11497
|
+
"category": "Blocks/AI",
|
|
11498
|
+
"import": "@sakaniui/react/blocks",
|
|
11499
|
+
"summary": "Ai Chat block (AI): a composition example. Copy it into your project and edit it.",
|
|
11500
|
+
"props": [
|
|
11501
|
+
{
|
|
11502
|
+
"name": "className",
|
|
11503
|
+
"type": "string",
|
|
11504
|
+
"required": false
|
|
11505
|
+
}
|
|
11506
|
+
],
|
|
11507
|
+
"contract": {
|
|
11508
|
+
"requiredProps": [],
|
|
11509
|
+
"requiresAccessibleName": false
|
|
11510
|
+
},
|
|
11511
|
+
"since": "0.15.0",
|
|
11512
|
+
"example": "import { AiChatBlock } from '@sakaniui/react/blocks';\n\n<AiChatBlock />",
|
|
11513
|
+
"aliases": [
|
|
11514
|
+
"ai chat",
|
|
11515
|
+
"chatgpt layout",
|
|
11516
|
+
"ai assistant screen",
|
|
11517
|
+
"chat with ai",
|
|
11518
|
+
"ai conversation page",
|
|
11519
|
+
"copilot chat",
|
|
11520
|
+
"llm chat ui"
|
|
11521
|
+
]
|
|
11522
|
+
},
|
|
11523
|
+
{
|
|
11524
|
+
"name": "AiWelcomeBlock",
|
|
11525
|
+
"kind": "block",
|
|
11526
|
+
"category": "Blocks/AI",
|
|
11527
|
+
"import": "@sakaniui/react/blocks",
|
|
11528
|
+
"summary": "Ai Welcome block (AI): a composition example. Copy it into your project and edit it.",
|
|
11529
|
+
"props": [
|
|
11530
|
+
{
|
|
11531
|
+
"name": "greeting",
|
|
11532
|
+
"type": "string",
|
|
11533
|
+
"required": false,
|
|
11534
|
+
"default": "Good afternoon",
|
|
11535
|
+
"description": "\"Good afternoon\"."
|
|
11536
|
+
},
|
|
11537
|
+
{
|
|
11538
|
+
"name": "name",
|
|
11539
|
+
"type": "string",
|
|
11540
|
+
"required": false,
|
|
11541
|
+
"default": "Samuel",
|
|
11542
|
+
"description": "Who it greets."
|
|
11543
|
+
},
|
|
11544
|
+
{
|
|
11545
|
+
"name": "onSubmit",
|
|
11546
|
+
"type": "((text: string) => void)",
|
|
11547
|
+
"required": false,
|
|
11548
|
+
"description": "Called with the prompt when the user sends."
|
|
11549
|
+
},
|
|
11550
|
+
{
|
|
11551
|
+
"name": "className",
|
|
11552
|
+
"type": "string",
|
|
11553
|
+
"required": false
|
|
11554
|
+
}
|
|
11555
|
+
],
|
|
11556
|
+
"contract": {
|
|
11557
|
+
"requiredProps": [],
|
|
11558
|
+
"requiresAccessibleName": false
|
|
11559
|
+
},
|
|
11560
|
+
"since": "0.15.0",
|
|
11561
|
+
"example": "import { AiWelcomeBlock } from '@sakaniui/react/blocks';\n\n<AiWelcomeBlock />",
|
|
11562
|
+
"aliases": [
|
|
11563
|
+
"ai welcome",
|
|
11564
|
+
"ai home",
|
|
11565
|
+
"ai empty state",
|
|
11566
|
+
"ask anything screen",
|
|
11567
|
+
"ai landing screen",
|
|
11568
|
+
"good afternoon greeting"
|
|
11569
|
+
]
|
|
11570
|
+
},
|
|
10771
11571
|
{
|
|
10772
11572
|
"name": "AppHeaderBlock",
|
|
10773
11573
|
"kind": "block",
|
|
@@ -11608,13 +12408,13 @@
|
|
|
11608
12408
|
"props": [
|
|
11609
12409
|
{
|
|
11610
12410
|
"name": "state",
|
|
11611
|
-
"type": "\"default\" | \"
|
|
12411
|
+
"type": "\"default\" | \"error\" | \"empty\" | \"loading\" | \"filtered\" | \"bulk\"",
|
|
11612
12412
|
"required": false,
|
|
11613
12413
|
"values": [
|
|
11614
12414
|
"default",
|
|
12415
|
+
"error",
|
|
11615
12416
|
"empty",
|
|
11616
12417
|
"loading",
|
|
11617
|
-
"error",
|
|
11618
12418
|
"filtered",
|
|
11619
12419
|
"bulk"
|
|
11620
12420
|
],
|
|
@@ -13526,22 +14326,22 @@
|
|
|
13526
14326
|
"description": "Unique key for the grid -- defaults to `name` if omitted."
|
|
13527
14327
|
},
|
|
13528
14328
|
{
|
|
13529
|
-
"name": "
|
|
14329
|
+
"name": "image",
|
|
13530
14330
|
"type": "string",
|
|
13531
14331
|
"required": true
|
|
13532
14332
|
},
|
|
13533
14333
|
{
|
|
13534
|
-
"name": "
|
|
14334
|
+
"name": "location",
|
|
13535
14335
|
"type": "string",
|
|
13536
14336
|
"required": true
|
|
13537
14337
|
},
|
|
13538
14338
|
{
|
|
13539
|
-
"name": "
|
|
14339
|
+
"name": "name",
|
|
13540
14340
|
"type": "string",
|
|
13541
14341
|
"required": true
|
|
13542
14342
|
},
|
|
13543
14343
|
{
|
|
13544
|
-
"name": "
|
|
14344
|
+
"name": "role",
|
|
13545
14345
|
"type": "string",
|
|
13546
14346
|
"required": true
|
|
13547
14347
|
},
|