@robr0/design-system 0.7.0 → 0.9.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/README.md +4 -4
- package/components/Accordion/Accordion.js +1 -0
- package/components/AgentPlan/AgentPlan.css +231 -0
- package/components/AgentPlan/AgentPlan.d.ts +41 -0
- package/components/AgentPlan/AgentPlan.js +100 -0
- package/components/AgentStatus/AgentStatus.js +1 -0
- package/components/AiButton/AiButton.js +1 -0
- package/components/AlertDialog/AlertDialog.js +1 -0
- package/components/AnchorNav/AnchorNav.css +63 -0
- package/components/AnchorNav/AnchorNav.d.ts +33 -0
- package/components/AnchorNav/AnchorNav.js +82 -0
- package/components/AppLayout/AppLayout.js +1 -0
- package/components/AppSidebar/AppSidebar.js +1 -0
- package/components/Avatar/Avatar.js +1 -0
- package/components/Button/Button.js +1 -0
- package/components/Card/Card.js +1 -0
- package/components/Carousel/Carousel.js +1 -0
- package/components/ChatThread/ChatThread.js +1 -0
- package/components/Checkbox/Checkbox.js +1 -0
- package/components/CodeBlock/CodeBlock.js +1 -0
- package/components/CodeDiff/CodeDiff.css +175 -0
- package/components/CodeDiff/CodeDiff.d.ts +58 -0
- package/components/CodeDiff/CodeDiff.js +114 -0
- package/components/ColorPicker/ColorPicker.js +1 -0
- package/components/Combobox/Combobox.js +1 -0
- package/components/CommandPalette/CommandPalette.js +1 -0
- package/components/Composer/Composer.js +1 -0
- package/components/ContactCard/ContactCard.js +1 -0
- package/components/ContextMenu/ContextMenu.js +1 -0
- package/components/DataTable/DataTable.css +105 -0
- package/components/DataTable/DataTable.d.ts +81 -0
- package/components/DataTable/DataTable.js +236 -0
- package/components/DateInput/DateInput.js +1 -0
- package/components/DatePicker/DatePicker.js +1 -0
- package/components/Dialog/Dialog.js +1 -0
- package/components/Drawer/Drawer.js +1 -0
- package/components/Dropdown/Dropdown.js +1 -0
- package/components/DropdownMenu/DropdownMenu.css +1 -1
- package/components/DropdownMenu/DropdownMenu.js +1 -0
- package/components/EventCalendar/EventCalendar.css +328 -0
- package/components/EventCalendar/EventCalendar.d.ts +51 -0
- package/components/EventCalendar/EventCalendar.js +214 -0
- package/components/Field/Field.js +1 -0
- package/components/Field/FieldContext.js +1 -0
- package/components/FileInput/FileInput.js +1 -0
- package/components/Input/Input.js +1 -0
- package/components/InterruptCard/InterruptCard.css +11 -21
- package/components/InterruptCard/InterruptCard.d.ts +5 -6
- package/components/MessageCard/MessageCard.css +1 -2
- package/components/ModelPicker/ModelPicker.css +240 -0
- package/components/ModelPicker/ModelPicker.d.ts +60 -0
- package/components/ModelPicker/ModelPicker.js +218 -0
- package/components/NavList/NavList.js +1 -0
- package/components/NotificationCenter/NotificationCenter.css +262 -0
- package/components/NotificationCenter/NotificationCenter.d.ts +72 -0
- package/components/NotificationCenter/NotificationCenter.js +129 -0
- package/components/NumberInput/NumberInput.css +154 -0
- package/components/NumberInput/NumberInput.d.ts +44 -0
- package/components/NumberInput/NumberInput.js +147 -0
- package/components/Pagination/Pagination.js +1 -0
- package/components/PinInput/PinInput.css +92 -0
- package/components/PinInput/PinInput.d.ts +46 -0
- package/components/PinInput/PinInput.js +161 -0
- package/components/Popover/Popover.css +5 -6
- package/components/Popover/Popover.js +1 -0
- package/components/RadioButton/RadioButton.js +1 -0
- package/components/Reasoning/Reasoning.js +1 -0
- package/components/SegmentedControl/SegmentedControl.js +1 -0
- package/components/SelectionCard/SelectionCard.js +1 -0
- package/components/ShaderField/ShaderField.js +1 -0
- package/components/ShaderField/field.glsl.d.ts +11 -5
- package/components/ShaderField/field.glsl.js +4 -3
- package/components/ShaderField/useShaderField.d.ts +19 -2
- package/components/ShaderField/useShaderField.js +18 -3
- package/components/Slider/Slider.js +1 -0
- package/components/Sparkline/Sparkline.css +52 -0
- package/components/Sparkline/Sparkline.d.ts +49 -0
- package/components/Sparkline/Sparkline.js +86 -0
- package/components/Stepper/Stepper.css +207 -0
- package/components/Stepper/Stepper.d.ts +41 -0
- package/components/Stepper/Stepper.js +61 -0
- package/components/Tabs/Tabs.js +1 -0
- package/components/TagInput/TagInput.css +160 -0
- package/components/TagInput/TagInput.d.ts +43 -0
- package/components/TagInput/TagInput.js +137 -0
- package/components/Textarea/Textarea.js +1 -0
- package/components/TimePicker/TimePicker.css +230 -0
- package/components/TimePicker/TimePicker.d.ts +46 -0
- package/components/TimePicker/TimePicker.js +246 -0
- package/components/Timeline/Timeline.css +17 -0
- package/components/Timeline/Timeline.d.ts +2 -0
- package/components/Timeline/Timeline.js +1 -0
- package/components/Toast/Toast.js +1 -0
- package/components/ToggleGroup/ToggleGroup.js +1 -0
- package/components/ToggleSwitch/ToggleSwitch.js +1 -0
- package/components/ToolCall/ToolCall.css +7 -11
- package/components/ToolCall/ToolCall.js +1 -0
- package/components/Tooltip/Tooltip.js +1 -0
- package/components/TreeView/TreeView.css +119 -0
- package/components/TreeView/TreeView.d.ts +45 -0
- package/components/TreeView/TreeView.js +232 -0
- package/components/registry.d.ts +22 -6
- package/components/registry.js +3 -1
- package/components/registry.json +246 -20
- package/components/registry.json.d.ts +246 -20
- package/components/registry.json.js +2 -2
- package/index.d.ts +16 -2
- package/index.js +32 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Accordion } from "./components/Accordion/Accordion.js";
|
|
2
|
+
import { AgentPlan } from "./components/AgentPlan/AgentPlan.js";
|
|
2
3
|
import { AgentStatus } from "./components/AgentStatus/AgentStatus.js";
|
|
3
4
|
import { agentStatusPatterns } from "./components/AgentStatus/AgentStatusPatterns.js";
|
|
4
5
|
import { AiButton } from "./components/AiButton/AiButton.js";
|
|
5
6
|
import { Alert } from "./components/Alert/Alert.js";
|
|
6
7
|
import { AlertDialog } from "./components/AlertDialog/AlertDialog.js";
|
|
8
|
+
import { AnchorNav } from "./components/AnchorNav/AnchorNav.js";
|
|
7
9
|
import { AppLayout } from "./components/AppLayout/AppLayout.js";
|
|
8
10
|
import { AppSidebar } from "./components/AppSidebar/AppSidebar.js";
|
|
9
11
|
import { Avatar } from "./components/Avatar/Avatar.js";
|
|
@@ -21,6 +23,7 @@ import { Checkbox, CheckboxGroup } from "./components/Checkbox/Checkbox.js";
|
|
|
21
23
|
import { Chip } from "./components/Chip/Chip.js";
|
|
22
24
|
import { CircularButton } from "./components/CircularButton/CircularButton.js";
|
|
23
25
|
import { CodeBlock } from "./components/CodeBlock/CodeBlock.js";
|
|
26
|
+
import { CodeDiff, parseUnifiedDiff } from "./components/CodeDiff/CodeDiff.js";
|
|
24
27
|
import { ColorPicker } from "./components/ColorPicker/ColorPicker.js";
|
|
25
28
|
import { Combobox } from "./components/Combobox/Combobox.js";
|
|
26
29
|
import { CommandPalette } from "./components/CommandPalette/CommandPalette.js";
|
|
@@ -28,6 +31,7 @@ import { Composer } from "./components/Composer/Composer.js";
|
|
|
28
31
|
import { ContactCard } from "./components/ContactCard/ContactCard.js";
|
|
29
32
|
import { ContextMenu } from "./components/ContextMenu/ContextMenu.js";
|
|
30
33
|
import { ContributionGraph } from "./components/ContributionGraph/ContributionGraph.js";
|
|
34
|
+
import { DataTable } from "./components/DataTable/DataTable.js";
|
|
31
35
|
import { DateInput } from "./components/DateInput/DateInput.js";
|
|
32
36
|
import { DatePicker } from "./components/DatePicker/DatePicker.js";
|
|
33
37
|
import { Dialog } from "./components/Dialog/Dialog.js";
|
|
@@ -38,6 +42,7 @@ import { Dropdown } from "./components/Dropdown/Dropdown.js";
|
|
|
38
42
|
import { DropdownMenu } from "./components/DropdownMenu/DropdownMenu.js";
|
|
39
43
|
import { EmptyState } from "./components/EmptyState/EmptyState.js";
|
|
40
44
|
import { EntityCard } from "./components/EntityCard/EntityCard.js";
|
|
45
|
+
import { EventCalendar } from "./components/EventCalendar/EventCalendar.js";
|
|
41
46
|
import { Field } from "./components/Field/Field.js";
|
|
42
47
|
import { FieldContext, useField } from "./components/Field/FieldContext.js";
|
|
43
48
|
import { Figure } from "./components/Figure/Figure.js";
|
|
@@ -49,9 +54,13 @@ import { Kbd } from "./components/Kbd/Kbd.js";
|
|
|
49
54
|
import { LinkList } from "./components/LinkList/LinkList.js";
|
|
50
55
|
import { MessageActions } from "./components/MessageActions/MessageActions.js";
|
|
51
56
|
import { MessageCard } from "./components/MessageCard/MessageCard.js";
|
|
57
|
+
import { ModelPicker } from "./components/ModelPicker/ModelPicker.js";
|
|
52
58
|
import { Nav } from "./components/Nav/Nav.js";
|
|
53
59
|
import { NavList } from "./components/NavList/NavList.js";
|
|
60
|
+
import { NotificationCenter, NotificationItem } from "./components/NotificationCenter/NotificationCenter.js";
|
|
61
|
+
import { NumberInput } from "./components/NumberInput/NumberInput.js";
|
|
54
62
|
import { Pagination } from "./components/Pagination/Pagination.js";
|
|
63
|
+
import { PinInput } from "./components/PinInput/PinInput.js";
|
|
55
64
|
import { Popover } from "./components/Popover/Popover.js";
|
|
56
65
|
import { ProgressBar } from "./components/ProgressBar/ProgressBar.js";
|
|
57
66
|
import { PromptSuggestions } from "./components/PromptSuggestions/PromptSuggestions.js";
|
|
@@ -66,28 +75,35 @@ import { ShaderField } from "./components/ShaderField/ShaderField.js";
|
|
|
66
75
|
import { Skeleton } from "./components/Skeleton/Skeleton.js";
|
|
67
76
|
import { Slider } from "./components/Slider/Slider.js";
|
|
68
77
|
import { SourceChip } from "./components/SourceChip/SourceChip.js";
|
|
78
|
+
import { Sparkline } from "./components/Sparkline/Sparkline.js";
|
|
69
79
|
import { Spinner } from "./components/Spinner/Spinner.js";
|
|
70
80
|
import { Stat } from "./components/Stat/Stat.js";
|
|
81
|
+
import { Stepper } from "./components/Stepper/Stepper.js";
|
|
71
82
|
import { Swatch } from "./components/Swatch/Swatch.js";
|
|
72
83
|
import { Table } from "./components/Table/Table.js";
|
|
73
84
|
import { Tabs } from "./components/Tabs/Tabs.js";
|
|
85
|
+
import { TagInput } from "./components/TagInput/TagInput.js";
|
|
74
86
|
import { Textarea } from "./components/Textarea/Textarea.js";
|
|
75
87
|
import { Timeline } from "./components/Timeline/Timeline.js";
|
|
88
|
+
import { TimePicker } from "./components/TimePicker/TimePicker.js";
|
|
76
89
|
import { Toast, ToastProvider, useToast } from "./components/Toast/Toast.js";
|
|
77
90
|
import { ToggleGroup } from "./components/ToggleGroup/ToggleGroup.js";
|
|
78
91
|
import { ToggleSwitch } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
79
92
|
import { ToolCall } from "./components/ToolCall/ToolCall.js";
|
|
80
93
|
import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
81
|
-
import {
|
|
94
|
+
import { TreeView } from "./components/TreeView/TreeView.js";
|
|
95
|
+
import { COMPONENT_COUNT, componentCategories, componentCategoryMetadata, componentMetadata, componentRegistry } from "./components/registry.js";
|
|
82
96
|
import { TOKEN_COUNT, TOKEN_COUNTS, tokenRegistry } from "./tokens/registry.js";
|
|
83
97
|
import { BLOB_COUNT } from "./components/ShaderField/field.glsl.js";
|
|
84
98
|
import { DEFAULT_SHADER_BLOBS, DEFAULT_SHADER_PARAMS, useShaderField } from "./components/ShaderField/useShaderField.js";
|
|
85
99
|
export {
|
|
86
100
|
Accordion,
|
|
101
|
+
AgentPlan,
|
|
87
102
|
AgentStatus,
|
|
88
103
|
AiButton,
|
|
89
104
|
Alert,
|
|
90
105
|
AlertDialog,
|
|
106
|
+
AnchorNav,
|
|
91
107
|
AppLayout,
|
|
92
108
|
AppSidebar,
|
|
93
109
|
Avatar,
|
|
@@ -108,6 +124,7 @@ export {
|
|
|
108
124
|
Chip,
|
|
109
125
|
CircularButton,
|
|
110
126
|
CodeBlock,
|
|
127
|
+
CodeDiff,
|
|
111
128
|
ColorPicker,
|
|
112
129
|
Combobox,
|
|
113
130
|
CommandPalette,
|
|
@@ -117,6 +134,7 @@ export {
|
|
|
117
134
|
ContributionGraph,
|
|
118
135
|
DEFAULT_SHADER_BLOBS,
|
|
119
136
|
DEFAULT_SHADER_PARAMS,
|
|
137
|
+
DataTable,
|
|
120
138
|
DateInput,
|
|
121
139
|
DatePicker,
|
|
122
140
|
Dialog,
|
|
@@ -127,6 +145,7 @@ export {
|
|
|
127
145
|
DropdownMenu,
|
|
128
146
|
EmptyState,
|
|
129
147
|
EntityCard,
|
|
148
|
+
EventCalendar,
|
|
130
149
|
Field,
|
|
131
150
|
FieldContext,
|
|
132
151
|
Figure,
|
|
@@ -138,9 +157,14 @@ export {
|
|
|
138
157
|
LinkList,
|
|
139
158
|
MessageActions,
|
|
140
159
|
MessageCard,
|
|
160
|
+
ModelPicker,
|
|
141
161
|
Nav,
|
|
142
162
|
NavList,
|
|
163
|
+
NotificationCenter,
|
|
164
|
+
NotificationItem,
|
|
165
|
+
NumberInput,
|
|
143
166
|
Pagination,
|
|
167
|
+
PinInput,
|
|
144
168
|
Popover,
|
|
145
169
|
ProgressBar,
|
|
146
170
|
PromptSuggestions,
|
|
@@ -156,14 +180,18 @@ export {
|
|
|
156
180
|
Skeleton,
|
|
157
181
|
Slider,
|
|
158
182
|
SourceChip,
|
|
183
|
+
Sparkline,
|
|
159
184
|
Spinner,
|
|
160
185
|
Stat,
|
|
186
|
+
Stepper,
|
|
161
187
|
Swatch,
|
|
162
188
|
TOKEN_COUNT,
|
|
163
189
|
TOKEN_COUNTS,
|
|
164
190
|
Table,
|
|
165
191
|
Tabs,
|
|
192
|
+
TagInput,
|
|
166
193
|
Textarea,
|
|
194
|
+
TimePicker,
|
|
167
195
|
Timeline,
|
|
168
196
|
Toast,
|
|
169
197
|
ToastProvider,
|
|
@@ -171,10 +199,13 @@ export {
|
|
|
171
199
|
ToggleSwitch,
|
|
172
200
|
ToolCall,
|
|
173
201
|
Tooltip,
|
|
202
|
+
TreeView,
|
|
174
203
|
agentStatusPatterns,
|
|
175
204
|
componentCategories,
|
|
205
|
+
componentCategoryMetadata,
|
|
176
206
|
componentMetadata,
|
|
177
207
|
componentRegistry,
|
|
208
|
+
parseUnifiedDiff,
|
|
178
209
|
tokenRegistry,
|
|
179
210
|
useField,
|
|
180
211
|
useShaderField,
|
package/package.json
CHANGED