@intlayer/design-system 8.3.2 → 8.3.3

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 (64) hide show
  1. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  2. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +1 -1
  3. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  4. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
  5. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
  6. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  7. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +1 -1
  8. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  9. package/dist/esm/components/Form/elements/OTPElement.mjs +1 -1
  10. package/dist/esm/components/IDE/IDE.mjs +1 -1
  11. package/dist/esm/components/IDE/IDE.mjs.map +1 -1
  12. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
  13. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +1 -1
  14. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  15. package/dist/esm/components/MaxHeightSmoother/index.mjs +1 -1
  16. package/dist/esm/components/MaxHeightSmoother/index.mjs.map +1 -1
  17. package/dist/esm/components/Modal/Modal.mjs +1 -1
  18. package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
  19. package/dist/esm/components/Pagination/Pagination.mjs +1 -1
  20. package/dist/esm/components/RightDrawer/RightDrawer.mjs +1 -1
  21. package/dist/esm/components/SwitchSelector/index.mjs +1 -1
  22. package/dist/esm/components/SwitchSelector/index.mjs.map +1 -1
  23. package/dist/esm/hooks/index.mjs +1 -1
  24. package/dist/types/components/Badge/index.d.ts +2 -2
  25. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +1 -1
  26. package/dist/types/components/Browser/Browser.content.d.ts +8 -8
  27. package/dist/types/components/Button/Button.d.ts +3 -3
  28. package/dist/types/components/Carousel/index.content.d.ts +3 -3
  29. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
  30. package/dist/types/components/Command/index.d.ts +2 -2
  31. package/dist/types/components/Container/index.d.ts +7 -7
  32. package/dist/types/components/CopyButton/CopyButton.content.d.ts +1 -1
  33. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +12 -12
  34. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +4 -4
  35. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +27 -27
  36. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +16 -16
  37. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +12 -12
  38. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +16 -16
  39. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +4 -4
  40. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +3 -3
  41. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +2 -2
  42. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +15 -15
  43. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +1 -1
  44. package/dist/types/components/IDE/code.content.d.ts +2 -2
  45. package/dist/types/components/IDE/copyCode.content.d.ts +2 -2
  46. package/dist/types/components/IDE/selectors.content.d.ts +6 -6
  47. package/dist/types/components/Input/Checkbox.d.ts +1 -1
  48. package/dist/types/components/Link/Link.d.ts +3 -3
  49. package/dist/types/components/Loader/index.content.d.ts +1 -1
  50. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +8 -8
  51. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +6 -6
  52. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  53. package/dist/types/components/MaxHeightSmoother/index.d.ts +80 -100
  54. package/dist/types/components/MaxHeightSmoother/index.d.ts.map +1 -1
  55. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  56. package/dist/types/components/Pagination/pagination.content.d.ts +5 -5
  57. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +2 -2
  58. package/dist/types/components/SwitchSelector/index.d.ts +3 -1
  59. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  60. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  61. package/dist/types/components/Table/table.content.d.ts +1 -1
  62. package/dist/types/components/Tag/index.d.ts +2 -2
  63. package/dist/types/components/Terminal/terminal.content.d.ts +2 -2
  64. package/package.json +14 -14
@@ -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?: "text" | "primary" | "secondary" | "neutral" | "destructive";
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 {
@@ -25,7 +25,7 @@ declare const paginationContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: _intlayer_types_nodeType0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
114
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
157
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
200
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types_nodeType0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -15,6 +15,7 @@ type SwitchSelectorProps<T = boolean> = {
15
15
  defaultValue?: T;
16
16
  onChange?: (choice: T) => void;
17
17
  className?: string;
18
+ itemClassName?: string;
18
19
  hoverable?: boolean;
19
20
  disabled?: boolean;
20
21
  } & VariantProps<typeof switchSelectorVariant> & VariantProps<typeof choiceVariant>;
@@ -28,7 +29,7 @@ declare enum SwitchSelectorColor {
28
29
  TEXT = "text"
29
30
  }
30
31
  declare const switchSelectorVariant: (props?: {
31
- color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
32
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
32
33
  disabled?: boolean;
33
34
  } & class_variance_authority_types0.ClassProp) => string;
34
35
  declare enum SwitchSelectorSize {
@@ -64,6 +65,7 @@ declare const SwitchSelector: <T>({
64
65
  color,
65
66
  size,
66
67
  className,
68
+ itemClassName,
67
69
  hoverable,
68
70
  disabled
69
71
  }: SwitchSelectorProps<T>) => react_jsx_runtime0.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"mappings":";;;;;;KAaY,oBAAA;EACV,OAAA,EAAS,SAAA;EACT,KAAA,EAAO,CAAA;AAAA,IACL,cAAA,CAAe,iBAAA;AAAA,KACP,qBAAA,MAA2B,oBAAA,CAAqB,CAAA;AAAA,KAOhD,mBAAA;EACV,OAAA,GAAU,qBAAA,CAAsB,CAAA;EAChC,KAAA,GAAQ,CAAA;EACR,YAAA,GAAe,CAAA;EACf,QAAA,IAAY,MAAA,EAAQ,CAAA;EACpB,SAAA;EACA,SAAA;EACA,QAAA;AAAA,IACE,YAAA,QAAoB,qBAAA,IACtB,YAAA,QAAoB,aAAA;AAAA,aAEV,mBAAA;EACV,OAAA;EACA,SAAA;EACA,WAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;AAAA;AAAA,cAGI,qBAAA,GAAqB,KAAA;;;IAwB1B,+BAAA,CAAA,SAAA;AAAA,aAEW,kBAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;AAAA;AAAA,cAGI,aAAA,GAAa,KAAA;;IAclB,+BAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA2CY,cAAA;EAAsB,OAAA;EAAA,KAAA;EAAA,YAAA;EAAA,QAAA;EAAA,KAAA;EAAA,IAAA;EAAA,SAAA;EAAA,SAAA;EAAA;AAAA,GAUhC,mBAAA,CAAoB,CAAA,MAAE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"mappings":";;;;;;KAaY,oBAAA;EACV,OAAA,EAAS,SAAA;EACT,KAAA,EAAO,CAAA;AAAA,IACL,cAAA,CAAe,iBAAA;AAAA,KACP,qBAAA,MAA2B,oBAAA,CAAqB,CAAA;AAAA,KAOhD,mBAAA;EACV,OAAA,GAAU,qBAAA,CAAsB,CAAA;EAChC,KAAA,GAAQ,CAAA;EACR,YAAA,GAAe,CAAA;EACf,QAAA,IAAY,MAAA,EAAQ,CAAA;EACpB,SAAA;EACA,aAAA;EACA,SAAA;EACA,QAAA;AAAA,IACE,YAAA,QAAoB,qBAAA,IACtB,YAAA,QAAoB,aAAA;AAAA,aAEV,mBAAA;EACV,OAAA;EACA,SAAA;EACA,WAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;AAAA;AAAA,cAGI,qBAAA,GAAqB,KAAA;;;IAwB1B,+BAAA,CAAA,SAAA;AAAA,aAEW,kBAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;AAAA;AAAA,cAGI,aAAA,GAAa,KAAA;;IAclB,+BAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA2CY,cAAA;EAAsB,OAAA;EAAA,KAAA;EAAA,YAAA;EAAA,QAAA;EAAA,KAAA;EAAA,IAAA;EAAA,SAAA;EAAA,aAAA;EAAA,SAAA;EAAA;AAAA,GAWhC,mBAAA,CAAoB,CAAA,MAAE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
15
15
  TEXT = "text"
16
16
  }
17
17
  declare const tabSelectorVariant: (props?: {
18
- color?: "text" | "primary" | "secondary" | "neutral" | "destructive" | "light" | "dark";
18
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "text" | "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_types_nodeType0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types_nodeType0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -185,8 +185,8 @@ declare enum TagBackground {
185
185
  WITH = "with"
186
186
  }
187
187
  declare const containerVariants: (props?: {
188
- roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
189
- color?: "error" | "text" | "primary" | "neutral" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
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";
190
190
  size?: "xs" | "sm" | "md" | "lg" | "xl";
191
191
  border?: "none" | "with";
192
192
  background?: "none" | "with";
@@ -24,7 +24,7 @@ declare const terminalContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types_nodeType0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types_nodeType0.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_types_nodeType0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types_nodeType0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "8.3.2",
3
+ "version": "8.3.3",
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.2",
110
- "@intlayer/config": "8.3.2",
111
- "@intlayer/core": "8.3.2",
112
- "@intlayer/dictionaries-entry": "8.3.2",
113
- "@intlayer/editor-react": "8.3.2",
114
- "@intlayer/types": "8.3.2",
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",
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.2",
123
+ "react-intlayer": "8.3.3",
124
124
  "rollup-preserve-directives": "1.1.3",
125
125
  "zod": "4.3.6"
126
126
  },
127
127
  "devDependencies": {
128
- "@intlayer/backend": "8.3.2",
128
+ "@intlayer/backend": "8.3.3",
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.2",
157
+ "intlayer": "8.3.3",
158
158
  "rimraf": "6.1.3",
159
159
  "shiki": "4.0.2",
160
160
  "storybook": "8.6.17",
161
161
  "tsdown": "0.21.2",
162
162
  "typescript": "5.9.3",
163
163
  "vite": "8.0.0",
164
- "vite-intlayer": "8.3.2",
164
+ "vite-intlayer": "8.3.3",
165
165
  "vite-plugin-dts": "4.5.4",
166
166
  "vite-tsconfig-paths": "6.1.1",
167
167
  "vitest": "4.1.0"
@@ -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.3.2",
172
+ "@intlayer/backend": "8.3.3",
173
173
  "@monaco-editor/react": "4.7.0",
174
174
  "@shikijs/transformers": "4.0.2",
175
175
  "@tanstack/react-query": "5.90.21",
@@ -177,12 +177,12 @@
177
177
  "clsx": "2.1.1",
178
178
  "framer-motion": "12.36.0",
179
179
  "fuse.js": "7.1.0",
180
- "intlayer": "8.3.2",
180
+ "intlayer": "8.3.3",
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.2",
185
+ "react-intlayer": "8.3.3",
186
186
  "shiki": "4.0.2",
187
187
  "tailwind-merge": "3.5.0",
188
188
  "tailwindcss": "4.2.1"