@intlayer/design-system 7.4.0 → 7.5.0-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/esm/components/Avatar/index.mjs +17 -11
- package/dist/esm/components/Avatar/index.mjs.map +1 -1
- package/dist/esm/components/Button/Button.mjs +9 -8
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockClient.mjs +1 -1
- package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockShiki.mjs +1 -0
- package/dist/esm/components/IDE/CodeBlockShiki.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +130 -95
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/Link/index.mjs +2 -2
- package/dist/esm/components/index.mjs +2 -2
- package/dist/types/components/Avatar/index.d.ts.map +1 -1
- 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 +5 -5
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Container/index.d.ts +3 -3
- 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/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/elements/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/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/IDE/CodeBlockShiki.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 +2 -2
- package/dist/types/components/Input/Input.d.ts +2 -2
- 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 +23 -86
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/Link/index.d.ts +2 -2
- 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/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/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- 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/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +2 -2
- package/dist/types/components/Tab/Tab.d.ts +3 -3
- package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
- 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 +4 -4
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/hooks/useDevice.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types32 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_types32.TypedNodeModel<_intlayer_types32.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_types32.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_types32.TypedNodeModel<_intlayer_types32.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_types32.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_types32.TypedNodeModel<_intlayer_types32.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_types32.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_types32.TypedNodeModel<_intlayer_types32.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_types32.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_types32.TypedNodeModel<_intlayer_types32.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_types32.NodeType.Translation;
|
|
192
192
|
} & {
|
|
193
193
|
translation: {
|
|
194
194
|
en: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react16 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: react16.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: react17.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEl
|
|
|
216
216
|
yAlign?: PopoverYAlign | `${PopoverYAlign}`;
|
|
217
217
|
/** Whether to display the directional arrow indicator */
|
|
218
218
|
displayArrow?: boolean;
|
|
219
|
-
} &
|
|
219
|
+
} & react16.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 react18 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: react18.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react18.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const SelectValue: react18.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react18.RefAttributes<HTMLSpanElement>>;
|
|
21
21
|
/**
|
|
22
22
|
* Select trigger button component that displays the current selection and opens the dropdown
|
|
23
23
|
*
|
|
@@ -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_runtime9 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_runtime9.JSX.Element;
|
|
16
16
|
label: string;
|
|
17
17
|
}[];
|
|
18
18
|
type SocialNetworksProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
2
|
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SwitchSelector/index.d.ts
|
|
7
7
|
type SwitchSelectorChoice<T = boolean> = {
|
|
@@ -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_runtime5.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
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_runtime6 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Tab/Tab.d.ts
|
|
7
7
|
declare const tabContainerVariant: (props?: {
|
|
@@ -25,12 +25,12 @@ declare const Tab: (({
|
|
|
25
25
|
children,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: TabProps) =>
|
|
28
|
+
}: TabProps) => react_jsx_runtime6.JSX.Element) & {
|
|
29
29
|
Item: {
|
|
30
30
|
({
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
33
|
+
}: TabItemProps): react_jsx_runtime6.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ItemSelectorOrientation } from "../../hooks/useItemSelector.js";
|
|
2
2
|
import { HTMLAttributes, ReactElement } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
8
8
|
declare enum TabSelectorColor {
|
|
@@ -16,7 +16,7 @@ declare enum TabSelectorColor {
|
|
|
16
16
|
}
|
|
17
17
|
declare const tabSelectorVariant: (props?: {
|
|
18
18
|
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
19
|
-
} &
|
|
19
|
+
} & class_variance_authority_types12.ClassProp) => string;
|
|
20
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
21
21
|
key: string | number;
|
|
22
22
|
};
|
|
@@ -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_runtime13.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,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA;CACU,GAhCjB
|
|
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,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA;CACU,GAhCjB,gCAAA,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_types29 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_types29.TypedNodeModel<_intlayer_types29.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_types29.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,kCA2BgB,yCAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types10 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" | "
|
|
188
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "full" | "3xl";
|
|
189
189
|
color?: "neutral" | "text" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
-
size?: "
|
|
190
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
|
-
} &
|
|
193
|
+
} & class_variance_authority_types10.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_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
|
|
|
@@ -26,7 +26,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
|
|
|
26
26
|
*/
|
|
27
27
|
declare const toastVariants: (props?: {
|
|
28
28
|
variant?: "error" | "success" | "default";
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types11.ClassProp) => string;
|
|
30
30
|
/**
|
|
31
31
|
* Toast Component
|
|
32
32
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 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_runtime5 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_runtime11.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"}
|
|
@@ -4,7 +4,7 @@ import { Accordion, AccordionProps } from "./Accordion/Accordion.js";
|
|
|
4
4
|
import "./Accordion/index.js";
|
|
5
5
|
import { Avatar, AvatarProps, getCapitals } from "./Avatar/index.js";
|
|
6
6
|
import { Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, badgeVariants } from "./Badge/index.js";
|
|
7
|
-
import { Link, LinkColor, LinkProps, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link/Link.js";
|
|
7
|
+
import { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link/Link.js";
|
|
8
8
|
import "./Link/index.js";
|
|
9
9
|
import { Breadcrumb, BreadcrumbLink, BreadcrumbProps } from "./Breadcrumb/index.js";
|
|
10
10
|
import { Browser, BrowserProps } from "./Browser/Browser.js";
|
|
@@ -124,4 +124,4 @@ import { Toaster } from "./Toaster/Toaster.js";
|
|
|
124
124
|
import { reducer, toast, useToast } from "./Toaster/useToast.js";
|
|
125
125
|
import "./Toaster/index.js";
|
|
126
126
|
import { WithResizer } from "./WithResizer/index.js";
|
|
127
|
-
export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, Footer, FooterLink, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeadingProps, HeightResizer, HideShow, HideShowProps, IDE, IDEProps, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, LabelProps, Link, LinkColor, LinkGroup, LinkProps, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, OTPInput, OTPInputContext, OTPInputProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RenderProps, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SlotProps, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Terminal, TerminalProps, TextArea, TextAreaProps, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, TriggerProps, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, buttonVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputSlotVariants, inputVariants, linkVariants, paginationVariants, reducer, toast, useCopyToClipboard, useDebounce, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawerStore, useToast, useVersionSwitcher };
|
|
127
|
+
export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, Footer, FooterLink, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeadingProps, HeightResizer, HideShow, HideShowProps, IDE, IDEProps, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, LabelProps, Link, LinkColor, LinkGroup, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, OTPInput, OTPInputContext, OTPInputProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RenderProps, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SlotProps, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Terminal, TerminalProps, TextArea, TextAreaProps, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, TriggerProps, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, buttonVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputSlotVariants, inputVariants, linkVariants, paginationVariants, reducer, toast, useCopyToClipboard, useDebounce, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawerStore, useToast, useVersionSwitcher };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDevice.d.ts","names":[],"sources":["../../../src/hooks/useDevice.ts"],"sourcesContent":[],"mappings":";KAIY,QAAA;AAAA,cAEC,qBAFO,EAAA,CAAA,UAAA,EAE8B,QAF9B,GAAA,MAAA,EAAA,GAAA,MAAA;AAEP,cAmBA,sBAnBqC,EAAA,GAAA,
|
|
1
|
+
{"version":3,"file":"useDevice.d.ts","names":[],"sources":["../../../src/hooks/useDevice.ts"],"sourcesContent":[],"mappings":";KAIY,QAAA;AAAA,cAEC,qBAFO,EAAA,CAAA,UAAA,EAE8B,QAF9B,GAAA,MAAA,EAAA,GAAA,MAAA;AAEP,cAmBA,sBAnBqC,EAAA,GAAQ,GAAA,OAAA,GAAA,SAAA;AAmB7C,cAYA,2BAFZ,EAAA,GAAA,GAAA,OAAA,GAAA,SAAA;AAEY,cAgBA,UAhBA,EAAA,GAcZ,GAAA,OAAA,GAAA,SAAA;AAEY,cAWA,UAFZ,EAAA,GAAA,GAAA,OAAA,GAAA,SAAA;AAEY,cAWA,mBAFZ,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,GAAA,OAAA,GAAA,SAAA;AAED,KAQK,cAAA,GARQ;EAQR,cAAA,EAAA,OAAc,GAAA,SAAA;EAQN,iBAAA,EAAA,OAgBZ,GAAA,SAhB6C;EAkBjC,QAAA,EAAA,OAiBZ,GAAA,SAjBqC;;;;cAlBzB,iCAAiC;;;;;;;cAkBjC,yBAAyB,sBAAwB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0-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": [
|
|
@@ -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.
|
|
109
|
-
"@intlayer/config": "7.
|
|
110
|
-
"@intlayer/core": "7.
|
|
111
|
-
"@intlayer/dictionaries-entry": "7.
|
|
112
|
-
"@intlayer/editor-react": "7.
|
|
113
|
-
"@intlayer/types": "7.
|
|
108
|
+
"@intlayer/api": "7.5.0-canary.0",
|
|
109
|
+
"@intlayer/config": "7.5.0-canary.0",
|
|
110
|
+
"@intlayer/core": "7.5.0-canary.0",
|
|
111
|
+
"@intlayer/dictionaries-entry": "7.5.0-canary.0",
|
|
112
|
+
"@intlayer/editor-react": "7.5.0-canary.0",
|
|
113
|
+
"@intlayer/types": "7.5.0-canary.0",
|
|
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.
|
|
129
|
+
"intlayer": "7.5.0-canary.0",
|
|
130
130
|
"react-hook-form": "7.66.0",
|
|
131
|
-
"react-intlayer": "7.
|
|
131
|
+
"react-intlayer": "7.5.0-canary.0",
|
|
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.
|
|
139
|
+
"@intlayer/backend": "7.5.0-canary.0",
|
|
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.
|
|
175
|
+
"vite-intlayer": "7.5.0-canary.0",
|
|
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.
|
|
181
|
+
"@intlayer/backend": "7.5.0-canary.0",
|
|
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.
|
|
187
|
+
"intlayer": "7.5.0-canary.0",
|
|
188
188
|
"react": ">=16.0.0",
|
|
189
189
|
"react-dom": ">=16.0.0",
|
|
190
|
-
"react-intlayer": "7.
|
|
190
|
+
"react-intlayer": "7.5.0-canary.0",
|
|
191
191
|
"tailwind-merge": "3.4.0",
|
|
192
192
|
"zustand": "4.5.7"
|
|
193
193
|
},
|