@intlayer/design-system 8.1.4 → 8.1.6

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.
@@ -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" | "lg" | "sm" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
- color?: "text" | "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "success";
65
- roundedSize?: "md" | "lg" | "none" | "sm" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "default" | "none" | "input" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
63
+ size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "text" | "current" | "text-inverse" | "error" | "success" | "custom";
65
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
66
+ variant?: "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade" | "input";
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" | "asChild" | keyof react.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
32
+ }, "key" | keyof react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "value" | "onChange"> & {
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?: "sm" | "md" | "lg" | "xl" | "full" | "none" | "2xl" | "3xl" | "4xl";
12
- transparency?: "sm" | "md" | "lg" | "xl" | "full" | "none" | "xs";
13
- padding?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
14
- separator?: "without" | "x" | "y" | "both";
15
- border?: "with" | "none";
16
- borderColor?: "primary" | "secondary" | "neutral" | "card" | "text" | "error" | "warning" | "success";
17
- background?: "with" | "none" | "hoverable";
18
- gap?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
11
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "full";
12
+ transparency?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
13
+ padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
14
+ separator?: "both" | "without" | "x" | "y";
15
+ border?: "none" | "with";
16
+ borderColor?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "card" | "warning";
17
+ background?: "none" | "with" | "hoverable";
18
+ gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
19
19
  } & class_variance_authority_types0.ClassProp) => string;
20
20
  /** Available rounded corner sizes for the container */
21
21
  declare enum ContainerRoundedSize {
@@ -5,8 +5,8 @@ import { VariantProps } from "class-variance-authority";
5
5
  //#region src/components/Input/Checkbox.d.ts
6
6
  declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
- size?: "sm" | "md" | "lg" | "xs";
9
- color?: "dark" | "primary" | "secondary" | "neutral" | "text" | "error" | "success" | "custom" | "destructive" | "light";
8
+ size?: "xs" | "sm" | "md" | "lg";
9
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "error" | "success" | "custom";
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" | "lg" | "none" | "sm" | "xl" | "2xl" | "3xl" | "full";
58
- color?: "text" | "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text-inverse" | "success";
59
- size?: "md" | "lg" | "sm" | "xl" | "custom";
57
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
58
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "error" | "success" | "custom";
59
+ size?: "sm" | "md" | "lg" | "xl" | "custom";
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,8 +5,8 @@ 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?: "primary" | "secondary" | "neutral" | "text" | "destructive";
9
- variant?: "default" | "ghost" | "bordered";
8
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral";
9
+ variant?: "default" | "bordered" | "ghost";
10
10
  } & class_variance_authority_types0.ClassProp) => string;
11
11
  declare enum PaginationSize {
12
12
  SM = "sm",
@@ -28,7 +28,7 @@ declare enum SwitchSelectorColor {
28
28
  TEXT = "text"
29
29
  }
30
30
  declare const switchSelectorVariant: (props?: {
31
- color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
31
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
32
32
  disabled?: boolean;
33
33
  } & class_variance_authority_types0.ClassProp) => string;
34
34
  declare enum SwitchSelectorSize {
@@ -37,7 +37,7 @@ declare enum SwitchSelectorSize {
37
37
  LG = "lg"
38
38
  }
39
39
  declare const choiceVariant: (props?: {
40
- size?: "md" | "lg" | "sm";
40
+ size?: "sm" | "md" | "lg";
41
41
  } & class_variance_authority_types0.ClassProp) => string;
42
42
  /**
43
43
  *
@@ -6,7 +6,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
6
  //#region src/components/Tab/Tab.d.ts
7
7
  declare const tabContainerVariant: (props?: {
8
8
  background?: "with" | "without";
9
- variant?: "default" | "ghost" | "bordered";
9
+ variant?: "default" | "bordered" | "ghost";
10
10
  } & class_variance_authority_types0.ClassProp) => string;
11
11
  type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContainerVariant> & {
12
12
  defaultTab?: string;
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
15
15
  TEXT = "text"
16
16
  }
17
17
  declare const tabSelectorVariant: (props?: {
18
- color?: "dark" | "primary" | "secondary" | "neutral" | "text" | "destructive" | "light";
18
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
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?: "md" | "lg" | "none" | "sm" | "xl" | "2xl" | "3xl" | "full";
189
- color?: "text" | "error" | "primary" | "neutral" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
- size?: "md" | "lg" | "xs" | "sm" | "xl";
188
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
189
+ color?: "primary" | "neutral" | "text" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
+ size?: "xs" | "sm" | "md" | "lg" | "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.4",
3
+ "version": "8.1.6",
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": [
@@ -105,12 +105,12 @@
105
105
  "dependencies": {
106
106
  "@better-auth/passkey": "1.4.18",
107
107
  "@better-auth/sso": "1.4.18",
108
- "@intlayer/api": "8.1.4",
109
- "@intlayer/config": "8.1.4",
110
- "@intlayer/core": "8.1.4",
111
- "@intlayer/dictionaries-entry": "8.1.4",
112
- "@intlayer/editor-react": "8.1.4",
113
- "@intlayer/types": "8.1.4",
108
+ "@intlayer/api": "8.1.6",
109
+ "@intlayer/config": "8.1.6",
110
+ "@intlayer/core": "8.1.6",
111
+ "@intlayer/dictionaries-entry": "8.1.6",
112
+ "@intlayer/editor-react": "8.1.6",
113
+ "@intlayer/types": "8.1.6",
114
114
  "@radix-ui/react-dialog": "1.1.15",
115
115
  "@radix-ui/react-select": "2.2.6",
116
116
  "@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.4",
122
+ "react-intlayer": "8.1.6",
123
123
  "rollup-preserve-directives": "1.1.3",
124
124
  "zod": "4.3.6"
125
125
  },
126
126
  "devDependencies": {
127
- "@intlayer/backend": "8.1.4",
127
+ "@intlayer/backend": "8.1.6",
128
128
  "@shikijs/transformers": "3.22.0",
129
129
  "@storybook/addon-a11y": "8.6.14",
130
130
  "@storybook/addon-essentials": "8.6.14",
@@ -154,14 +154,14 @@
154
154
  "@utils/ts-config": "1.0.4",
155
155
  "@utils/ts-config-types": "1.0.4",
156
156
  "fast-glob": "3.3.3",
157
- "intlayer": "8.1.4",
157
+ "intlayer": "8.1.6",
158
158
  "rimraf": "6.1.3",
159
159
  "shiki": "3.22.0",
160
160
  "storybook": "8.6.17",
161
161
  "tsdown": "0.20.3",
162
162
  "typescript": "5.9.3",
163
163
  "vite": "7.3.1",
164
- "vite-intlayer": "8.1.4",
164
+ "vite-intlayer": "8.1.6",
165
165
  "vite-plugin-dts": "4.5.4",
166
166
  "vite-tsconfig-paths": "6.1.1",
167
167
  "vitest": "4.0.18"
@@ -169,7 +169,7 @@
169
169
  "peerDependencies": {
170
170
  "@better-fetch/fetch": "1.1.21",
171
171
  "@hookform/resolvers": "5.2.2",
172
- "@intlayer/backend": "8.1.4",
172
+ "@intlayer/backend": "8.1.6",
173
173
  "@monaco-editor/react": "4.7.0",
174
174
  "@shikijs/transformers": "3.22.0",
175
175
  "@tanstack/react-query": "5.90.21",
@@ -177,12 +177,12 @@
177
177
  "clsx": "2.1.1",
178
178
  "framer-motion": "12.34.3",
179
179
  "fuse.js": "7.1.0",
180
- "intlayer": "8.1.4",
180
+ "intlayer": "8.1.6",
181
181
  "lucide-react": "0.575.0",
182
182
  "react": ">=16.0.0",
183
183
  "react-dom": ">=16.0.0",
184
184
  "react-hook-form": "7.71.2",
185
- "react-intlayer": "8.1.4",
185
+ "react-intlayer": "8.1.6",
186
186
  "shiki": "3.22.0",
187
187
  "tailwind-merge": "3.5.0",
188
188
  "tailwindcss": "4.2.0"