@intlayer/design-system 7.1.2-canary.0 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Command/index.d.ts +3 -3
- package/dist/types/components/Container/index.d.ts +6 -6
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/code.content.d.ts.map +1 -1
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +2 -2
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +4 -4
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +3 -3
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +6 -6
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Tag/index.d.ts +5 -5
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +42 -42
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
- package/dist/types/hooks/useAuth/useOAuth2.d.ts.map +1 -1
- package/dist/types/hooks/useUser/index.d.ts +2 -2
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;KAaY;WACD;SACF;IACL,eAAe;AAHP,KAIA,qBAJoB,CAAA,CAAA,CAAA,GAIO,oBAJP,CAI4B,CAJ5B,CAAA,EAAA;AACrB,KAUC,mBAVD,CAAA,IAAA,OAAA,CAAA,GAAA;EACF,OAAA,CAAA,EAUG,qBAVH,CAUyB,CAVzB,CAAA;EACU,KAAA,CAAA,EAUT,CAVS;EAAf,YAAA,CAAA,EAWa,CAXb;EAAc,QAAA,CAAA,EAAA,CAAA,MAAA,EAYI,CAZJ,EAAA,GAAA,IAAA;EACN,SAAA,CAAA,EAAA,MAAA;EAOA,SAAA,CAAA,EAAA,OAAA;CACsB,GAM9B,YAN8B,CAAA,OAMV,qBANU,CAAA,GAOhC,YAPgC,CAAA,OAOZ,aAPY,CAAA;AAAtB,aASA,mBAAA;EARF,OAAA,GAAA,SAAA;EACO,SAAA,GAAA,WAAA;EACK,WAAA,GAAA,aAAA;EAGE,OAAA,GAAA,SAAA;EAApB,KAAA,GAAA,OAAA;EACkB,IAAA,GAAA,MAAA;EAApB,IAAA,GAAA,MAAA;;AAEF,cAUM,qBAVyB,EAAA,CAAA,KA+BD,CA/BC,EAAA;EAUzB,KAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;KAaY;WACD;SACF;IACL,eAAe;AAHP,KAIA,qBAJoB,CAAA,CAAA,CAAA,GAIO,oBAJP,CAI4B,CAJ5B,CAAA,EAAA;AACrB,KAUC,mBAVD,CAAA,IAAA,OAAA,CAAA,GAAA;EACF,OAAA,CAAA,EAUG,qBAVH,CAUyB,CAVzB,CAAA;EACU,KAAA,CAAA,EAUT,CAVS;EAAf,YAAA,CAAA,EAWa,CAXb;EAAc,QAAA,CAAA,EAAA,CAAA,MAAA,EAYI,CAZJ,EAAA,GAAA,IAAA;EACN,SAAA,CAAA,EAAA,MAAA;EAOA,SAAA,CAAA,EAAA,OAAA;CACsB,GAM9B,YAN8B,CAAA,OAMV,qBANU,CAAA,GAOhC,YAPgC,CAAA,OAOZ,aAPY,CAAA;AAAtB,aASA,mBAAA;EARF,OAAA,GAAA,SAAA;EACO,SAAA,GAAA,WAAA;EACK,WAAA,GAAA,aAAA;EAGE,OAAA,GAAA,SAAA;EAApB,KAAA,GAAA,OAAA;EACkB,IAAA,GAAA,MAAA;EAApB,IAAA,GAAA,MAAA;;AAEF,cAUM,qBAVyB,EAAA,CAAA,KA+BD,CA/BC,EAAA;EAUzB,KAAA,CAAA,EAAA,MAAA,GAAA,SAmBL,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;AAED,CAAA,GAFC,+BAAA,CAAA,SAE6B,EAAA,GAAA,MAAA;AAMxB,aANM,kBAAA;EA+DC,EAAA,GAAA,IAAA;EAAsB,EAAA,GAAA,IAAA;EAAA,EAAA,GAAA,IAAA;;cAzD7B,aAyD6B,EAAA,CAAA,KAAA,CAAA,EAAA;EAAA,IAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CAAA,GA3ClC,+BAAA,CAAA,SA2CkC,EAAA,GAAA,MAAA;;;;;;;;;;;;;;;;;;cAAtB;;;;;;;;;GASV,oBAAoB,OAAE,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Tab/Tab.d.ts
|
|
7
7
|
declare const tabContainerVariant: (props?: {
|
|
8
8
|
variant?: "default" | "ghost" | "bordered";
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types11.ClassProp) => string;
|
|
10
10
|
type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContainerVariant> & {
|
|
11
11
|
defaultTab?: string;
|
|
12
12
|
group?: string;
|
|
@@ -25,12 +25,12 @@ declare const Tab: (({
|
|
|
25
25
|
children,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: TabProps) =>
|
|
28
|
+
}: TabProps) => react_jsx_runtime10.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime10.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react19 from "react";
|
|
2
2
|
import { Dispatch, FC, PropsWithChildren, SetStateAction } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Tab/TabContext.d.ts
|
|
@@ -9,7 +9,7 @@ type TabContextValue = {
|
|
|
9
9
|
/**
|
|
10
10
|
* Context that store the current locale on the client side
|
|
11
11
|
*/
|
|
12
|
-
declare const TabContext:
|
|
12
|
+
declare const TabContext: react19.Context<TabContextValue>;
|
|
13
13
|
/**
|
|
14
14
|
* Hook that provides the current locale
|
|
15
15
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactElement } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
7
7
|
declare enum TabSelectorColor {
|
|
@@ -14,8 +14,8 @@ declare enum TabSelectorColor {
|
|
|
14
14
|
TEXT = "text",
|
|
15
15
|
}
|
|
16
16
|
declare const tabSelectorVariant: (props?: {
|
|
17
|
-
color?: "
|
|
18
|
-
} &
|
|
17
|
+
color?: "dark" | "primary" | "secondary" | "neutral" | "text" | "destructive" | "light";
|
|
18
|
+
} & class_variance_authority_types14.ClassProp) => string;
|
|
19
19
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
20
20
|
key: string | number;
|
|
21
21
|
};
|
|
@@ -51,7 +51,7 @@ declare const TabSelector: <T extends TabSelectorItemProps>({
|
|
|
51
51
|
color,
|
|
52
52
|
hoverable,
|
|
53
53
|
className
|
|
54
|
-
}: TabSelectorProps<T>) =>
|
|
54
|
+
}: TabSelectorProps<T>) => react_jsx_runtime21.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
|
|
57
57
|
//# sourceMappingURL=TabSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":";;;;;;aAcY,gBAAA;;;;EAAA,OAAA,GAAA,SAAgB;EAUtB,KAAA,GAAA,OAAA;EAqCM,IAAA,GAAA,MAAA;EAIA,IAAA,GAAA,MAAA;;cAzCN,kBA0Ce,EAAA,CAAA,KACH,CADG,EAAA;EAAb,KAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":";;;;;;aAcY,gBAAA;;;;EAAA,OAAA,GAAA,SAAgB;EAUtB,KAAA,GAAA,OAAA;EAqCM,IAAA,GAAA,MAAA;EAIA,IAAA,GAAA,MAAA;;cAzCN,kBA0Ce,EAAA,CAAA,KACH,CADG,EAAA;EAAb,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,MAAA,GAAA,aAAA,GAAA,OAAA;CACU,GAzBjB,gCAAA,CAAA,SAyBiB,EAAA,GAAA,MAAA;AACM,KAPZ,oBAAA,GAAuB,cAOX,CAP0B,WAO1B,CAAA,GAAA;EAEL,GAAA,EAAA,MAAA,GAAA,MAAA;CAAf;AACuB,KANf,gBAMe,CAAA,UANY,oBAMZ,CAAA,GAAA;EAApB,IAAA,EALC,YAKD,CALc,CAKd,CAAA,EAAA;EAAL,cAAA,EAJgB,CAIhB,CAAA,KAAA,CAAA;EACU,UAAA,CAAA,EAAA,CAAA,MAAA,EAJY,CAIZ,CAAA,KAAA,CAAA,EAAA,GAAA,IAAA;EAAsB,SAAA,CAAA,EAAA,OAAA;CAAgB,GAF9C,cAE8C,CAF/B,WAE+B,CAAA,GADhD,IACgD,CAD3C,YAC2C,CAAA,OADvB,kBACuB,CAAA,EAAA,OAAA,CAAA,GAAA;EAoBrC,KAAA,CAAA,EApBD,gBAqFX,GAAA,GArFiC,gBAqFjC,EAAA;CAjEqC;;;;;;;;;;;;;;;;;;cAAzB,wBAAyB;;;;;;;GAOnC,iBAAiB,OAAE,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types385 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:
|
|
7
|
+
show: _intlayer_types385.TypedNodeModel<_intlayer_types385.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:
|
|
26
|
+
nodeType: _intlayer_types385.NodeType.Translation | "translation";
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types13 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Tag/index.d.ts
|
|
@@ -185,12 +185,12 @@ declare enum TagBackground {
|
|
|
185
185
|
WITH = "with",
|
|
186
186
|
}
|
|
187
187
|
declare const containerVariants: (props?: {
|
|
188
|
-
roundedSize?: "full" | "sm" | "md" | "lg" | "xl" | "
|
|
189
|
-
color?: "error" | "
|
|
190
|
-
size?: "
|
|
188
|
+
roundedSize?: "full" | "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl";
|
|
189
|
+
color?: "error" | "text" | "neutral" | "success" | "warning" | "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
|
-
} &
|
|
193
|
+
} & class_variance_authority_types13.ClassProp) => string;
|
|
194
194
|
/**
|
|
195
195
|
* Tag component for displaying labels, categories, status indicators, and badges
|
|
196
196
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactElement } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types12 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?: "error" | "default" | "success";
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types12.ClassProp) => string;
|
|
30
30
|
/**
|
|
31
31
|
* Toast Component
|
|
32
32
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime19 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_runtime15 from "react/jsx-runtime";
|
|
|
44
44
|
*
|
|
45
45
|
* @returns JSX element rendering the toast viewport and active toasts
|
|
46
46
|
*/
|
|
47
|
-
declare const Toaster: () =>
|
|
47
|
+
declare const Toaster: () => react_jsx_runtime19.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Toaster };
|
|
50
50
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { UseQueryOptions, useQueryClient } from "@tanstack/react-query";
|
|
|
4
4
|
import * as _better_fetch_fetch681 from "@better-fetch/fetch";
|
|
5
5
|
import * as better_auth46 from "better-auth";
|
|
6
6
|
import * as inspector0 from "inspector";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _intlayer_backend0 from "@intlayer/backend";
|
|
8
8
|
import { AddDictionaryBody, AddOrganizationMemberBody, AskDocQuestionBody, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, CreateUserBody, DeleteAccessKeyBody, DeleteDictionaryParam, DeleteTagParams, GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, NewsletterSubscriptionBody, NewsletterUnsubscriptionBody, PushDictionariesBody, RefreshAccessKeyBody, SearchDocUtilParams, SelectOrganizationParam, SelectProjectParam, TranslateJSONBody } from "@intlayer/backend";
|
|
9
9
|
import * as intlayer_editor0 from "intlayer-editor";
|
|
10
10
|
import { WriteContentDeclarationBody } from "intlayer-editor";
|
|
@@ -1157,8 +1157,8 @@ declare const useSignInMagicLink: () => _tanstack_react_query0.UseMutationResult
|
|
|
1157
1157
|
*/
|
|
1158
1158
|
declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1159
1159
|
declare const useGetUserById: (userId: string) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1160
|
-
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1161
|
-
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1160
|
+
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.CreateUserResult, Error, CreateUserBody, unknown>;
|
|
1161
|
+
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, Partial<{
|
|
1162
1162
|
name: string;
|
|
1163
1163
|
id: string;
|
|
1164
1164
|
createdAt: Date;
|
|
@@ -1176,32 +1176,32 @@ declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_int
|
|
|
1176
1176
|
customerId?: string;
|
|
1177
1177
|
lastLoginMethod?: "email" | "google" | "github" | "passkey";
|
|
1178
1178
|
}>, unknown>;
|
|
1179
|
-
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1179
|
+
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, string, unknown>;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Organization
|
|
1182
1182
|
*/
|
|
1183
1183
|
declare const useGetOrganizations: (filters?: GetOrganizationsParams) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1184
|
-
declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1185
|
-
declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1186
|
-
declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<
|
|
1187
|
-
membersIds: (
|
|
1188
|
-
adminsIds: (
|
|
1184
|
+
declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddOrganizationResult, Error, _intlayer_backend0.OrganizationCreationData, unknown>;
|
|
1185
|
+
declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationResult, Error, Partial<_intlayer_backend0.Organization>, unknown>;
|
|
1186
|
+
declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationMembersResult, Error, Partial<{
|
|
1187
|
+
membersIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
|
|
1188
|
+
adminsIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
|
|
1189
1189
|
}>, unknown>;
|
|
1190
|
-
declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<
|
|
1190
|
+
declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationMembersResult, Error, {
|
|
1191
1191
|
organizationId: string;
|
|
1192
1192
|
membersIds: string[];
|
|
1193
1193
|
adminsIds?: string[];
|
|
1194
1194
|
}, unknown>;
|
|
1195
|
-
declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<
|
|
1196
|
-
declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1197
|
-
declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1198
|
-
declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1195
|
+
declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddOrganizationMemberResult, Error, AddOrganizationMemberBody, unknown>;
|
|
1196
|
+
declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteOrganizationResult, Error, void, unknown>;
|
|
1197
|
+
declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.SelectOrganizationResult, Error, SelectOrganizationParam, unknown>;
|
|
1198
|
+
declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UnselectOrganizationResult, Error, void, unknown>;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Project
|
|
1201
1201
|
*/
|
|
1202
1202
|
declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1203
|
-
declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1204
|
-
declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1203
|
+
declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddProjectResult, Error, _intlayer_backend0.ProjectCreationData, unknown>;
|
|
1204
|
+
declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateProjectResult, Error, Partial<{
|
|
1205
1205
|
organizationId: string;
|
|
1206
1206
|
name: string;
|
|
1207
1207
|
membersIds: string[];
|
|
@@ -1233,51 +1233,51 @@ declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<_
|
|
|
1233
1233
|
updatedAt: number;
|
|
1234
1234
|
}[];
|
|
1235
1235
|
}>, unknown>;
|
|
1236
|
-
declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<
|
|
1237
|
-
membersIds:
|
|
1236
|
+
declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateProjectMembersResult, Error, Partial<{
|
|
1237
|
+
membersIds: _intlayer_backend0.ProjectMemberByIdOption[];
|
|
1238
1238
|
}>, unknown>;
|
|
1239
|
-
declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1240
|
-
declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1241
|
-
declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1242
|
-
declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1243
|
-
declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1244
|
-
declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1239
|
+
declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteProjectResult, Error, void, unknown>;
|
|
1240
|
+
declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.SelectProjectResult, Error, SelectProjectParam, unknown>;
|
|
1241
|
+
declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UnselectProjectResult, Error, void, unknown>;
|
|
1242
|
+
declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddNewAccessKeyResponse, Error, _intlayer_backend0.AccessKeyData, unknown>;
|
|
1243
|
+
declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteAccessKeyResponse, Error, DeleteAccessKeyBody, unknown>;
|
|
1244
|
+
declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.RefreshAccessKeyResponse, Error, RefreshAccessKeyBody, unknown>;
|
|
1245
1245
|
/**
|
|
1246
1246
|
* Dictionary
|
|
1247
1247
|
*/
|
|
1248
1248
|
declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1249
1249
|
declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1250
1250
|
declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1251
|
-
declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1252
|
-
declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<
|
|
1253
|
-
declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1254
|
-
declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1251
|
+
declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddDictionaryResult, Error, AddDictionaryBody, unknown>;
|
|
1252
|
+
declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.PushDictionariesResult, Error, PushDictionariesBody, unknown>;
|
|
1253
|
+
declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateDictionaryResult, Error, Partial<_intlayer_backend0.Dictionary>, unknown>;
|
|
1254
|
+
declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteDictionaryResult, Error, DeleteDictionaryParam, unknown>;
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Tag
|
|
1257
1257
|
*/
|
|
1258
1258
|
declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1259
|
-
declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1260
|
-
declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1259
|
+
declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddTagResult, Error, _intlayer_backend0.TagCreationData, unknown>;
|
|
1260
|
+
declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateTagResult, Error, {
|
|
1261
1261
|
tagId: string;
|
|
1262
1262
|
tag: any;
|
|
1263
1263
|
}, unknown>;
|
|
1264
|
-
declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1264
|
+
declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteTagResult, Error, DeleteTagParams, unknown>;
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Stripe
|
|
1267
1267
|
*/
|
|
1268
1268
|
declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) => _tanstack_react_query0.UseQueryResult<GetPricingResult, Error>;
|
|
1269
1269
|
declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1270
|
-
declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<
|
|
1270
|
+
declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.GetCheckoutSessionResult, Error, void, unknown>;
|
|
1271
1271
|
/**
|
|
1272
1272
|
* AI
|
|
1273
1273
|
*/
|
|
1274
|
-
declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<
|
|
1275
|
-
declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<
|
|
1276
|
-
declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<
|
|
1277
|
-
declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<
|
|
1278
|
-
declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1274
|
+
declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.TranslateJSONResult, Error, TranslateJSONBody, unknown>;
|
|
1275
|
+
declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationResult, Error, AuditContentDeclarationBody, unknown>;
|
|
1276
|
+
declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationMetadataResult, Error, AuditContentDeclarationMetadataBody, unknown>;
|
|
1277
|
+
declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationFieldResult, Error, AuditContentDeclarationFieldBody, unknown>;
|
|
1278
|
+
declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditTagResult, Error, AuditTagBody, unknown>;
|
|
1279
1279
|
declare const useAskDocQuestion: () => _tanstack_react_query0.UseMutationResult<void, Error, AskDocQuestionBody, unknown>;
|
|
1280
|
-
declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<
|
|
1280
|
+
declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AutocompleteResponse, Error, AutocompleteBody, unknown>;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Discussions
|
|
1283
1283
|
*/
|
|
@@ -1286,13 +1286,13 @@ declare const useGetDiscussionsData: (params?: Record<string, string | string[]
|
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Search
|
|
1288
1288
|
*/
|
|
1289
|
-
declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<
|
|
1289
|
+
declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<_intlayer_backend0.SearchDocUtilResult, Error>;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Newsletter
|
|
1292
1292
|
*/
|
|
1293
|
-
declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<
|
|
1294
|
-
declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<
|
|
1295
|
-
declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<
|
|
1293
|
+
declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, NewsletterSubscriptionBody, unknown>;
|
|
1294
|
+
declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, NewsletterUnsubscriptionBody, unknown>;
|
|
1295
|
+
declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, void, unknown>;
|
|
1296
1296
|
/**
|
|
1297
1297
|
* Editor
|
|
1298
1298
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _intlayer_backend48 from "@intlayer/backend";
|
|
3
3
|
|
|
4
4
|
//#region src/hooks/useAuth/useOAuth2.d.ts
|
|
5
5
|
declare const useOAuth2: (intlayerConfiguration?: IntlayerConfig) => {
|
|
6
|
-
oAuth2AccessToken:
|
|
6
|
+
oAuth2AccessToken: _intlayer_backend48.OAuth2Token;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useOAuth2 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOAuth2.d.ts","names":[],"sources":["../../../../src/hooks/useAuth/useOAuth2.ts"],"sourcesContent":[],"mappings":";;;;cAQa,oCAAqC;qBAAc,
|
|
1
|
+
{"version":3,"file":"useOAuth2.d.ts","names":[],"sources":["../../../../src/hooks/useAuth/useOAuth2.ts"],"sourcesContent":[],"mappings":";;;;cAQa,oCAAqC;qBAAc,mBAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_backend49 from "@intlayer/backend";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/useUser/index.d.ts
|
|
4
4
|
declare const useUser: () => {
|
|
@@ -22,7 +22,7 @@ declare const useUser: () => {
|
|
|
22
22
|
lastLoginMethod?: "email" | "google" | "github" | "passkey";
|
|
23
23
|
lang?: string;
|
|
24
24
|
};
|
|
25
|
-
revalidateSession: () => Promise<
|
|
25
|
+
revalidateSession: () => Promise<_intlayer_backend49.SessionAPI | null | undefined>;
|
|
26
26
|
logout: () => Promise<void>;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"@hookform/resolvers": "5.2.2",
|
|
101
|
-
"@intlayer/api": "7.1.
|
|
102
|
-
"@intlayer/config": "7.1.
|
|
103
|
-
"@intlayer/core": "7.1.
|
|
104
|
-
"@intlayer/dictionaries-entry": "7.1.
|
|
105
|
-
"@intlayer/editor-react": "7.1.
|
|
106
|
-
"@intlayer/types": "7.1.
|
|
101
|
+
"@intlayer/api": "7.1.3",
|
|
102
|
+
"@intlayer/config": "7.1.3",
|
|
103
|
+
"@intlayer/core": "7.1.3",
|
|
104
|
+
"@intlayer/dictionaries-entry": "7.1.3",
|
|
105
|
+
"@intlayer/editor-react": "7.1.3",
|
|
106
|
+
"@intlayer/types": "7.1.3",
|
|
107
107
|
"@monaco-editor/react": "4.7.0",
|
|
108
108
|
"@radix-ui/react-dialog": "1.1.15",
|
|
109
109
|
"@radix-ui/react-select": "2.2.6",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"cmdk": "1.1.1",
|
|
120
120
|
"framer-motion": "12.23.24",
|
|
121
121
|
"fuse.js": "7.1.0",
|
|
122
|
-
"intlayer": "7.1.
|
|
122
|
+
"intlayer": "7.1.3",
|
|
123
123
|
"react-hook-form": "7.66.0",
|
|
124
|
-
"react-intlayer": "7.1.
|
|
124
|
+
"react-intlayer": "7.1.3",
|
|
125
125
|
"rollup-preserve-directives": "1.1.3",
|
|
126
126
|
"shiki": "3.15.0",
|
|
127
127
|
"tailwind-merge": "3.4.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"zustand": "4.5.7"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@intlayer/backend": "7.1.
|
|
132
|
+
"@intlayer/backend": "7.1.3",
|
|
133
133
|
"@storybook/addon-a11y": "8.6.14",
|
|
134
134
|
"@storybook/addon-essentials": "8.6.14",
|
|
135
135
|
"@storybook/addon-interactions": "8.6.14",
|
|
@@ -164,22 +164,22 @@
|
|
|
164
164
|
"tailwindcss": "4.1.17",
|
|
165
165
|
"tsdown": "0.16.5",
|
|
166
166
|
"typescript": "5.9.3",
|
|
167
|
-
"vite-intlayer": "7.1.
|
|
167
|
+
"vite-intlayer": "7.1.3",
|
|
168
168
|
"vite-plugin-dts": "4.5.4",
|
|
169
169
|
"vitest": "4.0.8"
|
|
170
170
|
},
|
|
171
171
|
"peerDependencies": {
|
|
172
172
|
"@better-fetch/fetch": "1.1.18",
|
|
173
|
-
"@intlayer/backend": "7.1.
|
|
173
|
+
"@intlayer/backend": "7.1.3",
|
|
174
174
|
"@monaco-editor/react": "4.7.0",
|
|
175
175
|
"@tanstack/react-query": "5.90.10",
|
|
176
176
|
"clsx": "2.1.1",
|
|
177
177
|
"framer-motion": "12.23.24",
|
|
178
178
|
"fuse.js": "7.1.0",
|
|
179
|
-
"intlayer": "7.1.
|
|
179
|
+
"intlayer": "7.1.3",
|
|
180
180
|
"react": ">=16.0.0",
|
|
181
181
|
"react-dom": ">=16.0.0",
|
|
182
|
-
"react-intlayer": "7.1.
|
|
182
|
+
"react-intlayer": "7.1.3",
|
|
183
183
|
"tailwind-merge": "3.4.0",
|
|
184
184
|
"zustand": "4.5.7"
|
|
185
185
|
},
|