@intlayer/design-system 7.3.3 → 7.3.5
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/IDE/IDE.mjs +1 -1
- package/dist/esm/components/IDE/IDE.mjs.map +1 -1
- package/dist/esm/components/Modal/Modal.mjs +2 -2
- package/dist/esm/components/Modal/Modal.mjs.map +1 -1
- package/dist/esm/components/Navbar/MobileNavbar.mjs +6 -6
- package/dist/esm/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/esm/components/Navbar/index.mjs +3 -2
- package/dist/esm/components/Navbar/index.mjs.map +1 -1
- package/dist/esm/components/WithResizer/index.mjs +46 -19
- package/dist/esm/components/WithResizer/index.mjs.map +1 -1
- package/dist/esm/hooks/index.mjs +2 -1
- package/dist/esm/hooks/useGetElementById.mjs +16 -0
- package/dist/esm/hooks/useGetElementById.mjs.map +1 -0
- package/dist/esm/hooks/useScrollY.mjs +23 -6
- package/dist/esm/hooks/useScrollY.mjs.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- 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/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +7 -7
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +4 -4
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +20 -20
- package/dist/types/components/Container/index.d.ts +8 -8
- 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/CopyButton/CopyButton.content.d.ts.map +1 -1
- 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/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- 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/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- 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/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.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/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/Input/Checkbox.d.ts +5 -5
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +7 -7
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts.map +1 -1
- package/dist/types/components/Loader/spinner.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- 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/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +9 -6
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +6 -3
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- 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/Popover/static.d.ts +3 -3
- package/dist/types/components/Popover/static.d.ts.map +1 -1
- package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +2 -2
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +3 -3
- 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 +4 -4
- 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 +3 -3
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/components/WithResizer/index.d.ts +2 -0
- package/dist/types/components/WithResizer/index.d.ts.map +1 -1
- package/dist/types/hooks/index.d.ts +2 -1
- package/dist/types/hooks/useGetElementById.d.ts +5 -0
- package/dist/types/hooks/useGetElementById.d.ts.map +1 -0
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/dist/types/hooks/useScrollY.d.ts +4 -1
- package/dist/types/hooks/useScrollY.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as zustand0 from "zustand";
|
|
2
2
|
|
|
3
3
|
//#region src/components/RightDrawer/useRightDrawerStore.d.ts
|
|
4
4
|
|
|
@@ -110,7 +110,7 @@ type RightDrawerStore = {
|
|
|
110
110
|
*
|
|
111
111
|
* @returns RightDrawerStore instance with drawer management capabilities
|
|
112
112
|
*/
|
|
113
|
-
declare const useRightDrawerStore:
|
|
113
|
+
declare const useRightDrawerStore: zustand0.UseBoundStore<zustand0.StoreApi<RightDrawerStore>>;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { useRightDrawerStore };
|
|
116
116
|
//# sourceMappingURL=useRightDrawerStore.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import { ComponentProps, FC } from "react";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
|
|
@@ -16,8 +16,8 @@ declare enum SelectContentPosition {
|
|
|
16
16
|
ITEM_ALIGNED = "item-aligned",
|
|
17
17
|
}
|
|
18
18
|
declare const SelectRoot: FC<SelectPrimitive.SelectProps>;
|
|
19
|
-
declare const SelectGroup:
|
|
20
|
-
declare const SelectValue:
|
|
19
|
+
declare const SelectGroup: react0.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react0.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const SelectValue: react0.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react0.RefAttributes<HTMLSpanElement>>;
|
|
21
21
|
/**
|
|
22
22
|
* Select trigger button component that displays the current selection and opens the dropdown
|
|
23
23
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","names":[],"sources":["../../../../src/components/Select/Select.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAiBA;AAKC;AAGK,aARM,qBAAA;EAQK;EAAA,MAAA,GAAA,QAAA;EAAA;EAAA,YAAA,GAAA,cAAA;;AAAA,cADX,UAEmC,EAFzB,EAEyB,CAFzB,eAAA,CAAA,WAEyB,CAAA;cADnC,WACW,EADA,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","names":[],"sources":["../../../../src/components/Select/Select.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAiBA;AAKC;AAGK,aARM,qBAAA;EAQK;EAAA,MAAA,GAAA,QAAA;EAAA;EAAA,YAAA,GAAA,cAAA;;AAAA,cADX,UAEmC,EAFzB,EAEyB,CAFzB,eAAA,CAAA,WAEyB,CAAA;cADnC,WACW,EADA,MAAA,CAAA,yBACA,CADA,eAAA,CAAA,gBACA,GADA,MAAA,CAAA,aACA,CADA,cACA,CAAA,CAAA;cAAX,WAAW,EAAA,MAAA,CAAA,yBAAA,CAAA,eAAA,CAAA,gBAAA,GAAA,MAAA,CAAA,aAAA,CAAA,eAAA,CAAA,CAAA;;;;AAAA;;;;;AAmBM;;;;;AAuEO;;;;cAvExB,aA6F0B,EA7FX,EA6FW,CA5F9B,cA4F8B,CAAA,OA5FR,eAAA,CAAgB,OA4FR,CAAA,GAAA;EAgCnB;;;;;AA2Eb;;;;;EA0BM,sBAmBL,CAAA,EAAA,OAAA;CAnB0C,CAAA;;;;AAsC3C;;;;;AAWE,cA5MI,oBAiNS,EAjNa,EAiNb,CAhNb,cAgNa,CAAA,OAhNS,eAAA,CAAgB,cAgNzB,CAAA,CAAA;;;;;;;;;cA3LT,sBA2MS,EA3Me,EA2Mf,CA1Mb,cA0Ma,CAAA,OA1MS,eAAA,CAAgB,gBA0MzB,CAAA,CAAA;;;AA8Ff;;;;;;;;;;;;;;;;cAzQa,eAAe,GAC1B,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;;;;cA0E3B,aAAa,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;cA0B7D,YAAY,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;cAsC9C,iBAAiB,GAC5B,sBAAsB,eAAA,CAAgB;;;;KAenC,UAAA,UAAoB;;gBAET;;gBAEA;;kBAEE;;yBAEO;;2BAEE;;kBAET;;gBAEF;;eAED;;oBAEK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4FP,QAAuB"}
|
|
@@ -7,12 +7,12 @@ import { TiktokLogo } from "./TiktokLogo.js";
|
|
|
7
7
|
import { XLogo } from "./XLogo.js";
|
|
8
8
|
import { YoutubeLogo } from "./YoutubeLogo.js";
|
|
9
9
|
import { AnchorHTMLAttributes, DetailedHTMLProps, ReactNode } from "react";
|
|
10
|
-
import * as
|
|
10
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
11
11
|
|
|
12
12
|
//#region src/components/SocialNetworks/index.d.ts
|
|
13
13
|
declare const socialNetworks: {
|
|
14
14
|
href: string;
|
|
15
|
-
component:
|
|
15
|
+
component: react_jsx_runtime5.JSX.Element;
|
|
16
16
|
label: string;
|
|
17
17
|
}[];
|
|
18
18
|
type SocialNetworksProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
2
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SwitchSelector/index.d.ts
|
|
7
7
|
type SwitchSelectorChoice<T = boolean> = {
|
|
@@ -35,7 +35,7 @@ declare enum SwitchSelectorSize {
|
|
|
35
35
|
LG = "lg",
|
|
36
36
|
}
|
|
37
37
|
declare const choiceVariant: (props?: {
|
|
38
|
-
size?: "
|
|
38
|
+
size?: "md" | "sm" | "lg";
|
|
39
39
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
@@ -63,7 +63,7 @@ declare const SwitchSelector: <T>({
|
|
|
63
63
|
size,
|
|
64
64
|
className,
|
|
65
65
|
hoverable
|
|
66
|
-
}: SwitchSelectorProps<T>) =>
|
|
66
|
+
}: SwitchSelectorProps<T>) => react_jsx_runtime3.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime6 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" | "bordered" | "ghost";
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types3.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_runtime6.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime6.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react4 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: react4.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_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
7
7
|
declare enum TabSelectorColor {
|
|
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
|
|
|
15
15
|
}
|
|
16
16
|
declare const tabSelectorVariant: (props?: {
|
|
17
17
|
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
18
|
-
} &
|
|
18
|
+
} & class_variance_authority_types2.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_runtime4.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
|
|
57
57
|
//# sourceMappingURL=TabSelector.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types86 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_types86.TypedNodeModel<_intlayer_types86.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: "translation" | _intlayer_types86.NodeType.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_types4 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?: "
|
|
189
|
-
color?: "
|
|
190
|
-
size?: "
|
|
188
|
+
roundedSize?: "md" | "sm" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
|
|
189
|
+
color?: "neutral" | "text" | "success" | "error" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
+
size?: "md" | "xs" | "sm" | "lg" | "xl";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
|
-
} &
|
|
193
|
+
} & class_variance_authority_types4.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_types5 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
|
|
|
@@ -25,8 +25,8 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
declare const toastVariants: (props?: {
|
|
28
|
-
variant?: "default" | "
|
|
29
|
-
} &
|
|
28
|
+
variant?: "default" | "success" | "error";
|
|
29
|
+
} & class_variance_authority_types5.ClassProp) => string;
|
|
30
30
|
/**
|
|
31
31
|
* Toast Component
|
|
32
32
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","names":[],"sources":["../../../../src/components/Toaster/Toast.tsx"],"sourcesContent":[],"mappings":";;;;;;cAQM,sBAAa;cAEb,eAAe,GAAG,sBAAsB,eAAA,CAAgB;;AALA;AAGzB;;;;;AAEd;;;;;;;;AA0FR;;;cA3DT,aA2Ga,EAAA,CAAA,KA2BlB,CA3BkB,EAAA;EAAE,OAAA,CAAA,EAAA,SAAA,GAAA,
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","names":[],"sources":["../../../../src/components/Toaster/Toast.tsx"],"sourcesContent":[],"mappings":";;;;;;cAQM,sBAAa;cAEb,eAAe,GAAG,sBAAsB,eAAA,CAAgB;;AALA;AAGzB;;;;;AAEd;;;;;;;;AA0FR;;;cA3DT,aA2Ga,EAAA,CAAA,KA2BlB,CA3BkB,EAAA;EAAE,OAAA,CAAA,EAAA,SAAA,GAAA,SAAA,GAAA,OAAA;AAAA,CAAA,GAzFpB,+BAAA,CAAA,SAoHA,EAAA,GAAA,MAAA;;;;;AAdmB;;;;;AAiCA;;;;;AAqCM;AAYM;;;;;;;;;;;;;;;;;;;;;;;;cA/I1B,OAAO,GACX,sBAAsB,eAAA,CAAgB,QACpC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8ClB,aAAa,GAAG,sBAAsB,eAAA,CAAgB;cAatD,YAAY,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;;cAiCrD,YAAY,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCrD,kBAAkB,GACtB,sBAAsB,eAAA,CAAgB;;;;;KAWnC,UAAA,GAAa,sBAAsB;;;;;KAMnC,kBAAA,GAAqB,oBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Toaster/Toaster.d.ts
|
|
4
4
|
|
|
@@ -44,7 +44,7 @@ import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
|
44
44
|
*
|
|
45
45
|
* @returns JSX element rendering the toast viewport and active toasts
|
|
46
46
|
*/
|
|
47
|
-
declare const Toaster: () =>
|
|
47
|
+
declare const Toaster: () => react_jsx_runtime8.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Toaster };
|
|
50
50
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/WithResizer/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AASe;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/WithResizer/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AASe;AA0Jf;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAxHK,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwHQ,aAAa,GAAG,kBAAkB"}
|
|
@@ -4,6 +4,7 @@ import { useOAuth2 } from "./useAuth/useOAuth2.js";
|
|
|
4
4
|
import { UseSessionResult, useSession } from "./useAuth/useSession.js";
|
|
5
5
|
import "./useAuth/index.js";
|
|
6
6
|
import { SizeType, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice } from "./useDevice.js";
|
|
7
|
+
import { useGetElementById } from "./useGetElementById.js";
|
|
7
8
|
import { useGetElementOrWindow } from "./useGetElementOrWindow.js";
|
|
8
9
|
import { HorizontalSwipeConfig, HorizontalSwipeHook, useHorizontalSwipe } from "./useHorizontalSwipe.js";
|
|
9
10
|
import { useIntlayerAuth, useIntlayerOAuth } from "./useIntlayerAPI.js";
|
|
@@ -18,4 +19,4 @@ import { useScrollDetection } from "./useScrollDetection.js";
|
|
|
18
19
|
import { useScrollY } from "./useScrollY.js";
|
|
19
20
|
import { useSearch } from "./useSearch.js";
|
|
20
21
|
import { useUser } from "./useUser/index.js";
|
|
21
|
-
export { HorizontalSwipeConfig, HorizontalSwipeHook, SizeType, UseSessionResult, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAuth, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeletePasskey, useDeleteProject, useDeleteTag, useDeleteUser, useDevice, useDisableTwoFactor, useEnableTwoFactor, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetElementOrWindow, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useHorizontalSwipe, useIntlayerAuth, useIntlayerOAuth, useIsDarkMode, useIsMounted, useItemSelector, useKeyboardDetector, useListPasskeys, useLogin, useLogout, useOAuth2, usePersistedStore, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useScreenWidth, useScrollBlockage, useScrollDetection, useScrollY, useSearch, useSearchDoc, useSelectOrganization, useSelectProject, useSession, useSignInMagicLink, useSignInPasskey, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useUser, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary };
|
|
22
|
+
export { HorizontalSwipeConfig, HorizontalSwipeHook, SizeType, UseSessionResult, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAuth, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeletePasskey, useDeleteProject, useDeleteTag, useDeleteUser, useDevice, useDisableTwoFactor, useEnableTwoFactor, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetElementById, useGetElementOrWindow, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useHorizontalSwipe, useIntlayerAuth, useIntlayerOAuth, useIsDarkMode, useIsMounted, useItemSelector, useKeyboardDetector, useListPasskeys, useLogin, useLogout, useOAuth2, usePersistedStore, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useScreenWidth, useScrollBlockage, useScrollDetection, useScrollY, useSearch, useSearchDoc, useSelectOrganization, useSelectProject, useSession, useSignInMagicLink, useSignInPasskey, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useUser, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetElementById.d.ts","names":[],"sources":["../../../src/hooks/useGetElementById.ts"],"sourcesContent":[],"mappings":";cAIa,mCAA+B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as zustand1 from "zustand";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/useScrollBlockage/useScrollBlockageStore.d.ts
|
|
4
4
|
type Blocker = {
|
|
@@ -11,7 +11,7 @@ type ScrollBlockageStore = {
|
|
|
11
11
|
removeBlockage: (blockerName: string, element: HTMLElement) => void;
|
|
12
12
|
isElementScrollBlocked: (element: HTMLElement) => boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const useScrollBlockageStore:
|
|
14
|
+
declare const useScrollBlockageStore: zustand1.UseBoundStore<zustand1.StoreApi<ScrollBlockageStore>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { useScrollBlockageStore };
|
|
17
17
|
//# sourceMappingURL=useScrollBlockageStore.d.ts.map
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
//#region src/hooks/useScrollY.d.ts
|
|
2
|
+
type UseScrollYProps = {
|
|
3
|
+
element?: HTMLElement;
|
|
4
|
+
};
|
|
2
5
|
type UseScrollYResult = {
|
|
3
6
|
scrollY: number;
|
|
4
7
|
scrollPercentage: number;
|
|
5
8
|
scrollYMax: number;
|
|
6
9
|
};
|
|
7
|
-
declare const useScrollY: () => UseScrollYResult;
|
|
10
|
+
declare const useScrollY: (props?: UseScrollYProps) => UseScrollYResult;
|
|
8
11
|
//#endregion
|
|
9
12
|
export { useScrollY };
|
|
10
13
|
//# sourceMappingURL=useScrollY.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollY.d.ts","names":[],"sources":["../../../src/hooks/useScrollY.ts"],"sourcesContent":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"useScrollY.d.ts","names":[],"sources":["../../../src/hooks/useScrollY.ts"],"sourcesContent":[],"mappings":";KAKK,eAAA;EAAA,OAAA,CAAA,EACO,WADQ;AACG,CAAA;AAiBvB,KAdK,gBAAA,GAkGJ;;;;;cApFY,qBAAsB,oBAAkB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.5",
|
|
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": [
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@hookform/resolvers": "5.2.2",
|
|
107
|
-
"@intlayer/api": "7.3.
|
|
108
|
-
"@intlayer/config": "7.3.
|
|
109
|
-
"@intlayer/core": "7.3.
|
|
110
|
-
"@intlayer/dictionaries-entry": "7.3.
|
|
111
|
-
"@intlayer/editor-react": "7.3.
|
|
112
|
-
"@intlayer/types": "7.3.
|
|
107
|
+
"@intlayer/api": "7.3.5",
|
|
108
|
+
"@intlayer/config": "7.3.5",
|
|
109
|
+
"@intlayer/core": "7.3.5",
|
|
110
|
+
"@intlayer/dictionaries-entry": "7.3.5",
|
|
111
|
+
"@intlayer/editor-react": "7.3.5",
|
|
112
|
+
"@intlayer/types": "7.3.5",
|
|
113
113
|
"@monaco-editor/react": "4.7.0",
|
|
114
114
|
"@radix-ui/react-dialog": "1.1.15",
|
|
115
115
|
"@radix-ui/react-select": "2.2.6",
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
"cmdk": "1.1.1",
|
|
126
126
|
"framer-motion": "12.23.24",
|
|
127
127
|
"fuse.js": "7.1.0",
|
|
128
|
-
"intlayer": "7.3.
|
|
128
|
+
"intlayer": "7.3.5",
|
|
129
129
|
"react-hook-form": "7.66.0",
|
|
130
|
-
"react-intlayer": "7.3.
|
|
130
|
+
"react-intlayer": "7.3.5",
|
|
131
131
|
"rollup-preserve-directives": "1.1.3",
|
|
132
132
|
"shiki": "3.15.0",
|
|
133
133
|
"tailwind-merge": "3.4.0",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"zustand": "4.5.7"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@intlayer/backend": "7.3.
|
|
138
|
+
"@intlayer/backend": "7.3.5",
|
|
139
139
|
"@storybook/addon-a11y": "8.6.14",
|
|
140
140
|
"@storybook/addon-essentials": "8.6.14",
|
|
141
141
|
"@storybook/addon-interactions": "8.6.14",
|
|
@@ -171,22 +171,22 @@
|
|
|
171
171
|
"tsdown": "0.16.8",
|
|
172
172
|
"typescript": "5.9.3",
|
|
173
173
|
"vite": "7.2.2",
|
|
174
|
-
"vite-intlayer": "7.3.
|
|
174
|
+
"vite-intlayer": "7.3.5",
|
|
175
175
|
"vite-plugin-dts": "4.5.4",
|
|
176
176
|
"vitest": "4.0.14"
|
|
177
177
|
},
|
|
178
178
|
"peerDependencies": {
|
|
179
179
|
"@better-fetch/fetch": "1.1.18",
|
|
180
|
-
"@intlayer/backend": "7.3.
|
|
180
|
+
"@intlayer/backend": "7.3.5",
|
|
181
181
|
"@monaco-editor/react": "4.7.0",
|
|
182
182
|
"@tanstack/react-query": "5.90.10",
|
|
183
183
|
"clsx": "2.1.1",
|
|
184
184
|
"framer-motion": "12.23.24",
|
|
185
185
|
"fuse.js": "7.1.0",
|
|
186
|
-
"intlayer": "7.3.
|
|
186
|
+
"intlayer": "7.3.5",
|
|
187
187
|
"react": ">=16.0.0",
|
|
188
188
|
"react-dom": ">=16.0.0",
|
|
189
|
-
"react-intlayer": "7.3.
|
|
189
|
+
"react-intlayer": "7.3.5",
|
|
190
190
|
"tailwind-merge": "3.4.0",
|
|
191
191
|
"zustand": "4.5.7"
|
|
192
192
|
},
|