@intlayer/design-system 7.3.14 → 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/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/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +6 -6
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +5 -5
- package/dist/types/components/Command/index.d.ts +20 -20
- package/dist/types/components/Container/index.d.ts +6 -6
- 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/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/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 +2 -2
- 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/MultiselectElement.d.ts.map +1 -1
- 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/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/code.content.d.ts.map +1 -1
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +4 -4
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +2 -2
- package/dist/types/components/Input/OTPInput.d.ts +7 -7
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +4 -4
- 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/Burger.d.ts.map +1 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +4 -4
- 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/RightDrawer/useRightDrawerStore.d.ts +2 -2
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SwitchSelector/index.d.ts +7 -7
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +3 -3
- 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 +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/package.json +14 -14
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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 react1 from "react";
|
|
2
2
|
import { DetailedHTMLProps, FC, HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Popover/static.d.ts
|
|
@@ -201,7 +201,7 @@ type DetailProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
201
201
|
* @param props - Popover Detail component props
|
|
202
202
|
* @returns Positioned popover content with animations and accessibility
|
|
203
203
|
*/
|
|
204
|
-
declare const Detail:
|
|
204
|
+
declare const Detail: react1.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
205
205
|
/** Whether the popover responds to focus events on the trigger */
|
|
206
206
|
isFocusable?: boolean;
|
|
207
207
|
/** Controls visibility state - undefined allows automatic hover/focus control */
|
|
@@ -216,7 +216,7 @@ declare const Detail: react4.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEle
|
|
|
216
216
|
yAlign?: PopoverYAlign | `${PopoverYAlign}`;
|
|
217
217
|
/** Whether to display the directional arrow indicator */
|
|
218
218
|
displayArrow?: boolean;
|
|
219
|
-
} &
|
|
219
|
+
} & react1.RefAttributes<HTMLDivElement>>;
|
|
220
220
|
//#endregion
|
|
221
221
|
export { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign };
|
|
222
222
|
//# sourceMappingURL=static.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as zustand1 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: zustand1.UseBoundStore<zustand1.StoreApi<RightDrawerStore>>;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { useRightDrawerStore };
|
|
116
116
|
//# sourceMappingURL=useRightDrawerStore.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react3 from "react";
|
|
2
2
|
import { ComponentProps, FC } from "react";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
|
|
@@ -16,8 +16,8 @@ declare enum SelectContentPosition {
|
|
|
16
16
|
ITEM_ALIGNED = "item-aligned",
|
|
17
17
|
}
|
|
18
18
|
declare const SelectRoot: FC<SelectPrimitive.SelectProps>;
|
|
19
|
-
declare const SelectGroup:
|
|
20
|
-
declare const SelectValue:
|
|
19
|
+
declare const SelectGroup: react3.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react3.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const SelectValue: react3.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react3.RefAttributes<HTMLSpanElement>>;
|
|
21
21
|
/**
|
|
22
22
|
* Select trigger button component that displays the current selection and opens the dropdown
|
|
23
23
|
*
|
|
@@ -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> = {
|
|
@@ -27,16 +27,16 @@ declare enum SwitchSelectorColor {
|
|
|
27
27
|
TEXT = "text",
|
|
28
28
|
}
|
|
29
29
|
declare const switchSelectorVariant: (props?: {
|
|
30
|
-
color?: "
|
|
31
|
-
} &
|
|
30
|
+
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
31
|
+
} & class_variance_authority_types6.ClassProp) => string;
|
|
32
32
|
declare enum SwitchSelectorSize {
|
|
33
33
|
SM = "sm",
|
|
34
34
|
MD = "md",
|
|
35
35
|
LG = "lg",
|
|
36
36
|
}
|
|
37
37
|
declare const choiceVariant: (props?: {
|
|
38
|
-
size?: "
|
|
39
|
-
} &
|
|
38
|
+
size?: "sm" | "md" | "lg";
|
|
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,
|
|
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,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,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
|
*/
|
|
@@ -2,7 +2,7 @@ import { ItemSelectorOrientation } from "../../hooks/useItemSelector.js";
|
|
|
2
2
|
import { HTMLAttributes, ReactElement } from "react";
|
|
3
3
|
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
8
8
|
declare enum TabSelectorColor {
|
|
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
|
|
|
15
15
|
TEXT = "text",
|
|
16
16
|
}
|
|
17
17
|
declare const tabSelectorVariant: (props?: {
|
|
18
|
-
color?: "text" | "primary" | "secondary" | "
|
|
18
|
+
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
|
|
19
19
|
} & class_variance_authority_types8.ClassProp) => string;
|
|
20
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
21
21
|
key: string | number;
|
|
@@ -54,7 +54,7 @@ declare const TabSelector: <T extends TabSelectorItemProps>({
|
|
|
54
54
|
hoverable,
|
|
55
55
|
orientation,
|
|
56
56
|
className
|
|
57
|
-
}: TabSelectorProps<T>) =>
|
|
57
|
+
}: TabSelectorProps<T>) => react_jsx_runtime18.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
|
|
60
60
|
//# sourceMappingURL=TabSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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?: "
|
|
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
|
|
|
@@ -26,7 +26,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
|
|
|
26
26
|
*/
|
|
27
27
|
declare const toastVariants: (props?: {
|
|
28
28
|
variant?: "default" | "error" | "success";
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types5.ClassProp) => string;
|
|
30
30
|
/**
|
|
31
31
|
* Toast Component
|
|
32
32
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Toaster/Toaster.d.ts
|
|
4
4
|
|
|
@@ -44,7 +44,7 @@ import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
|
44
44
|
*
|
|
45
45
|
* @returns JSX element rendering the toast viewport and active toasts
|
|
46
46
|
*/
|
|
47
|
-
declare const Toaster: () =>
|
|
47
|
+
declare const Toaster: () => react_jsx_runtime8.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Toaster };
|
|
50
50
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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,
|
|
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",
|
|
@@ -126,9 +126,9 @@
|
|
|
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",
|
|
@@ -172,22 +172,22 @@
|
|
|
172
172
|
"tsdown": "0.16.8",
|
|
173
173
|
"typescript": "5.9.3",
|
|
174
174
|
"vite": "7.2.7",
|
|
175
|
-
"vite-intlayer": "7.3.
|
|
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
|
},
|