@intlayer/design-system 7.0.7 → 7.0.8

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 (144) hide show
  1. package/dist/esm/components/Button/Button.mjs +6 -0
  2. package/dist/esm/components/Button/Button.mjs.map +1 -1
  3. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +4 -4
  4. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  5. package/dist/esm/components/IDE/CopyCode.mjs +2 -1
  6. package/dist/esm/components/IDE/CopyCode.mjs.map +1 -1
  7. package/dist/esm/components/IDE/index.mjs +2 -1
  8. package/dist/esm/components/Input/Checkbox.mjs +3 -2
  9. package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
  10. package/dist/esm/components/MarkDownRender/processor.mjs +5 -0
  11. package/dist/esm/components/MarkDownRender/processor.mjs.map +1 -1
  12. package/dist/esm/components/Popover/index.mjs +3 -190
  13. package/dist/esm/components/SocialNetworks/DiscordLogo.mjs +1 -1
  14. package/dist/esm/components/SocialNetworks/DiscordLogo.mjs.map +1 -1
  15. package/dist/esm/components/SocialNetworks/index.mjs +1 -1
  16. package/dist/esm/components/SocialNetworks/index.mjs.map +1 -1
  17. package/dist/esm/components/SwitchSelector/index.mjs +8 -102
  18. package/dist/esm/components/SwitchSelector/index.mjs.map +1 -1
  19. package/dist/esm/components/Tag/index.mjs +28 -28
  20. package/dist/esm/components/Tag/index.mjs.map +1 -1
  21. package/dist/esm/components/index.mjs +4 -2
  22. package/dist/types/components/Accordion/Accordion.d.ts +1 -0
  23. package/dist/types/components/Accordion/Accordion.d.ts.map +1 -1
  24. package/dist/types/components/Badge/index.d.ts +2 -2
  25. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  26. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  27. package/dist/types/components/Breadcrumb/index.d.ts +3 -2
  28. package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
  29. package/dist/types/components/Browser/Browser.content.d.ts +11 -11
  30. package/dist/types/components/Button/Button.d.ts +8 -5
  31. package/dist/types/components/Button/Button.d.ts.map +1 -1
  32. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +5 -5
  33. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  34. package/dist/types/components/Command/index.d.ts +17 -17
  35. package/dist/types/components/Container/index.d.ts +8 -8
  36. package/dist/types/components/Container/index.d.ts.map +1 -1
  37. package/dist/types/components/ContentEditor/ContentEditorInput.d.ts +1 -0
  38. package/dist/types/components/ContentEditor/ContentEditorInput.d.ts.map +1 -1
  39. package/dist/types/components/ContentEditor/ContentEditorTextArea.d.ts +1 -0
  40. package/dist/types/components/ContentEditor/ContentEditorTextArea.d.ts.map +1 -1
  41. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  42. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  43. package/dist/types/components/CopyButton/index.d.ts +1 -1
  44. package/dist/types/components/CopyButton/index.d.ts.map +1 -1
  45. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  46. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  47. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
  48. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  49. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  50. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  51. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  52. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  53. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  54. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  55. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  56. package/dist/types/components/DictionaryFieldEditor/index.d.ts +1 -0
  57. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  58. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  59. package/dist/types/components/DropDown/index.d.ts +1 -1
  60. package/dist/types/components/DropDown/index.d.ts.map +1 -1
  61. package/dist/types/components/EditableField/EditableFieldInput.d.ts +1 -1
  62. package/dist/types/components/EditableField/EditableFieldInput.d.ts.map +1 -1
  63. package/dist/types/components/EditableField/EditableFieldTextArea.d.ts +1 -1
  64. package/dist/types/components/EditableField/EditableFieldTextArea.d.ts.map +1 -1
  65. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  66. package/dist/types/components/Form/Form.d.ts +3 -0
  67. package/dist/types/components/Form/Form.d.ts.map +1 -1
  68. package/dist/types/components/Form/FormBase.d.ts +2 -2
  69. package/dist/types/components/Form/FormBase.d.ts.map +1 -1
  70. package/dist/types/components/Form/FormField.d.ts +2 -2
  71. package/dist/types/components/Form/FormField.d.ts.map +1 -1
  72. package/dist/types/components/Form/elements/CheckboxElement.d.ts +1 -0
  73. package/dist/types/components/Form/elements/CheckboxElement.d.ts.map +1 -1
  74. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  75. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
  76. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  77. package/dist/types/components/Form/elements/FormElement.d.ts +1 -0
  78. package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
  79. package/dist/types/components/Form/elements/InputElement.d.ts +1 -0
  80. package/dist/types/components/Form/elements/InputElement.d.ts.map +1 -1
  81. package/dist/types/components/Form/elements/InputPasswordElement.d.ts +1 -0
  82. package/dist/types/components/Form/elements/InputPasswordElement.d.ts.map +1 -1
  83. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  84. package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
  85. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  86. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  87. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  88. package/dist/types/components/IDE/CodeContext.d.ts.map +1 -1
  89. package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
  90. package/dist/types/components/IDE/code.content.d.ts +5 -5
  91. package/dist/types/components/IDE/code.content.d.ts.map +1 -1
  92. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  93. package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
  94. package/dist/types/components/IDE/index.d.ts +2 -1
  95. package/dist/types/components/Input/Checkbox.d.ts +5 -4
  96. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  97. package/dist/types/components/Input/Input.d.ts +3 -3
  98. package/dist/types/components/Input/Input.d.ts.map +1 -1
  99. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  100. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  101. package/dist/types/components/Link/Link.d.ts +4 -4
  102. package/dist/types/components/Link/Link.d.ts.map +1 -1
  103. package/dist/types/components/Loader/index.content.d.ts +3 -3
  104. package/dist/types/components/Loader/index.content.d.ts.map +1 -1
  105. package/dist/types/components/Loader/spinner.d.ts +2 -2
  106. package/dist/types/components/Loader/spinner.d.ts.map +1 -1
  107. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  108. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
  109. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  110. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
  111. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  112. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  113. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  114. package/dist/types/components/Navbar/DesktopNavbar.d.ts +3 -3
  115. package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  116. package/dist/types/components/Navbar/MobileNavbar.d.ts +3 -3
  117. package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
  118. package/dist/types/components/Navbar/index.d.ts +3 -3
  119. package/dist/types/components/Navbar/index.d.ts.map +1 -1
  120. package/dist/types/components/Pagination/Pagination.d.ts +3 -3
  121. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  122. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  123. package/dist/types/components/Popover/index.d.ts +3 -142
  124. package/dist/types/components/Popover/static.d.ts +3 -3
  125. package/dist/types/components/Popover/static.d.ts.map +1 -1
  126. package/dist/types/components/Select/Select.d.ts +3 -3
  127. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  128. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  129. package/dist/types/components/SwitchSelector/index.d.ts +13 -163
  130. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  131. package/dist/types/components/Tab/Tab.d.ts +5 -5
  132. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  133. package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
  134. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  135. package/dist/types/components/Table/table.content.d.ts +3 -3
  136. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  137. package/dist/types/components/Tag/index.d.ts +33 -33
  138. package/dist/types/components/TextArea/TextArea.d.ts +1 -0
  139. package/dist/types/components/TextArea/TextArea.d.ts.map +1 -1
  140. package/dist/types/components/Toaster/Toast.d.ts +2 -2
  141. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  142. package/dist/types/components/index.d.ts +35 -2
  143. package/dist/types/hooks/index.d.ts +1 -0
  144. package/package.json +29 -29
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types20 from "@intlayer/types";
1
+ import * as _intlayer_types343 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Table/table.content.d.ts
4
4
  declare const tableContent: {
5
5
  key: string;
6
6
  content: {
7
- show: _intlayer_types20.TypedNodeModel<_intlayer_types20.NodeType.Translation, {
7
+ show: _intlayer_types343.TypedNodeModel<_intlayer_types343.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const tableContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types20.NodeType.Translation | "translation";
26
+ nodeType: _intlayer_types343.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,kCA2BgB,yCAAA"}
1
+ {"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,mCA2BgB,0CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { FC, HTMLAttributes, PropsWithChildren } from "react";
2
- import * as class_variance_authority_types7 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Tag/index.d.ts
@@ -17,7 +17,7 @@ import { VariantProps } from "class-variance-authority";
17
17
  * @property {TagSize} [size] - Size variant affecting padding and font size
18
18
  * @property {TagBorder} [border] - Whether to show a border around the tag
19
19
  * @property {TagBackground} [background] - Background visibility option
20
- * @property {string} [className] - Additional CSS classes for custom styling
20
+ * @property [className] - Additional CSS classes for custom styling
21
21
  *
22
22
  * @example
23
23
  * ```tsx
@@ -41,15 +41,15 @@ type TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> & HTML
41
41
  *
42
42
  * Controls the roundedness of tag corners, from sharp edges to fully rounded pills.
43
43
  *
44
- * @enum {string} TagRoundedSize
45
- * @property {string} NONE - 'none' - No border radius (sharp corners)
46
- * @property {string} SM - 'sm' - Small border radius (2px)
47
- * @property {string} MD - 'md' - Medium border radius (6px)
48
- * @property {string} LG - 'lg' - Large border radius (8px)
49
- * @property {string} XL - 'xl' - Extra large border radius (12px)
50
- * @property {string} XXL - '2xl' - 2x large border radius (16px)
51
- * @property {string} XXXL - '3xl' - 3x large border radius (24px)
52
- * @property {string} FULL - 'full' - Fully rounded (50% border radius, pill shape)
44
+ * @enum TagRoundedSize
45
+ * @property NONE - 'none' - No border radius (sharp corners)
46
+ * @property SM - 'sm' - Small border radius (2px)
47
+ * @property MD - 'md' - Medium border radius (6px)
48
+ * @property LG - 'lg' - Large border radius (8px)
49
+ * @property XL - 'xl' - Extra large border radius (12px)
50
+ * @property XXL - '2xl' - 2x large border radius (16px)
51
+ * @property XXXL - '3xl' - 3x large border radius (24px)
52
+ * @property FULL - 'full' - Fully rounded (50% border radius, pill shape)
53
53
  *
54
54
  * @example
55
55
  * ```tsx
@@ -79,12 +79,12 @@ declare enum TagRoundedSize {
79
79
  * Provides semantic color options for different tag purposes and meanings.
80
80
  * Each color includes background, border, and text color variations.
81
81
  *
82
- * @enum {string} TagColor
83
- * @property {string} SUCCESS - 'success' - Green theme for positive states, success messages, or completed items
84
- * @property {string} ERROR - 'error' - Red theme for error states, warnings, or failed operations
85
- * @property {string} WARNING - 'warning' - Yellow/orange theme for caution, pending states, or important notices
86
- * @property {string} NEUTRAL - 'neutral' - Gray theme for neutral information or secondary content
87
- * @property {string} TEXT - 'text' - Default text color theme for general purpose tags
82
+ * @enum TagColor
83
+ * @property SUCCESS - 'success' - Green theme for positive states, success messages, or completed items
84
+ * @property ERROR - 'error' - Red theme for error states, warnings, or failed operations
85
+ * @property WARNING - 'warning' - Yellow/orange theme for caution, pending states, or important notices
86
+ * @property NEUTRAL - 'neutral' - Gray theme for neutral information or secondary content
87
+ * @property TEXT - 'text' - Default text color theme for general purpose tags
88
88
  *
89
89
  * @example
90
90
  * ```tsx
@@ -122,12 +122,12 @@ declare enum TagColor {
122
122
  * Controls the overall size of tags including padding, font size, and border thickness.
123
123
  * Sizes are designed to maintain visual hierarchy and readability.
124
124
  *
125
- * @enum {string} TagSize
126
- * @property {string} XS - 'xs' - Extra small (0.5rem padding, text-xs, 1.2px border)
127
- * @property {string} SM - 'sm' - Small (0.5rem padding, text-sm, 1.5px border)
128
- * @property {string} MD - 'md' - Medium (1rem padding, text-base, 2px border) - Default size
129
- * @property {string} LG - 'lg' - Large (2rem padding, text-lg, 2px border)
130
- * @property {string} XL - 'xl' - Extra large (4rem padding, text-xl, 2px border)
125
+ * @enum TagSize
126
+ * @property XS - 'xs' - Extra small (0.5rem padding, text-xs, 1.2px border)
127
+ * @property SM - 'sm' - Small (0.5rem padding, text-sm, 1.5px border)
128
+ * @property MD - 'md' - Medium (1rem padding, text-base, 2px border) - Default size
129
+ * @property LG - 'lg' - Large (2rem padding, text-lg, 2px border)
130
+ * @property XL - 'xl' - Extra large (4rem padding, text-xl, 2px border)
131
131
  *
132
132
  * @example
133
133
  * ```tsx
@@ -151,9 +151,9 @@ declare enum TagSize {
151
151
  *
152
152
  * Controls whether a border is displayed around the tag.
153
153
  *
154
- * @enum {string} TagBorder
155
- * @property {string} NONE - 'none' - No border (default)
156
- * @property {string} WITH - 'with' - Show border with 1.5px thickness
154
+ * @enum TagBorder
155
+ * @property NONE - 'none' - No border (default)
156
+ * @property WITH - 'with' - Show border with 1.5px thickness
157
157
  *
158
158
  * @example
159
159
  * ```tsx
@@ -170,9 +170,9 @@ declare enum TagBorder {
170
170
  *
171
171
  * Controls the background styling of the tag.
172
172
  *
173
- * @enum {string} TagBackground
174
- * @property {string} NONE - 'none' - No background styling
175
- * @property {string} WITH - 'with' - Apply background styling
173
+ * @enum TagBackground
174
+ * @property NONE - 'none' - No background styling
175
+ * @property WITH - 'with' - Apply background styling
176
176
  *
177
177
  * @example
178
178
  * ```tsx
@@ -185,12 +185,12 @@ declare enum TagBackground {
185
185
  WITH = "with",
186
186
  }
187
187
  declare const containerVariants: (props?: {
188
- roundedSize?: "md" | "none" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
189
- color?: "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?: "full" | "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl";
189
+ color?: "error" | "success" | "warning" | "neutral" | "text" | "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
- } & class_variance_authority_types7.ClassProp) => string;
193
+ } & class_variance_authority_types0.ClassProp) => string;
194
194
  /**
195
195
  * Tag component for displaying labels, categories, status indicators, and badges
196
196
  *
@@ -1,4 +1,5 @@
1
1
  import { InputVariant, inputVariants } from "../Input/Input.js";
2
+ import "../Input/index.js";
2
3
  import { DetailedHTMLProps, FC, TextareaHTMLAttributes } from "react";
3
4
  import { VariantProps } from "class-variance-authority";
4
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","names":[],"sources":["../../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAmCA;;;;;;;;;;;;;AA2DA;;;;;;;;;;;;;;;KA3DY,aAAA,GAAgB,kBAC1B,kBACE,uBAAuB,sBACvB,sBAEF;;;IAIE,KACA,oBAAoB;;YAIV,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CnB,UAAU,GAAG"}
1
+ {"version":3,"file":"TextArea.d.ts","names":[],"sources":["../../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAmCA;;;;;;;;;;;;;AA2DA;;;;;;;;;;;;;;KA3DY,aAAA,GAAgB,kBAC1B,kBACE,uBAAuB,sBACvB,sBAEF;;;IAIE,KACA,oBAAoB;;YAIV,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CnB,UAAU,GAAG"}
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC, ReactElement } from "react";
2
- import * as class_variance_authority_types8 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as ToastPrimitives from "@radix-ui/react-toast";
5
5
 
@@ -26,7 +26,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
26
26
  */
27
27
  declare const toastVariants: (props?: {
28
28
  variant?: "default" | "error" | "success";
29
- } & class_variance_authority_types8.ClassProp) => string;
29
+ } & class_variance_authority_types7.ClassProp) => string;
30
30
  /**
31
31
  * Toast Component
32
32
  *
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/Toaster/Toaster.d.ts
4
4
 
@@ -44,7 +44,7 @@ import * as react_jsx_runtime6 from "react/jsx-runtime";
44
44
  *
45
45
  * @returns JSX element rendering the toast viewport and active toasts
46
46
  */
47
- declare const Toaster: () => react_jsx_runtime6.JSX.Element;
47
+ declare const Toaster: () => react_jsx_runtime0.JSX.Element;
48
48
  //#endregion
49
49
  export { Toaster };
50
50
  //# sourceMappingURL=Toaster.d.ts.map
@@ -1,34 +1,47 @@
1
1
  import { Button, ButtonColor, ButtonIconPosition, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant } from "./Button/Button.js";
2
+ import "./Button/index.js";
2
3
  import { Accordion, AccordionProps } from "./Accordion/Accordion.js";
4
+ import "./Accordion/index.js";
3
5
  import { Avatar, AvatarProps, getCapitals } from "./Avatar/index.js";
4
6
  import { Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, badgeVariants } from "./Badge/index.js";
5
7
  import { Link, LinkColor, LinkProps, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link/Link.js";
8
+ import "./Link/index.js";
6
9
  import { Breadcrumb, BreadcrumbLink, BreadcrumbProps } from "./Breadcrumb/index.js";
7
10
  import { Browser, BrowserProps } from "./Browser/Browser.js";
11
+ import "./Browser/index.js";
8
12
  import { ClickOutsideDiv, ClickOutsideDivProps } from "./ClickOutsideDiv/index.js";
9
13
  import { CollapsibleTable, CollapsibleTableProps } from "./CollapsibleTable/CollapsibleTable.js";
14
+ import "./CollapsibleTable/index.js";
10
15
  import { Command, CommandRoot } from "./Command/index.js";
11
16
  import { Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, containerVariants } from "./Container/index.js";
12
17
  import { Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, checkboxVariants } from "./Input/Checkbox.js";
13
18
  import { Input, InputProps, InputSize, InputVariant, inputVariants } from "./Input/Input.js";
14
19
  import { InputPassword } from "./Input/InputPassword.js";
15
20
  import { SearchInput } from "./Input/SearchInput.js";
21
+ import "./Input/index.js";
16
22
  import { TextArea, TextAreaProps } from "./TextArea/TextArea.js";
17
23
  import { AutoSizedTextArea, AutoSizedTextAreaProps } from "./TextArea/AutoSizeTextArea.js";
18
24
  import { AutoCompleteTextarea, AutocompleteTextAreaProps, useDebounce } from "./TextArea/AutocompleteTextArea.js";
25
+ import "./TextArea/index.js";
19
26
  import { ContentSelector } from "./ContentSelector/ContentSelector.js";
27
+ import "./ContentSelector/index.js";
20
28
  import { CopyButton } from "./CopyButton/index.js";
21
29
  import { CopyToClipboard, CopyToClipboardProps } from "./CopyToClipboard/index.js";
22
30
  import { DictionaryEditor } from "./DictionaryEditor/DictionaryEditor.js";
31
+ import "./DictionaryEditor/index.js";
23
32
  import { DictionaryCreationForm } from "./DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.js";
24
33
  import { DictionaryFieldEditor } from "./DictionaryFieldEditor/DictionaryFieldEditor.js";
25
34
  import { DropDown, DropDownAlign, DropDownProps, DropDownType, PanelProps, TriggerProps } from "./DropDown/index.js";
26
35
  import { VersionSwitcher, VersionSwitcherProps } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.js";
27
36
  import { VersionSwitcherProvider, useVersionSwitcher } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.js";
37
+ import "./DictionaryFieldEditor/index.js";
28
38
  import { EditableFieldInput } from "./EditableField/EditableFieldInput.js";
29
39
  import { EditableFieldTextArea } from "./EditableField/EditableFieldTextArea.js";
40
+ import "./EditableField/index.js";
30
41
  import { ExpandCollapse, ExpandCollapseProps } from "./ExpandCollapse/ExpandCollapse.js";
42
+ import "./ExpandCollapse/index.js";
31
43
  import { Flag } from "./Flags/Flag.js";
44
+ import "./Flags/index.js";
32
45
  import { Footer, FooterLink, LinkGroup } from "./Footer/index.js";
33
46
  import { MultiSelect } from "./Select/Multiselect.js";
34
47
  import { Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator } from "./Select/Select.js";
@@ -37,38 +50,54 @@ import { useForm } from "./Form/FormBase.js";
37
50
  import { useFormField } from "./Form/FormField.js";
38
51
  import { Form } from "./Form/Form.js";
39
52
  import { Label, LabelProps } from "./Label/index.js";
53
+ import "./Form/index.js";
40
54
  import { H1, H2, H3, H4, H5, H6, HeadingProps } from "./Headers/index.js";
41
55
  import { HeightResizer } from "./HeightResizer/index.js";
42
56
  import { HideShow, HideShowProps } from "./HideShow/index.js";
43
57
  import { Code, CodeCompAttributes } from "./IDE/Code.js";
58
+ import { CodeBlock, CodeBlockProps, CodeDefault } from "./IDE/CodeBlockClient.js";
44
59
  import { FileList, FileListProps } from "./IDE/FileList.js";
45
60
  import { IDE, IDEProps } from "./IDE/IDE.js";
61
+ import "./IDE/index.js";
46
62
  import { InformationTag } from "./InformationTag/index.js";
47
63
  import { KeyboardScreenAdapter } from "./KeyboardScreenAdapter/index.js";
48
64
  import { Loader, LoaderProps } from "./Loader/index.js";
49
65
  import { LocaleSwitcherContent, LocaleSwitcherContentProps } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContent.js";
50
66
  import { LocaleSwitcherContentProvider, useLocaleSwitcherContent } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.js";
67
+ import "./LocaleSwitcherContentDropDown/index.js";
51
68
  import { LocaleSwitcher, LocaleSwitcherProps } from "./LocaleSwitcherDropDown/LocaleSwitcher.js";
69
+ import "./LocaleSwitcherDropDown/index.js";
52
70
  import { Logo } from "./Logo/Logo.js";
53
71
  import { LogoTextOnly } from "./Logo/LogoTextOnly.js";
54
72
  import { LogoWithText } from "./Logo/LogoWithText.js";
55
73
  import { LogoWithTextBelow } from "./Logo/LogoWithTextBelow.js";
74
+ import "./Logo/index.js";
56
75
  import { MarkdownRenderer } from "./MarkDownRender/MarkDownRender.js";
76
+ import "./MarkDownRender/index.js";
57
77
  import { MaxHeightSmoother } from "./MaxHeightSmoother/index.js";
58
78
  import { MaxWidthSmoother } from "./MaxWidthSmoother/index.js";
59
79
  import { Modal, ModalSize } from "./Modal/Modal.js";
80
+ import "./Modal/index.js";
60
81
  import { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps } from "./TabSelector/TabSelector.js";
82
+ import "./TabSelector/index.js";
61
83
  import { Navbar } from "./Navbar/index.js";
62
84
  import { NumberItemsSelector, NumberItemsSelectorProps } from "./Pagination/NumberItemsSelector.js";
63
85
  import { Pagination, PaginationProps, PaginationSize, PaginationVariant, paginationVariants } from "./Pagination/Pagination.js";
64
86
  import { ShowingResultsNumberItems, ShowingResultsNumberItemsProps } from "./Pagination/ShowingResultsNumberItems.js";
87
+ import "./Pagination/index.js";
65
88
  import { DotPattern } from "./Pattern/DotPattern.js";
66
89
  import { GridPattern } from "./Pattern/GridPattern.js";
67
90
  import { Spotlight } from "./Pattern/SpotLight.js";
68
- import { DetailProps, Popover, PopoverProps, PopoverType, PopoverXAlign, PopoverYAlign } from "./Popover/index.js";
91
+ import "./Pattern/index.js";
92
+ import { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign } from "./Popover/static.js";
93
+ import { Popover } from "./Popover/dynamic.js";
94
+ import "./Popover/index.js";
69
95
  import { PressableSpan } from "./PressableSpan/PressableSpan.js";
96
+ import "./PressableSpan/index.js";
70
97
  import { RightDrawer } from "./RightDrawer/RightDrawer.js";
71
98
  import { useRightDrawerStore } from "./RightDrawer/useRightDrawerStore.js";
99
+ import "./RightDrawer/index.js";
100
+ import "./Select/index.js";
72
101
  import { DiscordLogo } from "./SocialNetworks/DiscordLogo.js";
73
102
  import { FacebookLogo } from "./SocialNetworks/FacebookLogo.js";
74
103
  import { InstagramLogo } from "./SocialNetworks/InstagramLogo.js";
@@ -79,13 +108,17 @@ import { XLogo } from "./SocialNetworks/XLogo.js";
79
108
  import { YoutubeLogo } from "./SocialNetworks/YoutubeLogo.js";
80
109
  import { SocialNetworks } from "./SocialNetworks/index.js";
81
110
  import { Tab, TabItemProps, TabProps } from "./Tab/Tab.js";
111
+ import "./Tab/index.js";
82
112
  import { Table } from "./Table/Table.js";
113
+ import "./Table/index.js";
83
114
  import { Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize } from "./Tag/index.js";
84
115
  import { Modes } from "./ThemeSwitcherDropDown/types.js";
85
116
  import { DesktopThemeSwitcher } from "./ThemeSwitcherDropDown/DesktopThemeSwitcher.js";
86
117
  import { MobileThemeSwitcher } from "./ThemeSwitcherDropDown/MobileThemeSwitcher.js";
118
+ import "./ThemeSwitcherDropDown/index.js";
87
119
  import { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport } from "./Toaster/Toast.js";
88
120
  import { Toaster } from "./Toaster/Toaster.js";
89
121
  import { reducer, toast, useToast } from "./Toaster/useToast.js";
122
+ import "./Toaster/index.js";
90
123
  import { WithResizer } from "./WithResizer/index.js";
91
- export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Button, ButtonColor, ButtonIconPosition, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeCompAttributes, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, DesktopThemeSwitcher, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, Footer, FooterLink, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeadingProps, HeightResizer, HideShow, HideShowProps, IDE, IDEProps, InformationTag, Input, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, LabelProps, Link, LinkColor, LinkGroup, LinkProps, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, Popover, PopoverProps, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, TextArea, TextAreaProps, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, TriggerProps, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputVariants, linkVariants, paginationVariants, reducer, toast, useDebounce, useForm, useFormField, useLocaleSwitcherContent, useRightDrawerStore, useToast, useVersionSwitcher };
124
+ export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Button, ButtonColor, ButtonIconPosition, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, Footer, FooterLink, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeadingProps, HeightResizer, HideShow, HideShowProps, IDE, IDEProps, InformationTag, Input, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, LabelProps, Link, LinkColor, LinkGroup, LinkProps, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, TextArea, TextAreaProps, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, TriggerProps, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputVariants, linkVariants, paginationVariants, reducer, toast, useDebounce, useForm, useFormField, useLocaleSwitcherContent, useRightDrawerStore, useToast, useVersionSwitcher };
@@ -2,6 +2,7 @@ import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganiz
2
2
  import { useAuth } from "./useAuth/useAuth.js";
3
3
  import { useOAuth2 } from "./useAuth/useOAuth2.js";
4
4
  import { useSession } from "./useAuth/useSession.js";
5
+ import "./useAuth/index.js";
5
6
  import { SizeType, calculateIsMobile, checkIsIphoneOrSafariDevice, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice } from "./useDevice.js";
6
7
  import { useGetElementOrWindow } from "./useGetElementOrWindow.js";
7
8
  import { HorizontalSwipeConfig, HorizontalSwipeHook, useHorizontalSwipe } from "./useHorizontalSwipe.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
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": [
@@ -95,12 +95,12 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "@hookform/resolvers": "5.2.2",
98
- "@intlayer/api": "7.0.7",
99
- "@intlayer/config": "7.0.7",
100
- "@intlayer/core": "7.0.7",
101
- "@intlayer/dictionaries-entry": "7.0.7",
102
- "@intlayer/editor-react": "7.0.7",
103
- "@intlayer/types": "7.0.7",
98
+ "@intlayer/api": "7.0.8",
99
+ "@intlayer/config": "7.0.8",
100
+ "@intlayer/core": "7.0.8",
101
+ "@intlayer/dictionaries-entry": "7.0.8",
102
+ "@intlayer/editor-react": "7.0.8",
103
+ "@intlayer/types": "7.0.8",
104
104
  "@monaco-editor/react": "4.7.0",
105
105
  "@radix-ui/react-dialog": "1.1.15",
106
106
  "@radix-ui/react-select": "2.2.6",
@@ -109,7 +109,7 @@
109
109
  "@shikijs/transformers": "3.13.0",
110
110
  "@storybook/manager-api": "^8.6.14",
111
111
  "@storybook/theming": "^8.6.14",
112
- "@tanstack/react-query": "5.90.5",
112
+ "@tanstack/react-query": "5.90.6",
113
113
  "@tanstack/react-query-devtools": "5.90.2",
114
114
  "better-auth": "1.3.29",
115
115
  "class-variance-authority": "0.7.1",
@@ -117,9 +117,9 @@
117
117
  "cmdk": "1.1.1",
118
118
  "framer-motion": "12.23.24",
119
119
  "fuse.js": "7.1.0",
120
- "intlayer": "7.0.7",
121
- "react-hook-form": "7.65.0",
122
- "react-intlayer": "7.0.7",
120
+ "intlayer": "7.0.8",
121
+ "react-hook-form": "7.66.0",
122
+ "react-intlayer": "7.0.8",
123
123
  "rollup-preserve-directives": "1.1.3",
124
124
  "shiki": "3.13.0",
125
125
  "tailwind-merge": "3.3.1",
@@ -128,7 +128,7 @@
128
128
  },
129
129
  "devDependencies": {
130
130
  "@chromatic-com/storybook": "3.2.7",
131
- "@intlayer/backend": "7.0.7",
131
+ "@intlayer/backend": "7.0.8",
132
132
  "@storybook/addon-a11y": "8.6.14",
133
133
  "@storybook/addon-essentials": "8.6.14",
134
134
  "@storybook/addon-interactions": "8.6.14",
@@ -147,39 +147,39 @@
147
147
  "@testing-library/react": "16.3.0",
148
148
  "@testing-library/user-event": "14.6.1",
149
149
  "@types/espree": "10.1.0",
150
- "@types/node": "24.9.2",
150
+ "@types/node": "24.10.0",
151
151
  "@types/react": "19.2.2",
152
152
  "@types/react-dom": "19.2.2",
153
- "@utils/ts-config": "7.0.7",
154
- "@utils/ts-config-types": "7.0.7",
153
+ "@utils/ts-config": "7.0.8",
154
+ "@utils/ts-config-types": "7.0.8",
155
155
  "fast-glob": "3.3.3",
156
- "lucide-react": "0.547.0",
157
- "rimraf": "6.0.1",
156
+ "lucide-react": "0.552.0",
157
+ "rimraf": "6.1.0",
158
158
  "storybook": "8.6.14",
159
159
  "tailwindcss": "4.1.16",
160
160
  "typescript": "5.9.3",
161
- "vite-intlayer": "7.0.7",
161
+ "vite-intlayer": "7.0.8",
162
162
  "vite-plugin-dts": "4.5.4",
163
- "vitest": "4.0.5"
163
+ "vitest": "4.0.7"
164
164
  },
165
165
  "peerDependencies": {
166
166
  "@better-fetch/fetch": "1.1.18",
167
- "@intlayer/api": "7.0.7",
168
- "@intlayer/backend": "7.0.7",
169
- "@intlayer/config": "7.0.7",
170
- "@intlayer/core": "7.0.7",
171
- "@intlayer/dictionaries-entry": "7.0.7",
172
- "@intlayer/editor-react": "7.0.7",
173
- "@intlayer/types": "7.0.7",
167
+ "@intlayer/api": "7.0.8",
168
+ "@intlayer/backend": "7.0.8",
169
+ "@intlayer/config": "7.0.8",
170
+ "@intlayer/core": "7.0.8",
171
+ "@intlayer/dictionaries-entry": "7.0.8",
172
+ "@intlayer/editor-react": "7.0.8",
173
+ "@intlayer/types": "7.0.8",
174
174
  "@monaco-editor/react": "4.7.0",
175
- "@tanstack/react-query": "5.90.5",
175
+ "@tanstack/react-query": "5.90.6",
176
176
  "clsx": "2.1.1",
177
177
  "framer-motion": "12.23.24",
178
178
  "fuse.js": "7.1.0",
179
- "intlayer": "7.0.7",
179
+ "intlayer": "7.0.8",
180
180
  "react": ">=16.0.0",
181
181
  "react-dom": ">=16.0.0",
182
- "react-intlayer": "7.0.7",
182
+ "react-intlayer": "7.0.8",
183
183
  "tailwind-merge": "3.3.1",
184
184
  "zustand": "4.5.7"
185
185
  }