@agentaily/design-system 0.1.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/DESIGN.md +112 -0
- package/README.md +81 -0
- package/dist/assets/logo/agentaily-mark-black.svg +5 -0
- package/dist/assets/logo/agentaily-mark-white.svg +5 -0
- package/dist/components/ai/Attachments.d.ts +23 -0
- package/dist/components/ai/Attachments.js +96 -0
- package/dist/components/ai/Attachments.js.map +1 -0
- package/dist/components/ai/Checkpoint.d.ts +3 -0
- package/dist/components/ai/Checkpoint.js +38 -0
- package/dist/components/ai/Checkpoint.js.map +1 -0
- package/dist/components/ai/Confirmation.d.ts +3 -0
- package/dist/components/ai/Confirmation.js +54 -0
- package/dist/components/ai/Confirmation.js.map +1 -0
- package/dist/components/ai/Context.d.ts +3 -0
- package/dist/components/ai/Context.js +63 -0
- package/dist/components/ai/Context.js.map +1 -0
- package/dist/components/ai/Conversation.d.ts +3 -0
- package/dist/components/ai/Conversation.js +53 -0
- package/dist/components/ai/Conversation.js.map +1 -0
- package/dist/components/ai/ModelSelector.d.ts +19 -0
- package/dist/components/ai/ModelSelector.js +92 -0
- package/dist/components/ai/ModelSelector.js.map +1 -0
- package/dist/components/ai/Plan.d.ts +4 -0
- package/dist/components/ai/Plan.js +49 -0
- package/dist/components/ai/Plan.js.map +1 -0
- package/dist/components/ai/Queue.d.ts +4 -0
- package/dist/components/ai/Queue.js +45 -0
- package/dist/components/ai/Queue.js.map +1 -0
- package/dist/components/ai/Reasoning.d.ts +17 -0
- package/dist/components/ai/Reasoning.js +60 -0
- package/dist/components/ai/Reasoning.js.map +1 -0
- package/dist/components/ai/Shimmer.d.ts +10 -0
- package/dist/components/ai/Shimmer.js +28 -0
- package/dist/components/ai/Shimmer.js.map +1 -0
- package/dist/components/ai/Sources.d.ts +23 -0
- package/dist/components/ai/Sources.js +65 -0
- package/dist/components/ai/Sources.js.map +1 -0
- package/dist/components/ai/Suggestion.d.ts +19 -0
- package/dist/components/ai/Suggestion.js +40 -0
- package/dist/components/ai/Suggestion.js.map +1 -0
- package/dist/components/ai/Task.d.ts +4 -0
- package/dist/components/ai/Task.js +48 -0
- package/dist/components/ai/Task.js.map +1 -0
- package/dist/components/ai/ToolCall.d.ts +16 -0
- package/dist/components/ai/ToolCall.js +70 -0
- package/dist/components/ai/ToolCall.js.map +1 -0
- package/dist/components/buttons/Button.d.ts +17 -0
- package/dist/components/buttons/Button.js +60 -0
- package/dist/components/buttons/Button.js.map +1 -0
- package/dist/components/buttons/ButtonGroup.d.ts +3 -0
- package/dist/components/buttons/ButtonGroup.js +27 -0
- package/dist/components/buttons/ButtonGroup.js.map +1 -0
- package/dist/components/buttons/IconButton.d.ts +16 -0
- package/dist/components/buttons/IconButton.js +49 -0
- package/dist/components/buttons/IconButton.js.map +1 -0
- package/dist/components/chat/CodeBlock.d.ts +9 -0
- package/dist/components/chat/CodeBlock.js +62 -0
- package/dist/components/chat/CodeBlock.js.map +1 -0
- package/dist/components/chat/Composer.d.ts +17 -0
- package/dist/components/chat/Composer.js +123 -0
- package/dist/components/chat/Composer.js.map +1 -0
- package/dist/components/chat/Message.d.ts +16 -0
- package/dist/components/chat/Message.js +63 -0
- package/dist/components/chat/Message.js.map +1 -0
- package/dist/components/code/Agent.d.ts +3 -0
- package/dist/components/code/Agent.js +44 -0
- package/dist/components/code/Agent.js.map +1 -0
- package/dist/components/code/Artifact.d.ts +3 -0
- package/dist/components/code/Artifact.js +50 -0
- package/dist/components/code/Artifact.js.map +1 -0
- package/dist/components/code/Commit.d.ts +3 -0
- package/dist/components/code/Commit.js +55 -0
- package/dist/components/code/Commit.js.map +1 -0
- package/dist/components/code/EnvironmentVariables.d.ts +4 -0
- package/dist/components/code/EnvironmentVariables.js +49 -0
- package/dist/components/code/EnvironmentVariables.js.map +1 -0
- package/dist/components/code/FileTree.d.ts +4 -0
- package/dist/components/code/FileTree.js +59 -0
- package/dist/components/code/FileTree.js.map +1 -0
- package/dist/components/code/JSXPreview.d.ts +3 -0
- package/dist/components/code/JSXPreview.js +35 -0
- package/dist/components/code/JSXPreview.js.map +1 -0
- package/dist/components/code/PackageInfo.d.ts +3 -0
- package/dist/components/code/PackageInfo.js +47 -0
- package/dist/components/code/PackageInfo.js.map +1 -0
- package/dist/components/code/Sandbox.d.ts +3 -0
- package/dist/components/code/Sandbox.js +43 -0
- package/dist/components/code/Sandbox.js.map +1 -0
- package/dist/components/code/SchemaDisplay.d.ts +4 -0
- package/dist/components/code/SchemaDisplay.js +43 -0
- package/dist/components/code/SchemaDisplay.js.map +1 -0
- package/dist/components/code/Snippet.d.ts +3 -0
- package/dist/components/code/Snippet.js +36 -0
- package/dist/components/code/Snippet.js.map +1 -0
- package/dist/components/code/StackTrace.d.ts +4 -0
- package/dist/components/code/StackTrace.js +46 -0
- package/dist/components/code/StackTrace.js.map +1 -0
- package/dist/components/code/Terminal.d.ts +4 -0
- package/dist/components/code/Terminal.js +73 -0
- package/dist/components/code/Terminal.js.map +1 -0
- package/dist/components/code/TestResults.d.ts +4 -0
- package/dist/components/code/TestResults.js +61 -0
- package/dist/components/code/TestResults.js.map +1 -0
- package/dist/components/code/WebPreview.d.ts +3 -0
- package/dist/components/code/WebPreview.js +48 -0
- package/dist/components/code/WebPreview.js.map +1 -0
- package/dist/components/display/Accordion.d.ts +12 -0
- package/dist/components/display/Accordion.js +60 -0
- package/dist/components/display/Accordion.js.map +1 -0
- package/dist/components/display/Avatar.d.ts +14 -0
- package/dist/components/display/Avatar.js +41 -0
- package/dist/components/display/Avatar.js.map +1 -0
- package/dist/components/display/Badge.d.ts +11 -0
- package/dist/components/display/Badge.js +40 -0
- package/dist/components/display/Badge.js.map +1 -0
- package/dist/components/display/Breadcrumb.d.ts +11 -0
- package/dist/components/display/Breadcrumb.js +32 -0
- package/dist/components/display/Breadcrumb.js.map +1 -0
- package/dist/components/display/Card.d.ts +14 -0
- package/dist/components/display/Card.js +61 -0
- package/dist/components/display/Card.js.map +1 -0
- package/dist/components/display/Carousel.d.ts +3 -0
- package/dist/components/display/Carousel.js +40 -0
- package/dist/components/display/Carousel.js.map +1 -0
- package/dist/components/display/Chart.d.ts +7 -0
- package/dist/components/display/Chart.js +68 -0
- package/dist/components/display/Chart.js.map +1 -0
- package/dist/components/display/Collapsible.d.ts +3 -0
- package/dist/components/display/Collapsible.js +36 -0
- package/dist/components/display/Collapsible.js.map +1 -0
- package/dist/components/display/DataTable.d.ts +4 -0
- package/dist/components/display/DataTable.js +72 -0
- package/dist/components/display/DataTable.js.map +1 -0
- package/dist/components/display/Empty.d.ts +14 -0
- package/dist/components/display/Empty.js +36 -0
- package/dist/components/display/Empty.js.map +1 -0
- package/dist/components/display/Item.d.ts +3 -0
- package/dist/components/display/Item.js +36 -0
- package/dist/components/display/Item.js.map +1 -0
- package/dist/components/display/Kbd.d.ts +7 -0
- package/dist/components/display/Kbd.js +27 -0
- package/dist/components/display/Kbd.js.map +1 -0
- package/dist/components/display/Pagination.d.ts +11 -0
- package/dist/components/display/Pagination.js +55 -0
- package/dist/components/display/Pagination.js.map +1 -0
- package/dist/components/display/Progress.d.ts +14 -0
- package/dist/components/display/Progress.js +43 -0
- package/dist/components/display/Progress.js.map +1 -0
- package/dist/components/display/Separator.d.ts +10 -0
- package/dist/components/display/Separator.js +33 -0
- package/dist/components/display/Separator.js.map +1 -0
- package/dist/components/display/Skeleton.d.ts +12 -0
- package/dist/components/display/Skeleton.js +43 -0
- package/dist/components/display/Skeleton.js.map +1 -0
- package/dist/components/display/Table.d.ts +20 -0
- package/dist/components/display/Table.js +42 -0
- package/dist/components/display/Table.js.map +1 -0
- package/dist/components/display/Tabs.d.ts +11 -0
- package/dist/components/display/Tabs.js +47 -0
- package/dist/components/display/Tabs.js.map +1 -0
- package/dist/components/display/Typography.d.ts +5 -0
- package/dist/components/display/Typography.js +45 -0
- package/dist/components/display/Typography.js.map +1 -0
- package/dist/components/feedback/Alert.d.ts +12 -0
- package/dist/components/feedback/Alert.js +41 -0
- package/dist/components/feedback/Alert.js.map +1 -0
- package/dist/components/feedback/Dialog.d.ts +17 -0
- package/dist/components/feedback/Dialog.js +90 -0
- package/dist/components/feedback/Dialog.js.map +1 -0
- package/dist/components/feedback/Spinner.d.ts +8 -0
- package/dist/components/feedback/Spinner.js +39 -0
- package/dist/components/feedback/Spinner.js.map +1 -0
- package/dist/components/feedback/Toast.d.ts +12 -0
- package/dist/components/feedback/Toast.js +50 -0
- package/dist/components/feedback/Toast.js.map +1 -0
- package/dist/components/feedback/Tooltip.d.ts +11 -0
- package/dist/components/feedback/Tooltip.js +34 -0
- package/dist/components/feedback/Tooltip.js.map +1 -0
- package/dist/components/inputs/Calendar.d.ts +3 -0
- package/dist/components/inputs/Calendar.js +81 -0
- package/dist/components/inputs/Calendar.js.map +1 -0
- package/dist/components/inputs/Checkbox.d.ts +10 -0
- package/dist/components/inputs/Checkbox.js +42 -0
- package/dist/components/inputs/Checkbox.js.map +1 -0
- package/dist/components/inputs/Combobox.d.ts +3 -0
- package/dist/components/inputs/Combobox.js +94 -0
- package/dist/components/inputs/Combobox.js.map +1 -0
- package/dist/components/inputs/DatePicker.d.ts +3 -0
- package/dist/components/inputs/DatePicker.js +56 -0
- package/dist/components/inputs/DatePicker.js.map +1 -0
- package/dist/components/inputs/Field.d.ts +5 -0
- package/dist/components/inputs/Field.js +44 -0
- package/dist/components/inputs/Field.js.map +1 -0
- package/dist/components/inputs/Input.d.ts +19 -0
- package/dist/components/inputs/Input.js +72 -0
- package/dist/components/inputs/Input.js.map +1 -0
- package/dist/components/inputs/InputGroup.d.ts +3 -0
- package/dist/components/inputs/InputGroup.js +32 -0
- package/dist/components/inputs/InputGroup.js.map +1 -0
- package/dist/components/inputs/InputOTP.d.ts +3 -0
- package/dist/components/inputs/InputOTP.js +49 -0
- package/dist/components/inputs/InputOTP.js.map +1 -0
- package/dist/components/inputs/Label.d.ts +13 -0
- package/dist/components/inputs/Label.js +33 -0
- package/dist/components/inputs/Label.js.map +1 -0
- package/dist/components/inputs/RadioGroup.d.ts +15 -0
- package/dist/components/inputs/RadioGroup.js +58 -0
- package/dist/components/inputs/RadioGroup.js.map +1 -0
- package/dist/components/inputs/Select.d.ts +12 -0
- package/dist/components/inputs/Select.js +49 -0
- package/dist/components/inputs/Select.js.map +1 -0
- package/dist/components/inputs/Slider.d.ts +16 -0
- package/dist/components/inputs/Slider.js +62 -0
- package/dist/components/inputs/Slider.js.map +1 -0
- package/dist/components/inputs/Switch.d.ts +11 -0
- package/dist/components/inputs/Switch.js +39 -0
- package/dist/components/inputs/Switch.js.map +1 -0
- package/dist/components/inputs/Textarea.d.ts +13 -0
- package/dist/components/inputs/Textarea.js +41 -0
- package/dist/components/inputs/Textarea.js.map +1 -0
- package/dist/components/inputs/Toggle.d.ts +19 -0
- package/dist/components/inputs/Toggle.js +57 -0
- package/dist/components/inputs/Toggle.js.map +1 -0
- package/dist/components/layout/AspectRatio.d.ts +3 -0
- package/dist/components/layout/AspectRatio.js +20 -0
- package/dist/components/layout/AspectRatio.js.map +1 -0
- package/dist/components/layout/Resizable.d.ts +3 -0
- package/dist/components/layout/Resizable.js +58 -0
- package/dist/components/layout/Resizable.js.map +1 -0
- package/dist/components/layout/ScrollArea.d.ts +3 -0
- package/dist/components/layout/ScrollArea.js +24 -0
- package/dist/components/layout/ScrollArea.js.map +1 -0
- package/dist/components/layout/Sidebar.d.ts +5 -0
- package/dist/components/layout/Sidebar.js +55 -0
- package/dist/components/layout/Sidebar.js.map +1 -0
- package/dist/components/overlay/AlertDialog.d.ts +3 -0
- package/dist/components/overlay/AlertDialog.js +51 -0
- package/dist/components/overlay/AlertDialog.js.map +1 -0
- package/dist/components/overlay/Command.d.ts +22 -0
- package/dist/components/overlay/Command.js +123 -0
- package/dist/components/overlay/Command.js.map +1 -0
- package/dist/components/overlay/ContextMenu.d.ts +4 -0
- package/dist/components/overlay/ContextMenu.js +66 -0
- package/dist/components/overlay/ContextMenu.js.map +1 -0
- package/dist/components/overlay/DropdownMenu.d.ts +20 -0
- package/dist/components/overlay/DropdownMenu.js +86 -0
- package/dist/components/overlay/DropdownMenu.js.map +1 -0
- package/dist/components/overlay/HoverCard.d.ts +3 -0
- package/dist/components/overlay/HoverCard.js +53 -0
- package/dist/components/overlay/HoverCard.js.map +1 -0
- package/dist/components/overlay/Menubar.d.ts +4 -0
- package/dist/components/overlay/Menubar.js +55 -0
- package/dist/components/overlay/Menubar.js.map +1 -0
- package/dist/components/overlay/NavigationMenu.d.ts +5 -0
- package/dist/components/overlay/NavigationMenu.js +42 -0
- package/dist/components/overlay/NavigationMenu.js.map +1 -0
- package/dist/components/overlay/Popover.d.ts +16 -0
- package/dist/components/overlay/Popover.js +53 -0
- package/dist/components/overlay/Popover.js.map +1 -0
- package/dist/components/overlay/Sheet.d.ts +13 -0
- package/dist/components/overlay/Sheet.js +49 -0
- package/dist/components/overlay/Sheet.js.map +1 -0
- package/dist/components/utilities/Image.d.ts +3 -0
- package/dist/components/utilities/Image.js +32 -0
- package/dist/components/utilities/Image.js.map +1 -0
- package/dist/components/utilities/OpenInChat.d.ts +3 -0
- package/dist/components/utilities/OpenInChat.js +26 -0
- package/dist/components/utilities/OpenInChat.js.map +1 -0
- package/dist/components/voice/AudioPlayer.d.ts +3 -0
- package/dist/components/voice/AudioPlayer.js +42 -0
- package/dist/components/voice/AudioPlayer.js.map +1 -0
- package/dist/components/voice/MicSelector.d.ts +3 -0
- package/dist/components/voice/MicSelector.js +36 -0
- package/dist/components/voice/MicSelector.js.map +1 -0
- package/dist/components/voice/Persona.d.ts +3 -0
- package/dist/components/voice/Persona.js +41 -0
- package/dist/components/voice/Persona.js.map +1 -0
- package/dist/components/voice/SpeechInput.d.ts +3 -0
- package/dist/components/voice/SpeechInput.js +42 -0
- package/dist/components/voice/SpeechInput.js.map +1 -0
- package/dist/components/voice/Transcription.d.ts +4 -0
- package/dist/components/voice/Transcription.js +48 -0
- package/dist/components/voice/Transcription.js.map +1 -0
- package/dist/components/voice/VoiceSelector.d.ts +3 -0
- package/dist/components/voice/VoiceSelector.js +58 -0
- package/dist/components/voice/VoiceSelector.js.map +1 -0
- package/dist/components/workflow/Flow.d.ts +20 -0
- package/dist/components/workflow/Flow.js +96 -0
- package/dist/components/workflow/Flow.js.map +1 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.js +208 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +217 -0
- package/package.json +77 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { Attachments } from "./components/ai/Attachments.js";
|
|
2
|
+
import { Checkpoint } from "./components/ai/Checkpoint.js";
|
|
3
|
+
import { Confirmation } from "./components/ai/Confirmation.js";
|
|
4
|
+
import { Context } from "./components/ai/Context.js";
|
|
5
|
+
import { Conversation } from "./components/ai/Conversation.js";
|
|
6
|
+
import { ModelSelector } from "./components/ai/ModelSelector.js";
|
|
7
|
+
import { Plan } from "./components/ai/Plan.js";
|
|
8
|
+
import { Queue } from "./components/ai/Queue.js";
|
|
9
|
+
import { Reasoning } from "./components/ai/Reasoning.js";
|
|
10
|
+
import { Shimmer } from "./components/ai/Shimmer.js";
|
|
11
|
+
import { Citation, Sources } from "./components/ai/Sources.js";
|
|
12
|
+
import { Suggestion, Suggestions } from "./components/ai/Suggestion.js";
|
|
13
|
+
import { Task } from "./components/ai/Task.js";
|
|
14
|
+
import { ToolCall } from "./components/ai/ToolCall.js";
|
|
15
|
+
import { Button } from "./components/buttons/Button.js";
|
|
16
|
+
import { ButtonGroup } from "./components/buttons/ButtonGroup.js";
|
|
17
|
+
import { IconButton } from "./components/buttons/IconButton.js";
|
|
18
|
+
import { CodeBlock } from "./components/chat/CodeBlock.js";
|
|
19
|
+
import { Composer } from "./components/chat/Composer.js";
|
|
20
|
+
import { Message } from "./components/chat/Message.js";
|
|
21
|
+
import { Agent } from "./components/code/Agent.js";
|
|
22
|
+
import { Artifact } from "./components/code/Artifact.js";
|
|
23
|
+
import { Commit } from "./components/code/Commit.js";
|
|
24
|
+
import { EnvironmentVariables } from "./components/code/EnvironmentVariables.js";
|
|
25
|
+
import { FileTree } from "./components/code/FileTree.js";
|
|
26
|
+
import { JSXPreview } from "./components/code/JSXPreview.js";
|
|
27
|
+
import { PackageInfo } from "./components/code/PackageInfo.js";
|
|
28
|
+
import { Sandbox } from "./components/code/Sandbox.js";
|
|
29
|
+
import { SchemaDisplay } from "./components/code/SchemaDisplay.js";
|
|
30
|
+
import { Snippet } from "./components/code/Snippet.js";
|
|
31
|
+
import { StackTrace } from "./components/code/StackTrace.js";
|
|
32
|
+
import { Terminal } from "./components/code/Terminal.js";
|
|
33
|
+
import { TestResults } from "./components/code/TestResults.js";
|
|
34
|
+
import { WebPreview } from "./components/code/WebPreview.js";
|
|
35
|
+
import { Accordion } from "./components/display/Accordion.js";
|
|
36
|
+
import { Avatar } from "./components/display/Avatar.js";
|
|
37
|
+
import { Badge } from "./components/display/Badge.js";
|
|
38
|
+
import { Breadcrumb } from "./components/display/Breadcrumb.js";
|
|
39
|
+
import { Card } from "./components/display/Card.js";
|
|
40
|
+
import { Carousel } from "./components/display/Carousel.js";
|
|
41
|
+
import { BarChart, Chart, LineChart } from "./components/display/Chart.js";
|
|
42
|
+
import { Collapsible } from "./components/display/Collapsible.js";
|
|
43
|
+
import { DataTable } from "./components/display/DataTable.js";
|
|
44
|
+
import { Empty } from "./components/display/Empty.js";
|
|
45
|
+
import { Item } from "./components/display/Item.js";
|
|
46
|
+
import { Kbd } from "./components/display/Kbd.js";
|
|
47
|
+
import { Pagination } from "./components/display/Pagination.js";
|
|
48
|
+
import { Progress } from "./components/display/Progress.js";
|
|
49
|
+
import { Separator } from "./components/display/Separator.js";
|
|
50
|
+
import { Skeleton } from "./components/display/Skeleton.js";
|
|
51
|
+
import { Table } from "./components/display/Table.js";
|
|
52
|
+
import { Tabs } from "./components/display/Tabs.js";
|
|
53
|
+
import { Prose, Text, Typography } from "./components/display/Typography.js";
|
|
54
|
+
import { Alert } from "./components/feedback/Alert.js";
|
|
55
|
+
import { Dialog } from "./components/feedback/Dialog.js";
|
|
56
|
+
import { Spinner } from "./components/feedback/Spinner.js";
|
|
57
|
+
import { Toast } from "./components/feedback/Toast.js";
|
|
58
|
+
import { Tooltip } from "./components/feedback/Tooltip.js";
|
|
59
|
+
import { Calendar } from "./components/inputs/Calendar.js";
|
|
60
|
+
import { Checkbox } from "./components/inputs/Checkbox.js";
|
|
61
|
+
import { Combobox } from "./components/inputs/Combobox.js";
|
|
62
|
+
import { DatePicker } from "./components/inputs/DatePicker.js";
|
|
63
|
+
import { Field, FieldGroup } from "./components/inputs/Field.js";
|
|
64
|
+
import { Input } from "./components/inputs/Input.js";
|
|
65
|
+
import { InputGroup } from "./components/inputs/InputGroup.js";
|
|
66
|
+
import { InputOTP } from "./components/inputs/InputOTP.js";
|
|
67
|
+
import { Label } from "./components/inputs/Label.js";
|
|
68
|
+
import { RadioGroup } from "./components/inputs/RadioGroup.js";
|
|
69
|
+
import { Select } from "./components/inputs/Select.js";
|
|
70
|
+
import { Slider } from "./components/inputs/Slider.js";
|
|
71
|
+
import { Switch } from "./components/inputs/Switch.js";
|
|
72
|
+
import { Textarea } from "./components/inputs/Textarea.js";
|
|
73
|
+
import { Toggle, ToggleGroup } from "./components/inputs/Toggle.js";
|
|
74
|
+
import { AspectRatio } from "./components/layout/AspectRatio.js";
|
|
75
|
+
import { Resizable } from "./components/layout/Resizable.js";
|
|
76
|
+
import { ScrollArea } from "./components/layout/ScrollArea.js";
|
|
77
|
+
import { Sidebar } from "./components/layout/Sidebar.js";
|
|
78
|
+
import { AlertDialog } from "./components/overlay/AlertDialog.js";
|
|
79
|
+
import { Command } from "./components/overlay/Command.js";
|
|
80
|
+
import { ContextMenu } from "./components/overlay/ContextMenu.js";
|
|
81
|
+
import { DropdownMenu } from "./components/overlay/DropdownMenu.js";
|
|
82
|
+
import { HoverCard } from "./components/overlay/HoverCard.js";
|
|
83
|
+
import { Menubar } from "./components/overlay/Menubar.js";
|
|
84
|
+
import { NavigationMenu } from "./components/overlay/NavigationMenu.js";
|
|
85
|
+
import { Popover } from "./components/overlay/Popover.js";
|
|
86
|
+
import { Sheet } from "./components/overlay/Sheet.js";
|
|
87
|
+
import { Image } from "./components/utilities/Image.js";
|
|
88
|
+
import { OpenInChat } from "./components/utilities/OpenInChat.js";
|
|
89
|
+
import { AudioPlayer } from "./components/voice/AudioPlayer.js";
|
|
90
|
+
import { MicSelector } from "./components/voice/MicSelector.js";
|
|
91
|
+
import { Persona } from "./components/voice/Persona.js";
|
|
92
|
+
import { SpeechInput } from "./components/voice/SpeechInput.js";
|
|
93
|
+
import { Transcription } from "./components/voice/Transcription.js";
|
|
94
|
+
import { VoiceSelector } from "./components/voice/VoiceSelector.js";
|
|
95
|
+
import { Canvas, Connection, Controls, Edge, Flow, Node, Panel, Toolbar } from "./components/workflow/Flow.js";
|
|
96
|
+
export {
|
|
97
|
+
Accordion,
|
|
98
|
+
Agent,
|
|
99
|
+
Alert,
|
|
100
|
+
AlertDialog,
|
|
101
|
+
Artifact,
|
|
102
|
+
AspectRatio,
|
|
103
|
+
Attachments,
|
|
104
|
+
AudioPlayer,
|
|
105
|
+
Avatar,
|
|
106
|
+
Badge,
|
|
107
|
+
BarChart,
|
|
108
|
+
Breadcrumb,
|
|
109
|
+
Button,
|
|
110
|
+
ButtonGroup,
|
|
111
|
+
Calendar,
|
|
112
|
+
Canvas,
|
|
113
|
+
Card,
|
|
114
|
+
Carousel,
|
|
115
|
+
Chart,
|
|
116
|
+
Checkbox,
|
|
117
|
+
Checkpoint,
|
|
118
|
+
Citation,
|
|
119
|
+
CodeBlock,
|
|
120
|
+
Collapsible,
|
|
121
|
+
Combobox,
|
|
122
|
+
Command,
|
|
123
|
+
Commit,
|
|
124
|
+
Composer,
|
|
125
|
+
Confirmation,
|
|
126
|
+
Connection,
|
|
127
|
+
Context,
|
|
128
|
+
ContextMenu,
|
|
129
|
+
Controls,
|
|
130
|
+
Conversation,
|
|
131
|
+
DataTable,
|
|
132
|
+
DatePicker,
|
|
133
|
+
Dialog,
|
|
134
|
+
DropdownMenu,
|
|
135
|
+
Edge,
|
|
136
|
+
Empty,
|
|
137
|
+
EnvironmentVariables,
|
|
138
|
+
Field,
|
|
139
|
+
FieldGroup,
|
|
140
|
+
FileTree,
|
|
141
|
+
Flow,
|
|
142
|
+
HoverCard,
|
|
143
|
+
IconButton,
|
|
144
|
+
Image,
|
|
145
|
+
Input,
|
|
146
|
+
InputGroup,
|
|
147
|
+
InputOTP,
|
|
148
|
+
Item,
|
|
149
|
+
JSXPreview,
|
|
150
|
+
Kbd,
|
|
151
|
+
Label,
|
|
152
|
+
LineChart,
|
|
153
|
+
Menubar,
|
|
154
|
+
Message,
|
|
155
|
+
MicSelector,
|
|
156
|
+
ModelSelector,
|
|
157
|
+
NavigationMenu,
|
|
158
|
+
Node,
|
|
159
|
+
OpenInChat,
|
|
160
|
+
PackageInfo,
|
|
161
|
+
Pagination,
|
|
162
|
+
Panel,
|
|
163
|
+
Persona,
|
|
164
|
+
Plan,
|
|
165
|
+
Popover,
|
|
166
|
+
Progress,
|
|
167
|
+
Prose,
|
|
168
|
+
Queue,
|
|
169
|
+
RadioGroup,
|
|
170
|
+
Reasoning,
|
|
171
|
+
Resizable,
|
|
172
|
+
Sandbox,
|
|
173
|
+
SchemaDisplay,
|
|
174
|
+
ScrollArea,
|
|
175
|
+
Select,
|
|
176
|
+
Separator,
|
|
177
|
+
Sheet,
|
|
178
|
+
Shimmer,
|
|
179
|
+
Sidebar,
|
|
180
|
+
Skeleton,
|
|
181
|
+
Slider,
|
|
182
|
+
Snippet,
|
|
183
|
+
Sources,
|
|
184
|
+
SpeechInput,
|
|
185
|
+
Spinner,
|
|
186
|
+
StackTrace,
|
|
187
|
+
Suggestion,
|
|
188
|
+
Suggestions,
|
|
189
|
+
Switch,
|
|
190
|
+
Table,
|
|
191
|
+
Tabs,
|
|
192
|
+
Task,
|
|
193
|
+
Terminal,
|
|
194
|
+
TestResults,
|
|
195
|
+
Text,
|
|
196
|
+
Textarea,
|
|
197
|
+
Toast,
|
|
198
|
+
Toggle,
|
|
199
|
+
ToggleGroup,
|
|
200
|
+
ToolCall,
|
|
201
|
+
Toolbar,
|
|
202
|
+
Tooltip,
|
|
203
|
+
Transcription,
|
|
204
|
+
Typography,
|
|
205
|
+
VoiceSelector,
|
|
206
|
+
WebPreview
|
|
207
|
+
};
|
|
208
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/styles.css
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
/* Agentaily design system — bundled tokens + fonts. Import once at your app root. */
|
|
2
|
+
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,700;1,400&display=swap");
|
|
3
|
+
|
|
4
|
+
/* src/tokens/fonts.css */
|
|
5
|
+
/* Agentaily webfonts.
|
|
6
|
+
NOTE: No brand font binaries were provided — these are Google Fonts
|
|
7
|
+
substitutions (flagged in readme.md). Swap for licensed files by
|
|
8
|
+
replacing these @import lines with @font-face rules. */
|
|
9
|
+
/* src/tokens/colors.css */
|
|
10
|
+
/* ============================================================
|
|
11
|
+
Agentaily — color system
|
|
12
|
+
Monochrome-first. Dark is the default theme (:root);
|
|
13
|
+
light theme is scoped under [data-theme="light"].
|
|
14
|
+
The "accent" is the inverted foreground — no hue, all contrast.
|
|
15
|
+
============================================================ */
|
|
16
|
+
:root {
|
|
17
|
+
/* ---- base scale: ink (dark theme) ---- */
|
|
18
|
+
--bg-0: #0A0A0B; /* page canvas */
|
|
19
|
+
--bg-1: #111113; /* raised panels, sidebar */
|
|
20
|
+
--bg-2: #18181B; /* cards, composer */
|
|
21
|
+
--bg-3: #212124; /* hover fills, code blocks */
|
|
22
|
+
--bg-overlay: rgba(10, 10, 11, 0.72);
|
|
23
|
+
--fg-1: #F4F4F5; /* primary text */
|
|
24
|
+
--fg-2: #A1A1AA; /* secondary text */
|
|
25
|
+
--fg-3: #63636B; /* faint text, placeholders */
|
|
26
|
+
--line-1: rgba(255, 255, 255, 0.08); /* hairline borders */
|
|
27
|
+
--line-2: rgba(255, 255, 255, 0.14); /* strong borders */
|
|
28
|
+
/* ---- accent: pure mono inversion ---- */
|
|
29
|
+
--accent: #FAFAFA; /* filled buttons, active states */
|
|
30
|
+
--accent-fg: #0A0A0B; /* text on accent */
|
|
31
|
+
--accent-hover: #E4E4E7;
|
|
32
|
+
/* ---- semantic (kept desaturated, used sparingly) ---- */
|
|
33
|
+
--ok: #3ECF8E;
|
|
34
|
+
--warn: #E8B339;
|
|
35
|
+
--danger: #E5484D;
|
|
36
|
+
--ok-dim: rgba(62, 207, 142, 0.12);
|
|
37
|
+
--warn-dim: rgba(232, 179, 57, 0.12);
|
|
38
|
+
--danger-dim: rgba(229, 72, 77, 0.12);
|
|
39
|
+
/* ---- semantic aliases ---- */
|
|
40
|
+
--surface-page: var(--bg-0);
|
|
41
|
+
--surface-panel: var(--bg-1);
|
|
42
|
+
--surface-card: var(--bg-2);
|
|
43
|
+
--surface-raised: var(--bg-3);
|
|
44
|
+
--text-body: var(--fg-1);
|
|
45
|
+
--text-muted: var(--fg-2);
|
|
46
|
+
--text-faint: var(--fg-3);
|
|
47
|
+
--border-default: var(--line-1);
|
|
48
|
+
--border-strong: var(--line-2);
|
|
49
|
+
--focus-ring: rgba(250, 250, 250, 0.55);
|
|
50
|
+
--focus-soft: rgba(250, 250, 250, 0.13); /* @kind other */ /* glow ring on field focus */
|
|
51
|
+
/* dot-grid motif background */
|
|
52
|
+
--dot-grid: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); /* @kind other */
|
|
53
|
+
color-scheme: dark;
|
|
54
|
+
}
|
|
55
|
+
[data-theme="light"] {
|
|
56
|
+
--bg-0: #FFFFFF;
|
|
57
|
+
--bg-1: #FAFAFA;
|
|
58
|
+
--bg-2: #F4F4F5;
|
|
59
|
+
--bg-3: #E9E9EB;
|
|
60
|
+
--bg-overlay: rgba(250, 250, 250, 0.72);
|
|
61
|
+
--fg-1: #111113;
|
|
62
|
+
--fg-2: #5D5D66;
|
|
63
|
+
--fg-3: #9C9CA3;
|
|
64
|
+
--line-1: rgba(17, 17, 19, 0.09);
|
|
65
|
+
--line-2: rgba(17, 17, 19, 0.16);
|
|
66
|
+
--accent: #111113;
|
|
67
|
+
--accent-fg: #FAFAFA;
|
|
68
|
+
--accent-hover: #2A2A2E;
|
|
69
|
+
--ok: #1C9E68;
|
|
70
|
+
--warn: #B07D14;
|
|
71
|
+
--danger: #D33338;
|
|
72
|
+
--ok-dim: rgba(28, 158, 104, 0.1);
|
|
73
|
+
--warn-dim: rgba(176, 125, 20, 0.12);
|
|
74
|
+
--danger-dim: rgba(211, 51, 56, 0.08);
|
|
75
|
+
--focus-ring: rgba(17, 17, 19, 0.45);
|
|
76
|
+
--focus-soft: rgba(17, 17, 19, 0.10); /* @kind other */
|
|
77
|
+
--dot-grid: radial-gradient(rgba(17, 17, 19, 0.1) 1px, transparent 1px); /* @kind other */
|
|
78
|
+
color-scheme: light;
|
|
79
|
+
}
|
|
80
|
+
/* src/tokens/typography.css */
|
|
81
|
+
/* ============================================================
|
|
82
|
+
Agentaily — typography
|
|
83
|
+
Space Grotesk for display + UI, JetBrains Mono for code,
|
|
84
|
+
labels and the terminal motif. CJK falls back to system
|
|
85
|
+
(PingFang SC / Microsoft YaHei / Noto Sans CJK).
|
|
86
|
+
============================================================ */
|
|
87
|
+
:root {
|
|
88
|
+
--font-display: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
|
|
89
|
+
--font-body: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
|
|
90
|
+
--font-mono: "JetBrains Mono", "SF Mono", "PingFang SC", "Microsoft YaHei", ui-monospace, monospace;
|
|
91
|
+
/* type scale */
|
|
92
|
+
--text-xs: 12px;
|
|
93
|
+
--text-sm: 13px;
|
|
94
|
+
--text-md: 15px; /* default UI / chat body */
|
|
95
|
+
--text-lg: 18px;
|
|
96
|
+
--text-xl: 24px;
|
|
97
|
+
--text-2xl: 32px;
|
|
98
|
+
--text-3xl: 44px;
|
|
99
|
+
--text-hero: 68px;
|
|
100
|
+
/* weights */
|
|
101
|
+
--weight-regular: 400;
|
|
102
|
+
--weight-medium: 500;
|
|
103
|
+
--weight-bold: 700;
|
|
104
|
+
/* line heights */
|
|
105
|
+
--leading-tight: 1.1;
|
|
106
|
+
--leading-snug: 1.35;
|
|
107
|
+
--leading-body: 1.6;
|
|
108
|
+
/* tracking */
|
|
109
|
+
--tracking-tight: -0.02em; /* display sizes */
|
|
110
|
+
--tracking-label: 0.08em; /* mono ALL-CAPS labels */
|
|
111
|
+
}
|
|
112
|
+
/* src/tokens/spacing.css */
|
|
113
|
+
/* ============================================================
|
|
114
|
+
Agentaily — spacing
|
|
115
|
+
4px base grid. Generous outer space (大气), tight inner
|
|
116
|
+
rhythm (极客).
|
|
117
|
+
============================================================ */
|
|
118
|
+
:root {
|
|
119
|
+
--space-1: 4px;
|
|
120
|
+
--space-2: 8px;
|
|
121
|
+
--space-3: 12px;
|
|
122
|
+
--space-4: 16px;
|
|
123
|
+
--space-5: 20px;
|
|
124
|
+
--space-6: 24px;
|
|
125
|
+
--space-8: 32px;
|
|
126
|
+
--space-10: 40px;
|
|
127
|
+
--space-12: 48px;
|
|
128
|
+
--space-16: 64px;
|
|
129
|
+
--space-20: 80px;
|
|
130
|
+
--space-24: 96px;
|
|
131
|
+
/* layout */
|
|
132
|
+
--container-max: 1120px;
|
|
133
|
+
--sidebar-w: 272px;
|
|
134
|
+
--thread-max: 760px; /* chat reading column */
|
|
135
|
+
}
|
|
136
|
+
/* src/tokens/effects.css */
|
|
137
|
+
/* ============================================================
|
|
138
|
+
Agentaily — radii, shadows, motion
|
|
139
|
+
Hard-edged: tiny radii, hairline borders over shadows.
|
|
140
|
+
Motion is fast and decisive — no bounces.
|
|
141
|
+
============================================================ */
|
|
142
|
+
:root {
|
|
143
|
+
/* radii — kept deliberately small */
|
|
144
|
+
--radius-1: 2px; /* chips, kbd, code tags */
|
|
145
|
+
--radius-2: 4px; /* buttons, inputs */
|
|
146
|
+
--radius-3: 8px; /* cards, message bubbles, dialogs */
|
|
147
|
+
--radius-full: 999px;
|
|
148
|
+
/* shadows — dark theme leans on borders, not shadows */
|
|
149
|
+
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
150
|
+
--shadow-2: 0 4px 16px rgba(0, 0, 0, 0.35);
|
|
151
|
+
--shadow-3: 0 16px 48px rgba(0, 0, 0, 0.5);
|
|
152
|
+
/* motion */
|
|
153
|
+
--ease-out: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
|
|
154
|
+
--dur-1: 120ms; /* @kind other */ /* hovers, presses */
|
|
155
|
+
--dur-2: 200ms; /* @kind other */ /* reveals, toggles */
|
|
156
|
+
--dur-3: 320ms; /* @kind other */ /* dialogs, page-level */
|
|
157
|
+
/* focus */
|
|
158
|
+
--ring: 0 0 0 2px var(--surface-page), 0 0 0 4px var(--focus-ring);
|
|
159
|
+
/* blur */
|
|
160
|
+
--blur-overlay: 12px;
|
|
161
|
+
}
|
|
162
|
+
[data-theme="light"] {
|
|
163
|
+
--shadow-1: 0 1px 2px rgba(17, 17, 19, 0.06);
|
|
164
|
+
--shadow-2: 0 4px 16px rgba(17, 17, 19, 0.08);
|
|
165
|
+
--shadow-3: 0 16px 48px rgba(17, 17, 19, 0.14);
|
|
166
|
+
}
|
|
167
|
+
/* src/tokens/base.css */
|
|
168
|
+
/* ============================================================
|
|
169
|
+
Agentaily — minimal base rules + shared utility classes
|
|
170
|
+
============================================================ */
|
|
171
|
+
* { box-sizing: border-box; }
|
|
172
|
+
body {
|
|
173
|
+
margin: 0;
|
|
174
|
+
background: var(--surface-page);
|
|
175
|
+
color: var(--text-body);
|
|
176
|
+
font-family: var(--font-body);
|
|
177
|
+
font-size: var(--text-md);
|
|
178
|
+
line-height: var(--leading-body);
|
|
179
|
+
-webkit-font-smoothing: antialiased;
|
|
180
|
+
text-rendering: optimizeLegibility;
|
|
181
|
+
}
|
|
182
|
+
::selection { background: var(--fg-1); color: var(--bg-0); }
|
|
183
|
+
/* mono ALL-CAPS label — core Agentaily motif */
|
|
184
|
+
.ax-label {
|
|
185
|
+
font-family: var(--font-mono);
|
|
186
|
+
font-size: var(--text-xs);
|
|
187
|
+
font-weight: var(--weight-medium);
|
|
188
|
+
letter-spacing: var(--tracking-label);
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
color: var(--text-faint);
|
|
191
|
+
}
|
|
192
|
+
/* blinking terminal cursor — core Agentaily motif */
|
|
193
|
+
.ax-cursor {
|
|
194
|
+
display: inline-block;
|
|
195
|
+
width: 0.55em;
|
|
196
|
+
height: 1.05em;
|
|
197
|
+
background: currentColor;
|
|
198
|
+
vertical-align: text-bottom;
|
|
199
|
+
animation: ax-blink 1.1s steps(1) infinite;
|
|
200
|
+
}
|
|
201
|
+
@keyframes ax-blink { 50% { opacity: 0; } }
|
|
202
|
+
@media (prefers-reduced-motion: reduce) { .ax-cursor { animation: none; } }
|
|
203
|
+
/* dot-grid surface */
|
|
204
|
+
.ax-dotgrid {
|
|
205
|
+
background-image: var(--dot-grid);
|
|
206
|
+
background-size: 24px 24px;
|
|
207
|
+
}
|
|
208
|
+
/* corner-tick frame (place on a position:relative parent) */
|
|
209
|
+
.ax-ticks::before, .ax-ticks::after {
|
|
210
|
+
content: "";
|
|
211
|
+
position: absolute;
|
|
212
|
+
width: 8px; height: 8px;
|
|
213
|
+
border-color: var(--border-strong);
|
|
214
|
+
border-style: solid;
|
|
215
|
+
}
|
|
216
|
+
.ax-ticks::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
|
|
217
|
+
.ax-ticks::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agentaily/design-system",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Agentaily design system — dark-first monochrome React component library (116 components) + Storybook.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"author": "Agentaily",
|
|
8
|
+
"homepage": "https://github.com/agentaily/design-system#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/agentaily/design-system.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/agentaily/design-system/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"design-system",
|
|
18
|
+
"react",
|
|
19
|
+
"components",
|
|
20
|
+
"ui",
|
|
21
|
+
"storybook",
|
|
22
|
+
"agentaily"
|
|
23
|
+
],
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./styles.css": "./dist/styles.css",
|
|
34
|
+
"./assets/*": "./dist/assets/*",
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"DESIGN.md"
|
|
40
|
+
],
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prepare": "lefthook install",
|
|
46
|
+
"format": "prettier --write .",
|
|
47
|
+
"changeset": "changeset",
|
|
48
|
+
"release": "changeset publish",
|
|
49
|
+
"storybook": "storybook dev -p 6006",
|
|
50
|
+
"build-storybook": "storybook build",
|
|
51
|
+
"gen:barrel": "node scripts/generate-barrel.mjs",
|
|
52
|
+
"clean": "node scripts/clean.mjs",
|
|
53
|
+
"build:js": "vite build --config vite.lib.config.js",
|
|
54
|
+
"build:css": "node scripts/build-css.mjs",
|
|
55
|
+
"build:types": "node scripts/build-types.mjs",
|
|
56
|
+
"build:assets": "node scripts/copy-assets.mjs",
|
|
57
|
+
"build:lib": "npm run clean && npm run gen:barrel && npm run build:js && npm run build:css && npm run build:types && npm run build:assets",
|
|
58
|
+
"prepublishOnly": "npm run build:lib"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"react": ">=18.0.0",
|
|
62
|
+
"react-dom": ">=18.0.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@changesets/changelog-github": "^0.7.0",
|
|
66
|
+
"@changesets/cli": "^2.31.0",
|
|
67
|
+
"@storybook/addon-docs": "^10.4.3",
|
|
68
|
+
"@storybook/react-vite": "^10.4.3",
|
|
69
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
70
|
+
"lefthook": "^2.1.9",
|
|
71
|
+
"prettier": "^3.8.4",
|
|
72
|
+
"react": "^19.2.7",
|
|
73
|
+
"react-dom": "^19.2.7",
|
|
74
|
+
"storybook": "^10.4.3",
|
|
75
|
+
"vite": "^7.0.0"
|
|
76
|
+
}
|
|
77
|
+
}
|