@intlayer/design-system 7.0.3-canary.1 → 7.0.4-canary.0
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/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +2 -2
- 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 +20 -20
- 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/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/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/DropDown/index.d.ts.map +1 -1
- 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/FormItem.d.ts.map +1 -1
- 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/CodeContext.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/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/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/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 +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- 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/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 +13 -13
- 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/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/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/Toaster/Toaster.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/package.json +24 -24
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types106 from "@intlayer/types";
|
|
2
2
|
import * as _intlayer_core0 from "@intlayer/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Pagination/pagination.content.d.ts
|
|
5
5
|
declare const paginationContent: {
|
|
6
6
|
key: string;
|
|
7
7
|
content: {
|
|
8
|
-
numberItemsSelector:
|
|
8
|
+
numberItemsSelector: _intlayer_types106.TypedNodeModel<_intlayer_types106.NodeType.Translation, {
|
|
9
9
|
en: string;
|
|
10
10
|
fr: string;
|
|
11
11
|
es: string;
|
|
@@ -24,7 +24,7 @@ declare const paginationContent: {
|
|
|
24
24
|
id: string;
|
|
25
25
|
vi: string;
|
|
26
26
|
}, {
|
|
27
|
-
nodeType: "translation" |
|
|
27
|
+
nodeType: "translation" | _intlayer_types106.NodeType.Translation;
|
|
28
28
|
} & {
|
|
29
29
|
translation: {
|
|
30
30
|
en: string;
|
|
@@ -46,7 +46,7 @@ declare const paginationContent: {
|
|
|
46
46
|
vi: string;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
49
|
-
showingResults: _intlayer_core0.InsertionContent<
|
|
49
|
+
showingResults: _intlayer_core0.InsertionContent<_intlayer_types106.TypedNodeModel<_intlayer_types106.NodeType.Translation, {
|
|
50
50
|
ar: string;
|
|
51
51
|
de: string;
|
|
52
52
|
en: string;
|
|
@@ -65,7 +65,7 @@ declare const paginationContent: {
|
|
|
65
65
|
vi: string;
|
|
66
66
|
zh: string;
|
|
67
67
|
}, {
|
|
68
|
-
nodeType: "translation" |
|
|
68
|
+
nodeType: "translation" | _intlayer_types106.NodeType.Translation;
|
|
69
69
|
} & {
|
|
70
70
|
translation: {
|
|
71
71
|
ar: string;
|
|
@@ -87,7 +87,7 @@ declare const paginationContent: {
|
|
|
87
87
|
zh: string;
|
|
88
88
|
};
|
|
89
89
|
}>>;
|
|
90
|
-
selectPageSize:
|
|
90
|
+
selectPageSize: _intlayer_types106.TypedNodeModel<_intlayer_types106.NodeType.Translation, {
|
|
91
91
|
en: string;
|
|
92
92
|
fr: string;
|
|
93
93
|
es: string;
|
|
@@ -106,7 +106,7 @@ declare const paginationContent: {
|
|
|
106
106
|
id: string;
|
|
107
107
|
vi: string;
|
|
108
108
|
}, {
|
|
109
|
-
nodeType: "translation" |
|
|
109
|
+
nodeType: "translation" | _intlayer_types106.NodeType.Translation;
|
|
110
110
|
} & {
|
|
111
111
|
translation: {
|
|
112
112
|
en: string;
|
|
@@ -128,7 +128,7 @@ declare const paginationContent: {
|
|
|
128
128
|
vi: string;
|
|
129
129
|
};
|
|
130
130
|
}>;
|
|
131
|
-
goToNextPage:
|
|
131
|
+
goToNextPage: _intlayer_types106.TypedNodeModel<_intlayer_types106.NodeType.Translation, {
|
|
132
132
|
en: string;
|
|
133
133
|
fr: string;
|
|
134
134
|
es: string;
|
|
@@ -147,7 +147,7 @@ declare const paginationContent: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
vi: string;
|
|
149
149
|
}, {
|
|
150
|
-
nodeType: "translation" |
|
|
150
|
+
nodeType: "translation" | _intlayer_types106.NodeType.Translation;
|
|
151
151
|
} & {
|
|
152
152
|
translation: {
|
|
153
153
|
en: string;
|
|
@@ -169,7 +169,7 @@ declare const paginationContent: {
|
|
|
169
169
|
vi: string;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
|
-
goToPreviousPage:
|
|
172
|
+
goToPreviousPage: _intlayer_types106.TypedNodeModel<_intlayer_types106.NodeType.Translation, {
|
|
173
173
|
en: string;
|
|
174
174
|
fr: string;
|
|
175
175
|
es: string;
|
|
@@ -188,7 +188,7 @@ declare const paginationContent: {
|
|
|
188
188
|
id: string;
|
|
189
189
|
vi: string;
|
|
190
190
|
}, {
|
|
191
|
-
nodeType: "translation" |
|
|
191
|
+
nodeType: "translation" | _intlayer_types106.NodeType.Translation;
|
|
192
192
|
} & {
|
|
193
193
|
translation: {
|
|
194
194
|
en: string;
|
|
@@ -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
|
|
@@ -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_runtime7 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_runtime7.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,kBAAA,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
|
-
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_runtime10 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_runtime1 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>;
|
|
@@ -95,7 +95,7 @@ declare enum SwitchSelectorColor {
|
|
|
95
95
|
}
|
|
96
96
|
declare const switchSelectorVariant: (props?: {
|
|
97
97
|
color?: SwitchSelectorColor;
|
|
98
|
-
} &
|
|
98
|
+
} & class_variance_authority_types3.ClassProp) => string;
|
|
99
99
|
/**
|
|
100
100
|
* Size variants for the SwitchSelector component
|
|
101
101
|
*
|
|
@@ -111,7 +111,7 @@ declare enum SwitchSelectorSize {
|
|
|
111
111
|
}
|
|
112
112
|
declare const choiceVariant: (props?: {
|
|
113
113
|
size?: SwitchSelectorSize;
|
|
114
|
-
} &
|
|
114
|
+
} & class_variance_authority_types3.ClassProp) => string;
|
|
115
115
|
/**
|
|
116
116
|
* SwitchSelector - A versatile toggle component for multi-option selection
|
|
117
117
|
*
|
|
@@ -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_runtime10.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_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime8 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_types2.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_runtime8.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime8.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, 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
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime11 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_types5.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_runtime11.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,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types121 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_types121.TypedNodeModel<_intlayer_types121.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: "translation" |
|
|
26
|
+
nodeType: "translation" | _intlayer_types121.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,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC, 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
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_types7.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,+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_runtime12 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_runtime0 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_runtime12.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Toaster };
|
|
50
50
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.d.ts","names":[],"sources":["../../../../src/components/Toaster/Toaster.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAsDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa,eAAO,
|
|
1
|
+
{"version":3,"file":"Toaster.d.ts","names":[],"sources":["../../../../src/components/Toaster/Toaster.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAsDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa,eAAO,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4-canary.0",
|
|
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": "
|
|
99
|
-
"@intlayer/config": "
|
|
100
|
-
"@intlayer/core": "
|
|
101
|
-
"@intlayer/dictionaries-entry": "
|
|
102
|
-
"@intlayer/editor-react": "
|
|
103
|
-
"@intlayer/types": "
|
|
98
|
+
"@intlayer/api": "workspace:*",
|
|
99
|
+
"@intlayer/config": "workspace:*",
|
|
100
|
+
"@intlayer/core": "workspace:*",
|
|
101
|
+
"@intlayer/dictionaries-entry": "workspace:*",
|
|
102
|
+
"@intlayer/editor-react": "workspace:*",
|
|
103
|
+
"@intlayer/types": "workspace:*",
|
|
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": "
|
|
120
|
+
"intlayer": "workspace:*",
|
|
121
121
|
"react-hook-form": "7.65.0",
|
|
122
|
-
"react-intlayer": "
|
|
122
|
+
"react-intlayer": "workspace:*",
|
|
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": "
|
|
131
|
+
"@intlayer/backend": "workspace:*",
|
|
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": "
|
|
154
|
-
"@utils/ts-config-types": "
|
|
153
|
+
"@utils/ts-config": "workspace:*",
|
|
154
|
+
"@utils/ts-config-types": "workspace:*",
|
|
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": "
|
|
161
|
+
"vite-intlayer": "workspace:*",
|
|
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": "
|
|
168
|
-
"@intlayer/backend": "
|
|
169
|
-
"@intlayer/config": "
|
|
170
|
-
"@intlayer/core": "
|
|
171
|
-
"@intlayer/dictionaries-entry": "
|
|
172
|
-
"@intlayer/editor-react": "
|
|
173
|
-
"@intlayer/types": "
|
|
167
|
+
"@intlayer/api": "workspace:*",
|
|
168
|
+
"@intlayer/backend": "workspace:*",
|
|
169
|
+
"@intlayer/config": "workspace:*",
|
|
170
|
+
"@intlayer/core": "workspace:*",
|
|
171
|
+
"@intlayer/dictionaries-entry": "workspace:*",
|
|
172
|
+
"@intlayer/editor-react": "workspace:*",
|
|
173
|
+
"@intlayer/types": "workspace:*",
|
|
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": "
|
|
179
|
+
"intlayer": "workspace:*",
|
|
180
180
|
"react": ">=16.0.0",
|
|
181
181
|
"react-dom": ">=16.0.0",
|
|
182
|
-
"react-intlayer": "
|
|
182
|
+
"react-intlayer": "workspace:*",
|
|
183
183
|
"tailwind-merge": "3.3.1",
|
|
184
184
|
"zustand": "4.5.7"
|
|
185
185
|
}
|