@intlayer/design-system 7.0.9-canary.3 → 7.1.0-canary.1

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/Accordion/Accordion.mjs +1 -1
  2. package/dist/esm/components/Avatar/index.mjs +1 -1
  3. package/dist/esm/components/Breadcrumb/index.mjs +1 -1
  4. package/dist/esm/components/Browser/Browser.mjs +1 -1
  5. package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs +1 -1
  6. package/dist/esm/components/ContentEditor/ContentEditor.mjs +1 -1
  7. package/dist/esm/components/ContentEditor/ContentEditorInput.mjs +1 -1
  8. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +2 -2
  9. package/dist/esm/components/CopyButton/index.mjs +1 -1
  10. package/dist/esm/components/CopyToClipboard/index.mjs +1 -1
  11. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
  12. package/dist/esm/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +1 -1
  13. package/dist/esm/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
  14. package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  15. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
  16. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +3 -3
  17. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +4 -4
  19. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -2
  20. package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
  21. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -2
  22. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +4 -4
  23. package/dist/esm/components/DictionaryFieldEditor/StructureEditor.mjs +1 -1
  24. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  25. package/dist/esm/components/EditableField/EditableFieldLayout.mjs +1 -1
  26. package/dist/esm/components/HideShow/index.mjs +1 -1
  27. package/dist/esm/components/IDE/FileTree.mjs +1 -1
  28. package/dist/esm/components/Input/InputPassword.mjs +1 -1
  29. package/dist/esm/components/Input/OTPInput.mjs +1 -1
  30. package/dist/esm/components/KeyboardScreenAdapter/index.mjs +1 -1
  31. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +2 -2
  32. package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
  33. package/dist/esm/components/Modal/Modal.mjs +3 -3
  34. package/dist/esm/components/Navbar/MobileNavbar.mjs +2 -2
  35. package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
  36. package/dist/esm/components/Select/Multiselect.mjs +1 -1
  37. package/dist/esm/components/SwitchSelector/index.mjs +1 -1
  38. package/dist/esm/components/Tab/Tab.mjs +1 -1
  39. package/dist/esm/components/TabSelector/TabSelector.mjs +1 -1
  40. package/dist/esm/components/Table/Table.mjs +1 -1
  41. package/dist/esm/components/TextArea/AutocompleteTextArea.mjs +1 -1
  42. package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
  43. package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +1 -1
  44. package/dist/esm/providers/ReactQueryProvider.mjs +1 -1
  45. package/dist/types/components/Badge/index.d.ts +2 -2
  46. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  47. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  48. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  49. package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
  50. package/dist/types/components/Browser/Browser.content.d.ts +11 -11
  51. package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
  52. package/dist/types/components/Button/Button.d.ts +5 -5
  53. package/dist/types/components/Button/Button.d.ts.map +1 -1
  54. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +4 -4
  55. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  56. package/dist/types/components/Command/index.d.ts +20 -20
  57. package/dist/types/components/Command/index.d.ts.map +1 -1
  58. package/dist/types/components/Container/index.d.ts +6 -6
  59. package/dist/types/components/Container/index.d.ts.map +1 -1
  60. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  61. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  62. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  63. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  64. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  65. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  66. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  67. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  68. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  69. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  70. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  71. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  72. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  73. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  74. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  75. package/dist/types/components/Form/FormBase.d.ts +2 -2
  76. package/dist/types/components/Form/FormBase.d.ts.map +1 -1
  77. package/dist/types/components/Form/FormField.d.ts +2 -2
  78. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  79. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  80. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  81. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  82. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  83. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  84. package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
  85. package/dist/types/components/IDE/code.content.d.ts +5 -5
  86. package/dist/types/components/IDE/code.content.d.ts.map +1 -1
  87. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  88. package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
  89. package/dist/types/components/Input/Checkbox.d.ts +4 -4
  90. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  91. package/dist/types/components/Input/Input.d.ts +3 -3
  92. package/dist/types/components/Input/Input.d.ts.map +1 -1
  93. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  94. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  95. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  96. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  97. package/dist/types/components/Link/Link.d.ts +4 -4
  98. package/dist/types/components/Loader/index.content.d.ts +3 -3
  99. package/dist/types/components/Loader/spinner.d.ts +2 -2
  100. package/dist/types/components/Loader/spinner.d.ts.map +1 -1
  101. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  102. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
  103. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  104. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
  105. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  106. package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
  107. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  108. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  109. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  110. package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  111. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  112. package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
  113. package/dist/types/components/Navbar/index.d.ts +2 -2
  114. package/dist/types/components/Navbar/index.d.ts.map +1 -1
  115. package/dist/types/components/Pagination/Pagination.d.ts +4 -4
  116. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  117. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  118. package/dist/types/components/Popover/static.d.ts +3 -3
  119. package/dist/types/components/Popover/static.d.ts.map +1 -1
  120. package/dist/types/components/Select/Select.d.ts +3 -3
  121. package/dist/types/components/Select/Select.d.ts.map +1 -1
  122. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  123. package/dist/types/components/SwitchSelector/index.d.ts +6 -6
  124. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  125. package/dist/types/components/Tab/Tab.d.ts +6 -6
  126. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  127. package/dist/types/components/Tab/TabContext.d.ts.map +1 -1
  128. package/dist/types/components/TabSelector/TabSelector.d.ts +3 -3
  129. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  130. package/dist/types/components/Table/table.content.d.ts +3 -3
  131. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  132. package/dist/types/components/Tag/index.d.ts +5 -5
  133. package/dist/types/components/Tag/index.d.ts.map +1 -1
  134. package/dist/types/components/Toaster/Toast.d.ts +3 -3
  135. package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
  136. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  137. package/dist/types/hooks/reactQuery.d.ts +17 -17
  138. package/dist/types/hooks/reactQuery.d.ts.map +1 -1
  139. package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
  140. package/dist/types/hooks/useDevice.d.ts.map +1 -1
  141. package/dist/types/hooks/useUser/index.d.ts +3 -3
  142. package/dist/types/libs/auth.d.ts +44 -44
  143. package/dist/types/libs/auth.d.ts.map +1 -1
  144. package/package.json +20 -20
@@ -4,8 +4,8 @@
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Button, ButtonColor, ButtonVariant } from "../Button/Button.mjs";
6
6
  import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
7
- import { ChevronDown } from "lucide-react";
8
7
  import { useId, useState } from "react";
8
+ import { ChevronDown } from "lucide-react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/Accordion/Accordion.tsx
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../../utils/cn.mjs";
2
2
  import { Loader } from "../Loader/index.mjs";
3
- import { User } from "lucide-react";
4
3
  import { forwardRef, useMemo } from "react";
4
+ import { User } from "lucide-react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/Avatar/index.tsx
@@ -4,8 +4,8 @@
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Button, ButtonVariant } from "../Button/Button.mjs";
6
6
  import { Link, LinkColor } from "../Link/Link.mjs";
7
- import { ChevronRightIcon } from "lucide-react";
8
7
  import { Fragment, createElement } from "react";
8
+ import { ChevronRightIcon } from "lucide-react";
9
9
  import { cva } from "class-variance-authority";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { getIntlayer } from "@intlayer/core";
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
- import { RotateCw } from "lucide-react";
6
5
  import { useEffect, useRef, useState } from "react";
6
+ import { RotateCw } from "lucide-react";
7
7
  import { cva } from "class-variance-authority";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { useIntlayer } from "react-intlayer";
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
6
- import { ChevronRight } from "lucide-react";
7
6
  import { useState } from "react";
7
+ import { ChevronRight } from "lucide-react";
8
8
  import { cva } from "class-variance-authority";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
 
@@ -4,8 +4,8 @@
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { InputVariant } from "../Input/Input.mjs";
6
6
  import { AutoSizedTextArea } from "../TextArea/AutoSizeTextArea.mjs";
7
- import { Check, X } from "lucide-react";
8
7
  import { useState } from "react";
8
+ import { Check, X } from "lucide-react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/ContentEditor/ContentEditor.tsx
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
5
5
  import { Input, InputVariant } from "../Input/Input.mjs";
6
- import { Check, X } from "lucide-react";
7
6
  import { useEffect, useState } from "react";
7
+ import { Check, X } from "lucide-react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/ContentEditor/ContentEditorInput.tsx
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
5
4
  import { useUser } from "../../hooks/useUser/index.mjs";
5
+ import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
6
6
  import { AutoCompleteTextarea } from "../TextArea/AutocompleteTextArea.mjs";
7
- import { Check, X } from "lucide-react";
8
7
  import { useEffect, useState } from "react";
8
+ import { Check, X } from "lucide-react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/ContentEditor/ContentEditorTextArea.tsx
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
5
- import { CopyCheckIcon, CopyIcon } from "lucide-react";
6
5
  import { useEffect, useState } from "react";
6
+ import { CopyCheckIcon, CopyIcon } from "lucide-react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import { useIntlayer } from "react-intlayer";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
- import { CopyCheck, CopyIcon } from "lucide-react";
6
5
  import { useState } from "react";
6
+ import { CopyCheck, CopyIcon } from "lucide-react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
9
  //#region src/components/CopyToClipboard/index.tsx
@@ -3,9 +3,9 @@
3
3
 
4
4
  import { SaveForm } from "../DictionaryFieldEditor/SaveForm/SaveForm.mjs";
5
5
  import { NodeWrapper } from "./NodeWrapper/index.mjs";
6
+ import { useEditedContent, useFocusUnmergedDictionary } from "@intlayer/editor-react";
6
7
  import { createElement, useMemo } from "react";
7
8
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { useEditedContent, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
9
 
10
10
  //#region src/components/DictionaryEditor/DictionaryEditor.tsx
11
11
  const DictionaryEditor = ({ dictionary, mode, onDelete, ...props }) => {
@@ -1,7 +1,7 @@
1
1
  import { StringWrapper } from "./StringWrapper.mjs";
2
+ import { useEditedContent } from "@intlayer/editor-react";
2
3
  import { jsx, jsxs } from "react/jsx-runtime";
3
4
  import { getContentNodeByKeyPath } from "@intlayer/core";
4
- import { useEditedContent } from "@intlayer/editor-react";
5
5
  import { NodeType } from "@intlayer/types";
6
6
 
7
7
  //#region src/components/DictionaryEditor/NodeWrapper/FileWrapper.tsx
@@ -1,8 +1,8 @@
1
1
  import { cn } from "../../../utils/cn.mjs";
2
2
  import { EditableFieldTextArea } from "../../EditableField/EditableFieldTextArea.mjs";
3
+ import { useEditorLocale } from "@intlayer/editor-react";
3
4
  import { Fragment, jsx } from "react/jsx-runtime";
4
5
  import { getContentNodeByKeyPath } from "@intlayer/core";
5
- import { useEditorLocale } from "@intlayer/editor-react";
6
6
 
7
7
  //#region src/components/DictionaryEditor/NodeWrapper/StringWrapper.tsx
8
8
  const StringWrapper = ({ keyPath, section, editedContent, editedContentValue: editedContentValueProp, onContentChange, onFocusKeyPath, renderSection }) => {
@@ -10,10 +10,10 @@ import { InsertionWrapper } from "./InsertionWrapper.mjs";
10
10
  import { MarkdownWrapper } from "./MarkdownWrapper.mjs";
11
11
  import { NestedObjectWrapper } from "./NestedObjectWrapper.mjs";
12
12
  import { TranslationWrapper } from "./TranslationWrapper.mjs";
13
+ import { useEditorLocale } from "@intlayer/editor-react";
13
14
  import { memo, useMemo } from "react";
14
15
  import { jsx } from "react/jsx-runtime";
15
16
  import { getContentNodeByKeyPath, getNodeType } from "@intlayer/core";
16
- import { useEditorLocale } from "@intlayer/editor-react";
17
17
  import { NodeType } from "@intlayer/types";
18
18
 
19
19
  //#region src/components/DictionaryEditor/NodeWrapper/index.tsx
@@ -7,10 +7,10 @@ import { TextEditorContainer } from "./ContentEditorView/TextEditor.mjs";
7
7
  import { getIsEditableSection } from "./getIsEditableSection.mjs";
8
8
  import { KeyPathBreadcrumb } from "./KeyPathBreadcrumb.mjs";
9
9
  import { NavigationViewNode } from "./NavigationView/NavigationViewNode.mjs";
10
+ import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
10
11
  import { useEffect } from "react";
11
12
  import { jsx, jsxs } from "react/jsx-runtime";
12
13
  import { getContentNodeByKeyPath } from "@intlayer/core";
13
- import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
14
14
 
15
15
  //#region src/components/DictionaryFieldEditor/ContentEditor.tsx
16
16
  const ContentEditor = ({ dictionary, isDarkMode }) => {
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
 
4
+ import { useAuditContentDeclarationField } from "../../../hooks/reactQuery.mjs";
4
5
  import { Container } from "../../Container/index.mjs";
5
6
  import { Button, ButtonColor, ButtonSize, ButtonTextAlign, ButtonVariant } from "../../Button/Button.mjs";
6
- import { useAuditContentDeclarationField } from "../../../hooks/reactQuery.mjs";
7
7
  import { InputVariant } from "../../Input/Input.mjs";
8
8
  import { Label } from "../../Label/index.mjs";
9
9
  import { SwitchSelector, SwitchSelectorColor, SwitchSelectorSize } from "../../SwitchSelector/index.mjs";
@@ -13,12 +13,12 @@ import { ContentEditorInput } from "../../ContentEditor/ContentEditorInput.mjs";
13
13
  import { ContentEditorTextArea } from "../../ContentEditor/ContentEditorTextArea.mjs";
14
14
  import { MarkdownRenderer } from "../../MarkDownRender/MarkDownRender.mjs";
15
15
  import { EnumKeyInput } from "../EnumKeyInput.mjs";
16
- import { Plus, Trash, WandSparkles } from "lucide-react";
16
+ import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
17
17
  import { Fragment, useState } from "react";
18
+ import { Plus, Trash, WandSparkles } from "lucide-react";
18
19
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
19
20
  import { getEmptyNode, getLocaleName, getNodeType } from "@intlayer/core";
20
21
  import { useIntlayer, useLocale } from "react-intlayer";
21
- import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
22
22
  import { NodeType } from "@intlayer/types";
23
23
 
24
24
  //#region src/components/DictionaryFieldEditor/ContentEditorView/TextEditor.tsx
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { ButtonColor } from "../../Button/Button.mjs";
5
4
  import { useSession } from "../../../hooks/useAuth/useSession.mjs";
6
5
  import { useAddDictionary, useGetProjects } from "../../../hooks/reactQuery.mjs";
6
+ import { ButtonColor } from "../../Button/Button.mjs";
7
7
  import { MultiSelect } from "../../Select/Multiselect.mjs";
8
8
  import { useForm } from "../../Form/FormBase.mjs";
9
9
  import { Form } from "../../Form/Form.mjs";
@@ -1,20 +1,20 @@
1
1
  'use client';
2
2
 
3
3
 
4
+ import { useSession } from "../../../hooks/useAuth/useSession.mjs";
5
+ import { useAuditContentDeclarationMetadata, useGetProjects, useGetTags } from "../../../hooks/reactQuery.mjs";
4
6
  import { Container } from "../../Container/index.mjs";
5
7
  import { Loader } from "../../Loader/index.mjs";
6
8
  import { ButtonColor, ButtonSize, ButtonVariant } from "../../Button/Button.mjs";
7
- import { useSession } from "../../../hooks/useAuth/useSession.mjs";
8
- import { useAuditContentDeclarationMetadata, useGetProjects, useGetTags } from "../../../hooks/reactQuery.mjs";
9
9
  import { MultiSelect } from "../../Select/Multiselect.mjs";
10
10
  import { useForm } from "../../Form/FormBase.mjs";
11
11
  import { Form } from "../../Form/Form.mjs";
12
12
  import { useDictionaryDetailsSchema } from "./useDictionaryDetailsSchema.mjs";
13
- import { WandSparkles } from "lucide-react";
13
+ import { useEditedContent } from "@intlayer/editor-react";
14
14
  import { useEffect } from "react";
15
+ import { WandSparkles } from "lucide-react";
15
16
  import { jsx, jsxs } from "react/jsx-runtime";
16
17
  import { useIntlayer } from "react-intlayer";
17
- import { useEditedContent } from "@intlayer/editor-react";
18
18
 
19
19
  //#region src/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.tsx
20
20
  const DictionaryDetailsForm = ({ dictionary }) => {
@@ -9,11 +9,11 @@ import { ContentEditor } from "./ContentEditor.mjs";
9
9
  import { DictionaryDetailsForm } from "./DictionaryDetails/DictionaryDetailsForm.mjs";
10
10
  import { JSONEditor } from "./JSONEditor.mjs";
11
11
  import { StructureEditor } from "./StructureEditor.mjs";
12
- import { ArrowLeft } from "lucide-react";
12
+ import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
13
13
  import { useEffect, useState } from "react";
14
+ import { ArrowLeft } from "lucide-react";
14
15
  import { jsx, jsxs } from "react/jsx-runtime";
15
16
  import { useIntlayer } from "react-intlayer";
16
- import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
17
17
 
18
18
  //#region src/components/DictionaryFieldEditor/DictionaryFieldEditor.tsx
19
19
  var EditorViewType = /* @__PURE__ */ function(EditorViewType$1) {
@@ -1,8 +1,8 @@
1
1
  import { Container } from "../Container/index.mjs";
2
2
  import { MonacoCode } from "../IDE/MonacoCode.mjs";
3
+ import { useEditedContent } from "@intlayer/editor-react";
3
4
  import { useMemo } from "react";
4
5
  import { jsx } from "react/jsx-runtime";
5
- import { useEditedContent } from "@intlayer/editor-react";
6
6
 
7
7
  //#region src/components/DictionaryFieldEditor/JSONEditor.tsx
8
8
  const JSONEditor = ({ dictionary, isDarkMode }) => {
@@ -1,12 +1,12 @@
1
1
  import { Button, ButtonColor, ButtonTextAlign, ButtonVariant } from "../../Button/Button.mjs";
2
2
  import { Accordion } from "../../Accordion/Accordion.mjs";
3
3
  import { getIsEditableSection } from "../getIsEditableSection.mjs";
4
+ import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
5
+ import configuration from "@intlayer/config/built";
4
6
  import { ChevronRight, Plus } from "lucide-react";
5
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
8
  import { getContentNodeByKeyPath, getEmptyNode, getNodeType, isSameKeyPath } from "@intlayer/core";
7
9
  import { useIntlayer } from "react-intlayer";
8
- import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
- import configuration from "@intlayer/config/built";
10
10
  import { NodeType } from "@intlayer/types";
11
11
  import { camelCaseToSentence } from "@intlayer/config/client";
12
12
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../../utils/cn.mjs";
5
- import { ButtonColor, ButtonVariant } from "../../Button/Button.mjs";
6
4
  import { useAuth } from "../../../hooks/useAuth/useAuth.mjs";
7
5
  import { useDeleteDictionary, usePushDictionaries, useWriteDictionary } from "../../../hooks/reactQuery.mjs";
6
+ import { cn } from "../../../utils/cn.mjs";
7
+ import { ButtonColor, ButtonVariant } from "../../Button/Button.mjs";
8
8
  import { Modal, ModalSize } from "../../Modal/Modal.mjs";
9
9
  import { Form } from "../../Form/Form.mjs";
10
- import { ArrowUpFromLine, Download, RotateCcw, Save, Trash } from "lucide-react";
10
+ import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
11
11
  import { useState } from "react";
12
+ import { ArrowUpFromLine, Download, RotateCcw, Save, Trash } from "lucide-react";
12
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
14
  import { useIntlayer } from "react-intlayer";
14
- import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
15
15
 
16
16
  //#region src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx
17
17
  const SaveForm = ({ dictionary, mode, className, onDelete, onSave, ...props }) => {
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { NodeView } from "./StructureView/StructureView.mjs";
5
- import { jsx } from "react/jsx-runtime";
6
5
  import { useEditedContent } from "@intlayer/editor-react";
6
+ import { jsx } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/DictionaryFieldEditor/StructureEditor.tsx
9
9
  const StructureEditor = ({ dictionary }) => {
@@ -6,11 +6,11 @@ import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../../Button/But
6
6
  import { InputVariant } from "../../Input/Input.mjs";
7
7
  import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
8
8
  import { NodeTypeSelector } from "../NodeTypeSelector.mjs";
9
+ import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
10
  import { Plus, Trash } from "lucide-react";
10
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
12
  import { getDefaultNode, getNodeChildren, getNodeType, isSameKeyPath } from "@intlayer/core";
12
13
  import { useIntlayer } from "react-intlayer";
13
- import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
14
14
  import { NodeType } from "@intlayer/types";
15
15
  import { camelCaseToSentence } from "@intlayer/config/client";
16
16
 
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
6
- import { Check, Pencil, X } from "lucide-react";
7
6
  import { useCallback, useEffect, useRef, useState } from "react";
7
+ import { Check, Pencil, X } from "lucide-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/EditableField/EditableFieldLayout.tsx
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
- import { Eye, EyeOff } from "lucide-react";
6
5
  import { useEffect, useMemo, useRef, useState } from "react";
6
+ import { Eye, EyeOff } from "lucide-react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
9
  //#region src/components/HideShow/index.tsx
@@ -4,8 +4,8 @@
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
6
6
  import { createFileTree } from "./createFileTree.mjs";
7
- import { ChevronRight } from "lucide-react";
8
7
  import { useState } from "react";
8
+ import { ChevronRight } from "lucide-react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/IDE/FileTree.tsx
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
  import { Input } from "./Input.mjs";
5
- import { EyeIcon, EyeOffIcon } from "lucide-react";
6
5
  import { useState } from "react";
6
+ import { EyeIcon, EyeOffIcon } from "lucide-react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
9
  //#region src/components/Input/InputPassword.tsx
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Button } from "../Button/Button.mjs";
6
- import { MinusIcon } from "lucide-react";
7
6
  import { createContext, useContext, useEffect, useRef, useState } from "react";
7
+ import { MinusIcon } from "lucide-react";
8
8
  import { cva } from "class-variance-authority";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
 
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../utils/cn.mjs";
5
4
  import { useKeyboardDetector } from "../../hooks/useKeyboardDetector.mjs";
5
+ import { cn } from "../../utils/cn.mjs";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/KeyboardScreenAdapter/index.tsx
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
 
3
3
 
4
+ import { usePersistedStore } from "../../hooks/usePersistedStore.mjs";
4
5
  import { Container } from "../Container/index.mjs";
5
6
  import { Button, ButtonColor, ButtonSize, ButtonTextAlign, ButtonVariant } from "../Button/Button.mjs";
6
- import { usePersistedStore } from "../../hooks/usePersistedStore.mjs";
7
7
  import { Input } from "../Input/Input.mjs";
8
8
  import { SwitchSelector, SwitchSelectorColor, SwitchSelectorSize } from "../SwitchSelector/index.mjs";
9
9
  import { DropDown } from "../DropDown/index.mjs";
10
10
  import { useLocaleSwitcherContent } from "./LocaleSwitcherContentContext.mjs";
11
- import { Check, Globe, MoveVertical } from "lucide-react";
12
11
  import { useCallback, useMemo, useRef, useState } from "react";
12
+ import { Check, Globe, MoveVertical } from "lucide-react";
13
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
14
14
  import { getHTMLTextDir, getLocaleName } from "@intlayer/core";
15
15
  import { useIntlayer, useLocale } from "react-intlayer";
@@ -5,8 +5,8 @@ import { Container } from "../Container/index.mjs";
5
5
  import { Button, ButtonColor, ButtonTextAlign, ButtonVariant } from "../Button/Button.mjs";
6
6
  import { Input } from "../Input/Input.mjs";
7
7
  import { DropDown } from "../DropDown/index.mjs";
8
- import { MoveVertical } from "lucide-react";
9
8
  import { useCallback, useMemo, useRef, useState } from "react";
9
+ import { MoveVertical } from "lucide-react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  import { getHTMLTextDir, getLocaleName } from "@intlayer/core";
12
12
  import { useIntlayer } from "react-intlayer";
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
 
3
3
 
4
+ import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
5
+ import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
4
6
  import { cn } from "../../utils/cn.mjs";
5
7
  import { Container } from "../Container/index.mjs";
6
8
  import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
7
- import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
8
- import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
9
9
  import { H3 } from "../Headers/index.mjs";
10
- import { X } from "lucide-react";
11
10
  import { useEffect } from "react";
11
+ import { X } from "lucide-react";
12
12
  import { cva } from "class-variance-authority";
13
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
14
14
  import { motion } from "framer-motion";
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../utils/cn.mjs";
5
- import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
6
4
  import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
7
5
  import { useScrollDetection } from "../../hooks/useScrollDetection.mjs";
6
+ import { cn } from "../../utils/cn.mjs";
7
+ import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
8
8
  import { Burger } from "./Burger.mjs";
9
9
  import { useRef, useState } from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { Container } from "../Container/index.mjs";
5
- import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
6
4
  import { useDevice } from "../../hooks/useDevice.mjs";
7
5
  import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
6
+ import { Container } from "../Container/index.mjs";
7
+ import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../Button/Button.mjs";
8
8
  import { MaxWidthSmoother } from "../MaxWidthSmoother/index.mjs";
9
9
  import { isElementAtTopAndNotCovered } from "./isElementAtTopAndNotCovered.mjs";
10
10
  import { useRightDrawerStore } from "./useRightDrawerStore.mjs";
11
- import { ChevronLeft, X } from "lucide-react";
12
11
  import { useEffect, useRef } from "react";
12
+ import { ChevronLeft, X } from "lucide-react";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
14
 
15
15
  //#region src/components/RightDrawer/RightDrawer.tsx
@@ -4,8 +4,8 @@
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Badge, BadgeColor } from "../Badge/index.mjs";
6
6
  import { Command, CommandRoot } from "../Command/index.mjs";
7
- import { Check, X } from "lucide-react";
8
7
  import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
8
+ import { Check, X } from "lucide-react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/Select/Multiselect.tsx
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../utils/cn.mjs";
5
4
  import { useItemSelector } from "../../hooks/useItemSelector.mjs";
5
+ import { cn } from "../../utils/cn.mjs";
6
6
  import { createElement, useEffect, useRef, useState } from "react";
7
7
  import { cva } from "class-variance-authority";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../utils/cn.mjs";
5
4
  import { useHorizontalSwipe } from "../../hooks/useHorizontalSwipe.mjs";
5
+ import { cn } from "../../utils/cn.mjs";
6
6
  import { TabSelector, TabSelectorColor } from "../TabSelector/TabSelector.mjs";
7
7
  import { useTabContext } from "./TabContext.mjs";
8
8
  import { Children, createContext, isValidElement, useState } from "react";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { cn } from "../../utils/cn.mjs";
5
4
  import { useItemSelector } from "../../hooks/useItemSelector.mjs";
5
+ import { cn } from "../../utils/cn.mjs";
6
6
  import { cloneElement, useEffect, useRef } from "react";
7
7
  import { cva } from "class-variance-authority";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -5,8 +5,8 @@ import { cn } from "../../utils/cn.mjs";
5
5
  import { Button } from "../Button/Button.mjs";
6
6
  import { Modal, ModalSize } from "../Modal/Modal.mjs";
7
7
  import { ExpandCollapse } from "../ExpandCollapse/ExpandCollapse.mjs";
8
- import { MoveDiagonal } from "lucide-react";
9
8
  import { useState } from "react";
9
+ import { MoveDiagonal } from "lucide-react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
 
12
12
  //#region src/components/Table/Table.tsx
@@ -3,9 +3,9 @@
3
3
 
4
4
  import { useAutocomplete } from "../../hooks/reactQuery.mjs";
5
5
  import { AutoSizedTextArea } from "./AutoSizeTextArea.mjs";
6
+ import { useConfiguration } from "@intlayer/editor-react";
6
7
  import { useEffect, useRef, useState } from "react";
7
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
- import { useConfiguration } from "@intlayer/editor-react";
9
9
 
10
10
  //#region src/components/TextArea/AutocompleteTextArea.tsx
11
11
  /**
@@ -5,8 +5,8 @@ import { Container } from "../Container/index.mjs";
5
5
  import { Button, ButtonVariant } from "../Button/Button.mjs";
6
6
  import { DropDown } from "../DropDown/index.mjs";
7
7
  import { Modes } from "./types.mjs";
8
- import { CircleDashed, Moon, Sun } from "lucide-react";
9
8
  import { useState } from "react";
9
+ import { CircleDashed, Moon, Sun } from "lucide-react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
 
12
12
  //#region src/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.tsx
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { cn } from "../../utils/cn.mjs";
5
5
  import { Modes } from "./types.mjs";
6
- import { CircleDashed, Moon, Sun } from "lucide-react";
7
6
  import { useState } from "react";
7
+ import { CircleDashed, Moon, Sun } from "lucide-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/ThemeSwitcherDropDown/MobileThemeSwitcher.tsx
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
  import { useToast } from "../components/Toaster/useToast.mjs";
5
+ import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
5
6
  import { useRef } from "react";
6
7
  import { jsx } from "react/jsx-runtime";
7
- import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
8
8
 
9
9
  //#region src/providers/ReactQueryProvider.tsx
10
10
  const defaultQueryOptions = {
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from "react";
2
- import * as class_variance_authority_types12 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Badge/index.d.ts
@@ -47,7 +47,7 @@ declare const badgeVariants: (props?: {
47
47
  color?: BadgeColor;
48
48
  variant?: BadgeVariant;
49
49
  size?: BadgeSize;
50
- } & class_variance_authority_types12.ClassProp) => string;
50
+ } & class_variance_authority_types2.ClassProp) => string;
51
51
  /**
52
52
  * Badge component props interface
53
53
  * @description Comprehensive props for the Badge component with accessibility and interactive features
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types385 from "@intlayer/types";
1
+ import * as _intlayer_types19 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Breadcrumb/breadcrumb.content.d.ts
4
4
  declare const breadCrumbContent: {
5
5
  key: string;
6
6
  content: {
7
- linkLabel: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
7
+ linkLabel: _intlayer_types19.TypedNodeModel<_intlayer_types19.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const breadCrumbContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: "translation" | _intlayer_types385.NodeType.Translation;
26
+ nodeType: _intlayer_types19.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;