@intlayer/design-system 8.3.3 → 8.4.0-canary.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.
Files changed (56) hide show
  1. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  2. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
  3. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  4. package/dist/esm/components/DictionaryEditor/NodeWrapper/BooleanWrapper.mjs +2 -0
  5. package/dist/esm/components/DictionaryEditor/NodeWrapper/BooleanWrapper.mjs.map +1 -0
  6. package/dist/esm/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +1 -1
  7. package/dist/esm/components/DictionaryEditor/NodeWrapper/NumberWrapper.mjs +2 -0
  8. package/dist/esm/components/DictionaryEditor/NodeWrapper/NumberWrapper.mjs.map +1 -0
  9. package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  10. package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs.map +1 -1
  11. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +1 -1
  12. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  13. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  14. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
  15. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
  16. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  17. package/dist/esm/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  19. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +1 -1
  20. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  21. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
  22. package/dist/esm/components/Form/elements/OTPElement.mjs +1 -1
  23. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
  24. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
  25. package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
  26. package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  27. package/dist/esm/components/MaxHeightSmoother/index.mjs +1 -1
  28. package/dist/esm/components/MaxHeightSmoother/index.mjs.map +1 -1
  29. package/dist/esm/components/Modal/Modal.mjs +1 -1
  30. package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
  31. package/dist/esm/components/Pagination/Pagination.mjs +1 -1
  32. package/dist/esm/components/RightDrawer/RightDrawer.mjs +1 -1
  33. package/dist/esm/components/index.mjs +1 -1
  34. package/dist/esm/hooks/index.mjs +1 -1
  35. package/dist/esm/hooks/useAuth/useOAuth2.mjs +1 -1
  36. package/dist/esm/hooks/useAuth/useSession.mjs +1 -1
  37. package/dist/types/components/Badge/index.d.ts +2 -2
  38. package/dist/types/components/Button/Button.d.ts +3 -3
  39. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
  40. package/dist/types/components/Command/index.d.ts +2 -2
  41. package/dist/types/components/Container/index.d.ts +7 -7
  42. package/dist/types/components/DictionaryEditor/DictionaryEditor.d.ts +0 -2
  43. package/dist/types/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  44. package/dist/types/components/DictionaryEditor/NodeWrapper/BooleanWrapper.d.ts +11 -0
  45. package/dist/types/components/DictionaryEditor/NodeWrapper/BooleanWrapper.d.ts.map +1 -0
  46. package/dist/types/components/DictionaryEditor/NodeWrapper/NumberWrapper.d.ts +11 -0
  47. package/dist/types/components/DictionaryEditor/NodeWrapper/NumberWrapper.d.ts.map +1 -0
  48. package/dist/types/components/DictionaryEditor/NodeWrapper/index.d.ts.map +1 -1
  49. package/dist/types/components/Input/Checkbox.d.ts +1 -1
  50. package/dist/types/components/Link/Link.d.ts +3 -3
  51. package/dist/types/components/Pagination/Pagination.d.ts +2 -2
  52. package/dist/types/components/SwitchSelector/index.d.ts +1 -1
  53. package/dist/types/components/Tab/Tab.d.ts +2 -2
  54. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  55. package/dist/types/components/Tag/index.d.ts +2 -2
  56. package/package.json +16 -16
@@ -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?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | "4xl";
12
- transparency?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
13
- padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
14
- separator?: "both" | "without" | "x" | "y";
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?: "without" | "x" | "y" | "both";
15
15
  border?: "none" | "with";
16
- borderColor?: "error" | "success" | "primary" | "secondary" | "neutral" | "text" | "card" | "warning";
17
- background?: "none" | "hoverable" | "with";
18
- gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
16
+ borderColor?: "error" | "primary" | "secondary" | "neutral" | "card" | "text" | "warning" | "success";
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 {
@@ -1,11 +1,9 @@
1
1
  import { FC } from "react";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
- import { Locale } from "@intlayer/types/allLocales";
4
3
 
5
4
  //#region src/components/DictionaryEditor/DictionaryEditor.d.ts
6
5
  type DictionaryEditorProps = {
7
6
  dictionary: Dictionary;
8
- locale: Locale;
9
7
  onDelete?: () => void;
10
8
  };
11
9
  declare const DictionaryEditor: FC<DictionaryEditorProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"DictionaryEditor.d.ts","names":[],"sources":["../../../../src/components/DictionaryEditor/DictionaryEditor.tsx"],"mappings":";;;;;KAWK,qBAAA;EACH,UAAA,EAAY,UAAA;EACZ,MAAA,EAAQ,MAAA;EACR,QAAA;AAAA;AAAA,cAGW,gBAAA,EAAkB,EAAA,CAAG,qBAAA"}
1
+ {"version":3,"file":"DictionaryEditor.d.ts","names":[],"sources":["../../../../src/components/DictionaryEditor/DictionaryEditor.tsx"],"mappings":";;;;KAYK,qBAAA;EACH,UAAA,EAAY,UAAA;EACZ,QAAA;AAAA;AAAA,cAGW,gBAAA,EAAkB,EAAA,CAAG,qBAAA"}
@@ -0,0 +1,11 @@
1
+ import { NodeWrapperProps } from "./index.js";
2
+ import { FC } from "react";
3
+
4
+ //#region src/components/DictionaryEditor/NodeWrapper/BooleanWrapper.d.ts
5
+ type BooleanWrapperProps = Omit<NodeWrapperProps, 'section'> & {
6
+ section: boolean;
7
+ };
8
+ declare const BooleanWrapper: FC<BooleanWrapperProps>;
9
+ //#endregion
10
+ export { BooleanWrapper, BooleanWrapperProps };
11
+ //# sourceMappingURL=BooleanWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BooleanWrapper.d.ts","names":[],"sources":["../../../../../src/components/DictionaryEditor/NodeWrapper/BooleanWrapper.tsx"],"mappings":";;;;KASY,mBAAA,GAAsB,IAAA,CAAK,gBAAA;EACrC,OAAA;AAAA;AAAA,cAGW,cAAA,EAAgB,EAAA,CAAG,mBAAA"}
@@ -0,0 +1,11 @@
1
+ import { NodeWrapperProps } from "./index.js";
2
+ import { FC } from "react";
3
+
4
+ //#region src/components/DictionaryEditor/NodeWrapper/NumberWrapper.d.ts
5
+ type NumberWrapperProps = Omit<NodeWrapperProps, 'section'> & {
6
+ section: number;
7
+ };
8
+ declare const NumberWrapper: FC<NumberWrapperProps>;
9
+ //#endregion
10
+ export { NumberWrapper, NumberWrapperProps };
11
+ //# sourceMappingURL=NumberWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberWrapper.d.ts","names":[],"sources":["../../../../../src/components/DictionaryEditor/NodeWrapper/NumberWrapper.tsx"],"mappings":";;;;KAOY,kBAAA,GAAqB,IAAA,CAAK,gBAAA;EACpC,OAAA;AAAA;AAAA,cAGW,aAAA,EAAe,EAAA,CAAG,kBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/components/DictionaryEditor/NodeWrapper/index.tsx"],"mappings":";;;;;;cAgCa,SAAA;AAAA,KAED,gBAAA;EACV,OAAA,EAAS,OAAA;EACT,UAAA,EAAY,UAAA;EACZ,OAAA,EAAS,WAAA;EACT,eAAA,GAAkB,OAAA;IAAW,OAAA,EAAS,OAAA;IAAW,QAAA;EAAA;EACjD,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,WAAA;EACf,cAAA,EAAgB,OAAA;EAChB,cAAA,GAAiB,OAAA,EAAS,OAAA;EAC1B,WAAA,IAAe,OAAA,EAAS,OAAA;EACxB,aAAA,IAAiB,OAAA,aAAoB,SAAA;AAAA;AAAA,cAG1B,WAAA,EAAa,EAAA,CAAG,gBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/components/DictionaryEditor/NodeWrapper/index.tsx"],"mappings":";;;;;;cAkCa,SAAA;AAAA,KAED,gBAAA;EACV,OAAA,EAAS,OAAA;EACT,UAAA,EAAY,UAAA;EACZ,OAAA,EAAS,WAAA;EACT,eAAA,GAAkB,OAAA;IAAW,OAAA,EAAS,OAAA;IAAW,QAAA;EAAA;EACjD,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,WAAA;EACf,cAAA,EAAgB,OAAA;EAChB,cAAA,GAAiB,OAAA,EAAS,OAAA;EAC1B,WAAA,IAAe,OAAA,EAAS,OAAA;EACxB,aAAA,IAAiB,OAAA,aAAoB,SAAA;AAAA;AAAA,cAG1B,WAAA,EAAa,EAAA,CAAG,gBAAA"}
@@ -6,7 +6,7 @@ import { VariantProps } from "class-variance-authority";
6
6
  declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
8
  size?: "xs" | "sm" | "md" | "lg";
9
- color?: "error" | "success" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "text" | "dark" | "custom";
9
+ color?: "error" | "primary" | "secondary" | "neutral" | "text" | "success" | "destructive" | "light" | "dark" | "custom";
10
10
  validationStyleEnabled?: "enabled" | "disabled";
11
11
  } & class_variance_authority_types0.ClassProp) => string;
12
12
  declare enum CheckboxSize {
@@ -53,9 +53,9 @@ declare enum LinkUnderlined {
53
53
  FALSE = "false"
54
54
  }
55
55
  declare const linkVariants: (props?: {
56
- variant?: "default" | "invisible-link" | "button" | "button-outlined" | "hoverable";
57
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
58
- color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "error" | "success" | "custom";
56
+ variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
57
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
58
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text-inverse" | "error" | "success" | "custom";
59
59
  size?: "sm" | "md" | "lg" | "xl" | "custom";
60
60
  underlined?: boolean | LinkUnderlined.DEFAULT;
61
61
  } & class_variance_authority_types0.ClassProp) => string;
@@ -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" | "destructive" | "neutral" | "text";
9
- variant?: "default" | "bordered" | "ghost";
8
+ color?: "primary" | "secondary" | "neutral" | "text" | "destructive";
9
+ variant?: "default" | "ghost" | "bordered";
10
10
  } & class_variance_authority_types0.ClassProp) => string;
11
11
  declare enum PaginationSize {
12
12
  SM = "sm",
@@ -29,7 +29,7 @@ declare enum SwitchSelectorColor {
29
29
  TEXT = "text"
30
30
  }
31
31
  declare const switchSelectorVariant: (props?: {
32
- color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
32
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
33
33
  disabled?: boolean;
34
34
  } & class_variance_authority_types0.ClassProp) => string;
35
35
  declare enum SwitchSelectorSize {
@@ -5,8 +5,8 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/Tab/Tab.d.ts
7
7
  declare const tabContainerVariant: (props?: {
8
- background?: "with" | "without";
9
- variant?: "default" | "bordered" | "ghost";
8
+ background?: "without" | "with";
9
+ variant?: "default" | "ghost" | "bordered";
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?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "text" | "dark";
18
+ color?: "primary" | "secondary" | "neutral" | "text" | "destructive" | "light" | "dark";
19
19
  } & class_variance_authority_types0.ClassProp) => string;
20
20
  type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
21
21
  key: string | number;
@@ -185,8 +185,8 @@ declare enum TagBackground {
185
185
  WITH = "with"
186
186
  }
187
187
  declare const containerVariants: (props?: {
188
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
189
- color?: "primary" | "neutral" | "text" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
188
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
189
+ color?: "text" | "primary" | "neutral" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
190
  size?: "xs" | "sm" | "md" | "lg" | "xl";
191
191
  border?: "none" | "with";
192
192
  background?: "none" | "with";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "8.3.3",
3
+ "version": "8.4.0-canary.0",
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": [
@@ -106,12 +106,12 @@
106
106
  "dependencies": {
107
107
  "@better-auth/passkey": "1.5.5",
108
108
  "@better-auth/sso": "1.5.5",
109
- "@intlayer/api": "8.3.3",
110
- "@intlayer/config": "8.3.3",
111
- "@intlayer/core": "8.3.3",
112
- "@intlayer/dictionaries-entry": "8.3.3",
113
- "@intlayer/editor-react": "8.3.3",
114
- "@intlayer/types": "8.3.3",
109
+ "@intlayer/api": "8.4.0-canary.0",
110
+ "@intlayer/config": "8.4.0-canary.0",
111
+ "@intlayer/core": "8.4.0-canary.0",
112
+ "@intlayer/dictionaries-entry": "8.4.0-canary.0",
113
+ "@intlayer/editor-react": "8.4.0-canary.0",
114
+ "@intlayer/types": "8.4.0-canary.0",
115
115
  "@radix-ui/react-dialog": "1.1.15",
116
116
  "@radix-ui/react-select": "2.2.6",
117
117
  "@radix-ui/react-slot": "1.2.4",
@@ -120,12 +120,12 @@
120
120
  "better-auth": "1.5.5",
121
121
  "class-variance-authority": "0.7.1",
122
122
  "cmdk": "1.1.1",
123
- "react-intlayer": "8.3.3",
123
+ "react-intlayer": "8.4.0-canary.0",
124
124
  "rollup-preserve-directives": "1.1.3",
125
125
  "zod": "4.3.6"
126
126
  },
127
127
  "devDependencies": {
128
- "@intlayer/backend": "8.3.3",
128
+ "@intlayer/backend": "8.4.0-canary.0",
129
129
  "@shikijs/transformers": "4.0.2",
130
130
  "@storybook/addon-a11y": "8.6.14",
131
131
  "@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.3.3",
157
+ "intlayer": "8.4.0-canary.0",
158
158
  "rimraf": "6.1.3",
159
159
  "shiki": "4.0.2",
160
160
  "storybook": "8.6.17",
161
- "tsdown": "0.21.2",
161
+ "tsdown": "0.21.4",
162
162
  "typescript": "5.9.3",
163
163
  "vite": "8.0.0",
164
- "vite-intlayer": "8.3.3",
164
+ "vite-intlayer": "8.4.0-canary.0",
165
165
  "vite-plugin-dts": "4.5.4",
166
166
  "vite-tsconfig-paths": "6.1.1",
167
167
  "vitest": "4.1.0"
@@ -169,20 +169,20 @@
169
169
  "peerDependencies": {
170
170
  "@better-fetch/fetch": "1.1.21",
171
171
  "@hookform/resolvers": "5.2.2",
172
- "@intlayer/backend": "8.3.3",
172
+ "@intlayer/backend": "8.4.0-canary.0",
173
173
  "@monaco-editor/react": "4.7.0",
174
174
  "@shikijs/transformers": "4.0.2",
175
175
  "@tanstack/react-query": "5.90.21",
176
176
  "@tanstack/react-query-devtools": "5.91.3",
177
177
  "clsx": "2.1.1",
178
- "framer-motion": "12.36.0",
178
+ "framer-motion": "12.37.0",
179
179
  "fuse.js": "7.1.0",
180
- "intlayer": "8.3.3",
180
+ "intlayer": "8.4.0-canary.0",
181
181
  "lucide-react": "0.577.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.3.3",
185
+ "react-intlayer": "8.4.0-canary.0",
186
186
  "shiki": "4.0.2",
187
187
  "tailwind-merge": "3.5.0",
188
188
  "tailwindcss": "4.2.1"