@tempots/beatui 0.13.0 → 0.14.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/{ar-zUaskoUZ.js → ar-C__uXRig.js} +5 -3
- package/dist/ar-D9ef1rPL.js +38 -0
- package/dist/beatui.css +1 -1
- package/dist/{de-C0vbdZdj.js → de-CaqDmb7M.js} +3 -1
- package/dist/{de-C_Zm61s8.js → de-DvSVUCKi.js} +3 -1
- package/dist/{es-BALLrljC.js → es-D2MgpsFw.js} +6 -4
- package/dist/{es-Br-Gawkv.js → es-kZH0y7yE.js} +3 -1
- package/dist/{fa-4g9jzgMM.js → fa-7Lh__M6_.js} +3 -1
- package/dist/fa-CZ1jHeSI.js +38 -0
- package/dist/{fr-CzyXyFEo.js → fr-BFb9eub-.js} +3 -1
- package/dist/{fr-TsXahdgA.js → fr-Bi9Ce2bU.js} +6 -4
- package/dist/{he-CBxtA7rr.js → he-DCxEMw1h.js} +3 -1
- package/dist/he-iAAKM-JS.js +38 -0
- package/dist/hi-BMfFIHn-.js +38 -0
- package/dist/{hi-B6LQz-RO.js → hi-Bbnlpps9.js} +4 -2
- package/dist/index.es.js +1612 -1607
- package/dist/index.umd.js +27 -27
- package/dist/{it-CFHKs1al.js → it-CWTDpmhc.js} +3 -1
- package/dist/{it-CkmN7du_.js → it-RYZ8E-C6.js} +3 -1
- package/dist/{ja-C81oj42G.js → ja-4x5hNiAy.js} +6 -4
- package/dist/{ja-D6tNi1ze.js → ja-C1Nynl79.js} +3 -1
- package/dist/ko-BFy6uytC.js +38 -0
- package/dist/{ko-71CknADn.js → ko-BnQv3_8f.js} +3 -1
- package/dist/nl-BRZt7kSA.js +38 -0
- package/dist/{nl-CnSz3Cp_.js → nl-CH2009II.js} +3 -1
- package/dist/{pl-og-2JJLB.js → pl-Cd4dZDyG.js} +3 -1
- package/dist/pl-DKbc4KpN.js +38 -0
- package/dist/{pt-DtslyWAl.js → pt-Bful1nYu.js} +3 -1
- package/dist/{pt-M61qKkTf.js → pt-CZER9j0r.js} +3 -1
- package/dist/{ru-BIqAHQQ4.js → ru-9lG4xtda.js} +3 -1
- package/dist/{ru-CIn0tYwk.js → ru-CCEGJYwF.js} +3 -1
- package/dist/{tr-BXwpkxgd.js → tr-BVIGQcgy.js} +3 -1
- package/dist/tr-D3uQnNr4.js +38 -0
- package/dist/types/auth-i18n/default.d.ts +1 -0
- package/dist/types/auth-i18n/locales/ar.d.ts +29 -0
- package/dist/types/auth-i18n/locales/de.d.ts +1 -0
- package/dist/types/auth-i18n/locales/en.d.ts +1 -0
- package/dist/types/auth-i18n/locales/es.d.ts +1 -0
- package/dist/types/auth-i18n/locales/fa.d.ts +29 -0
- package/dist/types/auth-i18n/locales/fr.d.ts +1 -0
- package/dist/types/auth-i18n/locales/he.d.ts +29 -0
- package/dist/types/auth-i18n/locales/hi.d.ts +29 -0
- package/dist/types/auth-i18n/locales/it.d.ts +1 -0
- package/dist/types/auth-i18n/locales/ja.d.ts +1 -0
- package/dist/types/auth-i18n/locales/ko.d.ts +29 -0
- package/dist/types/auth-i18n/locales/nl.d.ts +29 -0
- package/dist/types/auth-i18n/locales/pl.d.ts +29 -0
- package/dist/types/auth-i18n/locales/pt.d.ts +1 -0
- package/dist/types/auth-i18n/locales/ru.d.ts +1 -0
- package/dist/types/auth-i18n/locales/tr.d.ts +29 -0
- package/dist/types/auth-i18n/locales/ur.d.ts +29 -0
- package/dist/types/auth-i18n/locales/vi.d.ts +29 -0
- package/dist/types/auth-i18n/locales/zh.d.ts +1 -0
- package/dist/types/auth-i18n/translations.d.ts +1 -0
- package/dist/types/beatui-i18n/default.d.ts +1 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +1 -0
- package/dist/types/beatui-i18n/translations.d.ts +1 -0
- package/dist/types/components/auth/auth-container.d.ts +5 -6
- package/dist/types/components/auth/types.d.ts +1 -0
- package/dist/ur-BThJLsvD.js +38 -0
- package/dist/{ur-B7AcyGH1.js → ur-BVAP8WLA.js} +3 -1
- package/dist/vi-Cd6F8iSa.js +38 -0
- package/dist/{vi-CaJ4-itr.js → vi-Dv4aIcRH.js} +3 -1
- package/dist/{zh-cAmOB1FQ.js → zh-BcAbijvs.js} +3 -1
- package/dist/{zh-Cy7W0TAv.js → zh-Boy-i2zO.js} +3 -1
- package/package.json +2 -2
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const ur: {
|
|
2
|
+
signInTitle: () => string;
|
|
3
|
+
signInButton: () => string;
|
|
4
|
+
emailLabel: () => string;
|
|
5
|
+
passwordLabel: () => string;
|
|
6
|
+
rememberMeLabel: () => string;
|
|
7
|
+
forgotPasswordLink: () => string;
|
|
8
|
+
noAccountLink: () => string;
|
|
9
|
+
signUpTitle: () => string;
|
|
10
|
+
signUpButton: () => string;
|
|
11
|
+
nameLabel: () => string;
|
|
12
|
+
confirmPasswordLabel: () => string;
|
|
13
|
+
acceptTermsLabel: () => string;
|
|
14
|
+
hasAccountLink: () => string;
|
|
15
|
+
resetPasswordTitle: () => string;
|
|
16
|
+
resetPasswordButton: () => string;
|
|
17
|
+
resetPasswordDescription: () => string;
|
|
18
|
+
backToSignInLink: () => string;
|
|
19
|
+
continueWithProvider: (provider: string) => string;
|
|
20
|
+
passwordStrengthWeak: () => string;
|
|
21
|
+
passwordStrengthFair: () => string;
|
|
22
|
+
passwordStrengthGood: () => string;
|
|
23
|
+
passwordStrengthStrong: () => string;
|
|
24
|
+
orDivider: () => string;
|
|
25
|
+
error: () => string;
|
|
26
|
+
required: () => string;
|
|
27
|
+
authenticationTitle: () => string;
|
|
28
|
+
};
|
|
29
|
+
export default ur;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const vi: {
|
|
2
|
+
signInTitle: () => string;
|
|
3
|
+
signInButton: () => string;
|
|
4
|
+
emailLabel: () => string;
|
|
5
|
+
passwordLabel: () => string;
|
|
6
|
+
rememberMeLabel: () => string;
|
|
7
|
+
forgotPasswordLink: () => string;
|
|
8
|
+
noAccountLink: () => string;
|
|
9
|
+
signUpTitle: () => string;
|
|
10
|
+
signUpButton: () => string;
|
|
11
|
+
nameLabel: () => string;
|
|
12
|
+
confirmPasswordLabel: () => string;
|
|
13
|
+
acceptTermsLabel: () => string;
|
|
14
|
+
hasAccountLink: () => string;
|
|
15
|
+
resetPasswordTitle: () => string;
|
|
16
|
+
resetPasswordButton: () => string;
|
|
17
|
+
resetPasswordDescription: () => string;
|
|
18
|
+
backToSignInLink: () => string;
|
|
19
|
+
continueWithProvider: (provider: string) => string;
|
|
20
|
+
passwordStrengthWeak: () => string;
|
|
21
|
+
passwordStrengthFair: () => string;
|
|
22
|
+
passwordStrengthGood: () => string;
|
|
23
|
+
passwordStrengthStrong: () => string;
|
|
24
|
+
orDivider: () => string;
|
|
25
|
+
error: () => string;
|
|
26
|
+
required: () => string;
|
|
27
|
+
authenticationTitle: () => string;
|
|
28
|
+
};
|
|
29
|
+
export default vi;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { TNode
|
|
1
|
+
import { TNode } from '@tempots/dom';
|
|
2
2
|
import { AuthContainerOptions } from './index';
|
|
3
|
-
export declare function AuthContainer({ mode: initialMode,
|
|
4
|
-
export declare function AuthModal(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}): TNode;
|
|
3
|
+
export declare function AuthContainer({ mode: initialMode, socialProviders, passwordRules, showRememberMe, showSocialDivider, showPasswordStrength, labels, onSignIn, onSignUp, onResetPassword, onModeChange, showContainer, }: AuthContainerOptions, ...children: TNode[]): TNode;
|
|
4
|
+
export declare function AuthModal(fn: (open: (options: AuthContainerOptions & {
|
|
5
|
+
modalTitle?: () => string;
|
|
6
|
+
}) => void) => TNode): TNode;
|
|
@@ -79,6 +79,7 @@ export interface AuthContainerOptions {
|
|
|
79
79
|
showConfirmPassword?: boolean;
|
|
80
80
|
showAcceptTermsAndConditions?: boolean;
|
|
81
81
|
termsAndConditions?: TNode;
|
|
82
|
+
showContainer?: Value<boolean>;
|
|
82
83
|
}
|
|
83
84
|
export interface SocialProvidersOptions {
|
|
84
85
|
providers: AuthProviderInfo[];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const r = {
|
|
2
|
+
// Sign In
|
|
3
|
+
signInTitle: () => "سائن ان",
|
|
4
|
+
signInButton: () => "سائن ان",
|
|
5
|
+
emailLabel: () => "ای میل",
|
|
6
|
+
passwordLabel: () => "پاس ورڈ",
|
|
7
|
+
rememberMeLabel: () => "مجھے یاد رکھیں",
|
|
8
|
+
forgotPasswordLink: () => "پاس ورڈ بھول گئے؟",
|
|
9
|
+
noAccountLink: () => "اکاؤنٹ نہیں ہے؟ سائن اپ کریں",
|
|
10
|
+
// Sign Up
|
|
11
|
+
signUpTitle: () => "سائن اپ",
|
|
12
|
+
signUpButton: () => "سائن اپ",
|
|
13
|
+
nameLabel: () => "نام",
|
|
14
|
+
confirmPasswordLabel: () => "پاس ورڈ کی تصدیق کریں",
|
|
15
|
+
acceptTermsLabel: () => "میں شرائط و ضوابط کو قبول کرتا ہوں",
|
|
16
|
+
hasAccountLink: () => "پہلے سے اکاؤنٹ ہے؟ سائن ان کریں",
|
|
17
|
+
// Reset Password
|
|
18
|
+
resetPasswordTitle: () => "پاس ورڈ ری سیٹ کریں",
|
|
19
|
+
resetPasswordButton: () => "پاس ورڈ ری سیٹ کریں",
|
|
20
|
+
resetPasswordDescription: () => "اپنا پاس ورڈ ری سیٹ کرنے کے لیے اپنا ای میل درج کریں۔",
|
|
21
|
+
backToSignInLink: () => "سائن ان پر واپس جائیں",
|
|
22
|
+
// Social Login
|
|
23
|
+
continueWithProvider: (e) => `${e} کے ساتھ جاری رکھیں`,
|
|
24
|
+
// Password Strength
|
|
25
|
+
passwordStrengthWeak: () => "کمزور",
|
|
26
|
+
passwordStrengthFair: () => "ٹھیک",
|
|
27
|
+
passwordStrengthGood: () => "اچھا",
|
|
28
|
+
passwordStrengthStrong: () => "مضبوط",
|
|
29
|
+
// Common
|
|
30
|
+
orDivider: () => "یا",
|
|
31
|
+
error: () => "ایک خرابی ہوئی",
|
|
32
|
+
required: () => "ضروری",
|
|
33
|
+
// Modal
|
|
34
|
+
authenticationTitle: () => "تصدیق"
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
r as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
// Sign In
|
|
3
|
+
signInTitle: () => "Đăng nhập",
|
|
4
|
+
signInButton: () => "Đăng nhập",
|
|
5
|
+
emailLabel: () => "Email",
|
|
6
|
+
passwordLabel: () => "Mật khẩu",
|
|
7
|
+
rememberMeLabel: () => "Ghi nhớ tôi",
|
|
8
|
+
forgotPasswordLink: () => "Quên mật khẩu?",
|
|
9
|
+
noAccountLink: () => "Chưa có tài khoản? Đăng ký",
|
|
10
|
+
// Sign Up
|
|
11
|
+
signUpTitle: () => "Đăng ký",
|
|
12
|
+
signUpButton: () => "Đăng ký",
|
|
13
|
+
nameLabel: () => "Tên",
|
|
14
|
+
confirmPasswordLabel: () => "Xác nhận mật khẩu",
|
|
15
|
+
acceptTermsLabel: () => "Tôi chấp nhận các điều khoản và điều kiện",
|
|
16
|
+
hasAccountLink: () => "Đã có tài khoản? Đăng nhập",
|
|
17
|
+
// Reset Password
|
|
18
|
+
resetPasswordTitle: () => "Đặt lại mật khẩu",
|
|
19
|
+
resetPasswordButton: () => "Đặt lại mật khẩu",
|
|
20
|
+
resetPasswordDescription: () => "Nhập email của bạn để đặt lại mật khẩu.",
|
|
21
|
+
backToSignInLink: () => "Quay lại đăng nhập",
|
|
22
|
+
// Social Login
|
|
23
|
+
continueWithProvider: (n) => `Tiếp tục với ${n}`,
|
|
24
|
+
// Password Strength
|
|
25
|
+
passwordStrengthWeak: () => "Yếu",
|
|
26
|
+
passwordStrengthFair: () => "Khá",
|
|
27
|
+
passwordStrengthGood: () => "Tốt",
|
|
28
|
+
passwordStrengthStrong: () => "Mạnh",
|
|
29
|
+
// Common
|
|
30
|
+
orDivider: () => "hoặc",
|
|
31
|
+
error: () => "Đã xảy ra lỗi",
|
|
32
|
+
required: () => "Bắt buộc",
|
|
33
|
+
// Modal
|
|
34
|
+
authenticationTitle: () => "Xác thực"
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
t as default
|
|
38
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempots/beatui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@tempots/dom": "28.3.1",
|
|
58
58
|
"@tempots/std": "0.22.1",
|
|
59
|
-
"@tempots/ui": "6.
|
|
59
|
+
"@tempots/ui": "6.3.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@tempots/dom": {
|