Skip to content

Commit 0517f3b

Browse files
authored
chore: support 'custom_design_system' ui library (#70)
1 parent a416bee commit 0517f3b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

sdk-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@animaapp/anima-sdk-react",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"type": "module",
55
"description": "Anima's JavaScript utilities library",
66
"author": "Anima App, Inc.",

sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@animaapp/anima-sdk",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"type": "module",
55
"description": "Anima's JavaScript utilities library",
66
"author": "Anima App, Inc.",

sdk/src/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const CodegenSettingsSchema = z
1515
model: z.string().optional(),
1616
styling: z.enum(["plain_css", "tailwind", "inline_styles"]),
1717
uiLibrary: z
18-
.enum(["mui", "antd", "radix", "shadcn", "clean_react"])
18+
.enum(["mui", "antd", "radix", "shadcn", "clean_react", "custom_design_system"])
1919
.optional(),
2020
responsivePages: z
2121
.array(
@@ -54,7 +54,7 @@ export type CodegenSettings = BaseSettings & {
5454
model?: string;
5555
framework: "react" | "html";
5656
styling: "plain_css" | "tailwind" | "inline_styles";
57-
uiLibrary?: "mui" | "antd" | "radix" | "shadcn" | "clean_react";
57+
uiLibrary?: "mui" | "antd" | "radix" | "shadcn" | "clean_react" | "custom_design_system";
5858
responsivePages?: Array<{
5959
name: string;
6060
framesId: string[];

sdk/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export type GetCodeFromPromptSettings = BaseSettings & {
180180
language?: "typescript";
181181
framework: "react" | "html";
182182
styling: "tailwind" | "inline_styles";
183-
uiLibrary?: "shadcn";
183+
uiLibrary?: "shadcn" | "custom_design_system";
184184
};
185185

186186
export type AttachToGenerationJobParams = {

0 commit comments

Comments
 (0)