@intlayer/design-system 7.0.3-canary.0 → 7.0.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/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/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +5 -5
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +5 -5
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +2 -2
- package/dist/types/components/Container/index.d.ts +5 -5
- 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/dictionaryFieldEditor.content.d.ts +5 -5
- 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 +6 -6
- 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/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 +4 -4
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/MultiselectElement.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/FileTree.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- 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/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/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/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- 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 +5 -5
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +5 -5
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +7 -7
- 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/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 +10 -10
- 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 -8
- 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/Tag/index.d.ts.map +1 -1
- 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/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/package.json +24 -24
|
@@ -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_runtime13 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_runtime13.JSX.Element;
|
|
16
16
|
label: string;
|
|
17
17
|
}[];
|
|
18
18
|
type SocialNetworksProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SocialNetworks/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAeM;;aAyCL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SocialNetworks/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAeM;;aAyCL,mBAAA,CAAA,GAAA,CAAA;;;KAEI,mBAAA;8BACyB,4BAA4B;IACtD,kBACF,qBAAqB,oBACrB;cA4BW;;;GAGV,wBAAmB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
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_runtime14 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SwitchSelector/index.d.ts
|
|
7
7
|
|
|
@@ -11,25 +11,25 @@ import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
|
11
11
|
* @template T - The type of the choice value
|
|
12
12
|
* @interface SwitchSelectorChoice
|
|
13
13
|
*/
|
|
14
|
-
type SwitchSelectorChoice<T
|
|
14
|
+
type SwitchSelectorChoice<T = boolean> = {
|
|
15
15
|
/** The visual content displayed for this choice (text, icons, or React elements) */
|
|
16
16
|
content: ReactNode;
|
|
17
17
|
/** The value associated with this choice */
|
|
18
|
-
value: T
|
|
18
|
+
value: T;
|
|
19
19
|
} & HTMLAttributes<HTMLButtonElement>;
|
|
20
20
|
/**
|
|
21
21
|
* Array of choices for the SwitchSelector component
|
|
22
22
|
*
|
|
23
23
|
* @template T - The type of the choice values
|
|
24
24
|
*/
|
|
25
|
-
type SwitchSelectorChoices<T
|
|
25
|
+
type SwitchSelectorChoices<T> = SwitchSelectorChoice<T>[];
|
|
26
26
|
/**
|
|
27
27
|
* Props interface for the SwitchSelector component
|
|
28
28
|
*
|
|
29
29
|
* @template T - The type of the choice values
|
|
30
30
|
* @interface SwitchSelectorProps
|
|
31
31
|
*/
|
|
32
|
-
type SwitchSelectorProps<T
|
|
32
|
+
type SwitchSelectorProps<T = boolean> = {
|
|
33
33
|
/**
|
|
34
34
|
* Array of selectable choices
|
|
35
35
|
* @default [{ content: 'Off', value: false }, { content: 'On', value: true }]
|
|
@@ -42,7 +42,7 @@ type SwitchSelectorProps<T$1 = boolean> = {
|
|
|
42
42
|
* ]} />
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
choices?: SwitchSelectorChoices<T
|
|
45
|
+
choices?: SwitchSelectorChoices<T>;
|
|
46
46
|
/**
|
|
47
47
|
* Controlled value for the selected choice
|
|
48
48
|
* @example
|
|
@@ -51,7 +51,7 @@ type SwitchSelectorProps<T$1 = boolean> = {
|
|
|
51
51
|
* <SwitchSelector value={status} onChange={setStatus} />
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
value?: T
|
|
54
|
+
value?: T;
|
|
55
55
|
/**
|
|
56
56
|
* Default selected value for uncontrolled mode
|
|
57
57
|
* @example
|
|
@@ -59,7 +59,7 @@ type SwitchSelectorProps<T$1 = boolean> = {
|
|
|
59
59
|
* <SwitchSelector defaultValue="published" />
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
defaultValue?: T
|
|
62
|
+
defaultValue?: T;
|
|
63
63
|
/**
|
|
64
64
|
* Callback function triggered when selection changes
|
|
65
65
|
* @param choice - The newly selected choice value
|
|
@@ -68,7 +68,7 @@ type SwitchSelectorProps<T$1 = boolean> = {
|
|
|
68
68
|
* <SwitchSelector onChange={(value) => console.log('Selected:', value)} />
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
71
|
-
onChange?: (choice: T
|
|
71
|
+
onChange?: (choice: T) => void;
|
|
72
72
|
/** Additional CSS classes for custom styling */
|
|
73
73
|
className?: string;
|
|
74
74
|
} & VariantProps<typeof switchSelectorVariant> & VariantProps<typeof choiceVariant>;
|
|
@@ -211,7 +211,7 @@ declare const SwitchSelector: <T>({
|
|
|
211
211
|
color,
|
|
212
212
|
size,
|
|
213
213
|
className
|
|
214
|
-
}: SwitchSelectorProps<T>) =>
|
|
214
|
+
}: SwitchSelectorProps<T>) => react_jsx_runtime14.JSX.Element;
|
|
215
215
|
//#endregion
|
|
216
216
|
export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
|
|
217
217
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAmBA;;AAIS,KAJG,oBAIH,CAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAmBA;;AAIS,KAJG,oBAIH,CAAA,IAAA,OAAA,CAAA,GAAA;EACU;EAAf,OAAA,EAHO,SAGP;EAAc;EAON,KAAA,EARH,CAQG;AAaZ,CAAA,GApBI,cAoBQ,CApBO,iBAoBY,CAAA;;;;;;AA8CP,KA3DZ,qBA2DY,CAAA,CAAA,CAAA,GA3De,oBA2Df,CA3DoC,CA2DpC,CAAA,EAAA;;;;;AAQxB;AAeC;AA4BW,KAjGA,mBAiGkB,CAAA,IAAA,OAAA,CAAA,GAAA;EASxB;AA6HN;;;;;;;;;;;EA8EC,OAAA,CAAA,EAxSW,qBAwSX,CAxSiC,CAwSjC,CAAA;;;;;;;;;UA9RS;;;;;;;;iBASO;;;;;;;;;sBAUK;;;IAIlB,oBAAoB,yBACtB,oBAAoB;;;;;;aAOV,mBAAA;;;;;;;;;;;;;;;;cAiBN;UAmBL;IAAA,+BAAA,CAAA;;;;;;aAOW,kBAAA;;;;;;;;cASN;SAcL;IAAA,+BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+GY;;;;;;;;GAQV,oBAAoB,OAAE,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } 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
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime17 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_types12.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_runtime17.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime17.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":";;;;;;cA0BM;;IAcL
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;cA0BM;;IAcL,gCAAA,CAAA;KAEW,QAAA,GAAW,eAAe,kBACpC,oBAAoB;EAjBhB,UAAA,CAAA,EAAA,MAAA;EAgBM,KAAA,CAAA,EAAA,MAAQ;EAAkB,QAAA,EAIxB,SAJwB;CAAf;AACD,KAMV,YAAA,GAAe,cANL,CAMoB,cANpB,CAAA,GAAA;EAApB,KAAA,EAAA,MAAA;EAGY,KAAA,EAAA,MAAA;EAAS,QAAA,CAAA,EAAA,OAAA;EAGX,QAAA,EAIA,SAJY;CAAkB;AAAf,cAkLd,GAlLc,EAAA,CAAA,CAAA;EAAA,UAAA;EAAA,KAAA;EAAA,OAAA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0CxB,QA1CwB,EAAA,GA0ChB,mBAAA,CAAA,GAAA,CAAA,OA1CgB,CAAA,GAAA;EAIf,IAAA,EAAA;IAAS,CAAA;MAAA,QAAA;MAAA,GAAA;IAAA,CAAA,EAOoB,YAPpB,CAAA,EAOgC,mBAAA,CAAA,GAAA,CAAA,OAPhC;IA8KR,WAEX,EAAA,MAAA;EAFc,CAAA;CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react15 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: react15.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_types7 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/TabSelector/TabSelector.d.ts
|
|
7
7
|
declare enum TabSelectorColor {
|
|
@@ -15,14 +15,14 @@ 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_types7.ClassProp) => string;
|
|
19
19
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
20
20
|
key: string | number;
|
|
21
21
|
};
|
|
22
|
-
type TabSelectorProps<T
|
|
23
|
-
tabs: ReactElement<T
|
|
24
|
-
selectedChoice: T
|
|
25
|
-
onTabClick?: (choice: T
|
|
22
|
+
type TabSelectorProps<T extends TabSelectorItemProps> = {
|
|
23
|
+
tabs: ReactElement<T>[];
|
|
24
|
+
selectedChoice: T['key'];
|
|
25
|
+
onTabClick?: (choice: T['key']) => void;
|
|
26
26
|
hoverable?: boolean;
|
|
27
27
|
} & HTMLAttributes<HTMLElement> & Omit<VariantProps<typeof tabSelectorVariant>, 'color'> & {
|
|
28
28
|
color?: TabSelectorColor | `${TabSelectorColor}`;
|
|
@@ -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_runtime6.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,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA;CACU,GAzBjB,
|
|
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,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA;CACU,GAzBjB,+BAAA,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,gBAsFX,GAAA,GAtFiC,gBAsFjC,EAAA;CAlEqC;;;;;;;;;;;;;;;;;;cAAzB,wBAAyB;;;;;;;GAOnC,iBAAiB,OAAE,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types331 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_types331.TypedNodeModel<_intlayer_types331.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_types331.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_types6 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?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "full";
|
|
189
|
+
color?: "neutral" | "text" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
|
-
} &
|
|
193
|
+
} & class_variance_authority_types6.ClassProp) => string;
|
|
194
194
|
/**
|
|
195
195
|
* Tag component for displaying labels, categories, status indicators, and badges
|
|
196
196
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Tag/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AACmE;;;;;;;AA+DnE;AAoCA;AA0CA;AAuBA;AAoBA;AAGC;AAyJD;;;;;;;;;;;;;;;KAnTK,QAAA,GAAW,kBAAkB,oBAAoB,sBACpD,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA6BL,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoCA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA0CA,OAAA;;;;;;;;;;;;;;;;;;;;;;aAuBA,SAAA;;;;;;;;;;;;;;;;;;;aAoBA,aAAA;;;;cAKN;;;;;;IA8DJ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Tag/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AACmE;;;;;;;AA+DnE;AAoCA;AA0CA;AAuBA;AAoBA;AAGC;AAyJD;;;;;;;;;;;;;;;KAnTK,QAAA,GAAW,kBAAkB,oBAAoB,sBACpD,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA6BL,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoCA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA0CA,OAAA;;;;;;;;;;;;;;;;;;;;;;aAuBA,SAAA;;;;;;;;;;;;;;;;;;;aAoBA,aAAA;;;;cAKN;;;;;;IA8DJ,+BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyFW,KAAK,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactElement } 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
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?: "error" | "success" | "default";
|
|
29
|
+
} & class_variance_authority_types11.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,OAAA,GAAA,SAAA,GAAA,SAAA;AAAA,CAAA,GAzFpB,gCAAA,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_runtime16 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_runtime14 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_runtime16.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Toaster };
|
|
50
50
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -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.0.3
|
|
3
|
+
"version": "7.0.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": [
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@hookform/resolvers": "5.2.2",
|
|
98
|
-
"@intlayer/api": "7.0.3
|
|
99
|
-
"@intlayer/config": "7.0.3
|
|
100
|
-
"@intlayer/core": "7.0.3
|
|
101
|
-
"@intlayer/dictionaries-entry": "7.0.3
|
|
102
|
-
"@intlayer/editor-react": "7.0.3
|
|
103
|
-
"@intlayer/types": "7.0.3
|
|
98
|
+
"@intlayer/api": "7.0.3",
|
|
99
|
+
"@intlayer/config": "7.0.3",
|
|
100
|
+
"@intlayer/core": "7.0.3",
|
|
101
|
+
"@intlayer/dictionaries-entry": "7.0.3",
|
|
102
|
+
"@intlayer/editor-react": "7.0.3",
|
|
103
|
+
"@intlayer/types": "7.0.3",
|
|
104
104
|
"@monaco-editor/react": "4.7.0",
|
|
105
105
|
"@radix-ui/react-dialog": "1.1.15",
|
|
106
106
|
"@radix-ui/react-select": "2.2.6",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"cmdk": "1.1.1",
|
|
118
118
|
"framer-motion": "12.23.24",
|
|
119
119
|
"fuse.js": "7.1.0",
|
|
120
|
-
"intlayer": "7.0.3
|
|
120
|
+
"intlayer": "7.0.3",
|
|
121
121
|
"react-hook-form": "7.65.0",
|
|
122
|
-
"react-intlayer": "7.0.3
|
|
122
|
+
"react-intlayer": "7.0.3",
|
|
123
123
|
"rollup-preserve-directives": "1.1.3",
|
|
124
124
|
"shiki": "3.13.0",
|
|
125
125
|
"tailwind-merge": "3.3.1",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
130
|
"@chromatic-com/storybook": "3.2.7",
|
|
131
|
-
"@intlayer/backend": "7.0.3
|
|
131
|
+
"@intlayer/backend": "7.0.3",
|
|
132
132
|
"@storybook/addon-a11y": "8.6.14",
|
|
133
133
|
"@storybook/addon-essentials": "8.6.14",
|
|
134
134
|
"@storybook/addon-interactions": "8.6.14",
|
|
@@ -147,39 +147,39 @@
|
|
|
147
147
|
"@testing-library/react": "16.3.0",
|
|
148
148
|
"@testing-library/user-event": "14.6.1",
|
|
149
149
|
"@types/espree": "10.1.0",
|
|
150
|
-
"@types/node": "24.9.
|
|
150
|
+
"@types/node": "24.9.2",
|
|
151
151
|
"@types/react": "19.2.2",
|
|
152
152
|
"@types/react-dom": "19.2.2",
|
|
153
|
-
"@utils/ts-config": "7.0.3
|
|
154
|
-
"@utils/ts-config-types": "7.0.3
|
|
153
|
+
"@utils/ts-config": "7.0.3",
|
|
154
|
+
"@utils/ts-config-types": "7.0.3",
|
|
155
155
|
"fast-glob": "3.3.3",
|
|
156
156
|
"lucide-react": "0.547.0",
|
|
157
157
|
"rimraf": "6.0.1",
|
|
158
158
|
"storybook": "8.6.14",
|
|
159
159
|
"tailwindcss": "4.1.16",
|
|
160
160
|
"typescript": "5.9.3",
|
|
161
|
-
"vite-intlayer": "7.0.3
|
|
161
|
+
"vite-intlayer": "7.0.3",
|
|
162
162
|
"vite-plugin-dts": "4.5.4",
|
|
163
|
-
"vitest": "4.0.
|
|
163
|
+
"vitest": "4.0.5"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
166
|
"@better-fetch/fetch": "1.1.18",
|
|
167
|
-
"@intlayer/api": "7.0.3
|
|
168
|
-
"@intlayer/backend": "7.0.3
|
|
169
|
-
"@intlayer/config": "7.0.3
|
|
170
|
-
"@intlayer/core": "7.0.3
|
|
171
|
-
"@intlayer/dictionaries-entry": "7.0.3
|
|
172
|
-
"@intlayer/editor-react": "7.0.3
|
|
173
|
-
"@intlayer/types": "7.0.3
|
|
167
|
+
"@intlayer/api": "7.0.3",
|
|
168
|
+
"@intlayer/backend": "7.0.3",
|
|
169
|
+
"@intlayer/config": "7.0.3",
|
|
170
|
+
"@intlayer/core": "7.0.3",
|
|
171
|
+
"@intlayer/dictionaries-entry": "7.0.3",
|
|
172
|
+
"@intlayer/editor-react": "7.0.3",
|
|
173
|
+
"@intlayer/types": "7.0.3",
|
|
174
174
|
"@monaco-editor/react": "4.7.0",
|
|
175
175
|
"@tanstack/react-query": "5.90.5",
|
|
176
176
|
"clsx": "2.1.1",
|
|
177
177
|
"framer-motion": "12.23.24",
|
|
178
178
|
"fuse.js": "7.1.0",
|
|
179
|
-
"intlayer": "7.0.3
|
|
179
|
+
"intlayer": "7.0.3",
|
|
180
180
|
"react": ">=16.0.0",
|
|
181
181
|
"react-dom": ">=16.0.0",
|
|
182
|
-
"react-intlayer": "7.0.3
|
|
182
|
+
"react-intlayer": "7.0.3",
|
|
183
183
|
"tailwind-merge": "3.3.1",
|
|
184
184
|
"zustand": "4.5.7"
|
|
185
185
|
}
|