@intlayer/design-system 8.1.9 → 8.1.10
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/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts +4 -4
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +1 -1
- package/dist/types/components/Container/index.d.ts +6 -6
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/SwitchSelector/index.d.ts +1 -1
- package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +3 -3
- package/package.json +16 -16
|
@@ -43,9 +43,9 @@ declare enum BadgeSize {
|
|
|
43
43
|
* @description Defines the styling variants for different badge combinations
|
|
44
44
|
*/
|
|
45
45
|
declare const badgeVariants: (props?: {
|
|
46
|
-
color?: "
|
|
46
|
+
color?: "primary" | "secondary" | "destructive" | "success" | "error" | "neutral" | "light" | "dark" | "text" | "custom";
|
|
47
47
|
variant?: "default" | "none" | "outline" | "hoverable";
|
|
48
|
-
size?: "
|
|
48
|
+
size?: "sm" | "md" | "lg";
|
|
49
49
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
50
50
|
/**
|
|
51
51
|
* Badge component props interface
|
|
@@ -60,10 +60,10 @@ declare enum ButtonTextAlign {
|
|
|
60
60
|
* Enhanced button variants with improved accessibility and focus states
|
|
61
61
|
*/
|
|
62
62
|
declare const buttonVariants: (props?: {
|
|
63
|
-
size?: "
|
|
64
|
-
color?: "
|
|
65
|
-
roundedSize?: "
|
|
66
|
-
variant?: "input" | "default" | "none" | "outline" | "
|
|
63
|
+
size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
|
|
64
|
+
color?: "primary" | "secondary" | "destructive" | "success" | "error" | "neutral" | "light" | "dark" | "text" | "custom" | "card" | "current" | "text-inverse";
|
|
65
|
+
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
|
|
66
|
+
variant?: "input" | "default" | "none" | "outline" | "hoverable" | "link" | "invisible-link" | "fade";
|
|
67
67
|
textAlign?: "left" | "center" | "right";
|
|
68
68
|
isFullWidth?: boolean;
|
|
69
69
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
@@ -5,8 +5,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
//#region src/components/CollapsibleTable/CollapsibleTable.d.ts
|
|
6
6
|
declare const collapsibleTableVariants: (props?: {
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
8
|
-
variant?: "default" | "
|
|
9
|
-
spacing?: "
|
|
8
|
+
variant?: "default" | "dark" | "ghost" | "outlined";
|
|
9
|
+
spacing?: "none" | "sm" | "md" | "lg" | "auto";
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
11
11
|
interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
|
|
12
12
|
/** Table title displayed in the header */
|
|
@@ -29,7 +29,7 @@ declare const Command: {
|
|
|
29
29
|
ref?: React.Ref<HTMLInputElement>;
|
|
30
30
|
} & {
|
|
31
31
|
asChild?: boolean;
|
|
32
|
-
}, "key" | keyof react.InputHTMLAttributes<HTMLInputElement
|
|
32
|
+
}, "key" | "asChild" | keyof react.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
33
33
|
value?: string;
|
|
34
34
|
onValueChange?: (search: string) => void;
|
|
35
35
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -8,14 +8,14 @@ import { VariantProps } from "class-variance-authority";
|
|
|
8
8
|
* Provides flexible styling options for background, padding, borders, and layout
|
|
9
9
|
*/
|
|
10
10
|
declare const containerVariants: (props?: {
|
|
11
|
-
roundedSize?: "
|
|
12
|
-
transparency?: "
|
|
13
|
-
padding?: "
|
|
14
|
-
separator?: "without" | "
|
|
11
|
+
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full";
|
|
12
|
+
transparency?: "none" | "sm" | "md" | "lg" | "xs" | "xl" | "full";
|
|
13
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
14
|
+
separator?: "without" | "x" | "y" | "both";
|
|
15
15
|
border?: "with" | "none";
|
|
16
|
-
borderColor?: "error" | "
|
|
16
|
+
borderColor?: "error" | "primary" | "secondary" | "success" | "neutral" | "text" | "card" | "warning";
|
|
17
17
|
background?: "with" | "none" | "hoverable";
|
|
18
|
-
gap?: "
|
|
18
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
19
19
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
20
20
|
/** Available rounded corner sizes for the container */
|
|
21
21
|
declare enum ContainerRoundedSize {
|
|
@@ -8,8 +8,8 @@ declare const useDictionaryDetailsSchema: (projectId: string) => z.ZodObject<{
|
|
|
8
8
|
projectIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9
9
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10
10
|
location: z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
remote: "remote";
|
|
12
11
|
local: "local";
|
|
12
|
+
remote: "remote";
|
|
13
13
|
hybrid: "hybrid";
|
|
14
14
|
plugin: "plugin";
|
|
15
15
|
}>>;
|
|
@@ -6,7 +6,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
6
6
|
declare const checkboxVariants: (props?: {
|
|
7
7
|
variant?: "default";
|
|
8
8
|
size?: "sm" | "md" | "lg" | "xs";
|
|
9
|
-
color?: "
|
|
9
|
+
color?: "error" | "primary" | "secondary" | "destructive" | "success" | "neutral" | "light" | "dark" | "text" | "custom";
|
|
10
10
|
validationStyleEnabled?: "disabled" | "enabled";
|
|
11
11
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
12
12
|
declare enum CheckboxSize {
|
|
@@ -53,10 +53,10 @@ declare enum LinkUnderlined {
|
|
|
53
53
|
FALSE = "false"
|
|
54
54
|
}
|
|
55
55
|
declare const linkVariants: (props?: {
|
|
56
|
-
variant?: "default" | "
|
|
57
|
-
roundedSize?: "
|
|
58
|
-
color?: "
|
|
59
|
-
size?: "custom" | "
|
|
56
|
+
variant?: "default" | "hoverable" | "invisible-link" | "button" | "button-outlined";
|
|
57
|
+
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
58
|
+
color?: "primary" | "secondary" | "destructive" | "success" | "error" | "neutral" | "light" | "dark" | "text" | "custom" | "text-inverse";
|
|
59
|
+
size?: "custom" | "sm" | "md" | "lg" | "xl";
|
|
60
60
|
underlined?: boolean | LinkUnderlined.DEFAULT;
|
|
61
61
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
62
62
|
type LinkProps = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & VariantProps<typeof linkVariants> & {
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
//#region src/components/Pagination/Pagination.d.ts
|
|
6
6
|
declare const paginationVariants: (props?: {
|
|
7
7
|
size?: "sm" | "md" | "lg";
|
|
8
|
-
color?: "
|
|
8
|
+
color?: "primary" | "secondary" | "destructive" | "neutral" | "text";
|
|
9
9
|
variant?: "default" | "bordered" | "ghost";
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
11
11
|
declare enum PaginationSize {
|
|
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
|
|
|
15
15
|
TEXT = "text"
|
|
16
16
|
}
|
|
17
17
|
declare const tabSelectorVariant: (props?: {
|
|
18
|
-
color?: "
|
|
18
|
+
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
19
19
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
20
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
21
21
|
key: string | number;
|
|
@@ -185,9 +185,9 @@ declare enum TagBackground {
|
|
|
185
185
|
WITH = "with"
|
|
186
186
|
}
|
|
187
187
|
declare const containerVariants: (props?: {
|
|
188
|
-
roundedSize?: "
|
|
189
|
-
color?: "
|
|
190
|
-
size?: "
|
|
188
|
+
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
189
|
+
color?: "primary" | "success" | "error" | "neutral" | "text" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
193
|
} & class_variance_authority_types0.ClassProp) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@better-auth/passkey": "1.4.18",
|
|
106
106
|
"@better-auth/sso": "1.4.18",
|
|
107
|
-
"@intlayer/api": "8.1.
|
|
108
|
-
"@intlayer/config": "8.1.
|
|
109
|
-
"@intlayer/core": "8.1.
|
|
110
|
-
"@intlayer/dictionaries-entry": "8.1.
|
|
111
|
-
"@intlayer/editor-react": "8.1.
|
|
112
|
-
"@intlayer/types": "8.1.
|
|
107
|
+
"@intlayer/api": "8.1.10",
|
|
108
|
+
"@intlayer/config": "8.1.10",
|
|
109
|
+
"@intlayer/core": "8.1.10",
|
|
110
|
+
"@intlayer/dictionaries-entry": "8.1.10",
|
|
111
|
+
"@intlayer/editor-react": "8.1.10",
|
|
112
|
+
"@intlayer/types": "8.1.10",
|
|
113
113
|
"@radix-ui/react-dialog": "1.1.15",
|
|
114
114
|
"@radix-ui/react-select": "2.2.6",
|
|
115
115
|
"@radix-ui/react-slot": "1.2.4",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"bun": "1.3.2",
|
|
120
120
|
"class-variance-authority": "0.7.1",
|
|
121
121
|
"cmdk": "1.1.1",
|
|
122
|
-
"react-intlayer": "8.1.
|
|
122
|
+
"react-intlayer": "8.1.10",
|
|
123
123
|
"rollup-preserve-directives": "1.1.3",
|
|
124
124
|
"zod": "4.3.6"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@intlayer/backend": "8.1.
|
|
127
|
+
"@intlayer/backend": "8.1.10",
|
|
128
128
|
"@shikijs/transformers": "3.22.0",
|
|
129
129
|
"@storybook/addon-a11y": "8.6.14",
|
|
130
130
|
"@storybook/addon-essentials": "8.6.14",
|
|
@@ -142,25 +142,25 @@
|
|
|
142
142
|
"@svgr/core": "8.1.0",
|
|
143
143
|
"@svgr/rollup": "8.1.0",
|
|
144
144
|
"@tailwindcss/cli": "4.2.0",
|
|
145
|
-
"@tailwindcss/vite": "4.2.
|
|
145
|
+
"@tailwindcss/vite": "4.2.1",
|
|
146
146
|
"@testing-library/jest-dom": "6.9.1",
|
|
147
147
|
"@testing-library/react": "16.3.2",
|
|
148
148
|
"@testing-library/user-event": "14.6.1",
|
|
149
149
|
"@types/espree": "11.1.0",
|
|
150
|
-
"@types/node": "25.3.
|
|
150
|
+
"@types/node": "25.3.3",
|
|
151
151
|
"@types/react": "19.2.14",
|
|
152
152
|
"@types/react-dom": "19.2.3",
|
|
153
153
|
"@utils/ts-config": "1.0.4",
|
|
154
154
|
"@utils/ts-config-types": "1.0.4",
|
|
155
155
|
"fast-glob": "3.3.3",
|
|
156
|
-
"intlayer": "8.1.
|
|
156
|
+
"intlayer": "8.1.10",
|
|
157
157
|
"rimraf": "6.1.3",
|
|
158
158
|
"shiki": "3.22.0",
|
|
159
159
|
"storybook": "8.6.17",
|
|
160
160
|
"tsdown": "0.20.3",
|
|
161
161
|
"typescript": "5.9.3",
|
|
162
162
|
"vite": "7.3.1",
|
|
163
|
-
"vite-intlayer": "8.1.
|
|
163
|
+
"vite-intlayer": "8.1.10",
|
|
164
164
|
"vite-plugin-dts": "4.5.4",
|
|
165
165
|
"vite-tsconfig-paths": "6.1.1",
|
|
166
166
|
"vitest": "4.0.18"
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"peerDependencies": {
|
|
169
169
|
"@better-fetch/fetch": "1.1.21",
|
|
170
170
|
"@hookform/resolvers": "5.2.2",
|
|
171
|
-
"@intlayer/backend": "8.1.
|
|
171
|
+
"@intlayer/backend": "8.1.10",
|
|
172
172
|
"@monaco-editor/react": "4.7.0",
|
|
173
173
|
"@shikijs/transformers": "3.22.0",
|
|
174
174
|
"@tanstack/react-query": "5.90.21",
|
|
@@ -176,12 +176,12 @@
|
|
|
176
176
|
"clsx": "2.1.1",
|
|
177
177
|
"framer-motion": "12.34.3",
|
|
178
178
|
"fuse.js": "7.1.0",
|
|
179
|
-
"intlayer": "8.1.
|
|
179
|
+
"intlayer": "8.1.10",
|
|
180
180
|
"lucide-react": "0.575.0",
|
|
181
181
|
"react": ">=16.0.0",
|
|
182
182
|
"react-dom": ">=16.0.0",
|
|
183
183
|
"react-hook-form": "7.71.2",
|
|
184
|
-
"react-intlayer": "8.1.
|
|
184
|
+
"react-intlayer": "8.1.10",
|
|
185
185
|
"shiki": "3.22.0",
|
|
186
186
|
"tailwind-merge": "3.5.0",
|
|
187
187
|
"tailwindcss": "4.2.0"
|