@acrylblends/ui 0.0.0-stage → 0.3.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 +19 -2
- package/contracts/categories.json +598 -0
- package/contracts/components.json +1789 -0
- package/contracts/reexports.json +291 -0
- package/contracts/tokens.json +107 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +7867 -0
- package/lib/client.js.map +1 -0
- package/lib/frame.d.ts +41 -0
- package/lib/frame.js +11 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -0
- package/package.json +117 -4
- package/registry-manifest.yml +229 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": 1,
|
|
3
|
+
"generatedFrom": "src/client/index.ts",
|
|
4
|
+
"note": "Exports of @acryl/ui that are not registry items: a consumer can import them, and nothing can be copied with `acryl ui add`. Generated by scripts/generate-reexports.mjs; a stale copy fails tests/reexports.spec.ts.",
|
|
5
|
+
"registryItemExports": [
|
|
6
|
+
"Accordion",
|
|
7
|
+
"AccordionContent",
|
|
8
|
+
"AccordionItem",
|
|
9
|
+
"AccordionTrigger",
|
|
10
|
+
"Alert",
|
|
11
|
+
"AppearanceCubes",
|
|
12
|
+
"AspectRatio",
|
|
13
|
+
"Attachment",
|
|
14
|
+
"AttachmentAction",
|
|
15
|
+
"AttachmentActions",
|
|
16
|
+
"AttachmentContent",
|
|
17
|
+
"AttachmentDescription",
|
|
18
|
+
"AttachmentGroup",
|
|
19
|
+
"AttachmentMedia",
|
|
20
|
+
"AttachmentTitle",
|
|
21
|
+
"AttachmentTrigger",
|
|
22
|
+
"Avatar",
|
|
23
|
+
"Badge",
|
|
24
|
+
"Breadcrumb",
|
|
25
|
+
"BreadcrumbEllipsis",
|
|
26
|
+
"BreadcrumbItem",
|
|
27
|
+
"BreadcrumbLink",
|
|
28
|
+
"BreadcrumbList",
|
|
29
|
+
"BreadcrumbPage",
|
|
30
|
+
"BreadcrumbSeparator",
|
|
31
|
+
"Bubble",
|
|
32
|
+
"BubbleContent",
|
|
33
|
+
"BubbleGroup",
|
|
34
|
+
"BubbleReactions",
|
|
35
|
+
"ButtonGroup",
|
|
36
|
+
"ButtonGroupSeparator",
|
|
37
|
+
"ButtonGroupText",
|
|
38
|
+
"Calendar",
|
|
39
|
+
"Card",
|
|
40
|
+
"Carousel",
|
|
41
|
+
"CarouselContent",
|
|
42
|
+
"CarouselItem",
|
|
43
|
+
"CarouselNext",
|
|
44
|
+
"CarouselPrevious",
|
|
45
|
+
"Checkbox",
|
|
46
|
+
"Collapsible",
|
|
47
|
+
"CollapsibleContent",
|
|
48
|
+
"CollapsibleTrigger",
|
|
49
|
+
"Combobox",
|
|
50
|
+
"ComboboxClear",
|
|
51
|
+
"ComboboxContent",
|
|
52
|
+
"ComboboxEmpty",
|
|
53
|
+
"ComboboxGroup",
|
|
54
|
+
"ComboboxInput",
|
|
55
|
+
"ComboboxItem",
|
|
56
|
+
"ComboboxLabel",
|
|
57
|
+
"ComboboxList",
|
|
58
|
+
"ComboboxSeparator",
|
|
59
|
+
"ComboboxTrigger",
|
|
60
|
+
"ComboboxValue",
|
|
61
|
+
"Command",
|
|
62
|
+
"CommandEmpty",
|
|
63
|
+
"CommandGroup",
|
|
64
|
+
"CommandInput",
|
|
65
|
+
"CommandItem",
|
|
66
|
+
"CommandList",
|
|
67
|
+
"CommandSeparator",
|
|
68
|
+
"CommandShortcut",
|
|
69
|
+
"ContextMenu",
|
|
70
|
+
"ContextMenuCheckboxItem",
|
|
71
|
+
"ContextMenuContent",
|
|
72
|
+
"ContextMenuGroup",
|
|
73
|
+
"ContextMenuItem",
|
|
74
|
+
"ContextMenuLabel",
|
|
75
|
+
"ContextMenuRadioGroup",
|
|
76
|
+
"ContextMenuRadioItem",
|
|
77
|
+
"ContextMenuSeparator",
|
|
78
|
+
"ContextMenuShortcut",
|
|
79
|
+
"ContextMenuTrigger",
|
|
80
|
+
"Dialog",
|
|
81
|
+
"DirectionProvider",
|
|
82
|
+
"Drawer",
|
|
83
|
+
"DrawerClose",
|
|
84
|
+
"DrawerContent",
|
|
85
|
+
"DrawerDescription",
|
|
86
|
+
"DrawerFooter",
|
|
87
|
+
"DrawerHeader",
|
|
88
|
+
"DrawerOverlay",
|
|
89
|
+
"DrawerTitle",
|
|
90
|
+
"DrawerTrigger",
|
|
91
|
+
"EmptyState",
|
|
92
|
+
"FieldContent",
|
|
93
|
+
"FieldDescription",
|
|
94
|
+
"FieldError",
|
|
95
|
+
"FieldGroup",
|
|
96
|
+
"FieldLabel",
|
|
97
|
+
"FieldLegend",
|
|
98
|
+
"FieldSeparator",
|
|
99
|
+
"FieldSet",
|
|
100
|
+
"FieldTitle",
|
|
101
|
+
"FormField",
|
|
102
|
+
"InputGroup",
|
|
103
|
+
"InputGroupAddon",
|
|
104
|
+
"InputGroupButton",
|
|
105
|
+
"InputGroupInput",
|
|
106
|
+
"InputGroupText",
|
|
107
|
+
"InputGroupTextarea",
|
|
108
|
+
"InputOTP",
|
|
109
|
+
"InputOTPGroup",
|
|
110
|
+
"InputOTPSeparator",
|
|
111
|
+
"InputOTPSlot",
|
|
112
|
+
"Item",
|
|
113
|
+
"ItemActions",
|
|
114
|
+
"ItemContent",
|
|
115
|
+
"ItemDescription",
|
|
116
|
+
"ItemFooter",
|
|
117
|
+
"ItemGroup",
|
|
118
|
+
"ItemHeader",
|
|
119
|
+
"ItemMedia",
|
|
120
|
+
"ItemSeparator",
|
|
121
|
+
"ItemTitle",
|
|
122
|
+
"Kbd",
|
|
123
|
+
"Label",
|
|
124
|
+
"Marker",
|
|
125
|
+
"MarkerContent",
|
|
126
|
+
"MarkerIcon",
|
|
127
|
+
"Menubar",
|
|
128
|
+
"MenubarCheckboxItem",
|
|
129
|
+
"MenubarContent",
|
|
130
|
+
"MenubarGroup",
|
|
131
|
+
"MenubarItem",
|
|
132
|
+
"MenubarLabel",
|
|
133
|
+
"MenubarMenu",
|
|
134
|
+
"MenubarRadioGroup",
|
|
135
|
+
"MenubarRadioItem",
|
|
136
|
+
"MenubarSeparator",
|
|
137
|
+
"MenubarShortcut",
|
|
138
|
+
"MenubarTrigger",
|
|
139
|
+
"Message",
|
|
140
|
+
"MessageAvatar",
|
|
141
|
+
"MessageContent",
|
|
142
|
+
"MessageFooter",
|
|
143
|
+
"MessageGroup",
|
|
144
|
+
"MessageHeader",
|
|
145
|
+
"NativeSelect",
|
|
146
|
+
"NativeSelectOptGroup",
|
|
147
|
+
"NativeSelectOption",
|
|
148
|
+
"NavigationMenu",
|
|
149
|
+
"NavigationMenuContent",
|
|
150
|
+
"NavigationMenuItem",
|
|
151
|
+
"NavigationMenuLink",
|
|
152
|
+
"NavigationMenuList",
|
|
153
|
+
"NavigationMenuTrigger",
|
|
154
|
+
"navigationMenuTriggerStyle",
|
|
155
|
+
"NavigationMenuViewport",
|
|
156
|
+
"Pagination",
|
|
157
|
+
"PaginationContent",
|
|
158
|
+
"PaginationEllipsis",
|
|
159
|
+
"PaginationItem",
|
|
160
|
+
"PaginationLink",
|
|
161
|
+
"PaginationNext",
|
|
162
|
+
"PaginationPrevious",
|
|
163
|
+
"Popover",
|
|
164
|
+
"PopoverAnchor",
|
|
165
|
+
"PopoverContent",
|
|
166
|
+
"PopoverDescription",
|
|
167
|
+
"PopoverHeader",
|
|
168
|
+
"PopoverTitle",
|
|
169
|
+
"PopoverTrigger",
|
|
170
|
+
"Progress",
|
|
171
|
+
"RadioGroup",
|
|
172
|
+
"ResizableHandle",
|
|
173
|
+
"ResizablePanel",
|
|
174
|
+
"ResizablePanelGroup",
|
|
175
|
+
"ScrollArea",
|
|
176
|
+
"SelectPill",
|
|
177
|
+
"Separator",
|
|
178
|
+
"Sheet",
|
|
179
|
+
"SheetClose",
|
|
180
|
+
"SheetContent",
|
|
181
|
+
"SheetDescription",
|
|
182
|
+
"SheetFooter",
|
|
183
|
+
"SheetHeader",
|
|
184
|
+
"SheetOverlay",
|
|
185
|
+
"SheetTitle",
|
|
186
|
+
"SheetTrigger",
|
|
187
|
+
"Sidebar",
|
|
188
|
+
"SidebarContent",
|
|
189
|
+
"SidebarFooter",
|
|
190
|
+
"SidebarGroup",
|
|
191
|
+
"SidebarGroupAction",
|
|
192
|
+
"SidebarGroupContent",
|
|
193
|
+
"SidebarGroupLabel",
|
|
194
|
+
"SidebarHeader",
|
|
195
|
+
"SidebarInset",
|
|
196
|
+
"SidebarMenu",
|
|
197
|
+
"SidebarMenuAction",
|
|
198
|
+
"SidebarMenuBadge",
|
|
199
|
+
"SidebarMenuButton",
|
|
200
|
+
"SidebarMenuItem",
|
|
201
|
+
"SidebarMenuSub",
|
|
202
|
+
"SidebarMenuSubButton",
|
|
203
|
+
"SidebarMenuSubItem",
|
|
204
|
+
"SidebarProvider",
|
|
205
|
+
"SidebarRail",
|
|
206
|
+
"SidebarRow",
|
|
207
|
+
"SidebarSeparator",
|
|
208
|
+
"SidebarTrigger",
|
|
209
|
+
"Skeleton",
|
|
210
|
+
"Slider",
|
|
211
|
+
"Spinner",
|
|
212
|
+
"Stack",
|
|
213
|
+
"SwitchField",
|
|
214
|
+
"Table",
|
|
215
|
+
"TableBody",
|
|
216
|
+
"TableCaption",
|
|
217
|
+
"TableCell",
|
|
218
|
+
"TableFooter",
|
|
219
|
+
"TableHead",
|
|
220
|
+
"TableHeader",
|
|
221
|
+
"TableRow",
|
|
222
|
+
"Tabs",
|
|
223
|
+
"Textarea",
|
|
224
|
+
"Toggle",
|
|
225
|
+
"ToggleGroup",
|
|
226
|
+
"ToggleGroupItem",
|
|
227
|
+
"ToolCallCard",
|
|
228
|
+
"useComboboxAnchor",
|
|
229
|
+
"useDirection",
|
|
230
|
+
"useSidebar"
|
|
231
|
+
],
|
|
232
|
+
"groups": [
|
|
233
|
+
{
|
|
234
|
+
"source": "./contract-adapters.tsx",
|
|
235
|
+
"exports": [
|
|
236
|
+
"Field",
|
|
237
|
+
"Segmented",
|
|
238
|
+
"SelectField",
|
|
239
|
+
"SettingsRow"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"source": "@deepseek-ai/dsh-client-ui-primitives",
|
|
244
|
+
"exports": [
|
|
245
|
+
"Button",
|
|
246
|
+
"classifyFileType",
|
|
247
|
+
"classifyLinkPath",
|
|
248
|
+
"CodeBlock",
|
|
249
|
+
"ConnectionIndicator",
|
|
250
|
+
"DiffBlock",
|
|
251
|
+
"DisclosureRow",
|
|
252
|
+
"fileExtension",
|
|
253
|
+
"FileTypeIcon",
|
|
254
|
+
"HoverCard",
|
|
255
|
+
"Input",
|
|
256
|
+
"JsonBlock",
|
|
257
|
+
"JsonTree",
|
|
258
|
+
"LinkIconMedium",
|
|
259
|
+
"LinkIconRegular",
|
|
260
|
+
"MarkdownText",
|
|
261
|
+
"Menu",
|
|
262
|
+
"Modal",
|
|
263
|
+
"Pill",
|
|
264
|
+
"ReadBlock",
|
|
265
|
+
"ReferenceIconMedium",
|
|
266
|
+
"ReferenceIconRegular",
|
|
267
|
+
"RiskConfirmation",
|
|
268
|
+
"SearchBlock",
|
|
269
|
+
"StateDot",
|
|
270
|
+
"Switch",
|
|
271
|
+
"Tag",
|
|
272
|
+
"TerminalBlock",
|
|
273
|
+
"Toast",
|
|
274
|
+
"Tooltip",
|
|
275
|
+
"WebBlock"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"source": "local",
|
|
280
|
+
"exports": [
|
|
281
|
+
"footerAction",
|
|
282
|
+
"headerAction",
|
|
283
|
+
"roles",
|
|
284
|
+
"SecretField",
|
|
285
|
+
"settingsSection",
|
|
286
|
+
"sidebarTab",
|
|
287
|
+
"ValueField"
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"note": "Semantic roles (spec 038-ui-component-library, Q3 in research.md, approved). Components and the terminal layer name only these roles. This file is the ONLY place that maps a role to the app's --dsw-alias-* tokens, so an upstream rename touches one line. Roles marked new have no app token and are defined by this library with light-dark(). A role with web null is terminal-only (secondary: section headers and progress in the terminal). Contrast (WCAG) is enforced by tests/contrast.test.mjs: text roles at least 4.5:1 on a pure white or black terminal and 3:1 on a tinted one; dimmed text 3:1; border 1.4:1.",
|
|
4
|
+
"roles": {
|
|
5
|
+
"text": {
|
|
6
|
+
"web": "var(--dsw-alias-label-primary)",
|
|
7
|
+
"terminal": {
|
|
8
|
+
"dark": null,
|
|
9
|
+
"light": null
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"textMuted": {
|
|
13
|
+
"web": "var(--dsw-alias-label-tertiary)",
|
|
14
|
+
"terminal": {
|
|
15
|
+
"dark": "#94A3B8",
|
|
16
|
+
"light": "#64748B"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"textDimmed": {
|
|
20
|
+
"web": "var(--dsw-alias-label-dimmed)",
|
|
21
|
+
"terminal": {
|
|
22
|
+
"dark": "#64748B",
|
|
23
|
+
"light": "#76869E"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"surface": {
|
|
27
|
+
"web": "var(--dsw-alias-bg-layer-1)",
|
|
28
|
+
"terminal": {
|
|
29
|
+
"dark": null,
|
|
30
|
+
"light": null
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"surfaceRaised": {
|
|
34
|
+
"web": "var(--dsw-alias-bg-layer-2)",
|
|
35
|
+
"terminal": {
|
|
36
|
+
"dark": null,
|
|
37
|
+
"light": null
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"border": {
|
|
41
|
+
"web": "var(--dsw-alias-border-l4)",
|
|
42
|
+
"terminal": {
|
|
43
|
+
"dark": "#475569",
|
|
44
|
+
"light": "#AAB6C6"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"primary": {
|
|
48
|
+
"web": "var(--dsw-alias-brand-primary)",
|
|
49
|
+
"terminal": {
|
|
50
|
+
"dark": "#4F6BFE",
|
|
51
|
+
"light": "#3652D9"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"secondary": {
|
|
55
|
+
"web": null,
|
|
56
|
+
"terminal": {
|
|
57
|
+
"dark": "#38BDF8",
|
|
58
|
+
"light": "#0369A1"
|
|
59
|
+
},
|
|
60
|
+
"terminalOnly": true
|
|
61
|
+
},
|
|
62
|
+
"success": {
|
|
63
|
+
"web": "var(--dsw-alias-state-success-primary)",
|
|
64
|
+
"terminal": {
|
|
65
|
+
"dark": "#34D399",
|
|
66
|
+
"light": "#047857"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"warning": {
|
|
70
|
+
"web": "var(--dsw-alias-state-warn-primary)",
|
|
71
|
+
"terminal": {
|
|
72
|
+
"dark": "#FBBF24",
|
|
73
|
+
"light": "#B45309"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"error": {
|
|
77
|
+
"web": "var(--dsw-alias-state-error-primary)",
|
|
78
|
+
"terminal": {
|
|
79
|
+
"dark": "#F87171",
|
|
80
|
+
"light": "#DC2626"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"info": {
|
|
84
|
+
"web": "var(--dsw-alias-button-info-fill)",
|
|
85
|
+
"terminal": {
|
|
86
|
+
"dark": "#4F6BFE",
|
|
87
|
+
"light": "#3652D9"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"accent": {
|
|
91
|
+
"web": "light-dark(#4F46E5, #818CF8)",
|
|
92
|
+
"new": true,
|
|
93
|
+
"terminal": {
|
|
94
|
+
"dark": "#818CF8",
|
|
95
|
+
"light": "#4F46E5"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"reasoning": {
|
|
99
|
+
"web": "light-dark(#7C3AED, #A855F7)",
|
|
100
|
+
"new": true,
|
|
101
|
+
"terminal": {
|
|
102
|
+
"dark": "#A855F7",
|
|
103
|
+
"light": "#7E22CE"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
package/cordis.patch.yml
ADDED