@intlayer/design-system 8.1.4 → 8.1.5

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 (38) hide show
  1. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +1 -1
  2. package/dist/types/components/Browser/Browser.content.d.ts +8 -8
  3. package/dist/types/components/Button/Button.d.ts +4 -4
  4. package/dist/types/components/Carousel/index.content.d.ts +3 -3
  5. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
  6. package/dist/types/components/Command/index.d.ts +2 -2
  7. package/dist/types/components/Container/index.d.ts +8 -8
  8. package/dist/types/components/CopyButton/CopyButton.content.d.ts +1 -1
  9. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +12 -12
  10. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +4 -4
  11. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +27 -27
  12. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +16 -16
  13. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +12 -12
  14. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +16 -16
  15. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +4 -4
  16. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +3 -3
  17. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +2 -2
  18. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +15 -15
  19. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +1 -1
  20. package/dist/types/components/IDE/code.content.d.ts +2 -2
  21. package/dist/types/components/IDE/copyCode.content.d.ts +2 -2
  22. package/dist/types/components/IDE/selectors.content.d.ts +6 -6
  23. package/dist/types/components/Input/Checkbox.d.ts +1 -1
  24. package/dist/types/components/Link/Link.d.ts +4 -4
  25. package/dist/types/components/Loader/index.content.d.ts +1 -1
  26. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +8 -8
  27. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +6 -6
  28. package/dist/types/components/Pagination/Pagination.d.ts +2 -2
  29. package/dist/types/components/Pagination/pagination.content.d.ts +5 -5
  30. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +2 -2
  31. package/dist/types/components/SwitchSelector/index.d.ts +2 -2
  32. package/dist/types/components/Tab/Tab.d.ts +1 -1
  33. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  34. package/dist/types/components/Table/table.content.d.ts +1 -1
  35. package/dist/types/components/Tag/index.d.ts +3 -3
  36. package/dist/types/components/Terminal/terminal.content.d.ts +2 -2
  37. package/dist/types/components/Toaster/Toast.d.ts +1 -1
  38. package/package.json +4 -4
@@ -25,7 +25,7 @@ declare const selectorsContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  en: string;
@@ -68,7 +68,7 @@ declare const selectorsContent: {
68
68
  vi: string;
69
69
  uk: string;
70
70
  }, {
71
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  en: string;
@@ -113,7 +113,7 @@ declare const selectorsContent: {
113
113
  vi: string;
114
114
  uk: string;
115
115
  }, {
116
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
116
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
117
117
  } & {
118
118
  translation: {
119
119
  en: string;
@@ -156,7 +156,7 @@ declare const selectorsContent: {
156
156
  vi: string;
157
157
  uk: string;
158
158
  }, {
159
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
159
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
160
160
  } & {
161
161
  translation: {
162
162
  en: string;
@@ -201,7 +201,7 @@ declare const selectorsContent: {
201
201
  vi: string;
202
202
  uk: string;
203
203
  }, {
204
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
204
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
205
205
  } & {
206
206
  translation: {
207
207
  en: string;
@@ -244,7 +244,7 @@ declare const selectorsContent: {
244
244
  vi: string;
245
245
  uk: string;
246
246
  }, {
247
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
247
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
248
248
  } & {
249
249
  translation: {
250
250
  en: string;
@@ -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?: "dark" | "primary" | "secondary" | "neutral" | "text" | "error" | "success" | "custom" | "destructive" | "light";
9
+ color?: "text" | "primary" | "secondary" | "neutral" | "destructive" | "light" | "dark" | "success" | "error" | "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" | "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";
56
+ variant?: "default" | "invisible-link" | "button" | "button-outlined" | "hoverable";
57
+ roundedSize?: "md" | "none" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
58
+ color?: "primary" | "success" | "error" | "neutral" | "text" | "secondary" | "destructive" | "light" | "dark" | "text-inverse" | "custom";
59
+ size?: "md" | "sm" | "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> & {
@@ -24,7 +24,7 @@ declare const loaderContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -24,7 +24,7 @@ declare const localeSwitcherContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const localeSwitcherContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -110,7 +110,7 @@ declare const localeSwitcherContent: {
110
110
  vi: string;
111
111
  uk: string;
112
112
  }, {
113
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
113
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
114
114
  } & {
115
115
  translation: {
116
116
  en: string;
@@ -154,7 +154,7 @@ declare const localeSwitcherContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
157
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -197,7 +197,7 @@ declare const localeSwitcherContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
200
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -240,7 +240,7 @@ declare const localeSwitcherContent: {
240
240
  vi: string;
241
241
  uk: string;
242
242
  }, {
243
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
243
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
244
244
  } & {
245
245
  translation: {
246
246
  en: string;
@@ -285,7 +285,7 @@ declare const localeSwitcherContent: {
285
285
  vi: string;
286
286
  uk: string;
287
287
  }, {
288
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
288
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
289
289
  } & {
290
290
  translation: {
291
291
  en: string;
@@ -328,7 +328,7 @@ declare const localeSwitcherContent: {
328
328
  vi: string;
329
329
  uk: string;
330
330
  }, {
331
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
331
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
332
332
  } & {
333
333
  translation: {
334
334
  en: string;
@@ -24,7 +24,7 @@ declare const localeSwitcherContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const localeSwitcherContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -110,7 +110,7 @@ declare const localeSwitcherContent: {
110
110
  vi: string;
111
111
  uk: string;
112
112
  }, {
113
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
113
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
114
114
  } & {
115
115
  translation: {
116
116
  en: string;
@@ -154,7 +154,7 @@ declare const localeSwitcherContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
157
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -197,7 +197,7 @@ declare const localeSwitcherContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
200
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -240,7 +240,7 @@ declare const localeSwitcherContent: {
240
240
  vi: string;
241
241
  uk: string;
242
242
  }, {
243
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
243
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
244
244
  } & {
245
245
  translation: {
246
246
  en: 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" | "neutral" | "text" | "destructive";
9
- variant?: "default" | "ghost" | "bordered";
8
+ color?: "text" | "primary" | "secondary" | "neutral" | "destructive";
9
+ variant?: "default" | "bordered" | "ghost";
10
10
  } & class_variance_authority_types0.ClassProp) => string;
11
11
  declare enum PaginationSize {
12
12
  SM = "sm",
@@ -25,7 +25,7 @@ declare const paginationContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  en: string;
@@ -68,7 +68,7 @@ declare const paginationContent: {
68
68
  vi: string;
69
69
  zh: string;
70
70
  }, {
71
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  ar: string;
@@ -111,7 +111,7 @@ declare const paginationContent: {
111
111
  vi: string;
112
112
  uk: string;
113
113
  }, {
114
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
114
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
115
115
  } & {
116
116
  translation: {
117
117
  en: string;
@@ -154,7 +154,7 @@ declare const paginationContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
157
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -197,7 +197,7 @@ declare const paginationContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
200
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -24,7 +24,7 @@ declare const rightDrawerContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const rightDrawerContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -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" | "neutral" | "text" | "secondary" | "destructive" | "light" | "dark";
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?: "md" | "sm" | "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" | "neutral" | "destructive" | "light" | "dark";
19
19
  } & class_variance_authority_types0.ClassProp) => string;
20
20
  type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
21
21
  key: string | number;
@@ -24,7 +24,7 @@ declare const tableContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -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?: "md" | "none" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
189
+ color?: "primary" | "success" | "error" | "warning" | "neutral" | "text" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
190
+ size?: "md" | "sm" | "lg" | "xl" | "xs";
191
191
  border?: "none" | "with";
192
192
  background?: "none" | "with";
193
193
  } & class_variance_authority_types0.ClassProp) => string;
@@ -24,7 +24,7 @@ declare const terminalContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const terminalContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -25,7 +25,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
25
25
  * ```
26
26
  */
27
27
  declare const toastVariants: (props?: {
28
- variant?: "default" | "error" | "success";
28
+ variant?: "default" | "success" | "error";
29
29
  } & class_variance_authority_types0.ClassProp) => string;
30
30
  /**
31
31
  * Toast Component
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.5",
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,11 +105,11 @@
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",
108
+ "@intlayer/api": "8.1.5",
109
109
  "@intlayer/config": "8.1.4",
110
110
  "@intlayer/core": "8.1.4",
111
- "@intlayer/dictionaries-entry": "8.1.4",
112
- "@intlayer/editor-react": "8.1.4",
111
+ "@intlayer/dictionaries-entry": "8.1.5",
112
+ "@intlayer/editor-react": "8.1.5",
113
113
  "@intlayer/types": "8.1.4",
114
114
  "@radix-ui/react-dialog": "1.1.15",
115
115
  "@radix-ui/react-select": "2.2.6",