@intlayer/design-system 7.3.13 → 7.3.15
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/Pagination/Pagination.mjs +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs +28 -13
- package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/esm/hooks/useItemSelector.mjs +31 -12
- package/dist/esm/hooks/useItemSelector.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/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 +4 -4
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +3 -3
- package/dist/types/components/Command/index.d.ts +16 -16
- 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/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- 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/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/elements/EditableFieldInputElement.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/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
- 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 +4 -4
- 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 +6 -6
- 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/Input/SearchInput.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +3 -3
- 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 +2 -2
- 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/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/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- 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/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/index.d.ts +5 -5
- 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/Tab.d.ts.map +1 -1
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +8 -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/Table/table.content.d.ts.map +1 -1
- 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/hooks/index.d.ts +2 -2
- package/dist/types/hooks/useItemSelector.d.ts +13 -3
- package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/package.json +16 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SwitchSelector/index.d.ts
|
|
7
7
|
type SwitchSelectorChoice<T = boolean> = {
|
|
@@ -28,7 +28,7 @@ declare enum SwitchSelectorColor {
|
|
|
28
28
|
}
|
|
29
29
|
declare const switchSelectorVariant: (props?: {
|
|
30
30
|
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
31
|
-
} &
|
|
31
|
+
} & class_variance_authority_types6.ClassProp) => string;
|
|
32
32
|
declare enum SwitchSelectorSize {
|
|
33
33
|
SM = "sm",
|
|
34
34
|
MD = "md",
|
|
@@ -36,7 +36,7 @@ declare enum SwitchSelectorSize {
|
|
|
36
36
|
}
|
|
37
37
|
declare const choiceVariant: (props?: {
|
|
38
38
|
size?: "sm" | "md" | "lg";
|
|
39
|
-
} &
|
|
39
|
+
} & class_variance_authority_types6.ClassProp) => string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* Component that allows the user to select one of the provided choices.
|
|
@@ -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_runtime9.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,SAAA,GAAA,WAmBL,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,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,E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A;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_types9 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime19 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_types9.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_runtime19.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime19.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;c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;IA8KR,WAEX,EAAA,MAAA;EAFc,CAAA;CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react7 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: react7.Context<TabContextValue>;
|
|
13
13
|
/**
|
|
14
14
|
* Hook that provides the current locale
|
|
15
15
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ItemSelectorOrientation } from "../../hooks/useItemSelector.js";
|
|
1
2
|
import { HTMLAttributes, ReactElement } from "react";
|
|
2
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
3
4
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
5
6
|
|
|
6
7
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
7
8
|
declare enum TabSelectorColor {
|
|
@@ -14,8 +15,8 @@ declare enum TabSelectorColor {
|
|
|
14
15
|
TEXT = "text",
|
|
15
16
|
}
|
|
16
17
|
declare const tabSelectorVariant: (props?: {
|
|
17
|
-
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark"
|
|
18
|
-
} &
|
|
18
|
+
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
|
|
19
|
+
} & class_variance_authority_types8.ClassProp) => string;
|
|
19
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
20
21
|
key: string | number;
|
|
21
22
|
};
|
|
@@ -24,6 +25,7 @@ type TabSelectorProps<T extends TabSelectorItemProps> = {
|
|
|
24
25
|
selectedChoice: T['key'];
|
|
25
26
|
onTabClick?: (choice: T['key']) => void;
|
|
26
27
|
hoverable?: boolean;
|
|
28
|
+
orientation?: ItemSelectorOrientation;
|
|
27
29
|
} & HTMLAttributes<HTMLElement> & Omit<VariantProps<typeof tabSelectorVariant>, 'color'> & {
|
|
28
30
|
color?: TabSelectorColor | `${TabSelectorColor}`;
|
|
29
31
|
};
|
|
@@ -50,8 +52,9 @@ declare const TabSelector: <T extends TabSelectorItemProps>({
|
|
|
50
52
|
onTabClick,
|
|
51
53
|
color,
|
|
52
54
|
hoverable,
|
|
55
|
+
orientation,
|
|
53
56
|
className
|
|
54
|
-
}: TabSelectorProps<T>) =>
|
|
57
|
+
}: TabSelectorProps<T>) => react_jsx_runtime18.JSX.Element;
|
|
55
58
|
//#endregion
|
|
56
59
|
export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
|
|
57
60
|
//# sourceMappingURL=TabSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":";;;;;;;aAiBY,gBAAA;;;;EAAA,OAAA,GAAA,SAAgB;EAUtB,KAAA,GAAA,OAAA;EA4CM,IAAA,GAAA,MAAA;EAIA,IAAA,GAAA,MAAA;;cAhDN,kBAiDe,EAAA,CAAA,KACH,CADG,EAAA;EAAb,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;CACU,GAhCjB,+BAAA,CAAA,SAgCiB,EAAA,GAAA,MAAA;AACM,KAPZ,oBAAA,GAAuB,cAOX,CAP0B,WAO1B,CAAA,GAAA;EAER,GAAA,EAAA,MAAA,GAAA,MAAA;CACG;AAAf,KANQ,gBAMR,CAAA,UANmC,oBAMnC,CAAA,GAAA;EACuB,IAAA,EANnB,YAMmB,CANN,CAMM,CAAA,EAAA;EAApB,cAAA,EALW,CAKX,CAAA,KAAA,CAAA;EAAL,UAAA,CAAA,EAAA,CAAA,MAAA,EAJsB,CAItB,CAAA,KAAA,CAAA,EAAA,GAAA,IAAA;EACU,SAAA,CAAA,EAAA,OAAA;EAAsB,WAAA,CAAA,EAHlB,uBAGkB;CAAgB,GAF9C,cAE8C,CAF/B,WAE+B,CAAA,GADhD,IACgD,CAD3C,YAC2C,CAAA,OADvB,kBACuB,CAAA,EAAA,OAAA,CAAA,GAAA;EAoBrC,KAAA,CAAA,EApBD,gBAuFX,GAAA,GAvFiC,gBAuFjC,EAAA;CAnEqC;;;;;;;;;;;;;;;;;;cAAzB,wBAAyB;;;;;;;;GAQnC,iBAAiB,OAAE,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types358 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_types358.TypedNodeModel<_intlayer_types358.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_types358.NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,
|
|
1
|
+
{"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,mCA2BgB,0CAAA"}
|
|
@@ -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?: "sm" | "md" | "lg" | "xl" | "
|
|
189
|
-
color?: "
|
|
190
|
-
size?: "
|
|
188
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
|
|
189
|
+
color?: "error" | "neutral" | "text" | "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_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?: "
|
|
29
|
-
} &
|
|
28
|
+
variant?: "default" | "error" | "success";
|
|
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,
|
|
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,OAAA,GAAA,SAAA;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,3 +1,4 @@
|
|
|
1
|
+
import { ItemSelectorOrientation, useItemSelector } from "./useItemSelector.js";
|
|
1
2
|
import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeletePasskey, useDeleteProject, useDeleteTag, useDeleteUser, useDisableTwoFactor, useEnableTwoFactor, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useListPasskeys, useLogin, useLogout, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useSearchDoc, useSelectOrganization, useSelectProject, useSignInMagicLink, useSignInPasskey, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary } from "./reactQuery.js";
|
|
2
3
|
import { useAuth } from "./useAuth/useAuth.js";
|
|
3
4
|
import { useOAuth2 } from "./useAuth/useOAuth2.js";
|
|
@@ -10,7 +11,6 @@ import { HorizontalSwipeConfig, HorizontalSwipeHook, useHorizontalSwipe } from "
|
|
|
10
11
|
import { useIntlayerAuth, useIntlayerOAuth } from "./useIntlayerAPI.js";
|
|
11
12
|
import { useIsDarkMode } from "./useIsDarkMode.js";
|
|
12
13
|
import { useIsMounted } from "./useIsMounted.js";
|
|
13
|
-
import { useItemSelector } from "./useItemSelector.js";
|
|
14
14
|
import { useKeyboardDetector } from "./useKeyboardDetector.js";
|
|
15
15
|
import { usePersistedStore } from "./usePersistedStore.js";
|
|
16
16
|
import { useScreenWidth } from "./useScreenWidth.js";
|
|
@@ -19,4 +19,4 @@ import { useScrollDetection } from "./useScrollDetection.js";
|
|
|
19
19
|
import { useScrollY } from "./useScrollY.js";
|
|
20
20
|
import { useSearch } from "./useSearch.js";
|
|
21
21
|
import { useUser } from "./useUser/index.js";
|
|
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 };
|
|
22
|
+
export { HorizontalSwipeConfig, HorizontalSwipeHook, ItemSelectorOrientation, 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 };
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/useItemSelector.d.ts
|
|
4
|
-
type
|
|
4
|
+
type ItemSelectorOrientation = 'horizontal' | 'vertical';
|
|
5
|
+
type HorizontalStyleState = {
|
|
5
6
|
left: number;
|
|
6
7
|
width: number;
|
|
7
8
|
opacity: number;
|
|
8
9
|
};
|
|
10
|
+
type VerticalStyleState = {
|
|
11
|
+
top: number;
|
|
12
|
+
height: number;
|
|
13
|
+
opacity: number;
|
|
14
|
+
};
|
|
15
|
+
type StyleState = HorizontalStyleState | VerticalStyleState;
|
|
9
16
|
type Options = {
|
|
10
17
|
selector?: (option: HTMLElement, index: number) => boolean;
|
|
11
18
|
isHoverable?: boolean;
|
|
19
|
+
orientation?: ItemSelectorOrientation;
|
|
12
20
|
};
|
|
13
21
|
declare const useItemSelector: (optionsRefs: RefObject<HTMLElement[]>, {
|
|
14
22
|
selector,
|
|
15
|
-
isHoverable
|
|
23
|
+
isHoverable,
|
|
24
|
+
orientation
|
|
16
25
|
}?: Options) => {
|
|
17
26
|
choiceIndicatorPosition: StyleState;
|
|
18
27
|
calculatePosition: () => void;
|
|
28
|
+
orientation: ItemSelectorOrientation;
|
|
19
29
|
};
|
|
20
30
|
//#endregion
|
|
21
|
-
export { useItemSelector };
|
|
31
|
+
export { ItemSelectorOrientation, useItemSelector };
|
|
22
32
|
//# sourceMappingURL=useItemSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"sourcesContent":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"sourcesContent":[],"mappings":";;;KAIY,uBAAA;KAEP,oBAAA;EAFO,IAAA,EAAA,MAAA;EAEP,KAAA,EAAA,MAAA;EAMA,OAAA,EAAA,MAAA;AAAkB,CAAA;AAMoC,KANtD,kBAAA,GAWO;EAMC,GAAA,EAAA,MAAA;EACY,MAAA,EAAA,MAAA;EAAV,OAAA,EAAA,MAAA;CACb;KAbG,UAAA,GAAa,oBAahB,GAbuC,kBAavC;KARG,OAAA,GAQH;EAIG,QAAA,CAAA,EAAA,CAAA,MAAA,EAXiB,WAWjB,EAAA,KAAA,EAAA,MAAA,EAAA,GAAA,OAAA;;gBATW;;cAGH,+BACE,UAAU;;;;IAKpB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as zustand0 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: zustand0.UseBoundStore<zustand0.StoreApi<ScrollBlockageStore>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { useScrollBlockageStore };
|
|
17
17
|
//# sourceMappingURL=useScrollBlockageStore.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.15",
|
|
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": [
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@better-auth/passkey": "1.4.5",
|
|
107
107
|
"@hookform/resolvers": "5.2.2",
|
|
108
|
-
"@intlayer/api": "7.3.
|
|
109
|
-
"@intlayer/config": "7.3.
|
|
110
|
-
"@intlayer/core": "7.3.
|
|
111
|
-
"@intlayer/dictionaries-entry": "7.3.
|
|
112
|
-
"@intlayer/editor-react": "7.3.
|
|
113
|
-
"@intlayer/types": "7.3.
|
|
108
|
+
"@intlayer/api": "7.3.15",
|
|
109
|
+
"@intlayer/config": "7.3.15",
|
|
110
|
+
"@intlayer/core": "7.3.15",
|
|
111
|
+
"@intlayer/dictionaries-entry": "7.3.15",
|
|
112
|
+
"@intlayer/editor-react": "7.3.15",
|
|
113
|
+
"@intlayer/types": "7.3.15",
|
|
114
114
|
"@monaco-editor/react": "4.7.0",
|
|
115
115
|
"@radix-ui/react-dialog": "1.1.15",
|
|
116
116
|
"@radix-ui/react-select": "2.2.6",
|
|
@@ -119,16 +119,16 @@
|
|
|
119
119
|
"@shikijs/transformers": "3.19.0",
|
|
120
120
|
"@tanstack/react-query": "5.90.12",
|
|
121
121
|
"@tanstack/react-query-devtools": "5.91.1",
|
|
122
|
-
"better-auth": "1.4.
|
|
122
|
+
"better-auth": "1.4.6",
|
|
123
123
|
"bun": "^1.3.2",
|
|
124
124
|
"class-variance-authority": "0.7.1",
|
|
125
125
|
"clsx": "2.1.1",
|
|
126
126
|
"cmdk": "1.1.1",
|
|
127
127
|
"framer-motion": "12.23.25",
|
|
128
128
|
"fuse.js": "7.1.0",
|
|
129
|
-
"intlayer": "7.3.
|
|
129
|
+
"intlayer": "7.3.15",
|
|
130
130
|
"react-hook-form": "7.66.0",
|
|
131
|
-
"react-intlayer": "7.3.
|
|
131
|
+
"react-intlayer": "7.3.15",
|
|
132
132
|
"rollup-preserve-directives": "1.1.3",
|
|
133
133
|
"shiki": "3.15.0",
|
|
134
134
|
"tailwind-merge": "3.4.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"zustand": "4.5.7"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@intlayer/backend": "7.3.
|
|
139
|
+
"@intlayer/backend": "7.3.15",
|
|
140
140
|
"@storybook/addon-a11y": "8.6.14",
|
|
141
141
|
"@storybook/addon-essentials": "8.6.14",
|
|
142
142
|
"@storybook/addon-interactions": "8.6.14",
|
|
@@ -171,23 +171,23 @@
|
|
|
171
171
|
"tailwindcss": "4.1.17",
|
|
172
172
|
"tsdown": "0.16.8",
|
|
173
173
|
"typescript": "5.9.3",
|
|
174
|
-
"vite": "7.2.
|
|
175
|
-
"vite-intlayer": "7.3.
|
|
174
|
+
"vite": "7.2.7",
|
|
175
|
+
"vite-intlayer": "7.3.15",
|
|
176
176
|
"vite-plugin-dts": "4.5.4",
|
|
177
177
|
"vitest": "4.0.15"
|
|
178
178
|
},
|
|
179
179
|
"peerDependencies": {
|
|
180
180
|
"@better-fetch/fetch": "1.1.18",
|
|
181
|
-
"@intlayer/backend": "7.3.
|
|
181
|
+
"@intlayer/backend": "7.3.15",
|
|
182
182
|
"@monaco-editor/react": "4.7.0",
|
|
183
183
|
"@tanstack/react-query": "5.90.12",
|
|
184
184
|
"clsx": "2.1.1",
|
|
185
185
|
"framer-motion": "12.23.25",
|
|
186
186
|
"fuse.js": "7.1.0",
|
|
187
|
-
"intlayer": "7.3.
|
|
187
|
+
"intlayer": "7.3.15",
|
|
188
188
|
"react": ">=16.0.0",
|
|
189
189
|
"react-dom": ">=16.0.0",
|
|
190
|
-
"react-intlayer": "7.3.
|
|
190
|
+
"react-intlayer": "7.3.15",
|
|
191
191
|
"tailwind-merge": "3.4.0",
|
|
192
192
|
"zustand": "4.5.7"
|
|
193
193
|
},
|