@intlayer/design-system 7.4.0 → 7.5.0-canary.1
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 +11 -28
- package/dist/esm/components/Avatar/index.mjs.map +1 -1
- package/dist/esm/components/Badge/index.mjs +1 -1
- package/dist/esm/components/Badge/index.mjs.map +1 -1
- package/dist/esm/components/Breadcrumb/index.mjs +1 -0
- package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/esm/components/Button/Button.mjs +20 -15
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/Container/index.mjs +7 -4
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -4
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/esm/components/DropDown/index.mjs +6 -2
- package/dist/esm/components/DropDown/index.mjs.map +1 -1
- package/dist/esm/components/Form/elements/CheckboxElement.mjs +8 -4
- package/dist/esm/components/Form/elements/CheckboxElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/OTPElement.mjs +1 -5
- package/dist/esm/components/Form/elements/OTPElement.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/Input/Input.mjs.map +1 -1
- package/dist/esm/components/Input/OTPInput.mjs +1 -2
- package/dist/esm/components/Input/OTPInput.mjs.map +1 -1
- package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs +225 -0
- package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs.map +1 -0
- package/dist/esm/components/KeyboardShortcut/index.mjs +3 -0
- package/dist/esm/components/Link/Link.mjs +123 -93
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/Link/index.mjs +2 -2
- package/dist/esm/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/esm/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +83 -43
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/Popover/static.mjs +3 -6
- package/dist/esm/components/Popover/static.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/index.mjs +2 -2
- package/dist/esm/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/esm/components/Tag/index.mjs +2 -2
- package/dist/esm/components/Tag/index.mjs.map +1 -1
- package/dist/esm/components/Terminal/Terminal.mjs +4 -1
- package/dist/esm/components/Terminal/Terminal.mjs.map +1 -1
- package/dist/esm/components/Terminal/terminal.content.mjs +51 -0
- package/dist/esm/components/Terminal/terminal.content.mjs.map +1 -0
- package/dist/esm/components/index.mjs +3 -2
- package/dist/esm/hooks/index.mjs +2 -2
- package/dist/esm/hooks/reactQuery.mjs +8 -1
- package/dist/esm/hooks/reactQuery.mjs.map +1 -1
- package/dist/esm/hooks/useItemSelector.mjs +51 -28
- package/dist/esm/hooks/useItemSelector.mjs.map +1 -1
- package/dist/esm/libs/auth.mjs +9 -3
- package/dist/esm/libs/auth.mjs.map +1 -1
- package/dist/types/components/Avatar/index.d.ts.map +1 -1
- package/dist/types/components/Badge/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/Breadcrumb/index.d.ts.map +1 -1
- 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/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +17 -17
- package/dist/types/components/Command/index.d.ts.map +1 -1
- package/dist/types/components/Container/index.d.ts +10 -8
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
- package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- 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/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- 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/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/CheckboxElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- 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/FileTree.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/code.content.d.ts.map +1 -1
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +7 -9
- 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/KeyboardShortcut/KeyboardShortcut.d.ts +90 -0
- package/dist/types/components/KeyboardShortcut/KeyboardShortcut.d.ts.map +1 -0
- package/dist/types/components/KeyboardShortcut/index.d.ts +2 -0
- package/dist/types/components/Link/Link.d.ts +25 -88
- 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/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/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +3 -3
- 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/Popover/static.d.ts +1 -17
- package/dist/types/components/Popover/static.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/index.d.ts +5 -5
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +6 -6
- package/dist/types/components/Tab/Tab.d.ts.map +1 -1
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Terminal/Terminal.d.ts.map +1 -1
- package/dist/types/components/Terminal/terminal.content.d.ts +93 -0
- package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -0
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- 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/components/index.d.ts +4 -2
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +2 -1
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/libs/auth.d.ts +1 -0
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +40 -34
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ButtonProps } from "../Button/Button.js";
|
|
2
2
|
import "../Button/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
import { ComponentProps, FC, InputHTMLAttributes, ReactNode, RefObject } from "react";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
6
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/Input/OTPInput.d.ts
|
|
9
9
|
type SlotProps = {
|
|
@@ -54,25 +54,23 @@ declare const usePasswordManagerBadge: ({
|
|
|
54
54
|
PWM_BADGE_SPACE_WIDTH: "40px";
|
|
55
55
|
};
|
|
56
56
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
57
|
-
declare const OTPInputContext:
|
|
57
|
+
declare const OTPInputContext: react0.Context<RenderProps>;
|
|
58
58
|
declare const OTPInput: FC<OTPInputProps>;
|
|
59
59
|
type InputOTPProps = Omit<ComponentProps<typeof OTPInput>, 'children'>;
|
|
60
60
|
declare const inputSlotVariants: (props?: {
|
|
61
61
|
size?: "sm" | "md" | "lg" | "xl";
|
|
62
|
-
} &
|
|
62
|
+
} & class_variance_authority_types4.ClassProp) => string;
|
|
63
63
|
declare const InputOTP: FC<InputOTPProps>;
|
|
64
64
|
declare const InputOTPGroup: ({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: ComponentProps<"div">) =>
|
|
67
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
68
68
|
type InputOTPSlotProps = Omit<ButtonProps, 'variant' | 'label'> & {
|
|
69
69
|
index: number;
|
|
70
70
|
};
|
|
71
71
|
declare const InputOTPSlot: FC<InputOTPSlotProps>;
|
|
72
72
|
declare const InputOTPSeparator: FC<ComponentProps<'div'>>;
|
|
73
|
-
declare const InputIndicator: FC<ComponentProps<'div'
|
|
74
|
-
ref: RefObject<HTMLDivElement | null>;
|
|
75
|
-
}>;
|
|
73
|
+
declare const InputIndicator: FC<ComponentProps<'div'>>;
|
|
76
74
|
//#endregion
|
|
77
75
|
export { InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, OTPInput, OTPInputContext, OTPInputProps, RenderProps, SlotProps, inputSlotVariants, usePasswordManagerBadge, usePrevious };
|
|
78
76
|
//# sourceMappingURL=OTPInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPInput.d.ts","names":[],"sources":["../../../../src/components/Input/OTPInput.tsx"],"sourcesContent":[],"mappings":";;;;;;;;KAsFY,SAAA;;;;;;AAAA,KAOA,WAAA,GAPS;EAOT,KAAA,EACH,SADc,EAAA;EAOlB,SAAA,EAAA,OAAa;EAAc,UAAA,EAAA,OAAA;EAAS,YAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;CAAd;KAAtB,aAAyC,CAAA,CAAA,EAAA,CAAA,CAAA,GAAnB,IAAmB,CAAd,CAAc,EAAA,MAAL,CAAK,CAAA,GAAA,CAAA;KAEzC,iBAAA,GAAoB,aAFsB,CAG7C,mBAH6C,CAGzB,gBAHyB,CAAA,EAAA;EAE1C,KAAA,CAAA,EAAA,MAAA;EACiB,QAAA,CAAA,EAAA,CAAA,QAAA,EAAA,MAAA,EAAA,GAAA,OAAA;EAApB,SAAA,EAAA,MAAA;EADuB,UAAA,CAAA,EAAA,CAAA,GAAA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
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Input/SearchInput.d.ts
|
|
5
5
|
declare const SearchInput: ({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: InputProps) =>
|
|
8
|
+
}: InputProps) => react_jsx_runtime0.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SearchInput };
|
|
11
11
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/KeyboardShortcut/KeyboardShortcut.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Enum for available keyboard keys
|
|
7
|
+
*/
|
|
8
|
+
declare enum KeyList {
|
|
9
|
+
'⌘' = "\u2318",
|
|
10
|
+
Ctrl = "Ctrl",
|
|
11
|
+
Alt = "Alt",
|
|
12
|
+
'⌥' = "\u2325",
|
|
13
|
+
Shift = "Shift",
|
|
14
|
+
Meta = "Meta",
|
|
15
|
+
F = "F",
|
|
16
|
+
K = "K",
|
|
17
|
+
L = "L",
|
|
18
|
+
P = "P",
|
|
19
|
+
S = "S",
|
|
20
|
+
A = "A",
|
|
21
|
+
B = "B",
|
|
22
|
+
C = "C",
|
|
23
|
+
D = "D",
|
|
24
|
+
E = "E",
|
|
25
|
+
G = "G",
|
|
26
|
+
H = "H",
|
|
27
|
+
I = "I",
|
|
28
|
+
J = "J",
|
|
29
|
+
M = "M",
|
|
30
|
+
N = "N",
|
|
31
|
+
O = "O",
|
|
32
|
+
Q = "Q",
|
|
33
|
+
R = "R",
|
|
34
|
+
T = "T",
|
|
35
|
+
U = "U",
|
|
36
|
+
V = "V",
|
|
37
|
+
W = "W",
|
|
38
|
+
X = "X",
|
|
39
|
+
Y = "Y",
|
|
40
|
+
Z = "Z",
|
|
41
|
+
Enter = "Enter",
|
|
42
|
+
Escape = "Escape",
|
|
43
|
+
Backspace = "Backspace",
|
|
44
|
+
Tab = "Tab",
|
|
45
|
+
Space = "Space",
|
|
46
|
+
ArrowUp = "ArrowUp",
|
|
47
|
+
ArrowDown = "ArrowDown",
|
|
48
|
+
ArrowLeft = "ArrowLeft",
|
|
49
|
+
ArrowRight = "ArrowRight",
|
|
50
|
+
'↑' = "\u2191",
|
|
51
|
+
'↓' = "\u2193",
|
|
52
|
+
'←' = "\u2190",
|
|
53
|
+
'→' = "\u2192",
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Type-safe keyboard shortcut combinations
|
|
57
|
+
* Note: Using string type to avoid union type complexity issues
|
|
58
|
+
* Expected format: "Key + Key" (e.g., "⌘ + F", "Ctrl + Shift + K")
|
|
59
|
+
*/
|
|
60
|
+
type KeyboardShortcutType = string;
|
|
61
|
+
type KeyboardShortcutProps = {
|
|
62
|
+
/** The keyboard shortcut combination (e.g., "⌘ + F" or "Ctrl + K") */
|
|
63
|
+
shortcut: KeyboardShortcutType;
|
|
64
|
+
/** Callback function triggered when the shortcut is pressed */
|
|
65
|
+
onTriggered?: () => void;
|
|
66
|
+
/** Whether to display the shortcut visually (default: true) */
|
|
67
|
+
display?: boolean;
|
|
68
|
+
/** Additional CSS classes */
|
|
69
|
+
className?: string;
|
|
70
|
+
/** Size of the keyboard shortcut display */
|
|
71
|
+
size?: 'sm' | 'md' | 'lg';
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* KeyboardShortcut Component
|
|
75
|
+
*
|
|
76
|
+
* A reusable component that displays keyboard shortcuts and listens for key combinations.
|
|
77
|
+
* Automatically adapts to Mac (⌘, ⌥) and Windows/Linux (Ctrl, Alt) conventions.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```tsx
|
|
81
|
+
* <KeyboardShortcut
|
|
82
|
+
* shortcut="⌘ + F"
|
|
83
|
+
* onTriggered={() => setShowSearch(true)}
|
|
84
|
+
* />
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
88
|
+
//#endregion
|
|
89
|
+
export { KeyList, KeyboardShortcut, KeyboardShortcutProps, KeyboardShortcutType };
|
|
90
|
+
//# sourceMappingURL=KeyboardShortcut.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardShortcut.d.ts","names":[],"sources":["../../../../src/components/KeyboardShortcut/KeyboardShortcut.tsx"],"sourcesContent":[],"mappings":";;;;;;AASA;AAqDY,aArDA,OAAA;EAuDA,GAAA,GAAA,QAAA;EA6IC,IAAA,GAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA/ID,oBAAA;KAEA,qBAAA;;YAEA;;;;;;;;;;;;;;;;;;;;;;;;cA2IC,kBAAkB,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, DetailedHTMLProps, FC } 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 { LocalesValues } from "@intlayer/types";
|
|
5
5
|
|
|
@@ -51,6 +51,24 @@ declare enum LinkColor {
|
|
|
51
51
|
/** Custom color - no default styling applied */
|
|
52
52
|
CUSTOM = "custom",
|
|
53
53
|
}
|
|
54
|
+
/** Available rounded corner sizes for the container */
|
|
55
|
+
declare enum LinkRoundedSize {
|
|
56
|
+
NONE = "none",
|
|
57
|
+
SM = "sm",
|
|
58
|
+
MD = "md",
|
|
59
|
+
LG = "lg",
|
|
60
|
+
XL = "xl",
|
|
61
|
+
TWO_XL = "2xl",
|
|
62
|
+
THREE_XL = "3xl",
|
|
63
|
+
FULL = "full",
|
|
64
|
+
}
|
|
65
|
+
declare enum LinkSize {
|
|
66
|
+
SM = "sm",
|
|
67
|
+
MD = "md",
|
|
68
|
+
LG = "lg",
|
|
69
|
+
XL = "xl",
|
|
70
|
+
CUSTOM = "custom",
|
|
71
|
+
}
|
|
54
72
|
/**
|
|
55
73
|
* Underline style options for Link component
|
|
56
74
|
*
|
|
@@ -70,9 +88,11 @@ declare enum LinkUnderlined {
|
|
|
70
88
|
*/
|
|
71
89
|
declare const linkVariants: (props?: {
|
|
72
90
|
variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
|
|
91
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "full";
|
|
73
92
|
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "error" | "success" | "custom";
|
|
93
|
+
size?: "sm" | "md" | "lg" | "xl" | "custom";
|
|
74
94
|
underlined?: boolean | LinkUnderlined.DEFAULT;
|
|
75
|
-
} &
|
|
95
|
+
} & class_variance_authority_types5.ClassProp) => string;
|
|
76
96
|
/**
|
|
77
97
|
* Props interface for the Link component
|
|
78
98
|
*
|
|
@@ -120,7 +140,7 @@ type LinkProps = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTML
|
|
|
120
140
|
*
|
|
121
141
|
* @example
|
|
122
142
|
* ```tsx
|
|
123
|
-
* checkIsExternalLink({ href: 'https://example.com' }) // true
|
|
143
|
+
* checkIsExternalLink({ href: '[https://example.com](https://example.com)' }) // true
|
|
124
144
|
* checkIsExternalLink({ href: '/internal-page' }) // false
|
|
125
145
|
* checkIsExternalLink({ href: '/page', isExternalLink: true }) // true
|
|
126
146
|
* ```
|
|
@@ -134,92 +154,9 @@ declare const checkIsExternalLink: ({
|
|
|
134
154
|
*
|
|
135
155
|
* A versatile link component that handles both internal and external navigation
|
|
136
156
|
* with comprehensive internationalization support and multiple visual variants.
|
|
137
|
-
*
|
|
138
|
-
* ## Key Features
|
|
139
|
-
* - **Multiple Variants**: Default, invisible, button, outlined button, and hoverable styles
|
|
140
|
-
* - **Color Themes**: Comprehensive color palette for different contexts and meanings
|
|
141
|
-
* - **External Link Detection**: Automatic detection and handling of external URLs
|
|
142
|
-
* - **Internationalization**: Built-in support for localized URLs via Intlayer
|
|
143
|
-
* - **Security**: Automatic security attributes for external links (noopener, noreferrer)
|
|
144
|
-
* - **Accessibility**: Full ARIA support with proper labels and current page indication
|
|
145
|
-
* - **Visual Feedback**: Hover effects, underline options, and active states
|
|
146
|
-
*
|
|
147
|
-
* ## Use Cases
|
|
148
|
-
* - Navigation within applications (internal links)
|
|
149
|
-
* - External links to other websites with security measures
|
|
150
|
-
* - Button-styled links for call-to-action scenarios
|
|
151
|
-
* - Subtle hoverable links for navigation menus
|
|
152
|
-
* - Multi-language website navigation with automatic URL localization
|
|
153
|
-
*
|
|
154
|
-
* ## Security Features
|
|
155
|
-
* External links automatically receive security attributes:
|
|
156
|
-
* - `rel="noopener noreferrer nofollow"` - Prevents security vulnerabilities
|
|
157
|
-
* - `target="_blank"` - Opens in new tab/window
|
|
158
|
-
* - External link icon indication for user clarity
|
|
159
|
-
*
|
|
160
|
-
* ## Internationalization
|
|
161
|
-
* When used with Intlayer, the component automatically:
|
|
162
|
-
* - Localizes internal URLs based on the current or specified locale
|
|
163
|
-
* - Sets appropriate `hrefLang` attributes for SEO
|
|
164
|
-
* - Maintains proper URL structure for multi-language sites
|
|
165
|
-
*
|
|
166
|
-
* @component
|
|
167
|
-
* @example
|
|
168
|
-
* ```tsx
|
|
169
|
-
* // Basic internal link
|
|
170
|
-
* <Link href="/about" label="Go to about page">
|
|
171
|
-
* About Us
|
|
172
|
-
* </Link>
|
|
173
|
-
*
|
|
174
|
-
* // External link with auto-detection
|
|
175
|
-
* <Link href="https://example.com" label="Visit external site">
|
|
176
|
-
* External Site
|
|
177
|
-
* </Link>
|
|
178
|
-
*
|
|
179
|
-
* // Button-styled link
|
|
180
|
-
* <Link
|
|
181
|
-
* href="/signup"
|
|
182
|
-
* variant={LinkVariant.BUTTON}
|
|
183
|
-
* color={LinkColor.PRIMARY}
|
|
184
|
-
* label="Sign up for account"
|
|
185
|
-
* >
|
|
186
|
-
* Get Started
|
|
187
|
-
* </Link>
|
|
188
|
-
*
|
|
189
|
-
* // Localized link
|
|
190
|
-
* <Link
|
|
191
|
-
* href="/products"
|
|
192
|
-
* locale="fr"
|
|
193
|
-
* label="Voir les produits"
|
|
194
|
-
* >
|
|
195
|
-
* Produits
|
|
196
|
-
* </Link>
|
|
197
|
-
*
|
|
198
|
-
* // Active navigation link
|
|
199
|
-
* <Link
|
|
200
|
-
* href="/dashboard"
|
|
201
|
-
* isActive={true}
|
|
202
|
-
* variant={LinkVariant.HOVERABLE}
|
|
203
|
-
* label="Current page: Dashboard"
|
|
204
|
-
* >
|
|
205
|
-
* Dashboard
|
|
206
|
-
* </Link>
|
|
207
|
-
* ```
|
|
208
|
-
*
|
|
209
|
-
* @param props - Link component props
|
|
210
|
-
* @param props.children - Content to display inside the link
|
|
211
|
-
* @param props.href - URL or path to navigate to
|
|
212
|
-
* @param props.label - Accessible label describing the link's purpose
|
|
213
|
-
* @param props.variant - Visual style variant
|
|
214
|
-
* @param props.color - Color theme for the link
|
|
215
|
-
* @param props.underlined - Underline visibility option
|
|
216
|
-
* @param props.isExternalLink - Override external link detection
|
|
217
|
-
* @param props.isActive - Whether this link represents the current page
|
|
218
|
-
* @param props.locale - Locale for URL internationalization
|
|
219
|
-
* @param props.className - Additional CSS classes
|
|
220
|
-
* @returns Accessible and internationalized link component
|
|
157
|
+
* ...
|
|
221
158
|
*/
|
|
222
159
|
declare const Link: FC<LinkProps>;
|
|
223
160
|
//#endregion
|
|
224
|
-
export { Link, LinkColor, LinkProps, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
161
|
+
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
225
162
|
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAYA;AAkBA;
|
|
1
|
+
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAYA;AAkBA;AA0BY,aA5CA,WAAA;EAuDA;EAaA,OAAA,GAAA,SAAc;EAab;EA0JD,cAAS,GAAA,gBAAA;EACE;EAArB,MAAA,GAAA,QAAA;EACA;EAFsB,eAAA,GAAA,iBAAA;EAIF;EAApB,SAAA,GAAA,WAAA;;;AAkDF;;;;AAGY,aAlRA,SAAA;EAoSC;;;;;;;;;;;;;;;;;;;;;;;;aA1QD,eAAA;;;;;;;;;;aAWA,QAAA;;;;;;;;;;;;aAaA,cAAA;;;;;;;;;;;;cAaC;;;;;yBAiJZ,cAAA,CAAA;IAAA,+BAAA,CAAA;;;;;;;;KASW,SAAA,GAAY,kBACtB,qBAAqB,oBACrB,qBAEA,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCT;;;;;;;;;;;;;;;cAgBA;;kBAAuB;GAGjC;;;;;;;;cAkBU,MAAM,GAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Link, LinkColor, LinkProps, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link.js";
|
|
2
|
-
export { Link, LinkColor, LinkProps, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
1
|
+
import { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link.js";
|
|
2
|
+
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types26 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Loader/index.content.d.ts
|
|
4
4
|
declare const loaderContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
label:
|
|
7
|
+
label: _intlayer_types26.TypedNodeModel<_intlayer_types26.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
fr: string;
|
|
@@ -23,7 +23,7 @@ declare const loaderContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType:
|
|
26
|
+
nodeType: _intlayer_types26.NodeType.Translation | "translation";
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,
|
|
1
|
+
{"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,kCA2BS,yCAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SVGProps } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Loader/spinner.d.ts
|
|
5
5
|
/**
|
|
@@ -64,7 +64,7 @@ type SpinnerProps = SVGProps<SVGSVGElement> & {
|
|
|
64
64
|
declare const Spinner: ({
|
|
65
65
|
className,
|
|
66
66
|
strokeWidth
|
|
67
|
-
}: SpinnerProps) =>
|
|
67
|
+
}: SpinnerProps) => react_jsx_runtime2.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { Spinner };
|
|
70
70
|
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAAsC,KAMjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAAsC,KAMjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,GAAT;EAyDP;EAAW,WAAA,CAAA,EAAA,MAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAX;;;GAA2C,iBAAY,kBAAA,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/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts
|
|
4
4
|
declare const localeSwitcherContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
localeSwitcherLabel:
|
|
7
|
+
localeSwitcherLabel: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
fr: string;
|
|
@@ -23,7 +23,7 @@ declare const localeSwitcherContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType:
|
|
26
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -45,7 +45,7 @@ declare const localeSwitcherContent: {
|
|
|
45
45
|
vi: string;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
languageListLabel:
|
|
48
|
+
languageListLabel: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
49
49
|
en: string;
|
|
50
50
|
'en-GB': string;
|
|
51
51
|
fr: string;
|
|
@@ -64,7 +64,7 @@ declare const localeSwitcherContent: {
|
|
|
64
64
|
id: string;
|
|
65
65
|
vi: string;
|
|
66
66
|
}, {
|
|
67
|
-
nodeType:
|
|
67
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
68
68
|
} & {
|
|
69
69
|
translation: {
|
|
70
70
|
en: string;
|
|
@@ -86,7 +86,7 @@ declare const localeSwitcherContent: {
|
|
|
86
86
|
vi: string;
|
|
87
87
|
};
|
|
88
88
|
}>;
|
|
89
|
-
switchTo:
|
|
89
|
+
switchTo: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
90
90
|
en: string;
|
|
91
91
|
fr: string;
|
|
92
92
|
es: string;
|
|
@@ -105,7 +105,7 @@ declare const localeSwitcherContent: {
|
|
|
105
105
|
id: string;
|
|
106
106
|
vi: string;
|
|
107
107
|
}, {
|
|
108
|
-
nodeType:
|
|
108
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
109
109
|
} & {
|
|
110
110
|
translation: {
|
|
111
111
|
en: string;
|
|
@@ -128,7 +128,7 @@ declare const localeSwitcherContent: {
|
|
|
128
128
|
};
|
|
129
129
|
}>;
|
|
130
130
|
searchInput: {
|
|
131
|
-
text:
|
|
131
|
+
text: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
132
132
|
en: string;
|
|
133
133
|
'en-GB': string;
|
|
134
134
|
fr: string;
|
|
@@ -147,7 +147,7 @@ declare const localeSwitcherContent: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
vi: string;
|
|
149
149
|
}, {
|
|
150
|
-
nodeType:
|
|
150
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
151
151
|
} & {
|
|
152
152
|
translation: {
|
|
153
153
|
en: string;
|
|
@@ -169,7 +169,7 @@ declare const localeSwitcherContent: {
|
|
|
169
169
|
vi: string;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
|
-
placeholder:
|
|
172
|
+
placeholder: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
173
173
|
en: string;
|
|
174
174
|
'en-GB': string;
|
|
175
175
|
fr: string;
|
|
@@ -188,7 +188,7 @@ declare const localeSwitcherContent: {
|
|
|
188
188
|
id: string;
|
|
189
189
|
vi: string;
|
|
190
190
|
}, {
|
|
191
|
-
nodeType:
|
|
191
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
192
192
|
} & {
|
|
193
193
|
translation: {
|
|
194
194
|
en: string;
|
|
@@ -210,7 +210,7 @@ declare const localeSwitcherContent: {
|
|
|
210
210
|
vi: string;
|
|
211
211
|
};
|
|
212
212
|
}>;
|
|
213
|
-
ariaLabel:
|
|
213
|
+
ariaLabel: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
214
214
|
en: string;
|
|
215
215
|
'en-GB': string;
|
|
216
216
|
fr: string;
|
|
@@ -229,7 +229,7 @@ declare const localeSwitcherContent: {
|
|
|
229
229
|
id: string;
|
|
230
230
|
vi: string;
|
|
231
231
|
}, {
|
|
232
|
-
nodeType:
|
|
232
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
233
233
|
} & {
|
|
234
234
|
translation: {
|
|
235
235
|
en: string;
|
|
@@ -253,7 +253,7 @@ declare const localeSwitcherContent: {
|
|
|
253
253
|
}>;
|
|
254
254
|
};
|
|
255
255
|
seeAllLocalesSwitch: {
|
|
256
|
-
true:
|
|
256
|
+
true: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
257
257
|
en: string;
|
|
258
258
|
'en-GB': string;
|
|
259
259
|
fr: string;
|
|
@@ -272,7 +272,7 @@ declare const localeSwitcherContent: {
|
|
|
272
272
|
id: string;
|
|
273
273
|
vi: string;
|
|
274
274
|
}, {
|
|
275
|
-
nodeType:
|
|
275
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
276
276
|
} & {
|
|
277
277
|
translation: {
|
|
278
278
|
en: string;
|
|
@@ -294,7 +294,7 @@ declare const localeSwitcherContent: {
|
|
|
294
294
|
vi: string;
|
|
295
295
|
};
|
|
296
296
|
}>;
|
|
297
|
-
false:
|
|
297
|
+
false: _intlayer_types29.TypedNodeModel<_intlayer_types29.NodeType.Translation, {
|
|
298
298
|
en: string;
|
|
299
299
|
'en-GB': string;
|
|
300
300
|
fr: string;
|
|
@@ -313,7 +313,7 @@ declare const localeSwitcherContent: {
|
|
|
313
313
|
id: string;
|
|
314
314
|
vi: string;
|
|
315
315
|
}, {
|
|
316
|
-
nodeType:
|
|
316
|
+
nodeType: _intlayer_types29.NodeType.Translation | "translation";
|
|
317
317
|
} & {
|
|
318
318
|
translation: {
|
|
319
319
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,
|
|
1
|
+
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,kCAoKgB,yCAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types53 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts
|
|
4
4
|
declare const localeSwitcherContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
localeSwitcherLabel:
|
|
7
|
+
localeSwitcherLabel: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
fr: string;
|
|
@@ -23,7 +23,7 @@ declare const localeSwitcherContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType:
|
|
26
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -45,7 +45,7 @@ declare const localeSwitcherContent: {
|
|
|
45
45
|
vi: string;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
languageListLabel:
|
|
48
|
+
languageListLabel: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
49
49
|
en: string;
|
|
50
50
|
'en-GB': string;
|
|
51
51
|
fr: string;
|
|
@@ -64,7 +64,7 @@ declare const localeSwitcherContent: {
|
|
|
64
64
|
id: string;
|
|
65
65
|
vi: string;
|
|
66
66
|
}, {
|
|
67
|
-
nodeType:
|
|
67
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
68
68
|
} & {
|
|
69
69
|
translation: {
|
|
70
70
|
en: string;
|
|
@@ -86,7 +86,7 @@ declare const localeSwitcherContent: {
|
|
|
86
86
|
vi: string;
|
|
87
87
|
};
|
|
88
88
|
}>;
|
|
89
|
-
switchTo:
|
|
89
|
+
switchTo: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
90
90
|
en: string;
|
|
91
91
|
fr: string;
|
|
92
92
|
es: string;
|
|
@@ -105,7 +105,7 @@ declare const localeSwitcherContent: {
|
|
|
105
105
|
id: string;
|
|
106
106
|
vi: string;
|
|
107
107
|
}, {
|
|
108
|
-
nodeType:
|
|
108
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
109
109
|
} & {
|
|
110
110
|
translation: {
|
|
111
111
|
en: string;
|
|
@@ -128,7 +128,7 @@ declare const localeSwitcherContent: {
|
|
|
128
128
|
};
|
|
129
129
|
}>;
|
|
130
130
|
searchInput: {
|
|
131
|
-
text:
|
|
131
|
+
text: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
132
132
|
en: string;
|
|
133
133
|
'en-GB': string;
|
|
134
134
|
fr: string;
|
|
@@ -147,7 +147,7 @@ declare const localeSwitcherContent: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
vi: string;
|
|
149
149
|
}, {
|
|
150
|
-
nodeType:
|
|
150
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
151
151
|
} & {
|
|
152
152
|
translation: {
|
|
153
153
|
en: string;
|
|
@@ -169,7 +169,7 @@ declare const localeSwitcherContent: {
|
|
|
169
169
|
vi: string;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
|
-
placeholder:
|
|
172
|
+
placeholder: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
173
173
|
en: string;
|
|
174
174
|
'en-GB': string;
|
|
175
175
|
fr: string;
|
|
@@ -188,7 +188,7 @@ declare const localeSwitcherContent: {
|
|
|
188
188
|
id: string;
|
|
189
189
|
vi: string;
|
|
190
190
|
}, {
|
|
191
|
-
nodeType:
|
|
191
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
192
192
|
} & {
|
|
193
193
|
translation: {
|
|
194
194
|
en: string;
|
|
@@ -210,7 +210,7 @@ declare const localeSwitcherContent: {
|
|
|
210
210
|
vi: string;
|
|
211
211
|
};
|
|
212
212
|
}>;
|
|
213
|
-
ariaLabel:
|
|
213
|
+
ariaLabel: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
214
214
|
en: string;
|
|
215
215
|
'en-GB': string;
|
|
216
216
|
fr: string;
|
|
@@ -229,7 +229,7 @@ declare const localeSwitcherContent: {
|
|
|
229
229
|
id: string;
|
|
230
230
|
vi: string;
|
|
231
231
|
}, {
|
|
232
|
-
nodeType:
|
|
232
|
+
nodeType: _intlayer_types53.NodeType.Translation | "translation";
|
|
233
233
|
} & {
|
|
234
234
|
translation: {
|
|
235
235
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,
|
|
1
|
+
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,kCA4HgB,yCAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MaxWidthSmoother/index.d.ts
|
|
5
5
|
type Align = 'left' | 'right';
|
|
@@ -15,7 +15,7 @@ declare const MaxWidthSmoother: ({
|
|
|
15
15
|
align,
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: MaxHeightSmootherProps) =>
|
|
18
|
+
}: MaxHeightSmootherProps) => react_jsx_runtime3.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { MaxWidthSmoother };
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|