@intlayer/design-system 8.12.0-canary.0 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/esm/api/hooks/utils.mjs +1 -1
  2. package/dist/esm/api/useAuth/useOAuth2.mjs +1 -1
  3. package/dist/esm/api/useAuth/useSession.mjs +1 -1
  4. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
  5. package/dist/esm/components/DictionaryEditor/NodeWrapper/BooleanWrapper.mjs +1 -1
  6. package/dist/esm/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +1 -1
  7. package/dist/esm/components/DictionaryEditor/NodeWrapper/NumberWrapper.mjs +1 -1
  8. package/dist/esm/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
  9. package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  10. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
  11. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +1 -1
  12. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
  13. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
  14. package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
  15. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  16. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
  17. package/dist/esm/components/DictionaryFieldEditor/StructureEditor.mjs +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  19. package/dist/esm/components/Form/elements/OTPElement.mjs +1 -1
  20. package/dist/esm/components/KeyboardScreenAdapter/index.mjs +1 -1
  21. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs +1 -1
  22. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
  23. package/dist/esm/components/Modal/Modal.mjs +2 -2
  24. package/dist/esm/components/Navbar/MobileNavbar.mjs +2 -2
  25. package/dist/esm/components/Pagination/Pagination.mjs +1 -1
  26. package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
  27. package/dist/esm/components/Tab/Tab.mjs +1 -1
  28. package/dist/esm/components/TabSelector/TabSelector.mjs +1 -1
  29. package/dist/esm/hooks/index.mjs +8 -8
  30. package/dist/esm/providers/ReactQueryProvider.mjs +2 -2
  31. package/dist/types/api/useIntlayerAPI.d.ts +1 -1
  32. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
  33. package/dist/types/components/Command/index.d.ts +2 -2
  34. package/package.json +14 -14
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import { useAuth } from "../useAuth/useAuth.mjs";
4
- import { useQuery } from "@tanstack/react-query";
5
4
  import { useConfiguration } from "@intlayer/editor-react";
5
+ import { useQuery } from "@tanstack/react-query";
6
6
 
7
7
  //#region src/api/hooks/utils.ts
8
8
  const useAuthEnable = ({ requireUser, requireProject, requireOrganization }) => {
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import { useQuery } from "@tanstack/react-query";
4
3
  import { editor } from "@intlayer/config/built";
5
4
  import { getOAuthAPI } from "@intlayer/api";
6
5
  import { useConfiguration } from "@intlayer/editor-react";
6
+ import { useQuery } from "@tanstack/react-query";
7
7
  import { defu } from "defu";
8
8
 
9
9
  //#region src/api/useAuth/useOAuth2.ts
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { getAuthAPI } from "../../libs/auth.mjs";
4
- import { useQuery, useQueryClient } from "@tanstack/react-query";
5
4
  import { editor } from "@intlayer/config/built";
6
5
  import { useConfiguration } from "@intlayer/editor-react";
6
+ import { useQuery, useQueryClient } from "@tanstack/react-query";
7
7
 
8
8
  //#region src/api/useAuth/useSession.ts
9
9
  const useSession = (sessionProp, intlayerConfiguration) => {
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { NodeWrapper } from "./NodeWrapper/index.mjs";
4
4
  import { createElement } from "react";
5
- import { jsx } from "react/jsx-runtime";
6
5
  import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
6
+ import { jsx } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/DictionaryEditor/DictionaryEditor.tsx
9
9
  const DictionaryEditor = ({ dictionary, ...props }) => {
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { cn } from "../../../utils/cn.mjs";
4
4
  import { SwitchSelector } from "../../SwitchSelector/SwitchSelector.mjs";
5
- import { Fragment, jsx } from "react/jsx-runtime";
6
5
  import { useEditorLocale } from "@intlayer/editor-react";
6
+ import { Fragment, jsx } from "react/jsx-runtime";
7
7
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
8
8
 
9
9
  //#region src/components/DictionaryEditor/NodeWrapper/BooleanWrapper.tsx
@@ -1,6 +1,6 @@
1
1
  import { StringWrapper } from "./StringWrapper.mjs";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
2
  import { useEditedContent } from "@intlayer/editor-react";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
5
5
  import * as NodeTypes from "@intlayer/types/nodeType";
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../../../utils/cn.mjs";
2
2
  import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
3
- import { Fragment, jsx } from "react/jsx-runtime";
4
3
  import { useEditorLocale } from "@intlayer/editor-react";
4
+ import { Fragment, jsx } from "react/jsx-runtime";
5
5
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
6
6
 
7
7
  //#region src/components/DictionaryEditor/NodeWrapper/NumberWrapper.tsx
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../../../utils/cn.mjs";
2
2
  import { EditableFieldTextArea } from "../../EditableField/EditableFieldTextArea.mjs";
3
- import { Fragment, jsx } from "react/jsx-runtime";
4
3
  import { useEditorLocale } from "@intlayer/editor-react";
4
+ import { Fragment, jsx } from "react/jsx-runtime";
5
5
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
6
6
 
7
7
  //#region src/components/DictionaryEditor/NodeWrapper/StringWrapper.tsx
@@ -14,8 +14,8 @@ import { NumberWrapper } from "./NumberWrapper.mjs";
14
14
  import { PluralWrapper } from "./PluralWrapper.mjs";
15
15
  import { TranslationWrapper } from "./TranslationWrapper.mjs";
16
16
  import { memo, useMemo } from "react";
17
- import { jsx } from "react/jsx-runtime";
18
17
  import { useEditorLocale } from "@intlayer/editor-react";
18
+ import { jsx } from "react/jsx-runtime";
19
19
  import { getContentNodeByKeyPath, getNodeType } from "@intlayer/core/dictionaryManipulator";
20
20
  import * as NodeTypes from "@intlayer/types/nodeType";
21
21
 
@@ -7,8 +7,8 @@ import { getIsEditableSection } from "./getIsEditableSection.mjs";
7
7
  import { KeyPathBreadcrumb } from "./KeyPathBreadcrumb.mjs";
8
8
  import { NavigationViewNode } from "./NavigationView/NavigationViewNode.mjs";
9
9
  import { useDeferredValue, useEffect, useTransition } from "react";
10
- import { jsx, jsxs } from "react/jsx-runtime";
11
10
  import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
12
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
13
13
 
14
14
  //#region src/components/DictionaryFieldEditor/ContentEditor.tsx
@@ -14,9 +14,9 @@ import { Label } from "../../Label/index.mjs";
14
14
  import { EnumKeyInput } from "../EnumKeyInput.mjs";
15
15
  import { SafeHtmlRenderer } from "./SafeHtmlRenderer.mjs";
16
16
  import { Fragment, Suspense, lazy, memo, useState } from "react";
17
+ import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
17
18
  import { Plus, Trash, WandSparkles } from "lucide-react";
18
19
  import { jsx, jsxs } from "react/jsx-runtime";
19
- import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
20
20
  import { useIntlayer, useLocale } from "react-intlayer";
21
21
  import { getLocaleName } from "@intlayer/core/localization";
22
22
  import { getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
@@ -12,9 +12,9 @@ import { useForm as useForm$1 } from "../../Form/FormBase.mjs";
12
12
  import { Form } from "../../Form/Form.mjs";
13
13
  import { useDictionaryDetailsSchema } from "./useDictionaryDetailsSchema.mjs";
14
14
  import { useEffect } from "react";
15
+ import { useEditedContent } from "@intlayer/editor-react";
15
16
  import { WandSparkles } from "lucide-react";
16
17
  import { jsx, jsxs } from "react/jsx-runtime";
17
- import { useEditedContent } from "@intlayer/editor-react";
18
18
  import { useIntlayer } from "react-intlayer";
19
19
  import { useWatch } from "react-hook-form";
20
20
  import { AnimatePresence, motion } from "framer-motion";
@@ -11,9 +11,9 @@ import { JSONEditor } from "./JSONEditor.mjs";
11
11
  import { SaveForm } from "./SaveForm/SaveForm.mjs";
12
12
  import { StructureEditor } from "./StructureEditor.mjs";
13
13
  import { useEffect, useState } from "react";
14
+ import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
14
15
  import { ArrowLeft } from "lucide-react";
15
16
  import { jsx, jsxs } from "react/jsx-runtime";
16
- import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
17
17
  import { useIntlayer } from "react-intlayer";
18
18
 
19
19
  //#region src/components/DictionaryFieldEditor/DictionaryFieldEditor.tsx
@@ -1,6 +1,6 @@
1
1
  import { MonacoCode } from "../IDE/MonacoCode.mjs";
2
- import { jsx } from "react/jsx-runtime";
3
2
  import { useEditedContent } from "@intlayer/editor-react";
3
+ import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/DictionaryFieldEditor/JSONEditor.tsx
6
6
  const JSONEditor = ({ dictionary, isDarkMode }) => {
@@ -3,9 +3,9 @@ import { Accordion } from "../../Accordion/Accordion.mjs";
3
3
  import { useLocaleSwitcherContent } from "../../LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs";
4
4
  import { getIsEditableSection } from "../getIsEditableSection.mjs";
5
5
  import { useState } from "react";
6
+ import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
6
7
  import { ChevronRight, Plus } from "lucide-react";
7
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
- import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
9
  import { useIntlayer } from "react-intlayer";
10
10
  import { getContentNodeByKeyPath, getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
11
11
  import * as NodeTypes from "@intlayer/types/nodeType";
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "../../../utils/cn.mjs";
4
3
  import { useAuth } from "../../../api/useAuth/useAuth.mjs";
5
4
  import { useDeleteDictionary, usePushDictionaries } from "../../../api/hooks/dictionary.mjs";
6
5
  import { useWriteDictionary } from "../../../api/hooks/editor.mjs";
6
+ import { cn } from "../../../utils/cn.mjs";
7
7
  import { Form } from "../../Form/Form.mjs";
8
8
  import { Modal } from "../../Modal/Modal.mjs";
9
9
  import { useState } from "react";
10
+ import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
10
11
  import { ArrowUpFromLine, Download, RotateCcw, Save, Trash } from "lucide-react";
11
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
12
- import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
13
13
  import { useIntlayer } from "react-intlayer";
14
14
 
15
15
  //#region src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import { NodeView } from "./StructureView/StructureView.mjs";
4
- import { jsx } from "react/jsx-runtime";
5
4
  import { useEditedContent } from "@intlayer/editor-react";
5
+ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/DictionaryFieldEditor/StructureEditor.tsx
8
8
  const StructureEditor = ({ dictionary }) => {
@@ -4,9 +4,9 @@ import { Button } from "../../Button/Button.mjs";
4
4
  import { Container } from "../../Container/index.mjs";
5
5
  import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
6
6
  import { NodeTypeSelector } from "../NodeTypeSelector.mjs";
7
+ import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
7
8
  import { Plus, Trash } from "lucide-react";
8
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
- import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
10
10
  import { useIntlayer } from "react-intlayer";
11
11
  import { getDefaultNode, getNodeChildren, getNodeType } from "@intlayer/core/dictionaryManipulator";
12
12
  import * as NodeTypes from "@intlayer/types/nodeType";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "../../Input/OTPInput.mjs";
4
3
  import { useItemSelector } from "../../../hooks/useItemSelector.mjs";
4
+ import { InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "../../Input/OTPInput.mjs";
5
5
  import { useFormField } from "../FormField.mjs";
6
6
  import { FormItemLayout } from "../layout/FormItemLayout.mjs";
7
7
  import { Form } from "../Form.mjs";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "../../utils/cn.mjs";
4
3
  import { useKeyboardDetector } from "../../hooks/useKeyboardDetector.mjs";
4
+ import { cn } from "../../utils/cn.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/KeyboardScreenAdapter/index.tsx
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "../../utils/cn.mjs";
4
3
  import { useDevice } from "../../hooks/useDevice.mjs";
4
+ import { cn } from "../../utils/cn.mjs";
5
5
  import { useEffect, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
 
3
+ import { usePersistedStore } from "../../hooks/usePersistedStore.mjs";
3
4
  import { Button } from "../Button/Button.mjs";
4
5
  import { Container } from "../Container/index.mjs";
5
6
  import { DropDown } from "../DropDown/index.mjs";
6
7
  import { Input } from "../Input/Input.mjs";
7
8
  import { SwitchSelector } from "../SwitchSelector/SwitchSelector.mjs";
8
- import { usePersistedStore } from "../../hooks/usePersistedStore.mjs";
9
9
  import { useLocaleSwitcherContent } from "./LocaleSwitcherContentContext.mjs";
10
10
  import { useMemo, useRef, useState } from "react";
11
11
  import { Check, Globe, MoveVertical } from "lucide-react";
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
+ import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
4
+ import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
3
5
  import { cn } from "../../utils/cn.mjs";
4
6
  import { Button } from "../Button/Button.mjs";
5
7
  import { Container } from "../Container/index.mjs";
6
- import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
7
- import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
8
8
  import { H3 } from "../Headers/index.mjs";
9
9
  import { useEffect } from "react";
10
10
  import { cva } from "class-variance-authority";
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "../../utils/cn.mjs";
4
- import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
5
3
  import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
6
4
  import { useScrollDetection } from "../../hooks/useScrollDetection.mjs";
5
+ import { cn } from "../../utils/cn.mjs";
6
+ import { MaxHeightSmoother } from "../MaxHeightSmoother/index.mjs";
7
7
  import { Burger } from "./Burger.mjs";
8
8
  import { useRef, useState } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { useItemSelector } from "../../hooks/useItemSelector.mjs";
3
4
  import { cn } from "../../utils/cn.mjs";
4
5
  import { Button } from "../Button/Button.mjs";
5
- import { useItemSelector } from "../../hooks/useItemSelector.mjs";
6
6
  import { useEffect, useRef } from "react";
7
7
  import { cva } from "class-variance-authority";
8
8
  import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
+ import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
4
+ import { useDevice } from "../../hooks/useDevice.mjs";
5
+ import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
3
6
  import { Button } from "../Button/Button.mjs";
4
7
  import { Container } from "../Container/index.mjs";
5
- import { useDevice } from "../../hooks/useDevice.mjs";
6
8
  import { KeyboardShortcut } from "../KeyboardShortcut/KeyboardShortcut.mjs";
7
9
  import { Popover } from "../Popover/dynamic.mjs";
8
- import { useGetElementOrWindow } from "../../hooks/useGetElementOrWindow.mjs";
9
- import { useScrollBlockage } from "../../hooks/useScrollBlockage/index.mjs";
10
10
  import { MaxWidthSmoother } from "../MaxWidthSmoother/index.mjs";
11
11
  import { isElementAtTopAndNotCovered } from "./isElementAtTopAndNotCovered.mjs";
12
12
  import { useRightDrawer } from "./useRightDrawer.mjs";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { useHorizontalSwipe } from "../../hooks/useHorizontalSwipe.mjs";
3
4
  import { cn } from "../../utils/cn.mjs";
4
5
  import { TabSelector } from "../TabSelector/TabSelector.mjs";
5
- import { useHorizontalSwipe } from "../../hooks/useHorizontalSwipe.mjs";
6
6
  import { useTabContext } from "./TabContext.mjs";
7
7
  import { Children, createContext, isValidElement, useState } from "react";
8
8
  import { cva } from "class-variance-authority";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "../../utils/cn.mjs";
4
3
  import { useItemSelector } from "../../hooks/useItemSelector.mjs";
4
+ import { cn } from "../../utils/cn.mjs";
5
5
  import { cloneElement, useEffect, useRef } from "react";
6
6
  import { cva } from "class-variance-authority";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,16 +1,16 @@
1
- import { calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice } from "./useDevice.mjs";
2
- import { useItemSelector } from "./useItemSelector.mjs";
3
- import { usePersistedStore } from "./usePersistedStore.mjs";
4
- import { useGetElementById } from "./useGetElementById.mjs";
1
+ import { useKeyboardDetector } from "./useKeyboardDetector.mjs";
5
2
  import { useGetElementOrWindow } from "./useGetElementOrWindow.mjs";
3
+ import { useScrollY } from "./useScrollY.mjs";
4
+ import { usePersistedStore } from "./usePersistedStore.mjs";
6
5
  import { useHorizontalSwipe } from "./useHorizontalSwipe.mjs";
7
- import { useIsDarkMode } from "./useIsDarkMode.mjs";
6
+ import { useItemSelector } from "./useItemSelector.mjs";
7
+ import { calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice } from "./useDevice.mjs";
8
+ import { useSearch } from "./useSearch.mjs";
8
9
  import { useIsMounted } from "./useIsMounted.mjs";
9
- import { useKeyboardDetector } from "./useKeyboardDetector.mjs";
10
+ import { useGetElementById } from "./useGetElementById.mjs";
11
+ import { useIsDarkMode } from "./useIsDarkMode.mjs";
10
12
  import { useScreenWidth } from "./useScreenWidth.mjs";
11
13
  import { useScrollBlockage } from "./useScrollBlockage/index.mjs";
12
14
  import { useScrollDetection } from "./useScrollDetection.mjs";
13
- import { useScrollY } from "./useScrollY.mjs";
14
- import { useSearch } from "./useSearch.mjs";
15
15
 
16
16
  export { calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice, useGetElementById, useGetElementOrWindow, useHorizontalSwipe, useIsDarkMode, useIsMounted, useItemSelector, useKeyboardDetector, usePersistedStore, useScreenWidth, useScrollBlockage, useScrollDetection, useScrollY, useSearch };
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
3
  import { useToast } from "../components/Toaster/useToast.mjs";
4
- import { createAsyncStoragePersister } from "@tanstack/query-async-storage-persister";
4
+ import { useRef } from "react";
5
5
  import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
6
+ import { createAsyncStoragePersister } from "@tanstack/query-async-storage-persister";
6
7
  import { PersistQueryClientProvider } from "@tanstack/react-query-persist-client";
7
- import { useRef } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/providers/ReactQueryProvider.tsx
@@ -9,13 +9,13 @@ type UseIntlayerAuthProps = {
9
9
  };
10
10
  declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
11
11
  options: {
12
+ mode?: RequestMode;
12
13
  cache?: RequestCache;
13
14
  credentials?: RequestCredentials;
14
15
  headers: HeadersInit;
15
16
  integrity?: string;
16
17
  keepalive?: boolean;
17
18
  method?: string;
18
- mode?: RequestMode;
19
19
  priority?: RequestPriority;
20
20
  redirect?: RequestRedirect;
21
21
  referrer?: string;
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
5
5
  declare const collapsibleTableVariants: (props?: {
6
6
  size?: "sm" | "md" | "lg" | "xl" | "full";
7
7
  variant?: "default" | "dark" | "ghost" | "outlined";
8
- spacing?: "auto" | "sm" | "md" | "lg" | "none";
8
+ spacing?: "sm" | "md" | "lg" | "auto" | "none";
9
9
  } & import("class-variance-authority/types").ClassProp) => string;
10
10
  interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
11
11
  /** Table title displayed in the header */
@@ -27,7 +27,7 @@ declare const Command: {
27
27
  ref?: React.Ref<HTMLInputElement>;
28
28
  } & {
29
29
  asChild?: boolean;
30
- }, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "onChange" | "value"> & {
30
+ }, "key" | "asChild" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
31
31
  value?: string;
32
32
  onValueChange?: (search: string) => void;
33
33
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -71,7 +71,7 @@ declare const Command: {
71
71
  ref?: React.Ref<HTMLDivElement>;
72
72
  } & {
73
73
  asChild?: boolean;
74
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
74
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "disabled" | "onSelect" | "value"> & {
75
75
  disabled?: boolean;
76
76
  onSelect?: (value: string) => void;
77
77
  value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "8.12.0-canary.0",
3
+ "version": "8.12.0",
4
4
  "private": false,
5
5
  "description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
6
6
  "keywords": [
@@ -430,12 +430,12 @@
430
430
  "dependencies": {
431
431
  "@better-auth/passkey": "1.6.14",
432
432
  "@better-auth/sso": "1.6.14",
433
- "@intlayer/api": "8.12.0-canary.0",
434
- "@intlayer/config": "8.12.0-canary.0",
435
- "@intlayer/core": "8.12.0-canary.0",
436
- "@intlayer/dictionaries-entry": "8.12.0-canary.0",
437
- "@intlayer/editor-react": "8.12.0-canary.0",
438
- "@intlayer/types": "8.12.0-canary.0",
433
+ "@intlayer/api": "8.12.0",
434
+ "@intlayer/config": "8.12.0",
435
+ "@intlayer/core": "8.12.0",
436
+ "@intlayer/dictionaries-entry": "8.12.0",
437
+ "@intlayer/editor-react": "8.12.0",
438
+ "@intlayer/types": "8.12.0",
439
439
  "@radix-ui/react-dialog": "1.1.15",
440
440
  "@radix-ui/react-select": "2.2.6",
441
441
  "@radix-ui/react-slot": "1.2.4",
@@ -450,12 +450,12 @@
450
450
  "defu": "6.1.7",
451
451
  "dompurify": "^3.4.7",
452
452
  "isomorphic-dompurify": "^3.15.0",
453
- "react-intlayer": "8.12.0-canary.0",
453
+ "react-intlayer": "8.12.0",
454
454
  "rollup-preserve-directives": "1.1.3",
455
455
  "zod": "4.4.3"
456
456
  },
457
457
  "devDependencies": {
458
- "@intlayer/backend": "8.12.0-canary.0",
458
+ "@intlayer/backend": "8.12.0",
459
459
  "@shikijs/transformers": "4.1.0",
460
460
  "@storybook/addon-a11y": "8.6.14",
461
461
  "@storybook/addon-essentials": "8.6.14",
@@ -486,7 +486,7 @@
486
486
  "@utils/ts-config-types": "1.0.4",
487
487
  "clsx": "2.1.1",
488
488
  "fast-glob": "3.3.3",
489
- "intlayer": "8.12.0-canary.0",
489
+ "intlayer": "8.12.0",
490
490
  "rimraf": "6.1.3",
491
491
  "shiki": "4.1.0",
492
492
  "storybook": "8.6.17",
@@ -494,26 +494,26 @@
494
494
  "tsdown": "0.22.1",
495
495
  "typescript": "6.0.3",
496
496
  "vite": "8.0.16",
497
- "vite-intlayer": "8.12.0-canary.0",
497
+ "vite-intlayer": "8.12.0",
498
498
  "vite-plugin-dts": "5.0.1",
499
499
  "vitest": "4.1.8"
500
500
  },
501
501
  "peerDependencies": {
502
502
  "@better-fetch/fetch": "1.1.21",
503
503
  "@hookform/resolvers": "^5.4.0",
504
- "@intlayer/backend": "8.12.0-canary.0",
504
+ "@intlayer/backend": "8.12.0",
505
505
  "@monaco-editor/react": "4.7.0",
506
506
  "@shikijs/transformers": "4.1.0",
507
507
  "@tanstack/react-query": "5.101.0",
508
508
  "@tanstack/react-query-devtools": "5.101.0",
509
509
  "framer-motion": "12.40.0",
510
510
  "fuse.js": "7.4.1",
511
- "intlayer": "8.12.0-canary.0",
511
+ "intlayer": "8.12.0",
512
512
  "lucide-react": "1.17.0",
513
513
  "react": ">=16.0.0",
514
514
  "react-dom": ">=16.0.0",
515
515
  "react-hook-form": "7.77.0",
516
- "react-intlayer": "8.12.0-canary.0",
516
+ "react-intlayer": "8.12.0",
517
517
  "shiki": "4.1.0",
518
518
  "tailwindcss": "4.3.0"
519
519
  },