@intlayer/design-system 5.3.0 → 5.3.2
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/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +144 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +144 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.d.ts +108 -0
- package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.d.ts.map +1 -1
- package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.d.ts +108 -0
- package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +90 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +126 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +54 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/signIn.content.d.ts +234 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +72 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +198 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +126 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/VerifyEmailForm/index.content.d.ts +72 -0
- package/dist/components/Auth/VerifyEmailForm/index.content.d.ts.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +18 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.cjs +1 -0
- package/dist/components/ContentEditor/ContentEditorInput.cjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.d.ts.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.mjs +1 -0
- package/dist/components/ContentEditor/ContentEditorInput.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +234 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +72 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +303 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +216 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +270 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +144 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +72 -0
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +54 -0
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +36 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +217 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/IDE/CopyButton.content.d.ts +18 -0
- package/dist/components/IDE/CopyButton.content.d.ts.map +1 -1
- package/dist/components/Input/Input.cjs.map +1 -1
- package/dist/components/Input/Input.d.ts +7 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.mjs.map +1 -1
- package/dist/components/Input/InputPassword.cjs +8 -1
- package/dist/components/Input/InputPassword.cjs.map +1 -1
- package/dist/components/Input/InputPassword.d.ts.map +1 -1
- package/dist/components/Input/InputPassword.mjs +8 -1
- package/dist/components/Input/InputPassword.mjs.map +1 -1
- package/dist/components/Loader/index.content.d.ts +15 -0
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +1 -0
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -0
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs +15 -0
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +159 -0
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs +15 -0
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +1 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +15 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +123 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +15 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/TextArea/TextArea.cjs.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +7 -1
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/index-BCuMWKyy.js.map +1 -1
- package/dist/index-BYzBot7l.cjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/zod-BV4nCGJE.js.map +1 -1
- package/dist/zod-DSrtTSD_.cjs.map +1 -1
- package/package.json +19 -19
|
@@ -15,6 +15,24 @@ declare const versionSwitcherContent: {
|
|
|
15
15
|
hi: string;
|
|
16
16
|
ar: string;
|
|
17
17
|
ru: string;
|
|
18
|
+
}, {
|
|
19
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
|
+
} & {
|
|
21
|
+
translation: {
|
|
22
|
+
en: string;
|
|
23
|
+
'en-GB': string;
|
|
24
|
+
fr: string;
|
|
25
|
+
es: string;
|
|
26
|
+
de: string;
|
|
27
|
+
ja: string;
|
|
28
|
+
ko: string;
|
|
29
|
+
zh: string;
|
|
30
|
+
it: string;
|
|
31
|
+
pt: string;
|
|
32
|
+
hi: string;
|
|
33
|
+
ar: string;
|
|
34
|
+
ru: string;
|
|
35
|
+
};
|
|
18
36
|
}>;
|
|
19
37
|
versionListLabel: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
20
38
|
en: string;
|
|
@@ -30,6 +48,24 @@ declare const versionSwitcherContent: {
|
|
|
30
48
|
hi: string;
|
|
31
49
|
ar: string;
|
|
32
50
|
ru: string;
|
|
51
|
+
}, {
|
|
52
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
53
|
+
} & {
|
|
54
|
+
translation: {
|
|
55
|
+
en: string;
|
|
56
|
+
'en-GB': string;
|
|
57
|
+
fr: string;
|
|
58
|
+
es: string;
|
|
59
|
+
de: string;
|
|
60
|
+
ja: string;
|
|
61
|
+
ko: string;
|
|
62
|
+
zh: string;
|
|
63
|
+
it: string;
|
|
64
|
+
pt: string;
|
|
65
|
+
hi: string;
|
|
66
|
+
ar: string;
|
|
67
|
+
ru: string;
|
|
68
|
+
};
|
|
33
69
|
}>;
|
|
34
70
|
switchTo: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
35
71
|
en: string;
|
|
@@ -45,6 +81,24 @@ declare const versionSwitcherContent: {
|
|
|
45
81
|
hi: string;
|
|
46
82
|
ar: string;
|
|
47
83
|
ru: string;
|
|
84
|
+
}, {
|
|
85
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
86
|
+
} & {
|
|
87
|
+
translation: {
|
|
88
|
+
en: string;
|
|
89
|
+
fr: string;
|
|
90
|
+
es: string;
|
|
91
|
+
'en-GB': string;
|
|
92
|
+
de: string;
|
|
93
|
+
ja: string;
|
|
94
|
+
ko: string;
|
|
95
|
+
zh: string;
|
|
96
|
+
it: string;
|
|
97
|
+
pt: string;
|
|
98
|
+
hi: string;
|
|
99
|
+
ar: string;
|
|
100
|
+
ru: string;
|
|
101
|
+
};
|
|
48
102
|
}>;
|
|
49
103
|
};
|
|
50
104
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionSwitcherDropDown.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"versionSwitcherDropDown.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDN,CAAC;AAEvB,eAAe,sBAAsB,CAAC"}
|
|
@@ -16,6 +16,24 @@ export declare const dictionaryFieldEditorContent: {
|
|
|
16
16
|
hi: string;
|
|
17
17
|
ar: string;
|
|
18
18
|
ru: string;
|
|
19
|
+
}, {
|
|
20
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
21
|
+
} & {
|
|
22
|
+
translation: {
|
|
23
|
+
en: string;
|
|
24
|
+
'en-GB': string;
|
|
25
|
+
fr: string;
|
|
26
|
+
es: string;
|
|
27
|
+
de: string;
|
|
28
|
+
ja: string;
|
|
29
|
+
ko: string;
|
|
30
|
+
zh: string;
|
|
31
|
+
it: string;
|
|
32
|
+
pt: string;
|
|
33
|
+
hi: string;
|
|
34
|
+
ar: string;
|
|
35
|
+
ru: string;
|
|
36
|
+
};
|
|
19
37
|
}>;
|
|
20
38
|
text: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
21
39
|
en: string;
|
|
@@ -31,6 +49,24 @@ export declare const dictionaryFieldEditorContent: {
|
|
|
31
49
|
hi: string;
|
|
32
50
|
ar: string;
|
|
33
51
|
ru: string;
|
|
52
|
+
}, {
|
|
53
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
54
|
+
} & {
|
|
55
|
+
translation: {
|
|
56
|
+
en: string;
|
|
57
|
+
'en-GB': string;
|
|
58
|
+
fr: string;
|
|
59
|
+
es: string;
|
|
60
|
+
de: string;
|
|
61
|
+
ja: string;
|
|
62
|
+
ko: string;
|
|
63
|
+
zh: string;
|
|
64
|
+
it: string;
|
|
65
|
+
pt: string;
|
|
66
|
+
hi: string;
|
|
67
|
+
ar: string;
|
|
68
|
+
ru: string;
|
|
69
|
+
};
|
|
34
70
|
}>;
|
|
35
71
|
};
|
|
36
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryFieldEditor.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"dictionaryFieldEditor.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCnB,CAAC"}
|
|
@@ -15,6 +15,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
15
15
|
hi: string;
|
|
16
16
|
ar: string;
|
|
17
17
|
ru: string;
|
|
18
|
+
}, {
|
|
19
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
|
+
} & {
|
|
21
|
+
translation: {
|
|
22
|
+
en: string;
|
|
23
|
+
'en-GB': string;
|
|
24
|
+
fr: string;
|
|
25
|
+
es: string;
|
|
26
|
+
de: string;
|
|
27
|
+
ja: string;
|
|
28
|
+
ko: string;
|
|
29
|
+
zh: string;
|
|
30
|
+
it: string;
|
|
31
|
+
pt: string;
|
|
32
|
+
hi: string;
|
|
33
|
+
ar: string;
|
|
34
|
+
ru: string;
|
|
35
|
+
};
|
|
18
36
|
}>;
|
|
19
37
|
multilingual: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
20
38
|
en: string;
|
|
@@ -30,6 +48,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
30
48
|
hi: string;
|
|
31
49
|
ar: string;
|
|
32
50
|
ru: string;
|
|
51
|
+
}, {
|
|
52
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
53
|
+
} & {
|
|
54
|
+
translation: {
|
|
55
|
+
en: string;
|
|
56
|
+
'en-GB': string;
|
|
57
|
+
fr: string;
|
|
58
|
+
es: string;
|
|
59
|
+
de: string;
|
|
60
|
+
ja: string;
|
|
61
|
+
ko: string;
|
|
62
|
+
zh: string;
|
|
63
|
+
it: string;
|
|
64
|
+
pt: string;
|
|
65
|
+
hi: string;
|
|
66
|
+
ar: string;
|
|
67
|
+
ru: string;
|
|
68
|
+
};
|
|
33
69
|
}>;
|
|
34
70
|
text: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
35
71
|
en: string;
|
|
@@ -45,6 +81,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
45
81
|
hi: string;
|
|
46
82
|
ar: string;
|
|
47
83
|
ru: string;
|
|
84
|
+
}, {
|
|
85
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
86
|
+
} & {
|
|
87
|
+
translation: {
|
|
88
|
+
en: string;
|
|
89
|
+
'en-GB': string;
|
|
90
|
+
fr: string;
|
|
91
|
+
es: string;
|
|
92
|
+
de: string;
|
|
93
|
+
ja: string;
|
|
94
|
+
ko: string;
|
|
95
|
+
zh: string;
|
|
96
|
+
it: string;
|
|
97
|
+
pt: string;
|
|
98
|
+
hi: string;
|
|
99
|
+
ar: string;
|
|
100
|
+
ru: string;
|
|
101
|
+
};
|
|
48
102
|
}>;
|
|
49
103
|
number: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
50
104
|
en: string;
|
|
@@ -60,6 +114,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
60
114
|
hi: string;
|
|
61
115
|
ar: string;
|
|
62
116
|
ru: string;
|
|
117
|
+
}, {
|
|
118
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
119
|
+
} & {
|
|
120
|
+
translation: {
|
|
121
|
+
en: string;
|
|
122
|
+
'en-GB': string;
|
|
123
|
+
fr: string;
|
|
124
|
+
es: string;
|
|
125
|
+
de: string;
|
|
126
|
+
ja: string;
|
|
127
|
+
ko: string;
|
|
128
|
+
zh: string;
|
|
129
|
+
it: string;
|
|
130
|
+
pt: string;
|
|
131
|
+
hi: string;
|
|
132
|
+
ar: string;
|
|
133
|
+
ru: string;
|
|
134
|
+
};
|
|
63
135
|
}>;
|
|
64
136
|
boolean: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
65
137
|
en: string;
|
|
@@ -75,6 +147,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
75
147
|
hi: string;
|
|
76
148
|
ar: string;
|
|
77
149
|
ru: string;
|
|
150
|
+
}, {
|
|
151
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
152
|
+
} & {
|
|
153
|
+
translation: {
|
|
154
|
+
en: string;
|
|
155
|
+
'en-GB': string;
|
|
156
|
+
fr: string;
|
|
157
|
+
es: string;
|
|
158
|
+
de: string;
|
|
159
|
+
ja: string;
|
|
160
|
+
ko: string;
|
|
161
|
+
zh: string;
|
|
162
|
+
it: string;
|
|
163
|
+
pt: string;
|
|
164
|
+
hi: string;
|
|
165
|
+
ar: string;
|
|
166
|
+
ru: string;
|
|
167
|
+
};
|
|
78
168
|
}>;
|
|
79
169
|
node: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
80
170
|
en: string;
|
|
@@ -90,6 +180,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
90
180
|
hi: string;
|
|
91
181
|
ar: string;
|
|
92
182
|
ru: string;
|
|
183
|
+
}, {
|
|
184
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
185
|
+
} & {
|
|
186
|
+
translation: {
|
|
187
|
+
en: string;
|
|
188
|
+
'en-GB': string;
|
|
189
|
+
fr: string;
|
|
190
|
+
es: string;
|
|
191
|
+
de: string;
|
|
192
|
+
ja: string;
|
|
193
|
+
ko: string;
|
|
194
|
+
zh: string;
|
|
195
|
+
it: string;
|
|
196
|
+
pt: string;
|
|
197
|
+
hi: string;
|
|
198
|
+
ar: string;
|
|
199
|
+
ru: string;
|
|
200
|
+
};
|
|
93
201
|
}>;
|
|
94
202
|
array: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
95
203
|
en: string;
|
|
@@ -105,6 +213,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
105
213
|
hi: string;
|
|
106
214
|
ar: string;
|
|
107
215
|
ru: string;
|
|
216
|
+
}, {
|
|
217
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
218
|
+
} & {
|
|
219
|
+
translation: {
|
|
220
|
+
en: string;
|
|
221
|
+
'en-GB': string;
|
|
222
|
+
fr: string;
|
|
223
|
+
es: string;
|
|
224
|
+
de: string;
|
|
225
|
+
ja: string;
|
|
226
|
+
ko: string;
|
|
227
|
+
zh: string;
|
|
228
|
+
it: string;
|
|
229
|
+
pt: string;
|
|
230
|
+
hi: string;
|
|
231
|
+
ar: string;
|
|
232
|
+
ru: string;
|
|
233
|
+
};
|
|
108
234
|
}>;
|
|
109
235
|
enumeration: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
110
236
|
en: string;
|
|
@@ -120,6 +246,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
120
246
|
hi: string;
|
|
121
247
|
ar: string;
|
|
122
248
|
ru: string;
|
|
249
|
+
}, {
|
|
250
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
251
|
+
} & {
|
|
252
|
+
translation: {
|
|
253
|
+
en: string;
|
|
254
|
+
'en-GB': string;
|
|
255
|
+
fr: string;
|
|
256
|
+
es: string;
|
|
257
|
+
de: string;
|
|
258
|
+
ja: string;
|
|
259
|
+
ko: string;
|
|
260
|
+
zh: string;
|
|
261
|
+
it: string;
|
|
262
|
+
pt: string;
|
|
263
|
+
hi: string;
|
|
264
|
+
ar: string;
|
|
265
|
+
ru: string;
|
|
266
|
+
};
|
|
123
267
|
}>;
|
|
124
268
|
nest: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
125
269
|
en: string;
|
|
@@ -136,6 +280,25 @@ export declare const nodeTypeSelectorContent: {
|
|
|
136
280
|
ar: string;
|
|
137
281
|
ru: string;
|
|
138
282
|
nl: string;
|
|
283
|
+
}, {
|
|
284
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
285
|
+
} & {
|
|
286
|
+
translation: {
|
|
287
|
+
en: string;
|
|
288
|
+
'en-GB': string;
|
|
289
|
+
fr: string;
|
|
290
|
+
es: string;
|
|
291
|
+
de: string;
|
|
292
|
+
ja: string;
|
|
293
|
+
ko: string;
|
|
294
|
+
zh: string;
|
|
295
|
+
it: string;
|
|
296
|
+
pt: string;
|
|
297
|
+
hi: string;
|
|
298
|
+
ar: string;
|
|
299
|
+
ru: string;
|
|
300
|
+
nl: string;
|
|
301
|
+
};
|
|
139
302
|
}>;
|
|
140
303
|
condition: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
141
304
|
en: string;
|
|
@@ -151,6 +314,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
151
314
|
hi: string;
|
|
152
315
|
ar: string;
|
|
153
316
|
ru: string;
|
|
317
|
+
}, {
|
|
318
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
319
|
+
} & {
|
|
320
|
+
translation: {
|
|
321
|
+
en: string;
|
|
322
|
+
'en-GB': string;
|
|
323
|
+
fr: string;
|
|
324
|
+
es: string;
|
|
325
|
+
de: string;
|
|
326
|
+
ja: string;
|
|
327
|
+
ko: string;
|
|
328
|
+
zh: string;
|
|
329
|
+
it: string;
|
|
330
|
+
pt: string;
|
|
331
|
+
hi: string;
|
|
332
|
+
ar: string;
|
|
333
|
+
ru: string;
|
|
334
|
+
};
|
|
154
335
|
}>;
|
|
155
336
|
markdown: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
156
337
|
en: string;
|
|
@@ -166,6 +347,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
166
347
|
hi: string;
|
|
167
348
|
ar: string;
|
|
168
349
|
ru: string;
|
|
350
|
+
}, {
|
|
351
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
352
|
+
} & {
|
|
353
|
+
translation: {
|
|
354
|
+
en: string;
|
|
355
|
+
'en-GB': string;
|
|
356
|
+
fr: string;
|
|
357
|
+
es: string;
|
|
358
|
+
de: string;
|
|
359
|
+
ja: string;
|
|
360
|
+
ko: string;
|
|
361
|
+
zh: string;
|
|
362
|
+
it: string;
|
|
363
|
+
pt: string;
|
|
364
|
+
hi: string;
|
|
365
|
+
ar: string;
|
|
366
|
+
ru: string;
|
|
367
|
+
};
|
|
169
368
|
}>;
|
|
170
369
|
reactNode: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
171
370
|
en: string;
|
|
@@ -181,6 +380,24 @@ export declare const nodeTypeSelectorContent: {
|
|
|
181
380
|
hi: string;
|
|
182
381
|
ar: string;
|
|
183
382
|
ru: string;
|
|
383
|
+
}, {
|
|
384
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
385
|
+
} & {
|
|
386
|
+
translation: {
|
|
387
|
+
en: string;
|
|
388
|
+
'en-GB': string;
|
|
389
|
+
fr: string;
|
|
390
|
+
es: string;
|
|
391
|
+
de: string;
|
|
392
|
+
ja: string;
|
|
393
|
+
ko: string;
|
|
394
|
+
zh: string;
|
|
395
|
+
it: string;
|
|
396
|
+
pt: string;
|
|
397
|
+
hi: string;
|
|
398
|
+
ar: string;
|
|
399
|
+
ru: string;
|
|
400
|
+
};
|
|
184
401
|
}>;
|
|
185
402
|
};
|
|
186
403
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeTypeSelector.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/nodeTypeSelector.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"nodeTypeSelector.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/nodeTypeSelector.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLd,CAAC"}
|
|
@@ -15,6 +15,24 @@ export declare const copyContentContent: {
|
|
|
15
15
|
hi: string;
|
|
16
16
|
ar: string;
|
|
17
17
|
ru: string;
|
|
18
|
+
}, {
|
|
19
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
|
+
} & {
|
|
21
|
+
translation: {
|
|
22
|
+
en: string;
|
|
23
|
+
fr: string;
|
|
24
|
+
es: string;
|
|
25
|
+
'en-GB': string;
|
|
26
|
+
de: string;
|
|
27
|
+
ja: string;
|
|
28
|
+
ko: string;
|
|
29
|
+
zh: string;
|
|
30
|
+
it: string;
|
|
31
|
+
pt: string;
|
|
32
|
+
hi: string;
|
|
33
|
+
ar: string;
|
|
34
|
+
ru: string;
|
|
35
|
+
};
|
|
18
36
|
}>;
|
|
19
37
|
};
|
|
20
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.d.ts","sourceRoot":"","sources":["../../../src/components/IDE/CopyButton.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"CopyButton.content.d.ts","sourceRoot":"","sources":["../../../src/components/IDE/CopyButton.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBT,CAAC;AAEvB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.cjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'
|
|
1
|
+
{"version":3,"file":"Input.cjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":["cva","jsx"],"mappings":";;;;AAOa,MAAA,gBAAgBA,2BAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AAkBM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACEC,2BAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;;;"}
|
|
@@ -5,8 +5,14 @@ export declare const inputVariants: (props?: ({
|
|
|
5
5
|
size?: "md" | "lg" | null | undefined;
|
|
6
6
|
validationStyleEnabled?: "disabled" | "enabled" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
type LabelType = {
|
|
9
|
+
'aria-labelledby': string;
|
|
10
|
+
} | {
|
|
11
|
+
'aria-label': string;
|
|
12
|
+
};
|
|
8
13
|
export type InputProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
9
14
|
validationStyleEnabled?: boolean;
|
|
10
|
-
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'
|
|
15
|
+
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> & LabelType;
|
|
11
16
|
export declare const Input: FC<InputProps>;
|
|
17
|
+
export {};
|
|
12
18
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,aAAa;;;;8EA2BxB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,iBAAiB,CACxC,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,gBAAgB,CACjB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,aAAa;;;;8EA2BxB,CAAC;AAEH,KAAK,SAAS,GACV;IACE,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IACE,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEN,MAAM,MAAM,UAAU,GAAG,iBAAiB,CACxC,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,gBAAgB,CACjB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,GACpE,SAAS,CAAC;AAEZ,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAgBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.mjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'
|
|
1
|
+
{"version":3,"file":"Input.mjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":[],"mappings":";;AAOa,MAAA,gBAAgB,IAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AAkBM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;"}
|
|
@@ -14,7 +14,14 @@ const InputPassword = (props) => {
|
|
|
14
14
|
};
|
|
15
15
|
const EyeIconComponent = isPasswordRevealed ? lucideReact.EyeIcon : lucideReact.EyeOffIcon;
|
|
16
16
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
17
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
+
components_Input_Input.Input,
|
|
19
|
+
{
|
|
20
|
+
...props,
|
|
21
|
+
"aria-label": "password",
|
|
22
|
+
type: isPasswordRevealed ? "text" : "password"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
18
25
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19
26
|
"button",
|
|
20
27
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.cjs","sources":["../../../src/components/Input/InputPassword.tsx"],"sourcesContent":["'use client';\n\nimport { EyeIcon, EyeOffIcon } from 'lucide-react';\nimport { type FC, useState, type MouseEventHandler } from 'react';\nimport { Input, type InputProps } from './Input';\n\ntype InputPasswordProps = Omit<InputProps, 'type'>;\n\nexport const InputPassword: FC<InputPasswordProps> = (props) => {\n const [isPasswordRevealed, setIsPasswordRevealed] = useState(false);\n\n const handlePasswordReveal: MouseEventHandler<HTMLButtonElement> = (e) => {\n e.preventDefault();\n e.stopPropagation();\n setIsPasswordRevealed((isPasswordRevealed) => !isPasswordRevealed);\n };\n\n const EyeIconComponent = isPasswordRevealed ? EyeIcon : EyeOffIcon;\n\n return (\n <div className=\"relative\">\n <Input
|
|
1
|
+
{"version":3,"file":"InputPassword.cjs","sources":["../../../src/components/Input/InputPassword.tsx"],"sourcesContent":["'use client';\n\nimport { EyeIcon, EyeOffIcon } from 'lucide-react';\nimport { type FC, useState, type MouseEventHandler } from 'react';\nimport { Input, type InputProps } from './Input';\n\ntype InputPasswordProps = Omit<InputProps, 'type'>;\n\nexport const InputPassword: FC<InputPasswordProps> = (props) => {\n const [isPasswordRevealed, setIsPasswordRevealed] = useState(false);\n\n const handlePasswordReveal: MouseEventHandler<HTMLButtonElement> = (e) => {\n e.preventDefault();\n e.stopPropagation();\n setIsPasswordRevealed((isPasswordRevealed) => !isPasswordRevealed);\n };\n\n const EyeIconComponent = isPasswordRevealed ? EyeIcon : EyeOffIcon;\n\n return (\n <div className=\"relative\">\n <Input\n {...props}\n aria-label=\"password\"\n type={isPasswordRevealed ? 'text' : 'password'}\n />\n\n <button\n data-testid=\"eye-icon\"\n className=\"absolute right-2 h-full flex-row items-center\"\n onClick={handlePasswordReveal}\n aria-label={isPasswordRevealed ? 'Hide password' : 'Show password'}\n >\n <EyeIconComponent\n className=\"text-neutral mr-2 inline-block\"\n size={20}\n />\n </button>\n </div>\n );\n};\n"],"names":["useState","isPasswordRevealed","EyeIcon","EyeOffIcon","jsxs","jsx","Input"],"mappings":";;;;;;;AAQa,MAAA,gBAAwC,CAAC,UAAU;AAC9D,QAAM,CAAC,oBAAoB,qBAAqB,IAAIA,aAAAA,SAAS,KAAK;AAE5D,QAAA,uBAA6D,CAAC,MAAM;AACxE,MAAE,eAAe;AACjB,MAAE,gBAAgB;AACI,0BAAA,CAACC,wBAAuB,CAACA,mBAAkB;AAAA,EACnE;AAEM,QAAA,mBAAmB,qBAAqBC,YAAAA,UAAUC,YAAA;AAGtD,SAAAC,2BAAA,KAAC,OAAI,EAAA,WAAU,YACb,UAAA;AAAA,IAAAC,2BAAA;AAAA,MAACC,uBAAA;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ,cAAW;AAAA,QACX,MAAM,qBAAqB,SAAS;AAAA,MAAA;AAAA,IACtC;AAAA,IAEAD,2BAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,eAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,cAAY,qBAAqB,kBAAkB;AAAA,QAEnD,UAAAA,2BAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAU;AAAA,YACV,MAAM;AAAA,UAAA;AAAA,QAAA;AAAA,MACR;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../src/components/Input/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAClE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjD,KAAK,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../src/components/Input/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAClE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjD,KAAK,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgChD,CAAC"}
|
|
@@ -12,7 +12,14 @@ const InputPassword = (props) => {
|
|
|
12
12
|
};
|
|
13
13
|
const EyeIconComponent = isPasswordRevealed ? EyeIcon : EyeOffIcon;
|
|
14
14
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
15
|
-
/* @__PURE__ */ jsx(
|
|
15
|
+
/* @__PURE__ */ jsx(
|
|
16
|
+
Input,
|
|
17
|
+
{
|
|
18
|
+
...props,
|
|
19
|
+
"aria-label": "password",
|
|
20
|
+
type: isPasswordRevealed ? "text" : "password"
|
|
21
|
+
}
|
|
22
|
+
),
|
|
16
23
|
/* @__PURE__ */ jsx(
|
|
17
24
|
"button",
|
|
18
25
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.mjs","sources":["../../../src/components/Input/InputPassword.tsx"],"sourcesContent":["'use client';\n\nimport { EyeIcon, EyeOffIcon } from 'lucide-react';\nimport { type FC, useState, type MouseEventHandler } from 'react';\nimport { Input, type InputProps } from './Input';\n\ntype InputPasswordProps = Omit<InputProps, 'type'>;\n\nexport const InputPassword: FC<InputPasswordProps> = (props) => {\n const [isPasswordRevealed, setIsPasswordRevealed] = useState(false);\n\n const handlePasswordReveal: MouseEventHandler<HTMLButtonElement> = (e) => {\n e.preventDefault();\n e.stopPropagation();\n setIsPasswordRevealed((isPasswordRevealed) => !isPasswordRevealed);\n };\n\n const EyeIconComponent = isPasswordRevealed ? EyeIcon : EyeOffIcon;\n\n return (\n <div className=\"relative\">\n <Input
|
|
1
|
+
{"version":3,"file":"InputPassword.mjs","sources":["../../../src/components/Input/InputPassword.tsx"],"sourcesContent":["'use client';\n\nimport { EyeIcon, EyeOffIcon } from 'lucide-react';\nimport { type FC, useState, type MouseEventHandler } from 'react';\nimport { Input, type InputProps } from './Input';\n\ntype InputPasswordProps = Omit<InputProps, 'type'>;\n\nexport const InputPassword: FC<InputPasswordProps> = (props) => {\n const [isPasswordRevealed, setIsPasswordRevealed] = useState(false);\n\n const handlePasswordReveal: MouseEventHandler<HTMLButtonElement> = (e) => {\n e.preventDefault();\n e.stopPropagation();\n setIsPasswordRevealed((isPasswordRevealed) => !isPasswordRevealed);\n };\n\n const EyeIconComponent = isPasswordRevealed ? EyeIcon : EyeOffIcon;\n\n return (\n <div className=\"relative\">\n <Input\n {...props}\n aria-label=\"password\"\n type={isPasswordRevealed ? 'text' : 'password'}\n />\n\n <button\n data-testid=\"eye-icon\"\n className=\"absolute right-2 h-full flex-row items-center\"\n onClick={handlePasswordReveal}\n aria-label={isPasswordRevealed ? 'Hide password' : 'Show password'}\n >\n <EyeIconComponent\n className=\"text-neutral mr-2 inline-block\"\n size={20}\n />\n </button>\n </div>\n );\n};\n"],"names":["isPasswordRevealed"],"mappings":";;;;;AAQa,MAAA,gBAAwC,CAAC,UAAU;AAC9D,QAAM,CAAC,oBAAoB,qBAAqB,IAAI,SAAS,KAAK;AAE5D,QAAA,uBAA6D,CAAC,MAAM;AACxE,MAAE,eAAe;AACjB,MAAE,gBAAgB;AACI,0BAAA,CAACA,wBAAuB,CAACA,mBAAkB;AAAA,EACnE;AAEM,QAAA,mBAAmB,qBAAqB,UAAU;AAGtD,SAAA,qBAAC,OAAI,EAAA,WAAU,YACb,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ,cAAW;AAAA,QACX,MAAM,qBAAqB,SAAS;AAAA,MAAA;AAAA,IACtC;AAAA,IAEA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,eAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,cAAY,qBAAqB,kBAAkB;AAAA,QAEnD,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAU;AAAA,YACV,MAAM;AAAA,UAAA;AAAA,QAAA;AAAA,MACR;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
|
|
@@ -12,6 +12,21 @@ export declare const loaderContent: {
|
|
|
12
12
|
zh: string;
|
|
13
13
|
it: string;
|
|
14
14
|
pt: string;
|
|
15
|
+
}, {
|
|
16
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
17
|
+
} & {
|
|
18
|
+
translation: {
|
|
19
|
+
en: string;
|
|
20
|
+
'en-GB': string;
|
|
21
|
+
fr: string;
|
|
22
|
+
es: string;
|
|
23
|
+
de: string;
|
|
24
|
+
ja: string;
|
|
25
|
+
ko: string;
|
|
26
|
+
zh: string;
|
|
27
|
+
it: string;
|
|
28
|
+
pt: string;
|
|
29
|
+
};
|
|
15
30
|
}>;
|
|
16
31
|
};
|
|
17
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/index.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/index.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBJ,CAAC;AAEvB,eAAe,aAAa,CAAC"}
|
|
@@ -160,6 +160,7 @@ const LocaleSwitcherContent = ({
|
|
|
160
160
|
components_Input_Input.Input,
|
|
161
161
|
{
|
|
162
162
|
type: "search",
|
|
163
|
+
"aria-label": searchInput.ariaLabel.value,
|
|
163
164
|
placeholder: searchInput.placeholder.value,
|
|
164
165
|
onChange: (e) => handleSearch(e.target.value),
|
|
165
166
|
ref: inputRef
|