@intlayer/design-system 8.1.8 → 8.1.9

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.
@@ -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?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "error" | "success" | "custom";
46
+ color?: "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "success";
47
47
  variant?: "default" | "none" | "outline" | "hoverable";
48
- size?: "md" | "sm" | "lg";
48
+ size?: "md" | "lg" | "sm";
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?: "md" | "sm" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
- color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "card" | "current" | "text-inverse" | "error" | "success" | "custom";
65
- roundedSize?: "md" | "sm" | "lg" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade" | "input";
63
+ size?: "md" | "lg" | "sm" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
+ color?: "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "text" | "current" | "text-inverse" | "success";
65
+ roundedSize?: "md" | "lg" | "sm" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
+ variant?: "input" | "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
69
69
  } & class_variance_authority_types0.ClassProp) => string;
@@ -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> | "asChild">, "value" | "onChange" | "type"> & {
32
+ }, "key" | keyof react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "onChange" | "type" | "value"> & {
33
33
  value?: string;
34
34
  onValueChange?: (search: string) => void;
35
35
  } & react.RefAttributes<HTMLInputElement>>;
@@ -73,7 +73,7 @@ declare const Command: {
73
73
  ref?: React.Ref<HTMLDivElement>;
74
74
  } & {
75
75
  asChild?: boolean;
76
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "disabled" | "value" | "onSelect"> & {
76
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
77
77
  disabled?: boolean;
78
78
  onSelect?: (value: string) => void;
79
79
  value?: string;
@@ -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?: "sm" | "md" | "lg" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "full";
12
- transparency?: "sm" | "md" | "lg" | "xs" | "none" | "xl" | "full";
13
- padding?: "sm" | "md" | "lg" | "none" | "xl" | "2xl";
14
- separator?: "without" | "x" | "y" | "both";
15
- border?: "none" | "with";
16
- borderColor?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "card" | "warning";
17
- background?: "hoverable" | "none" | "with";
18
- gap?: "sm" | "md" | "lg" | "none" | "xl" | "2xl";
11
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "full";
12
+ transparency?: "sm" | "md" | "lg" | "xl" | "none" | "full" | "xs";
13
+ padding?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
14
+ separator?: "without" | "both" | "x" | "y";
15
+ border?: "with" | "none";
16
+ borderColor?: "error" | "text" | "primary" | "secondary" | "neutral" | "card" | "success" | "warning";
17
+ background?: "with" | "none" | "hoverable";
18
+ gap?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
19
19
  } & class_variance_authority_types0.ClassProp) => string;
20
20
  /** Available rounded corner sizes for the container */
21
21
  declare enum ContainerRoundedSize {
@@ -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?: "text" | "primary" | "secondary" | "neutral" | "destructive" | "light" | "dark" | "error" | "success" | "custom";
9
+ color?: "custom" | "error" | "text" | "primary" | "secondary" | "neutral" | "destructive" | "light" | "dark" | "success";
10
10
  validationStyleEnabled?: "disabled" | "enabled";
11
11
  } & class_variance_authority_types0.ClassProp) => string;
12
12
  declare enum CheckboxSize {
@@ -54,9 +54,9 @@ declare enum LinkUnderlined {
54
54
  }
55
55
  declare const linkVariants: (props?: {
56
56
  variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
57
- roundedSize?: "md" | "sm" | "lg" | "none" | "xl" | "2xl" | "3xl" | "full";
58
- color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "error" | "success" | "custom";
59
- size?: "md" | "sm" | "lg" | "xl" | "custom";
57
+ roundedSize?: "md" | "lg" | "sm" | "xl" | "none" | "2xl" | "3xl" | "full";
58
+ color?: "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "success";
59
+ size?: "custom" | "md" | "lg" | "sm" | "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> & {
@@ -37,7 +37,7 @@ declare enum SwitchSelectorSize {
37
37
  LG = "lg"
38
38
  }
39
39
  declare const choiceVariant: (props?: {
40
- size?: "md" | "sm" | "lg";
40
+ size?: "md" | "lg" | "sm";
41
41
  } & class_variance_authority_types0.ClassProp) => string;
42
42
  /**
43
43
  *
@@ -185,9 +185,9 @@ declare enum TagBackground {
185
185
  WITH = "with"
186
186
  }
187
187
  declare const containerVariants: (props?: {
188
- roundedSize?: "md" | "sm" | "lg" | "none" | "xl" | "2xl" | "3xl" | "full";
189
- color?: "primary" | "neutral" | "text" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
- size?: "md" | "sm" | "lg" | "xl" | "xs";
188
+ roundedSize?: "md" | "lg" | "sm" | "xl" | "none" | "2xl" | "3xl" | "full";
189
+ color?: "error" | "primary" | "neutral" | "text" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
+ size?: "md" | "lg" | "sm" | "xl" | "xs";
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.8",
3
+ "version": "8.1.9",
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.8",
108
- "@intlayer/config": "8.1.8",
109
- "@intlayer/core": "8.1.8",
110
- "@intlayer/dictionaries-entry": "8.1.8",
111
- "@intlayer/editor-react": "8.1.8",
112
- "@intlayer/types": "8.1.8",
107
+ "@intlayer/api": "8.1.9",
108
+ "@intlayer/config": "8.1.9",
109
+ "@intlayer/core": "8.1.9",
110
+ "@intlayer/dictionaries-entry": "8.1.9",
111
+ "@intlayer/editor-react": "8.1.9",
112
+ "@intlayer/types": "8.1.9",
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.8",
122
+ "react-intlayer": "8.1.9",
123
123
  "rollup-preserve-directives": "1.1.3",
124
124
  "zod": "4.3.6"
125
125
  },
126
126
  "devDependencies": {
127
- "@intlayer/backend": "8.1.8",
127
+ "@intlayer/backend": "8.1.9",
128
128
  "@shikijs/transformers": "3.22.0",
129
129
  "@storybook/addon-a11y": "8.6.14",
130
130
  "@storybook/addon-essentials": "8.6.14",
@@ -153,14 +153,14 @@
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.8",
156
+ "intlayer": "8.1.9",
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.8",
163
+ "vite-intlayer": "8.1.9",
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.8",
171
+ "@intlayer/backend": "8.1.9",
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.8",
179
+ "intlayer": "8.1.9",
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.8",
184
+ "react-intlayer": "8.1.9",
185
185
  "shiki": "3.22.0",
186
186
  "tailwind-merge": "3.5.0",
187
187
  "tailwindcss": "4.2.0"