@intlayer/design-system 8.6.6 → 8.6.7
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.
- package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/BooleanWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/NumberWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/StructureEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
- package/dist/esm/hooks/reactQuery.mjs +1 -1
- package/dist/esm/hooks/useAuth/useOAuth2.mjs +2 -2
- package/dist/esm/hooks/useAuth/useSession.mjs +2 -2
- package/dist/esm/libs/auth.mjs +1 -1
- package/dist/esm/providers/ReactQueryProvider.mjs +1 -1
- package/dist/types/components/Badge/index.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +1 -1
- package/dist/types/components/Container/index.d.ts +6 -6
- package/dist/types/components/Input/Checkbox.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/package.json +14 -14
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { NodeWrapper } from "./NodeWrapper/index.mjs";
|
|
4
4
|
import { createElement } from "react";
|
|
5
|
-
import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
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/index.mjs";
|
|
5
|
-
import { useEditorLocale } from "@intlayer/editor-react";
|
|
6
5
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
6
|
+
import { useEditorLocale } from "@intlayer/editor-react";
|
|
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 { useEditedContent } from "@intlayer/editor-react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEditedContent } from "@intlayer/editor-react";
|
|
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 { useEditorLocale } from "@intlayer/editor-react";
|
|
4
3
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useEditorLocale } from "@intlayer/editor-react";
|
|
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 { useEditorLocale } from "@intlayer/editor-react";
|
|
4
3
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useEditorLocale } from "@intlayer/editor-react";
|
|
5
5
|
import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
|
|
6
6
|
|
|
7
7
|
//#region src/components/DictionaryEditor/NodeWrapper/StringWrapper.tsx
|
|
@@ -13,8 +13,8 @@ import { NestedObjectWrapper } from "./NestedObjectWrapper.mjs";
|
|
|
13
13
|
import { NumberWrapper } from "./NumberWrapper.mjs";
|
|
14
14
|
import { TranslationWrapper } from "./TranslationWrapper.mjs";
|
|
15
15
|
import { memo, useMemo } from "react";
|
|
16
|
-
import { useEditorLocale } from "@intlayer/editor-react";
|
|
17
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
|
+
import { useEditorLocale } from "@intlayer/editor-react";
|
|
18
18
|
import { getContentNodeByKeyPath, getNodeType } from "@intlayer/core/dictionaryManipulator";
|
|
19
19
|
import * as NodeTypes from "@intlayer/types/nodeType";
|
|
20
20
|
|
|
@@ -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 { useEffect } from "react";
|
|
10
|
-
import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
12
12
|
import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
|
|
13
13
|
|
|
14
14
|
//#region src/components/DictionaryFieldEditor/ContentEditor.tsx
|
|
@@ -13,9 +13,9 @@ import { Label } from "../../Label/index.mjs";
|
|
|
13
13
|
import { MarkdownRenderer as MarkdownRenderer$1 } from "../../MarkDownRender/MarkDownRender.mjs";
|
|
14
14
|
import { EnumKeyInput } from "../EnumKeyInput.mjs";
|
|
15
15
|
import { Fragment, useState } from "react";
|
|
16
|
-
import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
|
|
17
16
|
import { Plus, Trash, WandSparkles } from "lucide-react";
|
|
18
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
|
|
19
19
|
import { useIntlayer, useLocale } from "react-intlayer";
|
|
20
20
|
import { getLocaleName } from "@intlayer/core/localization";
|
|
21
21
|
import { getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
|
package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs
CHANGED
|
@@ -11,9 +11,9 @@ import { useForm as useForm$1 } from "../../Form/FormBase.mjs";
|
|
|
11
11
|
import { Form } from "../../Form/Form.mjs";
|
|
12
12
|
import { useDictionaryDetailsSchema } from "./useDictionaryDetailsSchema.mjs";
|
|
13
13
|
import { useEffect } from "react";
|
|
14
|
-
import { useEditedContent } from "@intlayer/editor-react";
|
|
15
14
|
import { WandSparkles } from "lucide-react";
|
|
16
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { useEditedContent } from "@intlayer/editor-react";
|
|
17
17
|
import { useIntlayer } from "react-intlayer";
|
|
18
18
|
import { AnimatePresence, motion } from "framer-motion";
|
|
19
19
|
import { useWatch } from "react-hook-form";
|
|
@@ -10,9 +10,9 @@ import { JSONEditor } from "./JSONEditor.mjs";
|
|
|
10
10
|
import { SaveForm } from "./SaveForm/SaveForm.mjs";
|
|
11
11
|
import { StructureEditor } from "./StructureEditor.mjs";
|
|
12
12
|
import { useEffect } from "react";
|
|
13
|
-
import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
14
13
|
import { ArrowLeft } from "lucide-react";
|
|
15
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
16
16
|
import { useIntlayer } from "react-intlayer";
|
|
17
17
|
|
|
18
18
|
//#region src/components/DictionaryFieldEditor/DictionaryFieldEditor.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MonacoCode } from "../IDE/MonacoCode.mjs";
|
|
2
|
-
import { useEditedContent } from "@intlayer/editor-react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useEditedContent } from "@intlayer/editor-react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/DictionaryFieldEditor/JSONEditor.tsx
|
|
6
6
|
const JSONEditor = ({ dictionary, isDarkMode }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
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
4
|
import { internationalization } from "@intlayer/config/built";
|
|
6
5
|
import { ChevronRight, Plus } from "lucide-react";
|
|
7
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
8
8
|
import { useIntlayer } from "react-intlayer";
|
|
9
9
|
import { getContentNodeByKeyPath, getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
|
|
10
10
|
import * as NodeTypes from "@intlayer/types/nodeType";
|
|
@@ -7,9 +7,9 @@ import { ButtonColor, ButtonVariant } from "../../Button/Button.mjs";
|
|
|
7
7
|
import { Modal, ModalSize } from "../../Modal/Modal.mjs";
|
|
8
8
|
import { Form } from "../../Form/Form.mjs";
|
|
9
9
|
import { useState } from "react";
|
|
10
|
-
import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
|
|
11
10
|
import { ArrowUpFromLine, Download, RotateCcw, Save, Trash } from "lucide-react";
|
|
12
11
|
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 { useEditedContent } from "@intlayer/editor-react";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { useEditedContent } from "@intlayer/editor-react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/DictionaryFieldEditor/StructureEditor.tsx
|
|
8
8
|
const StructureEditor = ({ dictionary }) => {
|
|
@@ -5,9 +5,9 @@ import { Button, ButtonColor, ButtonSize, ButtonVariant } from "../../Button/But
|
|
|
5
5
|
import { InputVariant } from "../../Input/Input.mjs";
|
|
6
6
|
import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
|
|
7
7
|
import { NodeTypeSelector } from "../NodeTypeSelector.mjs";
|
|
8
|
-
import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
9
8
|
import { Plus, Trash } from "lucide-react";
|
|
10
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
|
|
11
11
|
import { useIntlayer } from "react-intlayer";
|
|
12
12
|
import { getDefaultNode, getNodeChildren, getNodeType } from "@intlayer/core/dictionaryManipulator";
|
|
13
13
|
import * as NodeTypes from "@intlayer/types/nodeType";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { useAuth } from "./useAuth/useAuth.mjs";
|
|
4
4
|
import { useIntlayerAuth, useIntlayerOAuth } from "./useIntlayerAPI.mjs";
|
|
5
|
-
import { useConfiguration } from "@intlayer/editor-react";
|
|
6
5
|
import { useInfiniteQuery, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
6
|
+
import { useConfiguration } from "@intlayer/editor-react";
|
|
7
7
|
|
|
8
8
|
//#region src/hooks/reactQuery.ts
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import configuration from "@intlayer/config/built";
|
|
4
4
|
import { useQuery } from "@tanstack/react-query";
|
|
5
|
+
import { useConfiguration } from "@intlayer/editor-react";
|
|
5
6
|
import { getOAuthAPI } from "@intlayer/api";
|
|
6
|
-
import configuration from "@intlayer/config/built";
|
|
7
7
|
|
|
8
8
|
//#region src/hooks/useAuth/useOAuth2.ts
|
|
9
9
|
const useOAuth2 = (intlayerConfiguration) => {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { getAuthAPI } from "../../libs/auth.mjs";
|
|
4
4
|
import { useQueryClient } from "../reactQuery.mjs";
|
|
5
|
-
import { useConfiguration } from "@intlayer/editor-react";
|
|
6
|
-
import { useQuery } from "@tanstack/react-query";
|
|
7
5
|
import configuration from "@intlayer/config/built";
|
|
6
|
+
import { useQuery } from "@tanstack/react-query";
|
|
7
|
+
import { useConfiguration } from "@intlayer/editor-react";
|
|
8
8
|
|
|
9
9
|
//#region src/hooks/useAuth/useSession.ts
|
|
10
10
|
const useSession = (sessionProp, intlayerConfiguration) => {
|
package/dist/esm/libs/auth.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import configuration from "@intlayer/config/built";
|
|
2
1
|
import { passkeyClient } from "@better-auth/passkey/client";
|
|
3
2
|
import { ssoClient } from "@better-auth/sso/client";
|
|
3
|
+
import configuration from "@intlayer/config/built";
|
|
4
4
|
import { BACKEND_URL } from "@intlayer/config/defaultValues";
|
|
5
5
|
import { createAuthClient } from "better-auth/client";
|
|
6
6
|
import { magicLinkClient, twoFactorClient } from "better-auth/client/plugins";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { useToast } from "../components/Toaster/useToast.mjs";
|
|
4
|
-
import { useRef } from "react";
|
|
5
4
|
import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
5
|
+
import { useRef } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/providers/ReactQueryProvider.tsx
|
|
@@ -45,7 +45,7 @@ declare enum BadgeSize {
|
|
|
45
45
|
declare const badgeVariants: (props?: {
|
|
46
46
|
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "error" | "success" | "custom";
|
|
47
47
|
variant?: "none" | "default" | "outline" | "hoverable";
|
|
48
|
-
size?: "
|
|
48
|
+
size?: "md" | "sm" | "lg";
|
|
49
49
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
50
50
|
/**
|
|
51
51
|
* Badge component props interface
|
|
@@ -60,11 +60,11 @@ declare enum ButtonTextAlign {
|
|
|
60
60
|
* Enhanced button variants with improved accessibility and focus states
|
|
61
61
|
*/
|
|
62
62
|
declare const buttonVariants: (props?: {
|
|
63
|
-
size?: "
|
|
63
|
+
size?: "md" | "sm" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
|
|
64
64
|
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "error" | "success" | "custom";
|
|
65
|
-
roundedSize?: "
|
|
65
|
+
roundedSize?: "none" | "md" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
|
|
66
66
|
variant?: "input" | "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
|
|
67
|
-
textAlign?: "left" | "
|
|
67
|
+
textAlign?: "left" | "right" | "center";
|
|
68
68
|
isFullWidth?: boolean;
|
|
69
69
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
70
70
|
/**
|
|
@@ -5,8 +5,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
//#region src/components/CollapsibleTable/CollapsibleTable.d.ts
|
|
6
6
|
declare const collapsibleTableVariants: (props?: {
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
8
|
-
variant?: "default" | "
|
|
9
|
-
spacing?: "
|
|
8
|
+
variant?: "default" | "ghost" | "dark" | "outlined";
|
|
9
|
+
spacing?: "none" | "sm" | "md" | "lg" | "auto";
|
|
10
10
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
11
11
|
interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
|
|
12
12
|
/** Table title displayed in the header */
|
|
@@ -29,7 +29,7 @@ declare const Command: {
|
|
|
29
29
|
ref?: React.Ref<HTMLInputElement>;
|
|
30
30
|
} & {
|
|
31
31
|
asChild?: boolean;
|
|
32
|
-
}, "key" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "
|
|
32
|
+
}, "key" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "onChange" | "type" | "value"> & {
|
|
33
33
|
value?: string;
|
|
34
34
|
onValueChange?: (search: string) => void;
|
|
35
35
|
} & _$react.RefAttributes<HTMLInputElement>>;
|
|
@@ -8,14 +8,14 @@ import { VariantProps } from "class-variance-authority";
|
|
|
8
8
|
* Provides flexible styling options for background, padding, borders, and layout
|
|
9
9
|
*/
|
|
10
10
|
declare const containerVariants: (props?: {
|
|
11
|
-
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "
|
|
12
|
-
transparency?: "
|
|
13
|
-
padding?: "sm" | "md" | "lg" | "xl" | "2xl"
|
|
11
|
+
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full";
|
|
12
|
+
transparency?: "none" | "sm" | "md" | "lg" | "xs" | "xl" | "full";
|
|
13
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
14
14
|
separator?: "both" | "without" | "x" | "y";
|
|
15
|
-
border?: "
|
|
15
|
+
border?: "none" | "with";
|
|
16
16
|
borderColor?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "card" | "warning";
|
|
17
|
-
background?: "
|
|
18
|
-
gap?: "sm" | "md" | "lg" | "xl" | "2xl"
|
|
17
|
+
background?: "none" | "with" | "hoverable";
|
|
18
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
19
19
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
20
20
|
/** Available rounded corner sizes for the container */
|
|
21
21
|
declare enum ContainerRoundedSize {
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
//#region src/components/Input/Checkbox.d.ts
|
|
6
6
|
declare const checkboxVariants: (props?: {
|
|
7
7
|
variant?: "default";
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "sm" | "md" | "lg" | "xs";
|
|
9
9
|
color?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "destructive" | "light" | "dark" | "custom";
|
|
10
10
|
validationStyleEnabled?: "enabled" | "disabled";
|
|
11
11
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
@@ -54,9 +54,9 @@ declare enum LinkUnderlined {
|
|
|
54
54
|
}
|
|
55
55
|
declare const linkVariants: (props?: {
|
|
56
56
|
variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
|
|
57
|
-
roundedSize?: "
|
|
57
|
+
roundedSize?: "none" | "md" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
58
58
|
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text-inverse" | "error" | "success" | "custom";
|
|
59
|
-
size?: "
|
|
59
|
+
size?: "md" | "sm" | "lg" | "xl" | "custom";
|
|
60
60
|
underlined?: boolean | LinkUnderlined.DEFAULT;
|
|
61
61
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
|
62
62
|
type LinkProps = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & VariantProps<typeof linkVariants> & {
|
|
@@ -185,9 +185,9 @@ declare enum TagBackground {
|
|
|
185
185
|
WITH = "with"
|
|
186
186
|
}
|
|
187
187
|
declare const containerVariants: (props?: {
|
|
188
|
-
roundedSize?: "
|
|
188
|
+
roundedSize?: "none" | "md" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
189
189
|
color?: "text" | "primary" | "neutral" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
-
size?: "
|
|
190
|
+
size?: "md" | "sm" | "lg" | "xl" | "xs";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
193
|
} & _$class_variance_authority_types0.ClassProp) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.7",
|
|
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": [
|
|
@@ -116,12 +116,12 @@
|
|
|
116
116
|
"dependencies": {
|
|
117
117
|
"@better-auth/passkey": "1.5.6",
|
|
118
118
|
"@better-auth/sso": "1.5.6",
|
|
119
|
-
"@intlayer/api": "8.6.
|
|
120
|
-
"@intlayer/config": "8.6.
|
|
121
|
-
"@intlayer/core": "8.6.
|
|
122
|
-
"@intlayer/dictionaries-entry": "8.6.
|
|
123
|
-
"@intlayer/editor-react": "8.6.
|
|
124
|
-
"@intlayer/types": "8.6.
|
|
119
|
+
"@intlayer/api": "8.6.7",
|
|
120
|
+
"@intlayer/config": "8.6.7",
|
|
121
|
+
"@intlayer/core": "8.6.7",
|
|
122
|
+
"@intlayer/dictionaries-entry": "8.6.7",
|
|
123
|
+
"@intlayer/editor-react": "8.6.7",
|
|
124
|
+
"@intlayer/types": "8.6.7",
|
|
125
125
|
"@radix-ui/react-dialog": "1.1.15",
|
|
126
126
|
"@radix-ui/react-select": "2.2.6",
|
|
127
127
|
"@radix-ui/react-slot": "1.2.4",
|
|
@@ -130,12 +130,12 @@
|
|
|
130
130
|
"better-auth": "1.5.6",
|
|
131
131
|
"class-variance-authority": "0.7.1",
|
|
132
132
|
"cmdk": "1.1.1",
|
|
133
|
-
"react-intlayer": "8.6.
|
|
133
|
+
"react-intlayer": "8.6.7",
|
|
134
134
|
"rollup-preserve-directives": "1.1.3",
|
|
135
135
|
"zod": "4.3.6"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@intlayer/backend": "8.6.
|
|
138
|
+
"@intlayer/backend": "8.6.7",
|
|
139
139
|
"@shikijs/transformers": "4.0.2",
|
|
140
140
|
"@storybook/addon-a11y": "8.6.14",
|
|
141
141
|
"@storybook/addon-essentials": "8.6.14",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"@utils/ts-config-types": "1.0.4",
|
|
166
166
|
"clsx": "2.1.1",
|
|
167
167
|
"fast-glob": "3.3.3",
|
|
168
|
-
"intlayer": "8.6.
|
|
168
|
+
"intlayer": "8.6.7",
|
|
169
169
|
"rimraf": "6.1.3",
|
|
170
170
|
"shiki": "4.0.2",
|
|
171
171
|
"storybook": "8.6.17",
|
|
@@ -173,26 +173,26 @@
|
|
|
173
173
|
"tsdown": "0.21.7",
|
|
174
174
|
"typescript": "6.0.2",
|
|
175
175
|
"vite": "8.0.3",
|
|
176
|
-
"vite-intlayer": "8.6.
|
|
176
|
+
"vite-intlayer": "8.6.7",
|
|
177
177
|
"vite-plugin-dts": "4.5.4",
|
|
178
178
|
"vitest": "4.1.2"
|
|
179
179
|
},
|
|
180
180
|
"peerDependencies": {
|
|
181
181
|
"@better-fetch/fetch": "1.1.21",
|
|
182
182
|
"@hookform/resolvers": "5.2.2",
|
|
183
|
-
"@intlayer/backend": "8.6.
|
|
183
|
+
"@intlayer/backend": "8.6.7",
|
|
184
184
|
"@monaco-editor/react": "4.7.0",
|
|
185
185
|
"@shikijs/transformers": "4.0.2",
|
|
186
186
|
"@tanstack/react-query": "5.95.2",
|
|
187
187
|
"@tanstack/react-query-devtools": "5.95.2",
|
|
188
188
|
"framer-motion": "12.38.0",
|
|
189
189
|
"fuse.js": "7.1.0",
|
|
190
|
-
"intlayer": "8.6.
|
|
190
|
+
"intlayer": "8.6.7",
|
|
191
191
|
"lucide-react": "1.7.0",
|
|
192
192
|
"react": ">=16.0.0",
|
|
193
193
|
"react-dom": ">=16.0.0",
|
|
194
194
|
"react-hook-form": "7.72.0",
|
|
195
|
-
"react-intlayer": "8.6.
|
|
195
|
+
"react-intlayer": "8.6.7",
|
|
196
196
|
"shiki": "4.0.2",
|
|
197
197
|
"tailwindcss": "4.2.1"
|
|
198
198
|
},
|